]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix some e-mail addresses
[lyx.git] / src / ChangeLog
1
2 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text2.C (setParagraph): fix off-by-one crash
5
6 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * output_docbook.C: header stuff for AGU
9
10 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
11
12         * text2.C (redoCursor): remove
13         * text.C:
14         * text3.C:
15         * BufferView_pimpl.C: remove calls to redoCursor and
16         setCursor(cursor.par(), cursor.pos()) all around
17
18 2003-12-15  Angus Leeming  <leeming@lyx.org>
19
20         * buffer.C: up the format to 228.
21
22 2003-12-15  André Pönitz  <poenitz@gmx.net>
23
24         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
25         slices
26
27         * Makefile.am:
28
29         * BufferView_pimpl.C:
30         * cursor.[Ch]:
31         * lyxcursor.[Ch]:
32         * rowpainter.[Ch]:
33         * lyxtext.h:
34         * text.C:
35         * text2.C:
36         * text3.C: adjust
37
38 2003-12-15  Angus Leeming  <leeming@lyx.org>
39
40         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
41         than getFromGUIName to manipulate the color.
42
43 2003-12-14  Angus Leeming  <leeming@lyx.org>
44
45         * BranchList.[Ch]: minimize the API.
46         (Branch::getBranch, getColor): now return a 'const &'.
47         (Branch::setSelected) now returns a bool set to true if the
48         selection status changes.
49         (BranchList::clear, size, getColor, setColor, setSelected,
50         allBranches, allSelected, separator): removed.
51         (BranchList::find): new functions, returning the Branch with
52         the given name.
53         (BranchList::add, remove): return a bool indicating that
54         the operation was successful.
55
56         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
57         new InsetBranch::isBranchSlected member function.
58
59         * LColor.[Ch]: mimimize the API.
60         (fill): renamed as addColor and made private.
61         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
62         versions of these functions taking a string arg have been removed.
63
64         * bufferparams.C (readToken):
65         * lyxfunc.C (dispatch):
66         * lyxrc.C (read): changes due to the altered BranchList and
67         LColor APIs.
68
69         * factory.C (createInset, readInset): changes due to altered
70         InsetBranch c-tor.
71
72 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
73
74         * factory.C: 
75         * lyxfunc.C: remove insetminipage. "minipage-insert"
76         now produces a frameless minipage box inset.
77
78 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * textcursor.[Ch] (selStart,selEnd): add new methods 
81         remove selection::start, end, use LyXCursor::operator<
82         * lyxcursor.[Ch] (operator<): add
83         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
84         * BufferView.[Ch] (unsetXSel): add
85         * text2.C (clearSelection): use unsetXSel,adjust
86         * text.C: adjust
87         * text3.C: adjust
88         * rowpainter.C: adjust
89         * bufferview_funcs.C (put_selection_at): adjust
90
91 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
92
93         * BufferView_pimpl.C: small coord. correction
94
95 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
98         dragging over the splash screen.
99
100 2003-12-11  Angus Leeming  <leeming@lyx.org>
101
102         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
103         as it is now handled in LyXText::dispatch.
104
105         * text3.C (doInsertInset): remove a level of nesting.
106
107 2003-12-11  Angus Leeming  <leeming@lyx.org>
108
109         * factory.C (createInset): changes due to the changed interface to
110         InsetCommandMailer::string2params.
111
112 2003-12-10  Angus Leeming  <leeming@lyx.org>
113
114         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
115         'dialog-show-new-inset <inset name>'
116
117 2003-12-10  Angus Leeming  <leeming@lyx.org>
118
119         * buffer.C: up the format to 227.
120
121         * factory.C: the box inset is now identified simply by 'Box'.
122
123 2003-12-10  Angus Leeming  <leeming@lyx.org>
124
125         * buffer.C: up the format to 226.
126
127         * factory.C: the note inset is now identified simply by 'Note'.
128
129 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
130
131         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
132         when a pit is enough. Standarize a couple of loops. 
133
134 2003-12-05  Angus Leeming  <leeming@lyx.org>
135
136         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
137         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
138         data to the re-worked "log" dialog.
139
140 2003-12-03  André Pönitz  <poenitz@gmx.net>
141
142         * PosIterator.C:
143         * iterators.C:
144         * lyxtext.h:
145         * output_latex.C:
146         * paragraph_funcs.C:
147         * text.C:
148         * text2.C: use Inset::getText instead of Inset::getParagraph
149
150 2003-12-03  André Pönitz  <poenitz@gmx.net>
151
152         * buffer.[Ch]:
153         * lyxtext.h:
154         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
155         InsetText::read() as LyXText::read()
156         
157 2003-12-02  Angus Leeming  <leeming@lyx.org>
158
159         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
160         type. Add a comment in the implementation that the function uses
161         the stream's bad() function rather than fail() as the std::streams
162         would do.
163
164 2003-12-02  André Pönitz  <poenitz@gmx.net>
165
166         * lyxlex.[Ch]: make interface more similar to std::stream
167
168         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
169
170 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
173
174 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
175
176         * vspace.[Ch]: remove VSpace::NONE
177
178 2003-12-01  André Pönitz  <poenitz@gmx.net>
179
180         * buffer.[Ch]:
181         * lyxtext.h: move ParagraphList member to LyXText
182         rename LyXText::ownerParagraphs to LyXText::paragraph
183
184         * CutAndPaste.C:
185         * bufferview_funcs.C:
186         * iterators.[Ch]:
187         * lyx_cb.C:
188         * paragraph.C:
189         * rowpainter.C:
190         * tabular.C:
191         * text.C:
192         * text2.C:
193         * text3.C: adjust
194
195         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
196
197         * undo.C: fix cursor positioning 
198
199 2003-12-01  John Levon  <levon@movementarian.org>
200
201         * BufferView_pimpl.C: fix a crash on exit with
202         a buffer open
203
204 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
205
206         * BranchList.C: fix setSelected() method.
207
208 2003-11-28  André Pönitz  <poenitz@gmx.net>
209
210         * ParagraphParameters.[Ch]:
211         * ParameterStruct.h: remove space above/below from Paragraph to
212          InsetVSpace
213
214         * BufferView_pimpl.C:
215         * factory.C:
216         * lyxfunc.C:
217         * lyxtext.h:
218         * output_latex.C:
219         * paragraph.C:
220         * paragraph_funcs.C:
221         * rowpainter.[Ch]:
222         * text.C:
223         * text2.C:
224         * text3.C: adjust
225
226 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
227
228         * factory.C: Syntax change for CharStyles
229
230 2003-11-28  André Pönitz  <poenitz@gmx.net>
231
232         * BufferView.[Ch]:
233         * BufferView.[Ch]:
234         * buffer.[Ch]:
235         * buffer.[Ch]: move LyXText member
236
237 2003-11-28  André Pönitz  <poenitz@gmx.net>
238
239         * BufferView.[Ch]: make LyXText * text a private member
240
241         * BufferView_pimpl.C:
242         * cursor.C:
243         * iterators.C:
244         * lyx_cb.C:
245         * lyxfind.C:
246         * lyxtext.h:
247         * rowpainter.[Ch]:
248         * text.C:
249         * text2.C:
250         * undo.C: adjust
251
252         * output_plaintext.C: cleanup
253
254 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
255
256         * buffer.C: 
257         * lyxtextclass.[Ch]: parametrize SGML document header
258
259 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
260
261         * converter.[Ch]:
262         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
263         getFlavor().
264
265 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
266
267         * text2.C (setFont): rework using PosIterator (no more recursive)
268         (setCharFont): no more needed 
269         (setLayout): no more selection cursors fiddling (done by redoCursor)
270         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
271         destroy remaining ones)
272
273 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
276         * lyxtext.h: ditto
277         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
278         selection cursors
279         * lyxfunc.C: adjust
280         * text3.C: adjust + re-allow multi par depth changes
281         * textcursor.C: simplify a bit
282
283 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * src/buffer.C:
286         * src/lyxlayout.C:
287         * src/lyxlayout.h:
288         * src/lyxtext.h:
289         * src/output_docbook.C:
290         * src/output_latex.C:
291         * src/paragraph.C:
292         * src/paragraph.h:
293         * src/sgml.C:
294         * src/sgml.h:
295         * src/text2.C: Introducing a number of tags parametrizing various
296         XML formats that we may want to support
297
298 2003-11-25  André Pönitz  <poenitz@gmx.net>
299
300         * InsetList.[Ch] (begein, end): inline as suggested by profiler
301
302         * lyxtext.h (leftMargin/rightMargin): simplify interface
303
304         * rowpainter.C:
305         * text.C:
306         * text2.C:
307         * text3.C: adjust
308
309 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
310
311         * lyxfunc.C (dispatch): propogate the bibtex databases from the
312         master file to any child files. Fixes bug 546.
313
314 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
317
318 2003-11-24  André Pönitz  <poenitz@gmx.net>
319
320         * rowpainter.C: simplification
321
322         * text2.C (updateCounters): remove call to redoParagraph on 
323         changed labels as this is far too expensive.
324
325 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * converter.C (convert): fix a crash: this function gets
328         called with buffer == 0 from importer code.
329
330 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
331
332         * text3.C (cursorPrevious): make sure that we do not compare
333         iterators form different containers.
334         (cursorNext): ditto
335
336         * rowpainter.C (paintSelection): make sure that we do not compare
337         iterators from different containers.
338
339         * text3.C (dispatch): [PRIOR] make sure that we do not compare
340         iterators from different ParagraphList containers.
341         [NEXT] ditto
342
343         * text2.C (LyXText): change order of initialization slightly
344         (operator=): new function. copy all variables except cache_par_
345         (moveUp): make sure that we do not compare iterators from
346         different ParagraphList constainers.
347         (moveDown): ditto
348
349         * text.C (firstPar): new function
350         (lastPar): new function
351         (endPar): new function
352
353         * lyxtext.h: move things around and group public functions, public
354         variables, private functions, private variables
355
356 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
357
358         * factory.C: change call to InsetERT constructor to avoid
359         additional invocation of method status
360         * text2.C (toggleInset): remove redundant update() call
361         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
362         instead of a Bufferview pointer
363
364 2003-11-21  André Pönitz  <poenitz@gmx.net>
365
366         * rowpainter.C: simplification
367
368 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * text3.C (dispatch): make possible to extend a word/row selection
371         with the mouse
372
373 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * lyxtext.h: x0_,y0_ -> xo_,yo_
376         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
377         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
378         * rowpainter.C (paintRows): paint full paragraphs
379
380 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
381
382         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
383         screen coordinates)
384
385 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * lyxtext.h: add x0_, y0_
388         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
389         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
390
391 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * text2.C (setCursorIntern): move the x_target update here *
394         * text3.C: change some bv() to true/false in calls to
395         cursorUp/Down/Right/Left
396         * cursor.C: use helper function.
397
398 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
399
400         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
401         * paragraph_funcs.[Ch]: correct comment
402         * rowpainter.C: do not paint selections away from bv->cursor()
403         Fix a long standing selection painting bug.
404         * text3.C: generalize mouse-selection code to LyXTexts other that
405         top one
406         * textcursor.C: do not use y coords if we can use par offsets
407
408 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
411         cursor position after e.g. inset insert)
412
413 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * lyxfind.C (replace): adjust to locking removal + some
416         code simplification
417
418 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
421         of the path
422
423 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
424
425         * lyxlayout.[Ch]:
426         * output_docbook.C: XML sanitation: new layout
427         parameters InnerTag and CommandDepth
428
429 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * BufferView_pimpl.C:
432         * factory.C:
433         * text3.C: Fix the insertion and modification of button-style
434         insets
435
436 2003-11-13  André Pönitz  <poenitz@gmx.net>
437
438         * InsetList.[Ch]: remove deleteLyXText
439
440         * paragraph.[Ch]: cache beginOfBody position
441
442         * Bidi.C:
443         * text.C:
444         * text2.C:
445         * text3.C: remove superfluous update() calls
446
447         * vspace.C: cleanup
448
449 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
450
451         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
452         * BufferView.C (fitLockedInsetCursor): remove
453         * cursor.[Ch] (getDim): add
454         * text.C (getRowNearY): add faster version
455         * text3.C: remove some update calls
456
457 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * LaTeXFeatures.C:
460         * LyXAction.C:
461         * MenuBackend.C:
462         * MenuBackend.h:
463         * dispatchresult.h:
464         * factory.C:
465         * lfuns.h:
466         * lyxfunc.C:
467         * lyxtextclass.C:
468         * lyxtextclass.h:
469         * text3.C: The Character Style /XML short element patch.
470
471 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * text3.C:
474         * factory.C: Small step to solving 'unable to insert some insets'
475         problem
476
477 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
478
479         * cursor.[Ch] (updatePos): new function for updating the y
480         position of the tip inset
481         * bufferview_funcs.C (put_selection_at):
482         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
483
484 2003-11-11  André Pönitz  <poenitz@gmx.net>
485
486         * text.C: remove big comment on invalid Paragraph pointers as it is
487         not valid anymore
488
489 2003-11-11  André Pönitz  <poenitz@gmx.net>
490
491         * text_funcs.[Ch]: merge with ...
492
493         * text.C: ... this
494
495         * lyxtext.h:
496         * text2.C:
497         * text3.C: adjust
498
499         * Makefile.am: remove text_funcs.[Ch]
500
501 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
502
503         * cursor.C (getPos): return absolute cached y coord
504
505         * BufferView_pimpl.C (fitCursor): new simplistic code
506         (workAreaDispatch): add a fitCursor call
507
508 2003-11-10  André Pönitz  <poenitz@gmx.net>
509
510         * BufferView.[Ch]:
511         * BufferView_pimpl.[Ch]: merge update() and updateInset()
512
513 2003-11-10  André Pönitz  <poenitz@gmx.net>
514
515         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
516         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
517         indicate that the cursor needs to leave an inset
518
519         * lyxtext.h: remove inset locking
520
521         * cursor.[Ch]: re-implement functionality provided by inset locking
522
523         * BufferView.[Ch]:
524         * BufferView_pimpl.[Ch]:
525         * LyXAction.C:
526         * bufferview_funcs.[Ch]:
527         * factory.C:
528         * funcrequest.[Ch]:
529         * iterators.C:
530         * lyx_cb.C:
531         * lyxfind.C:
532         * lyxfunc.C:
533         * text.C:
534         * text2.C:
535         * text3.C:
536         * undo.C: adjust
537
538 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
539
540         * PosIterator.[Ch]: replace the stack with a vector, add inset
541         accesor
542         * iterators.[C]: adjust
543
544 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
545
546         * lyxfind.C (replaceAll): mark the buffer dirty if something was
547         replaced
548         * paragraph_funcs.C (readParToken): put the correct id in the
549         error item, not the id of the top paragraph
550
551 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
552
553         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
554         * bufferview_funcs.C (put_selection_at): use the above
555
556 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
557
558         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
559
560 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * output_linuxdoc.h:
563         * output_plaintext.h:
564         * output.h:
565         * output_docbook.h: add #include statements
566
567 2003-11-05  José Matos  <jamatos@lyx.org>
568
569         * output_docbook.[Ch]:
570         * output_latex.[Ch]:
571         * output_linuxdoc.[Ch]:
572         * output_plaintext.[Ch]: New files for output formats.
573         * output.[Ch]: New file for helper functions.
574
575         * buffer.[Ch]:
576         * paragraph_funcs.[Ch]: output functions moved to new files.
577
578         * outputparams.h: rename of latexrunparams.h
579
580         * LaTeX.[Ch]:
581         * buffer.[Ch]:
582         * bufferlist.[Ch]:
583         * converter.[Ch]:
584         * exporter.C:
585         * paragraph.[Ch]:
586         * paragraph_funcs.[Ch]:
587         * paragraph_pimpl.[Ch]:
588         * tabular.[Ch]: rename ascii to plaintext
589         and LatexRunParams to OutputParams.
590
591 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
592
593         * iterators.[Ch] (text): require bv argument
594         * undo.C (recordUndo):
595         * lyxfunc.C (dispatch):
596         * bufferview_funcs.C (put_selection_at): adjust
597
598 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
599
600         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
601
602 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
603
604         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
605         nestings
606
607 2003-11-04  André Pönitz  <poenitz@gmx.net>
608
609         * cursor.[Ch]: restructure
610
611         * BufferView.[Ch]:
612         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
613
614         * iterators.[Ch] (asCursor): remove
615
616         * lfuns.h: remove LFUN_INSET_EDIT
617
618         * lyxfunc.C:
619         * tabular.C:
620         * text.C:
621         * text2.C:
622         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
623
624 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
625
626         * lyxfind.[Ch]: complete overhaul
627         * BufferView_pimpl.C:
628         * lyxfunc.C: adjust
629         * paragraph.[Ch] (insert): add
630
631 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
632
633         * BufferView.[Ch]:
634         * lyxtext.h:
635         * text.C: remove dead spellcheck code
636
637 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
638
639         * dispatchresult.h: add a val setter
640
641         * cursor.C (dispatch): use a tempvar for data_[i]
642
643 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
644
645         * PosIterator.[Ch]: compile fix
646
647 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
648
649         * text.C (cursorPar): deactivate the cursor cache
650
651 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
652
653         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
654
655 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
656
657         * text3.C (dispatch): adjust for new DisptchResult semantics.
658
659         * lyxfunc.C (dispatch): handle update when return from
660         Cursor::dispatch, adjust for new DispatchResult semantics.
661
662         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
663         DispatchResult(true) mean to not update. Add class functions for
664         setting dispatched and update, as well as reading.
665
666         * cursor.C (dispatch): don't handle update here
667
668 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
669
670         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
671         * trans_mgr.C: adjust
672
673         * paragraph_funcs.C (readParToken): exception safety
674
675         * lyxvc.h: store the vcs pointer in a scoped_ptr
676         * lyxvc.C: adjust
677
678         * lyxsocket.C (serverCallback): exception safety
679
680         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
681
682         * ispell.C (clone): make it return a auto_ptr
683
684         * factory.C (createInset): exception safety
685         (readInset): exception safety
686
687         * bufferlist.C (newBuffer): exception safety
688
689         * Thesaurus.C (Thesaurus): use initialization for aik_
690
691         * MenuBackend.C (expandToc): exception safety.
692
693 2003-11-03  André Pönitz  <poenitz@gmx.net>
694
695         * buffer.C:
696         * buffer.h:
697         * bufferview_funcs.C: remove getInsetFromId()
698
699         * lyxcursor.[Ch]:
700         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
701
702         * lyxfunc.C:
703         * text2.C:
704         * text3.C: adjust
705
706 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
707
708         * PosIterator.C (distance, advance): new
709         * bufferview_funcs.[Ch] (put_selection_at): new
710         * iterators.[Ch] (lockPath): new
711
712 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
713
714         * iterators.[Ch] (asPosIterator): added
715         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
716         * PosIterator.[Ch]: added
717
718 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * text3.C:
721         * lyxfunc.C:
722         * cursor.C (dispatch):
723         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
724
725         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
726         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
727         contructor, add a class function dispatched. Remove operator>=
728
729 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
730
731         * debug.C: only use the default constructor for debugstream
732         (lyxerr) here.
733
734         * main.C (main): include debug.h and setup the lyxerr streambuf
735         here.
736
737 2003-10-31  José Matos  <jamatos@lyx.org>
738
739         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
740
741         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
742         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
743         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
744         * paragraph_pimpl.C (simpleTeXSpecialC):
745         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
746         add LatexRunParams argument.
747
748         * exporter.C (Export): change call accordingly.
749
750         * latexrunparams.h: add new member to take care of the other backends.
751 2003-10-30  José Matos  <jamatos@lyx.org>
752
753         * buffer.C (makeLinuxDocFile, makeDocBookFile):
754         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
755         factorise code for paragraph output.
756         * buffer.[Ch]:
757         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
758         move functions.
759
760 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
761
762         * text3.C (dispatch):
763         * lyxfunc.C (dispatch):
764         * cursor.C (dispatch):
765         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
766
767         * dispatchresult.h: make the dispatch_result_t ctor explicit
768
769 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * sgml.[Ch]:
772         * buffer.C: small refactoring of docbook stuff
773
774 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
775
776         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
777         meaning.
778
779 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
780
781         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
782         operator dispatch_result_t, and operators for == != and >=
783
784         * cursor.C (dispatch): adjust for operator dispatch_result_t
785         removal. comment out call to update
786
787         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
788
789 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
790
791         * text3.C:
792         * text2.C:
793         * text.C:
794         * lyxtext.h:
795         * lyxfunc.C:
796         * cursor.C:
797         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
798         (dispatch):
799
800         * dispatchresult.h: new file, DispatchResult broken out of
801         insets/insetbase.h
802
803         * Makefile.am (lyx_SOURCES): add dispatchresult.h
804
805 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
806
807         * text.C (rowBreakPoint): put a hack inside #if 0
808
809 2003-10-28  André Pönitz  <poenitz@gmx.net>
810
811         * lyxtext.h:
812         * metricsinfo.C:
813         * paragraph_funcs.C:
814         * rowpainter.C:
815         * text.C:
816         * text2.C: general cleanup (lots of small stuff)
817
818 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
819
820         * text2.C (cursorEnd): simple fix to the "end key goes to one
821         before the end on last row" bug
822
823 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
824
825         * text.C (backspace): fix the "zombie characters"
826
827 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
828
829         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
830
831 2003-10-27  André Pönitz  <poenitz@gmx.net>
832
833         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
834
835         * factory.C: handle new InsetPagebreak, InsetLine
836
837         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
838         and move handling into new InsetPagebreak, InsetLine
839
840         * BufferView_pimpl.C:
841         * LyXAction.C:
842         * ParagraphParameters.C:
843         * ParameterStruct.h:
844         * lyxfunc.C:
845         * lyxtext.h:
846         * paragraph.C:
847         * paragraph.h:
848         * paragraph_funcs.C:
849         * paragraph_pimpl.C:
850         * rowpainter.C:
851         * text.C:
852         * text2.C:
853         * text3.C: adjust
854
855 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
856
857         * text.C:
858         * lyxrow_funcs.[Ch]:
859         * Bidi.C:
860         * paragraph.C:
861         * lyxtext.h:
862         * rowpainter.C:
863         * text2.C:
864         * text3.C: remove lastPos uses in favour of Row::endpos
865
866 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
867
868         * undo.C (performUndoOrRedo): fix two crashes by setting a
869         cursor by hand and reordering some calls. Use bv->lockInset instead
870         of inset->edit because the latter loses cursor information
871
872 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
873
874         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
875         by Martin
876         (rowBreakPoint): fix width. change point to point + 1.
877         Add a missing check.
878
879 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
880
881         * MenuBackend.C:
882         * lyxfunc.C: fix (at least partly) the problems
883         with the Nav menu and headers inside branch insets
884         reported by Kayvan
885
886 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
887
888         * paragraph.C (getChar): add strong asserts
889
890         * lyxrow_funcs.C (lastPos): remove hideous hack
891
892         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
893         (fill): adjust to that (avoid an infinite loop)
894
895 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
896
897         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
898
899 2003-10-23  André Pönitz  <poenitz@gmx.net>
900
901         * RowList_fwd.h: change list<> to vector<> to gain speed
902         after suggestion from Alfredo
903
904 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
905
906         * lyxtext.h: move the bidi stuff from here...
907         * text.C: and here
908         * text2.C: and here
909         * Bidi.[Ch]: ... to here
910
911 2003-10-23  André Pönitz  <poenitz@gmx.net>
912
913         * lyxtext.h:
914         * text.C (isLastRow, isFirstRow): new functions
915
916         * paragraph.h: new width cache member
917
918         * rowpainter.C: replace RowList::iterator with Row & where possible
919
920         * lyxfunc.C: replace several view()->text with a single call
921
922         * toc.C: fix 'unused' warning
923
924 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
925
926         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
927         when woring with stream::pos_type
928         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
929
930 2003-10-22  André Pönitz  <poenitz@gmx.net>
931
932         * lyxtext.h:
933         * text.C: use Row & instead of RowList::iterator
934
935         * lyxrow.h: rename end() to endpos()
936
937         * rowpainter.C:
938         * text.C:
939         * text2.C: adjust
940
941 2003-10-22  Angus Leeming  <leeming@lyx.org>
942
943         * buffer.[Ch] (fully_loaded): new member function, returning true
944         only when the file has been loaded fully.
945         Used to prevent the premature generation of previews and by the
946         citation inset to prevent computation of the natbib-style label.
947
948         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
949         templates are all set up.
950
951         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
952
953 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * text.C: fixed an "oops" in the "is a bit silly"
956         bug fix
957
958 2003-10-21  André Pönitz  <poenitz@gmx.net>
959
960         * FuncStatus.[Ch]: small stuff, whitespace
961
962         * lyxfont.[Ch]: operator<<() for debug reasons
963
964         * lyxfunc.C:
965         * lyxrow_funcs.C:
966         * lyxtext.h: whitespace, spelling
967
968         * paragraph.C: naming of variables
969
970         * text.C:
971         * text2.C: small stuff
972
973
974 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
975
976         * text.C: (1) finish off the inset display() work;
977         (2) fix the "is a bit silly" bug (accessing char
978         past end of par).
979
980 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
981
982         * text.C: re-introduce display() for insets, fixing the
983         various bugs (stretch of line above, math inset
984         positioning, ...)
985
986 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * text.C (rightMargin): remove spurious semicolon
989
990         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
991         1415)
992
993 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * text3.C: fix one crash due to wrong cursor def
996
997 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * vc-backend.C (scanMaster): make the regex static
1000
1001         * LaTeX.C (scanAuxFile): make the regexs static
1002
1003         * text3.C (doInsertInset, dispatch, dispatch):
1004         * text2.C (cursorUp, cursorDown):
1005         * text.C (selectNextWordToSpellcheck):
1006         * BufferView_pimpl.C (dispatch):
1007         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1008
1009 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * lyxsocket.C: include <cerrno>
1012
1013 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1014
1015         * lyxfunc.C (dispatch): remove textcache stuff
1016
1017         * bufferlist.C (release): remove textcache stuff
1018         (closeAll): ditto
1019
1020         * TextCache.C: delete file
1021         * TextCache.h: delete file
1022
1023         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1024
1025         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1026         delete of the bv_->text.
1027         (resizeCurrentBuffer): remove texcache stuff
1028         (workAreaResize): ditto
1029
1030 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1033         action.
1034
1035 2003-10-16  André Pönitz  <poenitz@gmx.net>
1036
1037         * lyxrow.[Ch]:
1038         * paragraph.h:
1039         * rowpainter.C:
1040         * text.C:
1041         * text2.C:
1042         * text3.C: speed up by storing y positions per paragraph plus per-row
1043         offset instead of having a 'full' y position in the row.
1044
1045 2003-10-15  André Pönitz  <poenitz@gmx.net>
1046
1047         * iterators.[Ch]:
1048         * iterators.[Ch]:
1049         * undo.[Ch]: make undo aware of inner insets
1050
1051 2003-10-14  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1054         static member functions LyX::ref() and LyX::cref.
1055         (lastfiles): new accessor functions for the new lastfiles_ member var.
1056         (addLyXView, views_): add a new LyXView to the list of views_.
1057         (updateInset): loop over all LyXViews to call their own updateInset
1058         member function, returning a pointer to the Buffer owning the inset.
1059
1060         * BufferView_pimpl.C (loadLyXFile):
1061         * MenuBackend.C (expandLastfiles):
1062         * bufferlist.C (MenuWrite, QuitLyX):
1063         lastfiles is no longer a global variable.
1064         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1065
1066         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1067         static function. Access through LyX::cref().emergencyCleanup().
1068
1069 2003-10-14  André Pönitz  <poenitz@gmx.net>
1070
1071         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1072
1073         * undo.[Ch]: restoring part of 'undo in insets'
1074
1075         * Makefile.am:
1076         * undo_funcs.[Ch]: merge with undo.[Ch]
1077
1078         * tabular.C: small cleansing stuff
1079
1080 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * paragraph_funcs.C (readParToken): report unknown insets as error
1083         boxes. Use the outer paragraph as location (also for unknown
1084         tokens).
1085
1086         * factory.C (readInset): do not abort on reading an unknown inset.
1087         Eat it and return 0.
1088
1089 2003-10-13  Angus Leeming  <leeming@lyx.org>
1090
1091         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1092
1093         * lyxrc.C: displayTranslator is now a function,
1094         declared in GraphicsTypes.h.
1095
1096 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1097
1098         * format.C: new placeholder $$a to pass the socket address.
1099
1100         * bufferlist.[Ch]: new function getBufferFromTmp.
1101
1102         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1103           files in the temporary dir.
1104
1105 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1106
1107         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1108
1109         * Makefile.am: add lyxsocket.[Ch].
1110
1111         * lyx_main.C (error_handler): handle SIGPIPE.
1112
1113 2003-10-13  André Pönitz  <poenitz@gmx.net>
1114
1115         * BufferView_pimpl.C:
1116         * lyxtext.h:
1117         * text.C:
1118         * text2.C:
1119         * text3.C:
1120         * undo_funcs.[Ch]: use paroffset_type instead of
1121           ParagraphList::iterators to prevent multiple conversion
1122           (and get a more robust interface)
1123
1124 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1125
1126         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1127         * lyxtext.h: ditto
1128         * text3.C (dispatch): ditto
1129
1130 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1131
1132         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1133         move the onlyfile, use onlyfile instead of foundfile in a couple
1134         of places.
1135
1136         * DepTable.C (update): flush the error stream a bit more
1137
1138 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * lyxserver.C (callback): adjust
1141
1142         * lyxfunc.C (getStatus): add a missing brace in commented code
1143         (ensureBufferClean): reindent
1144         (dispatch): delete version taking a string
1145
1146 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1147
1148         * LaTeX.C (deplog): move found file handlig from here...
1149         (handleFoundFile): .. to new function here.
1150         (deplog): make sure to discover several files mentioned on the
1151         same log line.
1152
1153 2003-10-10  André Pönitz  <poenitz@gmx.net>
1154
1155         * lyxfunc.C:
1156         * lyxtext.h:
1157         * tabular.C:
1158         * text.C:
1159         * text2.C:
1160         * text3.C: fix some of the tabular crashes
1161
1162 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1163
1164         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1165
1166         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1167
1168 2003-10-09  André Pönitz  <poenitz@gmx.net>
1169
1170         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1171
1172         * BufferView.C:
1173         * BufferView_pimpl.C:
1174         * bufferview_funcs.C:
1175         * lyx_cb.C:
1176         * lyxcursor.C:
1177         * lyxfind.C:
1178         * lyxfunc.C:
1179         * lyxtext.h:
1180         * text.C:
1181         * text2.C:
1182         * text3.C:
1183         * text_funcs.[Ch]:
1184         * textcursor.[Ch]:
1185         * undo_funcs.C: adjust
1186
1187 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1188
1189         * text2.C (incrementItemDepth): new function, use a backtracking
1190         algorithm to discover the correct item depth.
1191         (resetEnumCounterIfNeeded): new function, use a backtracking
1192         algorithm to discover if counter reset is needed.
1193         (setCounter): use them. Simplify a bit. Add different labels for
1194         different item depths for itemize.
1195
1196         * paragraph.C (Paragraph): remove initialization of enumdepth
1197         (operator=): ditto
1198
1199         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1200         enumerate and itemize. Change the type of itemdepth to signed char.
1201
1202 2003-10-08  André Pönitz  <poenitz@gmx.net>
1203
1204         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1205           thing assignable.
1206         * text.C:
1207         * text2.C: adjust
1208
1209         * tabular.[Ch]: fix crash after 'row-insert'
1210
1211 2003-10-08  Angus Leeming  <leeming@lyx.org>
1212
1213         Fix doxygen warnings.
1214
1215         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1216         Remove CutAndPaste:: prefix from header file declaration.
1217
1218         * LColor.h (fill): remove LColor:: prefix from declaration.
1219
1220         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1221         use lyx::depth_type rather than Paragraph::depth_type so that
1222         header file and .C file match.
1223
1224         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1225
1226         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1227         * aspell.C: \file aspell_local.C -> \file aspell.C
1228         * gettext.C: \file gettext.C -> \file src/gettext.C
1229         * gettext.h: \file gettext.h -> \file src/gettext.h
1230         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1231         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1232         * text.C: \file text.C -> \file src/text.C
1233
1234         * toc.C: move comment so that doxygen is not confused.
1235
1236 2003-10-07  Angus Leeming  <leeming@lyx.org>
1237
1238         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1239
1240 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1241
1242         * aspell.C:
1243         * aspell_local.h: add forgotten std::string's.
1244
1245 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1246
1247         * LaTeXFeatures.C:
1248         * LyXAction.C:
1249         * factory.C:
1250         * lfuns.h:
1251         * lyxfunc.C:
1252         * text3.C: The Box patch. Fancybox support, minipage, parbox
1253
1254 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1255
1256         * CutAndPaste.h:
1257         * DepTable.h:
1258         * FloatList.h:
1259         * LaTeXFeatures.h:
1260         * ParagraphParameters.h:
1261         * TextCache.h:
1262         * Thesaurus.h:
1263         * bufferlist.h:
1264         * exporter.h:
1265         * importer.h:
1266         * lastfiles.h:
1267         * lyxfind.h:
1268         * lyxfont.h:
1269         * lyxlex.h:
1270         * lyxtextclasslist.h:
1271         * messages.h:
1272         * paragraph.h:
1273         * paragraph_pimpl.C:
1274         * textcursor.h: add <string> and other small fixes to make Lars'
1275         std::string patch compile with STLport.
1276
1277 2003-10-06  Angus Leeming  <leeming@lyx.org>
1278
1279         * LColor.h: Add missing #include <string>.
1280
1281 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * All most all file in all subdirs: Make <string> be the prefered
1284         way of getting to std::string, add using declarations.
1285
1286 2003-10-06  André Pönitz  <poenitz@gmx.net>
1287
1288         * metricsinfo.C: initialize LyXFont before changing attribute.
1289         (fixes the 'math in \emph is upright' bug)
1290
1291 2003-10-06  André Pönitz  <poenitz@gmx.net>
1292
1293         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1294
1295 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1296
1297         * graph.C:
1298         * paragraph_pimpl.C: Small fixes to build using STLport
1299
1300 2003-10-02  André Pönitz  <poenitz@gmx.net>
1301
1302         * lyxfunc.C:
1303         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1304
1305 2003-10-01  André Pönitz  <poenitz@gmx.net>
1306
1307         * factory.C: assert early
1308
1309 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1310
1311         * lyx_main.C: remove the global debug object
1312
1313         * debug.h: adjust for new debugstream
1314
1315         * debug.C: adjust for new debugstream and keep the global debug
1316         object here.
1317
1318 2003-09-22  Angus Leeming  <leeming@lyx.org>
1319
1320         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1321         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1322         an incomplete class LyXFont.
1323
1324 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * factory.C: bug fix in branches
1327
1328 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * lyxfunc.C (processKeySym): adjust
1331         (dispatch): adjust
1332         (dispatch): change arg name from ev to func, adjust
1333         (sendDispatchMessage): ditto
1334
1335         * lyx_main.C (defaultKeyBindings): adjust keybindings
1336         (deadKeyBindings): ditto
1337
1338         * kbsequence.C (addkey): return a FuncRequest
1339
1340         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1341
1342         * kbmap.C (bind): take a FuncRequest as arg, adjust
1343         (read): adjust
1344         (lookup): adjust
1345         (defkey): change to take a FuncRequest as arg, adjust
1346         (findbinding): take a FuncRequest as arg, adjust.
1347
1348         * funcrequest.h (operator=): added
1349
1350         * funcrequest.C (FuncRequest): default kb_action changed from
1351         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1352
1353         * buffer.C (dispatch): simplify
1354         (dispatch): adjust to take a FuncRequest as arg, adjust
1355
1356         * boost.C (assertion_failed): change assertion message slightly
1357
1358         * ToolbarBackend.C (read): simplify
1359
1360         * MenuBackend.C (binding): adjust call to findbinding, add a
1361         message if no binding is found.
1362         (read): simplify
1363         (expandToc): correct by adding a empty FuncRequest
1364
1365         * LyXAction.C: include <boost/assert.hpp>
1366         (isPseudoAction): delete function
1367         (LookupFunc): change name to...
1368         (lookupFunc): this. change return type to FuncRequest.
1369         (getActionName): take kb_action as arg, simplify
1370         (funcHasFlag): add an assert, simplify.
1371
1372 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1373
1374         * toc.C (action): return a FuncRequest, simplify
1375
1376         * lyxfunc.C (processKeySym): adjust
1377         (getStatus): delete version that takes an int.
1378         (getStatus): adjust
1379         (dispatch): delete version that takes action as int
1380         (dispatch): adjust
1381         (sendDispatchMessage): simplify and adjust
1382
1383         * funcrequest.C (getArg): take unsigned int as arg
1384
1385         * ToolbarBackend.C (read): adjust
1386         (add): delete version that takes func as a string.
1387         (getIton): take a FuncRequest as arg
1388
1389         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1390         action.
1391
1392         * MenuBackend.C (MenuItem): add a new construct that only takes a
1393         Kind, simplify the constructor use for submenus.
1394         (add): adjust
1395         (expandLastfiles): adjust
1396         (expandDocuments): adjust
1397         (expandFormats): adjust
1398         (expandFloatListInsert): adjust
1399         (expandFloatInsert): adjust
1400         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1401
1402         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1403         Remove class variables lyx_pseudo_map and lyx_arg_map
1404
1405         * LyXAction.C (searchActionArg): delete function
1406         (getPseudoAction): delete function
1407         (retrieveActionArg): delete function
1408         (LookupFunc): make it return kb_action, simplify.
1409         (getActionName): simplify
1410
1411         * factory.C (createInset): fix new bug
1412
1413 2003-09-19  Angus Leeming  <leeming@lyx.org>
1414
1415         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1416         masterFilename_ parameter in the include inset.
1417
1418         * factory.C (createInset): changes due to the changes to InsetInclude.
1419
1420 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1421
1422         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1423
1424 2003-09-18  Angus Leeming  <leeming@lyx.org>
1425
1426         * buffer.C:
1427         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1428         Inset::fillWithBibKeys.
1429         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1430
1431 2003-09-18  Angus Leeming  <leeming@lyx.org>
1432
1433         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1434         variables.
1435         (ctor): pass and store a 'Buffer const &'
1436         (buffer): new member function.
1437
1438         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1439         '*this' to the LaTeXFeatures ctor.
1440
1441 2003-09-18  Angus Leeming  <leeming@lyx.org>
1442
1443         * LColor.h:
1444         * lyxfont.C:
1445         * lyxfont.h:
1446         * lyxtext.h:
1447         * text.C: rename EnumLColor as LColor_color.
1448
1449 2003-09-18  Angus Leeming  <leeming@lyx.org>
1450
1451         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1452         remove #include "insets/insetbase.h" from cursor.h.
1453
1454 2003-09-18  Angus Leeming  <leeming@lyx.org>
1455
1456         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1457         InsetOld_code to remove #include "inset.h".
1458
1459         * iterators.C: add #include "insets/inset.h"
1460
1461 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1462
1463         * BufferView.C: remove more locking stuff that apparently doesn't
1464         do anything sensible.
1465
1466 2003-09-16  André Pönitz  <poenitz@gmx.net>
1467
1468         * paragraph.[Ch]:
1469         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1470           performance boost.
1471
1472 2003-09-16  Angus Leeming  <leeming@lyx.org>
1473
1474         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1475
1476         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1477         arg/return type.
1478
1479         * paragraph.h: remove #include "lyxfont.h". Forward declare
1480         LyXFont_size.
1481
1482 2003-09-16  Angus Leeming  <leeming@lyx.org>
1483
1484         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1485         of support/textutils.h.
1486         (isWord): move the contents of support/textutils.h's IsWordChar here.
1487
1488         * buffer.C:
1489         * lyxfind.C:
1490         * rowpainter.C:
1491         * text.C:
1492         * text2.C: add #include "paragraph.h".
1493
1494         * rowpainter.C:
1495         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1496
1497 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1498
1499         * main.C:
1500         * lyx_main.C:
1501         * lyx_cb.C:
1502         * buffer.C:
1503         * LaTeX.C: use namespace alias for lyx::support::os
1504
1505 2003-09-16  Angus Leeming  <leeming@lyx.org>
1506
1507         * bufferparams.C:
1508         * bufferview_funcs.C:
1509         * factory.C:
1510         * lyxfunc.C:
1511         * paragraph_pimpl.C:
1512         * rowpainter.C:
1513         * text.C: add #include "LColor.h".
1514
1515 2003-09-16  Angus Leeming  <leeming@lyx.org>
1516
1517         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1518         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1519         return LyXFont &.
1520         Store the FontBits::color variable as an int rather than as an
1521         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1522         file.
1523
1524         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1525         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1526         string calls together.
1527
1528         * lyxrc.C: add #include "LColor.h".
1529
1530 2003-09-15  Angus Leeming  <leeming@lyx.org>
1531
1532         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1533         a cow_ptr.
1534
1535 2003-09-15  Angus Leeming  <leeming@lyx.org>
1536
1537         * LColor.h: add an EnumLColor wrapper for LColor::color.
1538
1539         * lyxfont.[Ch] (color, setColor, realColor):
1540         * lyxtext.h, text.C (backgroundColor):
1541         pass EnumLColor args to/from the functions, rather than LColor::color
1542         ones.
1543
1544         * lyxfont.h:
1545         * lyxtext.h: forward declare EnumLColor.
1546
1547         * lyx_main.C: add #include "LColor.h".
1548
1549 2003-09-15  Angus Leeming  <leeming@lyx.org>
1550
1551         * .cvsignore: add lyx-gtk.
1552
1553 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * Chktex.C
1556         * LaTeX.C
1557         * LaTeXFeatures.C
1558         * ParagraphParameters.C
1559         * Spacing.C
1560         * buffer.C
1561         * bufferparams.C
1562         * bufferview_funcs.C
1563         * chset.C
1564         * counters.C
1565         * funcrequest.C
1566         * lyxfont.C
1567         * lyxgluelength.C
1568         * lyxlength.C
1569         * paragraph.C
1570         * paragraph_funcs.C
1571         * text3.C
1572         * vc-backend.C: remove usage of STRCONV
1573
1574 2003-09-15  Angus Leeming  <leeming@lyx.org>
1575
1576         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1577         explicitly define the color passed to the painter.
1578
1579 2003-09-15  Angus Leeming  <leeming@lyx.org>
1580
1581         * bufferparams.C (BufferParams): reorder member initializers to avoid
1582         compiler warning.
1583
1584 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1585
1586         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1587         * text.C (updateRowPositions): remove an unusual nop
1588
1589 2003-09-12  André Pönitz  <poenitz@gmx.net>
1590
1591         * BufferView_pimpl.C:
1592         * Bullet.C:
1593         * layout.h:
1594         * lyxfunc.C:
1595         * lyxlayout.[Ch]:
1596         * lyxtextclass.C:
1597         * rowpainter.C:
1598         * text.C:
1599         * text2.C:
1600         * Counters.[Ch]: finish the 'automatic counters' job
1601
1602 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1603
1604         * aspell.C: include <boost/assert.cpp> (compile fix)
1605
1606 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1607
1608         * boost.C (assertion_failed): use lyx::support::abort instead of
1609         assert.
1610
1611 2003-09-10  Angus Leeming  <leeming@lyx.org>
1612
1613         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1614         with their _fwd progeny.
1615
1616 2003-09-09  Angus Leeming  <leeming@lyx.org>
1617
1618         134 files throughtout the source tree: replace 'using namespace abc;'
1619         directives with the appropriate 'using abc::xyz;' declarations.
1620
1621 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1622
1623         * boost.C (emergencyCleanup): moved here from LAssert.c
1624         (assertion_failed): new function, called by BOOST_ASSERT
1625
1626         * several files: change Assert to BOOST_ASSERT
1627
1628 2003-09-09  Angus Leeming  <leeming@lyx.org>
1629
1630         * buffer.[Ch]: Add an Impl class and move Buffer's member
1631         variables into it. As a result move several header files out of
1632         buffer.h.
1633
1634         Add header files to lots of .C files all over the tree as a result.
1635
1636 2003-09-09  Angus Leeming  <leeming@lyx.org>
1637
1638         * buffer.[Ch]: make Buffer's member variables private. Add
1639         accessor functions.
1640
1641         Lots of changes all over the tree as a result.
1642
1643 2003-09-08  Angus Leeming  <leeming@lyx.org>
1644
1645         * graph.C: #include <config.h>.
1646
1647 2003-09-08  Angus Leeming  <leeming@lyx.org>
1648
1649         * BranchList.C:
1650         * BufferView.C:
1651         * BufferView_pimpl.C:
1652         * CutAndPaste.C:
1653         * DepTable.C:
1654         * LaTeX.C:
1655         * LaTeXFeatures.C:
1656         * LyXAction.C:
1657         * MenuBackend.C:
1658         * TextCache.C:
1659         * aspell.C:
1660         * buffer.C:
1661         * bufferlist.C:
1662         * changes.C:
1663         * chset.C:
1664         * converter.C:
1665         * counters.C:
1666         * debug.C:
1667         * graph.C:
1668         * ispell.C:
1669         * lyx_cb.C:
1670         * lyxfind.C:
1671         * lyxfunc.C:
1672         * lyxlex_pimpl.C:
1673         * lyxrc.C:
1674         * lyxrow.C:
1675         * paragraph.C:
1676         * rowpainter.C:
1677         * texrow.C:
1678         * text.C:
1679         * text2.C:
1680         * toc.C: remove redundant using directives.
1681
1682 2003-09-07  Angus Leeming  <leeming@lyx.org>
1683
1684         * LaTeXFeatures.h: remove #include "support/types.h".
1685         * ToolbarBackend.h: remove #include <algorithm>.
1686         * changes.h: remove #include <ctime>.
1687         * debug.h: remove #include <iosfwd>.
1688         * graph.h: remove #include "support/std_string.h".
1689         * lyx_main.h: remove #include <csignal>.
1690         * lyxlex_pimpl.h: remove #include <fstream>.
1691         * sgml.h: remove #include <algorithm>, <utility>.
1692         * toc.h: remove #include "support/std_ostream.h".
1693         Add #include <iosfwd>.
1694
1695 2003-09-07  Angus Leeming  <leeming@lyx.org>
1696
1697         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1698
1699         * converter.h: forward declare LatexRunParams.
1700         * encoding.h: remove #include "lyxrc.h".
1701         * lyxtext.h: remove #include "LColor.h".
1702         * lyxtextclass.h: remove #include "support/types.h".
1703         * trans.h: remove #include "tex-accent.h".
1704         * trans_mgr.h: remove #include "tex-accent.h".
1705         * insets/inset.h: remove #include "support/types.h", <vector>.
1706         * insets/insetcollapsable.h: remove #include "LColor.h".
1707         * insets/insetinclude.h: remove #include "dimension.h".
1708         * insets/insetlatexaccent.h: remove #include "dimension.h".
1709         * insets/insetoptarg.h:: remove #include "insettext.h".
1710         * insets/insettext.h: remove #include "dimension.h",
1711         <boost/shared_ptr.hpp>
1712
1713         * insets/renderers.h: add #include "dimension.h".
1714         * insets/updatableinset.h: add #include "support/types.h".
1715
1716         * many .C files: Associated changes.
1717
1718 2003-09-06  Angus Leeming  <leeming@lyx.org>
1719
1720         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1721         one, inside testInvariant.
1722
1723         * PrinterParams.C: new file.
1724         * PrinterParams.[Ch]: move the function bodies out of line.
1725
1726 2003-09-06  Angus Leeming  <leeming@lyx.org>
1727
1728         * ParagraphParameters.h: forward declare ParameterStruct rather than
1729         including its header file.
1730         (depth): moved out-of-line.
1731
1732 2003-09-06  Angus Leeming  <leeming@lyx.org>
1733
1734         * BufferView_pimpl.h:
1735         * kbmap.h:
1736         * kbsequence.h:
1737         * lyxfunc.h: forward declare LyXKeySym rather than
1738         #include "frontends/LyXKeySym.h".
1739
1740         * BufferView_pimpl.C:
1741         * kbmap.C:
1742         * kbsequence.C:
1743         * lyxfunc.C: associated changes.
1744
1745 2003-09-06  Angus Leeming  <leeming@lyx.org>
1746
1747         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1748         As a result, can remove the #include "insets/inset.h" from BufferView.h
1749
1750 2003-09-06  Angus Leeming  <leeming@lyx.org>
1751
1752         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1753         As a result, can remove the #include "insets/inset.h" from BufferView.h
1754
1755 2003-09-06  Angus Leeming  <leeming@lyx.org>
1756
1757         * buffer_funcs.C:
1758         * buffer.h:
1759         * bufferlist.C:
1760         * BufferView.C:
1761         * bufferview_funcs.C:
1762         * BufferView_pimpl.C:
1763         * CutAndPaste.C:
1764         * lyx_cb.C:
1765         * lyxfunc.C:
1766         * paragraph.h:
1767         * ParagraphParameters.C:
1768         * tabular.C:
1769         * text3.C:
1770         * toc.C:
1771         * undo_funcs.C:
1772         * frontends/controllers/ControlDocument.C:
1773         * insets/insetcaption.C: rearrange the #includes into some sort of
1774         coherent order.
1775
1776         * buffer.h: remove #includes ErrorList.h, undo.h
1777
1778 2003-09-06  Angus Leeming  <leeming@lyx.org>
1779
1780         * support/types.h: add a 'depth_type' typedef, used to store the
1781         nesting depth of a paragraph.
1782
1783         * paragraph.h:
1784         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1785         defining explicitly.
1786
1787         * buffer.h:
1788         * paragraph_funcs.h:
1789         * ParagraphParameters.h:
1790         * sgml.h: use lyx::depth_type rather than Paragraph or
1791         ParameterStruct's depth_type.
1792
1793         * buffer.h
1794         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1795
1796         * BufferView.C:
1797         * BufferView_pimpl.C:
1798         * CutAndPaste.C:
1799         * ParagraphParameters.C:
1800         * buffer_funcs.C:
1801         * bufferlist.C:
1802         * bufferview_funcs.C:
1803         * lyx_cb.C:
1804         * lyxfunc.C:
1805         * tabular.C:
1806         * text3.C:
1807         * toc.C:
1808         * undo_funcs.C:
1809         * frontends/LyXView.C:
1810         * frontends/controllers/ControlDocument.C:
1811         * frontends/controllers/ControlErrorList.C:
1812         * insets/insetbibitem.C:
1813         * insets/insetbranch.C:
1814         * insets/insetcaption.C:
1815         * insets/insetcollapsable.C:
1816         * insets/insetenv.C:
1817         * insets/insetert.C:
1818         * insets/insetfloat.C:
1819         * insets/insetfoot.C:
1820         * insets/insetfootlike.C:
1821         * insets/insetnewline.C:
1822         * insets/insetquotes.C:
1823         * insets/insettabular.C:
1824         * insets/insettext.C:
1825         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1826
1827         * frontends/controllers/ControlChanges.C: #include "changes.h".
1828
1829 2003-09-06  Angus Leeming  <leeming@lyx.org>
1830
1831         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1832         than #including paragraph.h.
1833
1834         * ParagraphList.h:
1835         * RowList.h: deleted. Superfluous.
1836
1837         * CutAndPaste.h:
1838         * iterators.h:
1839         * lyxcursor.h:
1840         * lyxtext.h:
1841         * text_funcs.h:
1842         * undo.h:
1843         * undo_funcs.h:
1844         * insets/inset.h:
1845         * insets/insettext.h: use ParagraphList_fwd.h rather than
1846         ParagraphList.h.
1847
1848         * paragraph.h: don't forward declare ParagraphList.
1849
1850         * buffer.h:
1851         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1852         rather than ParagraphList.h. paragraph.h is still needed for the
1853         Paragraph::depth_type parameters.
1854
1855         * textcursor.h: enable it to compile stand-alone in light of the
1856         above changes.
1857
1858         * bufferview_funcs.C:
1859         * iterators.C:
1860         * lyxfunc.C:
1861         * lyxrow_funcs.C:
1862         * paragraph.C:
1863         * rowpainter.C:
1864         * text.C:
1865         * text2.C:
1866         * text3.C:
1867         * text_funcs.C:
1868         * textcursor.C:
1869         * undo.C:
1870         * frontends/controllers/ControlParagraph.C:
1871         * frontends/controllers/ControlTabular.C:
1872         * insets/insetmarginal.C:
1873         * insets/insetminipage.C:
1874         * insets/insetnote.C:
1875         * insets/insetoptarg.C: add header files needed to compile again.
1876
1877 2003-09-06  Angus Leeming  <leeming@lyx.org>
1878
1879         * RowList_fwd.h: new file, forward-declaring Row rather than
1880         #including lyxrow.h.
1881
1882         * lyxrow_funcs.h:
1883         * lyxtext.h:
1884         * paragraph.h:
1885         * insets/insettext.h: use it instead of RowList.h
1886
1887         * bufferview_funcs.C:
1888         * lyxfunc.C:
1889         * lyxrow_funcs.C:
1890         * paragraph.C:
1891         * rowpainter.C:
1892         * text.C:
1893         * text2.C:
1894         * text3.C: #include "RowList.h".
1895
1896 2003-09-05  Angus Leeming  <leeming@lyx.org>
1897
1898         * factory.C (createInset):
1899         * vspace.C (c-tor): replace sscanf call with an istringstream.
1900         * ispell.C: re-add missing HP/UX headers.
1901         * lyxserver.C: re-add missing  os2 headers.
1902
1903 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1904
1905         * BranchList.C:
1906         * graph.C:
1907         * ispell.C:
1908         * lastfiles.C:
1909         * lyx_cb.C:
1910         * lyxserver.C:
1911         * texrow.C:
1912         * text3.C: re-add missing system headers, needed for 2.95.2.
1913
1914 2003-09-05  Angus Leeming  <leeming@lyx.org>
1915
1916         Changes most place everywhere due to the removal of using directives
1917         from support/std_sstream.h.
1918
1919 2003-09-05  Angus Leeming  <leeming@lyx.org>
1920
1921         Replace LString.h with support/std_string.h,
1922         Lsstream.h with support/std_sstream.h,
1923         support/LIstream.h with support/std_istream.h,
1924         support/LOstream.h with support/std_ostream.h.
1925
1926         Changes resulting throughout the tree.
1927
1928 2003-09-05  Angus Leeming  <leeming@lyx.org>
1929
1930         * sgml.h: ensure that the header file can be compiled stand-alone.
1931         * *.C: strip out redundant #includes. (320 in total.)
1932
1933 2003-09-04  Angus Leeming  <leeming@lyx.org>
1934
1935         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1936         here (from getPackages).
1937
1938         * debug.[Ch]: add a new EXTERNAL tag.
1939
1940 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1941
1942         * text2.C (cursorEnd): simplify
1943         (setCursor): adjust
1944         (getColumnNearX): adjust
1945
1946         * text.C (computeBidiTables): adjust
1947         (fill): adjust
1948
1949         * rowpainter.C (paintChars): adjust
1950         (paintSelection): adjust
1951         (paintChangeBar): adjust
1952         (paintText): adjust
1953
1954         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1955         lastPos instead.
1956         (numberOfSeparators): adjust
1957
1958 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1959
1960         * LyXAction.C:
1961         * box.[Ch]:
1962         * lfuns.h:
1963         * lyxfunc.C:
1964         * text3.C: Restricts the mouse click functionality
1965         of insets like bibtex, include, toc and floatlist to the visible
1966         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1967         up the dialogs. Cursor has to be in front of the inset (i.e.
1968         start of row) for this to function.
1969
1970 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1971
1972         * bufferview_funcs.C (currentState): output row information
1973
1974 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1975
1976         * bufferview_funcs.C (currentState): output paragraph position
1977
1978 2003-09-04  Angus Leeming  <leeming@lyx.org>
1979
1980         * FloatList.h: move out #include "Floating.h".
1981         * LaTeX.h: move out #include "DepTable.h".
1982         * LyXAction.h: move out #include "funcrequest.h".
1983         * buffer.h: move out #include "author.h", "iterators.h".
1984         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1985         * lyx_main.h: move out #include "errorlist.h".
1986         * lyxfunc.h: move out #include "FuncStatus.h".
1987         * lyxtext: move out #include "lyxcursor.h".
1988         * paragraph_pimpl.h: move out #include "counters.h".
1989
1990 2003-09-03  Angus Leeming  <leeming@lyx.org>
1991
1992         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1993         preamble_snippets list, enabling us to add snippets to the preamble
1994         only if the snippet was not there already.
1995
1996 2003-09-04  Angus Leeming  <leeming@lyx.org>
1997
1998         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1999
2000 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2001
2002         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2003         update
2004
2005 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2006
2007         * BranchList.C: point fix, earlier forgotten
2008
2009 2003-09-02  Angus Leeming  <leeming@lyx.org>
2010
2011         * box.C (contains): renamed from 'contained' after a fantastic
2012         amount of hot air.
2013
2014 2003-09-02  John Levon  <levon@movementarian.org>
2015
2016         * BufferView.C:
2017         * lyxcursor.h:
2018         * lyxcursor.C:
2019         * lyxfunc.C:
2020         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2021
2022 2003-09-02  John Levon  <levon@movementarian.org>
2023
2024         * text2.C: simplification of cursorEnd(), including partial
2025         fix for bug 1376
2026
2027 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2028
2029         * buffer.C (readFile): add a space
2030
2031 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2032
2033         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2034
2035 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2036
2037         * buffer.C (readFile): new function, take a filename and a
2038         ParagraphList::iterator
2039         (readFile): adjust
2040         (readFile): adjust, make it private. don't use setStream, make
2041         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2042         always contain the filename.
2043
2044         * BufferView.C (insertLyXFile): simplify and make it work for
2045         gzipped files.
2046
2047 2003-08-30  John Levon  <levon@movementarian.org>
2048
2049         * Makefile.am: fix dist (from Kayvan)
2050
2051 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2052
2053         * most files: change to use const Buffer refs
2054
2055 2003-08-27  André Pönitz  <poenitz@gmx.net>
2056
2057         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2058         on top of ownerPar().
2059
2060 2003-08-27  John Levon  <levon@movementarian.org>
2061
2062         * funcrequest.C: properly initialise POD members
2063
2064 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2065
2066         * lyxtext.h (top_y): move top_y from here
2067         * text.C:
2068         * text2.C:
2069         * text3.C:
2070         * BufferView.[Ch]:
2071         * BufferView_pimpl.[Ch]: to here
2072         * frontends/screen.C:
2073         * insets/insettabular.C:
2074         * insets/insettext.C: adjust
2075         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2076
2077 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * BufferView.[Ch]:
2080         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2081
2082 2003-08-26  André Pönitz  <poenitz@gmx.net>
2083
2084         * paragraph_func.[Ch] (outerPar): new function
2085
2086         * paragraph.C:
2087         * paragraph_funcs.C:
2088         * paragraph_funcs.h:
2089         * paragraph_pimpl.C:
2090         * text2.C: remove Inset::par_owner
2091
2092 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2093
2094         * lyxrow_funcs.C:
2095         * lyxtext.h:
2096         * text.C:
2097         * text2.C: eliminates the needFullRow/display() stuff
2098         altogether, putting the logic in metrics/draw in the insets.
2099
2100 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * text2.C (redoParagraphInternal, redoParagraphs):
2103         * text.C (redoParagraph): add a call to updateRowPositions at the
2104         end of each 'metrics-like' call. Remove all others.
2105         (getRow): remove the 'y-computing' version.
2106         (getRowNearY): do not compute nor return the real y. Solve the
2107         'y < 0' problem and simplify.
2108
2109 2003-08-22  Angus Leeming  <leeming@lyx.org>
2110
2111         * *.[Ch]: clean-up of licence and author blurbs.
2112         Also move config.h out of a few .h files and into a few .C files.
2113
2114 2003-08-22  André Pönitz  <poenitz@gmx.net>
2115
2116         * lyxrow.[Ch]: add x_ and *fill_ members
2117
2118         * lyxtext.h:
2119         * text.C:
2120         * rowpainter.C:
2121         * text2.C: adjust/remove prepareToPrint() calls
2122
2123 2003-08-22  André Pönitz  <poenitz@gmx.net>
2124
2125         * lyxrow.[Ch]: add  end_ member
2126
2127         * lyxrow_funcs.C: use LyXRow::end_
2128
2129         * lyxtext.h (singleWidth): add LyXFont parameter
2130
2131         * rowpainter.C:
2132         * text2.C: adjust LyXText::singleWidth() calls
2133
2134         * text.C (redoParagraph): simplify row breaking logic
2135
2136
2137 2003-08-19  André Pönitz  <poenitz@gmx.net>
2138
2139         * funcrequest.C: initialize button_ member
2140
2141         * text3.C:
2142         * rowpainter.[Ch]: interface consolidation
2143
2144 2003-08-18  André Pönitz  <poenitz@gmx.net>
2145
2146         * BufferView.C:
2147         * BufferView_pimpl.C:
2148         * lyxfind.C:
2149         * paragraph_funcs.C:
2150         * rowpainter.C:
2151         * text3.C: remove LyXScreen::draw() and fitCursor calls
2152
2153         * BranchList.h: remove spurious semicolons
2154
2155         * MenuBackend.C: fix branchlist related crash
2156
2157 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2158
2159         * BranchList.[Ch]:
2160         * InsetList.[Ch]:
2161         * LColor.[Ch]:
2162         * LyXAction.C:
2163         * Makefile.am:
2164         * MenuBackend.[Ch]:
2165         * bufferparams.[Ch]:
2166         * factory.C:
2167         * lfuns.h:
2168         * lyxfunc.C:
2169         * text3.C: implements the 'branch inset'
2170         idea. This allows the output of various versions of a document
2171         from a single source version, selectively outputing or suppressing
2172         output of parts of the text.
2173         This implementation contains a 'branch list editor' in a separate
2174         tab of the document settings dialog. Branches are user definable
2175         and have a "display colour" to distinguish them on-screen.
2176
2177         ColorHandler was somewhat cleaned up.
2178         (1) make possible a dynamically growing LColor list by allowing
2179         the graphic context cache to grow along (vector);
2180         (2) eliminate an IMHO unnecessary step in colour allocation.
2181
2182 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2183
2184         * BufferView_pimpl.C: compile fix
2185
2186 2003-08-15  André Pönitz  <poenitz@gmx.net>
2187
2188         * rowpainter.C: remove extra metrics calls
2189
2190         * lyxtext.h: merge the two constructors into a single one,
2191           pass reference to owner's par list
2192
2193         * BufferView_pimpl.C:
2194         * text.C:
2195         * text2.C: adjust
2196
2197 2003-08-15  André Pönitz  <poenitz@gmx.net>
2198
2199         * lyxrow_funcs.[Ch]:
2200         * lyxtext.h:
2201         * paragraph.h:
2202         * paragraph_funcs.C:
2203         * rowpainter.C:
2204         * text.C:
2205         * text2.C:
2206         * text3.C:
2207         * text_funcs.C: split LyXText::rowlist_ into individual
2208         Paragraph::rows_ chunks
2209
2210         * BufferView.[Ch]:
2211         * BufferView_pimpl.[Ch]:
2212         * lyxfind.C:
2213         * lyxtext.h:
2214         * text3.C: remove toggleSelection()
2215
2216 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2217
2218         * bufferlist.C: beautify two alerts (shorter text of buttons)
2219         * buffer.C: Remove redundant ' ' from message
2220         * tabular.h:
2221         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2222         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2223         rename VALIGN_CENTER to VALIGN_MIDDLE
2224
2225 2003-08-11  André Pönitz  <poenitz@gmx.net>
2226
2227         * lyxtext.h (getPar):
2228         * text.C: new function
2229
2230 2003-08-11  André Pönitz  <poenitz@gmx.net>
2231
2232         * Makefile.am:
2233         * tracer.[Ch]: remove unneeded files
2234
2235         * InsetList.[Ch]: remove resizeInsetsLyXText()
2236
2237         * lyxtext.h:
2238         * text.C:
2239         * text2.C:
2240         * text3.C: merge insertParagraphs() and appendParagraph()
2241         remove breakAgain(), update()
2242
2243         * BufferView_pimpl.[Ch]:
2244         * bufferview_funcs.[Ch]:
2245         * lyxfunc.C:
2246         * paragraph.[Ch]:
2247         * rowpainter.C:
2248         * tabular.C: adjust after text & InsetList changes.
2249
2250 2003-08-08  André Pönitz  <poenitz@gmx.net>
2251
2252         * text.C (insertChar, backspace): replace rowlist fiddling
2253         with rebreak of full par
2254
2255         * lyxtext.h:
2256         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2257         checkParagraph, updateInset): removed
2258
2259 2003-08-07  André Pönitz  <poenitz@gmx.net>
2260
2261         * paragraph.C:
2262         * text3.C: merge some LFUN handlers, remove dead code
2263
2264 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2267
2268 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2269
2270         * text2.C (DEPM): fix part of bug 1255 and 1256
2271
2272 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2273
2274         * BufferView_pimpl.C (workAreaDispatch): change to use
2275         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2276         that are no mouse related.
2277
2278 2003-08-05  André Pönitz  <poenitz@gmx.net>
2279
2280         * BufferView.[Ch]:
2281         * BufferView_pimpl.[Ch]:
2282         * bufferview_funcs.C:
2283         * text2.C:
2284         * text3.C: rip out "deep update"
2285
2286         * textcursor.[Ch] (last_sel_cursor): remove unused member
2287
2288 2003-08-04  André Pönitz  <poenitz@gmx.net>
2289
2290         * BufferView.[Ch]:
2291         * BufferView_pimpl.[Ch]:
2292         * ParagraphParameters.C:
2293         * bufferview_funcs.C:
2294         * lyx_cb.C:
2295         * lyxfind.C:
2296         * lyxfunc.C:
2297         * text.C:
2298         * text2.C:
2299         * text3.C: replace "complicated" BufferView::update(...) calls with
2300         simpler ones.
2301
2302         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2303
2304 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2305
2306         * Makefile.am (lyx_SOURCES): add paper.h
2307
2308 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2309
2310         * Makefile.am: move things around so that both lyx-qt and
2311         lyx-xforms can be built (according to --with-frontend). Then lyx
2312         is a symbolic link to lyx-[firstfrontend]
2313
2314 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2315
2316         * Always use std::endl with lyxerr
2317
2318 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2319
2320         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2321
2322 2003-08-01  André Pönitz  <poenitz@gmx.net>
2323
2324         * BufferView.[Ch]:
2325         * BufferView_pimpl.[Ch]:
2326         * lyxfunc.C:
2327         * text3.C: merge BufferView::repaint() and BufferView::update()
2328
2329 2003-08-01  José Matos  <jamatos@lyx.org>
2330
2331         * buffer.[Ch]: file_format is no longer a buffer data element.
2332
2333 2003-08-01  André Pönitz  <poenitz@gmx.net>
2334
2335         * BufferView.C:
2336         * lyxtext.h:
2337         * text.C:
2338         * text2.C: make redoParagraph more independent of current cursor
2339
2340         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2341         * text.C:
2342         * text2.C: remove unneeded members
2343
2344 2003-07-30  André Pönitz  <poenitz@gmx.net>
2345
2346         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2347
2348         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2349           create a single function...
2350
2351         * paragraph_funcs.C (moveItem): ... here.
2352
2353         * text.C:
2354           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2355
2356 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2357
2358         * LColor.[Ch]: Add comment and greyedout logical colors.
2359
2360 2003-07-30  André Pönitz  <poenitz@gmx.net>
2361
2362         * tabular.C: don't use Assert too heavily. This crashes where it
2363           shouldn't
2364
2365 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2366
2367         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2368         is disabled (bug 1232)
2369
2370 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2371
2372         * factory.C: limited 'arg' scope
2373
2374 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2375
2376         * factory.C: fixed Note submenu issues
2377
2378 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2379
2380         * factory.C: submenu for Note/Comment/Greyedout
2381
2382 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2383
2384         * lyx_main.C (LyX):
2385         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2386
2387 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * LaTeXFeatures.C:
2390         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2391         greyedout. Patch provided by Jürgen Spitzmüller.
2392
2393 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2394
2395         * kbmap.C (read): fix error message when reading bind files
2396
2397 2003-07-29  Angus Leeming  <leeming@lyx.org>
2398
2399         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2400         certainly does not do what it purports to do. I am doing it, and
2401         us, a favour by killing it.
2402
2403 2003-07-28  José Matos  <jamatos@lyx.org>
2404
2405         * buffer.C (readBody, do_writeFile):
2406         * paragraph.C(readParagraph): \end_document replaces \the_end.
2407
2408 2003-07-29  André Pönitz  <poenitz@gmx.net>
2409
2410         * BufferView.[Ch]:
2411         * BufferView_pimpl.[Ch]:
2412         * lyxfunc.C:
2413         * text2.C:
2414         * text3.C:
2415         * textcursor.[Ch]: remove toggleToggle & Co
2416
2417 2003-07-28  José Matos  <jamatos@fep.up.pt>
2418
2419         * buffer.C (readParagraph):
2420         * params_func (readParToken, readParagraph):
2421         * paragraph.C (write): \layout -> \begin_layout.
2422
2423 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * lyxlex_pimpl.C (setFile): clean up slightly.
2426
2427         * bufferparams.h: add compressed var
2428
2429         * buffer_funcs.C (readFile): adjust for LyXLex change
2430         (newFile): ditto + simplify
2431
2432         * buffer.C (writeFile): handle writing of compressed files
2433
2434         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2435         Check if the file is compressed and set a bufferparm if so.
2436
2437         * Makefile.am (lyx_LDADD): remove explicit -lz
2438
2439 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2442         makeDocBookFile): put the real LyX version in the first line of
2443         the file
2444
2445         * version.h:
2446         * version.C.in: remove lyx_docversion
2447
2448         * tabular.C (write_attribute): add a template-based version to
2449         write enums properly
2450
2451 2003-07-28  André Pönitz  <poenitz@gmx.net>
2452
2453         * lyxtext.h:
2454         * text.C:
2455         * text2.C:
2456         * text3.C: use doubles again for x-coordinates. They are needed.
2457
2458 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * messages.C (getLocaleDir): use lyx_localedir()
2461
2462         * lyxlex_pimpl.C (setFile): compress stuff
2463
2464         * buffer.C (writeFile): add some compression stuff
2465         (do_writeFile): new func, dont call expliti close... will this
2466         breake anything?
2467
2468         * Makefile.am (lyx_LDADD): add -lz
2469
2470 2003-07-28  José Matos  <jamatos@fep.up.pt>
2471
2472         * buffer.C: increment file format.
2473         * paragraph_funcs (readParagraph, readParToken):
2474         * paragraph.C (readParagraph): add \end_layout.
2475
2476 2003-07-27  Angus Leeming  <leeming@lyx.org>
2477
2478         * Makefile.am: remove special casing for configure-time setting of
2479         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2480
2481         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2482         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2483
2484 2003-07-26  André Pönitz  <poenitz@gmx.net>
2485
2486         * paragraph_func.[Ch]:
2487         * paragraph.C (realizeFont): inline it whereever it is used
2488
2489         * rowpainter.C:
2490         * text.C:
2491         * text2.C:
2492         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2493
2494
2495 2003-07-26  André Pönitz  <poenitz@gmx.net>
2496
2497         *       lyxtext.h:
2498         * text.C:
2499         * text2.C: get rid of LyXText::need_break_row
2500
2501 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * toc.[Ch]: put namespace toc inside namespace lyx
2504
2505         * MenuBackend.C (expandToc2): adjust for lyx::toc
2506         (expandToc): ditto
2507
2508         * lyxfunc.C (dispatch): adjust for lyx::find
2509
2510         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2511         lyx::find instead. Reorganize a bit.
2512         (LyXReplace): rename to replace
2513         (LyXFind): rename to find
2514
2515         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2516         (dispatch): ditto
2517
2518 2003-07-26  André Pönitz  <poenitz@gmx.net>
2519
2520         * text.C (setHeightOfRow): restrict scope of temporary variable
2521
2522         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2523           code (never has been used?)
2524
2525 2003-07-27  Asger Alstrup  <alstrup@local>
2526
2527         * text.C (fill): Optimise algorithm to exploit that we can reuse
2528         the LyXFont for many characters.
2529         (setHeightOfRow): Same thing.
2530         (rowBreakPoint): Same thing.
2531
2532 2003-07-26  Asger Alstrup  <alstrup@local>
2533
2534         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2535
2536         * text.C (singleWidth): Spurious font copying in hot-spot
2537         singleWidth avoided. Reorder tests for arabic for efficiency.
2538
2539         * text.C (fill): handle empty paragraphs better.
2540
2541 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2542
2543         * ispell.C:
2544         * encoding.h: add includes
2545
2546         * lyxrc.C: remove reading of bind files
2547
2548         * lyx_main.C (init): setup bindings and menus only if we have a
2549         gui.
2550
2551         * kbmap.C (read): new method. Do the actual reading of bind
2552         files.
2553
2554         * converter.C (dvipdfm_options):
2555         * bufferparams.C:
2556         * lyxrc.C (read):
2557         (output): adapt PAPER_* enums.
2558
2559         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2560
2561         * bufferparams.h: remove paper-related enums from there
2562
2563         * paper.h: New file. A trivial header file to hold paper-related
2564         enums. It should later expand to contain many paper-related
2565         horrors access.
2566
2567         * lyxrc.C: declare extern displayTranslator
2568
2569 2003-07-27  José Matos  <jamatos@fep.up.pt>
2570
2571         * tabular.[Ch] (linuxdoc): add support for tables and figures
2572         (linuxdoc).
2573
2574 2003-07-27  José Matos  <jamatos@fep.up.pt>
2575
2576         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2577         consistency in both functions.
2578         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2579
2580 2003-07-26  Asger Alstrup  <alstrup@local>
2581
2582         * rowpainter.C (paintRows): Change algorithm to work directly on
2583         the insets rather than asking every character in the document
2584         whether its an inset.
2585
2586 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2587
2588         * buffer.C (openFileWrite): factorize some code
2589
2590 2003-07-26  Angus Leeming  <leeming@lyx.org>
2591
2592         * lyx_cb.C:
2593         * lyx_main.[Ch]: replace occurances of system_tempdir with
2594         os::getTmpDir().
2595
2596 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * rename Inset to InsetOld
2599
2600 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2601
2602         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2603         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2604         which I think is a bit clearer. EDIT is gone, since it was
2605         premature optimisation, and broken for mathed anyway.
2606         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2607         with cursor positioning in insets as well (math insets still do not
2608         work, but that's a different story anyway.) It mysteriously
2609         crashes sometimes with undo in the first paragraph, but I'm fairly
2610         confident that this is a compiler bug.
2611
2612 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * paragraph.C (Paragraph): adjust for new clone return type
2615         (operator==): ditto
2616         (copyIntoMinibuffer): ditto
2617
2618 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2619
2620         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2621         by not having a special case, and always doing a full rebreak of
2622         the document after undo.
2623
2624 2003-07-23  Angus Leeming  <leeming@lyx.org>
2625
2626         * factory.C (createInset): InsetExternal::setParams now takes a
2627         Buffer const * arg.
2628
2629 2003-07-23  Angus Leeming  <leeming@lyx.org>
2630
2631         * factory.C (createInset): changed interface to the external and
2632         graphics mailers' string2params functions.
2633
2634 2003-07-23  Angus Leeming  <leeming@lyx.org>
2635
2636         * factory.C (createInset): pass a
2637         Buffer const * parameter to InsetExternalMailer's string2params.
2638
2639 2003-07-22  John Levon  <levon@movementarian.org>
2640
2641         * Thesaurus.h: include the right aiksaurus header
2642
2643 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2644
2645         * MenuBackend.C (expand): check menu shortcuts unconditionally
2646
2647 2003-07-21  Angus Leeming  <leeming@lyx.org>
2648
2649         * factory.C (createInset): pass a
2650         buffer_path parameter to InsetGraphicsMailer's string2params.
2651
2652 2003-07-21  Angus Leeming  <leeming@lyx.org>
2653
2654         * BufferView_pimpl.C (buffer):
2655         * buffer.C (d-tor):
2656         * lyx_main.C (LyX):
2657         * lyxfunc.C (dispatch):
2658         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2659         rather than the grfx shortcut.
2660
2661 2003-07-21  André Pönitz  <poenitz@gmx.net>
2662
2663         * rowpainter.C: remove unused variables
2664
2665         * tabular_funcs.C:
2666         * tabular_funcs.h: move to tabular.C
2667         * Makefile.am: adjust
2668
2669         * tabular.[Ch]: basic optical cleaning
2670
2671         * author.h: pass references, not values
2672
2673 2003-07-18  André Pönitz  <poenitz@gmx.net>
2674
2675         * lyxtext.h:
2676         * metricsinfo.C:
2677         * metricsinfo.h:
2678         * rowpainter.C:
2679         * text.C:
2680         * text2.C:
2681         * text3.C: two-phase drawing for InsetText and InsetTabular
2682         some float -> int changes.
2683
2684 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * lyx_main.C: fix the fix
2687
2688 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2689
2690         * lyx_main.C: fix a crash in batch mode if no files specified
2691         * converter.C: ws
2692
2693 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2694
2695         * format.[Ch] (papersize): moved to BufferParams
2696         * converter.[Ch] (dvips_options): moved to BufferParams
2697         (dvipdfm_options): moved to anon namespace
2698         * bufferparams.[Ch]: added above functions.
2699
2700 2003-07-17  André Pönitz  <poenitz@gmx.net>
2701
2702         * lyxtext.h:
2703         * rowpainter.C:
2704         * text2.C: don't call inset->update() anymore
2705
2706         * metricsinfo.[Ch]: add convenience constructor
2707
2708 2003-07-16  André Pönitz  <poenitz@gmx.net>
2709
2710         * lyxcursor.[Ch]:
2711         * lyxfunc.[Ch]:
2712         * text.C:
2713         * text2.C: replace the LyXCursor::irow_ member with
2714          on-demand computation of the value
2715
2716 2003-07-16  John Levon  <levon@movementarian.org>
2717
2718         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2719
2720 2003-07-15  André Pönitz  <poenitz@gmx.net>
2721
2722         * text.C:
2723         * text2.C: remove no more needed refresh_row
2724
2725 2003-07-15  André Pönitz  <poenitz@gmx.net>
2726
2727         * lyxtext.h:
2728         * rowpainter.C:
2729         * text2.C:
2730         * text3.C: refresh_status tristate -> need_update bool
2731
2732 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * lyxtext.h (init): remove reinit argument (act as if always true)
2735         * text2.C: adjust to that
2736
2737 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2738
2739         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2740         * text3.C: use it to delete selections in some cases
2741         (bugs 441, 673, 702, 954).
2742
2743 2003-07-14  André Pönitz  <poenitz@gmx.net>
2744
2745         * rowpainter.[Ch]: reduce interface
2746
2747 2003-07-14  André Pönitz  <poenitz@gmx.net>
2748
2749         * BufferView_pimpl.C:
2750         * text2.C: adjust after removing unused BufferView * argument
2751
2752 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * text2.C (init): fix a crash fired on resize
2755
2756 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2757
2758         * buffer.[Ch]: added new closing signal
2759         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2760         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2761         BufferView::Pimpl via the closing the signal
2762
2763 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2764
2765         * buffer.[Ch]: take out all bv-related from buffer
2766         * BufferView.C:
2767         * BufferView_pimpl.[Ch]: connect to new signals
2768         * CutAndPaste.C: removed useless asserts
2769         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2770         * lyxvc.[Ch]:
2771         * vc-backend.[Ch]:
2772         * lyxfunc.C: moved view-related funciontality from vc here
2773         * paragraph.C: removed outdated comments
2774         * text.C: ws
2775
2776 2003-07-10  André Pönitz  <poenitz@gmx.net>
2777
2778         * BufferView_pimpl.C:
2779         * tabular.h:
2780         * tabular_funcs.C:
2781         * text.C:
2782         * text2.C: remove InsetText::InnerCache, clean up consequences
2783
2784 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2785
2786         * ispell.C: fix two typos in error messages
2787
2788 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2789
2790         * Extend Note inset to other forms of annotation like Comment
2791         and Greyedout. Right button click gives dialog.
2792
2793         Files modified or added (+):
2794
2795         * insetnote.[Ch]
2796         * FormNote.[Ch]      +
2797         * ControlNote.[Ch]   +
2798         * form_note.fd       +
2799         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2800         frontends/controllers
2801         * xforms/Dialogs.C
2802         * factory.C
2803
2804 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2805
2806         * aspell.C: add missing namespace lyx::support
2807
2808 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * BufferView.[Ch] (newFile): Add
2811         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2812         * LaTeX.[Ch] (message): added this signal and use it
2813         * buffer.[Ch] (busy, message): added these signals and use them
2814         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2815         * converter.C:
2816         * exporter.C:
2817         * format.C:
2818         * importer.C: use buffer signals instead of direct bv calling
2819         * lyx_cb.[Ch] (ShowMessage): removed
2820         * lyx_main.C:
2821         * lyxfunc.C:
2822         * paragraph_funcs.C:
2823         * text2.C: use buffer signals
2824
2825 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * introduce namespace lyx::graphics
2828
2829 2003-07-02  André Pönitz  <poenitz@gmx.net>
2830
2831         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2832
2833 2003-07-01  André Pönitz  <poenitz@gmx.net>
2834
2835         * text.C:
2836         * text2.C:
2837         * text3.C:
2838         * text_funcs.[Ch]:
2839         * textcursor.h:
2840         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2841           text*.C to text_func.C
2842
2843 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * introduce namespace lyx::support
2846
2847 2003-06-30  André Pönitz  <poenitz@gmx.net>
2848
2849         * Chktex.C:
2850         * funcrequest.C:
2851         * lyxtext.h:
2852         * text.C: re-enable --with-included-string
2853
2854 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * textcursor.C: add <config.h>
2857
2858         * text.C (getWord): remove const from word_location arg
2859
2860         * lyxvc.C (getLogFile): fix const type order
2861
2862         * lyxtext.h: remove const from word_location arg, add arg name
2863
2864         * lyxlayout.h: currect type on labeltype.
2865
2866         * importer.C: correct \file
2867
2868         * converter.C (intToFormat): use std:: on ret val, ws changes
2869
2870         * bufferlist.h: correct \file
2871
2872         * buffer.C (makeLinuxDocFile): fix const type order
2873         (makeDocBookFile): ditto
2874         (fillWithBibKeys): use std:: on stdlib args.
2875
2876         * CutAndPaste.C: fix authors.
2877         (availableSelections): use std:: on return vector
2878
2879 2003-06-27  André Pönitz  <poenitz@gmx.net>
2880
2881         * BufferView_pimpl.C:
2882         * bufferview_funcs.C:
2883         * lyxcursor.C:
2884         * lyxcursor.h:
2885         * lyxfunc.C:
2886         * lyxtext.h:
2887         * rowpainter.C:
2888         * text.C:
2889         * text2.C:
2890         * text3.C: remove LyXCursor::row_ member
2891
2892         * lyxtext.h:
2893         * text.C: rename fullRebreak() to partialRebreak() and implement
2894           a fullRebreak() that really bereks fully
2895
2896         * textcursor.h: new struct for cursor-related data
2897
2898 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2899
2900         * lyx_main.C (LyX): get full path of document loaded on the
2901         command line
2902
2903 2003-06-26  André Pönitz  <poenitz@gmx.net>
2904
2905         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2906           remove unused/broken operator>,<,>=.
2907
2908         *       text.C: remove only use of broken operator<= in an Assert().
2909
2910 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2913         moved errorlist_.clear to showErrorList
2914
2915 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * converter.C (scanLog, runLaTeX):
2918         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2919         move the bv->showErrorList call to the callers
2920         * lyxfunc.C: i.e. here...
2921         * text2.C: and here
2922         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2923         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2924         namespace, the second to...
2925         * buffer_funcs (BufferFormat, parseErrors): added
2926         * errorlist.C (ErrorList(TeXErrors const &)): removed
2927
2928 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2929
2930         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2931
2932 2003-06-24  "Garst R. Reese" <reese@isn.net>
2933
2934         * debug.C: fix typo
2935
2936 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2937
2938         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2939
2940         * version.C.in: change docversion to 1.4
2941
2942 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * buffer.C: fix a bug just introduced
2945
2946 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * buffer.[Ch]: added the parseError signal and use it, removed
2949         sgmlError
2950         * BufferView.[Ch] (addError): moved to ...
2951         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2952         to the Buffer::parseError signal to catch (guess what) parse errors
2953         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2954
2955 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2958         ability to create a buffer and to return an existing one from
2959         the list. Moved these functions to...
2960         * buffer_funcs.[Ch]: added
2961         * BufferView.[Ch] (loadLyXFile): added
2962         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2963         job removed from bufferlist::loadLyXFile.
2964         * buffer.C (setReadOnly): make it work without view
2965         (i.e added an if (users))
2966
2967 2003-06-19  Angus Leeming  <leeming@lyx.org>
2968
2969         * lfuns.h:
2970         * LyXAction.C (init):
2971         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2972         with LFUN_DIALOG_SHOW <name> <data>.
2973
2974 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2975
2976         * CutAndPaste.C (availableSelections): small compilation fix for
2977         ancient (gcc 2.9x) compilers
2978
2979 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2980
2981         * text3.C (cursorNext): add tmp var
2982
2983         * text2.C (updateCounters): for function calling out of for clause
2984         (replaceSelectionWithString): ditto
2985         (insertStringAsParagraphs): ditto
2986         (getColumnNearX): add tmp var
2987         (setCursorFromCoordinates): add tmp var
2988         (cursorDownParagraph): add tmp var
2989         (deleteEmptyParagraphMechanism): add tmp var
2990
2991         * text.C (insertChar): add tmp var
2992
2993         * rowpainter.C (paintDepthBar): add tmp var
2994
2995         * CutAndPaste.C (availableSelections): potentially check all
2996         paragraphs in a cut to fill the shown strings.
2997
2998 2003-06-18  André Pönitz  <poenitz@gmx.net>
2999
3000         * kbmap.[Ch]: use vector<> instead of list<>
3001
3002 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3003
3004         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3005         pasteSelection with index
3006
3007         * text2.C (pasteSelection): modify, call pasteSelection with index
3008
3009         * paragraph.C (asString): reimplement version with no interval to
3010         call the one with interval.
3011
3012         * lyxtext.h: add index arg to pasteSelection
3013
3014         * MenuBackend.C (MenuItem): handle PasteRecent
3015         (Menu::read::Menutags): add md_pasterecent
3016         (read): handle it
3017         (expandPasteRecent): new function
3018         (expand): use it
3019
3020         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3021
3022         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3023         the limited stack
3024         (availableSelections): new function
3025
3026 2003-06-17  Angus Leeming  <leeming@lyx.org>
3027
3028         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3029
3030 2003-06-17  Angus Leeming  <leeming@lyx.org>
3031
3032         * lfuns.h:
3033         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3034
3035         * lyxfunc.C (dispatch): invoke it.
3036
3037 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3038
3039         * iterators.C (operator++, ParPosition): reintroduce some
3040         const_cast for the benefit of older compilers.
3041
3042 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3043
3044         * text3.C (dispatch): do not modify clipboard when doing
3045         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3046         LFUN_DELETE_SKIP on a selection selection
3047
3048 2003-06-16  André Pönitz  <poenitz@gmx.net>
3049
3050         * BufferView.C:
3051         * buffer.C:
3052         * buffer.h:
3053         * paragraph.C:
3054         * tabular.[Ch]: IU of clone() and getLabelList();
3055
3056 2003-06-13  André Pönitz  <poenitz@gmx.net>
3057
3058         * tabular.h: compactification
3059
3060 2003-06-12  André Pönitz  <poenitz@gmx.net>
3061
3062         * tabular.C:
3063         * tabular.h:
3064         * tabular_funcs.h: some renaming plus whitespace
3065
3066 2003-06-12  André Pönitz  <poenitz@gmx.net>
3067
3068         * BufferView.C:
3069         * BufferView_pimpl.C:
3070         * CutAndPaste.C:
3071         * buffer.C:
3072         * iterators.[Ch]:
3073         * lyxfunc.C:
3074         * text.C:
3075         * toc.C: Return a Paragraph & for ParIterator::operator*()
3076
3077 2003-06-11  John Levon  <levon@movementarian.org>
3078
3079         * lyx_main.C:
3080         * ToolbarBackend.h:
3081         * ToolbarBackend.C: add "Toolbars" section and
3082         put the flags there
3083
3084 2003-06-10  Angus Leeming  <leeming@lyx.org>
3085
3086         * lfuns.h:
3087         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3088
3089         * lyxfunc.C (dispatch): invoke it.
3090
3091 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * main.C: protect <ios> with HAVE_IOS
3094         (main): protect sync_with_stdio with HAVE_IOS
3095
3096 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3097
3098         * text2.C (cutSelection): adjust
3099         (pasteSelection): adjust
3100
3101         * messages.C: handle get of empty string
3102
3103         * main.C (main): use sync_with_stdio(false)
3104
3105         * lyxfunc.C (dispatch): adjust
3106
3107         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3108         (WriteAs): remove unneeded BufferView arg.
3109
3110         * bufferparams.h: use correct types on papersize, papersize2 and
3111         paperpackage.
3112
3113         * bufferparams.C (readToken): adjust for type
3114         (writeLaTeX): add missing cases to switch.
3115
3116         * bufferlist.C (quitWriteBuffer): adjust
3117         (close): adjust
3118
3119         * buffer.C (asciiParagraph): remove some commented code.
3120
3121         * CutAndPaste.C: remove current_view extern variable.
3122         (cutSelection): add BufferParams arg.
3123         (eraseSelection): add BufferParams arg.
3124         (pasteSelection): add Buffer const & arg
3125
3126 2003-06-07  John Levon  <levon@movementarian.org>
3127
3128         * buffer.C:
3129         * paragraph_funcs.C:
3130         * paragraph_pimpl.C:
3131         * text.C:
3132         * text2.C:
3133         * paragraph.h:
3134         * paragraph.C: allow InsetERT to freely space lines,
3135         and some consolidation of code
3136
3137 2003-06-06  José Matos  <jamatos@fep.up.pt>
3138
3139         * buffer.C (makeDocBookFile): fix bug #821
3140
3141 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3144
3145 2003-06-04  Angus Leeming  <leeming@lyx.org>
3146
3147         * buffer.C: bump format to 224.
3148
3149 2003-06-05  André Pönitz  <poenitz@gmx.net>
3150
3151         * text2.C (redoParagraphs): remove two const_cast<>
3152
3153 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3154
3155         * ParagraphList.h: remove last remnants of NO_STD_LIST
3156
3157 2003-06-03  Angus Leeming  <leeming@lyx.org>
3158
3159         * factory.C (createInset): small change to the way InsetExternal's params
3160         are set.
3161
3162 2003-06-04  André Pönitz  <poenitz@gmx.net>
3163
3164         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3165
3166         * paragraph_pimpl.h:
3167         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3168
3169         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3170
3171         * undo_funcs.C: make some simple cases of undo work again
3172
3173 2003-06-03  John Levon  <levon@movementarian.org>
3174
3175         * ispell.C: HPUX doesn't have sys/select.h
3176         (from Albert Chin)
3177
3178 2003-06-03  John Levon  <levon@movementarian.org>
3179
3180         * CutAndPaste.C: update tabular and include inset
3181         buffer references
3182
3183         * buffer.h:
3184         * paragraph.h:
3185         * paragraph.C: remove owningBuffer(), don't pass Buffer
3186         to clone()
3187
3188         * factory.C: insetGraphicsParams changed
3189
3190 2003-06-02  John Levon  <levon@movementarian.org>
3191
3192         * LyXAction.C:
3193         * factory.C:
3194         * lfuns.h:
3195         * lyxfunc.C:
3196         * text3.C: remove insetparent
3197
3198 2003-06-02  John Levon  <levon@movementarian.org>
3199
3200         * buffer.h:
3201         * buffer.C: fix inset_iterator.end(), move out of line
3202         (bug 1149)
3203
3204 2003-06-01  John Levon  <levon@movementarian.org>
3205
3206         * text3.C: use a proper cut/paste when doing inset
3207         insert (from Jürgen Spitzmüller)
3208
3209 2003-06-01  John Levon  <levon@movementarian.org>
3210
3211         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3212
3213 2003-05-30  André Pönitz  <poenitz@gmx.net>
3214
3215         * rowpainter.C: unify second drawing phase
3216
3217 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * trans_mgr.C: remove one case of current_view
3220
3221         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3222
3223         * paragraph_funcs.h: remove paragraph.h include
3224
3225         * paragraph.h: delete NO_STD_LIST stuff
3226
3227         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3228
3229         * buffer.h: remove paragraph.h include
3230
3231         * ParagraphList.C: delete file
3232
3233         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3234
3235         * toc.C (getTocList): adjust
3236
3237         * paragraph_pimpl.C (validate): adjust
3238
3239         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3240
3241         * paragraph.C (Paragraph): adjust
3242         (getPositionOfInset): use const_iterator, adjust
3243         (bibitem): use const_iterator, adjust
3244         (setInsetOwner): adjust
3245
3246         * iterators.C (operator++): adjust
3247
3248         * InsetList.[Ch]: Replace selfmade iterator with standard
3249         vector::iterator also introduce const_iterator. Remove getPos,
3250         getInset and setInset from InsetTable. Adjust accordingly.
3251
3252         * BufferView.C (lockInset): adjust
3253         (ChangeInsets): adjust
3254
3255         * tabular.[Ch]: delete commented same_id functions
3256
3257 2003-05-28  John Levon  <levon@movementarian.org>
3258
3259         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3260
3261 2003-05-28  André Pönitz  <poenitz@gmx.net>
3262
3263         * metricsinfo.[Ch]: remove 'fullredraw' member
3264
3265 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3266
3267         * lyxtextclass.C (operator): remove caching.
3268
3269 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3270
3271         * text3.C: adjust
3272
3273         * text2.C (cursorBottom): adjust
3274         (setCounter): use ParagraphList::find, adjust
3275
3276         * text.C (workWidth): use ParagraphList::find, adjust
3277
3278         * lyxcursor.C (LyXCursor): adjust
3279
3280         * buffer.C (inset_iterator): adjust
3281
3282         * ParagraphList.h: make iterator(value_type) private, make
3283         ParagraphList a friend of iterator.
3284
3285         * ParagraphList.C (find): new function
3286
3287         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3288
3289 2003-05-27  André Pönitz  <poenitz@gmx.net>
3290
3291         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3292
3293 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3296
3297 2003-05-26  John Levon  <levon@movementarian.org>
3298
3299         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3300
3301 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3302
3303         * remove same_id from function signatures, adjust.
3304
3305 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3308
3309         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3310
3311         * paragraph.C (Paragraph): get rid of same_ids parameter
3312
3313         * ParagraphList.C (insert): adjust
3314         (push_back): adjust
3315
3316 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * paragraph_funcs.C (breakParagraph): adjust
3319         (breakParagraphConservative): adjust
3320
3321         * buffer.C (readParagraph): adjust
3322
3323         * ParagraphList.C (insert): take a reference instead of a pointer
3324         (insert): adjust
3325
3326         * paragraph.[Ch] (id): new function
3327
3328         * bufferlist.C (newFile): adjust
3329
3330         * ParagraphList.C (ParagraphList): adjust
3331         (assign): adjust
3332         (push_back): take a reference instead of a pointer.
3333
3334         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3335
3336         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3337         instead.
3338
3339         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3340         set else use old code.
3341
3342         * ParagraphList.C: remove all NO_NEXT code and only compile this
3343         code of NO_STD_LIST is set.
3344
3345 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3346
3347         * BufferView_pimpl.C:
3348         * TextCache.C:
3349         * TextCache.h:
3350         * bufferlist.C:
3351         * errorlist.h:
3352         * format.C:
3353         * format.h:
3354         * graph.C:
3355         * lyxfunc.C:
3356         * lyxrc.C:
3357         * graphics/GraphicsConverter.C:
3358         * graphics/PreviewLoader.C: header adjustment
3359
3360 2003-05-23  Angus Leeming  <leeming@lyx.org>
3361
3362         * LaTeXFeatures.[Ch] (useBabel): new method.
3363         * bufferparams.C (writeLaTeX): use it.
3364
3365 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * ParagraphList.h (set): remove unused function.
3368
3369 2003-05-23  André Pönitz  <poenitz@gmx.net>
3370
3371         * BufferView.C:
3372         * BufferView_pimpl.C:
3373         * buffer.C:
3374         * buffer.h:
3375         * lyxfunc.C:
3376         * undo_funcs.C: setUndo reworked
3377
3378         * iterators.[Ch]: add access to topmost ParagraphList
3379
3380         * lyxtext.[Ch] (workWidth): add a const
3381
3382 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * texrow.[Ch] (increasePos): remove function
3385         * exporter.C (export): removed unused var and outdated comment
3386
3387 2003-05-23  Angus Leeming  <leeming@lyx.org>
3388
3389         * latexrunparams.h: rename fragile as moving_arg.
3390         * paragraph.C (simpleTeXOnePar): ditto.
3391         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3392
3393 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3396         (createUndo): ditto
3397         (textUndoOrRedo): comment out a currently unused var.
3398
3399         * paragraph.h (NO_NEXT): enable NO_NEXT
3400
3401         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3402
3403         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3404
3405         * exporter.C (Export): adjust for removeAutoInsets removal.
3406
3407         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3408
3409         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3410
3411         * BufferView.[Ch] (removeAutoInsets): delete function
3412
3413 2003-05-22  Angus Leeming  <leeming@lyx.org>
3414
3415         * latexrunparams.h: add a free_spacing variable.
3416
3417         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3418         to pass moving_arg, as the data is stored in runparams.fragile.
3419
3420         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3421         to Inset::latexOptional or to simpleTeXOnePar.
3422
3423         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3424         free_spacing arg to Inset::latexOptional.
3425
3426         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3427         free_spacing arg.
3428
3429 2003-05-22  Angus Leeming  <leeming@lyx.org>
3430
3431         * latexrunparams.h: add fragile and use_babel variables.
3432
3433         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3434         * buffer.C (makeLaTeXFile): store this returned value in
3435         runparams.use_babel, thus passing it to the inset::latex methods.
3436
3437         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3438         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3439
3440         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3441         longer has a fragile arg, as it is stored in runparams.fragile.
3442
3443         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3444         moving_arg parameter as the data is stored in runparams.fragile.
3445
3446         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3447         a fragile parameter as the data is stored in runparams.fragile.
3448
3449 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3452
3453 2003-05-22  Angus Leeming  <leeming@lyx.org>
3454
3455         * latexrunparams.h: add a 'bool nice' which defaults to false.
3456
3457         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3458         now encapsulated within runparams.
3459
3460         * bufferlist.C (updateIncludedTeXfiles):
3461         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3462
3463 2003-05-22  Angus Leeming  <leeming@lyx.org>
3464
3465         * latexrunparams.h: new file containing struct LatexRunParams.
3466         * Makefile.am: add new file.
3467
3468         * LaTeX.[Ch] (c-tor, run):
3469         * buffer.[Ch] (makeLaTeXFile):
3470         * bufferlist.[Ch] (updateIncludedTeXfiles):
3471         * converter.C (convert, scanLog):
3472         * converter.[Ch] (runLaTeX):
3473         * exporter.C (Export):
3474         * paragraph.[Ch] (simpleTeXOnePar):
3475         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3476         * paragraph_funcs.[Ch] (latexParagraphs):
3477         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3478         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3479         pass around a LatexRunParams parameter.
3480
3481 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * paragraph.[Ch]: remove unused constructor
3484
3485         * ParagraphList.C (erase): new function, taking two iterators
3486
3487 2003-05-22  André Pönitz  <poenitz@gmx.net>
3488
3489         * undo_funcs.C: remove duplicated code
3490
3491         * iterator.[Ch]: operator=
3492
3493 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3494
3495         * tabular.C (SetMultiColumn): ws changes
3496
3497         * rowpainter.C (paintFirst): get rid of a ->previous
3498
3499         * lyx_cb.C (getPossibleLabel): parlist simplification
3500
3501         * BufferView.C (ChangeInsets): simplify slightly.
3502
3503 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3504
3505         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3506         * lfuns.h: new LFUN_SPACE
3507         * lyxfunc.C: protected space has a new lfun
3508         * paragraph_funcs.C: read new space insets
3509         * text3.C:
3510         * factory.C: handle new space insets
3511
3512 2003-05-22  André Pönitz  <poenitz@gmx.net>
3513
3514         * BufferView.C:
3515         * BufferView_pimpl.C:
3516         * buffer.[Ch]:
3517         * lyxfunc.C:
3518         * undo_funcs.C: return a ParIterator from getParFromID.
3519
3520         * iterators.[Ch]: add two const's
3521
3522 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * toc.C (getTocList): adjust
3525
3526         * iterators.[Ch]: rework for parlist
3527
3528         * buffer.C (par_iterator_begin): adjust
3529         (par_iterator_end): adjust
3530
3531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3532
3533         * BufferView.C (removeAutoInsets): adjust
3534         (ChangeInsets): adjust
3535
3536 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3537
3538         * text.C (top_y): fix bug 1110
3539
3540 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3541
3542         * errorlist.[Ch]: added
3543         * buffer.C:
3544         * BufferView.[Ch]:
3545         * BufferView_pimpl.C:
3546         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3547         instead
3548
3549 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * Makefile.am: ensure that lyx is relinked upon changes to the
3552         various "convenience" libs.
3553
3554 2003-05-20  Angus Leeming  <leeming@lyx.org>
3555
3556         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3557         files are compiled in alphabetical order again.
3558
3559         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3560
3561 2003-05-19  Angus Leeming  <leeming@lyx.org>
3562
3563         * gettext.[Ch]: remove "char const * _(char const *)".
3564
3565 2003-05-19  André Pönitz  <poenitz@gmx.net>
3566
3567         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3568
3569         * Makefile.am:
3570         * BufferView.C:
3571         * DepTable.h:
3572         * LaTeXFeatures.C:
3573         * buffer.C:
3574         * lyxfont.C:
3575         * lyxlex.h:
3576         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3577
3578 2003-05-19  André Pönitz  <poenitz@gmx.net>
3579
3580         * buffer.C:
3581         * lyxlayout.[Ch]:
3582         * lyxtextclass.[Ch]:
3583         * paragraph.C:
3584         * paragraph_funcs.[Ch]:
3585         * text2.C:
3586         * text3.C: more insetenv work
3587
3588 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * ParagraphParameters.C (params2string): small bug fixed
3591
3592 2003-05-16  André Pönitz  <poenitz@gmx.net>
3593
3594         * debug.C:
3595         * bufferview_funcs.C: patch from Kornel Benko to prevent
3596           crash when _(...) is called twice in a statement
3597
3598 2003-05-16  André Pönitz  <poenitz@gmx.net>
3599
3600         * BufferView.C:
3601         * lyxfunc.C:
3602         * text.C:
3603         * text2.C:
3604         * text3.C:
3605         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3606
3607 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * lyx_main.C (init): remove spurious static_cast
3610
3611 2003-05-14  André Pönitz  <poenitz@gmx.net>
3612
3613         * BufferView.C: fix format string
3614
3615 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3616
3617         * BufferView.[Ch] (insertErrors): removed
3618         * BufferView.[Ch] (showErrorList): added
3619         * buffer.C (runChkTeX):
3620         * converter.C (scanLog): call showErrorList instead of inserterrors
3621
3622 2003-05-13  André Pönitz  <poenitz@gmx.net>
3623
3624         * BufferView_pimpl.C:
3625         * buffer.C:
3626         * bufferview_func.C:
3627         * MenuBackend.C:
3628         * lyxfunc.C:
3629         * lyxrc.C:
3630         * tex-accent.C:
3631         * text3.C:
3632         * toc.C:
3633         * tabular_funcs.h: tostr() from its own header
3634
3635         * ParagraphParameters.C:
3636         * ToolbarBackend.C:
3637         * bufferparams.C:
3638         * format.C:
3639         * lyxlex_pimpl.C:
3640         * text3.C: STRCONV()
3641
3642 2003-05-12  André Pönitz  <poenitz@gmx.net>
3643
3644         * BufferView.C:
3645         * BufferView_pimpl.C:
3646         * CutAndPaste.C:
3647         * LaTeX.C:
3648         * LaTeXFeatures.C:
3649         * ParagraphParameters.C:
3650         * buffer.C:
3651         * bufferlist.C:
3652         * bufferparams.C:
3653         * bufferview_funcs.C:
3654         * converter.C:
3655         * counters.C:
3656         * debug.C:
3657         * exporter.C:
3658         * format.C:
3659         * importer.C:
3660         * lyx_cb.C:
3661         * lyx_main.C:
3662         * lyxfont.C:
3663         * lyxfunc.C:
3664         * lyxvc.C:
3665         * paragraph.C:
3666         * paragraph_funcs.C:
3667         * tabular.C:
3668         * tabular_funcs.C:
3669         * text2.C:
3670         * text3.C:  boost::format -> bformat  all over the place
3671
3672
3673 2003-05-09  André Pönitz  <poenitz@gmx.net>
3674
3675         * LColor.[Ch]: Pimpl the #include <map> away
3676
3677 2003-05-09  John Levon  <levon@movementarian.org>
3678
3679         * bufferlist.C: never remove emergency saves
3680
3681 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * Makefile.am: better lib building
3684
3685 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3688         instead.
3689         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3690         (simpleTeXSpecialChars): adjust
3691         (simpleTeXSpecialChars): adjust
3692         * paragraph.C (simpleTeXOnePar): adjust
3693         * buffer.C (makeLaTeXFile): adjust
3694
3695         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3696
3697         * text2.C (changeDepth): parlist cleanup
3698         (getColumnNearX): ditto
3699
3700         * rowpainter.C (getLabelFont): parlist cleanup
3701
3702         * bufferlist.C (newFile): parlist cleanup
3703
3704         * CutAndPaste.C (eraseSelection): parlist cleanup
3705
3706         * BufferView_pimpl.C (trackChanges): parlist cleanup
3707         (dispatch): ditto
3708
3709         * BufferView.C (lockInset): parlist cleanup.
3710         (ChangeInsets): ditto
3711
3712 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * CutAndPaste.h: Update file header.
3715
3716         * CutAndPaste.C: Update file header.
3717         Store the parts cut out of the Document in a limited_stack.
3718         (copySelection): adjust
3719         (pasteSelection): new function, takes the index in the limited stack.
3720         (nrOfParagraphs): adjust
3721         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3722         simplify error inset insertion.
3723         (checkPastePossible): adjust
3724
3725 2003-05-06  John Levon  <levon@movementarian.org>
3726
3727         * text2.C: don't cast wrap inset to float
3728
3729 2003-05-05  André Pönitz  <poenitz@gmx.net>
3730
3731         * iterator.C:
3732         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3733
3734         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3735           few naked Paragraph *.
3736
3737 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3738
3739         * bufferparams.C: Output warning if a document with missing
3740         TeX document class is loaded
3741         * exporter.C: Disable TeX exports if the document class is missing
3742         * lyxtextclass.C:
3743         * lyxtextclass.h:
3744         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3745         isTeXClassAvailable()
3746
3747 2003-05-03  John Levon  <levon@movementarian.org>
3748
3749         * BufferView.h:
3750         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3751         explicit cursor show/hide
3752
3753         * BufferView_pimpl.h:
3754         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3755         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3756
3757         * lyxfunc.C: hide cursor before dispatching.
3758
3759         * lyx_cb.C:
3760         * lyxfind.C:
3761         * text.C:
3762         * text3.C: remove explicit cursor hides
3763
3764 2003-05-02  André Pönitz  <poenitz@gmx.net>
3765
3766         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3767
3768         * undo_funcs.C:
3769         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3770           linked lists
3771
3772         * text2.C: tiny whitespace
3773
3774 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * undo_funcs.C: almost only ws changes.
3777
3778         * ParagraphList.C (splice): just return if pl is empty.
3779
3780 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * ParagraphList.C (splice): new function.
3783
3784         * CutAndPaste.C (pasteSelection): use it
3785
3786 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * CutAndPaste.C (pasteSelection): remove the last next and
3789         previous from this file.
3790
3791 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * CutAndPaste.C (pasteSelection): more clean up, user proper
3794         ParagraphList functions for pasteing.
3795
3796         * ParagraphList.C (insert): new function, three arg insert
3797
3798 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * ParagraphList.C (insert): new function, three arg insert
3801
3802         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3803         not on paragraphs.
3804
3805 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3806
3807         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3808
3809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3812
3813 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3816         (copySelection): clean up a bit.
3817         (pasteSelection): use make_pair
3818
3819         * ParagraphList.C (ParagraphList): implement copy constructor
3820         (operator=): implement, base on copy constructor.
3821         (assign): new func
3822
3823         * paragraph.C (erase): return a bool
3824
3825         * paragraph_pimpl.C (erasePos): remove function, move contents...
3826         (erase): ... here. Return a bool.
3827         (erase): call erase instead of erasePos.
3828
3829 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * ParagraphList.h: define PitPosPair
3832         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3833         ParagraphList, fix a bug on pasting multiple pars
3834         * text2.C: change interface to C&P
3835
3836 2003-04-30  André Pönitz  <poenitz@gmx.net>
3837
3838         * undo_func.C: revert part of yesterday's patch 2
3839
3840 2003-04-30  John Levon  <levon@movementarian.org>
3841
3842         * LColor.C: s/tabular/table/
3843
3844 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * text3.C (dispatch): do not convert iterator -> pointer
3847         * undo_funcs.C (setCursorParUndo): ditto
3848         * text_funcs.C (transposeChars): ditto
3849
3850         * text2.C (setLayout): ws changes only
3851
3852         * text.C (breakParagraph): do not convert iterator -> pointer
3853         (insertChar): ditto
3854         (acceptChange): ditto
3855         (rejectChange): ditto
3856         (changeCase): ditto
3857         (Delete): ditto
3858         (backspace): ditto
3859
3860         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3861         pointer
3862
3863 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * text3.C (gotoInset): YABG (yet another bad getChar)
3866
3867 2003-04-29  André Pönitz  <poenitz@gmx.net>
3868
3869         * paragraph.h: make operator= private unimplemented as long as
3870           it is unusable
3871
3872         * ParagraphList.C: whitespace
3873
3874         * paragraph.[Ch]:
3875         * paragraph_pimpl.[Ch]:
3876         * paragraph_funcs.C:
3877         * CutAndPaste.C:
3878         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3879
3880         * text2.C:
3881           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3882
3883 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3884
3885         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3886         * paragraph.[Ch] (erase):
3887         * paragraph_pimpl.[Ch] (erase): change return type and value
3888         * text2.C (cutSelection): some rework
3889
3890 2003-04-28  John Levon  <levon@movementarian.org>
3891
3892         * bufferlist.C: changes for unsaved changes dialog
3893
3894 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * bufferlist.C (newFile): set language (messages_) for new
3897         documents also.
3898
3899         * buffer.C (readFile): ws changes only.
3900
3901 2003-04-28  André Pönitz  <poenitz@gmx.net>
3902
3903         * undo_funcs.C:
3904         * lyxfunc.C:
3905         * buffer.[Ch]:
3906         * BufferView_pimpl.C:
3907         * BufferView.C: getParFromID related ParagraphList::iterator changes
3908
3909 2003-04-28  André Pönitz  <poenitz@gmx.net>
3910
3911         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3912           Changes
3913
3914 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * messages.C: remove one more localedir class variable.
3917
3918 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * messages.C (getLocaleDir): singleton generation function
3921         (Pimpl): use it.
3922         (Messages): add a default constructor.
3923
3924         * main.C (main): do not setup localedir here, do not call
3925         gettext_init.
3926
3927         * gettext.C (_): use it.
3928         (gettext_init): delete funciton
3929
3930 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * gettext.C (getLyXMessages): new singleton generating function.
3933
3934         * buffer.C (updateDocLang): adjust
3935
3936         * Makefile.am (messages.o): add target
3937         (main.o): remove target
3938
3939 2003-04-27  John Levon  <levon@movementarian.org>
3940
3941         * bufferlist.C:
3942         * lyx_cb.C:
3943         * lyxfunc.C:
3944         * lyxvc.C: specify cancel button in Alert::prompt
3945
3946 2003-04-26  John Levon  <levon@movementarian.org>
3947
3948         * text3.C:
3949         * lyxfunc.C:
3950         * lfuns.h:
3951         * LyXAction.C: add LFUN_INSET_SETTINGS
3952
3953         * lyxfunc.C: don't enable tabular-feature when there's
3954         just any locking inset
3955
3956 2003-04-26  John Levon  <levon@movementarian.org>
3957
3958         * bufferlist.C: re-add Cancel to buffer close question
3959
3960         * lyxfunc.C: fix import UI a bit
3961
3962 2003-04-25  John Levon  <levon@movementarian.org>
3963
3964         * gettext.C: remove the broken asserts for now
3965
3966 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * messages.C: make case where setlocale cannot comply work better.
3969
3970         * buffer.C (updateDocLang): new function
3971         (changeLanguage): use it
3972         (readFile): use it
3973
3974         * text2.C (setCounter): use B_ a bit.
3975
3976         * lyxlayout.C (Read): be sure to trim the label strings.
3977
3978         * messages.C (Messages): fix typo in comment
3979
3980         * buffer.C (readFile): set message_ after file is loaded.
3981         (makeDocBookFile): remove double return
3982         (changeLanguage): reset message_ upon language change.
3983         (B_): new func, use this to get translated buffer strings.
3984
3985         * main.C: add myself and Jean Marc as authors.
3986
3987 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * messages.[hC]: pimplify Messages, and three different pimpls to be
3990         used in different circumstances.
3991
3992         * gettext.[Ch]: change for use with new message code.
3993
3994 2003-04-24 André Pönitz <poenitz@gmx.net>
3995
3996         * factory.C: support for eqref
3997
3998 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * messages.[Ch]: add missing char
4001
4002         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4003
4004         * messages.[Ch]: New files
4005
4006 2003-04-18  John Levon  <levon@movementarian.org>
4007
4008         * BufferView.h:
4009         * BufferView.C:
4010         * BufferView_pimpl.C:
4011         * lfuns.h:
4012         * LyXAction.C:
4013         * lyxtext.h:
4014         * text2.C: remove layout-copy/paste (bug 778)
4015
4016 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4017
4018         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4019
4020 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4021
4022         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4023         if they succeed. Act accordingly.
4024
4025 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * text2.C (setCharFont): adjust
4028         (setCounter): adjust
4029         (insertStringAsLines): adjust
4030
4031         * text.C (leftMargin): adjust
4032         (setHeightOfRow): adjust
4033
4034         * rowpainter.C (paintFirst): adjust
4035         (paintLast): adjust
4036
4037         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4038         (outerHook): ditto
4039         (isFirstInSequence): ditto
4040         (getEndLabel): ditto
4041         (outerFont): adjust
4042
4043         * paragraph.C (getParLanguage): comment out some hard stuff.
4044
4045         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4046         (sgmlError): ditto
4047         (simpleDocBookOnePar): ditto
4048         (makeDocBookFile): use ParagraphList::iterator
4049
4050         * CutAndPaste.C (pasteSelection): adjust
4051
4052 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * text2.C (getFont): adjust
4055         (getLayoutFont): adjust
4056         (getLabelFont): adjust
4057
4058         * paragraph_funcs.C (TeXOnePar): adjust
4059
4060         * buffer.C (simpleLinuxDocOnePar): adjust
4061         (simpleDocBookOnePar): adjust
4062
4063         * CutAndPaste.C (pasteSelection): adjust
4064
4065         * BufferView.C (getEncoding): adjust
4066
4067         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4068
4069 2003-04-16  John Levon  <levon@movementarian.org>
4070
4071         * lyxfind.C: use parlist stuff for search/changes
4072
4073 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4076
4077         * text2.C (deleteEmptyParagraphMechanism): adjust
4078
4079         * text2.[Ch] (ownerParagraph): delete func (both of them
4080
4081 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4084
4085 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * ParagraphList.C: prepare for NO_NEXT
4088
4089 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text2.C (getFont): adjust
4092         (getLayoutFont): adjust
4093         (getLabelFont): adjust
4094
4095         * paragraph.C (getFont): adjust
4096         (getLabelFont): adjust
4097         (getLayoutFont): adjust
4098
4099         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4100
4101 2003-04-15  John Levon  <levon@movementarian.org>
4102
4103         From Angus Leeming
4104
4105         * lyx_main.C: handle Include in .ui files
4106
4107 2003-04-15  John Levon  <levon@movementarian.org>
4108
4109         * MenuBackend.C: make the doc files length shorter
4110
4111         * ToolbarBackend.h:
4112         * ToolbarBackend.C: handle toolbar placement flags,
4113         Minibuffer
4114
4115 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4116
4117         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4118         adjust
4119
4120         * paragraph_funcs.C (TeXOnePar): adjust
4121
4122         * paragraph.C (getLabelFont): add outerfont arg, adjust
4123         (getLayoutFont): ditto
4124         (simpleTeXOnePar): adjust
4125
4126         * paragraph_pimpl.C (realizeFont): delete func
4127
4128 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4131         row argument, constify cur argument.
4132
4133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * text2.C (getFont): adjust
4136         (getLayoutFont): adjust
4137         (getLabelFont): adjust
4138
4139         * paragraph_funcs.C (TeXOnePar): adjust
4140         (outerFont): new func...
4141         (realizeFont): ...moved out from here, changed this to facilitate
4142         transition
4143
4144         * paragraph.C (getFont): take outerfont as arg, adjust
4145         (simpleTeXOnePar): add outerfont arg, adjust
4146
4147         * buffer.C (simpleLinuxDocOnePar): adjust
4148         (simpleDocBookOnePar): adjust
4149
4150         * CutAndPaste.C (pasteSelection): adjust
4151
4152         * BufferView.C (getEncoding): adjust
4153
4154 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * text2.C (setCharFont): adjust
4157         (setCounter): adjust
4158
4159         * text.C (leftMargin): adjust
4160         (setHeightOfRow): adjust
4161
4162         * rowpainter.C (paintFirst): adjust
4163         (paintLast): adjust
4164
4165         * paragraph_pimpl.C (realizeFont): adjust
4166
4167         * paragraph.C (isFirstInSequence): move from here...
4168         * paragraph_funcs.C (isFirstInSequence): ...to here
4169
4170         * paragraph.C (outerHook): move from here...
4171         * paragraph_funcs.C (outerHook): ...to here
4172
4173         * paragraph.C (depthHook): move from here...
4174         * paragraph_funcs.C (depthHook): ...to here
4175
4176         * paragraph.C (getEndLabel): move from here...
4177         * paragraph_funcs.C (getEndLabel): ...to here
4178
4179         * text2.C (realizeFont): move from here...
4180         * paragraph_funcs.C (realizeFont): ...to here
4181
4182 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4185
4186 2003-04-14  Angus Leeming  <leeming@lyx.org>
4187
4188         * LColor.[Ch]: scrap LColor mathcursor.
4189
4190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * lyxlex.[Ch] (text): delete function
4193         * trans.C (Load): adjust
4194         * paragraph_funcs.C (readParToken): adjust
4195
4196 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4199         vector<char> instead of a char[].
4200
4201         * lyxlex_pimpl.C (getString): adjust
4202         (next): adjust
4203         (lex): use getString
4204         (eatLine): adjust
4205         (nextToken): adjust
4206
4207         * lyxlex.C (text): use pimpl_->getString()
4208         (getBool): ditto
4209         (findToken): ditto
4210
4211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4212
4213         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4214         (makeFontEntriesLayoutSpecific): temp var for par.size()
4215         (setLayout): temp var for ownerParagraphs().end()
4216         (fullRebreak): temp var for rows().end()
4217         (selectionAsString): temp var for boost::next(startpit), realize
4218         that the while really is a regular for loop.
4219         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4220         setCursor in one place.
4221         (setParagraph): temp vr for ownerParagraphs().end()
4222         (updateCounters): make the while loop a for loop
4223         (cutSelection): temp var for ownerParagraphs().end()
4224         (updateInset): make the do {} while() a regular for loop
4225         (getCursorX): use temp vars
4226         (setCurrentFont): use temp vars
4227         (getColumnNearX): use temp vars
4228
4229 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * text.C (transformChar): use temp var for getChar
4232         (computeBidiTables): use temp var for row->par()
4233         (fill): move temp vars for row->par() and pit->layout() earlier in
4234         the function.
4235         (labelFill): use temp var for row->par()
4236         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4237         asc and desc, realize that pit never changes and that firstpit is
4238         just a duplicate and not needed. Exchange rit->par() with pit in a
4239         lot of places.
4240         (breakAgain): use a temp var for boost::next(rit)
4241         (breakAgainOneRow): ditto
4242         (breakParagraph): use a temp var for rows().begin()
4243         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4244         (cursorRightOneWord): use temp var for cursor.par() and
4245         cursor.pos(), remove usage of tmpcursor.
4246         (cursorLeftOneWord): use temp var for cursor.par() and
4247         cursor.pos() only set cur at end of function.
4248
4249 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * text.C, text2.C: exchange all usage of Paragraph::next with
4252         boost::next(ParagraphList::iterator)
4253
4254         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4255
4256         * text2.C (cursorTop): simplify implementation
4257         (cursorBottom): ditto
4258         (setParagraph): use ParagraphList::iterator
4259         (setCurrentFont): adjust
4260         (getColumnNearX): adjust
4261         (cursorRight): adjust
4262         (cursorLeft): remove usage of Paragraph::previous
4263         (cursorUpParagraph): ditto
4264         (deleteEmptyParagraphMechanism): slight cleanup
4265
4266         * text.C (isBoundary): take a Paragraph const & instead of a
4267         pointer as arg.
4268         (addressBreakPoint): ditto
4269         (leftMargin): remove usage of Paragraph::previous.
4270         (setHeightOfRow): ditto
4271         (cursorLeftOneWord): ditto
4272         (selectNextWordToSpellcheck): ditto
4273         (Delete): ditto
4274         (backspace): ditto
4275         (breakParagraph): remove one usage of Paragraph::next
4276         (redoParagraph): ditto
4277         (acceptChange): ditto
4278         (insertChar): adjust
4279         (rowBreakPoint): adjust
4280
4281         * bufferview_funcs.C (toggleAndShow): adjust
4282
4283 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4286         methods to access it.
4287         * lyxtext.h:
4288         * text.C: Added updateRowPositions to compute all row positions.
4289         Make top_y and getRowNearY() to use the cached y position
4290
4291 2003-04-11  John Levon  <levon@movementarian.org>
4292
4293         * text.C (rowBreakPoint): reintroduce the labelEnd
4294         checks, code copied from the row fill stuff. Deep voodoo.
4295
4296         * text.C (fill): add a comment and debugging for the
4297         next poor soul.
4298
4299 2003-04-11  John Levon  <levon@movementarian.org>
4300
4301         * text.C: make sure fullrow insets get wrapped to the next line,
4302         even when they're in a manual label
4303
4304 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * text2.C (insertParagraph): make it take ParagraphList::iterator
4307         as arg.
4308         (setLayout): make it return ParagraphList::iterator
4309         (redoParagraphs): ditto
4310         (setCounter): ditto
4311         (checkParagraph): ditto
4312
4313         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4314
4315         * text2.C: adjust several funcs.
4316         (realizeFont): take a ParagraphList::iterator as arg.
4317         (getLayoutFont): ditto
4318         (getLabelFont): ditto
4319         (setCharFont): ditto
4320
4321         * text.C: adjust several funcs.
4322
4323 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * text.C (selectNextWordToSpellcheck): don't accidentally
4326         skip insets
4327
4328 2003-04-10  John Levon  <levon@movementarian.org>
4329
4330         * ToolbarBackend.C (getIcon): special handling for
4331         LFUN_MATH_DELIM
4332
4333 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4334
4335         * text2.C (cursorRight): a getChar assert fixed
4336
4337 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * text2.C (getFont): change to take a ParagraphList::iterator
4340         instead of Paragraph*
4341         Adjust several functions.
4342
4343         * text.C (transformChar): change to take a ParagraphList::iterator
4344         instead of Paragraph*
4345         (singleWidth): ditto
4346         Adjust several functions.
4347
4348         * rowpainter.C: adjust several functions
4349         * rowpainter.h:store a ParagraphList::iterator and not a
4350         Paragraph&.
4351
4352
4353 2003-04-09  John Levon  <levon@movementarian.org>
4354
4355         * lyxfunc.C:
4356         * lfuns.h:
4357         * LyXAction.h:
4358         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4359         and the "help" bits as well
4360
4361 2003-04-09  John Levon  <levon@movementarian.org>
4362
4363         * ToolbarBackend.h:
4364         * ToolbarBackend.C: allow multiple toolbars
4365
4366 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * undo_funcs.C (setCursorParUndo): adjust
4369
4370         * text_funcs.C (transposeChars): adjust
4371
4372         * text3.C (gotoNextInset): adjust
4373         (dispatch): adjust
4374
4375         * text2.C (setLayout): adjust
4376         (changeDepth): adjust
4377         (setFont): adjust
4378         (redoParagraphs): adjust
4379         (selectionAsString): adjust
4380         (setParagraph): adjust
4381         (insertInset): adjust
4382         (cutSelection): adjust
4383         (copySelection): adjust
4384         (pasteSelection): adjust
4385         (insertStringAsLines): adjust
4386         (updateInset): adjust
4387         (setCursor): change to take a ParagraphList::iterator parameter
4388         (setCursorIntern): change to take a ParagraphList::iterator parameter
4389         (setCurrentFont): adjust
4390         (cursorLeft): adjust
4391         (cursorRight): adjust
4392         (deleteEmptyParagraphMechanism): adjust
4393
4394         * text.C (breakParagraph): adjust
4395         (insertChar): adjust
4396         (acceptChange): adjust
4397         (rejectChange): adjust
4398         (selectNextWordToSpellcheck): adjust
4399         (changeCase): adjust
4400         (Delete): adjust
4401         (backspace): adjust
4402
4403         * lyxfind.C (SearchForward): adjust
4404         (SearchBackward): adjust
4405         (nextChange): adjust
4406
4407         * lyxcursor.C (par): adjust
4408
4409         * lyxcursor.h: store a ParagraphList::iterator instead of a
4410         Paragraph*
4411
4412         * lyx_cb.C (getPossibleLabel): adjust
4413
4414         * bufferview_funcs.C (toggleAndShow): adjust
4415
4416         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4417         (dispatch): adjust
4418
4419         * BufferView.C (removeAutoInsets): adjust
4420         (lockedInsetStoreUndo): adjust
4421
4422 2003-04-09  John Levon  <levon@movementarian.org>
4423
4424         * ToolbarBackend.C: try icon without argument
4425         if with argument fails
4426
4427 2003-04-08  John Levon  <levon@movementarian.org>
4428
4429         * ToolbarBackend.h:
4430         * ToolbarBackend.C: add getIcon(), handle tooltip,
4431         and change from "Icon" to "Item".
4432
4433 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * BufferView.C (lockInset): another bad getchar crunched
4436
4437 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4438
4439         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4440         again)
4441
4442 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * lyxfind.C (searchForward, searchBackwards): bug 782
4445
4446 2003-04-07  John Levon  <levon@movementarian.org>
4447
4448         * paragraph.C: remove dead comment
4449
4450         * text.C: remove troublesome depth-fiddling code
4451         in leftMargin() and rightMargin() (bug 1017)
4452
4453         * text.C: fix breaking of rows in nested lists
4454         (bug 1004)
4455
4456         * text2.C (updateCounters): fix up depth values
4457         (bug 1013)
4458
4459 2003-04-07  John Levon  <levon@movementarian.org>
4460
4461         * BufferView_pimpl.C: clear message when doc finishes resizing,
4462         and after a mouse event
4463
4464         * lyxfunc.C: clear message after exiting inset
4465
4466 2003-04-07  John Levon  <levon@movementarian.org>
4467
4468         * bufferview_funcs.C: show math status not outside
4469         status in the statusbar
4470
4471 2003-04-07  John Levon  <levon@movementarian.org>
4472
4473         * lyxfunc.C: note status changed after a depth change
4474
4475 2003-04-04  Angus Leeming  <leeming@lyx.org>
4476
4477         * LaTeX.h: move AuxInfo operator==, != out of line.
4478         Remove LaTeX virtual destructor; nothing derives from it.
4479         Move operator()() out of public area and rename it startscript().
4480         Change protected for private.
4481
4482 2003-04-04  Angus Leeming  <leeming@lyx.org>
4483
4484         * lyxfunc.C:
4485         * text2.C: remove unneeded #includes.
4486
4487 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * text2.C (dEPM): fix the heigth of the next row
4490
4491 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * text.C: squashed an invalid getChar requester + some ws changes
4494
4495 2003-04-03  John Levon  <levon@movementarian.org>
4496
4497         * bufferview_funcs.h:
4498         * bufferview_funcs.C:
4499         * lyxfunc.C:
4500         * lyxtext.h:
4501         * text2.C: make getStatus work for the env depth lfuns
4502
4503 2003-04-03  John Levon  <levon@movementarian.org>
4504
4505         * bufferview_funcs.h:
4506         * bufferview_funcs.C:
4507         * lyxfunc.C:
4508         * lyxtext.h:
4509         * text2.C: parlistize decDepth(), by merging it with incDepth()
4510
4511 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * lyxrow.h: store a ParagraphList::iterator instead of a
4514         Paragraph* and adjust other class functions to suit.
4515
4516         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4517         above.
4518
4519 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * text2.C (setCursor): do not anchor to cursor row for the time being
4522
4523 2003-04-02  John Levon  <levon@movementarian.org>
4524
4525         * LyXAction.C:
4526         * lfuns.h:
4527         * lyx_main.C:
4528         * lyxtext.h:
4529         * text.C:
4530         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4531
4532 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * paragraph.h: make ParagraphList and ParagraphList::iterator
4535         friends of Paragraph.
4536
4537         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4538
4539         * ParagraphList.C: Use the private next_ and previous_ from
4540         Paragraph.
4541
4542 2003-04-01  John Levon  <levon@movementarian.org>
4543
4544         * ToolbarBackend.h:
4545         * ToolbarBackend.C:
4546         * Makefile.am: rename, remove defaults gunk
4547
4548         * MenuBackend.h:
4549         * MenuBackend.C: remove defaults gunk
4550
4551         * Languages.h:
4552         * Languages.C: remove defaults gunk
4553
4554         * lyx_main.h:
4555         * lyx_main.C: error out if files couldn't be found.
4556
4557 2003-04-02  John Levon  <levon@movementarian.org>
4558
4559         * text2.C: make incDepth() use parlist
4560
4561 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * undo_funcs.C (firstUndoParagraph): adjust
4564
4565         * text3.C (gotoInset): adjust
4566         (dispatch): adjust, and rewrite loop.
4567
4568         * text2.C (init): adjust, and rewrite loop.
4569         (redoParagraphs): adjust
4570         (updateInset): adjust, and rewrite loop.
4571         (deleteEmptyParagraphMechanism): adjust
4572
4573         * tabular.C (LyXTabular): adjust
4574         (SetMultiColumn): adjust
4575         (TeXRow): adjust
4576
4577         * lyxtext.[Ch] (ownerParagraph): delete function
4578         (ownerParagraphs): new function returns a ParagraphList.
4579
4580         * BufferView.C (removeAutoInsets): adjust
4581         (insertErrors): adjust
4582         (setCursorFromRow): adjust
4583
4584 2003-04-01  Angus Leeming  <leeming@lyx.org>
4585
4586         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4587         in the frontends.
4588
4589 2003-04-02  John Levon  <levon@movementarian.org>
4590
4591         * lyxtext.h:
4592         * text.C:
4593         * Makefile.am:
4594         * text_funcs.h:
4595         * text_funcs.C: make transposeChars a free function
4596
4597         * lyxrow_funcs.C: remove wrong comment
4598
4599 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * lyxtext.h: adjust
4602         * rowpainter.C: adjust
4603         * text.C: adjust
4604         * text2.C: adjust
4605         * text3.C: adjust
4606
4607         * lyxrow_funcs. [Ch]: new files
4608
4609         * lyxrow.[Ch]: remove next and previous pointers
4610         (next,previous): remove accessor functions
4611         (isParEnd): move to lyxrow_funcs
4612         (lastPos): move to lyxrow_funcs
4613         (nextRowIsAllInset): move to lyxrow_funcs
4614         (lastPrintablePos): move to lyxrow_funcs
4615         (numberOfSeparators): move to lyxrow_funcs
4616         (numberOfHfills): move to lyxrow_funcs
4617         (numberOfLabelHfills): move to lyxrow_funcs
4618         (hfillExpansion): move to lyxrow_funcs
4619
4620         * lyxfunc.C: adjust
4621
4622         * bufferview_funcs.C (toggleAndShow): adjust
4623
4624         * RowList.h: Remove class RowList from file leave just a
4625         std::list<Row>.
4626
4627         * RowList.C: delete file
4628
4629         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4630         and lyxrow_funcs.h
4631
4632 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * text3.C (cursorPrevious): adjust
4635         (cursorNext): adjust
4636         (dispatch): adjust
4637
4638         * text2.C (redoHeightOfParagraph): adjust
4639         (redoDrawingOfParagraph): adjust
4640         (setCursor): adjust
4641
4642         * text.C (breakParagraph): adjust
4643         (insertChar): adjust
4644         (backspace): adjust
4645
4646         * rowpainter.C (RowPainter): adjust
4647         (leftMargin): simplify and adjust
4648         (most rowpainter functions): adjust.
4649
4650         * rowpainter.h: store the row as RowList::iterator not as Row*
4651
4652         * lyxcursor.C (row): taka RowList::iterator as arg
4653         (irow): ditto
4654
4655         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4656         of Row*.
4657
4658 2003-04-01  Angus Leeming  <leeming@lyx.org>
4659
4660         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4661         stuff like bool Bool.
4662
4663 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4666         rewrite a loop
4667
4668 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4671         RowList::iterator.
4672
4673         * lyxtext.h (rows): drop one version and leve a const variant that
4674         returns a RowList::iterator.
4675
4676 2003-03-31  Angus Leeming  <leeming@lyx.org>
4677
4678         * text.C (fill): ensure that the signature is the same as that in the
4679         header file.
4680
4681 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * text2.C (redoParagraphs): adjust
4684         (updateCounters): adjust
4685         (checkParagraph): adjust
4686         (getColumnNearX): adjust and reformat a bit.
4687
4688         * text.C (top_y): adjust
4689         (workWidth): adjust
4690         (leftMargin): adjust
4691         (prepareToPrint): adjust
4692         (getRow): adjust
4693         (getRowNearY): adjust
4694
4695         * lyxtext.h: make rowlist_ mutable.
4696
4697         * RowList.h: add const_iterator
4698         * RowList.C: adjust for RowList::const_iterator.
4699
4700         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4701         adjust.
4702
4703 2003-03-31  John Levon  <levon@movementarian.org>
4704
4705         * lyxrc.h:
4706         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4707
4708         * lyx_main.C: set default fonts from using lyx_gui funcs
4709
4710         * exporter.C: pdf_mode moved from lyxrc
4711
4712         * lyx_cb.C:
4713         * lyxfunc.C: changes from above
4714
4715 2003-03-31  John Levon  <levon@movementarian.org>
4716
4717         * lyx_main.C: fix to the last fix
4718
4719 2003-03-31  John Levon  <levon@movementarian.org>
4720
4721         * bufferlist.C: "Load original" -> "Load Original"
4722
4723         * converter.C:
4724         * exporter.C:
4725         * importer.C:
4726         * lyx_main.C:
4727         * format.C: more Alert cleanups
4728
4729 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * text2.C (removeParagraph): make it take a RowList::iterator as
4732         arg, adjust.
4733         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4734         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4735
4736         * text.C (anchor_row): make it take a RowList::iterator as arg,
4737         adjust.
4738         (computeBidiTables): make it take a const reference to Row instead
4739         of Row pointer, adjust.
4740         (leftMargin): make it take a RowList::iterator as arg, adjust.
4741         (rowBreakPoint): adjust
4742         (breakAgainOneRow): make it take a RowList::iterator as arg,
4743         adjust.
4744         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4745
4746         * bufferview_funcs.C (toggleAndShow): adjust
4747
4748 2003-03-30  John Levon  <levon@movementarian.org>
4749
4750         * Makefile.am:
4751         * BoostFormat.h:
4752         * boost-inst.C: moved to support
4753
4754         * several files: changes as a result
4755
4756 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * text2.C (LyXText): adjust.
4759         (init): adjust
4760         (removeRow): make it take a RowList::iterator as arg, adjust.
4761         (fullRebreak): adjust
4762         (deleteEmptyParagraphMechanism): adjust
4763         (clearPaint): adjust
4764         (postPaint): adjust
4765
4766         * text.C (top_y): adjust
4767         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4768         (breakAgain): make it take a RowList::iterator as arg, adjust.
4769         (breakParagraph): adjust
4770         (insertChar): adjust
4771         (backspace): adjust
4772
4773         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4774         need_break_row, and refresh_row.
4775
4776         * text3.C (dispatch): adjust
4777
4778         * text2.C (checkParagraph): adjust
4779         (setCursor): adjust
4780         (setCursorFromCoordinates): adjust
4781
4782         * text.C (top_y): adjust
4783         (workWidth): adjust
4784         (getRow): make it return a RowList::iterator, adjust
4785         (getRowNearY): make it return a RowList::iterator, adjust
4786
4787         * text2.C (init): adjust
4788         (insertRow): remove function
4789         (insertParagraph): adjust
4790         (redoParagraphs): adjust
4791         (fullRebreak): adjust
4792         (updateCounters): adjust
4793
4794         * text.C (top_y): rewrite to use RowList iterators.
4795         (top_y): adjust
4796         (setHeightOfRow): rewrite to sue RowList iterators.
4797         (appendParagraph): adjust
4798         (breakAgain): adjust
4799         (breakAgainOneRow): adjust
4800         (breakParagraph): adjust
4801         (getRow): adjust
4802         (getRowNearY): adjust, and remove commented code.
4803
4804         * lyxtext.h (firstRow): delete function
4805         (lastRow): delete function
4806         (rows): new function (const and non-const versions.)
4807         (insertRow): delete function
4808
4809         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4810
4811 2003-03-29  John Levon  <levon@movementarian.org>
4812
4813         * BufferView_pimpl.C: always update scrollbar top
4814         because pasting text when we're anchored could mean we
4815         miss an update altogether
4816
4817 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * text2.C (init): use rowlist_.end() and not 0.
4820         (insertRow): change to take a RowList::iterator as arg, adjust
4821         for this.
4822         (insertParagraph): change to take a RowList::iterator as arg,
4823         adjust for this.
4824         (redoParagraphs): remove some debug msgs.
4825
4826         * text.C (appendParagraph): change to take a RowList::iterator
4827         arg, adjust for this.
4828         (breakAgain): add an assert
4829         (breakAgainOneRow): ditto
4830
4831 2003-03-29  John Levon  <levon@movementarian.org>
4832
4833         * text2.C: do not clear selection after inc/decDepth
4834         (bug 550)
4835
4836 2003-03-29  John Levon  <levon@movementarian.org>
4837
4838         * BufferView.C:
4839         * buffer.C: fix broken strerrors according to Lars
4840
4841 2003-03-29  John Levon  <levon@movementarian.org>
4842
4843         * converters.C: more Alert cleanups
4844
4845 2003-03-29  John Levon  <levon@movementarian.org>
4846
4847         * bufferview_funcs.C: remove pointless Alert
4848
4849         * buffer.C: fix confusing error message when
4850         a template is chmoded 000
4851
4852 2003-03-29  John Levon  <levon@movementarian.org>
4853
4854         * BufferView.C:
4855         * BufferView.h:
4856         * BufferView_pimpl.C: Alert fixes
4857
4858         * Makefile.am:
4859         * tabular.C:
4860         * tabular-old.C: remove unused table compat reading
4861
4862 2003-03-29  John Levon  <levon@movementarian.org>
4863
4864         * BufferView.C:
4865         * buffer.C:
4866         * lyx_cb.h:
4867         * lyx_cb.C: more Alert cleanups
4868
4869         * lyxfunc.C: don't allow chktex if not latex document
4870
4871 2003-03-29  John Levon  <levon@movementarian.org>
4872
4873         * lyx_cb.C:
4874         * BufferView.C:
4875         * buffer.C: warnings pushed down from support/,
4876         kill err_alert
4877
4878 2003-03-29  John Levon  <levon@movementarian.org>
4879
4880         * lyxfunc.C: safety check for C-r (revert)
4881
4882 2003-03-29  John Levon  <levon@movementarian.org>
4883
4884         * bufferlist.h:
4885         * bufferlist.C: several UI fixes using Alert::prompt.
4886         Fix the pointless looping quit code. Fix stupid revert
4887         behaviour (bug 938)
4888
4889         * lyxvc.h:
4890         * lyxvc.C:
4891         * lyx_cb.C: use Alert::prompt
4892
4893         * lyx_main.C: remove a silly question
4894
4895         * lyxfunc.C: remove a couple of silly questions,
4896         use Alert::prompt
4897
4898 2003-03-28  John Levon  <levon@movementarian.org>
4899
4900         * text2.C: fix bug 974 (End on empty par)
4901
4902 2003-03-28  John Levon  <levon@movementarian.org>
4903
4904         * BufferView_pimpl.C:
4905         * LyXAction.C:
4906         * lfuns.h: remove do-nothing math greek lfuns
4907
4908 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4909
4910         * lyxgluelength.h (isValidGlueLength): add default arg on
4911         parameter 2. Remove default arg from friend in class.
4912
4913         * lyxlength.h (isValidLength): add default arg on parameter 2.
4914         Remove default arg from friend in class.
4915
4916         * text2.C (LyXText): adjust, initialize refresh_row.
4917         (init): adjust
4918         (removeRow): adjust
4919         (insertRow): adjust
4920         (insertParagraph): adjst
4921         (redoParagraphs): adjust
4922         (fullRebreak): adjust
4923         (updateCounters): adjust
4924         (deleteEmptyParagraphMechanism): first attempt at fixing a
4925         crashing bug.
4926
4927         * text.C (top_y): adjust
4928         (setHeightOfRow): adjust
4929         (getRow): adjust
4930         (getRowNearY): adjust
4931
4932         * lyxtext.h: include RowList.h
4933         (~LyXText): not needed anymore, deleted.
4934         (firstRow): modify for RowList
4935         (lastRow): new function
4936         Delete firstrow and lastrow class variables, add a Rowlist
4937         rowlist_ class variable.
4938
4939         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4940         paragraph is empty.
4941
4942         * RowList.C (insert): fix case where it == begin().
4943
4944 2003-03-26  Angus Leeming  <leeming@lyx.org>
4945
4946         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4947         the thesaurus dialog.
4948
4949 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4952
4953         * RowList.[Ch]: new files
4954
4955         * ParagraphList.C (erase): handle the case where it == begin
4956         correctly.
4957
4958 2003-03-25  John Levon  <levon@movementarian.org>
4959
4960         * Makefile.am:
4961         * aspell_local.h:
4962         * aspell.C: add new aspell support
4963
4964         * lyxrc.h:
4965         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4966         have it accessible.
4967
4968 2003-03-25  Angus Leeming  <leeming@lyx.org>
4969
4970         * lfuns.h:
4971         * LyXAction.C (init): new LFUN_INSET_INSERT.
4972
4973         * BufferView_pimpl.C (dispatch): split out part of the
4974         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4975
4976         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4977         LFUN_INSET_APPLY.
4978
4979 2003-03-25  Angus Leeming  <leeming@lyx.org>
4980
4981         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4982
4983 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * text2.C:
4986         * text3.C: remove useless row->height(0)
4987
4988 2003-03-25  John Levon  <levon@movementarian.org>
4989
4990         * lyxtext.h:
4991         * text2.C:
4992         * text3.C: rename the refreshing stuff to better names
4993
4994 2003-03-24  John Levon  <levon@movementarian.org>
4995
4996         * BufferView_pimpl.h:
4997         * BufferView_pimpl.C: update layout choice on a mouse
4998         press/release
4999
5000 2003-03-23  John Levon  <levon@movementarian.org>
5001
5002         * Makefile.am: fix commandtags.h reference
5003
5004 2003-03-22  John Levon  <levon@movementarian.org>
5005
5006         * BufferView_pimpl.C:
5007         * lyxtext.h:
5008         * rowpainter.C:
5009         * rowpainter.h:
5010         * text.C:
5011         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5012
5013 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * lyxtext.h:
5016         * text.C: take the rtl methods out of line
5017
5018 2003-03-21 André Pönitz <poenitz@gmx.net>
5019
5020         * metricsinfo.[Ch]: new files containing structures to be passed around
5021         during the two-phase-drawing...
5022
5023 2003-03-21 André Pönitz <poenitz@gmx.net>
5024
5025         * lyxtextclass.C: read 'environment' tag.
5026
5027 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * text2.C (removeRow): fix bug 964
5030
5031 2003-03-20  John Levon  <levon@movementarian.org>
5032
5033         * rowpainter.C:
5034         * text.C:
5035         * text2.C: paint cleanups. Inset::update() dropped font
5036         parameter
5037
5038 2003-03-19  John Levon  <levon@movementarian.org>
5039
5040         * lyxfunc.C: only fitcursor/markDirty if available()
5041
5042 2003-03-19  John Levon  <levon@movementarian.org>
5043
5044         * commandtags.h: rename to ...
5045
5046         * lfuns.h: ... this, and renumber / cleanup
5047
5048 2003-03-19  John Levon  <levon@movementarian.org>
5049
5050         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5051         fit the cursor after an lfun
5052
5053         * BufferView.h:
5054         * BufferView.C:
5055         * BufferView_pimpl.h:
5056         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5057
5058         * LyXAction.C: layout-character should have ReadOnly
5059
5060         * ParagraphParameters.C:
5061         * buffer.C:
5062         * bufferview_funcs.C:
5063         * lyx_cb.C:
5064         * lyxfind.C:
5065         * lyxtext.h:
5066         * text.C:
5067         * text2.C:
5068         * text3.C:
5069         * undo_funcs.C: changes from above
5070
5071 2003-03-18  John Levon  <levon@movementarian.org>
5072
5073         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5074         remove it from update()
5075
5076         * lyxfunc.C: update layout choice after an lfun
5077
5078         * text3.C: remove extra updateLayoutChoice()s
5079
5080 2003-03-18  John Levon  <levon@movementarian.org>
5081
5082         * text.C: top_y change means full repaint, fix
5083         a drawing bug with cursor movement
5084
5085 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * lyxtext.h:
5088         * text.C:
5089         * text2.C: anchor row on setCursor
5090
5091 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * lyxtext.h: remove almost all mutable keywords
5094         * text.C:
5095         * text2.C:
5096         * text3.C: remove const keywords accordingly
5097
5098 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5101         anon namespace
5102         (TeXEnvironment): ditto
5103         (TeXOnePar): ditto
5104
5105 2003-03-17  John Levon  <levon@movementarian.org>
5106
5107         * text.C (rowBreakPoint): remove attempt to fix displayed
5108         math insets inside a manual label
5109
5110 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * lyxtext.h: remove BufferView* as first arg from almost all class
5113         functions.
5114         * other files: adjust.
5115
5116 2003-03-17  John Levon  <levon@movementarian.org>
5117
5118         * lyxtext.h:
5119         * undo_funcs.C:
5120         * text2.C: more paint cleanups
5121
5122         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5123
5124         * rowpainter.h:
5125         * rowpainter.C: remove "smart" background painting code
5126
5127 2003-03-16  John Levon  <levon@movementarian.org>
5128
5129         * lyxtext.h:
5130         * text.C:
5131         * text2.C:
5132         * text3.C: add helper functions for setting refresh_row/y
5133
5134 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5135
5136         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5137         newline inset which *can* get inserted in the pass_thru layouts.
5138         This is primarily for literate documents.
5139
5140 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5141
5142         * buffer.C: increment LYX_FORMAT to 223
5143
5144 2003-03-14 André Pönitz <poenitz@gmx.net>
5145
5146         * textclass.h: prepare for environment handling, ws changes
5147         * lyxlayout.C: read latexheader and latexfooter tags
5148
5149 2003-03-14  John Levon  <levon@movementarian.org>
5150
5151         * text2.C: rewrite ::status() a bit
5152
5153 2003-03-13  John Levon  <levon@movementarian.org>
5154
5155         * lyxtext.h: add some docs
5156
5157 2003-03-13  John Levon  <levon@movementarian.org>
5158
5159         * lyxtext.h:
5160         * text.C:
5161         * text2.C:
5162         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5163
5164 2003-03-13  John Levon  <levon@movementarian.org>
5165
5166         * text3.C: fix appendix redrawing
5167
5168 2003-03-13  John Levon  <levon@movementarian.org>
5169
5170         * text.C (setHeightOfRow):
5171         * rowpainter.h:
5172         * rowpainter.C: make appendix mark have the text
5173           "Appendix" so the user knows what it is
5174
5175         * LColor.h:
5176         * LColor.C: s/appendixline/appendix/ from above
5177
5178 2003-03-13  John Levon  <levon@movementarian.org>
5179
5180         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5181
5182         * text.C: fix a getChar(pos) bug properly
5183
5184 2003-03-13  Angus Leeming  <leeming@lyx.org>
5185
5186         * commandtags.h:
5187         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5188         Probably only temporary. Let's see how things pan out.
5189
5190         * BufferView.C (unlockInset):
5191         * BufferView_pimpl.C (fitCursor):
5192         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5193
5194         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5195         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5196
5197         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5198         new functions that convert ParagraphParameters to and from a string.
5199
5200         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5201         BufferView::Pimpl's dispatch.
5202         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5203
5204 2003-03-13 André Pönitz <poenitz@gmx.net>
5205
5206         * lyxfunc.C:
5207         * text3.C:
5208         * factory.C: make it aware of InsetEnv
5209
5210 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text2.C (setCursor): never ask for one past last
5213         (setCursor): add some debugging messages.
5214
5215         * text.C (singleWidth): never ask for one past last
5216         (singleWidth): ditto
5217         (leftMargin): ditto
5218         (rightMargin): ditto
5219         (rowBreakPoint): ditto
5220         (setHeightOfRow): ditto
5221         (prepareToPrint): ditto
5222
5223         * rowpainter.C (paintBackground): never ask for one past last
5224         (paintText): never ask for one past last
5225
5226         * paragraph_pimpl.C (getChar): make the assert stricter, never
5227         allow the one past last pos to be taken
5228
5229         * paragraph.C (getChar): ws changes only
5230
5231         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5232         (numberOfSeparators): ditto
5233         (numberOfHfills): ditto
5234
5235 2003-03-12  John Levon  <levon@movementarian.org>
5236
5237         * author.h:
5238         * author.C:
5239         * bufferparams.h:
5240         * bufferparams.C:
5241         * paragraph_funcs.C: fix per-buffer authorlists
5242
5243 2003-03-12  John Levon  <levon@movementarian.org>
5244
5245         * text.C: fix newline in right address
5246
5247 2003-03-12  Angus Leeming  <leeming@lyx.org>
5248
5249         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5250         duplicate those in LyXFunc::dispatch.
5251
5252         * commandtags.h:
5253         * LyXAction.C:
5254         * ToolbarDefaults.C:
5255         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5256         Add LFUN_FONTFREE_UPDATE.
5257
5258         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5259         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5260
5261         * bufferview_func.[Ch]: several new functions to facilliate
5262         transfer of data to and from the character dialog.
5263
5264 2003-03-12  John Levon  <levon@movementarian.org>
5265
5266         * buffer.C:
5267         * paragraph.h:
5268         * paragraph.C:
5269         * paragraph_funcs.C:
5270         * paragraph_pimpl.C:
5271         * sgml.C:
5272         * tabular.C:
5273         * text.C:
5274         * text3.C: remove META_NEWLINE in favour of an inset
5275
5276         * rowpainter.h:
5277         * rowpainter.C: remove paintNewline (done by inset)
5278
5279 2003-03-12  John Levon  <levon@movementarian.org>
5280
5281         * paragraph_pimpl.C: complain about bad getChar()s
5282         for a while at least
5283
5284 2003-03-12  John Levon  <levon@movementarian.org>
5285
5286         * buffer.h:
5287         * buffer.C: move paragraph read into a separate function,
5288         a little renaming to reflect that.
5289
5290         * bufferparams.h:
5291         * bufferparams.C: remove the author_ids map, not necessary now
5292
5293         * factory.h:
5294         * factory.C: moved Buffer::readInset to here
5295
5296         * paragraph_funcs.h:
5297         * paragraph_funcs.C: readParagraph free function moved from
5298         buffer.C
5299
5300         * tabular.C: name change
5301
5302 2003-03-12  John Levon  <levon@movementarian.org>
5303
5304         * buffer.C:
5305         * ParagraphParameters.C: move par params input to
5306         a read() method
5307
5308         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5309         behave like a normal read from the stream wrt reading
5310         a line vs. a \\token
5311
5312 2003-03-12  John Levon  <levon@movementarian.org>
5313
5314         * paragraph.C:
5315         * ParagraphParameters.h:
5316         * ParagraphParameters.C: move output code to a
5317         ::write() method
5318
5319 2003-03-12  John Levon  <levon@movementarian.org>
5320
5321         * BufferView.C (insertLyXFile):
5322         * buffer.h:
5323         * buffer.C:
5324         * tabular.C: use a parlist iterator for creating the
5325           document.
5326
5327 2003-03-12  John Levon  <levon@movementarian.org>
5328
5329         * buffer.C: make current_change static local not
5330           static file-scope
5331
5332 2003-03-12  John Levon  <levon@movementarian.org>
5333
5334         * buffer.C: fix insertStringAsLines for change tracking
5335
5336 2003-03-12  John Levon  <levon@movementarian.org>
5337
5338         * BufferView.C:
5339         * tabular.C:
5340         * buffer.h:
5341         * buffer.C:
5342         * bufferparams.h:
5343         * bufferparams.C: move author list into params. Rename some
5344           functions. Move the header reading into a separate token
5345           loop. Move the header token reading into BufferParams.
5346
5347 2003-03-12  John Levon  <levon@movementarian.org>
5348
5349         * changes.C: put debug inside lyxerr.debugging() checks
5350
5351 2003-03-11 André Pönitz <poenitz@gmx.net>
5352
5353         * factory.C: make it aware of InsetHFill
5354
5355 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5356
5357         * buffer.C (latexParagraphs): move function from here...
5358         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5359         args.
5360
5361 2003-03-10  Angus Leeming  <leeming@lyx.org>
5362
5363         * LyXAction.C (init): fix bug in poplating array with multiple entries
5364         with the same LFUN (spotted by JMarc).
5365
5366 2003-03-10  John Levon  <levon@movementarian.org>
5367
5368         * text.C:
5369         * text2.C: move getColumnNearX() near its
5370         only call site
5371
5372 2003-03-10  John Levon  <levon@movementarian.org>
5373
5374         * text.C: fix break before a minipage
5375
5376 2003-03-10  John Levon  <levon@movementarian.org>
5377
5378         * text.C: fix the last commit
5379
5380 2003-03-09  John Levon  <levon@movementarian.org>
5381
5382         * lyxtext.h:
5383         * text.C:
5384         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5385         bug 365 (don't break before insets unless needed). Don't
5386         return a value > last under any circumstances.
5387
5388 2003-03-09  Angus Leeming  <leeming@lyx.org>
5389
5390         * BufferView_pimpl.C (trackChanges, dispatch): call
5391         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5392
5393 2003-03-09  Angus Leeming  <leeming@lyx.org>
5394
5395         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5396         than Dialogs::showAboutlyx().
5397
5398 2003-03-09  Angus Leeming  <leeming@lyx.org>
5399
5400         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5401         than Dialogs::showTabularCreate().
5402
5403 2003-03-09  John Levon  <levon@movementarian.org>
5404
5405         * lyxtext.h:
5406         * text.C:
5407         * text2.C: 3rd arg to nextBreakPoint was always the same.
5408           Use references.
5409
5410 2003-03-08  John Levon  <levon@movementarian.org>
5411
5412         * lyxrow.C:
5413         * paragraph.C:
5414         * paragraph.h:
5415         * rowpainter.C:
5416         * text.C:
5417         * text2.C: Remove the "main" bit from the "main body"
5418           notion.
5419
5420 2003-03-08  John Levon  <levon@movementarian.org>
5421
5422         * text.C (leftMargin): The left margin of an empty
5423         manual label paragraph should not include the label width
5424         string length.
5425
5426         * text.C (prepareToPrint): don't attempt to measure hfills
5427         for empty manual label paragraphs - the answer should be 0
5428
5429 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * CutAndPaste.C: remove commented code and reindent.
5432
5433 2003-03-08  John Levon  <levon@movementarian.org>
5434
5435         * lyxfunc.h:
5436         * lyxfunc.C: move reloadBuffer()
5437
5438         * BufferView.h:
5439         * BufferView.C: to here
5440
5441         * lyxvc.C: add comment
5442
5443         * vc-backend.h:
5444         * vc-backend.C: call bv->reload() to avoid
5445           getStatus() check on MENURELOAD
5446
5447 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5448
5449         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5450         to an old format .dep file.
5451
5452 2003-03-07  Angus Leeming  <leeming@lyx.org>
5453
5454         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5455         when the LFUN_MOUSE_RELEASE should have been handled by
5456         inset->localDispatch.
5457
5458 2003-03-07  Angus Leeming  <leeming@lyx.org>
5459
5460         * BufferView_pimpl.C (dispatch):
5461         * LyXAction.C (init):
5462         * ToolbarDefaults.C (init):
5463         * commandtags.h:
5464         * lyxfunc.C (getStatus):
5465         remove LFUN_INSET_GRAPHICS.
5466
5467         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5468
5469 2003-03-07  Angus Leeming  <leeming@lyx.org>
5470
5471         * commandtags.h:
5472         * LyXAction.C (init):
5473         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5474
5475         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5476
5477         * commandtags.h:
5478         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5479
5480         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5481         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5482
5483 2003-03-07  Angus Leeming  <leeming@lyx.org>
5484
5485         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5486         remove "ert".
5487
5488 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * ParagraphList.C (front): new function
5491         (back): implement
5492
5493 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5494
5495         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5496         and top_row_offset_. removed var first_y.
5497         * text.C (top_y):
5498         * text2.C (LyXText, removeRow):
5499         * text3.C:
5500         * BufferView_pimpl.C:
5501         use these methods instead of using first_y
5502
5503 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * text2.C (pasteSelection): adjust for checkPastePossible
5506
5507         * CutAndPaste.C: remove Paragraph * buf and replace with
5508         ParagraphList paragraphs.
5509         (DeleteBuffer): delete
5510         (cutSelection): change the tc type to textclass_type
5511         (copySelection): change the tc type to textclass_type
5512         (copySelection): adjust for ParagraphList
5513         (pasteSelection): change the tc type to textclass_type
5514         (pasteSelection): adjust for Paragraphlist
5515         (nrOfParagraphs): simplify for ParagraphList
5516         (checkPastePossible): simplify for ParagraphList
5517         (checkPastePossible): remove unused arg
5518
5519         * ParagraphList.C (insert): handle the case where there are no
5520         paragraphs yet.
5521
5522         * CutAndPaste.h: make CutAndPaste a namespace.
5523
5524         * text3.C (dispatch): adjust
5525
5526         * text.C (breakParagraph): add a ParagraphList as arg
5527
5528         * paragraph_funcs.C (breakParagraph): change to take a
5529         BufferParams and a ParagraphList as args.
5530         (breakParagraphConservative): ditto
5531         (mergeParagraph): ditto
5532         (TeXDeeper): add a ParagraphList arg
5533         (TeXEnvironment): ditto
5534         (TeXOnePar): ditto
5535
5536         * buffer.C (readLyXformat2): adjust
5537         (insertStringAsLines): adjust
5538         (latexParagraphs): adjust
5539
5540         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5541         (cutSelection): adjust
5542         (pasteSelection): adjust
5543
5544         * BufferView_pimpl.C (insertInset): adjust
5545
5546 2003-03-05  Angus Leeming  <leeming@lyx.org>
5547
5548         * commandtags.h:
5549         * LyXAction.C (init):
5550         * BufferView_pimpl.C (dispatch):
5551         * lyxfunc.C (getStatus):
5552         remove LFUN_CHILD_INSERT.
5553
5554         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5555
5556 2003-03-05  Angus Leeming  <leeming@lyx.org>
5557
5558         * commandtags.h:
5559         * LyXAction.C (init):
5560         * src/factory.C (createInset):
5561         * lyxfunc.C (getStatus):
5562         * text3.C (dispatch):
5563         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5564
5565         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5566
5567 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * ParagraphList.C (insert): handle insert right before end()
5570         (erase): fix cases where it can be first or last paragraph.
5571
5572 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5575         Paragraph::next and Paragraph::previous
5576         (TeXOnePar): ditto
5577
5578         * text.C (breakParagraph): adjust
5579
5580         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5581         BufferParams& as arg.
5582         (breakParagraph): use ParagraphList::insert
5583         (breakParagraphConservative): take a Buffer* instead of a
5584         BufferParams& as arg.
5585         (breakParagraphConservative): use ParagraphList::insert.
5586
5587         * buffer.C (insertStringAsLines): un-const it
5588         (insertStringAsLines): adjust
5589
5590         * ParagraphList.C (insert): new function
5591
5592         * CutAndPaste.C (pasteSelection): adjust
5593
5594         * text.C (backspace): adjust
5595
5596         * tabular.C (SetMultiColumn): adjust
5597
5598         * CutAndPaste.C (cutSelection): adjust
5599         (pasteSelection): adjust
5600
5601         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5602         Buffer const * as arg
5603
5604         * ParagraphList.C (erase): new function
5605         * paragraph_funcs.C (mergeParagraph): use it
5606         (mergeParagraph): make it take a Buffer* instead of a
5607         BufferParams* as arg
5608
5609         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5610         as arg
5611         (breakParagraphConservative): ditto
5612
5613         * paragraph.h: remove the breakParagraph friend
5614
5615         * paragraph.C (eraseIntern): new function
5616         (setChange): new function
5617
5618         * paragraph_funcs.C (mergeParagraph): make it take a
5619         ParagraphList::iterator instead of a Paragraph *, adjust
5620         accordingly.
5621
5622         * paragraph.h: move an #endif so that the change tracking stuff
5623         also works in the NO_NEXT case.
5624
5625 2003-03-04  Angus Leeming  <leeming@lyx.org>
5626
5627         * commandtags.h:
5628         * LyXAction.C: new LFUN_INSET_MODIFY.
5629
5630         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5631         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5632
5633 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * several files: ws changes only
5636
5637         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5638         (TeXEnvironment): ditto
5639         (TeXDeeper): ditto
5640
5641         * buffer.C (makeLaTeXFile): adjust
5642         (latexParagraphs): make it take ParagraphList::iterator as args
5643
5644 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * buffer.C (latexParagraphs): adjust
5647
5648         * paragraph.C (TeXOnePar): move function...
5649         (optArgInset): move function...
5650         (TeXEnvironment): move function...
5651         * paragraph_pimpl.C (TeXDeeper): move function...
5652         * paragraph_funcs.C: ...here
5653
5654         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5655
5656 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * buffer.C (readInset): remove compability code for old Figure and
5659         InsetInfo insets
5660
5661 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5662
5663         * buffer.C: ws changes
5664         (readInset):
5665
5666         * BufferView_pimpl.C: ditto
5667         * author.C: ditto
5668         * buffer.h: ditto
5669         * bufferlist.h: ditto
5670         * changes.h: ditto
5671         * lyxfunc.C: ditto
5672
5673 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5674
5675         * converter.[Ch]: split into itself +
5676         * graph.[Ch]
5677         * format.[Ch]
5678         * Makefile.am: += graph.[Ch] + format.[Ch]
5679         * MenuBackend.C
5680         * buffer.C
5681         * exporter.C
5682         * importer.C
5683         * lyx_main.C
5684         * lyxfunc.C
5685         * lyxrc.C: added #include "format.h"
5686
5687 2003-02-27  Angus Leeming  <leeming@lyx.org>
5688
5689         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5690           a label.
5691
5692         * factory.C (createInset): add "label" to the factory.
5693
5694         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5695           string and do no more.
5696
5697 2003-02-27  Angus Leeming  <leeming@lyx.org>
5698
5699         * commandtags.h:
5700         * LyXAction.C (init):
5701         * factory.C (createInset):
5702         * BufferView_pimpl.C (dispatch):
5703           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5704
5705         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5706
5707         * lyxfunc.C (dispatch):
5708         * text3.C (dispatch): pass name to params2string.
5709
5710 2003-02-26  Angus Leeming  <leeming@lyx.org>
5711
5712         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5713           blocks together.
5714           Rearrange the ~includes. Strip out the unnecessary ones.
5715
5716         * factory.C (createInset): reformat.
5717           create new insets for the various LFUN_XYZ_APPLY lfuns.
5718
5719 2003-02-26  John Levon  <levon@movementarian.org>
5720
5721         * lyxrow.h:
5722         * lyxrow.C: add isParStart,isParEnd helpers
5723
5724         * paragraph.h: make isInserted/DeletedText take refs
5725
5726         * paragraph_funcs.h:
5727         * paragraph_funcs.C: remove #if 0'd code
5728
5729         * lyxtext.h:
5730         * text3.C:
5731         * text2.C:
5732         * text.C: use lyxrow helpers above.
5733           Move draw and paint routines to RowPainter.
5734           Make several methods use refs not pointers.
5735           Make backgroundColor() const.
5736           Add markChangeInDraw(), isInInset().
5737           Merge changeRegionCase into changeCase.
5738           Make workWidth() shouldn't-happen code into an Assert.
5739
5740         * rowpainter.h:
5741         * rowpainter.C: new class for painting a row.
5742
5743         * vspace.h:
5744         * vspace.C: make inPixels take a ref
5745
5746 2003-02-26  Angus Leeming  <leeming@lyx.org>
5747
5748         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5749         LFUN_REF_APPLY.
5750
5751 2003-02-25  John Levon  <levon@movementarian.org>
5752
5753         * ispell.C: give the forked command a more accurate name
5754
5755 2003-02-22  John Levon  <levon@movementarian.org>
5756
5757         * toc.h:
5758         * toc.C: make TocItem store an id not a Paragraph *
5759           (bug #913)
5760
5761 2003-02-21  Angus Leeming  <leeming@lyx.org>
5762
5763         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5764           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5765           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5766           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5767           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5768           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5769
5770         * BufferView_pimpl.C (dispatch):
5771         * LyXAction.C (init):
5772         * factory.C (createInset):
5773         * lyxfunc.C (getStatus, dispatch):
5774         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5775
5776 2003-02-21  Angus Leeming  <leeming@lyx.org>
5777
5778         * BufferView_pimpl.C (MenuInsertLyXFile):
5779         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5780         * lyxfunc.C (menuNew, open, doImport):
5781           no longer pass a LyXView & to fileDlg.
5782
5783 2003-02-21  Angus Leeming  <leeming@lyx.org>
5784
5785         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5786         * LyXAction.C: change, BIBKEY to BIBITEM.
5787         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5788         Change InsetBibKey to InsetBibitem.
5789         Change BIBKEY_CODE to BIBITEM_CODE.
5790         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5791         * factory.C: replace insetbib.h with insetbibitem.h.
5792         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5793         * paragraph.C: replace insetbib.h with insetbibitem.h.
5794         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5795         Change bibkey() to bibitem().
5796         * text.C: remove insetbib.h.
5797         * text2.C: replace insetbib.h with insetbibitem.h.
5798         change bibkey() to bibitem().
5799         * text3.C: remove insetbib.h.
5800         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5801
5802 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5803
5804         * lyxrc.C (output): enclose user email in quotes (in case there are
5805         several words)
5806
5807 2003-02-18  John Levon  <levon@movementarian.org>
5808
5809         * buffer.h: add std::
5810
5811 2003-02-17  John Levon  <levon@movementarian.org>
5812
5813         * SpellBase.h:
5814         * ispell.h:
5815         * ispell.C:
5816         * pspell.h:
5817         * pspell.C: reworking. Especially in ispell, a large
5818           number of clean ups and bug fixes.
5819
5820         * lyxfunc.C: fix revert to behave sensibly
5821
5822 2003-02-17 André Pönitz <poenitz@gmx.net>
5823
5824         * LyXAction.C:
5825         * commandtags.h: new LFUN_INSERT_BIBKEY
5826
5827         * layout.h:
5828         * lyxlayout.C:
5829         * buffer.C:
5830         * factory.C:
5831         * text.C:
5832         * text2.C:
5833         * text3.C:
5834         * paragraph.[Ch]:
5835         * paragraph_func.C: remove special bibkey handling
5836
5837 2003-02-17  John Levon  <levon@movementarian.org>
5838
5839         * text.C (Delete): fix case where delete at the end of
5840           the very first paragraph would not merge the pars
5841
5842 2003-02-17  John Levon  <levon@movementarian.org>
5843
5844         * lyxrow.C: fix lastPrintablePos()
5845
5846 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5847
5848         * bufferparams.C (writeLaTeX): add a std:here
5849
5850         * buffer.C: and remove a using directive there
5851
5852 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5853
5854         * buffer.C (makeLaTeXFile): move the code that generates the
5855           preamble...
5856
5857         * bufferparams.C (writeLaTeX): ... in this new method
5858
5859         * LaTeXFeatures.C (getEncodingSet): make const
5860           (getLanguages): make const
5861
5862         * MenuBackend.C (binding): returns the binding associated to this
5863           action
5864           (add): sets the status of each item by calling getStatus. Adds
5865           some intelligence.
5866           (read): add support for OptSubMenu
5867           (expand): remove extra separator at the end of expanded menu
5868
5869 2003-02-15  John Levon  <levon@movementarian.org>
5870
5871         * BufferView.C:
5872         * BufferView_pimpl.C:
5873         * bufferlist.h:
5874         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5875           inset code that had no actual effect. Remove unneeded status
5876           code.
5877
5878 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5879
5880         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5881           in preamble
5882
5883 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5884
5885         * text.C (drawLengthMarker): also draw an arrow marker for
5886           symbolic lengths (medskip...)
5887
5888 2003-02-14  John Levon  <levon@movementarian.org>
5889
5890         * tabular.h:
5891         * tabular.C: better method names
5892
5893 2003-02-14  John Levon  <levon@movementarian.org>
5894
5895         * BufferView_pimpl.C:
5896         * bufferlist.C:
5897         * buffer.C:
5898         * converter.C:
5899         * lyx_cb.C:
5900         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5901           it's a more accurate name. Remove some pointless uses.
5902
5903 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5904
5905         * text2.C (LyXText): change order of initilizers to shut off
5906           warnings
5907
5908 2003-02-14  John Levon  <levon@movementarian.org>
5909
5910         * buffer.C: use ParIterator for getParFromID()
5911
5912         * paragraph.h:
5913         * paragraph.C:
5914         * paragraph_pimpl.h:
5915         * paragraph_pimpl.C: remove unused getParFromID()
5916
5917 2003-02-14  John Levon  <levon@movementarian.org>
5918
5919         * buffer.C: remove some very old #if 0'd parse code
5920
5921 2003-02-13  John Levon  <levon@movementarian.org>
5922
5923         * text.h:
5924         * text.C:
5925         * text2.C: move hfillExpansion(), numberOfSeparators(),
5926           rowLast(), rowLastPrintable(), numberofHfills(),
5927           numberOfLabelHfills() ...
5928
5929         * lyxrow.h:
5930         * lyxrow.C: ... to member functions here.
5931
5932         * paragraph.h:
5933         * paragraph.C:
5934         * lyxtext.h:
5935         * text.C: remove LyXText::beginningOfMainBody(), and call
5936           p->beginningOfMainBody() directly. Move the check for
5937           LABEL_MANUAL into the latter.
5938
5939         * text.h:
5940         * text.C:
5941         * text2.C:
5942         * vspace.C:
5943         * BufferView.h:
5944         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5945
5946         * text.h:
5947         * text.C:
5948         * text2.C:
5949         * text3.C:
5950         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5951           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5952
5953 2003-02-13  John Levon  <levon@movementarian.org>
5954
5955         * CutAndPaste.C: remove debug
5956
5957 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5958
5959         * paragraph.C (asString): remove two unused variables
5960
5961         * lyxtextclass.C (readTitleType):
5962           (Read):
5963           (LyXTextClass): handle new members titletype_ and titlename_
5964
5965         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5966
5967 2003-02-09  John Levon  <levon@movementarian.org>
5968
5969         * buffer.h:
5970         * buffer.C: replace hand-coded list with a map for the dep clean
5971
5972 2003-02-08  John Levon  <levon@movementarian.org>
5973
5974         * LaTeX.C: consolidate code into showRunMessage() helper
5975
5976 2003-02-08  John Levon  <levon@movementarian.org>
5977
5978         * lyxfind.C:
5979         * lyxtext.h:
5980         * text2.C:
5981         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5982           and pass the size in explicitly
5983
5984         * BufferView_pimpl.h:
5985         * BufferView_pimpl.C:
5986         * BufferView.h:
5987         * BufferView.C: add getCurrentChange()
5988
5989         * BufferView_pimpl.h:
5990         * BufferView_pimpl.C: handle change lfuns
5991
5992         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5993           for changes. Mark pasted paragraphs as new.
5994
5995         * support/lyxtime.h:
5996         * support/lyxtime.C:
5997         * DepTable.C: abstract time_t as lyx::time_type
5998
5999         * LColor.h:
6000         * LColor.C: add colours for new text, deleted text, changebars
6001
6002         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6003           package use "usenames" option.
6004
6005         * commandtags.h:
6006         * lyxfunc.C:
6007         * LyXAction.C: add change lfuns
6008
6009         * Makefile.am:
6010         * author.h:
6011         * author.C: author handling
6012
6013         * buffer.h:
6014         * buffer.C: add a per-buffer author list, with first entry as
6015           current author. Handle new .lyx tokens for change tracking. Output
6016           author list to .lyx file. Output dvipost stuff to .tex preamble.
6017           Bump lyx format to 222.
6018
6019         * bufferlist.h:
6020         * bufferlist.C: add setCurrentAuthor() to reset current author details
6021           in all buffers.
6022
6023         * bufferparams.h:
6024         * bufferparams.C: add param for tracking
6025
6026         * bufferview_funcs.C: output change info in minibuffer
6027
6028         * Makefile.am:
6029         * changes.h:
6030         * changes.C: add change-tracking structure
6031
6032         * debug.h:
6033         * debug.C: add CHANGES debug flag
6034
6035         * lyxfind.h:
6036         * lyxfind.C: add code for finding the next change piece
6037
6038         * lyxrc.h:
6039         * lyxrc.C: add user_name and user_email
6040
6041         * lyxrow.h:
6042         * lyxrow.C: add a metric for the top of the text line
6043
6044         * lyxtext.h:
6045         * text.C: implement accept/rejectChange()
6046
6047         * lyxtext.h:
6048         * text.C: paint changebars. Paint new/deleted text in the chosen
6049         colours. Strike through deleted text.
6050
6051         * paragraph.h:
6052         * paragraph.C:
6053         * paragraph_pimpl.h:
6054         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6055           in the current change to the insert functions. Rework erase to
6056           mark text as deleted, adding an eraseIntern() and a range-based
6057           erase(). Implement per-paragraph change lookup and
6058           accept/reject.
6059
6060         * paragraph_funcs.C: Fixup paste for change tracking.
6061
6062         * tabular.C: mark added row/columns as new.
6063
6064         * text.C: fix rowLast() to never return -1. Don't allow
6065           spellchecking of deleted text. Track transpose changes. Don't
6066           allow paragraph break or merge where appropriate.
6067
6068         * text2.C: leave cursor at end of selection after a cut.
6069
6070 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6071
6072         * text.C (getLengthMarkerHeight):
6073         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6074         visible on screen too.
6075
6076 2003-02-07  John Levon  <levon@movementarian.org>
6077
6078         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6079
6080 2003-02-05  Angus Leeming  <leeming@lyx.org>
6081
6082         * lyxserver.C (read_ready): revert my patch of 11 September last year
6083         as it sends PC cpu through the roof. Presumably this means that
6084         the lyxserver will no longer run on an Alpha...
6085
6086 2003-01-30  Angus Leeming  <leeming@lyx.org>
6087
6088         * factory.C (createInset): create an InsetCommandParam of type "index"
6089         and use it to 'do the right thing'.
6090
6091         * text2.C (getStringToIndex): ensure that cursor position is always
6092         reset to the reset_cursor position.
6093
6094 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6095
6096         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6097         disabled.
6098
6099 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6100
6101         * bufferview.C:
6102         * lyxcb.C:
6103         * lyxfunc.C: Output messages with identical spelling, punctuation,
6104         and spaces
6105
6106 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6107
6108         * MenuBackend.C (expandFormats): List only viewable export formats
6109         in "View" menu
6110
6111         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6112         message
6113
6114         * lyxfunc.C (getStatus): Make sure that formats other than
6115         "fax" can also be disabled
6116
6117 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6118
6119         * text3.C (dispatch): put the lfuns that insert insets in 3
6120         groups, and call doInsertInset with appropriate arguments.
6121         (doInsertInset): new function, that creates an inset and inserts
6122         it according to some boolean parameters.
6123
6124 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * buffer.C (readFile): remember to pass on 'par' when calling
6127         readFile recursively.
6128
6129 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6130
6131         * MenuBackend.C (expandFormats): add "..." to import formats.
6132
6133 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6134
6135         * paragraph.C (asString): Remove XForms RTL hacks.
6136
6137 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6138         * buffer.C: fix typo
6139
6140 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * Makefile.am (LIBS): delete var
6143         (lyx_LDADD): add @LIBS@ here instead.
6144
6145 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6146
6147         * Clarify the meaning of "wheel mouse jump"
6148
6149 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6150
6151         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6152         tabular in a float
6153
6154 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6155
6156         * importer.C (Loaders): do not preallocate 3 elements in the
6157         vector, since one ends up with 6 elements otherwise
6158
6159 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6160
6161         * DepTable.C (write): write the file name as last element of the
6162         .dep file (because it may contain spaces)
6163         (read): read info in the right order
6164
6165 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6166
6167         * paragraph_pimpl.C (simpleTeXBlanks):
6168         (simpleTeXSpecialChars):
6169         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6170
6171         * tabular.C (latex): add some missing case statements. Reindent.
6172
6173         * MenuBackend.C (expandToc): remove unused variable.
6174
6175 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6176
6177         * LColor.C:
6178         * LaTeX.C:
6179         * LyXAction.C:
6180         * MenuBackend.C:
6181         * buffer.C:
6182         * exporter.C:
6183         * lyxfunc.C:
6184         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6185         and the like.
6186
6187 2003-01-05  John Levon  <levon@movementarian.org>
6188
6189         * BufferView.h:
6190         * BufferView.C: add getEncoding()
6191
6192         * kbsequence.h:
6193         * kbsequence.C: do not store last keypress
6194
6195         * lyxfunc.h:
6196         * lyxfunc.C: store last keypress here instead. Pass encoding
6197           to getISOEncoded()
6198
6199 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6200
6201         * lyx_main.C (init): remove annoying error message when following
6202         symbolic links (bug #780)
6203
6204 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6205
6206         * text.C (insertChar):
6207         * lyxrc.C (getDescription): remove extra spaces
6208
6209 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6210
6211         * lyxrc.C (getDescription): remove extra spaces
6212
6213 2002-12-20  John Levon  <levon@movementarian.org>
6214
6215         * text3.C: hack fix for page up/down across tall rows
6216
6217 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6218
6219         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6220         not been invoked
6221
6222 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6225         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6226         thesaurus is not compiled in
6227
6228 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6229
6230         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6231
6232 2002-12-16  Angus Leeming  <leeming@lyx.org>
6233
6234         * lyxrc.[Ch]:
6235         * lyx_main.C (init): remove override_x_deadkeys stuff.
6236
6237 2002-12-12  John Levon  <levon@movementarian.org>
6238
6239         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6240           insert. Only remove shift modifier under strict
6241           circumstances.
6242
6243 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * MenuBackend.C (expandToc): fix crash.
6246
6247 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * MenuBackend.C (expandToc): gettext on float names.
6250
6251 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6252
6253         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6254         implement bool empty() [bug 490]
6255
6256 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6259
6260 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * several files: ws changes
6263
6264 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * text2.C (setCounter): clean up a bit, use boost.format.
6267         (updateCounters): initialize par upon declaration.
6268
6269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6270         if the layout exists. We do not just store the layout any more.
6271         (SwitchLayoutsBetweenClasses): use boost.format
6272
6273 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6274
6275         * converter.C (convert): if from and to files are the same, use a
6276         temporary files as intermediary
6277
6278 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6279
6280         * commandtags.h:
6281         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6282
6283 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6284
6285         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6286
6287 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * tabular.C (asciiPrintCell): use string(size, char) instead of
6290         explicit loop.
6291
6292         * sgml.C (openTag): fix order of arguments to string constructor
6293         (closeTag): ditto
6294
6295         * lyxfunc.C (dispatch): use boost.format
6296
6297         * lots of files: change "c" -> 'c'
6298
6299 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6300
6301         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6302
6303 2002-11-25  Angus Leeming  <leeming@lyx.org>
6304
6305         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6306
6307         * lyx_main.C (init): compile fix.
6308
6309 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * lyx_cb.C (start): boost.formatify
6312         do not include <iostream>
6313
6314         * lengthcommon.C: ws only
6315
6316         * boost-inst.C,BoostFormat.h: add more explict instantations
6317
6318 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * lots of files: handle USE_BOOST_FORMAT
6321
6322 2002-11-21  John Levon  <levon@movementarian.org>
6323
6324         * pspell.C: fix compile
6325
6326 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6327
6328         * lyxfunc.C (dispatch): use boost::format
6329         (open): ditto
6330         (doImport): ditto
6331
6332         * lyxfont.C (stateText): use boost::format
6333
6334         * lyx_main.C (LyX): use boost::format
6335         (init): ditto
6336         (queryUserLyXDir): ditto
6337         (readRcFile): ditto
6338         (parse_dbg): ditto
6339         (typedef boost::function): use the recommened syntax.
6340
6341         * importer.C (Import): use boost::format
6342
6343         * debug.C (showLevel): use boost::format
6344
6345         * converter.C (view): use boost::format
6346         (convert): ditto
6347         (move): ditto
6348         (scanLog): ditto
6349
6350         * bufferview_funcs.C (currentState): use boost::format
6351
6352         * bufferlist.C (emergencyWrite): use boost::format
6353
6354         * buffer.C (readLyXformat2): use boost::format
6355         (parseSingleLyXformat2Token): ditto
6356
6357         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6358
6359         * LaTeX.C (run): use boost::format
6360
6361         * Chktex.C (scanLogFile): use boost::format
6362
6363         * BufferView_pimpl.C (savePosition): use boost::format
6364         (restorePosition): ditto
6365         (MenuInsertLyXFile): ditto
6366
6367         * BoostFormat.h: help file for explicit instation.
6368
6369 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6370
6371         * tabular.C (latex): Support for block alignment in fixed width
6372         columns.
6373
6374 2002-11-17  John Levon  <levon@movementarian.org>
6375
6376         * BufferView_pimpl.C:
6377         * lyx_cb.C:
6378         * lyxfunc.C: split filedialog into open/save
6379
6380 2002-11-08  Juergen Vigna  <jug@sad.it>
6381
6382         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6383         by my last patch (hopefully).
6384
6385 2002-11-08  John Levon  <levon@movementarian.org>
6386
6387         * iterators.h:
6388         * iterators.C:
6389         * buffer.h:
6390         * buffer.C:
6391         * paragraph.h:
6392         * paragraph.C:
6393         * toc.h:
6394         * toc.C: ParConstIterator, and use it (from Lars)
6395
6396 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6397
6398         * lyxtextclass.[Ch]: revise and add doxygen comments
6399
6400 2002-11-07  John Levon  <levon@movementarian.org>
6401
6402         * text.C: fix progress value for spellchecker
6403
6404         * toc.C: fix navigate menu for insetwrap inside minipage
6405
6406         * paragraph_funcs.C: added FIXME for suspect code
6407
6408 2002-11-07  John Levon  <levon@movementarian.org>
6409
6410         * BufferView_pimpl.C: fix redrawing of insets
6411           on buffer switch
6412
6413 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6414
6415         * text2.C (updateCounters): fix bug 668
6416
6417 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6418
6419         * text3.C (dispatch): Do not make the buffer dirty when moving the
6420         cursor.
6421
6422 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * vc-backend.C: STRCONV
6425         (scanMaster): ditto
6426
6427         * text2.C (setCounter): STRCONV
6428
6429         * paragraph.C (asString): STRCONV
6430
6431         * lyxlength.C (asString): STRCONV
6432         (asLatexString): ditto
6433
6434         * lyxgluelength.C (asString): STRCONV
6435         (asLatexString): ditto
6436
6437         * lyxfunc.C (dispatch): STRCONV
6438         (open): ditto
6439
6440         * lyxfont.C (stateText): STRCONV
6441
6442         * importer.C (Import): STRCONV
6443
6444         * counters.C (labelItem): STRCONV
6445         (numberLabel): ditto
6446         (numberLabel): remove unused ostringstream o
6447
6448         * chset.C: STRCONV
6449         (loadFile): ditto
6450
6451         * bufferview_funcs.C (currentState): STRCONV
6452
6453         * buffer.C (readFile): STRCONV
6454         (asciiParagraph): ditto
6455         (makeLaTeXFile): ditto
6456
6457         * Spacing.C (writeEnvirBegin): STRCONV
6458
6459         * LaTeXFeatures.C (getLanguages): STRCONV
6460         (getPackages): ditto
6461         (getMacros): ditto
6462         (getBabelOptions): ditto
6463         (getTClassPreamble): ditto
6464         (getLyXSGMLEntities): ditto
6465         (getIncludedFiles): ditto
6466
6467         * LaTeX.C: STRCONV
6468         (run): ditto
6469         (scanAuxFile): ditto
6470         (deplog): ditto
6471
6472         * LString.h: add the STRCONV macros
6473
6474         * BufferView_pimpl.C (savePosition): STRCONV
6475         (restorePosition): ditto
6476         (MenuInsertLyXFile): ditto
6477
6478         * vc-backend.C (scanMaster): change from submatch[...] to
6479         submatch.str(...)
6480
6481         * funcrequest.C: include config.h
6482
6483         * factory.C: include config.h
6484
6485         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6486
6487         * box.C: include config.h
6488
6489         * LaTeX.C (scanAuxFile): change from submatch[...] to
6490         submatch.str(...)
6491         (deplog): ditto
6492
6493 2002-10-25  Angus Leeming  <leeming@lyx.org>
6494
6495         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6496
6497         * ispell.[Ch] (setError): new method.
6498         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6499         Use setError() insetead of goto END.
6500
6501         * lyx_cb.C (AutoSave): move out child process into new class
6502         AutoSaveBuffer.
6503
6504 2002-10-30  John Levon  <levon@movementarian.org>
6505
6506         * text3.C: make start appendix undoable
6507
6508 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6509
6510         * lyxlength.C (inPixels): Fix returned value.
6511
6512         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6513         environment.
6514
6515 2002-10-24  Angus Leeming  <leeming@lyx.org>
6516
6517         * lyxgluelength.h: no need to forward declare BufferParams
6518         or BufferView, so don't.
6519
6520 2002-10-21  John Levon  <levon@movementarian.org>
6521
6522         * BufferView.C: menuUndo ->undo, redo
6523
6524         * BufferView.h: document, remove dead, make some methods private
6525
6526         * paragraph_funcs.h:
6527         * paragraph_funcs.C:
6528         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6529
6530         * buffer.h:
6531         * buffer.C:
6532         * sgml.h:
6533         * sgml.C: move sgml open/close tag into sgml.C
6534
6535         * bufferview_funcs.h: unused prototype
6536
6537         * lyxfunc.h:
6538         * lyxfunc.C: remove unused
6539
6540         * lyxtext.h:
6541         * text.C: remove unused
6542
6543 2002-10-21  John Levon  <levon@movementarian.org>
6544
6545         * BufferView.h:
6546         * BufferView.C:
6547         * BufferView_pimpl.h:
6548         * BufferView_pimpl.C: fix mouse wheel handling based on
6549           patch from Darren Freeman
6550
6551 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6552
6553         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6554
6555 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6556
6557         * lyxlength.C (inPixels): Fix hanfling of negative length.
6558         Fix LyXLength::MU case.
6559
6560 2002-10-16  John Levon  <levon@movementarian.org>
6561
6562         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6563
6564 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6565
6566         * converter.C (view): add support for $$i (file name) and $$p
6567         (file path) for the viewer command. If $$i is not specified, then
6568         it is appended to the command (for compatibility with old syntax)
6569
6570 2002-10-14  Juergen Vigna  <jug@sad.it>
6571
6572         * undo_funcs.C (textHandleUndo): alter the order in which the
6573         new undopar is added to the LyXText, as we have to set first
6574         the right prev/next and then add it as otherwise the rebuild of
6575         LyXText is not correct. Also reset the cursor to the right paragraph,
6576         with this IMO we could remove the hack in "redoParagraphs()".
6577
6578 2002-10-09  Angus Leeming  <leeming@lyx.org>
6579
6580         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6581         to turn off an optimisation if a new inset is to be inserted.
6582
6583 2002-10-11 André Pönitz <poenitz@gmx.net>
6584
6585         * lyxtext.h: make some functions public to allow access
6586         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6587
6588 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6589
6590         * text3.C (dispatch): when changing layout, avoid an infinite loop
6591         [bug #652]
6592
6593 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6594
6595         * lyxrc.C (read): treat a viewer or converter command of "none" as
6596         if it were empty.
6597
6598         * MenuBackend.C (expandFormats): for an update, also allow the
6599         formats that are not viewable
6600
6601         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6602         script if it is newer than the lyxrc.defaults in user directory
6603
6604 2002-10-07 André Pönitz <poenitz@gmx.net>
6605
6606         * text.C: Vitaly Lipatov's small i18n fix
6607
6608 2002-09-25  Angus Leeming  <leeming@lyx.org>
6609
6610         * ispell.h: doxygen fix.
6611
6612 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6613
6614         * buffer.h (readFile): Add a new argument to the method, to allow
6615         reading of old-format templates.
6616
6617 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6618
6619         * toc.C (getTocList): Get TOC from InsetWrap.
6620
6621 2002-09-16  John Levon  <levon@movementarian.org>
6622
6623         * lyxfunc.C: check tabular for cut/copy too
6624
6625 2002-09-12  John Levon  <levon@movementarian.org>
6626
6627         * LyXAction.C: tidy
6628
6629         * factory.h:
6630         * factory.C: add header
6631
6632         * paragraph_funcs.h:
6633         * paragraph_funcs.C: cleanup
6634
6635 2002-09-11  John Levon  <levon@movementarian.org>
6636
6637         * PrinterParams.h: odd/even default to true
6638
6639 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6640
6641         * PrinterParams.h: update printer parameters for new xforms dialog
6642
6643 2002-09-11  Angus Leeming  <leeming@lyx.org>
6644
6645         * lyxserver.C (read_ready): re-write to make it more transparent
6646         and to make it work in coherent fashion under Tru64 Unix.
6647
6648 2002-09-11  André Pönitz <poenitz@gmx.net>
6649
6650         * commandtags.h:
6651         * LyXAction.C:
6652         * text3.C: implement LFUN_WORDSEL
6653
6654 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6657         make floatlist_ a boost::shared_ptr<FloatList>
6658
6659         * lyxtextclass.C: include FloatList.h
6660         (LyXTextClass): initialize floatlist_
6661         (TextClassTags): add TC_NOFLOAT
6662         (Read): match "nofloat" to TC_NOFLOAT and use it.
6663         (readFloat): modify call to floatlist_
6664         (floats): ditto
6665         (floats): ditto
6666
6667         * FloatList.[Ch] (FloatList): remove commented out float
6668         initialization.
6669         (erase): new function
6670
6671 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6672
6673         * MenuBackend.C (expandToc): fix crash when there is no document
6674         open
6675
6676 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6677
6678         * many files: Add insetwrap.
6679
6680 2002-09-09  John Levon  <levon@movementarian.org>
6681
6682         * text2.C: remove confusing and awkward depth wraparound
6683
6684 2002-09-09  John Levon  <levon@movementarian.org>
6685
6686         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6687
6688         * buffer.h:
6689         * buffer.C: remove getIncludeonlyList()
6690
6691         * paragraph.C:
6692         * lyxfunc.C: remove headers
6693
6694 2002-09-09  Juergen Vigna  <jug@sad.it>
6695
6696         * text.C (getColumnNearX): fix form Michael this is most
6697         probably a cut&paste bug.
6698
6699 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6702
6703         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6704         references, ws changes.
6705
6706         * text2.C (init): update counters after init
6707         (insertParagraph): no need to set counter on idividual paragraphs.
6708         (setCounter): access the counters object in the textclass object
6709         on in the buffer object.
6710         (updateCounters): ditto
6711
6712         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6713         shared_ptr<Counters> to avoid loading counters.h in all
6714         compilation units.
6715         (LyXTextClass): initialize ctrs_
6716         (TextClassTags): add TC_COUNTER, and ...
6717         (Read): use it here.
6718         (CounterTags): new tags
6719         (readCounter): new function
6720         (counters): new funtion
6721         (defaultLayoutName): return a const reference
6722
6723         * counters.C (Counters): remove contructor
6724         (newCounter): remove a couple of unneeded statements.
6725         (newCounter): simplify a bit.
6726         (numberLabel): some small formatting changes.
6727
6728         * buffer.[Ch]: remove all traces of counters, move the Counters
6729         object to the LyXTextClass.
6730
6731 2002-09-06  Alain Castera  <castera@in2p3.fr>
6732
6733         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6734         package to set the horizontal alignment on fixed width columns.
6735
6736         * lyx_sty.C:
6737         * lyx_sty.h: added tabularnewline macro def.
6738
6739         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6740
6741 2002-09-06  John Levon  <levon@movementarian.org>
6742
6743         * LyXAction.C: tooltips for sub/superscript
6744
6745         * MenuBackend.C: a bit more verbose
6746
6747         * lyxfunc.C: tiny clean
6748
6749         * undo_funcs.C: document undo_frozen
6750
6751 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * counters.C (Counters): add missing algorithm counter.
6754
6755         * text2.C (setCounter): lookup the counter with layouts latexname
6756         instead of by section number.
6757         (setCounter): use a hackish way to lookup the correct enum
6758         counter.
6759         a float name->type change
6760         reset enum couners with counter name directly instead of depth value.
6761
6762         * counters.C (Counters): remove the push_backs, change to use the
6763         float type not the float name.
6764         (labelItem): remove unused string, float name->type change
6765
6766         * counters.h: don't include vector, loose the enums and sects vectors
6767
6768 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6771         (Read): add float->TC_FLOAT to textclassTags
6772         (Read): and handle it in the switch
6773         (readFloat): new function
6774
6775         * FloatList.C (FloatList): comment out the hardcoded float
6776         definitions.
6777
6778         * lyxlayout.h: ws change.
6779
6780 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6781
6782         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6783
6784 2002-09-03  Angus Leeming  <leeming@lyx.org>
6785
6786         * BufferView_pimpl.h: qualified name is not allowed in member
6787         declaration: WorkArea & Pimpl::workarea() const;
6788
6789         * factory.C: added using std::endl directive.
6790
6791         * text3.C: added using std::find and std::vector directives.
6792
6793 2002-08-29  André Pönitz <poenitz@gmx.net>
6794
6795         * lyxtext.h:
6796         * text2.C: remove unused member number_of_rows
6797
6798         * Makefile.am:
6799         * BufferView2.C: remove file, move contents to...
6800         * BufferView.C: ... here
6801
6802         * BufferView_pimpl.C:
6803         * factory.C: move more inset creation to factory
6804
6805         * vspace.C: avoid direct usage of LyXText, ws changes
6806
6807         * BufferView.[Ch]:
6808                 don't provide direct access to WorkArea, use two simple
6809                 acessors haveSelction() and workHeight() instead
6810
6811
6812 2002-08-29  John Levon  <levon@movementarian.org>
6813
6814         * BufferView_pimpl.C (dispatch): do not continue when
6815           no buffer
6816
6817 2002-08-28  André Pönitz <poenitz@gmx.net>
6818
6819         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6820
6821         * BufferView.h:
6822         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6823
6824 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6825
6826         * buffer.C: increment LYX_FORMAT to 221
6827
6828         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6829         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6830
6831         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6832
6833         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6834
6835 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6836
6837         * factory.C (createInset): use LyXTextClass::floats
6838
6839         * MenuBackend.C (expandFloatListInsert):
6840         (expandFloatInsert):
6841         (expandToc):
6842
6843         * text2.C (setCounter):
6844
6845         * LaTeXFeatures.C (useFloat):
6846         (getFloatDefinitions):
6847
6848         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6849
6850         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6851         floatlist_, with accessor floats().
6852
6853         * FloatList.h: remove global FloatList
6854
6855 2002-08-26  André Pönitz <poenitz@gmx.net>
6856
6857         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6858
6859         * BufferView.h:
6860         * BufferView2.C:
6861         * BufferView_pimpl.C:
6862         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6863
6864 2002-08-25  John Levon  <levon@movementarian.org>
6865
6866         * LyXAction.C: fix margin note description
6867
6868 2002-08-24  John Levon  <levon@movementarian.org>
6869
6870         * buffer.C:
6871         * bufferlist.C:
6872         * bufferview_funcs.C:
6873         * lyxfont.C:
6874         * undo_funcs.C: cleanups
6875
6876         * lyxfunc.C: disable CUT/COPY when no selection
6877
6878 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6879
6880         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6881         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6882
6883         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6884         Add backward compatibility to "mono", "gray" and "no".
6885
6886 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6887
6888         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6889         (and file_format >= 200).
6890
6891 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6892
6893         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6894
6895 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6896
6897         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6898
6899 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6900
6901         * BufferView_pimpl.C:
6902         * LyXAction.C:
6903         * buffer.C:
6904         * commandtags.h:
6905         * lyxfunc.C:
6906         * paragraph.[Ch]:
6907         * text2.C:
6908         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6909         inset and code to make it  work with the paragraph code. The inset
6910         can be anywhere in the paragraph, but will only do the expected
6911         thing in LaTeX if the layout file contains the parameter line
6912                         OptionalArgs    1
6913         (or more generally, a nonzero value) for that layout.
6914
6915 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * paragraph.h: remove the declaration of undefined counters class
6918         function.
6919
6920 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6921
6922         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6923         Dr. Richard Hawkins.
6924
6925 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6926
6927         * paragraph_funcs.h: remove some unneeded includes
6928
6929         * text.C (backspace): pasteParagraph now in global scipe
6930
6931         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6932         (pasteSelection): ditto
6933
6934         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6935         * paragraph_funcs.C (pasteParagraph): ... here
6936
6937 2002-08-20  André Pönitz <poenitz@gmx.net>
6938
6939         * commandtags.h: new LFUNs for swapping/copying table row/colums
6940
6941         * LyXAction.C:
6942         * lyxfunc.C: support for new lfuns
6943
6944 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * tabular.C:
6947         * buffer.[Ch]: remove NO_COMPABILITY stuff
6948
6949 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * boost.C (throw_exception): new file, with helper function for
6952         boost compiled without exceptions.
6953
6954         * paragraph.h:
6955         * lyxlength.C:
6956         * buffer.C:
6957         * ParameterStruct.h:
6958         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6959
6960         * bufferlist.C (emergencyWriteAll): use boost bind
6961
6962         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6963
6964         * text.C: include paragraph_funcs.h
6965         (breakParagraph): breakParagraph is now in global scope
6966
6967         * paragraph_funcs.[Ch]: new files
6968
6969         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6970         global scope
6971
6972         * buffer.C: include paragraph_funcs.h
6973         (insertStringAsLines): breakParagraph is now in global scope
6974
6975         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6976         paragraph_funcs.C
6977
6978         * CutAndPaste.C: include paragraph_funcs.h
6979         (cutSelection): breakParagraphConservative is now in global scope
6980         (pasteSelection): ditto
6981
6982         * buffer.h: declare oprator== and operator!= for
6983         Buffer::inset_iterator
6984
6985         * bufferlist.C (emergencyWrite): don't use fmt(...)
6986
6987         * text3.C: add using std::endl
6988
6989         * BufferView.C (moveCursorUpdate): remove default arg
6990
6991 2002-08-20  André Pönitz <poenitz@gmx.net>
6992
6993         * buffer.[Ch]: move inline functions to .C
6994
6995         * BufferView2.C:
6996         * BufferView_pimpl.C:
6997         * text.C:
6998         * buffer.[Ch]: use improved inset_iterator
6999
7000         * buffer.C:
7001         * paragraph.[Ch]: write one paragraph at a time
7002
7003 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7004
7005         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7006         style if style is not specified.
7007
7008 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7009
7010         * text2.C (setCounter): when searching for right label for a
7011         caption, make sure to recurse to parent insets (so that a caption
7012         in a minipage in a figure float works) (bug #568)
7013
7014 2002-08-20  André Pönitz <poenitz@gmx.net>
7015
7016         * text3.C: new file for LyXText::dispatch() and helpers
7017
7018         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7019
7020         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7021
7022 2002-08-19  André Pönitz <poenitz@gmx.net>
7023
7024         * lyxtext.h:
7025         * text.C: new LyXText::dispatch()
7026
7027         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7028
7029 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7030
7031         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7032
7033         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7034         Hebrew text.
7035
7036 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7037
7038         * Makefile.am: use $(variables) instead of @substitutions@
7039
7040 2002-08-15  André Pönitz <poenitz@gmx.net>
7041
7042         * lyxfunc.C:
7043         * BufferView_pimpl.C: streamlining mathed <-> outer world
7044         interaction
7045
7046         * commandtags.h:
7047         * LyXAction.C: remove unused LFUN_MATH
7048
7049 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7052
7053 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * paragraph.C (Paragraph): reformat a bit
7056         (cutIntoMinibuffer): use builtin InsetList function instad of
7057         doing it manually.
7058         (getInset): ditto
7059
7060         * buffer.C: include boost/bind.hpp, add using std::for_each
7061         (writeFileAscii): use ParagraphList iterators
7062         (validate): use for_each for validate traversal of paragraphs
7063         (getBibkeyList): use ParagraphList iterators
7064         (resizeInsets): use for_each to resizeInsetsLyXText for all
7065         paragraphs.
7066         (getParFromID): use ParagraphList iterators
7067
7068         * BufferView2.C (lockInset): use paragraph list and iterators
7069
7070 2002-08-14  John Levon  <levon@movementarian.org>
7071
7072         * lyxserver.C: remove spurious xforms include
7073
7074 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7075
7076         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7077
7078 2002-08-13  André Pönitz <poenitz@gmx.net>
7079
7080         * LyXAction.[Ch]:
7081         * lyxfunc.C: further cleaning
7082
7083 2002-08-13  André Pönitz <poenitz@gmx.net>
7084
7085         * funcrequest.h: new constructor
7086
7087         * funcrequest.C: move stuff here from .h
7088
7089         * Makefile.am:
7090         * BufferView_pimpl.C:
7091         * LyXAction.C:
7092         * toc.C:
7093         * lyxfunc.C: subsequent changes
7094
7095         * lyxfunc.h: new view() member function
7096
7097         * lyxfunc.C: subsequent changes
7098
7099 2002-08-13  Angus Leeming  <leeming@lyx.org>
7100
7101         * BufferView2.C:
7102         * BufferView_pimpl.C:
7103         * buffer.C:
7104         * converter.C:
7105         * importer.C:
7106         * lyxfunc.C:
7107         * lyxvc.C:
7108         * toc.C:
7109         * vc-backend.C:
7110         changes due to the changed LyXView interface that now returns references
7111         to member variables not pointers.
7112
7113 2002-08-13  Angus Leeming  <leeming@lyx.org>
7114
7115         * WordLangTuple (word, lang_code): return references to strings,
7116         not strings.
7117
7118         * BufferView.h:
7119         * SpellBase.h:
7120         * lyxtext.h: forward-declare WordLangTuple.
7121
7122         * BufferView2.C:
7123         * ispell.C:
7124         * pspell.C:
7125         * text.C: #include "WordLangTuple.h".
7126
7127         * lyxtext.h:
7128         * text.C: (selectNextWordToSpellcheck): constify return type.
7129
7130 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7131
7132         * buffer.C:
7133         * buffer.h:
7134         * lyxtext.h:
7135         * paragraph.C:
7136         * paragraph_pimpl.h:
7137         * text.C:
7138         * text2.C:
7139         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7140         suggested by Angus.
7141         Made updateCounter always count from start of buffer, and removed
7142         second argument (par).
7143         Reverted floats number display to '#'. Perhaps I'll try again when the
7144         code base is sanitized a bit.
7145
7146 2002-08-12  Angus Leeming  <leeming@lyx.org>
7147
7148         * buffer.[Ch] (getLabelList): constify.
7149
7150 2002-08-07  André Pönitz <poenitz@gmx.net>
7151
7152         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7153
7154         * funcrequest.h: extension to keep mouse (x,y) position
7155
7156 2002-08-12  Juergen Vigna  <jug@sad.it>
7157
7158         * BufferView2.C (insertErrors): forbid undo when inserting error
7159         insets.
7160
7161         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7162
7163 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7164
7165         * ParagraphList.[Ch]: new files
7166
7167         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7168
7169         * BufferView2.C (lockInset): ParagraphList changes
7170         * toc.C: ditto
7171         * text2.C: ditto
7172         * bufferlist.C: ditto
7173         * buffer.h: ditto
7174         * buffer.C: ditto
7175
7176 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7179         unused class variable counter_,
7180
7181         * paragraph.[Ch] (getFirstCounter): delete unused function
7182
7183         * counters.C: include LAssert.h
7184         (reset): add a new function with no arg, change other version to
7185         not have def. arg and to not allow empty arg.
7186
7187         * text2.C (setCounter): remove empty arg from call to Counters::reset
7188
7189 2002-08-11  John Levon  <levon@movementarian.org>
7190
7191         * Makefile.am: add WordLangTuple.h
7192
7193 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7196         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7197
7198         * insets/insettext.C: InsetList changes
7199
7200         * graphics/GraphicsSupport.C (operator()): InsetList changes
7201
7202         * toc.C (getTocList): InsetList changes
7203
7204         * paragraph_pimpl.[Ch]: InsetList changes
7205
7206         * paragraph.[Ch]: InsetList changes
7207
7208         * buffer.C (inset_iterator): InsetList changes
7209         (setParagraph): ditto
7210         * buffer.h (inset_iterator): ditto
7211         * iterators.C (operator++): ditto
7212         * iterators.h: ditto
7213
7214         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7215
7216         * InsetList.[Ch]: new files, most InsetList handling moved out of
7217         paragraph.C.
7218
7219         * BufferView2.C (removeAutoInsets): InsetList changes
7220         (lockInset): ditto
7221         (ChangeInsets): ditto
7222
7223 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * paragraph_pimpl.h (empty): new function
7226
7227         * paragraph.[Ch] (empty): new function
7228
7229         * other files: use the new Paragraph::empty function
7230
7231 2002-08-09  John Levon  <levon@movementarian.org>
7232
7233         * lyxtext.h: remove unused refresh_height
7234
7235 2002-08-09  John Levon  <levon@movementarian.org>
7236
7237         * Makefile.am:
7238         * sgml.h:
7239         * sgml.C:
7240         * buffer.C:
7241         * paragraph.h:
7242         * paragraph.C: move sgml char escaping out of paragraph
7243
7244         * paragraph.h:
7245         * paragraph.C: remove id setter
7246
7247         * buffer.C:
7248         * paragraph.C:
7249         * paragraph_pimpl.C: remove dead tex_code_break_column
7250
7251         * bufferview_funcs.C: small cleanup
7252
7253         * lyxfunc.C: remove dead proto
7254
7255         * lyxtext.h: make some stuff private. Remove some dead stuff.
7256
7257         * lyxgluelength.C: make as[LyX]String() readable
7258
7259 2002-08-08  John Levon  <levon@movementarian.org>
7260
7261         * LyXAction.h:
7262         * LyXAction.C:
7263         * MenuBackend.C:
7264         * ToolbarDefaults.C:
7265         * lyxfunc.C:
7266         * lyxrc.C:
7267         * toc.C: lyxaction cleanup
7268
7269 2002-08-08  John Levon  <levon@movementarian.org>
7270
7271         * BufferView2.C: small cleanup
7272
7273         * lyxfind.h:
7274         * lyxfind.C: move unnecessary header into the .C
7275
7276 2002-08-08  John Levon  <levon@movementarian.org>
7277
7278         * funcrequest.h: just tedious nonsense
7279
7280         * lyx_main.h:
7281         * lyx_main.C: cleanups
7282
7283         * buffer.C:
7284         * vspace.C: remove dead header lyx_main.h
7285
7286 2002-08-07  Angus Leeming  <leeming@lyx.org>
7287
7288         * Paragraph.[Ch]:
7289         * paragraph_pimpl.h:
7290         Forward declare class Counters in paragraph.h by moving the ctrs member
7291         variable into Paragraph::Pimpl.
7292         (counters): new method, returning a reference to pimpl_->ctrs.
7293
7294         * text2.C: ensuing changes.
7295
7296 2002-08-07  John Levon  <levon@movementarian.org>
7297
7298         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7299
7300         * BufferView_pimpl.C: announce X selection on double/triple
7301           click
7302
7303         * lyx_main.C: use correct bool in batch dispatch
7304
7305         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7306
7307 2002-08-07  André Pönitz <poenitz@gmx.net>
7308
7309         * funcrequest.h: new class to wrap a kb_action and its argument
7310
7311         * BufferView.[Ch]:
7312         * BufferView_pimpl[Ch]:
7313         * LaTeX.C:
7314         * LyXAction.[Ch]:
7315         * lyxfunc.[Ch]:
7316         * lyxrc.C: subsequent changes
7317
7318
7319 2002-08-07  John Levon  <levon@movementarian.org>
7320
7321         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7322           document options change.
7323
7324 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7325
7326         * counters.[Ch]
7327         * text2.C
7328         * paragraph.[Ch]
7329         * makefile.am: move counters functionality over from
7330         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7331
7332 2002-08-06  John Levon  <levon@movementarian.org>
7333
7334         * WordLangTuple.h: new file for word + language code tuple
7335
7336         * SpellBase.h:
7337         * pspell.h:
7338         * pspell.C:
7339         * ispell.h:
7340         * ispell.C:
7341         * lyxtext.h:
7342         * text.C:
7343         * text2.C:
7344         * BufferView.h:
7345         * BufferView2.C: use WordLangTuple
7346
7347         * layout.h:
7348         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7349
7350 2002-08-06  John Levon  <levon@movementarian.org>
7351
7352         * lyx_main.C: fix cmdline batch handling
7353
7354 2002-08-06  André Pönitz <poenitz@gmx.net>
7355
7356         * lyxrc.C: set default for show_banner to true
7357
7358 2002-08-06  John Levon  <levon@movementarian.org>
7359
7360         * pspell.C: fix a crash, and allow new aspell to work
7361
7362 2002-08-06  John Levon  <levon@movementarian.org>
7363
7364         * lyxfunc.C:
7365         * kbmap.C: small cleanup
7366
7367         * vspace.h:
7368         * vspace.C: add const
7369
7370 2002-08-05  John Levon  <levon@movementarian.org>
7371
7372         * LyXAction.C: back to tabular-insert
7373
7374 2002-08-04  John Levon  <levon@movementarian.org>
7375
7376         * BufferView.h:
7377         * BufferView.C: cosmetic change
7378
7379         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7380
7381         * bufferlist.C:
7382         * buffer.h:
7383         * buffer.C:
7384         * lyxcb.h:
7385         * lyxcb.C:
7386         * lyxserver.C:
7387         * lyxvc.C:
7388         * vc-backend.C:
7389         * BufferView2.C: purge all "Lyx" not "LyX" strings
7390
7391         * lyxcursor.h:
7392         * lyxcursor.C: attempt to add some documentation
7393
7394         * lyxfunc.C:
7395         * commandtags.h:
7396         * LyXAction.C:
7397         * ToolbarDefaults.C:
7398         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7399           merge with LFUN_TABULAR_INSERT
7400
7401         * Makefile.am:
7402         * SpellBase.h:
7403         * ispell.h:
7404         * ispell.C:
7405         * pspell.h:
7406         * pspell.C: split up i/pspell implementations into separate
7407           files, many cleanups
7408
7409         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7410
7411         * text2.C: some cleanup
7412
7413         * lyxfunc.C: don't check for isp_command == "none" any more, it
7414           didn't make any sense
7415
7416 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7417
7418         * counters.[Ch]
7419         * text2.C
7420         * paragraph.[Ch]
7421         * makefile.am: move counters functionality over
7422         from text2.C/paragraph.[Ch] to counters.[Ch], and
7423         make proper C++.
7424 2002-08-02  John Levon  <levon@movementarian.org>
7425
7426         * buffer.C: s/lyxconvert/lyx2lyx/
7427
7428 2002-08-02  Angus Leeming  <leeming@lyx.org>
7429
7430         * lyxlex.C: revert John's change as it breaks reading of the user
7431         preamble.
7432
7433 2002-08-02  Angus Leeming  <leeming@lyx.org>
7434
7435         * importer.C (Import):
7436         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7437         changes due to LyXView::view() now returning a boost::shared_ptr.
7438
7439 2002-08-02  John Levon  <levon@movementarian.org>
7440
7441         * lyxlex.C: small cleanup
7442
7443 2002-08-02  John Levon  <levon@movementarian.org>
7444
7445         * text2.C (status): small cleanup, no logic change
7446
7447 2002-08-01  John Levon  <levon@movementarian.org>
7448
7449         * buffer.h:
7450         * buffer.C (writeFile): don't output alerts, caller
7451           handles this
7452
7453         * bufferlist.C:
7454         * lyx_cb.C: from above
7455
7456         * lyxfunc.C: allow to open non-existent files
7457
7458 2002-07-31  John Levon  <levon@movementarian.org>
7459
7460         * lyxserver.C: don't let incidental errors get
7461           in the way (errno)
7462
7463 2002-07-30  John Levon  <levon@movementarian.org>
7464
7465         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7466
7467 2002-07-30  John Levon  <levon@movementarian.org>
7468
7469         * lyxserver.h:
7470         * lyxserver.C: remove I/O callback too
7471
7472 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7473
7474         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7475         log.
7476
7477 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * many files: strip,frontStrip -> trim,ltrim,rtrim
7480
7481 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * PrinterParams.h: remove extern containsOnly, and include
7484         support/lstrings.h instead.
7485
7486         * LaTeX.C (scanAuxFile): modify because of strip changes
7487         (deplog): ditto
7488         * buffer.C (makeLaTeXFile): ditto
7489         * bufferparams.C (writeFile): ditt
7490         * lyxfont.C (stateText): ditto
7491         * lyxserver.C (read_ready): ditto
7492         * vc-backend.C (scanMaster): ditto
7493
7494         * BufferView_pimpl.h: ws changes
7495
7496         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7497
7498 2002-07-26  André Pönitz <poenitz@gmx.net>
7499
7500         * kb_sequence.C: remove unnedred usings
7501
7502 2002-07-26  Juergen Vigna  <jug@sad.it>
7503
7504         * lyxfind.C (LyXReplace): we have to check better if the returned
7505         text is not of theLockingInset()->getLockingInset().
7506
7507 2002-07-25  Juergen Vigna  <jug@sad.it>
7508
7509         * lyxfind.C (LyXReplace): don't replace if we don't get the
7510         right LyXText.
7511
7512         * undo_funcs.C (createUndo): remove debugging code.
7513
7514 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7515
7516         * buffer.C (parseSingleLyXformat2Token): Use default placement
7517         when reading old floats.
7518
7519         * FloatList.C (FloatList): Change the default placement of figure
7520         and tables to "tbp".
7521
7522 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7523
7524         * MenuBackend.C: using std::max
7525
7526 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7527
7528         * MenuBackend.C (expandToc):
7529         (expandToc2): code moved from xforms menu frontend. It is now
7530         generic and TOCs are transparent to menu frontends.
7531
7532 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7533
7534         * toc.C (getTocList): protect against buf=0
7535
7536         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7537         Menu as first parameter. Now, this calls itself recursively to
7538         expand a whole tree (this will be useful for TOC handling)
7539         (expandFloatInsert): remove 'wide' version of floats
7540
7541         * MenuBackend.h (submenuname): returns the name of the submenu.
7542         (submenu): returns the submenu itself, provided it has been
7543         created by MenuBackend::expand
7544
7545 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7546
7547         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7548         insets which have noFontChange == true. (bug #172)
7549
7550 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7551
7552         * BufferView_pimpl.C: add connection objects and use them...
7553         (Pimpl): here.
7554
7555 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7556
7557         * MenuBackend.C (expandLastfiles):
7558         (expandDocuments):
7559         (expandFormats):
7560         (expandFloatListInsert):
7561         (expandFloatInsert):
7562         (expand): split expand in parts
7563
7564 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7565
7566         * lyx_gui.C: use lyx_gui::exit()
7567
7568 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7569
7570         * LyXAction.C: show the failing pseudo action
7571
7572 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7573
7574         * buffer.C (readFile): Run the lyxconvert script in order to read
7575         old files.
7576
7577 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7578
7579         * LyXAction.C:
7580         * commandtags.h:
7581         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7582
7583 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * LyXAction.C:
7586         * commandtags.h:
7587         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7588
7589 2002-07-22  Herbert Voss  <voss@lyx.org>
7590
7591         * lengthcommon.C:
7592         * lyxlength.[Ch]: add support for the vertical lengths
7593
7594 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7595
7596         * toc.[Ch]: std:: fixes
7597
7598 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7599
7600         * lyxrc.C: do not include lyx_main.h
7601
7602         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7603         for layouts
7604
7605         * lyxrc.C:
7606         * encoding.C:
7607         * bufferlist.C:
7608         * BufferView2.C: include "lyxlex.h"
7609
7610         * tabular.h:
7611         * bufferparams.h: do not #include "lyxlex.h"
7612
7613         * lyxtextclasslist.C (Add): remove method
7614         (classlist): renamed to classlist_
7615
7616         * paragraph_pimpl.C:
7617         * paragraph.C:
7618         * text2.C:
7619         * CutAndPaste.C:
7620         * bufferview_funcs.C:
7621         * bufferlist.C:
7622         * text.C:
7623         * LaTeXFeatures.C:
7624         * buffer.C:
7625         * toc.C (getTocList): use BufferParams::getLyXTextClass
7626
7627         * toc.C (getTocList): use InsetFloat::addToToc
7628
7629         * toc.[Ch]: new files, containing helper functions to handle table
7630         of contents
7631
7632         * lyxfunc.C (dispatch): no need to remove spaces around command
7633         given as a string
7634         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7635         first command of the sequence; it is not very clever, but I do not
7636         have a better idea, actually
7637
7638         * LyXAction.C (LookupFunc): make sure to remove space at the
7639         beginning and end of the command
7640
7641 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7642
7643         * MenuBackend.C (getMenubar): new method: return the menubar of
7644         this menu set
7645         (read): treat differently reading of menu and menubar (in
7646         particular, the menubar has no name now)
7647         (Menu::menubar): remove
7648
7649         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7650         saving is finished
7651
7652 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7653
7654         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7655         a bibitem inset in a RTL paragraph.
7656
7657 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7658
7659         * paragraph_pimpl.C: constify
7660
7661         * BufferView_pimpl.C:
7662         * LaTeX.C:
7663         * lyxfunc.C: fix dispatch in a nicer way
7664
7665 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7666
7667         * lyxfunc.C (dispatch):
7668         * BufferView_pimpl.C:
7669         * BufferView_pimpl.h:
7670         * BufferView.C:
7671         * BufferView.h: rename Dispatch() to dispatch()
7672
7673         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7674
7675         * lyxlayout.C (Read): honor DependsOn tag
7676
7677         * lyxlayout.[Ch] (depends_on): new method
7678
7679         * version.C.in: update lyx_docversion
7680
7681         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7682
7683         * paragraph.C (validate): remove from here...
7684         * paragraph_pimpl.C (validate): ... and move here
7685         (isTextAt): make it const
7686
7687         * buffer.C (getLists): ws cleanup
7688
7689 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7690
7691         * language.C (read): Use iso8859-1 encoding in latex_lang
7692         (this prevents LyX from crashing when using iso10646-1 encoding).
7693
7694 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7695
7696         * text2.C (toggleInset): if cursor is inside an inset, close the
7697         inset and leave cursor _after_ it
7698
7699 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7700
7701         * lyxfunc.C: move minibuffer completion handling out of here
7702
7703 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7704
7705         * BufferView_pimpl.C:
7706         * LaTeX.C: fix dispatch calls
7707
7708 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7709
7710         * text.C (drawChars): Fix Arabic text rendering.
7711
7712 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7713
7714         * LyXAction.C:
7715         * commandtags.h:
7716         * lyxfunc.C: remove message-push/pop
7717
7718         * lyxserver.C:
7719         * lyxfunc.h:
7720         * lyxfunc.C: rationalise some code by removing verboseDispatch
7721           in favour of a bool argument to dispatch()
7722
7723 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * lyx_main.C (init): make sure to read symlinks as absolute paths
7726
7727 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7728
7729         * lyxfunc.h:
7730         * lyxfunc.C: no need for commandshortcut to be a member
7731
7732 2002-07-15  André Pönitz <poenitz@gmx.net>
7733
7734         * converter.C: add support for $$s (scripts from lib/scripts dir)
7735         * lyx_main.C: white space
7736
7737 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7738
7739         * bufferlist.C:
7740         * lyxrc.h:
7741         * lyxrc.C: remove second exit confirmation
7742
7743 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7744
7745         * BufferView.h:
7746         * BufferView.C:
7747         * BufferView2.C:
7748         * BufferView_pimpl.h:
7749         * BufferView_pimpl.C:
7750         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7751
7752 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * MenuBackend.C (expand): add numeric shortcuts to document menu
7755
7756         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7757
7758 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7759
7760         * lyxfont.C (setLyXFamily):
7761         (setLyXSeries):
7762         (setLyXShape):
7763         (setLyXSize):
7764         (setLyXMisc):
7765         (lyxRead):
7766         * debug.C (value):
7767         * buffer.C (asciiParagraph): use ascii_lowercase
7768
7769 2002-07-15  Mike Fabian  <mfabian@suse.de>
7770
7771         * lyxlex_pimpl.C (search_kw):
7772         * lyxlex.C (getLongString):
7773         * converter.h (operator<):
7774         * converter.C (operator<):
7775         * buffer.C (parseSingleLyXformat2Token):
7776         (asciiParagraph):
7777         * ToolbarDefaults.C (read):
7778         * MenuBackend.C (checkShortcuts):
7779         (read):
7780         * LColor.C (getFromGUIName):
7781         (getFromLyXName): use the compare_ascii_no_case instead of
7782         compare_no_case, because in turkish, 'i' is not the lowercase
7783         version of 'I', and thus turkish locale breaks parsing of tags.
7784
7785 2002-07-16  Angus Leeming  <leeming@lyx.org>
7786
7787         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7788         now takes a Buffer const & argument.
7789
7790 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * BufferView.C (resize): check there's a buffer to resize
7793
7794 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7795
7796         * lyxfunc.C: remove dead code
7797
7798         * lyxserver.h:
7799         * lyxserver.C: use lyx_guii::set_read_callback
7800
7801 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7802
7803         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7804         an inset in a RTL paragraph.
7805
7806 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7807
7808         * lyxfunc.C: repaint after a font size update
7809
7810 2002-07-15  André Pönitz <poenitz@gmx.net>
7811
7812         * lyxlength.C: inBP should be able to return negative values
7813
7814 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * lyxfunc.C: use lyx_gui::update_fonts()
7817
7818 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7819
7820         * lyxfunc.C: use lyx_gui::update_color()
7821
7822 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * bufferlist.C:
7825         * lyxfunc.h:
7826         * lyxfunc.C:
7827         * lyxrc.h:
7828         * lyxrc.C: remove file->new asks for name option, and let
7829           buffer-new take an argument
7830
7831 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7832
7833         * BufferView_pimpl.C: remove unneeded extra repaint()
7834
7835 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * LyXAction.C: allow command-sequence with NoBuffer
7838
7839         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7840
7841 2002-07-10  Angus Leeming  <leeming@lyx.org>
7842
7843         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7844
7845 2002-07-09  Angus Leeming  <leeming@lyx.org>
7846
7847         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7848
7849 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * lengthcommon.h: whitespace
7852
7853         * lyxfunc.C: update scrollbar after goto paragraph
7854
7855         * lyxtext.h: factor out page break drawing, and fix it so
7856           page break/added space paints as selected nicely
7857
7858 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * BufferView_pimpl.C: add FIXMEs, clean up a little
7861
7862 2002-07-09  André Pönitz <poenitz@gmx.net>
7863
7864         * lyxfont.[Ch]: support for wasy symbols
7865
7866 2002-07-08  André Pönitz <poenitz@gmx.net>
7867
7868         * BufferView_pimpl.C: apply John's patch for #93.
7869
7870 2002-07-05  Angus Leeming  <leeming@lyx.org>
7871
7872         * BufferView_pimpl.C (buffer): generate previews if desired.
7873
7874         * LColor.h: add "preview" to the color enum.
7875
7876         * LColor.C (LColor): add a corresponding entry to the items array.
7877
7878         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7879         with this buffer.
7880
7881 2002-07-05  Angus Leeming  <leeming@lyx.org>
7882
7883         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7884         The body of the code is now in the method that is passed an ostream &
7885         rather than a file name.
7886         Pass an additional only_preamble parameter, useful for the forthcoming
7887         preview stuff.
7888
7889 2002-07-03  André Pönitz <poenitz@gmx.net>
7890
7891         * lyxfunc.C: simplify getStatus() a bit for math stuff
7892
7893 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7894
7895         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7896
7897 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7898
7899         * text.C (changeRegionCase): do not change case of all the
7900         document when region ends at paragraph end (bug #461)
7901
7902 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7903
7904         * paragraph.C (startTeXParParams):
7905         (endTeXParParams): add \protect when necessary
7906
7907 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7908
7909         * BufferView_pimpl.C (workAreaExpose): remove warning
7910
7911 2002-06-27  Angus Leeming  <leeming@lyx.org>
7912
7913         * Makefile.am: add lyxlayout_ptr_fwd.h.
7914
7915 2002-06-26  André Pönitz <poenitz@gmx.net>
7916
7917         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7918
7919 2002-06-25  Angus Leeming  <leeming@lyx.org>
7920
7921         * lyxfunc.C (dispatch): Comment out the call to
7922         grfx::GCache::changeDisplay. The method no longer exists now that the
7923         pixmap generation part of the graphics loader has been moved into
7924         InsetGraphics.
7925
7926 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7927
7928         * text2.C: layout as layout
7929
7930         * text.C: layout as layout
7931
7932         * tabular.C (OldFormatRead): layout as layout
7933
7934         * paragraph_pimpl.C (TeXDeeper): layout as layout
7935         (realizeFont): layout as layout
7936
7937         * paragraph.C (writeFile): layout as layout
7938         (validate): layout as layout
7939         (getFont): layout as layout
7940         (getLabelFont): layout as layout
7941         (getLayoutFont): layout as layout
7942         (breakParagraph): layout as layout
7943         (stripLeadingSpaces): layout as layout
7944         (getEndLabel): layout as layout
7945         (getMaxDepthAfter): layout as layout
7946         (applyLayout): layout as layout
7947         (TeXOnePar): layout as layout
7948         (simpleTeXOnePar): layout as layout
7949         (TeXEnvironment): layout as layout
7950         (layout): layout as layout
7951         (layout): layout as layout
7952
7953         * lyxtextclass.C (compare_name): new functor to work with
7954         shared_ptr, layout as layout
7955         (Read): layout as layout
7956         (hasLayout): layout as layout
7957         (operator): layout as layout
7958         (delete_layout): layout as layout
7959         (defaultLayout): layout as layout
7960
7961         * lyxlayout_ptr_fwd.h: new file
7962
7963         * lyxlayout.C (Read): layout as layout
7964
7965         * lyx_cb.C (MenuInsertLabel): layout as layout
7966
7967         * bufferlist.C (newFile): layout as layout
7968
7969         * buffer.C (readLyXformat2): layout as layout
7970         (parseSingleLyXformat2Token): layout as layout
7971         (insertStringAsLines): layout as layout
7972         (asciiParagraph): layout as layout
7973         (latexParagraphs): layout as layout
7974         (makeLinuxDocFile): layout as layout
7975         (simpleLinuxDocOnePar): layout as layout
7976         (makeDocBookFile): layout as layout
7977         (simpleDocBookOnePar): layout as layout
7978         (getLists): layout as layout
7979
7980         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7981
7982         * CutAndPaste.C (cutSelection): layout as layout
7983         (pasteSelection): layout as layout
7984         (SwitchLayoutsBetweenClasses): layout as layout
7985
7986         * BufferView_pimpl.C (Dispatch): layout as layout
7987         (smartQuote): layout as layout
7988
7989         * BufferView2.C (unlockInset): layout as layout
7990
7991 2002-06-24  André Pönitz <poenitz@gmx.net>
7992
7993         * lyxfunc.C: fix #487
7994
7995 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7996
7997         * lyxrc.h:
7998         * lyxrc.C:
7999         * lyxfunc.C: remove display_shortcuts, show_banner
8000
8001 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8002
8003         * Buffer_pimpl.C: oops, update on resize
8004
8005 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * buffer.C:
8008         * converter.C:
8009         * exporter.C:
8010         * lyxfunc.C:
8011         * BufferView.h:
8012         * BufferView.C: use repaint()
8013
8014         * BufferView_pimpl.h:
8015         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8016           as it's a clearer description. Remove superfluous
8017           redraws.
8018
8019 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * text.C: fix bug 488. Not ideal, but getting
8022           getWord() to work properly for the insets that
8023           matter is more difficult ...
8024
8025 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8026
8027         * BufferView_pimpl.C:
8028         * LyXAction.C:
8029         * commandtags.h:
8030         * lyxfunc.C: remove the six million index lyxfuncs to just
8031           one, and DTRT (bug 458)
8032
8033 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * BufferView.h:
8036         * BufferView.C:
8037         * BufferView_pimpl.h:
8038         * BufferView_pimpl.C: clean up resize() stuff,
8039           and unnecessary updateScreen()s
8040
8041 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * BufferView.h:
8044         * BufferView.C:
8045         * BufferView_pimpl.h:
8046         * BufferView_pimpl.C:
8047         * lyxfind.h:
8048         * lyxfind.C:
8049         * minibuffer.C: remove focus management of workarea,
8050           not needed. Use screen's greyOut()
8051
8052 2002-06-17  Herbert Voss  <voss@lyx.org>
8053
8054         * converter.C: (convert) do not post a message, when converting
8055         fails, let the calling function decide what to do in this case
8056
8057 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8058
8059         * lyxfunc.C: tidy up a little
8060
8061 2002-06-16    <alstrup@diku.dk>
8062
8063         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8064         Got rid of FORMS_H_LOCATION include. Now we are
8065         GUII.
8066
8067 2002-06-15  LyX Development team  <lyx@rilke>
8068
8069         * buffer.[Ch] (sgmlOpenTag):
8070         (sgmlCloseTag): Added support for avoiding pernicious mixed
8071         content. Return number of lines written.
8072
8073         (makeLinuxDocFile):
8074         (makeDocBookFile): Fixed calls to sgml*Tag.
8075         Simple white space clean.
8076
8077         (simpleDocBookOnePar): Simple white space clean.
8078
8079         * tabular.[Ch] (docBook): Renamed to docbook and got another
8080         argument to related with the pernicious mixed content.
8081
8082         (docbookRow): Fixed calls for docbook inset method.
8083
8084 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8085
8086         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8087         so it's X11 independent.
8088
8089         * kb*.[Ch]: ditto.
8090
8091         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8092
8093 2002-06-15  Lyx Development team  <lyx@electronia>
8094
8095         * intl.h: Renamed getTrans to getTransManager.
8096
8097 2002-06-14  Angus Leeming  <leeming@lyx.org>
8098
8099         * Makefile.am: nuke forgotten stl_string_fwd.h.
8100
8101 2002-06-12  Angus Leeming  <leeming@lyx.org>
8102
8103         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8104
8105 2002-06-13  Angus Leeming  <leeming@lyx.org>
8106
8107         * LaTeX.C:
8108         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8109
8110 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8111
8112         * kbmap.C (getiso): add support for cyrillic and greek
8113
8114 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8115
8116         * BufferView.h:
8117         * BufferView.C:
8118         * BufferView_pimpl.h:
8119         * BufferView_pimpl.C: move bogus scrolling logic
8120           to xforms
8121
8122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8123
8124         * lyxfunc.C:
8125         * BufferView_pimpl.C: view->resize() change
8126
8127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * BufferView_pimpl.C: topCursorVisible
8130           prototype change
8131
8132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * Makefile.am:
8135         * lyx_gui.h:
8136         * lyx_gui.C: move to frontends/
8137
8138         * main.C:
8139         * lyx_main.h:
8140         * lyx_main.C: changes from above
8141
8142 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * intl.C:
8145         * intl.h:
8146         * kbmap.C:
8147         * kbsequence.C:
8148         * lyx_cb.C:
8149         * lyx_main.C: minor tidy
8150
8151 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * BufferView_pimpl.h:
8154         * BufferView_pimpl.C:
8155         * BufferView.h:
8156         * BufferView.C: make painter() const,
8157           remove dead code
8158
8159         * BufferView2.C: use screen() accessor
8160
8161         * lyx_main.h:
8162         * lyx_main.C: some minor cleanup
8163
8164 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8165
8166         * BufferView_pimpl.h:
8167         * BufferView_pimpl.C: remove enter/leaveView,
8168           use workHeight()
8169
8170 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8171
8172         * BufferView.h:
8173         * BufferView.C:
8174         * BufferView2.C:
8175         * BufferView_pimpl.h:
8176         * BufferView_pimpl.C: only construct screen once,
8177           rename
8178
8179         * lyxrc.C: remove pointless comment
8180
8181 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * BufferView.h:
8184         * BufferView.C: remove active() and belowMouse()
8185
8186         * BufferView_pimpl.h:
8187         * BufferView_pimpl.C: use workarea() not workarea_,
8188           and make it use a scoped_ptr instead
8189
8190 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8191
8192         * lyx_gui.C: add debug message on BadWindow
8193
8194 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8195
8196         * sp_spell.C: fdopen is not part of the C++ standard.
8197
8198         * paragraph.C (InsetIterator): use >= instead of ==
8199
8200 2002-06-07  Angus Leeming  <leeming@lyx.org>
8201
8202         Fixes needed to compile with Compaq cxx 6.5.
8203         * BufferView_pimpl.C:
8204         * DepTable.C:
8205         * buffer.C:
8206         * converter.C:
8207         * encoding.C:
8208         * lyx_gui.C:
8209         * lyx_main.C:
8210         * lyxtextclasslist.C:
8211         * minibuffer.C:
8212         * sp_spell.C:
8213         * tabular_funcs.C:
8214         * vc-backend.C:
8215         all c-library variables have been moved into namespace std. Wrap
8216         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8217
8218         * lyxlength.C:
8219         * tabular-old.C:
8220         * tabular.C:
8221         Add a using std::abs declaration.
8222
8223         * kbmap.h (modifier_pair):
8224         * paragraph.h (InsetTable, InsetList):
8225         * lyxfont.h (FontBits):
8226         type definition made public.
8227
8228         * bufferlist.C (emergencyWriteAll): the compiler complains that
8229         there is more than one possible lyx::class_fun template to choose from.
8230         I re-named the void specialisation as lyx::void_class_fun.
8231
8232         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8233
8234         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8235         the compiler is is unable to find tostr in write_attribute.
8236
8237 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8238
8239         * buffer.C (sgmlError): hide #warning
8240
8241 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8242
8243         * xtl/*: get rid of xtl, which is not in use anyway
8244
8245         * LyXAction.C (init):
8246         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8247         were unimplemented xtl experimentation
8248
8249 2002-06-04  André Pönitz <poenitz@gmx.net>
8250
8251         * lyxfunc.C: disable array operation on simple formulae
8252
8253 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8254
8255         * converter.C: constify a bit
8256
8257 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * lyx_gui.C: check xforms version correctly
8260
8261 2002-04-30  Herbert Voss  <voss@lyx.org>
8262
8263         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8264         "keep" option
8265
8266 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8267
8268         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8269           attempt to register it with a VCS)
8270
8271 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8272
8273         * lyx_main.C (init): honor variables LYX_DIR_13x and
8274         LYX_USERDIR_13x
8275
8276 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * buffer.h:
8279         * buffer.C:
8280         * lyx_main.C: fix a crash on bad command line,
8281           and give a useful exit status on error
8282
8283         * lyxfunc.C (doImport): allow -i lyx to work
8284
8285 2002-03-30  André Pönitz <poenitz@gmx.net>
8286
8287         * lyxfunc.C: mathed font changes
8288
8289 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * LaTeX.C:
8292         * importer.h:
8293         * importer.C:
8294         * lyx_sty.h:
8295         * lyx_sty.C:
8296         * lyxlex.C:
8297         * lyxrow.h:
8298         * lyxtext.h:
8299         * paragraph.h:
8300         * paragraph.C:
8301         * texrow.h:
8302         * texrow.C:
8303         * text.C:
8304         * trans_mgr.h: srcdocs, and some minor cleanups
8305
8306 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8307
8308         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8309         call getFont all the time)
8310
8311 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8312
8313         * switch from SigC signals to boost::signals
8314
8315 2002-05-29  André Pönitz <poenitz@gmx.net>
8316
8317         * paragraph_pimpl.C (getChar): don't call size() too often...
8318
8319 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * paragraph_pimpl.C (insertChar): do not try to update tables when
8322         appending (pos == size())
8323
8324         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8325         in order to reduce drastically the number of comparisons needed to
8326         parse a large document
8327
8328 2002-05-29  André Pönitz <poenitz@gmx.net>
8329
8330         * text.C:
8331         * text2.C:
8332         * lyxtextclass.C:
8333         * sp_pspell.h:
8334         * textclasslist.[Ch]:
8335         * sp_ispell.h: whitespace change
8336
8337 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8340         lyxaction directly now.
8341
8342 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * trans.C:
8345         * lyxfont.C:
8346         * lyxvc.C: remove unused headers
8347
8348 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * Makefile.am:
8351         * buffer.h:
8352         * undostack.h:
8353         * undostack.C:
8354         * undo_funcs.h:
8355         * undo_funcs.C: some cleanups. Use shared_ptr
8356           and a template for the undo stacks.
8357
8358 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * BufferView_pimpl.h:
8361         * BufferView_pimpl.C:
8362         * kbmap.h:
8363         * kbmap.C:
8364         * kbsequence.h:
8365         * kbsequence.C:
8366         * lyxfunc.h:
8367         * lyxfunc.C:
8368         * text2.C: use key_state/mouse_state
8369
8370 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8371
8372         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8373         and LSubstring
8374
8375         * chset.C: change include order
8376         (loadFile): use boost regex and get rid of LRegex and LSubstring
8377
8378         * Makefile.am (BOOST_LIBS): new variable
8379         (lyx_LDADD): use it
8380
8381         * LaTeX.C: change include order.
8382         (scanAuxFile): use boost regex and get rid of LRegex and
8383         LSubstring
8384         (deplog): ditto
8385
8386 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8387
8388         * ColorHandler.h:
8389         * ColorHandler.C:
8390         * FontInfo.h:
8391         * FontInfo.C: moved to frontends/xforms/
8392
8393         * FontLoader.h:
8394         * FontLoader.C: moved into frontends for GUIIzation
8395
8396         * Makefile.am:
8397         * lyx_gui.C:
8398         * lyxfont.C:
8399         * lyxfunc.C: changes from above
8400
8401 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * LColor.C: remove spurious X include
8404
8405         * BufferView_pimpl.C:
8406         * Makefile.am:
8407         * font.h:
8408         * font.C:
8409         * text.C:
8410         * text2.C: move font metrics to frontends/
8411
8412 2002-05-24  Juergen Vigna  <jug@sad.it>
8413
8414         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8415         setting the undo_cursor.
8416
8417         * ParagraphParameters.h: include local includes first.
8418
8419 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * BufferView_pimpl.C:
8422         * BufferView_pimpl.h:
8423         * Makefile.am:
8424         * WorkArea.h:
8425         * WorkArea.C:
8426         * screen.C: move WorkArea into frontends/
8427
8428         * lyxscreen.h:
8429         * screen.C:
8430         * text.C:
8431         * BufferView.C:
8432         * BufferView2.C: move LyXScreen into frontends/
8433
8434         * lyxlookup.h:
8435         * lyxlookup.C:
8436         * lyx_gui.C: move lyxlookup into frontends/xforms/
8437
8438 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8439
8440         * BufferView2.C:
8441         * BufferView_pimpl.C:
8442         * FontLoader.C:
8443         * LyXView.h:
8444         * LyXView.C:
8445         * Makefile.am:
8446         * WorkArea.C:
8447         * XFormsView.h:
8448         * XFormsView.C:
8449         * buffer.C:
8450         * bufferlist.C:
8451         * bufferview_funcs.C:
8452         * converter.C:
8453         * importer.C:
8454         * lyx_cb.C:
8455         * lyx_gui.C:
8456         * lyx_main.C:
8457         * lyx_find.C:
8458         * lyxfunc.C:
8459         * lyxvc.C:
8460         * minibuffer.C:
8461         * text.C:
8462         * text2.C:
8463         * trans.C:
8464         * vc-backend.C: move LyX/XFormsView into frontends/
8465
8466 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8467
8468         * Makefile.am:
8469         * PainterBase.C:
8470         * PainterBase.h:
8471         * Painter.C:
8472         * Painter.h:
8473         * WorkArea.C:
8474         * WorkArea.h:
8475         * screen.C:
8476         * tabular.C:
8477         * text.C:
8478         * text2.C: move Painter to frontends/
8479
8480 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * buffer.C: comment out some some code that depend upon lyx_format
8483         < 220
8484
8485         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8486         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8487
8488         * buffer.h (NO_COMPABILITY): turn off compability
8489
8490         * ColorHandler.C: include scoped_array.hpp
8491
8492         * font.C: Use more specific smart_ptr header.
8493         * Painter.C: ditto
8494         * gettext.C: ditto
8495         * ShareContainer.h: ditto
8496         * lyx_main.h: ditto
8497         * kbmap.h: ditto
8498         * FontInfo.h: ditto
8499         * BufferView_pimpl.h: ditto
8500         * ColorHandler.h: ditto
8501
8502         * kbmap.C (defkey): change call to shared_ptr::reset
8503
8504 2002-05-21  Juergen Vigna  <jug@sad.it>
8505
8506         * buffer.C (insertErtContents): fix to insert ert asis if it is
8507         non empty. Skip it completely if it contains only whitespaces.
8508
8509 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * BufferView_pimpl.C:
8512         * BufferView2.C: clear selection on paste (bug 393)
8513
8514 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8515
8516         * DepTable.C: include ctime
8517
8518 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8519
8520         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8521
8522 2002-05-14  Juergen Vigna  <jug@sad.it>
8523
8524         * text.C (breakParagraph): fixed function to honor the keepempty
8525         layout in the right maner and also to permit the right breaking
8526         algorithm on empty or non empyt keepempty paragraphs.
8527
8528         * paragraph.C (breakParagraph): we have to check also if the par
8529         is really empty (!size()) for isempty otherwise we do the wrong
8530         paragraph break.
8531
8532 2002-05-10  Juergen Vigna  <jug@sad.it>
8533
8534         * buffer.[Ch] : The following are only changes to the ert
8535         compatibility read reading old LaTeX layout and font stuff and
8536         convert it to ERTInsets.
8537
8538         * buffer.h: added isErtInset().
8539
8540         * buffer.C (struct ErtComp): add a fromlayout bool to check
8541         if we're inside a LaTeX layout.
8542         (isErtInset): new helper function.
8543         (insertErtContents): look for other ert insets before this one
8544         and insert the contents there, so that we don't have subsequent
8545         ERT insets with nothing between them. This way we create only one
8546         inset with multiple paragraphs. Also check if we don't insert only
8547         spaces ' ' as they are ignored anyway afterwards in the .tex file
8548         so if we have only spaces we will ignore this latex part in the
8549         new file.
8550         (parseSingleLyXformat2Token \\layout): better compatibility when
8551         reading layout-latex stuff.
8552         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8553         language tag.
8554         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8555         stuff after reading the inset only get the information back from
8556         the stack.
8557
8558 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8559
8560         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8561
8562         * LaTeXFeatures.C (getBabelOptions): New method.
8563
8564 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8565
8566         * BufferView_pimpl.C (Dispatch): work around missing argument for
8567         'layout'
8568
8569 2002-05-08  Juergen Vigna  <jug@sad.it>
8570
8571         * text.C (leftMargin): handle paragraph leftindent.
8572
8573         * paragraph.C (writeFile): write the new \\leftindent tag.
8574         (validate): handle leftindent code.
8575         (TeXEnvironment): handle paragraphleftindent code again.
8576
8577         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8578
8579         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8580         for paragrap_extra indent code and new token \\leftindent.
8581         (latexParagraphs): handle the leftindent as environment.
8582
8583         * ParameterStruct.h: added leftindent support.
8584
8585         * ParagraphParameters.C (leftIndent): added support functions for
8586         the paragraph left indent.
8587
8588         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8589         more appropriate.
8590
8591 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8592
8593         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8594         inside insetERT.
8595
8596         * text.C (computeBidiTables): No bidi in insetERT.
8597
8598         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8599         in RTL documents.
8600
8601 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8602
8603         * version.C.in: pre 5
8604
8605 2002-05-02  José Matos  <jamatos@fep.up.pt>
8606         * buffer.C (makeDocBookFile): white space changes, add newline to
8607         command styles.
8608         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8609
8610         * tabular.C (docBook): fix typo.
8611
8612 2002-05-03  Juergen Vigna  <jug@sad.it>
8613
8614         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8615         change in LyXText as we can not be sure it was not freed.
8616         (drawOneRow): remove unused code.
8617
8618         * text.C (drawInset): redo the calculation of the need_break_row as
8619         it could have a row which was already freed.
8620         (draw): look at the return value of drawInset and return false if
8621         it also returned false.
8622         (paintRowText): look at the return value of draw and return false if
8623         it also returned false.
8624
8625         * lyxtext.h: added bool return type to drawInset() and draw() so that
8626         if we have a change in the row so that the rowbreak has to be redone
8627         we abort drawing as it will be called again.
8628
8629 2002-05-02  Juergen Vigna  <jug@sad.it>
8630
8631         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8632         a change in the maintext also if we're inside an inset.
8633         (Dispatch): set the cursor again after a break line and after the
8634         screen has been updated as it could be we're in a different row.
8635
8636         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8637         to set the cursor behind the pargraph with > size().
8638         (setCursor): check also for the same paragraph when checking where
8639         to put the cursor if we have a NFR inset.
8640
8641         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8642         parts of layout read further up as it still was in the wrong
8643         position.
8644
8645 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8646
8647         * screen.C (drawFromTo): change sine fullRebreak always return
8648         true.
8649
8650         * buffer.C (parseSingleLyXformat2Token): reindent some
8651
8652         * BufferView_pimpl.C (update): change since fullRebreak always
8653         return true.
8654         (Dispatch): git rid of the last hardcoded "Standard"s.
8655
8656 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8657
8658         * text2.[Ch] (fullRebreak): make it return void now that we always
8659         returned true.
8660
8661 2002-04-30  Juergen Vigna  <jug@sad.it>
8662
8663         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8664         ert compatibility check for "latex" layout.
8665
8666 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8667
8668         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8669         minipages: use col% instead of p%, and also use the current font.
8670         (makeLaTeXFile): Fix use babel condition.
8671         (parseSingleLyXformat2Token): Correct font when reading old floats.
8672
8673 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8674
8675         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8676         inserting list of floats.
8677
8678 2002-04-25  Herbert Voss  <voss@lyx.org>
8679
8680         * MenuBackend.C (expand): don't add the graphics extensions to the
8681         export menu
8682
8683 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8684
8685         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8686         non-existing layout, do not complain if it was the default layout
8687         of the original class (bug #342)
8688
8689 2002-04-24  Juergen Vigna  <jug@sad.it>
8690
8691         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8692         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8693
8694 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8695
8696         * buffer.C (getBibkeyList): If using \bibliography, return the
8697         option field with the reference itself. Enables us to provide natbib
8698         support when using \bibliography.
8699
8700 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8701
8702         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8703
8704         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8705         natbib is provided by the LaTeX class.
8706
8707 2002-04-23  Juergen Vigna  <jug@sad.it>
8708
8709         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8710         Wakeup functions.
8711
8712         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8713
8714 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8717
8718         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8719         ensuremath around textordmasculine, textordfeminine and
8720         textdegree.
8721
8722 2002-04-19  Juergen Vigna  <jug@sad.it>
8723
8724         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8725         reinitializing the buffer otherwise row-dimensions may be wrong.
8726         (update): reset also the selection cursors if they do exits otherwise
8727         their x/y positions may be wrong.
8728
8729         * text2.C (cursorDown): don't enter the inset if we came from a row
8730         above and are one row over the inset.
8731
8732         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8733         really leaving an inset.
8734
8735 2002-04-18  Juergen Vigna  <jug@sad.it>
8736
8737         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8738         of the selected paragraph does not have the selected layout also if
8739         the last one had!
8740
8741         * text2.C (setLayout): fixed bug which did not change last selected
8742         paragraph.
8743
8744         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8745         changed the read and substituted \\end_float with \\end_inset!
8746
8747         * BufferView_pimpl.C (cursorPrevious):
8748         (cursorNext): fixed to make it work with rows heigher than the work
8749         area without moving the cursor only the draw of the row.
8750         (workAreaMotionNotify): fix jumping over high rows.
8751
8752 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8753
8754         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8755         Ressler.
8756
8757 2002-04-16  Juergen Vigna  <jug@sad.it>
8758
8759         * text2.C (setCursor): set also the irow().
8760         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8761         (cursorUp):
8762         (cursorDown): support for locking an inset if the x_fix value goes
8763         inside it. That way I can transverse insets too with cursor up/down.
8764
8765         * lyxrow.h: added irow helper function same as other (i) functions.
8766
8767         * BufferView_pimpl.C (cursorPrevious):
8768         (cursorNext): fixed for insets!
8769
8770 2002-04-15  Juergen Vigna  <jug@sad.it>
8771
8772         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8773         position otherwise it is wrong in some cases.
8774
8775         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8776         inside the inset before the call.
8777
8778 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8779
8780         * buffer.[Ch] (getBibkeyList): make it const.
8781
8782 2002-04-12  Juergen Vigna  <jug@sad.it>
8783
8784         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8785
8786         * text2.C (getCursorX): new helper function
8787         (setCursor): compute also ix_
8788         (setCursorFromCoordinates): set also ix.
8789
8790         * lyxcursor.h: added ix_ and helper functions.
8791
8792         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8793
8794         * buffer.C (insertStringAsLines): dont break paragraph if the this
8795         paragraph is inside an inset which does not permit it!
8796
8797         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8798         also with no chars on this paragraph.
8799         (paintRowText): only paint stuff if it's inside the workarea!
8800
8801         * paragraph.C (breakParagraph): honor keepempty flag and break the
8802         paragraph always below not above.
8803
8804         * BufferView2.C (unlockInset): update the paragraph layout on inset
8805         unlock as we changed paragraph in such a case.
8806
8807         * lyxfind.C (LyXFind): clear the former selection if not found!
8808
8809         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8810         again called in insertChar().
8811
8812         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8813         an inset which uses the whole row!
8814         (rightMargin): ditto.
8815         (insertChar): force a rebreak if we inserted an inset!
8816
8817 2002-03-28  Herbert Voss  <voss@lyx.org>
8818
8819         * lyxlength.[Ch]: add inBP() to get the right PS-point
8820         units (BigPoint). With inPixels we have rounding errors
8821
8822 2002-04-11  Juergen Vigna  <jug@sad.it>
8823
8824         * text2.C (setCursorFromCoordinates): set iy to the right value.
8825         (setCursor): add check if row->previous exists!
8826
8827         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8828         an old float_type as this was the case in the old code!
8829
8830         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8831
8832         * BufferView2.C (showLockedInsetCursor): use iy
8833         (fitLockedInsetCursor): ditto
8834
8835         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8836         locked insets as there we have the right value now.
8837
8838         * lyxcursor.C: added iy_ variable and iy functions to set to the
8839         baseline of cursor-y of the locked inset.
8840
8841         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8842         (setCursor): fixed for insets which need a full row.
8843
8844         * text.C (rowLastPrintable): don't ignore the last space when before
8845         an inset which needs a full row.
8846         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8847         as last character of a row when before a inset which needs a full row.
8848
8849 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8850
8851         * version.C.in: update date
8852
8853         * text2.C (fullRebreak): try to always return true and see what
8854         happens...
8855
8856 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8857
8858         * MenuBackend.C (expand): use Floating::listName
8859
8860         * FloatList.C (FloatList): add listName argument to the built-in
8861         floats
8862
8863         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8864         text associated with the float.
8865
8866 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8867
8868         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8869
8870 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8871
8872         * ShareContainer.h: add a couple of missing typenames.
8873
8874 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8875
8876         * lyxrc.C (getDescription): use _() correctly rather than N_().
8877
8878 2002-03-28  Herbert Voss  <voss@lyx.org>
8879
8880         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8881         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8882
8883 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8884
8885         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8886         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8887
8888 2002-03-29  Juergen Vigna  <jug@sad.it>
8889
8890         * lyxfunc.C (dispatch): add a missing fitCursor call.
8891
8892         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8893         it was scrolled by a cursor move, so return the bool status.
8894
8895         * BufferView.C (fitCursor): return the bool flag also to the outside
8896         world as this is needed.
8897
8898         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8899
8900         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8901         call the edit() as it is not needed (and wrong) IMO.
8902         (workAreaButtonPress): set the screen_first variable before evt.
8903         unlock the inset as this may change screen_first and then we have
8904         a wrong y position for the click!
8905
8906 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * MenuBackend.C (expand): another translation that I missed
8909
8910 2002-03-28  Juergen Vigna  <jug@sad.it>
8911
8912         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8913
8914         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8915
8916 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8919
8920         * MenuBackend.C (expand): fix export/view/update when there is no
8921         document open.
8922
8923 2002-03-27  Herbert Voss  <voss@lyx.org>
8924
8925         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8926         and text%
8927
8928 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8929
8930         * bufferview_funcs.C (currentState): only show paragraph number
8931         for is DEVEL_VERSION is set.
8932
8933         * lyxfunc.C (dispatch): put warning in INFO channel
8934
8935         * MenuBackend.C (expand): translate the name of floats
8936
8937         * FloatList.C (FloatList): mark the float names for translation
8938
8939         * converter.C (convert): use LibScriptSearch
8940
8941 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8942
8943         * MenuBackend.C (defaults): fix default menu (we might as well get
8944         rid of it...)
8945
8946 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8949         directory.
8950
8951 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8952
8953         * lyxvc.C: reorder includes.
8954
8955 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8956
8957         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8958           properly
8959
8960 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8961
8962         * CutAndPaste.C: change layouts earlier on paste
8963           to avoid crashing when calling getFont()
8964
8965 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8966
8967         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8968         irritating #error.
8969
8970 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8971
8972         * WorkArea.C: remove 'Pending' debug message.
8973
8974         * most files: ws cleanup
8975
8976         * buffer.[Ch]: ws changes
8977
8978         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8979
8980 2002-03-21  Juergen Vigna  <jug@sad.it>
8981
8982         * tabular.C (SetMultiColumn): collapse also the contents of the
8983         cells and set the last border right. Added a Buffer const * param.
8984
8985 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8986
8987         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8988         linking or not.
8989
8990 2002-03-19  Juergen Vigna  <jug@sad.it>
8991
8992         * text2.C (clearSelection): reset also xsel_cache.
8993
8994         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8995         where it needs to be called (John tells us to do so too :)
8996         (selectionLost): reset sel_cache.
8997
8998         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8999
9000 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * text2.C (setCursorIntern): put debuging code in INSETS channel
9003
9004 2002-03-19  André Pönitz <poenitz@gmx.net>
9005
9006         * lyxfunc.C: tiny whitespace change
9007
9008 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * ToolbarDefaults.C (init):
9011         * LyXAction.C (init):
9012         * commandtags.h:
9013         * BufferView_pimpl.C (Dispatch):
9014         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9015
9016 2002-03-19  Allan Rae  <rae@lyx.org>
9017
9018         * exporter.C (Export): removeAutoInsets before doing anything else.
9019         While I've just introduced a dependency on BufferView this really is
9020         the best place to clean the buffer otherwise you need to cleanup in
9021         a dozen places before calling export or cleanup in a dozen functions
9022         that export calls.
9023
9024         * converter.C (runLaTeX):
9025         (scanLog): Better handling of removeAutoInsets and screen updates.
9026
9027         * lyxfunc.C (dispatch): small whitespace changes
9028
9029 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9030
9031         * WorkArea.C (C_WorkAreaEvent): return a value.
9032         (event_cb): return 1 if we handled the event, 0 otherwise.
9033
9034         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9035
9036 2002-03-18  Juergen Vigna  <jug@sad.it>
9037
9038         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9039         (GetAdditionalWidth): ditto.
9040         (RightLine): ditto.
9041         (LeftLine): ditto.
9042
9043         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9044         inset if we're there actually (probably not used right now but this
9045         is the direction to go for unifying code).
9046         (paste): disable code to clear the selection.
9047
9048         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9049         inside an InsetText and move the check further up as it is in the
9050         wrong place.
9051
9052         * text2.C (pasteSelection): set a selection over the pasted text.
9053
9054 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9055
9056         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9057         and libgraphics to build on Cygwin.
9058
9059 2002-03-15  Juergen Vigna  <jug@sad.it>
9060
9061         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9062         inserting an Inset into the paragraph. I know this is not the best
9063         fix but we already use current_view in CutAndPaste so we will remove
9064         all of it's using at the same time.
9065
9066         * buffer.C (sgmlError): deactivated function till it is rewritten in
9067         the right mode, now it can create problems.
9068
9069         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9070         before accessing it.
9071
9072 2002-03-14  Juergen Vigna  <jug@sad.it>
9073
9074         * undo_funcs.C (textHandleUndo): do the right thing when updating
9075         the inset after the undo/redo.
9076
9077         * text2.C (setCursor): just some testcode for #44 not ready yet.
9078
9079         * undo_funcs.C (textHandleUndo): set the next() and previous()
9080         pointers of the paragraph to 0 before deleting otherwise we have
9081         problems with the Paragraph::[destructor].
9082
9083         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9084         on a paragraph insertion.
9085
9086 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * buffer.C (asciiParagraph): use += operator for char append to
9089         string.
9090
9091         * paragraph.C (getFontSettings): compare >= not just >
9092         (highestFontInRange): ditto
9093         (setFont): ditto
9094
9095 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9096
9097         * paragraph.C: change several algorithm to be more appripriate for
9098         the problem domain. This is lookip in FontList and in the InsetList.
9099
9100 2002-03-13  André Pönitz <poenitz@gmx.net>
9101
9102         * commandtags.h:
9103         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9104
9105 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * commandtags.h:
9108         * LyXAction.C:
9109         * lyxfunc.C:
9110         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9111
9112 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * Painter.C (display): anon helper function, adjust code for this
9115         change.
9116         (pixmap): remove function.
9117
9118         * Painter.h: remove private display variable.
9119
9120         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9121
9122 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9123
9124         * WorkArea.[Ch]: remove figinset_canvas cruft.
9125
9126 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * lyxtextclass.C (operator): add one item cache optimization.
9129
9130         * bufferlist.h: doxy changes
9131
9132         * bufferlist.C: ws changes
9133
9134         * DepTable.[Ch] (ext_exist): place const in the right spot.
9135
9136         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9137         call resizeInsets.
9138         (workAreaExpose): call resizeInsets when the with BufferView changes.
9139         (Dispatch): adjust for protectedBlank removal
9140         (specialChar): call updateInset if the insert went ok.
9141
9142         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9143         specialChar instead.
9144
9145         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9146
9147         * BufferView.h: doxy change
9148
9149         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9150
9151         * lyxtextclass.C (operator[]): remove non-const version
9152         (defaultLayout): remove non-const version
9153
9154 2002-03-12  Juergen Vigna  <jug@sad.it>
9155
9156         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9157         did resize the LyXText too.
9158
9159         * buffer.C (readLyXformat2): set layout information on newly allocated
9160         paragraphs.
9161
9162         * tabular.C (OldFormatRead): set layout information on the paragraph.
9163
9164 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9165
9166         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9167
9168 2002-03-11  Juergen Vigna  <jug@sad.it>
9169
9170         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9171         plainly wrong.
9172         (resizeCurrentBuffer): force also the insets to resize themselfes.
9173         (moveCursorUpdate): fixed up for InsetText.
9174
9175 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9176
9177         * commandtags.h:
9178         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9179         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9180         value of Dialogs::tooltipsEnabled().
9181         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9182
9183 2002-03-08  Juergen Vigna  <jug@sad.it>
9184
9185         * BufferView_pimpl.C (updateInset): update inset inside inset also
9186         if it isn't inside theLockingInset().
9187
9188 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * buffer.C (asciiParagraph): redo some of the word and line length
9191         handling.
9192         (getLists): look for Caption instead of caption.
9193
9194 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * buffer.C (Buffer): initialize niceFile to true
9197         (makeLaTeXFile):
9198         (makeLinuxDocFile):
9199         (makeDocBookFile): make sure niceFile is true on exit
9200
9201 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9204
9205 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9206
9207         * LyXSendto.C: remove.
9208         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9209         * lyx_gui.C: remove now-redundant comment.
9210         * ColorHandler.h: remove forward declaration of class WorkArea.
9211         * lyxfunc.C: remove #include "WorkArea.h".
9212
9213 2002-03-07  Juergen Vigna  <jug@sad.it>
9214
9215         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9216         got moved away with the DEPM and also set the inset_owner always
9217         right which before could have been omitted.
9218
9219 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9222         wanted layout is not found.
9223
9224 2002-03-07  Juergen Vigna  <jug@sad.it>
9225
9226         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9227
9228 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9229
9230         * paragraph.C (breakParagraph): use default layout not layout of
9231         prev paragraph.
9232         (Paragraph): clear ParagraphParameters.
9233
9234 2002-03-06  Juergen Vigna  <jug@sad.it>
9235
9236         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9237         otherwise it would not be a valid lenght. Fixed a special case in
9238         the minipage compatibility read where we end the document with a
9239         minipage.
9240
9241         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9242         was set as it could be 0 for InsetTexts first entry.
9243
9244 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * paragraph.C (writeFile): if layout is empty write out
9247         defaultLayoutName().
9248
9249         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9250         file without named layout we set layout to defaultLayoutName().
9251
9252 2002-03-06  Juergen Vigna  <jug@sad.it>
9253
9254         * CutAndPaste.C (copySelection): set layout for new paragraph.
9255
9256         * text.C (prepareToPrint): leave ERT inset left aligned
9257         (leftMargin): don't indent paragraphs inside ERT insets
9258
9259 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9260
9261         * paragraph.C (breakParagraph): dont call clear do the work manually
9262
9263         * paragraph.[Ch] (clear): remove function
9264
9265 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9266
9267         * paragraph.C (Paragraph): dont call clear, the work has already
9268         been done.
9269
9270         * lyxtextclass.C (operator): assert if n is empty
9271
9272         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9273         work manually instead.
9274
9275 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * BufferView_pimpl.C: protect selectionLost against text == 0
9278
9279 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9280
9281         * text.C (breakParagraph): fix a setting layout to '0' problem.
9282
9283 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9284
9285         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9286         final location of file, for the included files, and graphics.
9287
9288 2002-03-05  Juergen Vigna  <jug@sad.it>
9289
9290         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9291
9292 2002-03-04  Juergen Vigna  <jug@sad.it>
9293
9294         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9295
9296         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9297         last column of multicolumn cells.
9298         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9299
9300 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9301
9302         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9303         file if it doesn't go to a temporary file.
9304
9305         * buffer.C (sgmlOpenTag):
9306         (sgmlCloseTag):  remove extra newline insertion.
9307
9308 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * text.C (getRowNearY): comment out debug msg
9311
9312 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * text2.C: first -> first_y
9315
9316         * text.C (getRowNearY): add some attemts at a possible
9317         optimization, not working.
9318
9319         * tabular.[Ch]: add BufferParams to several function so that newly
9320         created paragraph can be initialized to he default layotu for the
9321         buffers textclass.
9322
9323         * tabular-old.C (ReadOld): add buf->params to call of Init
9324
9325         * screen.C: rename text->first to text->first_y
9326
9327         * paragraph.C (breakParagraph): always set layout in the broken
9328         paragraph
9329
9330         * lyxtextclass.C (Read): remove lowercase
9331         (hasLayout): ditto
9332         (operator): ditto
9333         (delete_layout): ditto
9334
9335         * lyxtext.h: rename first -> first_y
9336
9337         * lyxlayout.C (Read): remove lowercase
9338         (name): ditto
9339         (setName): ditto
9340         (obsoleted_by): ditto
9341
9342         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9343
9344         * buffer.C (insertErtContents): add params are to InsetERT
9345         (parseSingleLyXformat2Token): add code to check if a paragraphs
9346         layout really exist.
9347         (parseSingleLyXformat2Token): add params to several inset
9348         constructors
9349         (asciiParagraph): remove lowercase, do the layout comparisons with
9350         no_case
9351
9352         * BufferView_pimpl.C (cursorNext): first -> first_y
9353         (resizeCurrentBuffer): first -> first_y
9354         (updateScrollbar): first -> first_y
9355         (scrollCB): first -> first_y
9356         (workAreaMotionNotify): first -> first_y
9357         (workAreaButtonPress): first -> first_y
9358         (checkInsetHit): first -> first_y
9359         (cursorPrevious): first -> first_y
9360         (cursorNext): first -> first_y
9361         (Dispatch): add buffer_->params to severl inset contructors
9362
9363 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * lyxlayout.C (Read): remove some debug info that I forgot.
9366
9367         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9368         clean up the code slightly.
9369         (makeLinuxDocFile): ditto
9370         (makeDocBookFile): ditto
9371
9372         * text2.C: layout as string
9373
9374         * text.C: layout as string
9375
9376         * paragraph_pimpl.C: layout as string
9377
9378         * paragraph.[Ch]: layout as string
9379
9380         * lyxtextclasslist.[Ch]: layout as string
9381
9382         * lyxtextclass.[Ch]: layout as string
9383
9384         * lyxtext.h: layout as string
9385
9386         * lyxlayout.[Ch]: layout as string
9387
9388         * lyx_cb.C: layout as string
9389
9390         * bufferview_funcs.C: layout as string
9391
9392         * bufferparams.C: layout as string
9393
9394         * buffer.C: layout as string
9395
9396         * LyXView.[Ch]: layout as string
9397
9398         * LaTeXFeatures.[Ch]: layout as string
9399
9400         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9401
9402         * BufferView_pimpl.C: change current_layout to string, remove
9403         lyx::layout_type.
9404         (Dispatch):
9405         (smartQuote):
9406         (insertInset):
9407         (workAreaButtonRelease): layout as string
9408
9409         * BufferView2.C (unlockInset): adjust
9410
9411         * vspace.C (asLatexCommand): use an explict temp variable.
9412
9413 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9414
9415         * Makefile.am: use FRONTEND_*
9416
9417 2002-03-01  Juergen Vigna  <jug@sad.it>
9418
9419         * tabular.C (SetWidthOfMulticolCell): changed to something better
9420         I hope but still work in progress.
9421         (recalculateMulticolumnsOfColumn): renamed function from
9422         recalculateMulticolCells as it is more appropriate now.
9423         (SetWidthOfCell): calculate multicols better.
9424
9425 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9428
9429         * lyxfunc.C (processKeySym): print sequence also if it is
9430         `deleted' (complete)
9431
9432         * kbsequence.C (print): print sequence even if it is deleted
9433         (complete would be a better word, actually).
9434
9435         * lyxfunc.C (dispatch): print complete options after a prefix key
9436
9437         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9438
9439 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9440
9441         * text2.C (setCharFont): eliminate setCharFont code duplication.
9442
9443 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9446         LFUN_TABULAR_FEATURE (bug #177)
9447
9448 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9449
9450         * Makefile.am: remove figure.h
9451
9452 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9453
9454         * Bufferview_pimpl.C:
9455         * CutAndPasteC:
9456         * LaTeX.C:
9457         * LyXSendto.C:
9458         * buffer.C:
9459         * bufferlist.C:
9460         * converter.C:
9461         * language.C:
9462         * lyxfunc.C:
9463         * lyxvc.C:
9464         * paragraph.C:
9465         * text.C:
9466         * text2.C: remove #include "lyx_gui_misc.h".
9467
9468         * LaTeX.C: added #include <cstdio>
9469
9470 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9471
9472         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9473         that the paragraph following this one can have.
9474
9475         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9476
9477         * vspace.C (asLatexCommand): fix bogus gcc warning
9478
9479         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9480
9481 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9482
9483         * text2.C (setLayout): get rid of redundant code
9484
9485 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9486
9487         * text2.C (incDepth): make sure depth cannot be increased beyond
9488         reasonable values.
9489
9490 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9491
9492         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9493         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9494
9495         * PainterBase.h (image):
9496         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9497         a LyXImage const *.
9498
9499 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * BufferView.C:
9502         * BufferView.h:
9503         * BufferView_pimpl.C:
9504         * BufferView_pimpl.h:
9505         * LaTeXFeatures.C:
9506         * LyXAction.C:
9507         * LyXView.C:
9508         * Makefile.am:
9509         * UpdateList.h:
9510         * UpdateList.C:
9511         * buffer.C:
9512         * figure.h:
9513         * figureForm.C:
9514         * figureForm.h:
9515         * figure_form.C:
9516         * figure_form.h:
9517         * lyx_cb.C:
9518         * lyx_gui.C:
9519         * lyx_gui_misc.C:
9520         * lyxfunc.C:
9521         * sp_base.h:
9522         * sp_ispell.h:
9523         * sp_pspell.h:
9524         * sp_spell.C: remove fig inset, and the crap house of
9525           cards that follows it
9526
9527 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * Makefile.am:
9530         * lyxserver.C:
9531         * os2_defines.h:
9532         * os2_errortable.h:
9533         * nt_defines.h: move .h into support/
9534
9535         * vms_defines.h: remove
9536
9537         * WorkArea.C: add space in debug output
9538
9539         * text2.C:
9540         * paragraph.C:
9541         * buffer.C: add WITH_WARNINGS
9542
9543         * vc-backend.h:
9544         * vc-backend.C:
9545         * bufferlist.C: s/retrive/retrieve/, add docs
9546
9547         * vspace.h:
9548         * vspace.C:
9549         * kbmap.h:
9550         * lyxlength.h:
9551         * lyxgluelength.h:
9552         * length_common.h:
9553         * chset.h:
9554         * chset.C: add docs
9555
9556         * lyxgui.C: add ID to X error handler
9557
9558         * lyxtestclass.c: fix typo
9559
9560 2002-02-26  Juergen Vigna  <jug@sad.it>
9561
9562         * tabular_funcs.C (write_attribute): changed so that some default
9563         attributes are not written at all.
9564         (getTokenValue): set default values before trying to read the
9565         value so we have the return value always set as default if we don't
9566         find the token we search for.
9567
9568         * tabular.C (Write): write bools as bools not as strings!
9569
9570 2002-02-22  Juergen Vigna  <jug@sad.it>
9571
9572         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9573         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9574
9575         * text.C (leftMargin): don't add an indent for paragraphs inside
9576         tabular cells (fix #208).
9577
9578 2002-02-21  José Matos  <jamatos@fep.up.pt>
9579
9580         * tabular.C (docBook): fixed support for long tables.
9581
9582 2002-02-20  Juergen Vigna  <jug@sad.it>
9583
9584         * text2.C (getFont): get the drawing font of the Inset if this
9585         paragraph is inside an inset (only important for InsetERT for now).
9586
9587         * buffer.C (insertErtContents): use new lanugage params in ERT
9588         constructor.
9589
9590         * CutAndPaste.C: commenting out seemingly uneeded code.
9591
9592 2002-02-19  Allan Rae  <rae@lyx.org>
9593
9594         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9595         Iterators might be simple to use but they also get invalidated.
9596         (removeAutoInsets): renamed saved cursor tracking variables and added
9597         some comments to clarify what everything does.
9598
9599 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9600
9601         * Chktex.C:
9602         * LaTeX.C:
9603         * LyXSendto.C:
9604         * converter.C:
9605         * lyx_cb.C:
9606         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9607         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9608
9609         * lyxfunc.C:
9610         * vc-backend.h: remove #include "support/syscall.h"
9611
9612         * LaTeX.C:
9613         * LyXSendto.C:
9614         * converter.C: rearrange #includes in Lars' approved fashion.
9615
9616         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9617         forward declare class Timeout in the header file.
9618
9619         * XFormsView.C: changes due to the above.
9620
9621         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9622         similar to LyXView.
9623
9624         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9625         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9626
9627 2002-02-18  José Matos  <jamatos@fep.up.pt>
9628
9629         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9630         insets contents.
9631
9632 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9633
9634         * a lot of small ws changes
9635         * add a lot of using std::XXX
9636         * use std construcs some places where approp.
9637         * use some exisint stuff from lyxfunctional where approp.
9638         * Make file changes to use partial linking (lets test this now...)
9639
9640 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9641
9642         * Chktex.C:
9643         * buffer.C:
9644         remove #include "support/syscontr.h" as it's redundant. Always has been.
9645
9646         * Chktex.C:
9647         * LaTeX.C:
9648         * LyXSendto.C:
9649         * converter.C:
9650         * lyx_cb.C:
9651         * vc-backend.C:
9652         change Systemcalls::System to Systemcalls::Wait and
9653         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9654         No change of functionality, just reflects the stripped down Systemcalls
9655         class.
9656
9657 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9658
9659         * debug.[Ch]: add a GRAPHICS type to the enum.
9660
9661 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9664
9665         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9666         there is an inset.
9667
9668 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9671         match the changes below.
9672
9673         * text2.C (toggleInset): if there is not editable inset at cursor
9674         position, try to see if cursor is _inside_ a collapsable inset
9675         and close it.
9676
9677 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9680         document menu has a nice checkbox
9681
9682 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * lyxlength.C (asLatexString): change PW to output as percent of
9685         \textwidth.
9686
9687         * lengthcommon.C: change '%' to 't%'
9688
9689         * lyxfunc.C (dispatch): a few comments from Martin
9690
9691 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * WorkArea.h:
9694         * WorkArea.C:
9695         * BufferView_pimpl.h:
9696         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9697           the X selection.
9698
9699 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * vspace.C (inPixels): fix compiler warning
9702
9703 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * lyxfunc.C (getStatus): fix status message for disabled commands.
9706
9707 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * BufferView_pimpl.C: fix crash on close buffer
9710         during selection (#227)
9711
9712 2002-01-27  Herbert Voss  <voss@lyx.org>
9713
9714         * buffer.C: link old Figure to new graphic inset
9715
9716 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9717
9718         * FontLoader.C (getFontinfo): Change the latex font names in order
9719         to match the names of type1inst.
9720
9721 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9724
9725         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9726         (extchanged): ditto
9727         (ext_exist): ditto
9728         (remove_files_with_extension): ditto
9729         (remove_file): ditto
9730         (write): ditto
9731
9732         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9733         document is smaller than the work area height. Do not initialize
9734         static variables to 0.
9735
9736 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9739
9740         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9741         LFUN_LAYOUT_PARAGRAPHS.
9742
9743         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9744         tabular. It is possible to provide a possible cell, which will
9745         typically be the actcell from the corresponding insettabular
9746
9747         * lyxfunc.C (getStatus): small cleanup; disable
9748         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9749         true
9750
9751 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9752
9753         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9754
9755         * paragraph.C (startTeXParParams):
9756         (endTeXParParams): new methods. The LaTeX code to
9757         start/end paragraph formatting
9758         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9759         empty (fixes bug #200)
9760
9761         * vspace.C (inPixels): adapt to the change below
9762         (inPixels): [later] more cleanups (remove unused variables)
9763
9764         * lyxlength.C (inPixels): change to use a width and a height as
9765         parameter.
9766
9767 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9770         Replaced with \paperwidth
9771
9772         * DepTable.C (insert): add std:: qualifier
9773
9774 2002-01-18  Allan Rae  <rae@lyx.org>
9775
9776         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9777         updated also?
9778
9779         * text.C (drawInset): Turned out I didn't know enough about how
9780         rebreaking worked.  This fixes most of the redraw problems.  I see
9781         an occasional cursor trail when a line is broken now and the cursor
9782         placement can seem out by a few pixels also after a rebreak.
9783
9784 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9785
9786         * buffer.C (parseSingleLyXformat2Token): update because minipage
9787         width is now a LyXLength
9788
9789         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9790
9791         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9792         math insets
9793
9794 2002-01-17  Juergen Vigna  <jug@sad.it>
9795
9796         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9797
9798         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9799         is set correctly and the inset is updated correctly.
9800
9801 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9804         the beginning of the loop.
9805
9806 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * lyxrc.C: improve help for use_scalable_fonts
9809
9810 2002-01-17  Allan Rae  <rae@lyx.org>
9811
9812         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9813
9814 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9815
9816         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9817         make sure to set their inset_owner to the right value (bug #171)
9818
9819 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9820
9821         * DepTable.h
9822         * DepTable.C: Implement mtime checking to reduce time spent doing
9823         CRCs.
9824
9825 2002-01-16  Juergen Vigna  <jug@sad.it>
9826
9827         * tabular.C (GetAdditionalHeight): one of error fixed.
9828
9829         * lyxrc.C (output): small fix in writing use_pspell.
9830
9831 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * sp_base.h: #include LString.h
9834
9835 2002-01-16  Allan Rae  <rae@lyx.org>
9836
9837         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9838         Can someone check this please?
9839
9840         * text.C (drawInset): It was possible that p.row would be removed by
9841         breakAgainOneRow upsetting a few other settings.  There may be another
9842         small tweak possible by setting need_break_row = 0 when p.row has been
9843         removed but I don't know enough about the logic here.
9844
9845 2002-01-15  Allan Rae  <rae@lyx.org>
9846
9847         * text.C (insertChar): removed conditional truism.
9848
9849         * BufferView2.C (removeAutoInsets): More tweaks.
9850         cur_par_prev could be a stray pointer.  Check for trailing empty line
9851         in case last line was cur_par and only had an error inset on it.
9852
9853 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9856         absolute
9857
9858         * vc-backend.C (most methods):
9859         * exporter.C (Export):
9860         * converter.C (convert):
9861         (runLaTeX):
9862         * LyXSendto.C (SendtoApplyCB):
9863         * lyxfunc.C (dispatch):
9864         (menuNew):
9865         (open):
9866         (doImport):
9867         * lyx_cb.C (AutoSave):
9868         (InsertAsciiFile):
9869         * BufferView_pimpl.C (MenuInsertLyXFile):
9870         * buffer.C (runChktex): use Buffer::filePath().
9871
9872         * buffer.h: rename filename to filename_; rename filepath to
9873         filepath_ and make it private
9874         (filePath): new method
9875
9876         * buffer.C (writeFile): use fileName()
9877         (getLatexName):
9878
9879         * lyx_main.C (init): fix starting  of LyX when the binary is a
9880         link from so,ewhere else.
9881
9882         * minibuffer.C: include <cctype> for isprint
9883
9884 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9885
9886         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9887         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9888         name clash with InsetCollapsable's width function.
9889
9890 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9891
9892         * lastfiles.C: include <iterator>
9893
9894 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9895
9896         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9897         std::count.
9898
9899         * buffer.C (makeLaTeXFile): ditto.
9900         Also make loop operation more transparent.
9901
9902 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9903
9904         * ToolbarDefaults.C: remove trailing comma closing namespace.
9905
9906         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9907
9908         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9909         as in WorkArea.
9910
9911         * trans.C (Load): comment out unused variable, allowed.
9912
9913 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9914
9915         * minibuffer.[Ch] (append_char): new method to recieve input from the
9916         drop-down completion browser. If a key was pressed, then recieve this
9917         char and append it to the existing string.
9918         (peek_event): modify the positioning data passed to the completion
9919         browser so that it can be placed above the minibuffer rather than below.
9920 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9921
9922         * LyXAction.C (init): alloe error-next for readonly documents.
9923
9924         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9925         count.
9926
9927 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9928
9929         * bufferlist.C (readFile): create the buffer _after_ checking that
9930         the file exists.
9931
9932         * lyxfunc.C (verboseDispatch): fix handling of arguments
9933
9934         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9935
9936         * lyxrc.C: use string::erase() instead of initializing to "".
9937
9938
9939 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * BufferView_pimpl.h:
9942         * BufferView_pimpl.C:
9943         * WorkArea.h:
9944         * WorkArea.C:
9945         * text2.C: tell X when we have made a selection for copying
9946
9947 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9948
9949         * BufferView_pimpl.C (MenuInsertLyXFile):
9950         * lyxfunc.C (menuNew):
9951         (open):
9952         (doImport): add shortcuts to directory buttons
9953
9954         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9955         open a float)
9956
9957         * lyxfunc.C (setStatusMessage):
9958         (getStatusMessage): new methods
9959         (getStatus):use setStatusMessage instead of setErrorMessage
9960         (dispatch): when function is disabled, set error message here
9961         [instead of in getStatus previously]
9962
9963         * BufferView_pimpl.C (workAreaButtonRelease): update
9964         toolbar/menubar here too.
9965
9966 2002-01-13  Allan Rae  <rae@lyx.org>
9967
9968         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9969         Now seems indestructible.  Remaining task is to audit all other
9970         code affected by deleteEmptyParagraphMechanism.  One small quirk
9971         left is that an empty document with an error in the preamble can
9972         be made to report an error but no error box appears.  I don't know
9973         where it goes.
9974         (removeAutoInsets): Improved comments.
9975
9976 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * Thesaurus.h:
9979         * Thesaurus.C: update for Aiksaurus 0.14
9980
9981 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9982
9983         * text2.C (firstParagraph): removed member function, all uses
9984         replaces with ownerParagraph
9985         (redoParagraphs): here
9986         (updateInset): here
9987         (toggleAppendix): here
9988         * BufferView2.C (insertErrors): here
9989         (setCursorFromRow): here
9990
9991 2002-01-13  Allan Rae  <rae@lyx.org>
9992
9993         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9994         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9995         There is still a way to segfault this although you may have to do this
9996         multiple times: Have an InsetERT with an unknown command in it.
9997         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9998         <down-arrow>, <Enter> again, View->DVI, BANG!
9999
10000         * text2.C (setCursor):
10001         (deleteEmptyParagraphMechanism):
10002         * lyxtext.h (setCursor):
10003         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10004         Making use of the return value may help fix other bugs.
10005
10006 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10009
10010         * LyXView.C (updateMenubar): call MenuBar::update here
10011         (updateToolbar): but not here
10012         (showState): do not update toolbar/menubar
10013
10014         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10015         should need to care about that.
10016
10017         * lyxfunc.C (verboseDispatch): simplify a bit
10018         (getStatus): have a version which takes a pseudoaction, and
10019         another which requires a (kb_action,string).
10020
10021         * LyXAction.C (retrieveActionArg): make it work also when action
10022         is not a pseudo-action.
10023         (getActionName): simplify a bit
10024         (helpText):
10025
10026 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * lyxfunc.C (verboseDispatch): new families of methods with
10029         several ways to specify a command and a bool to indicate whether
10030         the command name and shortcut should be displayed in minibuffer
10031         (eventually, we could extend that to a finer bitmask like
10032         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10033         (dispatch): the pristine dispatch command which just, well,
10034         dispatchs! Note it still sets its result to minibuffer; I'm not
10035         sure we want that.
10036
10037         * lyxfunc.h: remove setHintMessage
10038
10039         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10040
10041 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10042
10043         * BufferView_pimpl.C (specialChar): delete new inset if we have
10044         not been able to insert it.
10045
10046         * kbmap.C: revert to using int instead of kb_action, since all we
10047         are dealing with is pseudo-actions.
10048
10049         * LyXAction.C (searchActionArg): change to return int instead of
10050         kb_action, since the result is a pseudoaction.
10051
10052 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10053
10054         * buffer.C (insertErtContents): Fix (partially) the font bug.
10055
10056 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10057
10058         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10059         as the other one is broken on my machine!
10060
10061 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10062
10063         * commandtags.h:
10064         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10065
10066 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10067
10068         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10069         reflect their actual use. Provide compatibility code for older lyxrc
10070         files.
10071
10072         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10073         FL_NORMAL_STYLE.
10074         change names of popup font variables in line with the changes to lyxrc.C
10075
10076 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10077
10078         * buffer.C (asciiParagraph): avoid outputing a word twice after
10079         an inset.
10080
10081         * lyxrc.C (getDescription): document that document_path and
10082         template_path can be empty.
10083
10084 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10085
10086         * LaTeXFeatures.C (getMacros):
10087         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10088
10089         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10090
10091         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10092         getPackages.
10093         (getPackages): rename feature "floats" to "float". Use an array to
10094         iterate over 'simple' features (i.e. just a \usepackage). Add
10095         handling of "amsmath" (renamed from "amsstyle").
10096
10097 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10098
10099         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10100         features list.
10101
10102 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10103
10104         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10105         FuncStaus::FuncStatus & FuncStaus::some_method().
10106
10107 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10108
10109         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10110         of the func_satus stuff. Edited and massaged in various ways by
10111         JMarc.
10112
10113         * lyxfunc.C (getStatus): use FuncStatus
10114
10115 2002-01-08  Juergen Vigna  <jug@sad.it>
10116
10117         * text.C (nextBreakPoint): use function Inset::isChar().
10118
10119         * paragraph.C (TeXOnePar): use function
10120         Inset::forceDefaultParagraphs.
10121
10122         * buffer.C (latexParagraphs): use function
10123         Inset::forceDefaultParagraphs.
10124
10125 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10126
10127         * lyx_gui.C (init): set the style of the menu popups to
10128         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10129
10130 2002-01-07  Juergen Vigna  <jug@sad.it>
10131
10132         * text.C (setHeightOfRow): small fix
10133         (prepareToPrint): don't look at alignment if we don't have the place
10134         for doing it.
10135
10136 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10137
10138         * box.C: New file. Move the Box methods and functions out of box.h,
10139         following Lars' suggestion.
10140
10141 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10142
10143         * box.h: #include "support/LOstream.h", needed for inlined function.
10144
10145         * lyxtextclass.C:
10146         * lyxtextclasslist.C: added some using std declarations.
10147
10148 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * box.h: make signed dimensions to allow insets wider than
10151           the screen (bug #162)
10152
10153         * BufferView_pimpl.C: add some insetHit debug
10154
10155 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * vc-backend.C: add FIXME
10158
10159 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10160
10161         * lyxfunc.C (getStatus): enable code for showing math font status
10162         in toolbar/menu.
10163
10164 2002-01-07  Juergen Vigna  <jug@sad.it>
10165
10166         * text.C (nextBreakPoint): removed debug output not needed anymore.
10167
10168 2002-01-06  Juergen Vigna  <jug@sad.it>
10169
10170         * text.C (nextBreakPoint): fixed up this function we had this bug
10171         since ever but now hopefully we break row better.
10172         (insertChar): we have to check if an inset is the next char as it
10173         could now happen that a large inset is causing a break.
10174
10175 2002-01-05  Juergen Vigna  <jug@sad.it>
10176
10177         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10178         if it doesn't like to be drawed.
10179
10180 2002-01-04  Juergen Vigna  <jug@sad.it>
10181
10182         * BufferView2.C (lockInset): forgot to set a cursor.
10183
10184         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10185
10186 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10187
10188         * FormMathsPanel.C:
10189         * FormMathsPanel.h
10190         * MathsSymbols.C:
10191         * form_maths_panel.C:
10192         * form_maths_panel.h:
10193         * form_maths_panel.fd: implemented sub- and super- buttons in math
10194         panel.
10195
10196         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10197         (or ^ space) to be used as in TeX (req'd by André).
10198
10199         * lyxfunc.C: Allow ^ and _ again to be used both as
10200         super/subscript (mathed) and as themselves (in text).
10201
10202 2002-01-03  Allan Rae  <rae@lyx.org>
10203
10204         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10205         "LyX" or the filename of the current buffer if it has one.  This is a
10206         modified form of John Levon's patch.
10207
10208         * XFormsView.C (setWindowTitle): also set icon title.
10209
10210         * LyXView.h (setWindowTitle): signature changed.
10211         * XFormsView.h (setWindowTitle): ditto.
10212
10213 2002-01-02  Juergen Vigna  <jug@sad.it>
10214
10215         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10216
10217 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * screen.C (topCursorVisible): introduce a temp var for
10220         text->cursor.row(), handle the case where this row is null. (kindo
10221         hachish)
10222
10223         * text2.C (setCursor): add a couple of asserts.
10224
10225         * paragraph.h (inset_iterator): add -> operator
10226
10227         * paragraph.[Ch] (autoDeleteInsets): remove member function
10228
10229         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10230         cursor pos correctly and handle inset deletion by itself.
10231         (insertErrors): move iterator declaration out of for expression
10232
10233         * lyxtextclass.C: add <algorithm>
10234
10235         * Makefile.am: added the new files to sources, removed layout.C
10236
10237         * layout.C: removed file
10238
10239         * layout.h: remove LYX_DUMMY_LAYOUT
10240
10241         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10242         layout.
10243
10244         * lyxlayout.[Ch]:
10245         * lyxtextclass.[Ch]:
10246         * lyxtextclasslist.[Ch]: new files
10247
10248         * include order changes to a lot of files, also changes because of
10249         the six new files.
10250
10251 2001-12-27  Juergen Vigna  <jug@sad.it>
10252
10253         * buffer.C (asciiParagraph): more fixes.
10254
10255         * tabular.C (ascii): make ascii export support export of only the
10256         data separated by a column-delimiter.
10257         (ascii): better support for ascii export.
10258
10259         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10260
10261 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10262
10263         * tabular_funcs.C: use a "using std::getline" instead of the
10264         previous fix from Angus (necessary for cxx + lyxstring)
10265
10266 2001-12-24  Juergen Vigna  <jug@sad.it>
10267
10268         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10269
10270         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10271         problems. First check a minipage also if we have some ert-contents
10272         (not only on par->size(), second set the right depth of the paragraph
10273         on the relink to the root-paragraph-list!
10274
10275         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10276         which then did not anymore update the main paragraphs on undo/redo!
10277
10278 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10281         code. Support all font-changing funcs (even those which are not in
10282         menu currently). Support for reporting font settings in
10283         mathed (disabled until Andre provides a function on mathed's side).
10284
10285         * func_status.h (toggle): small helper function to set toggle
10286         state on a flag.
10287
10288 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10289
10290         * tabular_funcs.C: getline -> std::getline
10291
10292 2001-12-21  Juergen Vigna  <jug@sad.it>
10293
10294         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10295         accessed and could be 0 (I couldn't generate this but it seems
10296         Michael could!).
10297
10298 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10299
10300         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10301         * tabular_funcs.h: here and include iosfwd
10302
10303 2001-12-20  Juergen Vigna  <jug@sad.it>
10304
10305         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10306         inside inset but undo_par was.
10307
10308 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * Thesaurus.C: always include <config.h> in sources.
10311
10312         * Painter.h:
10313         * lyxlookup.h:
10314         * box.h: do not include <config.h> in header files
10315
10316         * text.C (paintLastRow): remove unused variable
10317
10318         * text.C (transformChar):
10319         (insertChar):
10320         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10321
10322         * Painter.C (text):
10323         * font.C (width): rewrite to use uppercase() instead of
10324         islower/toupper.
10325
10326         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10327
10328 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * lyxfind.C: clean up of find failure position change
10331
10332 2001-12-20  Juergen Vigna  <jug@sad.it>
10333
10334         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10335
10336         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10337         (TeXRow): added to LaTeX a single tabular row.
10338         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10339         (Latex): simplified and finally good LT-h/f support.
10340         (various_functions): just small adaptions for LT-h/f support.
10341
10342         * tabular_funcs.[hC]: added and moved here all not classfunctions
10343         of LyXTabular.
10344
10345 2001-12-19  Juergen Vigna  <jug@sad.it>
10346
10347         * tabular.[Ch]: better support for longtabular options (not finished
10348         yet!)
10349
10350 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * text.C (paintLastRow): use the label font instead of the font of
10353         the last character to compute the size of *_BOX. This makes more
10354         sense and avoids a crash with empty paragraphs.
10355         Use Painter::rectangle to draw EMPTY_BOX.
10356
10357 2001-12-19  Juergen Vigna  <jug@sad.it>
10358
10359         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10360         the paragraphs if the replaced paragraph is not the first one!
10361         Tried to delete not used paragraphs but does not work yet so for
10362         now it's inside #ifdef's and by default off!
10363
10364 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * MenuBackend.C: include "lyx_main.h" instead of declaring
10367         lastfiles (actually was declared as LastFiles* instead of a
10368         scoped_ptr).
10369
10370 2001-12-17  Juergen Vigna  <jug@sad.it>
10371
10372         * tabular.C (AppendColumn): applied John's fix
10373
10374 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * BufferView.h:
10377         * BufferView.C:
10378         * BufferView_pimpl.h:
10379         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10380
10381         * Makefile.am:
10382         * box.h: new start of class for above
10383
10384         * lyxfunc.C: ignore space-only minibuffer dispatches.
10385           Show the command name when it doesn't exist
10386
10387         * minibuffer.C: don't add empty lines to the history
10388
10389         * minibuffer.C: add a space on dropdown completion
10390
10391 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * text.C: fix line above/below drawing in insets
10394
10395 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * lyxlength.C (LyXLength): Initialize private variables.
10398
10399 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10400
10401         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10402         when inserting error insets.
10403
10404 2001-12-13  Juergen Vigna  <jug@sad.it>
10405
10406         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10407         actually sometimes the before-paragraph.
10408         (setUndo): don't clear the redostack if we're not actually undoing!
10409
10410 2001-12-06  Juergen Vigna  <jug@sad.it>
10411
10412         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10413         and fixed redoing of main paragraph, so we can use it now ;)
10414
10415         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10416
10417 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10420         Juergen's request
10421
10422 2001-12-13  André Pönitz <poenitz@gmx.net>
10423
10424         * undostack.[Ch]:
10425         * undo_func.C: minor cleanup
10426
10427 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10430         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10431         font in urw-fonts package which is marked as -urw-fontspecific and
10432         does not work (incidentally, changing the encoding in the
10433         fonts.dir of this package to -adobe-fontspecific fixes the
10434         problem).
10435
10436         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10437         is a crash when undoing first paragraph (Juergen, please take a
10438         look). THis does not mean the undo fix is wrong, just that it
10439         uncovers problems.
10440
10441         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10442         the (Paragraph*) version when needed instead of duplicating the
10443         code.
10444
10445         * text.C (workWidth): use Inset::parOwner to find out where the
10446         inset has been inserted. This is a huge performance gain for large
10447         documents with lots of insets. If Inset::parOwner is not set, fall
10448         back on the brute force method
10449
10450         * paragraph_pimpl.C (insertInset):
10451         * paragraph.C (Paragraph):
10452         (cutIntoMinibuffer): set parOwner of insets when
10453         inserting/removing them
10454
10455         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10456
10457 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10458
10459         * commandtags.h:
10460         * LyXAction.C:
10461         * lyx_main.C:
10462         * lyxfunc.C:
10463         * mathed/formulabase.C:
10464         * mathed/math_cursor.[Ch]:
10465         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10466
10467
10468 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * lyxlength.[Ch] (operator!=): new function
10471
10472 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * text.C (workWidth): use Inset::parOwner to find out where the
10475         inset has been inserted. This is a huge performance gain for large
10476         documents with lots of insets. If Inset::parOwner is not set, fall
10477         back on the brute force method
10478
10479         * paragraph_pimpl.C (insertInset):
10480         * paragraph.C (Paragraph):
10481         (cutIntoMinibuffer): set parOwner of insets when
10482         inserting/removing them
10483
10484         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10485
10486 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * tabular-old.C (getTokenValue):
10489         * tabular.C (getTokenValue):
10490         (write_attribute): new versions for LyXLength
10491         (everywhere): adjust the use of widths
10492
10493         * tabular.h: change the type of widths from string to LyXLength
10494
10495 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10496
10497         * paragraph.C: fixed missing line number count when exporting
10498         Environments to LaTeX file
10499
10500         * buffer.C: added informational message for checking line numbers.
10501
10502 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10505         paragraph, do the 'double space' part, but not the 'empty
10506         paragraph' one.
10507
10508         * text.C (workWidth): small optimization
10509         (getLengthMarkerHeight): use minimal size for negative lengths.
10510
10511 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10512
10513         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10514
10515         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10516
10517 2001-12-11  André Pönitz <poenitz@gmx.net>
10518
10519         * FontLoader.C:
10520         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10521
10522 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * text2.C: keep selection on a setFont()
10525
10526 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * lyx_cb.C: another bv->text misuse, from insert label
10529
10530 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * kbsequence.h:
10533         * kbsequence.C: re-instate nmodifier mask
10534
10535 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10536
10537         * lyx_main.h: make lyxGUI private.
10538
10539 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * lyxfind.C: place the cursor correctly on failed search
10542
10543 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * text.C (getLengthMarkerHeight): for small heights, the arrows
10546         are not always on top/bottom of the text
10547         (drawLengthMarker): smaller arrows; take the left margin in
10548         account; draw also vfills.
10549         (paintFirstRow):
10550         (paintLastRow): remove special code for vfill and standard spaces,
10551         since everything is handled in drawLengthMarker now.
10552
10553 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10554
10555         * buffer.C (insertErtContents): try to handle font and language
10556         interaction a bit better.g
10557
10558         * ColorHandler.C (updateColor): change the hash to cover the whole
10559         LColor enum, ws cleanup
10560         (getGCLinepars): ditto
10561         (getGCLinepars): only lookup in the linecache once.
10562
10563 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * iterators.C (operator++): Make the iterator more robust
10566
10567         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10568         (John's patch)
10569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10570
10571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyxtext.h:
10574         * text.C: better added space drawing
10575
10576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * LyXView.C:
10579         * BufferView2.C: fix layout combo update on inset unlock
10580
10581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10582
10583         * Makefile.am: don't compile unused files
10584
10585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * lyxfunc.C:
10588         * commandtags.h:
10589         * LyXAction.C: remove old LFUN_LAYOUTNO
10590
10591 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * paragraph_pimpl.h:
10594         * paragraph_pimpl.C: isTextAt() doesn't need font param
10595
10596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * lyxlex.h:
10599         * lyxlex.C: little cleanup
10600
10601 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * BufferView_pimpl.C: fix insertAscii for insets
10604
10605 2001-12-05  Juergen Vigna  <jug@sad.it>
10606
10607         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10608         set the right font on the "multi" paragraph paste!
10609
10610 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * trans_decl.h:
10613         * trans_mgr.[Ch]:
10614         * trans.[Ch]:
10615         * lyxgluelength.C:
10616         * lyxlength.C: remove out-commented code.
10617
10618         * BufferView_pimpl:
10619         * CutAndPaste.C:
10620         * DepTable.C:
10621         * buffer.C:
10622         * chset.C:
10623         * lastfiles.C:
10624         * lyxlex.C:
10625         * lyxlex_pimpl.C:
10626         * lyxserver.C:
10627         * screen.C:
10628         * tabular-old.C:
10629         * tabular.C:
10630         * text.C:
10631         * trans_mgr.C:
10632         * vc-backend.C: change "while(" to "while ("
10633
10634         * lyxlength.[Ch]: add zero function to check if length is zero or
10635         not
10636         * lyxgluelength.C: use it
10637
10638 2001-12-05  Allan Rae  <rae@lyx.org>
10639
10640         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10641         Works for 2.95.3, from what I understand of Garst's reports this should
10642         work for other g++ versions.  We're screwed if the abs(int) definition
10643         changed between bugfix releases of gcc.
10644
10645 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * text.C: fix chapter label offset !
10648
10649 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * lyxtext.h:
10652         * text.C: fix hfill at end of line, clean up
10653
10654 2001-12-04  Juergen Vigna  <jug@sad.it>
10655
10656         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10657         that we force an update of the inset and it's owners if neccessary.
10658
10659 2001-12-03  Juergen Vigna  <jug@sad.it>
10660
10661         * text.C (rowLast): simplified code
10662
10663 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * lyxfunc.C: fix show options on timeout
10666
10667 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * screen.C (topCursorVisible): scroll half a page when the cursor
10670         reached top of bottom of screen
10671
10672 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * minibuffer.C: deactivate on loss of focus
10675
10676 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * vspace.[Ch] (operator!=): add operator.
10679
10680 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * BufferView_pimpl.C: refuse to open an inset when
10683         there's a selection.
10684
10685 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView_pimpl.C: allow to click on RHS of full row insets
10688
10689 2001-11-30  Juergen Vigna  <jug@sad.it>
10690
10691         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10692         insets for undo reasons.
10693
10694 2001-11-28  André Pönitz <poenitz@gmx.net>
10695
10696         * vspace.[Ch]: cosmetical changes
10697
10698 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * LyXAction.h:
10701         * LyXAction.C:
10702         * lyxfunc.h:
10703         * lyxfunc.C:
10704         * kbmap.h:
10705         * kbmap.C:
10706         * lyxrc.C:
10707         * kbsequence.h:
10708         * kbsequence.C: part re-write of old kb code
10709
10710         * Painter.C:
10711         * WorkArea.C: remove Lgb_bug_find_hack
10712
10713 2001-11-30  José Matos <jamatos@fep.up.pt>
10714
10715         * buffer.C (makeDocBookFile): add a comment to point a hack.
10716         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10717         Fixed a double write of labels.
10718
10719 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10720
10721         * LaTeX.C:
10722         * LaTeX.h Fixed bug in LaTeX class where it would not
10723         re-run latex if no depfiles were changed, but the .dvi was removed.
10724
10725 2001-11-28  André Pönitz <poenitz@gmx.net>
10726
10727         * all the files from the change on 2001/11/26:
10728         use lyx::layout_type instead of LyXTextClass::size_type
10729         use lyx::textclass_type instead of LyXTextClassList::size_type
10730
10731 2001-11-29  Juergen Vigna  <jug@sad.it>
10732
10733         * text.C: added support for paragraph::isFreeSpacing()
10734
10735         * buffer.C: same as above
10736
10737         * paragraph.h: inserted isFreeSpacing() function to enable
10738         FreeSpacing inside InsetERT.
10739
10740         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10741         of the paragraph's in the cut/copy buffer to 0!
10742
10743         * text2.C (removeRow): remove the assert as it can!
10744
10745         * lyxtext.h: added helper function firstRow returning firstrow and
10746         made firstrow private again.
10747
10748         * BufferView2.C (lockInset): don't relock if we're already locked!
10749
10750         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10751         the only paragraph.
10752         (removeRow): added Assert::(firstrow)
10753
10754         * debug.C: forgot to add INSETTEXT here.
10755
10756 2001-11-28  Juergen Vigna  <jug@sad.it>
10757
10758         * sp_spell.C (initialize): changed error text to more general
10759         spellchecker command use (not only ispell!)
10760
10761         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10762
10763         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10764
10765 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * vspace.C: initialise lyxgluelength on failure
10768
10769 2001-11-28  Allan Rae  <rae@lyx.org>
10770
10771         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10772         declaration & definition that looks like a function declaration.
10773
10774 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10775
10776         * BufferView2.C (copy):
10777         (copyEnvironment): do not clear the selection when doing a copy.
10778
10779         * text.C (paintFirstRow): compilation fix
10780
10781 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10782
10783         * tabular.C (Latex): correct line count when writing latex.
10784
10785 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * paragraph_pimpl.h:
10788         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10789           bug a bit
10790
10791 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10792
10793         * text.C:
10794         * LColor.h:
10795         * LColor.C: change vfillline->added_space
10796
10797         * text.C: add markers and text for added space
10798
10799         * vspace.C: fix comment
10800
10801 2001-11-28  André Pönitz <poenitz@gmx.net>
10802
10803         * paragraph.C: whitespace changes
10804         * all the other files from the change on 2001/11/26:
10805         change *::pos_type into lyx::pos_type
10806
10807 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10810         language of the document when inserting error insets.
10811
10812 2001-11-26  André Pönitz <poenitz@gmx.net>
10813
10814         * BufferView_pimpl.[Ch]:
10815         *       CutAndPaste.C:
10816         * buffer.[Ch]:
10817         * lyxcursor.[Ch]:
10818         * lyxfind.C:
10819         * lyxfunc.C:
10820         * lyxrow.[Ch]:
10821         * paragraph.[Ch]:
10822         * paragraph_pimpl.[Ch]:
10823         * sp_spell.C:
10824         * text.C:
10825         * text2.C: reduce header dependencies, introduce type for positions
10826
10827 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * <various>: change to use Alert.h
10830
10831 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10832
10833         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10834         when encountering an unknown token.
10835         (readLyXformat2): Show an error message if there were unknown tokens.
10836
10837 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * BufferView2.C:
10840         * BufferView_pimpl.C:
10841         * buffer.C:
10842         * paragraph.h:
10843         * text.C:
10844         * text2.C: use par->isInset()
10845
10846 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * paragraph_pimpl.h:
10849         * paragraph_pimpl.C: cleanup
10850
10851 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10852
10853         * text2.C (removeRow):
10854         * text.C (setHeightOfRow): remove useless (and costly) call to
10855         getRow.
10856
10857 2001-11-20  Allan Rae  <rae@lyx.org>
10858
10859         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10860         Now need Inset*::checkInsertChar() to return true for appropriate
10861         cases so that the characters in the minibuffer will actually be
10862         inserted.
10863
10864 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * text.C: change the order of the includes.
10867         (workWidth): initialize it at once.
10868         (workWidth): make maxw unsigned
10869         (setHeightOfRow): remove unused variable (inset)
10870         (selectSelectedWord): remove unused variable (inset)
10871         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10872
10873 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10874
10875         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10876         server is not running.
10877         (openConnection):
10878         (closeConnection): add debug info when server is disabled.
10879
10880         * ColorHandler.C (getGCForeground): send debug message to GUI
10881         channel.
10882
10883         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10884
10885         * kbmap.C (bind): modify because return conventions of
10886         kb_sequence::parse have changed.
10887
10888         * kbsequence.C (parse): only ignore spaces and not any stupid
10889         control character. This avoids tests like s[i] <= ' ', which are
10890         guaranteed to fail with 8bit characters and signed chars.
10891         Change return code to string::npos when there have been no error
10892         (0 was a bad idea when error is at first character)
10893
10894 2001-11-14  José Matos  <jamatos@fep.up.pt>
10895
10896         * buffer.h:
10897         * buffer.C (simpleDocBookOnePar): removed unused argument.
10898
10899 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10900
10901         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10902         insets which are part of a word. Paragraph::isLetter takes care of
10903         that now. Use Paragraph::isInset to identify insets.
10904         (selectSelectedWord): do not test for hyphenation break.
10905
10906         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10907         that protected spaces are considered as spaces.
10908
10909         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10910         Inset::isLetter.
10911
10912 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lyxserver.h:
10915         * lyxserver.C: fix it. and small cleanup.
10916
10917 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * BufferView_pimpl.C: use inline helpers
10920
10921         * LaTeXFeatures.h:
10922         * LaTeXFeatures.C: fix typos
10923
10924         * Spacing.h:
10925         * Spacing.C: move spacing_string into class
10926
10927         * ToolbarDefaults.C: move stuff into namespace anon
10928
10929         * layout.h: update enum
10930
10931         * lyxfunc.C: use better debug
10932
10933         * minibuffer.h: fix typo
10934
10935         * debug.h:
10936         * debug.C:
10937         * WorkArea.C: add and use Debug::WORKAREA
10938
10939         * lyxtext.h:
10940         * text.C:
10941         * text2.C: code re-organisation, inline helpers
10942
10943 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10944
10945         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10946         std::vector.empty().
10947
10948 2001-11-09  Allan Rae  <rae@lyx.org>
10949
10950         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10951         '\n's after tables.  Tabular and ERT inset work now makes this no
10952         longer necessary.
10953
10954 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * minibuffer.h:
10957         * minibuffer.C: fix crash, improve drop-down completion
10958
10959 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * lyxserver.h:
10962         * lyxserver.C: invalidate fd's when doing endPipe()
10963
10964 2001-11-08  José Matos  <jamatos@fep.up.pt>
10965
10966         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10967         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10968
10969         * paragraph.h:
10970         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10971
10972 2001-11-07  José Matos  <jamatos@fep.up.pt>
10973
10974         * buffer.h:
10975         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10976         const qualifier.
10977
10978         * buffer.C (sgmlOpenTag):
10979         * buffer.C (sgmlCloseTag): removed debug info.
10980
10981         * buffer.h (sgmlOpenTag):
10982         * buffer.h (sgmlCloseTag): made public.
10983
10984 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * buffer.C (saveParamsAsDefaults):
10987         * lyx_cb.C (MenuLayoutSave): remove
10988
10989         * LyXAction.C (init):
10990         * commandtags.h:
10991         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10992
10993 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10994
10995         * buffer.C (setPaperStuff): removed from here...
10996
10997         * bufferparams.C (setPaperStuff): ... and moved there.
10998
10999 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * minibuffer.h:
11002         * minibuffer.C:
11003         * XFormsView.C: add support for drop-down completion
11004
11005 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11006
11007         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11008         commands.
11009
11010 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11011
11012         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11013         disabled.
11014
11015 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * lyx_main.C: change ref to known bugs
11018
11019 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11020
11021         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11022         to work around older babel problems.
11023
11024 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11025
11026         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11027
11028 2001-10-24  Juergen Vigna  <jug@sad.it>
11029
11030         * tabular-old.C (ReadOld): below variable changes reflected.
11031
11032         * tabular.[Ch]: added ltType struct for longtable header/footer
11033         defines and changed all instances where they are used. Added
11034         future support for double top/bottom rows.
11035
11036 2001-10-24  José Matos  <jamatos@fep.up.pt>
11037
11038         * buffer.h (docbookHandleCaption):
11039         * buffer.C (docbookHandleCaption): removed unused function.
11040         (makeDocBookFile): moved docbook supported version to v4.1.
11041
11042 2001-10-24  José Matos  <jamatos@fep.up.pt>
11043
11044         * tabular.h:
11045         * tabular.C (docbookRow): new function to export docbook code of a row.
11046         (DocBook): now honors the longtable flags.
11047
11048 2001-10-23  José Matos  <jamatos@fep.up.pt>
11049
11050         * LaTeXFeatures.h:
11051         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11052         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11053
11054         * buffer.C (makeLinuxDocFile):
11055         (makeDocBookFile): reworked the preamble, more clean, and with
11056         support for lyx defined entities. Changed the document declaration
11057         to be more XML friendly.
11058
11059         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11060         if we need to output XML that should be done with a filter.
11061
11062 2001-10-22  Juergen Vigna  <jug@sad.it>
11063
11064         * sp_pspell.h (class PSpell): add alive function needed in the
11065         controller to see if the spellchecker could be started.
11066
11067 2001-10-22  Juergen Vigna  <jug@sad.it>
11068
11069         * buffer.C (insertStringAsLines): modify the font for inserting
11070         chars in certain conditions by calling checkInsertChar(font).
11071
11072 2001-10-19  Juergen Vigna  <jug@sad.it>
11073
11074         * text.C (workWidth): use getRow instead of wrong algorithm.
11075         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11076
11077 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * lyxserver.h:
11080         * lyxserver.C:
11081         * lyx_main.h:
11082         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11083
11084 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * text.C (workWidth): do not search for the exact row when
11087         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11088         optimization for big documents.
11089
11090 2001-10-18  Juergen Vigna  <jug@sad.it>
11091
11092         * text.C (workWidth): new function with added Inset * parameter.
11093
11094 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11097
11098         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11099         change return type of getColumnNearX.
11100
11101
11102         * text.C (changeRegionCase): use uppercase/lowercase instead of
11103         toupper/tolower.
11104         (leftMargin):
11105         (rightMargin): simplify code by factoring out the uses of
11106         textclasslist.
11107         (labelFill):
11108         (numberOfHfills):
11109         (setHeightOfRow):
11110         (appendParagraph): use Paragraph::size_type
11111
11112 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11113
11114         * vspace.C (asLatexString): add a missing break
11115
11116 2001-10-15  Herbert Voss  <voss@perce.de>
11117
11118         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11119
11120 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11121
11122         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11123         is not available.
11124
11125 2001-10-10  André Pönitz <poenitz@gmx.net>
11126
11127         * lyxfunc.C: removed greek_kb_flag.
11128
11129 2001-10-10  Herbert Voss  <voss@perce.de>
11130
11131         * lyx_main.C: delete global string help_lyxdir.
11132
11133 2001-10-09  Herbert Voss  <voss@perce.de>
11134
11135         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11136
11137         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11138
11139         * lyx_main.C: added global string help_lyxdir.
11140
11141         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11142
11143 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11144
11145         * lyxrc.C (set_font_norm_type): support iso8859-4
11146
11147 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11148
11149         * LaTeX.C (deplog): add another regex for MikTeX
11150
11151 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11152
11153         * lyxrc.C (set_font_norm_type): support iso8859-3
11154
11155 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11156
11157         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11158
11159         * LaTeXFeatures.C: remove special case of french and index
11160
11161         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11162         before \begin{document}). This solves several incompatibilities.
11163
11164 2001-10-03  Garst Reese  <reese@isn.net>
11165
11166         * lyx_cb.C: change CheckTex error msg.
11167
11168 2001-10-03  José Matos  <jamatos@fep.up.pt>
11169
11170         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11171
11172 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * .cvsignore: update
11175
11176         * lyx_main.C (commandLineVersionInfo): use new style version info.
11177
11178         * buffer.C (writeFile):
11179         (makeLaTeXFile):
11180         (makeLinuxDocFile):
11181         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11182
11183         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11184
11185         * version.h: update to use stuff in version.C
11186
11187         * version.C.in: new file. Contains version information determined
11188         at compile time. This is a merging of version.h and
11189         version_info.h.in.
11190
11191 2001-10-03  Juergen Vigna  <jug@sad.it>
11192
11193         * BufferView_pimpl.C (update): don't change "dirty" status in
11194         updateInset call.
11195
11196 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11197
11198         * WorkArea.C (c-tor): re-position version string slightly.
11199
11200 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11201
11202         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11203         revert to previous code.
11204
11205         WorkArea.[Ch]: (show, destroySplash): methods removed.
11206
11207         WorkArea.C: rework code so that it's an amalgam of the codes before and
11208         after the splash screen was moved to WorkArea.
11209
11210 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11211
11212         * lyxrc.C (read):
11213         * vspace.C (inPixels):
11214         (lyx_advance):
11215         * kbmap.C (bind):
11216         * buffer.C (insertStringAsLines):
11217         (asciiParagraph): fix types to be large enough
11218
11219         * lyxlex_pimpl.h: change member status from short to int
11220
11221         * layout.h: fix type of endlabeltype
11222
11223         * kbmap.C (bind):
11224         * kbsequence.C (parse): change return type to string::size_type
11225
11226         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11227         variable
11228
11229         * Bullet.C (bulletSize):
11230         (bulletEntry): do not use short ints as parameters
11231
11232         * BufferView2.C (insertLyXFile): change a char to an int.
11233
11234         * WorkArea.C (WorkArea): remove unneeded floats in computation
11235
11236 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11239
11240         * paragraph.C (asString): Do not ignore newline/hfill chars when
11241         copying to the clipboard.
11242
11243 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11244
11245         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11246         after a multi-line inset.
11247
11248 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11249
11250         * paragraph.C (validate): Set NeedLyXFootnoteCode
11251
11252 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11253
11254         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11255         and decrease-error to decrease.
11256
11257 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11260         it more readable (should be equivalent)
11261
11262 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11263
11264         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11265
11266 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11267
11268         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11269         of a cursor (row, etc.) after a character has been deleted
11270         (deleteEmptyParagraphMechanism): call the method above on _all_
11271         cursors held by the LyXText when a double space has been
11272         detected/deleted.
11273
11274 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11275
11276         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11277         pixmap.
11278         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11279
11280         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11281         background. Use greyOut() and the new show() methods to toggle between
11282         the foreground and background. Add code to remove the splash after
11283         its initial showing.
11284
11285         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11286         (create_forms): no longer call Dialogs::showSplash.
11287
11288 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11289
11290         * .cvsignore: add version_info.h
11291
11292 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * version_info.h.in: new file
11295
11296         * Makefile.am: add version_info.h.in
11297
11298         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11299         version_info.h instead of VERSION_INFO
11300
11301 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11304         The ERT inset now returns string().
11305
11306 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * lyxtext.h, text.C (selectNextWord): renamed as
11309         selectNextWordToSpellcheck.
11310
11311         * text.C (selectNextWordToSpellcheck): Modified to not select
11312         words inside an ERT inset.
11313
11314 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * lyx_cb.C (MenuLayoutSave): change a bit the question
11317
11318         * sp_base.h: include <sys/types.h>
11319
11320 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11323
11324 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11325
11326         * several files: fix typos in user-visible strings
11327
11328 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * text2.C (pasteSelection): do not set the selection, since it
11331         will be cleared later. Actually, the intent was to fix the way the
11332         selection was set, but I figured rmoving the code was just as good.
11333
11334 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11335
11336         * FontLoader.C (available): Check if font is available without
11337         loading the font.
11338
11339 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11340
11341         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11342
11343 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * lyxrc.[Ch]: added display_graphics variable and associated code.
11346
11347 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11348
11349         * bufferparams.C (hasClassDefaults): new method. Returns true if
11350         the buffer parameters correspond to known class defaults
11351
11352 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * XFormsView.C (show): set minimum size to the main window.
11355
11356 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11357
11358         * text2.C (copySelection):
11359         (cutSelection):
11360         * lyxfind.C (LyXReplace):
11361         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11362         LyXText::selectionAsString.
11363
11364         * paragraph.C (asString): add "label" argument to the second form
11365
11366         * text2.C (selectionAsString): add "label" argument and pass it to
11367         Paragraph::asString.
11368
11369 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11370
11371         * lyx_main.C (commandLineHelp): remove version information
11372
11373 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11374
11375         * lyx_main.C: add -version commandline option
11376
11377 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11378
11379         * paragraph.h: make the optional constructor arg required instead.
11380         some modifications to other files because of this.
11381
11382         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11383
11384         * lyxserver.C (C_LyXComm_callback): make it static
11385
11386         * lyx_main.C (error_handler): make it static
11387
11388         * lyx_gui.C (LyX_XErrHandler): make it static
11389
11390         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11391
11392         * WorkArea.C: make the extern "C" methods static.
11393
11394         * Makefile.am (lyx_LDADD): simplify
11395
11396 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11397
11398         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11399         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11400
11401         * LyXAction.C (init):
11402         * lyxfunc.C (dispatch): associated code removal.
11403
11404 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * lyxfont.h (isSymbolFont): shut off warning
11407
11408         * text.C (setHeightOfRow):
11409         (getVisibleRow): fix crash with empty paragraphs which have a
11410         bottom line
11411
11412 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11413
11414         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11415         code.
11416
11417 2001-09-04  José Matos  <jamatos@fep.up.pt>
11418         * buffer.C
11419         * buffer.h
11420         * tabular.C (docbook): rename docBook method to docbook.
11421
11422 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * Makefile.am: add dependencies to main.o.
11425
11426 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * FontLoader.C (available): Return false if !lyxrc.use_gui
11429
11430 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11431
11432         * FontInfo.C (query):
11433         * converter.C (view):
11434         * importer.C (Import):
11435         * exporter.C (Export): Can not -> cannot.
11436
11437 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView_pimpl.C: allow to create index inset even if
11440           string is empty
11441
11442 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * buffer.C (getLists): replace boost::tie code with an explicit pair
11445         as boost::tie can break some compilers.
11446
11447         * iterators.h: Added a std:: declaration to the return type of
11448         ParIterator::size.
11449
11450 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11453           case.
11454
11455 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * iterators.[Ch]: New files. Provide paragraph iterators.
11458
11459         * buffer.C (changeLanguage): Use paragraph iterators.
11460         (isMultiLingual): ditto
11461
11462         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11463
11464 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11465
11466         * FontLoader.C: Support for cmr font.
11467
11468 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11469
11470         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11471         (available): New method.
11472
11473         * FontInfo.C (getFontname): Use scalable fonts even when
11474         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11475         found.
11476
11477 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11478
11479         * converter.C (Formats::view): reverted! Incorrect fix.
11480
11481 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11482
11483         * converter.C (Formats::view): only output the -paper option
11484         if the dvi viewer is xdvi, thereby fixing bug #233429.
11485
11486 2001-08-23  Herbert Voss  <voss@perce>
11487
11488         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11489
11490 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * Spacing.h (Spacing): Set space to Default on in the default
11493         constructor.
11494
11495 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * vc-backend.h (RCS::versionString): add RCS to version
11498         (CVS::versionString): add CVS to version
11499
11500         * vc-backend.C (scanMaster): do not add CVS to version.
11501         (scanMaster): do not add RCS to version
11502
11503         * lyxvc.C (versionString): new method
11504
11505         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11506
11507 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11508
11509         * Spacing.C (set): initialize fval
11510
11511 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11512
11513         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11514         " or \.
11515
11516 2001-08-16  Juergen Vigna  <jug@sad.it>
11517
11518         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11519
11520 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * BufferView_pimpl.C:
11523         * figureForm.C:
11524         * lyxtext.h:
11525         * text2.C: setParagraph takes linespacing now
11526
11527 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * LyxAction.C: add internal LFUN_CITATION_INSERT
11530
11531         * LyXView.C: actually apply fix
11532
11533         * bufferlist.C: fix open non-existent file
11534
11535         * lyxfind.C: fix indentation
11536
11537         * lyxfunc.C: remove unneeded assert, fix typo
11538
11539 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * MenuBackend.C: use "Floatname List"
11542
11543 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11544
11545         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11546         when converting LaTeX layout to insetERT.
11547         Generate a non-collapsed float when reading old float
11548
11549 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11550
11551         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11552         ERT insets.
11553
11554 2001-08-13  Juergen Vigna  <jug@sad.it>
11555
11556         * text.C (fill): return 0 instead of 20 as this seems to be the more
11557         correct value.
11558
11559 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11560
11561         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11562         lyxrc.font_norm.
11563
11564 2001-08-13  Juergen Vigna  <jug@sad.it>
11565
11566         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11567         casesensitive off.
11568         (SearchBackward): comment out the unlocking of the inset_owner this
11569         should not be needed!
11570
11571 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11572
11573         * Many files: Remove inherit_language, and add latex_language
11574
11575         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11576         collapsible insets.
11577
11578 2001-08-10  Juergen Vigna  <jug@sad.it>
11579
11580         * text.C (prepareToPrint): fixed hfill-width in draw!
11581
11582         * BufferView2.C (selectLastWord): save the selection cursor as this
11583         now is cleared in the function LyXText::clearSelection!
11584
11585 2001-08-08  Juergen Vigna  <jug@sad.it>
11586
11587         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11588         BACKSPACE type functions.
11589
11590         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11591         is only cutted from the document but not put in the cut-buffer, where
11592         still the old stuff should be.
11593
11594         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11595
11596         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11597
11598         * tabular.C (SetWidthOfCell): fixed special case where the width
11599         was not updated!
11600         (LeftLine): handle '|' in align_special.
11601         (RightLine): ditto
11602         (LeftAlreadyDrawed): ditto
11603         (SetWidthOfCell): ditto
11604
11605 2001-08-07  Juergen Vigna  <jug@sad.it>
11606
11607         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11608
11609 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11612         * lyxlex.[hC]: ditto
11613
11614 2001-08-06  Juergen Vigna  <jug@sad.it>
11615
11616         * text.C (getVisibleRow): fix up row clearing a bit.
11617
11618 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * minibuffer.C: make sure the X server sees the changes in the input.
11621
11622 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * paragraph.C (getFont): split into...
11625         (getLabelFont): this
11626         (getLayoutFont): and this
11627         * paragraph_pimpl.C (realizeFont): calling this
11628
11629         * text2.C (getFont): split into...
11630         (getLayoutFont): this
11631         (getLabelFont): and this
11632         (realizeFont): all three calling this
11633
11634         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11635         files where used.
11636
11637 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11638
11639         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11640
11641 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11642
11643         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11644         layouts from the Quote inset insertion.
11645
11646 2001-08-03  Juergen Vigna  <jug@sad.it>
11647
11648         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11649
11650         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11651         only if status not is already CHANGED_IN_DRAW (second level).
11652
11653         * text.C (draw): don't set the need_break_row when inside an
11654         InsetText LyXText.
11655
11656 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * buffer.C (parseSingleLyXformat2Token): handle more latex
11659         conversion cases.
11660
11661         * bufferview_funcs.[hC]: change function names to
11662         begin with small char, adjust other files.
11663
11664 2001-08-02  André Pönitz <poenitz@gmx.net>
11665
11666         * lyxfunc.C:
11667         BufferView_pimpl.C: remove broken special code for math-greek
11668
11669 2001-08-02  Juergen Vigna  <jug@sad.it>
11670
11671         * BufferView_pimpl.C (update): redone this function so that we
11672         update the text again if there was a CHANGE_IN_DRAW.
11673
11674         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11675         (drawFromTo): added a new internal bool which is used by draw() and
11676         redraw() function.
11677         (general): some cursor drawing problems fixed.
11678
11679 2001-08-01  Juergen Vigna  <jug@sad.it>
11680
11681         * lyxfind.C (LyXFind): fixed
11682         (SearchForward): ditto
11683         (SearchBackward): ditto
11684
11685         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11686         spurius drawing of the cursor in the main area.
11687
11688         * text2.C (status): small fix which could lead to a segfault!
11689         (clearSelection): remove unneeded BufferView param.
11690
11691 2001-08-01  André Pönitz <poenitz@gmx.net>
11692
11693         * lyxfunc.C: small change due to changed mathed interface
11694
11695 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11696
11697         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11698
11699 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * lyxfunc.c: fail gracefully if file doesn't exist
11702
11703         * LyXSendto.C:
11704         * buffer.C:
11705         * lyxfunc.C:
11706         * BufferView_pimpl.C: IsDirWriteable() proto changed
11707
11708         * LyXView.C: fix updateWindowTitle() to store the last title
11709
11710 2001-07-31  Juergen Vigna  <jug@sad.it>
11711
11712         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11713         the font (wrong since using of Paragraph::highestFontInRange).
11714
11715         * paragraph.C (highestFontInRange): added a default_size parameter.
11716
11717         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11718         (setHeightOfRow): reformat
11719
11720 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * converter.[hC] + affected files: move to (inital-char)lowercase
11723         function names.
11724
11725         * ParagraphParameters.C (ParagraphParameters): remove commented code
11726
11727         * PainterBase.[Ch]: remove commented code
11728
11729         * LaTeXFeatures.h: add "bool floats" for float.sty
11730
11731         * LaTeXFeatures.C (LaTeXFeatures): init floats
11732         (require): handle float
11733         (getPackages): do it with floats
11734
11735 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11736
11737         * BufferView_pimpl.C (Dispatch): improve handling of
11738         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11739
11740         * commandtags.h: #include lyxfont.h here temporarily to avoid
11741         keybinding bug.
11742
11743         * bufferlist.h: include LString.h here.
11744
11745 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11746
11747         * text2.C (getStringToIndex): new method.
11748
11749 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11750
11751         * *: Reduced header file dependencies all over.
11752
11753 2001-07-30  Baruch Even  <baruch@lyx.org>
11754
11755         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11756
11757 2001-07-29  Baruch Even  <baruch@lyx.org>
11758
11759         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11760
11761 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * ParameterStruct.h (endif): add a default constructor to make
11764         sure that all variables is initialized.
11765
11766         * ParagraphParameters.C (ParagraphParameters): adjust
11767
11768 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11771         index; also, check that there is something to index, and that it
11772         does not span over several paragraphs.
11773         (doubleClick): use WHOLE_WORD_STRICT for double click.
11774
11775         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11776
11777         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11778         scheme.
11779
11780 2001-07-26  Baruch Even  <baruch@lyx.org>
11781
11782         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11783         an InsetFig figure, backwards compatible reading of old figure code.
11784
11785 2001-07-27  Juergen Vigna  <jug@sad.it>
11786
11787         * text2.C: font.realize function adaption.
11788
11789         * text.C (draw): add a warnings lyxerr text if needed.
11790
11791         * layout.C: font.realize function adaption.
11792
11793         * language.C: add inherit_language and implement it's handlings
11794
11795         * bufferview_funcs.C (StyleReset): remove language parameter from
11796         font creation (should be language_inherit now).
11797
11798         * bufferparams.C (writeFile): handle ignore_language.
11799
11800         * paragraph.C (getFontSettings): the language has to be resolved
11801         otherwise we have problems in LyXFont!
11802
11803         * lyxfont.C (lyxWriteChanges): added document_language parameter
11804         (update): removed unneeded language parameter
11805
11806         * paragraph.C (validate): fixed wrong output of color-package when
11807         using interface colors for certain fonts in certain environments,
11808         which should not seen as that on the final output.
11809
11810 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * BufferView_pimpl.C:
11813         * Thesaurus.h:
11814         * Thesaurus.C:
11815         * Makefile.am:
11816         * commandtags.h:
11817         * LyXAction.C: add thesaurus support
11818
11819         * lyxfind.h:
11820         * lyxfind.C: add "once" parameter, for thesaurus, to not
11821           move to the next match
11822
11823 2001-07-26  Juergen Vigna  <jug@sad.it>
11824
11825         * lyxfont.C (realize): honor ignore_language too!
11826         (resolved): ditto.
11827
11828         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11829
11830         * text.C (draw): one place more for ignore_language to not draw
11831         itself!
11832
11833 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11834
11835         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11836
11837 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11838
11839         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11840         the minipage conversion problem.
11841
11842 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11845         insert an inset.
11846
11847 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * BufferView.h: don't forward declare WorkArea
11850
11851         * BufferView.C: don't include WorkArea.h
11852
11853 2001-07-25  André Pönitz <poenitz@gmx.net>
11854
11855         * commandtags.h:
11856         * LyXAction.C:
11857         * lyxfunc.C:  new LFUN 'math-space'
11858
11859         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11860
11861 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * text2.C (toggleInset): call open/close
11864
11865 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * lyxfunc.C (dispatch): add debug for the disabled case
11868
11869         * font.C (buttonText): make similar to rectText
11870
11871         * buffer.C (readInset): comment out parsing of insetlist and
11872         insttheorem
11873
11874         * PainterBase.C (rectText): small correction
11875
11876         * BufferView_pimpl.C: comment out insettheorem and insetlist
11877         * LyXAction.C: ditto
11878         * commandtags.h: ditto
11879
11880 2001-07-24  Juergen Vigna  <jug@sad.it>
11881
11882         * text.C (draw): honor the ignore_language.
11883
11884         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11885
11886 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11887
11888         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11889         char inset.
11890
11891 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11892
11893         * lyxtext.h: remove unused (and unimplemented) methods
11894
11895 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11896
11897         * text.C (getVisibleRow): honor background color
11898
11899         * PainterBase.h:
11900         * Painter.h: remove default color argument for fillRectangle
11901
11902         * text.C (backgroundColor): new method
11903
11904 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11905
11906         * text.C (getVisibleRow): adjust
11907
11908         * font.[Ch] (rectText): new method, metrics
11909         (buttonText): new method, metrics
11910
11911         * PainterBase.[hC]: make rectText and buttonText always draw and take
11912         fewer paramteres.
11913
11914 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11915
11916         * ToolbarDefaults.C (read):
11917         * MenuBackend.C (read): allow escaping in all strings
11918
11919         * BufferView_pimpl.C (insertAndEditInset): new method.
11920         (Dispatch): use insertAndEditInset whenever appropriate.
11921
11922         * BufferView_pimpl.C (insertNote): removed
11923
11924         * BufferView_pimpl.C (smartQuote): new method, moved from
11925         BufferView; if an insetquote cannot be inserted, insert a '"'
11926         character instead.
11927
11928         * BufferView2.C: remove insertCorrectQuote();
11929
11930         * lyxfunc.C (getStatus): Add support for all remaingin
11931         inset-insert lfuns.
11932
11933         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11934
11935         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11936         command (necessary to pass " as parameter of self-insert.
11937
11938         * text.C (selectWordWhenUnderCursor):
11939         (selectWord): add word_location parameter
11940         (selectWordWhenUnderCursor): same + remove special code for word
11941         boundary.
11942         (selectNextWord): use kind() to guess type of insetspecialchar,
11943         not latex().
11944
11945         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11946         (insertErtContents): create ert insets as collapsed.
11947         (readInset): better compatibility code for Info inset.
11948
11949 2001-07-20  Juergen Vigna  <jug@sad.it>
11950
11951         * lyxfunc.C (dispatch): use always LyXFind now!
11952
11953         * text2.C (init): add a reinit flag so that the LyXText can be
11954         reinited instead of deleted and reallocated (used in InsetText).
11955
11956         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11957
11958         * text.C: ditto
11959
11960         * text2.C: ditto
11961
11962 2001-07-18  Juergen Vigna  <jug@sad.it>
11963
11964         * text.C (selectNextWord): handle insets inside inset by calling
11965         always the bv->text functions so that we can go up the_locking_inset!
11966
11967         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11968         in strange locations when inside an inset!
11969
11970         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11971         handling to include insets.
11972
11973         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11974
11975 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * LyXAction.C (init):
11978         * commandtags.h:
11979         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11980         LIGATURE_BREAK, since the name is so stupid.
11981
11982 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11983
11984         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11985         InsetInfos.
11986
11987         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11988
11989         * sp_form.[Ch]: remove.
11990
11991         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11992
11993         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11994         InsetInfo.
11995
11996         * src/buffer.C (readInset): ditto.
11997
11998 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11999
12000         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12001         menuSeparator(), endOfSentenceDot(), ldots() and
12002         hyphenationPoint(), which are therefore removed.
12003         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12004
12005         * LyXAction.C (init):
12006         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12007
12008         * paragraph.C (getWord): removed.
12009
12010         * BufferView_pimpl.C (Dispatch): use last word or selection for
12011         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12012
12013         * lyx_main.C (queryUserLyXDir): do not ask before creating
12014         user_dir, except if it has been named explicitely.
12015
12016 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12017
12018         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12019         a document of zero size.
12020
12021 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12024         approriately in the c-tor and in require().
12025         (getPackages): output the appropriate LaTeX for natbib support.
12026
12027         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12028         variables "use_natbib" and "use_numerical_citations" when reading the
12029         LyX file.
12030         (readInset): read the various natbib cite commands.
12031         (validate): white-space change.
12032
12033         * bufferparams.[Ch]: new variables "bool use_natbib" and
12034         "bool use_numerical_citations".
12035         (writeFile): output them in the LyX file.
12036
12037 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12038
12039         * lyxfunc.C (getStatus): add support for all the inset insertion
12040         commands.
12041
12042         * text2.C (insertInset):
12043         * paragraph.C (insetAllowed):
12044         * BufferView_pimpl.C (insertInset): update to take in account the
12045         renaming of insertInsetAllowed
12046
12047         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12048
12049         * text2.C (getInset): new method. returns inset at cursor position.
12050
12051         * BufferView_pimpl.C (Dispatch): changes because of this.
12052
12053         * LyXAction.C (init): rename open-stuff to inset-toggle.
12054
12055         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12056
12057         * text2.C (toggleInset): renamed from openStuff; use
12058         Inset::open().
12059
12060 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12061
12062         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12063
12064         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12065
12066 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12067
12068         * buffer.C (readLyXformat2): Add filename to the error dialog
12069
12070 2001-07-18  Juergen Vigna  <jug@sad.it>
12071
12072         * tabular.C (GetCellNumber): put an assert here instead of the check!
12073
12074 2001-07-17  Juergen Vigna  <jug@sad.it>
12075
12076         * BufferView_pimpl.C (toggleSelection): adapted too.
12077
12078         * text.C (selectNextWord): adapted for use with insets.
12079         (selectSelectedWord): ditto
12080
12081 2001-07-17  Juergen Vigna  <jug@sad.it>
12082
12083         * sp_spell.C (PSpell): fix initialitation order.
12084
12085 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * paragraph.C: spacing
12088
12089 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12090
12091         * sp_spell.C: repair language selection for pspell
12092
12093 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12094
12095         * lyxfunc.h: change more methods to begin with lower char.
12096
12097 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12100         for unknown layouts.
12101
12102 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12103
12104         * buffer.C (readLyXformat2): Generate an error dialog if there are
12105         unknown layouts.
12106
12107 2001-07-16  Juergen Vigna  <jug@sad.it>
12108
12109         * sp_spell.C: always compile ISpell part.
12110
12111         * lyxrc.C: added use_pspell entry and it's handling.
12112
12113 2001-07-13  Juergen Vigna  <jug@sad.it>
12114
12115         * sp_spell.C: removed double includes.
12116
12117 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         Consistent use of Lsstream.h:
12120         * Lsstream.h: added using std::stringstream for consistencies sake.
12121
12122         * buffer.C: removed using std::stringstream
12123
12124         * lyxfont.C (stateText):
12125         * paragraph.C (asString):
12126         * text.C (selectNextWord, selectSelectedWord):
12127         * text2.C (setCounter):
12128         * vspace.C (asString, asLatexString):
12129         std::ostringstream -> ostringstream.
12130
12131 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12132
12133         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12134         * commandtags.h: add LFUN_HELP_ABOUTLYX
12135         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12136
12137 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12138
12139         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12140         cursorToggle()
12141         * lyx_gui_misc.C: remove spellchecker
12142         * lyxfunc.C: showSpellchecker
12143         * sp_base.h: added
12144         * sp_ispell.h: added
12145         * sp_pspell.h: added
12146         * sp_spell.C: added
12147         * sp_form.[Ch]: removed
12148         * spellchecker.[Ch]: removed
12149
12150 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12151
12152         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12153         is set.
12154         (simpleTeXSpecialChars): Simply print the input character without
12155         any special translation if pass_thru is set.
12156
12157         * layout.h: Added bool pass_thru to layout class for being able to
12158         implement pass through of a paragraph for Literate Programming.
12159
12160         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12161         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12162         * layout.C (Read): add "passthru" to list of layout tags and add
12163         code to set the pass_thru boolean when it is read.
12164
12165 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * trans_decl.h: remove allowed from KmodInfo
12168
12169         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12170         remove allowed code
12171         (Load): adjust
12172
12173         * paragraph_pimpl.C (erase): use boost::prior
12174
12175         * Painter.C (text): use data() instead of c_str() when length is
12176         also provided.
12177         * WorkArea.C (putClipboard): ditto
12178         * font.h (width): ditto
12179
12180         * BufferView2.C: use it-> instead of (*it). for iterators
12181         * texrow.C: ditto
12182         * paragraph_pimpl.C: ditto
12183         * paragraph.C: ditto
12184         * minibuffer.C: ditto
12185         * language.C: ditto
12186         * kbmap.C: ditto
12187         * encoding.C: ditto
12188         * counters.C: ditto
12189         * converter.C: ditto
12190         * chset.C: ditto
12191         * Variables.C: ditto
12192         * TextCache.C: ditto
12193         * MenuBackend.C: ditto
12194         * LyXAction.C: ditto
12195         * LColor.C: ditto
12196         * FloatList.C: ditto
12197         * DepTable.C: ditto
12198         * ColorHandler.C (LyXColorHandler): ditto
12199
12200 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12203
12204         * text2.C (openStuff): reintroduce this method (which had been
12205         nuked in NEW_INSETS frenzy).
12206
12207         * lyxfunc.C (Dispatch): when an action has not been handled, use
12208         its name in the error message, not its number.
12209
12210         * paragraph.C (inInset): change method name to begin with lowercase.
12211
12212         * undo_funcs.C:
12213         * text2.C: updates because of this.
12214
12215 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12216
12217         * ToolbarDefaults.C (add): add spaces in error message
12218
12219 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12222         (readLyXformat2): rename return_par to first_par, use lyxlex's
12223         pushToken and remove the manual push handling.
12224         (parseSingleLyXformat2Token): add another ert comp. variable:
12225         in_tabular, rename return_par to first_par. handle newlines better
12226
12227 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12228
12229         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12230
12231 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * text2.C (getParFromID): removed
12234
12235         * buffer.C (getParFromID): new method moved form lyxtext.
12236         * BufferView2.C (insertErrors): adjust
12237         (setCursorFromRow): adjust
12238         * BufferView_pimpl.C (restorePosition): adjust
12239         * lyxfunc.C (Dispatch): adjust
12240         * undo_funcs.C (textUndo): adjust
12241         (textRedo): adjust
12242         (textHandleUndo): adjust
12243         (textHandleUndo): adjust
12244
12245 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * buffer.C: up' the LYX_FORMAT
12248
12249         * lyxfont.h: turn NO_LATEX on as default
12250
12251         * buffer.C (insertErtContents): new methods of tex style compability.
12252         (parseSingleLyXformat2Token): use it several places.
12253         * tabular.C (OldFormatRead): and here
12254
12255 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12256
12257         * text2.C: remove some commented code.
12258         reindent file.
12259
12260         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12261         * trans.C: changes because of the above.
12262
12263 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12264
12265         * text2.C (setCounter): Fix counters bug with bibliography layout.
12266
12267 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12270         own member functions
12271         (simpleTeXSpecialChars): ditto
12272
12273 2001-07-06  Juergen Vigna  <jug@sad.it>
12274
12275         * a lot of files: changed the access to LyXText::status and the
12276         call of undo-functions.
12277
12278         * undo.[Ch]: added a inset_id to the undo informations.
12279
12280         * undo_funcs.[Ch]: added and moved here all undo functions.
12281
12282         * lyxtext.h: give the status enum a weight, made status_ a private
12283         variable and made accessor functions for it, removed the whole bunch
12284         of undo-functions as they are now in their own file, make some
12285         functions publically available. Added function ownerParagraph with
12286         int parameter.
12287
12288         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12289         made InInset() a const function, added getParFromID() function.
12290
12291         * buffer.[Ch]: added const version for inset_iterator functions,
12292         added getInsetFromID() function.
12293
12294         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12295         changed undo functions for new version.
12296
12297 2001-07-05  Juergen Vigna  <jug@sad.it>
12298
12299         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12300         unknow mechanism does not call the proper constructor but only this
12301         one also if I request the other!?
12302
12303 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12306
12307         * text2.C (LyXText): use initialization lists.
12308
12309         * lyxtext.h (Selection): initialize set_ and mark_
12310         (init): remove method
12311
12312 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12315
12316 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12317
12318         * screen.[Ch]: change method names to begin with lowercase
12319
12320         * BufferView_pimpl.C (updateScrollbar): simplify further and
12321         hopefully make it a bit faster.
12322
12323 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12324
12325         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12326         calling directly xforms functions.
12327
12328         * Painter.C (Painter):
12329         * lyx_cb.C (MenuWrite):
12330         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12331         fl_display.
12332
12333         * lyx_gui.C: remove bogus guiruntime extern declaration.
12334
12335 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12338         in NEW_INSETS
12339         (redoDrawingOfParagraph): ditto
12340         (redoParagraphs): ditto
12341         (cutSelection): don't create a object for CutAndPaste use the
12342         static method directly
12343         (pasteSelection): ditto
12344
12345         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12346         LyXview (+ rename)
12347
12348 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * modifications to some other files because of this.
12351
12352         * Makefile.am (lyx_SOURCES): add XFormsView
12353
12354         * XFormsView.[Ch]: new files
12355
12356         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12357         the main window. Move the gui dependent stuff to XFormsView
12358
12359 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12360
12361         * tabular.C (GetCellInset): update cur_cell also in the row/col
12362         version of this function.
12363
12364         * lyxfunc.C: no need to include figure_form.h here.
12365
12366         * FontLoader.h:
12367         * lyxfunc.h:
12368         * lyxscreen.h:
12369         * text2.C:
12370         * lyxvc.C: no need to include forms.h here.
12371
12372 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12373
12374         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12375
12376         * lyxfunc.C (Dispatch):
12377         * Spacing.C (set):
12378         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12379         constructor argument.
12380
12381 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * paragraph.C (Paragraph): dont't clear, and just set layout.
12384         (makeSameLayout): use params's copy contructor.
12385
12386         * ParagraphParameters.[Ch] (makeSame): delete method
12387
12388 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * Variables.[Ch]: fix indentation, rename set to isSet
12391
12392 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12393
12394         * lyxfunc.C (Dispatch): fix typo
12395
12396 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12399         upper_bound.
12400
12401         * bufferlist.C: include assert.h for emergencyWrite().
12402
12403 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12406           give up at last (bug #425202) !
12407
12408 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * lyx_gui_misc.C:
12411         * sp_form.h:
12412         * sp_form.C:
12413         * spellchecker.h:
12414         * spellchecker.C: strip spellchecker options and bring up
12415           preferences tab instead
12416
12417 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12420         the istringstream constructor
12421
12422 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12423
12424         * paragraph.C (getLayout): fix return value
12425
12426         * paragraph.h: do not declare getLayout as inline.
12427
12428         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12429
12430 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * lyxcursor.h (operator<): new func
12433         (operator>): new func
12434         (operator>=): new func
12435         (operator<=): new func
12436
12437         * text.C (changeCase): use selection.start and selection.end
12438         (changeRegionCase): require from to be <= to. Require par to be a
12439         valid paragraph.
12440
12441         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12442
12443 2001-06-27  Juergen Vigna  <jug@sad.it>
12444
12445         * text.C (cursorLeftOneWord): changed to return the cursor and added
12446         overlay with BufferView * parameter which calls this one.
12447         (getWord): added
12448         (selectWord): use new getWord function.
12449         (changeCase): renamed from changeWordCase as and extended to work
12450         also on selections.
12451
12452         * lyxtext.h: added enum word_location
12453
12454         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12455         changeCase as this operates now also on selections.
12456
12457 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12458
12459         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12460
12461         * many files: send debug output to Debug::INFO instead of
12462         Debug::ANY.
12463
12464         * converter.C (View):
12465         (Convert):
12466         (Move): send debug output to Debug::FILES instead of console.
12467
12468 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12469
12470         * lyxfunc.C (getStatus): use func_status
12471
12472         * func_status.h: new header, describing the results of
12473         LyXFunc::getStatus;
12474
12475         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12476         LFUN_MATH_HALIGN.
12477
12478 2001-06-25  The LyX Project  <jug@sad.it>
12479
12480         * buffer.C (sgmlOpenTag):
12481         (sgmlCloseTag):
12482         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12483
12484 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * text2.C: remove some dead code
12487
12488         * tabular.C (GetCellInset): store the last cell checked (gotten)
12489
12490         * tabular.h: add the helper for the speedup
12491
12492         * lyxtext.h: remove some dead code
12493
12494 2001-06-26  The LyX Project  <Asger>
12495
12496         * paragraph.C: Change export to LaTeX of alignment to
12497         \begin{center} and family for better roundtrip work with reLyX.
12498
12499         * Tune the math drawing a bit.
12500
12501 2001-06-25  The LyX Project  <Asger>
12502
12503         * LColor.C (LColor): New color for math background. New color
12504         for buttons.
12505
12506 2001-06-25  The LyX Project  <jug@sad.it>
12507
12508         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12509
12510         * lyxfunc.C (Open):
12511         * bufferlist.C (newFile): do not restrict to files ending with
12512         .lyx
12513
12514         * BufferView_pimpl.C (MenuInsertLyXFile):
12515
12516 2001-06-24  The LyX Project  <jug@sad.it>
12517
12518         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12519         of compare_no_case
12520
12521 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyxtext.h: rename most methods to begin with a small char.
12524         Lots of changes because of this.
12525
12526         * paragraph.C (Paragraph): do not call fitToSize
12527         (erase): call Pimpl::erase
12528         (insertChar): call Pimpl::insertChar
12529         (insertInset): call Pipl::insertInset
12530         (breakParagraph): do not call fitToSize
12531         (breakParagraphConservative): do not call fitToSize
12532         (fitToSize): remove method
12533
12534         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12535
12536 2001-06-24  The LyX Project  <Asger>
12537
12538         * Fix Qt compilation^2
12539
12540 2001-06-24  The LyX Project  <jug@sad.it>
12541
12542         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12543         depthHook(getDepth()-1).
12544
12545         * paragraph.h:
12546         * ParagraphParameters.h:
12547         * ParameterStruct.h: change type of depth to unsigned int ==
12548         depth_type. Many adaptations to other files before of that.
12549
12550 2001-06-24  The LyX Project  <Asger>
12551
12552         * Fix Qt compilation.
12553
12554 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * paragraph.h: renamed several methods to begin with small letter.
12557         several changes to many parts of the code because of this.
12558
12559 2001-06-23  The LyX Project  <jug@sad.it>
12560
12561         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12562         rewritten to discard all double spaces when KeepEmpty is off
12563         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12564         to only handle newlines but not fiddle with spaces and friends.
12565
12566         * lyxfunc.C (MenuNew): when doing 'new from template', use
12567         template_path as default directory
12568
12569 2001-06-23  The LyX Project  <Asger>
12570
12571         * Clean-up of header file includes all over
12572         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12573
12574 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * paragraph.h: renamed from lyxparagraph.h
12577
12578 2001-06-23  Asger  <lyx@violet.home.sad.it>
12579
12580         * Buffer.h: Removed Buffer::resize
12581         * BufferList.h: Removed BufferList::resize
12582         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12583         the document lazily when we change the width, or the font settings.
12584
12585 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12588
12589 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * buffer.h: remove out of date comment
12592
12593 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * lyxscreen.h:
12596         * screen.C: fix "theoretical" GC leak
12597
12598 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12599
12600         * LaTeX.C (scanAuxFile):
12601         (deplog): remove trailing \r when reading stream (useful under
12602         win32)
12603
12604 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12605
12606         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12607         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12608         and BufferView::theLockingInset(Inset*), so should use them and not
12609         access bv_->text->the_locking_inset directly.
12610
12611         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12612
12613 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * Makefile.am:
12616         * tex-defs.h: remove old unused file
12617
12618 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * BufferView_pimpl.C: fix typo, remove minibuffer message
12621           when buffer has loaded
12622
12623 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * lyxfunc.C (Dispatch): use stringstream
12626         (MenuNew): use stringstream
12627         (Open): use stringstream
12628
12629         * importer.C (Import): use stringstream
12630
12631         * bufferview_funcs.C (CurrentState): use stringstream
12632
12633         * LaTeX.C (run): use stringstream
12634
12635         * BufferView_pimpl.C (savePosition): use stringstream
12636         (restorePosition): use stringstream
12637         (MenuInsertLyXFile): use stringstream
12638
12639 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * BufferView.C:
12642         * Bullet.C:
12643         * ColorHandler.C:
12644         * FontInfo.C:
12645         * FontLoader.C:
12646         * LColor.C:
12647         * LaTeXFeatures.C:
12648         * Painter.C:
12649         * gettext.C:
12650         * lyx_gui_misc.C:
12651         * lyxserver.C:
12652         * vspace.C: removed // -*- C++ -*- as first line.
12653
12654         * lyxfind.h:
12655         * version.h: added // -*- C++ -*- as first line.
12656
12657 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12660
12661         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12662         of string
12663
12664 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12665
12666         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12667         of floats.
12668
12669 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * gettext.C: include LString.h even when --disable-nls is on.
12672
12673 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * converter.h (Get): changed argument type from int to
12676         FormatList::size_type to avoid unnecessary conversion.
12677
12678         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12679         before using it.
12680
12681 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * gettext.h: include LString.h even when --disable-nls is on.
12684
12685 2001-06-07  Juergen Vigna  <jug@sad.it>
12686
12687         * text.C (BreakAgain): subst spaces with tabs.
12688
12689         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12690         (resizeInsetsLyXText): set force on resizeLyXText.
12691
12692 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * gettext.h (gettext_init):
12695         (locale_init): use a real definition instead of a macro
12696
12697 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * Bufferview_pimpl.C:
12700         * LColor.h:
12701         * LColor.C: further lcolor tidies
12702
12703 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12704
12705         * BufferView_pimpl.C (updateScrollbar): simplify.
12706
12707         * BufferView2.C: don't include insets/insetinfo.h, change
12708         prototype for insertInset and call the Pimpl version. let
12709         updateInset call Pimpl version.
12710
12711         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12712         gotoInset to BufferView::Pimpl
12713
12714 2001-06-01  Juergen Vigna  <jug@sad.it>
12715
12716         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12717         inside a LockingInset (is the update needed at all?).
12718
12719 2001-05-31  Juergen Vigna  <jug@sad.it>
12720
12721         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12722         here not the old one otherwise how should we compare it afterwards
12723         if it's the same!
12724
12725 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12726
12727         * lyxfont.C:
12728         * tabular.C:
12729         * tabular-old.C:
12730         * FontInfo.C: bring C functions into global namespace when
12731         necessary
12732
12733 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12734
12735         * LString.h: make sure config.h has been loaded before LString.h.
12736
12737         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12738         (one for each char read by EatLine!).
12739
12740         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12741         variables.
12742
12743 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12746         to the same as the par we break from
12747
12748 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12751
12752         * MenuBackend.C (expand): also create menu entries for wide
12753         versions of the floats.
12754
12755         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12756
12757         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12758
12759         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12760         frontends/Makefile.am
12761
12762         * text2.C: adjust
12763         * text.C: adjust
12764
12765
12766         * tabular.C (getTokenValue): add std::
12767
12768         * tabular-old.C (getTokenValue): add std::
12769         (getTokenValue): ditto
12770         (getTokenValue): ditto
12771
12772         * screen.C (ToggleSelection): adjust
12773
12774         * lyxtext.h: put selection cursors inside a Selection struct.
12775
12776         * lyxfunc.C (moveCursorUpdate): adjust
12777
12778         * lyxfont.C (latexWriteStartChanges): add std::
12779
12780         * lyxfind.C: adjust
12781
12782         * font.h: delete with(char const *, LyXFont const &)
12783
12784         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12785
12786         * FontInfo.C (getFontname): add std::
12787
12788         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12789         (workAreaButtonPress): adjust
12790         (tripleClick): adjust
12791         (update): adjust
12792         (moveCursorUpdate): adjust
12793         (Dispatch): adjust
12794
12795         * BufferView2.C (gotoInset): adjust
12796
12797 2001-05-30  Juergen Vigna  <jug@sad.it>
12798
12799         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12800         to check pspell I add this as default as I now have new pspell
12801         libraries and they seem to use this.
12802
12803 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * text2.C (CutSelection): make the cursor valid before the call to
12806         ClearSelection.
12807
12808 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12809
12810         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12811         relied on 0 terminated strings and other horrors. Bug found due to
12812         the new assert in lyxstring!
12813
12814         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12815         KP_ keys.
12816
12817 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12820         to latinkeys.bind.
12821
12822         * lyxfunc.C (processKeySym): change method of getting to the
12823         self-insert char.
12824
12825         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12826         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12827         * BufferView_pimpl.[Ch]: here as private methods.
12828
12829 2001-05-28  Juergen Vigna  <jug@sad.it>
12830
12831         * text.C (SetHeightOfRow): added the update() call again as it is
12832         needed to initialize inset dimensions!
12833
12834 2001-05-16  Juergen Vigna  <jug@sad.it>
12835
12836         * text2.C (SetCharFont): Add new function with BufferView * and
12837         bool toggleall parameters for setting insets internal fonts.
12838         (SetFont): Freeze the undo as we may change fonts in Insets and
12839         all this change should be inside only one Undo!
12840
12841         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12842         setting font's in insets as for them we have the SetFont function!
12843
12844 2001-05-15  Juergen Vigna  <jug@sad.it>
12845
12846         * text2.C (ClearSelection): to be sure we REALLY don't have any
12847         selection anymore!
12848
12849         * tabular.C (TeXCellPreamble): fixed the left border problem for
12850         multicolumn cells.
12851
12852 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12855         dependancy file
12856
12857 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12860         LFUN_BREAKPARAGRAPH.
12861
12862         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12863         help test to "internal only", similar for LFUN_INSERT_URL
12864
12865         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12866         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12867         auto_region_delete and deadkeys.
12868
12869 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * LColor.h:
12872         * LColor.C: remove some dead entries, tidy a little
12873
12874 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12877         commented code.
12878         (Dispatch): implement LFUN_ESCAPE
12879
12880         * commandtags.h: add LFUN_ESCAPE
12881
12882         * LyXAction.C (init): add entry for LFUN_ESCAPE
12883
12884         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12885         Remove commented code.
12886         (insertNote): moved here
12887         (open_new_inset): moved here
12888
12889         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12890         BufferView_pimpl
12891
12892 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * kbmap.C (findbinding): clean it up and make it work correctly.
12895
12896         * lyx_main.C (init): do not pass argc and argv as parameters
12897
12898 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12899
12900         * buffer.C: fix path for OS/2 & Win32
12901
12902         * lyx_gui.C:
12903         * lyx_main:
12904         * lyx_main.C: Added os:: class.
12905
12906         * os2_defines.h: update
12907
12908 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12911         better by trying again with reduced state.
12912
12913 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12914
12915         * lyxrc.C (read): print error about invalid key sequence only when
12916         debugging (because not all latinX keysyms are known to some X
12917         servers)
12918
12919         * kbsequence.C (getiso): add a few std:: qualifiers
12920         (getiso): comment out extra return statement.
12921
12922 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12925         handling.
12926         (Dispatch): enhance the accent inset a bit. (not perfect)
12927
12928 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12931
12932 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * bufferlist.C (emergencyWrite): fix assert() call
12935
12936 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12937
12938         * text.C (InsertChar): Added trivial patch to only send the "you
12939         can not do multiple spaces this way" message once during a
12940         session.
12941
12942 2001-05-08  Baruch Even  <baruch@lyx.org>
12943
12944         * Makefile.am: Changed order of libraries to get LyX to link properly
12945         with the gnome frontend.
12946
12947 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * LaTeXFeatures.h: add a std:: qualifier
12950
12951 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * paragraph.C (String): use stringstream
12954
12955 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12956
12957         * paragraph.C (writeFile): remove footflag arg
12958
12959         * buffer.C (makeLaTeXFile): use stringstream
12960         (latexParagraphs): remove footnot gurba
12961
12962         * LaTeXFeatures.C (getPackages): use stringstream
12963         (getMacros): likewise
12964         (getTClassPreamble): likewise
12965         (getFloatDefinitions): new method
12966
12967         * paragraph.C (writeFile): reindent
12968         (Erase): reindent
12969
12970         * WorkArea.h: revert the xpos + etc changes.
12971
12972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12973
12974         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12975
12976         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12977         (pasteSelection): likewise
12978         * text2.C (CreateUndo): likewise
12979
12980 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * minibuffer.C (peek_event): temporarily reduce the functionality
12983         of the minibuffer (to allow args on lfuns)
12984
12985         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12986         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12987
12988         * buffer.C (readInset): add compability reading of old float
12989         lists, add reading of new style float list.
12990         (readInset): avoid reevaluation of inscmd.getCmdName()
12991         (getLists): reindent
12992
12993         * MenuBackend.C (MenuItem): implement parsing of
12994         md_floatlistinsert and md_floatinsert.
12995         (expand::LastFiles): move initalizaton of iterators out of loop,
12996         avoid reevaluation.
12997         (expand::Documents): introduce typdedef vector<string> Strings,
12998         and use it.
12999         (expand::ExportFormats): introduce typedef vector<Format const *>
13000         Formats, and use it.
13001         (expand): implement FloatListInsert and FloatInsert.
13002
13003         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13004         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13005         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13006
13007         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13008         handling.
13009         (Dispatch::LFUN_FLOAT_LIST): implement
13010
13011 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13012
13013         * LaTeX.C (run): Fix problem with --export code.
13014
13015 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * BufferView.[Ch] (workarea): removed.
13018         (getClipboard) new method; wrapper for workarea()->getClipboard()
13019
13020         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13021         bug.
13022
13023         * WorkArea.h (width, height, xpos, ypos): These methods all
13024         returned the dimensions of the work_area sub-area of WorkArea,
13025         resulting in a position error if the WorkArea were resized. Now
13026         return the dimensions of the entire WorkArea.
13027
13028         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13029
13030 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13031
13032         * LaTeX.C (deplog): correct the syntax of regex reg1
13033
13034 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * undo.C: remove !NEW_INSETS cruft
13037
13038 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * text2.C: remove !NEW_INSETS cruft
13041
13042         * text.C: remove !NEW_INSETS cruft
13043
13044         * tabular.C: remove !NEW_INSETS cruft
13045
13046         * spellchecker.C: remove !NEW_INSETS cruft
13047
13048         * lyxtext.h: remove !NEW_INSETS cruft
13049
13050         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13051
13052         * lyxfunc.C: remove !NEW_INSETS cruft
13053
13054         * lyxfind.C: remove !NEW_INSETS cruft
13055
13056         * lyx_cb.C: remove !NEW_INSETS cruft
13057
13058         * figureForm.C: remove  !NEW_INSETS cruft
13059
13060         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13061
13062         * buffer.[Ch]: remove !NEW_INSETS cruft
13063
13064         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13065
13066         * CutAndPaste.C: remove !NEW_INSETS cruft
13067
13068         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13069
13070         * BufferView2.C: remove !NEW_INSETS cruft
13071
13072         * BufferView.h: remove !NEW_INSETS cruft
13073
13074 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * Lsstream.h: include LString.h before the sstream headers to
13077         fix problem with gcc 2.95.3 and lyxstring
13078
13079 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * lyx_main.C: add using directives when needed for C functions
13082         declared in std:: namespace.
13083
13084 2001-04-27  Juergen Vigna  <jug@sad.it>
13085
13086         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13087         (SetHeightOfRow): comment out the update call should not be needed!
13088
13089 2001-04-13  Juergen Vigna  <jug@sad.it>
13090
13091         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13092         (LyXTabular): tried to minimize operator= operations (and realized
13093         hopfully Lars wish).
13094
13095 2001-04-27  Juergen Vigna  <jug@sad.it>
13096
13097         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13098
13099 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13102
13103         * buffer.C (readInset): hack to make listof algorithm work
13104
13105         * BufferView_pimpl.C: hack to make listof algorithm work
13106
13107 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * LyXAction.C: removed all !NEW_INSETS cruft
13110         (init): moved lfun_item in method
13111
13112         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13113
13114 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * BufferView2.C (theLockingInset): white space.
13117
13118 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * minibuffer.C: include <iostream>
13121
13122         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13123
13124         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13125
13126         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13127
13128         * text.[Ch] (TransposeChars): new method
13129
13130 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * call message directly through LyXView instead of through LyXFunc
13133         * BufferView2.C: adjust
13134         * BufferView_pimpl.C: adjust
13135         * FontLoader.C: adjust
13136         * buffer.C: adjust
13137         * bufferview_funcs.C: adjust
13138         * converter.C: adjust
13139         * figureForm.C: adjust
13140         * importer.C: adjust
13141         * lyx_cb.C: adjust
13142         * lyx_gui_misc.C: adjust
13143         * lyxfunc.C: adjust
13144         * lyxvc.C: adjust
13145         * text2.C: adjust
13146         + more files in subdirs
13147
13148         * lyxparagraph.h (size): move up int file
13149         (GetLayout): ditto
13150
13151         * adjust all uses of Assert to lyx::Assert.
13152
13153         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13154         lyxfunctional in namespace lyx
13155         * layout.C (hasLayout): ditto
13156         (GetLayout): ditto
13157         (GetLayout): ditto
13158         (delete_layout): ditto
13159         (NumberOfClass): ditto
13160         * converter.C (GetFormat): ditto
13161         (GetNumber): ditto
13162         (Add): ditto
13163         (Delete): ditto
13164         (SetViewer): ditto
13165         * bufferlist.C (getFileNames): ditto
13166         (emergencyWriteAll): ditto
13167         (exists): ditto
13168         (getBuffer): ditto
13169         * MenuBackend.C (hasSubmenu): ditto
13170         (hasMenu): ditto
13171         (getMenu): ditto
13172         * BufferView_pimpl.C (getInsetByCode): ditto
13173
13174 2001-04-18  Juergen Vigna  <jug@sad.it>
13175
13176         * vspace.C (asLatexString): fixed the 100% problem.
13177
13178 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * lyxfunc.C (Dispatch):
13181         * minibuffer.C:
13182         * minibuffer.h: add a few std:: qualifiers
13183
13184 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * minibuffer.[Ch]: reimplement so that commands is initiated and
13187         run from lyxfunc, simplified som handling, and made the completion
13188         and history code for complete. wip.
13189
13190         * lyxfunc.C (processKeySym): call message
13191         (miniDispatch): new temporary method
13192         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13193         (LFUN_MESSAGE): implement
13194         (LFUN_MESSAGE_PUSH): implement
13195         (LFUN_MESSAGE_POP): implement
13196         (initMiniBuffer): the initial/defualt minibuffer message.
13197
13198         * lyxfont.[Ch]: inline some more getters
13199
13200         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13201
13202         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13203
13204         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13205         (AutoSave): use LFUN_MESSAGE
13206         (Reconfigure): ditto
13207
13208         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13209
13210         * figureForm.C: use LFUN_MESSAGE
13211
13212         * converter.C (runLaTeX): use LFUN_MESSAGE
13213
13214         * bufferview_funcs.C: use LFUN_MESSAGE
13215         (Melt): ditto
13216         (changeDepth): ditto
13217
13218         * bufferparams.h: use boost::
13219
13220         * bufferlist.h: inherit privately from noncopyable
13221
13222         * bufferlist.C (loadLyXFile): remove some commented code.
13223
13224         * buffer.C (runChktex): use LFUN_MESSAGE
13225
13226         * ShareContainer.h: inherit privately from noncopyable
13227
13228         * ParagraphParameters.[hC] (depth): inline it.
13229
13230         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13231         methods.
13232         (message): new method
13233         (messagePush): ditto
13234         (messagePop): ditto
13235         (show): init minibuffer
13236         (showState): direct call
13237
13238         * LaTeX.[Ch]: inherit privately from noncopyable
13239         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13240         instead of WriteStatus.
13241
13242         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13243
13244         * BufferView_pimpl.C (buffer): don't init minibuffer
13245         (workAreaButtonPress): use LFUN_MESSAGE
13246         (workAreaButtonRelease): ditto
13247         (savePosition): ditto
13248         (restorePosition): ditto
13249         (MenuInsertLyXFile): ditto
13250         (workAreaExpose): don't init minibuffer
13251         (update): remove commented code, simplify
13252
13253         * BufferView2.C (openStuff): use LFUN_MESSAGE
13254         (toggleFloat): ditto
13255         (menuUndo): ditto
13256         (menuRedo): ditto
13257         (copyEnvironment): ditto
13258         (pasteEnvironment): ditto
13259         (copy): ditto
13260         (cut): ditto
13261         (paste): ditto
13262         (gotoInset): ditto
13263         (updateInset): remove some commented code
13264
13265         * lastfiles.h: inherit privately from noncopyable
13266         * layout.h: ditto
13267         * lyx_gui.h: ditto
13268         * lyx_main.h: ditto
13269         * lyxlex.h: ditto
13270         * lyxlex_pimpl.h: ditto
13271
13272         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13273         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13274         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13275
13276         * LyXAction.h: inherit privately from noncopyable, add methods
13277         func_begin, func_end, returning iterators to the func map.
13278
13279         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13280         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13281         (func_begin): new method
13282         (func_end): new method
13283
13284         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13285         and not)
13286         (copySelection): ditto
13287         (pasteSelection): ditto
13288
13289         * BufferView.C: whitespace change
13290         * BufferView.h: inherit privately from noncopyable
13291
13292 2001-04-16  Allan Rae  <rae@lyx.org>
13293
13294         * tabular-old.C (l_getline):
13295         * spellchecker.C (sc_check_word):
13296         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13297         an unrecognised preprocessor directive.  So ensure they're wrapped.
13298
13299 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * src/exporter.C (Export): Give an error message when path to file
13302         contains spaces.
13303
13304 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13305
13306         * LaTeX.C (deplog): Always check that foundfile exists.
13307
13308 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * lyx_main.h:
13311         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13312
13313 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * tabular.[Ch] (getLabelList): implement new method
13316
13317         * minibuffer.h: comment ouf setTiimer
13318
13319         * minibuffer.C (ExecutingCB): constify res
13320         (peek_event): constify s
13321         (Set): constify ntext
13322         (Init): constify nicename
13323
13324         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13325
13326         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13327         (savePosition): use two params to Minibuffer::Set
13328         (restorePosition): ditto
13329
13330 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * lyx_main.C: include language.h
13333
13334         * Makefile.am (lyx_main.o): add language.h
13335
13336 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * exporter.C:
13339         * paragraph.C:
13340         * screen.C:
13341         * tabular.C:
13342         * CutAndPaste.C: include gettext.h
13343
13344         * lyxfont.h: remove old hack with ON and OFF.
13345
13346         * lyxparagraph.h:
13347         * lyxfont.h: do not include language.h...
13348
13349         * BufferView2.C:
13350         * LaTeXFeatures.C:
13351         * Painter.C:
13352         * bufferview_funcs.C:
13353         * font.C:
13354         * lyxfont.C:
13355         * text.C:
13356         * text2.C:
13357         * trans_mgr.C:
13358         * paragraph.C: ... but do it here instead
13359
13360 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13363
13364         * tabular.C: small reformat
13365
13366         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13367         NEW_INSETS version
13368         (GetChar): ditto
13369         (BreakParagraph): ditto
13370         (SetOnlyLayout): ditto
13371         (SetLayout): ditto
13372
13373         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13374         with one arg less.
13375
13376         * lastfiles.C: removed most using decl, add std:: where needed
13377
13378         * buffer.C: ws changes
13379
13380         * MenuBackend.C (class compare_format): put into anon namespace
13381         (expand): constify label, names, action, action2
13382         (expand):
13383
13384         * text.C (SingleWidth): constify font
13385         (IsBoundary): constify rtl2
13386         (GetVisibleRow): constify ww
13387
13388         * LaTeX.C (deplog): constify logfile
13389
13390         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13391         start_x, end_x
13392         (workAreaExpose): constify widthChange, heightChange
13393
13394         * lyxrow.C (par): moved
13395         (height): moved
13396         (next): moved
13397         * lyxrow.h: as inlines here
13398
13399         * lyxfont.h (shape): moved from lyxfont.C
13400         (emph): moved from lyxfont.C
13401
13402         * lyxfont.C (LyXFont): use initialization list for all
13403         constructors
13404         (shape): move to lyxfont.h as inline
13405         (emph): move to lyxfont.h as inline
13406
13407
13408 2001-04-04  Juergen Vigna  <jug@sad.it>
13409
13410         * vspace.C: had to include stdio.h for use of sscanf
13411
13412 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13413
13414         * BufferView.h:
13415         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13416         independent of xforms.
13417
13418 2001-04-02  Juergen Vigna  <jug@sad.it>
13419
13420         * spellchecker.C: fixed namespace placing!
13421
13422 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13425         the LyXParagraph * is 0.
13426
13427 2001-03-29  Juergen Vigna  <jug@sad.it>
13428
13429         * vspace.C: added support for %, c%, p%, l%.
13430         (stringFromUnit): added helper function.
13431         (asLatexString): changed to give right results for the %-values.
13432
13433         * buffer.C: convert the widthp in a width%.
13434
13435 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13436
13437         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13438         figureForm.[Ch].
13439
13440         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13441         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13442
13443         * lyx_cb.[Ch]: see above.
13444
13445         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13446         form1.[Ch].
13447
13448         * form1.[Ch]:
13449         * lyx.[Ch]: replaced by figure_form.[Ch].
13450
13451         * lyx_gui.C:
13452         * lyx_gui_misc.C:
13453         * lyxfunc.C: changed headers associated with above changes.
13454
13455 2001-03-27  Juergen Vigna  <jug@sad.it>
13456
13457         * BufferView_pimpl.C: set the temporary cursor right!
13458
13459 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13462
13463 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13464
13465         * LString.h: removed "using std::getline"!
13466
13467         * BufferView_pimpl.C (Dispatch): changes due to changes in
13468         InsetInclude::Params.
13469
13470         * buffer.C (tag_name): removed redundant break statements as they were
13471         producing lots of warnings with my compiler.
13472
13473 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * LString.h: add "using std::getline" when using the real <string>.
13476
13477 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13478
13479         * buffer.C: removed bitset usage.
13480         PAR_TAG moved to an anonymous name space.
13481         (tag_name): new funtion, also in the anonymous namespace.
13482         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13483         (makeDocBookFile): clean code. Completed transition from string arrays
13484         to string vectors.
13485         (SimpleDocBookOnePar): code clean.
13486
13487 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13488
13489         * tabular.C: add some comments.
13490
13491 2001-03-22  Juergen Vigna  <jug@sad.it>
13492
13493         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13494         compatibility read a bit and fixed bug with minipage in different
13495         depth.
13496
13497 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13498
13499         * buffer.C (pop_tag): removed.
13500         (push_tag): removed.
13501         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13502         array replaced with vector. Added support for CDATA sections.
13503         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13504         at any nest level.
13505         (makeDocBookFile): XML conformant declaration of CDATA section,
13506         fixed bug related to <emphasis> in the first paragraph char.
13507         (sgmlOpenTag): exclude empty tags.
13508         (sgmlCloseTag): ditto.
13509
13510         * buffer.h (pop_tag): removed.
13511         (push_tag): removed.
13512
13513 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13514
13515         * language.h (Languages): added size_type and size().
13516
13517 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13518
13519         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13520         response on compability reading of minipages. One probliem is that
13521         the old usage of minipages was «flertydig»
13522
13523         * several files here and in subdirs: don't use static at file
13524         scope use anon namespaces instead.
13525
13526 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13527
13528         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13529         LaTeX output. This is necessary for Literate document
13530         processing.
13531
13532 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13533
13534         * buffer.C: insert hfill when needed.
13535
13536         * tabular.C (l_getline): use string::erase, small whitespace change.
13537
13538         * BufferView_pimpl.C: try the anon namespace.
13539         * WorkArea.C: ditto
13540
13541 2001-03-16  Juergen Vigna  <jug@sad.it>
13542
13543         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13544         otherwise it won't open options-dialogs.
13545
13546         * buffer.C: honor pextraWidth(p) on converting minipages.
13547
13548         * tabular.C (l_getline): changed the functions to strip trailing \r.
13549
13550 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * BufferView_pimpl.C:
13553         * minibuffer..C: added "using SigC::slot" declaration.
13554
13555 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13556
13557         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13558
13559         * text2.C: ditto
13560
13561         * text.C: ditto
13562
13563         * paragraph.C: ditto
13564
13565         * lyxtext.h: NO_PEXTRA
13566
13567         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13568
13569         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13570         * ParameterStruct.h: ditto
13571         * ParagraphParameters.h: ditto
13572         * lyxparagraph.h: ditto
13573
13574 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13575
13576         * buffer.C: add compability for minipage alignment.
13577         (latexParagraphs): remove unwanted pextra check.
13578
13579         * several files: remove CXX_WORKING_NAMESPACES
13580
13581         * buffer.C (pop_tag): tie is in namespace boost
13582
13583         * BufferView.h: noncopyable is in namespace boost
13584         * lyxlex.h: ditto
13585         * lyx_main.h: ditto
13586         * lyx_gui.h: ditto
13587         * layout.h: ditto
13588         * lastfiles.h: ditto
13589         * bufferlist.h: ditto
13590         * ShareContainer.h: ditto
13591         * LyXView.h: ditto
13592         * LyXAction.h: ditto
13593         * LaTeX.h: ditto
13594
13595 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * Merging changes from BRANCH_MVC back into HEAD.
13598
13599         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13600
13601 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * BufferView_pimpl.C: change from intl.C
13604
13605         * combox.h:
13606         * combox.C:
13607         * Makefile.am: move combox.*
13608
13609         * form1.h:
13610         * form1.C:
13611         * lyx_gui.C:
13612         * intl.h:
13613         * intl.C: remove dialog (covered by prefs)
13614
13615 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * lyxfunc.C (Dispatch): removed redundant break statement.
13618
13619 2001-03-14  Juergen Vigna  <jug@sad.it>
13620
13621         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13622
13623 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13624
13625         * buffer.C: add hack to fix compability reading of minipages.
13626
13627 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * buffer.C (getLists): Cleanup.
13630
13631 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13632
13633         * lyxfont.C (update): don't honor toggleall on font size.
13634
13635 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * bmtable.c:
13638         * bmtable.h:
13639         * Makefile.am: moved to frontends/xforms/
13640
13641         * lyx_gui_misc.C:
13642         * lyxfunc.C:
13643         * BufferView_pimpl.C: changes for moved mathpanel
13644
13645 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13646
13647         * gettext.h: fix gettext_init() in --disable-nls
13648
13649 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13652
13653 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * lyx.C:
13656         * lyx.h: strip external form
13657
13658 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * BufferView_pimpl.C: add comment, destroySplash()
13661
13662 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * BufferView_pimpl.C:
13665         * LyXAction.C:
13666         * buffer.C:
13667         * commandtags.h:
13668         * lyxfunc.C: use re-worked insetinclude
13669
13670 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13671
13672         * buffer.C: add using std::stringstream.
13673
13674         * lyx_cb.C: readd using std::ios.
13675
13676         * buffer.C: add using std::map.
13677
13678         * BufferView_pimpl.C: add using std::vector.
13679
13680         * ShareContainer.h: add std:: to swap.
13681
13682         * buffer.h: add some typedefs
13683         * buffer.C (getLists): use them
13684         (getLists): renamed from getTocList.
13685         add a counter for the different float types and use it in the
13686         generated string.
13687         (getLists): use the same counter for the NEW_INSETS and the "non"
13688         NEW_INSETS
13689
13690         * lyx_cb.h: remove unused items, includes, using etc.
13691
13692         * ShareContainer.h: remove some commented code, add more comments
13693         and "documentation".
13694
13695 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13696
13697         * buffer.C (getTocList): make the list also when NEW_INSETS is
13698         defined.
13699
13700         * buffer.h: remove TocType
13701
13702         * buffer.C (getTocList): change to return a map<string,
13703         vector<TocItem> >, implement for dynamic number of list.
13704
13705         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13706         * text2.C (PasteSelection): adjust
13707         * CutAndPaste.C (pasteSelection): adjust
13708
13709         * FloatList.C (FloatList): update from the new_insets branch.
13710         * Floating.[Ch]: ditto
13711         * LaTeXFeatures.C: ditto
13712         * buffer.C: ditto
13713         * lyxlex_pimpl.C: ditto
13714
13715         * paragraph.C (Last): remove when NEW_INSETS is defined.
13716
13717         * other file: changes because of the above.
13718
13719 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13720
13721         * lyxparagraph.h: rename next to next_, previous to previous_,
13722         make them private for NEW_INSETS. Rename Next() to next(),
13723         Previous() to previous().
13724
13725         * other files: changes because of the above.
13726
13727 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13728
13729         * BufferView.h:
13730         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13731         problem.
13732
13733 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * main.C (main): pass lyx_localedir to gettext_init().
13736
13737         * gettext.h: remove locale_init and gettext_init macros
13738
13739         * gettext.C (locale_init): new function
13740         (gettext_init): new function
13741
13742         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13743         setlocale().
13744
13745 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13746
13747         * Moved credits to frontends:
13748         * credits.[Ch]: removed
13749         * credits_form.[Ch]: removed
13750         * lyx_gui_misc.C: remove credits stuff
13751         * Makefile.am:
13752
13753 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13754
13755         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13756
13757         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13758         unneeded destructor.
13759
13760         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13761         a standalone pointer again.
13762
13763         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13764
13765 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13766
13767         * Makefile.am:
13768         * filedlg.h:
13769         * filedlg.C:
13770         * LyXAction.C:
13771         * ToolbarDefaults.C:
13772         * bufferlist.C:
13773         * commandtags.h:
13774         * form1.C:
13775         * form1.h:
13776         * lyx_cb.C:
13777         * lyx_cb.h:
13778         * lyxfunc.h:
13779         * lyxfunc.C:
13780         * BufferView_pimpl.C: use new file dialog in GUII
13781
13782         * lyx_cb.h:
13783         * lyx_cb.C: remove LayoutsCB to Toolbar
13784
13785 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * ShareContainer.h (get): add std:: qualifier
13788
13789 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * ShareContainer.h: define a proper ShareContainer::value_type
13792         type (and use typename to please compaq cxx)
13793
13794 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13795
13796         * lyxparagraph.h: move serveral local vars to
13797         ParameterStruct/ParagraphParameters., use ShareContainer in
13798         FontTable., make vars in FontTable private and add getter and
13799         setter.
13800
13801         * paragraph.C: changes because of the above.
13802
13803         * lyxfont.h: remove copy constructor and copy assignment. (the
13804         default ones is ok), move number inside FontBits. move inlines to
13805         lyxfont.C
13806
13807         * lyxfont.C: add number to initializaton of statics, move several
13808         inlines here. constify several local vars. some whitespace
13809         cleanup. Dont hide outerscope variables.
13810
13811         * Spacing.h: add two new constructors to match the set methods.
13812
13813         * ShareContainer.h: new file, will perhaps be moved to support
13814
13815         * ParameterStruct.h: new file
13816
13817         * ParagraphParameters.h: new file
13818
13819         * ParagraphParameters.C: new file
13820
13821         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13822         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13823
13824         * BufferView_pimpl.C: ParagraphParameter changes.
13825         * buffer.C: Likewise.
13826         * bufferview_funcs.C: Likewise.
13827         * text.C: Likewise.
13828         * text2.C: Likewise.
13829
13830 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * lyxfind.C (LyXReplace): do not redefine default argument in
13833         implementation.
13834         (IsStringInText): ditto
13835         (SearchForward): ditto
13836         (SearchBackward): ditto
13837
13838 2001-03-06  Juergen Vigna  <jug@sad.it>
13839
13840         * lyxfind.C (IsStringInText): put parentes around expressions.
13841
13842 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13843
13844         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13845
13846 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13847
13848         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13849
13850         * stl_string_fwd.h: add comment
13851
13852         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13853
13854         * tabular.h:
13855         * tabular.C: remove unused DocBook methods
13856
13857         * intl.C:
13858         * language.C:
13859         * paragraph.C:
13860         * buffer.C:
13861         killed DO_USE_DEFAULT_LANGUAGE
13862
13863 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * lyx_gui.C: do not include language.h.
13866
13867         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13868         arguments in function implementation.
13869
13870 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13871
13872         * BufferView_pimpl.C: add <ctime>
13873
13874 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13875
13876         * BufferView_pimpl.C: add using std::find_if
13877
13878 2001-02-27  José Matos  <jamatos@fep.up.pt>
13879
13880         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13881         by OnlyPath.
13882
13883 2001-02-11  José Matos  <jamatos@fep.up.pt>
13884
13885         * buffer.C (makeDocBookFile): command styles now have a parameter as
13886         "title" by default.
13887
13888 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13889
13890         * layout_forms.[Ch]: removed
13891         * lyx_cb.[Ch]: out character
13892         * lyx_gui.C: out character
13893         * lyx_gui_misc.C: out character
13894         * bufferview_funcs.C: : out character,
13895         added toggleall as parameter in ToggleAndShow
13896
13897 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13898
13899         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13900
13901         * text2.C (SetCurrentFont): Disable number property at boundary.
13902
13903 2001-02-26  Juergen Vigna  <jug@sad.it>
13904
13905         * lyxfunc.C (getStatus): added a string argument override function so
13906         that this is correctly called from LyXFunc::Dispatch if it contains a
13907         do_not_use_argument which is used!
13908         (Dispatch): added check for "custom" export and call appropriate func.
13909
13910 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * lyxrc.C: Add language_command_local, language_use_babel and
13913         language_global_options.
13914
13915         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13916
13917         * buffer.C (makeLaTeXFile): Use language_use_babel and
13918         language_global_options.
13919
13920 2001-02-23  Juergen Vigna  <jug@sad.it>
13921
13922         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13923         which works with LyXText and putted it inside BufferView. Here now we
13924         only call for that part the BufferView::Dispatch() function.
13925
13926         * BufferView.C (Dispatch): added.
13927
13928         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13929         functions which needs to use a LyXText over from LyXFunc.
13930         (MenuInsertLyXFile): added
13931         (getInsetByCode): added
13932         (moveCursorUpdate): added
13933         (static TEXT): added
13934
13935 2001-02-22  Juergen Vigna  <jug@sad.it>
13936
13937         * BufferView_pimpl.C (update): call a status update to see if LyXText
13938         needs it.
13939
13940 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13941
13942         * vc-backend.C (revert): implement for CVS
13943         (getLog): implement for CVS
13944
13945 2001-02-20  Juergen Vigna  <jug@sad.it>
13946
13947         * text2.C (ClearSelection): added BufferView param for inset_owner call
13948
13949         * lyxfunc.C (TEXT): added this function and use it instead of
13950         directly owner->view()-text of getLyXText().
13951
13952 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13953
13954         * src/layout_forms.C: out preamble
13955         * src/layout_forms.h: out preamble
13956         * src/lyx_cb.C: out preamble
13957         * src/lyx_cb.h: out preamble
13958         * src/lyx_gui.C: out preamble
13959         * src/lyx_gui_misc.C: out preamble
13960         * src/lyxfunc.C: connect with guii preamble
13961
13962 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13963
13964         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13965
13966 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13967
13968         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13969         whether to run bibtex.
13970
13971 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13974
13975 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13976
13977         * Makefile.am (lyx_SOURCES): removed bibforms.h
13978
13979         * vspace.h: doxygen
13980
13981         * text.C (GetVisibleRow): make several local vars const
13982
13983         * tabular.C: small cleanup.
13984
13985         * lyxserver.C (callback): use compare instead of strncmp
13986
13987         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13988         inlines to after class or to paragraph.C
13989
13990         * lyxfont.h: remove friend operator!=
13991
13992         * converter.h: move friend bool operator< to non friend and after
13993         class def.
13994
13995         * combox.h: small cleanup
13996
13997         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13998         to inlines after class def.
13999
14000         * buffer.C (pop_tag): use string operations instead of strcmp
14001
14002         * bmtable.c: doxygen, small cleanup
14003
14004         * LaTeX.h: remove friend operator==
14005
14006 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14007
14008         * screen.C:
14009         * lyxrc.[Ch]:
14010         * lyxfunc.C:
14011         * lyxfont.[Ch]:
14012         * lyx_cb.C:
14013         * intl.[Ch]:
14014         * commandtags.h:
14015         * buffer.C:
14016         * WorkArea.[Ch]:
14017         * LyXAction.C:
14018         * BufferView_pimpl.C:
14019         * BufferView.[Ch]: remove cruft
14020
14021 2001-02-14  Juergen Vigna  <jug@sad.it>
14022
14023         * lyxfunc.C: removed #if 0 unused code
14024
14025         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14026
14027         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14028
14029         * text2.C (SetSelection): added a BufferView * parameter
14030
14031 2001-02-13  Juergen Vigna  <jug@sad.it>
14032
14033         * lyxfunc.C (Dispatch): fixed protected blank problem.
14034         * BufferView2.C (protectedBlank): added LyxText * parameter.
14035
14036         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14037         (AppendColumn): same as above for column_info.
14038
14039         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14040         (moveCursorUpdate): use a LyXText param for support of InsetText.
14041
14042         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14043         (tripleClick): ditto
14044
14045         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14046
14047         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14048
14049         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14050
14051         * text2.C (SetSelection): set correct update status if inset_owner
14052         (ToggleFree): ditto
14053
14054 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14055
14056         * tabular.C: remove some commented code.
14057
14058 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14059
14060         * BufferView_pimpl.C: call hideSplash()
14061
14062         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14063
14064         * include_form.h:
14065         * bibforms.h: remove
14066
14067         * lyxfunc.C:
14068         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14069           add LFUN_CHILD_CREATE
14070
14071         * counters.h: fix tiny typo
14072
14073         * lyx_cb.C:
14074         * lyx.h:
14075         * lyx_gui.C:
14076         * lyx.C: move splash to frontends/xforms/
14077
14078         * lyx_gui_misc.C: move Include and Bibform to frontends
14079
14080         * lyxvc.h: clarify comment
14081
14082         * vspace.C: tiny housekeeping
14083
14084 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * text.C (PrepareToPrint): RTL Fix.
14087
14088         * paragraph.C (GetUChar): New method.
14089         (String):  Use GetUChar.
14090
14091         * buffer.C (asciiParagraph): Use GetUChar.
14092
14093 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14094
14095         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14096
14097 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * buffer.h:
14100         * buffer.C: rename to getLogName(), handle
14101           build log / latex log nicely
14102
14103 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * MenuBackend.C:
14106         * MenuBackend.h: remove support for reference menuitem type.
14107
14108 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * BufferView_pimpl.C: housekeeping
14111         * BufferView_pimpl.h:
14112         * LyXView.h:
14113         * Makefile.am:
14114         * Timeout.C:
14115         * Timeout.h:
14116         * minibuffer.h: move Timeout GUI-I
14117
14118 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14119
14120         * lyxrc.C (read): Update converters data-structures.
14121
14122 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14123
14124         * LaTeX.h (operator!=): add operator != for Aux_Info
14125
14126 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14129
14130         * LaTeXLog.C: deleted, useful code moved to Buffer
14131
14132         * buffer.h:
14133         * buffer.C: new function getLatexLogName()
14134
14135         * lyx_gui_misc.C:
14136         * lyx_gui.C:
14137         * lyxvc.C:
14138         * lyxvc.h:
14139         * lyxfunc.C: use frontends for LaTeX and VC logs
14140
14141 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * LaTeX.h: yet another std:: that Allan forgot.
14144
14145         * Variables.C (set): renamed from isset(), because this clashes
14146         with some HP-UX macros (grr).
14147
14148 2001-02-06  Allan Rae  <rae@lyx.org>
14149
14150         * LaTeX.h: Another bug fix.  Missing std:: this time.
14151
14152 2001-02-04  Allan Rae  <rae@lyx.org>
14153
14154         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14155         floats problem. I've left it commented out because it's not quite
14156         correct.  It should also test that the current object is a table or
14157         figure inset.  But I haven't gotten around to figuring out how to do
14158         that.  I *think* it'll be something like: "table" == inset.type()
14159
14160         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14161         bool.
14162
14163 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14164
14165         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14166         all the citation/databases/styles in the auxilary file.
14167         (run): Rerun latex if there was a babel language error.
14168
14169 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14170
14171         * text.C (Backspace): Preserve the font when changing newline char
14172         with a space.
14173         (BreakParagraph): If the cursor is before a space, delete the space.
14174
14175         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14176
14177 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14180         new argument (code).
14181         (ChangeCitationsIfUnique): New method.
14182
14183         * paragraph.C (GetPositionOfInset): Handle bibkey.
14184
14185 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * BufferView_pimpl.h: change type of Position::par_pos to
14188         LyXParagraph::size_type.
14189
14190 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14191
14192         * BufferView_pimpl.C (savePosition, restorePosition): Write
14193         messages to minibuffer.
14194
14195 2001-01-28  José Matos  <jamatos@fep.up.pt>
14196
14197         * buffer.C (makeDocBookFile): adds support for document language.
14198         A silly restriction on the name of LatexCommand types where removed.
14199         Added support for CDATA sections, allows to chars unescaped, used
14200         among others in code, to avoid escape < and >.
14201
14202 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14205         saved positions instrad of a stack. Furthermore, a position is
14206         stored using paragraph id/paragraph position.
14207
14208         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14209         Remove LFUN_REF_BACK.
14210
14211 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * converter.C (dvipdfm_options): New method.
14214
14215 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * vspace.C (isValidLength): Fix for empty input string.
14218
14219 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14220
14221         * LyXAction.C (init): change description of LFUN_FIGURE to
14222         "Insert Graphics"
14223
14224 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * LaTeX.C: add using directive
14227
14228 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14229
14230         * MenuBackend.C (expand): Fix the sorting of the formats.
14231
14232 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * lyx_main.C: tiny error message fix
14235
14236 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14237
14238         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14239         calling fl_initialize(). This fixes the problem with ',' as
14240         decimal separator in text files.
14241
14242 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * trans.C (process): Fix the keymap bug.
14245
14246 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14247
14248         * LaTeX.C (scanAuxFiles): New method. Provides support for
14249         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14250         (scanLogFile) Scan for "run BibTeX" messages.
14251
14252         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14253         OT1 font encoding. Also, load the aecompl package if the ae
14254         package is loaded.
14255
14256         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14257
14258 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14259
14260         * texrow.C (increasePos): turn two error messages into debug
14261         messages.
14262
14263 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * LaTeX.C (scanAux): Handle the \@input macro.
14266         (runBibTeX): Use scanAux().
14267
14268         * language.C (latex_options_): New field.
14269
14270         * LaTeXFeatures.C (getMacros): Add language macros.
14271
14272         * buffer.C (makeLaTeXFile): Small fix.
14273
14274 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14277
14278         * text2.C: add a using directive.
14279
14280 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * BufferView2.C:
14283         * lyx_gui_misc.h:
14284         * lyxfr1.C:
14285         * lyxfunc.C: kill LyXBell.
14286
14287 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * text.C (IsBoundary): Remove the error message
14290
14291         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14292
14293         * lyxrc.C (setDefaults): Correct initialization value for
14294         font_norm_type.
14295
14296 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14299         gotoError().
14300
14301         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14302         and GotoNextNote().
14303
14304         * src/LyXAction.C: Added reference-next.
14305
14306         * text.C (InsertChar): Use contains instead of strchr.
14307
14308         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14309
14310 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14313         alignment commands (when needed).
14314
14315         * text.C (InsertChar): Add ':' to number separator chars.