]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
prevent crash in cursorX when row cache is empty
[lyx.git] / src / ChangeLog
1
2 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * lyxcursor.[Ch] (operator>): add
5         * textcursor.C (selStart, selEnd): use std::min and std::max
6
7 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
8
9         * Chktex.C: include boost/format.hpp
10
11 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
12
13         * InsetList.C: replace functor MathcIt with adaptable functor
14         InsetTablePosLess
15         (insetIterator): modify accordingly
16
17         * BranchList.h: move the BranchNamesEqual functor here from...
18         * BranchList.C: ... to here
19
20         * BranchList.C: new BranchListEqual fuctor, use it. Remove
21         SameName and match.
22         (add): replace a finding loop with std::find_if.
23
24 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * output_docbook.C: moving LatexParam functionality into
27         .layout files
28
29 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * buffer.C: increment format to 229.
32
33 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
34
35         * LaTeXFeatures.C:
36         * lyx_sty.[Ch]: remove minipageindent_def
37
38         * LyXAction.C:
39         * factory.C:
40         * lfuns.h:
41         * lyxfunc.C:
42         * text3.C: remove LFUN_INSET_MINIPAGE
43
44 2003-12-28  Angus Leeming  <leeming@lyx.org>
45
46         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
47
48 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
49
50         * text2.C (setParagraph): fix off-by-one crash
51
52 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
53
54         * output_docbook.C: header stuff for AGU
55
56 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * text2.C (redoCursor): remove
59         * text.C:
60         * text3.C:
61         * BufferView_pimpl.C: remove calls to redoCursor and
62         setCursor(cursor.par(), cursor.pos()) all around
63
64 2003-12-15  Angus Leeming  <leeming@lyx.org>
65
66         * buffer.C: up the format to 228.
67
68 2003-12-15  André Pönitz  <poenitz@gmx.net>
69
70         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
71         slices
72
73         * Makefile.am:
74
75         * BufferView_pimpl.C:
76         * cursor.[Ch]:
77         * lyxcursor.[Ch]:
78         * rowpainter.[Ch]:
79         * lyxtext.h:
80         * text.C:
81         * text2.C:
82         * text3.C: adjust
83
84 2003-12-15  Angus Leeming  <leeming@lyx.org>
85
86         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
87         than getFromGUIName to manipulate the color.
88
89 2003-12-14  Angus Leeming  <leeming@lyx.org>
90
91         * BranchList.[Ch]: minimize the API.
92         (Branch::getBranch, getColor): now return a 'const &'.
93         (Branch::setSelected) now returns a bool set to true if the
94         selection status changes.
95         (BranchList::clear, size, getColor, setColor, setSelected,
96         allBranches, allSelected, separator): removed.
97         (BranchList::find): new functions, returning the Branch with
98         the given name.
99         (BranchList::add, remove): return a bool indicating that
100         the operation was successful.
101
102         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
103         new InsetBranch::isBranchSlected member function.
104
105         * LColor.[Ch]: mimimize the API.
106         (fill): renamed as addColor and made private.
107         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
108         versions of these functions taking a string arg have been removed.
109
110         * bufferparams.C (readToken):
111         * lyxfunc.C (dispatch):
112         * lyxrc.C (read): changes due to the altered BranchList and
113         LColor APIs.
114
115         * factory.C (createInset, readInset): changes due to altered
116         InsetBranch c-tor.
117
118 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
119
120         * factory.C:
121         * lyxfunc.C: remove insetminipage. "minipage-insert"
122         now produces a frameless minipage box inset.
123
124 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
125
126         * textcursor.[Ch] (selStart,selEnd): add new methods
127         remove selection::start, end, use LyXCursor::operator<
128         * lyxcursor.[Ch] (operator<): add
129         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
130         * BufferView.[Ch] (unsetXSel): add
131         * text2.C (clearSelection): use unsetXSel,adjust
132         * text.C: adjust
133         * text3.C: adjust
134         * rowpainter.C: adjust
135         * bufferview_funcs.C (put_selection_at): adjust
136
137 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * BufferView_pimpl.C: small coord. correction
140
141 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
144         dragging over the splash screen.
145
146 2003-12-11  Angus Leeming  <leeming@lyx.org>
147
148         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
149         as it is now handled in LyXText::dispatch.
150
151         * text3.C (doInsertInset): remove a level of nesting.
152
153 2003-12-11  Angus Leeming  <leeming@lyx.org>
154
155         * factory.C (createInset): changes due to the changed interface to
156         InsetCommandMailer::string2params.
157
158 2003-12-10  Angus Leeming  <leeming@lyx.org>
159
160         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
161         'dialog-show-new-inset <inset name>'
162
163 2003-12-10  Angus Leeming  <leeming@lyx.org>
164
165         * buffer.C: up the format to 227.
166
167         * factory.C: the box inset is now identified simply by 'Box'.
168
169 2003-12-10  Angus Leeming  <leeming@lyx.org>
170
171         * buffer.C: up the format to 226.
172
173         * factory.C: the note inset is now identified simply by 'Note'.
174
175 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
176
177         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
178         when a pit is enough. Standarize a couple of loops.
179
180 2003-12-05  Angus Leeming  <leeming@lyx.org>
181
182         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
183         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
184         data to the re-worked "log" dialog.
185
186 2003-12-03  André Pönitz  <poenitz@gmx.net>
187
188         * PosIterator.C:
189         * iterators.C:
190         * lyxtext.h:
191         * output_latex.C:
192         * paragraph_funcs.C:
193         * text.C:
194         * text2.C: use Inset::getText instead of Inset::getParagraph
195
196 2003-12-03  André Pönitz  <poenitz@gmx.net>
197
198         * buffer.[Ch]:
199         * lyxtext.h:
200         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
201         InsetText::read() as LyXText::read()
202
203 2003-12-02  Angus Leeming  <leeming@lyx.org>
204
205         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
206         type. Add a comment in the implementation that the function uses
207         the stream's bad() function rather than fail() as the std::streams
208         would do.
209
210 2003-12-02  André Pönitz  <poenitz@gmx.net>
211
212         * lyxlex.[Ch]: make interface more similar to std::stream
213
214         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
215
216 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
217
218         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
219
220 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
221
222         * vspace.[Ch]: remove VSpace::NONE
223
224 2003-12-01  André Pönitz  <poenitz@gmx.net>
225
226         * buffer.[Ch]:
227         * lyxtext.h: move ParagraphList member to LyXText
228         rename LyXText::ownerParagraphs to LyXText::paragraph
229
230         * CutAndPaste.C:
231         * bufferview_funcs.C:
232         * iterators.[Ch]:
233         * lyx_cb.C:
234         * paragraph.C:
235         * rowpainter.C:
236         * tabular.C:
237         * text.C:
238         * text2.C:
239         * text3.C: adjust
240
241         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
242
243         * undo.C: fix cursor positioning
244
245 2003-12-01  John Levon  <levon@movementarian.org>
246
247         * BufferView_pimpl.C: fix a crash on exit with
248         a buffer open
249
250 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * BranchList.C: fix setSelected() method.
253
254 2003-11-28  André Pönitz  <poenitz@gmx.net>
255
256         * ParagraphParameters.[Ch]:
257         * ParameterStruct.h: remove space above/below from Paragraph to
258          InsetVSpace
259
260         * BufferView_pimpl.C:
261         * factory.C:
262         * lyxfunc.C:
263         * lyxtext.h:
264         * output_latex.C:
265         * paragraph.C:
266         * paragraph_funcs.C:
267         * rowpainter.[Ch]:
268         * text.C:
269         * text2.C:
270         * text3.C: adjust
271
272 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * factory.C: Syntax change for CharStyles
275
276 2003-11-28  André Pönitz  <poenitz@gmx.net>
277
278         * BufferView.[Ch]:
279         * BufferView.[Ch]:
280         * buffer.[Ch]:
281         * buffer.[Ch]: move LyXText member
282
283 2003-11-28  André Pönitz  <poenitz@gmx.net>
284
285         * BufferView.[Ch]: make LyXText * text a private member
286
287         * BufferView_pimpl.C:
288         * cursor.C:
289         * iterators.C:
290         * lyx_cb.C:
291         * lyxfind.C:
292         * lyxtext.h:
293         * rowpainter.[Ch]:
294         * text.C:
295         * text2.C:
296         * undo.C: adjust
297
298         * output_plaintext.C: cleanup
299
300 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * buffer.C:
303         * lyxtextclass.[Ch]: parametrize SGML document header
304
305 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
306
307         * converter.[Ch]:
308         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
309         getFlavor().
310
311 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * text2.C (setFont): rework using PosIterator (no more recursive)
314         (setCharFont): no more needed
315         (setLayout): no more selection cursors fiddling (done by redoCursor)
316         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
317         destroy remaining ones)
318
319 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
320
321         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
322         * lyxtext.h: ditto
323         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
324         selection cursors
325         * lyxfunc.C: adjust
326         * text3.C: adjust + re-allow multi par depth changes
327         * textcursor.C: simplify a bit
328
329 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * src/buffer.C:
332         * src/lyxlayout.C:
333         * src/lyxlayout.h:
334         * src/lyxtext.h:
335         * src/output_docbook.C:
336         * src/output_latex.C:
337         * src/paragraph.C:
338         * src/paragraph.h:
339         * src/sgml.C:
340         * src/sgml.h:
341         * src/text2.C: Introducing a number of tags parametrizing various
342         XML formats that we may want to support
343
344 2003-11-25  André Pönitz  <poenitz@gmx.net>
345
346         * InsetList.[Ch] (begein, end): inline as suggested by profiler
347
348         * lyxtext.h (leftMargin/rightMargin): simplify interface
349
350         * rowpainter.C:
351         * text.C:
352         * text2.C:
353         * text3.C: adjust
354
355 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
356
357         * lyxfunc.C (dispatch): propogate the bibtex databases from the
358         master file to any child files. Fixes bug 546.
359
360 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
363
364 2003-11-24  André Pönitz  <poenitz@gmx.net>
365
366         * rowpainter.C: simplification
367
368         * text2.C (updateCounters): remove call to redoParagraph on
369         changed labels as this is far too expensive.
370
371 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * converter.C (convert): fix a crash: this function gets
374         called with buffer == 0 from importer code.
375
376 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
377
378         * text3.C (cursorPrevious): make sure that we do not compare
379         iterators form different containers.
380         (cursorNext): ditto
381
382         * rowpainter.C (paintSelection): make sure that we do not compare
383         iterators from different containers.
384
385         * text3.C (dispatch): [PRIOR] make sure that we do not compare
386         iterators from different ParagraphList containers.
387         [NEXT] ditto
388
389         * text2.C (LyXText): change order of initialization slightly
390         (operator=): new function. copy all variables except cache_par_
391         (moveUp): make sure that we do not compare iterators from
392         different ParagraphList constainers.
393         (moveDown): ditto
394
395         * text.C (firstPar): new function
396         (lastPar): new function
397         (endPar): new function
398
399         * lyxtext.h: move things around and group public functions, public
400         variables, private functions, private variables
401
402 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
403
404         * factory.C: change call to InsetERT constructor to avoid
405         additional invocation of method status
406         * text2.C (toggleInset): remove redundant update() call
407         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
408         instead of a Bufferview pointer
409
410 2003-11-21  André Pönitz  <poenitz@gmx.net>
411
412         * rowpainter.C: simplification
413
414 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * text3.C (dispatch): make possible to extend a word/row selection
417         with the mouse
418
419 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * lyxtext.h: x0_,y0_ -> xo_,yo_
422         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
423         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
424         * rowpainter.C (paintRows): paint full paragraphs
425
426 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
427
428         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
429         screen coordinates)
430
431 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
432
433         * lyxtext.h: add x0_, y0_
434         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
435         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
436
437 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * text2.C (setCursorIntern): move the x_target update here *
440         * text3.C: change some bv() to true/false in calls to
441         cursorUp/Down/Right/Left
442         * cursor.C: use helper function.
443
444 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
445
446         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
447         * paragraph_funcs.[Ch]: correct comment
448         * rowpainter.C: do not paint selections away from bv->cursor()
449         Fix a long standing selection painting bug.
450         * text3.C: generalize mouse-selection code to LyXTexts other that
451         top one
452         * textcursor.C: do not use y coords if we can use par offsets
453
454 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
457         cursor position after e.g. inset insert)
458
459 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
460
461         * lyxfind.C (replace): adjust to locking removal + some
462         code simplification
463
464 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
465
466         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
467         of the path
468
469 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
470
471         * lyxlayout.[Ch]:
472         * output_docbook.C: XML sanitation: new layout
473         parameters InnerTag and CommandDepth
474
475 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
476
477         * BufferView_pimpl.C:
478         * factory.C:
479         * text3.C: Fix the insertion and modification of button-style
480         insets
481
482 2003-11-13  André Pönitz  <poenitz@gmx.net>
483
484         * InsetList.[Ch]: remove deleteLyXText
485
486         * paragraph.[Ch]: cache beginOfBody position
487
488         * Bidi.C:
489         * text.C:
490         * text2.C:
491         * text3.C: remove superfluous update() calls
492
493         * vspace.C: cleanup
494
495 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
498         * BufferView.C (fitLockedInsetCursor): remove
499         * cursor.[Ch] (getDim): add
500         * text.C (getRowNearY): add faster version
501         * text3.C: remove some update calls
502
503 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
504
505         * LaTeXFeatures.C:
506         * LyXAction.C:
507         * MenuBackend.C:
508         * MenuBackend.h:
509         * dispatchresult.h:
510         * factory.C:
511         * lfuns.h:
512         * lyxfunc.C:
513         * lyxtextclass.C:
514         * lyxtextclass.h:
515         * text3.C: The Character Style /XML short element patch.
516
517 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * text3.C:
520         * factory.C: Small step to solving 'unable to insert some insets'
521         problem
522
523 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * cursor.[Ch] (updatePos): new function for updating the y
526         position of the tip inset
527         * bufferview_funcs.C (put_selection_at):
528         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
529
530 2003-11-11  André Pönitz  <poenitz@gmx.net>
531
532         * text.C: remove big comment on invalid Paragraph pointers as it is
533         not valid anymore
534
535 2003-11-11  André Pönitz  <poenitz@gmx.net>
536
537         * text_funcs.[Ch]: merge with ...
538
539         * text.C: ... this
540
541         * lyxtext.h:
542         * text2.C:
543         * text3.C: adjust
544
545         * Makefile.am: remove text_funcs.[Ch]
546
547 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
548
549         * cursor.C (getPos): return absolute cached y coord
550
551         * BufferView_pimpl.C (fitCursor): new simplistic code
552         (workAreaDispatch): add a fitCursor call
553
554 2003-11-10  André Pönitz  <poenitz@gmx.net>
555
556         * BufferView.[Ch]:
557         * BufferView_pimpl.[Ch]: merge update() and updateInset()
558
559 2003-11-10  André Pönitz  <poenitz@gmx.net>
560
561         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
562         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
563         indicate that the cursor needs to leave an inset
564
565         * lyxtext.h: remove inset locking
566
567         * cursor.[Ch]: re-implement functionality provided by inset locking
568
569         * BufferView.[Ch]:
570         * BufferView_pimpl.[Ch]:
571         * LyXAction.C:
572         * bufferview_funcs.[Ch]:
573         * factory.C:
574         * funcrequest.[Ch]:
575         * iterators.C:
576         * lyx_cb.C:
577         * lyxfind.C:
578         * lyxfunc.C:
579         * text.C:
580         * text2.C:
581         * text3.C:
582         * undo.C: adjust
583
584 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
585
586         * PosIterator.[Ch]: replace the stack with a vector, add inset
587         accesor
588         * iterators.[C]: adjust
589
590 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
591
592         * lyxfind.C (replaceAll): mark the buffer dirty if something was
593         replaced
594         * paragraph_funcs.C (readParToken): put the correct id in the
595         error item, not the id of the top paragraph
596
597 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
598
599         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
600         * bufferview_funcs.C (put_selection_at): use the above
601
602 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
603
604         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
605
606 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * output_linuxdoc.h:
609         * output_plaintext.h:
610         * output.h:
611         * output_docbook.h: add #include statements
612
613 2003-11-05  José Matos  <jamatos@lyx.org>
614
615         * output_docbook.[Ch]:
616         * output_latex.[Ch]:
617         * output_linuxdoc.[Ch]:
618         * output_plaintext.[Ch]: New files for output formats.
619         * output.[Ch]: New file for helper functions.
620
621         * buffer.[Ch]:
622         * paragraph_funcs.[Ch]: output functions moved to new files.
623
624         * outputparams.h: rename of latexrunparams.h
625
626         * LaTeX.[Ch]:
627         * buffer.[Ch]:
628         * bufferlist.[Ch]:
629         * converter.[Ch]:
630         * exporter.C:
631         * paragraph.[Ch]:
632         * paragraph_funcs.[Ch]:
633         * paragraph_pimpl.[Ch]:
634         * tabular.[Ch]: rename ascii to plaintext
635         and LatexRunParams to OutputParams.
636
637 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
638
639         * iterators.[Ch] (text): require bv argument
640         * undo.C (recordUndo):
641         * lyxfunc.C (dispatch):
642         * bufferview_funcs.C (put_selection_at): adjust
643
644 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
645
646         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
647
648 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
649
650         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
651         nestings
652
653 2003-11-04  André Pönitz  <poenitz@gmx.net>
654
655         * cursor.[Ch]: restructure
656
657         * BufferView.[Ch]:
658         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
659
660         * iterators.[Ch] (asCursor): remove
661
662         * lfuns.h: remove LFUN_INSET_EDIT
663
664         * lyxfunc.C:
665         * tabular.C:
666         * text.C:
667         * text2.C:
668         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
669
670 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
671
672         * lyxfind.[Ch]: complete overhaul
673         * BufferView_pimpl.C:
674         * lyxfunc.C: adjust
675         * paragraph.[Ch] (insert): add
676
677 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
678
679         * BufferView.[Ch]:
680         * lyxtext.h:
681         * text.C: remove dead spellcheck code
682
683 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
684
685         * dispatchresult.h: add a val setter
686
687         * cursor.C (dispatch): use a tempvar for data_[i]
688
689 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
690
691         * PosIterator.[Ch]: compile fix
692
693 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
694
695         * text.C (cursorPar): deactivate the cursor cache
696
697 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
698
699         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
700
701 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
702
703         * text3.C (dispatch): adjust for new DisptchResult semantics.
704
705         * lyxfunc.C (dispatch): handle update when return from
706         Cursor::dispatch, adjust for new DispatchResult semantics.
707
708         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
709         DispatchResult(true) mean to not update. Add class functions for
710         setting dispatched and update, as well as reading.
711
712         * cursor.C (dispatch): don't handle update here
713
714 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
715
716         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
717         * trans_mgr.C: adjust
718
719         * paragraph_funcs.C (readParToken): exception safety
720
721         * lyxvc.h: store the vcs pointer in a scoped_ptr
722         * lyxvc.C: adjust
723
724         * lyxsocket.C (serverCallback): exception safety
725
726         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
727
728         * ispell.C (clone): make it return a auto_ptr
729
730         * factory.C (createInset): exception safety
731         (readInset): exception safety
732
733         * bufferlist.C (newBuffer): exception safety
734
735         * Thesaurus.C (Thesaurus): use initialization for aik_
736
737         * MenuBackend.C (expandToc): exception safety.
738
739 2003-11-03  André Pönitz  <poenitz@gmx.net>
740
741         * buffer.C:
742         * buffer.h:
743         * bufferview_funcs.C: remove getInsetFromId()
744
745         * lyxcursor.[Ch]:
746         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
747
748         * lyxfunc.C:
749         * text2.C:
750         * text3.C: adjust
751
752 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
753
754         * PosIterator.C (distance, advance): new
755         * bufferview_funcs.[Ch] (put_selection_at): new
756         * iterators.[Ch] (lockPath): new
757
758 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
759
760         * iterators.[Ch] (asPosIterator): added
761         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
762         * PosIterator.[Ch]: added
763
764 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
765
766         * text3.C:
767         * lyxfunc.C:
768         * cursor.C (dispatch):
769         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
770
771         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
772         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
773         contructor, add a class function dispatched. Remove operator>=
774
775 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
776
777         * debug.C: only use the default constructor for debugstream
778         (lyxerr) here.
779
780         * main.C (main): include debug.h and setup the lyxerr streambuf
781         here.
782
783 2003-10-31  José Matos  <jamatos@lyx.org>
784
785         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
786
787         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
788         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
789         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
790         * paragraph_pimpl.C (simpleTeXSpecialC):
791         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
792         add LatexRunParams argument.
793
794         * exporter.C (Export): change call accordingly.
795
796         * latexrunparams.h: add new member to take care of the other backends.
797 2003-10-30  José Matos  <jamatos@lyx.org>
798
799         * buffer.C (makeLinuxDocFile, makeDocBookFile):
800         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
801         factorise code for paragraph output.
802         * buffer.[Ch]:
803         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
804         move functions.
805
806 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * text3.C (dispatch):
809         * lyxfunc.C (dispatch):
810         * cursor.C (dispatch):
811         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
812
813         * dispatchresult.h: make the dispatch_result_t ctor explicit
814
815 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * sgml.[Ch]:
818         * buffer.C: small refactoring of docbook stuff
819
820 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
821
822         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
823         meaning.
824
825 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
826
827         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
828         operator dispatch_result_t, and operators for == != and >=
829
830         * cursor.C (dispatch): adjust for operator dispatch_result_t
831         removal. comment out call to update
832
833         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
834
835 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
836
837         * text3.C:
838         * text2.C:
839         * text.C:
840         * lyxtext.h:
841         * lyxfunc.C:
842         * cursor.C:
843         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
844         (dispatch):
845
846         * dispatchresult.h: new file, DispatchResult broken out of
847         insets/insetbase.h
848
849         * Makefile.am (lyx_SOURCES): add dispatchresult.h
850
851 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
852
853         * text.C (rowBreakPoint): put a hack inside #if 0
854
855 2003-10-28  André Pönitz  <poenitz@gmx.net>
856
857         * lyxtext.h:
858         * metricsinfo.C:
859         * paragraph_funcs.C:
860         * rowpainter.C:
861         * text.C:
862         * text2.C: general cleanup (lots of small stuff)
863
864 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
865
866         * text2.C (cursorEnd): simple fix to the "end key goes to one
867         before the end on last row" bug
868
869 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
870
871         * text.C (backspace): fix the "zombie characters"
872
873 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
874
875         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
876
877 2003-10-27  André Pönitz  <poenitz@gmx.net>
878
879         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
880
881         * factory.C: handle new InsetPagebreak, InsetLine
882
883         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
884         and move handling into new InsetPagebreak, InsetLine
885
886         * BufferView_pimpl.C:
887         * LyXAction.C:
888         * ParagraphParameters.C:
889         * ParameterStruct.h:
890         * lyxfunc.C:
891         * lyxtext.h:
892         * paragraph.C:
893         * paragraph.h:
894         * paragraph_funcs.C:
895         * paragraph_pimpl.C:
896         * rowpainter.C:
897         * text.C:
898         * text2.C:
899         * text3.C: adjust
900
901 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
902
903         * text.C:
904         * lyxrow_funcs.[Ch]:
905         * Bidi.C:
906         * paragraph.C:
907         * lyxtext.h:
908         * rowpainter.C:
909         * text2.C:
910         * text3.C: remove lastPos uses in favour of Row::endpos
911
912 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
913
914         * undo.C (performUndoOrRedo): fix two crashes by setting a
915         cursor by hand and reordering some calls. Use bv->lockInset instead
916         of inset->edit because the latter loses cursor information
917
918 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
919
920         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
921         by Martin
922         (rowBreakPoint): fix width. change point to point + 1.
923         Add a missing check.
924
925 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
926
927         * MenuBackend.C:
928         * lyxfunc.C: fix (at least partly) the problems
929         with the Nav menu and headers inside branch insets
930         reported by Kayvan
931
932 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
933
934         * paragraph.C (getChar): add strong asserts
935
936         * lyxrow_funcs.C (lastPos): remove hideous hack
937
938         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
939         (fill): adjust to that (avoid an infinite loop)
940
941 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
942
943         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
944
945 2003-10-23  André Pönitz  <poenitz@gmx.net>
946
947         * RowList_fwd.h: change list<> to vector<> to gain speed
948         after suggestion from Alfredo
949
950 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
951
952         * lyxtext.h: move the bidi stuff from here...
953         * text.C: and here
954         * text2.C: and here
955         * Bidi.[Ch]: ... to here
956
957 2003-10-23  André Pönitz  <poenitz@gmx.net>
958
959         * lyxtext.h:
960         * text.C (isLastRow, isFirstRow): new functions
961
962         * paragraph.h: new width cache member
963
964         * rowpainter.C: replace RowList::iterator with Row & where possible
965
966         * lyxfunc.C: replace several view()->text with a single call
967
968         * toc.C: fix 'unused' warning
969
970 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
971
972         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
973         when woring with stream::pos_type
974         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
975
976 2003-10-22  André Pönitz  <poenitz@gmx.net>
977
978         * lyxtext.h:
979         * text.C: use Row & instead of RowList::iterator
980
981         * lyxrow.h: rename end() to endpos()
982
983         * rowpainter.C:
984         * text.C:
985         * text2.C: adjust
986
987 2003-10-22  Angus Leeming  <leeming@lyx.org>
988
989         * buffer.[Ch] (fully_loaded): new member function, returning true
990         only when the file has been loaded fully.
991         Used to prevent the premature generation of previews and by the
992         citation inset to prevent computation of the natbib-style label.
993
994         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
995         templates are all set up.
996
997         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
998
999 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * text.C: fixed an "oops" in the "is a bit silly"
1002         bug fix
1003
1004 2003-10-21  André Pönitz  <poenitz@gmx.net>
1005
1006         * FuncStatus.[Ch]: small stuff, whitespace
1007
1008         * lyxfont.[Ch]: operator<<() for debug reasons
1009
1010         * lyxfunc.C:
1011         * lyxrow_funcs.C:
1012         * lyxtext.h: whitespace, spelling
1013
1014         * paragraph.C: naming of variables
1015
1016         * text.C:
1017         * text2.C: small stuff
1018
1019
1020 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * text.C: (1) finish off the inset display() work;
1023         (2) fix the "is a bit silly" bug (accessing char
1024         past end of par).
1025
1026 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1027
1028         * text.C: re-introduce display() for insets, fixing the
1029         various bugs (stretch of line above, math inset
1030         positioning, ...)
1031
1032 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * text.C (rightMargin): remove spurious semicolon
1035
1036         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1037         1415)
1038
1039 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1040
1041         * text3.C: fix one crash due to wrong cursor def
1042
1043 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1044
1045         * vc-backend.C (scanMaster): make the regex static
1046
1047         * LaTeX.C (scanAuxFile): make the regexs static
1048
1049         * text3.C (doInsertInset, dispatch, dispatch):
1050         * text2.C (cursorUp, cursorDown):
1051         * text.C (selectNextWordToSpellcheck):
1052         * BufferView_pimpl.C (dispatch):
1053         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1054
1055 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * lyxsocket.C: include <cerrno>
1058
1059 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * lyxfunc.C (dispatch): remove textcache stuff
1062
1063         * bufferlist.C (release): remove textcache stuff
1064         (closeAll): ditto
1065
1066         * TextCache.C: delete file
1067         * TextCache.h: delete file
1068
1069         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1070
1071         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1072         delete of the bv_->text.
1073         (resizeCurrentBuffer): remove texcache stuff
1074         (workAreaResize): ditto
1075
1076 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1077
1078         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1079         action.
1080
1081 2003-10-16  André Pönitz  <poenitz@gmx.net>
1082
1083         * lyxrow.[Ch]:
1084         * paragraph.h:
1085         * rowpainter.C:
1086         * text.C:
1087         * text2.C:
1088         * text3.C: speed up by storing y positions per paragraph plus per-row
1089         offset instead of having a 'full' y position in the row.
1090
1091 2003-10-15  André Pönitz  <poenitz@gmx.net>
1092
1093         * iterators.[Ch]:
1094         * iterators.[Ch]:
1095         * undo.[Ch]: make undo aware of inner insets
1096
1097 2003-10-14  Angus Leeming  <leeming@lyx.org>
1098
1099         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1100         static member functions LyX::ref() and LyX::cref.
1101         (lastfiles): new accessor functions for the new lastfiles_ member var.
1102         (addLyXView, views_): add a new LyXView to the list of views_.
1103         (updateInset): loop over all LyXViews to call their own updateInset
1104         member function, returning a pointer to the Buffer owning the inset.
1105
1106         * BufferView_pimpl.C (loadLyXFile):
1107         * MenuBackend.C (expandLastfiles):
1108         * bufferlist.C (MenuWrite, QuitLyX):
1109         lastfiles is no longer a global variable.
1110         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1111
1112         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1113         static function. Access through LyX::cref().emergencyCleanup().
1114
1115 2003-10-14  André Pönitz  <poenitz@gmx.net>
1116
1117         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1118
1119         * undo.[Ch]: restoring part of 'undo in insets'
1120
1121         * Makefile.am:
1122         * undo_funcs.[Ch]: merge with undo.[Ch]
1123
1124         * tabular.C: small cleansing stuff
1125
1126 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1127
1128         * paragraph_funcs.C (readParToken): report unknown insets as error
1129         boxes. Use the outer paragraph as location (also for unknown
1130         tokens).
1131
1132         * factory.C (readInset): do not abort on reading an unknown inset.
1133         Eat it and return 0.
1134
1135 2003-10-13  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1138
1139         * lyxrc.C: displayTranslator is now a function,
1140         declared in GraphicsTypes.h.
1141
1142 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1143
1144         * format.C: new placeholder $$a to pass the socket address.
1145
1146         * bufferlist.[Ch]: new function getBufferFromTmp.
1147
1148         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1149           files in the temporary dir.
1150
1151 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1152
1153         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1154
1155         * Makefile.am: add lyxsocket.[Ch].
1156
1157         * lyx_main.C (error_handler): handle SIGPIPE.
1158
1159 2003-10-13  André Pönitz  <poenitz@gmx.net>
1160
1161         * BufferView_pimpl.C:
1162         * lyxtext.h:
1163         * text.C:
1164         * text2.C:
1165         * text3.C:
1166         * undo_funcs.[Ch]: use paroffset_type instead of
1167           ParagraphList::iterators to prevent multiple conversion
1168           (and get a more robust interface)
1169
1170 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1173         * lyxtext.h: ditto
1174         * text3.C (dispatch): ditto
1175
1176 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1177
1178         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1179         move the onlyfile, use onlyfile instead of foundfile in a couple
1180         of places.
1181
1182         * DepTable.C (update): flush the error stream a bit more
1183
1184 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1185
1186         * lyxserver.C (callback): adjust
1187
1188         * lyxfunc.C (getStatus): add a missing brace in commented code
1189         (ensureBufferClean): reindent
1190         (dispatch): delete version taking a string
1191
1192 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1193
1194         * LaTeX.C (deplog): move found file handlig from here...
1195         (handleFoundFile): .. to new function here.
1196         (deplog): make sure to discover several files mentioned on the
1197         same log line.
1198
1199 2003-10-10  André Pönitz  <poenitz@gmx.net>
1200
1201         * lyxfunc.C:
1202         * lyxtext.h:
1203         * tabular.C:
1204         * text.C:
1205         * text2.C:
1206         * text3.C: fix some of the tabular crashes
1207
1208 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1209
1210         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1211
1212         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1213
1214 2003-10-09  André Pönitz  <poenitz@gmx.net>
1215
1216         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1217
1218         * BufferView.C:
1219         * BufferView_pimpl.C:
1220         * bufferview_funcs.C:
1221         * lyx_cb.C:
1222         * lyxcursor.C:
1223         * lyxfind.C:
1224         * lyxfunc.C:
1225         * lyxtext.h:
1226         * text.C:
1227         * text2.C:
1228         * text3.C:
1229         * text_funcs.[Ch]:
1230         * textcursor.[Ch]:
1231         * undo_funcs.C: adjust
1232
1233 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1234
1235         * text2.C (incrementItemDepth): new function, use a backtracking
1236         algorithm to discover the correct item depth.
1237         (resetEnumCounterIfNeeded): new function, use a backtracking
1238         algorithm to discover if counter reset is needed.
1239         (setCounter): use them. Simplify a bit. Add different labels for
1240         different item depths for itemize.
1241
1242         * paragraph.C (Paragraph): remove initialization of enumdepth
1243         (operator=): ditto
1244
1245         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1246         enumerate and itemize. Change the type of itemdepth to signed char.
1247
1248 2003-10-08  André Pönitz  <poenitz@gmx.net>
1249
1250         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1251           thing assignable.
1252         * text.C:
1253         * text2.C: adjust
1254
1255         * tabular.[Ch]: fix crash after 'row-insert'
1256
1257 2003-10-08  Angus Leeming  <leeming@lyx.org>
1258
1259         Fix doxygen warnings.
1260
1261         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1262         Remove CutAndPaste:: prefix from header file declaration.
1263
1264         * LColor.h (fill): remove LColor:: prefix from declaration.
1265
1266         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1267         use lyx::depth_type rather than Paragraph::depth_type so that
1268         header file and .C file match.
1269
1270         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1271
1272         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1273         * aspell.C: \file aspell_local.C -> \file aspell.C
1274         * gettext.C: \file gettext.C -> \file src/gettext.C
1275         * gettext.h: \file gettext.h -> \file src/gettext.h
1276         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1277         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1278         * text.C: \file text.C -> \file src/text.C
1279
1280         * toc.C: move comment so that doxygen is not confused.
1281
1282 2003-10-07  Angus Leeming  <leeming@lyx.org>
1283
1284         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1285
1286 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1287
1288         * aspell.C:
1289         * aspell_local.h: add forgotten std::string's.
1290
1291 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1292
1293         * LaTeXFeatures.C:
1294         * LyXAction.C:
1295         * factory.C:
1296         * lfuns.h:
1297         * lyxfunc.C:
1298         * text3.C: The Box patch. Fancybox support, minipage, parbox
1299
1300 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1301
1302         * CutAndPaste.h:
1303         * DepTable.h:
1304         * FloatList.h:
1305         * LaTeXFeatures.h:
1306         * ParagraphParameters.h:
1307         * TextCache.h:
1308         * Thesaurus.h:
1309         * bufferlist.h:
1310         * exporter.h:
1311         * importer.h:
1312         * lastfiles.h:
1313         * lyxfind.h:
1314         * lyxfont.h:
1315         * lyxlex.h:
1316         * lyxtextclasslist.h:
1317         * messages.h:
1318         * paragraph.h:
1319         * paragraph_pimpl.C:
1320         * textcursor.h: add <string> and other small fixes to make Lars'
1321         std::string patch compile with STLport.
1322
1323 2003-10-06  Angus Leeming  <leeming@lyx.org>
1324
1325         * LColor.h: Add missing #include <string>.
1326
1327 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1328
1329         * All most all file in all subdirs: Make <string> be the prefered
1330         way of getting to std::string, add using declarations.
1331
1332 2003-10-06  André Pönitz  <poenitz@gmx.net>
1333
1334         * metricsinfo.C: initialize LyXFont before changing attribute.
1335         (fixes the 'math in \emph is upright' bug)
1336
1337 2003-10-06  André Pönitz  <poenitz@gmx.net>
1338
1339         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1340
1341 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1342
1343         * graph.C:
1344         * paragraph_pimpl.C: Small fixes to build using STLport
1345
1346 2003-10-02  André Pönitz  <poenitz@gmx.net>
1347
1348         * lyxfunc.C:
1349         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1350
1351 2003-10-01  André Pönitz  <poenitz@gmx.net>
1352
1353         * factory.C: assert early
1354
1355 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * lyx_main.C: remove the global debug object
1358
1359         * debug.h: adjust for new debugstream
1360
1361         * debug.C: adjust for new debugstream and keep the global debug
1362         object here.
1363
1364 2003-09-22  Angus Leeming  <leeming@lyx.org>
1365
1366         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1367         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1368         an incomplete class LyXFont.
1369
1370 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1371
1372         * factory.C: bug fix in branches
1373
1374 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1375
1376         * lyxfunc.C (processKeySym): adjust
1377         (dispatch): adjust
1378         (dispatch): change arg name from ev to func, adjust
1379         (sendDispatchMessage): ditto
1380
1381         * lyx_main.C (defaultKeyBindings): adjust keybindings
1382         (deadKeyBindings): ditto
1383
1384         * kbsequence.C (addkey): return a FuncRequest
1385
1386         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1387
1388         * kbmap.C (bind): take a FuncRequest as arg, adjust
1389         (read): adjust
1390         (lookup): adjust
1391         (defkey): change to take a FuncRequest as arg, adjust
1392         (findbinding): take a FuncRequest as arg, adjust.
1393
1394         * funcrequest.h (operator=): added
1395
1396         * funcrequest.C (FuncRequest): default kb_action changed from
1397         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1398
1399         * buffer.C (dispatch): simplify
1400         (dispatch): adjust to take a FuncRequest as arg, adjust
1401
1402         * boost.C (assertion_failed): change assertion message slightly
1403
1404         * ToolbarBackend.C (read): simplify
1405
1406         * MenuBackend.C (binding): adjust call to findbinding, add a
1407         message if no binding is found.
1408         (read): simplify
1409         (expandToc): correct by adding a empty FuncRequest
1410
1411         * LyXAction.C: include <boost/assert.hpp>
1412         (isPseudoAction): delete function
1413         (LookupFunc): change name to...
1414         (lookupFunc): this. change return type to FuncRequest.
1415         (getActionName): take kb_action as arg, simplify
1416         (funcHasFlag): add an assert, simplify.
1417
1418 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1419
1420         * toc.C (action): return a FuncRequest, simplify
1421
1422         * lyxfunc.C (processKeySym): adjust
1423         (getStatus): delete version that takes an int.
1424         (getStatus): adjust
1425         (dispatch): delete version that takes action as int
1426         (dispatch): adjust
1427         (sendDispatchMessage): simplify and adjust
1428
1429         * funcrequest.C (getArg): take unsigned int as arg
1430
1431         * ToolbarBackend.C (read): adjust
1432         (add): delete version that takes func as a string.
1433         (getIton): take a FuncRequest as arg
1434
1435         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1436         action.
1437
1438         * MenuBackend.C (MenuItem): add a new construct that only takes a
1439         Kind, simplify the constructor use for submenus.
1440         (add): adjust
1441         (expandLastfiles): adjust
1442         (expandDocuments): adjust
1443         (expandFormats): adjust
1444         (expandFloatListInsert): adjust
1445         (expandFloatInsert): adjust
1446         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1447
1448         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1449         Remove class variables lyx_pseudo_map and lyx_arg_map
1450
1451         * LyXAction.C (searchActionArg): delete function
1452         (getPseudoAction): delete function
1453         (retrieveActionArg): delete function
1454         (LookupFunc): make it return kb_action, simplify.
1455         (getActionName): simplify
1456
1457         * factory.C (createInset): fix new bug
1458
1459 2003-09-19  Angus Leeming  <leeming@lyx.org>
1460
1461         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1462         masterFilename_ parameter in the include inset.
1463
1464         * factory.C (createInset): changes due to the changes to InsetInclude.
1465
1466 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1467
1468         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1469
1470 2003-09-18  Angus Leeming  <leeming@lyx.org>
1471
1472         * buffer.C:
1473         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1474         Inset::fillWithBibKeys.
1475         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1476
1477 2003-09-18  Angus Leeming  <leeming@lyx.org>
1478
1479         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1480         variables.
1481         (ctor): pass and store a 'Buffer const &'
1482         (buffer): new member function.
1483
1484         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1485         '*this' to the LaTeXFeatures ctor.
1486
1487 2003-09-18  Angus Leeming  <leeming@lyx.org>
1488
1489         * LColor.h:
1490         * lyxfont.C:
1491         * lyxfont.h:
1492         * lyxtext.h:
1493         * text.C: rename EnumLColor as LColor_color.
1494
1495 2003-09-18  Angus Leeming  <leeming@lyx.org>
1496
1497         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1498         remove #include "insets/insetbase.h" from cursor.h.
1499
1500 2003-09-18  Angus Leeming  <leeming@lyx.org>
1501
1502         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1503         InsetOld_code to remove #include "inset.h".
1504
1505         * iterators.C: add #include "insets/inset.h"
1506
1507 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1508
1509         * BufferView.C: remove more locking stuff that apparently doesn't
1510         do anything sensible.
1511
1512 2003-09-16  André Pönitz  <poenitz@gmx.net>
1513
1514         * paragraph.[Ch]:
1515         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1516           performance boost.
1517
1518 2003-09-16  Angus Leeming  <leeming@lyx.org>
1519
1520         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1521
1522         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1523         arg/return type.
1524
1525         * paragraph.h: remove #include "lyxfont.h". Forward declare
1526         LyXFont_size.
1527
1528 2003-09-16  Angus Leeming  <leeming@lyx.org>
1529
1530         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1531         of support/textutils.h.
1532         (isWord): move the contents of support/textutils.h's IsWordChar here.
1533
1534         * buffer.C:
1535         * lyxfind.C:
1536         * rowpainter.C:
1537         * text.C:
1538         * text2.C: add #include "paragraph.h".
1539
1540         * rowpainter.C:
1541         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1542
1543 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * main.C:
1546         * lyx_main.C:
1547         * lyx_cb.C:
1548         * buffer.C:
1549         * LaTeX.C: use namespace alias for lyx::support::os
1550
1551 2003-09-16  Angus Leeming  <leeming@lyx.org>
1552
1553         * bufferparams.C:
1554         * bufferview_funcs.C:
1555         * factory.C:
1556         * lyxfunc.C:
1557         * paragraph_pimpl.C:
1558         * rowpainter.C:
1559         * text.C: add #include "LColor.h".
1560
1561 2003-09-16  Angus Leeming  <leeming@lyx.org>
1562
1563         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1564         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1565         return LyXFont &.
1566         Store the FontBits::color variable as an int rather than as an
1567         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1568         file.
1569
1570         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1571         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1572         string calls together.
1573
1574         * lyxrc.C: add #include "LColor.h".
1575
1576 2003-09-15  Angus Leeming  <leeming@lyx.org>
1577
1578         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1579         a cow_ptr.
1580
1581 2003-09-15  Angus Leeming  <leeming@lyx.org>
1582
1583         * LColor.h: add an EnumLColor wrapper for LColor::color.
1584
1585         * lyxfont.[Ch] (color, setColor, realColor):
1586         * lyxtext.h, text.C (backgroundColor):
1587         pass EnumLColor args to/from the functions, rather than LColor::color
1588         ones.
1589
1590         * lyxfont.h:
1591         * lyxtext.h: forward declare EnumLColor.
1592
1593         * lyx_main.C: add #include "LColor.h".
1594
1595 2003-09-15  Angus Leeming  <leeming@lyx.org>
1596
1597         * .cvsignore: add lyx-gtk.
1598
1599 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1600
1601         * Chktex.C
1602         * LaTeX.C
1603         * LaTeXFeatures.C
1604         * ParagraphParameters.C
1605         * Spacing.C
1606         * buffer.C
1607         * bufferparams.C
1608         * bufferview_funcs.C
1609         * chset.C
1610         * counters.C
1611         * funcrequest.C
1612         * lyxfont.C
1613         * lyxgluelength.C
1614         * lyxlength.C
1615         * paragraph.C
1616         * paragraph_funcs.C
1617         * text3.C
1618         * vc-backend.C: remove usage of STRCONV
1619
1620 2003-09-15  Angus Leeming  <leeming@lyx.org>
1621
1622         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1623         explicitly define the color passed to the painter.
1624
1625 2003-09-15  Angus Leeming  <leeming@lyx.org>
1626
1627         * bufferparams.C (BufferParams): reorder member initializers to avoid
1628         compiler warning.
1629
1630 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1631
1632         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1633         * text.C (updateRowPositions): remove an unusual nop
1634
1635 2003-09-12  André Pönitz  <poenitz@gmx.net>
1636
1637         * BufferView_pimpl.C:
1638         * Bullet.C:
1639         * layout.h:
1640         * lyxfunc.C:
1641         * lyxlayout.[Ch]:
1642         * lyxtextclass.C:
1643         * rowpainter.C:
1644         * text.C:
1645         * text2.C:
1646         * Counters.[Ch]: finish the 'automatic counters' job
1647
1648 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1649
1650         * aspell.C: include <boost/assert.cpp> (compile fix)
1651
1652 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1653
1654         * boost.C (assertion_failed): use lyx::support::abort instead of
1655         assert.
1656
1657 2003-09-10  Angus Leeming  <leeming@lyx.org>
1658
1659         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1660         with their _fwd progeny.
1661
1662 2003-09-09  Angus Leeming  <leeming@lyx.org>
1663
1664         134 files throughtout the source tree: replace 'using namespace abc;'
1665         directives with the appropriate 'using abc::xyz;' declarations.
1666
1667 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1668
1669         * boost.C (emergencyCleanup): moved here from LAssert.c
1670         (assertion_failed): new function, called by BOOST_ASSERT
1671
1672         * several files: change Assert to BOOST_ASSERT
1673
1674 2003-09-09  Angus Leeming  <leeming@lyx.org>
1675
1676         * buffer.[Ch]: Add an Impl class and move Buffer's member
1677         variables into it. As a result move several header files out of
1678         buffer.h.
1679
1680         Add header files to lots of .C files all over the tree as a result.
1681
1682 2003-09-09  Angus Leeming  <leeming@lyx.org>
1683
1684         * buffer.[Ch]: make Buffer's member variables private. Add
1685         accessor functions.
1686
1687         Lots of changes all over the tree as a result.
1688
1689 2003-09-08  Angus Leeming  <leeming@lyx.org>
1690
1691         * graph.C: #include <config.h>.
1692
1693 2003-09-08  Angus Leeming  <leeming@lyx.org>
1694
1695         * BranchList.C:
1696         * BufferView.C:
1697         * BufferView_pimpl.C:
1698         * CutAndPaste.C:
1699         * DepTable.C:
1700         * LaTeX.C:
1701         * LaTeXFeatures.C:
1702         * LyXAction.C:
1703         * MenuBackend.C:
1704         * TextCache.C:
1705         * aspell.C:
1706         * buffer.C:
1707         * bufferlist.C:
1708         * changes.C:
1709         * chset.C:
1710         * converter.C:
1711         * counters.C:
1712         * debug.C:
1713         * graph.C:
1714         * ispell.C:
1715         * lyx_cb.C:
1716         * lyxfind.C:
1717         * lyxfunc.C:
1718         * lyxlex_pimpl.C:
1719         * lyxrc.C:
1720         * lyxrow.C:
1721         * paragraph.C:
1722         * rowpainter.C:
1723         * texrow.C:
1724         * text.C:
1725         * text2.C:
1726         * toc.C: remove redundant using directives.
1727
1728 2003-09-07  Angus Leeming  <leeming@lyx.org>
1729
1730         * LaTeXFeatures.h: remove #include "support/types.h".
1731         * ToolbarBackend.h: remove #include <algorithm>.
1732         * changes.h: remove #include <ctime>.
1733         * debug.h: remove #include <iosfwd>.
1734         * graph.h: remove #include "support/std_string.h".
1735         * lyx_main.h: remove #include <csignal>.
1736         * lyxlex_pimpl.h: remove #include <fstream>.
1737         * sgml.h: remove #include <algorithm>, <utility>.
1738         * toc.h: remove #include "support/std_ostream.h".
1739         Add #include <iosfwd>.
1740
1741 2003-09-07  Angus Leeming  <leeming@lyx.org>
1742
1743         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1744
1745         * converter.h: forward declare LatexRunParams.
1746         * encoding.h: remove #include "lyxrc.h".
1747         * lyxtext.h: remove #include "LColor.h".
1748         * lyxtextclass.h: remove #include "support/types.h".
1749         * trans.h: remove #include "tex-accent.h".
1750         * trans_mgr.h: remove #include "tex-accent.h".
1751         * insets/inset.h: remove #include "support/types.h", <vector>.
1752         * insets/insetcollapsable.h: remove #include "LColor.h".
1753         * insets/insetinclude.h: remove #include "dimension.h".
1754         * insets/insetlatexaccent.h: remove #include "dimension.h".
1755         * insets/insetoptarg.h:: remove #include "insettext.h".
1756         * insets/insettext.h: remove #include "dimension.h",
1757         <boost/shared_ptr.hpp>
1758
1759         * insets/renderers.h: add #include "dimension.h".
1760         * insets/updatableinset.h: add #include "support/types.h".
1761
1762         * many .C files: Associated changes.
1763
1764 2003-09-06  Angus Leeming  <leeming@lyx.org>
1765
1766         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1767         one, inside testInvariant.
1768
1769         * PrinterParams.C: new file.
1770         * PrinterParams.[Ch]: move the function bodies out of line.
1771
1772 2003-09-06  Angus Leeming  <leeming@lyx.org>
1773
1774         * ParagraphParameters.h: forward declare ParameterStruct rather than
1775         including its header file.
1776         (depth): moved out-of-line.
1777
1778 2003-09-06  Angus Leeming  <leeming@lyx.org>
1779
1780         * BufferView_pimpl.h:
1781         * kbmap.h:
1782         * kbsequence.h:
1783         * lyxfunc.h: forward declare LyXKeySym rather than
1784         #include "frontends/LyXKeySym.h".
1785
1786         * BufferView_pimpl.C:
1787         * kbmap.C:
1788         * kbsequence.C:
1789         * lyxfunc.C: associated changes.
1790
1791 2003-09-06  Angus Leeming  <leeming@lyx.org>
1792
1793         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1794         As a result, can remove the #include "insets/inset.h" from BufferView.h
1795
1796 2003-09-06  Angus Leeming  <leeming@lyx.org>
1797
1798         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1799         As a result, can remove the #include "insets/inset.h" from BufferView.h
1800
1801 2003-09-06  Angus Leeming  <leeming@lyx.org>
1802
1803         * buffer_funcs.C:
1804         * buffer.h:
1805         * bufferlist.C:
1806         * BufferView.C:
1807         * bufferview_funcs.C:
1808         * BufferView_pimpl.C:
1809         * CutAndPaste.C:
1810         * lyx_cb.C:
1811         * lyxfunc.C:
1812         * paragraph.h:
1813         * ParagraphParameters.C:
1814         * tabular.C:
1815         * text3.C:
1816         * toc.C:
1817         * undo_funcs.C:
1818         * frontends/controllers/ControlDocument.C:
1819         * insets/insetcaption.C: rearrange the #includes into some sort of
1820         coherent order.
1821
1822         * buffer.h: remove #includes ErrorList.h, undo.h
1823
1824 2003-09-06  Angus Leeming  <leeming@lyx.org>
1825
1826         * support/types.h: add a 'depth_type' typedef, used to store the
1827         nesting depth of a paragraph.
1828
1829         * paragraph.h:
1830         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1831         defining explicitly.
1832
1833         * buffer.h:
1834         * paragraph_funcs.h:
1835         * ParagraphParameters.h:
1836         * sgml.h: use lyx::depth_type rather than Paragraph or
1837         ParameterStruct's depth_type.
1838
1839         * buffer.h
1840         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1841
1842         * BufferView.C:
1843         * BufferView_pimpl.C:
1844         * CutAndPaste.C:
1845         * ParagraphParameters.C:
1846         * buffer_funcs.C:
1847         * bufferlist.C:
1848         * bufferview_funcs.C:
1849         * lyx_cb.C:
1850         * lyxfunc.C:
1851         * tabular.C:
1852         * text3.C:
1853         * toc.C:
1854         * undo_funcs.C:
1855         * frontends/LyXView.C:
1856         * frontends/controllers/ControlDocument.C:
1857         * frontends/controllers/ControlErrorList.C:
1858         * insets/insetbibitem.C:
1859         * insets/insetbranch.C:
1860         * insets/insetcaption.C:
1861         * insets/insetcollapsable.C:
1862         * insets/insetenv.C:
1863         * insets/insetert.C:
1864         * insets/insetfloat.C:
1865         * insets/insetfoot.C:
1866         * insets/insetfootlike.C:
1867         * insets/insetnewline.C:
1868         * insets/insetquotes.C:
1869         * insets/insettabular.C:
1870         * insets/insettext.C:
1871         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1872
1873         * frontends/controllers/ControlChanges.C: #include "changes.h".
1874
1875 2003-09-06  Angus Leeming  <leeming@lyx.org>
1876
1877         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1878         than #including paragraph.h.
1879
1880         * ParagraphList.h:
1881         * RowList.h: deleted. Superfluous.
1882
1883         * CutAndPaste.h:
1884         * iterators.h:
1885         * lyxcursor.h:
1886         * lyxtext.h:
1887         * text_funcs.h:
1888         * undo.h:
1889         * undo_funcs.h:
1890         * insets/inset.h:
1891         * insets/insettext.h: use ParagraphList_fwd.h rather than
1892         ParagraphList.h.
1893
1894         * paragraph.h: don't forward declare ParagraphList.
1895
1896         * buffer.h:
1897         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1898         rather than ParagraphList.h. paragraph.h is still needed for the
1899         Paragraph::depth_type parameters.
1900
1901         * textcursor.h: enable it to compile stand-alone in light of the
1902         above changes.
1903
1904         * bufferview_funcs.C:
1905         * iterators.C:
1906         * lyxfunc.C:
1907         * lyxrow_funcs.C:
1908         * paragraph.C:
1909         * rowpainter.C:
1910         * text.C:
1911         * text2.C:
1912         * text3.C:
1913         * text_funcs.C:
1914         * textcursor.C:
1915         * undo.C:
1916         * frontends/controllers/ControlParagraph.C:
1917         * frontends/controllers/ControlTabular.C:
1918         * insets/insetmarginal.C:
1919         * insets/insetminipage.C:
1920         * insets/insetnote.C:
1921         * insets/insetoptarg.C: add header files needed to compile again.
1922
1923 2003-09-06  Angus Leeming  <leeming@lyx.org>
1924
1925         * RowList_fwd.h: new file, forward-declaring Row rather than
1926         #including lyxrow.h.
1927
1928         * lyxrow_funcs.h:
1929         * lyxtext.h:
1930         * paragraph.h:
1931         * insets/insettext.h: use it instead of RowList.h
1932
1933         * bufferview_funcs.C:
1934         * lyxfunc.C:
1935         * lyxrow_funcs.C:
1936         * paragraph.C:
1937         * rowpainter.C:
1938         * text.C:
1939         * text2.C:
1940         * text3.C: #include "RowList.h".
1941
1942 2003-09-05  Angus Leeming  <leeming@lyx.org>
1943
1944         * factory.C (createInset):
1945         * vspace.C (c-tor): replace sscanf call with an istringstream.
1946         * ispell.C: re-add missing HP/UX headers.
1947         * lyxserver.C: re-add missing  os2 headers.
1948
1949 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1950
1951         * BranchList.C:
1952         * graph.C:
1953         * ispell.C:
1954         * lastfiles.C:
1955         * lyx_cb.C:
1956         * lyxserver.C:
1957         * texrow.C:
1958         * text3.C: re-add missing system headers, needed for 2.95.2.
1959
1960 2003-09-05  Angus Leeming  <leeming@lyx.org>
1961
1962         Changes most place everywhere due to the removal of using directives
1963         from support/std_sstream.h.
1964
1965 2003-09-05  Angus Leeming  <leeming@lyx.org>
1966
1967         Replace LString.h with support/std_string.h,
1968         Lsstream.h with support/std_sstream.h,
1969         support/LIstream.h with support/std_istream.h,
1970         support/LOstream.h with support/std_ostream.h.
1971
1972         Changes resulting throughout the tree.
1973
1974 2003-09-05  Angus Leeming  <leeming@lyx.org>
1975
1976         * sgml.h: ensure that the header file can be compiled stand-alone.
1977         * *.C: strip out redundant #includes. (320 in total.)
1978
1979 2003-09-04  Angus Leeming  <leeming@lyx.org>
1980
1981         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1982         here (from getPackages).
1983
1984         * debug.[Ch]: add a new EXTERNAL tag.
1985
1986 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1987
1988         * text2.C (cursorEnd): simplify
1989         (setCursor): adjust
1990         (getColumnNearX): adjust
1991
1992         * text.C (computeBidiTables): adjust
1993         (fill): adjust
1994
1995         * rowpainter.C (paintChars): adjust
1996         (paintSelection): adjust
1997         (paintChangeBar): adjust
1998         (paintText): adjust
1999
2000         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2001         lastPos instead.
2002         (numberOfSeparators): adjust
2003
2004 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2005
2006         * LyXAction.C:
2007         * box.[Ch]:
2008         * lfuns.h:
2009         * lyxfunc.C:
2010         * text3.C: Restricts the mouse click functionality
2011         of insets like bibtex, include, toc and floatlist to the visible
2012         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2013         up the dialogs. Cursor has to be in front of the inset (i.e.
2014         start of row) for this to function.
2015
2016 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2017
2018         * bufferview_funcs.C (currentState): output row information
2019
2020 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2021
2022         * bufferview_funcs.C (currentState): output paragraph position
2023
2024 2003-09-04  Angus Leeming  <leeming@lyx.org>
2025
2026         * FloatList.h: move out #include "Floating.h".
2027         * LaTeX.h: move out #include "DepTable.h".
2028         * LyXAction.h: move out #include "funcrequest.h".
2029         * buffer.h: move out #include "author.h", "iterators.h".
2030         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2031         * lyx_main.h: move out #include "errorlist.h".
2032         * lyxfunc.h: move out #include "FuncStatus.h".
2033         * lyxtext: move out #include "lyxcursor.h".
2034         * paragraph_pimpl.h: move out #include "counters.h".
2035
2036 2003-09-03  Angus Leeming  <leeming@lyx.org>
2037
2038         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2039         preamble_snippets list, enabling us to add snippets to the preamble
2040         only if the snippet was not there already.
2041
2042 2003-09-04  Angus Leeming  <leeming@lyx.org>
2043
2044         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2045
2046 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2047
2048         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2049         update
2050
2051 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2052
2053         * BranchList.C: point fix, earlier forgotten
2054
2055 2003-09-02  Angus Leeming  <leeming@lyx.org>
2056
2057         * box.C (contains): renamed from 'contained' after a fantastic
2058         amount of hot air.
2059
2060 2003-09-02  John Levon  <levon@movementarian.org>
2061
2062         * BufferView.C:
2063         * lyxcursor.h:
2064         * lyxcursor.C:
2065         * lyxfunc.C:
2066         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2067
2068 2003-09-02  John Levon  <levon@movementarian.org>
2069
2070         * text2.C: simplification of cursorEnd(), including partial
2071         fix for bug 1376
2072
2073 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * buffer.C (readFile): add a space
2076
2077 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2080
2081 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * buffer.C (readFile): new function, take a filename and a
2084         ParagraphList::iterator
2085         (readFile): adjust
2086         (readFile): adjust, make it private. don't use setStream, make
2087         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2088         always contain the filename.
2089
2090         * BufferView.C (insertLyXFile): simplify and make it work for
2091         gzipped files.
2092
2093 2003-08-30  John Levon  <levon@movementarian.org>
2094
2095         * Makefile.am: fix dist (from Kayvan)
2096
2097 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2098
2099         * most files: change to use const Buffer refs
2100
2101 2003-08-27  André Pönitz  <poenitz@gmx.net>
2102
2103         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2104         on top of ownerPar().
2105
2106 2003-08-27  John Levon  <levon@movementarian.org>
2107
2108         * funcrequest.C: properly initialise POD members
2109
2110 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * lyxtext.h (top_y): move top_y from here
2113         * text.C:
2114         * text2.C:
2115         * text3.C:
2116         * BufferView.[Ch]:
2117         * BufferView_pimpl.[Ch]: to here
2118         * frontends/screen.C:
2119         * insets/insettabular.C:
2120         * insets/insettext.C: adjust
2121         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2122
2123 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2124
2125         * BufferView.[Ch]:
2126         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2127
2128 2003-08-26  André Pönitz  <poenitz@gmx.net>
2129
2130         * paragraph_func.[Ch] (outerPar): new function
2131
2132         * paragraph.C:
2133         * paragraph_funcs.C:
2134         * paragraph_funcs.h:
2135         * paragraph_pimpl.C:
2136         * text2.C: remove Inset::par_owner
2137
2138 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2139
2140         * lyxrow_funcs.C:
2141         * lyxtext.h:
2142         * text.C:
2143         * text2.C: eliminates the needFullRow/display() stuff
2144         altogether, putting the logic in metrics/draw in the insets.
2145
2146 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2147
2148         * text2.C (redoParagraphInternal, redoParagraphs):
2149         * text.C (redoParagraph): add a call to updateRowPositions at the
2150         end of each 'metrics-like' call. Remove all others.
2151         (getRow): remove the 'y-computing' version.
2152         (getRowNearY): do not compute nor return the real y. Solve the
2153         'y < 0' problem and simplify.
2154
2155 2003-08-22  Angus Leeming  <leeming@lyx.org>
2156
2157         * *.[Ch]: clean-up of licence and author blurbs.
2158         Also move config.h out of a few .h files and into a few .C files.
2159
2160 2003-08-22  André Pönitz  <poenitz@gmx.net>
2161
2162         * lyxrow.[Ch]: add x_ and *fill_ members
2163
2164         * lyxtext.h:
2165         * text.C:
2166         * rowpainter.C:
2167         * text2.C: adjust/remove prepareToPrint() calls
2168
2169 2003-08-22  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxrow.[Ch]: add  end_ member
2172
2173         * lyxrow_funcs.C: use LyXRow::end_
2174
2175         * lyxtext.h (singleWidth): add LyXFont parameter
2176
2177         * rowpainter.C:
2178         * text2.C: adjust LyXText::singleWidth() calls
2179
2180         * text.C (redoParagraph): simplify row breaking logic
2181
2182
2183 2003-08-19  André Pönitz  <poenitz@gmx.net>
2184
2185         * funcrequest.C: initialize button_ member
2186
2187         * text3.C:
2188         * rowpainter.[Ch]: interface consolidation
2189
2190 2003-08-18  André Pönitz  <poenitz@gmx.net>
2191
2192         * BufferView.C:
2193         * BufferView_pimpl.C:
2194         * lyxfind.C:
2195         * paragraph_funcs.C:
2196         * rowpainter.C:
2197         * text3.C: remove LyXScreen::draw() and fitCursor calls
2198
2199         * BranchList.h: remove spurious semicolons
2200
2201         * MenuBackend.C: fix branchlist related crash
2202
2203 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2204
2205         * BranchList.[Ch]:
2206         * InsetList.[Ch]:
2207         * LColor.[Ch]:
2208         * LyXAction.C:
2209         * Makefile.am:
2210         * MenuBackend.[Ch]:
2211         * bufferparams.[Ch]:
2212         * factory.C:
2213         * lfuns.h:
2214         * lyxfunc.C:
2215         * text3.C: implements the 'branch inset'
2216         idea. This allows the output of various versions of a document
2217         from a single source version, selectively outputing or suppressing
2218         output of parts of the text.
2219         This implementation contains a 'branch list editor' in a separate
2220         tab of the document settings dialog. Branches are user definable
2221         and have a "display colour" to distinguish them on-screen.
2222
2223         ColorHandler was somewhat cleaned up.
2224         (1) make possible a dynamically growing LColor list by allowing
2225         the graphic context cache to grow along (vector);
2226         (2) eliminate an IMHO unnecessary step in colour allocation.
2227
2228 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2229
2230         * BufferView_pimpl.C: compile fix
2231
2232 2003-08-15  André Pönitz  <poenitz@gmx.net>
2233
2234         * rowpainter.C: remove extra metrics calls
2235
2236         * lyxtext.h: merge the two constructors into a single one,
2237           pass reference to owner's par list
2238
2239         * BufferView_pimpl.C:
2240         * text.C:
2241         * text2.C: adjust
2242
2243 2003-08-15  André Pönitz  <poenitz@gmx.net>
2244
2245         * lyxrow_funcs.[Ch]:
2246         * lyxtext.h:
2247         * paragraph.h:
2248         * paragraph_funcs.C:
2249         * rowpainter.C:
2250         * text.C:
2251         * text2.C:
2252         * text3.C:
2253         * text_funcs.C: split LyXText::rowlist_ into individual
2254         Paragraph::rows_ chunks
2255
2256         * BufferView.[Ch]:
2257         * BufferView_pimpl.[Ch]:
2258         * lyxfind.C:
2259         * lyxtext.h:
2260         * text3.C: remove toggleSelection()
2261
2262 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2263
2264         * bufferlist.C: beautify two alerts (shorter text of buttons)
2265         * buffer.C: Remove redundant ' ' from message
2266         * tabular.h:
2267         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2268         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2269         rename VALIGN_CENTER to VALIGN_MIDDLE
2270
2271 2003-08-11  André Pönitz  <poenitz@gmx.net>
2272
2273         * lyxtext.h (getPar):
2274         * text.C: new function
2275
2276 2003-08-11  André Pönitz  <poenitz@gmx.net>
2277
2278         * Makefile.am:
2279         * tracer.[Ch]: remove unneeded files
2280
2281         * InsetList.[Ch]: remove resizeInsetsLyXText()
2282
2283         * lyxtext.h:
2284         * text.C:
2285         * text2.C:
2286         * text3.C: merge insertParagraphs() and appendParagraph()
2287         remove breakAgain(), update()
2288
2289         * BufferView_pimpl.[Ch]:
2290         * bufferview_funcs.[Ch]:
2291         * lyxfunc.C:
2292         * paragraph.[Ch]:
2293         * rowpainter.C:
2294         * tabular.C: adjust after text & InsetList changes.
2295
2296 2003-08-08  André Pönitz  <poenitz@gmx.net>
2297
2298         * text.C (insertChar, backspace): replace rowlist fiddling
2299         with rebreak of full par
2300
2301         * lyxtext.h:
2302         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2303         checkParagraph, updateInset): removed
2304
2305 2003-08-07  André Pönitz  <poenitz@gmx.net>
2306
2307         * paragraph.C:
2308         * text3.C: merge some LFUN handlers, remove dead code
2309
2310 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2313
2314 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2315
2316         * text2.C (DEPM): fix part of bug 1255 and 1256
2317
2318 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2319
2320         * BufferView_pimpl.C (workAreaDispatch): change to use
2321         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2322         that are no mouse related.
2323
2324 2003-08-05  André Pönitz  <poenitz@gmx.net>
2325
2326         * BufferView.[Ch]:
2327         * BufferView_pimpl.[Ch]:
2328         * bufferview_funcs.C:
2329         * text2.C:
2330         * text3.C: rip out "deep update"
2331
2332         * textcursor.[Ch] (last_sel_cursor): remove unused member
2333
2334 2003-08-04  André Pönitz  <poenitz@gmx.net>
2335
2336         * BufferView.[Ch]:
2337         * BufferView_pimpl.[Ch]:
2338         * ParagraphParameters.C:
2339         * bufferview_funcs.C:
2340         * lyx_cb.C:
2341         * lyxfind.C:
2342         * lyxfunc.C:
2343         * text.C:
2344         * text2.C:
2345         * text3.C: replace "complicated" BufferView::update(...) calls with
2346         simpler ones.
2347
2348         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2349
2350 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2351
2352         * Makefile.am (lyx_SOURCES): add paper.h
2353
2354 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2355
2356         * Makefile.am: move things around so that both lyx-qt and
2357         lyx-xforms can be built (according to --with-frontend). Then lyx
2358         is a symbolic link to lyx-[firstfrontend]
2359
2360 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2361
2362         * Always use std::endl with lyxerr
2363
2364 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2365
2366         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2367
2368 2003-08-01  André Pönitz  <poenitz@gmx.net>
2369
2370         * BufferView.[Ch]:
2371         * BufferView_pimpl.[Ch]:
2372         * lyxfunc.C:
2373         * text3.C: merge BufferView::repaint() and BufferView::update()
2374
2375 2003-08-01  José Matos  <jamatos@lyx.org>
2376
2377         * buffer.[Ch]: file_format is no longer a buffer data element.
2378
2379 2003-08-01  André Pönitz  <poenitz@gmx.net>
2380
2381         * BufferView.C:
2382         * lyxtext.h:
2383         * text.C:
2384         * text2.C: make redoParagraph more independent of current cursor
2385
2386         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2387         * text.C:
2388         * text2.C: remove unneeded members
2389
2390 2003-07-30  André Pönitz  <poenitz@gmx.net>
2391
2392         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2393
2394         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2395           create a single function...
2396
2397         * paragraph_funcs.C (moveItem): ... here.
2398
2399         * text.C:
2400           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2401
2402 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2403
2404         * LColor.[Ch]: Add comment and greyedout logical colors.
2405
2406 2003-07-30  André Pönitz  <poenitz@gmx.net>
2407
2408         * tabular.C: don't use Assert too heavily. This crashes where it
2409           shouldn't
2410
2411 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2414         is disabled (bug 1232)
2415
2416 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * factory.C: limited 'arg' scope
2419
2420 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2421
2422         * factory.C: fixed Note submenu issues
2423
2424 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2425
2426         * factory.C: submenu for Note/Comment/Greyedout
2427
2428 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * lyx_main.C (LyX):
2431         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2432
2433 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2434
2435         * LaTeXFeatures.C:
2436         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2437         greyedout. Patch provided by Jürgen Spitzmüller.
2438
2439 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * kbmap.C (read): fix error message when reading bind files
2442
2443 2003-07-29  Angus Leeming  <leeming@lyx.org>
2444
2445         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2446         certainly does not do what it purports to do. I am doing it, and
2447         us, a favour by killing it.
2448
2449 2003-07-28  José Matos  <jamatos@lyx.org>
2450
2451         * buffer.C (readBody, do_writeFile):
2452         * paragraph.C(readParagraph): \end_document replaces \the_end.
2453
2454 2003-07-29  André Pönitz  <poenitz@gmx.net>
2455
2456         * BufferView.[Ch]:
2457         * BufferView_pimpl.[Ch]:
2458         * lyxfunc.C:
2459         * text2.C:
2460         * text3.C:
2461         * textcursor.[Ch]: remove toggleToggle & Co
2462
2463 2003-07-28  José Matos  <jamatos@fep.up.pt>
2464
2465         * buffer.C (readParagraph):
2466         * params_func (readParToken, readParagraph):
2467         * paragraph.C (write): \layout -> \begin_layout.
2468
2469 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * lyxlex_pimpl.C (setFile): clean up slightly.
2472
2473         * bufferparams.h: add compressed var
2474
2475         * buffer_funcs.C (readFile): adjust for LyXLex change
2476         (newFile): ditto + simplify
2477
2478         * buffer.C (writeFile): handle writing of compressed files
2479
2480         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2481         Check if the file is compressed and set a bufferparm if so.
2482
2483         * Makefile.am (lyx_LDADD): remove explicit -lz
2484
2485 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2486
2487         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2488         makeDocBookFile): put the real LyX version in the first line of
2489         the file
2490
2491         * version.h:
2492         * version.C.in: remove lyx_docversion
2493
2494         * tabular.C (write_attribute): add a template-based version to
2495         write enums properly
2496
2497 2003-07-28  André Pönitz  <poenitz@gmx.net>
2498
2499         * lyxtext.h:
2500         * text.C:
2501         * text2.C:
2502         * text3.C: use doubles again for x-coordinates. They are needed.
2503
2504 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * messages.C (getLocaleDir): use lyx_localedir()
2507
2508         * lyxlex_pimpl.C (setFile): compress stuff
2509
2510         * buffer.C (writeFile): add some compression stuff
2511         (do_writeFile): new func, dont call expliti close... will this
2512         breake anything?
2513
2514         * Makefile.am (lyx_LDADD): add -lz
2515
2516 2003-07-28  José Matos  <jamatos@fep.up.pt>
2517
2518         * buffer.C: increment file format.
2519         * paragraph_funcs (readParagraph, readParToken):
2520         * paragraph.C (readParagraph): add \end_layout.
2521
2522 2003-07-27  Angus Leeming  <leeming@lyx.org>
2523
2524         * Makefile.am: remove special casing for configure-time setting of
2525         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2526
2527         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2528         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2529
2530 2003-07-26  André Pönitz  <poenitz@gmx.net>
2531
2532         * paragraph_func.[Ch]:
2533         * paragraph.C (realizeFont): inline it whereever it is used
2534
2535         * rowpainter.C:
2536         * text.C:
2537         * text2.C:
2538         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2539
2540
2541 2003-07-26  André Pönitz  <poenitz@gmx.net>
2542
2543         *       lyxtext.h:
2544         * text.C:
2545         * text2.C: get rid of LyXText::need_break_row
2546
2547 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * toc.[Ch]: put namespace toc inside namespace lyx
2550
2551         * MenuBackend.C (expandToc2): adjust for lyx::toc
2552         (expandToc): ditto
2553
2554         * lyxfunc.C (dispatch): adjust for lyx::find
2555
2556         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2557         lyx::find instead. Reorganize a bit.
2558         (LyXReplace): rename to replace
2559         (LyXFind): rename to find
2560
2561         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2562         (dispatch): ditto
2563
2564 2003-07-26  André Pönitz  <poenitz@gmx.net>
2565
2566         * text.C (setHeightOfRow): restrict scope of temporary variable
2567
2568         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2569           code (never has been used?)
2570
2571 2003-07-27  Asger Alstrup  <alstrup@local>
2572
2573         * text.C (fill): Optimise algorithm to exploit that we can reuse
2574         the LyXFont for many characters.
2575         (setHeightOfRow): Same thing.
2576         (rowBreakPoint): Same thing.
2577
2578 2003-07-26  Asger Alstrup  <alstrup@local>
2579
2580         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2581
2582         * text.C (singleWidth): Spurious font copying in hot-spot
2583         singleWidth avoided. Reorder tests for arabic for efficiency.
2584
2585         * text.C (fill): handle empty paragraphs better.
2586
2587 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2588
2589         * ispell.C:
2590         * encoding.h: add includes
2591
2592         * lyxrc.C: remove reading of bind files
2593
2594         * lyx_main.C (init): setup bindings and menus only if we have a
2595         gui.
2596
2597         * kbmap.C (read): new method. Do the actual reading of bind
2598         files.
2599
2600         * converter.C (dvipdfm_options):
2601         * bufferparams.C:
2602         * lyxrc.C (read):
2603         (output): adapt PAPER_* enums.
2604
2605         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2606
2607         * bufferparams.h: remove paper-related enums from there
2608
2609         * paper.h: New file. A trivial header file to hold paper-related
2610         enums. It should later expand to contain many paper-related
2611         horrors access.
2612
2613         * lyxrc.C: declare extern displayTranslator
2614
2615 2003-07-27  José Matos  <jamatos@fep.up.pt>
2616
2617         * tabular.[Ch] (linuxdoc): add support for tables and figures
2618         (linuxdoc).
2619
2620 2003-07-27  José Matos  <jamatos@fep.up.pt>
2621
2622         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2623         consistency in both functions.
2624         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2625
2626 2003-07-26  Asger Alstrup  <alstrup@local>
2627
2628         * rowpainter.C (paintRows): Change algorithm to work directly on
2629         the insets rather than asking every character in the document
2630         whether its an inset.
2631
2632 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * buffer.C (openFileWrite): factorize some code
2635
2636 2003-07-26  Angus Leeming  <leeming@lyx.org>
2637
2638         * lyx_cb.C:
2639         * lyx_main.[Ch]: replace occurances of system_tempdir with
2640         os::getTmpDir().
2641
2642 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * rename Inset to InsetOld
2645
2646 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2647
2648         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2649         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2650         which I think is a bit clearer. EDIT is gone, since it was
2651         premature optimisation, and broken for mathed anyway.
2652         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2653         with cursor positioning in insets as well (math insets still do not
2654         work, but that's a different story anyway.) It mysteriously
2655         crashes sometimes with undo in the first paragraph, but I'm fairly
2656         confident that this is a compiler bug.
2657
2658 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * paragraph.C (Paragraph): adjust for new clone return type
2661         (operator==): ditto
2662         (copyIntoMinibuffer): ditto
2663
2664 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2665
2666         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2667         by not having a special case, and always doing a full rebreak of
2668         the document after undo.
2669
2670 2003-07-23  Angus Leeming  <leeming@lyx.org>
2671
2672         * factory.C (createInset): InsetExternal::setParams now takes a
2673         Buffer const * arg.
2674
2675 2003-07-23  Angus Leeming  <leeming@lyx.org>
2676
2677         * factory.C (createInset): changed interface to the external and
2678         graphics mailers' string2params functions.
2679
2680 2003-07-23  Angus Leeming  <leeming@lyx.org>
2681
2682         * factory.C (createInset): pass a
2683         Buffer const * parameter to InsetExternalMailer's string2params.
2684
2685 2003-07-22  John Levon  <levon@movementarian.org>
2686
2687         * Thesaurus.h: include the right aiksaurus header
2688
2689 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         * MenuBackend.C (expand): check menu shortcuts unconditionally
2692
2693 2003-07-21  Angus Leeming  <leeming@lyx.org>
2694
2695         * factory.C (createInset): pass a
2696         buffer_path parameter to InsetGraphicsMailer's string2params.
2697
2698 2003-07-21  Angus Leeming  <leeming@lyx.org>
2699
2700         * BufferView_pimpl.C (buffer):
2701         * buffer.C (d-tor):
2702         * lyx_main.C (LyX):
2703         * lyxfunc.C (dispatch):
2704         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2705         rather than the grfx shortcut.
2706
2707 2003-07-21  André Pönitz  <poenitz@gmx.net>
2708
2709         * rowpainter.C: remove unused variables
2710
2711         * tabular_funcs.C:
2712         * tabular_funcs.h: move to tabular.C
2713         * Makefile.am: adjust
2714
2715         * tabular.[Ch]: basic optical cleaning
2716
2717         * author.h: pass references, not values
2718
2719 2003-07-18  André Pönitz  <poenitz@gmx.net>
2720
2721         * lyxtext.h:
2722         * metricsinfo.C:
2723         * metricsinfo.h:
2724         * rowpainter.C:
2725         * text.C:
2726         * text2.C:
2727         * text3.C: two-phase drawing for InsetText and InsetTabular
2728         some float -> int changes.
2729
2730 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2731
2732         * lyx_main.C: fix the fix
2733
2734 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * lyx_main.C: fix a crash in batch mode if no files specified
2737         * converter.C: ws
2738
2739 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * format.[Ch] (papersize): moved to BufferParams
2742         * converter.[Ch] (dvips_options): moved to BufferParams
2743         (dvipdfm_options): moved to anon namespace
2744         * bufferparams.[Ch]: added above functions.
2745
2746 2003-07-17  André Pönitz  <poenitz@gmx.net>
2747
2748         * lyxtext.h:
2749         * rowpainter.C:
2750         * text2.C: don't call inset->update() anymore
2751
2752         * metricsinfo.[Ch]: add convenience constructor
2753
2754 2003-07-16  André Pönitz  <poenitz@gmx.net>
2755
2756         * lyxcursor.[Ch]:
2757         * lyxfunc.[Ch]:
2758         * text.C:
2759         * text2.C: replace the LyXCursor::irow_ member with
2760          on-demand computation of the value
2761
2762 2003-07-16  John Levon  <levon@movementarian.org>
2763
2764         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2765
2766 2003-07-15  André Pönitz  <poenitz@gmx.net>
2767
2768         * text.C:
2769         * text2.C: remove no more needed refresh_row
2770
2771 2003-07-15  André Pönitz  <poenitz@gmx.net>
2772
2773         * lyxtext.h:
2774         * rowpainter.C:
2775         * text2.C:
2776         * text3.C: refresh_status tristate -> need_update bool
2777
2778 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2779
2780         * lyxtext.h (init): remove reinit argument (act as if always true)
2781         * text2.C: adjust to that
2782
2783 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2784
2785         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2786         * text3.C: use it to delete selections in some cases
2787         (bugs 441, 673, 702, 954).
2788
2789 2003-07-14  André Pönitz  <poenitz@gmx.net>
2790
2791         * rowpainter.[Ch]: reduce interface
2792
2793 2003-07-14  André Pönitz  <poenitz@gmx.net>
2794
2795         * BufferView_pimpl.C:
2796         * text2.C: adjust after removing unused BufferView * argument
2797
2798 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * text2.C (init): fix a crash fired on resize
2801
2802 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * buffer.[Ch]: added new closing signal
2805         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2806         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2807         BufferView::Pimpl via the closing the signal
2808
2809 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2810
2811         * buffer.[Ch]: take out all bv-related from buffer
2812         * BufferView.C:
2813         * BufferView_pimpl.[Ch]: connect to new signals
2814         * CutAndPaste.C: removed useless asserts
2815         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2816         * lyxvc.[Ch]:
2817         * vc-backend.[Ch]:
2818         * lyxfunc.C: moved view-related funciontality from vc here
2819         * paragraph.C: removed outdated comments
2820         * text.C: ws
2821
2822 2003-07-10  André Pönitz  <poenitz@gmx.net>
2823
2824         * BufferView_pimpl.C:
2825         * tabular.h:
2826         * tabular_funcs.C:
2827         * text.C:
2828         * text2.C: remove InsetText::InnerCache, clean up consequences
2829
2830 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2831
2832         * ispell.C: fix two typos in error messages
2833
2834 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2835
2836         * Extend Note inset to other forms of annotation like Comment
2837         and Greyedout. Right button click gives dialog.
2838
2839         Files modified or added (+):
2840
2841         * insetnote.[Ch]
2842         * FormNote.[Ch]      +
2843         * ControlNote.[Ch]   +
2844         * form_note.fd       +
2845         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2846         frontends/controllers
2847         * xforms/Dialogs.C
2848         * factory.C
2849
2850 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2851
2852         * aspell.C: add missing namespace lyx::support
2853
2854 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2855
2856         * BufferView.[Ch] (newFile): Add
2857         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2858         * LaTeX.[Ch] (message): added this signal and use it
2859         * buffer.[Ch] (busy, message): added these signals and use them
2860         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2861         * converter.C:
2862         * exporter.C:
2863         * format.C:
2864         * importer.C: use buffer signals instead of direct bv calling
2865         * lyx_cb.[Ch] (ShowMessage): removed
2866         * lyx_main.C:
2867         * lyxfunc.C:
2868         * paragraph_funcs.C:
2869         * text2.C: use buffer signals
2870
2871 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * introduce namespace lyx::graphics
2874
2875 2003-07-02  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2878
2879 2003-07-01  André Pönitz  <poenitz@gmx.net>
2880
2881         * text.C:
2882         * text2.C:
2883         * text3.C:
2884         * text_funcs.[Ch]:
2885         * textcursor.h:
2886         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2887           text*.C to text_func.C
2888
2889 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * introduce namespace lyx::support
2892
2893 2003-06-30  André Pönitz  <poenitz@gmx.net>
2894
2895         * Chktex.C:
2896         * funcrequest.C:
2897         * lyxtext.h:
2898         * text.C: re-enable --with-included-string
2899
2900 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * textcursor.C: add <config.h>
2903
2904         * text.C (getWord): remove const from word_location arg
2905
2906         * lyxvc.C (getLogFile): fix const type order
2907
2908         * lyxtext.h: remove const from word_location arg, add arg name
2909
2910         * lyxlayout.h: currect type on labeltype.
2911
2912         * importer.C: correct \file
2913
2914         * converter.C (intToFormat): use std:: on ret val, ws changes
2915
2916         * bufferlist.h: correct \file
2917
2918         * buffer.C (makeLinuxDocFile): fix const type order
2919         (makeDocBookFile): ditto
2920         (fillWithBibKeys): use std:: on stdlib args.
2921
2922         * CutAndPaste.C: fix authors.
2923         (availableSelections): use std:: on return vector
2924
2925 2003-06-27  André Pönitz  <poenitz@gmx.net>
2926
2927         * BufferView_pimpl.C:
2928         * bufferview_funcs.C:
2929         * lyxcursor.C:
2930         * lyxcursor.h:
2931         * lyxfunc.C:
2932         * lyxtext.h:
2933         * rowpainter.C:
2934         * text.C:
2935         * text2.C:
2936         * text3.C: remove LyXCursor::row_ member
2937
2938         * lyxtext.h:
2939         * text.C: rename fullRebreak() to partialRebreak() and implement
2940           a fullRebreak() that really bereks fully
2941
2942         * textcursor.h: new struct for cursor-related data
2943
2944 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2945
2946         * lyx_main.C (LyX): get full path of document loaded on the
2947         command line
2948
2949 2003-06-26  André Pönitz  <poenitz@gmx.net>
2950
2951         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2952           remove unused/broken operator>,<,>=.
2953
2954         *       text.C: remove only use of broken operator<= in an Assert().
2955
2956 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2957
2958         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2959         moved errorlist_.clear to showErrorList
2960
2961 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2962
2963         * converter.C (scanLog, runLaTeX):
2964         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2965         move the bv->showErrorList call to the callers
2966         * lyxfunc.C: i.e. here...
2967         * text2.C: and here
2968         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2969         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2970         namespace, the second to...
2971         * buffer_funcs (BufferFormat, parseErrors): added
2972         * errorlist.C (ErrorList(TeXErrors const &)): removed
2973
2974 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2975
2976         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2977
2978 2003-06-24  "Garst R. Reese" <reese@isn.net>
2979
2980         * debug.C: fix typo
2981
2982 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2983
2984         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2985
2986         * version.C.in: change docversion to 1.4
2987
2988 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * buffer.C: fix a bug just introduced
2991
2992 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2993
2994         * buffer.[Ch]: added the parseError signal and use it, removed
2995         sgmlError
2996         * BufferView.[Ch] (addError): moved to ...
2997         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2998         to the Buffer::parseError signal to catch (guess what) parse errors
2999         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3000
3001 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3004         ability to create a buffer and to return an existing one from
3005         the list. Moved these functions to...
3006         * buffer_funcs.[Ch]: added
3007         * BufferView.[Ch] (loadLyXFile): added
3008         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3009         job removed from bufferlist::loadLyXFile.
3010         * buffer.C (setReadOnly): make it work without view
3011         (i.e added an if (users))
3012
3013 2003-06-19  Angus Leeming  <leeming@lyx.org>
3014
3015         * lfuns.h:
3016         * LyXAction.C (init):
3017         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3018         with LFUN_DIALOG_SHOW <name> <data>.
3019
3020 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3021
3022         * CutAndPaste.C (availableSelections): small compilation fix for
3023         ancient (gcc 2.9x) compilers
3024
3025 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * text3.C (cursorNext): add tmp var
3028
3029         * text2.C (updateCounters): for function calling out of for clause
3030         (replaceSelectionWithString): ditto
3031         (insertStringAsParagraphs): ditto
3032         (getColumnNearX): add tmp var
3033         (setCursorFromCoordinates): add tmp var
3034         (cursorDownParagraph): add tmp var
3035         (deleteEmptyParagraphMechanism): add tmp var
3036
3037         * text.C (insertChar): add tmp var
3038
3039         * rowpainter.C (paintDepthBar): add tmp var
3040
3041         * CutAndPaste.C (availableSelections): potentially check all
3042         paragraphs in a cut to fill the shown strings.
3043
3044 2003-06-18  André Pönitz  <poenitz@gmx.net>
3045
3046         * kbmap.[Ch]: use vector<> instead of list<>
3047
3048 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3049
3050         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3051         pasteSelection with index
3052
3053         * text2.C (pasteSelection): modify, call pasteSelection with index
3054
3055         * paragraph.C (asString): reimplement version with no interval to
3056         call the one with interval.
3057
3058         * lyxtext.h: add index arg to pasteSelection
3059
3060         * MenuBackend.C (MenuItem): handle PasteRecent
3061         (Menu::read::Menutags): add md_pasterecent
3062         (read): handle it
3063         (expandPasteRecent): new function
3064         (expand): use it
3065
3066         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3067
3068         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3069         the limited stack
3070         (availableSelections): new function
3071
3072 2003-06-17  Angus Leeming  <leeming@lyx.org>
3073
3074         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3075
3076 2003-06-17  Angus Leeming  <leeming@lyx.org>
3077
3078         * lfuns.h:
3079         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3080
3081         * lyxfunc.C (dispatch): invoke it.
3082
3083 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * iterators.C (operator++, ParPosition): reintroduce some
3086         const_cast for the benefit of older compilers.
3087
3088 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3089
3090         * text3.C (dispatch): do not modify clipboard when doing
3091         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3092         LFUN_DELETE_SKIP on a selection selection
3093
3094 2003-06-16  André Pönitz  <poenitz@gmx.net>
3095
3096         * BufferView.C:
3097         * buffer.C:
3098         * buffer.h:
3099         * paragraph.C:
3100         * tabular.[Ch]: IU of clone() and getLabelList();
3101
3102 2003-06-13  André Pönitz  <poenitz@gmx.net>
3103
3104         * tabular.h: compactification
3105
3106 2003-06-12  André Pönitz  <poenitz@gmx.net>
3107
3108         * tabular.C:
3109         * tabular.h:
3110         * tabular_funcs.h: some renaming plus whitespace
3111
3112 2003-06-12  André Pönitz  <poenitz@gmx.net>
3113
3114         * BufferView.C:
3115         * BufferView_pimpl.C:
3116         * CutAndPaste.C:
3117         * buffer.C:
3118         * iterators.[Ch]:
3119         * lyxfunc.C:
3120         * text.C:
3121         * toc.C: Return a Paragraph & for ParIterator::operator*()
3122
3123 2003-06-11  John Levon  <levon@movementarian.org>
3124
3125         * lyx_main.C:
3126         * ToolbarBackend.h:
3127         * ToolbarBackend.C: add "Toolbars" section and
3128         put the flags there
3129
3130 2003-06-10  Angus Leeming  <leeming@lyx.org>
3131
3132         * lfuns.h:
3133         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3134
3135         * lyxfunc.C (dispatch): invoke it.
3136
3137 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * main.C: protect <ios> with HAVE_IOS
3140         (main): protect sync_with_stdio with HAVE_IOS
3141
3142 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3143
3144         * text2.C (cutSelection): adjust
3145         (pasteSelection): adjust
3146
3147         * messages.C: handle get of empty string
3148
3149         * main.C (main): use sync_with_stdio(false)
3150
3151         * lyxfunc.C (dispatch): adjust
3152
3153         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3154         (WriteAs): remove unneeded BufferView arg.
3155
3156         * bufferparams.h: use correct types on papersize, papersize2 and
3157         paperpackage.
3158
3159         * bufferparams.C (readToken): adjust for type
3160         (writeLaTeX): add missing cases to switch.
3161
3162         * bufferlist.C (quitWriteBuffer): adjust
3163         (close): adjust
3164
3165         * buffer.C (asciiParagraph): remove some commented code.
3166
3167         * CutAndPaste.C: remove current_view extern variable.
3168         (cutSelection): add BufferParams arg.
3169         (eraseSelection): add BufferParams arg.
3170         (pasteSelection): add Buffer const & arg
3171
3172 2003-06-07  John Levon  <levon@movementarian.org>
3173
3174         * buffer.C:
3175         * paragraph_funcs.C:
3176         * paragraph_pimpl.C:
3177         * text.C:
3178         * text2.C:
3179         * paragraph.h:
3180         * paragraph.C: allow InsetERT to freely space lines,
3181         and some consolidation of code
3182
3183 2003-06-06  José Matos  <jamatos@fep.up.pt>
3184
3185         * buffer.C (makeDocBookFile): fix bug #821
3186
3187 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3188
3189         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3190
3191 2003-06-04  Angus Leeming  <leeming@lyx.org>
3192
3193         * buffer.C: bump format to 224.
3194
3195 2003-06-05  André Pönitz  <poenitz@gmx.net>
3196
3197         * text2.C (redoParagraphs): remove two const_cast<>
3198
3199 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3200
3201         * ParagraphList.h: remove last remnants of NO_STD_LIST
3202
3203 2003-06-03  Angus Leeming  <leeming@lyx.org>
3204
3205         * factory.C (createInset): small change to the way InsetExternal's params
3206         are set.
3207
3208 2003-06-04  André Pönitz  <poenitz@gmx.net>
3209
3210         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3211
3212         * paragraph_pimpl.h:
3213         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3214
3215         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3216
3217         * undo_funcs.C: make some simple cases of undo work again
3218
3219 2003-06-03  John Levon  <levon@movementarian.org>
3220
3221         * ispell.C: HPUX doesn't have sys/select.h
3222         (from Albert Chin)
3223
3224 2003-06-03  John Levon  <levon@movementarian.org>
3225
3226         * CutAndPaste.C: update tabular and include inset
3227         buffer references
3228
3229         * buffer.h:
3230         * paragraph.h:
3231         * paragraph.C: remove owningBuffer(), don't pass Buffer
3232         to clone()
3233
3234         * factory.C: insetGraphicsParams changed
3235
3236 2003-06-02  John Levon  <levon@movementarian.org>
3237
3238         * LyXAction.C:
3239         * factory.C:
3240         * lfuns.h:
3241         * lyxfunc.C:
3242         * text3.C: remove insetparent
3243
3244 2003-06-02  John Levon  <levon@movementarian.org>
3245
3246         * buffer.h:
3247         * buffer.C: fix inset_iterator.end(), move out of line
3248         (bug 1149)
3249
3250 2003-06-01  John Levon  <levon@movementarian.org>
3251
3252         * text3.C: use a proper cut/paste when doing inset
3253         insert (from Jürgen Spitzmüller)
3254
3255 2003-06-01  John Levon  <levon@movementarian.org>
3256
3257         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3258
3259 2003-05-30  André Pönitz  <poenitz@gmx.net>
3260
3261         * rowpainter.C: unify second drawing phase
3262
3263 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * trans_mgr.C: remove one case of current_view
3266
3267         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3268
3269         * paragraph_funcs.h: remove paragraph.h include
3270
3271         * paragraph.h: delete NO_STD_LIST stuff
3272
3273         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3274
3275         * buffer.h: remove paragraph.h include
3276
3277         * ParagraphList.C: delete file
3278
3279         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3280
3281         * toc.C (getTocList): adjust
3282
3283         * paragraph_pimpl.C (validate): adjust
3284
3285         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3286
3287         * paragraph.C (Paragraph): adjust
3288         (getPositionOfInset): use const_iterator, adjust
3289         (bibitem): use const_iterator, adjust
3290         (setInsetOwner): adjust
3291
3292         * iterators.C (operator++): adjust
3293
3294         * InsetList.[Ch]: Replace selfmade iterator with standard
3295         vector::iterator also introduce const_iterator. Remove getPos,
3296         getInset and setInset from InsetTable. Adjust accordingly.
3297
3298         * BufferView.C (lockInset): adjust
3299         (ChangeInsets): adjust
3300
3301         * tabular.[Ch]: delete commented same_id functions
3302
3303 2003-05-28  John Levon  <levon@movementarian.org>
3304
3305         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3306
3307 2003-05-28  André Pönitz  <poenitz@gmx.net>
3308
3309         * metricsinfo.[Ch]: remove 'fullredraw' member
3310
3311 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3312
3313         * lyxtextclass.C (operator): remove caching.
3314
3315 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * text3.C: adjust
3318
3319         * text2.C (cursorBottom): adjust
3320         (setCounter): use ParagraphList::find, adjust
3321
3322         * text.C (workWidth): use ParagraphList::find, adjust
3323
3324         * lyxcursor.C (LyXCursor): adjust
3325
3326         * buffer.C (inset_iterator): adjust
3327
3328         * ParagraphList.h: make iterator(value_type) private, make
3329         ParagraphList a friend of iterator.
3330
3331         * ParagraphList.C (find): new function
3332
3333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3334
3335 2003-05-27  André Pönitz  <poenitz@gmx.net>
3336
3337         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3338
3339 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3340
3341         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3342
3343 2003-05-26  John Levon  <levon@movementarian.org>
3344
3345         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3346
3347 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3348
3349         * remove same_id from function signatures, adjust.
3350
3351 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3354
3355         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3356
3357         * paragraph.C (Paragraph): get rid of same_ids parameter
3358
3359         * ParagraphList.C (insert): adjust
3360         (push_back): adjust
3361
3362 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3363
3364         * paragraph_funcs.C (breakParagraph): adjust
3365         (breakParagraphConservative): adjust
3366
3367         * buffer.C (readParagraph): adjust
3368
3369         * ParagraphList.C (insert): take a reference instead of a pointer
3370         (insert): adjust
3371
3372         * paragraph.[Ch] (id): new function
3373
3374         * bufferlist.C (newFile): adjust
3375
3376         * ParagraphList.C (ParagraphList): adjust
3377         (assign): adjust
3378         (push_back): take a reference instead of a pointer.
3379
3380         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3381
3382         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3383         instead.
3384
3385         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3386         set else use old code.
3387
3388         * ParagraphList.C: remove all NO_NEXT code and only compile this
3389         code of NO_STD_LIST is set.
3390
3391 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * BufferView_pimpl.C:
3394         * TextCache.C:
3395         * TextCache.h:
3396         * bufferlist.C:
3397         * errorlist.h:
3398         * format.C:
3399         * format.h:
3400         * graph.C:
3401         * lyxfunc.C:
3402         * lyxrc.C:
3403         * graphics/GraphicsConverter.C:
3404         * graphics/PreviewLoader.C: header adjustment
3405
3406 2003-05-23  Angus Leeming  <leeming@lyx.org>
3407
3408         * LaTeXFeatures.[Ch] (useBabel): new method.
3409         * bufferparams.C (writeLaTeX): use it.
3410
3411 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * ParagraphList.h (set): remove unused function.
3414
3415 2003-05-23  André Pönitz  <poenitz@gmx.net>
3416
3417         * BufferView.C:
3418         * BufferView_pimpl.C:
3419         * buffer.C:
3420         * buffer.h:
3421         * lyxfunc.C:
3422         * undo_funcs.C: setUndo reworked
3423
3424         * iterators.[Ch]: add access to topmost ParagraphList
3425
3426         * lyxtext.[Ch] (workWidth): add a const
3427
3428 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * texrow.[Ch] (increasePos): remove function
3431         * exporter.C (export): removed unused var and outdated comment
3432
3433 2003-05-23  Angus Leeming  <leeming@lyx.org>
3434
3435         * latexrunparams.h: rename fragile as moving_arg.
3436         * paragraph.C (simpleTeXOnePar): ditto.
3437         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3438
3439 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3442         (createUndo): ditto
3443         (textUndoOrRedo): comment out a currently unused var.
3444
3445         * paragraph.h (NO_NEXT): enable NO_NEXT
3446
3447         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3448
3449         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3450
3451         * exporter.C (Export): adjust for removeAutoInsets removal.
3452
3453         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3454
3455         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3456
3457         * BufferView.[Ch] (removeAutoInsets): delete function
3458
3459 2003-05-22  Angus Leeming  <leeming@lyx.org>
3460
3461         * latexrunparams.h: add a free_spacing variable.
3462
3463         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3464         to pass moving_arg, as the data is stored in runparams.fragile.
3465
3466         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3467         to Inset::latexOptional or to simpleTeXOnePar.
3468
3469         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3470         free_spacing arg to Inset::latexOptional.
3471
3472         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3473         free_spacing arg.
3474
3475 2003-05-22  Angus Leeming  <leeming@lyx.org>
3476
3477         * latexrunparams.h: add fragile and use_babel variables.
3478
3479         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3480         * buffer.C (makeLaTeXFile): store this returned value in
3481         runparams.use_babel, thus passing it to the inset::latex methods.
3482
3483         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3484         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3485
3486         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3487         longer has a fragile arg, as it is stored in runparams.fragile.
3488
3489         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3490         moving_arg parameter as the data is stored in runparams.fragile.
3491
3492         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3493         a fragile parameter as the data is stored in runparams.fragile.
3494
3495 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3498
3499 2003-05-22  Angus Leeming  <leeming@lyx.org>
3500
3501         * latexrunparams.h: add a 'bool nice' which defaults to false.
3502
3503         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3504         now encapsulated within runparams.
3505
3506         * bufferlist.C (updateIncludedTeXfiles):
3507         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3508
3509 2003-05-22  Angus Leeming  <leeming@lyx.org>
3510
3511         * latexrunparams.h: new file containing struct LatexRunParams.
3512         * Makefile.am: add new file.
3513
3514         * LaTeX.[Ch] (c-tor, run):
3515         * buffer.[Ch] (makeLaTeXFile):
3516         * bufferlist.[Ch] (updateIncludedTeXfiles):
3517         * converter.C (convert, scanLog):
3518         * converter.[Ch] (runLaTeX):
3519         * exporter.C (Export):
3520         * paragraph.[Ch] (simpleTeXOnePar):
3521         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3522         * paragraph_funcs.[Ch] (latexParagraphs):
3523         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3524         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3525         pass around a LatexRunParams parameter.
3526
3527 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * paragraph.[Ch]: remove unused constructor
3530
3531         * ParagraphList.C (erase): new function, taking two iterators
3532
3533 2003-05-22  André Pönitz  <poenitz@gmx.net>
3534
3535         * undo_funcs.C: remove duplicated code
3536
3537         * iterator.[Ch]: operator=
3538
3539 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * tabular.C (SetMultiColumn): ws changes
3542
3543         * rowpainter.C (paintFirst): get rid of a ->previous
3544
3545         * lyx_cb.C (getPossibleLabel): parlist simplification
3546
3547         * BufferView.C (ChangeInsets): simplify slightly.
3548
3549 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3550
3551         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3552         * lfuns.h: new LFUN_SPACE
3553         * lyxfunc.C: protected space has a new lfun
3554         * paragraph_funcs.C: read new space insets
3555         * text3.C:
3556         * factory.C: handle new space insets
3557
3558 2003-05-22  André Pönitz  <poenitz@gmx.net>
3559
3560         * BufferView.C:
3561         * BufferView_pimpl.C:
3562         * buffer.[Ch]:
3563         * lyxfunc.C:
3564         * undo_funcs.C: return a ParIterator from getParFromID.
3565
3566         * iterators.[Ch]: add two const's
3567
3568 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * toc.C (getTocList): adjust
3571
3572         * iterators.[Ch]: rework for parlist
3573
3574         * buffer.C (par_iterator_begin): adjust
3575         (par_iterator_end): adjust
3576
3577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3578
3579         * BufferView.C (removeAutoInsets): adjust
3580         (ChangeInsets): adjust
3581
3582 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * text.C (top_y): fix bug 1110
3585
3586 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3587
3588         * errorlist.[Ch]: added
3589         * buffer.C:
3590         * BufferView.[Ch]:
3591         * BufferView_pimpl.C:
3592         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3593         instead
3594
3595 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * Makefile.am: ensure that lyx is relinked upon changes to the
3598         various "convenience" libs.
3599
3600 2003-05-20  Angus Leeming  <leeming@lyx.org>
3601
3602         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3603         files are compiled in alphabetical order again.
3604
3605         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3606
3607 2003-05-19  Angus Leeming  <leeming@lyx.org>
3608
3609         * gettext.[Ch]: remove "char const * _(char const *)".
3610
3611 2003-05-19  André Pönitz  <poenitz@gmx.net>
3612
3613         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3614
3615         * Makefile.am:
3616         * BufferView.C:
3617         * DepTable.h:
3618         * LaTeXFeatures.C:
3619         * buffer.C:
3620         * lyxfont.C:
3621         * lyxlex.h:
3622         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3623
3624 2003-05-19  André Pönitz  <poenitz@gmx.net>
3625
3626         * buffer.C:
3627         * lyxlayout.[Ch]:
3628         * lyxtextclass.[Ch]:
3629         * paragraph.C:
3630         * paragraph_funcs.[Ch]:
3631         * text2.C:
3632         * text3.C: more insetenv work
3633
3634 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3635
3636         * ParagraphParameters.C (params2string): small bug fixed
3637
3638 2003-05-16  André Pönitz  <poenitz@gmx.net>
3639
3640         * debug.C:
3641         * bufferview_funcs.C: patch from Kornel Benko to prevent
3642           crash when _(...) is called twice in a statement
3643
3644 2003-05-16  André Pönitz  <poenitz@gmx.net>
3645
3646         * BufferView.C:
3647         * lyxfunc.C:
3648         * text.C:
3649         * text2.C:
3650         * text3.C:
3651         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3652
3653 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * lyx_main.C (init): remove spurious static_cast
3656
3657 2003-05-14  André Pönitz  <poenitz@gmx.net>
3658
3659         * BufferView.C: fix format string
3660
3661 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3662
3663         * BufferView.[Ch] (insertErrors): removed
3664         * BufferView.[Ch] (showErrorList): added
3665         * buffer.C (runChkTeX):
3666         * converter.C (scanLog): call showErrorList instead of inserterrors
3667
3668 2003-05-13  André Pönitz  <poenitz@gmx.net>
3669
3670         * BufferView_pimpl.C:
3671         * buffer.C:
3672         * bufferview_func.C:
3673         * MenuBackend.C:
3674         * lyxfunc.C:
3675         * lyxrc.C:
3676         * tex-accent.C:
3677         * text3.C:
3678         * toc.C:
3679         * tabular_funcs.h: tostr() from its own header
3680
3681         * ParagraphParameters.C:
3682         * ToolbarBackend.C:
3683         * bufferparams.C:
3684         * format.C:
3685         * lyxlex_pimpl.C:
3686         * text3.C: STRCONV()
3687
3688 2003-05-12  André Pönitz  <poenitz@gmx.net>
3689
3690         * BufferView.C:
3691         * BufferView_pimpl.C:
3692         * CutAndPaste.C:
3693         * LaTeX.C:
3694         * LaTeXFeatures.C:
3695         * ParagraphParameters.C:
3696         * buffer.C:
3697         * bufferlist.C:
3698         * bufferparams.C:
3699         * bufferview_funcs.C:
3700         * converter.C:
3701         * counters.C:
3702         * debug.C:
3703         * exporter.C:
3704         * format.C:
3705         * importer.C:
3706         * lyx_cb.C:
3707         * lyx_main.C:
3708         * lyxfont.C:
3709         * lyxfunc.C:
3710         * lyxvc.C:
3711         * paragraph.C:
3712         * paragraph_funcs.C:
3713         * tabular.C:
3714         * tabular_funcs.C:
3715         * text2.C:
3716         * text3.C:  boost::format -> bformat  all over the place
3717
3718
3719 2003-05-09  André Pönitz  <poenitz@gmx.net>
3720
3721         * LColor.[Ch]: Pimpl the #include <map> away
3722
3723 2003-05-09  John Levon  <levon@movementarian.org>
3724
3725         * bufferlist.C: never remove emergency saves
3726
3727 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * Makefile.am: better lib building
3730
3731 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3734         instead.
3735         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3736         (simpleTeXSpecialChars): adjust
3737         (simpleTeXSpecialChars): adjust
3738         * paragraph.C (simpleTeXOnePar): adjust
3739         * buffer.C (makeLaTeXFile): adjust
3740
3741         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3742
3743         * text2.C (changeDepth): parlist cleanup
3744         (getColumnNearX): ditto
3745
3746         * rowpainter.C (getLabelFont): parlist cleanup
3747
3748         * bufferlist.C (newFile): parlist cleanup
3749
3750         * CutAndPaste.C (eraseSelection): parlist cleanup
3751
3752         * BufferView_pimpl.C (trackChanges): parlist cleanup
3753         (dispatch): ditto
3754
3755         * BufferView.C (lockInset): parlist cleanup.
3756         (ChangeInsets): ditto
3757
3758 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * CutAndPaste.h: Update file header.
3761
3762         * CutAndPaste.C: Update file header.
3763         Store the parts cut out of the Document in a limited_stack.
3764         (copySelection): adjust
3765         (pasteSelection): new function, takes the index in the limited stack.
3766         (nrOfParagraphs): adjust
3767         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3768         simplify error inset insertion.
3769         (checkPastePossible): adjust
3770
3771 2003-05-06  John Levon  <levon@movementarian.org>
3772
3773         * text2.C: don't cast wrap inset to float
3774
3775 2003-05-05  André Pönitz  <poenitz@gmx.net>
3776
3777         * iterator.C:
3778         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3779
3780         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3781           few naked Paragraph *.
3782
3783 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3784
3785         * bufferparams.C: Output warning if a document with missing
3786         TeX document class is loaded
3787         * exporter.C: Disable TeX exports if the document class is missing
3788         * lyxtextclass.C:
3789         * lyxtextclass.h:
3790         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3791         isTeXClassAvailable()
3792
3793 2003-05-03  John Levon  <levon@movementarian.org>
3794
3795         * BufferView.h:
3796         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3797         explicit cursor show/hide
3798
3799         * BufferView_pimpl.h:
3800         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3801         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3802
3803         * lyxfunc.C: hide cursor before dispatching.
3804
3805         * lyx_cb.C:
3806         * lyxfind.C:
3807         * text.C:
3808         * text3.C: remove explicit cursor hides
3809
3810 2003-05-02  André Pönitz  <poenitz@gmx.net>
3811
3812         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3813
3814         * undo_funcs.C:
3815         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3816           linked lists
3817
3818         * text2.C: tiny whitespace
3819
3820 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * undo_funcs.C: almost only ws changes.
3823
3824         * ParagraphList.C (splice): just return if pl is empty.
3825
3826 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * ParagraphList.C (splice): new function.
3829
3830         * CutAndPaste.C (pasteSelection): use it
3831
3832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * CutAndPaste.C (pasteSelection): remove the last next and
3835         previous from this file.
3836
3837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * CutAndPaste.C (pasteSelection): more clean up, user proper
3840         ParagraphList functions for pasteing.
3841
3842         * ParagraphList.C (insert): new function, three arg insert
3843
3844 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * ParagraphList.C (insert): new function, three arg insert
3847
3848         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3849         not on paragraphs.
3850
3851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3854
3855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3858
3859 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3862         (copySelection): clean up a bit.
3863         (pasteSelection): use make_pair
3864
3865         * ParagraphList.C (ParagraphList): implement copy constructor
3866         (operator=): implement, base on copy constructor.
3867         (assign): new func
3868
3869         * paragraph.C (erase): return a bool
3870
3871         * paragraph_pimpl.C (erasePos): remove function, move contents...
3872         (erase): ... here. Return a bool.
3873         (erase): call erase instead of erasePos.
3874
3875 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3876
3877         * ParagraphList.h: define PitPosPair
3878         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3879         ParagraphList, fix a bug on pasting multiple pars
3880         * text2.C: change interface to C&P
3881
3882 2003-04-30  André Pönitz  <poenitz@gmx.net>
3883
3884         * undo_func.C: revert part of yesterday's patch 2
3885
3886 2003-04-30  John Levon  <levon@movementarian.org>
3887
3888         * LColor.C: s/tabular/table/
3889
3890 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * text3.C (dispatch): do not convert iterator -> pointer
3893         * undo_funcs.C (setCursorParUndo): ditto
3894         * text_funcs.C (transposeChars): ditto
3895
3896         * text2.C (setLayout): ws changes only
3897
3898         * text.C (breakParagraph): do not convert iterator -> pointer
3899         (insertChar): ditto
3900         (acceptChange): ditto
3901         (rejectChange): ditto
3902         (changeCase): ditto
3903         (Delete): ditto
3904         (backspace): ditto
3905
3906         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3907         pointer
3908
3909 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * text3.C (gotoInset): YABG (yet another bad getChar)
3912
3913 2003-04-29  André Pönitz  <poenitz@gmx.net>
3914
3915         * paragraph.h: make operator= private unimplemented as long as
3916           it is unusable
3917
3918         * ParagraphList.C: whitespace
3919
3920         * paragraph.[Ch]:
3921         * paragraph_pimpl.[Ch]:
3922         * paragraph_funcs.C:
3923         * CutAndPaste.C:
3924         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3925
3926         * text2.C:
3927           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3928
3929 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3932         * paragraph.[Ch] (erase):
3933         * paragraph_pimpl.[Ch] (erase): change return type and value
3934         * text2.C (cutSelection): some rework
3935
3936 2003-04-28  John Levon  <levon@movementarian.org>
3937
3938         * bufferlist.C: changes for unsaved changes dialog
3939
3940 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * bufferlist.C (newFile): set language (messages_) for new
3943         documents also.
3944
3945         * buffer.C (readFile): ws changes only.
3946
3947 2003-04-28  André Pönitz  <poenitz@gmx.net>
3948
3949         * undo_funcs.C:
3950         * lyxfunc.C:
3951         * buffer.[Ch]:
3952         * BufferView_pimpl.C:
3953         * BufferView.C: getParFromID related ParagraphList::iterator changes
3954
3955 2003-04-28  André Pönitz  <poenitz@gmx.net>
3956
3957         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3958           Changes
3959
3960 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * messages.C: remove one more localedir class variable.
3963
3964 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * messages.C (getLocaleDir): singleton generation function
3967         (Pimpl): use it.
3968         (Messages): add a default constructor.
3969
3970         * main.C (main): do not setup localedir here, do not call
3971         gettext_init.
3972
3973         * gettext.C (_): use it.
3974         (gettext_init): delete funciton
3975
3976 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * gettext.C (getLyXMessages): new singleton generating function.
3979
3980         * buffer.C (updateDocLang): adjust
3981
3982         * Makefile.am (messages.o): add target
3983         (main.o): remove target
3984
3985 2003-04-27  John Levon  <levon@movementarian.org>
3986
3987         * bufferlist.C:
3988         * lyx_cb.C:
3989         * lyxfunc.C:
3990         * lyxvc.C: specify cancel button in Alert::prompt
3991
3992 2003-04-26  John Levon  <levon@movementarian.org>
3993
3994         * text3.C:
3995         * lyxfunc.C:
3996         * lfuns.h:
3997         * LyXAction.C: add LFUN_INSET_SETTINGS
3998
3999         * lyxfunc.C: don't enable tabular-feature when there's
4000         just any locking inset
4001
4002 2003-04-26  John Levon  <levon@movementarian.org>
4003
4004         * bufferlist.C: re-add Cancel to buffer close question
4005
4006         * lyxfunc.C: fix import UI a bit
4007
4008 2003-04-25  John Levon  <levon@movementarian.org>
4009
4010         * gettext.C: remove the broken asserts for now
4011
4012 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * messages.C: make case where setlocale cannot comply work better.
4015
4016         * buffer.C (updateDocLang): new function
4017         (changeLanguage): use it
4018         (readFile): use it
4019
4020         * text2.C (setCounter): use B_ a bit.
4021
4022         * lyxlayout.C (Read): be sure to trim the label strings.
4023
4024         * messages.C (Messages): fix typo in comment
4025
4026         * buffer.C (readFile): set message_ after file is loaded.
4027         (makeDocBookFile): remove double return
4028         (changeLanguage): reset message_ upon language change.
4029         (B_): new func, use this to get translated buffer strings.
4030
4031         * main.C: add myself and Jean Marc as authors.
4032
4033 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * messages.[hC]: pimplify Messages, and three different pimpls to be
4036         used in different circumstances.
4037
4038         * gettext.[Ch]: change for use with new message code.
4039
4040 2003-04-24 André Pönitz <poenitz@gmx.net>
4041
4042         * factory.C: support for eqref
4043
4044 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * messages.[Ch]: add missing char
4047
4048         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4049
4050         * messages.[Ch]: New files
4051
4052 2003-04-18  John Levon  <levon@movementarian.org>
4053
4054         * BufferView.h:
4055         * BufferView.C:
4056         * BufferView_pimpl.C:
4057         * lfuns.h:
4058         * LyXAction.C:
4059         * lyxtext.h:
4060         * text2.C: remove layout-copy/paste (bug 778)
4061
4062 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4063
4064         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4065
4066 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4069         if they succeed. Act accordingly.
4070
4071 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * text2.C (setCharFont): adjust
4074         (setCounter): adjust
4075         (insertStringAsLines): adjust
4076
4077         * text.C (leftMargin): adjust
4078         (setHeightOfRow): adjust
4079
4080         * rowpainter.C (paintFirst): adjust
4081         (paintLast): adjust
4082
4083         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4084         (outerHook): ditto
4085         (isFirstInSequence): ditto
4086         (getEndLabel): ditto
4087         (outerFont): adjust
4088
4089         * paragraph.C (getParLanguage): comment out some hard stuff.
4090
4091         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4092         (sgmlError): ditto
4093         (simpleDocBookOnePar): ditto
4094         (makeDocBookFile): use ParagraphList::iterator
4095
4096         * CutAndPaste.C (pasteSelection): adjust
4097
4098 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * text2.C (getFont): adjust
4101         (getLayoutFont): adjust
4102         (getLabelFont): adjust
4103
4104         * paragraph_funcs.C (TeXOnePar): adjust
4105
4106         * buffer.C (simpleLinuxDocOnePar): adjust
4107         (simpleDocBookOnePar): adjust
4108
4109         * CutAndPaste.C (pasteSelection): adjust
4110
4111         * BufferView.C (getEncoding): adjust
4112
4113         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4114
4115 2003-04-16  John Levon  <levon@movementarian.org>
4116
4117         * lyxfind.C: use parlist stuff for search/changes
4118
4119 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4122
4123         * text2.C (deleteEmptyParagraphMechanism): adjust
4124
4125         * text2.[Ch] (ownerParagraph): delete func (both of them
4126
4127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4130
4131 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * ParagraphList.C: prepare for NO_NEXT
4134
4135 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * text2.C (getFont): adjust
4138         (getLayoutFont): adjust
4139         (getLabelFont): adjust
4140
4141         * paragraph.C (getFont): adjust
4142         (getLabelFont): adjust
4143         (getLayoutFont): adjust
4144
4145         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4146
4147 2003-04-15  John Levon  <levon@movementarian.org>
4148
4149         From Angus Leeming
4150
4151         * lyx_main.C: handle Include in .ui files
4152
4153 2003-04-15  John Levon  <levon@movementarian.org>
4154
4155         * MenuBackend.C: make the doc files length shorter
4156
4157         * ToolbarBackend.h:
4158         * ToolbarBackend.C: handle toolbar placement flags,
4159         Minibuffer
4160
4161 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4164         adjust
4165
4166         * paragraph_funcs.C (TeXOnePar): adjust
4167
4168         * paragraph.C (getLabelFont): add outerfont arg, adjust
4169         (getLayoutFont): ditto
4170         (simpleTeXOnePar): adjust
4171
4172         * paragraph_pimpl.C (realizeFont): delete func
4173
4174 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4177         row argument, constify cur argument.
4178
4179 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * text2.C (getFont): adjust
4182         (getLayoutFont): adjust
4183         (getLabelFont): adjust
4184
4185         * paragraph_funcs.C (TeXOnePar): adjust
4186         (outerFont): new func...
4187         (realizeFont): ...moved out from here, changed this to facilitate
4188         transition
4189
4190         * paragraph.C (getFont): take outerfont as arg, adjust
4191         (simpleTeXOnePar): add outerfont arg, adjust
4192
4193         * buffer.C (simpleLinuxDocOnePar): adjust
4194         (simpleDocBookOnePar): adjust
4195
4196         * CutAndPaste.C (pasteSelection): adjust
4197
4198         * BufferView.C (getEncoding): adjust
4199
4200 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * text2.C (setCharFont): adjust
4203         (setCounter): adjust
4204
4205         * text.C (leftMargin): adjust
4206         (setHeightOfRow): adjust
4207
4208         * rowpainter.C (paintFirst): adjust
4209         (paintLast): adjust
4210
4211         * paragraph_pimpl.C (realizeFont): adjust
4212
4213         * paragraph.C (isFirstInSequence): move from here...
4214         * paragraph_funcs.C (isFirstInSequence): ...to here
4215
4216         * paragraph.C (outerHook): move from here...
4217         * paragraph_funcs.C (outerHook): ...to here
4218
4219         * paragraph.C (depthHook): move from here...
4220         * paragraph_funcs.C (depthHook): ...to here
4221
4222         * paragraph.C (getEndLabel): move from here...
4223         * paragraph_funcs.C (getEndLabel): ...to here
4224
4225         * text2.C (realizeFont): move from here...
4226         * paragraph_funcs.C (realizeFont): ...to here
4227
4228 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4231
4232 2003-04-14  Angus Leeming  <leeming@lyx.org>
4233
4234         * LColor.[Ch]: scrap LColor mathcursor.
4235
4236 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * lyxlex.[Ch] (text): delete function
4239         * trans.C (Load): adjust
4240         * paragraph_funcs.C (readParToken): adjust
4241
4242 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4245         vector<char> instead of a char[].
4246
4247         * lyxlex_pimpl.C (getString): adjust
4248         (next): adjust
4249         (lex): use getString
4250         (eatLine): adjust
4251         (nextToken): adjust
4252
4253         * lyxlex.C (text): use pimpl_->getString()
4254         (getBool): ditto
4255         (findToken): ditto
4256
4257 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4260         (makeFontEntriesLayoutSpecific): temp var for par.size()
4261         (setLayout): temp var for ownerParagraphs().end()
4262         (fullRebreak): temp var for rows().end()
4263         (selectionAsString): temp var for boost::next(startpit), realize
4264         that the while really is a regular for loop.
4265         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4266         setCursor in one place.
4267         (setParagraph): temp vr for ownerParagraphs().end()
4268         (updateCounters): make the while loop a for loop
4269         (cutSelection): temp var for ownerParagraphs().end()
4270         (updateInset): make the do {} while() a regular for loop
4271         (getCursorX): use temp vars
4272         (setCurrentFont): use temp vars
4273         (getColumnNearX): use temp vars
4274
4275 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * text.C (transformChar): use temp var for getChar
4278         (computeBidiTables): use temp var for row->par()
4279         (fill): move temp vars for row->par() and pit->layout() earlier in
4280         the function.
4281         (labelFill): use temp var for row->par()
4282         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4283         asc and desc, realize that pit never changes and that firstpit is
4284         just a duplicate and not needed. Exchange rit->par() with pit in a
4285         lot of places.
4286         (breakAgain): use a temp var for boost::next(rit)
4287         (breakAgainOneRow): ditto
4288         (breakParagraph): use a temp var for rows().begin()
4289         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4290         (cursorRightOneWord): use temp var for cursor.par() and
4291         cursor.pos(), remove usage of tmpcursor.
4292         (cursorLeftOneWord): use temp var for cursor.par() and
4293         cursor.pos() only set cur at end of function.
4294
4295 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * text.C, text2.C: exchange all usage of Paragraph::next with
4298         boost::next(ParagraphList::iterator)
4299
4300         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4301
4302         * text2.C (cursorTop): simplify implementation
4303         (cursorBottom): ditto
4304         (setParagraph): use ParagraphList::iterator
4305         (setCurrentFont): adjust
4306         (getColumnNearX): adjust
4307         (cursorRight): adjust
4308         (cursorLeft): remove usage of Paragraph::previous
4309         (cursorUpParagraph): ditto
4310         (deleteEmptyParagraphMechanism): slight cleanup
4311
4312         * text.C (isBoundary): take a Paragraph const & instead of a
4313         pointer as arg.
4314         (addressBreakPoint): ditto
4315         (leftMargin): remove usage of Paragraph::previous.
4316         (setHeightOfRow): ditto
4317         (cursorLeftOneWord): ditto
4318         (selectNextWordToSpellcheck): ditto
4319         (Delete): ditto
4320         (backspace): ditto
4321         (breakParagraph): remove one usage of Paragraph::next
4322         (redoParagraph): ditto
4323         (acceptChange): ditto
4324         (insertChar): adjust
4325         (rowBreakPoint): adjust
4326
4327         * bufferview_funcs.C (toggleAndShow): adjust
4328
4329 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4332         methods to access it.
4333         * lyxtext.h:
4334         * text.C: Added updateRowPositions to compute all row positions.
4335         Make top_y and getRowNearY() to use the cached y position
4336
4337 2003-04-11  John Levon  <levon@movementarian.org>
4338
4339         * text.C (rowBreakPoint): reintroduce the labelEnd
4340         checks, code copied from the row fill stuff. Deep voodoo.
4341
4342         * text.C (fill): add a comment and debugging for the
4343         next poor soul.
4344
4345 2003-04-11  John Levon  <levon@movementarian.org>
4346
4347         * text.C: make sure fullrow insets get wrapped to the next line,
4348         even when they're in a manual label
4349
4350 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * text2.C (insertParagraph): make it take ParagraphList::iterator
4353         as arg.
4354         (setLayout): make it return ParagraphList::iterator
4355         (redoParagraphs): ditto
4356         (setCounter): ditto
4357         (checkParagraph): ditto
4358
4359         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4360
4361         * text2.C: adjust several funcs.
4362         (realizeFont): take a ParagraphList::iterator as arg.
4363         (getLayoutFont): ditto
4364         (getLabelFont): ditto
4365         (setCharFont): ditto
4366
4367         * text.C: adjust several funcs.
4368
4369 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * text.C (selectNextWordToSpellcheck): don't accidentally
4372         skip insets
4373
4374 2003-04-10  John Levon  <levon@movementarian.org>
4375
4376         * ToolbarBackend.C (getIcon): special handling for
4377         LFUN_MATH_DELIM
4378
4379 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4380
4381         * text2.C (cursorRight): a getChar assert fixed
4382
4383 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4384
4385         * text2.C (getFont): change to take a ParagraphList::iterator
4386         instead of Paragraph*
4387         Adjust several functions.
4388
4389         * text.C (transformChar): change to take a ParagraphList::iterator
4390         instead of Paragraph*
4391         (singleWidth): ditto
4392         Adjust several functions.
4393
4394         * rowpainter.C: adjust several functions
4395         * rowpainter.h:store a ParagraphList::iterator and not a
4396         Paragraph&.
4397
4398
4399 2003-04-09  John Levon  <levon@movementarian.org>
4400
4401         * lyxfunc.C:
4402         * lfuns.h:
4403         * LyXAction.h:
4404         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4405         and the "help" bits as well
4406
4407 2003-04-09  John Levon  <levon@movementarian.org>
4408
4409         * ToolbarBackend.h:
4410         * ToolbarBackend.C: allow multiple toolbars
4411
4412 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * undo_funcs.C (setCursorParUndo): adjust
4415
4416         * text_funcs.C (transposeChars): adjust
4417
4418         * text3.C (gotoNextInset): adjust
4419         (dispatch): adjust
4420
4421         * text2.C (setLayout): adjust
4422         (changeDepth): adjust
4423         (setFont): adjust
4424         (redoParagraphs): adjust
4425         (selectionAsString): adjust
4426         (setParagraph): adjust
4427         (insertInset): adjust
4428         (cutSelection): adjust
4429         (copySelection): adjust
4430         (pasteSelection): adjust
4431         (insertStringAsLines): adjust
4432         (updateInset): adjust
4433         (setCursor): change to take a ParagraphList::iterator parameter
4434         (setCursorIntern): change to take a ParagraphList::iterator parameter
4435         (setCurrentFont): adjust
4436         (cursorLeft): adjust
4437         (cursorRight): adjust
4438         (deleteEmptyParagraphMechanism): adjust
4439
4440         * text.C (breakParagraph): adjust
4441         (insertChar): adjust
4442         (acceptChange): adjust
4443         (rejectChange): adjust
4444         (selectNextWordToSpellcheck): adjust
4445         (changeCase): adjust
4446         (Delete): adjust
4447         (backspace): adjust
4448
4449         * lyxfind.C (SearchForward): adjust
4450         (SearchBackward): adjust
4451         (nextChange): adjust
4452
4453         * lyxcursor.C (par): adjust
4454
4455         * lyxcursor.h: store a ParagraphList::iterator instead of a
4456         Paragraph*
4457
4458         * lyx_cb.C (getPossibleLabel): adjust
4459
4460         * bufferview_funcs.C (toggleAndShow): adjust
4461
4462         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4463         (dispatch): adjust
4464
4465         * BufferView.C (removeAutoInsets): adjust
4466         (lockedInsetStoreUndo): adjust
4467
4468 2003-04-09  John Levon  <levon@movementarian.org>
4469
4470         * ToolbarBackend.C: try icon without argument
4471         if with argument fails
4472
4473 2003-04-08  John Levon  <levon@movementarian.org>
4474
4475         * ToolbarBackend.h:
4476         * ToolbarBackend.C: add getIcon(), handle tooltip,
4477         and change from "Icon" to "Item".
4478
4479 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * BufferView.C (lockInset): another bad getchar crunched
4482
4483 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4484
4485         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4486         again)
4487
4488 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4489
4490         * lyxfind.C (searchForward, searchBackwards): bug 782
4491
4492 2003-04-07  John Levon  <levon@movementarian.org>
4493
4494         * paragraph.C: remove dead comment
4495
4496         * text.C: remove troublesome depth-fiddling code
4497         in leftMargin() and rightMargin() (bug 1017)
4498
4499         * text.C: fix breaking of rows in nested lists
4500         (bug 1004)
4501
4502         * text2.C (updateCounters): fix up depth values
4503         (bug 1013)
4504
4505 2003-04-07  John Levon  <levon@movementarian.org>
4506
4507         * BufferView_pimpl.C: clear message when doc finishes resizing,
4508         and after a mouse event
4509
4510         * lyxfunc.C: clear message after exiting inset
4511
4512 2003-04-07  John Levon  <levon@movementarian.org>
4513
4514         * bufferview_funcs.C: show math status not outside
4515         status in the statusbar
4516
4517 2003-04-07  John Levon  <levon@movementarian.org>
4518
4519         * lyxfunc.C: note status changed after a depth change
4520
4521 2003-04-04  Angus Leeming  <leeming@lyx.org>
4522
4523         * LaTeX.h: move AuxInfo operator==, != out of line.
4524         Remove LaTeX virtual destructor; nothing derives from it.
4525         Move operator()() out of public area and rename it startscript().
4526         Change protected for private.
4527
4528 2003-04-04  Angus Leeming  <leeming@lyx.org>
4529
4530         * lyxfunc.C:
4531         * text2.C: remove unneeded #includes.
4532
4533 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * text2.C (dEPM): fix the heigth of the next row
4536
4537 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text.C: squashed an invalid getChar requester + some ws changes
4540
4541 2003-04-03  John Levon  <levon@movementarian.org>
4542
4543         * bufferview_funcs.h:
4544         * bufferview_funcs.C:
4545         * lyxfunc.C:
4546         * lyxtext.h:
4547         * text2.C: make getStatus work for the env depth lfuns
4548
4549 2003-04-03  John Levon  <levon@movementarian.org>
4550
4551         * bufferview_funcs.h:
4552         * bufferview_funcs.C:
4553         * lyxfunc.C:
4554         * lyxtext.h:
4555         * text2.C: parlistize decDepth(), by merging it with incDepth()
4556
4557 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * lyxrow.h: store a ParagraphList::iterator instead of a
4560         Paragraph* and adjust other class functions to suit.
4561
4562         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4563         above.
4564
4565 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4566
4567         * text2.C (setCursor): do not anchor to cursor row for the time being
4568
4569 2003-04-02  John Levon  <levon@movementarian.org>
4570
4571         * LyXAction.C:
4572         * lfuns.h:
4573         * lyx_main.C:
4574         * lyxtext.h:
4575         * text.C:
4576         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4577
4578 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * paragraph.h: make ParagraphList and ParagraphList::iterator
4581         friends of Paragraph.
4582
4583         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4584
4585         * ParagraphList.C: Use the private next_ and previous_ from
4586         Paragraph.
4587
4588 2003-04-01  John Levon  <levon@movementarian.org>
4589
4590         * ToolbarBackend.h:
4591         * ToolbarBackend.C:
4592         * Makefile.am: rename, remove defaults gunk
4593
4594         * MenuBackend.h:
4595         * MenuBackend.C: remove defaults gunk
4596
4597         * Languages.h:
4598         * Languages.C: remove defaults gunk
4599
4600         * lyx_main.h:
4601         * lyx_main.C: error out if files couldn't be found.
4602
4603 2003-04-02  John Levon  <levon@movementarian.org>
4604
4605         * text2.C: make incDepth() use parlist
4606
4607 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * undo_funcs.C (firstUndoParagraph): adjust
4610
4611         * text3.C (gotoInset): adjust
4612         (dispatch): adjust, and rewrite loop.
4613
4614         * text2.C (init): adjust, and rewrite loop.
4615         (redoParagraphs): adjust
4616         (updateInset): adjust, and rewrite loop.
4617         (deleteEmptyParagraphMechanism): adjust
4618
4619         * tabular.C (LyXTabular): adjust
4620         (SetMultiColumn): adjust
4621         (TeXRow): adjust
4622
4623         * lyxtext.[Ch] (ownerParagraph): delete function
4624         (ownerParagraphs): new function returns a ParagraphList.
4625
4626         * BufferView.C (removeAutoInsets): adjust
4627         (insertErrors): adjust
4628         (setCursorFromRow): adjust
4629
4630 2003-04-01  Angus Leeming  <leeming@lyx.org>
4631
4632         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4633         in the frontends.
4634
4635 2003-04-02  John Levon  <levon@movementarian.org>
4636
4637         * lyxtext.h:
4638         * text.C:
4639         * Makefile.am:
4640         * text_funcs.h:
4641         * text_funcs.C: make transposeChars a free function
4642
4643         * lyxrow_funcs.C: remove wrong comment
4644
4645 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * lyxtext.h: adjust
4648         * rowpainter.C: adjust
4649         * text.C: adjust
4650         * text2.C: adjust
4651         * text3.C: adjust
4652
4653         * lyxrow_funcs. [Ch]: new files
4654
4655         * lyxrow.[Ch]: remove next and previous pointers
4656         (next,previous): remove accessor functions
4657         (isParEnd): move to lyxrow_funcs
4658         (lastPos): move to lyxrow_funcs
4659         (nextRowIsAllInset): move to lyxrow_funcs
4660         (lastPrintablePos): move to lyxrow_funcs
4661         (numberOfSeparators): move to lyxrow_funcs
4662         (numberOfHfills): move to lyxrow_funcs
4663         (numberOfLabelHfills): move to lyxrow_funcs
4664         (hfillExpansion): move to lyxrow_funcs
4665
4666         * lyxfunc.C: adjust
4667
4668         * bufferview_funcs.C (toggleAndShow): adjust
4669
4670         * RowList.h: Remove class RowList from file leave just a
4671         std::list<Row>.
4672
4673         * RowList.C: delete file
4674
4675         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4676         and lyxrow_funcs.h
4677
4678 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * text3.C (cursorPrevious): adjust
4681         (cursorNext): adjust
4682         (dispatch): adjust
4683
4684         * text2.C (redoHeightOfParagraph): adjust
4685         (redoDrawingOfParagraph): adjust
4686         (setCursor): adjust
4687
4688         * text.C (breakParagraph): adjust
4689         (insertChar): adjust
4690         (backspace): adjust
4691
4692         * rowpainter.C (RowPainter): adjust
4693         (leftMargin): simplify and adjust
4694         (most rowpainter functions): adjust.
4695
4696         * rowpainter.h: store the row as RowList::iterator not as Row*
4697
4698         * lyxcursor.C (row): taka RowList::iterator as arg
4699         (irow): ditto
4700
4701         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4702         of Row*.
4703
4704 2003-04-01  Angus Leeming  <leeming@lyx.org>
4705
4706         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4707         stuff like bool Bool.
4708
4709 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4712         rewrite a loop
4713
4714 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4717         RowList::iterator.
4718
4719         * lyxtext.h (rows): drop one version and leve a const variant that
4720         returns a RowList::iterator.
4721
4722 2003-03-31  Angus Leeming  <leeming@lyx.org>
4723
4724         * text.C (fill): ensure that the signature is the same as that in the
4725         header file.
4726
4727 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * text2.C (redoParagraphs): adjust
4730         (updateCounters): adjust
4731         (checkParagraph): adjust
4732         (getColumnNearX): adjust and reformat a bit.
4733
4734         * text.C (top_y): adjust
4735         (workWidth): adjust
4736         (leftMargin): adjust
4737         (prepareToPrint): adjust
4738         (getRow): adjust
4739         (getRowNearY): adjust
4740
4741         * lyxtext.h: make rowlist_ mutable.
4742
4743         * RowList.h: add const_iterator
4744         * RowList.C: adjust for RowList::const_iterator.
4745
4746         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4747         adjust.
4748
4749 2003-03-31  John Levon  <levon@movementarian.org>
4750
4751         * lyxrc.h:
4752         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4753
4754         * lyx_main.C: set default fonts from using lyx_gui funcs
4755
4756         * exporter.C: pdf_mode moved from lyxrc
4757
4758         * lyx_cb.C:
4759         * lyxfunc.C: changes from above
4760
4761 2003-03-31  John Levon  <levon@movementarian.org>
4762
4763         * lyx_main.C: fix to the last fix
4764
4765 2003-03-31  John Levon  <levon@movementarian.org>
4766
4767         * bufferlist.C: "Load original" -> "Load Original"
4768
4769         * converter.C:
4770         * exporter.C:
4771         * importer.C:
4772         * lyx_main.C:
4773         * format.C: more Alert cleanups
4774
4775 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * text2.C (removeParagraph): make it take a RowList::iterator as
4778         arg, adjust.
4779         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4780         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4781
4782         * text.C (anchor_row): make it take a RowList::iterator as arg,
4783         adjust.
4784         (computeBidiTables): make it take a const reference to Row instead
4785         of Row pointer, adjust.
4786         (leftMargin): make it take a RowList::iterator as arg, adjust.
4787         (rowBreakPoint): adjust
4788         (breakAgainOneRow): make it take a RowList::iterator as arg,
4789         adjust.
4790         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4791
4792         * bufferview_funcs.C (toggleAndShow): adjust
4793
4794 2003-03-30  John Levon  <levon@movementarian.org>
4795
4796         * Makefile.am:
4797         * BoostFormat.h:
4798         * boost-inst.C: moved to support
4799
4800         * several files: changes as a result
4801
4802 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * text2.C (LyXText): adjust.
4805         (init): adjust
4806         (removeRow): make it take a RowList::iterator as arg, adjust.
4807         (fullRebreak): adjust
4808         (deleteEmptyParagraphMechanism): adjust
4809         (clearPaint): adjust
4810         (postPaint): adjust
4811
4812         * text.C (top_y): adjust
4813         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4814         (breakAgain): make it take a RowList::iterator as arg, adjust.
4815         (breakParagraph): adjust
4816         (insertChar): adjust
4817         (backspace): adjust
4818
4819         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4820         need_break_row, and refresh_row.
4821
4822         * text3.C (dispatch): adjust
4823
4824         * text2.C (checkParagraph): adjust
4825         (setCursor): adjust
4826         (setCursorFromCoordinates): adjust
4827
4828         * text.C (top_y): adjust
4829         (workWidth): adjust
4830         (getRow): make it return a RowList::iterator, adjust
4831         (getRowNearY): make it return a RowList::iterator, adjust
4832
4833         * text2.C (init): adjust
4834         (insertRow): remove function
4835         (insertParagraph): adjust
4836         (redoParagraphs): adjust
4837         (fullRebreak): adjust
4838         (updateCounters): adjust
4839
4840         * text.C (top_y): rewrite to use RowList iterators.
4841         (top_y): adjust
4842         (setHeightOfRow): rewrite to sue RowList iterators.
4843         (appendParagraph): adjust
4844         (breakAgain): adjust
4845         (breakAgainOneRow): adjust
4846         (breakParagraph): adjust
4847         (getRow): adjust
4848         (getRowNearY): adjust, and remove commented code.
4849
4850         * lyxtext.h (firstRow): delete function
4851         (lastRow): delete function
4852         (rows): new function (const and non-const versions.)
4853         (insertRow): delete function
4854
4855         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4856
4857 2003-03-29  John Levon  <levon@movementarian.org>
4858
4859         * BufferView_pimpl.C: always update scrollbar top
4860         because pasting text when we're anchored could mean we
4861         miss an update altogether
4862
4863 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * text2.C (init): use rowlist_.end() and not 0.
4866         (insertRow): change to take a RowList::iterator as arg, adjust
4867         for this.
4868         (insertParagraph): change to take a RowList::iterator as arg,
4869         adjust for this.
4870         (redoParagraphs): remove some debug msgs.
4871
4872         * text.C (appendParagraph): change to take a RowList::iterator
4873         arg, adjust for this.
4874         (breakAgain): add an assert
4875         (breakAgainOneRow): ditto
4876
4877 2003-03-29  John Levon  <levon@movementarian.org>
4878
4879         * text2.C: do not clear selection after inc/decDepth
4880         (bug 550)
4881
4882 2003-03-29  John Levon  <levon@movementarian.org>
4883
4884         * BufferView.C:
4885         * buffer.C: fix broken strerrors according to Lars
4886
4887 2003-03-29  John Levon  <levon@movementarian.org>
4888
4889         * converters.C: more Alert cleanups
4890
4891 2003-03-29  John Levon  <levon@movementarian.org>
4892
4893         * bufferview_funcs.C: remove pointless Alert
4894
4895         * buffer.C: fix confusing error message when
4896         a template is chmoded 000
4897
4898 2003-03-29  John Levon  <levon@movementarian.org>
4899
4900         * BufferView.C:
4901         * BufferView.h:
4902         * BufferView_pimpl.C: Alert fixes
4903
4904         * Makefile.am:
4905         * tabular.C:
4906         * tabular-old.C: remove unused table compat reading
4907
4908 2003-03-29  John Levon  <levon@movementarian.org>
4909
4910         * BufferView.C:
4911         * buffer.C:
4912         * lyx_cb.h:
4913         * lyx_cb.C: more Alert cleanups
4914
4915         * lyxfunc.C: don't allow chktex if not latex document
4916
4917 2003-03-29  John Levon  <levon@movementarian.org>
4918
4919         * lyx_cb.C:
4920         * BufferView.C:
4921         * buffer.C: warnings pushed down from support/,
4922         kill err_alert
4923
4924 2003-03-29  John Levon  <levon@movementarian.org>
4925
4926         * lyxfunc.C: safety check for C-r (revert)
4927
4928 2003-03-29  John Levon  <levon@movementarian.org>
4929
4930         * bufferlist.h:
4931         * bufferlist.C: several UI fixes using Alert::prompt.
4932         Fix the pointless looping quit code. Fix stupid revert
4933         behaviour (bug 938)
4934
4935         * lyxvc.h:
4936         * lyxvc.C:
4937         * lyx_cb.C: use Alert::prompt
4938
4939         * lyx_main.C: remove a silly question
4940
4941         * lyxfunc.C: remove a couple of silly questions,
4942         use Alert::prompt
4943
4944 2003-03-28  John Levon  <levon@movementarian.org>
4945
4946         * text2.C: fix bug 974 (End on empty par)
4947
4948 2003-03-28  John Levon  <levon@movementarian.org>
4949
4950         * BufferView_pimpl.C:
4951         * LyXAction.C:
4952         * lfuns.h: remove do-nothing math greek lfuns
4953
4954 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * lyxgluelength.h (isValidGlueLength): add default arg on
4957         parameter 2. Remove default arg from friend in class.
4958
4959         * lyxlength.h (isValidLength): add default arg on parameter 2.
4960         Remove default arg from friend in class.
4961
4962         * text2.C (LyXText): adjust, initialize refresh_row.
4963         (init): adjust
4964         (removeRow): adjust
4965         (insertRow): adjust
4966         (insertParagraph): adjst
4967         (redoParagraphs): adjust
4968         (fullRebreak): adjust
4969         (updateCounters): adjust
4970         (deleteEmptyParagraphMechanism): first attempt at fixing a
4971         crashing bug.
4972
4973         * text.C (top_y): adjust
4974         (setHeightOfRow): adjust
4975         (getRow): adjust
4976         (getRowNearY): adjust
4977
4978         * lyxtext.h: include RowList.h
4979         (~LyXText): not needed anymore, deleted.
4980         (firstRow): modify for RowList
4981         (lastRow): new function
4982         Delete firstrow and lastrow class variables, add a Rowlist
4983         rowlist_ class variable.
4984
4985         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4986         paragraph is empty.
4987
4988         * RowList.C (insert): fix case where it == begin().
4989
4990 2003-03-26  Angus Leeming  <leeming@lyx.org>
4991
4992         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4993         the thesaurus dialog.
4994
4995 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4998
4999         * RowList.[Ch]: new files
5000
5001         * ParagraphList.C (erase): handle the case where it == begin
5002         correctly.
5003
5004 2003-03-25  John Levon  <levon@movementarian.org>
5005
5006         * Makefile.am:
5007         * aspell_local.h:
5008         * aspell.C: add new aspell support
5009
5010         * lyxrc.h:
5011         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5012         have it accessible.
5013
5014 2003-03-25  Angus Leeming  <leeming@lyx.org>
5015
5016         * lfuns.h:
5017         * LyXAction.C (init): new LFUN_INSET_INSERT.
5018
5019         * BufferView_pimpl.C (dispatch): split out part of the
5020         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5021
5022         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5023         LFUN_INSET_APPLY.
5024
5025 2003-03-25  Angus Leeming  <leeming@lyx.org>
5026
5027         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5028
5029 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * text2.C:
5032         * text3.C: remove useless row->height(0)
5033
5034 2003-03-25  John Levon  <levon@movementarian.org>
5035
5036         * lyxtext.h:
5037         * text2.C:
5038         * text3.C: rename the refreshing stuff to better names
5039
5040 2003-03-24  John Levon  <levon@movementarian.org>
5041
5042         * BufferView_pimpl.h:
5043         * BufferView_pimpl.C: update layout choice on a mouse
5044         press/release
5045
5046 2003-03-23  John Levon  <levon@movementarian.org>
5047
5048         * Makefile.am: fix commandtags.h reference
5049
5050 2003-03-22  John Levon  <levon@movementarian.org>
5051
5052         * BufferView_pimpl.C:
5053         * lyxtext.h:
5054         * rowpainter.C:
5055         * rowpainter.h:
5056         * text.C:
5057         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5058
5059 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * lyxtext.h:
5062         * text.C: take the rtl methods out of line
5063
5064 2003-03-21 André Pönitz <poenitz@gmx.net>
5065
5066         * metricsinfo.[Ch]: new files containing structures to be passed around
5067         during the two-phase-drawing...
5068
5069 2003-03-21 André Pönitz <poenitz@gmx.net>
5070
5071         * lyxtextclass.C: read 'environment' tag.
5072
5073 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * text2.C (removeRow): fix bug 964
5076
5077 2003-03-20  John Levon  <levon@movementarian.org>
5078
5079         * rowpainter.C:
5080         * text.C:
5081         * text2.C: paint cleanups. Inset::update() dropped font
5082         parameter
5083
5084 2003-03-19  John Levon  <levon@movementarian.org>
5085
5086         * lyxfunc.C: only fitcursor/markDirty if available()
5087
5088 2003-03-19  John Levon  <levon@movementarian.org>
5089
5090         * commandtags.h: rename to ...
5091
5092         * lfuns.h: ... this, and renumber / cleanup
5093
5094 2003-03-19  John Levon  <levon@movementarian.org>
5095
5096         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5097         fit the cursor after an lfun
5098
5099         * BufferView.h:
5100         * BufferView.C:
5101         * BufferView_pimpl.h:
5102         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5103
5104         * LyXAction.C: layout-character should have ReadOnly
5105
5106         * ParagraphParameters.C:
5107         * buffer.C:
5108         * bufferview_funcs.C:
5109         * lyx_cb.C:
5110         * lyxfind.C:
5111         * lyxtext.h:
5112         * text.C:
5113         * text2.C:
5114         * text3.C:
5115         * undo_funcs.C: changes from above
5116
5117 2003-03-18  John Levon  <levon@movementarian.org>
5118
5119         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5120         remove it from update()
5121
5122         * lyxfunc.C: update layout choice after an lfun
5123
5124         * text3.C: remove extra updateLayoutChoice()s
5125
5126 2003-03-18  John Levon  <levon@movementarian.org>
5127
5128         * text.C: top_y change means full repaint, fix
5129         a drawing bug with cursor movement
5130
5131 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * lyxtext.h:
5134         * text.C:
5135         * text2.C: anchor row on setCursor
5136
5137 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * lyxtext.h: remove almost all mutable keywords
5140         * text.C:
5141         * text2.C:
5142         * text3.C: remove const keywords accordingly
5143
5144 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5145
5146         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5147         anon namespace
5148         (TeXEnvironment): ditto
5149         (TeXOnePar): ditto
5150
5151 2003-03-17  John Levon  <levon@movementarian.org>
5152
5153         * text.C (rowBreakPoint): remove attempt to fix displayed
5154         math insets inside a manual label
5155
5156 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * lyxtext.h: remove BufferView* as first arg from almost all class
5159         functions.
5160         * other files: adjust.
5161
5162 2003-03-17  John Levon  <levon@movementarian.org>
5163
5164         * lyxtext.h:
5165         * undo_funcs.C:
5166         * text2.C: more paint cleanups
5167
5168         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5169
5170         * rowpainter.h:
5171         * rowpainter.C: remove "smart" background painting code
5172
5173 2003-03-16  John Levon  <levon@movementarian.org>
5174
5175         * lyxtext.h:
5176         * text.C:
5177         * text2.C:
5178         * text3.C: add helper functions for setting refresh_row/y
5179
5180 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5181
5182         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5183         newline inset which *can* get inserted in the pass_thru layouts.
5184         This is primarily for literate documents.
5185
5186 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5187
5188         * buffer.C: increment LYX_FORMAT to 223
5189
5190 2003-03-14 André Pönitz <poenitz@gmx.net>
5191
5192         * textclass.h: prepare for environment handling, ws changes
5193         * lyxlayout.C: read latexheader and latexfooter tags
5194
5195 2003-03-14  John Levon  <levon@movementarian.org>
5196
5197         * text2.C: rewrite ::status() a bit
5198
5199 2003-03-13  John Levon  <levon@movementarian.org>
5200
5201         * lyxtext.h: add some docs
5202
5203 2003-03-13  John Levon  <levon@movementarian.org>
5204
5205         * lyxtext.h:
5206         * text.C:
5207         * text2.C:
5208         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5209
5210 2003-03-13  John Levon  <levon@movementarian.org>
5211
5212         * text3.C: fix appendix redrawing
5213
5214 2003-03-13  John Levon  <levon@movementarian.org>
5215
5216         * text.C (setHeightOfRow):
5217         * rowpainter.h:
5218         * rowpainter.C: make appendix mark have the text
5219           "Appendix" so the user knows what it is
5220
5221         * LColor.h:
5222         * LColor.C: s/appendixline/appendix/ from above
5223
5224 2003-03-13  John Levon  <levon@movementarian.org>
5225
5226         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5227
5228         * text.C: fix a getChar(pos) bug properly
5229
5230 2003-03-13  Angus Leeming  <leeming@lyx.org>
5231
5232         * commandtags.h:
5233         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5234         Probably only temporary. Let's see how things pan out.
5235
5236         * BufferView.C (unlockInset):
5237         * BufferView_pimpl.C (fitCursor):
5238         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5239
5240         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5241         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5242
5243         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5244         new functions that convert ParagraphParameters to and from a string.
5245
5246         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5247         BufferView::Pimpl's dispatch.
5248         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5249
5250 2003-03-13 André Pönitz <poenitz@gmx.net>
5251
5252         * lyxfunc.C:
5253         * text3.C:
5254         * factory.C: make it aware of InsetEnv
5255
5256 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * text2.C (setCursor): never ask for one past last
5259         (setCursor): add some debugging messages.
5260
5261         * text.C (singleWidth): never ask for one past last
5262         (singleWidth): ditto
5263         (leftMargin): ditto
5264         (rightMargin): ditto
5265         (rowBreakPoint): ditto
5266         (setHeightOfRow): ditto
5267         (prepareToPrint): ditto
5268
5269         * rowpainter.C (paintBackground): never ask for one past last
5270         (paintText): never ask for one past last
5271
5272         * paragraph_pimpl.C (getChar): make the assert stricter, never
5273         allow the one past last pos to be taken
5274
5275         * paragraph.C (getChar): ws changes only
5276
5277         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5278         (numberOfSeparators): ditto
5279         (numberOfHfills): ditto
5280
5281 2003-03-12  John Levon  <levon@movementarian.org>
5282
5283         * author.h:
5284         * author.C:
5285         * bufferparams.h:
5286         * bufferparams.C:
5287         * paragraph_funcs.C: fix per-buffer authorlists
5288
5289 2003-03-12  John Levon  <levon@movementarian.org>
5290
5291         * text.C: fix newline in right address
5292
5293 2003-03-12  Angus Leeming  <leeming@lyx.org>
5294
5295         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5296         duplicate those in LyXFunc::dispatch.
5297
5298         * commandtags.h:
5299         * LyXAction.C:
5300         * ToolbarDefaults.C:
5301         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5302         Add LFUN_FONTFREE_UPDATE.
5303
5304         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5305         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5306
5307         * bufferview_func.[Ch]: several new functions to facilliate
5308         transfer of data to and from the character dialog.
5309
5310 2003-03-12  John Levon  <levon@movementarian.org>
5311
5312         * buffer.C:
5313         * paragraph.h:
5314         * paragraph.C:
5315         * paragraph_funcs.C:
5316         * paragraph_pimpl.C:
5317         * sgml.C:
5318         * tabular.C:
5319         * text.C:
5320         * text3.C: remove META_NEWLINE in favour of an inset
5321
5322         * rowpainter.h:
5323         * rowpainter.C: remove paintNewline (done by inset)
5324
5325 2003-03-12  John Levon  <levon@movementarian.org>
5326
5327         * paragraph_pimpl.C: complain about bad getChar()s
5328         for a while at least
5329
5330 2003-03-12  John Levon  <levon@movementarian.org>
5331
5332         * buffer.h:
5333         * buffer.C: move paragraph read into a separate function,
5334         a little renaming to reflect that.
5335
5336         * bufferparams.h:
5337         * bufferparams.C: remove the author_ids map, not necessary now
5338
5339         * factory.h:
5340         * factory.C: moved Buffer::readInset to here
5341
5342         * paragraph_funcs.h:
5343         * paragraph_funcs.C: readParagraph free function moved from
5344         buffer.C
5345
5346         * tabular.C: name change
5347
5348 2003-03-12  John Levon  <levon@movementarian.org>
5349
5350         * buffer.C:
5351         * ParagraphParameters.C: move par params input to
5352         a read() method
5353
5354         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5355         behave like a normal read from the stream wrt reading
5356         a line vs. a \\token
5357
5358 2003-03-12  John Levon  <levon@movementarian.org>
5359
5360         * paragraph.C:
5361         * ParagraphParameters.h:
5362         * ParagraphParameters.C: move output code to a
5363         ::write() method
5364
5365 2003-03-12  John Levon  <levon@movementarian.org>
5366
5367         * BufferView.C (insertLyXFile):
5368         * buffer.h:
5369         * buffer.C:
5370         * tabular.C: use a parlist iterator for creating the
5371           document.
5372
5373 2003-03-12  John Levon  <levon@movementarian.org>
5374
5375         * buffer.C: make current_change static local not
5376           static file-scope
5377
5378 2003-03-12  John Levon  <levon@movementarian.org>
5379
5380         * buffer.C: fix insertStringAsLines for change tracking
5381
5382 2003-03-12  John Levon  <levon@movementarian.org>
5383
5384         * BufferView.C:
5385         * tabular.C:
5386         * buffer.h:
5387         * buffer.C:
5388         * bufferparams.h:
5389         * bufferparams.C: move author list into params. Rename some
5390           functions. Move the header reading into a separate token
5391           loop. Move the header token reading into BufferParams.
5392
5393 2003-03-12  John Levon  <levon@movementarian.org>
5394
5395         * changes.C: put debug inside lyxerr.debugging() checks
5396
5397 2003-03-11 André Pönitz <poenitz@gmx.net>
5398
5399         * factory.C: make it aware of InsetHFill
5400
5401 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5402
5403         * buffer.C (latexParagraphs): move function from here...
5404         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5405         args.
5406
5407 2003-03-10  Angus Leeming  <leeming@lyx.org>
5408
5409         * LyXAction.C (init): fix bug in poplating array with multiple entries
5410         with the same LFUN (spotted by JMarc).
5411
5412 2003-03-10  John Levon  <levon@movementarian.org>
5413
5414         * text.C:
5415         * text2.C: move getColumnNearX() near its
5416         only call site
5417
5418 2003-03-10  John Levon  <levon@movementarian.org>
5419
5420         * text.C: fix break before a minipage
5421
5422 2003-03-10  John Levon  <levon@movementarian.org>
5423
5424         * text.C: fix the last commit
5425
5426 2003-03-09  John Levon  <levon@movementarian.org>
5427
5428         * lyxtext.h:
5429         * text.C:
5430         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5431         bug 365 (don't break before insets unless needed). Don't
5432         return a value > last under any circumstances.
5433
5434 2003-03-09  Angus Leeming  <leeming@lyx.org>
5435
5436         * BufferView_pimpl.C (trackChanges, dispatch): call
5437         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5438
5439 2003-03-09  Angus Leeming  <leeming@lyx.org>
5440
5441         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5442         than Dialogs::showAboutlyx().
5443
5444 2003-03-09  Angus Leeming  <leeming@lyx.org>
5445
5446         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5447         than Dialogs::showTabularCreate().
5448
5449 2003-03-09  John Levon  <levon@movementarian.org>
5450
5451         * lyxtext.h:
5452         * text.C:
5453         * text2.C: 3rd arg to nextBreakPoint was always the same.
5454           Use references.
5455
5456 2003-03-08  John Levon  <levon@movementarian.org>
5457
5458         * lyxrow.C:
5459         * paragraph.C:
5460         * paragraph.h:
5461         * rowpainter.C:
5462         * text.C:
5463         * text2.C: Remove the "main" bit from the "main body"
5464           notion.
5465
5466 2003-03-08  John Levon  <levon@movementarian.org>
5467
5468         * text.C (leftMargin): The left margin of an empty
5469         manual label paragraph should not include the label width
5470         string length.
5471
5472         * text.C (prepareToPrint): don't attempt to measure hfills
5473         for empty manual label paragraphs - the answer should be 0
5474
5475 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * CutAndPaste.C: remove commented code and reindent.
5478
5479 2003-03-08  John Levon  <levon@movementarian.org>
5480
5481         * lyxfunc.h:
5482         * lyxfunc.C: move reloadBuffer()
5483
5484         * BufferView.h:
5485         * BufferView.C: to here
5486
5487         * lyxvc.C: add comment
5488
5489         * vc-backend.h:
5490         * vc-backend.C: call bv->reload() to avoid
5491           getStatus() check on MENURELOAD
5492
5493 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5494
5495         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5496         to an old format .dep file.
5497
5498 2003-03-07  Angus Leeming  <leeming@lyx.org>
5499
5500         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5501         when the LFUN_MOUSE_RELEASE should have been handled by
5502         inset->localDispatch.
5503
5504 2003-03-07  Angus Leeming  <leeming@lyx.org>
5505
5506         * BufferView_pimpl.C (dispatch):
5507         * LyXAction.C (init):
5508         * ToolbarDefaults.C (init):
5509         * commandtags.h:
5510         * lyxfunc.C (getStatus):
5511         remove LFUN_INSET_GRAPHICS.
5512
5513         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5514
5515 2003-03-07  Angus Leeming  <leeming@lyx.org>
5516
5517         * commandtags.h:
5518         * LyXAction.C (init):
5519         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5520
5521         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5522
5523         * commandtags.h:
5524         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5525
5526         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5527         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5528
5529 2003-03-07  Angus Leeming  <leeming@lyx.org>
5530
5531         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5532         remove "ert".
5533
5534 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * ParagraphList.C (front): new function
5537         (back): implement
5538
5539 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5540
5541         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5542         and top_row_offset_. removed var first_y.
5543         * text.C (top_y):
5544         * text2.C (LyXText, removeRow):
5545         * text3.C:
5546         * BufferView_pimpl.C:
5547         use these methods instead of using first_y
5548
5549 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * text2.C (pasteSelection): adjust for checkPastePossible
5552
5553         * CutAndPaste.C: remove Paragraph * buf and replace with
5554         ParagraphList paragraphs.
5555         (DeleteBuffer): delete
5556         (cutSelection): change the tc type to textclass_type
5557         (copySelection): change the tc type to textclass_type
5558         (copySelection): adjust for ParagraphList
5559         (pasteSelection): change the tc type to textclass_type
5560         (pasteSelection): adjust for Paragraphlist
5561         (nrOfParagraphs): simplify for ParagraphList
5562         (checkPastePossible): simplify for ParagraphList
5563         (checkPastePossible): remove unused arg
5564
5565         * ParagraphList.C (insert): handle the case where there are no
5566         paragraphs yet.
5567
5568         * CutAndPaste.h: make CutAndPaste a namespace.
5569
5570         * text3.C (dispatch): adjust
5571
5572         * text.C (breakParagraph): add a ParagraphList as arg
5573
5574         * paragraph_funcs.C (breakParagraph): change to take a
5575         BufferParams and a ParagraphList as args.
5576         (breakParagraphConservative): ditto
5577         (mergeParagraph): ditto
5578         (TeXDeeper): add a ParagraphList arg
5579         (TeXEnvironment): ditto
5580         (TeXOnePar): ditto
5581
5582         * buffer.C (readLyXformat2): adjust
5583         (insertStringAsLines): adjust
5584         (latexParagraphs): adjust
5585
5586         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5587         (cutSelection): adjust
5588         (pasteSelection): adjust
5589
5590         * BufferView_pimpl.C (insertInset): adjust
5591
5592 2003-03-05  Angus Leeming  <leeming@lyx.org>
5593
5594         * commandtags.h:
5595         * LyXAction.C (init):
5596         * BufferView_pimpl.C (dispatch):
5597         * lyxfunc.C (getStatus):
5598         remove LFUN_CHILD_INSERT.
5599
5600         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5601
5602 2003-03-05  Angus Leeming  <leeming@lyx.org>
5603
5604         * commandtags.h:
5605         * LyXAction.C (init):
5606         * src/factory.C (createInset):
5607         * lyxfunc.C (getStatus):
5608         * text3.C (dispatch):
5609         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5610
5611         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5612
5613 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * ParagraphList.C (insert): handle insert right before end()
5616         (erase): fix cases where it can be first or last paragraph.
5617
5618 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5621         Paragraph::next and Paragraph::previous
5622         (TeXOnePar): ditto
5623
5624         * text.C (breakParagraph): adjust
5625
5626         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5627         BufferParams& as arg.
5628         (breakParagraph): use ParagraphList::insert
5629         (breakParagraphConservative): take a Buffer* instead of a
5630         BufferParams& as arg.
5631         (breakParagraphConservative): use ParagraphList::insert.
5632
5633         * buffer.C (insertStringAsLines): un-const it
5634         (insertStringAsLines): adjust
5635
5636         * ParagraphList.C (insert): new function
5637
5638         * CutAndPaste.C (pasteSelection): adjust
5639
5640         * text.C (backspace): adjust
5641
5642         * tabular.C (SetMultiColumn): adjust
5643
5644         * CutAndPaste.C (cutSelection): adjust
5645         (pasteSelection): adjust
5646
5647         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5648         Buffer const * as arg
5649
5650         * ParagraphList.C (erase): new function
5651         * paragraph_funcs.C (mergeParagraph): use it
5652         (mergeParagraph): make it take a Buffer* instead of a
5653         BufferParams* as arg
5654
5655         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5656         as arg
5657         (breakParagraphConservative): ditto
5658
5659         * paragraph.h: remove the breakParagraph friend
5660
5661         * paragraph.C (eraseIntern): new function
5662         (setChange): new function
5663
5664         * paragraph_funcs.C (mergeParagraph): make it take a
5665         ParagraphList::iterator instead of a Paragraph *, adjust
5666         accordingly.
5667
5668         * paragraph.h: move an #endif so that the change tracking stuff
5669         also works in the NO_NEXT case.
5670
5671 2003-03-04  Angus Leeming  <leeming@lyx.org>
5672
5673         * commandtags.h:
5674         * LyXAction.C: new LFUN_INSET_MODIFY.
5675
5676         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5677         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5678
5679 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * several files: ws changes only
5682
5683         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5684         (TeXEnvironment): ditto
5685         (TeXDeeper): ditto
5686
5687         * buffer.C (makeLaTeXFile): adjust
5688         (latexParagraphs): make it take ParagraphList::iterator as args
5689
5690 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * buffer.C (latexParagraphs): adjust
5693
5694         * paragraph.C (TeXOnePar): move function...
5695         (optArgInset): move function...
5696         (TeXEnvironment): move function...
5697         * paragraph_pimpl.C (TeXDeeper): move function...
5698         * paragraph_funcs.C: ...here
5699
5700         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5701
5702 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * buffer.C (readInset): remove compability code for old Figure and
5705         InsetInfo insets
5706
5707 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * buffer.C: ws changes
5710         (readInset):
5711
5712         * BufferView_pimpl.C: ditto
5713         * author.C: ditto
5714         * buffer.h: ditto
5715         * bufferlist.h: ditto
5716         * changes.h: ditto
5717         * lyxfunc.C: ditto
5718
5719 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5720
5721         * converter.[Ch]: split into itself +
5722         * graph.[Ch]
5723         * format.[Ch]
5724         * Makefile.am: += graph.[Ch] + format.[Ch]
5725         * MenuBackend.C
5726         * buffer.C
5727         * exporter.C
5728         * importer.C
5729         * lyx_main.C
5730         * lyxfunc.C
5731         * lyxrc.C: added #include "format.h"
5732
5733 2003-02-27  Angus Leeming  <leeming@lyx.org>
5734
5735         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5736           a label.
5737
5738         * factory.C (createInset): add "label" to the factory.
5739
5740         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5741           string and do no more.
5742
5743 2003-02-27  Angus Leeming  <leeming@lyx.org>
5744
5745         * commandtags.h:
5746         * LyXAction.C (init):
5747         * factory.C (createInset):
5748         * BufferView_pimpl.C (dispatch):
5749           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5750
5751         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5752
5753         * lyxfunc.C (dispatch):
5754         * text3.C (dispatch): pass name to params2string.
5755
5756 2003-02-26  Angus Leeming  <leeming@lyx.org>
5757
5758         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5759           blocks together.
5760           Rearrange the ~includes. Strip out the unnecessary ones.
5761
5762         * factory.C (createInset): reformat.
5763           create new insets for the various LFUN_XYZ_APPLY lfuns.
5764
5765 2003-02-26  John Levon  <levon@movementarian.org>
5766
5767         * lyxrow.h:
5768         * lyxrow.C: add isParStart,isParEnd helpers
5769
5770         * paragraph.h: make isInserted/DeletedText take refs
5771
5772         * paragraph_funcs.h:
5773         * paragraph_funcs.C: remove #if 0'd code
5774
5775         * lyxtext.h:
5776         * text3.C:
5777         * text2.C:
5778         * text.C: use lyxrow helpers above.
5779           Move draw and paint routines to RowPainter.
5780           Make several methods use refs not pointers.
5781           Make backgroundColor() const.
5782           Add markChangeInDraw(), isInInset().
5783           Merge changeRegionCase into changeCase.
5784           Make workWidth() shouldn't-happen code into an Assert.
5785
5786         * rowpainter.h:
5787         * rowpainter.C: new class for painting a row.
5788
5789         * vspace.h:
5790         * vspace.C: make inPixels take a ref
5791
5792 2003-02-26  Angus Leeming  <leeming@lyx.org>
5793
5794         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5795         LFUN_REF_APPLY.
5796
5797 2003-02-25  John Levon  <levon@movementarian.org>
5798
5799         * ispell.C: give the forked command a more accurate name
5800
5801 2003-02-22  John Levon  <levon@movementarian.org>
5802
5803         * toc.h:
5804         * toc.C: make TocItem store an id not a Paragraph *
5805           (bug #913)
5806
5807 2003-02-21  Angus Leeming  <leeming@lyx.org>
5808
5809         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5810           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5811           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5812           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5813           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5814           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5815
5816         * BufferView_pimpl.C (dispatch):
5817         * LyXAction.C (init):
5818         * factory.C (createInset):
5819         * lyxfunc.C (getStatus, dispatch):
5820         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5821
5822 2003-02-21  Angus Leeming  <leeming@lyx.org>
5823
5824         * BufferView_pimpl.C (MenuInsertLyXFile):
5825         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5826         * lyxfunc.C (menuNew, open, doImport):
5827           no longer pass a LyXView & to fileDlg.
5828
5829 2003-02-21  Angus Leeming  <leeming@lyx.org>
5830
5831         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5832         * LyXAction.C: change, BIBKEY to BIBITEM.
5833         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5834         Change InsetBibKey to InsetBibitem.
5835         Change BIBKEY_CODE to BIBITEM_CODE.
5836         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5837         * factory.C: replace insetbib.h with insetbibitem.h.
5838         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5839         * paragraph.C: replace insetbib.h with insetbibitem.h.
5840         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5841         Change bibkey() to bibitem().
5842         * text.C: remove insetbib.h.
5843         * text2.C: replace insetbib.h with insetbibitem.h.
5844         change bibkey() to bibitem().
5845         * text3.C: remove insetbib.h.
5846         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5847
5848 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5849
5850         * lyxrc.C (output): enclose user email in quotes (in case there are
5851         several words)
5852
5853 2003-02-18  John Levon  <levon@movementarian.org>
5854
5855         * buffer.h: add std::
5856
5857 2003-02-17  John Levon  <levon@movementarian.org>
5858
5859         * SpellBase.h:
5860         * ispell.h:
5861         * ispell.C:
5862         * pspell.h:
5863         * pspell.C: reworking. Especially in ispell, a large
5864           number of clean ups and bug fixes.
5865
5866         * lyxfunc.C: fix revert to behave sensibly
5867
5868 2003-02-17 André Pönitz <poenitz@gmx.net>
5869
5870         * LyXAction.C:
5871         * commandtags.h: new LFUN_INSERT_BIBKEY
5872
5873         * layout.h:
5874         * lyxlayout.C:
5875         * buffer.C:
5876         * factory.C:
5877         * text.C:
5878         * text2.C:
5879         * text3.C:
5880         * paragraph.[Ch]:
5881         * paragraph_func.C: remove special bibkey handling
5882
5883 2003-02-17  John Levon  <levon@movementarian.org>
5884
5885         * text.C (Delete): fix case where delete at the end of
5886           the very first paragraph would not merge the pars
5887
5888 2003-02-17  John Levon  <levon@movementarian.org>
5889
5890         * lyxrow.C: fix lastPrintablePos()
5891
5892 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5893
5894         * bufferparams.C (writeLaTeX): add a std:here
5895
5896         * buffer.C: and remove a using directive there
5897
5898 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5899
5900         * buffer.C (makeLaTeXFile): move the code that generates the
5901           preamble...
5902
5903         * bufferparams.C (writeLaTeX): ... in this new method
5904
5905         * LaTeXFeatures.C (getEncodingSet): make const
5906           (getLanguages): make const
5907
5908         * MenuBackend.C (binding): returns the binding associated to this
5909           action
5910           (add): sets the status of each item by calling getStatus. Adds
5911           some intelligence.
5912           (read): add support for OptSubMenu
5913           (expand): remove extra separator at the end of expanded menu
5914
5915 2003-02-15  John Levon  <levon@movementarian.org>
5916
5917         * BufferView.C:
5918         * BufferView_pimpl.C:
5919         * bufferlist.h:
5920         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5921           inset code that had no actual effect. Remove unneeded status
5922           code.
5923
5924 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5925
5926         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5927           in preamble
5928
5929 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5930
5931         * text.C (drawLengthMarker): also draw an arrow marker for
5932           symbolic lengths (medskip...)
5933
5934 2003-02-14  John Levon  <levon@movementarian.org>
5935
5936         * tabular.h:
5937         * tabular.C: better method names
5938
5939 2003-02-14  John Levon  <levon@movementarian.org>
5940
5941         * BufferView_pimpl.C:
5942         * bufferlist.C:
5943         * buffer.C:
5944         * converter.C:
5945         * lyx_cb.C:
5946         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5947           it's a more accurate name. Remove some pointless uses.
5948
5949 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5950
5951         * text2.C (LyXText): change order of initilizers to shut off
5952           warnings
5953
5954 2003-02-14  John Levon  <levon@movementarian.org>
5955
5956         * buffer.C: use ParIterator for getParFromID()
5957
5958         * paragraph.h:
5959         * paragraph.C:
5960         * paragraph_pimpl.h:
5961         * paragraph_pimpl.C: remove unused getParFromID()
5962
5963 2003-02-14  John Levon  <levon@movementarian.org>
5964
5965         * buffer.C: remove some very old #if 0'd parse code
5966
5967 2003-02-13  John Levon  <levon@movementarian.org>
5968
5969         * text.h:
5970         * text.C:
5971         * text2.C: move hfillExpansion(), numberOfSeparators(),
5972           rowLast(), rowLastPrintable(), numberofHfills(),
5973           numberOfLabelHfills() ...
5974
5975         * lyxrow.h:
5976         * lyxrow.C: ... to member functions here.
5977
5978         * paragraph.h:
5979         * paragraph.C:
5980         * lyxtext.h:
5981         * text.C: remove LyXText::beginningOfMainBody(), and call
5982           p->beginningOfMainBody() directly. Move the check for
5983           LABEL_MANUAL into the latter.
5984
5985         * text.h:
5986         * text.C:
5987         * text2.C:
5988         * vspace.C:
5989         * BufferView.h:
5990         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5991
5992         * text.h:
5993         * text.C:
5994         * text2.C:
5995         * text3.C:
5996         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5997           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5998
5999 2003-02-13  John Levon  <levon@movementarian.org>
6000
6001         * CutAndPaste.C: remove debug
6002
6003 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6004
6005         * paragraph.C (asString): remove two unused variables
6006
6007         * lyxtextclass.C (readTitleType):
6008           (Read):
6009           (LyXTextClass): handle new members titletype_ and titlename_
6010
6011         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6012
6013 2003-02-09  John Levon  <levon@movementarian.org>
6014
6015         * buffer.h:
6016         * buffer.C: replace hand-coded list with a map for the dep clean
6017
6018 2003-02-08  John Levon  <levon@movementarian.org>
6019
6020         * LaTeX.C: consolidate code into showRunMessage() helper
6021
6022 2003-02-08  John Levon  <levon@movementarian.org>
6023
6024         * lyxfind.C:
6025         * lyxtext.h:
6026         * text2.C:
6027         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6028           and pass the size in explicitly
6029
6030         * BufferView_pimpl.h:
6031         * BufferView_pimpl.C:
6032         * BufferView.h:
6033         * BufferView.C: add getCurrentChange()
6034
6035         * BufferView_pimpl.h:
6036         * BufferView_pimpl.C: handle change lfuns
6037
6038         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6039           for changes. Mark pasted paragraphs as new.
6040
6041         * support/lyxtime.h:
6042         * support/lyxtime.C:
6043         * DepTable.C: abstract time_t as lyx::time_type
6044
6045         * LColor.h:
6046         * LColor.C: add colours for new text, deleted text, changebars
6047
6048         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6049           package use "usenames" option.
6050
6051         * commandtags.h:
6052         * lyxfunc.C:
6053         * LyXAction.C: add change lfuns
6054
6055         * Makefile.am:
6056         * author.h:
6057         * author.C: author handling
6058
6059         * buffer.h:
6060         * buffer.C: add a per-buffer author list, with first entry as
6061           current author. Handle new .lyx tokens for change tracking. Output
6062           author list to .lyx file. Output dvipost stuff to .tex preamble.
6063           Bump lyx format to 222.
6064
6065         * bufferlist.h:
6066         * bufferlist.C: add setCurrentAuthor() to reset current author details
6067           in all buffers.
6068
6069         * bufferparams.h:
6070         * bufferparams.C: add param for tracking
6071
6072         * bufferview_funcs.C: output change info in minibuffer
6073
6074         * Makefile.am:
6075         * changes.h:
6076         * changes.C: add change-tracking structure
6077
6078         * debug.h:
6079         * debug.C: add CHANGES debug flag
6080
6081         * lyxfind.h:
6082         * lyxfind.C: add code for finding the next change piece
6083
6084         * lyxrc.h:
6085         * lyxrc.C: add user_name and user_email
6086
6087         * lyxrow.h:
6088         * lyxrow.C: add a metric for the top of the text line
6089
6090         * lyxtext.h:
6091         * text.C: implement accept/rejectChange()
6092
6093         * lyxtext.h:
6094         * text.C: paint changebars. Paint new/deleted text in the chosen
6095         colours. Strike through deleted text.
6096
6097         * paragraph.h:
6098         * paragraph.C:
6099         * paragraph_pimpl.h:
6100         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6101           in the current change to the insert functions. Rework erase to
6102           mark text as deleted, adding an eraseIntern() and a range-based
6103           erase(). Implement per-paragraph change lookup and
6104           accept/reject.
6105
6106         * paragraph_funcs.C: Fixup paste for change tracking.
6107
6108         * tabular.C: mark added row/columns as new.
6109
6110         * text.C: fix rowLast() to never return -1. Don't allow
6111           spellchecking of deleted text. Track transpose changes. Don't
6112           allow paragraph break or merge where appropriate.
6113
6114         * text2.C: leave cursor at end of selection after a cut.
6115
6116 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6117
6118         * text.C (getLengthMarkerHeight):
6119         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6120         visible on screen too.
6121
6122 2003-02-07  John Levon  <levon@movementarian.org>
6123
6124         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6125
6126 2003-02-05  Angus Leeming  <leeming@lyx.org>
6127
6128         * lyxserver.C (read_ready): revert my patch of 11 September last year
6129         as it sends PC cpu through the roof. Presumably this means that
6130         the lyxserver will no longer run on an Alpha...
6131
6132 2003-01-30  Angus Leeming  <leeming@lyx.org>
6133
6134         * factory.C (createInset): create an InsetCommandParam of type "index"
6135         and use it to 'do the right thing'.
6136
6137         * text2.C (getStringToIndex): ensure that cursor position is always
6138         reset to the reset_cursor position.
6139
6140 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6143         disabled.
6144
6145 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6146
6147         * bufferview.C:
6148         * lyxcb.C:
6149         * lyxfunc.C: Output messages with identical spelling, punctuation,
6150         and spaces
6151
6152 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6153
6154         * MenuBackend.C (expandFormats): List only viewable export formats
6155         in "View" menu
6156
6157         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6158         message
6159
6160         * lyxfunc.C (getStatus): Make sure that formats other than
6161         "fax" can also be disabled
6162
6163 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6164
6165         * text3.C (dispatch): put the lfuns that insert insets in 3
6166         groups, and call doInsertInset with appropriate arguments.
6167         (doInsertInset): new function, that creates an inset and inserts
6168         it according to some boolean parameters.
6169
6170 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * buffer.C (readFile): remember to pass on 'par' when calling
6173         readFile recursively.
6174
6175 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6176
6177         * MenuBackend.C (expandFormats): add "..." to import formats.
6178
6179 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6180
6181         * paragraph.C (asString): Remove XForms RTL hacks.
6182
6183 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6184         * buffer.C: fix typo
6185
6186 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * Makefile.am (LIBS): delete var
6189         (lyx_LDADD): add @LIBS@ here instead.
6190
6191 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6192
6193         * Clarify the meaning of "wheel mouse jump"
6194
6195 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6196
6197         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6198         tabular in a float
6199
6200 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6201
6202         * importer.C (Loaders): do not preallocate 3 elements in the
6203         vector, since one ends up with 6 elements otherwise
6204
6205 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6206
6207         * DepTable.C (write): write the file name as last element of the
6208         .dep file (because it may contain spaces)
6209         (read): read info in the right order
6210
6211 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6212
6213         * paragraph_pimpl.C (simpleTeXBlanks):
6214         (simpleTeXSpecialChars):
6215         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6216
6217         * tabular.C (latex): add some missing case statements. Reindent.
6218
6219         * MenuBackend.C (expandToc): remove unused variable.
6220
6221 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6222
6223         * LColor.C:
6224         * LaTeX.C:
6225         * LyXAction.C:
6226         * MenuBackend.C:
6227         * buffer.C:
6228         * exporter.C:
6229         * lyxfunc.C:
6230         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6231         and the like.
6232
6233 2003-01-05  John Levon  <levon@movementarian.org>
6234
6235         * BufferView.h:
6236         * BufferView.C: add getEncoding()
6237
6238         * kbsequence.h:
6239         * kbsequence.C: do not store last keypress
6240
6241         * lyxfunc.h:
6242         * lyxfunc.C: store last keypress here instead. Pass encoding
6243           to getISOEncoded()
6244
6245 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6246
6247         * lyx_main.C (init): remove annoying error message when following
6248         symbolic links (bug #780)
6249
6250 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6251
6252         * text.C (insertChar):
6253         * lyxrc.C (getDescription): remove extra spaces
6254
6255 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6256
6257         * lyxrc.C (getDescription): remove extra spaces
6258
6259 2002-12-20  John Levon  <levon@movementarian.org>
6260
6261         * text3.C: hack fix for page up/down across tall rows
6262
6263 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6264
6265         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6266         not been invoked
6267
6268 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6269
6270         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6271         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6272         thesaurus is not compiled in
6273
6274 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6275
6276         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6277
6278 2002-12-16  Angus Leeming  <leeming@lyx.org>
6279
6280         * lyxrc.[Ch]:
6281         * lyx_main.C (init): remove override_x_deadkeys stuff.
6282
6283 2002-12-12  John Levon  <levon@movementarian.org>
6284
6285         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6286           insert. Only remove shift modifier under strict
6287           circumstances.
6288
6289 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * MenuBackend.C (expandToc): fix crash.
6292
6293 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * MenuBackend.C (expandToc): gettext on float names.
6296
6297 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6298
6299         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6300         implement bool empty() [bug 490]
6301
6302 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6305
6306 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * several files: ws changes
6309
6310 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * text2.C (setCounter): clean up a bit, use boost.format.
6313         (updateCounters): initialize par upon declaration.
6314
6315         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6316         if the layout exists. We do not just store the layout any more.
6317         (SwitchLayoutsBetweenClasses): use boost.format
6318
6319 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6320
6321         * converter.C (convert): if from and to files are the same, use a
6322         temporary files as intermediary
6323
6324 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6325
6326         * commandtags.h:
6327         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6328
6329 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6330
6331         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6332
6333 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * tabular.C (asciiPrintCell): use string(size, char) instead of
6336         explicit loop.
6337
6338         * sgml.C (openTag): fix order of arguments to string constructor
6339         (closeTag): ditto
6340
6341         * lyxfunc.C (dispatch): use boost.format
6342
6343         * lots of files: change "c" -> 'c'
6344
6345 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6346
6347         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6348
6349 2002-11-25  Angus Leeming  <leeming@lyx.org>
6350
6351         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6352
6353         * lyx_main.C (init): compile fix.
6354
6355 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * lyx_cb.C (start): boost.formatify
6358         do not include <iostream>
6359
6360         * lengthcommon.C: ws only
6361
6362         * boost-inst.C,BoostFormat.h: add more explict instantations
6363
6364 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * lots of files: handle USE_BOOST_FORMAT
6367
6368 2002-11-21  John Levon  <levon@movementarian.org>
6369
6370         * pspell.C: fix compile
6371
6372 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6373
6374         * lyxfunc.C (dispatch): use boost::format
6375         (open): ditto
6376         (doImport): ditto
6377
6378         * lyxfont.C (stateText): use boost::format
6379
6380         * lyx_main.C (LyX): use boost::format
6381         (init): ditto
6382         (queryUserLyXDir): ditto
6383         (readRcFile): ditto
6384         (parse_dbg): ditto
6385         (typedef boost::function): use the recommened syntax.
6386
6387         * importer.C (Import): use boost::format
6388
6389         * debug.C (showLevel): use boost::format
6390
6391         * converter.C (view): use boost::format
6392         (convert): ditto
6393         (move): ditto
6394         (scanLog): ditto
6395
6396         * bufferview_funcs.C (currentState): use boost::format
6397
6398         * bufferlist.C (emergencyWrite): use boost::format
6399
6400         * buffer.C (readLyXformat2): use boost::format
6401         (parseSingleLyXformat2Token): ditto
6402
6403         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6404
6405         * LaTeX.C (run): use boost::format
6406
6407         * Chktex.C (scanLogFile): use boost::format
6408
6409         * BufferView_pimpl.C (savePosition): use boost::format
6410         (restorePosition): ditto
6411         (MenuInsertLyXFile): ditto
6412
6413         * BoostFormat.h: help file for explicit instation.
6414
6415 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6416
6417         * tabular.C (latex): Support for block alignment in fixed width
6418         columns.
6419
6420 2002-11-17  John Levon  <levon@movementarian.org>
6421
6422         * BufferView_pimpl.C:
6423         * lyx_cb.C:
6424         * lyxfunc.C: split filedialog into open/save
6425
6426 2002-11-08  Juergen Vigna  <jug@sad.it>
6427
6428         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6429         by my last patch (hopefully).
6430
6431 2002-11-08  John Levon  <levon@movementarian.org>
6432
6433         * iterators.h:
6434         * iterators.C:
6435         * buffer.h:
6436         * buffer.C:
6437         * paragraph.h:
6438         * paragraph.C:
6439         * toc.h:
6440         * toc.C: ParConstIterator, and use it (from Lars)
6441
6442 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6443
6444         * lyxtextclass.[Ch]: revise and add doxygen comments
6445
6446 2002-11-07  John Levon  <levon@movementarian.org>
6447
6448         * text.C: fix progress value for spellchecker
6449
6450         * toc.C: fix navigate menu for insetwrap inside minipage
6451
6452         * paragraph_funcs.C: added FIXME for suspect code
6453
6454 2002-11-07  John Levon  <levon@movementarian.org>
6455
6456         * BufferView_pimpl.C: fix redrawing of insets
6457           on buffer switch
6458
6459 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6460
6461         * text2.C (updateCounters): fix bug 668
6462
6463 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6464
6465         * text3.C (dispatch): Do not make the buffer dirty when moving the
6466         cursor.
6467
6468 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * vc-backend.C: STRCONV
6471         (scanMaster): ditto
6472
6473         * text2.C (setCounter): STRCONV
6474
6475         * paragraph.C (asString): STRCONV
6476
6477         * lyxlength.C (asString): STRCONV
6478         (asLatexString): ditto
6479
6480         * lyxgluelength.C (asString): STRCONV
6481         (asLatexString): ditto
6482
6483         * lyxfunc.C (dispatch): STRCONV
6484         (open): ditto
6485
6486         * lyxfont.C (stateText): STRCONV
6487
6488         * importer.C (Import): STRCONV
6489
6490         * counters.C (labelItem): STRCONV
6491         (numberLabel): ditto
6492         (numberLabel): remove unused ostringstream o
6493
6494         * chset.C: STRCONV
6495         (loadFile): ditto
6496
6497         * bufferview_funcs.C (currentState): STRCONV
6498
6499         * buffer.C (readFile): STRCONV
6500         (asciiParagraph): ditto
6501         (makeLaTeXFile): ditto
6502
6503         * Spacing.C (writeEnvirBegin): STRCONV
6504
6505         * LaTeXFeatures.C (getLanguages): STRCONV
6506         (getPackages): ditto
6507         (getMacros): ditto
6508         (getBabelOptions): ditto
6509         (getTClassPreamble): ditto
6510         (getLyXSGMLEntities): ditto
6511         (getIncludedFiles): ditto
6512
6513         * LaTeX.C: STRCONV
6514         (run): ditto
6515         (scanAuxFile): ditto
6516         (deplog): ditto
6517
6518         * LString.h: add the STRCONV macros
6519
6520         * BufferView_pimpl.C (savePosition): STRCONV
6521         (restorePosition): ditto
6522         (MenuInsertLyXFile): ditto
6523
6524         * vc-backend.C (scanMaster): change from submatch[...] to
6525         submatch.str(...)
6526
6527         * funcrequest.C: include config.h
6528
6529         * factory.C: include config.h
6530
6531         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6532
6533         * box.C: include config.h
6534
6535         * LaTeX.C (scanAuxFile): change from submatch[...] to
6536         submatch.str(...)
6537         (deplog): ditto
6538
6539 2002-10-25  Angus Leeming  <leeming@lyx.org>
6540
6541         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6542
6543         * ispell.[Ch] (setError): new method.
6544         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6545         Use setError() insetead of goto END.
6546
6547         * lyx_cb.C (AutoSave): move out child process into new class
6548         AutoSaveBuffer.
6549
6550 2002-10-30  John Levon  <levon@movementarian.org>
6551
6552         * text3.C: make start appendix undoable
6553
6554 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6555
6556         * lyxlength.C (inPixels): Fix returned value.
6557
6558         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6559         environment.
6560
6561 2002-10-24  Angus Leeming  <leeming@lyx.org>
6562
6563         * lyxgluelength.h: no need to forward declare BufferParams
6564         or BufferView, so don't.
6565
6566 2002-10-21  John Levon  <levon@movementarian.org>
6567
6568         * BufferView.C: menuUndo ->undo, redo
6569
6570         * BufferView.h: document, remove dead, make some methods private
6571
6572         * paragraph_funcs.h:
6573         * paragraph_funcs.C:
6574         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6575
6576         * buffer.h:
6577         * buffer.C:
6578         * sgml.h:
6579         * sgml.C: move sgml open/close tag into sgml.C
6580
6581         * bufferview_funcs.h: unused prototype
6582
6583         * lyxfunc.h:
6584         * lyxfunc.C: remove unused
6585
6586         * lyxtext.h:
6587         * text.C: remove unused
6588
6589 2002-10-21  John Levon  <levon@movementarian.org>
6590
6591         * BufferView.h:
6592         * BufferView.C:
6593         * BufferView_pimpl.h:
6594         * BufferView_pimpl.C: fix mouse wheel handling based on
6595           patch from Darren Freeman
6596
6597 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6598
6599         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6600
6601 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6602
6603         * lyxlength.C (inPixels): Fix hanfling of negative length.
6604         Fix LyXLength::MU case.
6605
6606 2002-10-16  John Levon  <levon@movementarian.org>
6607
6608         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6609
6610 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6611
6612         * converter.C (view): add support for $$i (file name) and $$p
6613         (file path) for the viewer command. If $$i is not specified, then
6614         it is appended to the command (for compatibility with old syntax)
6615
6616 2002-10-14  Juergen Vigna  <jug@sad.it>
6617
6618         * undo_funcs.C (textHandleUndo): alter the order in which the
6619         new undopar is added to the LyXText, as we have to set first
6620         the right prev/next and then add it as otherwise the rebuild of
6621         LyXText is not correct. Also reset the cursor to the right paragraph,
6622         with this IMO we could remove the hack in "redoParagraphs()".
6623
6624 2002-10-09  Angus Leeming  <leeming@lyx.org>
6625
6626         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6627         to turn off an optimisation if a new inset is to be inserted.
6628
6629 2002-10-11 André Pönitz <poenitz@gmx.net>
6630
6631         * lyxtext.h: make some functions public to allow access
6632         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6633
6634 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6635
6636         * text3.C (dispatch): when changing layout, avoid an infinite loop
6637         [bug #652]
6638
6639 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6640
6641         * lyxrc.C (read): treat a viewer or converter command of "none" as
6642         if it were empty.
6643
6644         * MenuBackend.C (expandFormats): for an update, also allow the
6645         formats that are not viewable
6646
6647         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6648         script if it is newer than the lyxrc.defaults in user directory
6649
6650 2002-10-07 André Pönitz <poenitz@gmx.net>
6651
6652         * text.C: Vitaly Lipatov's small i18n fix
6653
6654 2002-09-25  Angus Leeming  <leeming@lyx.org>
6655
6656         * ispell.h: doxygen fix.
6657
6658 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6659
6660         * buffer.h (readFile): Add a new argument to the method, to allow
6661         reading of old-format templates.
6662
6663 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6664
6665         * toc.C (getTocList): Get TOC from InsetWrap.
6666
6667 2002-09-16  John Levon  <levon@movementarian.org>
6668
6669         * lyxfunc.C: check tabular for cut/copy too
6670
6671 2002-09-12  John Levon  <levon@movementarian.org>
6672
6673         * LyXAction.C: tidy
6674
6675         * factory.h:
6676         * factory.C: add header
6677
6678         * paragraph_funcs.h:
6679         * paragraph_funcs.C: cleanup
6680
6681 2002-09-11  John Levon  <levon@movementarian.org>
6682
6683         * PrinterParams.h: odd/even default to true
6684
6685 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6686
6687         * PrinterParams.h: update printer parameters for new xforms dialog
6688
6689 2002-09-11  Angus Leeming  <leeming@lyx.org>
6690
6691         * lyxserver.C (read_ready): re-write to make it more transparent
6692         and to make it work in coherent fashion under Tru64 Unix.
6693
6694 2002-09-11  André Pönitz <poenitz@gmx.net>
6695
6696         * commandtags.h:
6697         * LyXAction.C:
6698         * text3.C: implement LFUN_WORDSEL
6699
6700 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6703         make floatlist_ a boost::shared_ptr<FloatList>
6704
6705         * lyxtextclass.C: include FloatList.h
6706         (LyXTextClass): initialize floatlist_
6707         (TextClassTags): add TC_NOFLOAT
6708         (Read): match "nofloat" to TC_NOFLOAT and use it.
6709         (readFloat): modify call to floatlist_
6710         (floats): ditto
6711         (floats): ditto
6712
6713         * FloatList.[Ch] (FloatList): remove commented out float
6714         initialization.
6715         (erase): new function
6716
6717 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6718
6719         * MenuBackend.C (expandToc): fix crash when there is no document
6720         open
6721
6722 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6723
6724         * many files: Add insetwrap.
6725
6726 2002-09-09  John Levon  <levon@movementarian.org>
6727
6728         * text2.C: remove confusing and awkward depth wraparound
6729
6730 2002-09-09  John Levon  <levon@movementarian.org>
6731
6732         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6733
6734         * buffer.h:
6735         * buffer.C: remove getIncludeonlyList()
6736
6737         * paragraph.C:
6738         * lyxfunc.C: remove headers
6739
6740 2002-09-09  Juergen Vigna  <jug@sad.it>
6741
6742         * text.C (getColumnNearX): fix form Michael this is most
6743         probably a cut&paste bug.
6744
6745 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6748
6749         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6750         references, ws changes.
6751
6752         * text2.C (init): update counters after init
6753         (insertParagraph): no need to set counter on idividual paragraphs.
6754         (setCounter): access the counters object in the textclass object
6755         on in the buffer object.
6756         (updateCounters): ditto
6757
6758         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6759         shared_ptr<Counters> to avoid loading counters.h in all
6760         compilation units.
6761         (LyXTextClass): initialize ctrs_
6762         (TextClassTags): add TC_COUNTER, and ...
6763         (Read): use it here.
6764         (CounterTags): new tags
6765         (readCounter): new function
6766         (counters): new funtion
6767         (defaultLayoutName): return a const reference
6768
6769         * counters.C (Counters): remove contructor
6770         (newCounter): remove a couple of unneeded statements.
6771         (newCounter): simplify a bit.
6772         (numberLabel): some small formatting changes.
6773
6774         * buffer.[Ch]: remove all traces of counters, move the Counters
6775         object to the LyXTextClass.
6776
6777 2002-09-06  Alain Castera  <castera@in2p3.fr>
6778
6779         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6780         package to set the horizontal alignment on fixed width columns.
6781
6782         * lyx_sty.C:
6783         * lyx_sty.h: added tabularnewline macro def.
6784
6785         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6786
6787 2002-09-06  John Levon  <levon@movementarian.org>
6788
6789         * LyXAction.C: tooltips for sub/superscript
6790
6791         * MenuBackend.C: a bit more verbose
6792
6793         * lyxfunc.C: tiny clean
6794
6795         * undo_funcs.C: document undo_frozen
6796
6797 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * counters.C (Counters): add missing algorithm counter.
6800
6801         * text2.C (setCounter): lookup the counter with layouts latexname
6802         instead of by section number.
6803         (setCounter): use a hackish way to lookup the correct enum
6804         counter.
6805         a float name->type change
6806         reset enum couners with counter name directly instead of depth value.
6807
6808         * counters.C (Counters): remove the push_backs, change to use the
6809         float type not the float name.
6810         (labelItem): remove unused string, float name->type change
6811
6812         * counters.h: don't include vector, loose the enums and sects vectors
6813
6814 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6817         (Read): add float->TC_FLOAT to textclassTags
6818         (Read): and handle it in the switch
6819         (readFloat): new function
6820
6821         * FloatList.C (FloatList): comment out the hardcoded float
6822         definitions.
6823
6824         * lyxlayout.h: ws change.
6825
6826 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6827
6828         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6829
6830 2002-09-03  Angus Leeming  <leeming@lyx.org>
6831
6832         * BufferView_pimpl.h: qualified name is not allowed in member
6833         declaration: WorkArea & Pimpl::workarea() const;
6834
6835         * factory.C: added using std::endl directive.
6836
6837         * text3.C: added using std::find and std::vector directives.
6838
6839 2002-08-29  André Pönitz <poenitz@gmx.net>
6840
6841         * lyxtext.h:
6842         * text2.C: remove unused member number_of_rows
6843
6844         * Makefile.am:
6845         * BufferView2.C: remove file, move contents to...
6846         * BufferView.C: ... here
6847
6848         * BufferView_pimpl.C:
6849         * factory.C: move more inset creation to factory
6850
6851         * vspace.C: avoid direct usage of LyXText, ws changes
6852
6853         * BufferView.[Ch]:
6854                 don't provide direct access to WorkArea, use two simple
6855                 acessors haveSelction() and workHeight() instead
6856
6857
6858 2002-08-29  John Levon  <levon@movementarian.org>
6859
6860         * BufferView_pimpl.C (dispatch): do not continue when
6861           no buffer
6862
6863 2002-08-28  André Pönitz <poenitz@gmx.net>
6864
6865         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6866
6867         * BufferView.h:
6868         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6869
6870 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6871
6872         * buffer.C: increment LYX_FORMAT to 221
6873
6874         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6875         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6876
6877         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6878
6879         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6880
6881 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6882
6883         * factory.C (createInset): use LyXTextClass::floats
6884
6885         * MenuBackend.C (expandFloatListInsert):
6886         (expandFloatInsert):
6887         (expandToc):
6888
6889         * text2.C (setCounter):
6890
6891         * LaTeXFeatures.C (useFloat):
6892         (getFloatDefinitions):
6893
6894         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6895
6896         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6897         floatlist_, with accessor floats().
6898
6899         * FloatList.h: remove global FloatList
6900
6901 2002-08-26  André Pönitz <poenitz@gmx.net>
6902
6903         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6904
6905         * BufferView.h:
6906         * BufferView2.C:
6907         * BufferView_pimpl.C:
6908         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6909
6910 2002-08-25  John Levon  <levon@movementarian.org>
6911
6912         * LyXAction.C: fix margin note description
6913
6914 2002-08-24  John Levon  <levon@movementarian.org>
6915
6916         * buffer.C:
6917         * bufferlist.C:
6918         * bufferview_funcs.C:
6919         * lyxfont.C:
6920         * undo_funcs.C: cleanups
6921
6922         * lyxfunc.C: disable CUT/COPY when no selection
6923
6924 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6925
6926         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6927         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6928
6929         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6930         Add backward compatibility to "mono", "gray" and "no".
6931
6932 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6933
6934         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6935         (and file_format >= 200).
6936
6937 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6938
6939         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6940
6941 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6942
6943         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6944
6945 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6946
6947         * BufferView_pimpl.C:
6948         * LyXAction.C:
6949         * buffer.C:
6950         * commandtags.h:
6951         * lyxfunc.C:
6952         * paragraph.[Ch]:
6953         * text2.C:
6954         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6955         inset and code to make it  work with the paragraph code. The inset
6956         can be anywhere in the paragraph, but will only do the expected
6957         thing in LaTeX if the layout file contains the parameter line
6958                         OptionalArgs    1
6959         (or more generally, a nonzero value) for that layout.
6960
6961 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6962
6963         * paragraph.h: remove the declaration of undefined counters class
6964         function.
6965
6966 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6967
6968         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6969         Dr. Richard Hawkins.
6970
6971 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6972
6973         * paragraph_funcs.h: remove some unneeded includes
6974
6975         * text.C (backspace): pasteParagraph now in global scipe
6976
6977         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6978         (pasteSelection): ditto
6979
6980         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6981         * paragraph_funcs.C (pasteParagraph): ... here
6982
6983 2002-08-20  André Pönitz <poenitz@gmx.net>
6984
6985         * commandtags.h: new LFUNs for swapping/copying table row/colums
6986
6987         * LyXAction.C:
6988         * lyxfunc.C: support for new lfuns
6989
6990 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * tabular.C:
6993         * buffer.[Ch]: remove NO_COMPABILITY stuff
6994
6995 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * boost.C (throw_exception): new file, with helper function for
6998         boost compiled without exceptions.
6999
7000         * paragraph.h:
7001         * lyxlength.C:
7002         * buffer.C:
7003         * ParameterStruct.h:
7004         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7005
7006         * bufferlist.C (emergencyWriteAll): use boost bind
7007
7008         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7009
7010         * text.C: include paragraph_funcs.h
7011         (breakParagraph): breakParagraph is now in global scope
7012
7013         * paragraph_funcs.[Ch]: new files
7014
7015         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7016         global scope
7017
7018         * buffer.C: include paragraph_funcs.h
7019         (insertStringAsLines): breakParagraph is now in global scope
7020
7021         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7022         paragraph_funcs.C
7023
7024         * CutAndPaste.C: include paragraph_funcs.h
7025         (cutSelection): breakParagraphConservative is now in global scope
7026         (pasteSelection): ditto
7027
7028         * buffer.h: declare oprator== and operator!= for
7029         Buffer::inset_iterator
7030
7031         * bufferlist.C (emergencyWrite): don't use fmt(...)
7032
7033         * text3.C: add using std::endl
7034
7035         * BufferView.C (moveCursorUpdate): remove default arg
7036
7037 2002-08-20  André Pönitz <poenitz@gmx.net>
7038
7039         * buffer.[Ch]: move inline functions to .C
7040
7041         * BufferView2.C:
7042         * BufferView_pimpl.C:
7043         * text.C:
7044         * buffer.[Ch]: use improved inset_iterator
7045
7046         * buffer.C:
7047         * paragraph.[Ch]: write one paragraph at a time
7048
7049 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7050
7051         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7052         style if style is not specified.
7053
7054 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7055
7056         * text2.C (setCounter): when searching for right label for a
7057         caption, make sure to recurse to parent insets (so that a caption
7058         in a minipage in a figure float works) (bug #568)
7059
7060 2002-08-20  André Pönitz <poenitz@gmx.net>
7061
7062         * text3.C: new file for LyXText::dispatch() and helpers
7063
7064         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7065
7066         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7067
7068 2002-08-19  André Pönitz <poenitz@gmx.net>
7069
7070         * lyxtext.h:
7071         * text.C: new LyXText::dispatch()
7072
7073         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7074
7075 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7076
7077         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7078
7079         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7080         Hebrew text.
7081
7082 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7083
7084         * Makefile.am: use $(variables) instead of @substitutions@
7085
7086 2002-08-15  André Pönitz <poenitz@gmx.net>
7087
7088         * lyxfunc.C:
7089         * BufferView_pimpl.C: streamlining mathed <-> outer world
7090         interaction
7091
7092         * commandtags.h:
7093         * LyXAction.C: remove unused LFUN_MATH
7094
7095 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7098
7099 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * paragraph.C (Paragraph): reformat a bit
7102         (cutIntoMinibuffer): use builtin InsetList function instad of
7103         doing it manually.
7104         (getInset): ditto
7105
7106         * buffer.C: include boost/bind.hpp, add using std::for_each
7107         (writeFileAscii): use ParagraphList iterators
7108         (validate): use for_each for validate traversal of paragraphs
7109         (getBibkeyList): use ParagraphList iterators
7110         (resizeInsets): use for_each to resizeInsetsLyXText for all
7111         paragraphs.
7112         (getParFromID): use ParagraphList iterators
7113
7114         * BufferView2.C (lockInset): use paragraph list and iterators
7115
7116 2002-08-14  John Levon  <levon@movementarian.org>
7117
7118         * lyxserver.C: remove spurious xforms include
7119
7120 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7121
7122         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7123
7124 2002-08-13  André Pönitz <poenitz@gmx.net>
7125
7126         * LyXAction.[Ch]:
7127         * lyxfunc.C: further cleaning
7128
7129 2002-08-13  André Pönitz <poenitz@gmx.net>
7130
7131         * funcrequest.h: new constructor
7132
7133         * funcrequest.C: move stuff here from .h
7134
7135         * Makefile.am:
7136         * BufferView_pimpl.C:
7137         * LyXAction.C:
7138         * toc.C:
7139         * lyxfunc.C: subsequent changes
7140
7141         * lyxfunc.h: new view() member function
7142
7143         * lyxfunc.C: subsequent changes
7144
7145 2002-08-13  Angus Leeming  <leeming@lyx.org>
7146
7147         * BufferView2.C:
7148         * BufferView_pimpl.C:
7149         * buffer.C:
7150         * converter.C:
7151         * importer.C:
7152         * lyxfunc.C:
7153         * lyxvc.C:
7154         * toc.C:
7155         * vc-backend.C:
7156         changes due to the changed LyXView interface that now returns references
7157         to member variables not pointers.
7158
7159 2002-08-13  Angus Leeming  <leeming@lyx.org>
7160
7161         * WordLangTuple (word, lang_code): return references to strings,
7162         not strings.
7163
7164         * BufferView.h:
7165         * SpellBase.h:
7166         * lyxtext.h: forward-declare WordLangTuple.
7167
7168         * BufferView2.C:
7169         * ispell.C:
7170         * pspell.C:
7171         * text.C: #include "WordLangTuple.h".
7172
7173         * lyxtext.h:
7174         * text.C: (selectNextWordToSpellcheck): constify return type.
7175
7176 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7177
7178         * buffer.C:
7179         * buffer.h:
7180         * lyxtext.h:
7181         * paragraph.C:
7182         * paragraph_pimpl.h:
7183         * text.C:
7184         * text2.C:
7185         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7186         suggested by Angus.
7187         Made updateCounter always count from start of buffer, and removed
7188         second argument (par).
7189         Reverted floats number display to '#'. Perhaps I'll try again when the
7190         code base is sanitized a bit.
7191
7192 2002-08-12  Angus Leeming  <leeming@lyx.org>
7193
7194         * buffer.[Ch] (getLabelList): constify.
7195
7196 2002-08-07  André Pönitz <poenitz@gmx.net>
7197
7198         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7199
7200         * funcrequest.h: extension to keep mouse (x,y) position
7201
7202 2002-08-12  Juergen Vigna  <jug@sad.it>
7203
7204         * BufferView2.C (insertErrors): forbid undo when inserting error
7205         insets.
7206
7207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7208
7209 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * ParagraphList.[Ch]: new files
7212
7213         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7214
7215         * BufferView2.C (lockInset): ParagraphList changes
7216         * toc.C: ditto
7217         * text2.C: ditto
7218         * bufferlist.C: ditto
7219         * buffer.h: ditto
7220         * buffer.C: ditto
7221
7222 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7225         unused class variable counter_,
7226
7227         * paragraph.[Ch] (getFirstCounter): delete unused function
7228
7229         * counters.C: include LAssert.h
7230         (reset): add a new function with no arg, change other version to
7231         not have def. arg and to not allow empty arg.
7232
7233         * text2.C (setCounter): remove empty arg from call to Counters::reset
7234
7235 2002-08-11  John Levon  <levon@movementarian.org>
7236
7237         * Makefile.am: add WordLangTuple.h
7238
7239 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7242         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7243
7244         * insets/insettext.C: InsetList changes
7245
7246         * graphics/GraphicsSupport.C (operator()): InsetList changes
7247
7248         * toc.C (getTocList): InsetList changes
7249
7250         * paragraph_pimpl.[Ch]: InsetList changes
7251
7252         * paragraph.[Ch]: InsetList changes
7253
7254         * buffer.C (inset_iterator): InsetList changes
7255         (setParagraph): ditto
7256         * buffer.h (inset_iterator): ditto
7257         * iterators.C (operator++): ditto
7258         * iterators.h: ditto
7259
7260         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7261
7262         * InsetList.[Ch]: new files, most InsetList handling moved out of
7263         paragraph.C.
7264
7265         * BufferView2.C (removeAutoInsets): InsetList changes
7266         (lockInset): ditto
7267         (ChangeInsets): ditto
7268
7269 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * paragraph_pimpl.h (empty): new function
7272
7273         * paragraph.[Ch] (empty): new function
7274
7275         * other files: use the new Paragraph::empty function
7276
7277 2002-08-09  John Levon  <levon@movementarian.org>
7278
7279         * lyxtext.h: remove unused refresh_height
7280
7281 2002-08-09  John Levon  <levon@movementarian.org>
7282
7283         * Makefile.am:
7284         * sgml.h:
7285         * sgml.C:
7286         * buffer.C:
7287         * paragraph.h:
7288         * paragraph.C: move sgml char escaping out of paragraph
7289
7290         * paragraph.h:
7291         * paragraph.C: remove id setter
7292
7293         * buffer.C:
7294         * paragraph.C:
7295         * paragraph_pimpl.C: remove dead tex_code_break_column
7296
7297         * bufferview_funcs.C: small cleanup
7298
7299         * lyxfunc.C: remove dead proto
7300
7301         * lyxtext.h: make some stuff private. Remove some dead stuff.
7302
7303         * lyxgluelength.C: make as[LyX]String() readable
7304
7305 2002-08-08  John Levon  <levon@movementarian.org>
7306
7307         * LyXAction.h:
7308         * LyXAction.C:
7309         * MenuBackend.C:
7310         * ToolbarDefaults.C:
7311         * lyxfunc.C:
7312         * lyxrc.C:
7313         * toc.C: lyxaction cleanup
7314
7315 2002-08-08  John Levon  <levon@movementarian.org>
7316
7317         * BufferView2.C: small cleanup
7318
7319         * lyxfind.h:
7320         * lyxfind.C: move unnecessary header into the .C
7321
7322 2002-08-08  John Levon  <levon@movementarian.org>
7323
7324         * funcrequest.h: just tedious nonsense
7325
7326         * lyx_main.h:
7327         * lyx_main.C: cleanups
7328
7329         * buffer.C:
7330         * vspace.C: remove dead header lyx_main.h
7331
7332 2002-08-07  Angus Leeming  <leeming@lyx.org>
7333
7334         * Paragraph.[Ch]:
7335         * paragraph_pimpl.h:
7336         Forward declare class Counters in paragraph.h by moving the ctrs member
7337         variable into Paragraph::Pimpl.
7338         (counters): new method, returning a reference to pimpl_->ctrs.
7339
7340         * text2.C: ensuing changes.
7341
7342 2002-08-07  John Levon  <levon@movementarian.org>
7343
7344         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7345
7346         * BufferView_pimpl.C: announce X selection on double/triple
7347           click
7348
7349         * lyx_main.C: use correct bool in batch dispatch
7350
7351         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7352
7353 2002-08-07  André Pönitz <poenitz@gmx.net>
7354
7355         * funcrequest.h: new class to wrap a kb_action and its argument
7356
7357         * BufferView.[Ch]:
7358         * BufferView_pimpl[Ch]:
7359         * LaTeX.C:
7360         * LyXAction.[Ch]:
7361         * lyxfunc.[Ch]:
7362         * lyxrc.C: subsequent changes
7363
7364
7365 2002-08-07  John Levon  <levon@movementarian.org>
7366
7367         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7368           document options change.
7369
7370 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7371
7372         * counters.[Ch]
7373         * text2.C
7374         * paragraph.[Ch]
7375         * makefile.am: move counters functionality over from
7376         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7377
7378 2002-08-06  John Levon  <levon@movementarian.org>
7379
7380         * WordLangTuple.h: new file for word + language code tuple
7381
7382         * SpellBase.h:
7383         * pspell.h:
7384         * pspell.C:
7385         * ispell.h:
7386         * ispell.C:
7387         * lyxtext.h:
7388         * text.C:
7389         * text2.C:
7390         * BufferView.h:
7391         * BufferView2.C: use WordLangTuple
7392
7393         * layout.h:
7394         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7395
7396 2002-08-06  John Levon  <levon@movementarian.org>
7397
7398         * lyx_main.C: fix cmdline batch handling
7399
7400 2002-08-06  André Pönitz <poenitz@gmx.net>
7401
7402         * lyxrc.C: set default for show_banner to true
7403
7404 2002-08-06  John Levon  <levon@movementarian.org>
7405
7406         * pspell.C: fix a crash, and allow new aspell to work
7407
7408 2002-08-06  John Levon  <levon@movementarian.org>
7409
7410         * lyxfunc.C:
7411         * kbmap.C: small cleanup
7412
7413         * vspace.h:
7414         * vspace.C: add const
7415
7416 2002-08-05  John Levon  <levon@movementarian.org>
7417
7418         * LyXAction.C: back to tabular-insert
7419
7420 2002-08-04  John Levon  <levon@movementarian.org>
7421
7422         * BufferView.h:
7423         * BufferView.C: cosmetic change
7424
7425         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7426
7427         * bufferlist.C:
7428         * buffer.h:
7429         * buffer.C:
7430         * lyxcb.h:
7431         * lyxcb.C:
7432         * lyxserver.C:
7433         * lyxvc.C:
7434         * vc-backend.C:
7435         * BufferView2.C: purge all "Lyx" not "LyX" strings
7436
7437         * lyxcursor.h:
7438         * lyxcursor.C: attempt to add some documentation
7439
7440         * lyxfunc.C:
7441         * commandtags.h:
7442         * LyXAction.C:
7443         * ToolbarDefaults.C:
7444         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7445           merge with LFUN_TABULAR_INSERT
7446
7447         * Makefile.am:
7448         * SpellBase.h:
7449         * ispell.h:
7450         * ispell.C:
7451         * pspell.h:
7452         * pspell.C: split up i/pspell implementations into separate
7453           files, many cleanups
7454
7455         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7456
7457         * text2.C: some cleanup
7458
7459         * lyxfunc.C: don't check for isp_command == "none" any more, it
7460           didn't make any sense
7461
7462 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7463
7464         * counters.[Ch]
7465         * text2.C
7466         * paragraph.[Ch]
7467         * makefile.am: move counters functionality over
7468         from text2.C/paragraph.[Ch] to counters.[Ch], and
7469         make proper C++.
7470 2002-08-02  John Levon  <levon@movementarian.org>
7471
7472         * buffer.C: s/lyxconvert/lyx2lyx/
7473
7474 2002-08-02  Angus Leeming  <leeming@lyx.org>
7475
7476         * lyxlex.C: revert John's change as it breaks reading of the user
7477         preamble.
7478
7479 2002-08-02  Angus Leeming  <leeming@lyx.org>
7480
7481         * importer.C (Import):
7482         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7483         changes due to LyXView::view() now returning a boost::shared_ptr.
7484
7485 2002-08-02  John Levon  <levon@movementarian.org>
7486
7487         * lyxlex.C: small cleanup
7488
7489 2002-08-02  John Levon  <levon@movementarian.org>
7490
7491         * text2.C (status): small cleanup, no logic change
7492
7493 2002-08-01  John Levon  <levon@movementarian.org>
7494
7495         * buffer.h:
7496         * buffer.C (writeFile): don't output alerts, caller
7497           handles this
7498
7499         * bufferlist.C:
7500         * lyx_cb.C: from above
7501
7502         * lyxfunc.C: allow to open non-existent files
7503
7504 2002-07-31  John Levon  <levon@movementarian.org>
7505
7506         * lyxserver.C: don't let incidental errors get
7507           in the way (errno)
7508
7509 2002-07-30  John Levon  <levon@movementarian.org>
7510
7511         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7512
7513 2002-07-30  John Levon  <levon@movementarian.org>
7514
7515         * lyxserver.h:
7516         * lyxserver.C: remove I/O callback too
7517
7518 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7519
7520         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7521         log.
7522
7523 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * many files: strip,frontStrip -> trim,ltrim,rtrim
7526
7527 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * PrinterParams.h: remove extern containsOnly, and include
7530         support/lstrings.h instead.
7531
7532         * LaTeX.C (scanAuxFile): modify because of strip changes
7533         (deplog): ditto
7534         * buffer.C (makeLaTeXFile): ditto
7535         * bufferparams.C (writeFile): ditt
7536         * lyxfont.C (stateText): ditto
7537         * lyxserver.C (read_ready): ditto
7538         * vc-backend.C (scanMaster): ditto
7539
7540         * BufferView_pimpl.h: ws changes
7541
7542         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7543
7544 2002-07-26  André Pönitz <poenitz@gmx.net>
7545
7546         * kb_sequence.C: remove unnedred usings
7547
7548 2002-07-26  Juergen Vigna  <jug@sad.it>
7549
7550         * lyxfind.C (LyXReplace): we have to check better if the returned
7551         text is not of theLockingInset()->getLockingInset().
7552
7553 2002-07-25  Juergen Vigna  <jug@sad.it>
7554
7555         * lyxfind.C (LyXReplace): don't replace if we don't get the
7556         right LyXText.
7557
7558         * undo_funcs.C (createUndo): remove debugging code.
7559
7560 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7561
7562         * buffer.C (parseSingleLyXformat2Token): Use default placement
7563         when reading old floats.
7564
7565         * FloatList.C (FloatList): Change the default placement of figure
7566         and tables to "tbp".
7567
7568 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7569
7570         * MenuBackend.C: using std::max
7571
7572 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7573
7574         * MenuBackend.C (expandToc):
7575         (expandToc2): code moved from xforms menu frontend. It is now
7576         generic and TOCs are transparent to menu frontends.
7577
7578 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * toc.C (getTocList): protect against buf=0
7581
7582         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7583         Menu as first parameter. Now, this calls itself recursively to
7584         expand a whole tree (this will be useful for TOC handling)
7585         (expandFloatInsert): remove 'wide' version of floats
7586
7587         * MenuBackend.h (submenuname): returns the name of the submenu.
7588         (submenu): returns the submenu itself, provided it has been
7589         created by MenuBackend::expand
7590
7591 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7592
7593         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7594         insets which have noFontChange == true. (bug #172)
7595
7596 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7597
7598         * BufferView_pimpl.C: add connection objects and use them...
7599         (Pimpl): here.
7600
7601 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * MenuBackend.C (expandLastfiles):
7604         (expandDocuments):
7605         (expandFormats):
7606         (expandFloatListInsert):
7607         (expandFloatInsert):
7608         (expand): split expand in parts
7609
7610 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7611
7612         * lyx_gui.C: use lyx_gui::exit()
7613
7614 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7615
7616         * LyXAction.C: show the failing pseudo action
7617
7618 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * buffer.C (readFile): Run the lyxconvert script in order to read
7621         old files.
7622
7623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * LyXAction.C:
7626         * commandtags.h:
7627         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7628
7629 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7630
7631         * LyXAction.C:
7632         * commandtags.h:
7633         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7634
7635 2002-07-22  Herbert Voss  <voss@lyx.org>
7636
7637         * lengthcommon.C:
7638         * lyxlength.[Ch]: add support for the vertical lengths
7639
7640 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7641
7642         * toc.[Ch]: std:: fixes
7643
7644 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7645
7646         * lyxrc.C: do not include lyx_main.h
7647
7648         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7649         for layouts
7650
7651         * lyxrc.C:
7652         * encoding.C:
7653         * bufferlist.C:
7654         * BufferView2.C: include "lyxlex.h"
7655
7656         * tabular.h:
7657         * bufferparams.h: do not #include "lyxlex.h"
7658
7659         * lyxtextclasslist.C (Add): remove method
7660         (classlist): renamed to classlist_
7661
7662         * paragraph_pimpl.C:
7663         * paragraph.C:
7664         * text2.C:
7665         * CutAndPaste.C:
7666         * bufferview_funcs.C:
7667         * bufferlist.C:
7668         * text.C:
7669         * LaTeXFeatures.C:
7670         * buffer.C:
7671         * toc.C (getTocList): use BufferParams::getLyXTextClass
7672
7673         * toc.C (getTocList): use InsetFloat::addToToc
7674
7675         * toc.[Ch]: new files, containing helper functions to handle table
7676         of contents
7677
7678         * lyxfunc.C (dispatch): no need to remove spaces around command
7679         given as a string
7680         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7681         first command of the sequence; it is not very clever, but I do not
7682         have a better idea, actually
7683
7684         * LyXAction.C (LookupFunc): make sure to remove space at the
7685         beginning and end of the command
7686
7687 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7688
7689         * MenuBackend.C (getMenubar): new method: return the menubar of
7690         this menu set
7691         (read): treat differently reading of menu and menubar (in
7692         particular, the menubar has no name now)
7693         (Menu::menubar): remove
7694
7695         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7696         saving is finished
7697
7698 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7699
7700         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7701         a bibitem inset in a RTL paragraph.
7702
7703 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7704
7705         * paragraph_pimpl.C: constify
7706
7707         * BufferView_pimpl.C:
7708         * LaTeX.C:
7709         * lyxfunc.C: fix dispatch in a nicer way
7710
7711 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7712
7713         * lyxfunc.C (dispatch):
7714         * BufferView_pimpl.C:
7715         * BufferView_pimpl.h:
7716         * BufferView.C:
7717         * BufferView.h: rename Dispatch() to dispatch()
7718
7719         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7720
7721         * lyxlayout.C (Read): honor DependsOn tag
7722
7723         * lyxlayout.[Ch] (depends_on): new method
7724
7725         * version.C.in: update lyx_docversion
7726
7727         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7728
7729         * paragraph.C (validate): remove from here...
7730         * paragraph_pimpl.C (validate): ... and move here
7731         (isTextAt): make it const
7732
7733         * buffer.C (getLists): ws cleanup
7734
7735 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7736
7737         * language.C (read): Use iso8859-1 encoding in latex_lang
7738         (this prevents LyX from crashing when using iso10646-1 encoding).
7739
7740 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7741
7742         * text2.C (toggleInset): if cursor is inside an inset, close the
7743         inset and leave cursor _after_ it
7744
7745 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * lyxfunc.C: move minibuffer completion handling out of here
7748
7749 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7750
7751         * BufferView_pimpl.C:
7752         * LaTeX.C: fix dispatch calls
7753
7754 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7755
7756         * text.C (drawChars): Fix Arabic text rendering.
7757
7758 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7759
7760         * LyXAction.C:
7761         * commandtags.h:
7762         * lyxfunc.C: remove message-push/pop
7763
7764         * lyxserver.C:
7765         * lyxfunc.h:
7766         * lyxfunc.C: rationalise some code by removing verboseDispatch
7767           in favour of a bool argument to dispatch()
7768
7769 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * lyx_main.C (init): make sure to read symlinks as absolute paths
7772
7773 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7774
7775         * lyxfunc.h:
7776         * lyxfunc.C: no need for commandshortcut to be a member
7777
7778 2002-07-15  André Pönitz <poenitz@gmx.net>
7779
7780         * converter.C: add support for $$s (scripts from lib/scripts dir)
7781         * lyx_main.C: white space
7782
7783 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7784
7785         * bufferlist.C:
7786         * lyxrc.h:
7787         * lyxrc.C: remove second exit confirmation
7788
7789 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * BufferView.h:
7792         * BufferView.C:
7793         * BufferView2.C:
7794         * BufferView_pimpl.h:
7795         * BufferView_pimpl.C:
7796         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7797
7798 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * MenuBackend.C (expand): add numeric shortcuts to document menu
7801
7802         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7803
7804 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7805
7806         * lyxfont.C (setLyXFamily):
7807         (setLyXSeries):
7808         (setLyXShape):
7809         (setLyXSize):
7810         (setLyXMisc):
7811         (lyxRead):
7812         * debug.C (value):
7813         * buffer.C (asciiParagraph): use ascii_lowercase
7814
7815 2002-07-15  Mike Fabian  <mfabian@suse.de>
7816
7817         * lyxlex_pimpl.C (search_kw):
7818         * lyxlex.C (getLongString):
7819         * converter.h (operator<):
7820         * converter.C (operator<):
7821         * buffer.C (parseSingleLyXformat2Token):
7822         (asciiParagraph):
7823         * ToolbarDefaults.C (read):
7824         * MenuBackend.C (checkShortcuts):
7825         (read):
7826         * LColor.C (getFromGUIName):
7827         (getFromLyXName): use the compare_ascii_no_case instead of
7828         compare_no_case, because in turkish, 'i' is not the lowercase
7829         version of 'I', and thus turkish locale breaks parsing of tags.
7830
7831 2002-07-16  Angus Leeming  <leeming@lyx.org>
7832
7833         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7834         now takes a Buffer const & argument.
7835
7836 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * BufferView.C (resize): check there's a buffer to resize
7839
7840 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7841
7842         * lyxfunc.C: remove dead code
7843
7844         * lyxserver.h:
7845         * lyxserver.C: use lyx_guii::set_read_callback
7846
7847 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7848
7849         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7850         an inset in a RTL paragraph.
7851
7852 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * lyxfunc.C: repaint after a font size update
7855
7856 2002-07-15  André Pönitz <poenitz@gmx.net>
7857
7858         * lyxlength.C: inBP should be able to return negative values
7859
7860 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * lyxfunc.C: use lyx_gui::update_fonts()
7863
7864 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * lyxfunc.C: use lyx_gui::update_color()
7867
7868 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * bufferlist.C:
7871         * lyxfunc.h:
7872         * lyxfunc.C:
7873         * lyxrc.h:
7874         * lyxrc.C: remove file->new asks for name option, and let
7875           buffer-new take an argument
7876
7877 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * BufferView_pimpl.C: remove unneeded extra repaint()
7880
7881 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * LyXAction.C: allow command-sequence with NoBuffer
7884
7885         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7886
7887 2002-07-10  Angus Leeming  <leeming@lyx.org>
7888
7889         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7890
7891 2002-07-09  Angus Leeming  <leeming@lyx.org>
7892
7893         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7894
7895 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * lengthcommon.h: whitespace
7898
7899         * lyxfunc.C: update scrollbar after goto paragraph
7900
7901         * lyxtext.h: factor out page break drawing, and fix it so
7902           page break/added space paints as selected nicely
7903
7904 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7905
7906         * BufferView_pimpl.C: add FIXMEs, clean up a little
7907
7908 2002-07-09  André Pönitz <poenitz@gmx.net>
7909
7910         * lyxfont.[Ch]: support for wasy symbols
7911
7912 2002-07-08  André Pönitz <poenitz@gmx.net>
7913
7914         * BufferView_pimpl.C: apply John's patch for #93.
7915
7916 2002-07-05  Angus Leeming  <leeming@lyx.org>
7917
7918         * BufferView_pimpl.C (buffer): generate previews if desired.
7919
7920         * LColor.h: add "preview" to the color enum.
7921
7922         * LColor.C (LColor): add a corresponding entry to the items array.
7923
7924         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7925         with this buffer.
7926
7927 2002-07-05  Angus Leeming  <leeming@lyx.org>
7928
7929         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7930         The body of the code is now in the method that is passed an ostream &
7931         rather than a file name.
7932         Pass an additional only_preamble parameter, useful for the forthcoming
7933         preview stuff.
7934
7935 2002-07-03  André Pönitz <poenitz@gmx.net>
7936
7937         * lyxfunc.C: simplify getStatus() a bit for math stuff
7938
7939 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7940
7941         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7942
7943 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * text.C (changeRegionCase): do not change case of all the
7946         document when region ends at paragraph end (bug #461)
7947
7948 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * paragraph.C (startTeXParParams):
7951         (endTeXParParams): add \protect when necessary
7952
7953 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * BufferView_pimpl.C (workAreaExpose): remove warning
7956
7957 2002-06-27  Angus Leeming  <leeming@lyx.org>
7958
7959         * Makefile.am: add lyxlayout_ptr_fwd.h.
7960
7961 2002-06-26  André Pönitz <poenitz@gmx.net>
7962
7963         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7964
7965 2002-06-25  Angus Leeming  <leeming@lyx.org>
7966
7967         * lyxfunc.C (dispatch): Comment out the call to
7968         grfx::GCache::changeDisplay. The method no longer exists now that the
7969         pixmap generation part of the graphics loader has been moved into
7970         InsetGraphics.
7971
7972 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7973
7974         * text2.C: layout as layout
7975
7976         * text.C: layout as layout
7977
7978         * tabular.C (OldFormatRead): layout as layout
7979
7980         * paragraph_pimpl.C (TeXDeeper): layout as layout
7981         (realizeFont): layout as layout
7982
7983         * paragraph.C (writeFile): layout as layout
7984         (validate): layout as layout
7985         (getFont): layout as layout
7986         (getLabelFont): layout as layout
7987         (getLayoutFont): layout as layout
7988         (breakParagraph): layout as layout
7989         (stripLeadingSpaces): layout as layout
7990         (getEndLabel): layout as layout
7991         (getMaxDepthAfter): layout as layout
7992         (applyLayout): layout as layout
7993         (TeXOnePar): layout as layout
7994         (simpleTeXOnePar): layout as layout
7995         (TeXEnvironment): layout as layout
7996         (layout): layout as layout
7997         (layout): layout as layout
7998
7999         * lyxtextclass.C (compare_name): new functor to work with
8000         shared_ptr, layout as layout
8001         (Read): layout as layout
8002         (hasLayout): layout as layout
8003         (operator): layout as layout
8004         (delete_layout): layout as layout
8005         (defaultLayout): layout as layout
8006
8007         * lyxlayout_ptr_fwd.h: new file
8008
8009         * lyxlayout.C (Read): layout as layout
8010
8011         * lyx_cb.C (MenuInsertLabel): layout as layout
8012
8013         * bufferlist.C (newFile): layout as layout
8014
8015         * buffer.C (readLyXformat2): layout as layout
8016         (parseSingleLyXformat2Token): layout as layout
8017         (insertStringAsLines): layout as layout
8018         (asciiParagraph): layout as layout
8019         (latexParagraphs): layout as layout
8020         (makeLinuxDocFile): layout as layout
8021         (simpleLinuxDocOnePar): layout as layout
8022         (makeDocBookFile): layout as layout
8023         (simpleDocBookOnePar): layout as layout
8024         (getLists): layout as layout
8025
8026         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8027
8028         * CutAndPaste.C (cutSelection): layout as layout
8029         (pasteSelection): layout as layout
8030         (SwitchLayoutsBetweenClasses): layout as layout
8031
8032         * BufferView_pimpl.C (Dispatch): layout as layout
8033         (smartQuote): layout as layout
8034
8035         * BufferView2.C (unlockInset): layout as layout
8036
8037 2002-06-24  André Pönitz <poenitz@gmx.net>
8038
8039         * lyxfunc.C: fix #487
8040
8041 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * lyxrc.h:
8044         * lyxrc.C:
8045         * lyxfunc.C: remove display_shortcuts, show_banner
8046
8047 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * Buffer_pimpl.C: oops, update on resize
8050
8051 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * buffer.C:
8054         * converter.C:
8055         * exporter.C:
8056         * lyxfunc.C:
8057         * BufferView.h:
8058         * BufferView.C: use repaint()
8059
8060         * BufferView_pimpl.h:
8061         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8062           as it's a clearer description. Remove superfluous
8063           redraws.
8064
8065 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * text.C: fix bug 488. Not ideal, but getting
8068           getWord() to work properly for the insets that
8069           matter is more difficult ...
8070
8071 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * BufferView_pimpl.C:
8074         * LyXAction.C:
8075         * commandtags.h:
8076         * lyxfunc.C: remove the six million index lyxfuncs to just
8077           one, and DTRT (bug 458)
8078
8079 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8080
8081         * BufferView.h:
8082         * BufferView.C:
8083         * BufferView_pimpl.h:
8084         * BufferView_pimpl.C: clean up resize() stuff,
8085           and unnecessary updateScreen()s
8086
8087 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * BufferView.h:
8090         * BufferView.C:
8091         * BufferView_pimpl.h:
8092         * BufferView_pimpl.C:
8093         * lyxfind.h:
8094         * lyxfind.C:
8095         * minibuffer.C: remove focus management of workarea,
8096           not needed. Use screen's greyOut()
8097
8098 2002-06-17  Herbert Voss  <voss@lyx.org>
8099
8100         * converter.C: (convert) do not post a message, when converting
8101         fails, let the calling function decide what to do in this case
8102
8103 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8104
8105         * lyxfunc.C: tidy up a little
8106
8107 2002-06-16    <alstrup@diku.dk>
8108
8109         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8110         Got rid of FORMS_H_LOCATION include. Now we are
8111         GUII.
8112
8113 2002-06-15  LyX Development team  <lyx@rilke>
8114
8115         * buffer.[Ch] (sgmlOpenTag):
8116         (sgmlCloseTag): Added support for avoiding pernicious mixed
8117         content. Return number of lines written.
8118
8119         (makeLinuxDocFile):
8120         (makeDocBookFile): Fixed calls to sgml*Tag.
8121         Simple white space clean.
8122
8123         (simpleDocBookOnePar): Simple white space clean.
8124
8125         * tabular.[Ch] (docBook): Renamed to docbook and got another
8126         argument to related with the pernicious mixed content.
8127
8128         (docbookRow): Fixed calls for docbook inset method.
8129
8130 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8131
8132         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8133         so it's X11 independent.
8134
8135         * kb*.[Ch]: ditto.
8136
8137         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8138
8139 2002-06-15  Lyx Development team  <lyx@electronia>
8140
8141         * intl.h: Renamed getTrans to getTransManager.
8142
8143 2002-06-14  Angus Leeming  <leeming@lyx.org>
8144
8145         * Makefile.am: nuke forgotten stl_string_fwd.h.
8146
8147 2002-06-12  Angus Leeming  <leeming@lyx.org>
8148
8149         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8150
8151 2002-06-13  Angus Leeming  <leeming@lyx.org>
8152
8153         * LaTeX.C:
8154         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8155
8156 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8157
8158         * kbmap.C (getiso): add support for cyrillic and greek
8159
8160 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * BufferView.h:
8163         * BufferView.C:
8164         * BufferView_pimpl.h:
8165         * BufferView_pimpl.C: move bogus scrolling logic
8166           to xforms
8167
8168 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8169
8170         * lyxfunc.C:
8171         * BufferView_pimpl.C: view->resize() change
8172
8173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * BufferView_pimpl.C: topCursorVisible
8176           prototype change
8177
8178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * Makefile.am:
8181         * lyx_gui.h:
8182         * lyx_gui.C: move to frontends/
8183
8184         * main.C:
8185         * lyx_main.h:
8186         * lyx_main.C: changes from above
8187
8188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8189
8190         * intl.C:
8191         * intl.h:
8192         * kbmap.C:
8193         * kbsequence.C:
8194         * lyx_cb.C:
8195         * lyx_main.C: minor tidy
8196
8197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * BufferView_pimpl.h:
8200         * BufferView_pimpl.C:
8201         * BufferView.h:
8202         * BufferView.C: make painter() const,
8203           remove dead code
8204
8205         * BufferView2.C: use screen() accessor
8206
8207         * lyx_main.h:
8208         * lyx_main.C: some minor cleanup
8209
8210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * BufferView_pimpl.h:
8213         * BufferView_pimpl.C: remove enter/leaveView,
8214           use workHeight()
8215
8216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8217
8218         * BufferView.h:
8219         * BufferView.C:
8220         * BufferView2.C:
8221         * BufferView_pimpl.h:
8222         * BufferView_pimpl.C: only construct screen once,
8223           rename
8224
8225         * lyxrc.C: remove pointless comment
8226
8227 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8228
8229         * BufferView.h:
8230         * BufferView.C: remove active() and belowMouse()
8231
8232         * BufferView_pimpl.h:
8233         * BufferView_pimpl.C: use workarea() not workarea_,
8234           and make it use a scoped_ptr instead
8235
8236 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8237
8238         * lyx_gui.C: add debug message on BadWindow
8239
8240 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8241
8242         * sp_spell.C: fdopen is not part of the C++ standard.
8243
8244         * paragraph.C (InsetIterator): use >= instead of ==
8245
8246 2002-06-07  Angus Leeming  <leeming@lyx.org>
8247
8248         Fixes needed to compile with Compaq cxx 6.5.
8249         * BufferView_pimpl.C:
8250         * DepTable.C:
8251         * buffer.C:
8252         * converter.C:
8253         * encoding.C:
8254         * lyx_gui.C:
8255         * lyx_main.C:
8256         * lyxtextclasslist.C:
8257         * minibuffer.C:
8258         * sp_spell.C:
8259         * tabular_funcs.C:
8260         * vc-backend.C:
8261         all c-library variables have been moved into namespace std. Wrap
8262         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8263
8264         * lyxlength.C:
8265         * tabular-old.C:
8266         * tabular.C:
8267         Add a using std::abs declaration.
8268
8269         * kbmap.h (modifier_pair):
8270         * paragraph.h (InsetTable, InsetList):
8271         * lyxfont.h (FontBits):
8272         type definition made public.
8273
8274         * bufferlist.C (emergencyWriteAll): the compiler complains that
8275         there is more than one possible lyx::class_fun template to choose from.
8276         I re-named the void specialisation as lyx::void_class_fun.
8277
8278         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8279
8280         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8281         the compiler is is unable to find tostr in write_attribute.
8282
8283 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8284
8285         * buffer.C (sgmlError): hide #warning
8286
8287 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8288
8289         * xtl/*: get rid of xtl, which is not in use anyway
8290
8291         * LyXAction.C (init):
8292         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8293         were unimplemented xtl experimentation
8294
8295 2002-06-04  André Pönitz <poenitz@gmx.net>
8296
8297         * lyxfunc.C: disable array operation on simple formulae
8298
8299 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8300
8301         * converter.C: constify a bit
8302
8303 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * lyx_gui.C: check xforms version correctly
8306
8307 2002-04-30  Herbert Voss  <voss@lyx.org>
8308
8309         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8310         "keep" option
8311
8312 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8315           attempt to register it with a VCS)
8316
8317 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8318
8319         * lyx_main.C (init): honor variables LYX_DIR_13x and
8320         LYX_USERDIR_13x
8321
8322 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * buffer.h:
8325         * buffer.C:
8326         * lyx_main.C: fix a crash on bad command line,
8327           and give a useful exit status on error
8328
8329         * lyxfunc.C (doImport): allow -i lyx to work
8330
8331 2002-03-30  André Pönitz <poenitz@gmx.net>
8332
8333         * lyxfunc.C: mathed font changes
8334
8335 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * LaTeX.C:
8338         * importer.h:
8339         * importer.C:
8340         * lyx_sty.h:
8341         * lyx_sty.C:
8342         * lyxlex.C:
8343         * lyxrow.h:
8344         * lyxtext.h:
8345         * paragraph.h:
8346         * paragraph.C:
8347         * texrow.h:
8348         * texrow.C:
8349         * text.C:
8350         * trans_mgr.h: srcdocs, and some minor cleanups
8351
8352 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8353
8354         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8355         call getFont all the time)
8356
8357 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8358
8359         * switch from SigC signals to boost::signals
8360
8361 2002-05-29  André Pönitz <poenitz@gmx.net>
8362
8363         * paragraph_pimpl.C (getChar): don't call size() too often...
8364
8365 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * paragraph_pimpl.C (insertChar): do not try to update tables when
8368         appending (pos == size())
8369
8370         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8371         in order to reduce drastically the number of comparisons needed to
8372         parse a large document
8373
8374 2002-05-29  André Pönitz <poenitz@gmx.net>
8375
8376         * text.C:
8377         * text2.C:
8378         * lyxtextclass.C:
8379         * sp_pspell.h:
8380         * textclasslist.[Ch]:
8381         * sp_ispell.h: whitespace change
8382
8383 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8384
8385         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8386         lyxaction directly now.
8387
8388 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8389
8390         * trans.C:
8391         * lyxfont.C:
8392         * lyxvc.C: remove unused headers
8393
8394 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8395
8396         * Makefile.am:
8397         * buffer.h:
8398         * undostack.h:
8399         * undostack.C:
8400         * undo_funcs.h:
8401         * undo_funcs.C: some cleanups. Use shared_ptr
8402           and a template for the undo stacks.
8403
8404 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * BufferView_pimpl.h:
8407         * BufferView_pimpl.C:
8408         * kbmap.h:
8409         * kbmap.C:
8410         * kbsequence.h:
8411         * kbsequence.C:
8412         * lyxfunc.h:
8413         * lyxfunc.C:
8414         * text2.C: use key_state/mouse_state
8415
8416 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8417
8418         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8419         and LSubstring
8420
8421         * chset.C: change include order
8422         (loadFile): use boost regex and get rid of LRegex and LSubstring
8423
8424         * Makefile.am (BOOST_LIBS): new variable
8425         (lyx_LDADD): use it
8426
8427         * LaTeX.C: change include order.
8428         (scanAuxFile): use boost regex and get rid of LRegex and
8429         LSubstring
8430         (deplog): ditto
8431
8432 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * ColorHandler.h:
8435         * ColorHandler.C:
8436         * FontInfo.h:
8437         * FontInfo.C: moved to frontends/xforms/
8438
8439         * FontLoader.h:
8440         * FontLoader.C: moved into frontends for GUIIzation
8441
8442         * Makefile.am:
8443         * lyx_gui.C:
8444         * lyxfont.C:
8445         * lyxfunc.C: changes from above
8446
8447 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8448
8449         * LColor.C: remove spurious X include
8450
8451         * BufferView_pimpl.C:
8452         * Makefile.am:
8453         * font.h:
8454         * font.C:
8455         * text.C:
8456         * text2.C: move font metrics to frontends/
8457
8458 2002-05-24  Juergen Vigna  <jug@sad.it>
8459
8460         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8461         setting the undo_cursor.
8462
8463         * ParagraphParameters.h: include local includes first.
8464
8465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8466
8467         * BufferView_pimpl.C:
8468         * BufferView_pimpl.h:
8469         * Makefile.am:
8470         * WorkArea.h:
8471         * WorkArea.C:
8472         * screen.C: move WorkArea into frontends/
8473
8474         * lyxscreen.h:
8475         * screen.C:
8476         * text.C:
8477         * BufferView.C:
8478         * BufferView2.C: move LyXScreen into frontends/
8479
8480         * lyxlookup.h:
8481         * lyxlookup.C:
8482         * lyx_gui.C: move lyxlookup into frontends/xforms/
8483
8484 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * BufferView2.C:
8487         * BufferView_pimpl.C:
8488         * FontLoader.C:
8489         * LyXView.h:
8490         * LyXView.C:
8491         * Makefile.am:
8492         * WorkArea.C:
8493         * XFormsView.h:
8494         * XFormsView.C:
8495         * buffer.C:
8496         * bufferlist.C:
8497         * bufferview_funcs.C:
8498         * converter.C:
8499         * importer.C:
8500         * lyx_cb.C:
8501         * lyx_gui.C:
8502         * lyx_main.C:
8503         * lyx_find.C:
8504         * lyxfunc.C:
8505         * lyxvc.C:
8506         * minibuffer.C:
8507         * text.C:
8508         * text2.C:
8509         * trans.C:
8510         * vc-backend.C: move LyX/XFormsView into frontends/
8511
8512 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8513
8514         * Makefile.am:
8515         * PainterBase.C:
8516         * PainterBase.h:
8517         * Painter.C:
8518         * Painter.h:
8519         * WorkArea.C:
8520         * WorkArea.h:
8521         * screen.C:
8522         * tabular.C:
8523         * text.C:
8524         * text2.C: move Painter to frontends/
8525
8526 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8527
8528         * buffer.C: comment out some some code that depend upon lyx_format
8529         < 220
8530
8531         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8532         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8533
8534         * buffer.h (NO_COMPABILITY): turn off compability
8535
8536         * ColorHandler.C: include scoped_array.hpp
8537
8538         * font.C: Use more specific smart_ptr header.
8539         * Painter.C: ditto
8540         * gettext.C: ditto
8541         * ShareContainer.h: ditto
8542         * lyx_main.h: ditto
8543         * kbmap.h: ditto
8544         * FontInfo.h: ditto
8545         * BufferView_pimpl.h: ditto
8546         * ColorHandler.h: ditto
8547
8548         * kbmap.C (defkey): change call to shared_ptr::reset
8549
8550 2002-05-21  Juergen Vigna  <jug@sad.it>
8551
8552         * buffer.C (insertErtContents): fix to insert ert asis if it is
8553         non empty. Skip it completely if it contains only whitespaces.
8554
8555 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8556
8557         * BufferView_pimpl.C:
8558         * BufferView2.C: clear selection on paste (bug 393)
8559
8560 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8561
8562         * DepTable.C: include ctime
8563
8564 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8567
8568 2002-05-14  Juergen Vigna  <jug@sad.it>
8569
8570         * text.C (breakParagraph): fixed function to honor the keepempty
8571         layout in the right maner and also to permit the right breaking
8572         algorithm on empty or non empyt keepempty paragraphs.
8573
8574         * paragraph.C (breakParagraph): we have to check also if the par
8575         is really empty (!size()) for isempty otherwise we do the wrong
8576         paragraph break.
8577
8578 2002-05-10  Juergen Vigna  <jug@sad.it>
8579
8580         * buffer.[Ch] : The following are only changes to the ert
8581         compatibility read reading old LaTeX layout and font stuff and
8582         convert it to ERTInsets.
8583
8584         * buffer.h: added isErtInset().
8585
8586         * buffer.C (struct ErtComp): add a fromlayout bool to check
8587         if we're inside a LaTeX layout.
8588         (isErtInset): new helper function.
8589         (insertErtContents): look for other ert insets before this one
8590         and insert the contents there, so that we don't have subsequent
8591         ERT insets with nothing between them. This way we create only one
8592         inset with multiple paragraphs. Also check if we don't insert only
8593         spaces ' ' as they are ignored anyway afterwards in the .tex file
8594         so if we have only spaces we will ignore this latex part in the
8595         new file.
8596         (parseSingleLyXformat2Token \\layout): better compatibility when
8597         reading layout-latex stuff.
8598         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8599         language tag.
8600         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8601         stuff after reading the inset only get the information back from
8602         the stack.
8603
8604 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8605
8606         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8607
8608         * LaTeXFeatures.C (getBabelOptions): New method.
8609
8610 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8611
8612         * BufferView_pimpl.C (Dispatch): work around missing argument for
8613         'layout'
8614
8615 2002-05-08  Juergen Vigna  <jug@sad.it>
8616
8617         * text.C (leftMargin): handle paragraph leftindent.
8618
8619         * paragraph.C (writeFile): write the new \\leftindent tag.
8620         (validate): handle leftindent code.
8621         (TeXEnvironment): handle paragraphleftindent code again.
8622
8623         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8624
8625         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8626         for paragrap_extra indent code and new token \\leftindent.
8627         (latexParagraphs): handle the leftindent as environment.
8628
8629         * ParameterStruct.h: added leftindent support.
8630
8631         * ParagraphParameters.C (leftIndent): added support functions for
8632         the paragraph left indent.
8633
8634         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8635         more appropriate.
8636
8637 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8638
8639         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8640         inside insetERT.
8641
8642         * text.C (computeBidiTables): No bidi in insetERT.
8643
8644         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8645         in RTL documents.
8646
8647 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8648
8649         * version.C.in: pre 5
8650
8651 2002-05-02  José Matos  <jamatos@fep.up.pt>
8652         * buffer.C (makeDocBookFile): white space changes, add newline to
8653         command styles.
8654         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8655
8656         * tabular.C (docBook): fix typo.
8657
8658 2002-05-03  Juergen Vigna  <jug@sad.it>
8659
8660         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8661         change in LyXText as we can not be sure it was not freed.
8662         (drawOneRow): remove unused code.
8663
8664         * text.C (drawInset): redo the calculation of the need_break_row as
8665         it could have a row which was already freed.
8666         (draw): look at the return value of drawInset and return false if
8667         it also returned false.
8668         (paintRowText): look at the return value of draw and return false if
8669         it also returned false.
8670
8671         * lyxtext.h: added bool return type to drawInset() and draw() so that
8672         if we have a change in the row so that the rowbreak has to be redone
8673         we abort drawing as it will be called again.
8674
8675 2002-05-02  Juergen Vigna  <jug@sad.it>
8676
8677         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8678         a change in the maintext also if we're inside an inset.
8679         (Dispatch): set the cursor again after a break line and after the
8680         screen has been updated as it could be we're in a different row.
8681
8682         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8683         to set the cursor behind the pargraph with > size().
8684         (setCursor): check also for the same paragraph when checking where
8685         to put the cursor if we have a NFR inset.
8686
8687         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8688         parts of layout read further up as it still was in the wrong
8689         position.
8690
8691 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8692
8693         * screen.C (drawFromTo): change sine fullRebreak always return
8694         true.
8695
8696         * buffer.C (parseSingleLyXformat2Token): reindent some
8697
8698         * BufferView_pimpl.C (update): change since fullRebreak always
8699         return true.
8700         (Dispatch): git rid of the last hardcoded "Standard"s.
8701
8702 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8703
8704         * text2.[Ch] (fullRebreak): make it return void now that we always
8705         returned true.
8706
8707 2002-04-30  Juergen Vigna  <jug@sad.it>
8708
8709         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8710         ert compatibility check for "latex" layout.
8711
8712 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8713
8714         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8715         minipages: use col% instead of p%, and also use the current font.
8716         (makeLaTeXFile): Fix use babel condition.
8717         (parseSingleLyXformat2Token): Correct font when reading old floats.
8718
8719 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8722         inserting list of floats.
8723
8724 2002-04-25  Herbert Voss  <voss@lyx.org>
8725
8726         * MenuBackend.C (expand): don't add the graphics extensions to the
8727         export menu
8728
8729 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8730
8731         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8732         non-existing layout, do not complain if it was the default layout
8733         of the original class (bug #342)
8734
8735 2002-04-24  Juergen Vigna  <jug@sad.it>
8736
8737         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8738         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8739
8740 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8741
8742         * buffer.C (getBibkeyList): If using \bibliography, return the
8743         option field with the reference itself. Enables us to provide natbib
8744         support when using \bibliography.
8745
8746 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8747
8748         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8749
8750         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8751         natbib is provided by the LaTeX class.
8752
8753 2002-04-23  Juergen Vigna  <jug@sad.it>
8754
8755         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8756         Wakeup functions.
8757
8758         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8759
8760 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8763
8764         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8765         ensuremath around textordmasculine, textordfeminine and
8766         textdegree.
8767
8768 2002-04-19  Juergen Vigna  <jug@sad.it>
8769
8770         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8771         reinitializing the buffer otherwise row-dimensions may be wrong.
8772         (update): reset also the selection cursors if they do exits otherwise
8773         their x/y positions may be wrong.
8774
8775         * text2.C (cursorDown): don't enter the inset if we came from a row
8776         above and are one row over the inset.
8777
8778         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8779         really leaving an inset.
8780
8781 2002-04-18  Juergen Vigna  <jug@sad.it>
8782
8783         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8784         of the selected paragraph does not have the selected layout also if
8785         the last one had!
8786
8787         * text2.C (setLayout): fixed bug which did not change last selected
8788         paragraph.
8789
8790         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8791         changed the read and substituted \\end_float with \\end_inset!
8792
8793         * BufferView_pimpl.C (cursorPrevious):
8794         (cursorNext): fixed to make it work with rows heigher than the work
8795         area without moving the cursor only the draw of the row.
8796         (workAreaMotionNotify): fix jumping over high rows.
8797
8798 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8799
8800         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8801         Ressler.
8802
8803 2002-04-16  Juergen Vigna  <jug@sad.it>
8804
8805         * text2.C (setCursor): set also the irow().
8806         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8807         (cursorUp):
8808         (cursorDown): support for locking an inset if the x_fix value goes
8809         inside it. That way I can transverse insets too with cursor up/down.
8810
8811         * lyxrow.h: added irow helper function same as other (i) functions.
8812
8813         * BufferView_pimpl.C (cursorPrevious):
8814         (cursorNext): fixed for insets!
8815
8816 2002-04-15  Juergen Vigna  <jug@sad.it>
8817
8818         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8819         position otherwise it is wrong in some cases.
8820
8821         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8822         inside the inset before the call.
8823
8824 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8825
8826         * buffer.[Ch] (getBibkeyList): make it const.
8827
8828 2002-04-12  Juergen Vigna  <jug@sad.it>
8829
8830         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8831
8832         * text2.C (getCursorX): new helper function
8833         (setCursor): compute also ix_
8834         (setCursorFromCoordinates): set also ix.
8835
8836         * lyxcursor.h: added ix_ and helper functions.
8837
8838         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8839
8840         * buffer.C (insertStringAsLines): dont break paragraph if the this
8841         paragraph is inside an inset which does not permit it!
8842
8843         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8844         also with no chars on this paragraph.
8845         (paintRowText): only paint stuff if it's inside the workarea!
8846
8847         * paragraph.C (breakParagraph): honor keepempty flag and break the
8848         paragraph always below not above.
8849
8850         * BufferView2.C (unlockInset): update the paragraph layout on inset
8851         unlock as we changed paragraph in such a case.
8852
8853         * lyxfind.C (LyXFind): clear the former selection if not found!
8854
8855         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8856         again called in insertChar().
8857
8858         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8859         an inset which uses the whole row!
8860         (rightMargin): ditto.
8861         (insertChar): force a rebreak if we inserted an inset!
8862
8863 2002-03-28  Herbert Voss  <voss@lyx.org>
8864
8865         * lyxlength.[Ch]: add inBP() to get the right PS-point
8866         units (BigPoint). With inPixels we have rounding errors
8867
8868 2002-04-11  Juergen Vigna  <jug@sad.it>
8869
8870         * text2.C (setCursorFromCoordinates): set iy to the right value.
8871         (setCursor): add check if row->previous exists!
8872
8873         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8874         an old float_type as this was the case in the old code!
8875
8876         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8877
8878         * BufferView2.C (showLockedInsetCursor): use iy
8879         (fitLockedInsetCursor): ditto
8880
8881         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8882         locked insets as there we have the right value now.
8883
8884         * lyxcursor.C: added iy_ variable and iy functions to set to the
8885         baseline of cursor-y of the locked inset.
8886
8887         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8888         (setCursor): fixed for insets which need a full row.
8889
8890         * text.C (rowLastPrintable): don't ignore the last space when before
8891         an inset which needs a full row.
8892         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8893         as last character of a row when before a inset which needs a full row.
8894
8895 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * version.C.in: update date
8898
8899         * text2.C (fullRebreak): try to always return true and see what
8900         happens...
8901
8902 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * MenuBackend.C (expand): use Floating::listName
8905
8906         * FloatList.C (FloatList): add listName argument to the built-in
8907         floats
8908
8909         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8910         text associated with the float.
8911
8912 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8915
8916 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8917
8918         * ShareContainer.h: add a couple of missing typenames.
8919
8920 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8921
8922         * lyxrc.C (getDescription): use _() correctly rather than N_().
8923
8924 2002-03-28  Herbert Voss  <voss@lyx.org>
8925
8926         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8927         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8928
8929 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8932         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8933
8934 2002-03-29  Juergen Vigna  <jug@sad.it>
8935
8936         * lyxfunc.C (dispatch): add a missing fitCursor call.
8937
8938         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8939         it was scrolled by a cursor move, so return the bool status.
8940
8941         * BufferView.C (fitCursor): return the bool flag also to the outside
8942         world as this is needed.
8943
8944         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8945
8946         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8947         call the edit() as it is not needed (and wrong) IMO.
8948         (workAreaButtonPress): set the screen_first variable before evt.
8949         unlock the inset as this may change screen_first and then we have
8950         a wrong y position for the click!
8951
8952 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8953
8954         * MenuBackend.C (expand): another translation that I missed
8955
8956 2002-03-28  Juergen Vigna  <jug@sad.it>
8957
8958         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8959
8960         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8961
8962 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8965
8966         * MenuBackend.C (expand): fix export/view/update when there is no
8967         document open.
8968
8969 2002-03-27  Herbert Voss  <voss@lyx.org>
8970
8971         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8972         and text%
8973
8974 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8975
8976         * bufferview_funcs.C (currentState): only show paragraph number
8977         for is DEVEL_VERSION is set.
8978
8979         * lyxfunc.C (dispatch): put warning in INFO channel
8980
8981         * MenuBackend.C (expand): translate the name of floats
8982
8983         * FloatList.C (FloatList): mark the float names for translation
8984
8985         * converter.C (convert): use LibScriptSearch
8986
8987 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8988
8989         * MenuBackend.C (defaults): fix default menu (we might as well get
8990         rid of it...)
8991
8992 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8993
8994         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8995         directory.
8996
8997 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * lyxvc.C: reorder includes.
9000
9001 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9004           properly
9005
9006 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * CutAndPaste.C: change layouts earlier on paste
9009           to avoid crashing when calling getFont()
9010
9011 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9012
9013         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9014         irritating #error.
9015
9016 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * WorkArea.C: remove 'Pending' debug message.
9019
9020         * most files: ws cleanup
9021
9022         * buffer.[Ch]: ws changes
9023
9024         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9025
9026 2002-03-21  Juergen Vigna  <jug@sad.it>
9027
9028         * tabular.C (SetMultiColumn): collapse also the contents of the
9029         cells and set the last border right. Added a Buffer const * param.
9030
9031 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9032
9033         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9034         linking or not.
9035
9036 2002-03-19  Juergen Vigna  <jug@sad.it>
9037
9038         * text2.C (clearSelection): reset also xsel_cache.
9039
9040         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9041         where it needs to be called (John tells us to do so too :)
9042         (selectionLost): reset sel_cache.
9043
9044         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9045
9046 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9047
9048         * text2.C (setCursorIntern): put debuging code in INSETS channel
9049
9050 2002-03-19  André Pönitz <poenitz@gmx.net>
9051
9052         * lyxfunc.C: tiny whitespace change
9053
9054 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9055
9056         * ToolbarDefaults.C (init):
9057         * LyXAction.C (init):
9058         * commandtags.h:
9059         * BufferView_pimpl.C (Dispatch):
9060         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9061
9062 2002-03-19  Allan Rae  <rae@lyx.org>
9063
9064         * exporter.C (Export): removeAutoInsets before doing anything else.
9065         While I've just introduced a dependency on BufferView this really is
9066         the best place to clean the buffer otherwise you need to cleanup in
9067         a dozen places before calling export or cleanup in a dozen functions
9068         that export calls.
9069
9070         * converter.C (runLaTeX):
9071         (scanLog): Better handling of removeAutoInsets and screen updates.
9072
9073         * lyxfunc.C (dispatch): small whitespace changes
9074
9075 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * WorkArea.C (C_WorkAreaEvent): return a value.
9078         (event_cb): return 1 if we handled the event, 0 otherwise.
9079
9080         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9081
9082 2002-03-18  Juergen Vigna  <jug@sad.it>
9083
9084         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9085         (GetAdditionalWidth): ditto.
9086         (RightLine): ditto.
9087         (LeftLine): ditto.
9088
9089         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9090         inset if we're there actually (probably not used right now but this
9091         is the direction to go for unifying code).
9092         (paste): disable code to clear the selection.
9093
9094         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9095         inside an InsetText and move the check further up as it is in the
9096         wrong place.
9097
9098         * text2.C (pasteSelection): set a selection over the pasted text.
9099
9100 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9101
9102         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9103         and libgraphics to build on Cygwin.
9104
9105 2002-03-15  Juergen Vigna  <jug@sad.it>
9106
9107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9108         inserting an Inset into the paragraph. I know this is not the best
9109         fix but we already use current_view in CutAndPaste so we will remove
9110         all of it's using at the same time.
9111
9112         * buffer.C (sgmlError): deactivated function till it is rewritten in
9113         the right mode, now it can create problems.
9114
9115         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9116         before accessing it.
9117
9118 2002-03-14  Juergen Vigna  <jug@sad.it>
9119
9120         * undo_funcs.C (textHandleUndo): do the right thing when updating
9121         the inset after the undo/redo.
9122
9123         * text2.C (setCursor): just some testcode for #44 not ready yet.
9124
9125         * undo_funcs.C (textHandleUndo): set the next() and previous()
9126         pointers of the paragraph to 0 before deleting otherwise we have
9127         problems with the Paragraph::[destructor].
9128
9129         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9130         on a paragraph insertion.
9131
9132 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9133
9134         * buffer.C (asciiParagraph): use += operator for char append to
9135         string.
9136
9137         * paragraph.C (getFontSettings): compare >= not just >
9138         (highestFontInRange): ditto
9139         (setFont): ditto
9140
9141 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * paragraph.C: change several algorithm to be more appripriate for
9144         the problem domain. This is lookip in FontList and in the InsetList.
9145
9146 2002-03-13  André Pönitz <poenitz@gmx.net>
9147
9148         * commandtags.h:
9149         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9150
9151 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * commandtags.h:
9154         * LyXAction.C:
9155         * lyxfunc.C:
9156         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9157
9158 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9159
9160         * Painter.C (display): anon helper function, adjust code for this
9161         change.
9162         (pixmap): remove function.
9163
9164         * Painter.h: remove private display variable.
9165
9166         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9167
9168 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9169
9170         * WorkArea.[Ch]: remove figinset_canvas cruft.
9171
9172 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9173
9174         * lyxtextclass.C (operator): add one item cache optimization.
9175
9176         * bufferlist.h: doxy changes
9177
9178         * bufferlist.C: ws changes
9179
9180         * DepTable.[Ch] (ext_exist): place const in the right spot.
9181
9182         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9183         call resizeInsets.
9184         (workAreaExpose): call resizeInsets when the with BufferView changes.
9185         (Dispatch): adjust for protectedBlank removal
9186         (specialChar): call updateInset if the insert went ok.
9187
9188         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9189         specialChar instead.
9190
9191         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9192
9193         * BufferView.h: doxy change
9194
9195         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9196
9197         * lyxtextclass.C (operator[]): remove non-const version
9198         (defaultLayout): remove non-const version
9199
9200 2002-03-12  Juergen Vigna  <jug@sad.it>
9201
9202         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9203         did resize the LyXText too.
9204
9205         * buffer.C (readLyXformat2): set layout information on newly allocated
9206         paragraphs.
9207
9208         * tabular.C (OldFormatRead): set layout information on the paragraph.
9209
9210 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9211
9212         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9213
9214 2002-03-11  Juergen Vigna  <jug@sad.it>
9215
9216         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9217         plainly wrong.
9218         (resizeCurrentBuffer): force also the insets to resize themselfes.
9219         (moveCursorUpdate): fixed up for InsetText.
9220
9221 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9222
9223         * commandtags.h:
9224         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9225         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9226         value of Dialogs::tooltipsEnabled().
9227         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9228
9229 2002-03-08  Juergen Vigna  <jug@sad.it>
9230
9231         * BufferView_pimpl.C (updateInset): update inset inside inset also
9232         if it isn't inside theLockingInset().
9233
9234 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9235
9236         * buffer.C (asciiParagraph): redo some of the word and line length
9237         handling.
9238         (getLists): look for Caption instead of caption.
9239
9240 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * buffer.C (Buffer): initialize niceFile to true
9243         (makeLaTeXFile):
9244         (makeLinuxDocFile):
9245         (makeDocBookFile): make sure niceFile is true on exit
9246
9247 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9248
9249         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9250
9251 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9252
9253         * LyXSendto.C: remove.
9254         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9255         * lyx_gui.C: remove now-redundant comment.
9256         * ColorHandler.h: remove forward declaration of class WorkArea.
9257         * lyxfunc.C: remove #include "WorkArea.h".
9258
9259 2002-03-07  Juergen Vigna  <jug@sad.it>
9260
9261         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9262         got moved away with the DEPM and also set the inset_owner always
9263         right which before could have been omitted.
9264
9265 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9266
9267         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9268         wanted layout is not found.
9269
9270 2002-03-07  Juergen Vigna  <jug@sad.it>
9271
9272         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9273
9274 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * paragraph.C (breakParagraph): use default layout not layout of
9277         prev paragraph.
9278         (Paragraph): clear ParagraphParameters.
9279
9280 2002-03-06  Juergen Vigna  <jug@sad.it>
9281
9282         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9283         otherwise it would not be a valid lenght. Fixed a special case in
9284         the minipage compatibility read where we end the document with a
9285         minipage.
9286
9287         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9288         was set as it could be 0 for InsetTexts first entry.
9289
9290 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9291
9292         * paragraph.C (writeFile): if layout is empty write out
9293         defaultLayoutName().
9294
9295         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9296         file without named layout we set layout to defaultLayoutName().
9297
9298 2002-03-06  Juergen Vigna  <jug@sad.it>
9299
9300         * CutAndPaste.C (copySelection): set layout for new paragraph.
9301
9302         * text.C (prepareToPrint): leave ERT inset left aligned
9303         (leftMargin): don't indent paragraphs inside ERT insets
9304
9305 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9306
9307         * paragraph.C (breakParagraph): dont call clear do the work manually
9308
9309         * paragraph.[Ch] (clear): remove function
9310
9311 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9312
9313         * paragraph.C (Paragraph): dont call clear, the work has already
9314         been done.
9315
9316         * lyxtextclass.C (operator): assert if n is empty
9317
9318         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9319         work manually instead.
9320
9321 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * BufferView_pimpl.C: protect selectionLost against text == 0
9324
9325 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9326
9327         * text.C (breakParagraph): fix a setting layout to '0' problem.
9328
9329 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9330
9331         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9332         final location of file, for the included files, and graphics.
9333
9334 2002-03-05  Juergen Vigna  <jug@sad.it>
9335
9336         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9337
9338 2002-03-04  Juergen Vigna  <jug@sad.it>
9339
9340         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9341
9342         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9343         last column of multicolumn cells.
9344         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9345
9346 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9347
9348         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9349         file if it doesn't go to a temporary file.
9350
9351         * buffer.C (sgmlOpenTag):
9352         (sgmlCloseTag):  remove extra newline insertion.
9353
9354 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9355
9356         * text.C (getRowNearY): comment out debug msg
9357
9358 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9359
9360         * text2.C: first -> first_y
9361
9362         * text.C (getRowNearY): add some attemts at a possible
9363         optimization, not working.
9364
9365         * tabular.[Ch]: add BufferParams to several function so that newly
9366         created paragraph can be initialized to he default layotu for the
9367         buffers textclass.
9368
9369         * tabular-old.C (ReadOld): add buf->params to call of Init
9370
9371         * screen.C: rename text->first to text->first_y
9372
9373         * paragraph.C (breakParagraph): always set layout in the broken
9374         paragraph
9375
9376         * lyxtextclass.C (Read): remove lowercase
9377         (hasLayout): ditto
9378         (operator): ditto
9379         (delete_layout): ditto
9380
9381         * lyxtext.h: rename first -> first_y
9382
9383         * lyxlayout.C (Read): remove lowercase
9384         (name): ditto
9385         (setName): ditto
9386         (obsoleted_by): ditto
9387
9388         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9389
9390         * buffer.C (insertErtContents): add params are to InsetERT
9391         (parseSingleLyXformat2Token): add code to check if a paragraphs
9392         layout really exist.
9393         (parseSingleLyXformat2Token): add params to several inset
9394         constructors
9395         (asciiParagraph): remove lowercase, do the layout comparisons with
9396         no_case
9397
9398         * BufferView_pimpl.C (cursorNext): first -> first_y
9399         (resizeCurrentBuffer): first -> first_y
9400         (updateScrollbar): first -> first_y
9401         (scrollCB): first -> first_y
9402         (workAreaMotionNotify): first -> first_y
9403         (workAreaButtonPress): first -> first_y
9404         (checkInsetHit): first -> first_y
9405         (cursorPrevious): first -> first_y
9406         (cursorNext): first -> first_y
9407         (Dispatch): add buffer_->params to severl inset contructors
9408
9409 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9410
9411         * lyxlayout.C (Read): remove some debug info that I forgot.
9412
9413         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9414         clean up the code slightly.
9415         (makeLinuxDocFile): ditto
9416         (makeDocBookFile): ditto
9417
9418         * text2.C: layout as string
9419
9420         * text.C: layout as string
9421
9422         * paragraph_pimpl.C: layout as string
9423
9424         * paragraph.[Ch]: layout as string
9425
9426         * lyxtextclasslist.[Ch]: layout as string
9427
9428         * lyxtextclass.[Ch]: layout as string
9429
9430         * lyxtext.h: layout as string
9431
9432         * lyxlayout.[Ch]: layout as string
9433
9434         * lyx_cb.C: layout as string
9435
9436         * bufferview_funcs.C: layout as string
9437
9438         * bufferparams.C: layout as string
9439
9440         * buffer.C: layout as string
9441
9442         * LyXView.[Ch]: layout as string
9443
9444         * LaTeXFeatures.[Ch]: layout as string
9445
9446         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9447
9448         * BufferView_pimpl.C: change current_layout to string, remove
9449         lyx::layout_type.
9450         (Dispatch):
9451         (smartQuote):
9452         (insertInset):
9453         (workAreaButtonRelease): layout as string
9454
9455         * BufferView2.C (unlockInset): adjust
9456
9457         * vspace.C (asLatexCommand): use an explict temp variable.
9458
9459 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9460
9461         * Makefile.am: use FRONTEND_*
9462
9463 2002-03-01  Juergen Vigna  <jug@sad.it>
9464
9465         * tabular.C (SetWidthOfMulticolCell): changed to something better
9466         I hope but still work in progress.
9467         (recalculateMulticolumnsOfColumn): renamed function from
9468         recalculateMulticolCells as it is more appropriate now.
9469         (SetWidthOfCell): calculate multicols better.
9470
9471 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9474
9475         * lyxfunc.C (processKeySym): print sequence also if it is
9476         `deleted' (complete)
9477
9478         * kbsequence.C (print): print sequence even if it is deleted
9479         (complete would be a better word, actually).
9480
9481         * lyxfunc.C (dispatch): print complete options after a prefix key
9482
9483         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9484
9485 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9486
9487         * text2.C (setCharFont): eliminate setCharFont code duplication.
9488
9489 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9492         LFUN_TABULAR_FEATURE (bug #177)
9493
9494 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9495
9496         * Makefile.am: remove figure.h
9497
9498 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9499
9500         * Bufferview_pimpl.C:
9501         * CutAndPasteC:
9502         * LaTeX.C:
9503         * LyXSendto.C:
9504         * buffer.C:
9505         * bufferlist.C:
9506         * converter.C:
9507         * language.C:
9508         * lyxfunc.C:
9509         * lyxvc.C:
9510         * paragraph.C:
9511         * text.C:
9512         * text2.C: remove #include "lyx_gui_misc.h".
9513
9514         * LaTeX.C: added #include <cstdio>
9515
9516 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9519         that the paragraph following this one can have.
9520
9521         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9522
9523         * vspace.C (asLatexCommand): fix bogus gcc warning
9524
9525         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9526
9527 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9528
9529         * text2.C (setLayout): get rid of redundant code
9530
9531 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9532
9533         * text2.C (incDepth): make sure depth cannot be increased beyond
9534         reasonable values.
9535
9536 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9537
9538         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9539         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9540
9541         * PainterBase.h (image):
9542         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9543         a LyXImage const *.
9544
9545 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * BufferView.C:
9548         * BufferView.h:
9549         * BufferView_pimpl.C:
9550         * BufferView_pimpl.h:
9551         * LaTeXFeatures.C:
9552         * LyXAction.C:
9553         * LyXView.C:
9554         * Makefile.am:
9555         * UpdateList.h:
9556         * UpdateList.C:
9557         * buffer.C:
9558         * figure.h:
9559         * figureForm.C:
9560         * figureForm.h:
9561         * figure_form.C:
9562         * figure_form.h:
9563         * lyx_cb.C:
9564         * lyx_gui.C:
9565         * lyx_gui_misc.C:
9566         * lyxfunc.C:
9567         * sp_base.h:
9568         * sp_ispell.h:
9569         * sp_pspell.h:
9570         * sp_spell.C: remove fig inset, and the crap house of
9571           cards that follows it
9572
9573 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * Makefile.am:
9576         * lyxserver.C:
9577         * os2_defines.h:
9578         * os2_errortable.h:
9579         * nt_defines.h: move .h into support/
9580
9581         * vms_defines.h: remove
9582
9583         * WorkArea.C: add space in debug output
9584
9585         * text2.C:
9586         * paragraph.C:
9587         * buffer.C: add WITH_WARNINGS
9588
9589         * vc-backend.h:
9590         * vc-backend.C:
9591         * bufferlist.C: s/retrive/retrieve/, add docs
9592
9593         * vspace.h:
9594         * vspace.C:
9595         * kbmap.h:
9596         * lyxlength.h:
9597         * lyxgluelength.h:
9598         * length_common.h:
9599         * chset.h:
9600         * chset.C: add docs
9601
9602         * lyxgui.C: add ID to X error handler
9603
9604         * lyxtestclass.c: fix typo
9605
9606 2002-02-26  Juergen Vigna  <jug@sad.it>
9607
9608         * tabular_funcs.C (write_attribute): changed so that some default
9609         attributes are not written at all.
9610         (getTokenValue): set default values before trying to read the
9611         value so we have the return value always set as default if we don't
9612         find the token we search for.
9613
9614         * tabular.C (Write): write bools as bools not as strings!
9615
9616 2002-02-22  Juergen Vigna  <jug@sad.it>
9617
9618         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9619         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9620
9621         * text.C (leftMargin): don't add an indent for paragraphs inside
9622         tabular cells (fix #208).
9623
9624 2002-02-21  José Matos  <jamatos@fep.up.pt>
9625
9626         * tabular.C (docBook): fixed support for long tables.
9627
9628 2002-02-20  Juergen Vigna  <jug@sad.it>
9629
9630         * text2.C (getFont): get the drawing font of the Inset if this
9631         paragraph is inside an inset (only important for InsetERT for now).
9632
9633         * buffer.C (insertErtContents): use new lanugage params in ERT
9634         constructor.
9635
9636         * CutAndPaste.C: commenting out seemingly uneeded code.
9637
9638 2002-02-19  Allan Rae  <rae@lyx.org>
9639
9640         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9641         Iterators might be simple to use but they also get invalidated.
9642         (removeAutoInsets): renamed saved cursor tracking variables and added
9643         some comments to clarify what everything does.
9644
9645 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9646
9647         * Chktex.C:
9648         * LaTeX.C:
9649         * LyXSendto.C:
9650         * converter.C:
9651         * lyx_cb.C:
9652         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9653         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9654
9655         * lyxfunc.C:
9656         * vc-backend.h: remove #include "support/syscall.h"
9657
9658         * LaTeX.C:
9659         * LyXSendto.C:
9660         * converter.C: rearrange #includes in Lars' approved fashion.
9661
9662         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9663         forward declare class Timeout in the header file.
9664
9665         * XFormsView.C: changes due to the above.
9666
9667         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9668         similar to LyXView.
9669
9670         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9671         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9672
9673 2002-02-18  José Matos  <jamatos@fep.up.pt>
9674
9675         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9676         insets contents.
9677
9678 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9679
9680         * a lot of small ws changes
9681         * add a lot of using std::XXX
9682         * use std construcs some places where approp.
9683         * use some exisint stuff from lyxfunctional where approp.
9684         * Make file changes to use partial linking (lets test this now...)
9685
9686 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9687
9688         * Chktex.C:
9689         * buffer.C:
9690         remove #include "support/syscontr.h" as it's redundant. Always has been.
9691
9692         * Chktex.C:
9693         * LaTeX.C:
9694         * LyXSendto.C:
9695         * converter.C:
9696         * lyx_cb.C:
9697         * vc-backend.C:
9698         change Systemcalls::System to Systemcalls::Wait and
9699         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9700         No change of functionality, just reflects the stripped down Systemcalls
9701         class.
9702
9703 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * debug.[Ch]: add a GRAPHICS type to the enum.
9706
9707 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9710
9711         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9712         there is an inset.
9713
9714 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9715
9716         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9717         match the changes below.
9718
9719         * text2.C (toggleInset): if there is not editable inset at cursor
9720         position, try to see if cursor is _inside_ a collapsable inset
9721         and close it.
9722
9723 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9724
9725         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9726         document menu has a nice checkbox
9727
9728 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * lyxlength.C (asLatexString): change PW to output as percent of
9731         \textwidth.
9732
9733         * lengthcommon.C: change '%' to 't%'
9734
9735         * lyxfunc.C (dispatch): a few comments from Martin
9736
9737 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * WorkArea.h:
9740         * WorkArea.C:
9741         * BufferView_pimpl.h:
9742         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9743           the X selection.
9744
9745 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * vspace.C (inPixels): fix compiler warning
9748
9749 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * lyxfunc.C (getStatus): fix status message for disabled commands.
9752
9753 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * BufferView_pimpl.C: fix crash on close buffer
9756         during selection (#227)
9757
9758 2002-01-27  Herbert Voss  <voss@lyx.org>
9759
9760         * buffer.C: link old Figure to new graphic inset
9761
9762 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9763
9764         * FontLoader.C (getFontinfo): Change the latex font names in order
9765         to match the names of type1inst.
9766
9767 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9770
9771         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9772         (extchanged): ditto
9773         (ext_exist): ditto
9774         (remove_files_with_extension): ditto
9775         (remove_file): ditto
9776         (write): ditto
9777
9778         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9779         document is smaller than the work area height. Do not initialize
9780         static variables to 0.
9781
9782 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9785
9786         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9787         LFUN_LAYOUT_PARAGRAPHS.
9788
9789         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9790         tabular. It is possible to provide a possible cell, which will
9791         typically be the actcell from the corresponding insettabular
9792
9793         * lyxfunc.C (getStatus): small cleanup; disable
9794         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9795         true
9796
9797 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9800
9801         * paragraph.C (startTeXParParams):
9802         (endTeXParParams): new methods. The LaTeX code to
9803         start/end paragraph formatting
9804         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9805         empty (fixes bug #200)
9806
9807         * vspace.C (inPixels): adapt to the change below
9808         (inPixels): [later] more cleanups (remove unused variables)
9809
9810         * lyxlength.C (inPixels): change to use a width and a height as
9811         parameter.
9812
9813 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9816         Replaced with \paperwidth
9817
9818         * DepTable.C (insert): add std:: qualifier
9819
9820 2002-01-18  Allan Rae  <rae@lyx.org>
9821
9822         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9823         updated also?
9824
9825         * text.C (drawInset): Turned out I didn't know enough about how
9826         rebreaking worked.  This fixes most of the redraw problems.  I see
9827         an occasional cursor trail when a line is broken now and the cursor
9828         placement can seem out by a few pixels also after a rebreak.
9829
9830 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * buffer.C (parseSingleLyXformat2Token): update because minipage
9833         width is now a LyXLength
9834
9835         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9836
9837         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9838         math insets
9839
9840 2002-01-17  Juergen Vigna  <jug@sad.it>
9841
9842         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9843
9844         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9845         is set correctly and the inset is updated correctly.
9846
9847 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9848
9849         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9850         the beginning of the loop.
9851
9852 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * lyxrc.C: improve help for use_scalable_fonts
9855
9856 2002-01-17  Allan Rae  <rae@lyx.org>
9857
9858         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9859
9860 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9863         make sure to set their inset_owner to the right value (bug #171)
9864
9865 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9866
9867         * DepTable.h
9868         * DepTable.C: Implement mtime checking to reduce time spent doing
9869         CRCs.
9870
9871 2002-01-16  Juergen Vigna  <jug@sad.it>
9872
9873         * tabular.C (GetAdditionalHeight): one of error fixed.
9874
9875         * lyxrc.C (output): small fix in writing use_pspell.
9876
9877 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9878
9879         * sp_base.h: #include LString.h
9880
9881 2002-01-16  Allan Rae  <rae@lyx.org>
9882
9883         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9884         Can someone check this please?
9885
9886         * text.C (drawInset): It was possible that p.row would be removed by
9887         breakAgainOneRow upsetting a few other settings.  There may be another
9888         small tweak possible by setting need_break_row = 0 when p.row has been
9889         removed but I don't know enough about the logic here.
9890
9891 2002-01-15  Allan Rae  <rae@lyx.org>
9892
9893         * text.C (insertChar): removed conditional truism.
9894
9895         * BufferView2.C (removeAutoInsets): More tweaks.
9896         cur_par_prev could be a stray pointer.  Check for trailing empty line
9897         in case last line was cur_par and only had an error inset on it.
9898
9899 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9900
9901         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9902         absolute
9903
9904         * vc-backend.C (most methods):
9905         * exporter.C (Export):
9906         * converter.C (convert):
9907         (runLaTeX):
9908         * LyXSendto.C (SendtoApplyCB):
9909         * lyxfunc.C (dispatch):
9910         (menuNew):
9911         (open):
9912         (doImport):
9913         * lyx_cb.C (AutoSave):
9914         (InsertAsciiFile):
9915         * BufferView_pimpl.C (MenuInsertLyXFile):
9916         * buffer.C (runChktex): use Buffer::filePath().
9917
9918         * buffer.h: rename filename to filename_; rename filepath to
9919         filepath_ and make it private
9920         (filePath): new method
9921
9922         * buffer.C (writeFile): use fileName()
9923         (getLatexName):
9924
9925         * lyx_main.C (init): fix starting  of LyX when the binary is a
9926         link from so,ewhere else.
9927
9928         * minibuffer.C: include <cctype> for isprint
9929
9930 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9931
9932         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9933         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9934         name clash with InsetCollapsable's width function.
9935
9936 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * lastfiles.C: include <iterator>
9939
9940 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9941
9942         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9943         std::count.
9944
9945         * buffer.C (makeLaTeXFile): ditto.
9946         Also make loop operation more transparent.
9947
9948 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9949
9950         * ToolbarDefaults.C: remove trailing comma closing namespace.
9951
9952         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9953
9954         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9955         as in WorkArea.
9956
9957         * trans.C (Load): comment out unused variable, allowed.
9958
9959 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9960
9961         * minibuffer.[Ch] (append_char): new method to recieve input from the
9962         drop-down completion browser. If a key was pressed, then recieve this
9963         char and append it to the existing string.
9964         (peek_event): modify the positioning data passed to the completion
9965         browser so that it can be placed above the minibuffer rather than below.
9966 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * LyXAction.C (init): alloe error-next for readonly documents.
9969
9970         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9971         count.
9972
9973 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9974
9975         * bufferlist.C (readFile): create the buffer _after_ checking that
9976         the file exists.
9977
9978         * lyxfunc.C (verboseDispatch): fix handling of arguments
9979
9980         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9981
9982         * lyxrc.C: use string::erase() instead of initializing to "".
9983
9984
9985 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * BufferView_pimpl.h:
9988         * BufferView_pimpl.C:
9989         * WorkArea.h:
9990         * WorkArea.C:
9991         * text2.C: tell X when we have made a selection for copying
9992
9993 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * BufferView_pimpl.C (MenuInsertLyXFile):
9996         * lyxfunc.C (menuNew):
9997         (open):
9998         (doImport): add shortcuts to directory buttons
9999
10000         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10001         open a float)
10002
10003         * lyxfunc.C (setStatusMessage):
10004         (getStatusMessage): new methods
10005         (getStatus):use setStatusMessage instead of setErrorMessage
10006         (dispatch): when function is disabled, set error message here
10007         [instead of in getStatus previously]
10008
10009         * BufferView_pimpl.C (workAreaButtonRelease): update
10010         toolbar/menubar here too.
10011
10012 2002-01-13  Allan Rae  <rae@lyx.org>
10013
10014         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10015         Now seems indestructible.  Remaining task is to audit all other
10016         code affected by deleteEmptyParagraphMechanism.  One small quirk
10017         left is that an empty document with an error in the preamble can
10018         be made to report an error but no error box appears.  I don't know
10019         where it goes.
10020         (removeAutoInsets): Improved comments.
10021
10022 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * Thesaurus.h:
10025         * Thesaurus.C: update for Aiksaurus 0.14
10026
10027 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10028
10029         * text2.C (firstParagraph): removed member function, all uses
10030         replaces with ownerParagraph
10031         (redoParagraphs): here
10032         (updateInset): here
10033         (toggleAppendix): here
10034         * BufferView2.C (insertErrors): here
10035         (setCursorFromRow): here
10036
10037 2002-01-13  Allan Rae  <rae@lyx.org>
10038
10039         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10040         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10041         There is still a way to segfault this although you may have to do this
10042         multiple times: Have an InsetERT with an unknown command in it.
10043         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10044         <down-arrow>, <Enter> again, View->DVI, BANG!
10045
10046         * text2.C (setCursor):
10047         (deleteEmptyParagraphMechanism):
10048         * lyxtext.h (setCursor):
10049         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10050         Making use of the return value may help fix other bugs.
10051
10052 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10055
10056         * LyXView.C (updateMenubar): call MenuBar::update here
10057         (updateToolbar): but not here
10058         (showState): do not update toolbar/menubar
10059
10060         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10061         should need to care about that.
10062
10063         * lyxfunc.C (verboseDispatch): simplify a bit
10064         (getStatus): have a version which takes a pseudoaction, and
10065         another which requires a (kb_action,string).
10066
10067         * LyXAction.C (retrieveActionArg): make it work also when action
10068         is not a pseudo-action.
10069         (getActionName): simplify a bit
10070         (helpText):
10071
10072 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10073
10074         * lyxfunc.C (verboseDispatch): new families of methods with
10075         several ways to specify a command and a bool to indicate whether
10076         the command name and shortcut should be displayed in minibuffer
10077         (eventually, we could extend that to a finer bitmask like
10078         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10079         (dispatch): the pristine dispatch command which just, well,
10080         dispatchs! Note it still sets its result to minibuffer; I'm not
10081         sure we want that.
10082
10083         * lyxfunc.h: remove setHintMessage
10084
10085         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10086
10087 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * BufferView_pimpl.C (specialChar): delete new inset if we have
10090         not been able to insert it.
10091
10092         * kbmap.C: revert to using int instead of kb_action, since all we
10093         are dealing with is pseudo-actions.
10094
10095         * LyXAction.C (searchActionArg): change to return int instead of
10096         kb_action, since the result is a pseudoaction.
10097
10098 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10099
10100         * buffer.C (insertErtContents): Fix (partially) the font bug.
10101
10102 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10103
10104         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10105         as the other one is broken on my machine!
10106
10107 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10108
10109         * commandtags.h:
10110         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10111
10112 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10113
10114         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10115         reflect their actual use. Provide compatibility code for older lyxrc
10116         files.
10117
10118         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10119         FL_NORMAL_STYLE.
10120         change names of popup font variables in line with the changes to lyxrc.C
10121
10122 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * buffer.C (asciiParagraph): avoid outputing a word twice after
10125         an inset.
10126
10127         * lyxrc.C (getDescription): document that document_path and
10128         template_path can be empty.
10129
10130 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * LaTeXFeatures.C (getMacros):
10133         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10134
10135         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10136
10137         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10138         getPackages.
10139         (getPackages): rename feature "floats" to "float". Use an array to
10140         iterate over 'simple' features (i.e. just a \usepackage). Add
10141         handling of "amsmath" (renamed from "amsstyle").
10142
10143 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10144
10145         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10146         features list.
10147
10148 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10149
10150         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10151         FuncStaus::FuncStatus & FuncStaus::some_method().
10152
10153 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10154
10155         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10156         of the func_satus stuff. Edited and massaged in various ways by
10157         JMarc.
10158
10159         * lyxfunc.C (getStatus): use FuncStatus
10160
10161 2002-01-08  Juergen Vigna  <jug@sad.it>
10162
10163         * text.C (nextBreakPoint): use function Inset::isChar().
10164
10165         * paragraph.C (TeXOnePar): use function
10166         Inset::forceDefaultParagraphs.
10167
10168         * buffer.C (latexParagraphs): use function
10169         Inset::forceDefaultParagraphs.
10170
10171 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10172
10173         * lyx_gui.C (init): set the style of the menu popups to
10174         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10175
10176 2002-01-07  Juergen Vigna  <jug@sad.it>
10177
10178         * text.C (setHeightOfRow): small fix
10179         (prepareToPrint): don't look at alignment if we don't have the place
10180         for doing it.
10181
10182 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10183
10184         * box.C: New file. Move the Box methods and functions out of box.h,
10185         following Lars' suggestion.
10186
10187 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10188
10189         * box.h: #include "support/LOstream.h", needed for inlined function.
10190
10191         * lyxtextclass.C:
10192         * lyxtextclasslist.C: added some using std declarations.
10193
10194 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * box.h: make signed dimensions to allow insets wider than
10197           the screen (bug #162)
10198
10199         * BufferView_pimpl.C: add some insetHit debug
10200
10201 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * vc-backend.C: add FIXME
10204
10205 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * lyxfunc.C (getStatus): enable code for showing math font status
10208         in toolbar/menu.
10209
10210 2002-01-07  Juergen Vigna  <jug@sad.it>
10211
10212         * text.C (nextBreakPoint): removed debug output not needed anymore.
10213
10214 2002-01-06  Juergen Vigna  <jug@sad.it>
10215
10216         * text.C (nextBreakPoint): fixed up this function we had this bug
10217         since ever but now hopefully we break row better.
10218         (insertChar): we have to check if an inset is the next char as it
10219         could now happen that a large inset is causing a break.
10220
10221 2002-01-05  Juergen Vigna  <jug@sad.it>
10222
10223         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10224         if it doesn't like to be drawed.
10225
10226 2002-01-04  Juergen Vigna  <jug@sad.it>
10227
10228         * BufferView2.C (lockInset): forgot to set a cursor.
10229
10230         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10231
10232 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10233
10234         * FormMathsPanel.C:
10235         * FormMathsPanel.h
10236         * MathsSymbols.C:
10237         * form_maths_panel.C:
10238         * form_maths_panel.h:
10239         * form_maths_panel.fd: implemented sub- and super- buttons in math
10240         panel.
10241
10242         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10243         (or ^ space) to be used as in TeX (req'd by André).
10244
10245         * lyxfunc.C: Allow ^ and _ again to be used both as
10246         super/subscript (mathed) and as themselves (in text).
10247
10248 2002-01-03  Allan Rae  <rae@lyx.org>
10249
10250         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10251         "LyX" or the filename of the current buffer if it has one.  This is a
10252         modified form of John Levon's patch.
10253
10254         * XFormsView.C (setWindowTitle): also set icon title.
10255
10256         * LyXView.h (setWindowTitle): signature changed.
10257         * XFormsView.h (setWindowTitle): ditto.
10258
10259 2002-01-02  Juergen Vigna  <jug@sad.it>
10260
10261         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10262
10263 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10264
10265         * screen.C (topCursorVisible): introduce a temp var for
10266         text->cursor.row(), handle the case where this row is null. (kindo
10267         hachish)
10268
10269         * text2.C (setCursor): add a couple of asserts.
10270
10271         * paragraph.h (inset_iterator): add -> operator
10272
10273         * paragraph.[Ch] (autoDeleteInsets): remove member function
10274
10275         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10276         cursor pos correctly and handle inset deletion by itself.
10277         (insertErrors): move iterator declaration out of for expression
10278
10279         * lyxtextclass.C: add <algorithm>
10280
10281         * Makefile.am: added the new files to sources, removed layout.C
10282
10283         * layout.C: removed file
10284
10285         * layout.h: remove LYX_DUMMY_LAYOUT
10286
10287         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10288         layout.
10289
10290         * lyxlayout.[Ch]:
10291         * lyxtextclass.[Ch]:
10292         * lyxtextclasslist.[Ch]: new files
10293
10294         * include order changes to a lot of files, also changes because of
10295         the six new files.
10296
10297 2001-12-27  Juergen Vigna  <jug@sad.it>
10298
10299         * buffer.C (asciiParagraph): more fixes.
10300
10301         * tabular.C (ascii): make ascii export support export of only the
10302         data separated by a column-delimiter.
10303         (ascii): better support for ascii export.
10304
10305         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10306
10307 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * tabular_funcs.C: use a "using std::getline" instead of the
10310         previous fix from Angus (necessary for cxx + lyxstring)
10311
10312 2001-12-24  Juergen Vigna  <jug@sad.it>
10313
10314         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10315
10316         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10317         problems. First check a minipage also if we have some ert-contents
10318         (not only on par->size(), second set the right depth of the paragraph
10319         on the relink to the root-paragraph-list!
10320
10321         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10322         which then did not anymore update the main paragraphs on undo/redo!
10323
10324 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10327         code. Support all font-changing funcs (even those which are not in
10328         menu currently). Support for reporting font settings in
10329         mathed (disabled until Andre provides a function on mathed's side).
10330
10331         * func_status.h (toggle): small helper function to set toggle
10332         state on a flag.
10333
10334 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10335
10336         * tabular_funcs.C: getline -> std::getline
10337
10338 2001-12-21  Juergen Vigna  <jug@sad.it>
10339
10340         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10341         accessed and could be 0 (I couldn't generate this but it seems
10342         Michael could!).
10343
10344 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10347         * tabular_funcs.h: here and include iosfwd
10348
10349 2001-12-20  Juergen Vigna  <jug@sad.it>
10350
10351         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10352         inside inset but undo_par was.
10353
10354 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * Thesaurus.C: always include <config.h> in sources.
10357
10358         * Painter.h:
10359         * lyxlookup.h:
10360         * box.h: do not include <config.h> in header files
10361
10362         * text.C (paintLastRow): remove unused variable
10363
10364         * text.C (transformChar):
10365         (insertChar):
10366         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10367
10368         * Painter.C (text):
10369         * font.C (width): rewrite to use uppercase() instead of
10370         islower/toupper.
10371
10372         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10373
10374 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * lyxfind.C: clean up of find failure position change
10377
10378 2001-12-20  Juergen Vigna  <jug@sad.it>
10379
10380         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10381
10382         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10383         (TeXRow): added to LaTeX a single tabular row.
10384         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10385         (Latex): simplified and finally good LT-h/f support.
10386         (various_functions): just small adaptions for LT-h/f support.
10387
10388         * tabular_funcs.[hC]: added and moved here all not classfunctions
10389         of LyXTabular.
10390
10391 2001-12-19  Juergen Vigna  <jug@sad.it>
10392
10393         * tabular.[Ch]: better support for longtabular options (not finished
10394         yet!)
10395
10396 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * text.C (paintLastRow): use the label font instead of the font of
10399         the last character to compute the size of *_BOX. This makes more
10400         sense and avoids a crash with empty paragraphs.
10401         Use Painter::rectangle to draw EMPTY_BOX.
10402
10403 2001-12-19  Juergen Vigna  <jug@sad.it>
10404
10405         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10406         the paragraphs if the replaced paragraph is not the first one!
10407         Tried to delete not used paragraphs but does not work yet so for
10408         now it's inside #ifdef's and by default off!
10409
10410 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * MenuBackend.C: include "lyx_main.h" instead of declaring
10413         lastfiles (actually was declared as LastFiles* instead of a
10414         scoped_ptr).
10415
10416 2001-12-17  Juergen Vigna  <jug@sad.it>
10417
10418         * tabular.C (AppendColumn): applied John's fix
10419
10420 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * BufferView.h:
10423         * BufferView.C:
10424         * BufferView_pimpl.h:
10425         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10426
10427         * Makefile.am:
10428         * box.h: new start of class for above
10429
10430         * lyxfunc.C: ignore space-only minibuffer dispatches.
10431           Show the command name when it doesn't exist
10432
10433         * minibuffer.C: don't add empty lines to the history
10434
10435         * minibuffer.C: add a space on dropdown completion
10436
10437 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * text.C: fix line above/below drawing in insets
10440
10441 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * lyxlength.C (LyXLength): Initialize private variables.
10444
10445 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10446
10447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10448         when inserting error insets.
10449
10450 2001-12-13  Juergen Vigna  <jug@sad.it>
10451
10452         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10453         actually sometimes the before-paragraph.
10454         (setUndo): don't clear the redostack if we're not actually undoing!
10455
10456 2001-12-06  Juergen Vigna  <jug@sad.it>
10457
10458         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10459         and fixed redoing of main paragraph, so we can use it now ;)
10460
10461         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10462
10463 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10466         Juergen's request
10467
10468 2001-12-13  André Pönitz <poenitz@gmx.net>
10469
10470         * undostack.[Ch]:
10471         * undo_func.C: minor cleanup
10472
10473 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10476         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10477         font in urw-fonts package which is marked as -urw-fontspecific and
10478         does not work (incidentally, changing the encoding in the
10479         fonts.dir of this package to -adobe-fontspecific fixes the
10480         problem).
10481
10482         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10483         is a crash when undoing first paragraph (Juergen, please take a
10484         look). THis does not mean the undo fix is wrong, just that it
10485         uncovers problems.
10486
10487         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10488         the (Paragraph*) version when needed instead of duplicating the
10489         code.
10490
10491         * text.C (workWidth): use Inset::parOwner to find out where the
10492         inset has been inserted. This is a huge performance gain for large
10493         documents with lots of insets. If Inset::parOwner is not set, fall
10494         back on the brute force method
10495
10496         * paragraph_pimpl.C (insertInset):
10497         * paragraph.C (Paragraph):
10498         (cutIntoMinibuffer): set parOwner of insets when
10499         inserting/removing them
10500
10501         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10502
10503 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10504
10505         * commandtags.h:
10506         * LyXAction.C:
10507         * lyx_main.C:
10508         * lyxfunc.C:
10509         * mathed/formulabase.C:
10510         * mathed/math_cursor.[Ch]:
10511         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10512
10513
10514 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * lyxlength.[Ch] (operator!=): new function
10517
10518 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * text.C (workWidth): use Inset::parOwner to find out where the
10521         inset has been inserted. This is a huge performance gain for large
10522         documents with lots of insets. If Inset::parOwner is not set, fall
10523         back on the brute force method
10524
10525         * paragraph_pimpl.C (insertInset):
10526         * paragraph.C (Paragraph):
10527         (cutIntoMinibuffer): set parOwner of insets when
10528         inserting/removing them
10529
10530         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10531
10532 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * tabular-old.C (getTokenValue):
10535         * tabular.C (getTokenValue):
10536         (write_attribute): new versions for LyXLength
10537         (everywhere): adjust the use of widths
10538
10539         * tabular.h: change the type of widths from string to LyXLength
10540
10541 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10542
10543         * paragraph.C: fixed missing line number count when exporting
10544         Environments to LaTeX file
10545
10546         * buffer.C: added informational message for checking line numbers.
10547
10548 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10549
10550         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10551         paragraph, do the 'double space' part, but not the 'empty
10552         paragraph' one.
10553
10554         * text.C (workWidth): small optimization
10555         (getLengthMarkerHeight): use minimal size for negative lengths.
10556
10557 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10558
10559         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10560
10561         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10562
10563 2001-12-11  André Pönitz <poenitz@gmx.net>
10564
10565         * FontLoader.C:
10566         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10567
10568 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * text2.C: keep selection on a setFont()
10571
10572 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * lyx_cb.C: another bv->text misuse, from insert label
10575
10576 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * kbsequence.h:
10579         * kbsequence.C: re-instate nmodifier mask
10580
10581 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10582
10583         * lyx_main.h: make lyxGUI private.
10584
10585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * lyxfind.C: place the cursor correctly on failed search
10588
10589 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * text.C (getLengthMarkerHeight): for small heights, the arrows
10592         are not always on top/bottom of the text
10593         (drawLengthMarker): smaller arrows; take the left margin in
10594         account; draw also vfills.
10595         (paintFirstRow):
10596         (paintLastRow): remove special code for vfill and standard spaces,
10597         since everything is handled in drawLengthMarker now.
10598
10599 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * buffer.C (insertErtContents): try to handle font and language
10602         interaction a bit better.g
10603
10604         * ColorHandler.C (updateColor): change the hash to cover the whole
10605         LColor enum, ws cleanup
10606         (getGCLinepars): ditto
10607         (getGCLinepars): only lookup in the linecache once.
10608
10609 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * iterators.C (operator++): Make the iterator more robust
10612
10613         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10614         (John's patch)
10615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10616
10617 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxtext.h:
10620         * text.C: better added space drawing
10621
10622 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10623
10624         * LyXView.C:
10625         * BufferView2.C: fix layout combo update on inset unlock
10626
10627 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * Makefile.am: don't compile unused files
10630
10631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * lyxfunc.C:
10634         * commandtags.h:
10635         * LyXAction.C: remove old LFUN_LAYOUTNO
10636
10637 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * paragraph_pimpl.h:
10640         * paragraph_pimpl.C: isTextAt() doesn't need font param
10641
10642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * lyxlex.h:
10645         * lyxlex.C: little cleanup
10646
10647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * BufferView_pimpl.C: fix insertAscii for insets
10650
10651 2001-12-05  Juergen Vigna  <jug@sad.it>
10652
10653         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10654         set the right font on the "multi" paragraph paste!
10655
10656 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10657
10658         * trans_decl.h:
10659         * trans_mgr.[Ch]:
10660         * trans.[Ch]:
10661         * lyxgluelength.C:
10662         * lyxlength.C: remove out-commented code.
10663
10664         * BufferView_pimpl:
10665         * CutAndPaste.C:
10666         * DepTable.C:
10667         * buffer.C:
10668         * chset.C:
10669         * lastfiles.C:
10670         * lyxlex.C:
10671         * lyxlex_pimpl.C:
10672         * lyxserver.C:
10673         * screen.C:
10674         * tabular-old.C:
10675         * tabular.C:
10676         * text.C:
10677         * trans_mgr.C:
10678         * vc-backend.C: change "while(" to "while ("
10679
10680         * lyxlength.[Ch]: add zero function to check if length is zero or
10681         not
10682         * lyxgluelength.C: use it
10683
10684 2001-12-05  Allan Rae  <rae@lyx.org>
10685
10686         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10687         Works for 2.95.3, from what I understand of Garst's reports this should
10688         work for other g++ versions.  We're screwed if the abs(int) definition
10689         changed between bugfix releases of gcc.
10690
10691 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * text.C: fix chapter label offset !
10694
10695 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * lyxtext.h:
10698         * text.C: fix hfill at end of line, clean up
10699
10700 2001-12-04  Juergen Vigna  <jug@sad.it>
10701
10702         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10703         that we force an update of the inset and it's owners if neccessary.
10704
10705 2001-12-03  Juergen Vigna  <jug@sad.it>
10706
10707         * text.C (rowLast): simplified code
10708
10709 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * lyxfunc.C: fix show options on timeout
10712
10713 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * screen.C (topCursorVisible): scroll half a page when the cursor
10716         reached top of bottom of screen
10717
10718 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * minibuffer.C: deactivate on loss of focus
10721
10722 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * vspace.[Ch] (operator!=): add operator.
10725
10726 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView_pimpl.C: refuse to open an inset when
10729         there's a selection.
10730
10731 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView_pimpl.C: allow to click on RHS of full row insets
10734
10735 2001-11-30  Juergen Vigna  <jug@sad.it>
10736
10737         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10738         insets for undo reasons.
10739
10740 2001-11-28  André Pönitz <poenitz@gmx.net>
10741
10742         * vspace.[Ch]: cosmetical changes
10743
10744 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10745
10746         * LyXAction.h:
10747         * LyXAction.C:
10748         * lyxfunc.h:
10749         * lyxfunc.C:
10750         * kbmap.h:
10751         * kbmap.C:
10752         * lyxrc.C:
10753         * kbsequence.h:
10754         * kbsequence.C: part re-write of old kb code
10755
10756         * Painter.C:
10757         * WorkArea.C: remove Lgb_bug_find_hack
10758
10759 2001-11-30  José Matos <jamatos@fep.up.pt>
10760
10761         * buffer.C (makeDocBookFile): add a comment to point a hack.
10762         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10763         Fixed a double write of labels.
10764
10765 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10766
10767         * LaTeX.C:
10768         * LaTeX.h Fixed bug in LaTeX class where it would not
10769         re-run latex if no depfiles were changed, but the .dvi was removed.
10770
10771 2001-11-28  André Pönitz <poenitz@gmx.net>
10772
10773         * all the files from the change on 2001/11/26:
10774         use lyx::layout_type instead of LyXTextClass::size_type
10775         use lyx::textclass_type instead of LyXTextClassList::size_type
10776
10777 2001-11-29  Juergen Vigna  <jug@sad.it>
10778
10779         * text.C: added support for paragraph::isFreeSpacing()
10780
10781         * buffer.C: same as above
10782
10783         * paragraph.h: inserted isFreeSpacing() function to enable
10784         FreeSpacing inside InsetERT.
10785
10786         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10787         of the paragraph's in the cut/copy buffer to 0!
10788
10789         * text2.C (removeRow): remove the assert as it can!
10790
10791         * lyxtext.h: added helper function firstRow returning firstrow and
10792         made firstrow private again.
10793
10794         * BufferView2.C (lockInset): don't relock if we're already locked!
10795
10796         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10797         the only paragraph.
10798         (removeRow): added Assert::(firstrow)
10799
10800         * debug.C: forgot to add INSETTEXT here.
10801
10802 2001-11-28  Juergen Vigna  <jug@sad.it>
10803
10804         * sp_spell.C (initialize): changed error text to more general
10805         spellchecker command use (not only ispell!)
10806
10807         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10808
10809         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10810
10811 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * vspace.C: initialise lyxgluelength on failure
10814
10815 2001-11-28  Allan Rae  <rae@lyx.org>
10816
10817         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10818         declaration & definition that looks like a function declaration.
10819
10820 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10821
10822         * BufferView2.C (copy):
10823         (copyEnvironment): do not clear the selection when doing a copy.
10824
10825         * text.C (paintFirstRow): compilation fix
10826
10827 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10828
10829         * tabular.C (Latex): correct line count when writing latex.
10830
10831 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * paragraph_pimpl.h:
10834         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10835           bug a bit
10836
10837 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * text.C:
10840         * LColor.h:
10841         * LColor.C: change vfillline->added_space
10842
10843         * text.C: add markers and text for added space
10844
10845         * vspace.C: fix comment
10846
10847 2001-11-28  André Pönitz <poenitz@gmx.net>
10848
10849         * paragraph.C: whitespace changes
10850         * all the other files from the change on 2001/11/26:
10851         change *::pos_type into lyx::pos_type
10852
10853 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10854
10855         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10856         language of the document when inserting error insets.
10857
10858 2001-11-26  André Pönitz <poenitz@gmx.net>
10859
10860         * BufferView_pimpl.[Ch]:
10861         *       CutAndPaste.C:
10862         * buffer.[Ch]:
10863         * lyxcursor.[Ch]:
10864         * lyxfind.C:
10865         * lyxfunc.C:
10866         * lyxrow.[Ch]:
10867         * paragraph.[Ch]:
10868         * paragraph_pimpl.[Ch]:
10869         * sp_spell.C:
10870         * text.C:
10871         * text2.C: reduce header dependencies, introduce type for positions
10872
10873 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * <various>: change to use Alert.h
10876
10877 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10878
10879         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10880         when encountering an unknown token.
10881         (readLyXformat2): Show an error message if there were unknown tokens.
10882
10883 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * BufferView2.C:
10886         * BufferView_pimpl.C:
10887         * buffer.C:
10888         * paragraph.h:
10889         * text.C:
10890         * text2.C: use par->isInset()
10891
10892 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * paragraph_pimpl.h:
10895         * paragraph_pimpl.C: cleanup
10896
10897 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10898
10899         * text2.C (removeRow):
10900         * text.C (setHeightOfRow): remove useless (and costly) call to
10901         getRow.
10902
10903 2001-11-20  Allan Rae  <rae@lyx.org>
10904
10905         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10906         Now need Inset*::checkInsertChar() to return true for appropriate
10907         cases so that the characters in the minibuffer will actually be
10908         inserted.
10909
10910 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10911
10912         * text.C: change the order of the includes.
10913         (workWidth): initialize it at once.
10914         (workWidth): make maxw unsigned
10915         (setHeightOfRow): remove unused variable (inset)
10916         (selectSelectedWord): remove unused variable (inset)
10917         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10918
10919 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10920
10921         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10922         server is not running.
10923         (openConnection):
10924         (closeConnection): add debug info when server is disabled.
10925
10926         * ColorHandler.C (getGCForeground): send debug message to GUI
10927         channel.
10928
10929         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10930
10931         * kbmap.C (bind): modify because return conventions of
10932         kb_sequence::parse have changed.
10933
10934         * kbsequence.C (parse): only ignore spaces and not any stupid
10935         control character. This avoids tests like s[i] <= ' ', which are
10936         guaranteed to fail with 8bit characters and signed chars.
10937         Change return code to string::npos when there have been no error
10938         (0 was a bad idea when error is at first character)
10939
10940 2001-11-14  José Matos  <jamatos@fep.up.pt>
10941
10942         * buffer.h:
10943         * buffer.C (simpleDocBookOnePar): removed unused argument.
10944
10945 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10946
10947         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10948         insets which are part of a word. Paragraph::isLetter takes care of
10949         that now. Use Paragraph::isInset to identify insets.
10950         (selectSelectedWord): do not test for hyphenation break.
10951
10952         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10953         that protected spaces are considered as spaces.
10954
10955         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10956         Inset::isLetter.
10957
10958 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * lyxserver.h:
10961         * lyxserver.C: fix it. and small cleanup.
10962
10963 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10964
10965         * BufferView_pimpl.C: use inline helpers
10966
10967         * LaTeXFeatures.h:
10968         * LaTeXFeatures.C: fix typos
10969
10970         * Spacing.h:
10971         * Spacing.C: move spacing_string into class
10972
10973         * ToolbarDefaults.C: move stuff into namespace anon
10974
10975         * layout.h: update enum
10976
10977         * lyxfunc.C: use better debug
10978
10979         * minibuffer.h: fix typo
10980
10981         * debug.h:
10982         * debug.C:
10983         * WorkArea.C: add and use Debug::WORKAREA
10984
10985         * lyxtext.h:
10986         * text.C:
10987         * text2.C: code re-organisation, inline helpers
10988
10989 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10990
10991         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10992         std::vector.empty().
10993
10994 2001-11-09  Allan Rae  <rae@lyx.org>
10995
10996         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10997         '\n's after tables.  Tabular and ERT inset work now makes this no
10998         longer necessary.
10999
11000 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * minibuffer.h:
11003         * minibuffer.C: fix crash, improve drop-down completion
11004
11005 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * lyxserver.h:
11008         * lyxserver.C: invalidate fd's when doing endPipe()
11009
11010 2001-11-08  José Matos  <jamatos@fep.up.pt>
11011
11012         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11013         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11014
11015         * paragraph.h:
11016         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11017
11018 2001-11-07  José Matos  <jamatos@fep.up.pt>
11019
11020         * buffer.h:
11021         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11022         const qualifier.
11023
11024         * buffer.C (sgmlOpenTag):
11025         * buffer.C (sgmlCloseTag): removed debug info.
11026
11027         * buffer.h (sgmlOpenTag):
11028         * buffer.h (sgmlCloseTag): made public.
11029
11030 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11031
11032         * buffer.C (saveParamsAsDefaults):
11033         * lyx_cb.C (MenuLayoutSave): remove
11034
11035         * LyXAction.C (init):
11036         * commandtags.h:
11037         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11038
11039 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * buffer.C (setPaperStuff): removed from here...
11042
11043         * bufferparams.C (setPaperStuff): ... and moved there.
11044
11045 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11046
11047         * minibuffer.h:
11048         * minibuffer.C:
11049         * XFormsView.C: add support for drop-down completion
11050
11051 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11054         commands.
11055
11056 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11059         disabled.
11060
11061 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * lyx_main.C: change ref to known bugs
11064
11065 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11066
11067         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11068         to work around older babel problems.
11069
11070 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11071
11072         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11073
11074 2001-10-24  Juergen Vigna  <jug@sad.it>
11075
11076         * tabular-old.C (ReadOld): below variable changes reflected.
11077
11078         * tabular.[Ch]: added ltType struct for longtable header/footer
11079         defines and changed all instances where they are used. Added
11080         future support for double top/bottom rows.
11081
11082 2001-10-24  José Matos  <jamatos@fep.up.pt>
11083
11084         * buffer.h (docbookHandleCaption):
11085         * buffer.C (docbookHandleCaption): removed unused function.
11086         (makeDocBookFile): moved docbook supported version to v4.1.
11087
11088 2001-10-24  José Matos  <jamatos@fep.up.pt>
11089
11090         * tabular.h:
11091         * tabular.C (docbookRow): new function to export docbook code of a row.
11092         (DocBook): now honors the longtable flags.
11093
11094 2001-10-23  José Matos  <jamatos@fep.up.pt>
11095
11096         * LaTeXFeatures.h:
11097         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11098         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11099
11100         * buffer.C (makeLinuxDocFile):
11101         (makeDocBookFile): reworked the preamble, more clean, and with
11102         support for lyx defined entities. Changed the document declaration
11103         to be more XML friendly.
11104
11105         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11106         if we need to output XML that should be done with a filter.
11107
11108 2001-10-22  Juergen Vigna  <jug@sad.it>
11109
11110         * sp_pspell.h (class PSpell): add alive function needed in the
11111         controller to see if the spellchecker could be started.
11112
11113 2001-10-22  Juergen Vigna  <jug@sad.it>
11114
11115         * buffer.C (insertStringAsLines): modify the font for inserting
11116         chars in certain conditions by calling checkInsertChar(font).
11117
11118 2001-10-19  Juergen Vigna  <jug@sad.it>
11119
11120         * text.C (workWidth): use getRow instead of wrong algorithm.
11121         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11122
11123 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * lyxserver.h:
11126         * lyxserver.C:
11127         * lyx_main.h:
11128         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11129
11130 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11131
11132         * text.C (workWidth): do not search for the exact row when
11133         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11134         optimization for big documents.
11135
11136 2001-10-18  Juergen Vigna  <jug@sad.it>
11137
11138         * text.C (workWidth): new function with added Inset * parameter.
11139
11140 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11141
11142         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11143
11144         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11145         change return type of getColumnNearX.
11146
11147
11148         * text.C (changeRegionCase): use uppercase/lowercase instead of
11149         toupper/tolower.
11150         (leftMargin):
11151         (rightMargin): simplify code by factoring out the uses of
11152         textclasslist.
11153         (labelFill):
11154         (numberOfHfills):
11155         (setHeightOfRow):
11156         (appendParagraph): use Paragraph::size_type
11157
11158 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11159
11160         * vspace.C (asLatexString): add a missing break
11161
11162 2001-10-15  Herbert Voss  <voss@perce.de>
11163
11164         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11165
11166 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11169         is not available.
11170
11171 2001-10-10  André Pönitz <poenitz@gmx.net>
11172
11173         * lyxfunc.C: removed greek_kb_flag.
11174
11175 2001-10-10  Herbert Voss  <voss@perce.de>
11176
11177         * lyx_main.C: delete global string help_lyxdir.
11178
11179 2001-10-09  Herbert Voss  <voss@perce.de>
11180
11181         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11182
11183         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11184
11185         * lyx_main.C: added global string help_lyxdir.
11186
11187         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11188
11189 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11190
11191         * lyxrc.C (set_font_norm_type): support iso8859-4
11192
11193 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11194
11195         * LaTeX.C (deplog): add another regex for MikTeX
11196
11197 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11198
11199         * lyxrc.C (set_font_norm_type): support iso8859-3
11200
11201 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11202
11203         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11204
11205         * LaTeXFeatures.C: remove special case of french and index
11206
11207         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11208         before \begin{document}). This solves several incompatibilities.
11209
11210 2001-10-03  Garst Reese  <reese@isn.net>
11211
11212         * lyx_cb.C: change CheckTex error msg.
11213
11214 2001-10-03  José Matos  <jamatos@fep.up.pt>
11215
11216         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11217
11218 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11219
11220         * .cvsignore: update
11221
11222         * lyx_main.C (commandLineVersionInfo): use new style version info.
11223
11224         * buffer.C (writeFile):
11225         (makeLaTeXFile):
11226         (makeLinuxDocFile):
11227         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11228
11229         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11230
11231         * version.h: update to use stuff in version.C
11232
11233         * version.C.in: new file. Contains version information determined
11234         at compile time. This is a merging of version.h and
11235         version_info.h.in.
11236
11237 2001-10-03  Juergen Vigna  <jug@sad.it>
11238
11239         * BufferView_pimpl.C (update): don't change "dirty" status in
11240         updateInset call.
11241
11242 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11243
11244         * WorkArea.C (c-tor): re-position version string slightly.
11245
11246 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11247
11248         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11249         revert to previous code.
11250
11251         WorkArea.[Ch]: (show, destroySplash): methods removed.
11252
11253         WorkArea.C: rework code so that it's an amalgam of the codes before and
11254         after the splash screen was moved to WorkArea.
11255
11256 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11257
11258         * lyxrc.C (read):
11259         * vspace.C (inPixels):
11260         (lyx_advance):
11261         * kbmap.C (bind):
11262         * buffer.C (insertStringAsLines):
11263         (asciiParagraph): fix types to be large enough
11264
11265         * lyxlex_pimpl.h: change member status from short to int
11266
11267         * layout.h: fix type of endlabeltype
11268
11269         * kbmap.C (bind):
11270         * kbsequence.C (parse): change return type to string::size_type
11271
11272         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11273         variable
11274
11275         * Bullet.C (bulletSize):
11276         (bulletEntry): do not use short ints as parameters
11277
11278         * BufferView2.C (insertLyXFile): change a char to an int.
11279
11280         * WorkArea.C (WorkArea): remove unneeded floats in computation
11281
11282 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11283
11284         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11285
11286         * paragraph.C (asString): Do not ignore newline/hfill chars when
11287         copying to the clipboard.
11288
11289 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11290
11291         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11292         after a multi-line inset.
11293
11294 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11295
11296         * paragraph.C (validate): Set NeedLyXFootnoteCode
11297
11298 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11299
11300         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11301         and decrease-error to decrease.
11302
11303 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11304
11305         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11306         it more readable (should be equivalent)
11307
11308 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11309
11310         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11311
11312 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11313
11314         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11315         of a cursor (row, etc.) after a character has been deleted
11316         (deleteEmptyParagraphMechanism): call the method above on _all_
11317         cursors held by the LyXText when a double space has been
11318         detected/deleted.
11319
11320 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11323         pixmap.
11324         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11325
11326         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11327         background. Use greyOut() and the new show() methods to toggle between
11328         the foreground and background. Add code to remove the splash after
11329         its initial showing.
11330
11331         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11332         (create_forms): no longer call Dialogs::showSplash.
11333
11334 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * .cvsignore: add version_info.h
11337
11338 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11339
11340         * version_info.h.in: new file
11341
11342         * Makefile.am: add version_info.h.in
11343
11344         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11345         version_info.h instead of VERSION_INFO
11346
11347 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11348
11349         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11350         The ERT inset now returns string().
11351
11352 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * lyxtext.h, text.C (selectNextWord): renamed as
11355         selectNextWordToSpellcheck.
11356
11357         * text.C (selectNextWordToSpellcheck): Modified to not select
11358         words inside an ERT inset.
11359
11360 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11361
11362         * lyx_cb.C (MenuLayoutSave): change a bit the question
11363
11364         * sp_base.h: include <sys/types.h>
11365
11366 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11367
11368         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11369
11370 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11371
11372         * several files: fix typos in user-visible strings
11373
11374 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * text2.C (pasteSelection): do not set the selection, since it
11377         will be cleared later. Actually, the intent was to fix the way the
11378         selection was set, but I figured rmoving the code was just as good.
11379
11380 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11381
11382         * FontLoader.C (available): Check if font is available without
11383         loading the font.
11384
11385 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11386
11387         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11388
11389 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11390
11391         * lyxrc.[Ch]: added display_graphics variable and associated code.
11392
11393 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * bufferparams.C (hasClassDefaults): new method. Returns true if
11396         the buffer parameters correspond to known class defaults
11397
11398 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11399
11400         * XFormsView.C (show): set minimum size to the main window.
11401
11402 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11403
11404         * text2.C (copySelection):
11405         (cutSelection):
11406         * lyxfind.C (LyXReplace):
11407         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11408         LyXText::selectionAsString.
11409
11410         * paragraph.C (asString): add "label" argument to the second form
11411
11412         * text2.C (selectionAsString): add "label" argument and pass it to
11413         Paragraph::asString.
11414
11415 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11416
11417         * lyx_main.C (commandLineHelp): remove version information
11418
11419 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11420
11421         * lyx_main.C: add -version commandline option
11422
11423 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * paragraph.h: make the optional constructor arg required instead.
11426         some modifications to other files because of this.
11427
11428         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11429
11430         * lyxserver.C (C_LyXComm_callback): make it static
11431
11432         * lyx_main.C (error_handler): make it static
11433
11434         * lyx_gui.C (LyX_XErrHandler): make it static
11435
11436         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11437
11438         * WorkArea.C: make the extern "C" methods static.
11439
11440         * Makefile.am (lyx_LDADD): simplify
11441
11442 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11445         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11446
11447         * LyXAction.C (init):
11448         * lyxfunc.C (dispatch): associated code removal.
11449
11450 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11451
11452         * lyxfont.h (isSymbolFont): shut off warning
11453
11454         * text.C (setHeightOfRow):
11455         (getVisibleRow): fix crash with empty paragraphs which have a
11456         bottom line
11457
11458 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11459
11460         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11461         code.
11462
11463 2001-09-04  José Matos  <jamatos@fep.up.pt>
11464         * buffer.C
11465         * buffer.h
11466         * tabular.C (docbook): rename docBook method to docbook.
11467
11468 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * Makefile.am: add dependencies to main.o.
11471
11472 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * FontLoader.C (available): Return false if !lyxrc.use_gui
11475
11476 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11477
11478         * FontInfo.C (query):
11479         * converter.C (view):
11480         * importer.C (Import):
11481         * exporter.C (Export): Can not -> cannot.
11482
11483 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * BufferView_pimpl.C: allow to create index inset even if
11486           string is empty
11487
11488 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * buffer.C (getLists): replace boost::tie code with an explicit pair
11491         as boost::tie can break some compilers.
11492
11493         * iterators.h: Added a std:: declaration to the return type of
11494         ParIterator::size.
11495
11496 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11499           case.
11500
11501 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11502
11503         * iterators.[Ch]: New files. Provide paragraph iterators.
11504
11505         * buffer.C (changeLanguage): Use paragraph iterators.
11506         (isMultiLingual): ditto
11507
11508         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11509
11510 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11511
11512         * FontLoader.C: Support for cmr font.
11513
11514 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11515
11516         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11517         (available): New method.
11518
11519         * FontInfo.C (getFontname): Use scalable fonts even when
11520         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11521         found.
11522
11523 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11524
11525         * converter.C (Formats::view): reverted! Incorrect fix.
11526
11527 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11528
11529         * converter.C (Formats::view): only output the -paper option
11530         if the dvi viewer is xdvi, thereby fixing bug #233429.
11531
11532 2001-08-23  Herbert Voss  <voss@perce>
11533
11534         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11535
11536 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11537
11538         * Spacing.h (Spacing): Set space to Default on in the default
11539         constructor.
11540
11541 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * vc-backend.h (RCS::versionString): add RCS to version
11544         (CVS::versionString): add CVS to version
11545
11546         * vc-backend.C (scanMaster): do not add CVS to version.
11547         (scanMaster): do not add RCS to version
11548
11549         * lyxvc.C (versionString): new method
11550
11551         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11552
11553 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * Spacing.C (set): initialize fval
11556
11557 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11558
11559         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11560         " or \.
11561
11562 2001-08-16  Juergen Vigna  <jug@sad.it>
11563
11564         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11565
11566 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * BufferView_pimpl.C:
11569         * figureForm.C:
11570         * lyxtext.h:
11571         * text2.C: setParagraph takes linespacing now
11572
11573 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * LyxAction.C: add internal LFUN_CITATION_INSERT
11576
11577         * LyXView.C: actually apply fix
11578
11579         * bufferlist.C: fix open non-existent file
11580
11581         * lyxfind.C: fix indentation
11582
11583         * lyxfunc.C: remove unneeded assert, fix typo
11584
11585 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * MenuBackend.C: use "Floatname List"
11588
11589 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11592         when converting LaTeX layout to insetERT.
11593         Generate a non-collapsed float when reading old float
11594
11595 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11596
11597         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11598         ERT insets.
11599
11600 2001-08-13  Juergen Vigna  <jug@sad.it>
11601
11602         * text.C (fill): return 0 instead of 20 as this seems to be the more
11603         correct value.
11604
11605 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11608         lyxrc.font_norm.
11609
11610 2001-08-13  Juergen Vigna  <jug@sad.it>
11611
11612         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11613         casesensitive off.
11614         (SearchBackward): comment out the unlocking of the inset_owner this
11615         should not be needed!
11616
11617 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * Many files: Remove inherit_language, and add latex_language
11620
11621         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11622         collapsible insets.
11623
11624 2001-08-10  Juergen Vigna  <jug@sad.it>
11625
11626         * text.C (prepareToPrint): fixed hfill-width in draw!
11627
11628         * BufferView2.C (selectLastWord): save the selection cursor as this
11629         now is cleared in the function LyXText::clearSelection!
11630
11631 2001-08-08  Juergen Vigna  <jug@sad.it>
11632
11633         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11634         BACKSPACE type functions.
11635
11636         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11637         is only cutted from the document but not put in the cut-buffer, where
11638         still the old stuff should be.
11639
11640         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11641
11642         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11643
11644         * tabular.C (SetWidthOfCell): fixed special case where the width
11645         was not updated!
11646         (LeftLine): handle '|' in align_special.
11647         (RightLine): ditto
11648         (LeftAlreadyDrawed): ditto
11649         (SetWidthOfCell): ditto
11650
11651 2001-08-07  Juergen Vigna  <jug@sad.it>
11652
11653         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11654
11655 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11656
11657         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11658         * lyxlex.[hC]: ditto
11659
11660 2001-08-06  Juergen Vigna  <jug@sad.it>
11661
11662         * text.C (getVisibleRow): fix up row clearing a bit.
11663
11664 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * minibuffer.C: make sure the X server sees the changes in the input.
11667
11668 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * paragraph.C (getFont): split into...
11671         (getLabelFont): this
11672         (getLayoutFont): and this
11673         * paragraph_pimpl.C (realizeFont): calling this
11674
11675         * text2.C (getFont): split into...
11676         (getLayoutFont): this
11677         (getLabelFont): and this
11678         (realizeFont): all three calling this
11679
11680         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11681         files where used.
11682
11683 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11684
11685         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11686
11687 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11688
11689         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11690         layouts from the Quote inset insertion.
11691
11692 2001-08-03  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11695
11696         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11697         only if status not is already CHANGED_IN_DRAW (second level).
11698
11699         * text.C (draw): don't set the need_break_row when inside an
11700         InsetText LyXText.
11701
11702 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * buffer.C (parseSingleLyXformat2Token): handle more latex
11705         conversion cases.
11706
11707         * bufferview_funcs.[hC]: change function names to
11708         begin with small char, adjust other files.
11709
11710 2001-08-02  André Pönitz <poenitz@gmx.net>
11711
11712         * lyxfunc.C:
11713         BufferView_pimpl.C: remove broken special code for math-greek
11714
11715 2001-08-02  Juergen Vigna  <jug@sad.it>
11716
11717         * BufferView_pimpl.C (update): redone this function so that we
11718         update the text again if there was a CHANGE_IN_DRAW.
11719
11720         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11721         (drawFromTo): added a new internal bool which is used by draw() and
11722         redraw() function.
11723         (general): some cursor drawing problems fixed.
11724
11725 2001-08-01  Juergen Vigna  <jug@sad.it>
11726
11727         * lyxfind.C (LyXFind): fixed
11728         (SearchForward): ditto
11729         (SearchBackward): ditto
11730
11731         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11732         spurius drawing of the cursor in the main area.
11733
11734         * text2.C (status): small fix which could lead to a segfault!
11735         (clearSelection): remove unneeded BufferView param.
11736
11737 2001-08-01  André Pönitz <poenitz@gmx.net>
11738
11739         * lyxfunc.C: small change due to changed mathed interface
11740
11741 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11744
11745 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * lyxfunc.c: fail gracefully if file doesn't exist
11748
11749         * LyXSendto.C:
11750         * buffer.C:
11751         * lyxfunc.C:
11752         * BufferView_pimpl.C: IsDirWriteable() proto changed
11753
11754         * LyXView.C: fix updateWindowTitle() to store the last title
11755
11756 2001-07-31  Juergen Vigna  <jug@sad.it>
11757
11758         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11759         the font (wrong since using of Paragraph::highestFontInRange).
11760
11761         * paragraph.C (highestFontInRange): added a default_size parameter.
11762
11763         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11764         (setHeightOfRow): reformat
11765
11766 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * converter.[hC] + affected files: move to (inital-char)lowercase
11769         function names.
11770
11771         * ParagraphParameters.C (ParagraphParameters): remove commented code
11772
11773         * PainterBase.[Ch]: remove commented code
11774
11775         * LaTeXFeatures.h: add "bool floats" for float.sty
11776
11777         * LaTeXFeatures.C (LaTeXFeatures): init floats
11778         (require): handle float
11779         (getPackages): do it with floats
11780
11781 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * BufferView_pimpl.C (Dispatch): improve handling of
11784         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11785
11786         * commandtags.h: #include lyxfont.h here temporarily to avoid
11787         keybinding bug.
11788
11789         * bufferlist.h: include LString.h here.
11790
11791 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * text2.C (getStringToIndex): new method.
11794
11795 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11796
11797         * *: Reduced header file dependencies all over.
11798
11799 2001-07-30  Baruch Even  <baruch@lyx.org>
11800
11801         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11802
11803 2001-07-29  Baruch Even  <baruch@lyx.org>
11804
11805         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11806
11807 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11808
11809         * ParameterStruct.h (endif): add a default constructor to make
11810         sure that all variables is initialized.
11811
11812         * ParagraphParameters.C (ParagraphParameters): adjust
11813
11814 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11815
11816         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11817         index; also, check that there is something to index, and that it
11818         does not span over several paragraphs.
11819         (doubleClick): use WHOLE_WORD_STRICT for double click.
11820
11821         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11822
11823         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11824         scheme.
11825
11826 2001-07-26  Baruch Even  <baruch@lyx.org>
11827
11828         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11829         an InsetFig figure, backwards compatible reading of old figure code.
11830
11831 2001-07-27  Juergen Vigna  <jug@sad.it>
11832
11833         * text2.C: font.realize function adaption.
11834
11835         * text.C (draw): add a warnings lyxerr text if needed.
11836
11837         * layout.C: font.realize function adaption.
11838
11839         * language.C: add inherit_language and implement it's handlings
11840
11841         * bufferview_funcs.C (StyleReset): remove language parameter from
11842         font creation (should be language_inherit now).
11843
11844         * bufferparams.C (writeFile): handle ignore_language.
11845
11846         * paragraph.C (getFontSettings): the language has to be resolved
11847         otherwise we have problems in LyXFont!
11848
11849         * lyxfont.C (lyxWriteChanges): added document_language parameter
11850         (update): removed unneeded language parameter
11851
11852         * paragraph.C (validate): fixed wrong output of color-package when
11853         using interface colors for certain fonts in certain environments,
11854         which should not seen as that on the final output.
11855
11856 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * BufferView_pimpl.C:
11859         * Thesaurus.h:
11860         * Thesaurus.C:
11861         * Makefile.am:
11862         * commandtags.h:
11863         * LyXAction.C: add thesaurus support
11864
11865         * lyxfind.h:
11866         * lyxfind.C: add "once" parameter, for thesaurus, to not
11867           move to the next match
11868
11869 2001-07-26  Juergen Vigna  <jug@sad.it>
11870
11871         * lyxfont.C (realize): honor ignore_language too!
11872         (resolved): ditto.
11873
11874         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11875
11876         * text.C (draw): one place more for ignore_language to not draw
11877         itself!
11878
11879 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11882
11883 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11886         the minipage conversion problem.
11887
11888 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11891         insert an inset.
11892
11893 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * BufferView.h: don't forward declare WorkArea
11896
11897         * BufferView.C: don't include WorkArea.h
11898
11899 2001-07-25  André Pönitz <poenitz@gmx.net>
11900
11901         * commandtags.h:
11902         * LyXAction.C:
11903         * lyxfunc.C:  new LFUN 'math-space'
11904
11905         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11906
11907 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * text2.C (toggleInset): call open/close
11910
11911 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * lyxfunc.C (dispatch): add debug for the disabled case
11914
11915         * font.C (buttonText): make similar to rectText
11916
11917         * buffer.C (readInset): comment out parsing of insetlist and
11918         insttheorem
11919
11920         * PainterBase.C (rectText): small correction
11921
11922         * BufferView_pimpl.C: comment out insettheorem and insetlist
11923         * LyXAction.C: ditto
11924         * commandtags.h: ditto
11925
11926 2001-07-24  Juergen Vigna  <jug@sad.it>
11927
11928         * text.C (draw): honor the ignore_language.
11929
11930         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11931
11932 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11933
11934         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11935         char inset.
11936
11937 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11938
11939         * lyxtext.h: remove unused (and unimplemented) methods
11940
11941 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11942
11943         * text.C (getVisibleRow): honor background color
11944
11945         * PainterBase.h:
11946         * Painter.h: remove default color argument for fillRectangle
11947
11948         * text.C (backgroundColor): new method
11949
11950 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * text.C (getVisibleRow): adjust
11953
11954         * font.[Ch] (rectText): new method, metrics
11955         (buttonText): new method, metrics
11956
11957         * PainterBase.[hC]: make rectText and buttonText always draw and take
11958         fewer paramteres.
11959
11960 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11961
11962         * ToolbarDefaults.C (read):
11963         * MenuBackend.C (read): allow escaping in all strings
11964
11965         * BufferView_pimpl.C (insertAndEditInset): new method.
11966         (Dispatch): use insertAndEditInset whenever appropriate.
11967
11968         * BufferView_pimpl.C (insertNote): removed
11969
11970         * BufferView_pimpl.C (smartQuote): new method, moved from
11971         BufferView; if an insetquote cannot be inserted, insert a '"'
11972         character instead.
11973
11974         * BufferView2.C: remove insertCorrectQuote();
11975
11976         * lyxfunc.C (getStatus): Add support for all remaingin
11977         inset-insert lfuns.
11978
11979         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11980
11981         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11982         command (necessary to pass " as parameter of self-insert.
11983
11984         * text.C (selectWordWhenUnderCursor):
11985         (selectWord): add word_location parameter
11986         (selectWordWhenUnderCursor): same + remove special code for word
11987         boundary.
11988         (selectNextWord): use kind() to guess type of insetspecialchar,
11989         not latex().
11990
11991         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11992         (insertErtContents): create ert insets as collapsed.
11993         (readInset): better compatibility code for Info inset.
11994
11995 2001-07-20  Juergen Vigna  <jug@sad.it>
11996
11997         * lyxfunc.C (dispatch): use always LyXFind now!
11998
11999         * text2.C (init): add a reinit flag so that the LyXText can be
12000         reinited instead of deleted and reallocated (used in InsetText).
12001
12002         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12003
12004         * text.C: ditto
12005
12006         * text2.C: ditto
12007
12008 2001-07-18  Juergen Vigna  <jug@sad.it>
12009
12010         * text.C (selectNextWord): handle insets inside inset by calling
12011         always the bv->text functions so that we can go up the_locking_inset!
12012
12013         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12014         in strange locations when inside an inset!
12015
12016         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12017         handling to include insets.
12018
12019         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12020
12021 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12022
12023         * LyXAction.C (init):
12024         * commandtags.h:
12025         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12026         LIGATURE_BREAK, since the name is so stupid.
12027
12028 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12031         InsetInfos.
12032
12033         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12034
12035         * sp_form.[Ch]: remove.
12036
12037         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12038
12039         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12040         InsetInfo.
12041
12042         * src/buffer.C (readInset): ditto.
12043
12044 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12045
12046         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12047         menuSeparator(), endOfSentenceDot(), ldots() and
12048         hyphenationPoint(), which are therefore removed.
12049         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12050
12051         * LyXAction.C (init):
12052         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12053
12054         * paragraph.C (getWord): removed.
12055
12056         * BufferView_pimpl.C (Dispatch): use last word or selection for
12057         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12058
12059         * lyx_main.C (queryUserLyXDir): do not ask before creating
12060         user_dir, except if it has been named explicitely.
12061
12062 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12063
12064         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12065         a document of zero size.
12066
12067 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12068
12069         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12070         approriately in the c-tor and in require().
12071         (getPackages): output the appropriate LaTeX for natbib support.
12072
12073         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12074         variables "use_natbib" and "use_numerical_citations" when reading the
12075         LyX file.
12076         (readInset): read the various natbib cite commands.
12077         (validate): white-space change.
12078
12079         * bufferparams.[Ch]: new variables "bool use_natbib" and
12080         "bool use_numerical_citations".
12081         (writeFile): output them in the LyX file.
12082
12083 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12084
12085         * lyxfunc.C (getStatus): add support for all the inset insertion
12086         commands.
12087
12088         * text2.C (insertInset):
12089         * paragraph.C (insetAllowed):
12090         * BufferView_pimpl.C (insertInset): update to take in account the
12091         renaming of insertInsetAllowed
12092
12093         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12094
12095         * text2.C (getInset): new method. returns inset at cursor position.
12096
12097         * BufferView_pimpl.C (Dispatch): changes because of this.
12098
12099         * LyXAction.C (init): rename open-stuff to inset-toggle.
12100
12101         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12102
12103         * text2.C (toggleInset): renamed from openStuff; use
12104         Inset::open().
12105
12106 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12107
12108         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12109
12110         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12111
12112 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12113
12114         * buffer.C (readLyXformat2): Add filename to the error dialog
12115
12116 2001-07-18  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular.C (GetCellNumber): put an assert here instead of the check!
12119
12120 2001-07-17  Juergen Vigna  <jug@sad.it>
12121
12122         * BufferView_pimpl.C (toggleSelection): adapted too.
12123
12124         * text.C (selectNextWord): adapted for use with insets.
12125         (selectSelectedWord): ditto
12126
12127 2001-07-17  Juergen Vigna  <jug@sad.it>
12128
12129         * sp_spell.C (PSpell): fix initialitation order.
12130
12131 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * paragraph.C: spacing
12134
12135 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12136
12137         * sp_spell.C: repair language selection for pspell
12138
12139 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * lyxfunc.h: change more methods to begin with lower char.
12142
12143 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12146         for unknown layouts.
12147
12148 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * buffer.C (readLyXformat2): Generate an error dialog if there are
12151         unknown layouts.
12152
12153 2001-07-16  Juergen Vigna  <jug@sad.it>
12154
12155         * sp_spell.C: always compile ISpell part.
12156
12157         * lyxrc.C: added use_pspell entry and it's handling.
12158
12159 2001-07-13  Juergen Vigna  <jug@sad.it>
12160
12161         * sp_spell.C: removed double includes.
12162
12163 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12164
12165         Consistent use of Lsstream.h:
12166         * Lsstream.h: added using std::stringstream for consistencies sake.
12167
12168         * buffer.C: removed using std::stringstream
12169
12170         * lyxfont.C (stateText):
12171         * paragraph.C (asString):
12172         * text.C (selectNextWord, selectSelectedWord):
12173         * text2.C (setCounter):
12174         * vspace.C (asString, asLatexString):
12175         std::ostringstream -> ostringstream.
12176
12177 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12178
12179         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12180         * commandtags.h: add LFUN_HELP_ABOUTLYX
12181         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12182
12183 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12184
12185         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12186         cursorToggle()
12187         * lyx_gui_misc.C: remove spellchecker
12188         * lyxfunc.C: showSpellchecker
12189         * sp_base.h: added
12190         * sp_ispell.h: added
12191         * sp_pspell.h: added
12192         * sp_spell.C: added
12193         * sp_form.[Ch]: removed
12194         * spellchecker.[Ch]: removed
12195
12196 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12197
12198         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12199         is set.
12200         (simpleTeXSpecialChars): Simply print the input character without
12201         any special translation if pass_thru is set.
12202
12203         * layout.h: Added bool pass_thru to layout class for being able to
12204         implement pass through of a paragraph for Literate Programming.
12205
12206         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12207         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12208         * layout.C (Read): add "passthru" to list of layout tags and add
12209         code to set the pass_thru boolean when it is read.
12210
12211 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * trans_decl.h: remove allowed from KmodInfo
12214
12215         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12216         remove allowed code
12217         (Load): adjust
12218
12219         * paragraph_pimpl.C (erase): use boost::prior
12220
12221         * Painter.C (text): use data() instead of c_str() when length is
12222         also provided.
12223         * WorkArea.C (putClipboard): ditto
12224         * font.h (width): ditto
12225
12226         * BufferView2.C: use it-> instead of (*it). for iterators
12227         * texrow.C: ditto
12228         * paragraph_pimpl.C: ditto
12229         * paragraph.C: ditto
12230         * minibuffer.C: ditto
12231         * language.C: ditto
12232         * kbmap.C: ditto
12233         * encoding.C: ditto
12234         * counters.C: ditto
12235         * converter.C: ditto
12236         * chset.C: ditto
12237         * Variables.C: ditto
12238         * TextCache.C: ditto
12239         * MenuBackend.C: ditto
12240         * LyXAction.C: ditto
12241         * LColor.C: ditto
12242         * FloatList.C: ditto
12243         * DepTable.C: ditto
12244         * ColorHandler.C (LyXColorHandler): ditto
12245
12246 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12249
12250         * text2.C (openStuff): reintroduce this method (which had been
12251         nuked in NEW_INSETS frenzy).
12252
12253         * lyxfunc.C (Dispatch): when an action has not been handled, use
12254         its name in the error message, not its number.
12255
12256         * paragraph.C (inInset): change method name to begin with lowercase.
12257
12258         * undo_funcs.C:
12259         * text2.C: updates because of this.
12260
12261 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * ToolbarDefaults.C (add): add spaces in error message
12264
12265 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12268         (readLyXformat2): rename return_par to first_par, use lyxlex's
12269         pushToken and remove the manual push handling.
12270         (parseSingleLyXformat2Token): add another ert comp. variable:
12271         in_tabular, rename return_par to first_par. handle newlines better
12272
12273 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12276
12277 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * text2.C (getParFromID): removed
12280
12281         * buffer.C (getParFromID): new method moved form lyxtext.
12282         * BufferView2.C (insertErrors): adjust
12283         (setCursorFromRow): adjust
12284         * BufferView_pimpl.C (restorePosition): adjust
12285         * lyxfunc.C (Dispatch): adjust
12286         * undo_funcs.C (textUndo): adjust
12287         (textRedo): adjust
12288         (textHandleUndo): adjust
12289         (textHandleUndo): adjust
12290
12291 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * buffer.C: up' the LYX_FORMAT
12294
12295         * lyxfont.h: turn NO_LATEX on as default
12296
12297         * buffer.C (insertErtContents): new methods of tex style compability.
12298         (parseSingleLyXformat2Token): use it several places.
12299         * tabular.C (OldFormatRead): and here
12300
12301 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12302
12303         * text2.C: remove some commented code.
12304         reindent file.
12305
12306         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12307         * trans.C: changes because of the above.
12308
12309 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12310
12311         * text2.C (setCounter): Fix counters bug with bibliography layout.
12312
12313 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12316         own member functions
12317         (simpleTeXSpecialChars): ditto
12318
12319 2001-07-06  Juergen Vigna  <jug@sad.it>
12320
12321         * a lot of files: changed the access to LyXText::status and the
12322         call of undo-functions.
12323
12324         * undo.[Ch]: added a inset_id to the undo informations.
12325
12326         * undo_funcs.[Ch]: added and moved here all undo functions.
12327
12328         * lyxtext.h: give the status enum a weight, made status_ a private
12329         variable and made accessor functions for it, removed the whole bunch
12330         of undo-functions as they are now in their own file, make some
12331         functions publically available. Added function ownerParagraph with
12332         int parameter.
12333
12334         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12335         made InInset() a const function, added getParFromID() function.
12336
12337         * buffer.[Ch]: added const version for inset_iterator functions,
12338         added getInsetFromID() function.
12339
12340         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12341         changed undo functions for new version.
12342
12343 2001-07-05  Juergen Vigna  <jug@sad.it>
12344
12345         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12346         unknow mechanism does not call the proper constructor but only this
12347         one also if I request the other!?
12348
12349 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12352
12353         * text2.C (LyXText): use initialization lists.
12354
12355         * lyxtext.h (Selection): initialize set_ and mark_
12356         (init): remove method
12357
12358 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12359
12360         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12361
12362 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * screen.[Ch]: change method names to begin with lowercase
12365
12366         * BufferView_pimpl.C (updateScrollbar): simplify further and
12367         hopefully make it a bit faster.
12368
12369 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12372         calling directly xforms functions.
12373
12374         * Painter.C (Painter):
12375         * lyx_cb.C (MenuWrite):
12376         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12377         fl_display.
12378
12379         * lyx_gui.C: remove bogus guiruntime extern declaration.
12380
12381 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12384         in NEW_INSETS
12385         (redoDrawingOfParagraph): ditto
12386         (redoParagraphs): ditto
12387         (cutSelection): don't create a object for CutAndPaste use the
12388         static method directly
12389         (pasteSelection): ditto
12390
12391         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12392         LyXview (+ rename)
12393
12394 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12395
12396         * modifications to some other files because of this.
12397
12398         * Makefile.am (lyx_SOURCES): add XFormsView
12399
12400         * XFormsView.[Ch]: new files
12401
12402         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12403         the main window. Move the gui dependent stuff to XFormsView
12404
12405 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12406
12407         * tabular.C (GetCellInset): update cur_cell also in the row/col
12408         version of this function.
12409
12410         * lyxfunc.C: no need to include figure_form.h here.
12411
12412         * FontLoader.h:
12413         * lyxfunc.h:
12414         * lyxscreen.h:
12415         * text2.C:
12416         * lyxvc.C: no need to include forms.h here.
12417
12418 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12419
12420         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12421
12422         * lyxfunc.C (Dispatch):
12423         * Spacing.C (set):
12424         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12425         constructor argument.
12426
12427 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * paragraph.C (Paragraph): dont't clear, and just set layout.
12430         (makeSameLayout): use params's copy contructor.
12431
12432         * ParagraphParameters.[Ch] (makeSame): delete method
12433
12434 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * Variables.[Ch]: fix indentation, rename set to isSet
12437
12438 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * lyxfunc.C (Dispatch): fix typo
12441
12442 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12443
12444         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12445         upper_bound.
12446
12447         * bufferlist.C: include assert.h for emergencyWrite().
12448
12449 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12452           give up at last (bug #425202) !
12453
12454 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * lyx_gui_misc.C:
12457         * sp_form.h:
12458         * sp_form.C:
12459         * spellchecker.h:
12460         * spellchecker.C: strip spellchecker options and bring up
12461           preferences tab instead
12462
12463 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12466         the istringstream constructor
12467
12468 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12469
12470         * paragraph.C (getLayout): fix return value
12471
12472         * paragraph.h: do not declare getLayout as inline.
12473
12474         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12475
12476 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12477
12478         * lyxcursor.h (operator<): new func
12479         (operator>): new func
12480         (operator>=): new func
12481         (operator<=): new func
12482
12483         * text.C (changeCase): use selection.start and selection.end
12484         (changeRegionCase): require from to be <= to. Require par to be a
12485         valid paragraph.
12486
12487         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12488
12489 2001-06-27  Juergen Vigna  <jug@sad.it>
12490
12491         * text.C (cursorLeftOneWord): changed to return the cursor and added
12492         overlay with BufferView * parameter which calls this one.
12493         (getWord): added
12494         (selectWord): use new getWord function.
12495         (changeCase): renamed from changeWordCase as and extended to work
12496         also on selections.
12497
12498         * lyxtext.h: added enum word_location
12499
12500         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12501         changeCase as this operates now also on selections.
12502
12503 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12504
12505         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12506
12507         * many files: send debug output to Debug::INFO instead of
12508         Debug::ANY.
12509
12510         * converter.C (View):
12511         (Convert):
12512         (Move): send debug output to Debug::FILES instead of console.
12513
12514 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12515
12516         * lyxfunc.C (getStatus): use func_status
12517
12518         * func_status.h: new header, describing the results of
12519         LyXFunc::getStatus;
12520
12521         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12522         LFUN_MATH_HALIGN.
12523
12524 2001-06-25  The LyX Project  <jug@sad.it>
12525
12526         * buffer.C (sgmlOpenTag):
12527         (sgmlCloseTag):
12528         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12529
12530 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * text2.C: remove some dead code
12533
12534         * tabular.C (GetCellInset): store the last cell checked (gotten)
12535
12536         * tabular.h: add the helper for the speedup
12537
12538         * lyxtext.h: remove some dead code
12539
12540 2001-06-26  The LyX Project  <Asger>
12541
12542         * paragraph.C: Change export to LaTeX of alignment to
12543         \begin{center} and family for better roundtrip work with reLyX.
12544
12545         * Tune the math drawing a bit.
12546
12547 2001-06-25  The LyX Project  <Asger>
12548
12549         * LColor.C (LColor): New color for math background. New color
12550         for buttons.
12551
12552 2001-06-25  The LyX Project  <jug@sad.it>
12553
12554         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12555
12556         * lyxfunc.C (Open):
12557         * bufferlist.C (newFile): do not restrict to files ending with
12558         .lyx
12559
12560         * BufferView_pimpl.C (MenuInsertLyXFile):
12561
12562 2001-06-24  The LyX Project  <jug@sad.it>
12563
12564         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12565         of compare_no_case
12566
12567 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * lyxtext.h: rename most methods to begin with a small char.
12570         Lots of changes because of this.
12571
12572         * paragraph.C (Paragraph): do not call fitToSize
12573         (erase): call Pimpl::erase
12574         (insertChar): call Pimpl::insertChar
12575         (insertInset): call Pipl::insertInset
12576         (breakParagraph): do not call fitToSize
12577         (breakParagraphConservative): do not call fitToSize
12578         (fitToSize): remove method
12579
12580         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12581
12582 2001-06-24  The LyX Project  <Asger>
12583
12584         * Fix Qt compilation^2
12585
12586 2001-06-24  The LyX Project  <jug@sad.it>
12587
12588         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12589         depthHook(getDepth()-1).
12590
12591         * paragraph.h:
12592         * ParagraphParameters.h:
12593         * ParameterStruct.h: change type of depth to unsigned int ==
12594         depth_type. Many adaptations to other files before of that.
12595
12596 2001-06-24  The LyX Project  <Asger>
12597
12598         * Fix Qt compilation.
12599
12600 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * paragraph.h: renamed several methods to begin with small letter.
12603         several changes to many parts of the code because of this.
12604
12605 2001-06-23  The LyX Project  <jug@sad.it>
12606
12607         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12608         rewritten to discard all double spaces when KeepEmpty is off
12609         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12610         to only handle newlines but not fiddle with spaces and friends.
12611
12612         * lyxfunc.C (MenuNew): when doing 'new from template', use
12613         template_path as default directory
12614
12615 2001-06-23  The LyX Project  <Asger>
12616
12617         * Clean-up of header file includes all over
12618         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12619
12620 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12621
12622         * paragraph.h: renamed from lyxparagraph.h
12623
12624 2001-06-23  Asger  <lyx@violet.home.sad.it>
12625
12626         * Buffer.h: Removed Buffer::resize
12627         * BufferList.h: Removed BufferList::resize
12628         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12629         the document lazily when we change the width, or the font settings.
12630
12631 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12634
12635 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * buffer.h: remove out of date comment
12638
12639 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * lyxscreen.h:
12642         * screen.C: fix "theoretical" GC leak
12643
12644 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12645
12646         * LaTeX.C (scanAuxFile):
12647         (deplog): remove trailing \r when reading stream (useful under
12648         win32)
12649
12650 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12651
12652         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12653         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12654         and BufferView::theLockingInset(Inset*), so should use them and not
12655         access bv_->text->the_locking_inset directly.
12656
12657         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12658
12659 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * Makefile.am:
12662         * tex-defs.h: remove old unused file
12663
12664 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * BufferView_pimpl.C: fix typo, remove minibuffer message
12667           when buffer has loaded
12668
12669 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * lyxfunc.C (Dispatch): use stringstream
12672         (MenuNew): use stringstream
12673         (Open): use stringstream
12674
12675         * importer.C (Import): use stringstream
12676
12677         * bufferview_funcs.C (CurrentState): use stringstream
12678
12679         * LaTeX.C (run): use stringstream
12680
12681         * BufferView_pimpl.C (savePosition): use stringstream
12682         (restorePosition): use stringstream
12683         (MenuInsertLyXFile): use stringstream
12684
12685 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * BufferView.C:
12688         * Bullet.C:
12689         * ColorHandler.C:
12690         * FontInfo.C:
12691         * FontLoader.C:
12692         * LColor.C:
12693         * LaTeXFeatures.C:
12694         * Painter.C:
12695         * gettext.C:
12696         * lyx_gui_misc.C:
12697         * lyxserver.C:
12698         * vspace.C: removed // -*- C++ -*- as first line.
12699
12700         * lyxfind.h:
12701         * version.h: added // -*- C++ -*- as first line.
12702
12703 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12704
12705         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12706
12707         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12708         of string
12709
12710 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12713         of floats.
12714
12715 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12716
12717         * gettext.C: include LString.h even when --disable-nls is on.
12718
12719 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * converter.h (Get): changed argument type from int to
12722         FormatList::size_type to avoid unnecessary conversion.
12723
12724         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12725         before using it.
12726
12727 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * gettext.h: include LString.h even when --disable-nls is on.
12730
12731 2001-06-07  Juergen Vigna  <jug@sad.it>
12732
12733         * text.C (BreakAgain): subst spaces with tabs.
12734
12735         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12736         (resizeInsetsLyXText): set force on resizeLyXText.
12737
12738 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * gettext.h (gettext_init):
12741         (locale_init): use a real definition instead of a macro
12742
12743 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12744
12745         * Bufferview_pimpl.C:
12746         * LColor.h:
12747         * LColor.C: further lcolor tidies
12748
12749 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * BufferView_pimpl.C (updateScrollbar): simplify.
12752
12753         * BufferView2.C: don't include insets/insetinfo.h, change
12754         prototype for insertInset and call the Pimpl version. let
12755         updateInset call Pimpl version.
12756
12757         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12758         gotoInset to BufferView::Pimpl
12759
12760 2001-06-01  Juergen Vigna  <jug@sad.it>
12761
12762         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12763         inside a LockingInset (is the update needed at all?).
12764
12765 2001-05-31  Juergen Vigna  <jug@sad.it>
12766
12767         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12768         here not the old one otherwise how should we compare it afterwards
12769         if it's the same!
12770
12771 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxfont.C:
12774         * tabular.C:
12775         * tabular-old.C:
12776         * FontInfo.C: bring C functions into global namespace when
12777         necessary
12778
12779 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * LString.h: make sure config.h has been loaded before LString.h.
12782
12783         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12784         (one for each char read by EatLine!).
12785
12786         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12787         variables.
12788
12789 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12792         to the same as the par we break from
12793
12794 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12797
12798         * MenuBackend.C (expand): also create menu entries for wide
12799         versions of the floats.
12800
12801         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12802
12803         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12804
12805         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12806         frontends/Makefile.am
12807
12808         * text2.C: adjust
12809         * text.C: adjust
12810
12811
12812         * tabular.C (getTokenValue): add std::
12813
12814         * tabular-old.C (getTokenValue): add std::
12815         (getTokenValue): ditto
12816         (getTokenValue): ditto
12817
12818         * screen.C (ToggleSelection): adjust
12819
12820         * lyxtext.h: put selection cursors inside a Selection struct.
12821
12822         * lyxfunc.C (moveCursorUpdate): adjust
12823
12824         * lyxfont.C (latexWriteStartChanges): add std::
12825
12826         * lyxfind.C: adjust
12827
12828         * font.h: delete with(char const *, LyXFont const &)
12829
12830         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12831
12832         * FontInfo.C (getFontname): add std::
12833
12834         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12835         (workAreaButtonPress): adjust
12836         (tripleClick): adjust
12837         (update): adjust
12838         (moveCursorUpdate): adjust
12839         (Dispatch): adjust
12840
12841         * BufferView2.C (gotoInset): adjust
12842
12843 2001-05-30  Juergen Vigna  <jug@sad.it>
12844
12845         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12846         to check pspell I add this as default as I now have new pspell
12847         libraries and they seem to use this.
12848
12849 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * text2.C (CutSelection): make the cursor valid before the call to
12852         ClearSelection.
12853
12854 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12857         relied on 0 terminated strings and other horrors. Bug found due to
12858         the new assert in lyxstring!
12859
12860         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12861         KP_ keys.
12862
12863 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12866         to latinkeys.bind.
12867
12868         * lyxfunc.C (processKeySym): change method of getting to the
12869         self-insert char.
12870
12871         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12872         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12873         * BufferView_pimpl.[Ch]: here as private methods.
12874
12875 2001-05-28  Juergen Vigna  <jug@sad.it>
12876
12877         * text.C (SetHeightOfRow): added the update() call again as it is
12878         needed to initialize inset dimensions!
12879
12880 2001-05-16  Juergen Vigna  <jug@sad.it>
12881
12882         * text2.C (SetCharFont): Add new function with BufferView * and
12883         bool toggleall parameters for setting insets internal fonts.
12884         (SetFont): Freeze the undo as we may change fonts in Insets and
12885         all this change should be inside only one Undo!
12886
12887         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12888         setting font's in insets as for them we have the SetFont function!
12889
12890 2001-05-15  Juergen Vigna  <jug@sad.it>
12891
12892         * text2.C (ClearSelection): to be sure we REALLY don't have any
12893         selection anymore!
12894
12895         * tabular.C (TeXCellPreamble): fixed the left border problem for
12896         multicolumn cells.
12897
12898 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12901         dependancy file
12902
12903 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12906         LFUN_BREAKPARAGRAPH.
12907
12908         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12909         help test to "internal only", similar for LFUN_INSERT_URL
12910
12911         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12912         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12913         auto_region_delete and deadkeys.
12914
12915 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * LColor.h:
12918         * LColor.C: remove some dead entries, tidy a little
12919
12920 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12923         commented code.
12924         (Dispatch): implement LFUN_ESCAPE
12925
12926         * commandtags.h: add LFUN_ESCAPE
12927
12928         * LyXAction.C (init): add entry for LFUN_ESCAPE
12929
12930         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12931         Remove commented code.
12932         (insertNote): moved here
12933         (open_new_inset): moved here
12934
12935         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12936         BufferView_pimpl
12937
12938 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12939
12940         * kbmap.C (findbinding): clean it up and make it work correctly.
12941
12942         * lyx_main.C (init): do not pass argc and argv as parameters
12943
12944 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12945
12946         * buffer.C: fix path for OS/2 & Win32
12947
12948         * lyx_gui.C:
12949         * lyx_main:
12950         * lyx_main.C: Added os:: class.
12951
12952         * os2_defines.h: update
12953
12954 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12957         better by trying again with reduced state.
12958
12959 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * lyxrc.C (read): print error about invalid key sequence only when
12962         debugging (because not all latinX keysyms are known to some X
12963         servers)
12964
12965         * kbsequence.C (getiso): add a few std:: qualifiers
12966         (getiso): comment out extra return statement.
12967
12968 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12971         handling.
12972         (Dispatch): enhance the accent inset a bit. (not perfect)
12973
12974 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12977
12978 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * bufferlist.C (emergencyWrite): fix assert() call
12981
12982 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12983
12984         * text.C (InsertChar): Added trivial patch to only send the "you
12985         can not do multiple spaces this way" message once during a
12986         session.
12987
12988 2001-05-08  Baruch Even  <baruch@lyx.org>
12989
12990         * Makefile.am: Changed order of libraries to get LyX to link properly
12991         with the gnome frontend.
12992
12993 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12994
12995         * LaTeXFeatures.h: add a std:: qualifier
12996
12997 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * paragraph.C (String): use stringstream
13000
13001 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13002
13003         * paragraph.C (writeFile): remove footflag arg
13004
13005         * buffer.C (makeLaTeXFile): use stringstream
13006         (latexParagraphs): remove footnot gurba
13007
13008         * LaTeXFeatures.C (getPackages): use stringstream
13009         (getMacros): likewise
13010         (getTClassPreamble): likewise
13011         (getFloatDefinitions): new method
13012
13013         * paragraph.C (writeFile): reindent
13014         (Erase): reindent
13015
13016         * WorkArea.h: revert the xpos + etc changes.
13017
13018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13019
13020         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13021
13022         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13023         (pasteSelection): likewise
13024         * text2.C (CreateUndo): likewise
13025
13026 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13027
13028         * minibuffer.C (peek_event): temporarily reduce the functionality
13029         of the minibuffer (to allow args on lfuns)
13030
13031         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13032         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13033
13034         * buffer.C (readInset): add compability reading of old float
13035         lists, add reading of new style float list.
13036         (readInset): avoid reevaluation of inscmd.getCmdName()
13037         (getLists): reindent
13038
13039         * MenuBackend.C (MenuItem): implement parsing of
13040         md_floatlistinsert and md_floatinsert.
13041         (expand::LastFiles): move initalizaton of iterators out of loop,
13042         avoid reevaluation.
13043         (expand::Documents): introduce typdedef vector<string> Strings,
13044         and use it.
13045         (expand::ExportFormats): introduce typedef vector<Format const *>
13046         Formats, and use it.
13047         (expand): implement FloatListInsert and FloatInsert.
13048
13049         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13050         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13051         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13052
13053         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13054         handling.
13055         (Dispatch::LFUN_FLOAT_LIST): implement
13056
13057 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13058
13059         * LaTeX.C (run): Fix problem with --export code.
13060
13061 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13062
13063         * BufferView.[Ch] (workarea): removed.
13064         (getClipboard) new method; wrapper for workarea()->getClipboard()
13065
13066         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13067         bug.
13068
13069         * WorkArea.h (width, height, xpos, ypos): These methods all
13070         returned the dimensions of the work_area sub-area of WorkArea,
13071         resulting in a position error if the WorkArea were resized. Now
13072         return the dimensions of the entire WorkArea.
13073
13074         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13075
13076 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * LaTeX.C (deplog): correct the syntax of regex reg1
13079
13080 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * undo.C: remove !NEW_INSETS cruft
13083
13084 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * text2.C: remove !NEW_INSETS cruft
13087
13088         * text.C: remove !NEW_INSETS cruft
13089
13090         * tabular.C: remove !NEW_INSETS cruft
13091
13092         * spellchecker.C: remove !NEW_INSETS cruft
13093
13094         * lyxtext.h: remove !NEW_INSETS cruft
13095
13096         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13097
13098         * lyxfunc.C: remove !NEW_INSETS cruft
13099
13100         * lyxfind.C: remove !NEW_INSETS cruft
13101
13102         * lyx_cb.C: remove !NEW_INSETS cruft
13103
13104         * figureForm.C: remove  !NEW_INSETS cruft
13105
13106         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13107
13108         * buffer.[Ch]: remove !NEW_INSETS cruft
13109
13110         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13111
13112         * CutAndPaste.C: remove !NEW_INSETS cruft
13113
13114         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13115
13116         * BufferView2.C: remove !NEW_INSETS cruft
13117
13118         * BufferView.h: remove !NEW_INSETS cruft
13119
13120 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13121
13122         * Lsstream.h: include LString.h before the sstream headers to
13123         fix problem with gcc 2.95.3 and lyxstring
13124
13125 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * lyx_main.C: add using directives when needed for C functions
13128         declared in std:: namespace.
13129
13130 2001-04-27  Juergen Vigna  <jug@sad.it>
13131
13132         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13133         (SetHeightOfRow): comment out the update call should not be needed!
13134
13135 2001-04-13  Juergen Vigna  <jug@sad.it>
13136
13137         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13138         (LyXTabular): tried to minimize operator= operations (and realized
13139         hopfully Lars wish).
13140
13141 2001-04-27  Juergen Vigna  <jug@sad.it>
13142
13143         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13144
13145 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13148
13149         * buffer.C (readInset): hack to make listof algorithm work
13150
13151         * BufferView_pimpl.C: hack to make listof algorithm work
13152
13153 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * LyXAction.C: removed all !NEW_INSETS cruft
13156         (init): moved lfun_item in method
13157
13158         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13159
13160 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13161
13162         * BufferView2.C (theLockingInset): white space.
13163
13164 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * minibuffer.C: include <iostream>
13167
13168         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13169
13170         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13171
13172         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13173
13174         * text.[Ch] (TransposeChars): new method
13175
13176 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * call message directly through LyXView instead of through LyXFunc
13179         * BufferView2.C: adjust
13180         * BufferView_pimpl.C: adjust
13181         * FontLoader.C: adjust
13182         * buffer.C: adjust
13183         * bufferview_funcs.C: adjust
13184         * converter.C: adjust
13185         * figureForm.C: adjust
13186         * importer.C: adjust
13187         * lyx_cb.C: adjust
13188         * lyx_gui_misc.C: adjust
13189         * lyxfunc.C: adjust
13190         * lyxvc.C: adjust
13191         * text2.C: adjust
13192         + more files in subdirs
13193
13194         * lyxparagraph.h (size): move up int file
13195         (GetLayout): ditto
13196
13197         * adjust all uses of Assert to lyx::Assert.
13198
13199         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13200         lyxfunctional in namespace lyx
13201         * layout.C (hasLayout): ditto
13202         (GetLayout): ditto
13203         (GetLayout): ditto
13204         (delete_layout): ditto
13205         (NumberOfClass): ditto
13206         * converter.C (GetFormat): ditto
13207         (GetNumber): ditto
13208         (Add): ditto
13209         (Delete): ditto
13210         (SetViewer): ditto
13211         * bufferlist.C (getFileNames): ditto
13212         (emergencyWriteAll): ditto
13213         (exists): ditto
13214         (getBuffer): ditto
13215         * MenuBackend.C (hasSubmenu): ditto
13216         (hasMenu): ditto
13217         (getMenu): ditto
13218         * BufferView_pimpl.C (getInsetByCode): ditto
13219
13220 2001-04-18  Juergen Vigna  <jug@sad.it>
13221
13222         * vspace.C (asLatexString): fixed the 100% problem.
13223
13224 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * lyxfunc.C (Dispatch):
13227         * minibuffer.C:
13228         * minibuffer.h: add a few std:: qualifiers
13229
13230 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13231
13232         * minibuffer.[Ch]: reimplement so that commands is initiated and
13233         run from lyxfunc, simplified som handling, and made the completion
13234         and history code for complete. wip.
13235
13236         * lyxfunc.C (processKeySym): call message
13237         (miniDispatch): new temporary method
13238         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13239         (LFUN_MESSAGE): implement
13240         (LFUN_MESSAGE_PUSH): implement
13241         (LFUN_MESSAGE_POP): implement
13242         (initMiniBuffer): the initial/defualt minibuffer message.
13243
13244         * lyxfont.[Ch]: inline some more getters
13245
13246         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13247
13248         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13249
13250         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13251         (AutoSave): use LFUN_MESSAGE
13252         (Reconfigure): ditto
13253
13254         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13255
13256         * figureForm.C: use LFUN_MESSAGE
13257
13258         * converter.C (runLaTeX): use LFUN_MESSAGE
13259
13260         * bufferview_funcs.C: use LFUN_MESSAGE
13261         (Melt): ditto
13262         (changeDepth): ditto
13263
13264         * bufferparams.h: use boost::
13265
13266         * bufferlist.h: inherit privately from noncopyable
13267
13268         * bufferlist.C (loadLyXFile): remove some commented code.
13269
13270         * buffer.C (runChktex): use LFUN_MESSAGE
13271
13272         * ShareContainer.h: inherit privately from noncopyable
13273
13274         * ParagraphParameters.[hC] (depth): inline it.
13275
13276         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13277         methods.
13278         (message): new method
13279         (messagePush): ditto
13280         (messagePop): ditto
13281         (show): init minibuffer
13282         (showState): direct call
13283
13284         * LaTeX.[Ch]: inherit privately from noncopyable
13285         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13286         instead of WriteStatus.
13287
13288         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13289
13290         * BufferView_pimpl.C (buffer): don't init minibuffer
13291         (workAreaButtonPress): use LFUN_MESSAGE
13292         (workAreaButtonRelease): ditto
13293         (savePosition): ditto
13294         (restorePosition): ditto
13295         (MenuInsertLyXFile): ditto
13296         (workAreaExpose): don't init minibuffer
13297         (update): remove commented code, simplify
13298
13299         * BufferView2.C (openStuff): use LFUN_MESSAGE
13300         (toggleFloat): ditto
13301         (menuUndo): ditto
13302         (menuRedo): ditto
13303         (copyEnvironment): ditto
13304         (pasteEnvironment): ditto
13305         (copy): ditto
13306         (cut): ditto
13307         (paste): ditto
13308         (gotoInset): ditto
13309         (updateInset): remove some commented code
13310
13311         * lastfiles.h: inherit privately from noncopyable
13312         * layout.h: ditto
13313         * lyx_gui.h: ditto
13314         * lyx_main.h: ditto
13315         * lyxlex.h: ditto
13316         * lyxlex_pimpl.h: ditto
13317
13318         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13319         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13320         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13321
13322         * LyXAction.h: inherit privately from noncopyable, add methods
13323         func_begin, func_end, returning iterators to the func map.
13324
13325         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13326         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13327         (func_begin): new method
13328         (func_end): new method
13329
13330         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13331         and not)
13332         (copySelection): ditto
13333         (pasteSelection): ditto
13334
13335         * BufferView.C: whitespace change
13336         * BufferView.h: inherit privately from noncopyable
13337
13338 2001-04-16  Allan Rae  <rae@lyx.org>
13339
13340         * tabular-old.C (l_getline):
13341         * spellchecker.C (sc_check_word):
13342         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13343         an unrecognised preprocessor directive.  So ensure they're wrapped.
13344
13345 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13346
13347         * src/exporter.C (Export): Give an error message when path to file
13348         contains spaces.
13349
13350 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13351
13352         * LaTeX.C (deplog): Always check that foundfile exists.
13353
13354 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * lyx_main.h:
13357         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13358
13359 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * tabular.[Ch] (getLabelList): implement new method
13362
13363         * minibuffer.h: comment ouf setTiimer
13364
13365         * minibuffer.C (ExecutingCB): constify res
13366         (peek_event): constify s
13367         (Set): constify ntext
13368         (Init): constify nicename
13369
13370         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13371
13372         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13373         (savePosition): use two params to Minibuffer::Set
13374         (restorePosition): ditto
13375
13376 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * lyx_main.C: include language.h
13379
13380         * Makefile.am (lyx_main.o): add language.h
13381
13382 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * exporter.C:
13385         * paragraph.C:
13386         * screen.C:
13387         * tabular.C:
13388         * CutAndPaste.C: include gettext.h
13389
13390         * lyxfont.h: remove old hack with ON and OFF.
13391
13392         * lyxparagraph.h:
13393         * lyxfont.h: do not include language.h...
13394
13395         * BufferView2.C:
13396         * LaTeXFeatures.C:
13397         * Painter.C:
13398         * bufferview_funcs.C:
13399         * font.C:
13400         * lyxfont.C:
13401         * text.C:
13402         * text2.C:
13403         * trans_mgr.C:
13404         * paragraph.C: ... but do it here instead
13405
13406 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13407
13408         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13409
13410         * tabular.C: small reformat
13411
13412         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13413         NEW_INSETS version
13414         (GetChar): ditto
13415         (BreakParagraph): ditto
13416         (SetOnlyLayout): ditto
13417         (SetLayout): ditto
13418
13419         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13420         with one arg less.
13421
13422         * lastfiles.C: removed most using decl, add std:: where needed
13423
13424         * buffer.C: ws changes
13425
13426         * MenuBackend.C (class compare_format): put into anon namespace
13427         (expand): constify label, names, action, action2
13428         (expand):
13429
13430         * text.C (SingleWidth): constify font
13431         (IsBoundary): constify rtl2
13432         (GetVisibleRow): constify ww
13433
13434         * LaTeX.C (deplog): constify logfile
13435
13436         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13437         start_x, end_x
13438         (workAreaExpose): constify widthChange, heightChange
13439
13440         * lyxrow.C (par): moved
13441         (height): moved
13442         (next): moved
13443         * lyxrow.h: as inlines here
13444
13445         * lyxfont.h (shape): moved from lyxfont.C
13446         (emph): moved from lyxfont.C
13447
13448         * lyxfont.C (LyXFont): use initialization list for all
13449         constructors
13450         (shape): move to lyxfont.h as inline
13451         (emph): move to lyxfont.h as inline
13452
13453
13454 2001-04-04  Juergen Vigna  <jug@sad.it>
13455
13456         * vspace.C: had to include stdio.h for use of sscanf
13457
13458 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * BufferView.h:
13461         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13462         independent of xforms.
13463
13464 2001-04-02  Juergen Vigna  <jug@sad.it>
13465
13466         * spellchecker.C: fixed namespace placing!
13467
13468 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13471         the LyXParagraph * is 0.
13472
13473 2001-03-29  Juergen Vigna  <jug@sad.it>
13474
13475         * vspace.C: added support for %, c%, p%, l%.
13476         (stringFromUnit): added helper function.
13477         (asLatexString): changed to give right results for the %-values.
13478
13479         * buffer.C: convert the widthp in a width%.
13480
13481 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13482
13483         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13484         figureForm.[Ch].
13485
13486         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13487         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13488
13489         * lyx_cb.[Ch]: see above.
13490
13491         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13492         form1.[Ch].
13493
13494         * form1.[Ch]:
13495         * lyx.[Ch]: replaced by figure_form.[Ch].
13496
13497         * lyx_gui.C:
13498         * lyx_gui_misc.C:
13499         * lyxfunc.C: changed headers associated with above changes.
13500
13501 2001-03-27  Juergen Vigna  <jug@sad.it>
13502
13503         * BufferView_pimpl.C: set the temporary cursor right!
13504
13505 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13508
13509 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * LString.h: removed "using std::getline"!
13512
13513         * BufferView_pimpl.C (Dispatch): changes due to changes in
13514         InsetInclude::Params.
13515
13516         * buffer.C (tag_name): removed redundant break statements as they were
13517         producing lots of warnings with my compiler.
13518
13519 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * LString.h: add "using std::getline" when using the real <string>.
13522
13523 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13524
13525         * buffer.C: removed bitset usage.
13526         PAR_TAG moved to an anonymous name space.
13527         (tag_name): new funtion, also in the anonymous namespace.
13528         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13529         (makeDocBookFile): clean code. Completed transition from string arrays
13530         to string vectors.
13531         (SimpleDocBookOnePar): code clean.
13532
13533 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13534
13535         * tabular.C: add some comments.
13536
13537 2001-03-22  Juergen Vigna  <jug@sad.it>
13538
13539         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13540         compatibility read a bit and fixed bug with minipage in different
13541         depth.
13542
13543 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13544
13545         * buffer.C (pop_tag): removed.
13546         (push_tag): removed.
13547         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13548         array replaced with vector. Added support for CDATA sections.
13549         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13550         at any nest level.
13551         (makeDocBookFile): XML conformant declaration of CDATA section,
13552         fixed bug related to <emphasis> in the first paragraph char.
13553         (sgmlOpenTag): exclude empty tags.
13554         (sgmlCloseTag): ditto.
13555
13556         * buffer.h (pop_tag): removed.
13557         (push_tag): removed.
13558
13559 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * language.h (Languages): added size_type and size().
13562
13563 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13564
13565         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13566         response on compability reading of minipages. One probliem is that
13567         the old usage of minipages was «flertydig»
13568
13569         * several files here and in subdirs: don't use static at file
13570         scope use anon namespaces instead.
13571
13572 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13573
13574         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13575         LaTeX output. This is necessary for Literate document
13576         processing.
13577
13578 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13579
13580         * buffer.C: insert hfill when needed.
13581
13582         * tabular.C (l_getline): use string::erase, small whitespace change.
13583
13584         * BufferView_pimpl.C: try the anon namespace.
13585         * WorkArea.C: ditto
13586
13587 2001-03-16  Juergen Vigna  <jug@sad.it>
13588
13589         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13590         otherwise it won't open options-dialogs.
13591
13592         * buffer.C: honor pextraWidth(p) on converting minipages.
13593
13594         * tabular.C (l_getline): changed the functions to strip trailing \r.
13595
13596 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13597
13598         * BufferView_pimpl.C:
13599         * minibuffer..C: added "using SigC::slot" declaration.
13600
13601 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13602
13603         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13604
13605         * text2.C: ditto
13606
13607         * text.C: ditto
13608
13609         * paragraph.C: ditto
13610
13611         * lyxtext.h: NO_PEXTRA
13612
13613         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13614
13615         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13616         * ParameterStruct.h: ditto
13617         * ParagraphParameters.h: ditto
13618         * lyxparagraph.h: ditto
13619
13620 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13621
13622         * buffer.C: add compability for minipage alignment.
13623         (latexParagraphs): remove unwanted pextra check.
13624
13625         * several files: remove CXX_WORKING_NAMESPACES
13626
13627         * buffer.C (pop_tag): tie is in namespace boost
13628
13629         * BufferView.h: noncopyable is in namespace boost
13630         * lyxlex.h: ditto
13631         * lyx_main.h: ditto
13632         * lyx_gui.h: ditto
13633         * layout.h: ditto
13634         * lastfiles.h: ditto
13635         * bufferlist.h: ditto
13636         * ShareContainer.h: ditto
13637         * LyXView.h: ditto
13638         * LyXAction.h: ditto
13639         * LaTeX.h: ditto
13640
13641 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * Merging changes from BRANCH_MVC back into HEAD.
13644
13645         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13646
13647 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * BufferView_pimpl.C: change from intl.C
13650
13651         * combox.h:
13652         * combox.C:
13653         * Makefile.am: move combox.*
13654
13655         * form1.h:
13656         * form1.C:
13657         * lyx_gui.C:
13658         * intl.h:
13659         * intl.C: remove dialog (covered by prefs)
13660
13661 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13662
13663         * lyxfunc.C (Dispatch): removed redundant break statement.
13664
13665 2001-03-14  Juergen Vigna  <jug@sad.it>
13666
13667         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13668
13669 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13670
13671         * buffer.C: add hack to fix compability reading of minipages.
13672
13673 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13674
13675         * buffer.C (getLists): Cleanup.
13676
13677 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * lyxfont.C (update): don't honor toggleall on font size.
13680
13681 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * bmtable.c:
13684         * bmtable.h:
13685         * Makefile.am: moved to frontends/xforms/
13686
13687         * lyx_gui_misc.C:
13688         * lyxfunc.C:
13689         * BufferView_pimpl.C: changes for moved mathpanel
13690
13691 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * gettext.h: fix gettext_init() in --disable-nls
13694
13695 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13698
13699 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13700
13701         * lyx.C:
13702         * lyx.h: strip external form
13703
13704 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * BufferView_pimpl.C: add comment, destroySplash()
13707
13708 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * BufferView_pimpl.C:
13711         * LyXAction.C:
13712         * buffer.C:
13713         * commandtags.h:
13714         * lyxfunc.C: use re-worked insetinclude
13715
13716 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13717
13718         * buffer.C: add using std::stringstream.
13719
13720         * lyx_cb.C: readd using std::ios.
13721
13722         * buffer.C: add using std::map.
13723
13724         * BufferView_pimpl.C: add using std::vector.
13725
13726         * ShareContainer.h: add std:: to swap.
13727
13728         * buffer.h: add some typedefs
13729         * buffer.C (getLists): use them
13730         (getLists): renamed from getTocList.
13731         add a counter for the different float types and use it in the
13732         generated string.
13733         (getLists): use the same counter for the NEW_INSETS and the "non"
13734         NEW_INSETS
13735
13736         * lyx_cb.h: remove unused items, includes, using etc.
13737
13738         * ShareContainer.h: remove some commented code, add more comments
13739         and "documentation".
13740
13741 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13742
13743         * buffer.C (getTocList): make the list also when NEW_INSETS is
13744         defined.
13745
13746         * buffer.h: remove TocType
13747
13748         * buffer.C (getTocList): change to return a map<string,
13749         vector<TocItem> >, implement for dynamic number of list.
13750
13751         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13752         * text2.C (PasteSelection): adjust
13753         * CutAndPaste.C (pasteSelection): adjust
13754
13755         * FloatList.C (FloatList): update from the new_insets branch.
13756         * Floating.[Ch]: ditto
13757         * LaTeXFeatures.C: ditto
13758         * buffer.C: ditto
13759         * lyxlex_pimpl.C: ditto
13760
13761         * paragraph.C (Last): remove when NEW_INSETS is defined.
13762
13763         * other file: changes because of the above.
13764
13765 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13766
13767         * lyxparagraph.h: rename next to next_, previous to previous_,
13768         make them private for NEW_INSETS. Rename Next() to next(),
13769         Previous() to previous().
13770
13771         * other files: changes because of the above.
13772
13773 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * BufferView.h:
13776         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13777         problem.
13778
13779 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * main.C (main): pass lyx_localedir to gettext_init().
13782
13783         * gettext.h: remove locale_init and gettext_init macros
13784
13785         * gettext.C (locale_init): new function
13786         (gettext_init): new function
13787
13788         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13789         setlocale().
13790
13791 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13792
13793         * Moved credits to frontends:
13794         * credits.[Ch]: removed
13795         * credits_form.[Ch]: removed
13796         * lyx_gui_misc.C: remove credits stuff
13797         * Makefile.am:
13798
13799 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13800
13801         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13802
13803         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13804         unneeded destructor.
13805
13806         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13807         a standalone pointer again.
13808
13809         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13810
13811 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13812
13813         * Makefile.am:
13814         * filedlg.h:
13815         * filedlg.C:
13816         * LyXAction.C:
13817         * ToolbarDefaults.C:
13818         * bufferlist.C:
13819         * commandtags.h:
13820         * form1.C:
13821         * form1.h:
13822         * lyx_cb.C:
13823         * lyx_cb.h:
13824         * lyxfunc.h:
13825         * lyxfunc.C:
13826         * BufferView_pimpl.C: use new file dialog in GUII
13827
13828         * lyx_cb.h:
13829         * lyx_cb.C: remove LayoutsCB to Toolbar
13830
13831 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * ShareContainer.h (get): add std:: qualifier
13834
13835 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * ShareContainer.h: define a proper ShareContainer::value_type
13838         type (and use typename to please compaq cxx)
13839
13840 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13841
13842         * lyxparagraph.h: move serveral local vars to
13843         ParameterStruct/ParagraphParameters., use ShareContainer in
13844         FontTable., make vars in FontTable private and add getter and
13845         setter.
13846
13847         * paragraph.C: changes because of the above.
13848
13849         * lyxfont.h: remove copy constructor and copy assignment. (the
13850         default ones is ok), move number inside FontBits. move inlines to
13851         lyxfont.C
13852
13853         * lyxfont.C: add number to initializaton of statics, move several
13854         inlines here. constify several local vars. some whitespace
13855         cleanup. Dont hide outerscope variables.
13856
13857         * Spacing.h: add two new constructors to match the set methods.
13858
13859         * ShareContainer.h: new file, will perhaps be moved to support
13860
13861         * ParameterStruct.h: new file
13862
13863         * ParagraphParameters.h: new file
13864
13865         * ParagraphParameters.C: new file
13866
13867         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13868         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13869
13870         * BufferView_pimpl.C: ParagraphParameter changes.
13871         * buffer.C: Likewise.
13872         * bufferview_funcs.C: Likewise.
13873         * text.C: Likewise.
13874         * text2.C: Likewise.
13875
13876 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * lyxfind.C (LyXReplace): do not redefine default argument in
13879         implementation.
13880         (IsStringInText): ditto
13881         (SearchForward): ditto
13882         (SearchBackward): ditto
13883
13884 2001-03-06  Juergen Vigna  <jug@sad.it>
13885
13886         * lyxfind.C (IsStringInText): put parentes around expressions.
13887
13888 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13889
13890         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13891
13892 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13895
13896         * stl_string_fwd.h: add comment
13897
13898         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13899
13900         * tabular.h:
13901         * tabular.C: remove unused DocBook methods
13902
13903         * intl.C:
13904         * language.C:
13905         * paragraph.C:
13906         * buffer.C:
13907         killed DO_USE_DEFAULT_LANGUAGE
13908
13909 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * lyx_gui.C: do not include language.h.
13912
13913         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13914         arguments in function implementation.
13915
13916 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13917
13918         * BufferView_pimpl.C: add <ctime>
13919
13920 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13921
13922         * BufferView_pimpl.C: add using std::find_if
13923
13924 2001-02-27  José Matos  <jamatos@fep.up.pt>
13925
13926         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13927         by OnlyPath.
13928
13929 2001-02-11  José Matos  <jamatos@fep.up.pt>
13930
13931         * buffer.C (makeDocBookFile): command styles now have a parameter as
13932         "title" by default.
13933
13934 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13935
13936         * layout_forms.[Ch]: removed
13937         * lyx_cb.[Ch]: out character
13938         * lyx_gui.C: out character
13939         * lyx_gui_misc.C: out character
13940         * bufferview_funcs.C: : out character,
13941         added toggleall as parameter in ToggleAndShow
13942
13943 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13946
13947         * text2.C (SetCurrentFont): Disable number property at boundary.
13948
13949 2001-02-26  Juergen Vigna  <jug@sad.it>
13950
13951         * lyxfunc.C (getStatus): added a string argument override function so
13952         that this is correctly called from LyXFunc::Dispatch if it contains a
13953         do_not_use_argument which is used!
13954         (Dispatch): added check for "custom" export and call appropriate func.
13955
13956 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * lyxrc.C: Add language_command_local, language_use_babel and
13959         language_global_options.
13960
13961         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13962
13963         * buffer.C (makeLaTeXFile): Use language_use_babel and
13964         language_global_options.
13965
13966 2001-02-23  Juergen Vigna  <jug@sad.it>
13967
13968         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13969         which works with LyXText and putted it inside BufferView. Here now we
13970         only call for that part the BufferView::Dispatch() function.
13971
13972         * BufferView.C (Dispatch): added.
13973
13974         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13975         functions which needs to use a LyXText over from LyXFunc.
13976         (MenuInsertLyXFile): added
13977         (getInsetByCode): added
13978         (moveCursorUpdate): added
13979         (static TEXT): added
13980
13981 2001-02-22  Juergen Vigna  <jug@sad.it>
13982
13983         * BufferView_pimpl.C (update): call a status update to see if LyXText
13984         needs it.
13985
13986 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13987
13988         * vc-backend.C (revert): implement for CVS
13989         (getLog): implement for CVS
13990
13991 2001-02-20  Juergen Vigna  <jug@sad.it>
13992
13993         * text2.C (ClearSelection): added BufferView param for inset_owner call
13994
13995         * lyxfunc.C (TEXT): added this function and use it instead of
13996         directly owner->view()-text of getLyXText().
13997
13998 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13999
14000         * src/layout_forms.C: out preamble
14001         * src/layout_forms.h: out preamble
14002         * src/lyx_cb.C: out preamble
14003         * src/lyx_cb.h: out preamble
14004         * src/lyx_gui.C: out preamble
14005         * src/lyx_gui_misc.C: out preamble
14006         * src/lyxfunc.C: connect with guii preamble
14007
14008 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14009
14010         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14011
14012 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14013
14014         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14015         whether to run bibtex.
14016
14017 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14018
14019         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14020
14021 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14022
14023         * Makefile.am (lyx_SOURCES): removed bibforms.h
14024
14025         * vspace.h: doxygen
14026
14027         * text.C (GetVisibleRow): make several local vars const
14028
14029         * tabular.C: small cleanup.
14030
14031         * lyxserver.C (callback): use compare instead of strncmp
14032
14033         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14034         inlines to after class or to paragraph.C
14035
14036         * lyxfont.h: remove friend operator!=
14037
14038         * converter.h: move friend bool operator< to non friend and after
14039         class def.
14040
14041         * combox.h: small cleanup
14042
14043         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14044         to inlines after class def.
14045
14046         * buffer.C (pop_tag): use string operations instead of strcmp
14047
14048         * bmtable.c: doxygen, small cleanup
14049
14050         * LaTeX.h: remove friend operator==
14051
14052 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14053
14054         * screen.C:
14055         * lyxrc.[Ch]:
14056         * lyxfunc.C:
14057         * lyxfont.[Ch]:
14058         * lyx_cb.C:
14059         * intl.[Ch]:
14060         * commandtags.h:
14061         * buffer.C:
14062         * WorkArea.[Ch]:
14063         * LyXAction.C:
14064         * BufferView_pimpl.C:
14065         * BufferView.[Ch]: remove cruft
14066
14067 2001-02-14  Juergen Vigna  <jug@sad.it>
14068
14069         * lyxfunc.C: removed #if 0 unused code
14070
14071         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14072
14073         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14074
14075         * text2.C (SetSelection): added a BufferView * parameter
14076
14077 2001-02-13  Juergen Vigna  <jug@sad.it>
14078
14079         * lyxfunc.C (Dispatch): fixed protected blank problem.
14080         * BufferView2.C (protectedBlank): added LyxText * parameter.
14081
14082         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14083         (AppendColumn): same as above for column_info.
14084
14085         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14086         (moveCursorUpdate): use a LyXText param for support of InsetText.
14087
14088         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14089         (tripleClick): ditto
14090
14091         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14092
14093         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14094
14095         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14096
14097         * text2.C (SetSelection): set correct update status if inset_owner
14098         (ToggleFree): ditto
14099
14100 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14101
14102         * tabular.C: remove some commented code.
14103
14104 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14105
14106         * BufferView_pimpl.C: call hideSplash()
14107
14108         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14109
14110         * include_form.h:
14111         * bibforms.h: remove
14112
14113         * lyxfunc.C:
14114         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14115           add LFUN_CHILD_CREATE
14116
14117         * counters.h: fix tiny typo
14118
14119         * lyx_cb.C:
14120         * lyx.h:
14121         * lyx_gui.C:
14122         * lyx.C: move splash to frontends/xforms/
14123
14124         * lyx_gui_misc.C: move Include and Bibform to frontends
14125
14126         * lyxvc.h: clarify comment
14127
14128         * vspace.C: tiny housekeeping
14129
14130 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * text.C (PrepareToPrint): RTL Fix.
14133
14134         * paragraph.C (GetUChar): New method.
14135         (String):  Use GetUChar.
14136
14137         * buffer.C (asciiParagraph): Use GetUChar.
14138
14139 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14142
14143 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14144
14145         * buffer.h:
14146         * buffer.C: rename to getLogName(), handle
14147           build log / latex log nicely
14148
14149 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14150
14151         * MenuBackend.C:
14152         * MenuBackend.h: remove support for reference menuitem type.
14153
14154 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * BufferView_pimpl.C: housekeeping
14157         * BufferView_pimpl.h:
14158         * LyXView.h:
14159         * Makefile.am:
14160         * Timeout.C:
14161         * Timeout.h:
14162         * minibuffer.h: move Timeout GUI-I
14163
14164 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14165
14166         * lyxrc.C (read): Update converters data-structures.
14167
14168 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14169
14170         * LaTeX.h (operator!=): add operator != for Aux_Info
14171
14172 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14175
14176         * LaTeXLog.C: deleted, useful code moved to Buffer
14177
14178         * buffer.h:
14179         * buffer.C: new function getLatexLogName()
14180
14181         * lyx_gui_misc.C:
14182         * lyx_gui.C:
14183         * lyxvc.C:
14184         * lyxvc.h:
14185         * lyxfunc.C: use frontends for LaTeX and VC logs
14186
14187 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * LaTeX.h: yet another std:: that Allan forgot.
14190
14191         * Variables.C (set): renamed from isset(), because this clashes
14192         with some HP-UX macros (grr).
14193
14194 2001-02-06  Allan Rae  <rae@lyx.org>
14195
14196         * LaTeX.h: Another bug fix.  Missing std:: this time.
14197
14198 2001-02-04  Allan Rae  <rae@lyx.org>
14199
14200         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14201         floats problem. I've left it commented out because it's not quite
14202         correct.  It should also test that the current object is a table or
14203         figure inset.  But I haven't gotten around to figuring out how to do
14204         that.  I *think* it'll be something like: "table" == inset.type()
14205
14206         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14207         bool.
14208
14209 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14212         all the citation/databases/styles in the auxilary file.
14213         (run): Rerun latex if there was a babel language error.
14214
14215 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * text.C (Backspace): Preserve the font when changing newline char
14218         with a space.
14219         (BreakParagraph): If the cursor is before a space, delete the space.
14220
14221         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14222
14223 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14226         new argument (code).
14227         (ChangeCitationsIfUnique): New method.
14228
14229         * paragraph.C (GetPositionOfInset): Handle bibkey.
14230
14231 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * BufferView_pimpl.h: change type of Position::par_pos to
14234         LyXParagraph::size_type.
14235
14236 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14237
14238         * BufferView_pimpl.C (savePosition, restorePosition): Write
14239         messages to minibuffer.
14240
14241 2001-01-28  José Matos  <jamatos@fep.up.pt>
14242
14243         * buffer.C (makeDocBookFile): adds support for document language.
14244         A silly restriction on the name of LatexCommand types where removed.
14245         Added support for CDATA sections, allows to chars unescaped, used
14246         among others in code, to avoid escape < and >.
14247
14248 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14249
14250         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14251         saved positions instrad of a stack. Furthermore, a position is
14252         stored using paragraph id/paragraph position.
14253
14254         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14255         Remove LFUN_REF_BACK.
14256
14257 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * converter.C (dvipdfm_options): New method.
14260
14261 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14262
14263         * vspace.C (isValidLength): Fix for empty input string.
14264
14265 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * LyXAction.C (init): change description of LFUN_FIGURE to
14268         "Insert Graphics"
14269
14270 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * LaTeX.C: add using directive
14273
14274 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14275
14276         * MenuBackend.C (expand): Fix the sorting of the formats.
14277
14278 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14279
14280         * lyx_main.C: tiny error message fix
14281
14282 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14283
14284         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14285         calling fl_initialize(). This fixes the problem with ',' as
14286         decimal separator in text files.
14287
14288 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14289
14290         * trans.C (process): Fix the keymap bug.
14291
14292 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * LaTeX.C (scanAuxFiles): New method. Provides support for
14295         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14296         (scanLogFile) Scan for "run BibTeX" messages.
14297
14298         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14299         OT1 font encoding. Also, load the aecompl package if the ae
14300         package is loaded.
14301
14302         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14303
14304 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * texrow.C (increasePos): turn two error messages into debug
14307         messages.
14308
14309 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14310
14311         * LaTeX.C (scanAux): Handle the \@input macro.
14312         (runBibTeX): Use scanAux().
14313
14314         * language.C (latex_options_): New field.
14315
14316         * LaTeXFeatures.C (getMacros): Add language macros.
14317
14318         * buffer.C (makeLaTeXFile): Small fix.
14319
14320 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14323
14324         * text2.C: add a using directive.
14325
14326 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14327
14328         * BufferView2.C:
14329         * lyx_gui_misc.h:
14330         * lyxfr1.C:
14331         * lyxfunc.C: kill LyXBell.
14332
14333 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * text.C (IsBoundary): Remove the error message
14336
14337         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14338
14339         * lyxrc.C (setDefaults): Correct initialization value for
14340         font_norm_type.
14341
14342 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14345         gotoError().
14346
14347         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14348         and GotoNextNote().
14349
14350         * src/LyXAction.C: Added reference-next.
14351
14352         * text.C (InsertChar): Use contains instead of strchr.
14353
14354         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14355
14356 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14357
14358         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14359         alignment commands (when needed).
14360
14361         * text.C (InsertChar): Add ':' to number separator chars.