]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bd85f085e8b7838209b84e280c89d5450546ad27
[lyx.git] / src / ChangeLog
1 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text2.C (redoCursor): remove
4         * text.C:
5         * text3.C:
6         * BufferView_pimpl.C: remove calls to redoCursor and
7         setCursor(cursor.par(), cursor.pos()) all around
8
9 2003-12-15  Angus Leeming  <leeming@lyx.org>
10
11         * buffer.C: up the format to 228.
12
13 2003-12-15  André Pönitz  <poenitz@gmx.net>
14
15         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
16         slices
17
18         * Makefile.am:
19
20         * BufferView_pimpl.C:
21         * cursor.[Ch]:
22         * lyxcursor.[Ch]:
23         * rowpainter.[Ch]:
24         * lyxtext.h:
25         * text.C:
26         * text2.C:
27         * text3.C: adjust
28
29 2003-12-15  Angus Leeming  <leeming@lyx.org>
30
31         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
32         than getFromGUIName to manipulate the color.
33
34 2003-12-14  Angus Leeming  <leeming@lyx.org>
35
36         * BranchList.[Ch]: minimize the API.
37         (Branch::getBranch, getColor): now return a 'const &'.
38         (Branch::setSelected) now returns a bool set to true if the
39         selection status changes.
40         (BranchList::clear, size, getColor, setColor, setSelected,
41         allBranches, allSelected, separator): removed.
42         (BranchList::find): new functions, returning the Branch with
43         the given name.
44         (BranchList::add, remove): return a bool indicating that
45         the operation was successful.
46
47         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
48         new InsetBranch::isBranchSlected member function.
49
50         * LColor.[Ch]: mimimize the API.
51         (fill): renamed as addColor and made private.
52         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
53         versions of these functions taking a string arg have been removed.
54
55         * bufferparams.C (readToken):
56         * lyxfunc.C (dispatch):
57         * lyxrc.C (read): changes due to the altered BranchList and
58         LColor APIs.
59
60         * factory.C (createInset, readInset): changes due to altered
61         InsetBranch c-tor.
62
63 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * factory.C: 
66         * lyxfunc.C: remove insetminipage. "minipage-insert"
67         now produces a frameless minipage box inset.
68
69 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * textcursor.[Ch] (selStart,selEnd): add new methods 
72         remove selection::start, end, use LyXCursor::operator<
73         * lyxcursor.[Ch] (operator<): add
74         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
75         * BufferView.[Ch] (unsetXSel): add
76         * text2.C (clearSelection): use unsetXSel,adjust
77         * text.C: adjust
78         * text3.C: adjust
79         * rowpainter.C: adjust
80         * bufferview_funcs.C (put_selection_at): adjust
81
82 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
83
84         * BufferView_pimpl.C: small coord. correction
85
86 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
89         dragging over the splash screen.
90
91 2003-12-11  Angus Leeming  <leeming@lyx.org>
92
93         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
94         as it is now handled in LyXText::dispatch.
95
96         * text3.C (doInsertInset): remove a level of nesting.
97
98 2003-12-11  Angus Leeming  <leeming@lyx.org>
99
100         * factory.C (createInset): changes due to the changed interface to
101         InsetCommandMailer::string2params.
102
103 2003-12-10  Angus Leeming  <leeming@lyx.org>
104
105         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
106         'dialog-show-new-inset <inset name>'
107
108 2003-12-10  Angus Leeming  <leeming@lyx.org>
109
110         * buffer.C: up the format to 227.
111
112         * factory.C: the box inset is now identified simply by 'Box'.
113
114 2003-12-10  Angus Leeming  <leeming@lyx.org>
115
116         * buffer.C: up the format to 226.
117
118         * factory.C: the note inset is now identified simply by 'Note'.
119
120 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
121
122         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
123         when a pit is enough. Standarize a couple of loops. 
124
125 2003-12-05  Angus Leeming  <leeming@lyx.org>
126
127         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
128         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
129         data to the re-worked "log" dialog.
130
131 2003-12-03  André Pönitz  <poenitz@gmx.net>
132
133         * PosIterator.C:
134         * iterators.C:
135         * lyxtext.h:
136         * output_latex.C:
137         * paragraph_funcs.C:
138         * text.C:
139         * text2.C: use Inset::getText instead of Inset::getParagraph
140
141 2003-12-03  André Pönitz  <poenitz@gmx.net>
142
143         * buffer.[Ch]:
144         * lyxtext.h:
145         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
146         InsetText::read() as LyXText::read()
147         
148 2003-12-02  Angus Leeming  <leeming@lyx.org>
149
150         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
151         type. Add a comment in the implementation that the function uses
152         the stream's bad() function rather than fail() as the std::streams
153         would do.
154
155 2003-12-02  André Pönitz  <poenitz@gmx.net>
156
157         * lyxlex.[Ch]: make interface more similar to std::stream
158
159         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
160
161 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
164
165 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
166
167         * vspace.[Ch]: remove VSpace::NONE
168
169 2003-12-01  André Pönitz  <poenitz@gmx.net>
170
171         * buffer.[Ch]:
172         * lyxtext.h: move ParagraphList member to LyXText
173         rename LyXText::ownerParagraphs to LyXText::paragraph
174
175         * CutAndPaste.C:
176         * bufferview_funcs.C:
177         * iterators.[Ch]:
178         * lyx_cb.C:
179         * paragraph.C:
180         * rowpainter.C:
181         * tabular.C:
182         * text.C:
183         * text2.C:
184         * text3.C: adjust
185
186         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
187
188         * undo.C: fix cursor positioning 
189
190 2003-12-01  John Levon  <levon@movementarian.org>
191
192         * BufferView_pimpl.C: fix a crash on exit with
193         a buffer open
194
195 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * BranchList.C: fix setSelected() method.
198
199 2003-11-28  André Pönitz  <poenitz@gmx.net>
200
201         * ParagraphParameters.[Ch]:
202         * ParameterStruct.h: remove space above/below from Paragraph to
203          InsetVSpace
204
205         * BufferView_pimpl.C:
206         * factory.C:
207         * lyxfunc.C:
208         * lyxtext.h:
209         * output_latex.C:
210         * paragraph.C:
211         * paragraph_funcs.C:
212         * rowpainter.[Ch]:
213         * text.C:
214         * text2.C:
215         * text3.C: adjust
216
217 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * factory.C: Syntax change for CharStyles
220
221 2003-11-28  André Pönitz  <poenitz@gmx.net>
222
223         * BufferView.[Ch]:
224         * BufferView.[Ch]:
225         * buffer.[Ch]:
226         * buffer.[Ch]: move LyXText member
227
228 2003-11-28  André Pönitz  <poenitz@gmx.net>
229
230         * BufferView.[Ch]: make LyXText * text a private member
231
232         * BufferView_pimpl.C:
233         * cursor.C:
234         * iterators.C:
235         * lyx_cb.C:
236         * lyxfind.C:
237         * lyxtext.h:
238         * rowpainter.[Ch]:
239         * text.C:
240         * text2.C:
241         * undo.C: adjust
242
243         * output_plaintext.C: cleanup
244
245 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * buffer.C: 
248         * lyxtextclass.[Ch]: parametrize SGML document header
249
250 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * converter.[Ch]:
253         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
254         getFlavor().
255
256 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * text2.C (setFont): rework using PosIterator (no more recursive)
259         (setCharFont): no more needed 
260         (setLayout): no more selection cursors fiddling (done by redoCursor)
261         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
262         destroy remaining ones)
263
264 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
267         * lyxtext.h: ditto
268         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
269         selection cursors
270         * lyxfunc.C: adjust
271         * text3.C: adjust + re-allow multi par depth changes
272         * textcursor.C: simplify a bit
273
274 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
275
276         * src/buffer.C:
277         * src/lyxlayout.C:
278         * src/lyxlayout.h:
279         * src/lyxtext.h:
280         * src/output_docbook.C:
281         * src/output_latex.C:
282         * src/paragraph.C:
283         * src/paragraph.h:
284         * src/sgml.C:
285         * src/sgml.h:
286         * src/text2.C: Introducing a number of tags parametrizing various
287         XML formats that we may want to support
288
289 2003-11-25  André Pönitz  <poenitz@gmx.net>
290
291         * InsetList.[Ch] (begein, end): inline as suggested by profiler
292
293         * lyxtext.h (leftMargin/rightMargin): simplify interface
294
295         * rowpainter.C:
296         * text.C:
297         * text2.C:
298         * text3.C: adjust
299
300 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
301
302         * lyxfunc.C (dispatch): propogate the bibtex databases from the
303         master file to any child files. Fixes bug 546.
304
305 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
308
309 2003-11-24  André Pönitz  <poenitz@gmx.net>
310
311         * rowpainter.C: simplification
312
313         * text2.C (updateCounters): remove call to redoParagraph on 
314         changed labels as this is far too expensive.
315
316 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
317
318         * converter.C (convert): fix a crash: this function gets
319         called with buffer == 0 from importer code.
320
321 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
322
323         * text3.C (cursorPrevious): make sure that we do not compare
324         iterators form different containers.
325         (cursorNext): ditto
326
327         * rowpainter.C (paintSelection): make sure that we do not compare
328         iterators from different containers.
329
330         * text3.C (dispatch): [PRIOR] make sure that we do not compare
331         iterators from different ParagraphList containers.
332         [NEXT] ditto
333
334         * text2.C (LyXText): change order of initialization slightly
335         (operator=): new function. copy all variables except cache_par_
336         (moveUp): make sure that we do not compare iterators from
337         different ParagraphList constainers.
338         (moveDown): ditto
339
340         * text.C (firstPar): new function
341         (lastPar): new function
342         (endPar): new function
343
344         * lyxtext.h: move things around and group public functions, public
345         variables, private functions, private variables
346
347 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
348
349         * factory.C: change call to InsetERT constructor to avoid
350         additional invocation of method status
351         * text2.C (toggleInset): remove redundant update() call
352         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
353         instead of a Bufferview pointer
354
355 2003-11-21  André Pönitz  <poenitz@gmx.net>
356
357         * rowpainter.C: simplification
358
359 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * text3.C (dispatch): make possible to extend a word/row selection
362         with the mouse
363
364 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * lyxtext.h: x0_,y0_ -> xo_,yo_
367         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
368         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
369         * rowpainter.C (paintRows): paint full paragraphs
370
371 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
372
373         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
374         screen coordinates)
375
376 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * lyxtext.h: add x0_, y0_
379         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
380         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
381
382 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * text2.C (setCursorIntern): move the x_target update here *
385         * text3.C: change some bv() to true/false in calls to
386         cursorUp/Down/Right/Left
387         * cursor.C: use helper function.
388
389 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
390
391         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
392         * paragraph_funcs.[Ch]: correct comment
393         * rowpainter.C: do not paint selections away from bv->cursor()
394         Fix a long standing selection painting bug.
395         * text3.C: generalize mouse-selection code to LyXTexts other that
396         top one
397         * textcursor.C: do not use y coords if we can use par offsets
398
399 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
402         cursor position after e.g. inset insert)
403
404 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * lyxfind.C (replace): adjust to locking removal + some
407         code simplification
408
409 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
412         of the path
413
414 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * lyxlayout.[Ch]:
417         * output_docbook.C: XML sanitation: new layout
418         parameters InnerTag and CommandDepth
419
420 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
421
422         * BufferView_pimpl.C:
423         * factory.C:
424         * text3.C: Fix the insertion and modification of button-style
425         insets
426
427 2003-11-13  André Pönitz  <poenitz@gmx.net>
428
429         * InsetList.[Ch]: remove deleteLyXText
430
431         * paragraph.[Ch]: cache beginOfBody position
432
433         * Bidi.C:
434         * text.C:
435         * text2.C:
436         * text3.C: remove superfluous update() calls
437
438         * vspace.C: cleanup
439
440 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
443         * BufferView.C (fitLockedInsetCursor): remove
444         * cursor.[Ch] (getDim): add
445         * text.C (getRowNearY): add faster version
446         * text3.C: remove some update calls
447
448 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
449
450         * LaTeXFeatures.C:
451         * LyXAction.C:
452         * MenuBackend.C:
453         * MenuBackend.h:
454         * dispatchresult.h:
455         * factory.C:
456         * lfuns.h:
457         * lyxfunc.C:
458         * lyxtextclass.C:
459         * lyxtextclass.h:
460         * text3.C: The Character Style /XML short element patch.
461
462 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
463
464         * text3.C:
465         * factory.C: Small step to solving 'unable to insert some insets'
466         problem
467
468 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
469
470         * cursor.[Ch] (updatePos): new function for updating the y
471         position of the tip inset
472         * bufferview_funcs.C (put_selection_at):
473         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
474
475 2003-11-11  André Pönitz  <poenitz@gmx.net>
476
477         * text.C: remove big comment on invalid Paragraph pointers as it is
478         not valid anymore
479
480 2003-11-11  André Pönitz  <poenitz@gmx.net>
481
482         * text_funcs.[Ch]: merge with ...
483
484         * text.C: ... this
485
486         * lyxtext.h:
487         * text2.C:
488         * text3.C: adjust
489
490         * Makefile.am: remove text_funcs.[Ch]
491
492 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
493
494         * cursor.C (getPos): return absolute cached y coord
495
496         * BufferView_pimpl.C (fitCursor): new simplistic code
497         (workAreaDispatch): add a fitCursor call
498
499 2003-11-10  André Pönitz  <poenitz@gmx.net>
500
501         * BufferView.[Ch]:
502         * BufferView_pimpl.[Ch]: merge update() and updateInset()
503
504 2003-11-10  André Pönitz  <poenitz@gmx.net>
505
506         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
507         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
508         indicate that the cursor needs to leave an inset
509
510         * lyxtext.h: remove inset locking
511
512         * cursor.[Ch]: re-implement functionality provided by inset locking
513
514         * BufferView.[Ch]:
515         * BufferView_pimpl.[Ch]:
516         * LyXAction.C:
517         * bufferview_funcs.[Ch]:
518         * factory.C:
519         * funcrequest.[Ch]:
520         * iterators.C:
521         * lyx_cb.C:
522         * lyxfind.C:
523         * lyxfunc.C:
524         * text.C:
525         * text2.C:
526         * text3.C:
527         * undo.C: adjust
528
529 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
530
531         * PosIterator.[Ch]: replace the stack with a vector, add inset
532         accesor
533         * iterators.[C]: adjust
534
535 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
536
537         * lyxfind.C (replaceAll): mark the buffer dirty if something was
538         replaced
539         * paragraph_funcs.C (readParToken): put the correct id in the
540         error item, not the id of the top paragraph
541
542 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
543
544         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
545         * bufferview_funcs.C (put_selection_at): use the above
546
547 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
548
549         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
550
551 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * output_linuxdoc.h:
554         * output_plaintext.h:
555         * output.h:
556         * output_docbook.h: add #include statements
557
558 2003-11-05  José Matos  <jamatos@lyx.org>
559
560         * output_docbook.[Ch]:
561         * output_latex.[Ch]:
562         * output_linuxdoc.[Ch]:
563         * output_plaintext.[Ch]: New files for output formats.
564         * output.[Ch]: New file for helper functions.
565
566         * buffer.[Ch]:
567         * paragraph_funcs.[Ch]: output functions moved to new files.
568
569         * outputparams.h: rename of latexrunparams.h
570
571         * LaTeX.[Ch]:
572         * buffer.[Ch]:
573         * bufferlist.[Ch]:
574         * converter.[Ch]:
575         * exporter.C:
576         * paragraph.[Ch]:
577         * paragraph_funcs.[Ch]:
578         * paragraph_pimpl.[Ch]:
579         * tabular.[Ch]: rename ascii to plaintext
580         and LatexRunParams to OutputParams.
581
582 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
583
584         * iterators.[Ch] (text): require bv argument
585         * undo.C (recordUndo):
586         * lyxfunc.C (dispatch):
587         * bufferview_funcs.C (put_selection_at): adjust
588
589 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
590
591         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
592
593 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
594
595         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
596         nestings
597
598 2003-11-04  André Pönitz  <poenitz@gmx.net>
599
600         * cursor.[Ch]: restructure
601
602         * BufferView.[Ch]:
603         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
604
605         * iterators.[Ch] (asCursor): remove
606
607         * lfuns.h: remove LFUN_INSET_EDIT
608
609         * lyxfunc.C:
610         * tabular.C:
611         * text.C:
612         * text2.C:
613         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
614
615 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
616
617         * lyxfind.[Ch]: complete overhaul
618         * BufferView_pimpl.C:
619         * lyxfunc.C: adjust
620         * paragraph.[Ch] (insert): add
621
622 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
623
624         * BufferView.[Ch]:
625         * lyxtext.h:
626         * text.C: remove dead spellcheck code
627
628 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
629
630         * dispatchresult.h: add a val setter
631
632         * cursor.C (dispatch): use a tempvar for data_[i]
633
634 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
635
636         * PosIterator.[Ch]: compile fix
637
638 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
639
640         * text.C (cursorPar): deactivate the cursor cache
641
642 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
643
644         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
645
646 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
647
648         * text3.C (dispatch): adjust for new DisptchResult semantics.
649
650         * lyxfunc.C (dispatch): handle update when return from
651         Cursor::dispatch, adjust for new DispatchResult semantics.
652
653         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
654         DispatchResult(true) mean to not update. Add class functions for
655         setting dispatched and update, as well as reading.
656
657         * cursor.C (dispatch): don't handle update here
658
659 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
660
661         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
662         * trans_mgr.C: adjust
663
664         * paragraph_funcs.C (readParToken): exception safety
665
666         * lyxvc.h: store the vcs pointer in a scoped_ptr
667         * lyxvc.C: adjust
668
669         * lyxsocket.C (serverCallback): exception safety
670
671         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
672
673         * ispell.C (clone): make it return a auto_ptr
674
675         * factory.C (createInset): exception safety
676         (readInset): exception safety
677
678         * bufferlist.C (newBuffer): exception safety
679
680         * Thesaurus.C (Thesaurus): use initialization for aik_
681
682         * MenuBackend.C (expandToc): exception safety.
683
684 2003-11-03  André Pönitz  <poenitz@gmx.net>
685
686         * buffer.C:
687         * buffer.h:
688         * bufferview_funcs.C: remove getInsetFromId()
689
690         * lyxcursor.[Ch]:
691         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
692
693         * lyxfunc.C:
694         * text2.C:
695         * text3.C: adjust
696
697 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
698
699         * PosIterator.C (distance, advance): new
700         * bufferview_funcs.[Ch] (put_selection_at): new
701         * iterators.[Ch] (lockPath): new
702
703 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
704
705         * iterators.[Ch] (asPosIterator): added
706         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
707         * PosIterator.[Ch]: added
708
709 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
710
711         * text3.C:
712         * lyxfunc.C:
713         * cursor.C (dispatch):
714         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
715
716         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
717         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
718         contructor, add a class function dispatched. Remove operator>=
719
720 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
721
722         * debug.C: only use the default constructor for debugstream
723         (lyxerr) here.
724
725         * main.C (main): include debug.h and setup the lyxerr streambuf
726         here.
727
728 2003-10-31  José Matos  <jamatos@lyx.org>
729
730         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
731
732         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
733         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
734         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
735         * paragraph_pimpl.C (simpleTeXSpecialC):
736         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
737         add LatexRunParams argument.
738
739         * exporter.C (Export): change call accordingly.
740
741         * latexrunparams.h: add new member to take care of the other backends.
742 2003-10-30  José Matos  <jamatos@lyx.org>
743
744         * buffer.C (makeLinuxDocFile, makeDocBookFile):
745         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
746         factorise code for paragraph output.
747         * buffer.[Ch]:
748         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
749         move functions.
750
751 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
752
753         * text3.C (dispatch):
754         * lyxfunc.C (dispatch):
755         * cursor.C (dispatch):
756         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
757
758         * dispatchresult.h: make the dispatch_result_t ctor explicit
759
760 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * sgml.[Ch]:
763         * buffer.C: small refactoring of docbook stuff
764
765 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
766
767         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
768         meaning.
769
770 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
771
772         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
773         operator dispatch_result_t, and operators for == != and >=
774
775         * cursor.C (dispatch): adjust for operator dispatch_result_t
776         removal. comment out call to update
777
778         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
779
780 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
781
782         * text3.C:
783         * text2.C:
784         * text.C:
785         * lyxtext.h:
786         * lyxfunc.C:
787         * cursor.C:
788         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
789         (dispatch):
790
791         * dispatchresult.h: new file, DispatchResult broken out of
792         insets/insetbase.h
793
794         * Makefile.am (lyx_SOURCES): add dispatchresult.h
795
796 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
797
798         * text.C (rowBreakPoint): put a hack inside #if 0
799
800 2003-10-28  André Pönitz  <poenitz@gmx.net>
801
802         * lyxtext.h:
803         * metricsinfo.C:
804         * paragraph_funcs.C:
805         * rowpainter.C:
806         * text.C:
807         * text2.C: general cleanup (lots of small stuff)
808
809 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
810
811         * text2.C (cursorEnd): simple fix to the "end key goes to one
812         before the end on last row" bug
813
814 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
815
816         * text.C (backspace): fix the "zombie characters"
817
818 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
819
820         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
821
822 2003-10-27  André Pönitz  <poenitz@gmx.net>
823
824         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
825
826         * factory.C: handle new InsetPagebreak, InsetLine
827
828         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
829         and move handling into new InsetPagebreak, InsetLine
830
831         * BufferView_pimpl.C:
832         * LyXAction.C:
833         * ParagraphParameters.C:
834         * ParameterStruct.h:
835         * lyxfunc.C:
836         * lyxtext.h:
837         * paragraph.C:
838         * paragraph.h:
839         * paragraph_funcs.C:
840         * paragraph_pimpl.C:
841         * rowpainter.C:
842         * text.C:
843         * text2.C:
844         * text3.C: adjust
845
846 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
847
848         * text.C:
849         * lyxrow_funcs.[Ch]:
850         * Bidi.C:
851         * paragraph.C:
852         * lyxtext.h:
853         * rowpainter.C:
854         * text2.C:
855         * text3.C: remove lastPos uses in favour of Row::endpos
856
857 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
858
859         * undo.C (performUndoOrRedo): fix two crashes by setting a
860         cursor by hand and reordering some calls. Use bv->lockInset instead
861         of inset->edit because the latter loses cursor information
862
863 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
864
865         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
866         by Martin
867         (rowBreakPoint): fix width. change point to point + 1.
868         Add a missing check.
869
870 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * MenuBackend.C:
873         * lyxfunc.C: fix (at least partly) the problems
874         with the Nav menu and headers inside branch insets
875         reported by Kayvan
876
877 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
878
879         * paragraph.C (getChar): add strong asserts
880
881         * lyxrow_funcs.C (lastPos): remove hideous hack
882
883         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
884         (fill): adjust to that (avoid an infinite loop)
885
886 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
887
888         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
889
890 2003-10-23  André Pönitz  <poenitz@gmx.net>
891
892         * RowList_fwd.h: change list<> to vector<> to gain speed
893         after suggestion from Alfredo
894
895 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
896
897         * lyxtext.h: move the bidi stuff from here...
898         * text.C: and here
899         * text2.C: and here
900         * Bidi.[Ch]: ... to here
901
902 2003-10-23  André Pönitz  <poenitz@gmx.net>
903
904         * lyxtext.h:
905         * text.C (isLastRow, isFirstRow): new functions
906
907         * paragraph.h: new width cache member
908
909         * rowpainter.C: replace RowList::iterator with Row & where possible
910
911         * lyxfunc.C: replace several view()->text with a single call
912
913         * toc.C: fix 'unused' warning
914
915 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
916
917         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
918         when woring with stream::pos_type
919         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
920
921 2003-10-22  André Pönitz  <poenitz@gmx.net>
922
923         * lyxtext.h:
924         * text.C: use Row & instead of RowList::iterator
925
926         * lyxrow.h: rename end() to endpos()
927
928         * rowpainter.C:
929         * text.C:
930         * text2.C: adjust
931
932 2003-10-22  Angus Leeming  <leeming@lyx.org>
933
934         * buffer.[Ch] (fully_loaded): new member function, returning true
935         only when the file has been loaded fully.
936         Used to prevent the premature generation of previews and by the
937         citation inset to prevent computation of the natbib-style label.
938
939         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
940         templates are all set up.
941
942         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
943
944 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
945
946         * text.C: fixed an "oops" in the "is a bit silly"
947         bug fix
948
949 2003-10-21  André Pönitz  <poenitz@gmx.net>
950
951         * FuncStatus.[Ch]: small stuff, whitespace
952
953         * lyxfont.[Ch]: operator<<() for debug reasons
954
955         * lyxfunc.C:
956         * lyxrow_funcs.C:
957         * lyxtext.h: whitespace, spelling
958
959         * paragraph.C: naming of variables
960
961         * text.C:
962         * text2.C: small stuff
963
964
965 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
966
967         * text.C: (1) finish off the inset display() work;
968         (2) fix the "is a bit silly" bug (accessing char
969         past end of par).
970
971 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * text.C: re-introduce display() for insets, fixing the
974         various bugs (stretch of line above, math inset
975         positioning, ...)
976
977 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * text.C (rightMargin): remove spurious semicolon
980
981         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
982         1415)
983
984 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
985
986         * text3.C: fix one crash due to wrong cursor def
987
988 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * vc-backend.C (scanMaster): make the regex static
991
992         * LaTeX.C (scanAuxFile): make the regexs static
993
994         * text3.C (doInsertInset, dispatch, dispatch):
995         * text2.C (cursorUp, cursorDown):
996         * text.C (selectNextWordToSpellcheck):
997         * BufferView_pimpl.C (dispatch):
998         * lyxfunc.C (dispatch):  localDispatch -> dispatch
999
1000 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * lyxsocket.C: include <cerrno>
1003
1004 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1005
1006         * lyxfunc.C (dispatch): remove textcache stuff
1007
1008         * bufferlist.C (release): remove textcache stuff
1009         (closeAll): ditto
1010
1011         * TextCache.C: delete file
1012         * TextCache.h: delete file
1013
1014         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1015
1016         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1017         delete of the bv_->text.
1018         (resizeCurrentBuffer): remove texcache stuff
1019         (workAreaResize): ditto
1020
1021 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1022
1023         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1024         action.
1025
1026 2003-10-16  André Pönitz  <poenitz@gmx.net>
1027
1028         * lyxrow.[Ch]:
1029         * paragraph.h:
1030         * rowpainter.C:
1031         * text.C:
1032         * text2.C:
1033         * text3.C: speed up by storing y positions per paragraph plus per-row
1034         offset instead of having a 'full' y position in the row.
1035
1036 2003-10-15  André Pönitz  <poenitz@gmx.net>
1037
1038         * iterators.[Ch]:
1039         * iterators.[Ch]:
1040         * undo.[Ch]: make undo aware of inner insets
1041
1042 2003-10-14  Angus Leeming  <leeming@lyx.org>
1043
1044         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1045         static member functions LyX::ref() and LyX::cref.
1046         (lastfiles): new accessor functions for the new lastfiles_ member var.
1047         (addLyXView, views_): add a new LyXView to the list of views_.
1048         (updateInset): loop over all LyXViews to call their own updateInset
1049         member function, returning a pointer to the Buffer owning the inset.
1050
1051         * BufferView_pimpl.C (loadLyXFile):
1052         * MenuBackend.C (expandLastfiles):
1053         * bufferlist.C (MenuWrite, QuitLyX):
1054         lastfiles is no longer a global variable.
1055         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1056
1057         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1058         static function. Access through LyX::cref().emergencyCleanup().
1059
1060 2003-10-14  André Pönitz  <poenitz@gmx.net>
1061
1062         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1063
1064         * undo.[Ch]: restoring part of 'undo in insets'
1065
1066         * Makefile.am:
1067         * undo_funcs.[Ch]: merge with undo.[Ch]
1068
1069         * tabular.C: small cleansing stuff
1070
1071 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1072
1073         * paragraph_funcs.C (readParToken): report unknown insets as error
1074         boxes. Use the outer paragraph as location (also for unknown
1075         tokens).
1076
1077         * factory.C (readInset): do not abort on reading an unknown inset.
1078         Eat it and return 0.
1079
1080 2003-10-13  Angus Leeming  <leeming@lyx.org>
1081
1082         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1083
1084         * lyxrc.C: displayTranslator is now a function,
1085         declared in GraphicsTypes.h.
1086
1087 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1088
1089         * format.C: new placeholder $$a to pass the socket address.
1090
1091         * bufferlist.[Ch]: new function getBufferFromTmp.
1092
1093         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1094           files in the temporary dir.
1095
1096 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1097
1098         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1099
1100         * Makefile.am: add lyxsocket.[Ch].
1101
1102         * lyx_main.C (error_handler): handle SIGPIPE.
1103
1104 2003-10-13  André Pönitz  <poenitz@gmx.net>
1105
1106         * BufferView_pimpl.C:
1107         * lyxtext.h:
1108         * text.C:
1109         * text2.C:
1110         * text3.C:
1111         * undo_funcs.[Ch]: use paroffset_type instead of
1112           ParagraphList::iterators to prevent multiple conversion
1113           (and get a more robust interface)
1114
1115 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1116
1117         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1118         * lyxtext.h: ditto
1119         * text3.C (dispatch): ditto
1120
1121 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1122
1123         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1124         move the onlyfile, use onlyfile instead of foundfile in a couple
1125         of places.
1126
1127         * DepTable.C (update): flush the error stream a bit more
1128
1129 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1130
1131         * lyxserver.C (callback): adjust
1132
1133         * lyxfunc.C (getStatus): add a missing brace in commented code
1134         (ensureBufferClean): reindent
1135         (dispatch): delete version taking a string
1136
1137 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1138
1139         * LaTeX.C (deplog): move found file handlig from here...
1140         (handleFoundFile): .. to new function here.
1141         (deplog): make sure to discover several files mentioned on the
1142         same log line.
1143
1144 2003-10-10  André Pönitz  <poenitz@gmx.net>
1145
1146         * lyxfunc.C:
1147         * lyxtext.h:
1148         * tabular.C:
1149         * text.C:
1150         * text2.C:
1151         * text3.C: fix some of the tabular crashes
1152
1153 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1154
1155         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1156
1157         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1158
1159 2003-10-09  André Pönitz  <poenitz@gmx.net>
1160
1161         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1162
1163         * BufferView.C:
1164         * BufferView_pimpl.C:
1165         * bufferview_funcs.C:
1166         * lyx_cb.C:
1167         * lyxcursor.C:
1168         * lyxfind.C:
1169         * lyxfunc.C:
1170         * lyxtext.h:
1171         * text.C:
1172         * text2.C:
1173         * text3.C:
1174         * text_funcs.[Ch]:
1175         * textcursor.[Ch]:
1176         * undo_funcs.C: adjust
1177
1178 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * text2.C (incrementItemDepth): new function, use a backtracking
1181         algorithm to discover the correct item depth.
1182         (resetEnumCounterIfNeeded): new function, use a backtracking
1183         algorithm to discover if counter reset is needed.
1184         (setCounter): use them. Simplify a bit. Add different labels for
1185         different item depths for itemize.
1186
1187         * paragraph.C (Paragraph): remove initialization of enumdepth
1188         (operator=): ditto
1189
1190         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1191         enumerate and itemize. Change the type of itemdepth to signed char.
1192
1193 2003-10-08  André Pönitz  <poenitz@gmx.net>
1194
1195         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1196           thing assignable.
1197         * text.C:
1198         * text2.C: adjust
1199
1200         * tabular.[Ch]: fix crash after 'row-insert'
1201
1202 2003-10-08  Angus Leeming  <leeming@lyx.org>
1203
1204         Fix doxygen warnings.
1205
1206         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1207         Remove CutAndPaste:: prefix from header file declaration.
1208
1209         * LColor.h (fill): remove LColor:: prefix from declaration.
1210
1211         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1212         use lyx::depth_type rather than Paragraph::depth_type so that
1213         header file and .C file match.
1214
1215         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1216
1217         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1218         * aspell.C: \file aspell_local.C -> \file aspell.C
1219         * gettext.C: \file gettext.C -> \file src/gettext.C
1220         * gettext.h: \file gettext.h -> \file src/gettext.h
1221         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1222         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1223         * text.C: \file text.C -> \file src/text.C
1224
1225         * toc.C: move comment so that doxygen is not confused.
1226
1227 2003-10-07  Angus Leeming  <leeming@lyx.org>
1228
1229         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1230
1231 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1232
1233         * aspell.C:
1234         * aspell_local.h: add forgotten std::string's.
1235
1236 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1237
1238         * LaTeXFeatures.C:
1239         * LyXAction.C:
1240         * factory.C:
1241         * lfuns.h:
1242         * lyxfunc.C:
1243         * text3.C: The Box patch. Fancybox support, minipage, parbox
1244
1245 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1246
1247         * CutAndPaste.h:
1248         * DepTable.h:
1249         * FloatList.h:
1250         * LaTeXFeatures.h:
1251         * ParagraphParameters.h:
1252         * TextCache.h:
1253         * Thesaurus.h:
1254         * bufferlist.h:
1255         * exporter.h:
1256         * importer.h:
1257         * lastfiles.h:
1258         * lyxfind.h:
1259         * lyxfont.h:
1260         * lyxlex.h:
1261         * lyxtextclasslist.h:
1262         * messages.h:
1263         * paragraph.h:
1264         * paragraph_pimpl.C:
1265         * textcursor.h: add <string> and other small fixes to make Lars'
1266         std::string patch compile with STLport.
1267
1268 2003-10-06  Angus Leeming  <leeming@lyx.org>
1269
1270         * LColor.h: Add missing #include <string>.
1271
1272 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1273
1274         * All most all file in all subdirs: Make <string> be the prefered
1275         way of getting to std::string, add using declarations.
1276
1277 2003-10-06  André Pönitz  <poenitz@gmx.net>
1278
1279         * metricsinfo.C: initialize LyXFont before changing attribute.
1280         (fixes the 'math in \emph is upright' bug)
1281
1282 2003-10-06  André Pönitz  <poenitz@gmx.net>
1283
1284         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1285
1286 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1287
1288         * graph.C:
1289         * paragraph_pimpl.C: Small fixes to build using STLport
1290
1291 2003-10-02  André Pönitz  <poenitz@gmx.net>
1292
1293         * lyxfunc.C:
1294         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1295
1296 2003-10-01  André Pönitz  <poenitz@gmx.net>
1297
1298         * factory.C: assert early
1299
1300 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1301
1302         * lyx_main.C: remove the global debug object
1303
1304         * debug.h: adjust for new debugstream
1305
1306         * debug.C: adjust for new debugstream and keep the global debug
1307         object here.
1308
1309 2003-09-22  Angus Leeming  <leeming@lyx.org>
1310
1311         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1312         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1313         an incomplete class LyXFont.
1314
1315 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1316
1317         * factory.C: bug fix in branches
1318
1319 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1320
1321         * lyxfunc.C (processKeySym): adjust
1322         (dispatch): adjust
1323         (dispatch): change arg name from ev to func, adjust
1324         (sendDispatchMessage): ditto
1325
1326         * lyx_main.C (defaultKeyBindings): adjust keybindings
1327         (deadKeyBindings): ditto
1328
1329         * kbsequence.C (addkey): return a FuncRequest
1330
1331         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1332
1333         * kbmap.C (bind): take a FuncRequest as arg, adjust
1334         (read): adjust
1335         (lookup): adjust
1336         (defkey): change to take a FuncRequest as arg, adjust
1337         (findbinding): take a FuncRequest as arg, adjust.
1338
1339         * funcrequest.h (operator=): added
1340
1341         * funcrequest.C (FuncRequest): default kb_action changed from
1342         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1343
1344         * buffer.C (dispatch): simplify
1345         (dispatch): adjust to take a FuncRequest as arg, adjust
1346
1347         * boost.C (assertion_failed): change assertion message slightly
1348
1349         * ToolbarBackend.C (read): simplify
1350
1351         * MenuBackend.C (binding): adjust call to findbinding, add a
1352         message if no binding is found.
1353         (read): simplify
1354         (expandToc): correct by adding a empty FuncRequest
1355
1356         * LyXAction.C: include <boost/assert.hpp>
1357         (isPseudoAction): delete function
1358         (LookupFunc): change name to...
1359         (lookupFunc): this. change return type to FuncRequest.
1360         (getActionName): take kb_action as arg, simplify
1361         (funcHasFlag): add an assert, simplify.
1362
1363 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1364
1365         * toc.C (action): return a FuncRequest, simplify
1366
1367         * lyxfunc.C (processKeySym): adjust
1368         (getStatus): delete version that takes an int.
1369         (getStatus): adjust
1370         (dispatch): delete version that takes action as int
1371         (dispatch): adjust
1372         (sendDispatchMessage): simplify and adjust
1373
1374         * funcrequest.C (getArg): take unsigned int as arg
1375
1376         * ToolbarBackend.C (read): adjust
1377         (add): delete version that takes func as a string.
1378         (getIton): take a FuncRequest as arg
1379
1380         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1381         action.
1382
1383         * MenuBackend.C (MenuItem): add a new construct that only takes a
1384         Kind, simplify the constructor use for submenus.
1385         (add): adjust
1386         (expandLastfiles): adjust
1387         (expandDocuments): adjust
1388         (expandFormats): adjust
1389         (expandFloatListInsert): adjust
1390         (expandFloatInsert): adjust
1391         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1392
1393         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1394         Remove class variables lyx_pseudo_map and lyx_arg_map
1395
1396         * LyXAction.C (searchActionArg): delete function
1397         (getPseudoAction): delete function
1398         (retrieveActionArg): delete function
1399         (LookupFunc): make it return kb_action, simplify.
1400         (getActionName): simplify
1401
1402         * factory.C (createInset): fix new bug
1403
1404 2003-09-19  Angus Leeming  <leeming@lyx.org>
1405
1406         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1407         masterFilename_ parameter in the include inset.
1408
1409         * factory.C (createInset): changes due to the changes to InsetInclude.
1410
1411 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1412
1413         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1414
1415 2003-09-18  Angus Leeming  <leeming@lyx.org>
1416
1417         * buffer.C:
1418         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1419         Inset::fillWithBibKeys.
1420         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1421
1422 2003-09-18  Angus Leeming  <leeming@lyx.org>
1423
1424         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1425         variables.
1426         (ctor): pass and store a 'Buffer const &'
1427         (buffer): new member function.
1428
1429         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1430         '*this' to the LaTeXFeatures ctor.
1431
1432 2003-09-18  Angus Leeming  <leeming@lyx.org>
1433
1434         * LColor.h:
1435         * lyxfont.C:
1436         * lyxfont.h:
1437         * lyxtext.h:
1438         * text.C: rename EnumLColor as LColor_color.
1439
1440 2003-09-18  Angus Leeming  <leeming@lyx.org>
1441
1442         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1443         remove #include "insets/insetbase.h" from cursor.h.
1444
1445 2003-09-18  Angus Leeming  <leeming@lyx.org>
1446
1447         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1448         InsetOld_code to remove #include "inset.h".
1449
1450         * iterators.C: add #include "insets/inset.h"
1451
1452 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1453
1454         * BufferView.C: remove more locking stuff that apparently doesn't
1455         do anything sensible.
1456
1457 2003-09-16  André Pönitz  <poenitz@gmx.net>
1458
1459         * paragraph.[Ch]:
1460         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1461           performance boost.
1462
1463 2003-09-16  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1466
1467         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1468         arg/return type.
1469
1470         * paragraph.h: remove #include "lyxfont.h". Forward declare
1471         LyXFont_size.
1472
1473 2003-09-16  Angus Leeming  <leeming@lyx.org>
1474
1475         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1476         of support/textutils.h.
1477         (isWord): move the contents of support/textutils.h's IsWordChar here.
1478
1479         * buffer.C:
1480         * lyxfind.C:
1481         * rowpainter.C:
1482         * text.C:
1483         * text2.C: add #include "paragraph.h".
1484
1485         * rowpainter.C:
1486         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1487
1488 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * main.C:
1491         * lyx_main.C:
1492         * lyx_cb.C:
1493         * buffer.C:
1494         * LaTeX.C: use namespace alias for lyx::support::os
1495
1496 2003-09-16  Angus Leeming  <leeming@lyx.org>
1497
1498         * bufferparams.C:
1499         * bufferview_funcs.C:
1500         * factory.C:
1501         * lyxfunc.C:
1502         * paragraph_pimpl.C:
1503         * rowpainter.C:
1504         * text.C: add #include "LColor.h".
1505
1506 2003-09-16  Angus Leeming  <leeming@lyx.org>
1507
1508         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1509         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1510         return LyXFont &.
1511         Store the FontBits::color variable as an int rather than as an
1512         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1513         file.
1514
1515         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1516         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1517         string calls together.
1518
1519         * lyxrc.C: add #include "LColor.h".
1520
1521 2003-09-15  Angus Leeming  <leeming@lyx.org>
1522
1523         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1524         a cow_ptr.
1525
1526 2003-09-15  Angus Leeming  <leeming@lyx.org>
1527
1528         * LColor.h: add an EnumLColor wrapper for LColor::color.
1529
1530         * lyxfont.[Ch] (color, setColor, realColor):
1531         * lyxtext.h, text.C (backgroundColor):
1532         pass EnumLColor args to/from the functions, rather than LColor::color
1533         ones.
1534
1535         * lyxfont.h:
1536         * lyxtext.h: forward declare EnumLColor.
1537
1538         * lyx_main.C: add #include "LColor.h".
1539
1540 2003-09-15  Angus Leeming  <leeming@lyx.org>
1541
1542         * .cvsignore: add lyx-gtk.
1543
1544 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1545
1546         * Chktex.C
1547         * LaTeX.C
1548         * LaTeXFeatures.C
1549         * ParagraphParameters.C
1550         * Spacing.C
1551         * buffer.C
1552         * bufferparams.C
1553         * bufferview_funcs.C
1554         * chset.C
1555         * counters.C
1556         * funcrequest.C
1557         * lyxfont.C
1558         * lyxgluelength.C
1559         * lyxlength.C
1560         * paragraph.C
1561         * paragraph_funcs.C
1562         * text3.C
1563         * vc-backend.C: remove usage of STRCONV
1564
1565 2003-09-15  Angus Leeming  <leeming@lyx.org>
1566
1567         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1568         explicitly define the color passed to the painter.
1569
1570 2003-09-15  Angus Leeming  <leeming@lyx.org>
1571
1572         * bufferparams.C (BufferParams): reorder member initializers to avoid
1573         compiler warning.
1574
1575 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1576
1577         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1578         * text.C (updateRowPositions): remove an unusual nop
1579
1580 2003-09-12  André Pönitz  <poenitz@gmx.net>
1581
1582         * BufferView_pimpl.C:
1583         * Bullet.C:
1584         * layout.h:
1585         * lyxfunc.C:
1586         * lyxlayout.[Ch]:
1587         * lyxtextclass.C:
1588         * rowpainter.C:
1589         * text.C:
1590         * text2.C:
1591         * Counters.[Ch]: finish the 'automatic counters' job
1592
1593 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1594
1595         * aspell.C: include <boost/assert.cpp> (compile fix)
1596
1597 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1598
1599         * boost.C (assertion_failed): use lyx::support::abort instead of
1600         assert.
1601
1602 2003-09-10  Angus Leeming  <leeming@lyx.org>
1603
1604         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1605         with their _fwd progeny.
1606
1607 2003-09-09  Angus Leeming  <leeming@lyx.org>
1608
1609         134 files throughtout the source tree: replace 'using namespace abc;'
1610         directives with the appropriate 'using abc::xyz;' declarations.
1611
1612 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1613
1614         * boost.C (emergencyCleanup): moved here from LAssert.c
1615         (assertion_failed): new function, called by BOOST_ASSERT
1616
1617         * several files: change Assert to BOOST_ASSERT
1618
1619 2003-09-09  Angus Leeming  <leeming@lyx.org>
1620
1621         * buffer.[Ch]: Add an Impl class and move Buffer's member
1622         variables into it. As a result move several header files out of
1623         buffer.h.
1624
1625         Add header files to lots of .C files all over the tree as a result.
1626
1627 2003-09-09  Angus Leeming  <leeming@lyx.org>
1628
1629         * buffer.[Ch]: make Buffer's member variables private. Add
1630         accessor functions.
1631
1632         Lots of changes all over the tree as a result.
1633
1634 2003-09-08  Angus Leeming  <leeming@lyx.org>
1635
1636         * graph.C: #include <config.h>.
1637
1638 2003-09-08  Angus Leeming  <leeming@lyx.org>
1639
1640         * BranchList.C:
1641         * BufferView.C:
1642         * BufferView_pimpl.C:
1643         * CutAndPaste.C:
1644         * DepTable.C:
1645         * LaTeX.C:
1646         * LaTeXFeatures.C:
1647         * LyXAction.C:
1648         * MenuBackend.C:
1649         * TextCache.C:
1650         * aspell.C:
1651         * buffer.C:
1652         * bufferlist.C:
1653         * changes.C:
1654         * chset.C:
1655         * converter.C:
1656         * counters.C:
1657         * debug.C:
1658         * graph.C:
1659         * ispell.C:
1660         * lyx_cb.C:
1661         * lyxfind.C:
1662         * lyxfunc.C:
1663         * lyxlex_pimpl.C:
1664         * lyxrc.C:
1665         * lyxrow.C:
1666         * paragraph.C:
1667         * rowpainter.C:
1668         * texrow.C:
1669         * text.C:
1670         * text2.C:
1671         * toc.C: remove redundant using directives.
1672
1673 2003-09-07  Angus Leeming  <leeming@lyx.org>
1674
1675         * LaTeXFeatures.h: remove #include "support/types.h".
1676         * ToolbarBackend.h: remove #include <algorithm>.
1677         * changes.h: remove #include <ctime>.
1678         * debug.h: remove #include <iosfwd>.
1679         * graph.h: remove #include "support/std_string.h".
1680         * lyx_main.h: remove #include <csignal>.
1681         * lyxlex_pimpl.h: remove #include <fstream>.
1682         * sgml.h: remove #include <algorithm>, <utility>.
1683         * toc.h: remove #include "support/std_ostream.h".
1684         Add #include <iosfwd>.
1685
1686 2003-09-07  Angus Leeming  <leeming@lyx.org>
1687
1688         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1689
1690         * converter.h: forward declare LatexRunParams.
1691         * encoding.h: remove #include "lyxrc.h".
1692         * lyxtext.h: remove #include "LColor.h".
1693         * lyxtextclass.h: remove #include "support/types.h".
1694         * trans.h: remove #include "tex-accent.h".
1695         * trans_mgr.h: remove #include "tex-accent.h".
1696         * insets/inset.h: remove #include "support/types.h", <vector>.
1697         * insets/insetcollapsable.h: remove #include "LColor.h".
1698         * insets/insetinclude.h: remove #include "dimension.h".
1699         * insets/insetlatexaccent.h: remove #include "dimension.h".
1700         * insets/insetoptarg.h:: remove #include "insettext.h".
1701         * insets/insettext.h: remove #include "dimension.h",
1702         <boost/shared_ptr.hpp>
1703
1704         * insets/renderers.h: add #include "dimension.h".
1705         * insets/updatableinset.h: add #include "support/types.h".
1706
1707         * many .C files: Associated changes.
1708
1709 2003-09-06  Angus Leeming  <leeming@lyx.org>
1710
1711         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1712         one, inside testInvariant.
1713
1714         * PrinterParams.C: new file.
1715         * PrinterParams.[Ch]: move the function bodies out of line.
1716
1717 2003-09-06  Angus Leeming  <leeming@lyx.org>
1718
1719         * ParagraphParameters.h: forward declare ParameterStruct rather than
1720         including its header file.
1721         (depth): moved out-of-line.
1722
1723 2003-09-06  Angus Leeming  <leeming@lyx.org>
1724
1725         * BufferView_pimpl.h:
1726         * kbmap.h:
1727         * kbsequence.h:
1728         * lyxfunc.h: forward declare LyXKeySym rather than
1729         #include "frontends/LyXKeySym.h".
1730
1731         * BufferView_pimpl.C:
1732         * kbmap.C:
1733         * kbsequence.C:
1734         * lyxfunc.C: associated changes.
1735
1736 2003-09-06  Angus Leeming  <leeming@lyx.org>
1737
1738         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1739         As a result, can remove the #include "insets/inset.h" from BufferView.h
1740
1741 2003-09-06  Angus Leeming  <leeming@lyx.org>
1742
1743         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1744         As a result, can remove the #include "insets/inset.h" from BufferView.h
1745
1746 2003-09-06  Angus Leeming  <leeming@lyx.org>
1747
1748         * buffer_funcs.C:
1749         * buffer.h:
1750         * bufferlist.C:
1751         * BufferView.C:
1752         * bufferview_funcs.C:
1753         * BufferView_pimpl.C:
1754         * CutAndPaste.C:
1755         * lyx_cb.C:
1756         * lyxfunc.C:
1757         * paragraph.h:
1758         * ParagraphParameters.C:
1759         * tabular.C:
1760         * text3.C:
1761         * toc.C:
1762         * undo_funcs.C:
1763         * frontends/controllers/ControlDocument.C:
1764         * insets/insetcaption.C: rearrange the #includes into some sort of
1765         coherent order.
1766
1767         * buffer.h: remove #includes ErrorList.h, undo.h
1768
1769 2003-09-06  Angus Leeming  <leeming@lyx.org>
1770
1771         * support/types.h: add a 'depth_type' typedef, used to store the
1772         nesting depth of a paragraph.
1773
1774         * paragraph.h:
1775         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1776         defining explicitly.
1777
1778         * buffer.h:
1779         * paragraph_funcs.h:
1780         * ParagraphParameters.h:
1781         * sgml.h: use lyx::depth_type rather than Paragraph or
1782         ParameterStruct's depth_type.
1783
1784         * buffer.h
1785         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1786
1787         * BufferView.C:
1788         * BufferView_pimpl.C:
1789         * CutAndPaste.C:
1790         * ParagraphParameters.C:
1791         * buffer_funcs.C:
1792         * bufferlist.C:
1793         * bufferview_funcs.C:
1794         * lyx_cb.C:
1795         * lyxfunc.C:
1796         * tabular.C:
1797         * text3.C:
1798         * toc.C:
1799         * undo_funcs.C:
1800         * frontends/LyXView.C:
1801         * frontends/controllers/ControlDocument.C:
1802         * frontends/controllers/ControlErrorList.C:
1803         * insets/insetbibitem.C:
1804         * insets/insetbranch.C:
1805         * insets/insetcaption.C:
1806         * insets/insetcollapsable.C:
1807         * insets/insetenv.C:
1808         * insets/insetert.C:
1809         * insets/insetfloat.C:
1810         * insets/insetfoot.C:
1811         * insets/insetfootlike.C:
1812         * insets/insetnewline.C:
1813         * insets/insetquotes.C:
1814         * insets/insettabular.C:
1815         * insets/insettext.C:
1816         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1817
1818         * frontends/controllers/ControlChanges.C: #include "changes.h".
1819
1820 2003-09-06  Angus Leeming  <leeming@lyx.org>
1821
1822         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1823         than #including paragraph.h.
1824
1825         * ParagraphList.h:
1826         * RowList.h: deleted. Superfluous.
1827
1828         * CutAndPaste.h:
1829         * iterators.h:
1830         * lyxcursor.h:
1831         * lyxtext.h:
1832         * text_funcs.h:
1833         * undo.h:
1834         * undo_funcs.h:
1835         * insets/inset.h:
1836         * insets/insettext.h: use ParagraphList_fwd.h rather than
1837         ParagraphList.h.
1838
1839         * paragraph.h: don't forward declare ParagraphList.
1840
1841         * buffer.h:
1842         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1843         rather than ParagraphList.h. paragraph.h is still needed for the
1844         Paragraph::depth_type parameters.
1845
1846         * textcursor.h: enable it to compile stand-alone in light of the
1847         above changes.
1848
1849         * bufferview_funcs.C:
1850         * iterators.C:
1851         * lyxfunc.C:
1852         * lyxrow_funcs.C:
1853         * paragraph.C:
1854         * rowpainter.C:
1855         * text.C:
1856         * text2.C:
1857         * text3.C:
1858         * text_funcs.C:
1859         * textcursor.C:
1860         * undo.C:
1861         * frontends/controllers/ControlParagraph.C:
1862         * frontends/controllers/ControlTabular.C:
1863         * insets/insetmarginal.C:
1864         * insets/insetminipage.C:
1865         * insets/insetnote.C:
1866         * insets/insetoptarg.C: add header files needed to compile again.
1867
1868 2003-09-06  Angus Leeming  <leeming@lyx.org>
1869
1870         * RowList_fwd.h: new file, forward-declaring Row rather than
1871         #including lyxrow.h.
1872
1873         * lyxrow_funcs.h:
1874         * lyxtext.h:
1875         * paragraph.h:
1876         * insets/insettext.h: use it instead of RowList.h
1877
1878         * bufferview_funcs.C:
1879         * lyxfunc.C:
1880         * lyxrow_funcs.C:
1881         * paragraph.C:
1882         * rowpainter.C:
1883         * text.C:
1884         * text2.C:
1885         * text3.C: #include "RowList.h".
1886
1887 2003-09-05  Angus Leeming  <leeming@lyx.org>
1888
1889         * factory.C (createInset):
1890         * vspace.C (c-tor): replace sscanf call with an istringstream.
1891         * ispell.C: re-add missing HP/UX headers.
1892         * lyxserver.C: re-add missing  os2 headers.
1893
1894 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * BranchList.C:
1897         * graph.C:
1898         * ispell.C:
1899         * lastfiles.C:
1900         * lyx_cb.C:
1901         * lyxserver.C:
1902         * texrow.C:
1903         * text3.C: re-add missing system headers, needed for 2.95.2.
1904
1905 2003-09-05  Angus Leeming  <leeming@lyx.org>
1906
1907         Changes most place everywhere due to the removal of using directives
1908         from support/std_sstream.h.
1909
1910 2003-09-05  Angus Leeming  <leeming@lyx.org>
1911
1912         Replace LString.h with support/std_string.h,
1913         Lsstream.h with support/std_sstream.h,
1914         support/LIstream.h with support/std_istream.h,
1915         support/LOstream.h with support/std_ostream.h.
1916
1917         Changes resulting throughout the tree.
1918
1919 2003-09-05  Angus Leeming  <leeming@lyx.org>
1920
1921         * sgml.h: ensure that the header file can be compiled stand-alone.
1922         * *.C: strip out redundant #includes. (320 in total.)
1923
1924 2003-09-04  Angus Leeming  <leeming@lyx.org>
1925
1926         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1927         here (from getPackages).
1928
1929         * debug.[Ch]: add a new EXTERNAL tag.
1930
1931 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1932
1933         * text2.C (cursorEnd): simplify
1934         (setCursor): adjust
1935         (getColumnNearX): adjust
1936
1937         * text.C (computeBidiTables): adjust
1938         (fill): adjust
1939
1940         * rowpainter.C (paintChars): adjust
1941         (paintSelection): adjust
1942         (paintChangeBar): adjust
1943         (paintText): adjust
1944
1945         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1946         lastPos instead.
1947         (numberOfSeparators): adjust
1948
1949 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1950
1951         * LyXAction.C:
1952         * box.[Ch]:
1953         * lfuns.h:
1954         * lyxfunc.C:
1955         * text3.C: Restricts the mouse click functionality
1956         of insets like bibtex, include, toc and floatlist to the visible
1957         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1958         up the dialogs. Cursor has to be in front of the inset (i.e.
1959         start of row) for this to function.
1960
1961 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1962
1963         * bufferview_funcs.C (currentState): output row information
1964
1965 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1966
1967         * bufferview_funcs.C (currentState): output paragraph position
1968
1969 2003-09-04  Angus Leeming  <leeming@lyx.org>
1970
1971         * FloatList.h: move out #include "Floating.h".
1972         * LaTeX.h: move out #include "DepTable.h".
1973         * LyXAction.h: move out #include "funcrequest.h".
1974         * buffer.h: move out #include "author.h", "iterators.h".
1975         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1976         * lyx_main.h: move out #include "errorlist.h".
1977         * lyxfunc.h: move out #include "FuncStatus.h".
1978         * lyxtext: move out #include "lyxcursor.h".
1979         * paragraph_pimpl.h: move out #include "counters.h".
1980
1981 2003-09-03  Angus Leeming  <leeming@lyx.org>
1982
1983         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1984         preamble_snippets list, enabling us to add snippets to the preamble
1985         only if the snippet was not there already.
1986
1987 2003-09-04  Angus Leeming  <leeming@lyx.org>
1988
1989         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1990
1991 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1994         update
1995
1996 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1997
1998         * BranchList.C: point fix, earlier forgotten
1999
2000 2003-09-02  Angus Leeming  <leeming@lyx.org>
2001
2002         * box.C (contains): renamed from 'contained' after a fantastic
2003         amount of hot air.
2004
2005 2003-09-02  John Levon  <levon@movementarian.org>
2006
2007         * BufferView.C:
2008         * lyxcursor.h:
2009         * lyxcursor.C:
2010         * lyxfunc.C:
2011         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2012
2013 2003-09-02  John Levon  <levon@movementarian.org>
2014
2015         * text2.C: simplification of cursorEnd(), including partial
2016         fix for bug 1376
2017
2018 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2019
2020         * buffer.C (readFile): add a space
2021
2022 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2023
2024         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2025
2026 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * buffer.C (readFile): new function, take a filename and a
2029         ParagraphList::iterator
2030         (readFile): adjust
2031         (readFile): adjust, make it private. don't use setStream, make
2032         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2033         always contain the filename.
2034
2035         * BufferView.C (insertLyXFile): simplify and make it work for
2036         gzipped files.
2037
2038 2003-08-30  John Levon  <levon@movementarian.org>
2039
2040         * Makefile.am: fix dist (from Kayvan)
2041
2042 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2043
2044         * most files: change to use const Buffer refs
2045
2046 2003-08-27  André Pönitz  <poenitz@gmx.net>
2047
2048         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2049         on top of ownerPar().
2050
2051 2003-08-27  John Levon  <levon@movementarian.org>
2052
2053         * funcrequest.C: properly initialise POD members
2054
2055 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * lyxtext.h (top_y): move top_y from here
2058         * text.C:
2059         * text2.C:
2060         * text3.C:
2061         * BufferView.[Ch]:
2062         * BufferView_pimpl.[Ch]: to here
2063         * frontends/screen.C:
2064         * insets/insettabular.C:
2065         * insets/insettext.C: adjust
2066         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2067
2068 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2069
2070         * BufferView.[Ch]:
2071         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2072
2073 2003-08-26  André Pönitz  <poenitz@gmx.net>
2074
2075         * paragraph_func.[Ch] (outerPar): new function
2076
2077         * paragraph.C:
2078         * paragraph_funcs.C:
2079         * paragraph_funcs.h:
2080         * paragraph_pimpl.C:
2081         * text2.C: remove Inset::par_owner
2082
2083 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2084
2085         * lyxrow_funcs.C:
2086         * lyxtext.h:
2087         * text.C:
2088         * text2.C: eliminates the needFullRow/display() stuff
2089         altogether, putting the logic in metrics/draw in the insets.
2090
2091 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2092
2093         * text2.C (redoParagraphInternal, redoParagraphs):
2094         * text.C (redoParagraph): add a call to updateRowPositions at the
2095         end of each 'metrics-like' call. Remove all others.
2096         (getRow): remove the 'y-computing' version.
2097         (getRowNearY): do not compute nor return the real y. Solve the
2098         'y < 0' problem and simplify.
2099
2100 2003-08-22  Angus Leeming  <leeming@lyx.org>
2101
2102         * *.[Ch]: clean-up of licence and author blurbs.
2103         Also move config.h out of a few .h files and into a few .C files.
2104
2105 2003-08-22  André Pönitz  <poenitz@gmx.net>
2106
2107         * lyxrow.[Ch]: add x_ and *fill_ members
2108
2109         * lyxtext.h:
2110         * text.C:
2111         * rowpainter.C:
2112         * text2.C: adjust/remove prepareToPrint() calls
2113
2114 2003-08-22  André Pönitz  <poenitz@gmx.net>
2115
2116         * lyxrow.[Ch]: add  end_ member
2117
2118         * lyxrow_funcs.C: use LyXRow::end_
2119
2120         * lyxtext.h (singleWidth): add LyXFont parameter
2121
2122         * rowpainter.C:
2123         * text2.C: adjust LyXText::singleWidth() calls
2124
2125         * text.C (redoParagraph): simplify row breaking logic
2126
2127
2128 2003-08-19  André Pönitz  <poenitz@gmx.net>
2129
2130         * funcrequest.C: initialize button_ member
2131
2132         * text3.C:
2133         * rowpainter.[Ch]: interface consolidation
2134
2135 2003-08-18  André Pönitz  <poenitz@gmx.net>
2136
2137         * BufferView.C:
2138         * BufferView_pimpl.C:
2139         * lyxfind.C:
2140         * paragraph_funcs.C:
2141         * rowpainter.C:
2142         * text3.C: remove LyXScreen::draw() and fitCursor calls
2143
2144         * BranchList.h: remove spurious semicolons
2145
2146         * MenuBackend.C: fix branchlist related crash
2147
2148 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2149
2150         * BranchList.[Ch]:
2151         * InsetList.[Ch]:
2152         * LColor.[Ch]:
2153         * LyXAction.C:
2154         * Makefile.am:
2155         * MenuBackend.[Ch]:
2156         * bufferparams.[Ch]:
2157         * factory.C:
2158         * lfuns.h:
2159         * lyxfunc.C:
2160         * text3.C: implements the 'branch inset'
2161         idea. This allows the output of various versions of a document
2162         from a single source version, selectively outputing or suppressing
2163         output of parts of the text.
2164         This implementation contains a 'branch list editor' in a separate
2165         tab of the document settings dialog. Branches are user definable
2166         and have a "display colour" to distinguish them on-screen.
2167
2168         ColorHandler was somewhat cleaned up.
2169         (1) make possible a dynamically growing LColor list by allowing
2170         the graphic context cache to grow along (vector);
2171         (2) eliminate an IMHO unnecessary step in colour allocation.
2172
2173 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2174
2175         * BufferView_pimpl.C: compile fix
2176
2177 2003-08-15  André Pönitz  <poenitz@gmx.net>
2178
2179         * rowpainter.C: remove extra metrics calls
2180
2181         * lyxtext.h: merge the two constructors into a single one,
2182           pass reference to owner's par list
2183
2184         * BufferView_pimpl.C:
2185         * text.C:
2186         * text2.C: adjust
2187
2188 2003-08-15  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxrow_funcs.[Ch]:
2191         * lyxtext.h:
2192         * paragraph.h:
2193         * paragraph_funcs.C:
2194         * rowpainter.C:
2195         * text.C:
2196         * text2.C:
2197         * text3.C:
2198         * text_funcs.C: split LyXText::rowlist_ into individual
2199         Paragraph::rows_ chunks
2200
2201         * BufferView.[Ch]:
2202         * BufferView_pimpl.[Ch]:
2203         * lyxfind.C:
2204         * lyxtext.h:
2205         * text3.C: remove toggleSelection()
2206
2207 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2208
2209         * bufferlist.C: beautify two alerts (shorter text of buttons)
2210         * buffer.C: Remove redundant ' ' from message
2211         * tabular.h:
2212         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2213         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2214         rename VALIGN_CENTER to VALIGN_MIDDLE
2215
2216 2003-08-11  André Pönitz  <poenitz@gmx.net>
2217
2218         * lyxtext.h (getPar):
2219         * text.C: new function
2220
2221 2003-08-11  André Pönitz  <poenitz@gmx.net>
2222
2223         * Makefile.am:
2224         * tracer.[Ch]: remove unneeded files
2225
2226         * InsetList.[Ch]: remove resizeInsetsLyXText()
2227
2228         * lyxtext.h:
2229         * text.C:
2230         * text2.C:
2231         * text3.C: merge insertParagraphs() and appendParagraph()
2232         remove breakAgain(), update()
2233
2234         * BufferView_pimpl.[Ch]:
2235         * bufferview_funcs.[Ch]:
2236         * lyxfunc.C:
2237         * paragraph.[Ch]:
2238         * rowpainter.C:
2239         * tabular.C: adjust after text & InsetList changes.
2240
2241 2003-08-08  André Pönitz  <poenitz@gmx.net>
2242
2243         * text.C (insertChar, backspace): replace rowlist fiddling
2244         with rebreak of full par
2245
2246         * lyxtext.h:
2247         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2248         checkParagraph, updateInset): removed
2249
2250 2003-08-07  André Pönitz  <poenitz@gmx.net>
2251
2252         * paragraph.C:
2253         * text3.C: merge some LFUN handlers, remove dead code
2254
2255 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2256
2257         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2258
2259 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2260
2261         * text2.C (DEPM): fix part of bug 1255 and 1256
2262
2263 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * BufferView_pimpl.C (workAreaDispatch): change to use
2266         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2267         that are no mouse related.
2268
2269 2003-08-05  André Pönitz  <poenitz@gmx.net>
2270
2271         * BufferView.[Ch]:
2272         * BufferView_pimpl.[Ch]:
2273         * bufferview_funcs.C:
2274         * text2.C:
2275         * text3.C: rip out "deep update"
2276
2277         * textcursor.[Ch] (last_sel_cursor): remove unused member
2278
2279 2003-08-04  André Pönitz  <poenitz@gmx.net>
2280
2281         * BufferView.[Ch]:
2282         * BufferView_pimpl.[Ch]:
2283         * ParagraphParameters.C:
2284         * bufferview_funcs.C:
2285         * lyx_cb.C:
2286         * lyxfind.C:
2287         * lyxfunc.C:
2288         * text.C:
2289         * text2.C:
2290         * text3.C: replace "complicated" BufferView::update(...) calls with
2291         simpler ones.
2292
2293         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2294
2295 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2296
2297         * Makefile.am (lyx_SOURCES): add paper.h
2298
2299 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2300
2301         * Makefile.am: move things around so that both lyx-qt and
2302         lyx-xforms can be built (according to --with-frontend). Then lyx
2303         is a symbolic link to lyx-[firstfrontend]
2304
2305 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2306
2307         * Always use std::endl with lyxerr
2308
2309 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2310
2311         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2312
2313 2003-08-01  André Pönitz  <poenitz@gmx.net>
2314
2315         * BufferView.[Ch]:
2316         * BufferView_pimpl.[Ch]:
2317         * lyxfunc.C:
2318         * text3.C: merge BufferView::repaint() and BufferView::update()
2319
2320 2003-08-01  José Matos  <jamatos@lyx.org>
2321
2322         * buffer.[Ch]: file_format is no longer a buffer data element.
2323
2324 2003-08-01  André Pönitz  <poenitz@gmx.net>
2325
2326         * BufferView.C:
2327         * lyxtext.h:
2328         * text.C:
2329         * text2.C: make redoParagraph more independent of current cursor
2330
2331         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2332         * text.C:
2333         * text2.C: remove unneeded members
2334
2335 2003-07-30  André Pönitz  <poenitz@gmx.net>
2336
2337         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2338
2339         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2340           create a single function...
2341
2342         * paragraph_funcs.C (moveItem): ... here.
2343
2344         * text.C:
2345           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2346
2347 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2348
2349         * LColor.[Ch]: Add comment and greyedout logical colors.
2350
2351 2003-07-30  André Pönitz  <poenitz@gmx.net>
2352
2353         * tabular.C: don't use Assert too heavily. This crashes where it
2354           shouldn't
2355
2356 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2357
2358         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2359         is disabled (bug 1232)
2360
2361 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2362
2363         * factory.C: limited 'arg' scope
2364
2365 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2366
2367         * factory.C: fixed Note submenu issues
2368
2369 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2370
2371         * factory.C: submenu for Note/Comment/Greyedout
2372
2373 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2374
2375         * lyx_main.C (LyX):
2376         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2377
2378 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2379
2380         * LaTeXFeatures.C:
2381         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2382         greyedout. Patch provided by Jürgen Spitzmüller.
2383
2384 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * kbmap.C (read): fix error message when reading bind files
2387
2388 2003-07-29  Angus Leeming  <leeming@lyx.org>
2389
2390         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2391         certainly does not do what it purports to do. I am doing it, and
2392         us, a favour by killing it.
2393
2394 2003-07-28  José Matos  <jamatos@lyx.org>
2395
2396         * buffer.C (readBody, do_writeFile):
2397         * paragraph.C(readParagraph): \end_document replaces \the_end.
2398
2399 2003-07-29  André Pönitz  <poenitz@gmx.net>
2400
2401         * BufferView.[Ch]:
2402         * BufferView_pimpl.[Ch]:
2403         * lyxfunc.C:
2404         * text2.C:
2405         * text3.C:
2406         * textcursor.[Ch]: remove toggleToggle & Co
2407
2408 2003-07-28  José Matos  <jamatos@fep.up.pt>
2409
2410         * buffer.C (readParagraph):
2411         * params_func (readParToken, readParagraph):
2412         * paragraph.C (write): \layout -> \begin_layout.
2413
2414 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * lyxlex_pimpl.C (setFile): clean up slightly.
2417
2418         * bufferparams.h: add compressed var
2419
2420         * buffer_funcs.C (readFile): adjust for LyXLex change
2421         (newFile): ditto + simplify
2422
2423         * buffer.C (writeFile): handle writing of compressed files
2424
2425         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2426         Check if the file is compressed and set a bufferparm if so.
2427
2428         * Makefile.am (lyx_LDADD): remove explicit -lz
2429
2430 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2433         makeDocBookFile): put the real LyX version in the first line of
2434         the file
2435
2436         * version.h:
2437         * version.C.in: remove lyx_docversion
2438
2439         * tabular.C (write_attribute): add a template-based version to
2440         write enums properly
2441
2442 2003-07-28  André Pönitz  <poenitz@gmx.net>
2443
2444         * lyxtext.h:
2445         * text.C:
2446         * text2.C:
2447         * text3.C: use doubles again for x-coordinates. They are needed.
2448
2449 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * messages.C (getLocaleDir): use lyx_localedir()
2452
2453         * lyxlex_pimpl.C (setFile): compress stuff
2454
2455         * buffer.C (writeFile): add some compression stuff
2456         (do_writeFile): new func, dont call expliti close... will this
2457         breake anything?
2458
2459         * Makefile.am (lyx_LDADD): add -lz
2460
2461 2003-07-28  José Matos  <jamatos@fep.up.pt>
2462
2463         * buffer.C: increment file format.
2464         * paragraph_funcs (readParagraph, readParToken):
2465         * paragraph.C (readParagraph): add \end_layout.
2466
2467 2003-07-27  Angus Leeming  <leeming@lyx.org>
2468
2469         * Makefile.am: remove special casing for configure-time setting of
2470         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2471
2472         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2473         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2474
2475 2003-07-26  André Pönitz  <poenitz@gmx.net>
2476
2477         * paragraph_func.[Ch]:
2478         * paragraph.C (realizeFont): inline it whereever it is used
2479
2480         * rowpainter.C:
2481         * text.C:
2482         * text2.C:
2483         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2484
2485
2486 2003-07-26  André Pönitz  <poenitz@gmx.net>
2487
2488         *       lyxtext.h:
2489         * text.C:
2490         * text2.C: get rid of LyXText::need_break_row
2491
2492 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * toc.[Ch]: put namespace toc inside namespace lyx
2495
2496         * MenuBackend.C (expandToc2): adjust for lyx::toc
2497         (expandToc): ditto
2498
2499         * lyxfunc.C (dispatch): adjust for lyx::find
2500
2501         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2502         lyx::find instead. Reorganize a bit.
2503         (LyXReplace): rename to replace
2504         (LyXFind): rename to find
2505
2506         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2507         (dispatch): ditto
2508
2509 2003-07-26  André Pönitz  <poenitz@gmx.net>
2510
2511         * text.C (setHeightOfRow): restrict scope of temporary variable
2512
2513         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2514           code (never has been used?)
2515
2516 2003-07-27  Asger Alstrup  <alstrup@local>
2517
2518         * text.C (fill): Optimise algorithm to exploit that we can reuse
2519         the LyXFont for many characters.
2520         (setHeightOfRow): Same thing.
2521         (rowBreakPoint): Same thing.
2522
2523 2003-07-26  Asger Alstrup  <alstrup@local>
2524
2525         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2526
2527         * text.C (singleWidth): Spurious font copying in hot-spot
2528         singleWidth avoided. Reorder tests for arabic for efficiency.
2529
2530         * text.C (fill): handle empty paragraphs better.
2531
2532 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * ispell.C:
2535         * encoding.h: add includes
2536
2537         * lyxrc.C: remove reading of bind files
2538
2539         * lyx_main.C (init): setup bindings and menus only if we have a
2540         gui.
2541
2542         * kbmap.C (read): new method. Do the actual reading of bind
2543         files.
2544
2545         * converter.C (dvipdfm_options):
2546         * bufferparams.C:
2547         * lyxrc.C (read):
2548         (output): adapt PAPER_* enums.
2549
2550         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2551
2552         * bufferparams.h: remove paper-related enums from there
2553
2554         * paper.h: New file. A trivial header file to hold paper-related
2555         enums. It should later expand to contain many paper-related
2556         horrors access.
2557
2558         * lyxrc.C: declare extern displayTranslator
2559
2560 2003-07-27  José Matos  <jamatos@fep.up.pt>
2561
2562         * tabular.[Ch] (linuxdoc): add support for tables and figures
2563         (linuxdoc).
2564
2565 2003-07-27  José Matos  <jamatos@fep.up.pt>
2566
2567         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2568         consistency in both functions.
2569         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2570
2571 2003-07-26  Asger Alstrup  <alstrup@local>
2572
2573         * rowpainter.C (paintRows): Change algorithm to work directly on
2574         the insets rather than asking every character in the document
2575         whether its an inset.
2576
2577 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * buffer.C (openFileWrite): factorize some code
2580
2581 2003-07-26  Angus Leeming  <leeming@lyx.org>
2582
2583         * lyx_cb.C:
2584         * lyx_main.[Ch]: replace occurances of system_tempdir with
2585         os::getTmpDir().
2586
2587 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * rename Inset to InsetOld
2590
2591 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2592
2593         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2594         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2595         which I think is a bit clearer. EDIT is gone, since it was
2596         premature optimisation, and broken for mathed anyway.
2597         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2598         with cursor positioning in insets as well (math insets still do not
2599         work, but that's a different story anyway.) It mysteriously
2600         crashes sometimes with undo in the first paragraph, but I'm fairly
2601         confident that this is a compiler bug.
2602
2603 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * paragraph.C (Paragraph): adjust for new clone return type
2606         (operator==): ditto
2607         (copyIntoMinibuffer): ditto
2608
2609 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2610
2611         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2612         by not having a special case, and always doing a full rebreak of
2613         the document after undo.
2614
2615 2003-07-23  Angus Leeming  <leeming@lyx.org>
2616
2617         * factory.C (createInset): InsetExternal::setParams now takes a
2618         Buffer const * arg.
2619
2620 2003-07-23  Angus Leeming  <leeming@lyx.org>
2621
2622         * factory.C (createInset): changed interface to the external and
2623         graphics mailers' string2params functions.
2624
2625 2003-07-23  Angus Leeming  <leeming@lyx.org>
2626
2627         * factory.C (createInset): pass a
2628         Buffer const * parameter to InsetExternalMailer's string2params.
2629
2630 2003-07-22  John Levon  <levon@movementarian.org>
2631
2632         * Thesaurus.h: include the right aiksaurus header
2633
2634 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2635
2636         * MenuBackend.C (expand): check menu shortcuts unconditionally
2637
2638 2003-07-21  Angus Leeming  <leeming@lyx.org>
2639
2640         * factory.C (createInset): pass a
2641         buffer_path parameter to InsetGraphicsMailer's string2params.
2642
2643 2003-07-21  Angus Leeming  <leeming@lyx.org>
2644
2645         * BufferView_pimpl.C (buffer):
2646         * buffer.C (d-tor):
2647         * lyx_main.C (LyX):
2648         * lyxfunc.C (dispatch):
2649         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2650         rather than the grfx shortcut.
2651
2652 2003-07-21  André Pönitz  <poenitz@gmx.net>
2653
2654         * rowpainter.C: remove unused variables
2655
2656         * tabular_funcs.C:
2657         * tabular_funcs.h: move to tabular.C
2658         * Makefile.am: adjust
2659
2660         * tabular.[Ch]: basic optical cleaning
2661
2662         * author.h: pass references, not values
2663
2664 2003-07-18  André Pönitz  <poenitz@gmx.net>
2665
2666         * lyxtext.h:
2667         * metricsinfo.C:
2668         * metricsinfo.h:
2669         * rowpainter.C:
2670         * text.C:
2671         * text2.C:
2672         * text3.C: two-phase drawing for InsetText and InsetTabular
2673         some float -> int changes.
2674
2675 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * lyx_main.C: fix the fix
2678
2679 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * lyx_main.C: fix a crash in batch mode if no files specified
2682         * converter.C: ws
2683
2684 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * format.[Ch] (papersize): moved to BufferParams
2687         * converter.[Ch] (dvips_options): moved to BufferParams
2688         (dvipdfm_options): moved to anon namespace
2689         * bufferparams.[Ch]: added above functions.
2690
2691 2003-07-17  André Pönitz  <poenitz@gmx.net>
2692
2693         * lyxtext.h:
2694         * rowpainter.C:
2695         * text2.C: don't call inset->update() anymore
2696
2697         * metricsinfo.[Ch]: add convenience constructor
2698
2699 2003-07-16  André Pönitz  <poenitz@gmx.net>
2700
2701         * lyxcursor.[Ch]:
2702         * lyxfunc.[Ch]:
2703         * text.C:
2704         * text2.C: replace the LyXCursor::irow_ member with
2705          on-demand computation of the value
2706
2707 2003-07-16  John Levon  <levon@movementarian.org>
2708
2709         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2710
2711 2003-07-15  André Pönitz  <poenitz@gmx.net>
2712
2713         * text.C:
2714         * text2.C: remove no more needed refresh_row
2715
2716 2003-07-15  André Pönitz  <poenitz@gmx.net>
2717
2718         * lyxtext.h:
2719         * rowpainter.C:
2720         * text2.C:
2721         * text3.C: refresh_status tristate -> need_update bool
2722
2723 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2724
2725         * lyxtext.h (init): remove reinit argument (act as if always true)
2726         * text2.C: adjust to that
2727
2728 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2729
2730         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2731         * text3.C: use it to delete selections in some cases
2732         (bugs 441, 673, 702, 954).
2733
2734 2003-07-14  André Pönitz  <poenitz@gmx.net>
2735
2736         * rowpainter.[Ch]: reduce interface
2737
2738 2003-07-14  André Pönitz  <poenitz@gmx.net>
2739
2740         * BufferView_pimpl.C:
2741         * text2.C: adjust after removing unused BufferView * argument
2742
2743 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2744
2745         * text2.C (init): fix a crash fired on resize
2746
2747 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2748
2749         * buffer.[Ch]: added new closing signal
2750         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2751         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2752         BufferView::Pimpl via the closing the signal
2753
2754 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2755
2756         * buffer.[Ch]: take out all bv-related from buffer
2757         * BufferView.C:
2758         * BufferView_pimpl.[Ch]: connect to new signals
2759         * CutAndPaste.C: removed useless asserts
2760         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2761         * lyxvc.[Ch]:
2762         * vc-backend.[Ch]:
2763         * lyxfunc.C: moved view-related funciontality from vc here
2764         * paragraph.C: removed outdated comments
2765         * text.C: ws
2766
2767 2003-07-10  André Pönitz  <poenitz@gmx.net>
2768
2769         * BufferView_pimpl.C:
2770         * tabular.h:
2771         * tabular_funcs.C:
2772         * text.C:
2773         * text2.C: remove InsetText::InnerCache, clean up consequences
2774
2775 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2776
2777         * ispell.C: fix two typos in error messages
2778
2779 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2780
2781         * Extend Note inset to other forms of annotation like Comment
2782         and Greyedout. Right button click gives dialog.
2783
2784         Files modified or added (+):
2785
2786         * insetnote.[Ch]
2787         * FormNote.[Ch]      +
2788         * ControlNote.[Ch]   +
2789         * form_note.fd       +
2790         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2791         frontends/controllers
2792         * xforms/Dialogs.C
2793         * factory.C
2794
2795 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2796
2797         * aspell.C: add missing namespace lyx::support
2798
2799 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * BufferView.[Ch] (newFile): Add
2802         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2803         * LaTeX.[Ch] (message): added this signal and use it
2804         * buffer.[Ch] (busy, message): added these signals and use them
2805         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2806         * converter.C:
2807         * exporter.C:
2808         * format.C:
2809         * importer.C: use buffer signals instead of direct bv calling
2810         * lyx_cb.[Ch] (ShowMessage): removed
2811         * lyx_main.C:
2812         * lyxfunc.C:
2813         * paragraph_funcs.C:
2814         * text2.C: use buffer signals
2815
2816 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * introduce namespace lyx::graphics
2819
2820 2003-07-02  André Pönitz  <poenitz@gmx.net>
2821
2822         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2823
2824 2003-07-01  André Pönitz  <poenitz@gmx.net>
2825
2826         * text.C:
2827         * text2.C:
2828         * text3.C:
2829         * text_funcs.[Ch]:
2830         * textcursor.h:
2831         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2832           text*.C to text_func.C
2833
2834 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * introduce namespace lyx::support
2837
2838 2003-06-30  André Pönitz  <poenitz@gmx.net>
2839
2840         * Chktex.C:
2841         * funcrequest.C:
2842         * lyxtext.h:
2843         * text.C: re-enable --with-included-string
2844
2845 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * textcursor.C: add <config.h>
2848
2849         * text.C (getWord): remove const from word_location arg
2850
2851         * lyxvc.C (getLogFile): fix const type order
2852
2853         * lyxtext.h: remove const from word_location arg, add arg name
2854
2855         * lyxlayout.h: currect type on labeltype.
2856
2857         * importer.C: correct \file
2858
2859         * converter.C (intToFormat): use std:: on ret val, ws changes
2860
2861         * bufferlist.h: correct \file
2862
2863         * buffer.C (makeLinuxDocFile): fix const type order
2864         (makeDocBookFile): ditto
2865         (fillWithBibKeys): use std:: on stdlib args.
2866
2867         * CutAndPaste.C: fix authors.
2868         (availableSelections): use std:: on return vector
2869
2870 2003-06-27  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView_pimpl.C:
2873         * bufferview_funcs.C:
2874         * lyxcursor.C:
2875         * lyxcursor.h:
2876         * lyxfunc.C:
2877         * lyxtext.h:
2878         * rowpainter.C:
2879         * text.C:
2880         * text2.C:
2881         * text3.C: remove LyXCursor::row_ member
2882
2883         * lyxtext.h:
2884         * text.C: rename fullRebreak() to partialRebreak() and implement
2885           a fullRebreak() that really bereks fully
2886
2887         * textcursor.h: new struct for cursor-related data
2888
2889 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * lyx_main.C (LyX): get full path of document loaded on the
2892         command line
2893
2894 2003-06-26  André Pönitz  <poenitz@gmx.net>
2895
2896         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2897           remove unused/broken operator>,<,>=.
2898
2899         *       text.C: remove only use of broken operator<= in an Assert().
2900
2901 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2902
2903         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2904         moved errorlist_.clear to showErrorList
2905
2906 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2907
2908         * converter.C (scanLog, runLaTeX):
2909         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2910         move the bv->showErrorList call to the callers
2911         * lyxfunc.C: i.e. here...
2912         * text2.C: and here
2913         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2914         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2915         namespace, the second to...
2916         * buffer_funcs (BufferFormat, parseErrors): added
2917         * errorlist.C (ErrorList(TeXErrors const &)): removed
2918
2919 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2920
2921         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2922
2923 2003-06-24  "Garst R. Reese" <reese@isn.net>
2924
2925         * debug.C: fix typo
2926
2927 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2930
2931         * version.C.in: change docversion to 1.4
2932
2933 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2934
2935         * buffer.C: fix a bug just introduced
2936
2937 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * buffer.[Ch]: added the parseError signal and use it, removed
2940         sgmlError
2941         * BufferView.[Ch] (addError): moved to ...
2942         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2943         to the Buffer::parseError signal to catch (guess what) parse errors
2944         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2945
2946 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2947
2948         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2949         ability to create a buffer and to return an existing one from
2950         the list. Moved these functions to...
2951         * buffer_funcs.[Ch]: added
2952         * BufferView.[Ch] (loadLyXFile): added
2953         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2954         job removed from bufferlist::loadLyXFile.
2955         * buffer.C (setReadOnly): make it work without view
2956         (i.e added an if (users))
2957
2958 2003-06-19  Angus Leeming  <leeming@lyx.org>
2959
2960         * lfuns.h:
2961         * LyXAction.C (init):
2962         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2963         with LFUN_DIALOG_SHOW <name> <data>.
2964
2965 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2966
2967         * CutAndPaste.C (availableSelections): small compilation fix for
2968         ancient (gcc 2.9x) compilers
2969
2970 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * text3.C (cursorNext): add tmp var
2973
2974         * text2.C (updateCounters): for function calling out of for clause
2975         (replaceSelectionWithString): ditto
2976         (insertStringAsParagraphs): ditto
2977         (getColumnNearX): add tmp var
2978         (setCursorFromCoordinates): add tmp var
2979         (cursorDownParagraph): add tmp var
2980         (deleteEmptyParagraphMechanism): add tmp var
2981
2982         * text.C (insertChar): add tmp var
2983
2984         * rowpainter.C (paintDepthBar): add tmp var
2985
2986         * CutAndPaste.C (availableSelections): potentially check all
2987         paragraphs in a cut to fill the shown strings.
2988
2989 2003-06-18  André Pönitz  <poenitz@gmx.net>
2990
2991         * kbmap.[Ch]: use vector<> instead of list<>
2992
2993 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2994
2995         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2996         pasteSelection with index
2997
2998         * text2.C (pasteSelection): modify, call pasteSelection with index
2999
3000         * paragraph.C (asString): reimplement version with no interval to
3001         call the one with interval.
3002
3003         * lyxtext.h: add index arg to pasteSelection
3004
3005         * MenuBackend.C (MenuItem): handle PasteRecent
3006         (Menu::read::Menutags): add md_pasterecent
3007         (read): handle it
3008         (expandPasteRecent): new function
3009         (expand): use it
3010
3011         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3012
3013         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3014         the limited stack
3015         (availableSelections): new function
3016
3017 2003-06-17  Angus Leeming  <leeming@lyx.org>
3018
3019         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3020
3021 2003-06-17  Angus Leeming  <leeming@lyx.org>
3022
3023         * lfuns.h:
3024         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3025
3026         * lyxfunc.C (dispatch): invoke it.
3027
3028 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3029
3030         * iterators.C (operator++, ParPosition): reintroduce some
3031         const_cast for the benefit of older compilers.
3032
3033 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3034
3035         * text3.C (dispatch): do not modify clipboard when doing
3036         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3037         LFUN_DELETE_SKIP on a selection selection
3038
3039 2003-06-16  André Pönitz  <poenitz@gmx.net>
3040
3041         * BufferView.C:
3042         * buffer.C:
3043         * buffer.h:
3044         * paragraph.C:
3045         * tabular.[Ch]: IU of clone() and getLabelList();
3046
3047 2003-06-13  André Pönitz  <poenitz@gmx.net>
3048
3049         * tabular.h: compactification
3050
3051 2003-06-12  André Pönitz  <poenitz@gmx.net>
3052
3053         * tabular.C:
3054         * tabular.h:
3055         * tabular_funcs.h: some renaming plus whitespace
3056
3057 2003-06-12  André Pönitz  <poenitz@gmx.net>
3058
3059         * BufferView.C:
3060         * BufferView_pimpl.C:
3061         * CutAndPaste.C:
3062         * buffer.C:
3063         * iterators.[Ch]:
3064         * lyxfunc.C:
3065         * text.C:
3066         * toc.C: Return a Paragraph & for ParIterator::operator*()
3067
3068 2003-06-11  John Levon  <levon@movementarian.org>
3069
3070         * lyx_main.C:
3071         * ToolbarBackend.h:
3072         * ToolbarBackend.C: add "Toolbars" section and
3073         put the flags there
3074
3075 2003-06-10  Angus Leeming  <leeming@lyx.org>
3076
3077         * lfuns.h:
3078         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3079
3080         * lyxfunc.C (dispatch): invoke it.
3081
3082 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * main.C: protect <ios> with HAVE_IOS
3085         (main): protect sync_with_stdio with HAVE_IOS
3086
3087 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3088
3089         * text2.C (cutSelection): adjust
3090         (pasteSelection): adjust
3091
3092         * messages.C: handle get of empty string
3093
3094         * main.C (main): use sync_with_stdio(false)
3095
3096         * lyxfunc.C (dispatch): adjust
3097
3098         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3099         (WriteAs): remove unneeded BufferView arg.
3100
3101         * bufferparams.h: use correct types on papersize, papersize2 and
3102         paperpackage.
3103
3104         * bufferparams.C (readToken): adjust for type
3105         (writeLaTeX): add missing cases to switch.
3106
3107         * bufferlist.C (quitWriteBuffer): adjust
3108         (close): adjust
3109
3110         * buffer.C (asciiParagraph): remove some commented code.
3111
3112         * CutAndPaste.C: remove current_view extern variable.
3113         (cutSelection): add BufferParams arg.
3114         (eraseSelection): add BufferParams arg.
3115         (pasteSelection): add Buffer const & arg
3116
3117 2003-06-07  John Levon  <levon@movementarian.org>
3118
3119         * buffer.C:
3120         * paragraph_funcs.C:
3121         * paragraph_pimpl.C:
3122         * text.C:
3123         * text2.C:
3124         * paragraph.h:
3125         * paragraph.C: allow InsetERT to freely space lines,
3126         and some consolidation of code
3127
3128 2003-06-06  José Matos  <jamatos@fep.up.pt>
3129
3130         * buffer.C (makeDocBookFile): fix bug #821
3131
3132 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3135
3136 2003-06-04  Angus Leeming  <leeming@lyx.org>
3137
3138         * buffer.C: bump format to 224.
3139
3140 2003-06-05  André Pönitz  <poenitz@gmx.net>
3141
3142         * text2.C (redoParagraphs): remove two const_cast<>
3143
3144 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3145
3146         * ParagraphList.h: remove last remnants of NO_STD_LIST
3147
3148 2003-06-03  Angus Leeming  <leeming@lyx.org>
3149
3150         * factory.C (createInset): small change to the way InsetExternal's params
3151         are set.
3152
3153 2003-06-04  André Pönitz  <poenitz@gmx.net>
3154
3155         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3156
3157         * paragraph_pimpl.h:
3158         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3159
3160         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3161
3162         * undo_funcs.C: make some simple cases of undo work again
3163
3164 2003-06-03  John Levon  <levon@movementarian.org>
3165
3166         * ispell.C: HPUX doesn't have sys/select.h
3167         (from Albert Chin)
3168
3169 2003-06-03  John Levon  <levon@movementarian.org>
3170
3171         * CutAndPaste.C: update tabular and include inset
3172         buffer references
3173
3174         * buffer.h:
3175         * paragraph.h:
3176         * paragraph.C: remove owningBuffer(), don't pass Buffer
3177         to clone()
3178
3179         * factory.C: insetGraphicsParams changed
3180
3181 2003-06-02  John Levon  <levon@movementarian.org>
3182
3183         * LyXAction.C:
3184         * factory.C:
3185         * lfuns.h:
3186         * lyxfunc.C:
3187         * text3.C: remove insetparent
3188
3189 2003-06-02  John Levon  <levon@movementarian.org>
3190
3191         * buffer.h:
3192         * buffer.C: fix inset_iterator.end(), move out of line
3193         (bug 1149)
3194
3195 2003-06-01  John Levon  <levon@movementarian.org>
3196
3197         * text3.C: use a proper cut/paste when doing inset
3198         insert (from Jürgen Spitzmüller)
3199
3200 2003-06-01  John Levon  <levon@movementarian.org>
3201
3202         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3203
3204 2003-05-30  André Pönitz  <poenitz@gmx.net>
3205
3206         * rowpainter.C: unify second drawing phase
3207
3208 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * trans_mgr.C: remove one case of current_view
3211
3212         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3213
3214         * paragraph_funcs.h: remove paragraph.h include
3215
3216         * paragraph.h: delete NO_STD_LIST stuff
3217
3218         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3219
3220         * buffer.h: remove paragraph.h include
3221
3222         * ParagraphList.C: delete file
3223
3224         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3225
3226         * toc.C (getTocList): adjust
3227
3228         * paragraph_pimpl.C (validate): adjust
3229
3230         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3231
3232         * paragraph.C (Paragraph): adjust
3233         (getPositionOfInset): use const_iterator, adjust
3234         (bibitem): use const_iterator, adjust
3235         (setInsetOwner): adjust
3236
3237         * iterators.C (operator++): adjust
3238
3239         * InsetList.[Ch]: Replace selfmade iterator with standard
3240         vector::iterator also introduce const_iterator. Remove getPos,
3241         getInset and setInset from InsetTable. Adjust accordingly.
3242
3243         * BufferView.C (lockInset): adjust
3244         (ChangeInsets): adjust
3245
3246         * tabular.[Ch]: delete commented same_id functions
3247
3248 2003-05-28  John Levon  <levon@movementarian.org>
3249
3250         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3251
3252 2003-05-28  André Pönitz  <poenitz@gmx.net>
3253
3254         * metricsinfo.[Ch]: remove 'fullredraw' member
3255
3256 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3257
3258         * lyxtextclass.C (operator): remove caching.
3259
3260 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * text3.C: adjust
3263
3264         * text2.C (cursorBottom): adjust
3265         (setCounter): use ParagraphList::find, adjust
3266
3267         * text.C (workWidth): use ParagraphList::find, adjust
3268
3269         * lyxcursor.C (LyXCursor): adjust
3270
3271         * buffer.C (inset_iterator): adjust
3272
3273         * ParagraphList.h: make iterator(value_type) private, make
3274         ParagraphList a friend of iterator.
3275
3276         * ParagraphList.C (find): new function
3277
3278         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3279
3280 2003-05-27  André Pönitz  <poenitz@gmx.net>
3281
3282         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3283
3284 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285
3286         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3287
3288 2003-05-26  John Levon  <levon@movementarian.org>
3289
3290         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3291
3292 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * remove same_id from function signatures, adjust.
3295
3296 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3299
3300         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3301
3302         * paragraph.C (Paragraph): get rid of same_ids parameter
3303
3304         * ParagraphList.C (insert): adjust
3305         (push_back): adjust
3306
3307 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * paragraph_funcs.C (breakParagraph): adjust
3310         (breakParagraphConservative): adjust
3311
3312         * buffer.C (readParagraph): adjust
3313
3314         * ParagraphList.C (insert): take a reference instead of a pointer
3315         (insert): adjust
3316
3317         * paragraph.[Ch] (id): new function
3318
3319         * bufferlist.C (newFile): adjust
3320
3321         * ParagraphList.C (ParagraphList): adjust
3322         (assign): adjust
3323         (push_back): take a reference instead of a pointer.
3324
3325         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3326
3327         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3328         instead.
3329
3330         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3331         set else use old code.
3332
3333         * ParagraphList.C: remove all NO_NEXT code and only compile this
3334         code of NO_STD_LIST is set.
3335
3336 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * BufferView_pimpl.C:
3339         * TextCache.C:
3340         * TextCache.h:
3341         * bufferlist.C:
3342         * errorlist.h:
3343         * format.C:
3344         * format.h:
3345         * graph.C:
3346         * lyxfunc.C:
3347         * lyxrc.C:
3348         * graphics/GraphicsConverter.C:
3349         * graphics/PreviewLoader.C: header adjustment
3350
3351 2003-05-23  Angus Leeming  <leeming@lyx.org>
3352
3353         * LaTeXFeatures.[Ch] (useBabel): new method.
3354         * bufferparams.C (writeLaTeX): use it.
3355
3356 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * ParagraphList.h (set): remove unused function.
3359
3360 2003-05-23  André Pönitz  <poenitz@gmx.net>
3361
3362         * BufferView.C:
3363         * BufferView_pimpl.C:
3364         * buffer.C:
3365         * buffer.h:
3366         * lyxfunc.C:
3367         * undo_funcs.C: setUndo reworked
3368
3369         * iterators.[Ch]: add access to topmost ParagraphList
3370
3371         * lyxtext.[Ch] (workWidth): add a const
3372
3373 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3374
3375         * texrow.[Ch] (increasePos): remove function
3376         * exporter.C (export): removed unused var and outdated comment
3377
3378 2003-05-23  Angus Leeming  <leeming@lyx.org>
3379
3380         * latexrunparams.h: rename fragile as moving_arg.
3381         * paragraph.C (simpleTeXOnePar): ditto.
3382         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3383
3384 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3387         (createUndo): ditto
3388         (textUndoOrRedo): comment out a currently unused var.
3389
3390         * paragraph.h (NO_NEXT): enable NO_NEXT
3391
3392         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3393
3394         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3395
3396         * exporter.C (Export): adjust for removeAutoInsets removal.
3397
3398         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3399
3400         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3401
3402         * BufferView.[Ch] (removeAutoInsets): delete function
3403
3404 2003-05-22  Angus Leeming  <leeming@lyx.org>
3405
3406         * latexrunparams.h: add a free_spacing variable.
3407
3408         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3409         to pass moving_arg, as the data is stored in runparams.fragile.
3410
3411         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3412         to Inset::latexOptional or to simpleTeXOnePar.
3413
3414         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3415         free_spacing arg to Inset::latexOptional.
3416
3417         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3418         free_spacing arg.
3419
3420 2003-05-22  Angus Leeming  <leeming@lyx.org>
3421
3422         * latexrunparams.h: add fragile and use_babel variables.
3423
3424         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3425         * buffer.C (makeLaTeXFile): store this returned value in
3426         runparams.use_babel, thus passing it to the inset::latex methods.
3427
3428         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3429         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3430
3431         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3432         longer has a fragile arg, as it is stored in runparams.fragile.
3433
3434         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3435         moving_arg parameter as the data is stored in runparams.fragile.
3436
3437         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3438         a fragile parameter as the data is stored in runparams.fragile.
3439
3440 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3443
3444 2003-05-22  Angus Leeming  <leeming@lyx.org>
3445
3446         * latexrunparams.h: add a 'bool nice' which defaults to false.
3447
3448         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3449         now encapsulated within runparams.
3450
3451         * bufferlist.C (updateIncludedTeXfiles):
3452         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3453
3454 2003-05-22  Angus Leeming  <leeming@lyx.org>
3455
3456         * latexrunparams.h: new file containing struct LatexRunParams.
3457         * Makefile.am: add new file.
3458
3459         * LaTeX.[Ch] (c-tor, run):
3460         * buffer.[Ch] (makeLaTeXFile):
3461         * bufferlist.[Ch] (updateIncludedTeXfiles):
3462         * converter.C (convert, scanLog):
3463         * converter.[Ch] (runLaTeX):
3464         * exporter.C (Export):
3465         * paragraph.[Ch] (simpleTeXOnePar):
3466         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3467         * paragraph_funcs.[Ch] (latexParagraphs):
3468         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3469         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3470         pass around a LatexRunParams parameter.
3471
3472 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * paragraph.[Ch]: remove unused constructor
3475
3476         * ParagraphList.C (erase): new function, taking two iterators
3477
3478 2003-05-22  André Pönitz  <poenitz@gmx.net>
3479
3480         * undo_funcs.C: remove duplicated code
3481
3482         * iterator.[Ch]: operator=
3483
3484 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * tabular.C (SetMultiColumn): ws changes
3487
3488         * rowpainter.C (paintFirst): get rid of a ->previous
3489
3490         * lyx_cb.C (getPossibleLabel): parlist simplification
3491
3492         * BufferView.C (ChangeInsets): simplify slightly.
3493
3494 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3495
3496         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3497         * lfuns.h: new LFUN_SPACE
3498         * lyxfunc.C: protected space has a new lfun
3499         * paragraph_funcs.C: read new space insets
3500         * text3.C:
3501         * factory.C: handle new space insets
3502
3503 2003-05-22  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView.C:
3506         * BufferView_pimpl.C:
3507         * buffer.[Ch]:
3508         * lyxfunc.C:
3509         * undo_funcs.C: return a ParIterator from getParFromID.
3510
3511         * iterators.[Ch]: add two const's
3512
3513 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * toc.C (getTocList): adjust
3516
3517         * iterators.[Ch]: rework for parlist
3518
3519         * buffer.C (par_iterator_begin): adjust
3520         (par_iterator_end): adjust
3521
3522         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3523
3524         * BufferView.C (removeAutoInsets): adjust
3525         (ChangeInsets): adjust
3526
3527 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * text.C (top_y): fix bug 1110
3530
3531 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * errorlist.[Ch]: added
3534         * buffer.C:
3535         * BufferView.[Ch]:
3536         * BufferView_pimpl.C:
3537         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3538         instead
3539
3540 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * Makefile.am: ensure that lyx is relinked upon changes to the
3543         various "convenience" libs.
3544
3545 2003-05-20  Angus Leeming  <leeming@lyx.org>
3546
3547         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3548         files are compiled in alphabetical order again.
3549
3550         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3551
3552 2003-05-19  Angus Leeming  <leeming@lyx.org>
3553
3554         * gettext.[Ch]: remove "char const * _(char const *)".
3555
3556 2003-05-19  André Pönitz  <poenitz@gmx.net>
3557
3558         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3559
3560         * Makefile.am:
3561         * BufferView.C:
3562         * DepTable.h:
3563         * LaTeXFeatures.C:
3564         * buffer.C:
3565         * lyxfont.C:
3566         * lyxlex.h:
3567         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3568
3569 2003-05-19  André Pönitz  <poenitz@gmx.net>
3570
3571         * buffer.C:
3572         * lyxlayout.[Ch]:
3573         * lyxtextclass.[Ch]:
3574         * paragraph.C:
3575         * paragraph_funcs.[Ch]:
3576         * text2.C:
3577         * text3.C: more insetenv work
3578
3579 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * ParagraphParameters.C (params2string): small bug fixed
3582
3583 2003-05-16  André Pönitz  <poenitz@gmx.net>
3584
3585         * debug.C:
3586         * bufferview_funcs.C: patch from Kornel Benko to prevent
3587           crash when _(...) is called twice in a statement
3588
3589 2003-05-16  André Pönitz  <poenitz@gmx.net>
3590
3591         * BufferView.C:
3592         * lyxfunc.C:
3593         * text.C:
3594         * text2.C:
3595         * text3.C:
3596         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3597
3598 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * lyx_main.C (init): remove spurious static_cast
3601
3602 2003-05-14  André Pönitz  <poenitz@gmx.net>
3603
3604         * BufferView.C: fix format string
3605
3606 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3607
3608         * BufferView.[Ch] (insertErrors): removed
3609         * BufferView.[Ch] (showErrorList): added
3610         * buffer.C (runChkTeX):
3611         * converter.C (scanLog): call showErrorList instead of inserterrors
3612
3613 2003-05-13  André Pönitz  <poenitz@gmx.net>
3614
3615         * BufferView_pimpl.C:
3616         * buffer.C:
3617         * bufferview_func.C:
3618         * MenuBackend.C:
3619         * lyxfunc.C:
3620         * lyxrc.C:
3621         * tex-accent.C:
3622         * text3.C:
3623         * toc.C:
3624         * tabular_funcs.h: tostr() from its own header
3625
3626         * ParagraphParameters.C:
3627         * ToolbarBackend.C:
3628         * bufferparams.C:
3629         * format.C:
3630         * lyxlex_pimpl.C:
3631         * text3.C: STRCONV()
3632
3633 2003-05-12  André Pönitz  <poenitz@gmx.net>
3634
3635         * BufferView.C:
3636         * BufferView_pimpl.C:
3637         * CutAndPaste.C:
3638         * LaTeX.C:
3639         * LaTeXFeatures.C:
3640         * ParagraphParameters.C:
3641         * buffer.C:
3642         * bufferlist.C:
3643         * bufferparams.C:
3644         * bufferview_funcs.C:
3645         * converter.C:
3646         * counters.C:
3647         * debug.C:
3648         * exporter.C:
3649         * format.C:
3650         * importer.C:
3651         * lyx_cb.C:
3652         * lyx_main.C:
3653         * lyxfont.C:
3654         * lyxfunc.C:
3655         * lyxvc.C:
3656         * paragraph.C:
3657         * paragraph_funcs.C:
3658         * tabular.C:
3659         * tabular_funcs.C:
3660         * text2.C:
3661         * text3.C:  boost::format -> bformat  all over the place
3662
3663
3664 2003-05-09  André Pönitz  <poenitz@gmx.net>
3665
3666         * LColor.[Ch]: Pimpl the #include <map> away
3667
3668 2003-05-09  John Levon  <levon@movementarian.org>
3669
3670         * bufferlist.C: never remove emergency saves
3671
3672 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * Makefile.am: better lib building
3675
3676 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3679         instead.
3680         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3681         (simpleTeXSpecialChars): adjust
3682         (simpleTeXSpecialChars): adjust
3683         * paragraph.C (simpleTeXOnePar): adjust
3684         * buffer.C (makeLaTeXFile): adjust
3685
3686         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3687
3688         * text2.C (changeDepth): parlist cleanup
3689         (getColumnNearX): ditto
3690
3691         * rowpainter.C (getLabelFont): parlist cleanup
3692
3693         * bufferlist.C (newFile): parlist cleanup
3694
3695         * CutAndPaste.C (eraseSelection): parlist cleanup
3696
3697         * BufferView_pimpl.C (trackChanges): parlist cleanup
3698         (dispatch): ditto
3699
3700         * BufferView.C (lockInset): parlist cleanup.
3701         (ChangeInsets): ditto
3702
3703 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * CutAndPaste.h: Update file header.
3706
3707         * CutAndPaste.C: Update file header.
3708         Store the parts cut out of the Document in a limited_stack.
3709         (copySelection): adjust
3710         (pasteSelection): new function, takes the index in the limited stack.
3711         (nrOfParagraphs): adjust
3712         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3713         simplify error inset insertion.
3714         (checkPastePossible): adjust
3715
3716 2003-05-06  John Levon  <levon@movementarian.org>
3717
3718         * text2.C: don't cast wrap inset to float
3719
3720 2003-05-05  André Pönitz  <poenitz@gmx.net>
3721
3722         * iterator.C:
3723         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3724
3725         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3726           few naked Paragraph *.
3727
3728 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3729
3730         * bufferparams.C: Output warning if a document with missing
3731         TeX document class is loaded
3732         * exporter.C: Disable TeX exports if the document class is missing
3733         * lyxtextclass.C:
3734         * lyxtextclass.h:
3735         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3736         isTeXClassAvailable()
3737
3738 2003-05-03  John Levon  <levon@movementarian.org>
3739
3740         * BufferView.h:
3741         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3742         explicit cursor show/hide
3743
3744         * BufferView_pimpl.h:
3745         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3746         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3747
3748         * lyxfunc.C: hide cursor before dispatching.
3749
3750         * lyx_cb.C:
3751         * lyxfind.C:
3752         * text.C:
3753         * text3.C: remove explicit cursor hides
3754
3755 2003-05-02  André Pönitz  <poenitz@gmx.net>
3756
3757         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3758
3759         * undo_funcs.C:
3760         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3761           linked lists
3762
3763         * text2.C: tiny whitespace
3764
3765 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * undo_funcs.C: almost only ws changes.
3768
3769         * ParagraphList.C (splice): just return if pl is empty.
3770
3771 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * ParagraphList.C (splice): new function.
3774
3775         * CutAndPaste.C (pasteSelection): use it
3776
3777 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * CutAndPaste.C (pasteSelection): remove the last next and
3780         previous from this file.
3781
3782 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * CutAndPaste.C (pasteSelection): more clean up, user proper
3785         ParagraphList functions for pasteing.
3786
3787         * ParagraphList.C (insert): new function, three arg insert
3788
3789 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * ParagraphList.C (insert): new function, three arg insert
3792
3793         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3794         not on paragraphs.
3795
3796 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3799
3800 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3803
3804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3807         (copySelection): clean up a bit.
3808         (pasteSelection): use make_pair
3809
3810         * ParagraphList.C (ParagraphList): implement copy constructor
3811         (operator=): implement, base on copy constructor.
3812         (assign): new func
3813
3814         * paragraph.C (erase): return a bool
3815
3816         * paragraph_pimpl.C (erasePos): remove function, move contents...
3817         (erase): ... here. Return a bool.
3818         (erase): call erase instead of erasePos.
3819
3820 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * ParagraphList.h: define PitPosPair
3823         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3824         ParagraphList, fix a bug on pasting multiple pars
3825         * text2.C: change interface to C&P
3826
3827 2003-04-30  André Pönitz  <poenitz@gmx.net>
3828
3829         * undo_func.C: revert part of yesterday's patch 2
3830
3831 2003-04-30  John Levon  <levon@movementarian.org>
3832
3833         * LColor.C: s/tabular/table/
3834
3835 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * text3.C (dispatch): do not convert iterator -> pointer
3838         * undo_funcs.C (setCursorParUndo): ditto
3839         * text_funcs.C (transposeChars): ditto
3840
3841         * text2.C (setLayout): ws changes only
3842
3843         * text.C (breakParagraph): do not convert iterator -> pointer
3844         (insertChar): ditto
3845         (acceptChange): ditto
3846         (rejectChange): ditto
3847         (changeCase): ditto
3848         (Delete): ditto
3849         (backspace): ditto
3850
3851         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3852         pointer
3853
3854 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3855
3856         * text3.C (gotoInset): YABG (yet another bad getChar)
3857
3858 2003-04-29  André Pönitz  <poenitz@gmx.net>
3859
3860         * paragraph.h: make operator= private unimplemented as long as
3861           it is unusable
3862
3863         * ParagraphList.C: whitespace
3864
3865         * paragraph.[Ch]:
3866         * paragraph_pimpl.[Ch]:
3867         * paragraph_funcs.C:
3868         * CutAndPaste.C:
3869         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3870
3871         * text2.C:
3872           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3873
3874 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3877         * paragraph.[Ch] (erase):
3878         * paragraph_pimpl.[Ch] (erase): change return type and value
3879         * text2.C (cutSelection): some rework
3880
3881 2003-04-28  John Levon  <levon@movementarian.org>
3882
3883         * bufferlist.C: changes for unsaved changes dialog
3884
3885 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * bufferlist.C (newFile): set language (messages_) for new
3888         documents also.
3889
3890         * buffer.C (readFile): ws changes only.
3891
3892 2003-04-28  André Pönitz  <poenitz@gmx.net>
3893
3894         * undo_funcs.C:
3895         * lyxfunc.C:
3896         * buffer.[Ch]:
3897         * BufferView_pimpl.C:
3898         * BufferView.C: getParFromID related ParagraphList::iterator changes
3899
3900 2003-04-28  André Pönitz  <poenitz@gmx.net>
3901
3902         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3903           Changes
3904
3905 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * messages.C: remove one more localedir class variable.
3908
3909 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * messages.C (getLocaleDir): singleton generation function
3912         (Pimpl): use it.
3913         (Messages): add a default constructor.
3914
3915         * main.C (main): do not setup localedir here, do not call
3916         gettext_init.
3917
3918         * gettext.C (_): use it.
3919         (gettext_init): delete funciton
3920
3921 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3922
3923         * gettext.C (getLyXMessages): new singleton generating function.
3924
3925         * buffer.C (updateDocLang): adjust
3926
3927         * Makefile.am (messages.o): add target
3928         (main.o): remove target
3929
3930 2003-04-27  John Levon  <levon@movementarian.org>
3931
3932         * bufferlist.C:
3933         * lyx_cb.C:
3934         * lyxfunc.C:
3935         * lyxvc.C: specify cancel button in Alert::prompt
3936
3937 2003-04-26  John Levon  <levon@movementarian.org>
3938
3939         * text3.C:
3940         * lyxfunc.C:
3941         * lfuns.h:
3942         * LyXAction.C: add LFUN_INSET_SETTINGS
3943
3944         * lyxfunc.C: don't enable tabular-feature when there's
3945         just any locking inset
3946
3947 2003-04-26  John Levon  <levon@movementarian.org>
3948
3949         * bufferlist.C: re-add Cancel to buffer close question
3950
3951         * lyxfunc.C: fix import UI a bit
3952
3953 2003-04-25  John Levon  <levon@movementarian.org>
3954
3955         * gettext.C: remove the broken asserts for now
3956
3957 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * messages.C: make case where setlocale cannot comply work better.
3960
3961         * buffer.C (updateDocLang): new function
3962         (changeLanguage): use it
3963         (readFile): use it
3964
3965         * text2.C (setCounter): use B_ a bit.
3966
3967         * lyxlayout.C (Read): be sure to trim the label strings.
3968
3969         * messages.C (Messages): fix typo in comment
3970
3971         * buffer.C (readFile): set message_ after file is loaded.
3972         (makeDocBookFile): remove double return
3973         (changeLanguage): reset message_ upon language change.
3974         (B_): new func, use this to get translated buffer strings.
3975
3976         * main.C: add myself and Jean Marc as authors.
3977
3978 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * messages.[hC]: pimplify Messages, and three different pimpls to be
3981         used in different circumstances.
3982
3983         * gettext.[Ch]: change for use with new message code.
3984
3985 2003-04-24 André Pönitz <poenitz@gmx.net>
3986
3987         * factory.C: support for eqref
3988
3989 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * messages.[Ch]: add missing char
3992
3993         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3994
3995         * messages.[Ch]: New files
3996
3997 2003-04-18  John Levon  <levon@movementarian.org>
3998
3999         * BufferView.h:
4000         * BufferView.C:
4001         * BufferView_pimpl.C:
4002         * lfuns.h:
4003         * LyXAction.C:
4004         * lyxtext.h:
4005         * text2.C: remove layout-copy/paste (bug 778)
4006
4007 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4010
4011 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4014         if they succeed. Act accordingly.
4015
4016 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * text2.C (setCharFont): adjust
4019         (setCounter): adjust
4020         (insertStringAsLines): adjust
4021
4022         * text.C (leftMargin): adjust
4023         (setHeightOfRow): adjust
4024
4025         * rowpainter.C (paintFirst): adjust
4026         (paintLast): adjust
4027
4028         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4029         (outerHook): ditto
4030         (isFirstInSequence): ditto
4031         (getEndLabel): ditto
4032         (outerFont): adjust
4033
4034         * paragraph.C (getParLanguage): comment out some hard stuff.
4035
4036         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4037         (sgmlError): ditto
4038         (simpleDocBookOnePar): ditto
4039         (makeDocBookFile): use ParagraphList::iterator
4040
4041         * CutAndPaste.C (pasteSelection): adjust
4042
4043 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * text2.C (getFont): adjust
4046         (getLayoutFont): adjust
4047         (getLabelFont): adjust
4048
4049         * paragraph_funcs.C (TeXOnePar): adjust
4050
4051         * buffer.C (simpleLinuxDocOnePar): adjust
4052         (simpleDocBookOnePar): adjust
4053
4054         * CutAndPaste.C (pasteSelection): adjust
4055
4056         * BufferView.C (getEncoding): adjust
4057
4058         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4059
4060 2003-04-16  John Levon  <levon@movementarian.org>
4061
4062         * lyxfind.C: use parlist stuff for search/changes
4063
4064 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4067
4068         * text2.C (deleteEmptyParagraphMechanism): adjust
4069
4070         * text2.[Ch] (ownerParagraph): delete func (both of them
4071
4072 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4075
4076 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * ParagraphList.C: prepare for NO_NEXT
4079
4080 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * text2.C (getFont): adjust
4083         (getLayoutFont): adjust
4084         (getLabelFont): adjust
4085
4086         * paragraph.C (getFont): adjust
4087         (getLabelFont): adjust
4088         (getLayoutFont): adjust
4089
4090         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4091
4092 2003-04-15  John Levon  <levon@movementarian.org>
4093
4094         From Angus Leeming
4095
4096         * lyx_main.C: handle Include in .ui files
4097
4098 2003-04-15  John Levon  <levon@movementarian.org>
4099
4100         * MenuBackend.C: make the doc files length shorter
4101
4102         * ToolbarBackend.h:
4103         * ToolbarBackend.C: handle toolbar placement flags,
4104         Minibuffer
4105
4106 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4109         adjust
4110
4111         * paragraph_funcs.C (TeXOnePar): adjust
4112
4113         * paragraph.C (getLabelFont): add outerfont arg, adjust
4114         (getLayoutFont): ditto
4115         (simpleTeXOnePar): adjust
4116
4117         * paragraph_pimpl.C (realizeFont): delete func
4118
4119 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4122         row argument, constify cur argument.
4123
4124 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * text2.C (getFont): adjust
4127         (getLayoutFont): adjust
4128         (getLabelFont): adjust
4129
4130         * paragraph_funcs.C (TeXOnePar): adjust
4131         (outerFont): new func...
4132         (realizeFont): ...moved out from here, changed this to facilitate
4133         transition
4134
4135         * paragraph.C (getFont): take outerfont as arg, adjust
4136         (simpleTeXOnePar): add outerfont arg, adjust
4137
4138         * buffer.C (simpleLinuxDocOnePar): adjust
4139         (simpleDocBookOnePar): adjust
4140
4141         * CutAndPaste.C (pasteSelection): adjust
4142
4143         * BufferView.C (getEncoding): adjust
4144
4145 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * text2.C (setCharFont): adjust
4148         (setCounter): adjust
4149
4150         * text.C (leftMargin): adjust
4151         (setHeightOfRow): adjust
4152
4153         * rowpainter.C (paintFirst): adjust
4154         (paintLast): adjust
4155
4156         * paragraph_pimpl.C (realizeFont): adjust
4157
4158         * paragraph.C (isFirstInSequence): move from here...
4159         * paragraph_funcs.C (isFirstInSequence): ...to here
4160
4161         * paragraph.C (outerHook): move from here...
4162         * paragraph_funcs.C (outerHook): ...to here
4163
4164         * paragraph.C (depthHook): move from here...
4165         * paragraph_funcs.C (depthHook): ...to here
4166
4167         * paragraph.C (getEndLabel): move from here...
4168         * paragraph_funcs.C (getEndLabel): ...to here
4169
4170         * text2.C (realizeFont): move from here...
4171         * paragraph_funcs.C (realizeFont): ...to here
4172
4173 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4176
4177 2003-04-14  Angus Leeming  <leeming@lyx.org>
4178
4179         * LColor.[Ch]: scrap LColor mathcursor.
4180
4181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * lyxlex.[Ch] (text): delete function
4184         * trans.C (Load): adjust
4185         * paragraph_funcs.C (readParToken): adjust
4186
4187 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4190         vector<char> instead of a char[].
4191
4192         * lyxlex_pimpl.C (getString): adjust
4193         (next): adjust
4194         (lex): use getString
4195         (eatLine): adjust
4196         (nextToken): adjust
4197
4198         * lyxlex.C (text): use pimpl_->getString()
4199         (getBool): ditto
4200         (findToken): ditto
4201
4202 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4205         (makeFontEntriesLayoutSpecific): temp var for par.size()
4206         (setLayout): temp var for ownerParagraphs().end()
4207         (fullRebreak): temp var for rows().end()
4208         (selectionAsString): temp var for boost::next(startpit), realize
4209         that the while really is a regular for loop.
4210         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4211         setCursor in one place.
4212         (setParagraph): temp vr for ownerParagraphs().end()
4213         (updateCounters): make the while loop a for loop
4214         (cutSelection): temp var for ownerParagraphs().end()
4215         (updateInset): make the do {} while() a regular for loop
4216         (getCursorX): use temp vars
4217         (setCurrentFont): use temp vars
4218         (getColumnNearX): use temp vars
4219
4220 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * text.C (transformChar): use temp var for getChar
4223         (computeBidiTables): use temp var for row->par()
4224         (fill): move temp vars for row->par() and pit->layout() earlier in
4225         the function.
4226         (labelFill): use temp var for row->par()
4227         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4228         asc and desc, realize that pit never changes and that firstpit is
4229         just a duplicate and not needed. Exchange rit->par() with pit in a
4230         lot of places.
4231         (breakAgain): use a temp var for boost::next(rit)
4232         (breakAgainOneRow): ditto
4233         (breakParagraph): use a temp var for rows().begin()
4234         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4235         (cursorRightOneWord): use temp var for cursor.par() and
4236         cursor.pos(), remove usage of tmpcursor.
4237         (cursorLeftOneWord): use temp var for cursor.par() and
4238         cursor.pos() only set cur at end of function.
4239
4240 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * text.C, text2.C: exchange all usage of Paragraph::next with
4243         boost::next(ParagraphList::iterator)
4244
4245         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4246
4247         * text2.C (cursorTop): simplify implementation
4248         (cursorBottom): ditto
4249         (setParagraph): use ParagraphList::iterator
4250         (setCurrentFont): adjust
4251         (getColumnNearX): adjust
4252         (cursorRight): adjust
4253         (cursorLeft): remove usage of Paragraph::previous
4254         (cursorUpParagraph): ditto
4255         (deleteEmptyParagraphMechanism): slight cleanup
4256
4257         * text.C (isBoundary): take a Paragraph const & instead of a
4258         pointer as arg.
4259         (addressBreakPoint): ditto
4260         (leftMargin): remove usage of Paragraph::previous.
4261         (setHeightOfRow): ditto
4262         (cursorLeftOneWord): ditto
4263         (selectNextWordToSpellcheck): ditto
4264         (Delete): ditto
4265         (backspace): ditto
4266         (breakParagraph): remove one usage of Paragraph::next
4267         (redoParagraph): ditto
4268         (acceptChange): ditto
4269         (insertChar): adjust
4270         (rowBreakPoint): adjust
4271
4272         * bufferview_funcs.C (toggleAndShow): adjust
4273
4274 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4277         methods to access it.
4278         * lyxtext.h:
4279         * text.C: Added updateRowPositions to compute all row positions.
4280         Make top_y and getRowNearY() to use the cached y position
4281
4282 2003-04-11  John Levon  <levon@movementarian.org>
4283
4284         * text.C (rowBreakPoint): reintroduce the labelEnd
4285         checks, code copied from the row fill stuff. Deep voodoo.
4286
4287         * text.C (fill): add a comment and debugging for the
4288         next poor soul.
4289
4290 2003-04-11  John Levon  <levon@movementarian.org>
4291
4292         * text.C: make sure fullrow insets get wrapped to the next line,
4293         even when they're in a manual label
4294
4295 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * text2.C (insertParagraph): make it take ParagraphList::iterator
4298         as arg.
4299         (setLayout): make it return ParagraphList::iterator
4300         (redoParagraphs): ditto
4301         (setCounter): ditto
4302         (checkParagraph): ditto
4303
4304         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4305
4306         * text2.C: adjust several funcs.
4307         (realizeFont): take a ParagraphList::iterator as arg.
4308         (getLayoutFont): ditto
4309         (getLabelFont): ditto
4310         (setCharFont): ditto
4311
4312         * text.C: adjust several funcs.
4313
4314 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * text.C (selectNextWordToSpellcheck): don't accidentally
4317         skip insets
4318
4319 2003-04-10  John Levon  <levon@movementarian.org>
4320
4321         * ToolbarBackend.C (getIcon): special handling for
4322         LFUN_MATH_DELIM
4323
4324 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4325
4326         * text2.C (cursorRight): a getChar assert fixed
4327
4328 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * text2.C (getFont): change to take a ParagraphList::iterator
4331         instead of Paragraph*
4332         Adjust several functions.
4333
4334         * text.C (transformChar): change to take a ParagraphList::iterator
4335         instead of Paragraph*
4336         (singleWidth): ditto
4337         Adjust several functions.
4338
4339         * rowpainter.C: adjust several functions
4340         * rowpainter.h:store a ParagraphList::iterator and not a
4341         Paragraph&.
4342
4343
4344 2003-04-09  John Levon  <levon@movementarian.org>
4345
4346         * lyxfunc.C:
4347         * lfuns.h:
4348         * LyXAction.h:
4349         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4350         and the "help" bits as well
4351
4352 2003-04-09  John Levon  <levon@movementarian.org>
4353
4354         * ToolbarBackend.h:
4355         * ToolbarBackend.C: allow multiple toolbars
4356
4357 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * undo_funcs.C (setCursorParUndo): adjust
4360
4361         * text_funcs.C (transposeChars): adjust
4362
4363         * text3.C (gotoNextInset): adjust
4364         (dispatch): adjust
4365
4366         * text2.C (setLayout): adjust
4367         (changeDepth): adjust
4368         (setFont): adjust
4369         (redoParagraphs): adjust
4370         (selectionAsString): adjust
4371         (setParagraph): adjust
4372         (insertInset): adjust
4373         (cutSelection): adjust
4374         (copySelection): adjust
4375         (pasteSelection): adjust
4376         (insertStringAsLines): adjust
4377         (updateInset): adjust
4378         (setCursor): change to take a ParagraphList::iterator parameter
4379         (setCursorIntern): change to take a ParagraphList::iterator parameter
4380         (setCurrentFont): adjust
4381         (cursorLeft): adjust
4382         (cursorRight): adjust
4383         (deleteEmptyParagraphMechanism): adjust
4384
4385         * text.C (breakParagraph): adjust
4386         (insertChar): adjust
4387         (acceptChange): adjust
4388         (rejectChange): adjust
4389         (selectNextWordToSpellcheck): adjust
4390         (changeCase): adjust
4391         (Delete): adjust
4392         (backspace): adjust
4393
4394         * lyxfind.C (SearchForward): adjust
4395         (SearchBackward): adjust
4396         (nextChange): adjust
4397
4398         * lyxcursor.C (par): adjust
4399
4400         * lyxcursor.h: store a ParagraphList::iterator instead of a
4401         Paragraph*
4402
4403         * lyx_cb.C (getPossibleLabel): adjust
4404
4405         * bufferview_funcs.C (toggleAndShow): adjust
4406
4407         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4408         (dispatch): adjust
4409
4410         * BufferView.C (removeAutoInsets): adjust
4411         (lockedInsetStoreUndo): adjust
4412
4413 2003-04-09  John Levon  <levon@movementarian.org>
4414
4415         * ToolbarBackend.C: try icon without argument
4416         if with argument fails
4417
4418 2003-04-08  John Levon  <levon@movementarian.org>
4419
4420         * ToolbarBackend.h:
4421         * ToolbarBackend.C: add getIcon(), handle tooltip,
4422         and change from "Icon" to "Item".
4423
4424 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4425
4426         * BufferView.C (lockInset): another bad getchar crunched
4427
4428 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4431         again)
4432
4433 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * lyxfind.C (searchForward, searchBackwards): bug 782
4436
4437 2003-04-07  John Levon  <levon@movementarian.org>
4438
4439         * paragraph.C: remove dead comment
4440
4441         * text.C: remove troublesome depth-fiddling code
4442         in leftMargin() and rightMargin() (bug 1017)
4443
4444         * text.C: fix breaking of rows in nested lists
4445         (bug 1004)
4446
4447         * text2.C (updateCounters): fix up depth values
4448         (bug 1013)
4449
4450 2003-04-07  John Levon  <levon@movementarian.org>
4451
4452         * BufferView_pimpl.C: clear message when doc finishes resizing,
4453         and after a mouse event
4454
4455         * lyxfunc.C: clear message after exiting inset
4456
4457 2003-04-07  John Levon  <levon@movementarian.org>
4458
4459         * bufferview_funcs.C: show math status not outside
4460         status in the statusbar
4461
4462 2003-04-07  John Levon  <levon@movementarian.org>
4463
4464         * lyxfunc.C: note status changed after a depth change
4465
4466 2003-04-04  Angus Leeming  <leeming@lyx.org>
4467
4468         * LaTeX.h: move AuxInfo operator==, != out of line.
4469         Remove LaTeX virtual destructor; nothing derives from it.
4470         Move operator()() out of public area and rename it startscript().
4471         Change protected for private.
4472
4473 2003-04-04  Angus Leeming  <leeming@lyx.org>
4474
4475         * lyxfunc.C:
4476         * text2.C: remove unneeded #includes.
4477
4478 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * text2.C (dEPM): fix the heigth of the next row
4481
4482 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * text.C: squashed an invalid getChar requester + some ws changes
4485
4486 2003-04-03  John Levon  <levon@movementarian.org>
4487
4488         * bufferview_funcs.h:
4489         * bufferview_funcs.C:
4490         * lyxfunc.C:
4491         * lyxtext.h:
4492         * text2.C: make getStatus work for the env depth lfuns
4493
4494 2003-04-03  John Levon  <levon@movementarian.org>
4495
4496         * bufferview_funcs.h:
4497         * bufferview_funcs.C:
4498         * lyxfunc.C:
4499         * lyxtext.h:
4500         * text2.C: parlistize decDepth(), by merging it with incDepth()
4501
4502 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * lyxrow.h: store a ParagraphList::iterator instead of a
4505         Paragraph* and adjust other class functions to suit.
4506
4507         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4508         above.
4509
4510 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * text2.C (setCursor): do not anchor to cursor row for the time being
4513
4514 2003-04-02  John Levon  <levon@movementarian.org>
4515
4516         * LyXAction.C:
4517         * lfuns.h:
4518         * lyx_main.C:
4519         * lyxtext.h:
4520         * text.C:
4521         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4522
4523 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * paragraph.h: make ParagraphList and ParagraphList::iterator
4526         friends of Paragraph.
4527
4528         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4529
4530         * ParagraphList.C: Use the private next_ and previous_ from
4531         Paragraph.
4532
4533 2003-04-01  John Levon  <levon@movementarian.org>
4534
4535         * ToolbarBackend.h:
4536         * ToolbarBackend.C:
4537         * Makefile.am: rename, remove defaults gunk
4538
4539         * MenuBackend.h:
4540         * MenuBackend.C: remove defaults gunk
4541
4542         * Languages.h:
4543         * Languages.C: remove defaults gunk
4544
4545         * lyx_main.h:
4546         * lyx_main.C: error out if files couldn't be found.
4547
4548 2003-04-02  John Levon  <levon@movementarian.org>
4549
4550         * text2.C: make incDepth() use parlist
4551
4552 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * undo_funcs.C (firstUndoParagraph): adjust
4555
4556         * text3.C (gotoInset): adjust
4557         (dispatch): adjust, and rewrite loop.
4558
4559         * text2.C (init): adjust, and rewrite loop.
4560         (redoParagraphs): adjust
4561         (updateInset): adjust, and rewrite loop.
4562         (deleteEmptyParagraphMechanism): adjust
4563
4564         * tabular.C (LyXTabular): adjust
4565         (SetMultiColumn): adjust
4566         (TeXRow): adjust
4567
4568         * lyxtext.[Ch] (ownerParagraph): delete function
4569         (ownerParagraphs): new function returns a ParagraphList.
4570
4571         * BufferView.C (removeAutoInsets): adjust
4572         (insertErrors): adjust
4573         (setCursorFromRow): adjust
4574
4575 2003-04-01  Angus Leeming  <leeming@lyx.org>
4576
4577         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4578         in the frontends.
4579
4580 2003-04-02  John Levon  <levon@movementarian.org>
4581
4582         * lyxtext.h:
4583         * text.C:
4584         * Makefile.am:
4585         * text_funcs.h:
4586         * text_funcs.C: make transposeChars a free function
4587
4588         * lyxrow_funcs.C: remove wrong comment
4589
4590 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * lyxtext.h: adjust
4593         * rowpainter.C: adjust
4594         * text.C: adjust
4595         * text2.C: adjust
4596         * text3.C: adjust
4597
4598         * lyxrow_funcs. [Ch]: new files
4599
4600         * lyxrow.[Ch]: remove next and previous pointers
4601         (next,previous): remove accessor functions
4602         (isParEnd): move to lyxrow_funcs
4603         (lastPos): move to lyxrow_funcs
4604         (nextRowIsAllInset): move to lyxrow_funcs
4605         (lastPrintablePos): move to lyxrow_funcs
4606         (numberOfSeparators): move to lyxrow_funcs
4607         (numberOfHfills): move to lyxrow_funcs
4608         (numberOfLabelHfills): move to lyxrow_funcs
4609         (hfillExpansion): move to lyxrow_funcs
4610
4611         * lyxfunc.C: adjust
4612
4613         * bufferview_funcs.C (toggleAndShow): adjust
4614
4615         * RowList.h: Remove class RowList from file leave just a
4616         std::list<Row>.
4617
4618         * RowList.C: delete file
4619
4620         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4621         and lyxrow_funcs.h
4622
4623 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * text3.C (cursorPrevious): adjust
4626         (cursorNext): adjust
4627         (dispatch): adjust
4628
4629         * text2.C (redoHeightOfParagraph): adjust
4630         (redoDrawingOfParagraph): adjust
4631         (setCursor): adjust
4632
4633         * text.C (breakParagraph): adjust
4634         (insertChar): adjust
4635         (backspace): adjust
4636
4637         * rowpainter.C (RowPainter): adjust
4638         (leftMargin): simplify and adjust
4639         (most rowpainter functions): adjust.
4640
4641         * rowpainter.h: store the row as RowList::iterator not as Row*
4642
4643         * lyxcursor.C (row): taka RowList::iterator as arg
4644         (irow): ditto
4645
4646         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4647         of Row*.
4648
4649 2003-04-01  Angus Leeming  <leeming@lyx.org>
4650
4651         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4652         stuff like bool Bool.
4653
4654 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4657         rewrite a loop
4658
4659 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4662         RowList::iterator.
4663
4664         * lyxtext.h (rows): drop one version and leve a const variant that
4665         returns a RowList::iterator.
4666
4667 2003-03-31  Angus Leeming  <leeming@lyx.org>
4668
4669         * text.C (fill): ensure that the signature is the same as that in the
4670         header file.
4671
4672 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * text2.C (redoParagraphs): adjust
4675         (updateCounters): adjust
4676         (checkParagraph): adjust
4677         (getColumnNearX): adjust and reformat a bit.
4678
4679         * text.C (top_y): adjust
4680         (workWidth): adjust
4681         (leftMargin): adjust
4682         (prepareToPrint): adjust
4683         (getRow): adjust
4684         (getRowNearY): adjust
4685
4686         * lyxtext.h: make rowlist_ mutable.
4687
4688         * RowList.h: add const_iterator
4689         * RowList.C: adjust for RowList::const_iterator.
4690
4691         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4692         adjust.
4693
4694 2003-03-31  John Levon  <levon@movementarian.org>
4695
4696         * lyxrc.h:
4697         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4698
4699         * lyx_main.C: set default fonts from using lyx_gui funcs
4700
4701         * exporter.C: pdf_mode moved from lyxrc
4702
4703         * lyx_cb.C:
4704         * lyxfunc.C: changes from above
4705
4706 2003-03-31  John Levon  <levon@movementarian.org>
4707
4708         * lyx_main.C: fix to the last fix
4709
4710 2003-03-31  John Levon  <levon@movementarian.org>
4711
4712         * bufferlist.C: "Load original" -> "Load Original"
4713
4714         * converter.C:
4715         * exporter.C:
4716         * importer.C:
4717         * lyx_main.C:
4718         * format.C: more Alert cleanups
4719
4720 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * text2.C (removeParagraph): make it take a RowList::iterator as
4723         arg, adjust.
4724         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4725         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4726
4727         * text.C (anchor_row): make it take a RowList::iterator as arg,
4728         adjust.
4729         (computeBidiTables): make it take a const reference to Row instead
4730         of Row pointer, adjust.
4731         (leftMargin): make it take a RowList::iterator as arg, adjust.
4732         (rowBreakPoint): adjust
4733         (breakAgainOneRow): make it take a RowList::iterator as arg,
4734         adjust.
4735         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4736
4737         * bufferview_funcs.C (toggleAndShow): adjust
4738
4739 2003-03-30  John Levon  <levon@movementarian.org>
4740
4741         * Makefile.am:
4742         * BoostFormat.h:
4743         * boost-inst.C: moved to support
4744
4745         * several files: changes as a result
4746
4747 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * text2.C (LyXText): adjust.
4750         (init): adjust
4751         (removeRow): make it take a RowList::iterator as arg, adjust.
4752         (fullRebreak): adjust
4753         (deleteEmptyParagraphMechanism): adjust
4754         (clearPaint): adjust
4755         (postPaint): adjust
4756
4757         * text.C (top_y): adjust
4758         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4759         (breakAgain): make it take a RowList::iterator as arg, adjust.
4760         (breakParagraph): adjust
4761         (insertChar): adjust
4762         (backspace): adjust
4763
4764         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4765         need_break_row, and refresh_row.
4766
4767         * text3.C (dispatch): adjust
4768
4769         * text2.C (checkParagraph): adjust
4770         (setCursor): adjust
4771         (setCursorFromCoordinates): adjust
4772
4773         * text.C (top_y): adjust
4774         (workWidth): adjust
4775         (getRow): make it return a RowList::iterator, adjust
4776         (getRowNearY): make it return a RowList::iterator, adjust
4777
4778         * text2.C (init): adjust
4779         (insertRow): remove function
4780         (insertParagraph): adjust
4781         (redoParagraphs): adjust
4782         (fullRebreak): adjust
4783         (updateCounters): adjust
4784
4785         * text.C (top_y): rewrite to use RowList iterators.
4786         (top_y): adjust
4787         (setHeightOfRow): rewrite to sue RowList iterators.
4788         (appendParagraph): adjust
4789         (breakAgain): adjust
4790         (breakAgainOneRow): adjust
4791         (breakParagraph): adjust
4792         (getRow): adjust
4793         (getRowNearY): adjust, and remove commented code.
4794
4795         * lyxtext.h (firstRow): delete function
4796         (lastRow): delete function
4797         (rows): new function (const and non-const versions.)
4798         (insertRow): delete function
4799
4800         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4801
4802 2003-03-29  John Levon  <levon@movementarian.org>
4803
4804         * BufferView_pimpl.C: always update scrollbar top
4805         because pasting text when we're anchored could mean we
4806         miss an update altogether
4807
4808 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * text2.C (init): use rowlist_.end() and not 0.
4811         (insertRow): change to take a RowList::iterator as arg, adjust
4812         for this.
4813         (insertParagraph): change to take a RowList::iterator as arg,
4814         adjust for this.
4815         (redoParagraphs): remove some debug msgs.
4816
4817         * text.C (appendParagraph): change to take a RowList::iterator
4818         arg, adjust for this.
4819         (breakAgain): add an assert
4820         (breakAgainOneRow): ditto
4821
4822 2003-03-29  John Levon  <levon@movementarian.org>
4823
4824         * text2.C: do not clear selection after inc/decDepth
4825         (bug 550)
4826
4827 2003-03-29  John Levon  <levon@movementarian.org>
4828
4829         * BufferView.C:
4830         * buffer.C: fix broken strerrors according to Lars
4831
4832 2003-03-29  John Levon  <levon@movementarian.org>
4833
4834         * converters.C: more Alert cleanups
4835
4836 2003-03-29  John Levon  <levon@movementarian.org>
4837
4838         * bufferview_funcs.C: remove pointless Alert
4839
4840         * buffer.C: fix confusing error message when
4841         a template is chmoded 000
4842
4843 2003-03-29  John Levon  <levon@movementarian.org>
4844
4845         * BufferView.C:
4846         * BufferView.h:
4847         * BufferView_pimpl.C: Alert fixes
4848
4849         * Makefile.am:
4850         * tabular.C:
4851         * tabular-old.C: remove unused table compat reading
4852
4853 2003-03-29  John Levon  <levon@movementarian.org>
4854
4855         * BufferView.C:
4856         * buffer.C:
4857         * lyx_cb.h:
4858         * lyx_cb.C: more Alert cleanups
4859
4860         * lyxfunc.C: don't allow chktex if not latex document
4861
4862 2003-03-29  John Levon  <levon@movementarian.org>
4863
4864         * lyx_cb.C:
4865         * BufferView.C:
4866         * buffer.C: warnings pushed down from support/,
4867         kill err_alert
4868
4869 2003-03-29  John Levon  <levon@movementarian.org>
4870
4871         * lyxfunc.C: safety check for C-r (revert)
4872
4873 2003-03-29  John Levon  <levon@movementarian.org>
4874
4875         * bufferlist.h:
4876         * bufferlist.C: several UI fixes using Alert::prompt.
4877         Fix the pointless looping quit code. Fix stupid revert
4878         behaviour (bug 938)
4879
4880         * lyxvc.h:
4881         * lyxvc.C:
4882         * lyx_cb.C: use Alert::prompt
4883
4884         * lyx_main.C: remove a silly question
4885
4886         * lyxfunc.C: remove a couple of silly questions,
4887         use Alert::prompt
4888
4889 2003-03-28  John Levon  <levon@movementarian.org>
4890
4891         * text2.C: fix bug 974 (End on empty par)
4892
4893 2003-03-28  John Levon  <levon@movementarian.org>
4894
4895         * BufferView_pimpl.C:
4896         * LyXAction.C:
4897         * lfuns.h: remove do-nothing math greek lfuns
4898
4899 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * lyxgluelength.h (isValidGlueLength): add default arg on
4902         parameter 2. Remove default arg from friend in class.
4903
4904         * lyxlength.h (isValidLength): add default arg on parameter 2.
4905         Remove default arg from friend in class.
4906
4907         * text2.C (LyXText): adjust, initialize refresh_row.
4908         (init): adjust
4909         (removeRow): adjust
4910         (insertRow): adjust
4911         (insertParagraph): adjst
4912         (redoParagraphs): adjust
4913         (fullRebreak): adjust
4914         (updateCounters): adjust
4915         (deleteEmptyParagraphMechanism): first attempt at fixing a
4916         crashing bug.
4917
4918         * text.C (top_y): adjust
4919         (setHeightOfRow): adjust
4920         (getRow): adjust
4921         (getRowNearY): adjust
4922
4923         * lyxtext.h: include RowList.h
4924         (~LyXText): not needed anymore, deleted.
4925         (firstRow): modify for RowList
4926         (lastRow): new function
4927         Delete firstrow and lastrow class variables, add a Rowlist
4928         rowlist_ class variable.
4929
4930         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4931         paragraph is empty.
4932
4933         * RowList.C (insert): fix case where it == begin().
4934
4935 2003-03-26  Angus Leeming  <leeming@lyx.org>
4936
4937         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4938         the thesaurus dialog.
4939
4940 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4943
4944         * RowList.[Ch]: new files
4945
4946         * ParagraphList.C (erase): handle the case where it == begin
4947         correctly.
4948
4949 2003-03-25  John Levon  <levon@movementarian.org>
4950
4951         * Makefile.am:
4952         * aspell_local.h:
4953         * aspell.C: add new aspell support
4954
4955         * lyxrc.h:
4956         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4957         have it accessible.
4958
4959 2003-03-25  Angus Leeming  <leeming@lyx.org>
4960
4961         * lfuns.h:
4962         * LyXAction.C (init): new LFUN_INSET_INSERT.
4963
4964         * BufferView_pimpl.C (dispatch): split out part of the
4965         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4966
4967         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4968         LFUN_INSET_APPLY.
4969
4970 2003-03-25  Angus Leeming  <leeming@lyx.org>
4971
4972         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4973
4974 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * text2.C:
4977         * text3.C: remove useless row->height(0)
4978
4979 2003-03-25  John Levon  <levon@movementarian.org>
4980
4981         * lyxtext.h:
4982         * text2.C:
4983         * text3.C: rename the refreshing stuff to better names
4984
4985 2003-03-24  John Levon  <levon@movementarian.org>
4986
4987         * BufferView_pimpl.h:
4988         * BufferView_pimpl.C: update layout choice on a mouse
4989         press/release
4990
4991 2003-03-23  John Levon  <levon@movementarian.org>
4992
4993         * Makefile.am: fix commandtags.h reference
4994
4995 2003-03-22  John Levon  <levon@movementarian.org>
4996
4997         * BufferView_pimpl.C:
4998         * lyxtext.h:
4999         * rowpainter.C:
5000         * rowpainter.h:
5001         * text.C:
5002         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5003
5004 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5005
5006         * lyxtext.h:
5007         * text.C: take the rtl methods out of line
5008
5009 2003-03-21 André Pönitz <poenitz@gmx.net>
5010
5011         * metricsinfo.[Ch]: new files containing structures to be passed around
5012         during the two-phase-drawing...
5013
5014 2003-03-21 André Pönitz <poenitz@gmx.net>
5015
5016         * lyxtextclass.C: read 'environment' tag.
5017
5018 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * text2.C (removeRow): fix bug 964
5021
5022 2003-03-20  John Levon  <levon@movementarian.org>
5023
5024         * rowpainter.C:
5025         * text.C:
5026         * text2.C: paint cleanups. Inset::update() dropped font
5027         parameter
5028
5029 2003-03-19  John Levon  <levon@movementarian.org>
5030
5031         * lyxfunc.C: only fitcursor/markDirty if available()
5032
5033 2003-03-19  John Levon  <levon@movementarian.org>
5034
5035         * commandtags.h: rename to ...
5036
5037         * lfuns.h: ... this, and renumber / cleanup
5038
5039 2003-03-19  John Levon  <levon@movementarian.org>
5040
5041         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5042         fit the cursor after an lfun
5043
5044         * BufferView.h:
5045         * BufferView.C:
5046         * BufferView_pimpl.h:
5047         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5048
5049         * LyXAction.C: layout-character should have ReadOnly
5050
5051         * ParagraphParameters.C:
5052         * buffer.C:
5053         * bufferview_funcs.C:
5054         * lyx_cb.C:
5055         * lyxfind.C:
5056         * lyxtext.h:
5057         * text.C:
5058         * text2.C:
5059         * text3.C:
5060         * undo_funcs.C: changes from above
5061
5062 2003-03-18  John Levon  <levon@movementarian.org>
5063
5064         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5065         remove it from update()
5066
5067         * lyxfunc.C: update layout choice after an lfun
5068
5069         * text3.C: remove extra updateLayoutChoice()s
5070
5071 2003-03-18  John Levon  <levon@movementarian.org>
5072
5073         * text.C: top_y change means full repaint, fix
5074         a drawing bug with cursor movement
5075
5076 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * lyxtext.h:
5079         * text.C:
5080         * text2.C: anchor row on setCursor
5081
5082 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5083
5084         * lyxtext.h: remove almost all mutable keywords
5085         * text.C:
5086         * text2.C:
5087         * text3.C: remove const keywords accordingly
5088
5089 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5092         anon namespace
5093         (TeXEnvironment): ditto
5094         (TeXOnePar): ditto
5095
5096 2003-03-17  John Levon  <levon@movementarian.org>
5097
5098         * text.C (rowBreakPoint): remove attempt to fix displayed
5099         math insets inside a manual label
5100
5101 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * lyxtext.h: remove BufferView* as first arg from almost all class
5104         functions.
5105         * other files: adjust.
5106
5107 2003-03-17  John Levon  <levon@movementarian.org>
5108
5109         * lyxtext.h:
5110         * undo_funcs.C:
5111         * text2.C: more paint cleanups
5112
5113         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5114
5115         * rowpainter.h:
5116         * rowpainter.C: remove "smart" background painting code
5117
5118 2003-03-16  John Levon  <levon@movementarian.org>
5119
5120         * lyxtext.h:
5121         * text.C:
5122         * text2.C:
5123         * text3.C: add helper functions for setting refresh_row/y
5124
5125 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5126
5127         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5128         newline inset which *can* get inserted in the pass_thru layouts.
5129         This is primarily for literate documents.
5130
5131 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5132
5133         * buffer.C: increment LYX_FORMAT to 223
5134
5135 2003-03-14 André Pönitz <poenitz@gmx.net>
5136
5137         * textclass.h: prepare for environment handling, ws changes
5138         * lyxlayout.C: read latexheader and latexfooter tags
5139
5140 2003-03-14  John Levon  <levon@movementarian.org>
5141
5142         * text2.C: rewrite ::status() a bit
5143
5144 2003-03-13  John Levon  <levon@movementarian.org>
5145
5146         * lyxtext.h: add some docs
5147
5148 2003-03-13  John Levon  <levon@movementarian.org>
5149
5150         * lyxtext.h:
5151         * text.C:
5152         * text2.C:
5153         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5154
5155 2003-03-13  John Levon  <levon@movementarian.org>
5156
5157         * text3.C: fix appendix redrawing
5158
5159 2003-03-13  John Levon  <levon@movementarian.org>
5160
5161         * text.C (setHeightOfRow):
5162         * rowpainter.h:
5163         * rowpainter.C: make appendix mark have the text
5164           "Appendix" so the user knows what it is
5165
5166         * LColor.h:
5167         * LColor.C: s/appendixline/appendix/ from above
5168
5169 2003-03-13  John Levon  <levon@movementarian.org>
5170
5171         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5172
5173         * text.C: fix a getChar(pos) bug properly
5174
5175 2003-03-13  Angus Leeming  <leeming@lyx.org>
5176
5177         * commandtags.h:
5178         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5179         Probably only temporary. Let's see how things pan out.
5180
5181         * BufferView.C (unlockInset):
5182         * BufferView_pimpl.C (fitCursor):
5183         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5184
5185         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5186         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5187
5188         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5189         new functions that convert ParagraphParameters to and from a string.
5190
5191         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5192         BufferView::Pimpl's dispatch.
5193         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5194
5195 2003-03-13 André Pönitz <poenitz@gmx.net>
5196
5197         * lyxfunc.C:
5198         * text3.C:
5199         * factory.C: make it aware of InsetEnv
5200
5201 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * text2.C (setCursor): never ask for one past last
5204         (setCursor): add some debugging messages.
5205
5206         * text.C (singleWidth): never ask for one past last
5207         (singleWidth): ditto
5208         (leftMargin): ditto
5209         (rightMargin): ditto
5210         (rowBreakPoint): ditto
5211         (setHeightOfRow): ditto
5212         (prepareToPrint): ditto
5213
5214         * rowpainter.C (paintBackground): never ask for one past last
5215         (paintText): never ask for one past last
5216
5217         * paragraph_pimpl.C (getChar): make the assert stricter, never
5218         allow the one past last pos to be taken
5219
5220         * paragraph.C (getChar): ws changes only
5221
5222         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5223         (numberOfSeparators): ditto
5224         (numberOfHfills): ditto
5225
5226 2003-03-12  John Levon  <levon@movementarian.org>
5227
5228         * author.h:
5229         * author.C:
5230         * bufferparams.h:
5231         * bufferparams.C:
5232         * paragraph_funcs.C: fix per-buffer authorlists
5233
5234 2003-03-12  John Levon  <levon@movementarian.org>
5235
5236         * text.C: fix newline in right address
5237
5238 2003-03-12  Angus Leeming  <leeming@lyx.org>
5239
5240         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5241         duplicate those in LyXFunc::dispatch.
5242
5243         * commandtags.h:
5244         * LyXAction.C:
5245         * ToolbarDefaults.C:
5246         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5247         Add LFUN_FONTFREE_UPDATE.
5248
5249         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5250         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5251
5252         * bufferview_func.[Ch]: several new functions to facilliate
5253         transfer of data to and from the character dialog.
5254
5255 2003-03-12  John Levon  <levon@movementarian.org>
5256
5257         * buffer.C:
5258         * paragraph.h:
5259         * paragraph.C:
5260         * paragraph_funcs.C:
5261         * paragraph_pimpl.C:
5262         * sgml.C:
5263         * tabular.C:
5264         * text.C:
5265         * text3.C: remove META_NEWLINE in favour of an inset
5266
5267         * rowpainter.h:
5268         * rowpainter.C: remove paintNewline (done by inset)
5269
5270 2003-03-12  John Levon  <levon@movementarian.org>
5271
5272         * paragraph_pimpl.C: complain about bad getChar()s
5273         for a while at least
5274
5275 2003-03-12  John Levon  <levon@movementarian.org>
5276
5277         * buffer.h:
5278         * buffer.C: move paragraph read into a separate function,
5279         a little renaming to reflect that.
5280
5281         * bufferparams.h:
5282         * bufferparams.C: remove the author_ids map, not necessary now
5283
5284         * factory.h:
5285         * factory.C: moved Buffer::readInset to here
5286
5287         * paragraph_funcs.h:
5288         * paragraph_funcs.C: readParagraph free function moved from
5289         buffer.C
5290
5291         * tabular.C: name change
5292
5293 2003-03-12  John Levon  <levon@movementarian.org>
5294
5295         * buffer.C:
5296         * ParagraphParameters.C: move par params input to
5297         a read() method
5298
5299         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5300         behave like a normal read from the stream wrt reading
5301         a line vs. a \\token
5302
5303 2003-03-12  John Levon  <levon@movementarian.org>
5304
5305         * paragraph.C:
5306         * ParagraphParameters.h:
5307         * ParagraphParameters.C: move output code to a
5308         ::write() method
5309
5310 2003-03-12  John Levon  <levon@movementarian.org>
5311
5312         * BufferView.C (insertLyXFile):
5313         * buffer.h:
5314         * buffer.C:
5315         * tabular.C: use a parlist iterator for creating the
5316           document.
5317
5318 2003-03-12  John Levon  <levon@movementarian.org>
5319
5320         * buffer.C: make current_change static local not
5321           static file-scope
5322
5323 2003-03-12  John Levon  <levon@movementarian.org>
5324
5325         * buffer.C: fix insertStringAsLines for change tracking
5326
5327 2003-03-12  John Levon  <levon@movementarian.org>
5328
5329         * BufferView.C:
5330         * tabular.C:
5331         * buffer.h:
5332         * buffer.C:
5333         * bufferparams.h:
5334         * bufferparams.C: move author list into params. Rename some
5335           functions. Move the header reading into a separate token
5336           loop. Move the header token reading into BufferParams.
5337
5338 2003-03-12  John Levon  <levon@movementarian.org>
5339
5340         * changes.C: put debug inside lyxerr.debugging() checks
5341
5342 2003-03-11 André Pönitz <poenitz@gmx.net>
5343
5344         * factory.C: make it aware of InsetHFill
5345
5346 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5347
5348         * buffer.C (latexParagraphs): move function from here...
5349         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5350         args.
5351
5352 2003-03-10  Angus Leeming  <leeming@lyx.org>
5353
5354         * LyXAction.C (init): fix bug in poplating array with multiple entries
5355         with the same LFUN (spotted by JMarc).
5356
5357 2003-03-10  John Levon  <levon@movementarian.org>
5358
5359         * text.C:
5360         * text2.C: move getColumnNearX() near its
5361         only call site
5362
5363 2003-03-10  John Levon  <levon@movementarian.org>
5364
5365         * text.C: fix break before a minipage
5366
5367 2003-03-10  John Levon  <levon@movementarian.org>
5368
5369         * text.C: fix the last commit
5370
5371 2003-03-09  John Levon  <levon@movementarian.org>
5372
5373         * lyxtext.h:
5374         * text.C:
5375         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5376         bug 365 (don't break before insets unless needed). Don't
5377         return a value > last under any circumstances.
5378
5379 2003-03-09  Angus Leeming  <leeming@lyx.org>
5380
5381         * BufferView_pimpl.C (trackChanges, dispatch): call
5382         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5383
5384 2003-03-09  Angus Leeming  <leeming@lyx.org>
5385
5386         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5387         than Dialogs::showAboutlyx().
5388
5389 2003-03-09  Angus Leeming  <leeming@lyx.org>
5390
5391         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5392         than Dialogs::showTabularCreate().
5393
5394 2003-03-09  John Levon  <levon@movementarian.org>
5395
5396         * lyxtext.h:
5397         * text.C:
5398         * text2.C: 3rd arg to nextBreakPoint was always the same.
5399           Use references.
5400
5401 2003-03-08  John Levon  <levon@movementarian.org>
5402
5403         * lyxrow.C:
5404         * paragraph.C:
5405         * paragraph.h:
5406         * rowpainter.C:
5407         * text.C:
5408         * text2.C: Remove the "main" bit from the "main body"
5409           notion.
5410
5411 2003-03-08  John Levon  <levon@movementarian.org>
5412
5413         * text.C (leftMargin): The left margin of an empty
5414         manual label paragraph should not include the label width
5415         string length.
5416
5417         * text.C (prepareToPrint): don't attempt to measure hfills
5418         for empty manual label paragraphs - the answer should be 0
5419
5420 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * CutAndPaste.C: remove commented code and reindent.
5423
5424 2003-03-08  John Levon  <levon@movementarian.org>
5425
5426         * lyxfunc.h:
5427         * lyxfunc.C: move reloadBuffer()
5428
5429         * BufferView.h:
5430         * BufferView.C: to here
5431
5432         * lyxvc.C: add comment
5433
5434         * vc-backend.h:
5435         * vc-backend.C: call bv->reload() to avoid
5436           getStatus() check on MENURELOAD
5437
5438 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5439
5440         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5441         to an old format .dep file.
5442
5443 2003-03-07  Angus Leeming  <leeming@lyx.org>
5444
5445         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5446         when the LFUN_MOUSE_RELEASE should have been handled by
5447         inset->localDispatch.
5448
5449 2003-03-07  Angus Leeming  <leeming@lyx.org>
5450
5451         * BufferView_pimpl.C (dispatch):
5452         * LyXAction.C (init):
5453         * ToolbarDefaults.C (init):
5454         * commandtags.h:
5455         * lyxfunc.C (getStatus):
5456         remove LFUN_INSET_GRAPHICS.
5457
5458         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5459
5460 2003-03-07  Angus Leeming  <leeming@lyx.org>
5461
5462         * commandtags.h:
5463         * LyXAction.C (init):
5464         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5465
5466         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5467
5468         * commandtags.h:
5469         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5470
5471         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5472         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5473
5474 2003-03-07  Angus Leeming  <leeming@lyx.org>
5475
5476         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5477         remove "ert".
5478
5479 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * ParagraphList.C (front): new function
5482         (back): implement
5483
5484 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5485
5486         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5487         and top_row_offset_. removed var first_y.
5488         * text.C (top_y):
5489         * text2.C (LyXText, removeRow):
5490         * text3.C:
5491         * BufferView_pimpl.C:
5492         use these methods instead of using first_y
5493
5494 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * text2.C (pasteSelection): adjust for checkPastePossible
5497
5498         * CutAndPaste.C: remove Paragraph * buf and replace with
5499         ParagraphList paragraphs.
5500         (DeleteBuffer): delete
5501         (cutSelection): change the tc type to textclass_type
5502         (copySelection): change the tc type to textclass_type
5503         (copySelection): adjust for ParagraphList
5504         (pasteSelection): change the tc type to textclass_type
5505         (pasteSelection): adjust for Paragraphlist
5506         (nrOfParagraphs): simplify for ParagraphList
5507         (checkPastePossible): simplify for ParagraphList
5508         (checkPastePossible): remove unused arg
5509
5510         * ParagraphList.C (insert): handle the case where there are no
5511         paragraphs yet.
5512
5513         * CutAndPaste.h: make CutAndPaste a namespace.
5514
5515         * text3.C (dispatch): adjust
5516
5517         * text.C (breakParagraph): add a ParagraphList as arg
5518
5519         * paragraph_funcs.C (breakParagraph): change to take a
5520         BufferParams and a ParagraphList as args.
5521         (breakParagraphConservative): ditto
5522         (mergeParagraph): ditto
5523         (TeXDeeper): add a ParagraphList arg
5524         (TeXEnvironment): ditto
5525         (TeXOnePar): ditto
5526
5527         * buffer.C (readLyXformat2): adjust
5528         (insertStringAsLines): adjust
5529         (latexParagraphs): adjust
5530
5531         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5532         (cutSelection): adjust
5533         (pasteSelection): adjust
5534
5535         * BufferView_pimpl.C (insertInset): adjust
5536
5537 2003-03-05  Angus Leeming  <leeming@lyx.org>
5538
5539         * commandtags.h:
5540         * LyXAction.C (init):
5541         * BufferView_pimpl.C (dispatch):
5542         * lyxfunc.C (getStatus):
5543         remove LFUN_CHILD_INSERT.
5544
5545         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5546
5547 2003-03-05  Angus Leeming  <leeming@lyx.org>
5548
5549         * commandtags.h:
5550         * LyXAction.C (init):
5551         * src/factory.C (createInset):
5552         * lyxfunc.C (getStatus):
5553         * text3.C (dispatch):
5554         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5555
5556         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5557
5558 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * ParagraphList.C (insert): handle insert right before end()
5561         (erase): fix cases where it can be first or last paragraph.
5562
5563 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5566         Paragraph::next and Paragraph::previous
5567         (TeXOnePar): ditto
5568
5569         * text.C (breakParagraph): adjust
5570
5571         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5572         BufferParams& as arg.
5573         (breakParagraph): use ParagraphList::insert
5574         (breakParagraphConservative): take a Buffer* instead of a
5575         BufferParams& as arg.
5576         (breakParagraphConservative): use ParagraphList::insert.
5577
5578         * buffer.C (insertStringAsLines): un-const it
5579         (insertStringAsLines): adjust
5580
5581         * ParagraphList.C (insert): new function
5582
5583         * CutAndPaste.C (pasteSelection): adjust
5584
5585         * text.C (backspace): adjust
5586
5587         * tabular.C (SetMultiColumn): adjust
5588
5589         * CutAndPaste.C (cutSelection): adjust
5590         (pasteSelection): adjust
5591
5592         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5593         Buffer const * as arg
5594
5595         * ParagraphList.C (erase): new function
5596         * paragraph_funcs.C (mergeParagraph): use it
5597         (mergeParagraph): make it take a Buffer* instead of a
5598         BufferParams* as arg
5599
5600         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5601         as arg
5602         (breakParagraphConservative): ditto
5603
5604         * paragraph.h: remove the breakParagraph friend
5605
5606         * paragraph.C (eraseIntern): new function
5607         (setChange): new function
5608
5609         * paragraph_funcs.C (mergeParagraph): make it take a
5610         ParagraphList::iterator instead of a Paragraph *, adjust
5611         accordingly.
5612
5613         * paragraph.h: move an #endif so that the change tracking stuff
5614         also works in the NO_NEXT case.
5615
5616 2003-03-04  Angus Leeming  <leeming@lyx.org>
5617
5618         * commandtags.h:
5619         * LyXAction.C: new LFUN_INSET_MODIFY.
5620
5621         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5622         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5623
5624 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * several files: ws changes only
5627
5628         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5629         (TeXEnvironment): ditto
5630         (TeXDeeper): ditto
5631
5632         * buffer.C (makeLaTeXFile): adjust
5633         (latexParagraphs): make it take ParagraphList::iterator as args
5634
5635 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * buffer.C (latexParagraphs): adjust
5638
5639         * paragraph.C (TeXOnePar): move function...
5640         (optArgInset): move function...
5641         (TeXEnvironment): move function...
5642         * paragraph_pimpl.C (TeXDeeper): move function...
5643         * paragraph_funcs.C: ...here
5644
5645         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5646
5647 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * buffer.C (readInset): remove compability code for old Figure and
5650         InsetInfo insets
5651
5652 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * buffer.C: ws changes
5655         (readInset):
5656
5657         * BufferView_pimpl.C: ditto
5658         * author.C: ditto
5659         * buffer.h: ditto
5660         * bufferlist.h: ditto
5661         * changes.h: ditto
5662         * lyxfunc.C: ditto
5663
5664 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5665
5666         * converter.[Ch]: split into itself +
5667         * graph.[Ch]
5668         * format.[Ch]
5669         * Makefile.am: += graph.[Ch] + format.[Ch]
5670         * MenuBackend.C
5671         * buffer.C
5672         * exporter.C
5673         * importer.C
5674         * lyx_main.C
5675         * lyxfunc.C
5676         * lyxrc.C: added #include "format.h"
5677
5678 2003-02-27  Angus Leeming  <leeming@lyx.org>
5679
5680         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5681           a label.
5682
5683         * factory.C (createInset): add "label" to the factory.
5684
5685         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5686           string and do no more.
5687
5688 2003-02-27  Angus Leeming  <leeming@lyx.org>
5689
5690         * commandtags.h:
5691         * LyXAction.C (init):
5692         * factory.C (createInset):
5693         * BufferView_pimpl.C (dispatch):
5694           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5695
5696         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5697
5698         * lyxfunc.C (dispatch):
5699         * text3.C (dispatch): pass name to params2string.
5700
5701 2003-02-26  Angus Leeming  <leeming@lyx.org>
5702
5703         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5704           blocks together.
5705           Rearrange the ~includes. Strip out the unnecessary ones.
5706
5707         * factory.C (createInset): reformat.
5708           create new insets for the various LFUN_XYZ_APPLY lfuns.
5709
5710 2003-02-26  John Levon  <levon@movementarian.org>
5711
5712         * lyxrow.h:
5713         * lyxrow.C: add isParStart,isParEnd helpers
5714
5715         * paragraph.h: make isInserted/DeletedText take refs
5716
5717         * paragraph_funcs.h:
5718         * paragraph_funcs.C: remove #if 0'd code
5719
5720         * lyxtext.h:
5721         * text3.C:
5722         * text2.C:
5723         * text.C: use lyxrow helpers above.
5724           Move draw and paint routines to RowPainter.
5725           Make several methods use refs not pointers.
5726           Make backgroundColor() const.
5727           Add markChangeInDraw(), isInInset().
5728           Merge changeRegionCase into changeCase.
5729           Make workWidth() shouldn't-happen code into an Assert.
5730
5731         * rowpainter.h:
5732         * rowpainter.C: new class for painting a row.
5733
5734         * vspace.h:
5735         * vspace.C: make inPixels take a ref
5736
5737 2003-02-26  Angus Leeming  <leeming@lyx.org>
5738
5739         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5740         LFUN_REF_APPLY.
5741
5742 2003-02-25  John Levon  <levon@movementarian.org>
5743
5744         * ispell.C: give the forked command a more accurate name
5745
5746 2003-02-22  John Levon  <levon@movementarian.org>
5747
5748         * toc.h:
5749         * toc.C: make TocItem store an id not a Paragraph *
5750           (bug #913)
5751
5752 2003-02-21  Angus Leeming  <leeming@lyx.org>
5753
5754         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5755           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5756           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5757           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5758           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5759           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5760
5761         * BufferView_pimpl.C (dispatch):
5762         * LyXAction.C (init):
5763         * factory.C (createInset):
5764         * lyxfunc.C (getStatus, dispatch):
5765         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5766
5767 2003-02-21  Angus Leeming  <leeming@lyx.org>
5768
5769         * BufferView_pimpl.C (MenuInsertLyXFile):
5770         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5771         * lyxfunc.C (menuNew, open, doImport):
5772           no longer pass a LyXView & to fileDlg.
5773
5774 2003-02-21  Angus Leeming  <leeming@lyx.org>
5775
5776         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5777         * LyXAction.C: change, BIBKEY to BIBITEM.
5778         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5779         Change InsetBibKey to InsetBibitem.
5780         Change BIBKEY_CODE to BIBITEM_CODE.
5781         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5782         * factory.C: replace insetbib.h with insetbibitem.h.
5783         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5784         * paragraph.C: replace insetbib.h with insetbibitem.h.
5785         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5786         Change bibkey() to bibitem().
5787         * text.C: remove insetbib.h.
5788         * text2.C: replace insetbib.h with insetbibitem.h.
5789         change bibkey() to bibitem().
5790         * text3.C: remove insetbib.h.
5791         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5792
5793 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5794
5795         * lyxrc.C (output): enclose user email in quotes (in case there are
5796         several words)
5797
5798 2003-02-18  John Levon  <levon@movementarian.org>
5799
5800         * buffer.h: add std::
5801
5802 2003-02-17  John Levon  <levon@movementarian.org>
5803
5804         * SpellBase.h:
5805         * ispell.h:
5806         * ispell.C:
5807         * pspell.h:
5808         * pspell.C: reworking. Especially in ispell, a large
5809           number of clean ups and bug fixes.
5810
5811         * lyxfunc.C: fix revert to behave sensibly
5812
5813 2003-02-17 André Pönitz <poenitz@gmx.net>
5814
5815         * LyXAction.C:
5816         * commandtags.h: new LFUN_INSERT_BIBKEY
5817
5818         * layout.h:
5819         * lyxlayout.C:
5820         * buffer.C:
5821         * factory.C:
5822         * text.C:
5823         * text2.C:
5824         * text3.C:
5825         * paragraph.[Ch]:
5826         * paragraph_func.C: remove special bibkey handling
5827
5828 2003-02-17  John Levon  <levon@movementarian.org>
5829
5830         * text.C (Delete): fix case where delete at the end of
5831           the very first paragraph would not merge the pars
5832
5833 2003-02-17  John Levon  <levon@movementarian.org>
5834
5835         * lyxrow.C: fix lastPrintablePos()
5836
5837 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5838
5839         * bufferparams.C (writeLaTeX): add a std:here
5840
5841         * buffer.C: and remove a using directive there
5842
5843 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5844
5845         * buffer.C (makeLaTeXFile): move the code that generates the
5846           preamble...
5847
5848         * bufferparams.C (writeLaTeX): ... in this new method
5849
5850         * LaTeXFeatures.C (getEncodingSet): make const
5851           (getLanguages): make const
5852
5853         * MenuBackend.C (binding): returns the binding associated to this
5854           action
5855           (add): sets the status of each item by calling getStatus. Adds
5856           some intelligence.
5857           (read): add support for OptSubMenu
5858           (expand): remove extra separator at the end of expanded menu
5859
5860 2003-02-15  John Levon  <levon@movementarian.org>
5861
5862         * BufferView.C:
5863         * BufferView_pimpl.C:
5864         * bufferlist.h:
5865         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5866           inset code that had no actual effect. Remove unneeded status
5867           code.
5868
5869 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5870
5871         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5872           in preamble
5873
5874 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5875
5876         * text.C (drawLengthMarker): also draw an arrow marker for
5877           symbolic lengths (medskip...)
5878
5879 2003-02-14  John Levon  <levon@movementarian.org>
5880
5881         * tabular.h:
5882         * tabular.C: better method names
5883
5884 2003-02-14  John Levon  <levon@movementarian.org>
5885
5886         * BufferView_pimpl.C:
5887         * bufferlist.C:
5888         * buffer.C:
5889         * converter.C:
5890         * lyx_cb.C:
5891         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5892           it's a more accurate name. Remove some pointless uses.
5893
5894 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5895
5896         * text2.C (LyXText): change order of initilizers to shut off
5897           warnings
5898
5899 2003-02-14  John Levon  <levon@movementarian.org>
5900
5901         * buffer.C: use ParIterator for getParFromID()
5902
5903         * paragraph.h:
5904         * paragraph.C:
5905         * paragraph_pimpl.h:
5906         * paragraph_pimpl.C: remove unused getParFromID()
5907
5908 2003-02-14  John Levon  <levon@movementarian.org>
5909
5910         * buffer.C: remove some very old #if 0'd parse code
5911
5912 2003-02-13  John Levon  <levon@movementarian.org>
5913
5914         * text.h:
5915         * text.C:
5916         * text2.C: move hfillExpansion(), numberOfSeparators(),
5917           rowLast(), rowLastPrintable(), numberofHfills(),
5918           numberOfLabelHfills() ...
5919
5920         * lyxrow.h:
5921         * lyxrow.C: ... to member functions here.
5922
5923         * paragraph.h:
5924         * paragraph.C:
5925         * lyxtext.h:
5926         * text.C: remove LyXText::beginningOfMainBody(), and call
5927           p->beginningOfMainBody() directly. Move the check for
5928           LABEL_MANUAL into the latter.
5929
5930         * text.h:
5931         * text.C:
5932         * text2.C:
5933         * vspace.C:
5934         * BufferView.h:
5935         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5936
5937         * text.h:
5938         * text.C:
5939         * text2.C:
5940         * text3.C:
5941         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5942           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5943
5944 2003-02-13  John Levon  <levon@movementarian.org>
5945
5946         * CutAndPaste.C: remove debug
5947
5948 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5949
5950         * paragraph.C (asString): remove two unused variables
5951
5952         * lyxtextclass.C (readTitleType):
5953           (Read):
5954           (LyXTextClass): handle new members titletype_ and titlename_
5955
5956         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5957
5958 2003-02-09  John Levon  <levon@movementarian.org>
5959
5960         * buffer.h:
5961         * buffer.C: replace hand-coded list with a map for the dep clean
5962
5963 2003-02-08  John Levon  <levon@movementarian.org>
5964
5965         * LaTeX.C: consolidate code into showRunMessage() helper
5966
5967 2003-02-08  John Levon  <levon@movementarian.org>
5968
5969         * lyxfind.C:
5970         * lyxtext.h:
5971         * text2.C:
5972         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5973           and pass the size in explicitly
5974
5975         * BufferView_pimpl.h:
5976         * BufferView_pimpl.C:
5977         * BufferView.h:
5978         * BufferView.C: add getCurrentChange()
5979
5980         * BufferView_pimpl.h:
5981         * BufferView_pimpl.C: handle change lfuns
5982
5983         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5984           for changes. Mark pasted paragraphs as new.
5985
5986         * support/lyxtime.h:
5987         * support/lyxtime.C:
5988         * DepTable.C: abstract time_t as lyx::time_type
5989
5990         * LColor.h:
5991         * LColor.C: add colours for new text, deleted text, changebars
5992
5993         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5994           package use "usenames" option.
5995
5996         * commandtags.h:
5997         * lyxfunc.C:
5998         * LyXAction.C: add change lfuns
5999
6000         * Makefile.am:
6001         * author.h:
6002         * author.C: author handling
6003
6004         * buffer.h:
6005         * buffer.C: add a per-buffer author list, with first entry as
6006           current author. Handle new .lyx tokens for change tracking. Output
6007           author list to .lyx file. Output dvipost stuff to .tex preamble.
6008           Bump lyx format to 222.
6009
6010         * bufferlist.h:
6011         * bufferlist.C: add setCurrentAuthor() to reset current author details
6012           in all buffers.
6013
6014         * bufferparams.h:
6015         * bufferparams.C: add param for tracking
6016
6017         * bufferview_funcs.C: output change info in minibuffer
6018
6019         * Makefile.am:
6020         * changes.h:
6021         * changes.C: add change-tracking structure
6022
6023         * debug.h:
6024         * debug.C: add CHANGES debug flag
6025
6026         * lyxfind.h:
6027         * lyxfind.C: add code for finding the next change piece
6028
6029         * lyxrc.h:
6030         * lyxrc.C: add user_name and user_email
6031
6032         * lyxrow.h:
6033         * lyxrow.C: add a metric for the top of the text line
6034
6035         * lyxtext.h:
6036         * text.C: implement accept/rejectChange()
6037
6038         * lyxtext.h:
6039         * text.C: paint changebars. Paint new/deleted text in the chosen
6040         colours. Strike through deleted text.
6041
6042         * paragraph.h:
6043         * paragraph.C:
6044         * paragraph_pimpl.h:
6045         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6046           in the current change to the insert functions. Rework erase to
6047           mark text as deleted, adding an eraseIntern() and a range-based
6048           erase(). Implement per-paragraph change lookup and
6049           accept/reject.
6050
6051         * paragraph_funcs.C: Fixup paste for change tracking.
6052
6053         * tabular.C: mark added row/columns as new.
6054
6055         * text.C: fix rowLast() to never return -1. Don't allow
6056           spellchecking of deleted text. Track transpose changes. Don't
6057           allow paragraph break or merge where appropriate.
6058
6059         * text2.C: leave cursor at end of selection after a cut.
6060
6061 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6062
6063         * text.C (getLengthMarkerHeight):
6064         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6065         visible on screen too.
6066
6067 2003-02-07  John Levon  <levon@movementarian.org>
6068
6069         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6070
6071 2003-02-05  Angus Leeming  <leeming@lyx.org>
6072
6073         * lyxserver.C (read_ready): revert my patch of 11 September last year
6074         as it sends PC cpu through the roof. Presumably this means that
6075         the lyxserver will no longer run on an Alpha...
6076
6077 2003-01-30  Angus Leeming  <leeming@lyx.org>
6078
6079         * factory.C (createInset): create an InsetCommandParam of type "index"
6080         and use it to 'do the right thing'.
6081
6082         * text2.C (getStringToIndex): ensure that cursor position is always
6083         reset to the reset_cursor position.
6084
6085 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6086
6087         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6088         disabled.
6089
6090 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6091
6092         * bufferview.C:
6093         * lyxcb.C:
6094         * lyxfunc.C: Output messages with identical spelling, punctuation,
6095         and spaces
6096
6097 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6098
6099         * MenuBackend.C (expandFormats): List only viewable export formats
6100         in "View" menu
6101
6102         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6103         message
6104
6105         * lyxfunc.C (getStatus): Make sure that formats other than
6106         "fax" can also be disabled
6107
6108 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6109
6110         * text3.C (dispatch): put the lfuns that insert insets in 3
6111         groups, and call doInsertInset with appropriate arguments.
6112         (doInsertInset): new function, that creates an inset and inserts
6113         it according to some boolean parameters.
6114
6115 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * buffer.C (readFile): remember to pass on 'par' when calling
6118         readFile recursively.
6119
6120 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6121
6122         * MenuBackend.C (expandFormats): add "..." to import formats.
6123
6124 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6125
6126         * paragraph.C (asString): Remove XForms RTL hacks.
6127
6128 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6129         * buffer.C: fix typo
6130
6131 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * Makefile.am (LIBS): delete var
6134         (lyx_LDADD): add @LIBS@ here instead.
6135
6136 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6137
6138         * Clarify the meaning of "wheel mouse jump"
6139
6140 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6143         tabular in a float
6144
6145 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6146
6147         * importer.C (Loaders): do not preallocate 3 elements in the
6148         vector, since one ends up with 6 elements otherwise
6149
6150 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6151
6152         * DepTable.C (write): write the file name as last element of the
6153         .dep file (because it may contain spaces)
6154         (read): read info in the right order
6155
6156 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6157
6158         * paragraph_pimpl.C (simpleTeXBlanks):
6159         (simpleTeXSpecialChars):
6160         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6161
6162         * tabular.C (latex): add some missing case statements. Reindent.
6163
6164         * MenuBackend.C (expandToc): remove unused variable.
6165
6166 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6167
6168         * LColor.C:
6169         * LaTeX.C:
6170         * LyXAction.C:
6171         * MenuBackend.C:
6172         * buffer.C:
6173         * exporter.C:
6174         * lyxfunc.C:
6175         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6176         and the like.
6177
6178 2003-01-05  John Levon  <levon@movementarian.org>
6179
6180         * BufferView.h:
6181         * BufferView.C: add getEncoding()
6182
6183         * kbsequence.h:
6184         * kbsequence.C: do not store last keypress
6185
6186         * lyxfunc.h:
6187         * lyxfunc.C: store last keypress here instead. Pass encoding
6188           to getISOEncoded()
6189
6190 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6191
6192         * lyx_main.C (init): remove annoying error message when following
6193         symbolic links (bug #780)
6194
6195 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6196
6197         * text.C (insertChar):
6198         * lyxrc.C (getDescription): remove extra spaces
6199
6200 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6201
6202         * lyxrc.C (getDescription): remove extra spaces
6203
6204 2002-12-20  John Levon  <levon@movementarian.org>
6205
6206         * text3.C: hack fix for page up/down across tall rows
6207
6208 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6209
6210         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6211         not been invoked
6212
6213 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6214
6215         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6216         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6217         thesaurus is not compiled in
6218
6219 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6220
6221         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6222
6223 2002-12-16  Angus Leeming  <leeming@lyx.org>
6224
6225         * lyxrc.[Ch]:
6226         * lyx_main.C (init): remove override_x_deadkeys stuff.
6227
6228 2002-12-12  John Levon  <levon@movementarian.org>
6229
6230         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6231           insert. Only remove shift modifier under strict
6232           circumstances.
6233
6234 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * MenuBackend.C (expandToc): fix crash.
6237
6238 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * MenuBackend.C (expandToc): gettext on float names.
6241
6242 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6243
6244         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6245         implement bool empty() [bug 490]
6246
6247 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6250
6251 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * several files: ws changes
6254
6255 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * text2.C (setCounter): clean up a bit, use boost.format.
6258         (updateCounters): initialize par upon declaration.
6259
6260         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6261         if the layout exists. We do not just store the layout any more.
6262         (SwitchLayoutsBetweenClasses): use boost.format
6263
6264 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * converter.C (convert): if from and to files are the same, use a
6267         temporary files as intermediary
6268
6269 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6270
6271         * commandtags.h:
6272         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6273
6274 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6275
6276         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6277
6278 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * tabular.C (asciiPrintCell): use string(size, char) instead of
6281         explicit loop.
6282
6283         * sgml.C (openTag): fix order of arguments to string constructor
6284         (closeTag): ditto
6285
6286         * lyxfunc.C (dispatch): use boost.format
6287
6288         * lots of files: change "c" -> 'c'
6289
6290 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6291
6292         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6293
6294 2002-11-25  Angus Leeming  <leeming@lyx.org>
6295
6296         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6297
6298         * lyx_main.C (init): compile fix.
6299
6300 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * lyx_cb.C (start): boost.formatify
6303         do not include <iostream>
6304
6305         * lengthcommon.C: ws only
6306
6307         * boost-inst.C,BoostFormat.h: add more explict instantations
6308
6309 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * lots of files: handle USE_BOOST_FORMAT
6312
6313 2002-11-21  John Levon  <levon@movementarian.org>
6314
6315         * pspell.C: fix compile
6316
6317 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6318
6319         * lyxfunc.C (dispatch): use boost::format
6320         (open): ditto
6321         (doImport): ditto
6322
6323         * lyxfont.C (stateText): use boost::format
6324
6325         * lyx_main.C (LyX): use boost::format
6326         (init): ditto
6327         (queryUserLyXDir): ditto
6328         (readRcFile): ditto
6329         (parse_dbg): ditto
6330         (typedef boost::function): use the recommened syntax.
6331
6332         * importer.C (Import): use boost::format
6333
6334         * debug.C (showLevel): use boost::format
6335
6336         * converter.C (view): use boost::format
6337         (convert): ditto
6338         (move): ditto
6339         (scanLog): ditto
6340
6341         * bufferview_funcs.C (currentState): use boost::format
6342
6343         * bufferlist.C (emergencyWrite): use boost::format
6344
6345         * buffer.C (readLyXformat2): use boost::format
6346         (parseSingleLyXformat2Token): ditto
6347
6348         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6349
6350         * LaTeX.C (run): use boost::format
6351
6352         * Chktex.C (scanLogFile): use boost::format
6353
6354         * BufferView_pimpl.C (savePosition): use boost::format
6355         (restorePosition): ditto
6356         (MenuInsertLyXFile): ditto
6357
6358         * BoostFormat.h: help file for explicit instation.
6359
6360 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6361
6362         * tabular.C (latex): Support for block alignment in fixed width
6363         columns.
6364
6365 2002-11-17  John Levon  <levon@movementarian.org>
6366
6367         * BufferView_pimpl.C:
6368         * lyx_cb.C:
6369         * lyxfunc.C: split filedialog into open/save
6370
6371 2002-11-08  Juergen Vigna  <jug@sad.it>
6372
6373         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6374         by my last patch (hopefully).
6375
6376 2002-11-08  John Levon  <levon@movementarian.org>
6377
6378         * iterators.h:
6379         * iterators.C:
6380         * buffer.h:
6381         * buffer.C:
6382         * paragraph.h:
6383         * paragraph.C:
6384         * toc.h:
6385         * toc.C: ParConstIterator, and use it (from Lars)
6386
6387 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6388
6389         * lyxtextclass.[Ch]: revise and add doxygen comments
6390
6391 2002-11-07  John Levon  <levon@movementarian.org>
6392
6393         * text.C: fix progress value for spellchecker
6394
6395         * toc.C: fix navigate menu for insetwrap inside minipage
6396
6397         * paragraph_funcs.C: added FIXME for suspect code
6398
6399 2002-11-07  John Levon  <levon@movementarian.org>
6400
6401         * BufferView_pimpl.C: fix redrawing of insets
6402           on buffer switch
6403
6404 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6405
6406         * text2.C (updateCounters): fix bug 668
6407
6408 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6409
6410         * text3.C (dispatch): Do not make the buffer dirty when moving the
6411         cursor.
6412
6413 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * vc-backend.C: STRCONV
6416         (scanMaster): ditto
6417
6418         * text2.C (setCounter): STRCONV
6419
6420         * paragraph.C (asString): STRCONV
6421
6422         * lyxlength.C (asString): STRCONV
6423         (asLatexString): ditto
6424
6425         * lyxgluelength.C (asString): STRCONV
6426         (asLatexString): ditto
6427
6428         * lyxfunc.C (dispatch): STRCONV
6429         (open): ditto
6430
6431         * lyxfont.C (stateText): STRCONV
6432
6433         * importer.C (Import): STRCONV
6434
6435         * counters.C (labelItem): STRCONV
6436         (numberLabel): ditto
6437         (numberLabel): remove unused ostringstream o
6438
6439         * chset.C: STRCONV
6440         (loadFile): ditto
6441
6442         * bufferview_funcs.C (currentState): STRCONV
6443
6444         * buffer.C (readFile): STRCONV
6445         (asciiParagraph): ditto
6446         (makeLaTeXFile): ditto
6447
6448         * Spacing.C (writeEnvirBegin): STRCONV
6449
6450         * LaTeXFeatures.C (getLanguages): STRCONV
6451         (getPackages): ditto
6452         (getMacros): ditto
6453         (getBabelOptions): ditto
6454         (getTClassPreamble): ditto
6455         (getLyXSGMLEntities): ditto
6456         (getIncludedFiles): ditto
6457
6458         * LaTeX.C: STRCONV
6459         (run): ditto
6460         (scanAuxFile): ditto
6461         (deplog): ditto
6462
6463         * LString.h: add the STRCONV macros
6464
6465         * BufferView_pimpl.C (savePosition): STRCONV
6466         (restorePosition): ditto
6467         (MenuInsertLyXFile): ditto
6468
6469         * vc-backend.C (scanMaster): change from submatch[...] to
6470         submatch.str(...)
6471
6472         * funcrequest.C: include config.h
6473
6474         * factory.C: include config.h
6475
6476         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6477
6478         * box.C: include config.h
6479
6480         * LaTeX.C (scanAuxFile): change from submatch[...] to
6481         submatch.str(...)
6482         (deplog): ditto
6483
6484 2002-10-25  Angus Leeming  <leeming@lyx.org>
6485
6486         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6487
6488         * ispell.[Ch] (setError): new method.
6489         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6490         Use setError() insetead of goto END.
6491
6492         * lyx_cb.C (AutoSave): move out child process into new class
6493         AutoSaveBuffer.
6494
6495 2002-10-30  John Levon  <levon@movementarian.org>
6496
6497         * text3.C: make start appendix undoable
6498
6499 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6500
6501         * lyxlength.C (inPixels): Fix returned value.
6502
6503         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6504         environment.
6505
6506 2002-10-24  Angus Leeming  <leeming@lyx.org>
6507
6508         * lyxgluelength.h: no need to forward declare BufferParams
6509         or BufferView, so don't.
6510
6511 2002-10-21  John Levon  <levon@movementarian.org>
6512
6513         * BufferView.C: menuUndo ->undo, redo
6514
6515         * BufferView.h: document, remove dead, make some methods private
6516
6517         * paragraph_funcs.h:
6518         * paragraph_funcs.C:
6519         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6520
6521         * buffer.h:
6522         * buffer.C:
6523         * sgml.h:
6524         * sgml.C: move sgml open/close tag into sgml.C
6525
6526         * bufferview_funcs.h: unused prototype
6527
6528         * lyxfunc.h:
6529         * lyxfunc.C: remove unused
6530
6531         * lyxtext.h:
6532         * text.C: remove unused
6533
6534 2002-10-21  John Levon  <levon@movementarian.org>
6535
6536         * BufferView.h:
6537         * BufferView.C:
6538         * BufferView_pimpl.h:
6539         * BufferView_pimpl.C: fix mouse wheel handling based on
6540           patch from Darren Freeman
6541
6542 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6543
6544         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6545
6546 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6547
6548         * lyxlength.C (inPixels): Fix hanfling of negative length.
6549         Fix LyXLength::MU case.
6550
6551 2002-10-16  John Levon  <levon@movementarian.org>
6552
6553         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6554
6555 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6556
6557         * converter.C (view): add support for $$i (file name) and $$p
6558         (file path) for the viewer command. If $$i is not specified, then
6559         it is appended to the command (for compatibility with old syntax)
6560
6561 2002-10-14  Juergen Vigna  <jug@sad.it>
6562
6563         * undo_funcs.C (textHandleUndo): alter the order in which the
6564         new undopar is added to the LyXText, as we have to set first
6565         the right prev/next and then add it as otherwise the rebuild of
6566         LyXText is not correct. Also reset the cursor to the right paragraph,
6567         with this IMO we could remove the hack in "redoParagraphs()".
6568
6569 2002-10-09  Angus Leeming  <leeming@lyx.org>
6570
6571         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6572         to turn off an optimisation if a new inset is to be inserted.
6573
6574 2002-10-11 André Pönitz <poenitz@gmx.net>
6575
6576         * lyxtext.h: make some functions public to allow access
6577         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6578
6579 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6580
6581         * text3.C (dispatch): when changing layout, avoid an infinite loop
6582         [bug #652]
6583
6584 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6585
6586         * lyxrc.C (read): treat a viewer or converter command of "none" as
6587         if it were empty.
6588
6589         * MenuBackend.C (expandFormats): for an update, also allow the
6590         formats that are not viewable
6591
6592         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6593         script if it is newer than the lyxrc.defaults in user directory
6594
6595 2002-10-07 André Pönitz <poenitz@gmx.net>
6596
6597         * text.C: Vitaly Lipatov's small i18n fix
6598
6599 2002-09-25  Angus Leeming  <leeming@lyx.org>
6600
6601         * ispell.h: doxygen fix.
6602
6603 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6604
6605         * buffer.h (readFile): Add a new argument to the method, to allow
6606         reading of old-format templates.
6607
6608 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6609
6610         * toc.C (getTocList): Get TOC from InsetWrap.
6611
6612 2002-09-16  John Levon  <levon@movementarian.org>
6613
6614         * lyxfunc.C: check tabular for cut/copy too
6615
6616 2002-09-12  John Levon  <levon@movementarian.org>
6617
6618         * LyXAction.C: tidy
6619
6620         * factory.h:
6621         * factory.C: add header
6622
6623         * paragraph_funcs.h:
6624         * paragraph_funcs.C: cleanup
6625
6626 2002-09-11  John Levon  <levon@movementarian.org>
6627
6628         * PrinterParams.h: odd/even default to true
6629
6630 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6631
6632         * PrinterParams.h: update printer parameters for new xforms dialog
6633
6634 2002-09-11  Angus Leeming  <leeming@lyx.org>
6635
6636         * lyxserver.C (read_ready): re-write to make it more transparent
6637         and to make it work in coherent fashion under Tru64 Unix.
6638
6639 2002-09-11  André Pönitz <poenitz@gmx.net>
6640
6641         * commandtags.h:
6642         * LyXAction.C:
6643         * text3.C: implement LFUN_WORDSEL
6644
6645 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6648         make floatlist_ a boost::shared_ptr<FloatList>
6649
6650         * lyxtextclass.C: include FloatList.h
6651         (LyXTextClass): initialize floatlist_
6652         (TextClassTags): add TC_NOFLOAT
6653         (Read): match "nofloat" to TC_NOFLOAT and use it.
6654         (readFloat): modify call to floatlist_
6655         (floats): ditto
6656         (floats): ditto
6657
6658         * FloatList.[Ch] (FloatList): remove commented out float
6659         initialization.
6660         (erase): new function
6661
6662 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6663
6664         * MenuBackend.C (expandToc): fix crash when there is no document
6665         open
6666
6667 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6668
6669         * many files: Add insetwrap.
6670
6671 2002-09-09  John Levon  <levon@movementarian.org>
6672
6673         * text2.C: remove confusing and awkward depth wraparound
6674
6675 2002-09-09  John Levon  <levon@movementarian.org>
6676
6677         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6678
6679         * buffer.h:
6680         * buffer.C: remove getIncludeonlyList()
6681
6682         * paragraph.C:
6683         * lyxfunc.C: remove headers
6684
6685 2002-09-09  Juergen Vigna  <jug@sad.it>
6686
6687         * text.C (getColumnNearX): fix form Michael this is most
6688         probably a cut&paste bug.
6689
6690 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6693
6694         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6695         references, ws changes.
6696
6697         * text2.C (init): update counters after init
6698         (insertParagraph): no need to set counter on idividual paragraphs.
6699         (setCounter): access the counters object in the textclass object
6700         on in the buffer object.
6701         (updateCounters): ditto
6702
6703         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6704         shared_ptr<Counters> to avoid loading counters.h in all
6705         compilation units.
6706         (LyXTextClass): initialize ctrs_
6707         (TextClassTags): add TC_COUNTER, and ...
6708         (Read): use it here.
6709         (CounterTags): new tags
6710         (readCounter): new function
6711         (counters): new funtion
6712         (defaultLayoutName): return a const reference
6713
6714         * counters.C (Counters): remove contructor
6715         (newCounter): remove a couple of unneeded statements.
6716         (newCounter): simplify a bit.
6717         (numberLabel): some small formatting changes.
6718
6719         * buffer.[Ch]: remove all traces of counters, move the Counters
6720         object to the LyXTextClass.
6721
6722 2002-09-06  Alain Castera  <castera@in2p3.fr>
6723
6724         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6725         package to set the horizontal alignment on fixed width columns.
6726
6727         * lyx_sty.C:
6728         * lyx_sty.h: added tabularnewline macro def.
6729
6730         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6731
6732 2002-09-06  John Levon  <levon@movementarian.org>
6733
6734         * LyXAction.C: tooltips for sub/superscript
6735
6736         * MenuBackend.C: a bit more verbose
6737
6738         * lyxfunc.C: tiny clean
6739
6740         * undo_funcs.C: document undo_frozen
6741
6742 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * counters.C (Counters): add missing algorithm counter.
6745
6746         * text2.C (setCounter): lookup the counter with layouts latexname
6747         instead of by section number.
6748         (setCounter): use a hackish way to lookup the correct enum
6749         counter.
6750         a float name->type change
6751         reset enum couners with counter name directly instead of depth value.
6752
6753         * counters.C (Counters): remove the push_backs, change to use the
6754         float type not the float name.
6755         (labelItem): remove unused string, float name->type change
6756
6757         * counters.h: don't include vector, loose the enums and sects vectors
6758
6759 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6762         (Read): add float->TC_FLOAT to textclassTags
6763         (Read): and handle it in the switch
6764         (readFloat): new function
6765
6766         * FloatList.C (FloatList): comment out the hardcoded float
6767         definitions.
6768
6769         * lyxlayout.h: ws change.
6770
6771 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6772
6773         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6774
6775 2002-09-03  Angus Leeming  <leeming@lyx.org>
6776
6777         * BufferView_pimpl.h: qualified name is not allowed in member
6778         declaration: WorkArea & Pimpl::workarea() const;
6779
6780         * factory.C: added using std::endl directive.
6781
6782         * text3.C: added using std::find and std::vector directives.
6783
6784 2002-08-29  André Pönitz <poenitz@gmx.net>
6785
6786         * lyxtext.h:
6787         * text2.C: remove unused member number_of_rows
6788
6789         * Makefile.am:
6790         * BufferView2.C: remove file, move contents to...
6791         * BufferView.C: ... here
6792
6793         * BufferView_pimpl.C:
6794         * factory.C: move more inset creation to factory
6795
6796         * vspace.C: avoid direct usage of LyXText, ws changes
6797
6798         * BufferView.[Ch]:
6799                 don't provide direct access to WorkArea, use two simple
6800                 acessors haveSelction() and workHeight() instead
6801
6802
6803 2002-08-29  John Levon  <levon@movementarian.org>
6804
6805         * BufferView_pimpl.C (dispatch): do not continue when
6806           no buffer
6807
6808 2002-08-28  André Pönitz <poenitz@gmx.net>
6809
6810         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6811
6812         * BufferView.h:
6813         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6814
6815 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6816
6817         * buffer.C: increment LYX_FORMAT to 221
6818
6819         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6820         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6821
6822         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6823
6824         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6825
6826 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6827
6828         * factory.C (createInset): use LyXTextClass::floats
6829
6830         * MenuBackend.C (expandFloatListInsert):
6831         (expandFloatInsert):
6832         (expandToc):
6833
6834         * text2.C (setCounter):
6835
6836         * LaTeXFeatures.C (useFloat):
6837         (getFloatDefinitions):
6838
6839         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6840
6841         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6842         floatlist_, with accessor floats().
6843
6844         * FloatList.h: remove global FloatList
6845
6846 2002-08-26  André Pönitz <poenitz@gmx.net>
6847
6848         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6849
6850         * BufferView.h:
6851         * BufferView2.C:
6852         * BufferView_pimpl.C:
6853         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6854
6855 2002-08-25  John Levon  <levon@movementarian.org>
6856
6857         * LyXAction.C: fix margin note description
6858
6859 2002-08-24  John Levon  <levon@movementarian.org>
6860
6861         * buffer.C:
6862         * bufferlist.C:
6863         * bufferview_funcs.C:
6864         * lyxfont.C:
6865         * undo_funcs.C: cleanups
6866
6867         * lyxfunc.C: disable CUT/COPY when no selection
6868
6869 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6870
6871         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6872         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6873
6874         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6875         Add backward compatibility to "mono", "gray" and "no".
6876
6877 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6878
6879         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6880         (and file_format >= 200).
6881
6882 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6883
6884         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6885
6886 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6887
6888         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6889
6890 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6891
6892         * BufferView_pimpl.C:
6893         * LyXAction.C:
6894         * buffer.C:
6895         * commandtags.h:
6896         * lyxfunc.C:
6897         * paragraph.[Ch]:
6898         * text2.C:
6899         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6900         inset and code to make it  work with the paragraph code. The inset
6901         can be anywhere in the paragraph, but will only do the expected
6902         thing in LaTeX if the layout file contains the parameter line
6903                         OptionalArgs    1
6904         (or more generally, a nonzero value) for that layout.
6905
6906 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * paragraph.h: remove the declaration of undefined counters class
6909         function.
6910
6911 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6912
6913         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6914         Dr. Richard Hawkins.
6915
6916 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6917
6918         * paragraph_funcs.h: remove some unneeded includes
6919
6920         * text.C (backspace): pasteParagraph now in global scipe
6921
6922         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6923         (pasteSelection): ditto
6924
6925         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6926         * paragraph_funcs.C (pasteParagraph): ... here
6927
6928 2002-08-20  André Pönitz <poenitz@gmx.net>
6929
6930         * commandtags.h: new LFUNs for swapping/copying table row/colums
6931
6932         * LyXAction.C:
6933         * lyxfunc.C: support for new lfuns
6934
6935 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * tabular.C:
6938         * buffer.[Ch]: remove NO_COMPABILITY stuff
6939
6940 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * boost.C (throw_exception): new file, with helper function for
6943         boost compiled without exceptions.
6944
6945         * paragraph.h:
6946         * lyxlength.C:
6947         * buffer.C:
6948         * ParameterStruct.h:
6949         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6950
6951         * bufferlist.C (emergencyWriteAll): use boost bind
6952
6953         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6954
6955         * text.C: include paragraph_funcs.h
6956         (breakParagraph): breakParagraph is now in global scope
6957
6958         * paragraph_funcs.[Ch]: new files
6959
6960         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6961         global scope
6962
6963         * buffer.C: include paragraph_funcs.h
6964         (insertStringAsLines): breakParagraph is now in global scope
6965
6966         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6967         paragraph_funcs.C
6968
6969         * CutAndPaste.C: include paragraph_funcs.h
6970         (cutSelection): breakParagraphConservative is now in global scope
6971         (pasteSelection): ditto
6972
6973         * buffer.h: declare oprator== and operator!= for
6974         Buffer::inset_iterator
6975
6976         * bufferlist.C (emergencyWrite): don't use fmt(...)
6977
6978         * text3.C: add using std::endl
6979
6980         * BufferView.C (moveCursorUpdate): remove default arg
6981
6982 2002-08-20  André Pönitz <poenitz@gmx.net>
6983
6984         * buffer.[Ch]: move inline functions to .C
6985
6986         * BufferView2.C:
6987         * BufferView_pimpl.C:
6988         * text.C:
6989         * buffer.[Ch]: use improved inset_iterator
6990
6991         * buffer.C:
6992         * paragraph.[Ch]: write one paragraph at a time
6993
6994 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6995
6996         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6997         style if style is not specified.
6998
6999 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7000
7001         * text2.C (setCounter): when searching for right label for a
7002         caption, make sure to recurse to parent insets (so that a caption
7003         in a minipage in a figure float works) (bug #568)
7004
7005 2002-08-20  André Pönitz <poenitz@gmx.net>
7006
7007         * text3.C: new file for LyXText::dispatch() and helpers
7008
7009         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7010
7011         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7012
7013 2002-08-19  André Pönitz <poenitz@gmx.net>
7014
7015         * lyxtext.h:
7016         * text.C: new LyXText::dispatch()
7017
7018         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7019
7020 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7021
7022         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7023
7024         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7025         Hebrew text.
7026
7027 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7028
7029         * Makefile.am: use $(variables) instead of @substitutions@
7030
7031 2002-08-15  André Pönitz <poenitz@gmx.net>
7032
7033         * lyxfunc.C:
7034         * BufferView_pimpl.C: streamlining mathed <-> outer world
7035         interaction
7036
7037         * commandtags.h:
7038         * LyXAction.C: remove unused LFUN_MATH
7039
7040 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7043
7044 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * paragraph.C (Paragraph): reformat a bit
7047         (cutIntoMinibuffer): use builtin InsetList function instad of
7048         doing it manually.
7049         (getInset): ditto
7050
7051         * buffer.C: include boost/bind.hpp, add using std::for_each
7052         (writeFileAscii): use ParagraphList iterators
7053         (validate): use for_each for validate traversal of paragraphs
7054         (getBibkeyList): use ParagraphList iterators
7055         (resizeInsets): use for_each to resizeInsetsLyXText for all
7056         paragraphs.
7057         (getParFromID): use ParagraphList iterators
7058
7059         * BufferView2.C (lockInset): use paragraph list and iterators
7060
7061 2002-08-14  John Levon  <levon@movementarian.org>
7062
7063         * lyxserver.C: remove spurious xforms include
7064
7065 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7066
7067         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7068
7069 2002-08-13  André Pönitz <poenitz@gmx.net>
7070
7071         * LyXAction.[Ch]:
7072         * lyxfunc.C: further cleaning
7073
7074 2002-08-13  André Pönitz <poenitz@gmx.net>
7075
7076         * funcrequest.h: new constructor
7077
7078         * funcrequest.C: move stuff here from .h
7079
7080         * Makefile.am:
7081         * BufferView_pimpl.C:
7082         * LyXAction.C:
7083         * toc.C:
7084         * lyxfunc.C: subsequent changes
7085
7086         * lyxfunc.h: new view() member function
7087
7088         * lyxfunc.C: subsequent changes
7089
7090 2002-08-13  Angus Leeming  <leeming@lyx.org>
7091
7092         * BufferView2.C:
7093         * BufferView_pimpl.C:
7094         * buffer.C:
7095         * converter.C:
7096         * importer.C:
7097         * lyxfunc.C:
7098         * lyxvc.C:
7099         * toc.C:
7100         * vc-backend.C:
7101         changes due to the changed LyXView interface that now returns references
7102         to member variables not pointers.
7103
7104 2002-08-13  Angus Leeming  <leeming@lyx.org>
7105
7106         * WordLangTuple (word, lang_code): return references to strings,
7107         not strings.
7108
7109         * BufferView.h:
7110         * SpellBase.h:
7111         * lyxtext.h: forward-declare WordLangTuple.
7112
7113         * BufferView2.C:
7114         * ispell.C:
7115         * pspell.C:
7116         * text.C: #include "WordLangTuple.h".
7117
7118         * lyxtext.h:
7119         * text.C: (selectNextWordToSpellcheck): constify return type.
7120
7121 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7122
7123         * buffer.C:
7124         * buffer.h:
7125         * lyxtext.h:
7126         * paragraph.C:
7127         * paragraph_pimpl.h:
7128         * text.C:
7129         * text2.C:
7130         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7131         suggested by Angus.
7132         Made updateCounter always count from start of buffer, and removed
7133         second argument (par).
7134         Reverted floats number display to '#'. Perhaps I'll try again when the
7135         code base is sanitized a bit.
7136
7137 2002-08-12  Angus Leeming  <leeming@lyx.org>
7138
7139         * buffer.[Ch] (getLabelList): constify.
7140
7141 2002-08-07  André Pönitz <poenitz@gmx.net>
7142
7143         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7144
7145         * funcrequest.h: extension to keep mouse (x,y) position
7146
7147 2002-08-12  Juergen Vigna  <jug@sad.it>
7148
7149         * BufferView2.C (insertErrors): forbid undo when inserting error
7150         insets.
7151
7152         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7153
7154 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * ParagraphList.[Ch]: new files
7157
7158         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7159
7160         * BufferView2.C (lockInset): ParagraphList changes
7161         * toc.C: ditto
7162         * text2.C: ditto
7163         * bufferlist.C: ditto
7164         * buffer.h: ditto
7165         * buffer.C: ditto
7166
7167 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7168
7169         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7170         unused class variable counter_,
7171
7172         * paragraph.[Ch] (getFirstCounter): delete unused function
7173
7174         * counters.C: include LAssert.h
7175         (reset): add a new function with no arg, change other version to
7176         not have def. arg and to not allow empty arg.
7177
7178         * text2.C (setCounter): remove empty arg from call to Counters::reset
7179
7180 2002-08-11  John Levon  <levon@movementarian.org>
7181
7182         * Makefile.am: add WordLangTuple.h
7183
7184 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7185
7186         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7187         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7188
7189         * insets/insettext.C: InsetList changes
7190
7191         * graphics/GraphicsSupport.C (operator()): InsetList changes
7192
7193         * toc.C (getTocList): InsetList changes
7194
7195         * paragraph_pimpl.[Ch]: InsetList changes
7196
7197         * paragraph.[Ch]: InsetList changes
7198
7199         * buffer.C (inset_iterator): InsetList changes
7200         (setParagraph): ditto
7201         * buffer.h (inset_iterator): ditto
7202         * iterators.C (operator++): ditto
7203         * iterators.h: ditto
7204
7205         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7206
7207         * InsetList.[Ch]: new files, most InsetList handling moved out of
7208         paragraph.C.
7209
7210         * BufferView2.C (removeAutoInsets): InsetList changes
7211         (lockInset): ditto
7212         (ChangeInsets): ditto
7213
7214 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * paragraph_pimpl.h (empty): new function
7217
7218         * paragraph.[Ch] (empty): new function
7219
7220         * other files: use the new Paragraph::empty function
7221
7222 2002-08-09  John Levon  <levon@movementarian.org>
7223
7224         * lyxtext.h: remove unused refresh_height
7225
7226 2002-08-09  John Levon  <levon@movementarian.org>
7227
7228         * Makefile.am:
7229         * sgml.h:
7230         * sgml.C:
7231         * buffer.C:
7232         * paragraph.h:
7233         * paragraph.C: move sgml char escaping out of paragraph
7234
7235         * paragraph.h:
7236         * paragraph.C: remove id setter
7237
7238         * buffer.C:
7239         * paragraph.C:
7240         * paragraph_pimpl.C: remove dead tex_code_break_column
7241
7242         * bufferview_funcs.C: small cleanup
7243
7244         * lyxfunc.C: remove dead proto
7245
7246         * lyxtext.h: make some stuff private. Remove some dead stuff.
7247
7248         * lyxgluelength.C: make as[LyX]String() readable
7249
7250 2002-08-08  John Levon  <levon@movementarian.org>
7251
7252         * LyXAction.h:
7253         * LyXAction.C:
7254         * MenuBackend.C:
7255         * ToolbarDefaults.C:
7256         * lyxfunc.C:
7257         * lyxrc.C:
7258         * toc.C: lyxaction cleanup
7259
7260 2002-08-08  John Levon  <levon@movementarian.org>
7261
7262         * BufferView2.C: small cleanup
7263
7264         * lyxfind.h:
7265         * lyxfind.C: move unnecessary header into the .C
7266
7267 2002-08-08  John Levon  <levon@movementarian.org>
7268
7269         * funcrequest.h: just tedious nonsense
7270
7271         * lyx_main.h:
7272         * lyx_main.C: cleanups
7273
7274         * buffer.C:
7275         * vspace.C: remove dead header lyx_main.h
7276
7277 2002-08-07  Angus Leeming  <leeming@lyx.org>
7278
7279         * Paragraph.[Ch]:
7280         * paragraph_pimpl.h:
7281         Forward declare class Counters in paragraph.h by moving the ctrs member
7282         variable into Paragraph::Pimpl.
7283         (counters): new method, returning a reference to pimpl_->ctrs.
7284
7285         * text2.C: ensuing changes.
7286
7287 2002-08-07  John Levon  <levon@movementarian.org>
7288
7289         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7290
7291         * BufferView_pimpl.C: announce X selection on double/triple
7292           click
7293
7294         * lyx_main.C: use correct bool in batch dispatch
7295
7296         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7297
7298 2002-08-07  André Pönitz <poenitz@gmx.net>
7299
7300         * funcrequest.h: new class to wrap a kb_action and its argument
7301
7302         * BufferView.[Ch]:
7303         * BufferView_pimpl[Ch]:
7304         * LaTeX.C:
7305         * LyXAction.[Ch]:
7306         * lyxfunc.[Ch]:
7307         * lyxrc.C: subsequent changes
7308
7309
7310 2002-08-07  John Levon  <levon@movementarian.org>
7311
7312         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7313           document options change.
7314
7315 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7316
7317         * counters.[Ch]
7318         * text2.C
7319         * paragraph.[Ch]
7320         * makefile.am: move counters functionality over from
7321         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7322
7323 2002-08-06  John Levon  <levon@movementarian.org>
7324
7325         * WordLangTuple.h: new file for word + language code tuple
7326
7327         * SpellBase.h:
7328         * pspell.h:
7329         * pspell.C:
7330         * ispell.h:
7331         * ispell.C:
7332         * lyxtext.h:
7333         * text.C:
7334         * text2.C:
7335         * BufferView.h:
7336         * BufferView2.C: use WordLangTuple
7337
7338         * layout.h:
7339         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7340
7341 2002-08-06  John Levon  <levon@movementarian.org>
7342
7343         * lyx_main.C: fix cmdline batch handling
7344
7345 2002-08-06  André Pönitz <poenitz@gmx.net>
7346
7347         * lyxrc.C: set default for show_banner to true
7348
7349 2002-08-06  John Levon  <levon@movementarian.org>
7350
7351         * pspell.C: fix a crash, and allow new aspell to work
7352
7353 2002-08-06  John Levon  <levon@movementarian.org>
7354
7355         * lyxfunc.C:
7356         * kbmap.C: small cleanup
7357
7358         * vspace.h:
7359         * vspace.C: add const
7360
7361 2002-08-05  John Levon  <levon@movementarian.org>
7362
7363         * LyXAction.C: back to tabular-insert
7364
7365 2002-08-04  John Levon  <levon@movementarian.org>
7366
7367         * BufferView.h:
7368         * BufferView.C: cosmetic change
7369
7370         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7371
7372         * bufferlist.C:
7373         * buffer.h:
7374         * buffer.C:
7375         * lyxcb.h:
7376         * lyxcb.C:
7377         * lyxserver.C:
7378         * lyxvc.C:
7379         * vc-backend.C:
7380         * BufferView2.C: purge all "Lyx" not "LyX" strings
7381
7382         * lyxcursor.h:
7383         * lyxcursor.C: attempt to add some documentation
7384
7385         * lyxfunc.C:
7386         * commandtags.h:
7387         * LyXAction.C:
7388         * ToolbarDefaults.C:
7389         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7390           merge with LFUN_TABULAR_INSERT
7391
7392         * Makefile.am:
7393         * SpellBase.h:
7394         * ispell.h:
7395         * ispell.C:
7396         * pspell.h:
7397         * pspell.C: split up i/pspell implementations into separate
7398           files, many cleanups
7399
7400         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7401
7402         * text2.C: some cleanup
7403
7404         * lyxfunc.C: don't check for isp_command == "none" any more, it
7405           didn't make any sense
7406
7407 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7408
7409         * counters.[Ch]
7410         * text2.C
7411         * paragraph.[Ch]
7412         * makefile.am: move counters functionality over
7413         from text2.C/paragraph.[Ch] to counters.[Ch], and
7414         make proper C++.
7415 2002-08-02  John Levon  <levon@movementarian.org>
7416
7417         * buffer.C: s/lyxconvert/lyx2lyx/
7418
7419 2002-08-02  Angus Leeming  <leeming@lyx.org>
7420
7421         * lyxlex.C: revert John's change as it breaks reading of the user
7422         preamble.
7423
7424 2002-08-02  Angus Leeming  <leeming@lyx.org>
7425
7426         * importer.C (Import):
7427         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7428         changes due to LyXView::view() now returning a boost::shared_ptr.
7429
7430 2002-08-02  John Levon  <levon@movementarian.org>
7431
7432         * lyxlex.C: small cleanup
7433
7434 2002-08-02  John Levon  <levon@movementarian.org>
7435
7436         * text2.C (status): small cleanup, no logic change
7437
7438 2002-08-01  John Levon  <levon@movementarian.org>
7439
7440         * buffer.h:
7441         * buffer.C (writeFile): don't output alerts, caller
7442           handles this
7443
7444         * bufferlist.C:
7445         * lyx_cb.C: from above
7446
7447         * lyxfunc.C: allow to open non-existent files
7448
7449 2002-07-31  John Levon  <levon@movementarian.org>
7450
7451         * lyxserver.C: don't let incidental errors get
7452           in the way (errno)
7453
7454 2002-07-30  John Levon  <levon@movementarian.org>
7455
7456         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7457
7458 2002-07-30  John Levon  <levon@movementarian.org>
7459
7460         * lyxserver.h:
7461         * lyxserver.C: remove I/O callback too
7462
7463 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7464
7465         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7466         log.
7467
7468 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * many files: strip,frontStrip -> trim,ltrim,rtrim
7471
7472 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * PrinterParams.h: remove extern containsOnly, and include
7475         support/lstrings.h instead.
7476
7477         * LaTeX.C (scanAuxFile): modify because of strip changes
7478         (deplog): ditto
7479         * buffer.C (makeLaTeXFile): ditto
7480         * bufferparams.C (writeFile): ditt
7481         * lyxfont.C (stateText): ditto
7482         * lyxserver.C (read_ready): ditto
7483         * vc-backend.C (scanMaster): ditto
7484
7485         * BufferView_pimpl.h: ws changes
7486
7487         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7488
7489 2002-07-26  André Pönitz <poenitz@gmx.net>
7490
7491         * kb_sequence.C: remove unnedred usings
7492
7493 2002-07-26  Juergen Vigna  <jug@sad.it>
7494
7495         * lyxfind.C (LyXReplace): we have to check better if the returned
7496         text is not of theLockingInset()->getLockingInset().
7497
7498 2002-07-25  Juergen Vigna  <jug@sad.it>
7499
7500         * lyxfind.C (LyXReplace): don't replace if we don't get the
7501         right LyXText.
7502
7503         * undo_funcs.C (createUndo): remove debugging code.
7504
7505 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * buffer.C (parseSingleLyXformat2Token): Use default placement
7508         when reading old floats.
7509
7510         * FloatList.C (FloatList): Change the default placement of figure
7511         and tables to "tbp".
7512
7513 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7514
7515         * MenuBackend.C: using std::max
7516
7517 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * MenuBackend.C (expandToc):
7520         (expandToc2): code moved from xforms menu frontend. It is now
7521         generic and TOCs are transparent to menu frontends.
7522
7523 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7524
7525         * toc.C (getTocList): protect against buf=0
7526
7527         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7528         Menu as first parameter. Now, this calls itself recursively to
7529         expand a whole tree (this will be useful for TOC handling)
7530         (expandFloatInsert): remove 'wide' version of floats
7531
7532         * MenuBackend.h (submenuname): returns the name of the submenu.
7533         (submenu): returns the submenu itself, provided it has been
7534         created by MenuBackend::expand
7535
7536 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7537
7538         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7539         insets which have noFontChange == true. (bug #172)
7540
7541 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * BufferView_pimpl.C: add connection objects and use them...
7544         (Pimpl): here.
7545
7546 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * MenuBackend.C (expandLastfiles):
7549         (expandDocuments):
7550         (expandFormats):
7551         (expandFloatListInsert):
7552         (expandFloatInsert):
7553         (expand): split expand in parts
7554
7555 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7556
7557         * lyx_gui.C: use lyx_gui::exit()
7558
7559 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7560
7561         * LyXAction.C: show the failing pseudo action
7562
7563 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7564
7565         * buffer.C (readFile): Run the lyxconvert script in order to read
7566         old files.
7567
7568 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7569
7570         * LyXAction.C:
7571         * commandtags.h:
7572         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7573
7574 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7575
7576         * LyXAction.C:
7577         * commandtags.h:
7578         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7579
7580 2002-07-22  Herbert Voss  <voss@lyx.org>
7581
7582         * lengthcommon.C:
7583         * lyxlength.[Ch]: add support for the vertical lengths
7584
7585 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7586
7587         * toc.[Ch]: std:: fixes
7588
7589 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * lyxrc.C: do not include lyx_main.h
7592
7593         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7594         for layouts
7595
7596         * lyxrc.C:
7597         * encoding.C:
7598         * bufferlist.C:
7599         * BufferView2.C: include "lyxlex.h"
7600
7601         * tabular.h:
7602         * bufferparams.h: do not #include "lyxlex.h"
7603
7604         * lyxtextclasslist.C (Add): remove method
7605         (classlist): renamed to classlist_
7606
7607         * paragraph_pimpl.C:
7608         * paragraph.C:
7609         * text2.C:
7610         * CutAndPaste.C:
7611         * bufferview_funcs.C:
7612         * bufferlist.C:
7613         * text.C:
7614         * LaTeXFeatures.C:
7615         * buffer.C:
7616         * toc.C (getTocList): use BufferParams::getLyXTextClass
7617
7618         * toc.C (getTocList): use InsetFloat::addToToc
7619
7620         * toc.[Ch]: new files, containing helper functions to handle table
7621         of contents
7622
7623         * lyxfunc.C (dispatch): no need to remove spaces around command
7624         given as a string
7625         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7626         first command of the sequence; it is not very clever, but I do not
7627         have a better idea, actually
7628
7629         * LyXAction.C (LookupFunc): make sure to remove space at the
7630         beginning and end of the command
7631
7632 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7633
7634         * MenuBackend.C (getMenubar): new method: return the menubar of
7635         this menu set
7636         (read): treat differently reading of menu and menubar (in
7637         particular, the menubar has no name now)
7638         (Menu::menubar): remove
7639
7640         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7641         saving is finished
7642
7643 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7644
7645         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7646         a bibitem inset in a RTL paragraph.
7647
7648 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7649
7650         * paragraph_pimpl.C: constify
7651
7652         * BufferView_pimpl.C:
7653         * LaTeX.C:
7654         * lyxfunc.C: fix dispatch in a nicer way
7655
7656 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * lyxfunc.C (dispatch):
7659         * BufferView_pimpl.C:
7660         * BufferView_pimpl.h:
7661         * BufferView.C:
7662         * BufferView.h: rename Dispatch() to dispatch()
7663
7664         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7665
7666         * lyxlayout.C (Read): honor DependsOn tag
7667
7668         * lyxlayout.[Ch] (depends_on): new method
7669
7670         * version.C.in: update lyx_docversion
7671
7672         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7673
7674         * paragraph.C (validate): remove from here...
7675         * paragraph_pimpl.C (validate): ... and move here
7676         (isTextAt): make it const
7677
7678         * buffer.C (getLists): ws cleanup
7679
7680 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7681
7682         * language.C (read): Use iso8859-1 encoding in latex_lang
7683         (this prevents LyX from crashing when using iso10646-1 encoding).
7684
7685 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * text2.C (toggleInset): if cursor is inside an inset, close the
7688         inset and leave cursor _after_ it
7689
7690 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7691
7692         * lyxfunc.C: move minibuffer completion handling out of here
7693
7694 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * BufferView_pimpl.C:
7697         * LaTeX.C: fix dispatch calls
7698
7699 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7700
7701         * text.C (drawChars): Fix Arabic text rendering.
7702
7703 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7704
7705         * LyXAction.C:
7706         * commandtags.h:
7707         * lyxfunc.C: remove message-push/pop
7708
7709         * lyxserver.C:
7710         * lyxfunc.h:
7711         * lyxfunc.C: rationalise some code by removing verboseDispatch
7712           in favour of a bool argument to dispatch()
7713
7714 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7715
7716         * lyx_main.C (init): make sure to read symlinks as absolute paths
7717
7718 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7719
7720         * lyxfunc.h:
7721         * lyxfunc.C: no need for commandshortcut to be a member
7722
7723 2002-07-15  André Pönitz <poenitz@gmx.net>
7724
7725         * converter.C: add support for $$s (scripts from lib/scripts dir)
7726         * lyx_main.C: white space
7727
7728 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * bufferlist.C:
7731         * lyxrc.h:
7732         * lyxrc.C: remove second exit confirmation
7733
7734 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7735
7736         * BufferView.h:
7737         * BufferView.C:
7738         * BufferView2.C:
7739         * BufferView_pimpl.h:
7740         * BufferView_pimpl.C:
7741         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7742
7743 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7744
7745         * MenuBackend.C (expand): add numeric shortcuts to document menu
7746
7747         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7748
7749 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7750
7751         * lyxfont.C (setLyXFamily):
7752         (setLyXSeries):
7753         (setLyXShape):
7754         (setLyXSize):
7755         (setLyXMisc):
7756         (lyxRead):
7757         * debug.C (value):
7758         * buffer.C (asciiParagraph): use ascii_lowercase
7759
7760 2002-07-15  Mike Fabian  <mfabian@suse.de>
7761
7762         * lyxlex_pimpl.C (search_kw):
7763         * lyxlex.C (getLongString):
7764         * converter.h (operator<):
7765         * converter.C (operator<):
7766         * buffer.C (parseSingleLyXformat2Token):
7767         (asciiParagraph):
7768         * ToolbarDefaults.C (read):
7769         * MenuBackend.C (checkShortcuts):
7770         (read):
7771         * LColor.C (getFromGUIName):
7772         (getFromLyXName): use the compare_ascii_no_case instead of
7773         compare_no_case, because in turkish, 'i' is not the lowercase
7774         version of 'I', and thus turkish locale breaks parsing of tags.
7775
7776 2002-07-16  Angus Leeming  <leeming@lyx.org>
7777
7778         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7779         now takes a Buffer const & argument.
7780
7781 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * BufferView.C (resize): check there's a buffer to resize
7784
7785 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7786
7787         * lyxfunc.C: remove dead code
7788
7789         * lyxserver.h:
7790         * lyxserver.C: use lyx_guii::set_read_callback
7791
7792 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7793
7794         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7795         an inset in a RTL paragraph.
7796
7797 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * lyxfunc.C: repaint after a font size update
7800
7801 2002-07-15  André Pönitz <poenitz@gmx.net>
7802
7803         * lyxlength.C: inBP should be able to return negative values
7804
7805 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * lyxfunc.C: use lyx_gui::update_fonts()
7808
7809 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7810
7811         * lyxfunc.C: use lyx_gui::update_color()
7812
7813 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * bufferlist.C:
7816         * lyxfunc.h:
7817         * lyxfunc.C:
7818         * lyxrc.h:
7819         * lyxrc.C: remove file->new asks for name option, and let
7820           buffer-new take an argument
7821
7822 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * BufferView_pimpl.C: remove unneeded extra repaint()
7825
7826 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7827
7828         * LyXAction.C: allow command-sequence with NoBuffer
7829
7830         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7831
7832 2002-07-10  Angus Leeming  <leeming@lyx.org>
7833
7834         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7835
7836 2002-07-09  Angus Leeming  <leeming@lyx.org>
7837
7838         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7839
7840 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7841
7842         * lengthcommon.h: whitespace
7843
7844         * lyxfunc.C: update scrollbar after goto paragraph
7845
7846         * lyxtext.h: factor out page break drawing, and fix it so
7847           page break/added space paints as selected nicely
7848
7849 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * BufferView_pimpl.C: add FIXMEs, clean up a little
7852
7853 2002-07-09  André Pönitz <poenitz@gmx.net>
7854
7855         * lyxfont.[Ch]: support for wasy symbols
7856
7857 2002-07-08  André Pönitz <poenitz@gmx.net>
7858
7859         * BufferView_pimpl.C: apply John's patch for #93.
7860
7861 2002-07-05  Angus Leeming  <leeming@lyx.org>
7862
7863         * BufferView_pimpl.C (buffer): generate previews if desired.
7864
7865         * LColor.h: add "preview" to the color enum.
7866
7867         * LColor.C (LColor): add a corresponding entry to the items array.
7868
7869         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7870         with this buffer.
7871
7872 2002-07-05  Angus Leeming  <leeming@lyx.org>
7873
7874         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7875         The body of the code is now in the method that is passed an ostream &
7876         rather than a file name.
7877         Pass an additional only_preamble parameter, useful for the forthcoming
7878         preview stuff.
7879
7880 2002-07-03  André Pönitz <poenitz@gmx.net>
7881
7882         * lyxfunc.C: simplify getStatus() a bit for math stuff
7883
7884 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7885
7886         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7887
7888 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7889
7890         * text.C (changeRegionCase): do not change case of all the
7891         document when region ends at paragraph end (bug #461)
7892
7893 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7894
7895         * paragraph.C (startTeXParParams):
7896         (endTeXParParams): add \protect when necessary
7897
7898 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7899
7900         * BufferView_pimpl.C (workAreaExpose): remove warning
7901
7902 2002-06-27  Angus Leeming  <leeming@lyx.org>
7903
7904         * Makefile.am: add lyxlayout_ptr_fwd.h.
7905
7906 2002-06-26  André Pönitz <poenitz@gmx.net>
7907
7908         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7909
7910 2002-06-25  Angus Leeming  <leeming@lyx.org>
7911
7912         * lyxfunc.C (dispatch): Comment out the call to
7913         grfx::GCache::changeDisplay. The method no longer exists now that the
7914         pixmap generation part of the graphics loader has been moved into
7915         InsetGraphics.
7916
7917 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7918
7919         * text2.C: layout as layout
7920
7921         * text.C: layout as layout
7922
7923         * tabular.C (OldFormatRead): layout as layout
7924
7925         * paragraph_pimpl.C (TeXDeeper): layout as layout
7926         (realizeFont): layout as layout
7927
7928         * paragraph.C (writeFile): layout as layout
7929         (validate): layout as layout
7930         (getFont): layout as layout
7931         (getLabelFont): layout as layout
7932         (getLayoutFont): layout as layout
7933         (breakParagraph): layout as layout
7934         (stripLeadingSpaces): layout as layout
7935         (getEndLabel): layout as layout
7936         (getMaxDepthAfter): layout as layout
7937         (applyLayout): layout as layout
7938         (TeXOnePar): layout as layout
7939         (simpleTeXOnePar): layout as layout
7940         (TeXEnvironment): layout as layout
7941         (layout): layout as layout
7942         (layout): layout as layout
7943
7944         * lyxtextclass.C (compare_name): new functor to work with
7945         shared_ptr, layout as layout
7946         (Read): layout as layout
7947         (hasLayout): layout as layout
7948         (operator): layout as layout
7949         (delete_layout): layout as layout
7950         (defaultLayout): layout as layout
7951
7952         * lyxlayout_ptr_fwd.h: new file
7953
7954         * lyxlayout.C (Read): layout as layout
7955
7956         * lyx_cb.C (MenuInsertLabel): layout as layout
7957
7958         * bufferlist.C (newFile): layout as layout
7959
7960         * buffer.C (readLyXformat2): layout as layout
7961         (parseSingleLyXformat2Token): layout as layout
7962         (insertStringAsLines): layout as layout
7963         (asciiParagraph): layout as layout
7964         (latexParagraphs): layout as layout
7965         (makeLinuxDocFile): layout as layout
7966         (simpleLinuxDocOnePar): layout as layout
7967         (makeDocBookFile): layout as layout
7968         (simpleDocBookOnePar): layout as layout
7969         (getLists): layout as layout
7970
7971         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7972
7973         * CutAndPaste.C (cutSelection): layout as layout
7974         (pasteSelection): layout as layout
7975         (SwitchLayoutsBetweenClasses): layout as layout
7976
7977         * BufferView_pimpl.C (Dispatch): layout as layout
7978         (smartQuote): layout as layout
7979
7980         * BufferView2.C (unlockInset): layout as layout
7981
7982 2002-06-24  André Pönitz <poenitz@gmx.net>
7983
7984         * lyxfunc.C: fix #487
7985
7986 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * lyxrc.h:
7989         * lyxrc.C:
7990         * lyxfunc.C: remove display_shortcuts, show_banner
7991
7992 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7993
7994         * Buffer_pimpl.C: oops, update on resize
7995
7996 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7997
7998         * buffer.C:
7999         * converter.C:
8000         * exporter.C:
8001         * lyxfunc.C:
8002         * BufferView.h:
8003         * BufferView.C: use repaint()
8004
8005         * BufferView_pimpl.h:
8006         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8007           as it's a clearer description. Remove superfluous
8008           redraws.
8009
8010 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8011
8012         * text.C: fix bug 488. Not ideal, but getting
8013           getWord() to work properly for the insets that
8014           matter is more difficult ...
8015
8016 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * BufferView_pimpl.C:
8019         * LyXAction.C:
8020         * commandtags.h:
8021         * lyxfunc.C: remove the six million index lyxfuncs to just
8022           one, and DTRT (bug 458)
8023
8024 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * BufferView.h:
8027         * BufferView.C:
8028         * BufferView_pimpl.h:
8029         * BufferView_pimpl.C: clean up resize() stuff,
8030           and unnecessary updateScreen()s
8031
8032 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * BufferView.h:
8035         * BufferView.C:
8036         * BufferView_pimpl.h:
8037         * BufferView_pimpl.C:
8038         * lyxfind.h:
8039         * lyxfind.C:
8040         * minibuffer.C: remove focus management of workarea,
8041           not needed. Use screen's greyOut()
8042
8043 2002-06-17  Herbert Voss  <voss@lyx.org>
8044
8045         * converter.C: (convert) do not post a message, when converting
8046         fails, let the calling function decide what to do in this case
8047
8048 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * lyxfunc.C: tidy up a little
8051
8052 2002-06-16    <alstrup@diku.dk>
8053
8054         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8055         Got rid of FORMS_H_LOCATION include. Now we are
8056         GUII.
8057
8058 2002-06-15  LyX Development team  <lyx@rilke>
8059
8060         * buffer.[Ch] (sgmlOpenTag):
8061         (sgmlCloseTag): Added support for avoiding pernicious mixed
8062         content. Return number of lines written.
8063
8064         (makeLinuxDocFile):
8065         (makeDocBookFile): Fixed calls to sgml*Tag.
8066         Simple white space clean.
8067
8068         (simpleDocBookOnePar): Simple white space clean.
8069
8070         * tabular.[Ch] (docBook): Renamed to docbook and got another
8071         argument to related with the pernicious mixed content.
8072
8073         (docbookRow): Fixed calls for docbook inset method.
8074
8075 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8076
8077         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8078         so it's X11 independent.
8079
8080         * kb*.[Ch]: ditto.
8081
8082         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8083
8084 2002-06-15  Lyx Development team  <lyx@electronia>
8085
8086         * intl.h: Renamed getTrans to getTransManager.
8087
8088 2002-06-14  Angus Leeming  <leeming@lyx.org>
8089
8090         * Makefile.am: nuke forgotten stl_string_fwd.h.
8091
8092 2002-06-12  Angus Leeming  <leeming@lyx.org>
8093
8094         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8095
8096 2002-06-13  Angus Leeming  <leeming@lyx.org>
8097
8098         * LaTeX.C:
8099         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8100
8101 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8102
8103         * kbmap.C (getiso): add support for cyrillic and greek
8104
8105 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8106
8107         * BufferView.h:
8108         * BufferView.C:
8109         * BufferView_pimpl.h:
8110         * BufferView_pimpl.C: move bogus scrolling logic
8111           to xforms
8112
8113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * lyxfunc.C:
8116         * BufferView_pimpl.C: view->resize() change
8117
8118 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8119
8120         * BufferView_pimpl.C: topCursorVisible
8121           prototype change
8122
8123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * Makefile.am:
8126         * lyx_gui.h:
8127         * lyx_gui.C: move to frontends/
8128
8129         * main.C:
8130         * lyx_main.h:
8131         * lyx_main.C: changes from above
8132
8133 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8134
8135         * intl.C:
8136         * intl.h:
8137         * kbmap.C:
8138         * kbsequence.C:
8139         * lyx_cb.C:
8140         * lyx_main.C: minor tidy
8141
8142 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * BufferView_pimpl.h:
8145         * BufferView_pimpl.C:
8146         * BufferView.h:
8147         * BufferView.C: make painter() const,
8148           remove dead code
8149
8150         * BufferView2.C: use screen() accessor
8151
8152         * lyx_main.h:
8153         * lyx_main.C: some minor cleanup
8154
8155 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * BufferView_pimpl.h:
8158         * BufferView_pimpl.C: remove enter/leaveView,
8159           use workHeight()
8160
8161 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8162
8163         * BufferView.h:
8164         * BufferView.C:
8165         * BufferView2.C:
8166         * BufferView_pimpl.h:
8167         * BufferView_pimpl.C: only construct screen once,
8168           rename
8169
8170         * lyxrc.C: remove pointless comment
8171
8172 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * BufferView.h:
8175         * BufferView.C: remove active() and belowMouse()
8176
8177         * BufferView_pimpl.h:
8178         * BufferView_pimpl.C: use workarea() not workarea_,
8179           and make it use a scoped_ptr instead
8180
8181 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * lyx_gui.C: add debug message on BadWindow
8184
8185 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8186
8187         * sp_spell.C: fdopen is not part of the C++ standard.
8188
8189         * paragraph.C (InsetIterator): use >= instead of ==
8190
8191 2002-06-07  Angus Leeming  <leeming@lyx.org>
8192
8193         Fixes needed to compile with Compaq cxx 6.5.
8194         * BufferView_pimpl.C:
8195         * DepTable.C:
8196         * buffer.C:
8197         * converter.C:
8198         * encoding.C:
8199         * lyx_gui.C:
8200         * lyx_main.C:
8201         * lyxtextclasslist.C:
8202         * minibuffer.C:
8203         * sp_spell.C:
8204         * tabular_funcs.C:
8205         * vc-backend.C:
8206         all c-library variables have been moved into namespace std. Wrap
8207         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8208
8209         * lyxlength.C:
8210         * tabular-old.C:
8211         * tabular.C:
8212         Add a using std::abs declaration.
8213
8214         * kbmap.h (modifier_pair):
8215         * paragraph.h (InsetTable, InsetList):
8216         * lyxfont.h (FontBits):
8217         type definition made public.
8218
8219         * bufferlist.C (emergencyWriteAll): the compiler complains that
8220         there is more than one possible lyx::class_fun template to choose from.
8221         I re-named the void specialisation as lyx::void_class_fun.
8222
8223         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8224
8225         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8226         the compiler is is unable to find tostr in write_attribute.
8227
8228 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8229
8230         * buffer.C (sgmlError): hide #warning
8231
8232 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8233
8234         * xtl/*: get rid of xtl, which is not in use anyway
8235
8236         * LyXAction.C (init):
8237         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8238         were unimplemented xtl experimentation
8239
8240 2002-06-04  André Pönitz <poenitz@gmx.net>
8241
8242         * lyxfunc.C: disable array operation on simple formulae
8243
8244 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8245
8246         * converter.C: constify a bit
8247
8248 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8249
8250         * lyx_gui.C: check xforms version correctly
8251
8252 2002-04-30  Herbert Voss  <voss@lyx.org>
8253
8254         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8255         "keep" option
8256
8257 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8260           attempt to register it with a VCS)
8261
8262 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * lyx_main.C (init): honor variables LYX_DIR_13x and
8265         LYX_USERDIR_13x
8266
8267 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * buffer.h:
8270         * buffer.C:
8271         * lyx_main.C: fix a crash on bad command line,
8272           and give a useful exit status on error
8273
8274         * lyxfunc.C (doImport): allow -i lyx to work
8275
8276 2002-03-30  André Pönitz <poenitz@gmx.net>
8277
8278         * lyxfunc.C: mathed font changes
8279
8280 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8281
8282         * LaTeX.C:
8283         * importer.h:
8284         * importer.C:
8285         * lyx_sty.h:
8286         * lyx_sty.C:
8287         * lyxlex.C:
8288         * lyxrow.h:
8289         * lyxtext.h:
8290         * paragraph.h:
8291         * paragraph.C:
8292         * texrow.h:
8293         * texrow.C:
8294         * text.C:
8295         * trans_mgr.h: srcdocs, and some minor cleanups
8296
8297 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8298
8299         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8300         call getFont all the time)
8301
8302 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8303
8304         * switch from SigC signals to boost::signals
8305
8306 2002-05-29  André Pönitz <poenitz@gmx.net>
8307
8308         * paragraph_pimpl.C (getChar): don't call size() too often...
8309
8310 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8311
8312         * paragraph_pimpl.C (insertChar): do not try to update tables when
8313         appending (pos == size())
8314
8315         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8316         in order to reduce drastically the number of comparisons needed to
8317         parse a large document
8318
8319 2002-05-29  André Pönitz <poenitz@gmx.net>
8320
8321         * text.C:
8322         * text2.C:
8323         * lyxtextclass.C:
8324         * sp_pspell.h:
8325         * textclasslist.[Ch]:
8326         * sp_ispell.h: whitespace change
8327
8328 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8329
8330         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8331         lyxaction directly now.
8332
8333 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * trans.C:
8336         * lyxfont.C:
8337         * lyxvc.C: remove unused headers
8338
8339 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8340
8341         * Makefile.am:
8342         * buffer.h:
8343         * undostack.h:
8344         * undostack.C:
8345         * undo_funcs.h:
8346         * undo_funcs.C: some cleanups. Use shared_ptr
8347           and a template for the undo stacks.
8348
8349 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * BufferView_pimpl.h:
8352         * BufferView_pimpl.C:
8353         * kbmap.h:
8354         * kbmap.C:
8355         * kbsequence.h:
8356         * kbsequence.C:
8357         * lyxfunc.h:
8358         * lyxfunc.C:
8359         * text2.C: use key_state/mouse_state
8360
8361 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8362
8363         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8364         and LSubstring
8365
8366         * chset.C: change include order
8367         (loadFile): use boost regex and get rid of LRegex and LSubstring
8368
8369         * Makefile.am (BOOST_LIBS): new variable
8370         (lyx_LDADD): use it
8371
8372         * LaTeX.C: change include order.
8373         (scanAuxFile): use boost regex and get rid of LRegex and
8374         LSubstring
8375         (deplog): ditto
8376
8377 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * ColorHandler.h:
8380         * ColorHandler.C:
8381         * FontInfo.h:
8382         * FontInfo.C: moved to frontends/xforms/
8383
8384         * FontLoader.h:
8385         * FontLoader.C: moved into frontends for GUIIzation
8386
8387         * Makefile.am:
8388         * lyx_gui.C:
8389         * lyxfont.C:
8390         * lyxfunc.C: changes from above
8391
8392 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8393
8394         * LColor.C: remove spurious X include
8395
8396         * BufferView_pimpl.C:
8397         * Makefile.am:
8398         * font.h:
8399         * font.C:
8400         * text.C:
8401         * text2.C: move font metrics to frontends/
8402
8403 2002-05-24  Juergen Vigna  <jug@sad.it>
8404
8405         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8406         setting the undo_cursor.
8407
8408         * ParagraphParameters.h: include local includes first.
8409
8410 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * BufferView_pimpl.C:
8413         * BufferView_pimpl.h:
8414         * Makefile.am:
8415         * WorkArea.h:
8416         * WorkArea.C:
8417         * screen.C: move WorkArea into frontends/
8418
8419         * lyxscreen.h:
8420         * screen.C:
8421         * text.C:
8422         * BufferView.C:
8423         * BufferView2.C: move LyXScreen into frontends/
8424
8425         * lyxlookup.h:
8426         * lyxlookup.C:
8427         * lyx_gui.C: move lyxlookup into frontends/xforms/
8428
8429 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * BufferView2.C:
8432         * BufferView_pimpl.C:
8433         * FontLoader.C:
8434         * LyXView.h:
8435         * LyXView.C:
8436         * Makefile.am:
8437         * WorkArea.C:
8438         * XFormsView.h:
8439         * XFormsView.C:
8440         * buffer.C:
8441         * bufferlist.C:
8442         * bufferview_funcs.C:
8443         * converter.C:
8444         * importer.C:
8445         * lyx_cb.C:
8446         * lyx_gui.C:
8447         * lyx_main.C:
8448         * lyx_find.C:
8449         * lyxfunc.C:
8450         * lyxvc.C:
8451         * minibuffer.C:
8452         * text.C:
8453         * text2.C:
8454         * trans.C:
8455         * vc-backend.C: move LyX/XFormsView into frontends/
8456
8457 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * Makefile.am:
8460         * PainterBase.C:
8461         * PainterBase.h:
8462         * Painter.C:
8463         * Painter.h:
8464         * WorkArea.C:
8465         * WorkArea.h:
8466         * screen.C:
8467         * tabular.C:
8468         * text.C:
8469         * text2.C: move Painter to frontends/
8470
8471 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8472
8473         * buffer.C: comment out some some code that depend upon lyx_format
8474         < 220
8475
8476         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8477         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8478
8479         * buffer.h (NO_COMPABILITY): turn off compability
8480
8481         * ColorHandler.C: include scoped_array.hpp
8482
8483         * font.C: Use more specific smart_ptr header.
8484         * Painter.C: ditto
8485         * gettext.C: ditto
8486         * ShareContainer.h: ditto
8487         * lyx_main.h: ditto
8488         * kbmap.h: ditto
8489         * FontInfo.h: ditto
8490         * BufferView_pimpl.h: ditto
8491         * ColorHandler.h: ditto
8492
8493         * kbmap.C (defkey): change call to shared_ptr::reset
8494
8495 2002-05-21  Juergen Vigna  <jug@sad.it>
8496
8497         * buffer.C (insertErtContents): fix to insert ert asis if it is
8498         non empty. Skip it completely if it contains only whitespaces.
8499
8500 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8501
8502         * BufferView_pimpl.C:
8503         * BufferView2.C: clear selection on paste (bug 393)
8504
8505 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8506
8507         * DepTable.C: include ctime
8508
8509 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8510
8511         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8512
8513 2002-05-14  Juergen Vigna  <jug@sad.it>
8514
8515         * text.C (breakParagraph): fixed function to honor the keepempty
8516         layout in the right maner and also to permit the right breaking
8517         algorithm on empty or non empyt keepempty paragraphs.
8518
8519         * paragraph.C (breakParagraph): we have to check also if the par
8520         is really empty (!size()) for isempty otherwise we do the wrong
8521         paragraph break.
8522
8523 2002-05-10  Juergen Vigna  <jug@sad.it>
8524
8525         * buffer.[Ch] : The following are only changes to the ert
8526         compatibility read reading old LaTeX layout and font stuff and
8527         convert it to ERTInsets.
8528
8529         * buffer.h: added isErtInset().
8530
8531         * buffer.C (struct ErtComp): add a fromlayout bool to check
8532         if we're inside a LaTeX layout.
8533         (isErtInset): new helper function.
8534         (insertErtContents): look for other ert insets before this one
8535         and insert the contents there, so that we don't have subsequent
8536         ERT insets with nothing between them. This way we create only one
8537         inset with multiple paragraphs. Also check if we don't insert only
8538         spaces ' ' as they are ignored anyway afterwards in the .tex file
8539         so if we have only spaces we will ignore this latex part in the
8540         new file.
8541         (parseSingleLyXformat2Token \\layout): better compatibility when
8542         reading layout-latex stuff.
8543         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8544         language tag.
8545         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8546         stuff after reading the inset only get the information back from
8547         the stack.
8548
8549 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8552
8553         * LaTeXFeatures.C (getBabelOptions): New method.
8554
8555 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8556
8557         * BufferView_pimpl.C (Dispatch): work around missing argument for
8558         'layout'
8559
8560 2002-05-08  Juergen Vigna  <jug@sad.it>
8561
8562         * text.C (leftMargin): handle paragraph leftindent.
8563
8564         * paragraph.C (writeFile): write the new \\leftindent tag.
8565         (validate): handle leftindent code.
8566         (TeXEnvironment): handle paragraphleftindent code again.
8567
8568         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8569
8570         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8571         for paragrap_extra indent code and new token \\leftindent.
8572         (latexParagraphs): handle the leftindent as environment.
8573
8574         * ParameterStruct.h: added leftindent support.
8575
8576         * ParagraphParameters.C (leftIndent): added support functions for
8577         the paragraph left indent.
8578
8579         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8580         more appropriate.
8581
8582 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8583
8584         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8585         inside insetERT.
8586
8587         * text.C (computeBidiTables): No bidi in insetERT.
8588
8589         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8590         in RTL documents.
8591
8592 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8593
8594         * version.C.in: pre 5
8595
8596 2002-05-02  José Matos  <jamatos@fep.up.pt>
8597         * buffer.C (makeDocBookFile): white space changes, add newline to
8598         command styles.
8599         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8600
8601         * tabular.C (docBook): fix typo.
8602
8603 2002-05-03  Juergen Vigna  <jug@sad.it>
8604
8605         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8606         change in LyXText as we can not be sure it was not freed.
8607         (drawOneRow): remove unused code.
8608
8609         * text.C (drawInset): redo the calculation of the need_break_row as
8610         it could have a row which was already freed.
8611         (draw): look at the return value of drawInset and return false if
8612         it also returned false.
8613         (paintRowText): look at the return value of draw and return false if
8614         it also returned false.
8615
8616         * lyxtext.h: added bool return type to drawInset() and draw() so that
8617         if we have a change in the row so that the rowbreak has to be redone
8618         we abort drawing as it will be called again.
8619
8620 2002-05-02  Juergen Vigna  <jug@sad.it>
8621
8622         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8623         a change in the maintext also if we're inside an inset.
8624         (Dispatch): set the cursor again after a break line and after the
8625         screen has been updated as it could be we're in a different row.
8626
8627         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8628         to set the cursor behind the pargraph with > size().
8629         (setCursor): check also for the same paragraph when checking where
8630         to put the cursor if we have a NFR inset.
8631
8632         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8633         parts of layout read further up as it still was in the wrong
8634         position.
8635
8636 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * screen.C (drawFromTo): change sine fullRebreak always return
8639         true.
8640
8641         * buffer.C (parseSingleLyXformat2Token): reindent some
8642
8643         * BufferView_pimpl.C (update): change since fullRebreak always
8644         return true.
8645         (Dispatch): git rid of the last hardcoded "Standard"s.
8646
8647 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8648
8649         * text2.[Ch] (fullRebreak): make it return void now that we always
8650         returned true.
8651
8652 2002-04-30  Juergen Vigna  <jug@sad.it>
8653
8654         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8655         ert compatibility check for "latex" layout.
8656
8657 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8658
8659         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8660         minipages: use col% instead of p%, and also use the current font.
8661         (makeLaTeXFile): Fix use babel condition.
8662         (parseSingleLyXformat2Token): Correct font when reading old floats.
8663
8664 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8665
8666         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8667         inserting list of floats.
8668
8669 2002-04-25  Herbert Voss  <voss@lyx.org>
8670
8671         * MenuBackend.C (expand): don't add the graphics extensions to the
8672         export menu
8673
8674 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8675
8676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8677         non-existing layout, do not complain if it was the default layout
8678         of the original class (bug #342)
8679
8680 2002-04-24  Juergen Vigna  <jug@sad.it>
8681
8682         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8683         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8684
8685 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8686
8687         * buffer.C (getBibkeyList): If using \bibliography, return the
8688         option field with the reference itself. Enables us to provide natbib
8689         support when using \bibliography.
8690
8691 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8692
8693         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8694
8695         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8696         natbib is provided by the LaTeX class.
8697
8698 2002-04-23  Juergen Vigna  <jug@sad.it>
8699
8700         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8701         Wakeup functions.
8702
8703         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8704
8705 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8708
8709         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8710         ensuremath around textordmasculine, textordfeminine and
8711         textdegree.
8712
8713 2002-04-19  Juergen Vigna  <jug@sad.it>
8714
8715         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8716         reinitializing the buffer otherwise row-dimensions may be wrong.
8717         (update): reset also the selection cursors if they do exits otherwise
8718         their x/y positions may be wrong.
8719
8720         * text2.C (cursorDown): don't enter the inset if we came from a row
8721         above and are one row over the inset.
8722
8723         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8724         really leaving an inset.
8725
8726 2002-04-18  Juergen Vigna  <jug@sad.it>
8727
8728         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8729         of the selected paragraph does not have the selected layout also if
8730         the last one had!
8731
8732         * text2.C (setLayout): fixed bug which did not change last selected
8733         paragraph.
8734
8735         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8736         changed the read and substituted \\end_float with \\end_inset!
8737
8738         * BufferView_pimpl.C (cursorPrevious):
8739         (cursorNext): fixed to make it work with rows heigher than the work
8740         area without moving the cursor only the draw of the row.
8741         (workAreaMotionNotify): fix jumping over high rows.
8742
8743 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8744
8745         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8746         Ressler.
8747
8748 2002-04-16  Juergen Vigna  <jug@sad.it>
8749
8750         * text2.C (setCursor): set also the irow().
8751         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8752         (cursorUp):
8753         (cursorDown): support for locking an inset if the x_fix value goes
8754         inside it. That way I can transverse insets too with cursor up/down.
8755
8756         * lyxrow.h: added irow helper function same as other (i) functions.
8757
8758         * BufferView_pimpl.C (cursorPrevious):
8759         (cursorNext): fixed for insets!
8760
8761 2002-04-15  Juergen Vigna  <jug@sad.it>
8762
8763         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8764         position otherwise it is wrong in some cases.
8765
8766         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8767         inside the inset before the call.
8768
8769 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8770
8771         * buffer.[Ch] (getBibkeyList): make it const.
8772
8773 2002-04-12  Juergen Vigna  <jug@sad.it>
8774
8775         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8776
8777         * text2.C (getCursorX): new helper function
8778         (setCursor): compute also ix_
8779         (setCursorFromCoordinates): set also ix.
8780
8781         * lyxcursor.h: added ix_ and helper functions.
8782
8783         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8784
8785         * buffer.C (insertStringAsLines): dont break paragraph if the this
8786         paragraph is inside an inset which does not permit it!
8787
8788         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8789         also with no chars on this paragraph.
8790         (paintRowText): only paint stuff if it's inside the workarea!
8791
8792         * paragraph.C (breakParagraph): honor keepempty flag and break the
8793         paragraph always below not above.
8794
8795         * BufferView2.C (unlockInset): update the paragraph layout on inset
8796         unlock as we changed paragraph in such a case.
8797
8798         * lyxfind.C (LyXFind): clear the former selection if not found!
8799
8800         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8801         again called in insertChar().
8802
8803         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8804         an inset which uses the whole row!
8805         (rightMargin): ditto.
8806         (insertChar): force a rebreak if we inserted an inset!
8807
8808 2002-03-28  Herbert Voss  <voss@lyx.org>
8809
8810         * lyxlength.[Ch]: add inBP() to get the right PS-point
8811         units (BigPoint). With inPixels we have rounding errors
8812
8813 2002-04-11  Juergen Vigna  <jug@sad.it>
8814
8815         * text2.C (setCursorFromCoordinates): set iy to the right value.
8816         (setCursor): add check if row->previous exists!
8817
8818         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8819         an old float_type as this was the case in the old code!
8820
8821         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8822
8823         * BufferView2.C (showLockedInsetCursor): use iy
8824         (fitLockedInsetCursor): ditto
8825
8826         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8827         locked insets as there we have the right value now.
8828
8829         * lyxcursor.C: added iy_ variable and iy functions to set to the
8830         baseline of cursor-y of the locked inset.
8831
8832         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8833         (setCursor): fixed for insets which need a full row.
8834
8835         * text.C (rowLastPrintable): don't ignore the last space when before
8836         an inset which needs a full row.
8837         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8838         as last character of a row when before a inset which needs a full row.
8839
8840 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8841
8842         * version.C.in: update date
8843
8844         * text2.C (fullRebreak): try to always return true and see what
8845         happens...
8846
8847 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * MenuBackend.C (expand): use Floating::listName
8850
8851         * FloatList.C (FloatList): add listName argument to the built-in
8852         floats
8853
8854         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8855         text associated with the float.
8856
8857 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8858
8859         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8860
8861 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8862
8863         * ShareContainer.h: add a couple of missing typenames.
8864
8865 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8866
8867         * lyxrc.C (getDescription): use _() correctly rather than N_().
8868
8869 2002-03-28  Herbert Voss  <voss@lyx.org>
8870
8871         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8872         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8873
8874 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8877         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8878
8879 2002-03-29  Juergen Vigna  <jug@sad.it>
8880
8881         * lyxfunc.C (dispatch): add a missing fitCursor call.
8882
8883         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8884         it was scrolled by a cursor move, so return the bool status.
8885
8886         * BufferView.C (fitCursor): return the bool flag also to the outside
8887         world as this is needed.
8888
8889         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8890
8891         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8892         call the edit() as it is not needed (and wrong) IMO.
8893         (workAreaButtonPress): set the screen_first variable before evt.
8894         unlock the inset as this may change screen_first and then we have
8895         a wrong y position for the click!
8896
8897 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * MenuBackend.C (expand): another translation that I missed
8900
8901 2002-03-28  Juergen Vigna  <jug@sad.it>
8902
8903         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8904
8905         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8906
8907 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8908
8909         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8910
8911         * MenuBackend.C (expand): fix export/view/update when there is no
8912         document open.
8913
8914 2002-03-27  Herbert Voss  <voss@lyx.org>
8915
8916         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8917         and text%
8918
8919 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8920
8921         * bufferview_funcs.C (currentState): only show paragraph number
8922         for is DEVEL_VERSION is set.
8923
8924         * lyxfunc.C (dispatch): put warning in INFO channel
8925
8926         * MenuBackend.C (expand): translate the name of floats
8927
8928         * FloatList.C (FloatList): mark the float names for translation
8929
8930         * converter.C (convert): use LibScriptSearch
8931
8932 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * MenuBackend.C (defaults): fix default menu (we might as well get
8935         rid of it...)
8936
8937 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8940         directory.
8941
8942 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8943
8944         * lyxvc.C: reorder includes.
8945
8946 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8949           properly
8950
8951 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8952
8953         * CutAndPaste.C: change layouts earlier on paste
8954           to avoid crashing when calling getFont()
8955
8956 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8957
8958         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8959         irritating #error.
8960
8961 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8962
8963         * WorkArea.C: remove 'Pending' debug message.
8964
8965         * most files: ws cleanup
8966
8967         * buffer.[Ch]: ws changes
8968
8969         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8970
8971 2002-03-21  Juergen Vigna  <jug@sad.it>
8972
8973         * tabular.C (SetMultiColumn): collapse also the contents of the
8974         cells and set the last border right. Added a Buffer const * param.
8975
8976 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8979         linking or not.
8980
8981 2002-03-19  Juergen Vigna  <jug@sad.it>
8982
8983         * text2.C (clearSelection): reset also xsel_cache.
8984
8985         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8986         where it needs to be called (John tells us to do so too :)
8987         (selectionLost): reset sel_cache.
8988
8989         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8990
8991 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * text2.C (setCursorIntern): put debuging code in INSETS channel
8994
8995 2002-03-19  André Pönitz <poenitz@gmx.net>
8996
8997         * lyxfunc.C: tiny whitespace change
8998
8999 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * ToolbarDefaults.C (init):
9002         * LyXAction.C (init):
9003         * commandtags.h:
9004         * BufferView_pimpl.C (Dispatch):
9005         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9006
9007 2002-03-19  Allan Rae  <rae@lyx.org>
9008
9009         * exporter.C (Export): removeAutoInsets before doing anything else.
9010         While I've just introduced a dependency on BufferView this really is
9011         the best place to clean the buffer otherwise you need to cleanup in
9012         a dozen places before calling export or cleanup in a dozen functions
9013         that export calls.
9014
9015         * converter.C (runLaTeX):
9016         (scanLog): Better handling of removeAutoInsets and screen updates.
9017
9018         * lyxfunc.C (dispatch): small whitespace changes
9019
9020 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * WorkArea.C (C_WorkAreaEvent): return a value.
9023         (event_cb): return 1 if we handled the event, 0 otherwise.
9024
9025         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9026
9027 2002-03-18  Juergen Vigna  <jug@sad.it>
9028
9029         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9030         (GetAdditionalWidth): ditto.
9031         (RightLine): ditto.
9032         (LeftLine): ditto.
9033
9034         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9035         inset if we're there actually (probably not used right now but this
9036         is the direction to go for unifying code).
9037         (paste): disable code to clear the selection.
9038
9039         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9040         inside an InsetText and move the check further up as it is in the
9041         wrong place.
9042
9043         * text2.C (pasteSelection): set a selection over the pasted text.
9044
9045 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9046
9047         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9048         and libgraphics to build on Cygwin.
9049
9050 2002-03-15  Juergen Vigna  <jug@sad.it>
9051
9052         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9053         inserting an Inset into the paragraph. I know this is not the best
9054         fix but we already use current_view in CutAndPaste so we will remove
9055         all of it's using at the same time.
9056
9057         * buffer.C (sgmlError): deactivated function till it is rewritten in
9058         the right mode, now it can create problems.
9059
9060         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9061         before accessing it.
9062
9063 2002-03-14  Juergen Vigna  <jug@sad.it>
9064
9065         * undo_funcs.C (textHandleUndo): do the right thing when updating
9066         the inset after the undo/redo.
9067
9068         * text2.C (setCursor): just some testcode for #44 not ready yet.
9069
9070         * undo_funcs.C (textHandleUndo): set the next() and previous()
9071         pointers of the paragraph to 0 before deleting otherwise we have
9072         problems with the Paragraph::[destructor].
9073
9074         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9075         on a paragraph insertion.
9076
9077 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9078
9079         * buffer.C (asciiParagraph): use += operator for char append to
9080         string.
9081
9082         * paragraph.C (getFontSettings): compare >= not just >
9083         (highestFontInRange): ditto
9084         (setFont): ditto
9085
9086 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * paragraph.C: change several algorithm to be more appripriate for
9089         the problem domain. This is lookip in FontList and in the InsetList.
9090
9091 2002-03-13  André Pönitz <poenitz@gmx.net>
9092
9093         * commandtags.h:
9094         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9095
9096 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9097
9098         * commandtags.h:
9099         * LyXAction.C:
9100         * lyxfunc.C:
9101         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9102
9103 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * Painter.C (display): anon helper function, adjust code for this
9106         change.
9107         (pixmap): remove function.
9108
9109         * Painter.h: remove private display variable.
9110
9111         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9112
9113 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9114
9115         * WorkArea.[Ch]: remove figinset_canvas cruft.
9116
9117 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9118
9119         * lyxtextclass.C (operator): add one item cache optimization.
9120
9121         * bufferlist.h: doxy changes
9122
9123         * bufferlist.C: ws changes
9124
9125         * DepTable.[Ch] (ext_exist): place const in the right spot.
9126
9127         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9128         call resizeInsets.
9129         (workAreaExpose): call resizeInsets when the with BufferView changes.
9130         (Dispatch): adjust for protectedBlank removal
9131         (specialChar): call updateInset if the insert went ok.
9132
9133         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9134         specialChar instead.
9135
9136         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9137
9138         * BufferView.h: doxy change
9139
9140         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9141
9142         * lyxtextclass.C (operator[]): remove non-const version
9143         (defaultLayout): remove non-const version
9144
9145 2002-03-12  Juergen Vigna  <jug@sad.it>
9146
9147         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9148         did resize the LyXText too.
9149
9150         * buffer.C (readLyXformat2): set layout information on newly allocated
9151         paragraphs.
9152
9153         * tabular.C (OldFormatRead): set layout information on the paragraph.
9154
9155 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9156
9157         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9158
9159 2002-03-11  Juergen Vigna  <jug@sad.it>
9160
9161         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9162         plainly wrong.
9163         (resizeCurrentBuffer): force also the insets to resize themselfes.
9164         (moveCursorUpdate): fixed up for InsetText.
9165
9166 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9167
9168         * commandtags.h:
9169         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9170         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9171         value of Dialogs::tooltipsEnabled().
9172         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9173
9174 2002-03-08  Juergen Vigna  <jug@sad.it>
9175
9176         * BufferView_pimpl.C (updateInset): update inset inside inset also
9177         if it isn't inside theLockingInset().
9178
9179 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9180
9181         * buffer.C (asciiParagraph): redo some of the word and line length
9182         handling.
9183         (getLists): look for Caption instead of caption.
9184
9185 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9186
9187         * buffer.C (Buffer): initialize niceFile to true
9188         (makeLaTeXFile):
9189         (makeLinuxDocFile):
9190         (makeDocBookFile): make sure niceFile is true on exit
9191
9192 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9193
9194         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9195
9196 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9197
9198         * LyXSendto.C: remove.
9199         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9200         * lyx_gui.C: remove now-redundant comment.
9201         * ColorHandler.h: remove forward declaration of class WorkArea.
9202         * lyxfunc.C: remove #include "WorkArea.h".
9203
9204 2002-03-07  Juergen Vigna  <jug@sad.it>
9205
9206         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9207         got moved away with the DEPM and also set the inset_owner always
9208         right which before could have been omitted.
9209
9210 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9211
9212         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9213         wanted layout is not found.
9214
9215 2002-03-07  Juergen Vigna  <jug@sad.it>
9216
9217         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9218
9219 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * paragraph.C (breakParagraph): use default layout not layout of
9222         prev paragraph.
9223         (Paragraph): clear ParagraphParameters.
9224
9225 2002-03-06  Juergen Vigna  <jug@sad.it>
9226
9227         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9228         otherwise it would not be a valid lenght. Fixed a special case in
9229         the minipage compatibility read where we end the document with a
9230         minipage.
9231
9232         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9233         was set as it could be 0 for InsetTexts first entry.
9234
9235 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * paragraph.C (writeFile): if layout is empty write out
9238         defaultLayoutName().
9239
9240         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9241         file without named layout we set layout to defaultLayoutName().
9242
9243 2002-03-06  Juergen Vigna  <jug@sad.it>
9244
9245         * CutAndPaste.C (copySelection): set layout for new paragraph.
9246
9247         * text.C (prepareToPrint): leave ERT inset left aligned
9248         (leftMargin): don't indent paragraphs inside ERT insets
9249
9250 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9251
9252         * paragraph.C (breakParagraph): dont call clear do the work manually
9253
9254         * paragraph.[Ch] (clear): remove function
9255
9256 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * paragraph.C (Paragraph): dont call clear, the work has already
9259         been done.
9260
9261         * lyxtextclass.C (operator): assert if n is empty
9262
9263         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9264         work manually instead.
9265
9266 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * BufferView_pimpl.C: protect selectionLost against text == 0
9269
9270 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9271
9272         * text.C (breakParagraph): fix a setting layout to '0' problem.
9273
9274 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9275
9276         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9277         final location of file, for the included files, and graphics.
9278
9279 2002-03-05  Juergen Vigna  <jug@sad.it>
9280
9281         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9282
9283 2002-03-04  Juergen Vigna  <jug@sad.it>
9284
9285         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9286
9287         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9288         last column of multicolumn cells.
9289         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9290
9291 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9292
9293         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9294         file if it doesn't go to a temporary file.
9295
9296         * buffer.C (sgmlOpenTag):
9297         (sgmlCloseTag):  remove extra newline insertion.
9298
9299 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9300
9301         * text.C (getRowNearY): comment out debug msg
9302
9303 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9304
9305         * text2.C: first -> first_y
9306
9307         * text.C (getRowNearY): add some attemts at a possible
9308         optimization, not working.
9309
9310         * tabular.[Ch]: add BufferParams to several function so that newly
9311         created paragraph can be initialized to he default layotu for the
9312         buffers textclass.
9313
9314         * tabular-old.C (ReadOld): add buf->params to call of Init
9315
9316         * screen.C: rename text->first to text->first_y
9317
9318         * paragraph.C (breakParagraph): always set layout in the broken
9319         paragraph
9320
9321         * lyxtextclass.C (Read): remove lowercase
9322         (hasLayout): ditto
9323         (operator): ditto
9324         (delete_layout): ditto
9325
9326         * lyxtext.h: rename first -> first_y
9327
9328         * lyxlayout.C (Read): remove lowercase
9329         (name): ditto
9330         (setName): ditto
9331         (obsoleted_by): ditto
9332
9333         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9334
9335         * buffer.C (insertErtContents): add params are to InsetERT
9336         (parseSingleLyXformat2Token): add code to check if a paragraphs
9337         layout really exist.
9338         (parseSingleLyXformat2Token): add params to several inset
9339         constructors
9340         (asciiParagraph): remove lowercase, do the layout comparisons with
9341         no_case
9342
9343         * BufferView_pimpl.C (cursorNext): first -> first_y
9344         (resizeCurrentBuffer): first -> first_y
9345         (updateScrollbar): first -> first_y
9346         (scrollCB): first -> first_y
9347         (workAreaMotionNotify): first -> first_y
9348         (workAreaButtonPress): first -> first_y
9349         (checkInsetHit): first -> first_y
9350         (cursorPrevious): first -> first_y
9351         (cursorNext): first -> first_y
9352         (Dispatch): add buffer_->params to severl inset contructors
9353
9354 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9355
9356         * lyxlayout.C (Read): remove some debug info that I forgot.
9357
9358         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9359         clean up the code slightly.
9360         (makeLinuxDocFile): ditto
9361         (makeDocBookFile): ditto
9362
9363         * text2.C: layout as string
9364
9365         * text.C: layout as string
9366
9367         * paragraph_pimpl.C: layout as string
9368
9369         * paragraph.[Ch]: layout as string
9370
9371         * lyxtextclasslist.[Ch]: layout as string
9372
9373         * lyxtextclass.[Ch]: layout as string
9374
9375         * lyxtext.h: layout as string
9376
9377         * lyxlayout.[Ch]: layout as string
9378
9379         * lyx_cb.C: layout as string
9380
9381         * bufferview_funcs.C: layout as string
9382
9383         * bufferparams.C: layout as string
9384
9385         * buffer.C: layout as string
9386
9387         * LyXView.[Ch]: layout as string
9388
9389         * LaTeXFeatures.[Ch]: layout as string
9390
9391         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9392
9393         * BufferView_pimpl.C: change current_layout to string, remove
9394         lyx::layout_type.
9395         (Dispatch):
9396         (smartQuote):
9397         (insertInset):
9398         (workAreaButtonRelease): layout as string
9399
9400         * BufferView2.C (unlockInset): adjust
9401
9402         * vspace.C (asLatexCommand): use an explict temp variable.
9403
9404 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * Makefile.am: use FRONTEND_*
9407
9408 2002-03-01  Juergen Vigna  <jug@sad.it>
9409
9410         * tabular.C (SetWidthOfMulticolCell): changed to something better
9411         I hope but still work in progress.
9412         (recalculateMulticolumnsOfColumn): renamed function from
9413         recalculateMulticolCells as it is more appropriate now.
9414         (SetWidthOfCell): calculate multicols better.
9415
9416 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9417
9418         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9419
9420         * lyxfunc.C (processKeySym): print sequence also if it is
9421         `deleted' (complete)
9422
9423         * kbsequence.C (print): print sequence even if it is deleted
9424         (complete would be a better word, actually).
9425
9426         * lyxfunc.C (dispatch): print complete options after a prefix key
9427
9428         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9429
9430 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9431
9432         * text2.C (setCharFont): eliminate setCharFont code duplication.
9433
9434 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9435
9436         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9437         LFUN_TABULAR_FEATURE (bug #177)
9438
9439 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9440
9441         * Makefile.am: remove figure.h
9442
9443 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9444
9445         * Bufferview_pimpl.C:
9446         * CutAndPasteC:
9447         * LaTeX.C:
9448         * LyXSendto.C:
9449         * buffer.C:
9450         * bufferlist.C:
9451         * converter.C:
9452         * language.C:
9453         * lyxfunc.C:
9454         * lyxvc.C:
9455         * paragraph.C:
9456         * text.C:
9457         * text2.C: remove #include "lyx_gui_misc.h".
9458
9459         * LaTeX.C: added #include <cstdio>
9460
9461 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9464         that the paragraph following this one can have.
9465
9466         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9467
9468         * vspace.C (asLatexCommand): fix bogus gcc warning
9469
9470         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9471
9472 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9473
9474         * text2.C (setLayout): get rid of redundant code
9475
9476 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9477
9478         * text2.C (incDepth): make sure depth cannot be increased beyond
9479         reasonable values.
9480
9481 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9482
9483         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9484         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9485
9486         * PainterBase.h (image):
9487         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9488         a LyXImage const *.
9489
9490 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9491
9492         * BufferView.C:
9493         * BufferView.h:
9494         * BufferView_pimpl.C:
9495         * BufferView_pimpl.h:
9496         * LaTeXFeatures.C:
9497         * LyXAction.C:
9498         * LyXView.C:
9499         * Makefile.am:
9500         * UpdateList.h:
9501         * UpdateList.C:
9502         * buffer.C:
9503         * figure.h:
9504         * figureForm.C:
9505         * figureForm.h:
9506         * figure_form.C:
9507         * figure_form.h:
9508         * lyx_cb.C:
9509         * lyx_gui.C:
9510         * lyx_gui_misc.C:
9511         * lyxfunc.C:
9512         * sp_base.h:
9513         * sp_ispell.h:
9514         * sp_pspell.h:
9515         * sp_spell.C: remove fig inset, and the crap house of
9516           cards that follows it
9517
9518 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * Makefile.am:
9521         * lyxserver.C:
9522         * os2_defines.h:
9523         * os2_errortable.h:
9524         * nt_defines.h: move .h into support/
9525
9526         * vms_defines.h: remove
9527
9528         * WorkArea.C: add space in debug output
9529
9530         * text2.C:
9531         * paragraph.C:
9532         * buffer.C: add WITH_WARNINGS
9533
9534         * vc-backend.h:
9535         * vc-backend.C:
9536         * bufferlist.C: s/retrive/retrieve/, add docs
9537
9538         * vspace.h:
9539         * vspace.C:
9540         * kbmap.h:
9541         * lyxlength.h:
9542         * lyxgluelength.h:
9543         * length_common.h:
9544         * chset.h:
9545         * chset.C: add docs
9546
9547         * lyxgui.C: add ID to X error handler
9548
9549         * lyxtestclass.c: fix typo
9550
9551 2002-02-26  Juergen Vigna  <jug@sad.it>
9552
9553         * tabular_funcs.C (write_attribute): changed so that some default
9554         attributes are not written at all.
9555         (getTokenValue): set default values before trying to read the
9556         value so we have the return value always set as default if we don't
9557         find the token we search for.
9558
9559         * tabular.C (Write): write bools as bools not as strings!
9560
9561 2002-02-22  Juergen Vigna  <jug@sad.it>
9562
9563         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9564         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9565
9566         * text.C (leftMargin): don't add an indent for paragraphs inside
9567         tabular cells (fix #208).
9568
9569 2002-02-21  José Matos  <jamatos@fep.up.pt>
9570
9571         * tabular.C (docBook): fixed support for long tables.
9572
9573 2002-02-20  Juergen Vigna  <jug@sad.it>
9574
9575         * text2.C (getFont): get the drawing font of the Inset if this
9576         paragraph is inside an inset (only important for InsetERT for now).
9577
9578         * buffer.C (insertErtContents): use new lanugage params in ERT
9579         constructor.
9580
9581         * CutAndPaste.C: commenting out seemingly uneeded code.
9582
9583 2002-02-19  Allan Rae  <rae@lyx.org>
9584
9585         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9586         Iterators might be simple to use but they also get invalidated.
9587         (removeAutoInsets): renamed saved cursor tracking variables and added
9588         some comments to clarify what everything does.
9589
9590 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9591
9592         * Chktex.C:
9593         * LaTeX.C:
9594         * LyXSendto.C:
9595         * converter.C:
9596         * lyx_cb.C:
9597         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9598         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9599
9600         * lyxfunc.C:
9601         * vc-backend.h: remove #include "support/syscall.h"
9602
9603         * LaTeX.C:
9604         * LyXSendto.C:
9605         * converter.C: rearrange #includes in Lars' approved fashion.
9606
9607         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9608         forward declare class Timeout in the header file.
9609
9610         * XFormsView.C: changes due to the above.
9611
9612         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9613         similar to LyXView.
9614
9615         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9616         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9617
9618 2002-02-18  José Matos  <jamatos@fep.up.pt>
9619
9620         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9621         insets contents.
9622
9623 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9624
9625         * a lot of small ws changes
9626         * add a lot of using std::XXX
9627         * use std construcs some places where approp.
9628         * use some exisint stuff from lyxfunctional where approp.
9629         * Make file changes to use partial linking (lets test this now...)
9630
9631 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9632
9633         * Chktex.C:
9634         * buffer.C:
9635         remove #include "support/syscontr.h" as it's redundant. Always has been.
9636
9637         * Chktex.C:
9638         * LaTeX.C:
9639         * LyXSendto.C:
9640         * converter.C:
9641         * lyx_cb.C:
9642         * vc-backend.C:
9643         change Systemcalls::System to Systemcalls::Wait and
9644         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9645         No change of functionality, just reflects the stripped down Systemcalls
9646         class.
9647
9648 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9649
9650         * debug.[Ch]: add a GRAPHICS type to the enum.
9651
9652 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9653
9654         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9655
9656         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9657         there is an inset.
9658
9659 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9662         match the changes below.
9663
9664         * text2.C (toggleInset): if there is not editable inset at cursor
9665         position, try to see if cursor is _inside_ a collapsable inset
9666         and close it.
9667
9668 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9671         document menu has a nice checkbox
9672
9673 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * lyxlength.C (asLatexString): change PW to output as percent of
9676         \textwidth.
9677
9678         * lengthcommon.C: change '%' to 't%'
9679
9680         * lyxfunc.C (dispatch): a few comments from Martin
9681
9682 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * WorkArea.h:
9685         * WorkArea.C:
9686         * BufferView_pimpl.h:
9687         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9688           the X selection.
9689
9690 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * vspace.C (inPixels): fix compiler warning
9693
9694 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * lyxfunc.C (getStatus): fix status message for disabled commands.
9697
9698 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * BufferView_pimpl.C: fix crash on close buffer
9701         during selection (#227)
9702
9703 2002-01-27  Herbert Voss  <voss@lyx.org>
9704
9705         * buffer.C: link old Figure to new graphic inset
9706
9707 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9708
9709         * FontLoader.C (getFontinfo): Change the latex font names in order
9710         to match the names of type1inst.
9711
9712 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9713
9714         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9715
9716         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9717         (extchanged): ditto
9718         (ext_exist): ditto
9719         (remove_files_with_extension): ditto
9720         (remove_file): ditto
9721         (write): ditto
9722
9723         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9724         document is smaller than the work area height. Do not initialize
9725         static variables to 0.
9726
9727 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9728
9729         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9730
9731         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9732         LFUN_LAYOUT_PARAGRAPHS.
9733
9734         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9735         tabular. It is possible to provide a possible cell, which will
9736         typically be the actcell from the corresponding insettabular
9737
9738         * lyxfunc.C (getStatus): small cleanup; disable
9739         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9740         true
9741
9742 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9745
9746         * paragraph.C (startTeXParParams):
9747         (endTeXParParams): new methods. The LaTeX code to
9748         start/end paragraph formatting
9749         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9750         empty (fixes bug #200)
9751
9752         * vspace.C (inPixels): adapt to the change below
9753         (inPixels): [later] more cleanups (remove unused variables)
9754
9755         * lyxlength.C (inPixels): change to use a width and a height as
9756         parameter.
9757
9758 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9761         Replaced with \paperwidth
9762
9763         * DepTable.C (insert): add std:: qualifier
9764
9765 2002-01-18  Allan Rae  <rae@lyx.org>
9766
9767         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9768         updated also?
9769
9770         * text.C (drawInset): Turned out I didn't know enough about how
9771         rebreaking worked.  This fixes most of the redraw problems.  I see
9772         an occasional cursor trail when a line is broken now and the cursor
9773         placement can seem out by a few pixels also after a rebreak.
9774
9775 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * buffer.C (parseSingleLyXformat2Token): update because minipage
9778         width is now a LyXLength
9779
9780         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9781
9782         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9783         math insets
9784
9785 2002-01-17  Juergen Vigna  <jug@sad.it>
9786
9787         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9788
9789         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9790         is set correctly and the inset is updated correctly.
9791
9792 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9795         the beginning of the loop.
9796
9797 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9798
9799         * lyxrc.C: improve help for use_scalable_fonts
9800
9801 2002-01-17  Allan Rae  <rae@lyx.org>
9802
9803         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9804
9805 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9806
9807         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9808         make sure to set their inset_owner to the right value (bug #171)
9809
9810 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9811
9812         * DepTable.h
9813         * DepTable.C: Implement mtime checking to reduce time spent doing
9814         CRCs.
9815
9816 2002-01-16  Juergen Vigna  <jug@sad.it>
9817
9818         * tabular.C (GetAdditionalHeight): one of error fixed.
9819
9820         * lyxrc.C (output): small fix in writing use_pspell.
9821
9822 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9823
9824         * sp_base.h: #include LString.h
9825
9826 2002-01-16  Allan Rae  <rae@lyx.org>
9827
9828         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9829         Can someone check this please?
9830
9831         * text.C (drawInset): It was possible that p.row would be removed by
9832         breakAgainOneRow upsetting a few other settings.  There may be another
9833         small tweak possible by setting need_break_row = 0 when p.row has been
9834         removed but I don't know enough about the logic here.
9835
9836 2002-01-15  Allan Rae  <rae@lyx.org>
9837
9838         * text.C (insertChar): removed conditional truism.
9839
9840         * BufferView2.C (removeAutoInsets): More tweaks.
9841         cur_par_prev could be a stray pointer.  Check for trailing empty line
9842         in case last line was cur_par and only had an error inset on it.
9843
9844 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9847         absolute
9848
9849         * vc-backend.C (most methods):
9850         * exporter.C (Export):
9851         * converter.C (convert):
9852         (runLaTeX):
9853         * LyXSendto.C (SendtoApplyCB):
9854         * lyxfunc.C (dispatch):
9855         (menuNew):
9856         (open):
9857         (doImport):
9858         * lyx_cb.C (AutoSave):
9859         (InsertAsciiFile):
9860         * BufferView_pimpl.C (MenuInsertLyXFile):
9861         * buffer.C (runChktex): use Buffer::filePath().
9862
9863         * buffer.h: rename filename to filename_; rename filepath to
9864         filepath_ and make it private
9865         (filePath): new method
9866
9867         * buffer.C (writeFile): use fileName()
9868         (getLatexName):
9869
9870         * lyx_main.C (init): fix starting  of LyX when the binary is a
9871         link from so,ewhere else.
9872
9873         * minibuffer.C: include <cctype> for isprint
9874
9875 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9876
9877         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9878         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9879         name clash with InsetCollapsable's width function.
9880
9881 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * lastfiles.C: include <iterator>
9884
9885 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9886
9887         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9888         std::count.
9889
9890         * buffer.C (makeLaTeXFile): ditto.
9891         Also make loop operation more transparent.
9892
9893 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9894
9895         * ToolbarDefaults.C: remove trailing comma closing namespace.
9896
9897         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9898
9899         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9900         as in WorkArea.
9901
9902         * trans.C (Load): comment out unused variable, allowed.
9903
9904 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * minibuffer.[Ch] (append_char): new method to recieve input from the
9907         drop-down completion browser. If a key was pressed, then recieve this
9908         char and append it to the existing string.
9909         (peek_event): modify the positioning data passed to the completion
9910         browser so that it can be placed above the minibuffer rather than below.
9911 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * LyXAction.C (init): alloe error-next for readonly documents.
9914
9915         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9916         count.
9917
9918 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9919
9920         * bufferlist.C (readFile): create the buffer _after_ checking that
9921         the file exists.
9922
9923         * lyxfunc.C (verboseDispatch): fix handling of arguments
9924
9925         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9926
9927         * lyxrc.C: use string::erase() instead of initializing to "".
9928
9929
9930 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * BufferView_pimpl.h:
9933         * BufferView_pimpl.C:
9934         * WorkArea.h:
9935         * WorkArea.C:
9936         * text2.C: tell X when we have made a selection for copying
9937
9938 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * BufferView_pimpl.C (MenuInsertLyXFile):
9941         * lyxfunc.C (menuNew):
9942         (open):
9943         (doImport): add shortcuts to directory buttons
9944
9945         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9946         open a float)
9947
9948         * lyxfunc.C (setStatusMessage):
9949         (getStatusMessage): new methods
9950         (getStatus):use setStatusMessage instead of setErrorMessage
9951         (dispatch): when function is disabled, set error message here
9952         [instead of in getStatus previously]
9953
9954         * BufferView_pimpl.C (workAreaButtonRelease): update
9955         toolbar/menubar here too.
9956
9957 2002-01-13  Allan Rae  <rae@lyx.org>
9958
9959         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9960         Now seems indestructible.  Remaining task is to audit all other
9961         code affected by deleteEmptyParagraphMechanism.  One small quirk
9962         left is that an empty document with an error in the preamble can
9963         be made to report an error but no error box appears.  I don't know
9964         where it goes.
9965         (removeAutoInsets): Improved comments.
9966
9967 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * Thesaurus.h:
9970         * Thesaurus.C: update for Aiksaurus 0.14
9971
9972 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * text2.C (firstParagraph): removed member function, all uses
9975         replaces with ownerParagraph
9976         (redoParagraphs): here
9977         (updateInset): here
9978         (toggleAppendix): here
9979         * BufferView2.C (insertErrors): here
9980         (setCursorFromRow): here
9981
9982 2002-01-13  Allan Rae  <rae@lyx.org>
9983
9984         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9985         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9986         There is still a way to segfault this although you may have to do this
9987         multiple times: Have an InsetERT with an unknown command in it.
9988         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9989         <down-arrow>, <Enter> again, View->DVI, BANG!
9990
9991         * text2.C (setCursor):
9992         (deleteEmptyParagraphMechanism):
9993         * lyxtext.h (setCursor):
9994         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9995         Making use of the return value may help fix other bugs.
9996
9997 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9998
9999         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10000
10001         * LyXView.C (updateMenubar): call MenuBar::update here
10002         (updateToolbar): but not here
10003         (showState): do not update toolbar/menubar
10004
10005         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10006         should need to care about that.
10007
10008         * lyxfunc.C (verboseDispatch): simplify a bit
10009         (getStatus): have a version which takes a pseudoaction, and
10010         another which requires a (kb_action,string).
10011
10012         * LyXAction.C (retrieveActionArg): make it work also when action
10013         is not a pseudo-action.
10014         (getActionName): simplify a bit
10015         (helpText):
10016
10017 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10018
10019         * lyxfunc.C (verboseDispatch): new families of methods with
10020         several ways to specify a command and a bool to indicate whether
10021         the command name and shortcut should be displayed in minibuffer
10022         (eventually, we could extend that to a finer bitmask like
10023         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10024         (dispatch): the pristine dispatch command which just, well,
10025         dispatchs! Note it still sets its result to minibuffer; I'm not
10026         sure we want that.
10027
10028         * lyxfunc.h: remove setHintMessage
10029
10030         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10031
10032 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10033
10034         * BufferView_pimpl.C (specialChar): delete new inset if we have
10035         not been able to insert it.
10036
10037         * kbmap.C: revert to using int instead of kb_action, since all we
10038         are dealing with is pseudo-actions.
10039
10040         * LyXAction.C (searchActionArg): change to return int instead of
10041         kb_action, since the result is a pseudoaction.
10042
10043 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10044
10045         * buffer.C (insertErtContents): Fix (partially) the font bug.
10046
10047 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10050         as the other one is broken on my machine!
10051
10052 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10053
10054         * commandtags.h:
10055         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10056
10057 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10058
10059         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10060         reflect their actual use. Provide compatibility code for older lyxrc
10061         files.
10062
10063         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10064         FL_NORMAL_STYLE.
10065         change names of popup font variables in line with the changes to lyxrc.C
10066
10067 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * buffer.C (asciiParagraph): avoid outputing a word twice after
10070         an inset.
10071
10072         * lyxrc.C (getDescription): document that document_path and
10073         template_path can be empty.
10074
10075 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * LaTeXFeatures.C (getMacros):
10078         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10079
10080         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10081
10082         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10083         getPackages.
10084         (getPackages): rename feature "floats" to "float". Use an array to
10085         iterate over 'simple' features (i.e. just a \usepackage). Add
10086         handling of "amsmath" (renamed from "amsstyle").
10087
10088 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10089
10090         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10091         features list.
10092
10093 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10094
10095         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10096         FuncStaus::FuncStatus & FuncStaus::some_method().
10097
10098 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10099
10100         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10101         of the func_satus stuff. Edited and massaged in various ways by
10102         JMarc.
10103
10104         * lyxfunc.C (getStatus): use FuncStatus
10105
10106 2002-01-08  Juergen Vigna  <jug@sad.it>
10107
10108         * text.C (nextBreakPoint): use function Inset::isChar().
10109
10110         * paragraph.C (TeXOnePar): use function
10111         Inset::forceDefaultParagraphs.
10112
10113         * buffer.C (latexParagraphs): use function
10114         Inset::forceDefaultParagraphs.
10115
10116 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * lyx_gui.C (init): set the style of the menu popups to
10119         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10120
10121 2002-01-07  Juergen Vigna  <jug@sad.it>
10122
10123         * text.C (setHeightOfRow): small fix
10124         (prepareToPrint): don't look at alignment if we don't have the place
10125         for doing it.
10126
10127 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10128
10129         * box.C: New file. Move the Box methods and functions out of box.h,
10130         following Lars' suggestion.
10131
10132 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10133
10134         * box.h: #include "support/LOstream.h", needed for inlined function.
10135
10136         * lyxtextclass.C:
10137         * lyxtextclasslist.C: added some using std declarations.
10138
10139 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * box.h: make signed dimensions to allow insets wider than
10142           the screen (bug #162)
10143
10144         * BufferView_pimpl.C: add some insetHit debug
10145
10146 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10147
10148         * vc-backend.C: add FIXME
10149
10150 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * lyxfunc.C (getStatus): enable code for showing math font status
10153         in toolbar/menu.
10154
10155 2002-01-07  Juergen Vigna  <jug@sad.it>
10156
10157         * text.C (nextBreakPoint): removed debug output not needed anymore.
10158
10159 2002-01-06  Juergen Vigna  <jug@sad.it>
10160
10161         * text.C (nextBreakPoint): fixed up this function we had this bug
10162         since ever but now hopefully we break row better.
10163         (insertChar): we have to check if an inset is the next char as it
10164         could now happen that a large inset is causing a break.
10165
10166 2002-01-05  Juergen Vigna  <jug@sad.it>
10167
10168         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10169         if it doesn't like to be drawed.
10170
10171 2002-01-04  Juergen Vigna  <jug@sad.it>
10172
10173         * BufferView2.C (lockInset): forgot to set a cursor.
10174
10175         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10176
10177 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10178
10179         * FormMathsPanel.C:
10180         * FormMathsPanel.h
10181         * MathsSymbols.C:
10182         * form_maths_panel.C:
10183         * form_maths_panel.h:
10184         * form_maths_panel.fd: implemented sub- and super- buttons in math
10185         panel.
10186
10187         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10188         (or ^ space) to be used as in TeX (req'd by André).
10189
10190         * lyxfunc.C: Allow ^ and _ again to be used both as
10191         super/subscript (mathed) and as themselves (in text).
10192
10193 2002-01-03  Allan Rae  <rae@lyx.org>
10194
10195         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10196         "LyX" or the filename of the current buffer if it has one.  This is a
10197         modified form of John Levon's patch.
10198
10199         * XFormsView.C (setWindowTitle): also set icon title.
10200
10201         * LyXView.h (setWindowTitle): signature changed.
10202         * XFormsView.h (setWindowTitle): ditto.
10203
10204 2002-01-02  Juergen Vigna  <jug@sad.it>
10205
10206         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10207
10208 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * screen.C (topCursorVisible): introduce a temp var for
10211         text->cursor.row(), handle the case where this row is null. (kindo
10212         hachish)
10213
10214         * text2.C (setCursor): add a couple of asserts.
10215
10216         * paragraph.h (inset_iterator): add -> operator
10217
10218         * paragraph.[Ch] (autoDeleteInsets): remove member function
10219
10220         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10221         cursor pos correctly and handle inset deletion by itself.
10222         (insertErrors): move iterator declaration out of for expression
10223
10224         * lyxtextclass.C: add <algorithm>
10225
10226         * Makefile.am: added the new files to sources, removed layout.C
10227
10228         * layout.C: removed file
10229
10230         * layout.h: remove LYX_DUMMY_LAYOUT
10231
10232         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10233         layout.
10234
10235         * lyxlayout.[Ch]:
10236         * lyxtextclass.[Ch]:
10237         * lyxtextclasslist.[Ch]: new files
10238
10239         * include order changes to a lot of files, also changes because of
10240         the six new files.
10241
10242 2001-12-27  Juergen Vigna  <jug@sad.it>
10243
10244         * buffer.C (asciiParagraph): more fixes.
10245
10246         * tabular.C (ascii): make ascii export support export of only the
10247         data separated by a column-delimiter.
10248         (ascii): better support for ascii export.
10249
10250         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10251
10252 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10253
10254         * tabular_funcs.C: use a "using std::getline" instead of the
10255         previous fix from Angus (necessary for cxx + lyxstring)
10256
10257 2001-12-24  Juergen Vigna  <jug@sad.it>
10258
10259         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10260
10261         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10262         problems. First check a minipage also if we have some ert-contents
10263         (not only on par->size(), second set the right depth of the paragraph
10264         on the relink to the root-paragraph-list!
10265
10266         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10267         which then did not anymore update the main paragraphs on undo/redo!
10268
10269 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10272         code. Support all font-changing funcs (even those which are not in
10273         menu currently). Support for reporting font settings in
10274         mathed (disabled until Andre provides a function on mathed's side).
10275
10276         * func_status.h (toggle): small helper function to set toggle
10277         state on a flag.
10278
10279 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10280
10281         * tabular_funcs.C: getline -> std::getline
10282
10283 2001-12-21  Juergen Vigna  <jug@sad.it>
10284
10285         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10286         accessed and could be 0 (I couldn't generate this but it seems
10287         Michael could!).
10288
10289 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290
10291         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10292         * tabular_funcs.h: here and include iosfwd
10293
10294 2001-12-20  Juergen Vigna  <jug@sad.it>
10295
10296         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10297         inside inset but undo_par was.
10298
10299 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * Thesaurus.C: always include <config.h> in sources.
10302
10303         * Painter.h:
10304         * lyxlookup.h:
10305         * box.h: do not include <config.h> in header files
10306
10307         * text.C (paintLastRow): remove unused variable
10308
10309         * text.C (transformChar):
10310         (insertChar):
10311         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10312
10313         * Painter.C (text):
10314         * font.C (width): rewrite to use uppercase() instead of
10315         islower/toupper.
10316
10317         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10318
10319 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * lyxfind.C: clean up of find failure position change
10322
10323 2001-12-20  Juergen Vigna  <jug@sad.it>
10324
10325         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10326
10327         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10328         (TeXRow): added to LaTeX a single tabular row.
10329         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10330         (Latex): simplified and finally good LT-h/f support.
10331         (various_functions): just small adaptions for LT-h/f support.
10332
10333         * tabular_funcs.[hC]: added and moved here all not classfunctions
10334         of LyXTabular.
10335
10336 2001-12-19  Juergen Vigna  <jug@sad.it>
10337
10338         * tabular.[Ch]: better support for longtabular options (not finished
10339         yet!)
10340
10341 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * text.C (paintLastRow): use the label font instead of the font of
10344         the last character to compute the size of *_BOX. This makes more
10345         sense and avoids a crash with empty paragraphs.
10346         Use Painter::rectangle to draw EMPTY_BOX.
10347
10348 2001-12-19  Juergen Vigna  <jug@sad.it>
10349
10350         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10351         the paragraphs if the replaced paragraph is not the first one!
10352         Tried to delete not used paragraphs but does not work yet so for
10353         now it's inside #ifdef's and by default off!
10354
10355 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * MenuBackend.C: include "lyx_main.h" instead of declaring
10358         lastfiles (actually was declared as LastFiles* instead of a
10359         scoped_ptr).
10360
10361 2001-12-17  Juergen Vigna  <jug@sad.it>
10362
10363         * tabular.C (AppendColumn): applied John's fix
10364
10365 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * BufferView.h:
10368         * BufferView.C:
10369         * BufferView_pimpl.h:
10370         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10371
10372         * Makefile.am:
10373         * box.h: new start of class for above
10374
10375         * lyxfunc.C: ignore space-only minibuffer dispatches.
10376           Show the command name when it doesn't exist
10377
10378         * minibuffer.C: don't add empty lines to the history
10379
10380         * minibuffer.C: add a space on dropdown completion
10381
10382 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * text.C: fix line above/below drawing in insets
10385
10386 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * lyxlength.C (LyXLength): Initialize private variables.
10389
10390 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10391
10392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10393         when inserting error insets.
10394
10395 2001-12-13  Juergen Vigna  <jug@sad.it>
10396
10397         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10398         actually sometimes the before-paragraph.
10399         (setUndo): don't clear the redostack if we're not actually undoing!
10400
10401 2001-12-06  Juergen Vigna  <jug@sad.it>
10402
10403         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10404         and fixed redoing of main paragraph, so we can use it now ;)
10405
10406         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10407
10408 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10411         Juergen's request
10412
10413 2001-12-13  André Pönitz <poenitz@gmx.net>
10414
10415         * undostack.[Ch]:
10416         * undo_func.C: minor cleanup
10417
10418 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10421         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10422         font in urw-fonts package which is marked as -urw-fontspecific and
10423         does not work (incidentally, changing the encoding in the
10424         fonts.dir of this package to -adobe-fontspecific fixes the
10425         problem).
10426
10427         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10428         is a crash when undoing first paragraph (Juergen, please take a
10429         look). THis does not mean the undo fix is wrong, just that it
10430         uncovers problems.
10431
10432         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10433         the (Paragraph*) version when needed instead of duplicating the
10434         code.
10435
10436         * text.C (workWidth): use Inset::parOwner to find out where the
10437         inset has been inserted. This is a huge performance gain for large
10438         documents with lots of insets. If Inset::parOwner is not set, fall
10439         back on the brute force method
10440
10441         * paragraph_pimpl.C (insertInset):
10442         * paragraph.C (Paragraph):
10443         (cutIntoMinibuffer): set parOwner of insets when
10444         inserting/removing them
10445
10446         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10447
10448 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10449
10450         * commandtags.h:
10451         * LyXAction.C:
10452         * lyx_main.C:
10453         * lyxfunc.C:
10454         * mathed/formulabase.C:
10455         * mathed/math_cursor.[Ch]:
10456         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10457
10458
10459 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * lyxlength.[Ch] (operator!=): new function
10462
10463 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * text.C (workWidth): use Inset::parOwner to find out where the
10466         inset has been inserted. This is a huge performance gain for large
10467         documents with lots of insets. If Inset::parOwner is not set, fall
10468         back on the brute force method
10469
10470         * paragraph_pimpl.C (insertInset):
10471         * paragraph.C (Paragraph):
10472         (cutIntoMinibuffer): set parOwner of insets when
10473         inserting/removing them
10474
10475         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10476
10477 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * tabular-old.C (getTokenValue):
10480         * tabular.C (getTokenValue):
10481         (write_attribute): new versions for LyXLength
10482         (everywhere): adjust the use of widths
10483
10484         * tabular.h: change the type of widths from string to LyXLength
10485
10486 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10487
10488         * paragraph.C: fixed missing line number count when exporting
10489         Environments to LaTeX file
10490
10491         * buffer.C: added informational message for checking line numbers.
10492
10493 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10496         paragraph, do the 'double space' part, but not the 'empty
10497         paragraph' one.
10498
10499         * text.C (workWidth): small optimization
10500         (getLengthMarkerHeight): use minimal size for negative lengths.
10501
10502 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10503
10504         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10505
10506         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10507
10508 2001-12-11  André Pönitz <poenitz@gmx.net>
10509
10510         * FontLoader.C:
10511         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10512
10513 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * text2.C: keep selection on a setFont()
10516
10517 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * lyx_cb.C: another bv->text misuse, from insert label
10520
10521 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * kbsequence.h:
10524         * kbsequence.C: re-instate nmodifier mask
10525
10526 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10527
10528         * lyx_main.h: make lyxGUI private.
10529
10530 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * lyxfind.C: place the cursor correctly on failed search
10533
10534 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * text.C (getLengthMarkerHeight): for small heights, the arrows
10537         are not always on top/bottom of the text
10538         (drawLengthMarker): smaller arrows; take the left margin in
10539         account; draw also vfills.
10540         (paintFirstRow):
10541         (paintLastRow): remove special code for vfill and standard spaces,
10542         since everything is handled in drawLengthMarker now.
10543
10544 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * buffer.C (insertErtContents): try to handle font and language
10547         interaction a bit better.g
10548
10549         * ColorHandler.C (updateColor): change the hash to cover the whole
10550         LColor enum, ws cleanup
10551         (getGCLinepars): ditto
10552         (getGCLinepars): only lookup in the linecache once.
10553
10554 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * iterators.C (operator++): Make the iterator more robust
10557
10558         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10559         (John's patch)
10560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10561
10562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * lyxtext.h:
10565         * text.C: better added space drawing
10566
10567 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * LyXView.C:
10570         * BufferView2.C: fix layout combo update on inset unlock
10571
10572 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * Makefile.am: don't compile unused files
10575
10576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * lyxfunc.C:
10579         * commandtags.h:
10580         * LyXAction.C: remove old LFUN_LAYOUTNO
10581
10582 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * paragraph_pimpl.h:
10585         * paragraph_pimpl.C: isTextAt() doesn't need font param
10586
10587 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * lyxlex.h:
10590         * lyxlex.C: little cleanup
10591
10592 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * BufferView_pimpl.C: fix insertAscii for insets
10595
10596 2001-12-05  Juergen Vigna  <jug@sad.it>
10597
10598         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10599         set the right font on the "multi" paragraph paste!
10600
10601 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10602
10603         * trans_decl.h:
10604         * trans_mgr.[Ch]:
10605         * trans.[Ch]:
10606         * lyxgluelength.C:
10607         * lyxlength.C: remove out-commented code.
10608
10609         * BufferView_pimpl:
10610         * CutAndPaste.C:
10611         * DepTable.C:
10612         * buffer.C:
10613         * chset.C:
10614         * lastfiles.C:
10615         * lyxlex.C:
10616         * lyxlex_pimpl.C:
10617         * lyxserver.C:
10618         * screen.C:
10619         * tabular-old.C:
10620         * tabular.C:
10621         * text.C:
10622         * trans_mgr.C:
10623         * vc-backend.C: change "while(" to "while ("
10624
10625         * lyxlength.[Ch]: add zero function to check if length is zero or
10626         not
10627         * lyxgluelength.C: use it
10628
10629 2001-12-05  Allan Rae  <rae@lyx.org>
10630
10631         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10632         Works for 2.95.3, from what I understand of Garst's reports this should
10633         work for other g++ versions.  We're screwed if the abs(int) definition
10634         changed between bugfix releases of gcc.
10635
10636 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * text.C: fix chapter label offset !
10639
10640 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * lyxtext.h:
10643         * text.C: fix hfill at end of line, clean up
10644
10645 2001-12-04  Juergen Vigna  <jug@sad.it>
10646
10647         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10648         that we force an update of the inset and it's owners if neccessary.
10649
10650 2001-12-03  Juergen Vigna  <jug@sad.it>
10651
10652         * text.C (rowLast): simplified code
10653
10654 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * lyxfunc.C: fix show options on timeout
10657
10658 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * screen.C (topCursorVisible): scroll half a page when the cursor
10661         reached top of bottom of screen
10662
10663 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * minibuffer.C: deactivate on loss of focus
10666
10667 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * vspace.[Ch] (operator!=): add operator.
10670
10671 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * BufferView_pimpl.C: refuse to open an inset when
10674         there's a selection.
10675
10676 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * BufferView_pimpl.C: allow to click on RHS of full row insets
10679
10680 2001-11-30  Juergen Vigna  <jug@sad.it>
10681
10682         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10683         insets for undo reasons.
10684
10685 2001-11-28  André Pönitz <poenitz@gmx.net>
10686
10687         * vspace.[Ch]: cosmetical changes
10688
10689 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * LyXAction.h:
10692         * LyXAction.C:
10693         * lyxfunc.h:
10694         * lyxfunc.C:
10695         * kbmap.h:
10696         * kbmap.C:
10697         * lyxrc.C:
10698         * kbsequence.h:
10699         * kbsequence.C: part re-write of old kb code
10700
10701         * Painter.C:
10702         * WorkArea.C: remove Lgb_bug_find_hack
10703
10704 2001-11-30  José Matos <jamatos@fep.up.pt>
10705
10706         * buffer.C (makeDocBookFile): add a comment to point a hack.
10707         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10708         Fixed a double write of labels.
10709
10710 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10711
10712         * LaTeX.C:
10713         * LaTeX.h Fixed bug in LaTeX class where it would not
10714         re-run latex if no depfiles were changed, but the .dvi was removed.
10715
10716 2001-11-28  André Pönitz <poenitz@gmx.net>
10717
10718         * all the files from the change on 2001/11/26:
10719         use lyx::layout_type instead of LyXTextClass::size_type
10720         use lyx::textclass_type instead of LyXTextClassList::size_type
10721
10722 2001-11-29  Juergen Vigna  <jug@sad.it>
10723
10724         * text.C: added support for paragraph::isFreeSpacing()
10725
10726         * buffer.C: same as above
10727
10728         * paragraph.h: inserted isFreeSpacing() function to enable
10729         FreeSpacing inside InsetERT.
10730
10731         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10732         of the paragraph's in the cut/copy buffer to 0!
10733
10734         * text2.C (removeRow): remove the assert as it can!
10735
10736         * lyxtext.h: added helper function firstRow returning firstrow and
10737         made firstrow private again.
10738
10739         * BufferView2.C (lockInset): don't relock if we're already locked!
10740
10741         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10742         the only paragraph.
10743         (removeRow): added Assert::(firstrow)
10744
10745         * debug.C: forgot to add INSETTEXT here.
10746
10747 2001-11-28  Juergen Vigna  <jug@sad.it>
10748
10749         * sp_spell.C (initialize): changed error text to more general
10750         spellchecker command use (not only ispell!)
10751
10752         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10753
10754         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10755
10756 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * vspace.C: initialise lyxgluelength on failure
10759
10760 2001-11-28  Allan Rae  <rae@lyx.org>
10761
10762         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10763         declaration & definition that looks like a function declaration.
10764
10765 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10766
10767         * BufferView2.C (copy):
10768         (copyEnvironment): do not clear the selection when doing a copy.
10769
10770         * text.C (paintFirstRow): compilation fix
10771
10772 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10773
10774         * tabular.C (Latex): correct line count when writing latex.
10775
10776 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * paragraph_pimpl.h:
10779         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10780           bug a bit
10781
10782 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * text.C:
10785         * LColor.h:
10786         * LColor.C: change vfillline->added_space
10787
10788         * text.C: add markers and text for added space
10789
10790         * vspace.C: fix comment
10791
10792 2001-11-28  André Pönitz <poenitz@gmx.net>
10793
10794         * paragraph.C: whitespace changes
10795         * all the other files from the change on 2001/11/26:
10796         change *::pos_type into lyx::pos_type
10797
10798 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10799
10800         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10801         language of the document when inserting error insets.
10802
10803 2001-11-26  André Pönitz <poenitz@gmx.net>
10804
10805         * BufferView_pimpl.[Ch]:
10806         *       CutAndPaste.C:
10807         * buffer.[Ch]:
10808         * lyxcursor.[Ch]:
10809         * lyxfind.C:
10810         * lyxfunc.C:
10811         * lyxrow.[Ch]:
10812         * paragraph.[Ch]:
10813         * paragraph_pimpl.[Ch]:
10814         * sp_spell.C:
10815         * text.C:
10816         * text2.C: reduce header dependencies, introduce type for positions
10817
10818 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * <various>: change to use Alert.h
10821
10822 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10825         when encountering an unknown token.
10826         (readLyXformat2): Show an error message if there were unknown tokens.
10827
10828 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView2.C:
10831         * BufferView_pimpl.C:
10832         * buffer.C:
10833         * paragraph.h:
10834         * text.C:
10835         * text2.C: use par->isInset()
10836
10837 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * paragraph_pimpl.h:
10840         * paragraph_pimpl.C: cleanup
10841
10842 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * text2.C (removeRow):
10845         * text.C (setHeightOfRow): remove useless (and costly) call to
10846         getRow.
10847
10848 2001-11-20  Allan Rae  <rae@lyx.org>
10849
10850         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10851         Now need Inset*::checkInsertChar() to return true for appropriate
10852         cases so that the characters in the minibuffer will actually be
10853         inserted.
10854
10855 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * text.C: change the order of the includes.
10858         (workWidth): initialize it at once.
10859         (workWidth): make maxw unsigned
10860         (setHeightOfRow): remove unused variable (inset)
10861         (selectSelectedWord): remove unused variable (inset)
10862         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10863
10864 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10865
10866         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10867         server is not running.
10868         (openConnection):
10869         (closeConnection): add debug info when server is disabled.
10870
10871         * ColorHandler.C (getGCForeground): send debug message to GUI
10872         channel.
10873
10874         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10875
10876         * kbmap.C (bind): modify because return conventions of
10877         kb_sequence::parse have changed.
10878
10879         * kbsequence.C (parse): only ignore spaces and not any stupid
10880         control character. This avoids tests like s[i] <= ' ', which are
10881         guaranteed to fail with 8bit characters and signed chars.
10882         Change return code to string::npos when there have been no error
10883         (0 was a bad idea when error is at first character)
10884
10885 2001-11-14  José Matos  <jamatos@fep.up.pt>
10886
10887         * buffer.h:
10888         * buffer.C (simpleDocBookOnePar): removed unused argument.
10889
10890 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10891
10892         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10893         insets which are part of a word. Paragraph::isLetter takes care of
10894         that now. Use Paragraph::isInset to identify insets.
10895         (selectSelectedWord): do not test for hyphenation break.
10896
10897         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10898         that protected spaces are considered as spaces.
10899
10900         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10901         Inset::isLetter.
10902
10903 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * lyxserver.h:
10906         * lyxserver.C: fix it. and small cleanup.
10907
10908 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * BufferView_pimpl.C: use inline helpers
10911
10912         * LaTeXFeatures.h:
10913         * LaTeXFeatures.C: fix typos
10914
10915         * Spacing.h:
10916         * Spacing.C: move spacing_string into class
10917
10918         * ToolbarDefaults.C: move stuff into namespace anon
10919
10920         * layout.h: update enum
10921
10922         * lyxfunc.C: use better debug
10923
10924         * minibuffer.h: fix typo
10925
10926         * debug.h:
10927         * debug.C:
10928         * WorkArea.C: add and use Debug::WORKAREA
10929
10930         * lyxtext.h:
10931         * text.C:
10932         * text2.C: code re-organisation, inline helpers
10933
10934 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10935
10936         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10937         std::vector.empty().
10938
10939 2001-11-09  Allan Rae  <rae@lyx.org>
10940
10941         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10942         '\n's after tables.  Tabular and ERT inset work now makes this no
10943         longer necessary.
10944
10945 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * minibuffer.h:
10948         * minibuffer.C: fix crash, improve drop-down completion
10949
10950 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * lyxserver.h:
10953         * lyxserver.C: invalidate fd's when doing endPipe()
10954
10955 2001-11-08  José Matos  <jamatos@fep.up.pt>
10956
10957         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10958         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10959
10960         * paragraph.h:
10961         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10962
10963 2001-11-07  José Matos  <jamatos@fep.up.pt>
10964
10965         * buffer.h:
10966         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10967         const qualifier.
10968
10969         * buffer.C (sgmlOpenTag):
10970         * buffer.C (sgmlCloseTag): removed debug info.
10971
10972         * buffer.h (sgmlOpenTag):
10973         * buffer.h (sgmlCloseTag): made public.
10974
10975 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * buffer.C (saveParamsAsDefaults):
10978         * lyx_cb.C (MenuLayoutSave): remove
10979
10980         * LyXAction.C (init):
10981         * commandtags.h:
10982         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10983
10984 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10985
10986         * buffer.C (setPaperStuff): removed from here...
10987
10988         * bufferparams.C (setPaperStuff): ... and moved there.
10989
10990 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * minibuffer.h:
10993         * minibuffer.C:
10994         * XFormsView.C: add support for drop-down completion
10995
10996 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10997
10998         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10999         commands.
11000
11001 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11002
11003         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11004         disabled.
11005
11006 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * lyx_main.C: change ref to known bugs
11009
11010 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11011
11012         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11013         to work around older babel problems.
11014
11015 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11016
11017         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11018
11019 2001-10-24  Juergen Vigna  <jug@sad.it>
11020
11021         * tabular-old.C (ReadOld): below variable changes reflected.
11022
11023         * tabular.[Ch]: added ltType struct for longtable header/footer
11024         defines and changed all instances where they are used. Added
11025         future support for double top/bottom rows.
11026
11027 2001-10-24  José Matos  <jamatos@fep.up.pt>
11028
11029         * buffer.h (docbookHandleCaption):
11030         * buffer.C (docbookHandleCaption): removed unused function.
11031         (makeDocBookFile): moved docbook supported version to v4.1.
11032
11033 2001-10-24  José Matos  <jamatos@fep.up.pt>
11034
11035         * tabular.h:
11036         * tabular.C (docbookRow): new function to export docbook code of a row.
11037         (DocBook): now honors the longtable flags.
11038
11039 2001-10-23  José Matos  <jamatos@fep.up.pt>
11040
11041         * LaTeXFeatures.h:
11042         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11043         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11044
11045         * buffer.C (makeLinuxDocFile):
11046         (makeDocBookFile): reworked the preamble, more clean, and with
11047         support for lyx defined entities. Changed the document declaration
11048         to be more XML friendly.
11049
11050         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11051         if we need to output XML that should be done with a filter.
11052
11053 2001-10-22  Juergen Vigna  <jug@sad.it>
11054
11055         * sp_pspell.h (class PSpell): add alive function needed in the
11056         controller to see if the spellchecker could be started.
11057
11058 2001-10-22  Juergen Vigna  <jug@sad.it>
11059
11060         * buffer.C (insertStringAsLines): modify the font for inserting
11061         chars in certain conditions by calling checkInsertChar(font).
11062
11063 2001-10-19  Juergen Vigna  <jug@sad.it>
11064
11065         * text.C (workWidth): use getRow instead of wrong algorithm.
11066         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11067
11068 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * lyxserver.h:
11071         * lyxserver.C:
11072         * lyx_main.h:
11073         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11074
11075 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11076
11077         * text.C (workWidth): do not search for the exact row when
11078         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11079         optimization for big documents.
11080
11081 2001-10-18  Juergen Vigna  <jug@sad.it>
11082
11083         * text.C (workWidth): new function with added Inset * parameter.
11084
11085 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11086
11087         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11088
11089         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11090         change return type of getColumnNearX.
11091
11092
11093         * text.C (changeRegionCase): use uppercase/lowercase instead of
11094         toupper/tolower.
11095         (leftMargin):
11096         (rightMargin): simplify code by factoring out the uses of
11097         textclasslist.
11098         (labelFill):
11099         (numberOfHfills):
11100         (setHeightOfRow):
11101         (appendParagraph): use Paragraph::size_type
11102
11103 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11104
11105         * vspace.C (asLatexString): add a missing break
11106
11107 2001-10-15  Herbert Voss  <voss@perce.de>
11108
11109         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11110
11111 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11114         is not available.
11115
11116 2001-10-10  André Pönitz <poenitz@gmx.net>
11117
11118         * lyxfunc.C: removed greek_kb_flag.
11119
11120 2001-10-10  Herbert Voss  <voss@perce.de>
11121
11122         * lyx_main.C: delete global string help_lyxdir.
11123
11124 2001-10-09  Herbert Voss  <voss@perce.de>
11125
11126         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11127
11128         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11129
11130         * lyx_main.C: added global string help_lyxdir.
11131
11132         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11133
11134 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11135
11136         * lyxrc.C (set_font_norm_type): support iso8859-4
11137
11138 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11139
11140         * LaTeX.C (deplog): add another regex for MikTeX
11141
11142 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11143
11144         * lyxrc.C (set_font_norm_type): support iso8859-3
11145
11146 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11147
11148         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11149
11150         * LaTeXFeatures.C: remove special case of french and index
11151
11152         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11153         before \begin{document}). This solves several incompatibilities.
11154
11155 2001-10-03  Garst Reese  <reese@isn.net>
11156
11157         * lyx_cb.C: change CheckTex error msg.
11158
11159 2001-10-03  José Matos  <jamatos@fep.up.pt>
11160
11161         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11162
11163 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11164
11165         * .cvsignore: update
11166
11167         * lyx_main.C (commandLineVersionInfo): use new style version info.
11168
11169         * buffer.C (writeFile):
11170         (makeLaTeXFile):
11171         (makeLinuxDocFile):
11172         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11173
11174         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11175
11176         * version.h: update to use stuff in version.C
11177
11178         * version.C.in: new file. Contains version information determined
11179         at compile time. This is a merging of version.h and
11180         version_info.h.in.
11181
11182 2001-10-03  Juergen Vigna  <jug@sad.it>
11183
11184         * BufferView_pimpl.C (update): don't change "dirty" status in
11185         updateInset call.
11186
11187 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11188
11189         * WorkArea.C (c-tor): re-position version string slightly.
11190
11191 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11194         revert to previous code.
11195
11196         WorkArea.[Ch]: (show, destroySplash): methods removed.
11197
11198         WorkArea.C: rework code so that it's an amalgam of the codes before and
11199         after the splash screen was moved to WorkArea.
11200
11201 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11202
11203         * lyxrc.C (read):
11204         * vspace.C (inPixels):
11205         (lyx_advance):
11206         * kbmap.C (bind):
11207         * buffer.C (insertStringAsLines):
11208         (asciiParagraph): fix types to be large enough
11209
11210         * lyxlex_pimpl.h: change member status from short to int
11211
11212         * layout.h: fix type of endlabeltype
11213
11214         * kbmap.C (bind):
11215         * kbsequence.C (parse): change return type to string::size_type
11216
11217         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11218         variable
11219
11220         * Bullet.C (bulletSize):
11221         (bulletEntry): do not use short ints as parameters
11222
11223         * BufferView2.C (insertLyXFile): change a char to an int.
11224
11225         * WorkArea.C (WorkArea): remove unneeded floats in computation
11226
11227 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11228
11229         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11230
11231         * paragraph.C (asString): Do not ignore newline/hfill chars when
11232         copying to the clipboard.
11233
11234 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11235
11236         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11237         after a multi-line inset.
11238
11239 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11240
11241         * paragraph.C (validate): Set NeedLyXFootnoteCode
11242
11243 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11244
11245         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11246         and decrease-error to decrease.
11247
11248 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11249
11250         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11251         it more readable (should be equivalent)
11252
11253 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11254
11255         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11256
11257 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11260         of a cursor (row, etc.) after a character has been deleted
11261         (deleteEmptyParagraphMechanism): call the method above on _all_
11262         cursors held by the LyXText when a double space has been
11263         detected/deleted.
11264
11265 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11266
11267         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11268         pixmap.
11269         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11270
11271         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11272         background. Use greyOut() and the new show() methods to toggle between
11273         the foreground and background. Add code to remove the splash after
11274         its initial showing.
11275
11276         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11277         (create_forms): no longer call Dialogs::showSplash.
11278
11279 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11280
11281         * .cvsignore: add version_info.h
11282
11283 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11284
11285         * version_info.h.in: new file
11286
11287         * Makefile.am: add version_info.h.in
11288
11289         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11290         version_info.h instead of VERSION_INFO
11291
11292 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11293
11294         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11295         The ERT inset now returns string().
11296
11297 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11298
11299         * lyxtext.h, text.C (selectNextWord): renamed as
11300         selectNextWordToSpellcheck.
11301
11302         * text.C (selectNextWordToSpellcheck): Modified to not select
11303         words inside an ERT inset.
11304
11305 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11306
11307         * lyx_cb.C (MenuLayoutSave): change a bit the question
11308
11309         * sp_base.h: include <sys/types.h>
11310
11311 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11312
11313         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11314
11315 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11316
11317         * several files: fix typos in user-visible strings
11318
11319 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11320
11321         * text2.C (pasteSelection): do not set the selection, since it
11322         will be cleared later. Actually, the intent was to fix the way the
11323         selection was set, but I figured rmoving the code was just as good.
11324
11325 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * FontLoader.C (available): Check if font is available without
11328         loading the font.
11329
11330 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11331
11332         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11333
11334 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11335
11336         * lyxrc.[Ch]: added display_graphics variable and associated code.
11337
11338 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11339
11340         * bufferparams.C (hasClassDefaults): new method. Returns true if
11341         the buffer parameters correspond to known class defaults
11342
11343 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * XFormsView.C (show): set minimum size to the main window.
11346
11347 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11348
11349         * text2.C (copySelection):
11350         (cutSelection):
11351         * lyxfind.C (LyXReplace):
11352         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11353         LyXText::selectionAsString.
11354
11355         * paragraph.C (asString): add "label" argument to the second form
11356
11357         * text2.C (selectionAsString): add "label" argument and pass it to
11358         Paragraph::asString.
11359
11360 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11361
11362         * lyx_main.C (commandLineHelp): remove version information
11363
11364 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11365
11366         * lyx_main.C: add -version commandline option
11367
11368 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11369
11370         * paragraph.h: make the optional constructor arg required instead.
11371         some modifications to other files because of this.
11372
11373         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11374
11375         * lyxserver.C (C_LyXComm_callback): make it static
11376
11377         * lyx_main.C (error_handler): make it static
11378
11379         * lyx_gui.C (LyX_XErrHandler): make it static
11380
11381         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11382
11383         * WorkArea.C: make the extern "C" methods static.
11384
11385         * Makefile.am (lyx_LDADD): simplify
11386
11387 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11390         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11391
11392         * LyXAction.C (init):
11393         * lyxfunc.C (dispatch): associated code removal.
11394
11395 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11396
11397         * lyxfont.h (isSymbolFont): shut off warning
11398
11399         * text.C (setHeightOfRow):
11400         (getVisibleRow): fix crash with empty paragraphs which have a
11401         bottom line
11402
11403 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11404
11405         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11406         code.
11407
11408 2001-09-04  José Matos  <jamatos@fep.up.pt>
11409         * buffer.C
11410         * buffer.h
11411         * tabular.C (docbook): rename docBook method to docbook.
11412
11413 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11414
11415         * Makefile.am: add dependencies to main.o.
11416
11417 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * FontLoader.C (available): Return false if !lyxrc.use_gui
11420
11421 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11422
11423         * FontInfo.C (query):
11424         * converter.C (view):
11425         * importer.C (Import):
11426         * exporter.C (Export): Can not -> cannot.
11427
11428 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * BufferView_pimpl.C: allow to create index inset even if
11431           string is empty
11432
11433 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11434
11435         * buffer.C (getLists): replace boost::tie code with an explicit pair
11436         as boost::tie can break some compilers.
11437
11438         * iterators.h: Added a std:: declaration to the return type of
11439         ParIterator::size.
11440
11441 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11442
11443         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11444           case.
11445
11446 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11447
11448         * iterators.[Ch]: New files. Provide paragraph iterators.
11449
11450         * buffer.C (changeLanguage): Use paragraph iterators.
11451         (isMultiLingual): ditto
11452
11453         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11454
11455 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * FontLoader.C: Support for cmr font.
11458
11459 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11462         (available): New method.
11463
11464         * FontInfo.C (getFontname): Use scalable fonts even when
11465         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11466         found.
11467
11468 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * converter.C (Formats::view): reverted! Incorrect fix.
11471
11472 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11473
11474         * converter.C (Formats::view): only output the -paper option
11475         if the dvi viewer is xdvi, thereby fixing bug #233429.
11476
11477 2001-08-23  Herbert Voss  <voss@perce>
11478
11479         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11480
11481 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11482
11483         * Spacing.h (Spacing): Set space to Default on in the default
11484         constructor.
11485
11486 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * vc-backend.h (RCS::versionString): add RCS to version
11489         (CVS::versionString): add CVS to version
11490
11491         * vc-backend.C (scanMaster): do not add CVS to version.
11492         (scanMaster): do not add RCS to version
11493
11494         * lyxvc.C (versionString): new method
11495
11496         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11497
11498 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * Spacing.C (set): initialize fval
11501
11502 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11503
11504         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11505         " or \.
11506
11507 2001-08-16  Juergen Vigna  <jug@sad.it>
11508
11509         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11510
11511 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * BufferView_pimpl.C:
11514         * figureForm.C:
11515         * lyxtext.h:
11516         * text2.C: setParagraph takes linespacing now
11517
11518 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * LyxAction.C: add internal LFUN_CITATION_INSERT
11521
11522         * LyXView.C: actually apply fix
11523
11524         * bufferlist.C: fix open non-existent file
11525
11526         * lyxfind.C: fix indentation
11527
11528         * lyxfunc.C: remove unneeded assert, fix typo
11529
11530 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11531
11532         * MenuBackend.C: use "Floatname List"
11533
11534 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11537         when converting LaTeX layout to insetERT.
11538         Generate a non-collapsed float when reading old float
11539
11540 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11541
11542         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11543         ERT insets.
11544
11545 2001-08-13  Juergen Vigna  <jug@sad.it>
11546
11547         * text.C (fill): return 0 instead of 20 as this seems to be the more
11548         correct value.
11549
11550 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11551
11552         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11553         lyxrc.font_norm.
11554
11555 2001-08-13  Juergen Vigna  <jug@sad.it>
11556
11557         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11558         casesensitive off.
11559         (SearchBackward): comment out the unlocking of the inset_owner this
11560         should not be needed!
11561
11562 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * Many files: Remove inherit_language, and add latex_language
11565
11566         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11567         collapsible insets.
11568
11569 2001-08-10  Juergen Vigna  <jug@sad.it>
11570
11571         * text.C (prepareToPrint): fixed hfill-width in draw!
11572
11573         * BufferView2.C (selectLastWord): save the selection cursor as this
11574         now is cleared in the function LyXText::clearSelection!
11575
11576 2001-08-08  Juergen Vigna  <jug@sad.it>
11577
11578         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11579         BACKSPACE type functions.
11580
11581         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11582         is only cutted from the document but not put in the cut-buffer, where
11583         still the old stuff should be.
11584
11585         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11586
11587         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11588
11589         * tabular.C (SetWidthOfCell): fixed special case where the width
11590         was not updated!
11591         (LeftLine): handle '|' in align_special.
11592         (RightLine): ditto
11593         (LeftAlreadyDrawed): ditto
11594         (SetWidthOfCell): ditto
11595
11596 2001-08-07  Juergen Vigna  <jug@sad.it>
11597
11598         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11599
11600 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11603         * lyxlex.[hC]: ditto
11604
11605 2001-08-06  Juergen Vigna  <jug@sad.it>
11606
11607         * text.C (getVisibleRow): fix up row clearing a bit.
11608
11609 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * minibuffer.C: make sure the X server sees the changes in the input.
11612
11613 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * paragraph.C (getFont): split into...
11616         (getLabelFont): this
11617         (getLayoutFont): and this
11618         * paragraph_pimpl.C (realizeFont): calling this
11619
11620         * text2.C (getFont): split into...
11621         (getLayoutFont): this
11622         (getLabelFont): and this
11623         (realizeFont): all three calling this
11624
11625         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11626         files where used.
11627
11628 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11631
11632 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11633
11634         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11635         layouts from the Quote inset insertion.
11636
11637 2001-08-03  Juergen Vigna  <jug@sad.it>
11638
11639         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11640
11641         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11642         only if status not is already CHANGED_IN_DRAW (second level).
11643
11644         * text.C (draw): don't set the need_break_row when inside an
11645         InsetText LyXText.
11646
11647 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * buffer.C (parseSingleLyXformat2Token): handle more latex
11650         conversion cases.
11651
11652         * bufferview_funcs.[hC]: change function names to
11653         begin with small char, adjust other files.
11654
11655 2001-08-02  André Pönitz <poenitz@gmx.net>
11656
11657         * lyxfunc.C:
11658         BufferView_pimpl.C: remove broken special code for math-greek
11659
11660 2001-08-02  Juergen Vigna  <jug@sad.it>
11661
11662         * BufferView_pimpl.C (update): redone this function so that we
11663         update the text again if there was a CHANGE_IN_DRAW.
11664
11665         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11666         (drawFromTo): added a new internal bool which is used by draw() and
11667         redraw() function.
11668         (general): some cursor drawing problems fixed.
11669
11670 2001-08-01  Juergen Vigna  <jug@sad.it>
11671
11672         * lyxfind.C (LyXFind): fixed
11673         (SearchForward): ditto
11674         (SearchBackward): ditto
11675
11676         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11677         spurius drawing of the cursor in the main area.
11678
11679         * text2.C (status): small fix which could lead to a segfault!
11680         (clearSelection): remove unneeded BufferView param.
11681
11682 2001-08-01  André Pönitz <poenitz@gmx.net>
11683
11684         * lyxfunc.C: small change due to changed mathed interface
11685
11686 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11687
11688         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11689
11690 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * lyxfunc.c: fail gracefully if file doesn't exist
11693
11694         * LyXSendto.C:
11695         * buffer.C:
11696         * lyxfunc.C:
11697         * BufferView_pimpl.C: IsDirWriteable() proto changed
11698
11699         * LyXView.C: fix updateWindowTitle() to store the last title
11700
11701 2001-07-31  Juergen Vigna  <jug@sad.it>
11702
11703         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11704         the font (wrong since using of Paragraph::highestFontInRange).
11705
11706         * paragraph.C (highestFontInRange): added a default_size parameter.
11707
11708         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11709         (setHeightOfRow): reformat
11710
11711 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * converter.[hC] + affected files: move to (inital-char)lowercase
11714         function names.
11715
11716         * ParagraphParameters.C (ParagraphParameters): remove commented code
11717
11718         * PainterBase.[Ch]: remove commented code
11719
11720         * LaTeXFeatures.h: add "bool floats" for float.sty
11721
11722         * LaTeXFeatures.C (LaTeXFeatures): init floats
11723         (require): handle float
11724         (getPackages): do it with floats
11725
11726 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * BufferView_pimpl.C (Dispatch): improve handling of
11729         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11730
11731         * commandtags.h: #include lyxfont.h here temporarily to avoid
11732         keybinding bug.
11733
11734         * bufferlist.h: include LString.h here.
11735
11736 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11737
11738         * text2.C (getStringToIndex): new method.
11739
11740 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11741
11742         * *: Reduced header file dependencies all over.
11743
11744 2001-07-30  Baruch Even  <baruch@lyx.org>
11745
11746         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11747
11748 2001-07-29  Baruch Even  <baruch@lyx.org>
11749
11750         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11751
11752 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * ParameterStruct.h (endif): add a default constructor to make
11755         sure that all variables is initialized.
11756
11757         * ParagraphParameters.C (ParagraphParameters): adjust
11758
11759 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11762         index; also, check that there is something to index, and that it
11763         does not span over several paragraphs.
11764         (doubleClick): use WHOLE_WORD_STRICT for double click.
11765
11766         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11767
11768         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11769         scheme.
11770
11771 2001-07-26  Baruch Even  <baruch@lyx.org>
11772
11773         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11774         an InsetFig figure, backwards compatible reading of old figure code.
11775
11776 2001-07-27  Juergen Vigna  <jug@sad.it>
11777
11778         * text2.C: font.realize function adaption.
11779
11780         * text.C (draw): add a warnings lyxerr text if needed.
11781
11782         * layout.C: font.realize function adaption.
11783
11784         * language.C: add inherit_language and implement it's handlings
11785
11786         * bufferview_funcs.C (StyleReset): remove language parameter from
11787         font creation (should be language_inherit now).
11788
11789         * bufferparams.C (writeFile): handle ignore_language.
11790
11791         * paragraph.C (getFontSettings): the language has to be resolved
11792         otherwise we have problems in LyXFont!
11793
11794         * lyxfont.C (lyxWriteChanges): added document_language parameter
11795         (update): removed unneeded language parameter
11796
11797         * paragraph.C (validate): fixed wrong output of color-package when
11798         using interface colors for certain fonts in certain environments,
11799         which should not seen as that on the final output.
11800
11801 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * BufferView_pimpl.C:
11804         * Thesaurus.h:
11805         * Thesaurus.C:
11806         * Makefile.am:
11807         * commandtags.h:
11808         * LyXAction.C: add thesaurus support
11809
11810         * lyxfind.h:
11811         * lyxfind.C: add "once" parameter, for thesaurus, to not
11812           move to the next match
11813
11814 2001-07-26  Juergen Vigna  <jug@sad.it>
11815
11816         * lyxfont.C (realize): honor ignore_language too!
11817         (resolved): ditto.
11818
11819         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11820
11821         * text.C (draw): one place more for ignore_language to not draw
11822         itself!
11823
11824 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11825
11826         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11827
11828 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11831         the minipage conversion problem.
11832
11833 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11836         insert an inset.
11837
11838 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * BufferView.h: don't forward declare WorkArea
11841
11842         * BufferView.C: don't include WorkArea.h
11843
11844 2001-07-25  André Pönitz <poenitz@gmx.net>
11845
11846         * commandtags.h:
11847         * LyXAction.C:
11848         * lyxfunc.C:  new LFUN 'math-space'
11849
11850         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11851
11852 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * text2.C (toggleInset): call open/close
11855
11856 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * lyxfunc.C (dispatch): add debug for the disabled case
11859
11860         * font.C (buttonText): make similar to rectText
11861
11862         * buffer.C (readInset): comment out parsing of insetlist and
11863         insttheorem
11864
11865         * PainterBase.C (rectText): small correction
11866
11867         * BufferView_pimpl.C: comment out insettheorem and insetlist
11868         * LyXAction.C: ditto
11869         * commandtags.h: ditto
11870
11871 2001-07-24  Juergen Vigna  <jug@sad.it>
11872
11873         * text.C (draw): honor the ignore_language.
11874
11875         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11876
11877 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11878
11879         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11880         char inset.
11881
11882 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11883
11884         * lyxtext.h: remove unused (and unimplemented) methods
11885
11886 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11887
11888         * text.C (getVisibleRow): honor background color
11889
11890         * PainterBase.h:
11891         * Painter.h: remove default color argument for fillRectangle
11892
11893         * text.C (backgroundColor): new method
11894
11895 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * text.C (getVisibleRow): adjust
11898
11899         * font.[Ch] (rectText): new method, metrics
11900         (buttonText): new method, metrics
11901
11902         * PainterBase.[hC]: make rectText and buttonText always draw and take
11903         fewer paramteres.
11904
11905 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11906
11907         * ToolbarDefaults.C (read):
11908         * MenuBackend.C (read): allow escaping in all strings
11909
11910         * BufferView_pimpl.C (insertAndEditInset): new method.
11911         (Dispatch): use insertAndEditInset whenever appropriate.
11912
11913         * BufferView_pimpl.C (insertNote): removed
11914
11915         * BufferView_pimpl.C (smartQuote): new method, moved from
11916         BufferView; if an insetquote cannot be inserted, insert a '"'
11917         character instead.
11918
11919         * BufferView2.C: remove insertCorrectQuote();
11920
11921         * lyxfunc.C (getStatus): Add support for all remaingin
11922         inset-insert lfuns.
11923
11924         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11925
11926         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11927         command (necessary to pass " as parameter of self-insert.
11928
11929         * text.C (selectWordWhenUnderCursor):
11930         (selectWord): add word_location parameter
11931         (selectWordWhenUnderCursor): same + remove special code for word
11932         boundary.
11933         (selectNextWord): use kind() to guess type of insetspecialchar,
11934         not latex().
11935
11936         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11937         (insertErtContents): create ert insets as collapsed.
11938         (readInset): better compatibility code for Info inset.
11939
11940 2001-07-20  Juergen Vigna  <jug@sad.it>
11941
11942         * lyxfunc.C (dispatch): use always LyXFind now!
11943
11944         * text2.C (init): add a reinit flag so that the LyXText can be
11945         reinited instead of deleted and reallocated (used in InsetText).
11946
11947         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11948
11949         * text.C: ditto
11950
11951         * text2.C: ditto
11952
11953 2001-07-18  Juergen Vigna  <jug@sad.it>
11954
11955         * text.C (selectNextWord): handle insets inside inset by calling
11956         always the bv->text functions so that we can go up the_locking_inset!
11957
11958         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11959         in strange locations when inside an inset!
11960
11961         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11962         handling to include insets.
11963
11964         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11965
11966 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11967
11968         * LyXAction.C (init):
11969         * commandtags.h:
11970         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11971         LIGATURE_BREAK, since the name is so stupid.
11972
11973 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11976         InsetInfos.
11977
11978         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11979
11980         * sp_form.[Ch]: remove.
11981
11982         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11983
11984         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11985         InsetInfo.
11986
11987         * src/buffer.C (readInset): ditto.
11988
11989 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11990
11991         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11992         menuSeparator(), endOfSentenceDot(), ldots() and
11993         hyphenationPoint(), which are therefore removed.
11994         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11995
11996         * LyXAction.C (init):
11997         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11998
11999         * paragraph.C (getWord): removed.
12000
12001         * BufferView_pimpl.C (Dispatch): use last word or selection for
12002         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12003
12004         * lyx_main.C (queryUserLyXDir): do not ask before creating
12005         user_dir, except if it has been named explicitely.
12006
12007 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12010         a document of zero size.
12011
12012 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12013
12014         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12015         approriately in the c-tor and in require().
12016         (getPackages): output the appropriate LaTeX for natbib support.
12017
12018         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12019         variables "use_natbib" and "use_numerical_citations" when reading the
12020         LyX file.
12021         (readInset): read the various natbib cite commands.
12022         (validate): white-space change.
12023
12024         * bufferparams.[Ch]: new variables "bool use_natbib" and
12025         "bool use_numerical_citations".
12026         (writeFile): output them in the LyX file.
12027
12028 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12029
12030         * lyxfunc.C (getStatus): add support for all the inset insertion
12031         commands.
12032
12033         * text2.C (insertInset):
12034         * paragraph.C (insetAllowed):
12035         * BufferView_pimpl.C (insertInset): update to take in account the
12036         renaming of insertInsetAllowed
12037
12038         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12039
12040         * text2.C (getInset): new method. returns inset at cursor position.
12041
12042         * BufferView_pimpl.C (Dispatch): changes because of this.
12043
12044         * LyXAction.C (init): rename open-stuff to inset-toggle.
12045
12046         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12047
12048         * text2.C (toggleInset): renamed from openStuff; use
12049         Inset::open().
12050
12051 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12052
12053         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12054
12055         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12056
12057 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * buffer.C (readLyXformat2): Add filename to the error dialog
12060
12061 2001-07-18  Juergen Vigna  <jug@sad.it>
12062
12063         * tabular.C (GetCellNumber): put an assert here instead of the check!
12064
12065 2001-07-17  Juergen Vigna  <jug@sad.it>
12066
12067         * BufferView_pimpl.C (toggleSelection): adapted too.
12068
12069         * text.C (selectNextWord): adapted for use with insets.
12070         (selectSelectedWord): ditto
12071
12072 2001-07-17  Juergen Vigna  <jug@sad.it>
12073
12074         * sp_spell.C (PSpell): fix initialitation order.
12075
12076 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * paragraph.C: spacing
12079
12080 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12081
12082         * sp_spell.C: repair language selection for pspell
12083
12084 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12085
12086         * lyxfunc.h: change more methods to begin with lower char.
12087
12088 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12089
12090         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12091         for unknown layouts.
12092
12093 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * buffer.C (readLyXformat2): Generate an error dialog if there are
12096         unknown layouts.
12097
12098 2001-07-16  Juergen Vigna  <jug@sad.it>
12099
12100         * sp_spell.C: always compile ISpell part.
12101
12102         * lyxrc.C: added use_pspell entry and it's handling.
12103
12104 2001-07-13  Juergen Vigna  <jug@sad.it>
12105
12106         * sp_spell.C: removed double includes.
12107
12108 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         Consistent use of Lsstream.h:
12111         * Lsstream.h: added using std::stringstream for consistencies sake.
12112
12113         * buffer.C: removed using std::stringstream
12114
12115         * lyxfont.C (stateText):
12116         * paragraph.C (asString):
12117         * text.C (selectNextWord, selectSelectedWord):
12118         * text2.C (setCounter):
12119         * vspace.C (asString, asLatexString):
12120         std::ostringstream -> ostringstream.
12121
12122 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12123
12124         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12125         * commandtags.h: add LFUN_HELP_ABOUTLYX
12126         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12127
12128 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12129
12130         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12131         cursorToggle()
12132         * lyx_gui_misc.C: remove spellchecker
12133         * lyxfunc.C: showSpellchecker
12134         * sp_base.h: added
12135         * sp_ispell.h: added
12136         * sp_pspell.h: added
12137         * sp_spell.C: added
12138         * sp_form.[Ch]: removed
12139         * spellchecker.[Ch]: removed
12140
12141 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12142
12143         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12144         is set.
12145         (simpleTeXSpecialChars): Simply print the input character without
12146         any special translation if pass_thru is set.
12147
12148         * layout.h: Added bool pass_thru to layout class for being able to
12149         implement pass through of a paragraph for Literate Programming.
12150
12151         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12152         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12153         * layout.C (Read): add "passthru" to list of layout tags and add
12154         code to set the pass_thru boolean when it is read.
12155
12156 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * trans_decl.h: remove allowed from KmodInfo
12159
12160         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12161         remove allowed code
12162         (Load): adjust
12163
12164         * paragraph_pimpl.C (erase): use boost::prior
12165
12166         * Painter.C (text): use data() instead of c_str() when length is
12167         also provided.
12168         * WorkArea.C (putClipboard): ditto
12169         * font.h (width): ditto
12170
12171         * BufferView2.C: use it-> instead of (*it). for iterators
12172         * texrow.C: ditto
12173         * paragraph_pimpl.C: ditto
12174         * paragraph.C: ditto
12175         * minibuffer.C: ditto
12176         * language.C: ditto
12177         * kbmap.C: ditto
12178         * encoding.C: ditto
12179         * counters.C: ditto
12180         * converter.C: ditto
12181         * chset.C: ditto
12182         * Variables.C: ditto
12183         * TextCache.C: ditto
12184         * MenuBackend.C: ditto
12185         * LyXAction.C: ditto
12186         * LColor.C: ditto
12187         * FloatList.C: ditto
12188         * DepTable.C: ditto
12189         * ColorHandler.C (LyXColorHandler): ditto
12190
12191 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12194
12195         * text2.C (openStuff): reintroduce this method (which had been
12196         nuked in NEW_INSETS frenzy).
12197
12198         * lyxfunc.C (Dispatch): when an action has not been handled, use
12199         its name in the error message, not its number.
12200
12201         * paragraph.C (inInset): change method name to begin with lowercase.
12202
12203         * undo_funcs.C:
12204         * text2.C: updates because of this.
12205
12206 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12207
12208         * ToolbarDefaults.C (add): add spaces in error message
12209
12210 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12213         (readLyXformat2): rename return_par to first_par, use lyxlex's
12214         pushToken and remove the manual push handling.
12215         (parseSingleLyXformat2Token): add another ert comp. variable:
12216         in_tabular, rename return_par to first_par. handle newlines better
12217
12218 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12221
12222 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * text2.C (getParFromID): removed
12225
12226         * buffer.C (getParFromID): new method moved form lyxtext.
12227         * BufferView2.C (insertErrors): adjust
12228         (setCursorFromRow): adjust
12229         * BufferView_pimpl.C (restorePosition): adjust
12230         * lyxfunc.C (Dispatch): adjust
12231         * undo_funcs.C (textUndo): adjust
12232         (textRedo): adjust
12233         (textHandleUndo): adjust
12234         (textHandleUndo): adjust
12235
12236 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * buffer.C: up' the LYX_FORMAT
12239
12240         * lyxfont.h: turn NO_LATEX on as default
12241
12242         * buffer.C (insertErtContents): new methods of tex style compability.
12243         (parseSingleLyXformat2Token): use it several places.
12244         * tabular.C (OldFormatRead): and here
12245
12246 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12247
12248         * text2.C: remove some commented code.
12249         reindent file.
12250
12251         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12252         * trans.C: changes because of the above.
12253
12254 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12255
12256         * text2.C (setCounter): Fix counters bug with bibliography layout.
12257
12258 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12261         own member functions
12262         (simpleTeXSpecialChars): ditto
12263
12264 2001-07-06  Juergen Vigna  <jug@sad.it>
12265
12266         * a lot of files: changed the access to LyXText::status and the
12267         call of undo-functions.
12268
12269         * undo.[Ch]: added a inset_id to the undo informations.
12270
12271         * undo_funcs.[Ch]: added and moved here all undo functions.
12272
12273         * lyxtext.h: give the status enum a weight, made status_ a private
12274         variable and made accessor functions for it, removed the whole bunch
12275         of undo-functions as they are now in their own file, make some
12276         functions publically available. Added function ownerParagraph with
12277         int parameter.
12278
12279         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12280         made InInset() a const function, added getParFromID() function.
12281
12282         * buffer.[Ch]: added const version for inset_iterator functions,
12283         added getInsetFromID() function.
12284
12285         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12286         changed undo functions for new version.
12287
12288 2001-07-05  Juergen Vigna  <jug@sad.it>
12289
12290         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12291         unknow mechanism does not call the proper constructor but only this
12292         one also if I request the other!?
12293
12294 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12297
12298         * text2.C (LyXText): use initialization lists.
12299
12300         * lyxtext.h (Selection): initialize set_ and mark_
12301         (init): remove method
12302
12303 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12304
12305         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12306
12307 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * screen.[Ch]: change method names to begin with lowercase
12310
12311         * BufferView_pimpl.C (updateScrollbar): simplify further and
12312         hopefully make it a bit faster.
12313
12314 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12317         calling directly xforms functions.
12318
12319         * Painter.C (Painter):
12320         * lyx_cb.C (MenuWrite):
12321         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12322         fl_display.
12323
12324         * lyx_gui.C: remove bogus guiruntime extern declaration.
12325
12326 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12329         in NEW_INSETS
12330         (redoDrawingOfParagraph): ditto
12331         (redoParagraphs): ditto
12332         (cutSelection): don't create a object for CutAndPaste use the
12333         static method directly
12334         (pasteSelection): ditto
12335
12336         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12337         LyXview (+ rename)
12338
12339 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * modifications to some other files because of this.
12342
12343         * Makefile.am (lyx_SOURCES): add XFormsView
12344
12345         * XFormsView.[Ch]: new files
12346
12347         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12348         the main window. Move the gui dependent stuff to XFormsView
12349
12350 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12351
12352         * tabular.C (GetCellInset): update cur_cell also in the row/col
12353         version of this function.
12354
12355         * lyxfunc.C: no need to include figure_form.h here.
12356
12357         * FontLoader.h:
12358         * lyxfunc.h:
12359         * lyxscreen.h:
12360         * text2.C:
12361         * lyxvc.C: no need to include forms.h here.
12362
12363 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12366
12367         * lyxfunc.C (Dispatch):
12368         * Spacing.C (set):
12369         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12370         constructor argument.
12371
12372 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * paragraph.C (Paragraph): dont't clear, and just set layout.
12375         (makeSameLayout): use params's copy contructor.
12376
12377         * ParagraphParameters.[Ch] (makeSame): delete method
12378
12379 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * Variables.[Ch]: fix indentation, rename set to isSet
12382
12383 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * lyxfunc.C (Dispatch): fix typo
12386
12387 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12390         upper_bound.
12391
12392         * bufferlist.C: include assert.h for emergencyWrite().
12393
12394 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12397           give up at last (bug #425202) !
12398
12399 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12400
12401         * lyx_gui_misc.C:
12402         * sp_form.h:
12403         * sp_form.C:
12404         * spellchecker.h:
12405         * spellchecker.C: strip spellchecker options and bring up
12406           preferences tab instead
12407
12408 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12409
12410         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12411         the istringstream constructor
12412
12413 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12414
12415         * paragraph.C (getLayout): fix return value
12416
12417         * paragraph.h: do not declare getLayout as inline.
12418
12419         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12420
12421 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * lyxcursor.h (operator<): new func
12424         (operator>): new func
12425         (operator>=): new func
12426         (operator<=): new func
12427
12428         * text.C (changeCase): use selection.start and selection.end
12429         (changeRegionCase): require from to be <= to. Require par to be a
12430         valid paragraph.
12431
12432         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12433
12434 2001-06-27  Juergen Vigna  <jug@sad.it>
12435
12436         * text.C (cursorLeftOneWord): changed to return the cursor and added
12437         overlay with BufferView * parameter which calls this one.
12438         (getWord): added
12439         (selectWord): use new getWord function.
12440         (changeCase): renamed from changeWordCase as and extended to work
12441         also on selections.
12442
12443         * lyxtext.h: added enum word_location
12444
12445         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12446         changeCase as this operates now also on selections.
12447
12448 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12449
12450         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12451
12452         * many files: send debug output to Debug::INFO instead of
12453         Debug::ANY.
12454
12455         * converter.C (View):
12456         (Convert):
12457         (Move): send debug output to Debug::FILES instead of console.
12458
12459 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12460
12461         * lyxfunc.C (getStatus): use func_status
12462
12463         * func_status.h: new header, describing the results of
12464         LyXFunc::getStatus;
12465
12466         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12467         LFUN_MATH_HALIGN.
12468
12469 2001-06-25  The LyX Project  <jug@sad.it>
12470
12471         * buffer.C (sgmlOpenTag):
12472         (sgmlCloseTag):
12473         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12474
12475 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * text2.C: remove some dead code
12478
12479         * tabular.C (GetCellInset): store the last cell checked (gotten)
12480
12481         * tabular.h: add the helper for the speedup
12482
12483         * lyxtext.h: remove some dead code
12484
12485 2001-06-26  The LyX Project  <Asger>
12486
12487         * paragraph.C: Change export to LaTeX of alignment to
12488         \begin{center} and family for better roundtrip work with reLyX.
12489
12490         * Tune the math drawing a bit.
12491
12492 2001-06-25  The LyX Project  <Asger>
12493
12494         * LColor.C (LColor): New color for math background. New color
12495         for buttons.
12496
12497 2001-06-25  The LyX Project  <jug@sad.it>
12498
12499         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12500
12501         * lyxfunc.C (Open):
12502         * bufferlist.C (newFile): do not restrict to files ending with
12503         .lyx
12504
12505         * BufferView_pimpl.C (MenuInsertLyXFile):
12506
12507 2001-06-24  The LyX Project  <jug@sad.it>
12508
12509         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12510         of compare_no_case
12511
12512 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12513
12514         * lyxtext.h: rename most methods to begin with a small char.
12515         Lots of changes because of this.
12516
12517         * paragraph.C (Paragraph): do not call fitToSize
12518         (erase): call Pimpl::erase
12519         (insertChar): call Pimpl::insertChar
12520         (insertInset): call Pipl::insertInset
12521         (breakParagraph): do not call fitToSize
12522         (breakParagraphConservative): do not call fitToSize
12523         (fitToSize): remove method
12524
12525         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12526
12527 2001-06-24  The LyX Project  <Asger>
12528
12529         * Fix Qt compilation^2
12530
12531 2001-06-24  The LyX Project  <jug@sad.it>
12532
12533         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12534         depthHook(getDepth()-1).
12535
12536         * paragraph.h:
12537         * ParagraphParameters.h:
12538         * ParameterStruct.h: change type of depth to unsigned int ==
12539         depth_type. Many adaptations to other files before of that.
12540
12541 2001-06-24  The LyX Project  <Asger>
12542
12543         * Fix Qt compilation.
12544
12545 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * paragraph.h: renamed several methods to begin with small letter.
12548         several changes to many parts of the code because of this.
12549
12550 2001-06-23  The LyX Project  <jug@sad.it>
12551
12552         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12553         rewritten to discard all double spaces when KeepEmpty is off
12554         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12555         to only handle newlines but not fiddle with spaces and friends.
12556
12557         * lyxfunc.C (MenuNew): when doing 'new from template', use
12558         template_path as default directory
12559
12560 2001-06-23  The LyX Project  <Asger>
12561
12562         * Clean-up of header file includes all over
12563         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12564
12565 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * paragraph.h: renamed from lyxparagraph.h
12568
12569 2001-06-23  Asger  <lyx@violet.home.sad.it>
12570
12571         * Buffer.h: Removed Buffer::resize
12572         * BufferList.h: Removed BufferList::resize
12573         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12574         the document lazily when we change the width, or the font settings.
12575
12576 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12579
12580 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * buffer.h: remove out of date comment
12583
12584 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12585
12586         * lyxscreen.h:
12587         * screen.C: fix "theoretical" GC leak
12588
12589 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12590
12591         * LaTeX.C (scanAuxFile):
12592         (deplog): remove trailing \r when reading stream (useful under
12593         win32)
12594
12595 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12596
12597         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12598         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12599         and BufferView::theLockingInset(Inset*), so should use them and not
12600         access bv_->text->the_locking_inset directly.
12601
12602         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12603
12604 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * Makefile.am:
12607         * tex-defs.h: remove old unused file
12608
12609 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * BufferView_pimpl.C: fix typo, remove minibuffer message
12612           when buffer has loaded
12613
12614 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * lyxfunc.C (Dispatch): use stringstream
12617         (MenuNew): use stringstream
12618         (Open): use stringstream
12619
12620         * importer.C (Import): use stringstream
12621
12622         * bufferview_funcs.C (CurrentState): use stringstream
12623
12624         * LaTeX.C (run): use stringstream
12625
12626         * BufferView_pimpl.C (savePosition): use stringstream
12627         (restorePosition): use stringstream
12628         (MenuInsertLyXFile): use stringstream
12629
12630 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12631
12632         * BufferView.C:
12633         * Bullet.C:
12634         * ColorHandler.C:
12635         * FontInfo.C:
12636         * FontLoader.C:
12637         * LColor.C:
12638         * LaTeXFeatures.C:
12639         * Painter.C:
12640         * gettext.C:
12641         * lyx_gui_misc.C:
12642         * lyxserver.C:
12643         * vspace.C: removed // -*- C++ -*- as first line.
12644
12645         * lyxfind.h:
12646         * version.h: added // -*- C++ -*- as first line.
12647
12648 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12651
12652         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12653         of string
12654
12655 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12658         of floats.
12659
12660 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * gettext.C: include LString.h even when --disable-nls is on.
12663
12664 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12665
12666         * converter.h (Get): changed argument type from int to
12667         FormatList::size_type to avoid unnecessary conversion.
12668
12669         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12670         before using it.
12671
12672 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * gettext.h: include LString.h even when --disable-nls is on.
12675
12676 2001-06-07  Juergen Vigna  <jug@sad.it>
12677
12678         * text.C (BreakAgain): subst spaces with tabs.
12679
12680         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12681         (resizeInsetsLyXText): set force on resizeLyXText.
12682
12683 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * gettext.h (gettext_init):
12686         (locale_init): use a real definition instead of a macro
12687
12688 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * Bufferview_pimpl.C:
12691         * LColor.h:
12692         * LColor.C: further lcolor tidies
12693
12694 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * BufferView_pimpl.C (updateScrollbar): simplify.
12697
12698         * BufferView2.C: don't include insets/insetinfo.h, change
12699         prototype for insertInset and call the Pimpl version. let
12700         updateInset call Pimpl version.
12701
12702         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12703         gotoInset to BufferView::Pimpl
12704
12705 2001-06-01  Juergen Vigna  <jug@sad.it>
12706
12707         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12708         inside a LockingInset (is the update needed at all?).
12709
12710 2001-05-31  Juergen Vigna  <jug@sad.it>
12711
12712         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12713         here not the old one otherwise how should we compare it afterwards
12714         if it's the same!
12715
12716 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * lyxfont.C:
12719         * tabular.C:
12720         * tabular-old.C:
12721         * FontInfo.C: bring C functions into global namespace when
12722         necessary
12723
12724 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12725
12726         * LString.h: make sure config.h has been loaded before LString.h.
12727
12728         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12729         (one for each char read by EatLine!).
12730
12731         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12732         variables.
12733
12734 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12735
12736         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12737         to the same as the par we break from
12738
12739 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12742
12743         * MenuBackend.C (expand): also create menu entries for wide
12744         versions of the floats.
12745
12746         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12747
12748         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12749
12750         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12751         frontends/Makefile.am
12752
12753         * text2.C: adjust
12754         * text.C: adjust
12755
12756
12757         * tabular.C (getTokenValue): add std::
12758
12759         * tabular-old.C (getTokenValue): add std::
12760         (getTokenValue): ditto
12761         (getTokenValue): ditto
12762
12763         * screen.C (ToggleSelection): adjust
12764
12765         * lyxtext.h: put selection cursors inside a Selection struct.
12766
12767         * lyxfunc.C (moveCursorUpdate): adjust
12768
12769         * lyxfont.C (latexWriteStartChanges): add std::
12770
12771         * lyxfind.C: adjust
12772
12773         * font.h: delete with(char const *, LyXFont const &)
12774
12775         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12776
12777         * FontInfo.C (getFontname): add std::
12778
12779         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12780         (workAreaButtonPress): adjust
12781         (tripleClick): adjust
12782         (update): adjust
12783         (moveCursorUpdate): adjust
12784         (Dispatch): adjust
12785
12786         * BufferView2.C (gotoInset): adjust
12787
12788 2001-05-30  Juergen Vigna  <jug@sad.it>
12789
12790         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12791         to check pspell I add this as default as I now have new pspell
12792         libraries and they seem to use this.
12793
12794 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * text2.C (CutSelection): make the cursor valid before the call to
12797         ClearSelection.
12798
12799 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12802         relied on 0 terminated strings and other horrors. Bug found due to
12803         the new assert in lyxstring!
12804
12805         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12806         KP_ keys.
12807
12808 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12811         to latinkeys.bind.
12812
12813         * lyxfunc.C (processKeySym): change method of getting to the
12814         self-insert char.
12815
12816         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12817         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12818         * BufferView_pimpl.[Ch]: here as private methods.
12819
12820 2001-05-28  Juergen Vigna  <jug@sad.it>
12821
12822         * text.C (SetHeightOfRow): added the update() call again as it is
12823         needed to initialize inset dimensions!
12824
12825 2001-05-16  Juergen Vigna  <jug@sad.it>
12826
12827         * text2.C (SetCharFont): Add new function with BufferView * and
12828         bool toggleall parameters for setting insets internal fonts.
12829         (SetFont): Freeze the undo as we may change fonts in Insets and
12830         all this change should be inside only one Undo!
12831
12832         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12833         setting font's in insets as for them we have the SetFont function!
12834
12835 2001-05-15  Juergen Vigna  <jug@sad.it>
12836
12837         * text2.C (ClearSelection): to be sure we REALLY don't have any
12838         selection anymore!
12839
12840         * tabular.C (TeXCellPreamble): fixed the left border problem for
12841         multicolumn cells.
12842
12843 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12844
12845         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12846         dependancy file
12847
12848 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12851         LFUN_BREAKPARAGRAPH.
12852
12853         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12854         help test to "internal only", similar for LFUN_INSERT_URL
12855
12856         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12857         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12858         auto_region_delete and deadkeys.
12859
12860 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12861
12862         * LColor.h:
12863         * LColor.C: remove some dead entries, tidy a little
12864
12865 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12868         commented code.
12869         (Dispatch): implement LFUN_ESCAPE
12870
12871         * commandtags.h: add LFUN_ESCAPE
12872
12873         * LyXAction.C (init): add entry for LFUN_ESCAPE
12874
12875         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12876         Remove commented code.
12877         (insertNote): moved here
12878         (open_new_inset): moved here
12879
12880         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12881         BufferView_pimpl
12882
12883 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12884
12885         * kbmap.C (findbinding): clean it up and make it work correctly.
12886
12887         * lyx_main.C (init): do not pass argc and argv as parameters
12888
12889 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12890
12891         * buffer.C: fix path for OS/2 & Win32
12892
12893         * lyx_gui.C:
12894         * lyx_main:
12895         * lyx_main.C: Added os:: class.
12896
12897         * os2_defines.h: update
12898
12899 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12902         better by trying again with reduced state.
12903
12904 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12905
12906         * lyxrc.C (read): print error about invalid key sequence only when
12907         debugging (because not all latinX keysyms are known to some X
12908         servers)
12909
12910         * kbsequence.C (getiso): add a few std:: qualifiers
12911         (getiso): comment out extra return statement.
12912
12913 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12916         handling.
12917         (Dispatch): enhance the accent inset a bit. (not perfect)
12918
12919 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12922
12923 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * bufferlist.C (emergencyWrite): fix assert() call
12926
12927 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12928
12929         * text.C (InsertChar): Added trivial patch to only send the "you
12930         can not do multiple spaces this way" message once during a
12931         session.
12932
12933 2001-05-08  Baruch Even  <baruch@lyx.org>
12934
12935         * Makefile.am: Changed order of libraries to get LyX to link properly
12936         with the gnome frontend.
12937
12938 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12939
12940         * LaTeXFeatures.h: add a std:: qualifier
12941
12942 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * paragraph.C (String): use stringstream
12945
12946 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * paragraph.C (writeFile): remove footflag arg
12949
12950         * buffer.C (makeLaTeXFile): use stringstream
12951         (latexParagraphs): remove footnot gurba
12952
12953         * LaTeXFeatures.C (getPackages): use stringstream
12954         (getMacros): likewise
12955         (getTClassPreamble): likewise
12956         (getFloatDefinitions): new method
12957
12958         * paragraph.C (writeFile): reindent
12959         (Erase): reindent
12960
12961         * WorkArea.h: revert the xpos + etc changes.
12962
12963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12964
12965         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12966
12967         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12968         (pasteSelection): likewise
12969         * text2.C (CreateUndo): likewise
12970
12971 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * minibuffer.C (peek_event): temporarily reduce the functionality
12974         of the minibuffer (to allow args on lfuns)
12975
12976         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12977         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12978
12979         * buffer.C (readInset): add compability reading of old float
12980         lists, add reading of new style float list.
12981         (readInset): avoid reevaluation of inscmd.getCmdName()
12982         (getLists): reindent
12983
12984         * MenuBackend.C (MenuItem): implement parsing of
12985         md_floatlistinsert and md_floatinsert.
12986         (expand::LastFiles): move initalizaton of iterators out of loop,
12987         avoid reevaluation.
12988         (expand::Documents): introduce typdedef vector<string> Strings,
12989         and use it.
12990         (expand::ExportFormats): introduce typedef vector<Format const *>
12991         Formats, and use it.
12992         (expand): implement FloatListInsert and FloatInsert.
12993
12994         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12995         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12996         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12997
12998         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12999         handling.
13000         (Dispatch::LFUN_FLOAT_LIST): implement
13001
13002 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13003
13004         * LaTeX.C (run): Fix problem with --export code.
13005
13006 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13007
13008         * BufferView.[Ch] (workarea): removed.
13009         (getClipboard) new method; wrapper for workarea()->getClipboard()
13010
13011         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13012         bug.
13013
13014         * WorkArea.h (width, height, xpos, ypos): These methods all
13015         returned the dimensions of the work_area sub-area of WorkArea,
13016         resulting in a position error if the WorkArea were resized. Now
13017         return the dimensions of the entire WorkArea.
13018
13019         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13020
13021 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * LaTeX.C (deplog): correct the syntax of regex reg1
13024
13025 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * undo.C: remove !NEW_INSETS cruft
13028
13029 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * text2.C: remove !NEW_INSETS cruft
13032
13033         * text.C: remove !NEW_INSETS cruft
13034
13035         * tabular.C: remove !NEW_INSETS cruft
13036
13037         * spellchecker.C: remove !NEW_INSETS cruft
13038
13039         * lyxtext.h: remove !NEW_INSETS cruft
13040
13041         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13042
13043         * lyxfunc.C: remove !NEW_INSETS cruft
13044
13045         * lyxfind.C: remove !NEW_INSETS cruft
13046
13047         * lyx_cb.C: remove !NEW_INSETS cruft
13048
13049         * figureForm.C: remove  !NEW_INSETS cruft
13050
13051         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13052
13053         * buffer.[Ch]: remove !NEW_INSETS cruft
13054
13055         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13056
13057         * CutAndPaste.C: remove !NEW_INSETS cruft
13058
13059         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13060
13061         * BufferView2.C: remove !NEW_INSETS cruft
13062
13063         * BufferView.h: remove !NEW_INSETS cruft
13064
13065 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * Lsstream.h: include LString.h before the sstream headers to
13068         fix problem with gcc 2.95.3 and lyxstring
13069
13070 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * lyx_main.C: add using directives when needed for C functions
13073         declared in std:: namespace.
13074
13075 2001-04-27  Juergen Vigna  <jug@sad.it>
13076
13077         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13078         (SetHeightOfRow): comment out the update call should not be needed!
13079
13080 2001-04-13  Juergen Vigna  <jug@sad.it>
13081
13082         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13083         (LyXTabular): tried to minimize operator= operations (and realized
13084         hopfully Lars wish).
13085
13086 2001-04-27  Juergen Vigna  <jug@sad.it>
13087
13088         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13089
13090 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13093
13094         * buffer.C (readInset): hack to make listof algorithm work
13095
13096         * BufferView_pimpl.C: hack to make listof algorithm work
13097
13098 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * LyXAction.C: removed all !NEW_INSETS cruft
13101         (init): moved lfun_item in method
13102
13103         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13104
13105 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13106
13107         * BufferView2.C (theLockingInset): white space.
13108
13109 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * minibuffer.C: include <iostream>
13112
13113         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13114
13115         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13116
13117         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13118
13119         * text.[Ch] (TransposeChars): new method
13120
13121 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * call message directly through LyXView instead of through LyXFunc
13124         * BufferView2.C: adjust
13125         * BufferView_pimpl.C: adjust
13126         * FontLoader.C: adjust
13127         * buffer.C: adjust
13128         * bufferview_funcs.C: adjust
13129         * converter.C: adjust
13130         * figureForm.C: adjust
13131         * importer.C: adjust
13132         * lyx_cb.C: adjust
13133         * lyx_gui_misc.C: adjust
13134         * lyxfunc.C: adjust
13135         * lyxvc.C: adjust
13136         * text2.C: adjust
13137         + more files in subdirs
13138
13139         * lyxparagraph.h (size): move up int file
13140         (GetLayout): ditto
13141
13142         * adjust all uses of Assert to lyx::Assert.
13143
13144         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13145         lyxfunctional in namespace lyx
13146         * layout.C (hasLayout): ditto
13147         (GetLayout): ditto
13148         (GetLayout): ditto
13149         (delete_layout): ditto
13150         (NumberOfClass): ditto
13151         * converter.C (GetFormat): ditto
13152         (GetNumber): ditto
13153         (Add): ditto
13154         (Delete): ditto
13155         (SetViewer): ditto
13156         * bufferlist.C (getFileNames): ditto
13157         (emergencyWriteAll): ditto
13158         (exists): ditto
13159         (getBuffer): ditto
13160         * MenuBackend.C (hasSubmenu): ditto
13161         (hasMenu): ditto
13162         (getMenu): ditto
13163         * BufferView_pimpl.C (getInsetByCode): ditto
13164
13165 2001-04-18  Juergen Vigna  <jug@sad.it>
13166
13167         * vspace.C (asLatexString): fixed the 100% problem.
13168
13169 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13170
13171         * lyxfunc.C (Dispatch):
13172         * minibuffer.C:
13173         * minibuffer.h: add a few std:: qualifiers
13174
13175 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * minibuffer.[Ch]: reimplement so that commands is initiated and
13178         run from lyxfunc, simplified som handling, and made the completion
13179         and history code for complete. wip.
13180
13181         * lyxfunc.C (processKeySym): call message
13182         (miniDispatch): new temporary method
13183         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13184         (LFUN_MESSAGE): implement
13185         (LFUN_MESSAGE_PUSH): implement
13186         (LFUN_MESSAGE_POP): implement
13187         (initMiniBuffer): the initial/defualt minibuffer message.
13188
13189         * lyxfont.[Ch]: inline some more getters
13190
13191         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13192
13193         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13194
13195         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13196         (AutoSave): use LFUN_MESSAGE
13197         (Reconfigure): ditto
13198
13199         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13200
13201         * figureForm.C: use LFUN_MESSAGE
13202
13203         * converter.C (runLaTeX): use LFUN_MESSAGE
13204
13205         * bufferview_funcs.C: use LFUN_MESSAGE
13206         (Melt): ditto
13207         (changeDepth): ditto
13208
13209         * bufferparams.h: use boost::
13210
13211         * bufferlist.h: inherit privately from noncopyable
13212
13213         * bufferlist.C (loadLyXFile): remove some commented code.
13214
13215         * buffer.C (runChktex): use LFUN_MESSAGE
13216
13217         * ShareContainer.h: inherit privately from noncopyable
13218
13219         * ParagraphParameters.[hC] (depth): inline it.
13220
13221         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13222         methods.
13223         (message): new method
13224         (messagePush): ditto
13225         (messagePop): ditto
13226         (show): init minibuffer
13227         (showState): direct call
13228
13229         * LaTeX.[Ch]: inherit privately from noncopyable
13230         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13231         instead of WriteStatus.
13232
13233         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13234
13235         * BufferView_pimpl.C (buffer): don't init minibuffer
13236         (workAreaButtonPress): use LFUN_MESSAGE
13237         (workAreaButtonRelease): ditto
13238         (savePosition): ditto
13239         (restorePosition): ditto
13240         (MenuInsertLyXFile): ditto
13241         (workAreaExpose): don't init minibuffer
13242         (update): remove commented code, simplify
13243
13244         * BufferView2.C (openStuff): use LFUN_MESSAGE
13245         (toggleFloat): ditto
13246         (menuUndo): ditto
13247         (menuRedo): ditto
13248         (copyEnvironment): ditto
13249         (pasteEnvironment): ditto
13250         (copy): ditto
13251         (cut): ditto
13252         (paste): ditto
13253         (gotoInset): ditto
13254         (updateInset): remove some commented code
13255
13256         * lastfiles.h: inherit privately from noncopyable
13257         * layout.h: ditto
13258         * lyx_gui.h: ditto
13259         * lyx_main.h: ditto
13260         * lyxlex.h: ditto
13261         * lyxlex_pimpl.h: ditto
13262
13263         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13264         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13265         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13266
13267         * LyXAction.h: inherit privately from noncopyable, add methods
13268         func_begin, func_end, returning iterators to the func map.
13269
13270         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13271         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13272         (func_begin): new method
13273         (func_end): new method
13274
13275         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13276         and not)
13277         (copySelection): ditto
13278         (pasteSelection): ditto
13279
13280         * BufferView.C: whitespace change
13281         * BufferView.h: inherit privately from noncopyable
13282
13283 2001-04-16  Allan Rae  <rae@lyx.org>
13284
13285         * tabular-old.C (l_getline):
13286         * spellchecker.C (sc_check_word):
13287         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13288         an unrecognised preprocessor directive.  So ensure they're wrapped.
13289
13290 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * src/exporter.C (Export): Give an error message when path to file
13293         contains spaces.
13294
13295 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13296
13297         * LaTeX.C (deplog): Always check that foundfile exists.
13298
13299 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * lyx_main.h:
13302         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13303
13304 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * tabular.[Ch] (getLabelList): implement new method
13307
13308         * minibuffer.h: comment ouf setTiimer
13309
13310         * minibuffer.C (ExecutingCB): constify res
13311         (peek_event): constify s
13312         (Set): constify ntext
13313         (Init): constify nicename
13314
13315         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13316
13317         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13318         (savePosition): use two params to Minibuffer::Set
13319         (restorePosition): ditto
13320
13321 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * lyx_main.C: include language.h
13324
13325         * Makefile.am (lyx_main.o): add language.h
13326
13327 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13328
13329         * exporter.C:
13330         * paragraph.C:
13331         * screen.C:
13332         * tabular.C:
13333         * CutAndPaste.C: include gettext.h
13334
13335         * lyxfont.h: remove old hack with ON and OFF.
13336
13337         * lyxparagraph.h:
13338         * lyxfont.h: do not include language.h...
13339
13340         * BufferView2.C:
13341         * LaTeXFeatures.C:
13342         * Painter.C:
13343         * bufferview_funcs.C:
13344         * font.C:
13345         * lyxfont.C:
13346         * text.C:
13347         * text2.C:
13348         * trans_mgr.C:
13349         * paragraph.C: ... but do it here instead
13350
13351 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13354
13355         * tabular.C: small reformat
13356
13357         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13358         NEW_INSETS version
13359         (GetChar): ditto
13360         (BreakParagraph): ditto
13361         (SetOnlyLayout): ditto
13362         (SetLayout): ditto
13363
13364         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13365         with one arg less.
13366
13367         * lastfiles.C: removed most using decl, add std:: where needed
13368
13369         * buffer.C: ws changes
13370
13371         * MenuBackend.C (class compare_format): put into anon namespace
13372         (expand): constify label, names, action, action2
13373         (expand):
13374
13375         * text.C (SingleWidth): constify font
13376         (IsBoundary): constify rtl2
13377         (GetVisibleRow): constify ww
13378
13379         * LaTeX.C (deplog): constify logfile
13380
13381         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13382         start_x, end_x
13383         (workAreaExpose): constify widthChange, heightChange
13384
13385         * lyxrow.C (par): moved
13386         (height): moved
13387         (next): moved
13388         * lyxrow.h: as inlines here
13389
13390         * lyxfont.h (shape): moved from lyxfont.C
13391         (emph): moved from lyxfont.C
13392
13393         * lyxfont.C (LyXFont): use initialization list for all
13394         constructors
13395         (shape): move to lyxfont.h as inline
13396         (emph): move to lyxfont.h as inline
13397
13398
13399 2001-04-04  Juergen Vigna  <jug@sad.it>
13400
13401         * vspace.C: had to include stdio.h for use of sscanf
13402
13403 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13404
13405         * BufferView.h:
13406         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13407         independent of xforms.
13408
13409 2001-04-02  Juergen Vigna  <jug@sad.it>
13410
13411         * spellchecker.C: fixed namespace placing!
13412
13413 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13414
13415         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13416         the LyXParagraph * is 0.
13417
13418 2001-03-29  Juergen Vigna  <jug@sad.it>
13419
13420         * vspace.C: added support for %, c%, p%, l%.
13421         (stringFromUnit): added helper function.
13422         (asLatexString): changed to give right results for the %-values.
13423
13424         * buffer.C: convert the widthp in a width%.
13425
13426 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13429         figureForm.[Ch].
13430
13431         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13432         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13433
13434         * lyx_cb.[Ch]: see above.
13435
13436         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13437         form1.[Ch].
13438
13439         * form1.[Ch]:
13440         * lyx.[Ch]: replaced by figure_form.[Ch].
13441
13442         * lyx_gui.C:
13443         * lyx_gui_misc.C:
13444         * lyxfunc.C: changed headers associated with above changes.
13445
13446 2001-03-27  Juergen Vigna  <jug@sad.it>
13447
13448         * BufferView_pimpl.C: set the temporary cursor right!
13449
13450 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13451
13452         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13453
13454 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13455
13456         * LString.h: removed "using std::getline"!
13457
13458         * BufferView_pimpl.C (Dispatch): changes due to changes in
13459         InsetInclude::Params.
13460
13461         * buffer.C (tag_name): removed redundant break statements as they were
13462         producing lots of warnings with my compiler.
13463
13464 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13465
13466         * LString.h: add "using std::getline" when using the real <string>.
13467
13468 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13469
13470         * buffer.C: removed bitset usage.
13471         PAR_TAG moved to an anonymous name space.
13472         (tag_name): new funtion, also in the anonymous namespace.
13473         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13474         (makeDocBookFile): clean code. Completed transition from string arrays
13475         to string vectors.
13476         (SimpleDocBookOnePar): code clean.
13477
13478 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13479
13480         * tabular.C: add some comments.
13481
13482 2001-03-22  Juergen Vigna  <jug@sad.it>
13483
13484         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13485         compatibility read a bit and fixed bug with minipage in different
13486         depth.
13487
13488 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13489
13490         * buffer.C (pop_tag): removed.
13491         (push_tag): removed.
13492         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13493         array replaced with vector. Added support for CDATA sections.
13494         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13495         at any nest level.
13496         (makeDocBookFile): XML conformant declaration of CDATA section,
13497         fixed bug related to <emphasis> in the first paragraph char.
13498         (sgmlOpenTag): exclude empty tags.
13499         (sgmlCloseTag): ditto.
13500
13501         * buffer.h (pop_tag): removed.
13502         (push_tag): removed.
13503
13504 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13505
13506         * language.h (Languages): added size_type and size().
13507
13508 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13509
13510         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13511         response on compability reading of minipages. One probliem is that
13512         the old usage of minipages was «flertydig»
13513
13514         * several files here and in subdirs: don't use static at file
13515         scope use anon namespaces instead.
13516
13517 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13518
13519         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13520         LaTeX output. This is necessary for Literate document
13521         processing.
13522
13523 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13524
13525         * buffer.C: insert hfill when needed.
13526
13527         * tabular.C (l_getline): use string::erase, small whitespace change.
13528
13529         * BufferView_pimpl.C: try the anon namespace.
13530         * WorkArea.C: ditto
13531
13532 2001-03-16  Juergen Vigna  <jug@sad.it>
13533
13534         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13535         otherwise it won't open options-dialogs.
13536
13537         * buffer.C: honor pextraWidth(p) on converting minipages.
13538
13539         * tabular.C (l_getline): changed the functions to strip trailing \r.
13540
13541 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13542
13543         * BufferView_pimpl.C:
13544         * minibuffer..C: added "using SigC::slot" declaration.
13545
13546 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13549
13550         * text2.C: ditto
13551
13552         * text.C: ditto
13553
13554         * paragraph.C: ditto
13555
13556         * lyxtext.h: NO_PEXTRA
13557
13558         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13559
13560         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13561         * ParameterStruct.h: ditto
13562         * ParagraphParameters.h: ditto
13563         * lyxparagraph.h: ditto
13564
13565 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13566
13567         * buffer.C: add compability for minipage alignment.
13568         (latexParagraphs): remove unwanted pextra check.
13569
13570         * several files: remove CXX_WORKING_NAMESPACES
13571
13572         * buffer.C (pop_tag): tie is in namespace boost
13573
13574         * BufferView.h: noncopyable is in namespace boost
13575         * lyxlex.h: ditto
13576         * lyx_main.h: ditto
13577         * lyx_gui.h: ditto
13578         * layout.h: ditto
13579         * lastfiles.h: ditto
13580         * bufferlist.h: ditto
13581         * ShareContainer.h: ditto
13582         * LyXView.h: ditto
13583         * LyXAction.h: ditto
13584         * LaTeX.h: ditto
13585
13586 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13587
13588         * Merging changes from BRANCH_MVC back into HEAD.
13589
13590         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13591
13592 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * BufferView_pimpl.C: change from intl.C
13595
13596         * combox.h:
13597         * combox.C:
13598         * Makefile.am: move combox.*
13599
13600         * form1.h:
13601         * form1.C:
13602         * lyx_gui.C:
13603         * intl.h:
13604         * intl.C: remove dialog (covered by prefs)
13605
13606 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * lyxfunc.C (Dispatch): removed redundant break statement.
13609
13610 2001-03-14  Juergen Vigna  <jug@sad.it>
13611
13612         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13613
13614 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13615
13616         * buffer.C: add hack to fix compability reading of minipages.
13617
13618 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13619
13620         * buffer.C (getLists): Cleanup.
13621
13622 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * lyxfont.C (update): don't honor toggleall on font size.
13625
13626 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * bmtable.c:
13629         * bmtable.h:
13630         * Makefile.am: moved to frontends/xforms/
13631
13632         * lyx_gui_misc.C:
13633         * lyxfunc.C:
13634         * BufferView_pimpl.C: changes for moved mathpanel
13635
13636 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * gettext.h: fix gettext_init() in --disable-nls
13639
13640 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13643
13644 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * lyx.C:
13647         * lyx.h: strip external form
13648
13649 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * BufferView_pimpl.C: add comment, destroySplash()
13652
13653 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * BufferView_pimpl.C:
13656         * LyXAction.C:
13657         * buffer.C:
13658         * commandtags.h:
13659         * lyxfunc.C: use re-worked insetinclude
13660
13661 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13662
13663         * buffer.C: add using std::stringstream.
13664
13665         * lyx_cb.C: readd using std::ios.
13666
13667         * buffer.C: add using std::map.
13668
13669         * BufferView_pimpl.C: add using std::vector.
13670
13671         * ShareContainer.h: add std:: to swap.
13672
13673         * buffer.h: add some typedefs
13674         * buffer.C (getLists): use them
13675         (getLists): renamed from getTocList.
13676         add a counter for the different float types and use it in the
13677         generated string.
13678         (getLists): use the same counter for the NEW_INSETS and the "non"
13679         NEW_INSETS
13680
13681         * lyx_cb.h: remove unused items, includes, using etc.
13682
13683         * ShareContainer.h: remove some commented code, add more comments
13684         and "documentation".
13685
13686 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13687
13688         * buffer.C (getTocList): make the list also when NEW_INSETS is
13689         defined.
13690
13691         * buffer.h: remove TocType
13692
13693         * buffer.C (getTocList): change to return a map<string,
13694         vector<TocItem> >, implement for dynamic number of list.
13695
13696         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13697         * text2.C (PasteSelection): adjust
13698         * CutAndPaste.C (pasteSelection): adjust
13699
13700         * FloatList.C (FloatList): update from the new_insets branch.
13701         * Floating.[Ch]: ditto
13702         * LaTeXFeatures.C: ditto
13703         * buffer.C: ditto
13704         * lyxlex_pimpl.C: ditto
13705
13706         * paragraph.C (Last): remove when NEW_INSETS is defined.
13707
13708         * other file: changes because of the above.
13709
13710 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13711
13712         * lyxparagraph.h: rename next to next_, previous to previous_,
13713         make them private for NEW_INSETS. Rename Next() to next(),
13714         Previous() to previous().
13715
13716         * other files: changes because of the above.
13717
13718 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13719
13720         * BufferView.h:
13721         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13722         problem.
13723
13724 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * main.C (main): pass lyx_localedir to gettext_init().
13727
13728         * gettext.h: remove locale_init and gettext_init macros
13729
13730         * gettext.C (locale_init): new function
13731         (gettext_init): new function
13732
13733         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13734         setlocale().
13735
13736 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13737
13738         * Moved credits to frontends:
13739         * credits.[Ch]: removed
13740         * credits_form.[Ch]: removed
13741         * lyx_gui_misc.C: remove credits stuff
13742         * Makefile.am:
13743
13744 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13745
13746         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13747
13748         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13749         unneeded destructor.
13750
13751         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13752         a standalone pointer again.
13753
13754         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13755
13756 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * Makefile.am:
13759         * filedlg.h:
13760         * filedlg.C:
13761         * LyXAction.C:
13762         * ToolbarDefaults.C:
13763         * bufferlist.C:
13764         * commandtags.h:
13765         * form1.C:
13766         * form1.h:
13767         * lyx_cb.C:
13768         * lyx_cb.h:
13769         * lyxfunc.h:
13770         * lyxfunc.C:
13771         * BufferView_pimpl.C: use new file dialog in GUII
13772
13773         * lyx_cb.h:
13774         * lyx_cb.C: remove LayoutsCB to Toolbar
13775
13776 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * ShareContainer.h (get): add std:: qualifier
13779
13780 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * ShareContainer.h: define a proper ShareContainer::value_type
13783         type (and use typename to please compaq cxx)
13784
13785 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13786
13787         * lyxparagraph.h: move serveral local vars to
13788         ParameterStruct/ParagraphParameters., use ShareContainer in
13789         FontTable., make vars in FontTable private and add getter and
13790         setter.
13791
13792         * paragraph.C: changes because of the above.
13793
13794         * lyxfont.h: remove copy constructor and copy assignment. (the
13795         default ones is ok), move number inside FontBits. move inlines to
13796         lyxfont.C
13797
13798         * lyxfont.C: add number to initializaton of statics, move several
13799         inlines here. constify several local vars. some whitespace
13800         cleanup. Dont hide outerscope variables.
13801
13802         * Spacing.h: add two new constructors to match the set methods.
13803
13804         * ShareContainer.h: new file, will perhaps be moved to support
13805
13806         * ParameterStruct.h: new file
13807
13808         * ParagraphParameters.h: new file
13809
13810         * ParagraphParameters.C: new file
13811
13812         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13813         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13814
13815         * BufferView_pimpl.C: ParagraphParameter changes.
13816         * buffer.C: Likewise.
13817         * bufferview_funcs.C: Likewise.
13818         * text.C: Likewise.
13819         * text2.C: Likewise.
13820
13821 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * lyxfind.C (LyXReplace): do not redefine default argument in
13824         implementation.
13825         (IsStringInText): ditto
13826         (SearchForward): ditto
13827         (SearchBackward): ditto
13828
13829 2001-03-06  Juergen Vigna  <jug@sad.it>
13830
13831         * lyxfind.C (IsStringInText): put parentes around expressions.
13832
13833 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13834
13835         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13836
13837 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13840
13841         * stl_string_fwd.h: add comment
13842
13843         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13844
13845         * tabular.h:
13846         * tabular.C: remove unused DocBook methods
13847
13848         * intl.C:
13849         * language.C:
13850         * paragraph.C:
13851         * buffer.C:
13852         killed DO_USE_DEFAULT_LANGUAGE
13853
13854 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * lyx_gui.C: do not include language.h.
13857
13858         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13859         arguments in function implementation.
13860
13861 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13862
13863         * BufferView_pimpl.C: add <ctime>
13864
13865 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13866
13867         * BufferView_pimpl.C: add using std::find_if
13868
13869 2001-02-27  José Matos  <jamatos@fep.up.pt>
13870
13871         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13872         by OnlyPath.
13873
13874 2001-02-11  José Matos  <jamatos@fep.up.pt>
13875
13876         * buffer.C (makeDocBookFile): command styles now have a parameter as
13877         "title" by default.
13878
13879 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13880
13881         * layout_forms.[Ch]: removed
13882         * lyx_cb.[Ch]: out character
13883         * lyx_gui.C: out character
13884         * lyx_gui_misc.C: out character
13885         * bufferview_funcs.C: : out character,
13886         added toggleall as parameter in ToggleAndShow
13887
13888 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13891
13892         * text2.C (SetCurrentFont): Disable number property at boundary.
13893
13894 2001-02-26  Juergen Vigna  <jug@sad.it>
13895
13896         * lyxfunc.C (getStatus): added a string argument override function so
13897         that this is correctly called from LyXFunc::Dispatch if it contains a
13898         do_not_use_argument which is used!
13899         (Dispatch): added check for "custom" export and call appropriate func.
13900
13901 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13902
13903         * lyxrc.C: Add language_command_local, language_use_babel and
13904         language_global_options.
13905
13906         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13907
13908         * buffer.C (makeLaTeXFile): Use language_use_babel and
13909         language_global_options.
13910
13911 2001-02-23  Juergen Vigna  <jug@sad.it>
13912
13913         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13914         which works with LyXText and putted it inside BufferView. Here now we
13915         only call for that part the BufferView::Dispatch() function.
13916
13917         * BufferView.C (Dispatch): added.
13918
13919         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13920         functions which needs to use a LyXText over from LyXFunc.
13921         (MenuInsertLyXFile): added
13922         (getInsetByCode): added
13923         (moveCursorUpdate): added
13924         (static TEXT): added
13925
13926 2001-02-22  Juergen Vigna  <jug@sad.it>
13927
13928         * BufferView_pimpl.C (update): call a status update to see if LyXText
13929         needs it.
13930
13931 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13932
13933         * vc-backend.C (revert): implement for CVS
13934         (getLog): implement for CVS
13935
13936 2001-02-20  Juergen Vigna  <jug@sad.it>
13937
13938         * text2.C (ClearSelection): added BufferView param for inset_owner call
13939
13940         * lyxfunc.C (TEXT): added this function and use it instead of
13941         directly owner->view()-text of getLyXText().
13942
13943 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13944
13945         * src/layout_forms.C: out preamble
13946         * src/layout_forms.h: out preamble
13947         * src/lyx_cb.C: out preamble
13948         * src/lyx_cb.h: out preamble
13949         * src/lyx_gui.C: out preamble
13950         * src/lyx_gui_misc.C: out preamble
13951         * src/lyxfunc.C: connect with guii preamble
13952
13953 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13954
13955         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13956
13957 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13958
13959         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13960         whether to run bibtex.
13961
13962 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13965
13966 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13967
13968         * Makefile.am (lyx_SOURCES): removed bibforms.h
13969
13970         * vspace.h: doxygen
13971
13972         * text.C (GetVisibleRow): make several local vars const
13973
13974         * tabular.C: small cleanup.
13975
13976         * lyxserver.C (callback): use compare instead of strncmp
13977
13978         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13979         inlines to after class or to paragraph.C
13980
13981         * lyxfont.h: remove friend operator!=
13982
13983         * converter.h: move friend bool operator< to non friend and after
13984         class def.
13985
13986         * combox.h: small cleanup
13987
13988         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13989         to inlines after class def.
13990
13991         * buffer.C (pop_tag): use string operations instead of strcmp
13992
13993         * bmtable.c: doxygen, small cleanup
13994
13995         * LaTeX.h: remove friend operator==
13996
13997 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13998
13999         * screen.C:
14000         * lyxrc.[Ch]:
14001         * lyxfunc.C:
14002         * lyxfont.[Ch]:
14003         * lyx_cb.C:
14004         * intl.[Ch]:
14005         * commandtags.h:
14006         * buffer.C:
14007         * WorkArea.[Ch]:
14008         * LyXAction.C:
14009         * BufferView_pimpl.C:
14010         * BufferView.[Ch]: remove cruft
14011
14012 2001-02-14  Juergen Vigna  <jug@sad.it>
14013
14014         * lyxfunc.C: removed #if 0 unused code
14015
14016         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14017
14018         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14019
14020         * text2.C (SetSelection): added a BufferView * parameter
14021
14022 2001-02-13  Juergen Vigna  <jug@sad.it>
14023
14024         * lyxfunc.C (Dispatch): fixed protected blank problem.
14025         * BufferView2.C (protectedBlank): added LyxText * parameter.
14026
14027         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14028         (AppendColumn): same as above for column_info.
14029
14030         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14031         (moveCursorUpdate): use a LyXText param for support of InsetText.
14032
14033         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14034         (tripleClick): ditto
14035
14036         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14037
14038         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14039
14040         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14041
14042         * text2.C (SetSelection): set correct update status if inset_owner
14043         (ToggleFree): ditto
14044
14045 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14046
14047         * tabular.C: remove some commented code.
14048
14049 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14050
14051         * BufferView_pimpl.C: call hideSplash()
14052
14053         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14054
14055         * include_form.h:
14056         * bibforms.h: remove
14057
14058         * lyxfunc.C:
14059         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14060           add LFUN_CHILD_CREATE
14061
14062         * counters.h: fix tiny typo
14063
14064         * lyx_cb.C:
14065         * lyx.h:
14066         * lyx_gui.C:
14067         * lyx.C: move splash to frontends/xforms/
14068
14069         * lyx_gui_misc.C: move Include and Bibform to frontends
14070
14071         * lyxvc.h: clarify comment
14072
14073         * vspace.C: tiny housekeeping
14074
14075 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * text.C (PrepareToPrint): RTL Fix.
14078
14079         * paragraph.C (GetUChar): New method.
14080         (String):  Use GetUChar.
14081
14082         * buffer.C (asciiParagraph): Use GetUChar.
14083
14084 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14085
14086         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14087
14088 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14089
14090         * buffer.h:
14091         * buffer.C: rename to getLogName(), handle
14092           build log / latex log nicely
14093
14094 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * MenuBackend.C:
14097         * MenuBackend.h: remove support for reference menuitem type.
14098
14099 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14100
14101         * BufferView_pimpl.C: housekeeping
14102         * BufferView_pimpl.h:
14103         * LyXView.h:
14104         * Makefile.am:
14105         * Timeout.C:
14106         * Timeout.h:
14107         * minibuffer.h: move Timeout GUI-I
14108
14109 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * lyxrc.C (read): Update converters data-structures.
14112
14113 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14114
14115         * LaTeX.h (operator!=): add operator != for Aux_Info
14116
14117 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14118
14119         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14120
14121         * LaTeXLog.C: deleted, useful code moved to Buffer
14122
14123         * buffer.h:
14124         * buffer.C: new function getLatexLogName()
14125
14126         * lyx_gui_misc.C:
14127         * lyx_gui.C:
14128         * lyxvc.C:
14129         * lyxvc.h:
14130         * lyxfunc.C: use frontends for LaTeX and VC logs
14131
14132 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * LaTeX.h: yet another std:: that Allan forgot.
14135
14136         * Variables.C (set): renamed from isset(), because this clashes
14137         with some HP-UX macros (grr).
14138
14139 2001-02-06  Allan Rae  <rae@lyx.org>
14140
14141         * LaTeX.h: Another bug fix.  Missing std:: this time.
14142
14143 2001-02-04  Allan Rae  <rae@lyx.org>
14144
14145         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14146         floats problem. I've left it commented out because it's not quite
14147         correct.  It should also test that the current object is a table or
14148         figure inset.  But I haven't gotten around to figuring out how to do
14149         that.  I *think* it'll be something like: "table" == inset.type()
14150
14151         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14152         bool.
14153
14154 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14157         all the citation/databases/styles in the auxilary file.
14158         (run): Rerun latex if there was a babel language error.
14159
14160 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * text.C (Backspace): Preserve the font when changing newline char
14163         with a space.
14164         (BreakParagraph): If the cursor is before a space, delete the space.
14165
14166         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14167
14168 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14171         new argument (code).
14172         (ChangeCitationsIfUnique): New method.
14173
14174         * paragraph.C (GetPositionOfInset): Handle bibkey.
14175
14176 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14177
14178         * BufferView_pimpl.h: change type of Position::par_pos to
14179         LyXParagraph::size_type.
14180
14181 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * BufferView_pimpl.C (savePosition, restorePosition): Write
14184         messages to minibuffer.
14185
14186 2001-01-28  José Matos  <jamatos@fep.up.pt>
14187
14188         * buffer.C (makeDocBookFile): adds support for document language.
14189         A silly restriction on the name of LatexCommand types where removed.
14190         Added support for CDATA sections, allows to chars unescaped, used
14191         among others in code, to avoid escape < and >.
14192
14193 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14196         saved positions instrad of a stack. Furthermore, a position is
14197         stored using paragraph id/paragraph position.
14198
14199         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14200         Remove LFUN_REF_BACK.
14201
14202 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * converter.C (dvipdfm_options): New method.
14205
14206 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * vspace.C (isValidLength): Fix for empty input string.
14209
14210 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * LyXAction.C (init): change description of LFUN_FIGURE to
14213         "Insert Graphics"
14214
14215 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * LaTeX.C: add using directive
14218
14219 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * MenuBackend.C (expand): Fix the sorting of the formats.
14222
14223 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14224
14225         * lyx_main.C: tiny error message fix
14226
14227 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14230         calling fl_initialize(). This fixes the problem with ',' as
14231         decimal separator in text files.
14232
14233 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * trans.C (process): Fix the keymap bug.
14236
14237 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * LaTeX.C (scanAuxFiles): New method. Provides support for
14240         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14241         (scanLogFile) Scan for "run BibTeX" messages.
14242
14243         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14244         OT1 font encoding. Also, load the aecompl package if the ae
14245         package is loaded.
14246
14247         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14248
14249 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * texrow.C (increasePos): turn two error messages into debug
14252         messages.
14253
14254 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14255
14256         * LaTeX.C (scanAux): Handle the \@input macro.
14257         (runBibTeX): Use scanAux().
14258
14259         * language.C (latex_options_): New field.
14260
14261         * LaTeXFeatures.C (getMacros): Add language macros.
14262
14263         * buffer.C (makeLaTeXFile): Small fix.
14264
14265 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14268
14269         * text2.C: add a using directive.
14270
14271 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * BufferView2.C:
14274         * lyx_gui_misc.h:
14275         * lyxfr1.C:
14276         * lyxfunc.C: kill LyXBell.
14277
14278 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14279
14280         * text.C (IsBoundary): Remove the error message
14281
14282         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14283
14284         * lyxrc.C (setDefaults): Correct initialization value for
14285         font_norm_type.
14286
14287 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14290         gotoError().
14291
14292         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14293         and GotoNextNote().
14294
14295         * src/LyXAction.C: Added reference-next.
14296
14297         * text.C (InsertChar): Use contains instead of strchr.
14298
14299         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14300
14301 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14304         alignment commands (when needed).
14305
14306         * text.C (InsertChar): Add ':' to number separator chars.