]> git.lyx.org Git - features.git/blob - src/ChangeLog
Michael's latest minipage cleanup patch
[features.git] / src / ChangeLog
1 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2
3         * LaTeXFeatures.C:
4         * lyx_sty.[Ch]: remove minipageindent_def
5
6         * LyXAction.C:
7         * factory.C:
8         * lfuns.h:
9         * lyxfunc.C:
10         * text3.C: remove LFUN_INSET_MINIPAGE
11
12 2003-12-28  Angus Leeming  <leeming@lyx.org>
13
14         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
15
16 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
17
18         * text2.C (setParagraph): fix off-by-one crash
19
20 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * output_docbook.C: header stuff for AGU
23
24 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * text2.C (redoCursor): remove
27         * text.C:
28         * text3.C:
29         * BufferView_pimpl.C: remove calls to redoCursor and
30         setCursor(cursor.par(), cursor.pos()) all around
31
32 2003-12-15  Angus Leeming  <leeming@lyx.org>
33
34         * buffer.C: up the format to 228.
35
36 2003-12-15  André Pönitz  <poenitz@gmx.net>
37
38         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
39         slices
40
41         * Makefile.am:
42
43         * BufferView_pimpl.C:
44         * cursor.[Ch]:
45         * lyxcursor.[Ch]:
46         * rowpainter.[Ch]:
47         * lyxtext.h:
48         * text.C:
49         * text2.C:
50         * text3.C: adjust
51
52 2003-12-15  Angus Leeming  <leeming@lyx.org>
53
54         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
55         than getFromGUIName to manipulate the color.
56
57 2003-12-14  Angus Leeming  <leeming@lyx.org>
58
59         * BranchList.[Ch]: minimize the API.
60         (Branch::getBranch, getColor): now return a 'const &'.
61         (Branch::setSelected) now returns a bool set to true if the
62         selection status changes.
63         (BranchList::clear, size, getColor, setColor, setSelected,
64         allBranches, allSelected, separator): removed.
65         (BranchList::find): new functions, returning the Branch with
66         the given name.
67         (BranchList::add, remove): return a bool indicating that
68         the operation was successful.
69
70         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
71         new InsetBranch::isBranchSlected member function.
72
73         * LColor.[Ch]: mimimize the API.
74         (fill): renamed as addColor and made private.
75         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
76         versions of these functions taking a string arg have been removed.
77
78         * bufferparams.C (readToken):
79         * lyxfunc.C (dispatch):
80         * lyxrc.C (read): changes due to the altered BranchList and
81         LColor APIs.
82
83         * factory.C (createInset, readInset): changes due to altered
84         InsetBranch c-tor.
85
86 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * factory.C: 
89         * lyxfunc.C: remove insetminipage. "minipage-insert"
90         now produces a frameless minipage box inset.
91
92 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * textcursor.[Ch] (selStart,selEnd): add new methods 
95         remove selection::start, end, use LyXCursor::operator<
96         * lyxcursor.[Ch] (operator<): add
97         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
98         * BufferView.[Ch] (unsetXSel): add
99         * text2.C (clearSelection): use unsetXSel,adjust
100         * text.C: adjust
101         * text3.C: adjust
102         * rowpainter.C: adjust
103         * bufferview_funcs.C (put_selection_at): adjust
104
105 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * BufferView_pimpl.C: small coord. correction
108
109 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
112         dragging over the splash screen.
113
114 2003-12-11  Angus Leeming  <leeming@lyx.org>
115
116         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
117         as it is now handled in LyXText::dispatch.
118
119         * text3.C (doInsertInset): remove a level of nesting.
120
121 2003-12-11  Angus Leeming  <leeming@lyx.org>
122
123         * factory.C (createInset): changes due to the changed interface to
124         InsetCommandMailer::string2params.
125
126 2003-12-10  Angus Leeming  <leeming@lyx.org>
127
128         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
129         'dialog-show-new-inset <inset name>'
130
131 2003-12-10  Angus Leeming  <leeming@lyx.org>
132
133         * buffer.C: up the format to 227.
134
135         * factory.C: the box inset is now identified simply by 'Box'.
136
137 2003-12-10  Angus Leeming  <leeming@lyx.org>
138
139         * buffer.C: up the format to 226.
140
141         * factory.C: the note inset is now identified simply by 'Note'.
142
143 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
144
145         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
146         when a pit is enough. Standarize a couple of loops. 
147
148 2003-12-05  Angus Leeming  <leeming@lyx.org>
149
150         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
151         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
152         data to the re-worked "log" dialog.
153
154 2003-12-03  André Pönitz  <poenitz@gmx.net>
155
156         * PosIterator.C:
157         * iterators.C:
158         * lyxtext.h:
159         * output_latex.C:
160         * paragraph_funcs.C:
161         * text.C:
162         * text2.C: use Inset::getText instead of Inset::getParagraph
163
164 2003-12-03  André Pönitz  <poenitz@gmx.net>
165
166         * buffer.[Ch]:
167         * lyxtext.h:
168         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
169         InsetText::read() as LyXText::read()
170         
171 2003-12-02  Angus Leeming  <leeming@lyx.org>
172
173         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
174         type. Add a comment in the implementation that the function uses
175         the stream's bad() function rather than fail() as the std::streams
176         would do.
177
178 2003-12-02  André Pönitz  <poenitz@gmx.net>
179
180         * lyxlex.[Ch]: make interface more similar to std::stream
181
182         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
183
184 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
185
186         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
187
188 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
189
190         * vspace.[Ch]: remove VSpace::NONE
191
192 2003-12-01  André Pönitz  <poenitz@gmx.net>
193
194         * buffer.[Ch]:
195         * lyxtext.h: move ParagraphList member to LyXText
196         rename LyXText::ownerParagraphs to LyXText::paragraph
197
198         * CutAndPaste.C:
199         * bufferview_funcs.C:
200         * iterators.[Ch]:
201         * lyx_cb.C:
202         * paragraph.C:
203         * rowpainter.C:
204         * tabular.C:
205         * text.C:
206         * text2.C:
207         * text3.C: adjust
208
209         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
210
211         * undo.C: fix cursor positioning 
212
213 2003-12-01  John Levon  <levon@movementarian.org>
214
215         * BufferView_pimpl.C: fix a crash on exit with
216         a buffer open
217
218 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * BranchList.C: fix setSelected() method.
221
222 2003-11-28  André Pönitz  <poenitz@gmx.net>
223
224         * ParagraphParameters.[Ch]:
225         * ParameterStruct.h: remove space above/below from Paragraph to
226          InsetVSpace
227
228         * BufferView_pimpl.C:
229         * factory.C:
230         * lyxfunc.C:
231         * lyxtext.h:
232         * output_latex.C:
233         * paragraph.C:
234         * paragraph_funcs.C:
235         * rowpainter.[Ch]:
236         * text.C:
237         * text2.C:
238         * text3.C: adjust
239
240 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * factory.C: Syntax change for CharStyles
243
244 2003-11-28  André Pönitz  <poenitz@gmx.net>
245
246         * BufferView.[Ch]:
247         * BufferView.[Ch]:
248         * buffer.[Ch]:
249         * buffer.[Ch]: move LyXText member
250
251 2003-11-28  André Pönitz  <poenitz@gmx.net>
252
253         * BufferView.[Ch]: make LyXText * text a private member
254
255         * BufferView_pimpl.C:
256         * cursor.C:
257         * iterators.C:
258         * lyx_cb.C:
259         * lyxfind.C:
260         * lyxtext.h:
261         * rowpainter.[Ch]:
262         * text.C:
263         * text2.C:
264         * undo.C: adjust
265
266         * output_plaintext.C: cleanup
267
268 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * buffer.C: 
271         * lyxtextclass.[Ch]: parametrize SGML document header
272
273 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * converter.[Ch]:
276         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
277         getFlavor().
278
279 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * text2.C (setFont): rework using PosIterator (no more recursive)
282         (setCharFont): no more needed 
283         (setLayout): no more selection cursors fiddling (done by redoCursor)
284         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
285         destroy remaining ones)
286
287 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
288
289         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
290         * lyxtext.h: ditto
291         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
292         selection cursors
293         * lyxfunc.C: adjust
294         * text3.C: adjust + re-allow multi par depth changes
295         * textcursor.C: simplify a bit
296
297 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
298
299         * src/buffer.C:
300         * src/lyxlayout.C:
301         * src/lyxlayout.h:
302         * src/lyxtext.h:
303         * src/output_docbook.C:
304         * src/output_latex.C:
305         * src/paragraph.C:
306         * src/paragraph.h:
307         * src/sgml.C:
308         * src/sgml.h:
309         * src/text2.C: Introducing a number of tags parametrizing various
310         XML formats that we may want to support
311
312 2003-11-25  André Pönitz  <poenitz@gmx.net>
313
314         * InsetList.[Ch] (begein, end): inline as suggested by profiler
315
316         * lyxtext.h (leftMargin/rightMargin): simplify interface
317
318         * rowpainter.C:
319         * text.C:
320         * text2.C:
321         * text3.C: adjust
322
323 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
324
325         * lyxfunc.C (dispatch): propogate the bibtex databases from the
326         master file to any child files. Fixes bug 546.
327
328 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
331
332 2003-11-24  André Pönitz  <poenitz@gmx.net>
333
334         * rowpainter.C: simplification
335
336         * text2.C (updateCounters): remove call to redoParagraph on 
337         changed labels as this is far too expensive.
338
339 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * converter.C (convert): fix a crash: this function gets
342         called with buffer == 0 from importer code.
343
344 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
345
346         * text3.C (cursorPrevious): make sure that we do not compare
347         iterators form different containers.
348         (cursorNext): ditto
349
350         * rowpainter.C (paintSelection): make sure that we do not compare
351         iterators from different containers.
352
353         * text3.C (dispatch): [PRIOR] make sure that we do not compare
354         iterators from different ParagraphList containers.
355         [NEXT] ditto
356
357         * text2.C (LyXText): change order of initialization slightly
358         (operator=): new function. copy all variables except cache_par_
359         (moveUp): make sure that we do not compare iterators from
360         different ParagraphList constainers.
361         (moveDown): ditto
362
363         * text.C (firstPar): new function
364         (lastPar): new function
365         (endPar): new function
366
367         * lyxtext.h: move things around and group public functions, public
368         variables, private functions, private variables
369
370 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
371
372         * factory.C: change call to InsetERT constructor to avoid
373         additional invocation of method status
374         * text2.C (toggleInset): remove redundant update() call
375         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
376         instead of a Bufferview pointer
377
378 2003-11-21  André Pönitz  <poenitz@gmx.net>
379
380         * rowpainter.C: simplification
381
382 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * text3.C (dispatch): make possible to extend a word/row selection
385         with the mouse
386
387 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * lyxtext.h: x0_,y0_ -> xo_,yo_
390         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
391         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
392         * rowpainter.C (paintRows): paint full paragraphs
393
394 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
395
396         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
397         screen coordinates)
398
399 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
400
401         * lyxtext.h: add x0_, y0_
402         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
403         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
404
405 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * text2.C (setCursorIntern): move the x_target update here *
408         * text3.C: change some bv() to true/false in calls to
409         cursorUp/Down/Right/Left
410         * cursor.C: use helper function.
411
412 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
413
414         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
415         * paragraph_funcs.[Ch]: correct comment
416         * rowpainter.C: do not paint selections away from bv->cursor()
417         Fix a long standing selection painting bug.
418         * text3.C: generalize mouse-selection code to LyXTexts other that
419         top one
420         * textcursor.C: do not use y coords if we can use par offsets
421
422 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
423
424         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
425         cursor position after e.g. inset insert)
426
427 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
428
429         * lyxfind.C (replace): adjust to locking removal + some
430         code simplification
431
432 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
433
434         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
435         of the path
436
437 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
438
439         * lyxlayout.[Ch]:
440         * output_docbook.C: XML sanitation: new layout
441         parameters InnerTag and CommandDepth
442
443 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
444
445         * BufferView_pimpl.C:
446         * factory.C:
447         * text3.C: Fix the insertion and modification of button-style
448         insets
449
450 2003-11-13  André Pönitz  <poenitz@gmx.net>
451
452         * InsetList.[Ch]: remove deleteLyXText
453
454         * paragraph.[Ch]: cache beginOfBody position
455
456         * Bidi.C:
457         * text.C:
458         * text2.C:
459         * text3.C: remove superfluous update() calls
460
461         * vspace.C: cleanup
462
463 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
464
465         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
466         * BufferView.C (fitLockedInsetCursor): remove
467         * cursor.[Ch] (getDim): add
468         * text.C (getRowNearY): add faster version
469         * text3.C: remove some update calls
470
471 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * LaTeXFeatures.C:
474         * LyXAction.C:
475         * MenuBackend.C:
476         * MenuBackend.h:
477         * dispatchresult.h:
478         * factory.C:
479         * lfuns.h:
480         * lyxfunc.C:
481         * lyxtextclass.C:
482         * lyxtextclass.h:
483         * text3.C: The Character Style /XML short element patch.
484
485 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
486
487         * text3.C:
488         * factory.C: Small step to solving 'unable to insert some insets'
489         problem
490
491 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * cursor.[Ch] (updatePos): new function for updating the y
494         position of the tip inset
495         * bufferview_funcs.C (put_selection_at):
496         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
497
498 2003-11-11  André Pönitz  <poenitz@gmx.net>
499
500         * text.C: remove big comment on invalid Paragraph pointers as it is
501         not valid anymore
502
503 2003-11-11  André Pönitz  <poenitz@gmx.net>
504
505         * text_funcs.[Ch]: merge with ...
506
507         * text.C: ... this
508
509         * lyxtext.h:
510         * text2.C:
511         * text3.C: adjust
512
513         * Makefile.am: remove text_funcs.[Ch]
514
515 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
516
517         * cursor.C (getPos): return absolute cached y coord
518
519         * BufferView_pimpl.C (fitCursor): new simplistic code
520         (workAreaDispatch): add a fitCursor call
521
522 2003-11-10  André Pönitz  <poenitz@gmx.net>
523
524         * BufferView.[Ch]:
525         * BufferView_pimpl.[Ch]: merge update() and updateInset()
526
527 2003-11-10  André Pönitz  <poenitz@gmx.net>
528
529         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
530         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
531         indicate that the cursor needs to leave an inset
532
533         * lyxtext.h: remove inset locking
534
535         * cursor.[Ch]: re-implement functionality provided by inset locking
536
537         * BufferView.[Ch]:
538         * BufferView_pimpl.[Ch]:
539         * LyXAction.C:
540         * bufferview_funcs.[Ch]:
541         * factory.C:
542         * funcrequest.[Ch]:
543         * iterators.C:
544         * lyx_cb.C:
545         * lyxfind.C:
546         * lyxfunc.C:
547         * text.C:
548         * text2.C:
549         * text3.C:
550         * undo.C: adjust
551
552 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
553
554         * PosIterator.[Ch]: replace the stack with a vector, add inset
555         accesor
556         * iterators.[C]: adjust
557
558 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
559
560         * lyxfind.C (replaceAll): mark the buffer dirty if something was
561         replaced
562         * paragraph_funcs.C (readParToken): put the correct id in the
563         error item, not the id of the top paragraph
564
565 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
566
567         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
568         * bufferview_funcs.C (put_selection_at): use the above
569
570 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
571
572         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
573
574 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * output_linuxdoc.h:
577         * output_plaintext.h:
578         * output.h:
579         * output_docbook.h: add #include statements
580
581 2003-11-05  José Matos  <jamatos@lyx.org>
582
583         * output_docbook.[Ch]:
584         * output_latex.[Ch]:
585         * output_linuxdoc.[Ch]:
586         * output_plaintext.[Ch]: New files for output formats.
587         * output.[Ch]: New file for helper functions.
588
589         * buffer.[Ch]:
590         * paragraph_funcs.[Ch]: output functions moved to new files.
591
592         * outputparams.h: rename of latexrunparams.h
593
594         * LaTeX.[Ch]:
595         * buffer.[Ch]:
596         * bufferlist.[Ch]:
597         * converter.[Ch]:
598         * exporter.C:
599         * paragraph.[Ch]:
600         * paragraph_funcs.[Ch]:
601         * paragraph_pimpl.[Ch]:
602         * tabular.[Ch]: rename ascii to plaintext
603         and LatexRunParams to OutputParams.
604
605 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
606
607         * iterators.[Ch] (text): require bv argument
608         * undo.C (recordUndo):
609         * lyxfunc.C (dispatch):
610         * bufferview_funcs.C (put_selection_at): adjust
611
612 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
613
614         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
615
616 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
617
618         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
619         nestings
620
621 2003-11-04  André Pönitz  <poenitz@gmx.net>
622
623         * cursor.[Ch]: restructure
624
625         * BufferView.[Ch]:
626         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
627
628         * iterators.[Ch] (asCursor): remove
629
630         * lfuns.h: remove LFUN_INSET_EDIT
631
632         * lyxfunc.C:
633         * tabular.C:
634         * text.C:
635         * text2.C:
636         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
637
638 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
639
640         * lyxfind.[Ch]: complete overhaul
641         * BufferView_pimpl.C:
642         * lyxfunc.C: adjust
643         * paragraph.[Ch] (insert): add
644
645 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
646
647         * BufferView.[Ch]:
648         * lyxtext.h:
649         * text.C: remove dead spellcheck code
650
651 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
652
653         * dispatchresult.h: add a val setter
654
655         * cursor.C (dispatch): use a tempvar for data_[i]
656
657 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
658
659         * PosIterator.[Ch]: compile fix
660
661 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
662
663         * text.C (cursorPar): deactivate the cursor cache
664
665 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
666
667         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
668
669 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
670
671         * text3.C (dispatch): adjust for new DisptchResult semantics.
672
673         * lyxfunc.C (dispatch): handle update when return from
674         Cursor::dispatch, adjust for new DispatchResult semantics.
675
676         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
677         DispatchResult(true) mean to not update. Add class functions for
678         setting dispatched and update, as well as reading.
679
680         * cursor.C (dispatch): don't handle update here
681
682 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
683
684         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
685         * trans_mgr.C: adjust
686
687         * paragraph_funcs.C (readParToken): exception safety
688
689         * lyxvc.h: store the vcs pointer in a scoped_ptr
690         * lyxvc.C: adjust
691
692         * lyxsocket.C (serverCallback): exception safety
693
694         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
695
696         * ispell.C (clone): make it return a auto_ptr
697
698         * factory.C (createInset): exception safety
699         (readInset): exception safety
700
701         * bufferlist.C (newBuffer): exception safety
702
703         * Thesaurus.C (Thesaurus): use initialization for aik_
704
705         * MenuBackend.C (expandToc): exception safety.
706
707 2003-11-03  André Pönitz  <poenitz@gmx.net>
708
709         * buffer.C:
710         * buffer.h:
711         * bufferview_funcs.C: remove getInsetFromId()
712
713         * lyxcursor.[Ch]:
714         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
715
716         * lyxfunc.C:
717         * text2.C:
718         * text3.C: adjust
719
720 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
721
722         * PosIterator.C (distance, advance): new
723         * bufferview_funcs.[Ch] (put_selection_at): new
724         * iterators.[Ch] (lockPath): new
725
726 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
727
728         * iterators.[Ch] (asPosIterator): added
729         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
730         * PosIterator.[Ch]: added
731
732 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
733
734         * text3.C:
735         * lyxfunc.C:
736         * cursor.C (dispatch):
737         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
738
739         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
740         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
741         contructor, add a class function dispatched. Remove operator>=
742
743 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
744
745         * debug.C: only use the default constructor for debugstream
746         (lyxerr) here.
747
748         * main.C (main): include debug.h and setup the lyxerr streambuf
749         here.
750
751 2003-10-31  José Matos  <jamatos@lyx.org>
752
753         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
754
755         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
756         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
757         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
758         * paragraph_pimpl.C (simpleTeXSpecialC):
759         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
760         add LatexRunParams argument.
761
762         * exporter.C (Export): change call accordingly.
763
764         * latexrunparams.h: add new member to take care of the other backends.
765 2003-10-30  José Matos  <jamatos@lyx.org>
766
767         * buffer.C (makeLinuxDocFile, makeDocBookFile):
768         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
769         factorise code for paragraph output.
770         * buffer.[Ch]:
771         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
772         move functions.
773
774 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
775
776         * text3.C (dispatch):
777         * lyxfunc.C (dispatch):
778         * cursor.C (dispatch):
779         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
780
781         * dispatchresult.h: make the dispatch_result_t ctor explicit
782
783 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
784
785         * sgml.[Ch]:
786         * buffer.C: small refactoring of docbook stuff
787
788 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
789
790         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
791         meaning.
792
793 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
794
795         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
796         operator dispatch_result_t, and operators for == != and >=
797
798         * cursor.C (dispatch): adjust for operator dispatch_result_t
799         removal. comment out call to update
800
801         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
802
803 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
804
805         * text3.C:
806         * text2.C:
807         * text.C:
808         * lyxtext.h:
809         * lyxfunc.C:
810         * cursor.C:
811         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
812         (dispatch):
813
814         * dispatchresult.h: new file, DispatchResult broken out of
815         insets/insetbase.h
816
817         * Makefile.am (lyx_SOURCES): add dispatchresult.h
818
819 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
820
821         * text.C (rowBreakPoint): put a hack inside #if 0
822
823 2003-10-28  André Pönitz  <poenitz@gmx.net>
824
825         * lyxtext.h:
826         * metricsinfo.C:
827         * paragraph_funcs.C:
828         * rowpainter.C:
829         * text.C:
830         * text2.C: general cleanup (lots of small stuff)
831
832 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
833
834         * text2.C (cursorEnd): simple fix to the "end key goes to one
835         before the end on last row" bug
836
837 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
838
839         * text.C (backspace): fix the "zombie characters"
840
841 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
842
843         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
844
845 2003-10-27  André Pönitz  <poenitz@gmx.net>
846
847         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
848
849         * factory.C: handle new InsetPagebreak, InsetLine
850
851         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
852         and move handling into new InsetPagebreak, InsetLine
853
854         * BufferView_pimpl.C:
855         * LyXAction.C:
856         * ParagraphParameters.C:
857         * ParameterStruct.h:
858         * lyxfunc.C:
859         * lyxtext.h:
860         * paragraph.C:
861         * paragraph.h:
862         * paragraph_funcs.C:
863         * paragraph_pimpl.C:
864         * rowpainter.C:
865         * text.C:
866         * text2.C:
867         * text3.C: adjust
868
869 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
870
871         * text.C:
872         * lyxrow_funcs.[Ch]:
873         * Bidi.C:
874         * paragraph.C:
875         * lyxtext.h:
876         * rowpainter.C:
877         * text2.C:
878         * text3.C: remove lastPos uses in favour of Row::endpos
879
880 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
881
882         * undo.C (performUndoOrRedo): fix two crashes by setting a
883         cursor by hand and reordering some calls. Use bv->lockInset instead
884         of inset->edit because the latter loses cursor information
885
886 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
887
888         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
889         by Martin
890         (rowBreakPoint): fix width. change point to point + 1.
891         Add a missing check.
892
893 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
894
895         * MenuBackend.C:
896         * lyxfunc.C: fix (at least partly) the problems
897         with the Nav menu and headers inside branch insets
898         reported by Kayvan
899
900 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
901
902         * paragraph.C (getChar): add strong asserts
903
904         * lyxrow_funcs.C (lastPos): remove hideous hack
905
906         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
907         (fill): adjust to that (avoid an infinite loop)
908
909 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
910
911         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
912
913 2003-10-23  André Pönitz  <poenitz@gmx.net>
914
915         * RowList_fwd.h: change list<> to vector<> to gain speed
916         after suggestion from Alfredo
917
918 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
919
920         * lyxtext.h: move the bidi stuff from here...
921         * text.C: and here
922         * text2.C: and here
923         * Bidi.[Ch]: ... to here
924
925 2003-10-23  André Pönitz  <poenitz@gmx.net>
926
927         * lyxtext.h:
928         * text.C (isLastRow, isFirstRow): new functions
929
930         * paragraph.h: new width cache member
931
932         * rowpainter.C: replace RowList::iterator with Row & where possible
933
934         * lyxfunc.C: replace several view()->text with a single call
935
936         * toc.C: fix 'unused' warning
937
938 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
939
940         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
941         when woring with stream::pos_type
942         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
943
944 2003-10-22  André Pönitz  <poenitz@gmx.net>
945
946         * lyxtext.h:
947         * text.C: use Row & instead of RowList::iterator
948
949         * lyxrow.h: rename end() to endpos()
950
951         * rowpainter.C:
952         * text.C:
953         * text2.C: adjust
954
955 2003-10-22  Angus Leeming  <leeming@lyx.org>
956
957         * buffer.[Ch] (fully_loaded): new member function, returning true
958         only when the file has been loaded fully.
959         Used to prevent the premature generation of previews and by the
960         citation inset to prevent computation of the natbib-style label.
961
962         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
963         templates are all set up.
964
965         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
966
967 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * text.C: fixed an "oops" in the "is a bit silly"
970         bug fix
971
972 2003-10-21  André Pönitz  <poenitz@gmx.net>
973
974         * FuncStatus.[Ch]: small stuff, whitespace
975
976         * lyxfont.[Ch]: operator<<() for debug reasons
977
978         * lyxfunc.C:
979         * lyxrow_funcs.C:
980         * lyxtext.h: whitespace, spelling
981
982         * paragraph.C: naming of variables
983
984         * text.C:
985         * text2.C: small stuff
986
987
988 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * text.C: (1) finish off the inset display() work;
991         (2) fix the "is a bit silly" bug (accessing char
992         past end of par).
993
994 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
995
996         * text.C: re-introduce display() for insets, fixing the
997         various bugs (stretch of line above, math inset
998         positioning, ...)
999
1000 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * text.C (rightMargin): remove spurious semicolon
1003
1004         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1005         1415)
1006
1007 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * text3.C: fix one crash due to wrong cursor def
1010
1011 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1012
1013         * vc-backend.C (scanMaster): make the regex static
1014
1015         * LaTeX.C (scanAuxFile): make the regexs static
1016
1017         * text3.C (doInsertInset, dispatch, dispatch):
1018         * text2.C (cursorUp, cursorDown):
1019         * text.C (selectNextWordToSpellcheck):
1020         * BufferView_pimpl.C (dispatch):
1021         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1022
1023 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1024
1025         * lyxsocket.C: include <cerrno>
1026
1027 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1028
1029         * lyxfunc.C (dispatch): remove textcache stuff
1030
1031         * bufferlist.C (release): remove textcache stuff
1032         (closeAll): ditto
1033
1034         * TextCache.C: delete file
1035         * TextCache.h: delete file
1036
1037         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1038
1039         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1040         delete of the bv_->text.
1041         (resizeCurrentBuffer): remove texcache stuff
1042         (workAreaResize): ditto
1043
1044 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1045
1046         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1047         action.
1048
1049 2003-10-16  André Pönitz  <poenitz@gmx.net>
1050
1051         * lyxrow.[Ch]:
1052         * paragraph.h:
1053         * rowpainter.C:
1054         * text.C:
1055         * text2.C:
1056         * text3.C: speed up by storing y positions per paragraph plus per-row
1057         offset instead of having a 'full' y position in the row.
1058
1059 2003-10-15  André Pönitz  <poenitz@gmx.net>
1060
1061         * iterators.[Ch]:
1062         * iterators.[Ch]:
1063         * undo.[Ch]: make undo aware of inner insets
1064
1065 2003-10-14  Angus Leeming  <leeming@lyx.org>
1066
1067         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1068         static member functions LyX::ref() and LyX::cref.
1069         (lastfiles): new accessor functions for the new lastfiles_ member var.
1070         (addLyXView, views_): add a new LyXView to the list of views_.
1071         (updateInset): loop over all LyXViews to call their own updateInset
1072         member function, returning a pointer to the Buffer owning the inset.
1073
1074         * BufferView_pimpl.C (loadLyXFile):
1075         * MenuBackend.C (expandLastfiles):
1076         * bufferlist.C (MenuWrite, QuitLyX):
1077         lastfiles is no longer a global variable.
1078         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1079
1080         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1081         static function. Access through LyX::cref().emergencyCleanup().
1082
1083 2003-10-14  André Pönitz  <poenitz@gmx.net>
1084
1085         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1086
1087         * undo.[Ch]: restoring part of 'undo in insets'
1088
1089         * Makefile.am:
1090         * undo_funcs.[Ch]: merge with undo.[Ch]
1091
1092         * tabular.C: small cleansing stuff
1093
1094 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1095
1096         * paragraph_funcs.C (readParToken): report unknown insets as error
1097         boxes. Use the outer paragraph as location (also for unknown
1098         tokens).
1099
1100         * factory.C (readInset): do not abort on reading an unknown inset.
1101         Eat it and return 0.
1102
1103 2003-10-13  Angus Leeming  <leeming@lyx.org>
1104
1105         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1106
1107         * lyxrc.C: displayTranslator is now a function,
1108         declared in GraphicsTypes.h.
1109
1110 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1111
1112         * format.C: new placeholder $$a to pass the socket address.
1113
1114         * bufferlist.[Ch]: new function getBufferFromTmp.
1115
1116         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1117           files in the temporary dir.
1118
1119 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1120
1121         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1122
1123         * Makefile.am: add lyxsocket.[Ch].
1124
1125         * lyx_main.C (error_handler): handle SIGPIPE.
1126
1127 2003-10-13  André Pönitz  <poenitz@gmx.net>
1128
1129         * BufferView_pimpl.C:
1130         * lyxtext.h:
1131         * text.C:
1132         * text2.C:
1133         * text3.C:
1134         * undo_funcs.[Ch]: use paroffset_type instead of
1135           ParagraphList::iterators to prevent multiple conversion
1136           (and get a more robust interface)
1137
1138 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1141         * lyxtext.h: ditto
1142         * text3.C (dispatch): ditto
1143
1144 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1145
1146         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1147         move the onlyfile, use onlyfile instead of foundfile in a couple
1148         of places.
1149
1150         * DepTable.C (update): flush the error stream a bit more
1151
1152 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1153
1154         * lyxserver.C (callback): adjust
1155
1156         * lyxfunc.C (getStatus): add a missing brace in commented code
1157         (ensureBufferClean): reindent
1158         (dispatch): delete version taking a string
1159
1160 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1161
1162         * LaTeX.C (deplog): move found file handlig from here...
1163         (handleFoundFile): .. to new function here.
1164         (deplog): make sure to discover several files mentioned on the
1165         same log line.
1166
1167 2003-10-10  André Pönitz  <poenitz@gmx.net>
1168
1169         * lyxfunc.C:
1170         * lyxtext.h:
1171         * tabular.C:
1172         * text.C:
1173         * text2.C:
1174         * text3.C: fix some of the tabular crashes
1175
1176 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1177
1178         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1179
1180         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1181
1182 2003-10-09  André Pönitz  <poenitz@gmx.net>
1183
1184         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1185
1186         * BufferView.C:
1187         * BufferView_pimpl.C:
1188         * bufferview_funcs.C:
1189         * lyx_cb.C:
1190         * lyxcursor.C:
1191         * lyxfind.C:
1192         * lyxfunc.C:
1193         * lyxtext.h:
1194         * text.C:
1195         * text2.C:
1196         * text3.C:
1197         * text_funcs.[Ch]:
1198         * textcursor.[Ch]:
1199         * undo_funcs.C: adjust
1200
1201 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1202
1203         * text2.C (incrementItemDepth): new function, use a backtracking
1204         algorithm to discover the correct item depth.
1205         (resetEnumCounterIfNeeded): new function, use a backtracking
1206         algorithm to discover if counter reset is needed.
1207         (setCounter): use them. Simplify a bit. Add different labels for
1208         different item depths for itemize.
1209
1210         * paragraph.C (Paragraph): remove initialization of enumdepth
1211         (operator=): ditto
1212
1213         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1214         enumerate and itemize. Change the type of itemdepth to signed char.
1215
1216 2003-10-08  André Pönitz  <poenitz@gmx.net>
1217
1218         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1219           thing assignable.
1220         * text.C:
1221         * text2.C: adjust
1222
1223         * tabular.[Ch]: fix crash after 'row-insert'
1224
1225 2003-10-08  Angus Leeming  <leeming@lyx.org>
1226
1227         Fix doxygen warnings.
1228
1229         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1230         Remove CutAndPaste:: prefix from header file declaration.
1231
1232         * LColor.h (fill): remove LColor:: prefix from declaration.
1233
1234         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1235         use lyx::depth_type rather than Paragraph::depth_type so that
1236         header file and .C file match.
1237
1238         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1239
1240         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1241         * aspell.C: \file aspell_local.C -> \file aspell.C
1242         * gettext.C: \file gettext.C -> \file src/gettext.C
1243         * gettext.h: \file gettext.h -> \file src/gettext.h
1244         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1245         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1246         * text.C: \file text.C -> \file src/text.C
1247
1248         * toc.C: move comment so that doxygen is not confused.
1249
1250 2003-10-07  Angus Leeming  <leeming@lyx.org>
1251
1252         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1253
1254 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255
1256         * aspell.C:
1257         * aspell_local.h: add forgotten std::string's.
1258
1259 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1260
1261         * LaTeXFeatures.C:
1262         * LyXAction.C:
1263         * factory.C:
1264         * lfuns.h:
1265         * lyxfunc.C:
1266         * text3.C: The Box patch. Fancybox support, minipage, parbox
1267
1268 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1269
1270         * CutAndPaste.h:
1271         * DepTable.h:
1272         * FloatList.h:
1273         * LaTeXFeatures.h:
1274         * ParagraphParameters.h:
1275         * TextCache.h:
1276         * Thesaurus.h:
1277         * bufferlist.h:
1278         * exporter.h:
1279         * importer.h:
1280         * lastfiles.h:
1281         * lyxfind.h:
1282         * lyxfont.h:
1283         * lyxlex.h:
1284         * lyxtextclasslist.h:
1285         * messages.h:
1286         * paragraph.h:
1287         * paragraph_pimpl.C:
1288         * textcursor.h: add <string> and other small fixes to make Lars'
1289         std::string patch compile with STLport.
1290
1291 2003-10-06  Angus Leeming  <leeming@lyx.org>
1292
1293         * LColor.h: Add missing #include <string>.
1294
1295 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1296
1297         * All most all file in all subdirs: Make <string> be the prefered
1298         way of getting to std::string, add using declarations.
1299
1300 2003-10-06  André Pönitz  <poenitz@gmx.net>
1301
1302         * metricsinfo.C: initialize LyXFont before changing attribute.
1303         (fixes the 'math in \emph is upright' bug)
1304
1305 2003-10-06  André Pönitz  <poenitz@gmx.net>
1306
1307         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1308
1309 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * graph.C:
1312         * paragraph_pimpl.C: Small fixes to build using STLport
1313
1314 2003-10-02  André Pönitz  <poenitz@gmx.net>
1315
1316         * lyxfunc.C:
1317         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1318
1319 2003-10-01  André Pönitz  <poenitz@gmx.net>
1320
1321         * factory.C: assert early
1322
1323 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * lyx_main.C: remove the global debug object
1326
1327         * debug.h: adjust for new debugstream
1328
1329         * debug.C: adjust for new debugstream and keep the global debug
1330         object here.
1331
1332 2003-09-22  Angus Leeming  <leeming@lyx.org>
1333
1334         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1335         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1336         an incomplete class LyXFont.
1337
1338 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1339
1340         * factory.C: bug fix in branches
1341
1342 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1343
1344         * lyxfunc.C (processKeySym): adjust
1345         (dispatch): adjust
1346         (dispatch): change arg name from ev to func, adjust
1347         (sendDispatchMessage): ditto
1348
1349         * lyx_main.C (defaultKeyBindings): adjust keybindings
1350         (deadKeyBindings): ditto
1351
1352         * kbsequence.C (addkey): return a FuncRequest
1353
1354         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1355
1356         * kbmap.C (bind): take a FuncRequest as arg, adjust
1357         (read): adjust
1358         (lookup): adjust
1359         (defkey): change to take a FuncRequest as arg, adjust
1360         (findbinding): take a FuncRequest as arg, adjust.
1361
1362         * funcrequest.h (operator=): added
1363
1364         * funcrequest.C (FuncRequest): default kb_action changed from
1365         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1366
1367         * buffer.C (dispatch): simplify
1368         (dispatch): adjust to take a FuncRequest as arg, adjust
1369
1370         * boost.C (assertion_failed): change assertion message slightly
1371
1372         * ToolbarBackend.C (read): simplify
1373
1374         * MenuBackend.C (binding): adjust call to findbinding, add a
1375         message if no binding is found.
1376         (read): simplify
1377         (expandToc): correct by adding a empty FuncRequest
1378
1379         * LyXAction.C: include <boost/assert.hpp>
1380         (isPseudoAction): delete function
1381         (LookupFunc): change name to...
1382         (lookupFunc): this. change return type to FuncRequest.
1383         (getActionName): take kb_action as arg, simplify
1384         (funcHasFlag): add an assert, simplify.
1385
1386 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * toc.C (action): return a FuncRequest, simplify
1389
1390         * lyxfunc.C (processKeySym): adjust
1391         (getStatus): delete version that takes an int.
1392         (getStatus): adjust
1393         (dispatch): delete version that takes action as int
1394         (dispatch): adjust
1395         (sendDispatchMessage): simplify and adjust
1396
1397         * funcrequest.C (getArg): take unsigned int as arg
1398
1399         * ToolbarBackend.C (read): adjust
1400         (add): delete version that takes func as a string.
1401         (getIton): take a FuncRequest as arg
1402
1403         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1404         action.
1405
1406         * MenuBackend.C (MenuItem): add a new construct that only takes a
1407         Kind, simplify the constructor use for submenus.
1408         (add): adjust
1409         (expandLastfiles): adjust
1410         (expandDocuments): adjust
1411         (expandFormats): adjust
1412         (expandFloatListInsert): adjust
1413         (expandFloatInsert): adjust
1414         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1415
1416         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1417         Remove class variables lyx_pseudo_map and lyx_arg_map
1418
1419         * LyXAction.C (searchActionArg): delete function
1420         (getPseudoAction): delete function
1421         (retrieveActionArg): delete function
1422         (LookupFunc): make it return kb_action, simplify.
1423         (getActionName): simplify
1424
1425         * factory.C (createInset): fix new bug
1426
1427 2003-09-19  Angus Leeming  <leeming@lyx.org>
1428
1429         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1430         masterFilename_ parameter in the include inset.
1431
1432         * factory.C (createInset): changes due to the changes to InsetInclude.
1433
1434 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1435
1436         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1437
1438 2003-09-18  Angus Leeming  <leeming@lyx.org>
1439
1440         * buffer.C:
1441         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1442         Inset::fillWithBibKeys.
1443         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1444
1445 2003-09-18  Angus Leeming  <leeming@lyx.org>
1446
1447         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1448         variables.
1449         (ctor): pass and store a 'Buffer const &'
1450         (buffer): new member function.
1451
1452         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1453         '*this' to the LaTeXFeatures ctor.
1454
1455 2003-09-18  Angus Leeming  <leeming@lyx.org>
1456
1457         * LColor.h:
1458         * lyxfont.C:
1459         * lyxfont.h:
1460         * lyxtext.h:
1461         * text.C: rename EnumLColor as LColor_color.
1462
1463 2003-09-18  Angus Leeming  <leeming@lyx.org>
1464
1465         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1466         remove #include "insets/insetbase.h" from cursor.h.
1467
1468 2003-09-18  Angus Leeming  <leeming@lyx.org>
1469
1470         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1471         InsetOld_code to remove #include "inset.h".
1472
1473         * iterators.C: add #include "insets/inset.h"
1474
1475 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1476
1477         * BufferView.C: remove more locking stuff that apparently doesn't
1478         do anything sensible.
1479
1480 2003-09-16  André Pönitz  <poenitz@gmx.net>
1481
1482         * paragraph.[Ch]:
1483         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1484           performance boost.
1485
1486 2003-09-16  Angus Leeming  <leeming@lyx.org>
1487
1488         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1489
1490         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1491         arg/return type.
1492
1493         * paragraph.h: remove #include "lyxfont.h". Forward declare
1494         LyXFont_size.
1495
1496 2003-09-16  Angus Leeming  <leeming@lyx.org>
1497
1498         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1499         of support/textutils.h.
1500         (isWord): move the contents of support/textutils.h's IsWordChar here.
1501
1502         * buffer.C:
1503         * lyxfind.C:
1504         * rowpainter.C:
1505         * text.C:
1506         * text2.C: add #include "paragraph.h".
1507
1508         * rowpainter.C:
1509         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1510
1511 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1512
1513         * main.C:
1514         * lyx_main.C:
1515         * lyx_cb.C:
1516         * buffer.C:
1517         * LaTeX.C: use namespace alias for lyx::support::os
1518
1519 2003-09-16  Angus Leeming  <leeming@lyx.org>
1520
1521         * bufferparams.C:
1522         * bufferview_funcs.C:
1523         * factory.C:
1524         * lyxfunc.C:
1525         * paragraph_pimpl.C:
1526         * rowpainter.C:
1527         * text.C: add #include "LColor.h".
1528
1529 2003-09-16  Angus Leeming  <leeming@lyx.org>
1530
1531         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1532         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1533         return LyXFont &.
1534         Store the FontBits::color variable as an int rather than as an
1535         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1536         file.
1537
1538         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1539         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1540         string calls together.
1541
1542         * lyxrc.C: add #include "LColor.h".
1543
1544 2003-09-15  Angus Leeming  <leeming@lyx.org>
1545
1546         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1547         a cow_ptr.
1548
1549 2003-09-15  Angus Leeming  <leeming@lyx.org>
1550
1551         * LColor.h: add an EnumLColor wrapper for LColor::color.
1552
1553         * lyxfont.[Ch] (color, setColor, realColor):
1554         * lyxtext.h, text.C (backgroundColor):
1555         pass EnumLColor args to/from the functions, rather than LColor::color
1556         ones.
1557
1558         * lyxfont.h:
1559         * lyxtext.h: forward declare EnumLColor.
1560
1561         * lyx_main.C: add #include "LColor.h".
1562
1563 2003-09-15  Angus Leeming  <leeming@lyx.org>
1564
1565         * .cvsignore: add lyx-gtk.
1566
1567 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * Chktex.C
1570         * LaTeX.C
1571         * LaTeXFeatures.C
1572         * ParagraphParameters.C
1573         * Spacing.C
1574         * buffer.C
1575         * bufferparams.C
1576         * bufferview_funcs.C
1577         * chset.C
1578         * counters.C
1579         * funcrequest.C
1580         * lyxfont.C
1581         * lyxgluelength.C
1582         * lyxlength.C
1583         * paragraph.C
1584         * paragraph_funcs.C
1585         * text3.C
1586         * vc-backend.C: remove usage of STRCONV
1587
1588 2003-09-15  Angus Leeming  <leeming@lyx.org>
1589
1590         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1591         explicitly define the color passed to the painter.
1592
1593 2003-09-15  Angus Leeming  <leeming@lyx.org>
1594
1595         * bufferparams.C (BufferParams): reorder member initializers to avoid
1596         compiler warning.
1597
1598 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1599
1600         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1601         * text.C (updateRowPositions): remove an unusual nop
1602
1603 2003-09-12  André Pönitz  <poenitz@gmx.net>
1604
1605         * BufferView_pimpl.C:
1606         * Bullet.C:
1607         * layout.h:
1608         * lyxfunc.C:
1609         * lyxlayout.[Ch]:
1610         * lyxtextclass.C:
1611         * rowpainter.C:
1612         * text.C:
1613         * text2.C:
1614         * Counters.[Ch]: finish the 'automatic counters' job
1615
1616 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1617
1618         * aspell.C: include <boost/assert.cpp> (compile fix)
1619
1620 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1621
1622         * boost.C (assertion_failed): use lyx::support::abort instead of
1623         assert.
1624
1625 2003-09-10  Angus Leeming  <leeming@lyx.org>
1626
1627         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1628         with their _fwd progeny.
1629
1630 2003-09-09  Angus Leeming  <leeming@lyx.org>
1631
1632         134 files throughtout the source tree: replace 'using namespace abc;'
1633         directives with the appropriate 'using abc::xyz;' declarations.
1634
1635 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1636
1637         * boost.C (emergencyCleanup): moved here from LAssert.c
1638         (assertion_failed): new function, called by BOOST_ASSERT
1639
1640         * several files: change Assert to BOOST_ASSERT
1641
1642 2003-09-09  Angus Leeming  <leeming@lyx.org>
1643
1644         * buffer.[Ch]: Add an Impl class and move Buffer's member
1645         variables into it. As a result move several header files out of
1646         buffer.h.
1647
1648         Add header files to lots of .C files all over the tree as a result.
1649
1650 2003-09-09  Angus Leeming  <leeming@lyx.org>
1651
1652         * buffer.[Ch]: make Buffer's member variables private. Add
1653         accessor functions.
1654
1655         Lots of changes all over the tree as a result.
1656
1657 2003-09-08  Angus Leeming  <leeming@lyx.org>
1658
1659         * graph.C: #include <config.h>.
1660
1661 2003-09-08  Angus Leeming  <leeming@lyx.org>
1662
1663         * BranchList.C:
1664         * BufferView.C:
1665         * BufferView_pimpl.C:
1666         * CutAndPaste.C:
1667         * DepTable.C:
1668         * LaTeX.C:
1669         * LaTeXFeatures.C:
1670         * LyXAction.C:
1671         * MenuBackend.C:
1672         * TextCache.C:
1673         * aspell.C:
1674         * buffer.C:
1675         * bufferlist.C:
1676         * changes.C:
1677         * chset.C:
1678         * converter.C:
1679         * counters.C:
1680         * debug.C:
1681         * graph.C:
1682         * ispell.C:
1683         * lyx_cb.C:
1684         * lyxfind.C:
1685         * lyxfunc.C:
1686         * lyxlex_pimpl.C:
1687         * lyxrc.C:
1688         * lyxrow.C:
1689         * paragraph.C:
1690         * rowpainter.C:
1691         * texrow.C:
1692         * text.C:
1693         * text2.C:
1694         * toc.C: remove redundant using directives.
1695
1696 2003-09-07  Angus Leeming  <leeming@lyx.org>
1697
1698         * LaTeXFeatures.h: remove #include "support/types.h".
1699         * ToolbarBackend.h: remove #include <algorithm>.
1700         * changes.h: remove #include <ctime>.
1701         * debug.h: remove #include <iosfwd>.
1702         * graph.h: remove #include "support/std_string.h".
1703         * lyx_main.h: remove #include <csignal>.
1704         * lyxlex_pimpl.h: remove #include <fstream>.
1705         * sgml.h: remove #include <algorithm>, <utility>.
1706         * toc.h: remove #include "support/std_ostream.h".
1707         Add #include <iosfwd>.
1708
1709 2003-09-07  Angus Leeming  <leeming@lyx.org>
1710
1711         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1712
1713         * converter.h: forward declare LatexRunParams.
1714         * encoding.h: remove #include "lyxrc.h".
1715         * lyxtext.h: remove #include "LColor.h".
1716         * lyxtextclass.h: remove #include "support/types.h".
1717         * trans.h: remove #include "tex-accent.h".
1718         * trans_mgr.h: remove #include "tex-accent.h".
1719         * insets/inset.h: remove #include "support/types.h", <vector>.
1720         * insets/insetcollapsable.h: remove #include "LColor.h".
1721         * insets/insetinclude.h: remove #include "dimension.h".
1722         * insets/insetlatexaccent.h: remove #include "dimension.h".
1723         * insets/insetoptarg.h:: remove #include "insettext.h".
1724         * insets/insettext.h: remove #include "dimension.h",
1725         <boost/shared_ptr.hpp>
1726
1727         * insets/renderers.h: add #include "dimension.h".
1728         * insets/updatableinset.h: add #include "support/types.h".
1729
1730         * many .C files: Associated changes.
1731
1732 2003-09-06  Angus Leeming  <leeming@lyx.org>
1733
1734         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1735         one, inside testInvariant.
1736
1737         * PrinterParams.C: new file.
1738         * PrinterParams.[Ch]: move the function bodies out of line.
1739
1740 2003-09-06  Angus Leeming  <leeming@lyx.org>
1741
1742         * ParagraphParameters.h: forward declare ParameterStruct rather than
1743         including its header file.
1744         (depth): moved out-of-line.
1745
1746 2003-09-06  Angus Leeming  <leeming@lyx.org>
1747
1748         * BufferView_pimpl.h:
1749         * kbmap.h:
1750         * kbsequence.h:
1751         * lyxfunc.h: forward declare LyXKeySym rather than
1752         #include "frontends/LyXKeySym.h".
1753
1754         * BufferView_pimpl.C:
1755         * kbmap.C:
1756         * kbsequence.C:
1757         * lyxfunc.C: associated changes.
1758
1759 2003-09-06  Angus Leeming  <leeming@lyx.org>
1760
1761         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1762         As a result, can remove the #include "insets/inset.h" from BufferView.h
1763
1764 2003-09-06  Angus Leeming  <leeming@lyx.org>
1765
1766         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1767         As a result, can remove the #include "insets/inset.h" from BufferView.h
1768
1769 2003-09-06  Angus Leeming  <leeming@lyx.org>
1770
1771         * buffer_funcs.C:
1772         * buffer.h:
1773         * bufferlist.C:
1774         * BufferView.C:
1775         * bufferview_funcs.C:
1776         * BufferView_pimpl.C:
1777         * CutAndPaste.C:
1778         * lyx_cb.C:
1779         * lyxfunc.C:
1780         * paragraph.h:
1781         * ParagraphParameters.C:
1782         * tabular.C:
1783         * text3.C:
1784         * toc.C:
1785         * undo_funcs.C:
1786         * frontends/controllers/ControlDocument.C:
1787         * insets/insetcaption.C: rearrange the #includes into some sort of
1788         coherent order.
1789
1790         * buffer.h: remove #includes ErrorList.h, undo.h
1791
1792 2003-09-06  Angus Leeming  <leeming@lyx.org>
1793
1794         * support/types.h: add a 'depth_type' typedef, used to store the
1795         nesting depth of a paragraph.
1796
1797         * paragraph.h:
1798         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1799         defining explicitly.
1800
1801         * buffer.h:
1802         * paragraph_funcs.h:
1803         * ParagraphParameters.h:
1804         * sgml.h: use lyx::depth_type rather than Paragraph or
1805         ParameterStruct's depth_type.
1806
1807         * buffer.h
1808         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1809
1810         * BufferView.C:
1811         * BufferView_pimpl.C:
1812         * CutAndPaste.C:
1813         * ParagraphParameters.C:
1814         * buffer_funcs.C:
1815         * bufferlist.C:
1816         * bufferview_funcs.C:
1817         * lyx_cb.C:
1818         * lyxfunc.C:
1819         * tabular.C:
1820         * text3.C:
1821         * toc.C:
1822         * undo_funcs.C:
1823         * frontends/LyXView.C:
1824         * frontends/controllers/ControlDocument.C:
1825         * frontends/controllers/ControlErrorList.C:
1826         * insets/insetbibitem.C:
1827         * insets/insetbranch.C:
1828         * insets/insetcaption.C:
1829         * insets/insetcollapsable.C:
1830         * insets/insetenv.C:
1831         * insets/insetert.C:
1832         * insets/insetfloat.C:
1833         * insets/insetfoot.C:
1834         * insets/insetfootlike.C:
1835         * insets/insetnewline.C:
1836         * insets/insetquotes.C:
1837         * insets/insettabular.C:
1838         * insets/insettext.C:
1839         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1840
1841         * frontends/controllers/ControlChanges.C: #include "changes.h".
1842
1843 2003-09-06  Angus Leeming  <leeming@lyx.org>
1844
1845         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1846         than #including paragraph.h.
1847
1848         * ParagraphList.h:
1849         * RowList.h: deleted. Superfluous.
1850
1851         * CutAndPaste.h:
1852         * iterators.h:
1853         * lyxcursor.h:
1854         * lyxtext.h:
1855         * text_funcs.h:
1856         * undo.h:
1857         * undo_funcs.h:
1858         * insets/inset.h:
1859         * insets/insettext.h: use ParagraphList_fwd.h rather than
1860         ParagraphList.h.
1861
1862         * paragraph.h: don't forward declare ParagraphList.
1863
1864         * buffer.h:
1865         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1866         rather than ParagraphList.h. paragraph.h is still needed for the
1867         Paragraph::depth_type parameters.
1868
1869         * textcursor.h: enable it to compile stand-alone in light of the
1870         above changes.
1871
1872         * bufferview_funcs.C:
1873         * iterators.C:
1874         * lyxfunc.C:
1875         * lyxrow_funcs.C:
1876         * paragraph.C:
1877         * rowpainter.C:
1878         * text.C:
1879         * text2.C:
1880         * text3.C:
1881         * text_funcs.C:
1882         * textcursor.C:
1883         * undo.C:
1884         * frontends/controllers/ControlParagraph.C:
1885         * frontends/controllers/ControlTabular.C:
1886         * insets/insetmarginal.C:
1887         * insets/insetminipage.C:
1888         * insets/insetnote.C:
1889         * insets/insetoptarg.C: add header files needed to compile again.
1890
1891 2003-09-06  Angus Leeming  <leeming@lyx.org>
1892
1893         * RowList_fwd.h: new file, forward-declaring Row rather than
1894         #including lyxrow.h.
1895
1896         * lyxrow_funcs.h:
1897         * lyxtext.h:
1898         * paragraph.h:
1899         * insets/insettext.h: use it instead of RowList.h
1900
1901         * bufferview_funcs.C:
1902         * lyxfunc.C:
1903         * lyxrow_funcs.C:
1904         * paragraph.C:
1905         * rowpainter.C:
1906         * text.C:
1907         * text2.C:
1908         * text3.C: #include "RowList.h".
1909
1910 2003-09-05  Angus Leeming  <leeming@lyx.org>
1911
1912         * factory.C (createInset):
1913         * vspace.C (c-tor): replace sscanf call with an istringstream.
1914         * ispell.C: re-add missing HP/UX headers.
1915         * lyxserver.C: re-add missing  os2 headers.
1916
1917 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1918
1919         * BranchList.C:
1920         * graph.C:
1921         * ispell.C:
1922         * lastfiles.C:
1923         * lyx_cb.C:
1924         * lyxserver.C:
1925         * texrow.C:
1926         * text3.C: re-add missing system headers, needed for 2.95.2.
1927
1928 2003-09-05  Angus Leeming  <leeming@lyx.org>
1929
1930         Changes most place everywhere due to the removal of using directives
1931         from support/std_sstream.h.
1932
1933 2003-09-05  Angus Leeming  <leeming@lyx.org>
1934
1935         Replace LString.h with support/std_string.h,
1936         Lsstream.h with support/std_sstream.h,
1937         support/LIstream.h with support/std_istream.h,
1938         support/LOstream.h with support/std_ostream.h.
1939
1940         Changes resulting throughout the tree.
1941
1942 2003-09-05  Angus Leeming  <leeming@lyx.org>
1943
1944         * sgml.h: ensure that the header file can be compiled stand-alone.
1945         * *.C: strip out redundant #includes. (320 in total.)
1946
1947 2003-09-04  Angus Leeming  <leeming@lyx.org>
1948
1949         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1950         here (from getPackages).
1951
1952         * debug.[Ch]: add a new EXTERNAL tag.
1953
1954 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1955
1956         * text2.C (cursorEnd): simplify
1957         (setCursor): adjust
1958         (getColumnNearX): adjust
1959
1960         * text.C (computeBidiTables): adjust
1961         (fill): adjust
1962
1963         * rowpainter.C (paintChars): adjust
1964         (paintSelection): adjust
1965         (paintChangeBar): adjust
1966         (paintText): adjust
1967
1968         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1969         lastPos instead.
1970         (numberOfSeparators): adjust
1971
1972 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1973
1974         * LyXAction.C:
1975         * box.[Ch]:
1976         * lfuns.h:
1977         * lyxfunc.C:
1978         * text3.C: Restricts the mouse click functionality
1979         of insets like bibtex, include, toc and floatlist to the visible
1980         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1981         up the dialogs. Cursor has to be in front of the inset (i.e.
1982         start of row) for this to function.
1983
1984 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1985
1986         * bufferview_funcs.C (currentState): output row information
1987
1988 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1989
1990         * bufferview_funcs.C (currentState): output paragraph position
1991
1992 2003-09-04  Angus Leeming  <leeming@lyx.org>
1993
1994         * FloatList.h: move out #include "Floating.h".
1995         * LaTeX.h: move out #include "DepTable.h".
1996         * LyXAction.h: move out #include "funcrequest.h".
1997         * buffer.h: move out #include "author.h", "iterators.h".
1998         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1999         * lyx_main.h: move out #include "errorlist.h".
2000         * lyxfunc.h: move out #include "FuncStatus.h".
2001         * lyxtext: move out #include "lyxcursor.h".
2002         * paragraph_pimpl.h: move out #include "counters.h".
2003
2004 2003-09-03  Angus Leeming  <leeming@lyx.org>
2005
2006         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2007         preamble_snippets list, enabling us to add snippets to the preamble
2008         only if the snippet was not there already.
2009
2010 2003-09-04  Angus Leeming  <leeming@lyx.org>
2011
2012         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2013
2014 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2017         update
2018
2019 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2020
2021         * BranchList.C: point fix, earlier forgotten
2022
2023 2003-09-02  Angus Leeming  <leeming@lyx.org>
2024
2025         * box.C (contains): renamed from 'contained' after a fantastic
2026         amount of hot air.
2027
2028 2003-09-02  John Levon  <levon@movementarian.org>
2029
2030         * BufferView.C:
2031         * lyxcursor.h:
2032         * lyxcursor.C:
2033         * lyxfunc.C:
2034         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2035
2036 2003-09-02  John Levon  <levon@movementarian.org>
2037
2038         * text2.C: simplification of cursorEnd(), including partial
2039         fix for bug 1376
2040
2041 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * buffer.C (readFile): add a space
2044
2045 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2046
2047         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2048
2049 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2050
2051         * buffer.C (readFile): new function, take a filename and a
2052         ParagraphList::iterator
2053         (readFile): adjust
2054         (readFile): adjust, make it private. don't use setStream, make
2055         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2056         always contain the filename.
2057
2058         * BufferView.C (insertLyXFile): simplify and make it work for
2059         gzipped files.
2060
2061 2003-08-30  John Levon  <levon@movementarian.org>
2062
2063         * Makefile.am: fix dist (from Kayvan)
2064
2065 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2066
2067         * most files: change to use const Buffer refs
2068
2069 2003-08-27  André Pönitz  <poenitz@gmx.net>
2070
2071         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2072         on top of ownerPar().
2073
2074 2003-08-27  John Levon  <levon@movementarian.org>
2075
2076         * funcrequest.C: properly initialise POD members
2077
2078 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2079
2080         * lyxtext.h (top_y): move top_y from here
2081         * text.C:
2082         * text2.C:
2083         * text3.C:
2084         * BufferView.[Ch]:
2085         * BufferView_pimpl.[Ch]: to here
2086         * frontends/screen.C:
2087         * insets/insettabular.C:
2088         * insets/insettext.C: adjust
2089         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2090
2091 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2092
2093         * BufferView.[Ch]:
2094         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2095
2096 2003-08-26  André Pönitz  <poenitz@gmx.net>
2097
2098         * paragraph_func.[Ch] (outerPar): new function
2099
2100         * paragraph.C:
2101         * paragraph_funcs.C:
2102         * paragraph_funcs.h:
2103         * paragraph_pimpl.C:
2104         * text2.C: remove Inset::par_owner
2105
2106 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2107
2108         * lyxrow_funcs.C:
2109         * lyxtext.h:
2110         * text.C:
2111         * text2.C: eliminates the needFullRow/display() stuff
2112         altogether, putting the logic in metrics/draw in the insets.
2113
2114 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2115
2116         * text2.C (redoParagraphInternal, redoParagraphs):
2117         * text.C (redoParagraph): add a call to updateRowPositions at the
2118         end of each 'metrics-like' call. Remove all others.
2119         (getRow): remove the 'y-computing' version.
2120         (getRowNearY): do not compute nor return the real y. Solve the
2121         'y < 0' problem and simplify.
2122
2123 2003-08-22  Angus Leeming  <leeming@lyx.org>
2124
2125         * *.[Ch]: clean-up of licence and author blurbs.
2126         Also move config.h out of a few .h files and into a few .C files.
2127
2128 2003-08-22  André Pönitz  <poenitz@gmx.net>
2129
2130         * lyxrow.[Ch]: add x_ and *fill_ members
2131
2132         * lyxtext.h:
2133         * text.C:
2134         * rowpainter.C:
2135         * text2.C: adjust/remove prepareToPrint() calls
2136
2137 2003-08-22  André Pönitz  <poenitz@gmx.net>
2138
2139         * lyxrow.[Ch]: add  end_ member
2140
2141         * lyxrow_funcs.C: use LyXRow::end_
2142
2143         * lyxtext.h (singleWidth): add LyXFont parameter
2144
2145         * rowpainter.C:
2146         * text2.C: adjust LyXText::singleWidth() calls
2147
2148         * text.C (redoParagraph): simplify row breaking logic
2149
2150
2151 2003-08-19  André Pönitz  <poenitz@gmx.net>
2152
2153         * funcrequest.C: initialize button_ member
2154
2155         * text3.C:
2156         * rowpainter.[Ch]: interface consolidation
2157
2158 2003-08-18  André Pönitz  <poenitz@gmx.net>
2159
2160         * BufferView.C:
2161         * BufferView_pimpl.C:
2162         * lyxfind.C:
2163         * paragraph_funcs.C:
2164         * rowpainter.C:
2165         * text3.C: remove LyXScreen::draw() and fitCursor calls
2166
2167         * BranchList.h: remove spurious semicolons
2168
2169         * MenuBackend.C: fix branchlist related crash
2170
2171 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2172
2173         * BranchList.[Ch]:
2174         * InsetList.[Ch]:
2175         * LColor.[Ch]:
2176         * LyXAction.C:
2177         * Makefile.am:
2178         * MenuBackend.[Ch]:
2179         * bufferparams.[Ch]:
2180         * factory.C:
2181         * lfuns.h:
2182         * lyxfunc.C:
2183         * text3.C: implements the 'branch inset'
2184         idea. This allows the output of various versions of a document
2185         from a single source version, selectively outputing or suppressing
2186         output of parts of the text.
2187         This implementation contains a 'branch list editor' in a separate
2188         tab of the document settings dialog. Branches are user definable
2189         and have a "display colour" to distinguish them on-screen.
2190
2191         ColorHandler was somewhat cleaned up.
2192         (1) make possible a dynamically growing LColor list by allowing
2193         the graphic context cache to grow along (vector);
2194         (2) eliminate an IMHO unnecessary step in colour allocation.
2195
2196 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2197
2198         * BufferView_pimpl.C: compile fix
2199
2200 2003-08-15  André Pönitz  <poenitz@gmx.net>
2201
2202         * rowpainter.C: remove extra metrics calls
2203
2204         * lyxtext.h: merge the two constructors into a single one,
2205           pass reference to owner's par list
2206
2207         * BufferView_pimpl.C:
2208         * text.C:
2209         * text2.C: adjust
2210
2211 2003-08-15  André Pönitz  <poenitz@gmx.net>
2212
2213         * lyxrow_funcs.[Ch]:
2214         * lyxtext.h:
2215         * paragraph.h:
2216         * paragraph_funcs.C:
2217         * rowpainter.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C:
2221         * text_funcs.C: split LyXText::rowlist_ into individual
2222         Paragraph::rows_ chunks
2223
2224         * BufferView.[Ch]:
2225         * BufferView_pimpl.[Ch]:
2226         * lyxfind.C:
2227         * lyxtext.h:
2228         * text3.C: remove toggleSelection()
2229
2230 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2231
2232         * bufferlist.C: beautify two alerts (shorter text of buttons)
2233         * buffer.C: Remove redundant ' ' from message
2234         * tabular.h:
2235         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2236         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2237         rename VALIGN_CENTER to VALIGN_MIDDLE
2238
2239 2003-08-11  André Pönitz  <poenitz@gmx.net>
2240
2241         * lyxtext.h (getPar):
2242         * text.C: new function
2243
2244 2003-08-11  André Pönitz  <poenitz@gmx.net>
2245
2246         * Makefile.am:
2247         * tracer.[Ch]: remove unneeded files
2248
2249         * InsetList.[Ch]: remove resizeInsetsLyXText()
2250
2251         * lyxtext.h:
2252         * text.C:
2253         * text2.C:
2254         * text3.C: merge insertParagraphs() and appendParagraph()
2255         remove breakAgain(), update()
2256
2257         * BufferView_pimpl.[Ch]:
2258         * bufferview_funcs.[Ch]:
2259         * lyxfunc.C:
2260         * paragraph.[Ch]:
2261         * rowpainter.C:
2262         * tabular.C: adjust after text & InsetList changes.
2263
2264 2003-08-08  André Pönitz  <poenitz@gmx.net>
2265
2266         * text.C (insertChar, backspace): replace rowlist fiddling
2267         with rebreak of full par
2268
2269         * lyxtext.h:
2270         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2271         checkParagraph, updateInset): removed
2272
2273 2003-08-07  André Pönitz  <poenitz@gmx.net>
2274
2275         * paragraph.C:
2276         * text3.C: merge some LFUN handlers, remove dead code
2277
2278 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2281
2282 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2283
2284         * text2.C (DEPM): fix part of bug 1255 and 1256
2285
2286 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * BufferView_pimpl.C (workAreaDispatch): change to use
2289         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2290         that are no mouse related.
2291
2292 2003-08-05  André Pönitz  <poenitz@gmx.net>
2293
2294         * BufferView.[Ch]:
2295         * BufferView_pimpl.[Ch]:
2296         * bufferview_funcs.C:
2297         * text2.C:
2298         * text3.C: rip out "deep update"
2299
2300         * textcursor.[Ch] (last_sel_cursor): remove unused member
2301
2302 2003-08-04  André Pönitz  <poenitz@gmx.net>
2303
2304         * BufferView.[Ch]:
2305         * BufferView_pimpl.[Ch]:
2306         * ParagraphParameters.C:
2307         * bufferview_funcs.C:
2308         * lyx_cb.C:
2309         * lyxfind.C:
2310         * lyxfunc.C:
2311         * text.C:
2312         * text2.C:
2313         * text3.C: replace "complicated" BufferView::update(...) calls with
2314         simpler ones.
2315
2316         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2317
2318 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2319
2320         * Makefile.am (lyx_SOURCES): add paper.h
2321
2322 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2323
2324         * Makefile.am: move things around so that both lyx-qt and
2325         lyx-xforms can be built (according to --with-frontend). Then lyx
2326         is a symbolic link to lyx-[firstfrontend]
2327
2328 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2329
2330         * Always use std::endl with lyxerr
2331
2332 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2333
2334         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2335
2336 2003-08-01  André Pönitz  <poenitz@gmx.net>
2337
2338         * BufferView.[Ch]:
2339         * BufferView_pimpl.[Ch]:
2340         * lyxfunc.C:
2341         * text3.C: merge BufferView::repaint() and BufferView::update()
2342
2343 2003-08-01  José Matos  <jamatos@lyx.org>
2344
2345         * buffer.[Ch]: file_format is no longer a buffer data element.
2346
2347 2003-08-01  André Pönitz  <poenitz@gmx.net>
2348
2349         * BufferView.C:
2350         * lyxtext.h:
2351         * text.C:
2352         * text2.C: make redoParagraph more independent of current cursor
2353
2354         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2355         * text.C:
2356         * text2.C: remove unneeded members
2357
2358 2003-07-30  André Pönitz  <poenitz@gmx.net>
2359
2360         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2361
2362         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2363           create a single function...
2364
2365         * paragraph_funcs.C (moveItem): ... here.
2366
2367         * text.C:
2368           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2369
2370 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2371
2372         * LColor.[Ch]: Add comment and greyedout logical colors.
2373
2374 2003-07-30  André Pönitz  <poenitz@gmx.net>
2375
2376         * tabular.C: don't use Assert too heavily. This crashes where it
2377           shouldn't
2378
2379 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2380
2381         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2382         is disabled (bug 1232)
2383
2384 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2385
2386         * factory.C: limited 'arg' scope
2387
2388 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * factory.C: fixed Note submenu issues
2391
2392 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * factory.C: submenu for Note/Comment/Greyedout
2395
2396 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2397
2398         * lyx_main.C (LyX):
2399         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2400
2401 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * LaTeXFeatures.C:
2404         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2405         greyedout. Patch provided by Jürgen Spitzmüller.
2406
2407 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2408
2409         * kbmap.C (read): fix error message when reading bind files
2410
2411 2003-07-29  Angus Leeming  <leeming@lyx.org>
2412
2413         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2414         certainly does not do what it purports to do. I am doing it, and
2415         us, a favour by killing it.
2416
2417 2003-07-28  José Matos  <jamatos@lyx.org>
2418
2419         * buffer.C (readBody, do_writeFile):
2420         * paragraph.C(readParagraph): \end_document replaces \the_end.
2421
2422 2003-07-29  André Pönitz  <poenitz@gmx.net>
2423
2424         * BufferView.[Ch]:
2425         * BufferView_pimpl.[Ch]:
2426         * lyxfunc.C:
2427         * text2.C:
2428         * text3.C:
2429         * textcursor.[Ch]: remove toggleToggle & Co
2430
2431 2003-07-28  José Matos  <jamatos@fep.up.pt>
2432
2433         * buffer.C (readParagraph):
2434         * params_func (readParToken, readParagraph):
2435         * paragraph.C (write): \layout -> \begin_layout.
2436
2437 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * lyxlex_pimpl.C (setFile): clean up slightly.
2440
2441         * bufferparams.h: add compressed var
2442
2443         * buffer_funcs.C (readFile): adjust for LyXLex change
2444         (newFile): ditto + simplify
2445
2446         * buffer.C (writeFile): handle writing of compressed files
2447
2448         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2449         Check if the file is compressed and set a bufferparm if so.
2450
2451         * Makefile.am (lyx_LDADD): remove explicit -lz
2452
2453 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2456         makeDocBookFile): put the real LyX version in the first line of
2457         the file
2458
2459         * version.h:
2460         * version.C.in: remove lyx_docversion
2461
2462         * tabular.C (write_attribute): add a template-based version to
2463         write enums properly
2464
2465 2003-07-28  André Pönitz  <poenitz@gmx.net>
2466
2467         * lyxtext.h:
2468         * text.C:
2469         * text2.C:
2470         * text3.C: use doubles again for x-coordinates. They are needed.
2471
2472 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * messages.C (getLocaleDir): use lyx_localedir()
2475
2476         * lyxlex_pimpl.C (setFile): compress stuff
2477
2478         * buffer.C (writeFile): add some compression stuff
2479         (do_writeFile): new func, dont call expliti close... will this
2480         breake anything?
2481
2482         * Makefile.am (lyx_LDADD): add -lz
2483
2484 2003-07-28  José Matos  <jamatos@fep.up.pt>
2485
2486         * buffer.C: increment file format.
2487         * paragraph_funcs (readParagraph, readParToken):
2488         * paragraph.C (readParagraph): add \end_layout.
2489
2490 2003-07-27  Angus Leeming  <leeming@lyx.org>
2491
2492         * Makefile.am: remove special casing for configure-time setting of
2493         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2494
2495         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2496         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2497
2498 2003-07-26  André Pönitz  <poenitz@gmx.net>
2499
2500         * paragraph_func.[Ch]:
2501         * paragraph.C (realizeFont): inline it whereever it is used
2502
2503         * rowpainter.C:
2504         * text.C:
2505         * text2.C:
2506         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2507
2508
2509 2003-07-26  André Pönitz  <poenitz@gmx.net>
2510
2511         *       lyxtext.h:
2512         * text.C:
2513         * text2.C: get rid of LyXText::need_break_row
2514
2515 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * toc.[Ch]: put namespace toc inside namespace lyx
2518
2519         * MenuBackend.C (expandToc2): adjust for lyx::toc
2520         (expandToc): ditto
2521
2522         * lyxfunc.C (dispatch): adjust for lyx::find
2523
2524         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2525         lyx::find instead. Reorganize a bit.
2526         (LyXReplace): rename to replace
2527         (LyXFind): rename to find
2528
2529         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2530         (dispatch): ditto
2531
2532 2003-07-26  André Pönitz  <poenitz@gmx.net>
2533
2534         * text.C (setHeightOfRow): restrict scope of temporary variable
2535
2536         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2537           code (never has been used?)
2538
2539 2003-07-27  Asger Alstrup  <alstrup@local>
2540
2541         * text.C (fill): Optimise algorithm to exploit that we can reuse
2542         the LyXFont for many characters.
2543         (setHeightOfRow): Same thing.
2544         (rowBreakPoint): Same thing.
2545
2546 2003-07-26  Asger Alstrup  <alstrup@local>
2547
2548         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2549
2550         * text.C (singleWidth): Spurious font copying in hot-spot
2551         singleWidth avoided. Reorder tests for arabic for efficiency.
2552
2553         * text.C (fill): handle empty paragraphs better.
2554
2555 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2556
2557         * ispell.C:
2558         * encoding.h: add includes
2559
2560         * lyxrc.C: remove reading of bind files
2561
2562         * lyx_main.C (init): setup bindings and menus only if we have a
2563         gui.
2564
2565         * kbmap.C (read): new method. Do the actual reading of bind
2566         files.
2567
2568         * converter.C (dvipdfm_options):
2569         * bufferparams.C:
2570         * lyxrc.C (read):
2571         (output): adapt PAPER_* enums.
2572
2573         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2574
2575         * bufferparams.h: remove paper-related enums from there
2576
2577         * paper.h: New file. A trivial header file to hold paper-related
2578         enums. It should later expand to contain many paper-related
2579         horrors access.
2580
2581         * lyxrc.C: declare extern displayTranslator
2582
2583 2003-07-27  José Matos  <jamatos@fep.up.pt>
2584
2585         * tabular.[Ch] (linuxdoc): add support for tables and figures
2586         (linuxdoc).
2587
2588 2003-07-27  José Matos  <jamatos@fep.up.pt>
2589
2590         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2591         consistency in both functions.
2592         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2593
2594 2003-07-26  Asger Alstrup  <alstrup@local>
2595
2596         * rowpainter.C (paintRows): Change algorithm to work directly on
2597         the insets rather than asking every character in the document
2598         whether its an inset.
2599
2600 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * buffer.C (openFileWrite): factorize some code
2603
2604 2003-07-26  Angus Leeming  <leeming@lyx.org>
2605
2606         * lyx_cb.C:
2607         * lyx_main.[Ch]: replace occurances of system_tempdir with
2608         os::getTmpDir().
2609
2610 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * rename Inset to InsetOld
2613
2614 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2615
2616         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2617         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2618         which I think is a bit clearer. EDIT is gone, since it was
2619         premature optimisation, and broken for mathed anyway.
2620         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2621         with cursor positioning in insets as well (math insets still do not
2622         work, but that's a different story anyway.) It mysteriously
2623         crashes sometimes with undo in the first paragraph, but I'm fairly
2624         confident that this is a compiler bug.
2625
2626 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * paragraph.C (Paragraph): adjust for new clone return type
2629         (operator==): ditto
2630         (copyIntoMinibuffer): ditto
2631
2632 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2633
2634         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2635         by not having a special case, and always doing a full rebreak of
2636         the document after undo.
2637
2638 2003-07-23  Angus Leeming  <leeming@lyx.org>
2639
2640         * factory.C (createInset): InsetExternal::setParams now takes a
2641         Buffer const * arg.
2642
2643 2003-07-23  Angus Leeming  <leeming@lyx.org>
2644
2645         * factory.C (createInset): changed interface to the external and
2646         graphics mailers' string2params functions.
2647
2648 2003-07-23  Angus Leeming  <leeming@lyx.org>
2649
2650         * factory.C (createInset): pass a
2651         Buffer const * parameter to InsetExternalMailer's string2params.
2652
2653 2003-07-22  John Levon  <levon@movementarian.org>
2654
2655         * Thesaurus.h: include the right aiksaurus header
2656
2657 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * MenuBackend.C (expand): check menu shortcuts unconditionally
2660
2661 2003-07-21  Angus Leeming  <leeming@lyx.org>
2662
2663         * factory.C (createInset): pass a
2664         buffer_path parameter to InsetGraphicsMailer's string2params.
2665
2666 2003-07-21  Angus Leeming  <leeming@lyx.org>
2667
2668         * BufferView_pimpl.C (buffer):
2669         * buffer.C (d-tor):
2670         * lyx_main.C (LyX):
2671         * lyxfunc.C (dispatch):
2672         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2673         rather than the grfx shortcut.
2674
2675 2003-07-21  André Pönitz  <poenitz@gmx.net>
2676
2677         * rowpainter.C: remove unused variables
2678
2679         * tabular_funcs.C:
2680         * tabular_funcs.h: move to tabular.C
2681         * Makefile.am: adjust
2682
2683         * tabular.[Ch]: basic optical cleaning
2684
2685         * author.h: pass references, not values
2686
2687 2003-07-18  André Pönitz  <poenitz@gmx.net>
2688
2689         * lyxtext.h:
2690         * metricsinfo.C:
2691         * metricsinfo.h:
2692         * rowpainter.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C: two-phase drawing for InsetText and InsetTabular
2696         some float -> int changes.
2697
2698 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * lyx_main.C: fix the fix
2701
2702 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * lyx_main.C: fix a crash in batch mode if no files specified
2705         * converter.C: ws
2706
2707 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * format.[Ch] (papersize): moved to BufferParams
2710         * converter.[Ch] (dvips_options): moved to BufferParams
2711         (dvipdfm_options): moved to anon namespace
2712         * bufferparams.[Ch]: added above functions.
2713
2714 2003-07-17  André Pönitz  <poenitz@gmx.net>
2715
2716         * lyxtext.h:
2717         * rowpainter.C:
2718         * text2.C: don't call inset->update() anymore
2719
2720         * metricsinfo.[Ch]: add convenience constructor
2721
2722 2003-07-16  André Pönitz  <poenitz@gmx.net>
2723
2724         * lyxcursor.[Ch]:
2725         * lyxfunc.[Ch]:
2726         * text.C:
2727         * text2.C: replace the LyXCursor::irow_ member with
2728          on-demand computation of the value
2729
2730 2003-07-16  John Levon  <levon@movementarian.org>
2731
2732         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2733
2734 2003-07-15  André Pönitz  <poenitz@gmx.net>
2735
2736         * text.C:
2737         * text2.C: remove no more needed refresh_row
2738
2739 2003-07-15  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxtext.h:
2742         * rowpainter.C:
2743         * text2.C:
2744         * text3.C: refresh_status tristate -> need_update bool
2745
2746 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2747
2748         * lyxtext.h (init): remove reinit argument (act as if always true)
2749         * text2.C: adjust to that
2750
2751 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2752
2753         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2754         * text3.C: use it to delete selections in some cases
2755         (bugs 441, 673, 702, 954).
2756
2757 2003-07-14  André Pönitz  <poenitz@gmx.net>
2758
2759         * rowpainter.[Ch]: reduce interface
2760
2761 2003-07-14  André Pönitz  <poenitz@gmx.net>
2762
2763         * BufferView_pimpl.C:
2764         * text2.C: adjust after removing unused BufferView * argument
2765
2766 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * text2.C (init): fix a crash fired on resize
2769
2770 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * buffer.[Ch]: added new closing signal
2773         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2774         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2775         BufferView::Pimpl via the closing the signal
2776
2777 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2778
2779         * buffer.[Ch]: take out all bv-related from buffer
2780         * BufferView.C:
2781         * BufferView_pimpl.[Ch]: connect to new signals
2782         * CutAndPaste.C: removed useless asserts
2783         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2784         * lyxvc.[Ch]:
2785         * vc-backend.[Ch]:
2786         * lyxfunc.C: moved view-related funciontality from vc here
2787         * paragraph.C: removed outdated comments
2788         * text.C: ws
2789
2790 2003-07-10  André Pönitz  <poenitz@gmx.net>
2791
2792         * BufferView_pimpl.C:
2793         * tabular.h:
2794         * tabular_funcs.C:
2795         * text.C:
2796         * text2.C: remove InsetText::InnerCache, clean up consequences
2797
2798 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2799
2800         * ispell.C: fix two typos in error messages
2801
2802 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * Extend Note inset to other forms of annotation like Comment
2805         and Greyedout. Right button click gives dialog.
2806
2807         Files modified or added (+):
2808
2809         * insetnote.[Ch]
2810         * FormNote.[Ch]      +
2811         * ControlNote.[Ch]   +
2812         * form_note.fd       +
2813         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2814         frontends/controllers
2815         * xforms/Dialogs.C
2816         * factory.C
2817
2818 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2819
2820         * aspell.C: add missing namespace lyx::support
2821
2822 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * BufferView.[Ch] (newFile): Add
2825         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2826         * LaTeX.[Ch] (message): added this signal and use it
2827         * buffer.[Ch] (busy, message): added these signals and use them
2828         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2829         * converter.C:
2830         * exporter.C:
2831         * format.C:
2832         * importer.C: use buffer signals instead of direct bv calling
2833         * lyx_cb.[Ch] (ShowMessage): removed
2834         * lyx_main.C:
2835         * lyxfunc.C:
2836         * paragraph_funcs.C:
2837         * text2.C: use buffer signals
2838
2839 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * introduce namespace lyx::graphics
2842
2843 2003-07-02  André Pönitz  <poenitz@gmx.net>
2844
2845         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2846
2847 2003-07-01  André Pönitz  <poenitz@gmx.net>
2848
2849         * text.C:
2850         * text2.C:
2851         * text3.C:
2852         * text_funcs.[Ch]:
2853         * textcursor.h:
2854         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2855           text*.C to text_func.C
2856
2857 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * introduce namespace lyx::support
2860
2861 2003-06-30  André Pönitz  <poenitz@gmx.net>
2862
2863         * Chktex.C:
2864         * funcrequest.C:
2865         * lyxtext.h:
2866         * text.C: re-enable --with-included-string
2867
2868 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * textcursor.C: add <config.h>
2871
2872         * text.C (getWord): remove const from word_location arg
2873
2874         * lyxvc.C (getLogFile): fix const type order
2875
2876         * lyxtext.h: remove const from word_location arg, add arg name
2877
2878         * lyxlayout.h: currect type on labeltype.
2879
2880         * importer.C: correct \file
2881
2882         * converter.C (intToFormat): use std:: on ret val, ws changes
2883
2884         * bufferlist.h: correct \file
2885
2886         * buffer.C (makeLinuxDocFile): fix const type order
2887         (makeDocBookFile): ditto
2888         (fillWithBibKeys): use std:: on stdlib args.
2889
2890         * CutAndPaste.C: fix authors.
2891         (availableSelections): use std:: on return vector
2892
2893 2003-06-27  André Pönitz  <poenitz@gmx.net>
2894
2895         * BufferView_pimpl.C:
2896         * bufferview_funcs.C:
2897         * lyxcursor.C:
2898         * lyxcursor.h:
2899         * lyxfunc.C:
2900         * lyxtext.h:
2901         * rowpainter.C:
2902         * text.C:
2903         * text2.C:
2904         * text3.C: remove LyXCursor::row_ member
2905
2906         * lyxtext.h:
2907         * text.C: rename fullRebreak() to partialRebreak() and implement
2908           a fullRebreak() that really bereks fully
2909
2910         * textcursor.h: new struct for cursor-related data
2911
2912 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * lyx_main.C (LyX): get full path of document loaded on the
2915         command line
2916
2917 2003-06-26  André Pönitz  <poenitz@gmx.net>
2918
2919         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2920           remove unused/broken operator>,<,>=.
2921
2922         *       text.C: remove only use of broken operator<= in an Assert().
2923
2924 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2925
2926         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2927         moved errorlist_.clear to showErrorList
2928
2929 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2930
2931         * converter.C (scanLog, runLaTeX):
2932         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2933         move the bv->showErrorList call to the callers
2934         * lyxfunc.C: i.e. here...
2935         * text2.C: and here
2936         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2937         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2938         namespace, the second to...
2939         * buffer_funcs (BufferFormat, parseErrors): added
2940         * errorlist.C (ErrorList(TeXErrors const &)): removed
2941
2942 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2943
2944         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2945
2946 2003-06-24  "Garst R. Reese" <reese@isn.net>
2947
2948         * debug.C: fix typo
2949
2950 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2953
2954         * version.C.in: change docversion to 1.4
2955
2956 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * buffer.C: fix a bug just introduced
2959
2960 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * buffer.[Ch]: added the parseError signal and use it, removed
2963         sgmlError
2964         * BufferView.[Ch] (addError): moved to ...
2965         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2966         to the Buffer::parseError signal to catch (guess what) parse errors
2967         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2968
2969 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2972         ability to create a buffer and to return an existing one from
2973         the list. Moved these functions to...
2974         * buffer_funcs.[Ch]: added
2975         * BufferView.[Ch] (loadLyXFile): added
2976         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2977         job removed from bufferlist::loadLyXFile.
2978         * buffer.C (setReadOnly): make it work without view
2979         (i.e added an if (users))
2980
2981 2003-06-19  Angus Leeming  <leeming@lyx.org>
2982
2983         * lfuns.h:
2984         * LyXAction.C (init):
2985         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2986         with LFUN_DIALOG_SHOW <name> <data>.
2987
2988 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * CutAndPaste.C (availableSelections): small compilation fix for
2991         ancient (gcc 2.9x) compilers
2992
2993 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * text3.C (cursorNext): add tmp var
2996
2997         * text2.C (updateCounters): for function calling out of for clause
2998         (replaceSelectionWithString): ditto
2999         (insertStringAsParagraphs): ditto
3000         (getColumnNearX): add tmp var
3001         (setCursorFromCoordinates): add tmp var
3002         (cursorDownParagraph): add tmp var
3003         (deleteEmptyParagraphMechanism): add tmp var
3004
3005         * text.C (insertChar): add tmp var
3006
3007         * rowpainter.C (paintDepthBar): add tmp var
3008
3009         * CutAndPaste.C (availableSelections): potentially check all
3010         paragraphs in a cut to fill the shown strings.
3011
3012 2003-06-18  André Pönitz  <poenitz@gmx.net>
3013
3014         * kbmap.[Ch]: use vector<> instead of list<>
3015
3016 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3017
3018         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3019         pasteSelection with index
3020
3021         * text2.C (pasteSelection): modify, call pasteSelection with index
3022
3023         * paragraph.C (asString): reimplement version with no interval to
3024         call the one with interval.
3025
3026         * lyxtext.h: add index arg to pasteSelection
3027
3028         * MenuBackend.C (MenuItem): handle PasteRecent
3029         (Menu::read::Menutags): add md_pasterecent
3030         (read): handle it
3031         (expandPasteRecent): new function
3032         (expand): use it
3033
3034         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3035
3036         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3037         the limited stack
3038         (availableSelections): new function
3039
3040 2003-06-17  Angus Leeming  <leeming@lyx.org>
3041
3042         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3043
3044 2003-06-17  Angus Leeming  <leeming@lyx.org>
3045
3046         * lfuns.h:
3047         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3048
3049         * lyxfunc.C (dispatch): invoke it.
3050
3051 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3052
3053         * iterators.C (operator++, ParPosition): reintroduce some
3054         const_cast for the benefit of older compilers.
3055
3056 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3057
3058         * text3.C (dispatch): do not modify clipboard when doing
3059         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3060         LFUN_DELETE_SKIP on a selection selection
3061
3062 2003-06-16  André Pönitz  <poenitz@gmx.net>
3063
3064         * BufferView.C:
3065         * buffer.C:
3066         * buffer.h:
3067         * paragraph.C:
3068         * tabular.[Ch]: IU of clone() and getLabelList();
3069
3070 2003-06-13  André Pönitz  <poenitz@gmx.net>
3071
3072         * tabular.h: compactification
3073
3074 2003-06-12  André Pönitz  <poenitz@gmx.net>
3075
3076         * tabular.C:
3077         * tabular.h:
3078         * tabular_funcs.h: some renaming plus whitespace
3079
3080 2003-06-12  André Pönitz  <poenitz@gmx.net>
3081
3082         * BufferView.C:
3083         * BufferView_pimpl.C:
3084         * CutAndPaste.C:
3085         * buffer.C:
3086         * iterators.[Ch]:
3087         * lyxfunc.C:
3088         * text.C:
3089         * toc.C: Return a Paragraph & for ParIterator::operator*()
3090
3091 2003-06-11  John Levon  <levon@movementarian.org>
3092
3093         * lyx_main.C:
3094         * ToolbarBackend.h:
3095         * ToolbarBackend.C: add "Toolbars" section and
3096         put the flags there
3097
3098 2003-06-10  Angus Leeming  <leeming@lyx.org>
3099
3100         * lfuns.h:
3101         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3102
3103         * lyxfunc.C (dispatch): invoke it.
3104
3105 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * main.C: protect <ios> with HAVE_IOS
3108         (main): protect sync_with_stdio with HAVE_IOS
3109
3110 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3111
3112         * text2.C (cutSelection): adjust
3113         (pasteSelection): adjust
3114
3115         * messages.C: handle get of empty string
3116
3117         * main.C (main): use sync_with_stdio(false)
3118
3119         * lyxfunc.C (dispatch): adjust
3120
3121         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3122         (WriteAs): remove unneeded BufferView arg.
3123
3124         * bufferparams.h: use correct types on papersize, papersize2 and
3125         paperpackage.
3126
3127         * bufferparams.C (readToken): adjust for type
3128         (writeLaTeX): add missing cases to switch.
3129
3130         * bufferlist.C (quitWriteBuffer): adjust
3131         (close): adjust
3132
3133         * buffer.C (asciiParagraph): remove some commented code.
3134
3135         * CutAndPaste.C: remove current_view extern variable.
3136         (cutSelection): add BufferParams arg.
3137         (eraseSelection): add BufferParams arg.
3138         (pasteSelection): add Buffer const & arg
3139
3140 2003-06-07  John Levon  <levon@movementarian.org>
3141
3142         * buffer.C:
3143         * paragraph_funcs.C:
3144         * paragraph_pimpl.C:
3145         * text.C:
3146         * text2.C:
3147         * paragraph.h:
3148         * paragraph.C: allow InsetERT to freely space lines,
3149         and some consolidation of code
3150
3151 2003-06-06  José Matos  <jamatos@fep.up.pt>
3152
3153         * buffer.C (makeDocBookFile): fix bug #821
3154
3155 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3158
3159 2003-06-04  Angus Leeming  <leeming@lyx.org>
3160
3161         * buffer.C: bump format to 224.
3162
3163 2003-06-05  André Pönitz  <poenitz@gmx.net>
3164
3165         * text2.C (redoParagraphs): remove two const_cast<>
3166
3167 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3168
3169         * ParagraphList.h: remove last remnants of NO_STD_LIST
3170
3171 2003-06-03  Angus Leeming  <leeming@lyx.org>
3172
3173         * factory.C (createInset): small change to the way InsetExternal's params
3174         are set.
3175
3176 2003-06-04  André Pönitz  <poenitz@gmx.net>
3177
3178         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3179
3180         * paragraph_pimpl.h:
3181         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3182
3183         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3184
3185         * undo_funcs.C: make some simple cases of undo work again
3186
3187 2003-06-03  John Levon  <levon@movementarian.org>
3188
3189         * ispell.C: HPUX doesn't have sys/select.h
3190         (from Albert Chin)
3191
3192 2003-06-03  John Levon  <levon@movementarian.org>
3193
3194         * CutAndPaste.C: update tabular and include inset
3195         buffer references
3196
3197         * buffer.h:
3198         * paragraph.h:
3199         * paragraph.C: remove owningBuffer(), don't pass Buffer
3200         to clone()
3201
3202         * factory.C: insetGraphicsParams changed
3203
3204 2003-06-02  John Levon  <levon@movementarian.org>
3205
3206         * LyXAction.C:
3207         * factory.C:
3208         * lfuns.h:
3209         * lyxfunc.C:
3210         * text3.C: remove insetparent
3211
3212 2003-06-02  John Levon  <levon@movementarian.org>
3213
3214         * buffer.h:
3215         * buffer.C: fix inset_iterator.end(), move out of line
3216         (bug 1149)
3217
3218 2003-06-01  John Levon  <levon@movementarian.org>
3219
3220         * text3.C: use a proper cut/paste when doing inset
3221         insert (from Jürgen Spitzmüller)
3222
3223 2003-06-01  John Levon  <levon@movementarian.org>
3224
3225         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3226
3227 2003-05-30  André Pönitz  <poenitz@gmx.net>
3228
3229         * rowpainter.C: unify second drawing phase
3230
3231 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * trans_mgr.C: remove one case of current_view
3234
3235         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3236
3237         * paragraph_funcs.h: remove paragraph.h include
3238
3239         * paragraph.h: delete NO_STD_LIST stuff
3240
3241         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3242
3243         * buffer.h: remove paragraph.h include
3244
3245         * ParagraphList.C: delete file
3246
3247         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3248
3249         * toc.C (getTocList): adjust
3250
3251         * paragraph_pimpl.C (validate): adjust
3252
3253         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3254
3255         * paragraph.C (Paragraph): adjust
3256         (getPositionOfInset): use const_iterator, adjust
3257         (bibitem): use const_iterator, adjust
3258         (setInsetOwner): adjust
3259
3260         * iterators.C (operator++): adjust
3261
3262         * InsetList.[Ch]: Replace selfmade iterator with standard
3263         vector::iterator also introduce const_iterator. Remove getPos,
3264         getInset and setInset from InsetTable. Adjust accordingly.
3265
3266         * BufferView.C (lockInset): adjust
3267         (ChangeInsets): adjust
3268
3269         * tabular.[Ch]: delete commented same_id functions
3270
3271 2003-05-28  John Levon  <levon@movementarian.org>
3272
3273         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3274
3275 2003-05-28  André Pönitz  <poenitz@gmx.net>
3276
3277         * metricsinfo.[Ch]: remove 'fullredraw' member
3278
3279 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3280
3281         * lyxtextclass.C (operator): remove caching.
3282
3283 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * text3.C: adjust
3286
3287         * text2.C (cursorBottom): adjust
3288         (setCounter): use ParagraphList::find, adjust
3289
3290         * text.C (workWidth): use ParagraphList::find, adjust
3291
3292         * lyxcursor.C (LyXCursor): adjust
3293
3294         * buffer.C (inset_iterator): adjust
3295
3296         * ParagraphList.h: make iterator(value_type) private, make
3297         ParagraphList a friend of iterator.
3298
3299         * ParagraphList.C (find): new function
3300
3301         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3302
3303 2003-05-27  André Pönitz  <poenitz@gmx.net>
3304
3305         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3306
3307 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3308
3309         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3310
3311 2003-05-26  John Levon  <levon@movementarian.org>
3312
3313         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3314
3315 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * remove same_id from function signatures, adjust.
3318
3319 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3322
3323         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3324
3325         * paragraph.C (Paragraph): get rid of same_ids parameter
3326
3327         * ParagraphList.C (insert): adjust
3328         (push_back): adjust
3329
3330 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * paragraph_funcs.C (breakParagraph): adjust
3333         (breakParagraphConservative): adjust
3334
3335         * buffer.C (readParagraph): adjust
3336
3337         * ParagraphList.C (insert): take a reference instead of a pointer
3338         (insert): adjust
3339
3340         * paragraph.[Ch] (id): new function
3341
3342         * bufferlist.C (newFile): adjust
3343
3344         * ParagraphList.C (ParagraphList): adjust
3345         (assign): adjust
3346         (push_back): take a reference instead of a pointer.
3347
3348         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3349
3350         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3351         instead.
3352
3353         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3354         set else use old code.
3355
3356         * ParagraphList.C: remove all NO_NEXT code and only compile this
3357         code of NO_STD_LIST is set.
3358
3359 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3360
3361         * BufferView_pimpl.C:
3362         * TextCache.C:
3363         * TextCache.h:
3364         * bufferlist.C:
3365         * errorlist.h:
3366         * format.C:
3367         * format.h:
3368         * graph.C:
3369         * lyxfunc.C:
3370         * lyxrc.C:
3371         * graphics/GraphicsConverter.C:
3372         * graphics/PreviewLoader.C: header adjustment
3373
3374 2003-05-23  Angus Leeming  <leeming@lyx.org>
3375
3376         * LaTeXFeatures.[Ch] (useBabel): new method.
3377         * bufferparams.C (writeLaTeX): use it.
3378
3379 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * ParagraphList.h (set): remove unused function.
3382
3383 2003-05-23  André Pönitz  <poenitz@gmx.net>
3384
3385         * BufferView.C:
3386         * BufferView_pimpl.C:
3387         * buffer.C:
3388         * buffer.h:
3389         * lyxfunc.C:
3390         * undo_funcs.C: setUndo reworked
3391
3392         * iterators.[Ch]: add access to topmost ParagraphList
3393
3394         * lyxtext.[Ch] (workWidth): add a const
3395
3396 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3397
3398         * texrow.[Ch] (increasePos): remove function
3399         * exporter.C (export): removed unused var and outdated comment
3400
3401 2003-05-23  Angus Leeming  <leeming@lyx.org>
3402
3403         * latexrunparams.h: rename fragile as moving_arg.
3404         * paragraph.C (simpleTeXOnePar): ditto.
3405         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3406
3407 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3410         (createUndo): ditto
3411         (textUndoOrRedo): comment out a currently unused var.
3412
3413         * paragraph.h (NO_NEXT): enable NO_NEXT
3414
3415         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3416
3417         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3418
3419         * exporter.C (Export): adjust for removeAutoInsets removal.
3420
3421         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3422
3423         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3424
3425         * BufferView.[Ch] (removeAutoInsets): delete function
3426
3427 2003-05-22  Angus Leeming  <leeming@lyx.org>
3428
3429         * latexrunparams.h: add a free_spacing variable.
3430
3431         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3432         to pass moving_arg, as the data is stored in runparams.fragile.
3433
3434         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3435         to Inset::latexOptional or to simpleTeXOnePar.
3436
3437         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3438         free_spacing arg to Inset::latexOptional.
3439
3440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3441         free_spacing arg.
3442
3443 2003-05-22  Angus Leeming  <leeming@lyx.org>
3444
3445         * latexrunparams.h: add fragile and use_babel variables.
3446
3447         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3448         * buffer.C (makeLaTeXFile): store this returned value in
3449         runparams.use_babel, thus passing it to the inset::latex methods.
3450
3451         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3452         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3453
3454         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3455         longer has a fragile arg, as it is stored in runparams.fragile.
3456
3457         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3458         moving_arg parameter as the data is stored in runparams.fragile.
3459
3460         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3461         a fragile parameter as the data is stored in runparams.fragile.
3462
3463 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3466
3467 2003-05-22  Angus Leeming  <leeming@lyx.org>
3468
3469         * latexrunparams.h: add a 'bool nice' which defaults to false.
3470
3471         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3472         now encapsulated within runparams.
3473
3474         * bufferlist.C (updateIncludedTeXfiles):
3475         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3476
3477 2003-05-22  Angus Leeming  <leeming@lyx.org>
3478
3479         * latexrunparams.h: new file containing struct LatexRunParams.
3480         * Makefile.am: add new file.
3481
3482         * LaTeX.[Ch] (c-tor, run):
3483         * buffer.[Ch] (makeLaTeXFile):
3484         * bufferlist.[Ch] (updateIncludedTeXfiles):
3485         * converter.C (convert, scanLog):
3486         * converter.[Ch] (runLaTeX):
3487         * exporter.C (Export):
3488         * paragraph.[Ch] (simpleTeXOnePar):
3489         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3490         * paragraph_funcs.[Ch] (latexParagraphs):
3491         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3492         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3493         pass around a LatexRunParams parameter.
3494
3495 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * paragraph.[Ch]: remove unused constructor
3498
3499         * ParagraphList.C (erase): new function, taking two iterators
3500
3501 2003-05-22  André Pönitz  <poenitz@gmx.net>
3502
3503         * undo_funcs.C: remove duplicated code
3504
3505         * iterator.[Ch]: operator=
3506
3507 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * tabular.C (SetMultiColumn): ws changes
3510
3511         * rowpainter.C (paintFirst): get rid of a ->previous
3512
3513         * lyx_cb.C (getPossibleLabel): parlist simplification
3514
3515         * BufferView.C (ChangeInsets): simplify slightly.
3516
3517 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3518
3519         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3520         * lfuns.h: new LFUN_SPACE
3521         * lyxfunc.C: protected space has a new lfun
3522         * paragraph_funcs.C: read new space insets
3523         * text3.C:
3524         * factory.C: handle new space insets
3525
3526 2003-05-22  André Pönitz  <poenitz@gmx.net>
3527
3528         * BufferView.C:
3529         * BufferView_pimpl.C:
3530         * buffer.[Ch]:
3531         * lyxfunc.C:
3532         * undo_funcs.C: return a ParIterator from getParFromID.
3533
3534         * iterators.[Ch]: add two const's
3535
3536 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * toc.C (getTocList): adjust
3539
3540         * iterators.[Ch]: rework for parlist
3541
3542         * buffer.C (par_iterator_begin): adjust
3543         (par_iterator_end): adjust
3544
3545         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3546
3547         * BufferView.C (removeAutoInsets): adjust
3548         (ChangeInsets): adjust
3549
3550 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * text.C (top_y): fix bug 1110
3553
3554 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * errorlist.[Ch]: added
3557         * buffer.C:
3558         * BufferView.[Ch]:
3559         * BufferView_pimpl.C:
3560         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3561         instead
3562
3563 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * Makefile.am: ensure that lyx is relinked upon changes to the
3566         various "convenience" libs.
3567
3568 2003-05-20  Angus Leeming  <leeming@lyx.org>
3569
3570         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3571         files are compiled in alphabetical order again.
3572
3573         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3574
3575 2003-05-19  Angus Leeming  <leeming@lyx.org>
3576
3577         * gettext.[Ch]: remove "char const * _(char const *)".
3578
3579 2003-05-19  André Pönitz  <poenitz@gmx.net>
3580
3581         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3582
3583         * Makefile.am:
3584         * BufferView.C:
3585         * DepTable.h:
3586         * LaTeXFeatures.C:
3587         * buffer.C:
3588         * lyxfont.C:
3589         * lyxlex.h:
3590         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3591
3592 2003-05-19  André Pönitz  <poenitz@gmx.net>
3593
3594         * buffer.C:
3595         * lyxlayout.[Ch]:
3596         * lyxtextclass.[Ch]:
3597         * paragraph.C:
3598         * paragraph_funcs.[Ch]:
3599         * text2.C:
3600         * text3.C: more insetenv work
3601
3602 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * ParagraphParameters.C (params2string): small bug fixed
3605
3606 2003-05-16  André Pönitz  <poenitz@gmx.net>
3607
3608         * debug.C:
3609         * bufferview_funcs.C: patch from Kornel Benko to prevent
3610           crash when _(...) is called twice in a statement
3611
3612 2003-05-16  André Pönitz  <poenitz@gmx.net>
3613
3614         * BufferView.C:
3615         * lyxfunc.C:
3616         * text.C:
3617         * text2.C:
3618         * text3.C:
3619         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3620
3621 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3622
3623         * lyx_main.C (init): remove spurious static_cast
3624
3625 2003-05-14  André Pönitz  <poenitz@gmx.net>
3626
3627         * BufferView.C: fix format string
3628
3629 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3630
3631         * BufferView.[Ch] (insertErrors): removed
3632         * BufferView.[Ch] (showErrorList): added
3633         * buffer.C (runChkTeX):
3634         * converter.C (scanLog): call showErrorList instead of inserterrors
3635
3636 2003-05-13  André Pönitz  <poenitz@gmx.net>
3637
3638         * BufferView_pimpl.C:
3639         * buffer.C:
3640         * bufferview_func.C:
3641         * MenuBackend.C:
3642         * lyxfunc.C:
3643         * lyxrc.C:
3644         * tex-accent.C:
3645         * text3.C:
3646         * toc.C:
3647         * tabular_funcs.h: tostr() from its own header
3648
3649         * ParagraphParameters.C:
3650         * ToolbarBackend.C:
3651         * bufferparams.C:
3652         * format.C:
3653         * lyxlex_pimpl.C:
3654         * text3.C: STRCONV()
3655
3656 2003-05-12  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.C:
3659         * BufferView_pimpl.C:
3660         * CutAndPaste.C:
3661         * LaTeX.C:
3662         * LaTeXFeatures.C:
3663         * ParagraphParameters.C:
3664         * buffer.C:
3665         * bufferlist.C:
3666         * bufferparams.C:
3667         * bufferview_funcs.C:
3668         * converter.C:
3669         * counters.C:
3670         * debug.C:
3671         * exporter.C:
3672         * format.C:
3673         * importer.C:
3674         * lyx_cb.C:
3675         * lyx_main.C:
3676         * lyxfont.C:
3677         * lyxfunc.C:
3678         * lyxvc.C:
3679         * paragraph.C:
3680         * paragraph_funcs.C:
3681         * tabular.C:
3682         * tabular_funcs.C:
3683         * text2.C:
3684         * text3.C:  boost::format -> bformat  all over the place
3685
3686
3687 2003-05-09  André Pönitz  <poenitz@gmx.net>
3688
3689         * LColor.[Ch]: Pimpl the #include <map> away
3690
3691 2003-05-09  John Levon  <levon@movementarian.org>
3692
3693         * bufferlist.C: never remove emergency saves
3694
3695 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * Makefile.am: better lib building
3698
3699 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3702         instead.
3703         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3704         (simpleTeXSpecialChars): adjust
3705         (simpleTeXSpecialChars): adjust
3706         * paragraph.C (simpleTeXOnePar): adjust
3707         * buffer.C (makeLaTeXFile): adjust
3708
3709         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3710
3711         * text2.C (changeDepth): parlist cleanup
3712         (getColumnNearX): ditto
3713
3714         * rowpainter.C (getLabelFont): parlist cleanup
3715
3716         * bufferlist.C (newFile): parlist cleanup
3717
3718         * CutAndPaste.C (eraseSelection): parlist cleanup
3719
3720         * BufferView_pimpl.C (trackChanges): parlist cleanup
3721         (dispatch): ditto
3722
3723         * BufferView.C (lockInset): parlist cleanup.
3724         (ChangeInsets): ditto
3725
3726 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * CutAndPaste.h: Update file header.
3729
3730         * CutAndPaste.C: Update file header.
3731         Store the parts cut out of the Document in a limited_stack.
3732         (copySelection): adjust
3733         (pasteSelection): new function, takes the index in the limited stack.
3734         (nrOfParagraphs): adjust
3735         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3736         simplify error inset insertion.
3737         (checkPastePossible): adjust
3738
3739 2003-05-06  John Levon  <levon@movementarian.org>
3740
3741         * text2.C: don't cast wrap inset to float
3742
3743 2003-05-05  André Pönitz  <poenitz@gmx.net>
3744
3745         * iterator.C:
3746         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3747
3748         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3749           few naked Paragraph *.
3750
3751 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3752
3753         * bufferparams.C: Output warning if a document with missing
3754         TeX document class is loaded
3755         * exporter.C: Disable TeX exports if the document class is missing
3756         * lyxtextclass.C:
3757         * lyxtextclass.h:
3758         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3759         isTeXClassAvailable()
3760
3761 2003-05-03  John Levon  <levon@movementarian.org>
3762
3763         * BufferView.h:
3764         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3765         explicit cursor show/hide
3766
3767         * BufferView_pimpl.h:
3768         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3769         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3770
3771         * lyxfunc.C: hide cursor before dispatching.
3772
3773         * lyx_cb.C:
3774         * lyxfind.C:
3775         * text.C:
3776         * text3.C: remove explicit cursor hides
3777
3778 2003-05-02  André Pönitz  <poenitz@gmx.net>
3779
3780         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3781
3782         * undo_funcs.C:
3783         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3784           linked lists
3785
3786         * text2.C: tiny whitespace
3787
3788 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * undo_funcs.C: almost only ws changes.
3791
3792         * ParagraphList.C (splice): just return if pl is empty.
3793
3794 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * ParagraphList.C (splice): new function.
3797
3798         * CutAndPaste.C (pasteSelection): use it
3799
3800 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * CutAndPaste.C (pasteSelection): remove the last next and
3803         previous from this file.
3804
3805 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3806
3807         * CutAndPaste.C (pasteSelection): more clean up, user proper
3808         ParagraphList functions for pasteing.
3809
3810         * ParagraphList.C (insert): new function, three arg insert
3811
3812 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * ParagraphList.C (insert): new function, three arg insert
3815
3816         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3817         not on paragraphs.
3818
3819 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3822
3823 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3826
3827 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3830         (copySelection): clean up a bit.
3831         (pasteSelection): use make_pair
3832
3833         * ParagraphList.C (ParagraphList): implement copy constructor
3834         (operator=): implement, base on copy constructor.
3835         (assign): new func
3836
3837         * paragraph.C (erase): return a bool
3838
3839         * paragraph_pimpl.C (erasePos): remove function, move contents...
3840         (erase): ... here. Return a bool.
3841         (erase): call erase instead of erasePos.
3842
3843 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3844
3845         * ParagraphList.h: define PitPosPair
3846         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3847         ParagraphList, fix a bug on pasting multiple pars
3848         * text2.C: change interface to C&P
3849
3850 2003-04-30  André Pönitz  <poenitz@gmx.net>
3851
3852         * undo_func.C: revert part of yesterday's patch 2
3853
3854 2003-04-30  John Levon  <levon@movementarian.org>
3855
3856         * LColor.C: s/tabular/table/
3857
3858 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * text3.C (dispatch): do not convert iterator -> pointer
3861         * undo_funcs.C (setCursorParUndo): ditto
3862         * text_funcs.C (transposeChars): ditto
3863
3864         * text2.C (setLayout): ws changes only
3865
3866         * text.C (breakParagraph): do not convert iterator -> pointer
3867         (insertChar): ditto
3868         (acceptChange): ditto
3869         (rejectChange): ditto
3870         (changeCase): ditto
3871         (Delete): ditto
3872         (backspace): ditto
3873
3874         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3875         pointer
3876
3877 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3878
3879         * text3.C (gotoInset): YABG (yet another bad getChar)
3880
3881 2003-04-29  André Pönitz  <poenitz@gmx.net>
3882
3883         * paragraph.h: make operator= private unimplemented as long as
3884           it is unusable
3885
3886         * ParagraphList.C: whitespace
3887
3888         * paragraph.[Ch]:
3889         * paragraph_pimpl.[Ch]:
3890         * paragraph_funcs.C:
3891         * CutAndPaste.C:
3892         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3893
3894         * text2.C:
3895           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3896
3897 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3898
3899         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3900         * paragraph.[Ch] (erase):
3901         * paragraph_pimpl.[Ch] (erase): change return type and value
3902         * text2.C (cutSelection): some rework
3903
3904 2003-04-28  John Levon  <levon@movementarian.org>
3905
3906         * bufferlist.C: changes for unsaved changes dialog
3907
3908 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * bufferlist.C (newFile): set language (messages_) for new
3911         documents also.
3912
3913         * buffer.C (readFile): ws changes only.
3914
3915 2003-04-28  André Pönitz  <poenitz@gmx.net>
3916
3917         * undo_funcs.C:
3918         * lyxfunc.C:
3919         * buffer.[Ch]:
3920         * BufferView_pimpl.C:
3921         * BufferView.C: getParFromID related ParagraphList::iterator changes
3922
3923 2003-04-28  André Pönitz  <poenitz@gmx.net>
3924
3925         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3926           Changes
3927
3928 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * messages.C: remove one more localedir class variable.
3931
3932 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * messages.C (getLocaleDir): singleton generation function
3935         (Pimpl): use it.
3936         (Messages): add a default constructor.
3937
3938         * main.C (main): do not setup localedir here, do not call
3939         gettext_init.
3940
3941         * gettext.C (_): use it.
3942         (gettext_init): delete funciton
3943
3944 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * gettext.C (getLyXMessages): new singleton generating function.
3947
3948         * buffer.C (updateDocLang): adjust
3949
3950         * Makefile.am (messages.o): add target
3951         (main.o): remove target
3952
3953 2003-04-27  John Levon  <levon@movementarian.org>
3954
3955         * bufferlist.C:
3956         * lyx_cb.C:
3957         * lyxfunc.C:
3958         * lyxvc.C: specify cancel button in Alert::prompt
3959
3960 2003-04-26  John Levon  <levon@movementarian.org>
3961
3962         * text3.C:
3963         * lyxfunc.C:
3964         * lfuns.h:
3965         * LyXAction.C: add LFUN_INSET_SETTINGS
3966
3967         * lyxfunc.C: don't enable tabular-feature when there's
3968         just any locking inset
3969
3970 2003-04-26  John Levon  <levon@movementarian.org>
3971
3972         * bufferlist.C: re-add Cancel to buffer close question
3973
3974         * lyxfunc.C: fix import UI a bit
3975
3976 2003-04-25  John Levon  <levon@movementarian.org>
3977
3978         * gettext.C: remove the broken asserts for now
3979
3980 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * messages.C: make case where setlocale cannot comply work better.
3983
3984         * buffer.C (updateDocLang): new function
3985         (changeLanguage): use it
3986         (readFile): use it
3987
3988         * text2.C (setCounter): use B_ a bit.
3989
3990         * lyxlayout.C (Read): be sure to trim the label strings.
3991
3992         * messages.C (Messages): fix typo in comment
3993
3994         * buffer.C (readFile): set message_ after file is loaded.
3995         (makeDocBookFile): remove double return
3996         (changeLanguage): reset message_ upon language change.
3997         (B_): new func, use this to get translated buffer strings.
3998
3999         * main.C: add myself and Jean Marc as authors.
4000
4001 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * messages.[hC]: pimplify Messages, and three different pimpls to be
4004         used in different circumstances.
4005
4006         * gettext.[Ch]: change for use with new message code.
4007
4008 2003-04-24 André Pönitz <poenitz@gmx.net>
4009
4010         * factory.C: support for eqref
4011
4012 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * messages.[Ch]: add missing char
4015
4016         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4017
4018         * messages.[Ch]: New files
4019
4020 2003-04-18  John Levon  <levon@movementarian.org>
4021
4022         * BufferView.h:
4023         * BufferView.C:
4024         * BufferView_pimpl.C:
4025         * lfuns.h:
4026         * LyXAction.C:
4027         * lyxtext.h:
4028         * text2.C: remove layout-copy/paste (bug 778)
4029
4030 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4033
4034 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4037         if they succeed. Act accordingly.
4038
4039 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * text2.C (setCharFont): adjust
4042         (setCounter): adjust
4043         (insertStringAsLines): adjust
4044
4045         * text.C (leftMargin): adjust
4046         (setHeightOfRow): adjust
4047
4048         * rowpainter.C (paintFirst): adjust
4049         (paintLast): adjust
4050
4051         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4052         (outerHook): ditto
4053         (isFirstInSequence): ditto
4054         (getEndLabel): ditto
4055         (outerFont): adjust
4056
4057         * paragraph.C (getParLanguage): comment out some hard stuff.
4058
4059         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4060         (sgmlError): ditto
4061         (simpleDocBookOnePar): ditto
4062         (makeDocBookFile): use ParagraphList::iterator
4063
4064         * CutAndPaste.C (pasteSelection): adjust
4065
4066 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * text2.C (getFont): adjust
4069         (getLayoutFont): adjust
4070         (getLabelFont): adjust
4071
4072         * paragraph_funcs.C (TeXOnePar): adjust
4073
4074         * buffer.C (simpleLinuxDocOnePar): adjust
4075         (simpleDocBookOnePar): adjust
4076
4077         * CutAndPaste.C (pasteSelection): adjust
4078
4079         * BufferView.C (getEncoding): adjust
4080
4081         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4082
4083 2003-04-16  John Levon  <levon@movementarian.org>
4084
4085         * lyxfind.C: use parlist stuff for search/changes
4086
4087 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4090
4091         * text2.C (deleteEmptyParagraphMechanism): adjust
4092
4093         * text2.[Ch] (ownerParagraph): delete func (both of them
4094
4095 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4098
4099 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4100
4101         * ParagraphList.C: prepare for NO_NEXT
4102
4103 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * text2.C (getFont): adjust
4106         (getLayoutFont): adjust
4107         (getLabelFont): adjust
4108
4109         * paragraph.C (getFont): adjust
4110         (getLabelFont): adjust
4111         (getLayoutFont): adjust
4112
4113         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4114
4115 2003-04-15  John Levon  <levon@movementarian.org>
4116
4117         From Angus Leeming
4118
4119         * lyx_main.C: handle Include in .ui files
4120
4121 2003-04-15  John Levon  <levon@movementarian.org>
4122
4123         * MenuBackend.C: make the doc files length shorter
4124
4125         * ToolbarBackend.h:
4126         * ToolbarBackend.C: handle toolbar placement flags,
4127         Minibuffer
4128
4129 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4132         adjust
4133
4134         * paragraph_funcs.C (TeXOnePar): adjust
4135
4136         * paragraph.C (getLabelFont): add outerfont arg, adjust
4137         (getLayoutFont): ditto
4138         (simpleTeXOnePar): adjust
4139
4140         * paragraph_pimpl.C (realizeFont): delete func
4141
4142 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4145         row argument, constify cur argument.
4146
4147 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4148
4149         * text2.C (getFont): adjust
4150         (getLayoutFont): adjust
4151         (getLabelFont): adjust
4152
4153         * paragraph_funcs.C (TeXOnePar): adjust
4154         (outerFont): new func...
4155         (realizeFont): ...moved out from here, changed this to facilitate
4156         transition
4157
4158         * paragraph.C (getFont): take outerfont as arg, adjust
4159         (simpleTeXOnePar): add outerfont arg, adjust
4160
4161         * buffer.C (simpleLinuxDocOnePar): adjust
4162         (simpleDocBookOnePar): adjust
4163
4164         * CutAndPaste.C (pasteSelection): adjust
4165
4166         * BufferView.C (getEncoding): adjust
4167
4168 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * text2.C (setCharFont): adjust
4171         (setCounter): adjust
4172
4173         * text.C (leftMargin): adjust
4174         (setHeightOfRow): adjust
4175
4176         * rowpainter.C (paintFirst): adjust
4177         (paintLast): adjust
4178
4179         * paragraph_pimpl.C (realizeFont): adjust
4180
4181         * paragraph.C (isFirstInSequence): move from here...
4182         * paragraph_funcs.C (isFirstInSequence): ...to here
4183
4184         * paragraph.C (outerHook): move from here...
4185         * paragraph_funcs.C (outerHook): ...to here
4186
4187         * paragraph.C (depthHook): move from here...
4188         * paragraph_funcs.C (depthHook): ...to here
4189
4190         * paragraph.C (getEndLabel): move from here...
4191         * paragraph_funcs.C (getEndLabel): ...to here
4192
4193         * text2.C (realizeFont): move from here...
4194         * paragraph_funcs.C (realizeFont): ...to here
4195
4196 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4199
4200 2003-04-14  Angus Leeming  <leeming@lyx.org>
4201
4202         * LColor.[Ch]: scrap LColor mathcursor.
4203
4204 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * lyxlex.[Ch] (text): delete function
4207         * trans.C (Load): adjust
4208         * paragraph_funcs.C (readParToken): adjust
4209
4210 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4213         vector<char> instead of a char[].
4214
4215         * lyxlex_pimpl.C (getString): adjust
4216         (next): adjust
4217         (lex): use getString
4218         (eatLine): adjust
4219         (nextToken): adjust
4220
4221         * lyxlex.C (text): use pimpl_->getString()
4222         (getBool): ditto
4223         (findToken): ditto
4224
4225 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4228         (makeFontEntriesLayoutSpecific): temp var for par.size()
4229         (setLayout): temp var for ownerParagraphs().end()
4230         (fullRebreak): temp var for rows().end()
4231         (selectionAsString): temp var for boost::next(startpit), realize
4232         that the while really is a regular for loop.
4233         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4234         setCursor in one place.
4235         (setParagraph): temp vr for ownerParagraphs().end()
4236         (updateCounters): make the while loop a for loop
4237         (cutSelection): temp var for ownerParagraphs().end()
4238         (updateInset): make the do {} while() a regular for loop
4239         (getCursorX): use temp vars
4240         (setCurrentFont): use temp vars
4241         (getColumnNearX): use temp vars
4242
4243 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * text.C (transformChar): use temp var for getChar
4246         (computeBidiTables): use temp var for row->par()
4247         (fill): move temp vars for row->par() and pit->layout() earlier in
4248         the function.
4249         (labelFill): use temp var for row->par()
4250         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4251         asc and desc, realize that pit never changes and that firstpit is
4252         just a duplicate and not needed. Exchange rit->par() with pit in a
4253         lot of places.
4254         (breakAgain): use a temp var for boost::next(rit)
4255         (breakAgainOneRow): ditto
4256         (breakParagraph): use a temp var for rows().begin()
4257         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4258         (cursorRightOneWord): use temp var for cursor.par() and
4259         cursor.pos(), remove usage of tmpcursor.
4260         (cursorLeftOneWord): use temp var for cursor.par() and
4261         cursor.pos() only set cur at end of function.
4262
4263 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * text.C, text2.C: exchange all usage of Paragraph::next with
4266         boost::next(ParagraphList::iterator)
4267
4268         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4269
4270         * text2.C (cursorTop): simplify implementation
4271         (cursorBottom): ditto
4272         (setParagraph): use ParagraphList::iterator
4273         (setCurrentFont): adjust
4274         (getColumnNearX): adjust
4275         (cursorRight): adjust
4276         (cursorLeft): remove usage of Paragraph::previous
4277         (cursorUpParagraph): ditto
4278         (deleteEmptyParagraphMechanism): slight cleanup
4279
4280         * text.C (isBoundary): take a Paragraph const & instead of a
4281         pointer as arg.
4282         (addressBreakPoint): ditto
4283         (leftMargin): remove usage of Paragraph::previous.
4284         (setHeightOfRow): ditto
4285         (cursorLeftOneWord): ditto
4286         (selectNextWordToSpellcheck): ditto
4287         (Delete): ditto
4288         (backspace): ditto
4289         (breakParagraph): remove one usage of Paragraph::next
4290         (redoParagraph): ditto
4291         (acceptChange): ditto
4292         (insertChar): adjust
4293         (rowBreakPoint): adjust
4294
4295         * bufferview_funcs.C (toggleAndShow): adjust
4296
4297 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4300         methods to access it.
4301         * lyxtext.h:
4302         * text.C: Added updateRowPositions to compute all row positions.
4303         Make top_y and getRowNearY() to use the cached y position
4304
4305 2003-04-11  John Levon  <levon@movementarian.org>
4306
4307         * text.C (rowBreakPoint): reintroduce the labelEnd
4308         checks, code copied from the row fill stuff. Deep voodoo.
4309
4310         * text.C (fill): add a comment and debugging for the
4311         next poor soul.
4312
4313 2003-04-11  John Levon  <levon@movementarian.org>
4314
4315         * text.C: make sure fullrow insets get wrapped to the next line,
4316         even when they're in a manual label
4317
4318 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * text2.C (insertParagraph): make it take ParagraphList::iterator
4321         as arg.
4322         (setLayout): make it return ParagraphList::iterator
4323         (redoParagraphs): ditto
4324         (setCounter): ditto
4325         (checkParagraph): ditto
4326
4327         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4328
4329         * text2.C: adjust several funcs.
4330         (realizeFont): take a ParagraphList::iterator as arg.
4331         (getLayoutFont): ditto
4332         (getLabelFont): ditto
4333         (setCharFont): ditto
4334
4335         * text.C: adjust several funcs.
4336
4337 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * text.C (selectNextWordToSpellcheck): don't accidentally
4340         skip insets
4341
4342 2003-04-10  John Levon  <levon@movementarian.org>
4343
4344         * ToolbarBackend.C (getIcon): special handling for
4345         LFUN_MATH_DELIM
4346
4347 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * text2.C (cursorRight): a getChar assert fixed
4350
4351 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * text2.C (getFont): change to take a ParagraphList::iterator
4354         instead of Paragraph*
4355         Adjust several functions.
4356
4357         * text.C (transformChar): change to take a ParagraphList::iterator
4358         instead of Paragraph*
4359         (singleWidth): ditto
4360         Adjust several functions.
4361
4362         * rowpainter.C: adjust several functions
4363         * rowpainter.h:store a ParagraphList::iterator and not a
4364         Paragraph&.
4365
4366
4367 2003-04-09  John Levon  <levon@movementarian.org>
4368
4369         * lyxfunc.C:
4370         * lfuns.h:
4371         * LyXAction.h:
4372         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4373         and the "help" bits as well
4374
4375 2003-04-09  John Levon  <levon@movementarian.org>
4376
4377         * ToolbarBackend.h:
4378         * ToolbarBackend.C: allow multiple toolbars
4379
4380 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * undo_funcs.C (setCursorParUndo): adjust
4383
4384         * text_funcs.C (transposeChars): adjust
4385
4386         * text3.C (gotoNextInset): adjust
4387         (dispatch): adjust
4388
4389         * text2.C (setLayout): adjust
4390         (changeDepth): adjust
4391         (setFont): adjust
4392         (redoParagraphs): adjust
4393         (selectionAsString): adjust
4394         (setParagraph): adjust
4395         (insertInset): adjust
4396         (cutSelection): adjust
4397         (copySelection): adjust
4398         (pasteSelection): adjust
4399         (insertStringAsLines): adjust
4400         (updateInset): adjust
4401         (setCursor): change to take a ParagraphList::iterator parameter
4402         (setCursorIntern): change to take a ParagraphList::iterator parameter
4403         (setCurrentFont): adjust
4404         (cursorLeft): adjust
4405         (cursorRight): adjust
4406         (deleteEmptyParagraphMechanism): adjust
4407
4408         * text.C (breakParagraph): adjust
4409         (insertChar): adjust
4410         (acceptChange): adjust
4411         (rejectChange): adjust
4412         (selectNextWordToSpellcheck): adjust
4413         (changeCase): adjust
4414         (Delete): adjust
4415         (backspace): adjust
4416
4417         * lyxfind.C (SearchForward): adjust
4418         (SearchBackward): adjust
4419         (nextChange): adjust
4420
4421         * lyxcursor.C (par): adjust
4422
4423         * lyxcursor.h: store a ParagraphList::iterator instead of a
4424         Paragraph*
4425
4426         * lyx_cb.C (getPossibleLabel): adjust
4427
4428         * bufferview_funcs.C (toggleAndShow): adjust
4429
4430         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4431         (dispatch): adjust
4432
4433         * BufferView.C (removeAutoInsets): adjust
4434         (lockedInsetStoreUndo): adjust
4435
4436 2003-04-09  John Levon  <levon@movementarian.org>
4437
4438         * ToolbarBackend.C: try icon without argument
4439         if with argument fails
4440
4441 2003-04-08  John Levon  <levon@movementarian.org>
4442
4443         * ToolbarBackend.h:
4444         * ToolbarBackend.C: add getIcon(), handle tooltip,
4445         and change from "Icon" to "Item".
4446
4447 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * BufferView.C (lockInset): another bad getchar crunched
4450
4451 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4454         again)
4455
4456 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * lyxfind.C (searchForward, searchBackwards): bug 782
4459
4460 2003-04-07  John Levon  <levon@movementarian.org>
4461
4462         * paragraph.C: remove dead comment
4463
4464         * text.C: remove troublesome depth-fiddling code
4465         in leftMargin() and rightMargin() (bug 1017)
4466
4467         * text.C: fix breaking of rows in nested lists
4468         (bug 1004)
4469
4470         * text2.C (updateCounters): fix up depth values
4471         (bug 1013)
4472
4473 2003-04-07  John Levon  <levon@movementarian.org>
4474
4475         * BufferView_pimpl.C: clear message when doc finishes resizing,
4476         and after a mouse event
4477
4478         * lyxfunc.C: clear message after exiting inset
4479
4480 2003-04-07  John Levon  <levon@movementarian.org>
4481
4482         * bufferview_funcs.C: show math status not outside
4483         status in the statusbar
4484
4485 2003-04-07  John Levon  <levon@movementarian.org>
4486
4487         * lyxfunc.C: note status changed after a depth change
4488
4489 2003-04-04  Angus Leeming  <leeming@lyx.org>
4490
4491         * LaTeX.h: move AuxInfo operator==, != out of line.
4492         Remove LaTeX virtual destructor; nothing derives from it.
4493         Move operator()() out of public area and rename it startscript().
4494         Change protected for private.
4495
4496 2003-04-04  Angus Leeming  <leeming@lyx.org>
4497
4498         * lyxfunc.C:
4499         * text2.C: remove unneeded #includes.
4500
4501 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * text2.C (dEPM): fix the heigth of the next row
4504
4505 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * text.C: squashed an invalid getChar requester + some ws changes
4508
4509 2003-04-03  John Levon  <levon@movementarian.org>
4510
4511         * bufferview_funcs.h:
4512         * bufferview_funcs.C:
4513         * lyxfunc.C:
4514         * lyxtext.h:
4515         * text2.C: make getStatus work for the env depth lfuns
4516
4517 2003-04-03  John Levon  <levon@movementarian.org>
4518
4519         * bufferview_funcs.h:
4520         * bufferview_funcs.C:
4521         * lyxfunc.C:
4522         * lyxtext.h:
4523         * text2.C: parlistize decDepth(), by merging it with incDepth()
4524
4525 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4526
4527         * lyxrow.h: store a ParagraphList::iterator instead of a
4528         Paragraph* and adjust other class functions to suit.
4529
4530         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4531         above.
4532
4533 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * text2.C (setCursor): do not anchor to cursor row for the time being
4536
4537 2003-04-02  John Levon  <levon@movementarian.org>
4538
4539         * LyXAction.C:
4540         * lfuns.h:
4541         * lyx_main.C:
4542         * lyxtext.h:
4543         * text.C:
4544         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4545
4546 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * paragraph.h: make ParagraphList and ParagraphList::iterator
4549         friends of Paragraph.
4550
4551         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4552
4553         * ParagraphList.C: Use the private next_ and previous_ from
4554         Paragraph.
4555
4556 2003-04-01  John Levon  <levon@movementarian.org>
4557
4558         * ToolbarBackend.h:
4559         * ToolbarBackend.C:
4560         * Makefile.am: rename, remove defaults gunk
4561
4562         * MenuBackend.h:
4563         * MenuBackend.C: remove defaults gunk
4564
4565         * Languages.h:
4566         * Languages.C: remove defaults gunk
4567
4568         * lyx_main.h:
4569         * lyx_main.C: error out if files couldn't be found.
4570
4571 2003-04-02  John Levon  <levon@movementarian.org>
4572
4573         * text2.C: make incDepth() use parlist
4574
4575 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * undo_funcs.C (firstUndoParagraph): adjust
4578
4579         * text3.C (gotoInset): adjust
4580         (dispatch): adjust, and rewrite loop.
4581
4582         * text2.C (init): adjust, and rewrite loop.
4583         (redoParagraphs): adjust
4584         (updateInset): adjust, and rewrite loop.
4585         (deleteEmptyParagraphMechanism): adjust
4586
4587         * tabular.C (LyXTabular): adjust
4588         (SetMultiColumn): adjust
4589         (TeXRow): adjust
4590
4591         * lyxtext.[Ch] (ownerParagraph): delete function
4592         (ownerParagraphs): new function returns a ParagraphList.
4593
4594         * BufferView.C (removeAutoInsets): adjust
4595         (insertErrors): adjust
4596         (setCursorFromRow): adjust
4597
4598 2003-04-01  Angus Leeming  <leeming@lyx.org>
4599
4600         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4601         in the frontends.
4602
4603 2003-04-02  John Levon  <levon@movementarian.org>
4604
4605         * lyxtext.h:
4606         * text.C:
4607         * Makefile.am:
4608         * text_funcs.h:
4609         * text_funcs.C: make transposeChars a free function
4610
4611         * lyxrow_funcs.C: remove wrong comment
4612
4613 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * lyxtext.h: adjust
4616         * rowpainter.C: adjust
4617         * text.C: adjust
4618         * text2.C: adjust
4619         * text3.C: adjust
4620
4621         * lyxrow_funcs. [Ch]: new files
4622
4623         * lyxrow.[Ch]: remove next and previous pointers
4624         (next,previous): remove accessor functions
4625         (isParEnd): move to lyxrow_funcs
4626         (lastPos): move to lyxrow_funcs
4627         (nextRowIsAllInset): move to lyxrow_funcs
4628         (lastPrintablePos): move to lyxrow_funcs
4629         (numberOfSeparators): move to lyxrow_funcs
4630         (numberOfHfills): move to lyxrow_funcs
4631         (numberOfLabelHfills): move to lyxrow_funcs
4632         (hfillExpansion): move to lyxrow_funcs
4633
4634         * lyxfunc.C: adjust
4635
4636         * bufferview_funcs.C (toggleAndShow): adjust
4637
4638         * RowList.h: Remove class RowList from file leave just a
4639         std::list<Row>.
4640
4641         * RowList.C: delete file
4642
4643         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4644         and lyxrow_funcs.h
4645
4646 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * text3.C (cursorPrevious): adjust
4649         (cursorNext): adjust
4650         (dispatch): adjust
4651
4652         * text2.C (redoHeightOfParagraph): adjust
4653         (redoDrawingOfParagraph): adjust
4654         (setCursor): adjust
4655
4656         * text.C (breakParagraph): adjust
4657         (insertChar): adjust
4658         (backspace): adjust
4659
4660         * rowpainter.C (RowPainter): adjust
4661         (leftMargin): simplify and adjust
4662         (most rowpainter functions): adjust.
4663
4664         * rowpainter.h: store the row as RowList::iterator not as Row*
4665
4666         * lyxcursor.C (row): taka RowList::iterator as arg
4667         (irow): ditto
4668
4669         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4670         of Row*.
4671
4672 2003-04-01  Angus Leeming  <leeming@lyx.org>
4673
4674         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4675         stuff like bool Bool.
4676
4677 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4680         rewrite a loop
4681
4682 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4685         RowList::iterator.
4686
4687         * lyxtext.h (rows): drop one version and leve a const variant that
4688         returns a RowList::iterator.
4689
4690 2003-03-31  Angus Leeming  <leeming@lyx.org>
4691
4692         * text.C (fill): ensure that the signature is the same as that in the
4693         header file.
4694
4695 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * text2.C (redoParagraphs): adjust
4698         (updateCounters): adjust
4699         (checkParagraph): adjust
4700         (getColumnNearX): adjust and reformat a bit.
4701
4702         * text.C (top_y): adjust
4703         (workWidth): adjust
4704         (leftMargin): adjust
4705         (prepareToPrint): adjust
4706         (getRow): adjust
4707         (getRowNearY): adjust
4708
4709         * lyxtext.h: make rowlist_ mutable.
4710
4711         * RowList.h: add const_iterator
4712         * RowList.C: adjust for RowList::const_iterator.
4713
4714         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4715         adjust.
4716
4717 2003-03-31  John Levon  <levon@movementarian.org>
4718
4719         * lyxrc.h:
4720         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4721
4722         * lyx_main.C: set default fonts from using lyx_gui funcs
4723
4724         * exporter.C: pdf_mode moved from lyxrc
4725
4726         * lyx_cb.C:
4727         * lyxfunc.C: changes from above
4728
4729 2003-03-31  John Levon  <levon@movementarian.org>
4730
4731         * lyx_main.C: fix to the last fix
4732
4733 2003-03-31  John Levon  <levon@movementarian.org>
4734
4735         * bufferlist.C: "Load original" -> "Load Original"
4736
4737         * converter.C:
4738         * exporter.C:
4739         * importer.C:
4740         * lyx_main.C:
4741         * format.C: more Alert cleanups
4742
4743 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * text2.C (removeParagraph): make it take a RowList::iterator as
4746         arg, adjust.
4747         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4748         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4749
4750         * text.C (anchor_row): make it take a RowList::iterator as arg,
4751         adjust.
4752         (computeBidiTables): make it take a const reference to Row instead
4753         of Row pointer, adjust.
4754         (leftMargin): make it take a RowList::iterator as arg, adjust.
4755         (rowBreakPoint): adjust
4756         (breakAgainOneRow): make it take a RowList::iterator as arg,
4757         adjust.
4758         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4759
4760         * bufferview_funcs.C (toggleAndShow): adjust
4761
4762 2003-03-30  John Levon  <levon@movementarian.org>
4763
4764         * Makefile.am:
4765         * BoostFormat.h:
4766         * boost-inst.C: moved to support
4767
4768         * several files: changes as a result
4769
4770 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * text2.C (LyXText): adjust.
4773         (init): adjust
4774         (removeRow): make it take a RowList::iterator as arg, adjust.
4775         (fullRebreak): adjust
4776         (deleteEmptyParagraphMechanism): adjust
4777         (clearPaint): adjust
4778         (postPaint): adjust
4779
4780         * text.C (top_y): adjust
4781         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4782         (breakAgain): make it take a RowList::iterator as arg, adjust.
4783         (breakParagraph): adjust
4784         (insertChar): adjust
4785         (backspace): adjust
4786
4787         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4788         need_break_row, and refresh_row.
4789
4790         * text3.C (dispatch): adjust
4791
4792         * text2.C (checkParagraph): adjust
4793         (setCursor): adjust
4794         (setCursorFromCoordinates): adjust
4795
4796         * text.C (top_y): adjust
4797         (workWidth): adjust
4798         (getRow): make it return a RowList::iterator, adjust
4799         (getRowNearY): make it return a RowList::iterator, adjust
4800
4801         * text2.C (init): adjust
4802         (insertRow): remove function
4803         (insertParagraph): adjust
4804         (redoParagraphs): adjust
4805         (fullRebreak): adjust
4806         (updateCounters): adjust
4807
4808         * text.C (top_y): rewrite to use RowList iterators.
4809         (top_y): adjust
4810         (setHeightOfRow): rewrite to sue RowList iterators.
4811         (appendParagraph): adjust
4812         (breakAgain): adjust
4813         (breakAgainOneRow): adjust
4814         (breakParagraph): adjust
4815         (getRow): adjust
4816         (getRowNearY): adjust, and remove commented code.
4817
4818         * lyxtext.h (firstRow): delete function
4819         (lastRow): delete function
4820         (rows): new function (const and non-const versions.)
4821         (insertRow): delete function
4822
4823         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4824
4825 2003-03-29  John Levon  <levon@movementarian.org>
4826
4827         * BufferView_pimpl.C: always update scrollbar top
4828         because pasting text when we're anchored could mean we
4829         miss an update altogether
4830
4831 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * text2.C (init): use rowlist_.end() and not 0.
4834         (insertRow): change to take a RowList::iterator as arg, adjust
4835         for this.
4836         (insertParagraph): change to take a RowList::iterator as arg,
4837         adjust for this.
4838         (redoParagraphs): remove some debug msgs.
4839
4840         * text.C (appendParagraph): change to take a RowList::iterator
4841         arg, adjust for this.
4842         (breakAgain): add an assert
4843         (breakAgainOneRow): ditto
4844
4845 2003-03-29  John Levon  <levon@movementarian.org>
4846
4847         * text2.C: do not clear selection after inc/decDepth
4848         (bug 550)
4849
4850 2003-03-29  John Levon  <levon@movementarian.org>
4851
4852         * BufferView.C:
4853         * buffer.C: fix broken strerrors according to Lars
4854
4855 2003-03-29  John Levon  <levon@movementarian.org>
4856
4857         * converters.C: more Alert cleanups
4858
4859 2003-03-29  John Levon  <levon@movementarian.org>
4860
4861         * bufferview_funcs.C: remove pointless Alert
4862
4863         * buffer.C: fix confusing error message when
4864         a template is chmoded 000
4865
4866 2003-03-29  John Levon  <levon@movementarian.org>
4867
4868         * BufferView.C:
4869         * BufferView.h:
4870         * BufferView_pimpl.C: Alert fixes
4871
4872         * Makefile.am:
4873         * tabular.C:
4874         * tabular-old.C: remove unused table compat reading
4875
4876 2003-03-29  John Levon  <levon@movementarian.org>
4877
4878         * BufferView.C:
4879         * buffer.C:
4880         * lyx_cb.h:
4881         * lyx_cb.C: more Alert cleanups
4882
4883         * lyxfunc.C: don't allow chktex if not latex document
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * lyx_cb.C:
4888         * BufferView.C:
4889         * buffer.C: warnings pushed down from support/,
4890         kill err_alert
4891
4892 2003-03-29  John Levon  <levon@movementarian.org>
4893
4894         * lyxfunc.C: safety check for C-r (revert)
4895
4896 2003-03-29  John Levon  <levon@movementarian.org>
4897
4898         * bufferlist.h:
4899         * bufferlist.C: several UI fixes using Alert::prompt.
4900         Fix the pointless looping quit code. Fix stupid revert
4901         behaviour (bug 938)
4902
4903         * lyxvc.h:
4904         * lyxvc.C:
4905         * lyx_cb.C: use Alert::prompt
4906
4907         * lyx_main.C: remove a silly question
4908
4909         * lyxfunc.C: remove a couple of silly questions,
4910         use Alert::prompt
4911
4912 2003-03-28  John Levon  <levon@movementarian.org>
4913
4914         * text2.C: fix bug 974 (End on empty par)
4915
4916 2003-03-28  John Levon  <levon@movementarian.org>
4917
4918         * BufferView_pimpl.C:
4919         * LyXAction.C:
4920         * lfuns.h: remove do-nothing math greek lfuns
4921
4922 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * lyxgluelength.h (isValidGlueLength): add default arg on
4925         parameter 2. Remove default arg from friend in class.
4926
4927         * lyxlength.h (isValidLength): add default arg on parameter 2.
4928         Remove default arg from friend in class.
4929
4930         * text2.C (LyXText): adjust, initialize refresh_row.
4931         (init): adjust
4932         (removeRow): adjust
4933         (insertRow): adjust
4934         (insertParagraph): adjst
4935         (redoParagraphs): adjust
4936         (fullRebreak): adjust
4937         (updateCounters): adjust
4938         (deleteEmptyParagraphMechanism): first attempt at fixing a
4939         crashing bug.
4940
4941         * text.C (top_y): adjust
4942         (setHeightOfRow): adjust
4943         (getRow): adjust
4944         (getRowNearY): adjust
4945
4946         * lyxtext.h: include RowList.h
4947         (~LyXText): not needed anymore, deleted.
4948         (firstRow): modify for RowList
4949         (lastRow): new function
4950         Delete firstrow and lastrow class variables, add a Rowlist
4951         rowlist_ class variable.
4952
4953         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4954         paragraph is empty.
4955
4956         * RowList.C (insert): fix case where it == begin().
4957
4958 2003-03-26  Angus Leeming  <leeming@lyx.org>
4959
4960         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4961         the thesaurus dialog.
4962
4963 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4966
4967         * RowList.[Ch]: new files
4968
4969         * ParagraphList.C (erase): handle the case where it == begin
4970         correctly.
4971
4972 2003-03-25  John Levon  <levon@movementarian.org>
4973
4974         * Makefile.am:
4975         * aspell_local.h:
4976         * aspell.C: add new aspell support
4977
4978         * lyxrc.h:
4979         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4980         have it accessible.
4981
4982 2003-03-25  Angus Leeming  <leeming@lyx.org>
4983
4984         * lfuns.h:
4985         * LyXAction.C (init): new LFUN_INSET_INSERT.
4986
4987         * BufferView_pimpl.C (dispatch): split out part of the
4988         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4989
4990         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4991         LFUN_INSET_APPLY.
4992
4993 2003-03-25  Angus Leeming  <leeming@lyx.org>
4994
4995         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4996
4997 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * text2.C:
5000         * text3.C: remove useless row->height(0)
5001
5002 2003-03-25  John Levon  <levon@movementarian.org>
5003
5004         * lyxtext.h:
5005         * text2.C:
5006         * text3.C: rename the refreshing stuff to better names
5007
5008 2003-03-24  John Levon  <levon@movementarian.org>
5009
5010         * BufferView_pimpl.h:
5011         * BufferView_pimpl.C: update layout choice on a mouse
5012         press/release
5013
5014 2003-03-23  John Levon  <levon@movementarian.org>
5015
5016         * Makefile.am: fix commandtags.h reference
5017
5018 2003-03-22  John Levon  <levon@movementarian.org>
5019
5020         * BufferView_pimpl.C:
5021         * lyxtext.h:
5022         * rowpainter.C:
5023         * rowpainter.h:
5024         * text.C:
5025         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5026
5027 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * lyxtext.h:
5030         * text.C: take the rtl methods out of line
5031
5032 2003-03-21 André Pönitz <poenitz@gmx.net>
5033
5034         * metricsinfo.[Ch]: new files containing structures to be passed around
5035         during the two-phase-drawing...
5036
5037 2003-03-21 André Pönitz <poenitz@gmx.net>
5038
5039         * lyxtextclass.C: read 'environment' tag.
5040
5041 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * text2.C (removeRow): fix bug 964
5044
5045 2003-03-20  John Levon  <levon@movementarian.org>
5046
5047         * rowpainter.C:
5048         * text.C:
5049         * text2.C: paint cleanups. Inset::update() dropped font
5050         parameter
5051
5052 2003-03-19  John Levon  <levon@movementarian.org>
5053
5054         * lyxfunc.C: only fitcursor/markDirty if available()
5055
5056 2003-03-19  John Levon  <levon@movementarian.org>
5057
5058         * commandtags.h: rename to ...
5059
5060         * lfuns.h: ... this, and renumber / cleanup
5061
5062 2003-03-19  John Levon  <levon@movementarian.org>
5063
5064         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5065         fit the cursor after an lfun
5066
5067         * BufferView.h:
5068         * BufferView.C:
5069         * BufferView_pimpl.h:
5070         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5071
5072         * LyXAction.C: layout-character should have ReadOnly
5073
5074         * ParagraphParameters.C:
5075         * buffer.C:
5076         * bufferview_funcs.C:
5077         * lyx_cb.C:
5078         * lyxfind.C:
5079         * lyxtext.h:
5080         * text.C:
5081         * text2.C:
5082         * text3.C:
5083         * undo_funcs.C: changes from above
5084
5085 2003-03-18  John Levon  <levon@movementarian.org>
5086
5087         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5088         remove it from update()
5089
5090         * lyxfunc.C: update layout choice after an lfun
5091
5092         * text3.C: remove extra updateLayoutChoice()s
5093
5094 2003-03-18  John Levon  <levon@movementarian.org>
5095
5096         * text.C: top_y change means full repaint, fix
5097         a drawing bug with cursor movement
5098
5099 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5100
5101         * lyxtext.h:
5102         * text.C:
5103         * text2.C: anchor row on setCursor
5104
5105 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * lyxtext.h: remove almost all mutable keywords
5108         * text.C:
5109         * text2.C:
5110         * text3.C: remove const keywords accordingly
5111
5112 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5115         anon namespace
5116         (TeXEnvironment): ditto
5117         (TeXOnePar): ditto
5118
5119 2003-03-17  John Levon  <levon@movementarian.org>
5120
5121         * text.C (rowBreakPoint): remove attempt to fix displayed
5122         math insets inside a manual label
5123
5124 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * lyxtext.h: remove BufferView* as first arg from almost all class
5127         functions.
5128         * other files: adjust.
5129
5130 2003-03-17  John Levon  <levon@movementarian.org>
5131
5132         * lyxtext.h:
5133         * undo_funcs.C:
5134         * text2.C: more paint cleanups
5135
5136         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5137
5138         * rowpainter.h:
5139         * rowpainter.C: remove "smart" background painting code
5140
5141 2003-03-16  John Levon  <levon@movementarian.org>
5142
5143         * lyxtext.h:
5144         * text.C:
5145         * text2.C:
5146         * text3.C: add helper functions for setting refresh_row/y
5147
5148 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5149
5150         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5151         newline inset which *can* get inserted in the pass_thru layouts.
5152         This is primarily for literate documents.
5153
5154 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5155
5156         * buffer.C: increment LYX_FORMAT to 223
5157
5158 2003-03-14 André Pönitz <poenitz@gmx.net>
5159
5160         * textclass.h: prepare for environment handling, ws changes
5161         * lyxlayout.C: read latexheader and latexfooter tags
5162
5163 2003-03-14  John Levon  <levon@movementarian.org>
5164
5165         * text2.C: rewrite ::status() a bit
5166
5167 2003-03-13  John Levon  <levon@movementarian.org>
5168
5169         * lyxtext.h: add some docs
5170
5171 2003-03-13  John Levon  <levon@movementarian.org>
5172
5173         * lyxtext.h:
5174         * text.C:
5175         * text2.C:
5176         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5177
5178 2003-03-13  John Levon  <levon@movementarian.org>
5179
5180         * text3.C: fix appendix redrawing
5181
5182 2003-03-13  John Levon  <levon@movementarian.org>
5183
5184         * text.C (setHeightOfRow):
5185         * rowpainter.h:
5186         * rowpainter.C: make appendix mark have the text
5187           "Appendix" so the user knows what it is
5188
5189         * LColor.h:
5190         * LColor.C: s/appendixline/appendix/ from above
5191
5192 2003-03-13  John Levon  <levon@movementarian.org>
5193
5194         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5195
5196         * text.C: fix a getChar(pos) bug properly
5197
5198 2003-03-13  Angus Leeming  <leeming@lyx.org>
5199
5200         * commandtags.h:
5201         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5202         Probably only temporary. Let's see how things pan out.
5203
5204         * BufferView.C (unlockInset):
5205         * BufferView_pimpl.C (fitCursor):
5206         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5207
5208         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5209         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5210
5211         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5212         new functions that convert ParagraphParameters to and from a string.
5213
5214         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5215         BufferView::Pimpl's dispatch.
5216         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5217
5218 2003-03-13 André Pönitz <poenitz@gmx.net>
5219
5220         * lyxfunc.C:
5221         * text3.C:
5222         * factory.C: make it aware of InsetEnv
5223
5224 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * text2.C (setCursor): never ask for one past last
5227         (setCursor): add some debugging messages.
5228
5229         * text.C (singleWidth): never ask for one past last
5230         (singleWidth): ditto
5231         (leftMargin): ditto
5232         (rightMargin): ditto
5233         (rowBreakPoint): ditto
5234         (setHeightOfRow): ditto
5235         (prepareToPrint): ditto
5236
5237         * rowpainter.C (paintBackground): never ask for one past last
5238         (paintText): never ask for one past last
5239
5240         * paragraph_pimpl.C (getChar): make the assert stricter, never
5241         allow the one past last pos to be taken
5242
5243         * paragraph.C (getChar): ws changes only
5244
5245         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5246         (numberOfSeparators): ditto
5247         (numberOfHfills): ditto
5248
5249 2003-03-12  John Levon  <levon@movementarian.org>
5250
5251         * author.h:
5252         * author.C:
5253         * bufferparams.h:
5254         * bufferparams.C:
5255         * paragraph_funcs.C: fix per-buffer authorlists
5256
5257 2003-03-12  John Levon  <levon@movementarian.org>
5258
5259         * text.C: fix newline in right address
5260
5261 2003-03-12  Angus Leeming  <leeming@lyx.org>
5262
5263         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5264         duplicate those in LyXFunc::dispatch.
5265
5266         * commandtags.h:
5267         * LyXAction.C:
5268         * ToolbarDefaults.C:
5269         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5270         Add LFUN_FONTFREE_UPDATE.
5271
5272         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5273         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5274
5275         * bufferview_func.[Ch]: several new functions to facilliate
5276         transfer of data to and from the character dialog.
5277
5278 2003-03-12  John Levon  <levon@movementarian.org>
5279
5280         * buffer.C:
5281         * paragraph.h:
5282         * paragraph.C:
5283         * paragraph_funcs.C:
5284         * paragraph_pimpl.C:
5285         * sgml.C:
5286         * tabular.C:
5287         * text.C:
5288         * text3.C: remove META_NEWLINE in favour of an inset
5289
5290         * rowpainter.h:
5291         * rowpainter.C: remove paintNewline (done by inset)
5292
5293 2003-03-12  John Levon  <levon@movementarian.org>
5294
5295         * paragraph_pimpl.C: complain about bad getChar()s
5296         for a while at least
5297
5298 2003-03-12  John Levon  <levon@movementarian.org>
5299
5300         * buffer.h:
5301         * buffer.C: move paragraph read into a separate function,
5302         a little renaming to reflect that.
5303
5304         * bufferparams.h:
5305         * bufferparams.C: remove the author_ids map, not necessary now
5306
5307         * factory.h:
5308         * factory.C: moved Buffer::readInset to here
5309
5310         * paragraph_funcs.h:
5311         * paragraph_funcs.C: readParagraph free function moved from
5312         buffer.C
5313
5314         * tabular.C: name change
5315
5316 2003-03-12  John Levon  <levon@movementarian.org>
5317
5318         * buffer.C:
5319         * ParagraphParameters.C: move par params input to
5320         a read() method
5321
5322         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5323         behave like a normal read from the stream wrt reading
5324         a line vs. a \\token
5325
5326 2003-03-12  John Levon  <levon@movementarian.org>
5327
5328         * paragraph.C:
5329         * ParagraphParameters.h:
5330         * ParagraphParameters.C: move output code to a
5331         ::write() method
5332
5333 2003-03-12  John Levon  <levon@movementarian.org>
5334
5335         * BufferView.C (insertLyXFile):
5336         * buffer.h:
5337         * buffer.C:
5338         * tabular.C: use a parlist iterator for creating the
5339           document.
5340
5341 2003-03-12  John Levon  <levon@movementarian.org>
5342
5343         * buffer.C: make current_change static local not
5344           static file-scope
5345
5346 2003-03-12  John Levon  <levon@movementarian.org>
5347
5348         * buffer.C: fix insertStringAsLines for change tracking
5349
5350 2003-03-12  John Levon  <levon@movementarian.org>
5351
5352         * BufferView.C:
5353         * tabular.C:
5354         * buffer.h:
5355         * buffer.C:
5356         * bufferparams.h:
5357         * bufferparams.C: move author list into params. Rename some
5358           functions. Move the header reading into a separate token
5359           loop. Move the header token reading into BufferParams.
5360
5361 2003-03-12  John Levon  <levon@movementarian.org>
5362
5363         * changes.C: put debug inside lyxerr.debugging() checks
5364
5365 2003-03-11 André Pönitz <poenitz@gmx.net>
5366
5367         * factory.C: make it aware of InsetHFill
5368
5369 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5370
5371         * buffer.C (latexParagraphs): move function from here...
5372         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5373         args.
5374
5375 2003-03-10  Angus Leeming  <leeming@lyx.org>
5376
5377         * LyXAction.C (init): fix bug in poplating array with multiple entries
5378         with the same LFUN (spotted by JMarc).
5379
5380 2003-03-10  John Levon  <levon@movementarian.org>
5381
5382         * text.C:
5383         * text2.C: move getColumnNearX() near its
5384         only call site
5385
5386 2003-03-10  John Levon  <levon@movementarian.org>
5387
5388         * text.C: fix break before a minipage
5389
5390 2003-03-10  John Levon  <levon@movementarian.org>
5391
5392         * text.C: fix the last commit
5393
5394 2003-03-09  John Levon  <levon@movementarian.org>
5395
5396         * lyxtext.h:
5397         * text.C:
5398         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5399         bug 365 (don't break before insets unless needed). Don't
5400         return a value > last under any circumstances.
5401
5402 2003-03-09  Angus Leeming  <leeming@lyx.org>
5403
5404         * BufferView_pimpl.C (trackChanges, dispatch): call
5405         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5406
5407 2003-03-09  Angus Leeming  <leeming@lyx.org>
5408
5409         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5410         than Dialogs::showAboutlyx().
5411
5412 2003-03-09  Angus Leeming  <leeming@lyx.org>
5413
5414         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5415         than Dialogs::showTabularCreate().
5416
5417 2003-03-09  John Levon  <levon@movementarian.org>
5418
5419         * lyxtext.h:
5420         * text.C:
5421         * text2.C: 3rd arg to nextBreakPoint was always the same.
5422           Use references.
5423
5424 2003-03-08  John Levon  <levon@movementarian.org>
5425
5426         * lyxrow.C:
5427         * paragraph.C:
5428         * paragraph.h:
5429         * rowpainter.C:
5430         * text.C:
5431         * text2.C: Remove the "main" bit from the "main body"
5432           notion.
5433
5434 2003-03-08  John Levon  <levon@movementarian.org>
5435
5436         * text.C (leftMargin): The left margin of an empty
5437         manual label paragraph should not include the label width
5438         string length.
5439
5440         * text.C (prepareToPrint): don't attempt to measure hfills
5441         for empty manual label paragraphs - the answer should be 0
5442
5443 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * CutAndPaste.C: remove commented code and reindent.
5446
5447 2003-03-08  John Levon  <levon@movementarian.org>
5448
5449         * lyxfunc.h:
5450         * lyxfunc.C: move reloadBuffer()
5451
5452         * BufferView.h:
5453         * BufferView.C: to here
5454
5455         * lyxvc.C: add comment
5456
5457         * vc-backend.h:
5458         * vc-backend.C: call bv->reload() to avoid
5459           getStatus() check on MENURELOAD
5460
5461 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5462
5463         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5464         to an old format .dep file.
5465
5466 2003-03-07  Angus Leeming  <leeming@lyx.org>
5467
5468         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5469         when the LFUN_MOUSE_RELEASE should have been handled by
5470         inset->localDispatch.
5471
5472 2003-03-07  Angus Leeming  <leeming@lyx.org>
5473
5474         * BufferView_pimpl.C (dispatch):
5475         * LyXAction.C (init):
5476         * ToolbarDefaults.C (init):
5477         * commandtags.h:
5478         * lyxfunc.C (getStatus):
5479         remove LFUN_INSET_GRAPHICS.
5480
5481         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5482
5483 2003-03-07  Angus Leeming  <leeming@lyx.org>
5484
5485         * commandtags.h:
5486         * LyXAction.C (init):
5487         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5488
5489         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5490
5491         * commandtags.h:
5492         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5493
5494         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5495         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5496
5497 2003-03-07  Angus Leeming  <leeming@lyx.org>
5498
5499         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5500         remove "ert".
5501
5502 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * ParagraphList.C (front): new function
5505         (back): implement
5506
5507 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5508
5509         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5510         and top_row_offset_. removed var first_y.
5511         * text.C (top_y):
5512         * text2.C (LyXText, removeRow):
5513         * text3.C:
5514         * BufferView_pimpl.C:
5515         use these methods instead of using first_y
5516
5517 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * text2.C (pasteSelection): adjust for checkPastePossible
5520
5521         * CutAndPaste.C: remove Paragraph * buf and replace with
5522         ParagraphList paragraphs.
5523         (DeleteBuffer): delete
5524         (cutSelection): change the tc type to textclass_type
5525         (copySelection): change the tc type to textclass_type
5526         (copySelection): adjust for ParagraphList
5527         (pasteSelection): change the tc type to textclass_type
5528         (pasteSelection): adjust for Paragraphlist
5529         (nrOfParagraphs): simplify for ParagraphList
5530         (checkPastePossible): simplify for ParagraphList
5531         (checkPastePossible): remove unused arg
5532
5533         * ParagraphList.C (insert): handle the case where there are no
5534         paragraphs yet.
5535
5536         * CutAndPaste.h: make CutAndPaste a namespace.
5537
5538         * text3.C (dispatch): adjust
5539
5540         * text.C (breakParagraph): add a ParagraphList as arg
5541
5542         * paragraph_funcs.C (breakParagraph): change to take a
5543         BufferParams and a ParagraphList as args.
5544         (breakParagraphConservative): ditto
5545         (mergeParagraph): ditto
5546         (TeXDeeper): add a ParagraphList arg
5547         (TeXEnvironment): ditto
5548         (TeXOnePar): ditto
5549
5550         * buffer.C (readLyXformat2): adjust
5551         (insertStringAsLines): adjust
5552         (latexParagraphs): adjust
5553
5554         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5555         (cutSelection): adjust
5556         (pasteSelection): adjust
5557
5558         * BufferView_pimpl.C (insertInset): adjust
5559
5560 2003-03-05  Angus Leeming  <leeming@lyx.org>
5561
5562         * commandtags.h:
5563         * LyXAction.C (init):
5564         * BufferView_pimpl.C (dispatch):
5565         * lyxfunc.C (getStatus):
5566         remove LFUN_CHILD_INSERT.
5567
5568         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5569
5570 2003-03-05  Angus Leeming  <leeming@lyx.org>
5571
5572         * commandtags.h:
5573         * LyXAction.C (init):
5574         * src/factory.C (createInset):
5575         * lyxfunc.C (getStatus):
5576         * text3.C (dispatch):
5577         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5578
5579         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5580
5581 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * ParagraphList.C (insert): handle insert right before end()
5584         (erase): fix cases where it can be first or last paragraph.
5585
5586 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5589         Paragraph::next and Paragraph::previous
5590         (TeXOnePar): ditto
5591
5592         * text.C (breakParagraph): adjust
5593
5594         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5595         BufferParams& as arg.
5596         (breakParagraph): use ParagraphList::insert
5597         (breakParagraphConservative): take a Buffer* instead of a
5598         BufferParams& as arg.
5599         (breakParagraphConservative): use ParagraphList::insert.
5600
5601         * buffer.C (insertStringAsLines): un-const it
5602         (insertStringAsLines): adjust
5603
5604         * ParagraphList.C (insert): new function
5605
5606         * CutAndPaste.C (pasteSelection): adjust
5607
5608         * text.C (backspace): adjust
5609
5610         * tabular.C (SetMultiColumn): adjust
5611
5612         * CutAndPaste.C (cutSelection): adjust
5613         (pasteSelection): adjust
5614
5615         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5616         Buffer const * as arg
5617
5618         * ParagraphList.C (erase): new function
5619         * paragraph_funcs.C (mergeParagraph): use it
5620         (mergeParagraph): make it take a Buffer* instead of a
5621         BufferParams* as arg
5622
5623         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5624         as arg
5625         (breakParagraphConservative): ditto
5626
5627         * paragraph.h: remove the breakParagraph friend
5628
5629         * paragraph.C (eraseIntern): new function
5630         (setChange): new function
5631
5632         * paragraph_funcs.C (mergeParagraph): make it take a
5633         ParagraphList::iterator instead of a Paragraph *, adjust
5634         accordingly.
5635
5636         * paragraph.h: move an #endif so that the change tracking stuff
5637         also works in the NO_NEXT case.
5638
5639 2003-03-04  Angus Leeming  <leeming@lyx.org>
5640
5641         * commandtags.h:
5642         * LyXAction.C: new LFUN_INSET_MODIFY.
5643
5644         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5645         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5646
5647 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * several files: ws changes only
5650
5651         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5652         (TeXEnvironment): ditto
5653         (TeXDeeper): ditto
5654
5655         * buffer.C (makeLaTeXFile): adjust
5656         (latexParagraphs): make it take ParagraphList::iterator as args
5657
5658 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * buffer.C (latexParagraphs): adjust
5661
5662         * paragraph.C (TeXOnePar): move function...
5663         (optArgInset): move function...
5664         (TeXEnvironment): move function...
5665         * paragraph_pimpl.C (TeXDeeper): move function...
5666         * paragraph_funcs.C: ...here
5667
5668         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5669
5670 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * buffer.C (readInset): remove compability code for old Figure and
5673         InsetInfo insets
5674
5675 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * buffer.C: ws changes
5678         (readInset):
5679
5680         * BufferView_pimpl.C: ditto
5681         * author.C: ditto
5682         * buffer.h: ditto
5683         * bufferlist.h: ditto
5684         * changes.h: ditto
5685         * lyxfunc.C: ditto
5686
5687 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5688
5689         * converter.[Ch]: split into itself +
5690         * graph.[Ch]
5691         * format.[Ch]
5692         * Makefile.am: += graph.[Ch] + format.[Ch]
5693         * MenuBackend.C
5694         * buffer.C
5695         * exporter.C
5696         * importer.C
5697         * lyx_main.C
5698         * lyxfunc.C
5699         * lyxrc.C: added #include "format.h"
5700
5701 2003-02-27  Angus Leeming  <leeming@lyx.org>
5702
5703         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5704           a label.
5705
5706         * factory.C (createInset): add "label" to the factory.
5707
5708         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5709           string and do no more.
5710
5711 2003-02-27  Angus Leeming  <leeming@lyx.org>
5712
5713         * commandtags.h:
5714         * LyXAction.C (init):
5715         * factory.C (createInset):
5716         * BufferView_pimpl.C (dispatch):
5717           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5718
5719         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5720
5721         * lyxfunc.C (dispatch):
5722         * text3.C (dispatch): pass name to params2string.
5723
5724 2003-02-26  Angus Leeming  <leeming@lyx.org>
5725
5726         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5727           blocks together.
5728           Rearrange the ~includes. Strip out the unnecessary ones.
5729
5730         * factory.C (createInset): reformat.
5731           create new insets for the various LFUN_XYZ_APPLY lfuns.
5732
5733 2003-02-26  John Levon  <levon@movementarian.org>
5734
5735         * lyxrow.h:
5736         * lyxrow.C: add isParStart,isParEnd helpers
5737
5738         * paragraph.h: make isInserted/DeletedText take refs
5739
5740         * paragraph_funcs.h:
5741         * paragraph_funcs.C: remove #if 0'd code
5742
5743         * lyxtext.h:
5744         * text3.C:
5745         * text2.C:
5746         * text.C: use lyxrow helpers above.
5747           Move draw and paint routines to RowPainter.
5748           Make several methods use refs not pointers.
5749           Make backgroundColor() const.
5750           Add markChangeInDraw(), isInInset().
5751           Merge changeRegionCase into changeCase.
5752           Make workWidth() shouldn't-happen code into an Assert.
5753
5754         * rowpainter.h:
5755         * rowpainter.C: new class for painting a row.
5756
5757         * vspace.h:
5758         * vspace.C: make inPixels take a ref
5759
5760 2003-02-26  Angus Leeming  <leeming@lyx.org>
5761
5762         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5763         LFUN_REF_APPLY.
5764
5765 2003-02-25  John Levon  <levon@movementarian.org>
5766
5767         * ispell.C: give the forked command a more accurate name
5768
5769 2003-02-22  John Levon  <levon@movementarian.org>
5770
5771         * toc.h:
5772         * toc.C: make TocItem store an id not a Paragraph *
5773           (bug #913)
5774
5775 2003-02-21  Angus Leeming  <leeming@lyx.org>
5776
5777         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5778           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5779           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5780           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5781           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5782           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5783
5784         * BufferView_pimpl.C (dispatch):
5785         * LyXAction.C (init):
5786         * factory.C (createInset):
5787         * lyxfunc.C (getStatus, dispatch):
5788         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5789
5790 2003-02-21  Angus Leeming  <leeming@lyx.org>
5791
5792         * BufferView_pimpl.C (MenuInsertLyXFile):
5793         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5794         * lyxfunc.C (menuNew, open, doImport):
5795           no longer pass a LyXView & to fileDlg.
5796
5797 2003-02-21  Angus Leeming  <leeming@lyx.org>
5798
5799         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5800         * LyXAction.C: change, BIBKEY to BIBITEM.
5801         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5802         Change InsetBibKey to InsetBibitem.
5803         Change BIBKEY_CODE to BIBITEM_CODE.
5804         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5805         * factory.C: replace insetbib.h with insetbibitem.h.
5806         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5807         * paragraph.C: replace insetbib.h with insetbibitem.h.
5808         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5809         Change bibkey() to bibitem().
5810         * text.C: remove insetbib.h.
5811         * text2.C: replace insetbib.h with insetbibitem.h.
5812         change bibkey() to bibitem().
5813         * text3.C: remove insetbib.h.
5814         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5815
5816 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5817
5818         * lyxrc.C (output): enclose user email in quotes (in case there are
5819         several words)
5820
5821 2003-02-18  John Levon  <levon@movementarian.org>
5822
5823         * buffer.h: add std::
5824
5825 2003-02-17  John Levon  <levon@movementarian.org>
5826
5827         * SpellBase.h:
5828         * ispell.h:
5829         * ispell.C:
5830         * pspell.h:
5831         * pspell.C: reworking. Especially in ispell, a large
5832           number of clean ups and bug fixes.
5833
5834         * lyxfunc.C: fix revert to behave sensibly
5835
5836 2003-02-17 André Pönitz <poenitz@gmx.net>
5837
5838         * LyXAction.C:
5839         * commandtags.h: new LFUN_INSERT_BIBKEY
5840
5841         * layout.h:
5842         * lyxlayout.C:
5843         * buffer.C:
5844         * factory.C:
5845         * text.C:
5846         * text2.C:
5847         * text3.C:
5848         * paragraph.[Ch]:
5849         * paragraph_func.C: remove special bibkey handling
5850
5851 2003-02-17  John Levon  <levon@movementarian.org>
5852
5853         * text.C (Delete): fix case where delete at the end of
5854           the very first paragraph would not merge the pars
5855
5856 2003-02-17  John Levon  <levon@movementarian.org>
5857
5858         * lyxrow.C: fix lastPrintablePos()
5859
5860 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5861
5862         * bufferparams.C (writeLaTeX): add a std:here
5863
5864         * buffer.C: and remove a using directive there
5865
5866 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5867
5868         * buffer.C (makeLaTeXFile): move the code that generates the
5869           preamble...
5870
5871         * bufferparams.C (writeLaTeX): ... in this new method
5872
5873         * LaTeXFeatures.C (getEncodingSet): make const
5874           (getLanguages): make const
5875
5876         * MenuBackend.C (binding): returns the binding associated to this
5877           action
5878           (add): sets the status of each item by calling getStatus. Adds
5879           some intelligence.
5880           (read): add support for OptSubMenu
5881           (expand): remove extra separator at the end of expanded menu
5882
5883 2003-02-15  John Levon  <levon@movementarian.org>
5884
5885         * BufferView.C:
5886         * BufferView_pimpl.C:
5887         * bufferlist.h:
5888         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5889           inset code that had no actual effect. Remove unneeded status
5890           code.
5891
5892 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5893
5894         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5895           in preamble
5896
5897 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5898
5899         * text.C (drawLengthMarker): also draw an arrow marker for
5900           symbolic lengths (medskip...)
5901
5902 2003-02-14  John Levon  <levon@movementarian.org>
5903
5904         * tabular.h:
5905         * tabular.C: better method names
5906
5907 2003-02-14  John Levon  <levon@movementarian.org>
5908
5909         * BufferView_pimpl.C:
5910         * bufferlist.C:
5911         * buffer.C:
5912         * converter.C:
5913         * lyx_cb.C:
5914         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5915           it's a more accurate name. Remove some pointless uses.
5916
5917 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5918
5919         * text2.C (LyXText): change order of initilizers to shut off
5920           warnings
5921
5922 2003-02-14  John Levon  <levon@movementarian.org>
5923
5924         * buffer.C: use ParIterator for getParFromID()
5925
5926         * paragraph.h:
5927         * paragraph.C:
5928         * paragraph_pimpl.h:
5929         * paragraph_pimpl.C: remove unused getParFromID()
5930
5931 2003-02-14  John Levon  <levon@movementarian.org>
5932
5933         * buffer.C: remove some very old #if 0'd parse code
5934
5935 2003-02-13  John Levon  <levon@movementarian.org>
5936
5937         * text.h:
5938         * text.C:
5939         * text2.C: move hfillExpansion(), numberOfSeparators(),
5940           rowLast(), rowLastPrintable(), numberofHfills(),
5941           numberOfLabelHfills() ...
5942
5943         * lyxrow.h:
5944         * lyxrow.C: ... to member functions here.
5945
5946         * paragraph.h:
5947         * paragraph.C:
5948         * lyxtext.h:
5949         * text.C: remove LyXText::beginningOfMainBody(), and call
5950           p->beginningOfMainBody() directly. Move the check for
5951           LABEL_MANUAL into the latter.
5952
5953         * text.h:
5954         * text.C:
5955         * text2.C:
5956         * vspace.C:
5957         * BufferView.h:
5958         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5959
5960         * text.h:
5961         * text.C:
5962         * text2.C:
5963         * text3.C:
5964         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5965           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5966
5967 2003-02-13  John Levon  <levon@movementarian.org>
5968
5969         * CutAndPaste.C: remove debug
5970
5971 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5972
5973         * paragraph.C (asString): remove two unused variables
5974
5975         * lyxtextclass.C (readTitleType):
5976           (Read):
5977           (LyXTextClass): handle new members titletype_ and titlename_
5978
5979         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5980
5981 2003-02-09  John Levon  <levon@movementarian.org>
5982
5983         * buffer.h:
5984         * buffer.C: replace hand-coded list with a map for the dep clean
5985
5986 2003-02-08  John Levon  <levon@movementarian.org>
5987
5988         * LaTeX.C: consolidate code into showRunMessage() helper
5989
5990 2003-02-08  John Levon  <levon@movementarian.org>
5991
5992         * lyxfind.C:
5993         * lyxtext.h:
5994         * text2.C:
5995         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5996           and pass the size in explicitly
5997
5998         * BufferView_pimpl.h:
5999         * BufferView_pimpl.C:
6000         * BufferView.h:
6001         * BufferView.C: add getCurrentChange()
6002
6003         * BufferView_pimpl.h:
6004         * BufferView_pimpl.C: handle change lfuns
6005
6006         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6007           for changes. Mark pasted paragraphs as new.
6008
6009         * support/lyxtime.h:
6010         * support/lyxtime.C:
6011         * DepTable.C: abstract time_t as lyx::time_type
6012
6013         * LColor.h:
6014         * LColor.C: add colours for new text, deleted text, changebars
6015
6016         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6017           package use "usenames" option.
6018
6019         * commandtags.h:
6020         * lyxfunc.C:
6021         * LyXAction.C: add change lfuns
6022
6023         * Makefile.am:
6024         * author.h:
6025         * author.C: author handling
6026
6027         * buffer.h:
6028         * buffer.C: add a per-buffer author list, with first entry as
6029           current author. Handle new .lyx tokens for change tracking. Output
6030           author list to .lyx file. Output dvipost stuff to .tex preamble.
6031           Bump lyx format to 222.
6032
6033         * bufferlist.h:
6034         * bufferlist.C: add setCurrentAuthor() to reset current author details
6035           in all buffers.
6036
6037         * bufferparams.h:
6038         * bufferparams.C: add param for tracking
6039
6040         * bufferview_funcs.C: output change info in minibuffer
6041
6042         * Makefile.am:
6043         * changes.h:
6044         * changes.C: add change-tracking structure
6045
6046         * debug.h:
6047         * debug.C: add CHANGES debug flag
6048
6049         * lyxfind.h:
6050         * lyxfind.C: add code for finding the next change piece
6051
6052         * lyxrc.h:
6053         * lyxrc.C: add user_name and user_email
6054
6055         * lyxrow.h:
6056         * lyxrow.C: add a metric for the top of the text line
6057
6058         * lyxtext.h:
6059         * text.C: implement accept/rejectChange()
6060
6061         * lyxtext.h:
6062         * text.C: paint changebars. Paint new/deleted text in the chosen
6063         colours. Strike through deleted text.
6064
6065         * paragraph.h:
6066         * paragraph.C:
6067         * paragraph_pimpl.h:
6068         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6069           in the current change to the insert functions. Rework erase to
6070           mark text as deleted, adding an eraseIntern() and a range-based
6071           erase(). Implement per-paragraph change lookup and
6072           accept/reject.
6073
6074         * paragraph_funcs.C: Fixup paste for change tracking.
6075
6076         * tabular.C: mark added row/columns as new.
6077
6078         * text.C: fix rowLast() to never return -1. Don't allow
6079           spellchecking of deleted text. Track transpose changes. Don't
6080           allow paragraph break or merge where appropriate.
6081
6082         * text2.C: leave cursor at end of selection after a cut.
6083
6084 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6085
6086         * text.C (getLengthMarkerHeight):
6087         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6088         visible on screen too.
6089
6090 2003-02-07  John Levon  <levon@movementarian.org>
6091
6092         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6093
6094 2003-02-05  Angus Leeming  <leeming@lyx.org>
6095
6096         * lyxserver.C (read_ready): revert my patch of 11 September last year
6097         as it sends PC cpu through the roof. Presumably this means that
6098         the lyxserver will no longer run on an Alpha...
6099
6100 2003-01-30  Angus Leeming  <leeming@lyx.org>
6101
6102         * factory.C (createInset): create an InsetCommandParam of type "index"
6103         and use it to 'do the right thing'.
6104
6105         * text2.C (getStringToIndex): ensure that cursor position is always
6106         reset to the reset_cursor position.
6107
6108 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6109
6110         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6111         disabled.
6112
6113 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6114
6115         * bufferview.C:
6116         * lyxcb.C:
6117         * lyxfunc.C: Output messages with identical spelling, punctuation,
6118         and spaces
6119
6120 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6121
6122         * MenuBackend.C (expandFormats): List only viewable export formats
6123         in "View" menu
6124
6125         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6126         message
6127
6128         * lyxfunc.C (getStatus): Make sure that formats other than
6129         "fax" can also be disabled
6130
6131 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6132
6133         * text3.C (dispatch): put the lfuns that insert insets in 3
6134         groups, and call doInsertInset with appropriate arguments.
6135         (doInsertInset): new function, that creates an inset and inserts
6136         it according to some boolean parameters.
6137
6138 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * buffer.C (readFile): remember to pass on 'par' when calling
6141         readFile recursively.
6142
6143 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6144
6145         * MenuBackend.C (expandFormats): add "..." to import formats.
6146
6147 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6148
6149         * paragraph.C (asString): Remove XForms RTL hacks.
6150
6151 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6152         * buffer.C: fix typo
6153
6154 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * Makefile.am (LIBS): delete var
6157         (lyx_LDADD): add @LIBS@ here instead.
6158
6159 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6160
6161         * Clarify the meaning of "wheel mouse jump"
6162
6163 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6164
6165         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6166         tabular in a float
6167
6168 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6169
6170         * importer.C (Loaders): do not preallocate 3 elements in the
6171         vector, since one ends up with 6 elements otherwise
6172
6173 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6174
6175         * DepTable.C (write): write the file name as last element of the
6176         .dep file (because it may contain spaces)
6177         (read): read info in the right order
6178
6179 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6180
6181         * paragraph_pimpl.C (simpleTeXBlanks):
6182         (simpleTeXSpecialChars):
6183         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6184
6185         * tabular.C (latex): add some missing case statements. Reindent.
6186
6187         * MenuBackend.C (expandToc): remove unused variable.
6188
6189 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6190
6191         * LColor.C:
6192         * LaTeX.C:
6193         * LyXAction.C:
6194         * MenuBackend.C:
6195         * buffer.C:
6196         * exporter.C:
6197         * lyxfunc.C:
6198         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6199         and the like.
6200
6201 2003-01-05  John Levon  <levon@movementarian.org>
6202
6203         * BufferView.h:
6204         * BufferView.C: add getEncoding()
6205
6206         * kbsequence.h:
6207         * kbsequence.C: do not store last keypress
6208
6209         * lyxfunc.h:
6210         * lyxfunc.C: store last keypress here instead. Pass encoding
6211           to getISOEncoded()
6212
6213 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6214
6215         * lyx_main.C (init): remove annoying error message when following
6216         symbolic links (bug #780)
6217
6218 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6219
6220         * text.C (insertChar):
6221         * lyxrc.C (getDescription): remove extra spaces
6222
6223 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6224
6225         * lyxrc.C (getDescription): remove extra spaces
6226
6227 2002-12-20  John Levon  <levon@movementarian.org>
6228
6229         * text3.C: hack fix for page up/down across tall rows
6230
6231 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6232
6233         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6234         not been invoked
6235
6236 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6239         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6240         thesaurus is not compiled in
6241
6242 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6243
6244         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6245
6246 2002-12-16  Angus Leeming  <leeming@lyx.org>
6247
6248         * lyxrc.[Ch]:
6249         * lyx_main.C (init): remove override_x_deadkeys stuff.
6250
6251 2002-12-12  John Levon  <levon@movementarian.org>
6252
6253         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6254           insert. Only remove shift modifier under strict
6255           circumstances.
6256
6257 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * MenuBackend.C (expandToc): fix crash.
6260
6261 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * MenuBackend.C (expandToc): gettext on float names.
6264
6265 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6266
6267         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6268         implement bool empty() [bug 490]
6269
6270 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6273
6274 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6275
6276         * several files: ws changes
6277
6278 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * text2.C (setCounter): clean up a bit, use boost.format.
6281         (updateCounters): initialize par upon declaration.
6282
6283         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6284         if the layout exists. We do not just store the layout any more.
6285         (SwitchLayoutsBetweenClasses): use boost.format
6286
6287 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6288
6289         * converter.C (convert): if from and to files are the same, use a
6290         temporary files as intermediary
6291
6292 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6293
6294         * commandtags.h:
6295         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6296
6297 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6298
6299         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6300
6301 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * tabular.C (asciiPrintCell): use string(size, char) instead of
6304         explicit loop.
6305
6306         * sgml.C (openTag): fix order of arguments to string constructor
6307         (closeTag): ditto
6308
6309         * lyxfunc.C (dispatch): use boost.format
6310
6311         * lots of files: change "c" -> 'c'
6312
6313 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6314
6315         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6316
6317 2002-11-25  Angus Leeming  <leeming@lyx.org>
6318
6319         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6320
6321         * lyx_main.C (init): compile fix.
6322
6323 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * lyx_cb.C (start): boost.formatify
6326         do not include <iostream>
6327
6328         * lengthcommon.C: ws only
6329
6330         * boost-inst.C,BoostFormat.h: add more explict instantations
6331
6332 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * lots of files: handle USE_BOOST_FORMAT
6335
6336 2002-11-21  John Levon  <levon@movementarian.org>
6337
6338         * pspell.C: fix compile
6339
6340 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6341
6342         * lyxfunc.C (dispatch): use boost::format
6343         (open): ditto
6344         (doImport): ditto
6345
6346         * lyxfont.C (stateText): use boost::format
6347
6348         * lyx_main.C (LyX): use boost::format
6349         (init): ditto
6350         (queryUserLyXDir): ditto
6351         (readRcFile): ditto
6352         (parse_dbg): ditto
6353         (typedef boost::function): use the recommened syntax.
6354
6355         * importer.C (Import): use boost::format
6356
6357         * debug.C (showLevel): use boost::format
6358
6359         * converter.C (view): use boost::format
6360         (convert): ditto
6361         (move): ditto
6362         (scanLog): ditto
6363
6364         * bufferview_funcs.C (currentState): use boost::format
6365
6366         * bufferlist.C (emergencyWrite): use boost::format
6367
6368         * buffer.C (readLyXformat2): use boost::format
6369         (parseSingleLyXformat2Token): ditto
6370
6371         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6372
6373         * LaTeX.C (run): use boost::format
6374
6375         * Chktex.C (scanLogFile): use boost::format
6376
6377         * BufferView_pimpl.C (savePosition): use boost::format
6378         (restorePosition): ditto
6379         (MenuInsertLyXFile): ditto
6380
6381         * BoostFormat.h: help file for explicit instation.
6382
6383 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6384
6385         * tabular.C (latex): Support for block alignment in fixed width
6386         columns.
6387
6388 2002-11-17  John Levon  <levon@movementarian.org>
6389
6390         * BufferView_pimpl.C:
6391         * lyx_cb.C:
6392         * lyxfunc.C: split filedialog into open/save
6393
6394 2002-11-08  Juergen Vigna  <jug@sad.it>
6395
6396         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6397         by my last patch (hopefully).
6398
6399 2002-11-08  John Levon  <levon@movementarian.org>
6400
6401         * iterators.h:
6402         * iterators.C:
6403         * buffer.h:
6404         * buffer.C:
6405         * paragraph.h:
6406         * paragraph.C:
6407         * toc.h:
6408         * toc.C: ParConstIterator, and use it (from Lars)
6409
6410 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6411
6412         * lyxtextclass.[Ch]: revise and add doxygen comments
6413
6414 2002-11-07  John Levon  <levon@movementarian.org>
6415
6416         * text.C: fix progress value for spellchecker
6417
6418         * toc.C: fix navigate menu for insetwrap inside minipage
6419
6420         * paragraph_funcs.C: added FIXME for suspect code
6421
6422 2002-11-07  John Levon  <levon@movementarian.org>
6423
6424         * BufferView_pimpl.C: fix redrawing of insets
6425           on buffer switch
6426
6427 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6428
6429         * text2.C (updateCounters): fix bug 668
6430
6431 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6432
6433         * text3.C (dispatch): Do not make the buffer dirty when moving the
6434         cursor.
6435
6436 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * vc-backend.C: STRCONV
6439         (scanMaster): ditto
6440
6441         * text2.C (setCounter): STRCONV
6442
6443         * paragraph.C (asString): STRCONV
6444
6445         * lyxlength.C (asString): STRCONV
6446         (asLatexString): ditto
6447
6448         * lyxgluelength.C (asString): STRCONV
6449         (asLatexString): ditto
6450
6451         * lyxfunc.C (dispatch): STRCONV
6452         (open): ditto
6453
6454         * lyxfont.C (stateText): STRCONV
6455
6456         * importer.C (Import): STRCONV
6457
6458         * counters.C (labelItem): STRCONV
6459         (numberLabel): ditto
6460         (numberLabel): remove unused ostringstream o
6461
6462         * chset.C: STRCONV
6463         (loadFile): ditto
6464
6465         * bufferview_funcs.C (currentState): STRCONV
6466
6467         * buffer.C (readFile): STRCONV
6468         (asciiParagraph): ditto
6469         (makeLaTeXFile): ditto
6470
6471         * Spacing.C (writeEnvirBegin): STRCONV
6472
6473         * LaTeXFeatures.C (getLanguages): STRCONV
6474         (getPackages): ditto
6475         (getMacros): ditto
6476         (getBabelOptions): ditto
6477         (getTClassPreamble): ditto
6478         (getLyXSGMLEntities): ditto
6479         (getIncludedFiles): ditto
6480
6481         * LaTeX.C: STRCONV
6482         (run): ditto
6483         (scanAuxFile): ditto
6484         (deplog): ditto
6485
6486         * LString.h: add the STRCONV macros
6487
6488         * BufferView_pimpl.C (savePosition): STRCONV
6489         (restorePosition): ditto
6490         (MenuInsertLyXFile): ditto
6491
6492         * vc-backend.C (scanMaster): change from submatch[...] to
6493         submatch.str(...)
6494
6495         * funcrequest.C: include config.h
6496
6497         * factory.C: include config.h
6498
6499         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6500
6501         * box.C: include config.h
6502
6503         * LaTeX.C (scanAuxFile): change from submatch[...] to
6504         submatch.str(...)
6505         (deplog): ditto
6506
6507 2002-10-25  Angus Leeming  <leeming@lyx.org>
6508
6509         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6510
6511         * ispell.[Ch] (setError): new method.
6512         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6513         Use setError() insetead of goto END.
6514
6515         * lyx_cb.C (AutoSave): move out child process into new class
6516         AutoSaveBuffer.
6517
6518 2002-10-30  John Levon  <levon@movementarian.org>
6519
6520         * text3.C: make start appendix undoable
6521
6522 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6523
6524         * lyxlength.C (inPixels): Fix returned value.
6525
6526         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6527         environment.
6528
6529 2002-10-24  Angus Leeming  <leeming@lyx.org>
6530
6531         * lyxgluelength.h: no need to forward declare BufferParams
6532         or BufferView, so don't.
6533
6534 2002-10-21  John Levon  <levon@movementarian.org>
6535
6536         * BufferView.C: menuUndo ->undo, redo
6537
6538         * BufferView.h: document, remove dead, make some methods private
6539
6540         * paragraph_funcs.h:
6541         * paragraph_funcs.C:
6542         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6543
6544         * buffer.h:
6545         * buffer.C:
6546         * sgml.h:
6547         * sgml.C: move sgml open/close tag into sgml.C
6548
6549         * bufferview_funcs.h: unused prototype
6550
6551         * lyxfunc.h:
6552         * lyxfunc.C: remove unused
6553
6554         * lyxtext.h:
6555         * text.C: remove unused
6556
6557 2002-10-21  John Levon  <levon@movementarian.org>
6558
6559         * BufferView.h:
6560         * BufferView.C:
6561         * BufferView_pimpl.h:
6562         * BufferView_pimpl.C: fix mouse wheel handling based on
6563           patch from Darren Freeman
6564
6565 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6566
6567         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6568
6569 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6570
6571         * lyxlength.C (inPixels): Fix hanfling of negative length.
6572         Fix LyXLength::MU case.
6573
6574 2002-10-16  John Levon  <levon@movementarian.org>
6575
6576         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6577
6578 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6579
6580         * converter.C (view): add support for $$i (file name) and $$p
6581         (file path) for the viewer command. If $$i is not specified, then
6582         it is appended to the command (for compatibility with old syntax)
6583
6584 2002-10-14  Juergen Vigna  <jug@sad.it>
6585
6586         * undo_funcs.C (textHandleUndo): alter the order in which the
6587         new undopar is added to the LyXText, as we have to set first
6588         the right prev/next and then add it as otherwise the rebuild of
6589         LyXText is not correct. Also reset the cursor to the right paragraph,
6590         with this IMO we could remove the hack in "redoParagraphs()".
6591
6592 2002-10-09  Angus Leeming  <leeming@lyx.org>
6593
6594         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6595         to turn off an optimisation if a new inset is to be inserted.
6596
6597 2002-10-11 André Pönitz <poenitz@gmx.net>
6598
6599         * lyxtext.h: make some functions public to allow access
6600         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6601
6602 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6603
6604         * text3.C (dispatch): when changing layout, avoid an infinite loop
6605         [bug #652]
6606
6607 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6608
6609         * lyxrc.C (read): treat a viewer or converter command of "none" as
6610         if it were empty.
6611
6612         * MenuBackend.C (expandFormats): for an update, also allow the
6613         formats that are not viewable
6614
6615         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6616         script if it is newer than the lyxrc.defaults in user directory
6617
6618 2002-10-07 André Pönitz <poenitz@gmx.net>
6619
6620         * text.C: Vitaly Lipatov's small i18n fix
6621
6622 2002-09-25  Angus Leeming  <leeming@lyx.org>
6623
6624         * ispell.h: doxygen fix.
6625
6626 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6627
6628         * buffer.h (readFile): Add a new argument to the method, to allow
6629         reading of old-format templates.
6630
6631 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6632
6633         * toc.C (getTocList): Get TOC from InsetWrap.
6634
6635 2002-09-16  John Levon  <levon@movementarian.org>
6636
6637         * lyxfunc.C: check tabular for cut/copy too
6638
6639 2002-09-12  John Levon  <levon@movementarian.org>
6640
6641         * LyXAction.C: tidy
6642
6643         * factory.h:
6644         * factory.C: add header
6645
6646         * paragraph_funcs.h:
6647         * paragraph_funcs.C: cleanup
6648
6649 2002-09-11  John Levon  <levon@movementarian.org>
6650
6651         * PrinterParams.h: odd/even default to true
6652
6653 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6654
6655         * PrinterParams.h: update printer parameters for new xforms dialog
6656
6657 2002-09-11  Angus Leeming  <leeming@lyx.org>
6658
6659         * lyxserver.C (read_ready): re-write to make it more transparent
6660         and to make it work in coherent fashion under Tru64 Unix.
6661
6662 2002-09-11  André Pönitz <poenitz@gmx.net>
6663
6664         * commandtags.h:
6665         * LyXAction.C:
6666         * text3.C: implement LFUN_WORDSEL
6667
6668 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6671         make floatlist_ a boost::shared_ptr<FloatList>
6672
6673         * lyxtextclass.C: include FloatList.h
6674         (LyXTextClass): initialize floatlist_
6675         (TextClassTags): add TC_NOFLOAT
6676         (Read): match "nofloat" to TC_NOFLOAT and use it.
6677         (readFloat): modify call to floatlist_
6678         (floats): ditto
6679         (floats): ditto
6680
6681         * FloatList.[Ch] (FloatList): remove commented out float
6682         initialization.
6683         (erase): new function
6684
6685 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6686
6687         * MenuBackend.C (expandToc): fix crash when there is no document
6688         open
6689
6690 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6691
6692         * many files: Add insetwrap.
6693
6694 2002-09-09  John Levon  <levon@movementarian.org>
6695
6696         * text2.C: remove confusing and awkward depth wraparound
6697
6698 2002-09-09  John Levon  <levon@movementarian.org>
6699
6700         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6701
6702         * buffer.h:
6703         * buffer.C: remove getIncludeonlyList()
6704
6705         * paragraph.C:
6706         * lyxfunc.C: remove headers
6707
6708 2002-09-09  Juergen Vigna  <jug@sad.it>
6709
6710         * text.C (getColumnNearX): fix form Michael this is most
6711         probably a cut&paste bug.
6712
6713 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6716
6717         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6718         references, ws changes.
6719
6720         * text2.C (init): update counters after init
6721         (insertParagraph): no need to set counter on idividual paragraphs.
6722         (setCounter): access the counters object in the textclass object
6723         on in the buffer object.
6724         (updateCounters): ditto
6725
6726         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6727         shared_ptr<Counters> to avoid loading counters.h in all
6728         compilation units.
6729         (LyXTextClass): initialize ctrs_
6730         (TextClassTags): add TC_COUNTER, and ...
6731         (Read): use it here.
6732         (CounterTags): new tags
6733         (readCounter): new function
6734         (counters): new funtion
6735         (defaultLayoutName): return a const reference
6736
6737         * counters.C (Counters): remove contructor
6738         (newCounter): remove a couple of unneeded statements.
6739         (newCounter): simplify a bit.
6740         (numberLabel): some small formatting changes.
6741
6742         * buffer.[Ch]: remove all traces of counters, move the Counters
6743         object to the LyXTextClass.
6744
6745 2002-09-06  Alain Castera  <castera@in2p3.fr>
6746
6747         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6748         package to set the horizontal alignment on fixed width columns.
6749
6750         * lyx_sty.C:
6751         * lyx_sty.h: added tabularnewline macro def.
6752
6753         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6754
6755 2002-09-06  John Levon  <levon@movementarian.org>
6756
6757         * LyXAction.C: tooltips for sub/superscript
6758
6759         * MenuBackend.C: a bit more verbose
6760
6761         * lyxfunc.C: tiny clean
6762
6763         * undo_funcs.C: document undo_frozen
6764
6765 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * counters.C (Counters): add missing algorithm counter.
6768
6769         * text2.C (setCounter): lookup the counter with layouts latexname
6770         instead of by section number.
6771         (setCounter): use a hackish way to lookup the correct enum
6772         counter.
6773         a float name->type change
6774         reset enum couners with counter name directly instead of depth value.
6775
6776         * counters.C (Counters): remove the push_backs, change to use the
6777         float type not the float name.
6778         (labelItem): remove unused string, float name->type change
6779
6780         * counters.h: don't include vector, loose the enums and sects vectors
6781
6782 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6785         (Read): add float->TC_FLOAT to textclassTags
6786         (Read): and handle it in the switch
6787         (readFloat): new function
6788
6789         * FloatList.C (FloatList): comment out the hardcoded float
6790         definitions.
6791
6792         * lyxlayout.h: ws change.
6793
6794 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6795
6796         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6797
6798 2002-09-03  Angus Leeming  <leeming@lyx.org>
6799
6800         * BufferView_pimpl.h: qualified name is not allowed in member
6801         declaration: WorkArea & Pimpl::workarea() const;
6802
6803         * factory.C: added using std::endl directive.
6804
6805         * text3.C: added using std::find and std::vector directives.
6806
6807 2002-08-29  André Pönitz <poenitz@gmx.net>
6808
6809         * lyxtext.h:
6810         * text2.C: remove unused member number_of_rows
6811
6812         * Makefile.am:
6813         * BufferView2.C: remove file, move contents to...
6814         * BufferView.C: ... here
6815
6816         * BufferView_pimpl.C:
6817         * factory.C: move more inset creation to factory
6818
6819         * vspace.C: avoid direct usage of LyXText, ws changes
6820
6821         * BufferView.[Ch]:
6822                 don't provide direct access to WorkArea, use two simple
6823                 acessors haveSelction() and workHeight() instead
6824
6825
6826 2002-08-29  John Levon  <levon@movementarian.org>
6827
6828         * BufferView_pimpl.C (dispatch): do not continue when
6829           no buffer
6830
6831 2002-08-28  André Pönitz <poenitz@gmx.net>
6832
6833         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6834
6835         * BufferView.h:
6836         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6837
6838 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6839
6840         * buffer.C: increment LYX_FORMAT to 221
6841
6842         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6843         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6844
6845         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6846
6847         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6848
6849 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * factory.C (createInset): use LyXTextClass::floats
6852
6853         * MenuBackend.C (expandFloatListInsert):
6854         (expandFloatInsert):
6855         (expandToc):
6856
6857         * text2.C (setCounter):
6858
6859         * LaTeXFeatures.C (useFloat):
6860         (getFloatDefinitions):
6861
6862         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6863
6864         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6865         floatlist_, with accessor floats().
6866
6867         * FloatList.h: remove global FloatList
6868
6869 2002-08-26  André Pönitz <poenitz@gmx.net>
6870
6871         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6872
6873         * BufferView.h:
6874         * BufferView2.C:
6875         * BufferView_pimpl.C:
6876         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6877
6878 2002-08-25  John Levon  <levon@movementarian.org>
6879
6880         * LyXAction.C: fix margin note description
6881
6882 2002-08-24  John Levon  <levon@movementarian.org>
6883
6884         * buffer.C:
6885         * bufferlist.C:
6886         * bufferview_funcs.C:
6887         * lyxfont.C:
6888         * undo_funcs.C: cleanups
6889
6890         * lyxfunc.C: disable CUT/COPY when no selection
6891
6892 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6893
6894         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6895         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6896
6897         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6898         Add backward compatibility to "mono", "gray" and "no".
6899
6900 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6901
6902         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6903         (and file_format >= 200).
6904
6905 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6906
6907         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6908
6909 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6910
6911         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6912
6913 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6914
6915         * BufferView_pimpl.C:
6916         * LyXAction.C:
6917         * buffer.C:
6918         * commandtags.h:
6919         * lyxfunc.C:
6920         * paragraph.[Ch]:
6921         * text2.C:
6922         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6923         inset and code to make it  work with the paragraph code. The inset
6924         can be anywhere in the paragraph, but will only do the expected
6925         thing in LaTeX if the layout file contains the parameter line
6926                         OptionalArgs    1
6927         (or more generally, a nonzero value) for that layout.
6928
6929 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * paragraph.h: remove the declaration of undefined counters class
6932         function.
6933
6934 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6935
6936         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6937         Dr. Richard Hawkins.
6938
6939 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6940
6941         * paragraph_funcs.h: remove some unneeded includes
6942
6943         * text.C (backspace): pasteParagraph now in global scipe
6944
6945         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6946         (pasteSelection): ditto
6947
6948         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6949         * paragraph_funcs.C (pasteParagraph): ... here
6950
6951 2002-08-20  André Pönitz <poenitz@gmx.net>
6952
6953         * commandtags.h: new LFUNs for swapping/copying table row/colums
6954
6955         * LyXAction.C:
6956         * lyxfunc.C: support for new lfuns
6957
6958 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * tabular.C:
6961         * buffer.[Ch]: remove NO_COMPABILITY stuff
6962
6963 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * boost.C (throw_exception): new file, with helper function for
6966         boost compiled without exceptions.
6967
6968         * paragraph.h:
6969         * lyxlength.C:
6970         * buffer.C:
6971         * ParameterStruct.h:
6972         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6973
6974         * bufferlist.C (emergencyWriteAll): use boost bind
6975
6976         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6977
6978         * text.C: include paragraph_funcs.h
6979         (breakParagraph): breakParagraph is now in global scope
6980
6981         * paragraph_funcs.[Ch]: new files
6982
6983         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6984         global scope
6985
6986         * buffer.C: include paragraph_funcs.h
6987         (insertStringAsLines): breakParagraph is now in global scope
6988
6989         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6990         paragraph_funcs.C
6991
6992         * CutAndPaste.C: include paragraph_funcs.h
6993         (cutSelection): breakParagraphConservative is now in global scope
6994         (pasteSelection): ditto
6995
6996         * buffer.h: declare oprator== and operator!= for
6997         Buffer::inset_iterator
6998
6999         * bufferlist.C (emergencyWrite): don't use fmt(...)
7000
7001         * text3.C: add using std::endl
7002
7003         * BufferView.C (moveCursorUpdate): remove default arg
7004
7005 2002-08-20  André Pönitz <poenitz@gmx.net>
7006
7007         * buffer.[Ch]: move inline functions to .C
7008
7009         * BufferView2.C:
7010         * BufferView_pimpl.C:
7011         * text.C:
7012         * buffer.[Ch]: use improved inset_iterator
7013
7014         * buffer.C:
7015         * paragraph.[Ch]: write one paragraph at a time
7016
7017 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7018
7019         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7020         style if style is not specified.
7021
7022 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7023
7024         * text2.C (setCounter): when searching for right label for a
7025         caption, make sure to recurse to parent insets (so that a caption
7026         in a minipage in a figure float works) (bug #568)
7027
7028 2002-08-20  André Pönitz <poenitz@gmx.net>
7029
7030         * text3.C: new file for LyXText::dispatch() and helpers
7031
7032         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7033
7034         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7035
7036 2002-08-19  André Pönitz <poenitz@gmx.net>
7037
7038         * lyxtext.h:
7039         * text.C: new LyXText::dispatch()
7040
7041         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7042
7043 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7046
7047         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7048         Hebrew text.
7049
7050 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7051
7052         * Makefile.am: use $(variables) instead of @substitutions@
7053
7054 2002-08-15  André Pönitz <poenitz@gmx.net>
7055
7056         * lyxfunc.C:
7057         * BufferView_pimpl.C: streamlining mathed <-> outer world
7058         interaction
7059
7060         * commandtags.h:
7061         * LyXAction.C: remove unused LFUN_MATH
7062
7063 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7066
7067 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * paragraph.C (Paragraph): reformat a bit
7070         (cutIntoMinibuffer): use builtin InsetList function instad of
7071         doing it manually.
7072         (getInset): ditto
7073
7074         * buffer.C: include boost/bind.hpp, add using std::for_each
7075         (writeFileAscii): use ParagraphList iterators
7076         (validate): use for_each for validate traversal of paragraphs
7077         (getBibkeyList): use ParagraphList iterators
7078         (resizeInsets): use for_each to resizeInsetsLyXText for all
7079         paragraphs.
7080         (getParFromID): use ParagraphList iterators
7081
7082         * BufferView2.C (lockInset): use paragraph list and iterators
7083
7084 2002-08-14  John Levon  <levon@movementarian.org>
7085
7086         * lyxserver.C: remove spurious xforms include
7087
7088 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7089
7090         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7091
7092 2002-08-13  André Pönitz <poenitz@gmx.net>
7093
7094         * LyXAction.[Ch]:
7095         * lyxfunc.C: further cleaning
7096
7097 2002-08-13  André Pönitz <poenitz@gmx.net>
7098
7099         * funcrequest.h: new constructor
7100
7101         * funcrequest.C: move stuff here from .h
7102
7103         * Makefile.am:
7104         * BufferView_pimpl.C:
7105         * LyXAction.C:
7106         * toc.C:
7107         * lyxfunc.C: subsequent changes
7108
7109         * lyxfunc.h: new view() member function
7110
7111         * lyxfunc.C: subsequent changes
7112
7113 2002-08-13  Angus Leeming  <leeming@lyx.org>
7114
7115         * BufferView2.C:
7116         * BufferView_pimpl.C:
7117         * buffer.C:
7118         * converter.C:
7119         * importer.C:
7120         * lyxfunc.C:
7121         * lyxvc.C:
7122         * toc.C:
7123         * vc-backend.C:
7124         changes due to the changed LyXView interface that now returns references
7125         to member variables not pointers.
7126
7127 2002-08-13  Angus Leeming  <leeming@lyx.org>
7128
7129         * WordLangTuple (word, lang_code): return references to strings,
7130         not strings.
7131
7132         * BufferView.h:
7133         * SpellBase.h:
7134         * lyxtext.h: forward-declare WordLangTuple.
7135
7136         * BufferView2.C:
7137         * ispell.C:
7138         * pspell.C:
7139         * text.C: #include "WordLangTuple.h".
7140
7141         * lyxtext.h:
7142         * text.C: (selectNextWordToSpellcheck): constify return type.
7143
7144 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7145
7146         * buffer.C:
7147         * buffer.h:
7148         * lyxtext.h:
7149         * paragraph.C:
7150         * paragraph_pimpl.h:
7151         * text.C:
7152         * text2.C:
7153         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7154         suggested by Angus.
7155         Made updateCounter always count from start of buffer, and removed
7156         second argument (par).
7157         Reverted floats number display to '#'. Perhaps I'll try again when the
7158         code base is sanitized a bit.
7159
7160 2002-08-12  Angus Leeming  <leeming@lyx.org>
7161
7162         * buffer.[Ch] (getLabelList): constify.
7163
7164 2002-08-07  André Pönitz <poenitz@gmx.net>
7165
7166         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7167
7168         * funcrequest.h: extension to keep mouse (x,y) position
7169
7170 2002-08-12  Juergen Vigna  <jug@sad.it>
7171
7172         * BufferView2.C (insertErrors): forbid undo when inserting error
7173         insets.
7174
7175         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7176
7177 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * ParagraphList.[Ch]: new files
7180
7181         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7182
7183         * BufferView2.C (lockInset): ParagraphList changes
7184         * toc.C: ditto
7185         * text2.C: ditto
7186         * bufferlist.C: ditto
7187         * buffer.h: ditto
7188         * buffer.C: ditto
7189
7190 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7193         unused class variable counter_,
7194
7195         * paragraph.[Ch] (getFirstCounter): delete unused function
7196
7197         * counters.C: include LAssert.h
7198         (reset): add a new function with no arg, change other version to
7199         not have def. arg and to not allow empty arg.
7200
7201         * text2.C (setCounter): remove empty arg from call to Counters::reset
7202
7203 2002-08-11  John Levon  <levon@movementarian.org>
7204
7205         * Makefile.am: add WordLangTuple.h
7206
7207 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7210         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7211
7212         * insets/insettext.C: InsetList changes
7213
7214         * graphics/GraphicsSupport.C (operator()): InsetList changes
7215
7216         * toc.C (getTocList): InsetList changes
7217
7218         * paragraph_pimpl.[Ch]: InsetList changes
7219
7220         * paragraph.[Ch]: InsetList changes
7221
7222         * buffer.C (inset_iterator): InsetList changes
7223         (setParagraph): ditto
7224         * buffer.h (inset_iterator): ditto
7225         * iterators.C (operator++): ditto
7226         * iterators.h: ditto
7227
7228         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7229
7230         * InsetList.[Ch]: new files, most InsetList handling moved out of
7231         paragraph.C.
7232
7233         * BufferView2.C (removeAutoInsets): InsetList changes
7234         (lockInset): ditto
7235         (ChangeInsets): ditto
7236
7237 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * paragraph_pimpl.h (empty): new function
7240
7241         * paragraph.[Ch] (empty): new function
7242
7243         * other files: use the new Paragraph::empty function
7244
7245 2002-08-09  John Levon  <levon@movementarian.org>
7246
7247         * lyxtext.h: remove unused refresh_height
7248
7249 2002-08-09  John Levon  <levon@movementarian.org>
7250
7251         * Makefile.am:
7252         * sgml.h:
7253         * sgml.C:
7254         * buffer.C:
7255         * paragraph.h:
7256         * paragraph.C: move sgml char escaping out of paragraph
7257
7258         * paragraph.h:
7259         * paragraph.C: remove id setter
7260
7261         * buffer.C:
7262         * paragraph.C:
7263         * paragraph_pimpl.C: remove dead tex_code_break_column
7264
7265         * bufferview_funcs.C: small cleanup
7266
7267         * lyxfunc.C: remove dead proto
7268
7269         * lyxtext.h: make some stuff private. Remove some dead stuff.
7270
7271         * lyxgluelength.C: make as[LyX]String() readable
7272
7273 2002-08-08  John Levon  <levon@movementarian.org>
7274
7275         * LyXAction.h:
7276         * LyXAction.C:
7277         * MenuBackend.C:
7278         * ToolbarDefaults.C:
7279         * lyxfunc.C:
7280         * lyxrc.C:
7281         * toc.C: lyxaction cleanup
7282
7283 2002-08-08  John Levon  <levon@movementarian.org>
7284
7285         * BufferView2.C: small cleanup
7286
7287         * lyxfind.h:
7288         * lyxfind.C: move unnecessary header into the .C
7289
7290 2002-08-08  John Levon  <levon@movementarian.org>
7291
7292         * funcrequest.h: just tedious nonsense
7293
7294         * lyx_main.h:
7295         * lyx_main.C: cleanups
7296
7297         * buffer.C:
7298         * vspace.C: remove dead header lyx_main.h
7299
7300 2002-08-07  Angus Leeming  <leeming@lyx.org>
7301
7302         * Paragraph.[Ch]:
7303         * paragraph_pimpl.h:
7304         Forward declare class Counters in paragraph.h by moving the ctrs member
7305         variable into Paragraph::Pimpl.
7306         (counters): new method, returning a reference to pimpl_->ctrs.
7307
7308         * text2.C: ensuing changes.
7309
7310 2002-08-07  John Levon  <levon@movementarian.org>
7311
7312         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7313
7314         * BufferView_pimpl.C: announce X selection on double/triple
7315           click
7316
7317         * lyx_main.C: use correct bool in batch dispatch
7318
7319         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7320
7321 2002-08-07  André Pönitz <poenitz@gmx.net>
7322
7323         * funcrequest.h: new class to wrap a kb_action and its argument
7324
7325         * BufferView.[Ch]:
7326         * BufferView_pimpl[Ch]:
7327         * LaTeX.C:
7328         * LyXAction.[Ch]:
7329         * lyxfunc.[Ch]:
7330         * lyxrc.C: subsequent changes
7331
7332
7333 2002-08-07  John Levon  <levon@movementarian.org>
7334
7335         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7336           document options change.
7337
7338 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7339
7340         * counters.[Ch]
7341         * text2.C
7342         * paragraph.[Ch]
7343         * makefile.am: move counters functionality over from
7344         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7345
7346 2002-08-06  John Levon  <levon@movementarian.org>
7347
7348         * WordLangTuple.h: new file for word + language code tuple
7349
7350         * SpellBase.h:
7351         * pspell.h:
7352         * pspell.C:
7353         * ispell.h:
7354         * ispell.C:
7355         * lyxtext.h:
7356         * text.C:
7357         * text2.C:
7358         * BufferView.h:
7359         * BufferView2.C: use WordLangTuple
7360
7361         * layout.h:
7362         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7363
7364 2002-08-06  John Levon  <levon@movementarian.org>
7365
7366         * lyx_main.C: fix cmdline batch handling
7367
7368 2002-08-06  André Pönitz <poenitz@gmx.net>
7369
7370         * lyxrc.C: set default for show_banner to true
7371
7372 2002-08-06  John Levon  <levon@movementarian.org>
7373
7374         * pspell.C: fix a crash, and allow new aspell to work
7375
7376 2002-08-06  John Levon  <levon@movementarian.org>
7377
7378         * lyxfunc.C:
7379         * kbmap.C: small cleanup
7380
7381         * vspace.h:
7382         * vspace.C: add const
7383
7384 2002-08-05  John Levon  <levon@movementarian.org>
7385
7386         * LyXAction.C: back to tabular-insert
7387
7388 2002-08-04  John Levon  <levon@movementarian.org>
7389
7390         * BufferView.h:
7391         * BufferView.C: cosmetic change
7392
7393         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7394
7395         * bufferlist.C:
7396         * buffer.h:
7397         * buffer.C:
7398         * lyxcb.h:
7399         * lyxcb.C:
7400         * lyxserver.C:
7401         * lyxvc.C:
7402         * vc-backend.C:
7403         * BufferView2.C: purge all "Lyx" not "LyX" strings
7404
7405         * lyxcursor.h:
7406         * lyxcursor.C: attempt to add some documentation
7407
7408         * lyxfunc.C:
7409         * commandtags.h:
7410         * LyXAction.C:
7411         * ToolbarDefaults.C:
7412         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7413           merge with LFUN_TABULAR_INSERT
7414
7415         * Makefile.am:
7416         * SpellBase.h:
7417         * ispell.h:
7418         * ispell.C:
7419         * pspell.h:
7420         * pspell.C: split up i/pspell implementations into separate
7421           files, many cleanups
7422
7423         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7424
7425         * text2.C: some cleanup
7426
7427         * lyxfunc.C: don't check for isp_command == "none" any more, it
7428           didn't make any sense
7429
7430 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7431
7432         * counters.[Ch]
7433         * text2.C
7434         * paragraph.[Ch]
7435         * makefile.am: move counters functionality over
7436         from text2.C/paragraph.[Ch] to counters.[Ch], and
7437         make proper C++.
7438 2002-08-02  John Levon  <levon@movementarian.org>
7439
7440         * buffer.C: s/lyxconvert/lyx2lyx/
7441
7442 2002-08-02  Angus Leeming  <leeming@lyx.org>
7443
7444         * lyxlex.C: revert John's change as it breaks reading of the user
7445         preamble.
7446
7447 2002-08-02  Angus Leeming  <leeming@lyx.org>
7448
7449         * importer.C (Import):
7450         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7451         changes due to LyXView::view() now returning a boost::shared_ptr.
7452
7453 2002-08-02  John Levon  <levon@movementarian.org>
7454
7455         * lyxlex.C: small cleanup
7456
7457 2002-08-02  John Levon  <levon@movementarian.org>
7458
7459         * text2.C (status): small cleanup, no logic change
7460
7461 2002-08-01  John Levon  <levon@movementarian.org>
7462
7463         * buffer.h:
7464         * buffer.C (writeFile): don't output alerts, caller
7465           handles this
7466
7467         * bufferlist.C:
7468         * lyx_cb.C: from above
7469
7470         * lyxfunc.C: allow to open non-existent files
7471
7472 2002-07-31  John Levon  <levon@movementarian.org>
7473
7474         * lyxserver.C: don't let incidental errors get
7475           in the way (errno)
7476
7477 2002-07-30  John Levon  <levon@movementarian.org>
7478
7479         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7480
7481 2002-07-30  John Levon  <levon@movementarian.org>
7482
7483         * lyxserver.h:
7484         * lyxserver.C: remove I/O callback too
7485
7486 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7487
7488         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7489         log.
7490
7491 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * many files: strip,frontStrip -> trim,ltrim,rtrim
7494
7495 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * PrinterParams.h: remove extern containsOnly, and include
7498         support/lstrings.h instead.
7499
7500         * LaTeX.C (scanAuxFile): modify because of strip changes
7501         (deplog): ditto
7502         * buffer.C (makeLaTeXFile): ditto
7503         * bufferparams.C (writeFile): ditt
7504         * lyxfont.C (stateText): ditto
7505         * lyxserver.C (read_ready): ditto
7506         * vc-backend.C (scanMaster): ditto
7507
7508         * BufferView_pimpl.h: ws changes
7509
7510         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7511
7512 2002-07-26  André Pönitz <poenitz@gmx.net>
7513
7514         * kb_sequence.C: remove unnedred usings
7515
7516 2002-07-26  Juergen Vigna  <jug@sad.it>
7517
7518         * lyxfind.C (LyXReplace): we have to check better if the returned
7519         text is not of theLockingInset()->getLockingInset().
7520
7521 2002-07-25  Juergen Vigna  <jug@sad.it>
7522
7523         * lyxfind.C (LyXReplace): don't replace if we don't get the
7524         right LyXText.
7525
7526         * undo_funcs.C (createUndo): remove debugging code.
7527
7528 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7529
7530         * buffer.C (parseSingleLyXformat2Token): Use default placement
7531         when reading old floats.
7532
7533         * FloatList.C (FloatList): Change the default placement of figure
7534         and tables to "tbp".
7535
7536 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * MenuBackend.C: using std::max
7539
7540 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7541
7542         * MenuBackend.C (expandToc):
7543         (expandToc2): code moved from xforms menu frontend. It is now
7544         generic and TOCs are transparent to menu frontends.
7545
7546 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * toc.C (getTocList): protect against buf=0
7549
7550         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7551         Menu as first parameter. Now, this calls itself recursively to
7552         expand a whole tree (this will be useful for TOC handling)
7553         (expandFloatInsert): remove 'wide' version of floats
7554
7555         * MenuBackend.h (submenuname): returns the name of the submenu.
7556         (submenu): returns the submenu itself, provided it has been
7557         created by MenuBackend::expand
7558
7559 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7560
7561         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7562         insets which have noFontChange == true. (bug #172)
7563
7564 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7565
7566         * BufferView_pimpl.C: add connection objects and use them...
7567         (Pimpl): here.
7568
7569 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7570
7571         * MenuBackend.C (expandLastfiles):
7572         (expandDocuments):
7573         (expandFormats):
7574         (expandFloatListInsert):
7575         (expandFloatInsert):
7576         (expand): split expand in parts
7577
7578 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7579
7580         * lyx_gui.C: use lyx_gui::exit()
7581
7582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7583
7584         * LyXAction.C: show the failing pseudo action
7585
7586 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7587
7588         * buffer.C (readFile): Run the lyxconvert script in order to read
7589         old files.
7590
7591 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7592
7593         * LyXAction.C:
7594         * commandtags.h:
7595         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7596
7597 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * LyXAction.C:
7600         * commandtags.h:
7601         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7602
7603 2002-07-22  Herbert Voss  <voss@lyx.org>
7604
7605         * lengthcommon.C:
7606         * lyxlength.[Ch]: add support for the vertical lengths
7607
7608 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * toc.[Ch]: std:: fixes
7611
7612 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7613
7614         * lyxrc.C: do not include lyx_main.h
7615
7616         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7617         for layouts
7618
7619         * lyxrc.C:
7620         * encoding.C:
7621         * bufferlist.C:
7622         * BufferView2.C: include "lyxlex.h"
7623
7624         * tabular.h:
7625         * bufferparams.h: do not #include "lyxlex.h"
7626
7627         * lyxtextclasslist.C (Add): remove method
7628         (classlist): renamed to classlist_
7629
7630         * paragraph_pimpl.C:
7631         * paragraph.C:
7632         * text2.C:
7633         * CutAndPaste.C:
7634         * bufferview_funcs.C:
7635         * bufferlist.C:
7636         * text.C:
7637         * LaTeXFeatures.C:
7638         * buffer.C:
7639         * toc.C (getTocList): use BufferParams::getLyXTextClass
7640
7641         * toc.C (getTocList): use InsetFloat::addToToc
7642
7643         * toc.[Ch]: new files, containing helper functions to handle table
7644         of contents
7645
7646         * lyxfunc.C (dispatch): no need to remove spaces around command
7647         given as a string
7648         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7649         first command of the sequence; it is not very clever, but I do not
7650         have a better idea, actually
7651
7652         * LyXAction.C (LookupFunc): make sure to remove space at the
7653         beginning and end of the command
7654
7655 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7656
7657         * MenuBackend.C (getMenubar): new method: return the menubar of
7658         this menu set
7659         (read): treat differently reading of menu and menubar (in
7660         particular, the menubar has no name now)
7661         (Menu::menubar): remove
7662
7663         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7664         saving is finished
7665
7666 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7667
7668         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7669         a bibitem inset in a RTL paragraph.
7670
7671 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7672
7673         * paragraph_pimpl.C: constify
7674
7675         * BufferView_pimpl.C:
7676         * LaTeX.C:
7677         * lyxfunc.C: fix dispatch in a nicer way
7678
7679 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7680
7681         * lyxfunc.C (dispatch):
7682         * BufferView_pimpl.C:
7683         * BufferView_pimpl.h:
7684         * BufferView.C:
7685         * BufferView.h: rename Dispatch() to dispatch()
7686
7687         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7688
7689         * lyxlayout.C (Read): honor DependsOn tag
7690
7691         * lyxlayout.[Ch] (depends_on): new method
7692
7693         * version.C.in: update lyx_docversion
7694
7695         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7696
7697         * paragraph.C (validate): remove from here...
7698         * paragraph_pimpl.C (validate): ... and move here
7699         (isTextAt): make it const
7700
7701         * buffer.C (getLists): ws cleanup
7702
7703 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7704
7705         * language.C (read): Use iso8859-1 encoding in latex_lang
7706         (this prevents LyX from crashing when using iso10646-1 encoding).
7707
7708 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7709
7710         * text2.C (toggleInset): if cursor is inside an inset, close the
7711         inset and leave cursor _after_ it
7712
7713 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7714
7715         * lyxfunc.C: move minibuffer completion handling out of here
7716
7717 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * BufferView_pimpl.C:
7720         * LaTeX.C: fix dispatch calls
7721
7722 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7723
7724         * text.C (drawChars): Fix Arabic text rendering.
7725
7726 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7727
7728         * LyXAction.C:
7729         * commandtags.h:
7730         * lyxfunc.C: remove message-push/pop
7731
7732         * lyxserver.C:
7733         * lyxfunc.h:
7734         * lyxfunc.C: rationalise some code by removing verboseDispatch
7735           in favour of a bool argument to dispatch()
7736
7737 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7738
7739         * lyx_main.C (init): make sure to read symlinks as absolute paths
7740
7741 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * lyxfunc.h:
7744         * lyxfunc.C: no need for commandshortcut to be a member
7745
7746 2002-07-15  André Pönitz <poenitz@gmx.net>
7747
7748         * converter.C: add support for $$s (scripts from lib/scripts dir)
7749         * lyx_main.C: white space
7750
7751 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7752
7753         * bufferlist.C:
7754         * lyxrc.h:
7755         * lyxrc.C: remove second exit confirmation
7756
7757 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7758
7759         * BufferView.h:
7760         * BufferView.C:
7761         * BufferView2.C:
7762         * BufferView_pimpl.h:
7763         * BufferView_pimpl.C:
7764         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7765
7766 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7767
7768         * MenuBackend.C (expand): add numeric shortcuts to document menu
7769
7770         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7771
7772 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7773
7774         * lyxfont.C (setLyXFamily):
7775         (setLyXSeries):
7776         (setLyXShape):
7777         (setLyXSize):
7778         (setLyXMisc):
7779         (lyxRead):
7780         * debug.C (value):
7781         * buffer.C (asciiParagraph): use ascii_lowercase
7782
7783 2002-07-15  Mike Fabian  <mfabian@suse.de>
7784
7785         * lyxlex_pimpl.C (search_kw):
7786         * lyxlex.C (getLongString):
7787         * converter.h (operator<):
7788         * converter.C (operator<):
7789         * buffer.C (parseSingleLyXformat2Token):
7790         (asciiParagraph):
7791         * ToolbarDefaults.C (read):
7792         * MenuBackend.C (checkShortcuts):
7793         (read):
7794         * LColor.C (getFromGUIName):
7795         (getFromLyXName): use the compare_ascii_no_case instead of
7796         compare_no_case, because in turkish, 'i' is not the lowercase
7797         version of 'I', and thus turkish locale breaks parsing of tags.
7798
7799 2002-07-16  Angus Leeming  <leeming@lyx.org>
7800
7801         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7802         now takes a Buffer const & argument.
7803
7804 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7805
7806         * BufferView.C (resize): check there's a buffer to resize
7807
7808 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7809
7810         * lyxfunc.C: remove dead code
7811
7812         * lyxserver.h:
7813         * lyxserver.C: use lyx_guii::set_read_callback
7814
7815 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7816
7817         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7818         an inset in a RTL paragraph.
7819
7820 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7821
7822         * lyxfunc.C: repaint after a font size update
7823
7824 2002-07-15  André Pönitz <poenitz@gmx.net>
7825
7826         * lyxlength.C: inBP should be able to return negative values
7827
7828 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7829
7830         * lyxfunc.C: use lyx_gui::update_fonts()
7831
7832 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * lyxfunc.C: use lyx_gui::update_color()
7835
7836 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * bufferlist.C:
7839         * lyxfunc.h:
7840         * lyxfunc.C:
7841         * lyxrc.h:
7842         * lyxrc.C: remove file->new asks for name option, and let
7843           buffer-new take an argument
7844
7845 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * BufferView_pimpl.C: remove unneeded extra repaint()
7848
7849 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * LyXAction.C: allow command-sequence with NoBuffer
7852
7853         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7854
7855 2002-07-10  Angus Leeming  <leeming@lyx.org>
7856
7857         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7858
7859 2002-07-09  Angus Leeming  <leeming@lyx.org>
7860
7861         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7862
7863 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * lengthcommon.h: whitespace
7866
7867         * lyxfunc.C: update scrollbar after goto paragraph
7868
7869         * lyxtext.h: factor out page break drawing, and fix it so
7870           page break/added space paints as selected nicely
7871
7872 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * BufferView_pimpl.C: add FIXMEs, clean up a little
7875
7876 2002-07-09  André Pönitz <poenitz@gmx.net>
7877
7878         * lyxfont.[Ch]: support for wasy symbols
7879
7880 2002-07-08  André Pönitz <poenitz@gmx.net>
7881
7882         * BufferView_pimpl.C: apply John's patch for #93.
7883
7884 2002-07-05  Angus Leeming  <leeming@lyx.org>
7885
7886         * BufferView_pimpl.C (buffer): generate previews if desired.
7887
7888         * LColor.h: add "preview" to the color enum.
7889
7890         * LColor.C (LColor): add a corresponding entry to the items array.
7891
7892         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7893         with this buffer.
7894
7895 2002-07-05  Angus Leeming  <leeming@lyx.org>
7896
7897         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7898         The body of the code is now in the method that is passed an ostream &
7899         rather than a file name.
7900         Pass an additional only_preamble parameter, useful for the forthcoming
7901         preview stuff.
7902
7903 2002-07-03  André Pönitz <poenitz@gmx.net>
7904
7905         * lyxfunc.C: simplify getStatus() a bit for math stuff
7906
7907 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7908
7909         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7910
7911 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7912
7913         * text.C (changeRegionCase): do not change case of all the
7914         document when region ends at paragraph end (bug #461)
7915
7916 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7917
7918         * paragraph.C (startTeXParParams):
7919         (endTeXParParams): add \protect when necessary
7920
7921 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7922
7923         * BufferView_pimpl.C (workAreaExpose): remove warning
7924
7925 2002-06-27  Angus Leeming  <leeming@lyx.org>
7926
7927         * Makefile.am: add lyxlayout_ptr_fwd.h.
7928
7929 2002-06-26  André Pönitz <poenitz@gmx.net>
7930
7931         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7932
7933 2002-06-25  Angus Leeming  <leeming@lyx.org>
7934
7935         * lyxfunc.C (dispatch): Comment out the call to
7936         grfx::GCache::changeDisplay. The method no longer exists now that the
7937         pixmap generation part of the graphics loader has been moved into
7938         InsetGraphics.
7939
7940 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7941
7942         * text2.C: layout as layout
7943
7944         * text.C: layout as layout
7945
7946         * tabular.C (OldFormatRead): layout as layout
7947
7948         * paragraph_pimpl.C (TeXDeeper): layout as layout
7949         (realizeFont): layout as layout
7950
7951         * paragraph.C (writeFile): layout as layout
7952         (validate): layout as layout
7953         (getFont): layout as layout
7954         (getLabelFont): layout as layout
7955         (getLayoutFont): layout as layout
7956         (breakParagraph): layout as layout
7957         (stripLeadingSpaces): layout as layout
7958         (getEndLabel): layout as layout
7959         (getMaxDepthAfter): layout as layout
7960         (applyLayout): layout as layout
7961         (TeXOnePar): layout as layout
7962         (simpleTeXOnePar): layout as layout
7963         (TeXEnvironment): layout as layout
7964         (layout): layout as layout
7965         (layout): layout as layout
7966
7967         * lyxtextclass.C (compare_name): new functor to work with
7968         shared_ptr, layout as layout
7969         (Read): layout as layout
7970         (hasLayout): layout as layout
7971         (operator): layout as layout
7972         (delete_layout): layout as layout
7973         (defaultLayout): layout as layout
7974
7975         * lyxlayout_ptr_fwd.h: new file
7976
7977         * lyxlayout.C (Read): layout as layout
7978
7979         * lyx_cb.C (MenuInsertLabel): layout as layout
7980
7981         * bufferlist.C (newFile): layout as layout
7982
7983         * buffer.C (readLyXformat2): layout as layout
7984         (parseSingleLyXformat2Token): layout as layout
7985         (insertStringAsLines): layout as layout
7986         (asciiParagraph): layout as layout
7987         (latexParagraphs): layout as layout
7988         (makeLinuxDocFile): layout as layout
7989         (simpleLinuxDocOnePar): layout as layout
7990         (makeDocBookFile): layout as layout
7991         (simpleDocBookOnePar): layout as layout
7992         (getLists): layout as layout
7993
7994         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7995
7996         * CutAndPaste.C (cutSelection): layout as layout
7997         (pasteSelection): layout as layout
7998         (SwitchLayoutsBetweenClasses): layout as layout
7999
8000         * BufferView_pimpl.C (Dispatch): layout as layout
8001         (smartQuote): layout as layout
8002
8003         * BufferView2.C (unlockInset): layout as layout
8004
8005 2002-06-24  André Pönitz <poenitz@gmx.net>
8006
8007         * lyxfunc.C: fix #487
8008
8009 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8010
8011         * lyxrc.h:
8012         * lyxrc.C:
8013         * lyxfunc.C: remove display_shortcuts, show_banner
8014
8015 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * Buffer_pimpl.C: oops, update on resize
8018
8019 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8020
8021         * buffer.C:
8022         * converter.C:
8023         * exporter.C:
8024         * lyxfunc.C:
8025         * BufferView.h:
8026         * BufferView.C: use repaint()
8027
8028         * BufferView_pimpl.h:
8029         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8030           as it's a clearer description. Remove superfluous
8031           redraws.
8032
8033 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8034
8035         * text.C: fix bug 488. Not ideal, but getting
8036           getWord() to work properly for the insets that
8037           matter is more difficult ...
8038
8039 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8040
8041         * BufferView_pimpl.C:
8042         * LyXAction.C:
8043         * commandtags.h:
8044         * lyxfunc.C: remove the six million index lyxfuncs to just
8045           one, and DTRT (bug 458)
8046
8047 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * BufferView.h:
8050         * BufferView.C:
8051         * BufferView_pimpl.h:
8052         * BufferView_pimpl.C: clean up resize() stuff,
8053           and unnecessary updateScreen()s
8054
8055 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * BufferView.h:
8058         * BufferView.C:
8059         * BufferView_pimpl.h:
8060         * BufferView_pimpl.C:
8061         * lyxfind.h:
8062         * lyxfind.C:
8063         * minibuffer.C: remove focus management of workarea,
8064           not needed. Use screen's greyOut()
8065
8066 2002-06-17  Herbert Voss  <voss@lyx.org>
8067
8068         * converter.C: (convert) do not post a message, when converting
8069         fails, let the calling function decide what to do in this case
8070
8071 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * lyxfunc.C: tidy up a little
8074
8075 2002-06-16    <alstrup@diku.dk>
8076
8077         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8078         Got rid of FORMS_H_LOCATION include. Now we are
8079         GUII.
8080
8081 2002-06-15  LyX Development team  <lyx@rilke>
8082
8083         * buffer.[Ch] (sgmlOpenTag):
8084         (sgmlCloseTag): Added support for avoiding pernicious mixed
8085         content. Return number of lines written.
8086
8087         (makeLinuxDocFile):
8088         (makeDocBookFile): Fixed calls to sgml*Tag.
8089         Simple white space clean.
8090
8091         (simpleDocBookOnePar): Simple white space clean.
8092
8093         * tabular.[Ch] (docBook): Renamed to docbook and got another
8094         argument to related with the pernicious mixed content.
8095
8096         (docbookRow): Fixed calls for docbook inset method.
8097
8098 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8099
8100         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8101         so it's X11 independent.
8102
8103         * kb*.[Ch]: ditto.
8104
8105         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8106
8107 2002-06-15  Lyx Development team  <lyx@electronia>
8108
8109         * intl.h: Renamed getTrans to getTransManager.
8110
8111 2002-06-14  Angus Leeming  <leeming@lyx.org>
8112
8113         * Makefile.am: nuke forgotten stl_string_fwd.h.
8114
8115 2002-06-12  Angus Leeming  <leeming@lyx.org>
8116
8117         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8118
8119 2002-06-13  Angus Leeming  <leeming@lyx.org>
8120
8121         * LaTeX.C:
8122         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8123
8124 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8125
8126         * kbmap.C (getiso): add support for cyrillic and greek
8127
8128 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * BufferView.h:
8131         * BufferView.C:
8132         * BufferView_pimpl.h:
8133         * BufferView_pimpl.C: move bogus scrolling logic
8134           to xforms
8135
8136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * lyxfunc.C:
8139         * BufferView_pimpl.C: view->resize() change
8140
8141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * BufferView_pimpl.C: topCursorVisible
8144           prototype change
8145
8146 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8147
8148         * Makefile.am:
8149         * lyx_gui.h:
8150         * lyx_gui.C: move to frontends/
8151
8152         * main.C:
8153         * lyx_main.h:
8154         * lyx_main.C: changes from above
8155
8156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * intl.C:
8159         * intl.h:
8160         * kbmap.C:
8161         * kbsequence.C:
8162         * lyx_cb.C:
8163         * lyx_main.C: minor tidy
8164
8165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * BufferView_pimpl.h:
8168         * BufferView_pimpl.C:
8169         * BufferView.h:
8170         * BufferView.C: make painter() const,
8171           remove dead code
8172
8173         * BufferView2.C: use screen() accessor
8174
8175         * lyx_main.h:
8176         * lyx_main.C: some minor cleanup
8177
8178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * BufferView_pimpl.h:
8181         * BufferView_pimpl.C: remove enter/leaveView,
8182           use workHeight()
8183
8184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8185
8186         * BufferView.h:
8187         * BufferView.C:
8188         * BufferView2.C:
8189         * BufferView_pimpl.h:
8190         * BufferView_pimpl.C: only construct screen once,
8191           rename
8192
8193         * lyxrc.C: remove pointless comment
8194
8195 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * BufferView.h:
8198         * BufferView.C: remove active() and belowMouse()
8199
8200         * BufferView_pimpl.h:
8201         * BufferView_pimpl.C: use workarea() not workarea_,
8202           and make it use a scoped_ptr instead
8203
8204 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * lyx_gui.C: add debug message on BadWindow
8207
8208 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8209
8210         * sp_spell.C: fdopen is not part of the C++ standard.
8211
8212         * paragraph.C (InsetIterator): use >= instead of ==
8213
8214 2002-06-07  Angus Leeming  <leeming@lyx.org>
8215
8216         Fixes needed to compile with Compaq cxx 6.5.
8217         * BufferView_pimpl.C:
8218         * DepTable.C:
8219         * buffer.C:
8220         * converter.C:
8221         * encoding.C:
8222         * lyx_gui.C:
8223         * lyx_main.C:
8224         * lyxtextclasslist.C:
8225         * minibuffer.C:
8226         * sp_spell.C:
8227         * tabular_funcs.C:
8228         * vc-backend.C:
8229         all c-library variables have been moved into namespace std. Wrap
8230         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8231
8232         * lyxlength.C:
8233         * tabular-old.C:
8234         * tabular.C:
8235         Add a using std::abs declaration.
8236
8237         * kbmap.h (modifier_pair):
8238         * paragraph.h (InsetTable, InsetList):
8239         * lyxfont.h (FontBits):
8240         type definition made public.
8241
8242         * bufferlist.C (emergencyWriteAll): the compiler complains that
8243         there is more than one possible lyx::class_fun template to choose from.
8244         I re-named the void specialisation as lyx::void_class_fun.
8245
8246         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8247
8248         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8249         the compiler is is unable to find tostr in write_attribute.
8250
8251 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8252
8253         * buffer.C (sgmlError): hide #warning
8254
8255 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8256
8257         * xtl/*: get rid of xtl, which is not in use anyway
8258
8259         * LyXAction.C (init):
8260         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8261         were unimplemented xtl experimentation
8262
8263 2002-06-04  André Pönitz <poenitz@gmx.net>
8264
8265         * lyxfunc.C: disable array operation on simple formulae
8266
8267 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * converter.C: constify a bit
8270
8271 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * lyx_gui.C: check xforms version correctly
8274
8275 2002-04-30  Herbert Voss  <voss@lyx.org>
8276
8277         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8278         "keep" option
8279
8280 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8281
8282         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8283           attempt to register it with a VCS)
8284
8285 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8286
8287         * lyx_main.C (init): honor variables LYX_DIR_13x and
8288         LYX_USERDIR_13x
8289
8290 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8291
8292         * buffer.h:
8293         * buffer.C:
8294         * lyx_main.C: fix a crash on bad command line,
8295           and give a useful exit status on error
8296
8297         * lyxfunc.C (doImport): allow -i lyx to work
8298
8299 2002-03-30  André Pönitz <poenitz@gmx.net>
8300
8301         * lyxfunc.C: mathed font changes
8302
8303 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * LaTeX.C:
8306         * importer.h:
8307         * importer.C:
8308         * lyx_sty.h:
8309         * lyx_sty.C:
8310         * lyxlex.C:
8311         * lyxrow.h:
8312         * lyxtext.h:
8313         * paragraph.h:
8314         * paragraph.C:
8315         * texrow.h:
8316         * texrow.C:
8317         * text.C:
8318         * trans_mgr.h: srcdocs, and some minor cleanups
8319
8320 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8321
8322         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8323         call getFont all the time)
8324
8325 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8326
8327         * switch from SigC signals to boost::signals
8328
8329 2002-05-29  André Pönitz <poenitz@gmx.net>
8330
8331         * paragraph_pimpl.C (getChar): don't call size() too often...
8332
8333 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * paragraph_pimpl.C (insertChar): do not try to update tables when
8336         appending (pos == size())
8337
8338         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8339         in order to reduce drastically the number of comparisons needed to
8340         parse a large document
8341
8342 2002-05-29  André Pönitz <poenitz@gmx.net>
8343
8344         * text.C:
8345         * text2.C:
8346         * lyxtextclass.C:
8347         * sp_pspell.h:
8348         * textclasslist.[Ch]:
8349         * sp_ispell.h: whitespace change
8350
8351 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8354         lyxaction directly now.
8355
8356 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8357
8358         * trans.C:
8359         * lyxfont.C:
8360         * lyxvc.C: remove unused headers
8361
8362 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * Makefile.am:
8365         * buffer.h:
8366         * undostack.h:
8367         * undostack.C:
8368         * undo_funcs.h:
8369         * undo_funcs.C: some cleanups. Use shared_ptr
8370           and a template for the undo stacks.
8371
8372 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8373
8374         * BufferView_pimpl.h:
8375         * BufferView_pimpl.C:
8376         * kbmap.h:
8377         * kbmap.C:
8378         * kbsequence.h:
8379         * kbsequence.C:
8380         * lyxfunc.h:
8381         * lyxfunc.C:
8382         * text2.C: use key_state/mouse_state
8383
8384 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8385
8386         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8387         and LSubstring
8388
8389         * chset.C: change include order
8390         (loadFile): use boost regex and get rid of LRegex and LSubstring
8391
8392         * Makefile.am (BOOST_LIBS): new variable
8393         (lyx_LDADD): use it
8394
8395         * LaTeX.C: change include order.
8396         (scanAuxFile): use boost regex and get rid of LRegex and
8397         LSubstring
8398         (deplog): ditto
8399
8400 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8401
8402         * ColorHandler.h:
8403         * ColorHandler.C:
8404         * FontInfo.h:
8405         * FontInfo.C: moved to frontends/xforms/
8406
8407         * FontLoader.h:
8408         * FontLoader.C: moved into frontends for GUIIzation
8409
8410         * Makefile.am:
8411         * lyx_gui.C:
8412         * lyxfont.C:
8413         * lyxfunc.C: changes from above
8414
8415 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * LColor.C: remove spurious X include
8418
8419         * BufferView_pimpl.C:
8420         * Makefile.am:
8421         * font.h:
8422         * font.C:
8423         * text.C:
8424         * text2.C: move font metrics to frontends/
8425
8426 2002-05-24  Juergen Vigna  <jug@sad.it>
8427
8428         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8429         setting the undo_cursor.
8430
8431         * ParagraphParameters.h: include local includes first.
8432
8433 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * BufferView_pimpl.C:
8436         * BufferView_pimpl.h:
8437         * Makefile.am:
8438         * WorkArea.h:
8439         * WorkArea.C:
8440         * screen.C: move WorkArea into frontends/
8441
8442         * lyxscreen.h:
8443         * screen.C:
8444         * text.C:
8445         * BufferView.C:
8446         * BufferView2.C: move LyXScreen into frontends/
8447
8448         * lyxlookup.h:
8449         * lyxlookup.C:
8450         * lyx_gui.C: move lyxlookup into frontends/xforms/
8451
8452 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8453
8454         * BufferView2.C:
8455         * BufferView_pimpl.C:
8456         * FontLoader.C:
8457         * LyXView.h:
8458         * LyXView.C:
8459         * Makefile.am:
8460         * WorkArea.C:
8461         * XFormsView.h:
8462         * XFormsView.C:
8463         * buffer.C:
8464         * bufferlist.C:
8465         * bufferview_funcs.C:
8466         * converter.C:
8467         * importer.C:
8468         * lyx_cb.C:
8469         * lyx_gui.C:
8470         * lyx_main.C:
8471         * lyx_find.C:
8472         * lyxfunc.C:
8473         * lyxvc.C:
8474         * minibuffer.C:
8475         * text.C:
8476         * text2.C:
8477         * trans.C:
8478         * vc-backend.C: move LyX/XFormsView into frontends/
8479
8480 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8481
8482         * Makefile.am:
8483         * PainterBase.C:
8484         * PainterBase.h:
8485         * Painter.C:
8486         * Painter.h:
8487         * WorkArea.C:
8488         * WorkArea.h:
8489         * screen.C:
8490         * tabular.C:
8491         * text.C:
8492         * text2.C: move Painter to frontends/
8493
8494 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * buffer.C: comment out some some code that depend upon lyx_format
8497         < 220
8498
8499         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8500         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8501
8502         * buffer.h (NO_COMPABILITY): turn off compability
8503
8504         * ColorHandler.C: include scoped_array.hpp
8505
8506         * font.C: Use more specific smart_ptr header.
8507         * Painter.C: ditto
8508         * gettext.C: ditto
8509         * ShareContainer.h: ditto
8510         * lyx_main.h: ditto
8511         * kbmap.h: ditto
8512         * FontInfo.h: ditto
8513         * BufferView_pimpl.h: ditto
8514         * ColorHandler.h: ditto
8515
8516         * kbmap.C (defkey): change call to shared_ptr::reset
8517
8518 2002-05-21  Juergen Vigna  <jug@sad.it>
8519
8520         * buffer.C (insertErtContents): fix to insert ert asis if it is
8521         non empty. Skip it completely if it contains only whitespaces.
8522
8523 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8524
8525         * BufferView_pimpl.C:
8526         * BufferView2.C: clear selection on paste (bug 393)
8527
8528 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8529
8530         * DepTable.C: include ctime
8531
8532 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8533
8534         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8535
8536 2002-05-14  Juergen Vigna  <jug@sad.it>
8537
8538         * text.C (breakParagraph): fixed function to honor the keepempty
8539         layout in the right maner and also to permit the right breaking
8540         algorithm on empty or non empyt keepempty paragraphs.
8541
8542         * paragraph.C (breakParagraph): we have to check also if the par
8543         is really empty (!size()) for isempty otherwise we do the wrong
8544         paragraph break.
8545
8546 2002-05-10  Juergen Vigna  <jug@sad.it>
8547
8548         * buffer.[Ch] : The following are only changes to the ert
8549         compatibility read reading old LaTeX layout and font stuff and
8550         convert it to ERTInsets.
8551
8552         * buffer.h: added isErtInset().
8553
8554         * buffer.C (struct ErtComp): add a fromlayout bool to check
8555         if we're inside a LaTeX layout.
8556         (isErtInset): new helper function.
8557         (insertErtContents): look for other ert insets before this one
8558         and insert the contents there, so that we don't have subsequent
8559         ERT insets with nothing between them. This way we create only one
8560         inset with multiple paragraphs. Also check if we don't insert only
8561         spaces ' ' as they are ignored anyway afterwards in the .tex file
8562         so if we have only spaces we will ignore this latex part in the
8563         new file.
8564         (parseSingleLyXformat2Token \\layout): better compatibility when
8565         reading layout-latex stuff.
8566         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8567         language tag.
8568         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8569         stuff after reading the inset only get the information back from
8570         the stack.
8571
8572 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8573
8574         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8575
8576         * LaTeXFeatures.C (getBabelOptions): New method.
8577
8578 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8579
8580         * BufferView_pimpl.C (Dispatch): work around missing argument for
8581         'layout'
8582
8583 2002-05-08  Juergen Vigna  <jug@sad.it>
8584
8585         * text.C (leftMargin): handle paragraph leftindent.
8586
8587         * paragraph.C (writeFile): write the new \\leftindent tag.
8588         (validate): handle leftindent code.
8589         (TeXEnvironment): handle paragraphleftindent code again.
8590
8591         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8592
8593         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8594         for paragrap_extra indent code and new token \\leftindent.
8595         (latexParagraphs): handle the leftindent as environment.
8596
8597         * ParameterStruct.h: added leftindent support.
8598
8599         * ParagraphParameters.C (leftIndent): added support functions for
8600         the paragraph left indent.
8601
8602         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8603         more appropriate.
8604
8605 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8606
8607         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8608         inside insetERT.
8609
8610         * text.C (computeBidiTables): No bidi in insetERT.
8611
8612         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8613         in RTL documents.
8614
8615 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8616
8617         * version.C.in: pre 5
8618
8619 2002-05-02  José Matos  <jamatos@fep.up.pt>
8620         * buffer.C (makeDocBookFile): white space changes, add newline to
8621         command styles.
8622         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8623
8624         * tabular.C (docBook): fix typo.
8625
8626 2002-05-03  Juergen Vigna  <jug@sad.it>
8627
8628         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8629         change in LyXText as we can not be sure it was not freed.
8630         (drawOneRow): remove unused code.
8631
8632         * text.C (drawInset): redo the calculation of the need_break_row as
8633         it could have a row which was already freed.
8634         (draw): look at the return value of drawInset and return false if
8635         it also returned false.
8636         (paintRowText): look at the return value of draw and return false if
8637         it also returned false.
8638
8639         * lyxtext.h: added bool return type to drawInset() and draw() so that
8640         if we have a change in the row so that the rowbreak has to be redone
8641         we abort drawing as it will be called again.
8642
8643 2002-05-02  Juergen Vigna  <jug@sad.it>
8644
8645         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8646         a change in the maintext also if we're inside an inset.
8647         (Dispatch): set the cursor again after a break line and after the
8648         screen has been updated as it could be we're in a different row.
8649
8650         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8651         to set the cursor behind the pargraph with > size().
8652         (setCursor): check also for the same paragraph when checking where
8653         to put the cursor if we have a NFR inset.
8654
8655         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8656         parts of layout read further up as it still was in the wrong
8657         position.
8658
8659 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8660
8661         * screen.C (drawFromTo): change sine fullRebreak always return
8662         true.
8663
8664         * buffer.C (parseSingleLyXformat2Token): reindent some
8665
8666         * BufferView_pimpl.C (update): change since fullRebreak always
8667         return true.
8668         (Dispatch): git rid of the last hardcoded "Standard"s.
8669
8670 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8671
8672         * text2.[Ch] (fullRebreak): make it return void now that we always
8673         returned true.
8674
8675 2002-04-30  Juergen Vigna  <jug@sad.it>
8676
8677         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8678         ert compatibility check for "latex" layout.
8679
8680 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8681
8682         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8683         minipages: use col% instead of p%, and also use the current font.
8684         (makeLaTeXFile): Fix use babel condition.
8685         (parseSingleLyXformat2Token): Correct font when reading old floats.
8686
8687 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8688
8689         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8690         inserting list of floats.
8691
8692 2002-04-25  Herbert Voss  <voss@lyx.org>
8693
8694         * MenuBackend.C (expand): don't add the graphics extensions to the
8695         export menu
8696
8697 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8700         non-existing layout, do not complain if it was the default layout
8701         of the original class (bug #342)
8702
8703 2002-04-24  Juergen Vigna  <jug@sad.it>
8704
8705         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8706         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8707
8708 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8709
8710         * buffer.C (getBibkeyList): If using \bibliography, return the
8711         option field with the reference itself. Enables us to provide natbib
8712         support when using \bibliography.
8713
8714 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8715
8716         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8717
8718         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8719         natbib is provided by the LaTeX class.
8720
8721 2002-04-23  Juergen Vigna  <jug@sad.it>
8722
8723         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8724         Wakeup functions.
8725
8726         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8727
8728 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8731
8732         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8733         ensuremath around textordmasculine, textordfeminine and
8734         textdegree.
8735
8736 2002-04-19  Juergen Vigna  <jug@sad.it>
8737
8738         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8739         reinitializing the buffer otherwise row-dimensions may be wrong.
8740         (update): reset also the selection cursors if they do exits otherwise
8741         their x/y positions may be wrong.
8742
8743         * text2.C (cursorDown): don't enter the inset if we came from a row
8744         above and are one row over the inset.
8745
8746         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8747         really leaving an inset.
8748
8749 2002-04-18  Juergen Vigna  <jug@sad.it>
8750
8751         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8752         of the selected paragraph does not have the selected layout also if
8753         the last one had!
8754
8755         * text2.C (setLayout): fixed bug which did not change last selected
8756         paragraph.
8757
8758         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8759         changed the read and substituted \\end_float with \\end_inset!
8760
8761         * BufferView_pimpl.C (cursorPrevious):
8762         (cursorNext): fixed to make it work with rows heigher than the work
8763         area without moving the cursor only the draw of the row.
8764         (workAreaMotionNotify): fix jumping over high rows.
8765
8766 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8767
8768         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8769         Ressler.
8770
8771 2002-04-16  Juergen Vigna  <jug@sad.it>
8772
8773         * text2.C (setCursor): set also the irow().
8774         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8775         (cursorUp):
8776         (cursorDown): support for locking an inset if the x_fix value goes
8777         inside it. That way I can transverse insets too with cursor up/down.
8778
8779         * lyxrow.h: added irow helper function same as other (i) functions.
8780
8781         * BufferView_pimpl.C (cursorPrevious):
8782         (cursorNext): fixed for insets!
8783
8784 2002-04-15  Juergen Vigna  <jug@sad.it>
8785
8786         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8787         position otherwise it is wrong in some cases.
8788
8789         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8790         inside the inset before the call.
8791
8792 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8793
8794         * buffer.[Ch] (getBibkeyList): make it const.
8795
8796 2002-04-12  Juergen Vigna  <jug@sad.it>
8797
8798         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8799
8800         * text2.C (getCursorX): new helper function
8801         (setCursor): compute also ix_
8802         (setCursorFromCoordinates): set also ix.
8803
8804         * lyxcursor.h: added ix_ and helper functions.
8805
8806         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8807
8808         * buffer.C (insertStringAsLines): dont break paragraph if the this
8809         paragraph is inside an inset which does not permit it!
8810
8811         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8812         also with no chars on this paragraph.
8813         (paintRowText): only paint stuff if it's inside the workarea!
8814
8815         * paragraph.C (breakParagraph): honor keepempty flag and break the
8816         paragraph always below not above.
8817
8818         * BufferView2.C (unlockInset): update the paragraph layout on inset
8819         unlock as we changed paragraph in such a case.
8820
8821         * lyxfind.C (LyXFind): clear the former selection if not found!
8822
8823         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8824         again called in insertChar().
8825
8826         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8827         an inset which uses the whole row!
8828         (rightMargin): ditto.
8829         (insertChar): force a rebreak if we inserted an inset!
8830
8831 2002-03-28  Herbert Voss  <voss@lyx.org>
8832
8833         * lyxlength.[Ch]: add inBP() to get the right PS-point
8834         units (BigPoint). With inPixels we have rounding errors
8835
8836 2002-04-11  Juergen Vigna  <jug@sad.it>
8837
8838         * text2.C (setCursorFromCoordinates): set iy to the right value.
8839         (setCursor): add check if row->previous exists!
8840
8841         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8842         an old float_type as this was the case in the old code!
8843
8844         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8845
8846         * BufferView2.C (showLockedInsetCursor): use iy
8847         (fitLockedInsetCursor): ditto
8848
8849         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8850         locked insets as there we have the right value now.
8851
8852         * lyxcursor.C: added iy_ variable and iy functions to set to the
8853         baseline of cursor-y of the locked inset.
8854
8855         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8856         (setCursor): fixed for insets which need a full row.
8857
8858         * text.C (rowLastPrintable): don't ignore the last space when before
8859         an inset which needs a full row.
8860         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8861         as last character of a row when before a inset which needs a full row.
8862
8863 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8864
8865         * version.C.in: update date
8866
8867         * text2.C (fullRebreak): try to always return true and see what
8868         happens...
8869
8870 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * MenuBackend.C (expand): use Floating::listName
8873
8874         * FloatList.C (FloatList): add listName argument to the built-in
8875         floats
8876
8877         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8878         text associated with the float.
8879
8880 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8881
8882         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8883
8884 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8885
8886         * ShareContainer.h: add a couple of missing typenames.
8887
8888 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8889
8890         * lyxrc.C (getDescription): use _() correctly rather than N_().
8891
8892 2002-03-28  Herbert Voss  <voss@lyx.org>
8893
8894         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8895         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8896
8897 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8900         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8901
8902 2002-03-29  Juergen Vigna  <jug@sad.it>
8903
8904         * lyxfunc.C (dispatch): add a missing fitCursor call.
8905
8906         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8907         it was scrolled by a cursor move, so return the bool status.
8908
8909         * BufferView.C (fitCursor): return the bool flag also to the outside
8910         world as this is needed.
8911
8912         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8913
8914         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8915         call the edit() as it is not needed (and wrong) IMO.
8916         (workAreaButtonPress): set the screen_first variable before evt.
8917         unlock the inset as this may change screen_first and then we have
8918         a wrong y position for the click!
8919
8920 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * MenuBackend.C (expand): another translation that I missed
8923
8924 2002-03-28  Juergen Vigna  <jug@sad.it>
8925
8926         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8927
8928         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8929
8930 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8933
8934         * MenuBackend.C (expand): fix export/view/update when there is no
8935         document open.
8936
8937 2002-03-27  Herbert Voss  <voss@lyx.org>
8938
8939         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8940         and text%
8941
8942 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * bufferview_funcs.C (currentState): only show paragraph number
8945         for is DEVEL_VERSION is set.
8946
8947         * lyxfunc.C (dispatch): put warning in INFO channel
8948
8949         * MenuBackend.C (expand): translate the name of floats
8950
8951         * FloatList.C (FloatList): mark the float names for translation
8952
8953         * converter.C (convert): use LibScriptSearch
8954
8955 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * MenuBackend.C (defaults): fix default menu (we might as well get
8958         rid of it...)
8959
8960 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8961
8962         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8963         directory.
8964
8965 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8966
8967         * lyxvc.C: reorder includes.
8968
8969 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8970
8971         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8972           properly
8973
8974 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * CutAndPaste.C: change layouts earlier on paste
8977           to avoid crashing when calling getFont()
8978
8979 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8980
8981         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8982         irritating #error.
8983
8984 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * WorkArea.C: remove 'Pending' debug message.
8987
8988         * most files: ws cleanup
8989
8990         * buffer.[Ch]: ws changes
8991
8992         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8993
8994 2002-03-21  Juergen Vigna  <jug@sad.it>
8995
8996         * tabular.C (SetMultiColumn): collapse also the contents of the
8997         cells and set the last border right. Added a Buffer const * param.
8998
8999 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9000
9001         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9002         linking or not.
9003
9004 2002-03-19  Juergen Vigna  <jug@sad.it>
9005
9006         * text2.C (clearSelection): reset also xsel_cache.
9007
9008         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9009         where it needs to be called (John tells us to do so too :)
9010         (selectionLost): reset sel_cache.
9011
9012         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9013
9014 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * text2.C (setCursorIntern): put debuging code in INSETS channel
9017
9018 2002-03-19  André Pönitz <poenitz@gmx.net>
9019
9020         * lyxfunc.C: tiny whitespace change
9021
9022 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9023
9024         * ToolbarDefaults.C (init):
9025         * LyXAction.C (init):
9026         * commandtags.h:
9027         * BufferView_pimpl.C (Dispatch):
9028         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9029
9030 2002-03-19  Allan Rae  <rae@lyx.org>
9031
9032         * exporter.C (Export): removeAutoInsets before doing anything else.
9033         While I've just introduced a dependency on BufferView this really is
9034         the best place to clean the buffer otherwise you need to cleanup in
9035         a dozen places before calling export or cleanup in a dozen functions
9036         that export calls.
9037
9038         * converter.C (runLaTeX):
9039         (scanLog): Better handling of removeAutoInsets and screen updates.
9040
9041         * lyxfunc.C (dispatch): small whitespace changes
9042
9043 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9044
9045         * WorkArea.C (C_WorkAreaEvent): return a value.
9046         (event_cb): return 1 if we handled the event, 0 otherwise.
9047
9048         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9049
9050 2002-03-18  Juergen Vigna  <jug@sad.it>
9051
9052         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9053         (GetAdditionalWidth): ditto.
9054         (RightLine): ditto.
9055         (LeftLine): ditto.
9056
9057         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9058         inset if we're there actually (probably not used right now but this
9059         is the direction to go for unifying code).
9060         (paste): disable code to clear the selection.
9061
9062         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9063         inside an InsetText and move the check further up as it is in the
9064         wrong place.
9065
9066         * text2.C (pasteSelection): set a selection over the pasted text.
9067
9068 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9069
9070         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9071         and libgraphics to build on Cygwin.
9072
9073 2002-03-15  Juergen Vigna  <jug@sad.it>
9074
9075         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9076         inserting an Inset into the paragraph. I know this is not the best
9077         fix but we already use current_view in CutAndPaste so we will remove
9078         all of it's using at the same time.
9079
9080         * buffer.C (sgmlError): deactivated function till it is rewritten in
9081         the right mode, now it can create problems.
9082
9083         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9084         before accessing it.
9085
9086 2002-03-14  Juergen Vigna  <jug@sad.it>
9087
9088         * undo_funcs.C (textHandleUndo): do the right thing when updating
9089         the inset after the undo/redo.
9090
9091         * text2.C (setCursor): just some testcode for #44 not ready yet.
9092
9093         * undo_funcs.C (textHandleUndo): set the next() and previous()
9094         pointers of the paragraph to 0 before deleting otherwise we have
9095         problems with the Paragraph::[destructor].
9096
9097         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9098         on a paragraph insertion.
9099
9100 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9101
9102         * buffer.C (asciiParagraph): use += operator for char append to
9103         string.
9104
9105         * paragraph.C (getFontSettings): compare >= not just >
9106         (highestFontInRange): ditto
9107         (setFont): ditto
9108
9109 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * paragraph.C: change several algorithm to be more appripriate for
9112         the problem domain. This is lookip in FontList and in the InsetList.
9113
9114 2002-03-13  André Pönitz <poenitz@gmx.net>
9115
9116         * commandtags.h:
9117         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9118
9119 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * commandtags.h:
9122         * LyXAction.C:
9123         * lyxfunc.C:
9124         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9125
9126 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * Painter.C (display): anon helper function, adjust code for this
9129         change.
9130         (pixmap): remove function.
9131
9132         * Painter.h: remove private display variable.
9133
9134         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9135
9136 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9137
9138         * WorkArea.[Ch]: remove figinset_canvas cruft.
9139
9140 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9141
9142         * lyxtextclass.C (operator): add one item cache optimization.
9143
9144         * bufferlist.h: doxy changes
9145
9146         * bufferlist.C: ws changes
9147
9148         * DepTable.[Ch] (ext_exist): place const in the right spot.
9149
9150         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9151         call resizeInsets.
9152         (workAreaExpose): call resizeInsets when the with BufferView changes.
9153         (Dispatch): adjust for protectedBlank removal
9154         (specialChar): call updateInset if the insert went ok.
9155
9156         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9157         specialChar instead.
9158
9159         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9160
9161         * BufferView.h: doxy change
9162
9163         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9164
9165         * lyxtextclass.C (operator[]): remove non-const version
9166         (defaultLayout): remove non-const version
9167
9168 2002-03-12  Juergen Vigna  <jug@sad.it>
9169
9170         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9171         did resize the LyXText too.
9172
9173         * buffer.C (readLyXformat2): set layout information on newly allocated
9174         paragraphs.
9175
9176         * tabular.C (OldFormatRead): set layout information on the paragraph.
9177
9178 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9179
9180         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9181
9182 2002-03-11  Juergen Vigna  <jug@sad.it>
9183
9184         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9185         plainly wrong.
9186         (resizeCurrentBuffer): force also the insets to resize themselfes.
9187         (moveCursorUpdate): fixed up for InsetText.
9188
9189 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9190
9191         * commandtags.h:
9192         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9193         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9194         value of Dialogs::tooltipsEnabled().
9195         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9196
9197 2002-03-08  Juergen Vigna  <jug@sad.it>
9198
9199         * BufferView_pimpl.C (updateInset): update inset inside inset also
9200         if it isn't inside theLockingInset().
9201
9202 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9203
9204         * buffer.C (asciiParagraph): redo some of the word and line length
9205         handling.
9206         (getLists): look for Caption instead of caption.
9207
9208 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9209
9210         * buffer.C (Buffer): initialize niceFile to true
9211         (makeLaTeXFile):
9212         (makeLinuxDocFile):
9213         (makeDocBookFile): make sure niceFile is true on exit
9214
9215 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9216
9217         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9218
9219 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9220
9221         * LyXSendto.C: remove.
9222         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9223         * lyx_gui.C: remove now-redundant comment.
9224         * ColorHandler.h: remove forward declaration of class WorkArea.
9225         * lyxfunc.C: remove #include "WorkArea.h".
9226
9227 2002-03-07  Juergen Vigna  <jug@sad.it>
9228
9229         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9230         got moved away with the DEPM and also set the inset_owner always
9231         right which before could have been omitted.
9232
9233 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9234
9235         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9236         wanted layout is not found.
9237
9238 2002-03-07  Juergen Vigna  <jug@sad.it>
9239
9240         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9241
9242 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9243
9244         * paragraph.C (breakParagraph): use default layout not layout of
9245         prev paragraph.
9246         (Paragraph): clear ParagraphParameters.
9247
9248 2002-03-06  Juergen Vigna  <jug@sad.it>
9249
9250         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9251         otherwise it would not be a valid lenght. Fixed a special case in
9252         the minipage compatibility read where we end the document with a
9253         minipage.
9254
9255         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9256         was set as it could be 0 for InsetTexts first entry.
9257
9258 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9259
9260         * paragraph.C (writeFile): if layout is empty write out
9261         defaultLayoutName().
9262
9263         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9264         file without named layout we set layout to defaultLayoutName().
9265
9266 2002-03-06  Juergen Vigna  <jug@sad.it>
9267
9268         * CutAndPaste.C (copySelection): set layout for new paragraph.
9269
9270         * text.C (prepareToPrint): leave ERT inset left aligned
9271         (leftMargin): don't indent paragraphs inside ERT insets
9272
9273 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * paragraph.C (breakParagraph): dont call clear do the work manually
9276
9277         * paragraph.[Ch] (clear): remove function
9278
9279 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9280
9281         * paragraph.C (Paragraph): dont call clear, the work has already
9282         been done.
9283
9284         * lyxtextclass.C (operator): assert if n is empty
9285
9286         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9287         work manually instead.
9288
9289 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9290
9291         * BufferView_pimpl.C: protect selectionLost against text == 0
9292
9293 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * text.C (breakParagraph): fix a setting layout to '0' problem.
9296
9297 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9298
9299         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9300         final location of file, for the included files, and graphics.
9301
9302 2002-03-05  Juergen Vigna  <jug@sad.it>
9303
9304         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9305
9306 2002-03-04  Juergen Vigna  <jug@sad.it>
9307
9308         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9309
9310         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9311         last column of multicolumn cells.
9312         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9313
9314 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9315
9316         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9317         file if it doesn't go to a temporary file.
9318
9319         * buffer.C (sgmlOpenTag):
9320         (sgmlCloseTag):  remove extra newline insertion.
9321
9322 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9323
9324         * text.C (getRowNearY): comment out debug msg
9325
9326 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * text2.C: first -> first_y
9329
9330         * text.C (getRowNearY): add some attemts at a possible
9331         optimization, not working.
9332
9333         * tabular.[Ch]: add BufferParams to several function so that newly
9334         created paragraph can be initialized to he default layotu for the
9335         buffers textclass.
9336
9337         * tabular-old.C (ReadOld): add buf->params to call of Init
9338
9339         * screen.C: rename text->first to text->first_y
9340
9341         * paragraph.C (breakParagraph): always set layout in the broken
9342         paragraph
9343
9344         * lyxtextclass.C (Read): remove lowercase
9345         (hasLayout): ditto
9346         (operator): ditto
9347         (delete_layout): ditto
9348
9349         * lyxtext.h: rename first -> first_y
9350
9351         * lyxlayout.C (Read): remove lowercase
9352         (name): ditto
9353         (setName): ditto
9354         (obsoleted_by): ditto
9355
9356         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9357
9358         * buffer.C (insertErtContents): add params are to InsetERT
9359         (parseSingleLyXformat2Token): add code to check if a paragraphs
9360         layout really exist.
9361         (parseSingleLyXformat2Token): add params to several inset
9362         constructors
9363         (asciiParagraph): remove lowercase, do the layout comparisons with
9364         no_case
9365
9366         * BufferView_pimpl.C (cursorNext): first -> first_y
9367         (resizeCurrentBuffer): first -> first_y
9368         (updateScrollbar): first -> first_y
9369         (scrollCB): first -> first_y
9370         (workAreaMotionNotify): first -> first_y
9371         (workAreaButtonPress): first -> first_y
9372         (checkInsetHit): first -> first_y
9373         (cursorPrevious): first -> first_y
9374         (cursorNext): first -> first_y
9375         (Dispatch): add buffer_->params to severl inset contructors
9376
9377 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9378
9379         * lyxlayout.C (Read): remove some debug info that I forgot.
9380
9381         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9382         clean up the code slightly.
9383         (makeLinuxDocFile): ditto
9384         (makeDocBookFile): ditto
9385
9386         * text2.C: layout as string
9387
9388         * text.C: layout as string
9389
9390         * paragraph_pimpl.C: layout as string
9391
9392         * paragraph.[Ch]: layout as string
9393
9394         * lyxtextclasslist.[Ch]: layout as string
9395
9396         * lyxtextclass.[Ch]: layout as string
9397
9398         * lyxtext.h: layout as string
9399
9400         * lyxlayout.[Ch]: layout as string
9401
9402         * lyx_cb.C: layout as string
9403
9404         * bufferview_funcs.C: layout as string
9405
9406         * bufferparams.C: layout as string
9407
9408         * buffer.C: layout as string
9409
9410         * LyXView.[Ch]: layout as string
9411
9412         * LaTeXFeatures.[Ch]: layout as string
9413
9414         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9415
9416         * BufferView_pimpl.C: change current_layout to string, remove
9417         lyx::layout_type.
9418         (Dispatch):
9419         (smartQuote):
9420         (insertInset):
9421         (workAreaButtonRelease): layout as string
9422
9423         * BufferView2.C (unlockInset): adjust
9424
9425         * vspace.C (asLatexCommand): use an explict temp variable.
9426
9427 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9428
9429         * Makefile.am: use FRONTEND_*
9430
9431 2002-03-01  Juergen Vigna  <jug@sad.it>
9432
9433         * tabular.C (SetWidthOfMulticolCell): changed to something better
9434         I hope but still work in progress.
9435         (recalculateMulticolumnsOfColumn): renamed function from
9436         recalculateMulticolCells as it is more appropriate now.
9437         (SetWidthOfCell): calculate multicols better.
9438
9439 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9442
9443         * lyxfunc.C (processKeySym): print sequence also if it is
9444         `deleted' (complete)
9445
9446         * kbsequence.C (print): print sequence even if it is deleted
9447         (complete would be a better word, actually).
9448
9449         * lyxfunc.C (dispatch): print complete options after a prefix key
9450
9451         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9452
9453 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9454
9455         * text2.C (setCharFont): eliminate setCharFont code duplication.
9456
9457 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9460         LFUN_TABULAR_FEATURE (bug #177)
9461
9462 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9463
9464         * Makefile.am: remove figure.h
9465
9466 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9467
9468         * Bufferview_pimpl.C:
9469         * CutAndPasteC:
9470         * LaTeX.C:
9471         * LyXSendto.C:
9472         * buffer.C:
9473         * bufferlist.C:
9474         * converter.C:
9475         * language.C:
9476         * lyxfunc.C:
9477         * lyxvc.C:
9478         * paragraph.C:
9479         * text.C:
9480         * text2.C: remove #include "lyx_gui_misc.h".
9481
9482         * LaTeX.C: added #include <cstdio>
9483
9484 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9487         that the paragraph following this one can have.
9488
9489         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9490
9491         * vspace.C (asLatexCommand): fix bogus gcc warning
9492
9493         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9494
9495 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9496
9497         * text2.C (setLayout): get rid of redundant code
9498
9499 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9500
9501         * text2.C (incDepth): make sure depth cannot be increased beyond
9502         reasonable values.
9503
9504 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9505
9506         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9507         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9508
9509         * PainterBase.h (image):
9510         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9511         a LyXImage const *.
9512
9513 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * BufferView.C:
9516         * BufferView.h:
9517         * BufferView_pimpl.C:
9518         * BufferView_pimpl.h:
9519         * LaTeXFeatures.C:
9520         * LyXAction.C:
9521         * LyXView.C:
9522         * Makefile.am:
9523         * UpdateList.h:
9524         * UpdateList.C:
9525         * buffer.C:
9526         * figure.h:
9527         * figureForm.C:
9528         * figureForm.h:
9529         * figure_form.C:
9530         * figure_form.h:
9531         * lyx_cb.C:
9532         * lyx_gui.C:
9533         * lyx_gui_misc.C:
9534         * lyxfunc.C:
9535         * sp_base.h:
9536         * sp_ispell.h:
9537         * sp_pspell.h:
9538         * sp_spell.C: remove fig inset, and the crap house of
9539           cards that follows it
9540
9541 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * Makefile.am:
9544         * lyxserver.C:
9545         * os2_defines.h:
9546         * os2_errortable.h:
9547         * nt_defines.h: move .h into support/
9548
9549         * vms_defines.h: remove
9550
9551         * WorkArea.C: add space in debug output
9552
9553         * text2.C:
9554         * paragraph.C:
9555         * buffer.C: add WITH_WARNINGS
9556
9557         * vc-backend.h:
9558         * vc-backend.C:
9559         * bufferlist.C: s/retrive/retrieve/, add docs
9560
9561         * vspace.h:
9562         * vspace.C:
9563         * kbmap.h:
9564         * lyxlength.h:
9565         * lyxgluelength.h:
9566         * length_common.h:
9567         * chset.h:
9568         * chset.C: add docs
9569
9570         * lyxgui.C: add ID to X error handler
9571
9572         * lyxtestclass.c: fix typo
9573
9574 2002-02-26  Juergen Vigna  <jug@sad.it>
9575
9576         * tabular_funcs.C (write_attribute): changed so that some default
9577         attributes are not written at all.
9578         (getTokenValue): set default values before trying to read the
9579         value so we have the return value always set as default if we don't
9580         find the token we search for.
9581
9582         * tabular.C (Write): write bools as bools not as strings!
9583
9584 2002-02-22  Juergen Vigna  <jug@sad.it>
9585
9586         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9587         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9588
9589         * text.C (leftMargin): don't add an indent for paragraphs inside
9590         tabular cells (fix #208).
9591
9592 2002-02-21  José Matos  <jamatos@fep.up.pt>
9593
9594         * tabular.C (docBook): fixed support for long tables.
9595
9596 2002-02-20  Juergen Vigna  <jug@sad.it>
9597
9598         * text2.C (getFont): get the drawing font of the Inset if this
9599         paragraph is inside an inset (only important for InsetERT for now).
9600
9601         * buffer.C (insertErtContents): use new lanugage params in ERT
9602         constructor.
9603
9604         * CutAndPaste.C: commenting out seemingly uneeded code.
9605
9606 2002-02-19  Allan Rae  <rae@lyx.org>
9607
9608         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9609         Iterators might be simple to use but they also get invalidated.
9610         (removeAutoInsets): renamed saved cursor tracking variables and added
9611         some comments to clarify what everything does.
9612
9613 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9614
9615         * Chktex.C:
9616         * LaTeX.C:
9617         * LyXSendto.C:
9618         * converter.C:
9619         * lyx_cb.C:
9620         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9621         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9622
9623         * lyxfunc.C:
9624         * vc-backend.h: remove #include "support/syscall.h"
9625
9626         * LaTeX.C:
9627         * LyXSendto.C:
9628         * converter.C: rearrange #includes in Lars' approved fashion.
9629
9630         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9631         forward declare class Timeout in the header file.
9632
9633         * XFormsView.C: changes due to the above.
9634
9635         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9636         similar to LyXView.
9637
9638         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9639         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9640
9641 2002-02-18  José Matos  <jamatos@fep.up.pt>
9642
9643         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9644         insets contents.
9645
9646 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9647
9648         * a lot of small ws changes
9649         * add a lot of using std::XXX
9650         * use std construcs some places where approp.
9651         * use some exisint stuff from lyxfunctional where approp.
9652         * Make file changes to use partial linking (lets test this now...)
9653
9654 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9655
9656         * Chktex.C:
9657         * buffer.C:
9658         remove #include "support/syscontr.h" as it's redundant. Always has been.
9659
9660         * Chktex.C:
9661         * LaTeX.C:
9662         * LyXSendto.C:
9663         * converter.C:
9664         * lyx_cb.C:
9665         * vc-backend.C:
9666         change Systemcalls::System to Systemcalls::Wait and
9667         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9668         No change of functionality, just reflects the stripped down Systemcalls
9669         class.
9670
9671 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9672
9673         * debug.[Ch]: add a GRAPHICS type to the enum.
9674
9675 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9676
9677         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9678
9679         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9680         there is an inset.
9681
9682 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9685         match the changes below.
9686
9687         * text2.C (toggleInset): if there is not editable inset at cursor
9688         position, try to see if cursor is _inside_ a collapsable inset
9689         and close it.
9690
9691 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9692
9693         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9694         document menu has a nice checkbox
9695
9696 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9697
9698         * lyxlength.C (asLatexString): change PW to output as percent of
9699         \textwidth.
9700
9701         * lengthcommon.C: change '%' to 't%'
9702
9703         * lyxfunc.C (dispatch): a few comments from Martin
9704
9705 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * WorkArea.h:
9708         * WorkArea.C:
9709         * BufferView_pimpl.h:
9710         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9711           the X selection.
9712
9713 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * vspace.C (inPixels): fix compiler warning
9716
9717 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * lyxfunc.C (getStatus): fix status message for disabled commands.
9720
9721 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * BufferView_pimpl.C: fix crash on close buffer
9724         during selection (#227)
9725
9726 2002-01-27  Herbert Voss  <voss@lyx.org>
9727
9728         * buffer.C: link old Figure to new graphic inset
9729
9730 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * FontLoader.C (getFontinfo): Change the latex font names in order
9733         to match the names of type1inst.
9734
9735 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9738
9739         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9740         (extchanged): ditto
9741         (ext_exist): ditto
9742         (remove_files_with_extension): ditto
9743         (remove_file): ditto
9744         (write): ditto
9745
9746         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9747         document is smaller than the work area height. Do not initialize
9748         static variables to 0.
9749
9750 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9753
9754         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9755         LFUN_LAYOUT_PARAGRAPHS.
9756
9757         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9758         tabular. It is possible to provide a possible cell, which will
9759         typically be the actcell from the corresponding insettabular
9760
9761         * lyxfunc.C (getStatus): small cleanup; disable
9762         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9763         true
9764
9765 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9768
9769         * paragraph.C (startTeXParParams):
9770         (endTeXParParams): new methods. The LaTeX code to
9771         start/end paragraph formatting
9772         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9773         empty (fixes bug #200)
9774
9775         * vspace.C (inPixels): adapt to the change below
9776         (inPixels): [later] more cleanups (remove unused variables)
9777
9778         * lyxlength.C (inPixels): change to use a width and a height as
9779         parameter.
9780
9781 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9784         Replaced with \paperwidth
9785
9786         * DepTable.C (insert): add std:: qualifier
9787
9788 2002-01-18  Allan Rae  <rae@lyx.org>
9789
9790         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9791         updated also?
9792
9793         * text.C (drawInset): Turned out I didn't know enough about how
9794         rebreaking worked.  This fixes most of the redraw problems.  I see
9795         an occasional cursor trail when a line is broken now and the cursor
9796         placement can seem out by a few pixels also after a rebreak.
9797
9798 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9799
9800         * buffer.C (parseSingleLyXformat2Token): update because minipage
9801         width is now a LyXLength
9802
9803         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9804
9805         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9806         math insets
9807
9808 2002-01-17  Juergen Vigna  <jug@sad.it>
9809
9810         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9811
9812         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9813         is set correctly and the inset is updated correctly.
9814
9815 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9818         the beginning of the loop.
9819
9820 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * lyxrc.C: improve help for use_scalable_fonts
9823
9824 2002-01-17  Allan Rae  <rae@lyx.org>
9825
9826         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9827
9828 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9831         make sure to set their inset_owner to the right value (bug #171)
9832
9833 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9834
9835         * DepTable.h
9836         * DepTable.C: Implement mtime checking to reduce time spent doing
9837         CRCs.
9838
9839 2002-01-16  Juergen Vigna  <jug@sad.it>
9840
9841         * tabular.C (GetAdditionalHeight): one of error fixed.
9842
9843         * lyxrc.C (output): small fix in writing use_pspell.
9844
9845 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9846
9847         * sp_base.h: #include LString.h
9848
9849 2002-01-16  Allan Rae  <rae@lyx.org>
9850
9851         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9852         Can someone check this please?
9853
9854         * text.C (drawInset): It was possible that p.row would be removed by
9855         breakAgainOneRow upsetting a few other settings.  There may be another
9856         small tweak possible by setting need_break_row = 0 when p.row has been
9857         removed but I don't know enough about the logic here.
9858
9859 2002-01-15  Allan Rae  <rae@lyx.org>
9860
9861         * text.C (insertChar): removed conditional truism.
9862
9863         * BufferView2.C (removeAutoInsets): More tweaks.
9864         cur_par_prev could be a stray pointer.  Check for trailing empty line
9865         in case last line was cur_par and only had an error inset on it.
9866
9867 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9870         absolute
9871
9872         * vc-backend.C (most methods):
9873         * exporter.C (Export):
9874         * converter.C (convert):
9875         (runLaTeX):
9876         * LyXSendto.C (SendtoApplyCB):
9877         * lyxfunc.C (dispatch):
9878         (menuNew):
9879         (open):
9880         (doImport):
9881         * lyx_cb.C (AutoSave):
9882         (InsertAsciiFile):
9883         * BufferView_pimpl.C (MenuInsertLyXFile):
9884         * buffer.C (runChktex): use Buffer::filePath().
9885
9886         * buffer.h: rename filename to filename_; rename filepath to
9887         filepath_ and make it private
9888         (filePath): new method
9889
9890         * buffer.C (writeFile): use fileName()
9891         (getLatexName):
9892
9893         * lyx_main.C (init): fix starting  of LyX when the binary is a
9894         link from so,ewhere else.
9895
9896         * minibuffer.C: include <cctype> for isprint
9897
9898 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9899
9900         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9901         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9902         name clash with InsetCollapsable's width function.
9903
9904 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9905
9906         * lastfiles.C: include <iterator>
9907
9908 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9911         std::count.
9912
9913         * buffer.C (makeLaTeXFile): ditto.
9914         Also make loop operation more transparent.
9915
9916 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9917
9918         * ToolbarDefaults.C: remove trailing comma closing namespace.
9919
9920         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9921
9922         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9923         as in WorkArea.
9924
9925         * trans.C (Load): comment out unused variable, allowed.
9926
9927 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9928
9929         * minibuffer.[Ch] (append_char): new method to recieve input from the
9930         drop-down completion browser. If a key was pressed, then recieve this
9931         char and append it to the existing string.
9932         (peek_event): modify the positioning data passed to the completion
9933         browser so that it can be placed above the minibuffer rather than below.
9934 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9935
9936         * LyXAction.C (init): alloe error-next for readonly documents.
9937
9938         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9939         count.
9940
9941 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * bufferlist.C (readFile): create the buffer _after_ checking that
9944         the file exists.
9945
9946         * lyxfunc.C (verboseDispatch): fix handling of arguments
9947
9948         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9949
9950         * lyxrc.C: use string::erase() instead of initializing to "".
9951
9952
9953 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * BufferView_pimpl.h:
9956         * BufferView_pimpl.C:
9957         * WorkArea.h:
9958         * WorkArea.C:
9959         * text2.C: tell X when we have made a selection for copying
9960
9961 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * BufferView_pimpl.C (MenuInsertLyXFile):
9964         * lyxfunc.C (menuNew):
9965         (open):
9966         (doImport): add shortcuts to directory buttons
9967
9968         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9969         open a float)
9970
9971         * lyxfunc.C (setStatusMessage):
9972         (getStatusMessage): new methods
9973         (getStatus):use setStatusMessage instead of setErrorMessage
9974         (dispatch): when function is disabled, set error message here
9975         [instead of in getStatus previously]
9976
9977         * BufferView_pimpl.C (workAreaButtonRelease): update
9978         toolbar/menubar here too.
9979
9980 2002-01-13  Allan Rae  <rae@lyx.org>
9981
9982         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9983         Now seems indestructible.  Remaining task is to audit all other
9984         code affected by deleteEmptyParagraphMechanism.  One small quirk
9985         left is that an empty document with an error in the preamble can
9986         be made to report an error but no error box appears.  I don't know
9987         where it goes.
9988         (removeAutoInsets): Improved comments.
9989
9990 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9991
9992         * Thesaurus.h:
9993         * Thesaurus.C: update for Aiksaurus 0.14
9994
9995 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9996
9997         * text2.C (firstParagraph): removed member function, all uses
9998         replaces with ownerParagraph
9999         (redoParagraphs): here
10000         (updateInset): here
10001         (toggleAppendix): here
10002         * BufferView2.C (insertErrors): here
10003         (setCursorFromRow): here
10004
10005 2002-01-13  Allan Rae  <rae@lyx.org>
10006
10007         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10008         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10009         There is still a way to segfault this although you may have to do this
10010         multiple times: Have an InsetERT with an unknown command in it.
10011         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10012         <down-arrow>, <Enter> again, View->DVI, BANG!
10013
10014         * text2.C (setCursor):
10015         (deleteEmptyParagraphMechanism):
10016         * lyxtext.h (setCursor):
10017         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10018         Making use of the return value may help fix other bugs.
10019
10020 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10023
10024         * LyXView.C (updateMenubar): call MenuBar::update here
10025         (updateToolbar): but not here
10026         (showState): do not update toolbar/menubar
10027
10028         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10029         should need to care about that.
10030
10031         * lyxfunc.C (verboseDispatch): simplify a bit
10032         (getStatus): have a version which takes a pseudoaction, and
10033         another which requires a (kb_action,string).
10034
10035         * LyXAction.C (retrieveActionArg): make it work also when action
10036         is not a pseudo-action.
10037         (getActionName): simplify a bit
10038         (helpText):
10039
10040 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10041
10042         * lyxfunc.C (verboseDispatch): new families of methods with
10043         several ways to specify a command and a bool to indicate whether
10044         the command name and shortcut should be displayed in minibuffer
10045         (eventually, we could extend that to a finer bitmask like
10046         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10047         (dispatch): the pristine dispatch command which just, well,
10048         dispatchs! Note it still sets its result to minibuffer; I'm not
10049         sure we want that.
10050
10051         * lyxfunc.h: remove setHintMessage
10052
10053         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10054
10055 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * BufferView_pimpl.C (specialChar): delete new inset if we have
10058         not been able to insert it.
10059
10060         * kbmap.C: revert to using int instead of kb_action, since all we
10061         are dealing with is pseudo-actions.
10062
10063         * LyXAction.C (searchActionArg): change to return int instead of
10064         kb_action, since the result is a pseudoaction.
10065
10066 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10067
10068         * buffer.C (insertErtContents): Fix (partially) the font bug.
10069
10070 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10071
10072         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10073         as the other one is broken on my machine!
10074
10075 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10076
10077         * commandtags.h:
10078         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10079
10080 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10081
10082         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10083         reflect their actual use. Provide compatibility code for older lyxrc
10084         files.
10085
10086         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10087         FL_NORMAL_STYLE.
10088         change names of popup font variables in line with the changes to lyxrc.C
10089
10090 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10091
10092         * buffer.C (asciiParagraph): avoid outputing a word twice after
10093         an inset.
10094
10095         * lyxrc.C (getDescription): document that document_path and
10096         template_path can be empty.
10097
10098 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * LaTeXFeatures.C (getMacros):
10101         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10102
10103         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10104
10105         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10106         getPackages.
10107         (getPackages): rename feature "floats" to "float". Use an array to
10108         iterate over 'simple' features (i.e. just a \usepackage). Add
10109         handling of "amsmath" (renamed from "amsstyle").
10110
10111 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10112
10113         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10114         features list.
10115
10116 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10119         FuncStaus::FuncStatus & FuncStaus::some_method().
10120
10121 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10122
10123         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10124         of the func_satus stuff. Edited and massaged in various ways by
10125         JMarc.
10126
10127         * lyxfunc.C (getStatus): use FuncStatus
10128
10129 2002-01-08  Juergen Vigna  <jug@sad.it>
10130
10131         * text.C (nextBreakPoint): use function Inset::isChar().
10132
10133         * paragraph.C (TeXOnePar): use function
10134         Inset::forceDefaultParagraphs.
10135
10136         * buffer.C (latexParagraphs): use function
10137         Inset::forceDefaultParagraphs.
10138
10139 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10140
10141         * lyx_gui.C (init): set the style of the menu popups to
10142         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10143
10144 2002-01-07  Juergen Vigna  <jug@sad.it>
10145
10146         * text.C (setHeightOfRow): small fix
10147         (prepareToPrint): don't look at alignment if we don't have the place
10148         for doing it.
10149
10150 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10151
10152         * box.C: New file. Move the Box methods and functions out of box.h,
10153         following Lars' suggestion.
10154
10155 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10156
10157         * box.h: #include "support/LOstream.h", needed for inlined function.
10158
10159         * lyxtextclass.C:
10160         * lyxtextclasslist.C: added some using std declarations.
10161
10162 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10163
10164         * box.h: make signed dimensions to allow insets wider than
10165           the screen (bug #162)
10166
10167         * BufferView_pimpl.C: add some insetHit debug
10168
10169 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * vc-backend.C: add FIXME
10172
10173 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * lyxfunc.C (getStatus): enable code for showing math font status
10176         in toolbar/menu.
10177
10178 2002-01-07  Juergen Vigna  <jug@sad.it>
10179
10180         * text.C (nextBreakPoint): removed debug output not needed anymore.
10181
10182 2002-01-06  Juergen Vigna  <jug@sad.it>
10183
10184         * text.C (nextBreakPoint): fixed up this function we had this bug
10185         since ever but now hopefully we break row better.
10186         (insertChar): we have to check if an inset is the next char as it
10187         could now happen that a large inset is causing a break.
10188
10189 2002-01-05  Juergen Vigna  <jug@sad.it>
10190
10191         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10192         if it doesn't like to be drawed.
10193
10194 2002-01-04  Juergen Vigna  <jug@sad.it>
10195
10196         * BufferView2.C (lockInset): forgot to set a cursor.
10197
10198         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10199
10200 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10201
10202         * FormMathsPanel.C:
10203         * FormMathsPanel.h
10204         * MathsSymbols.C:
10205         * form_maths_panel.C:
10206         * form_maths_panel.h:
10207         * form_maths_panel.fd: implemented sub- and super- buttons in math
10208         panel.
10209
10210         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10211         (or ^ space) to be used as in TeX (req'd by André).
10212
10213         * lyxfunc.C: Allow ^ and _ again to be used both as
10214         super/subscript (mathed) and as themselves (in text).
10215
10216 2002-01-03  Allan Rae  <rae@lyx.org>
10217
10218         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10219         "LyX" or the filename of the current buffer if it has one.  This is a
10220         modified form of John Levon's patch.
10221
10222         * XFormsView.C (setWindowTitle): also set icon title.
10223
10224         * LyXView.h (setWindowTitle): signature changed.
10225         * XFormsView.h (setWindowTitle): ditto.
10226
10227 2002-01-02  Juergen Vigna  <jug@sad.it>
10228
10229         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10230
10231 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10232
10233         * screen.C (topCursorVisible): introduce a temp var for
10234         text->cursor.row(), handle the case where this row is null. (kindo
10235         hachish)
10236
10237         * text2.C (setCursor): add a couple of asserts.
10238
10239         * paragraph.h (inset_iterator): add -> operator
10240
10241         * paragraph.[Ch] (autoDeleteInsets): remove member function
10242
10243         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10244         cursor pos correctly and handle inset deletion by itself.
10245         (insertErrors): move iterator declaration out of for expression
10246
10247         * lyxtextclass.C: add <algorithm>
10248
10249         * Makefile.am: added the new files to sources, removed layout.C
10250
10251         * layout.C: removed file
10252
10253         * layout.h: remove LYX_DUMMY_LAYOUT
10254
10255         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10256         layout.
10257
10258         * lyxlayout.[Ch]:
10259         * lyxtextclass.[Ch]:
10260         * lyxtextclasslist.[Ch]: new files
10261
10262         * include order changes to a lot of files, also changes because of
10263         the six new files.
10264
10265 2001-12-27  Juergen Vigna  <jug@sad.it>
10266
10267         * buffer.C (asciiParagraph): more fixes.
10268
10269         * tabular.C (ascii): make ascii export support export of only the
10270         data separated by a column-delimiter.
10271         (ascii): better support for ascii export.
10272
10273         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10274
10275 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10276
10277         * tabular_funcs.C: use a "using std::getline" instead of the
10278         previous fix from Angus (necessary for cxx + lyxstring)
10279
10280 2001-12-24  Juergen Vigna  <jug@sad.it>
10281
10282         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10283
10284         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10285         problems. First check a minipage also if we have some ert-contents
10286         (not only on par->size(), second set the right depth of the paragraph
10287         on the relink to the root-paragraph-list!
10288
10289         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10290         which then did not anymore update the main paragraphs on undo/redo!
10291
10292 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10295         code. Support all font-changing funcs (even those which are not in
10296         menu currently). Support for reporting font settings in
10297         mathed (disabled until Andre provides a function on mathed's side).
10298
10299         * func_status.h (toggle): small helper function to set toggle
10300         state on a flag.
10301
10302 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10303
10304         * tabular_funcs.C: getline -> std::getline
10305
10306 2001-12-21  Juergen Vigna  <jug@sad.it>
10307
10308         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10309         accessed and could be 0 (I couldn't generate this but it seems
10310         Michael could!).
10311
10312 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10313
10314         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10315         * tabular_funcs.h: here and include iosfwd
10316
10317 2001-12-20  Juergen Vigna  <jug@sad.it>
10318
10319         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10320         inside inset but undo_par was.
10321
10322 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * Thesaurus.C: always include <config.h> in sources.
10325
10326         * Painter.h:
10327         * lyxlookup.h:
10328         * box.h: do not include <config.h> in header files
10329
10330         * text.C (paintLastRow): remove unused variable
10331
10332         * text.C (transformChar):
10333         (insertChar):
10334         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10335
10336         * Painter.C (text):
10337         * font.C (width): rewrite to use uppercase() instead of
10338         islower/toupper.
10339
10340         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10341
10342 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * lyxfind.C: clean up of find failure position change
10345
10346 2001-12-20  Juergen Vigna  <jug@sad.it>
10347
10348         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10349
10350         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10351         (TeXRow): added to LaTeX a single tabular row.
10352         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10353         (Latex): simplified and finally good LT-h/f support.
10354         (various_functions): just small adaptions for LT-h/f support.
10355
10356         * tabular_funcs.[hC]: added and moved here all not classfunctions
10357         of LyXTabular.
10358
10359 2001-12-19  Juergen Vigna  <jug@sad.it>
10360
10361         * tabular.[Ch]: better support for longtabular options (not finished
10362         yet!)
10363
10364 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * text.C (paintLastRow): use the label font instead of the font of
10367         the last character to compute the size of *_BOX. This makes more
10368         sense and avoids a crash with empty paragraphs.
10369         Use Painter::rectangle to draw EMPTY_BOX.
10370
10371 2001-12-19  Juergen Vigna  <jug@sad.it>
10372
10373         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10374         the paragraphs if the replaced paragraph is not the first one!
10375         Tried to delete not used paragraphs but does not work yet so for
10376         now it's inside #ifdef's and by default off!
10377
10378 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10379
10380         * MenuBackend.C: include "lyx_main.h" instead of declaring
10381         lastfiles (actually was declared as LastFiles* instead of a
10382         scoped_ptr).
10383
10384 2001-12-17  Juergen Vigna  <jug@sad.it>
10385
10386         * tabular.C (AppendColumn): applied John's fix
10387
10388 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * BufferView.h:
10391         * BufferView.C:
10392         * BufferView_pimpl.h:
10393         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10394
10395         * Makefile.am:
10396         * box.h: new start of class for above
10397
10398         * lyxfunc.C: ignore space-only minibuffer dispatches.
10399           Show the command name when it doesn't exist
10400
10401         * minibuffer.C: don't add empty lines to the history
10402
10403         * minibuffer.C: add a space on dropdown completion
10404
10405 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * text.C: fix line above/below drawing in insets
10408
10409 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10410
10411         * lyxlength.C (LyXLength): Initialize private variables.
10412
10413 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10414
10415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10416         when inserting error insets.
10417
10418 2001-12-13  Juergen Vigna  <jug@sad.it>
10419
10420         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10421         actually sometimes the before-paragraph.
10422         (setUndo): don't clear the redostack if we're not actually undoing!
10423
10424 2001-12-06  Juergen Vigna  <jug@sad.it>
10425
10426         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10427         and fixed redoing of main paragraph, so we can use it now ;)
10428
10429         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10430
10431 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10432
10433         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10434         Juergen's request
10435
10436 2001-12-13  André Pönitz <poenitz@gmx.net>
10437
10438         * undostack.[Ch]:
10439         * undo_func.C: minor cleanup
10440
10441 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10442
10443         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10444         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10445         font in urw-fonts package which is marked as -urw-fontspecific and
10446         does not work (incidentally, changing the encoding in the
10447         fonts.dir of this package to -adobe-fontspecific fixes the
10448         problem).
10449
10450         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10451         is a crash when undoing first paragraph (Juergen, please take a
10452         look). THis does not mean the undo fix is wrong, just that it
10453         uncovers problems.
10454
10455         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10456         the (Paragraph*) version when needed instead of duplicating the
10457         code.
10458
10459         * text.C (workWidth): use Inset::parOwner to find out where the
10460         inset has been inserted. This is a huge performance gain for large
10461         documents with lots of insets. If Inset::parOwner is not set, fall
10462         back on the brute force method
10463
10464         * paragraph_pimpl.C (insertInset):
10465         * paragraph.C (Paragraph):
10466         (cutIntoMinibuffer): set parOwner of insets when
10467         inserting/removing them
10468
10469         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10470
10471 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10472
10473         * commandtags.h:
10474         * LyXAction.C:
10475         * lyx_main.C:
10476         * lyxfunc.C:
10477         * mathed/formulabase.C:
10478         * mathed/math_cursor.[Ch]:
10479         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10480
10481
10482 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * lyxlength.[Ch] (operator!=): new function
10485
10486 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10487
10488         * text.C (workWidth): use Inset::parOwner to find out where the
10489         inset has been inserted. This is a huge performance gain for large
10490         documents with lots of insets. If Inset::parOwner is not set, fall
10491         back on the brute force method
10492
10493         * paragraph_pimpl.C (insertInset):
10494         * paragraph.C (Paragraph):
10495         (cutIntoMinibuffer): set parOwner of insets when
10496         inserting/removing them
10497
10498         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10499
10500 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10501
10502         * tabular-old.C (getTokenValue):
10503         * tabular.C (getTokenValue):
10504         (write_attribute): new versions for LyXLength
10505         (everywhere): adjust the use of widths
10506
10507         * tabular.h: change the type of widths from string to LyXLength
10508
10509 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10510
10511         * paragraph.C: fixed missing line number count when exporting
10512         Environments to LaTeX file
10513
10514         * buffer.C: added informational message for checking line numbers.
10515
10516 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10519         paragraph, do the 'double space' part, but not the 'empty
10520         paragraph' one.
10521
10522         * text.C (workWidth): small optimization
10523         (getLengthMarkerHeight): use minimal size for negative lengths.
10524
10525 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10526
10527         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10528
10529         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10530
10531 2001-12-11  André Pönitz <poenitz@gmx.net>
10532
10533         * FontLoader.C:
10534         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10535
10536 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * text2.C: keep selection on a setFont()
10539
10540 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * lyx_cb.C: another bv->text misuse, from insert label
10543
10544 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * kbsequence.h:
10547         * kbsequence.C: re-instate nmodifier mask
10548
10549 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10550
10551         * lyx_main.h: make lyxGUI private.
10552
10553 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * lyxfind.C: place the cursor correctly on failed search
10556
10557 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * text.C (getLengthMarkerHeight): for small heights, the arrows
10560         are not always on top/bottom of the text
10561         (drawLengthMarker): smaller arrows; take the left margin in
10562         account; draw also vfills.
10563         (paintFirstRow):
10564         (paintLastRow): remove special code for vfill and standard spaces,
10565         since everything is handled in drawLengthMarker now.
10566
10567 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * buffer.C (insertErtContents): try to handle font and language
10570         interaction a bit better.g
10571
10572         * ColorHandler.C (updateColor): change the hash to cover the whole
10573         LColor enum, ws cleanup
10574         (getGCLinepars): ditto
10575         (getGCLinepars): only lookup in the linecache once.
10576
10577 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * iterators.C (operator++): Make the iterator more robust
10580
10581         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10582         (John's patch)
10583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10584
10585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * lyxtext.h:
10588         * text.C: better added space drawing
10589
10590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * LyXView.C:
10593         * BufferView2.C: fix layout combo update on inset unlock
10594
10595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * Makefile.am: don't compile unused files
10598
10599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * lyxfunc.C:
10602         * commandtags.h:
10603         * LyXAction.C: remove old LFUN_LAYOUTNO
10604
10605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * paragraph_pimpl.h:
10608         * paragraph_pimpl.C: isTextAt() doesn't need font param
10609
10610 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * lyxlex.h:
10613         * lyxlex.C: little cleanup
10614
10615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * BufferView_pimpl.C: fix insertAscii for insets
10618
10619 2001-12-05  Juergen Vigna  <jug@sad.it>
10620
10621         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10622         set the right font on the "multi" paragraph paste!
10623
10624 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * trans_decl.h:
10627         * trans_mgr.[Ch]:
10628         * trans.[Ch]:
10629         * lyxgluelength.C:
10630         * lyxlength.C: remove out-commented code.
10631
10632         * BufferView_pimpl:
10633         * CutAndPaste.C:
10634         * DepTable.C:
10635         * buffer.C:
10636         * chset.C:
10637         * lastfiles.C:
10638         * lyxlex.C:
10639         * lyxlex_pimpl.C:
10640         * lyxserver.C:
10641         * screen.C:
10642         * tabular-old.C:
10643         * tabular.C:
10644         * text.C:
10645         * trans_mgr.C:
10646         * vc-backend.C: change "while(" to "while ("
10647
10648         * lyxlength.[Ch]: add zero function to check if length is zero or
10649         not
10650         * lyxgluelength.C: use it
10651
10652 2001-12-05  Allan Rae  <rae@lyx.org>
10653
10654         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10655         Works for 2.95.3, from what I understand of Garst's reports this should
10656         work for other g++ versions.  We're screwed if the abs(int) definition
10657         changed between bugfix releases of gcc.
10658
10659 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * text.C: fix chapter label offset !
10662
10663 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * lyxtext.h:
10666         * text.C: fix hfill at end of line, clean up
10667
10668 2001-12-04  Juergen Vigna  <jug@sad.it>
10669
10670         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10671         that we force an update of the inset and it's owners if neccessary.
10672
10673 2001-12-03  Juergen Vigna  <jug@sad.it>
10674
10675         * text.C (rowLast): simplified code
10676
10677 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * lyxfunc.C: fix show options on timeout
10680
10681 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * screen.C (topCursorVisible): scroll half a page when the cursor
10684         reached top of bottom of screen
10685
10686 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * minibuffer.C: deactivate on loss of focus
10689
10690 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * vspace.[Ch] (operator!=): add operator.
10693
10694 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * BufferView_pimpl.C: refuse to open an inset when
10697         there's a selection.
10698
10699 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView_pimpl.C: allow to click on RHS of full row insets
10702
10703 2001-11-30  Juergen Vigna  <jug@sad.it>
10704
10705         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10706         insets for undo reasons.
10707
10708 2001-11-28  André Pönitz <poenitz@gmx.net>
10709
10710         * vspace.[Ch]: cosmetical changes
10711
10712 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * LyXAction.h:
10715         * LyXAction.C:
10716         * lyxfunc.h:
10717         * lyxfunc.C:
10718         * kbmap.h:
10719         * kbmap.C:
10720         * lyxrc.C:
10721         * kbsequence.h:
10722         * kbsequence.C: part re-write of old kb code
10723
10724         * Painter.C:
10725         * WorkArea.C: remove Lgb_bug_find_hack
10726
10727 2001-11-30  José Matos <jamatos@fep.up.pt>
10728
10729         * buffer.C (makeDocBookFile): add a comment to point a hack.
10730         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10731         Fixed a double write of labels.
10732
10733 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10734
10735         * LaTeX.C:
10736         * LaTeX.h Fixed bug in LaTeX class where it would not
10737         re-run latex if no depfiles were changed, but the .dvi was removed.
10738
10739 2001-11-28  André Pönitz <poenitz@gmx.net>
10740
10741         * all the files from the change on 2001/11/26:
10742         use lyx::layout_type instead of LyXTextClass::size_type
10743         use lyx::textclass_type instead of LyXTextClassList::size_type
10744
10745 2001-11-29  Juergen Vigna  <jug@sad.it>
10746
10747         * text.C: added support for paragraph::isFreeSpacing()
10748
10749         * buffer.C: same as above
10750
10751         * paragraph.h: inserted isFreeSpacing() function to enable
10752         FreeSpacing inside InsetERT.
10753
10754         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10755         of the paragraph's in the cut/copy buffer to 0!
10756
10757         * text2.C (removeRow): remove the assert as it can!
10758
10759         * lyxtext.h: added helper function firstRow returning firstrow and
10760         made firstrow private again.
10761
10762         * BufferView2.C (lockInset): don't relock if we're already locked!
10763
10764         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10765         the only paragraph.
10766         (removeRow): added Assert::(firstrow)
10767
10768         * debug.C: forgot to add INSETTEXT here.
10769
10770 2001-11-28  Juergen Vigna  <jug@sad.it>
10771
10772         * sp_spell.C (initialize): changed error text to more general
10773         spellchecker command use (not only ispell!)
10774
10775         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10776
10777         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10778
10779 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * vspace.C: initialise lyxgluelength on failure
10782
10783 2001-11-28  Allan Rae  <rae@lyx.org>
10784
10785         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10786         declaration & definition that looks like a function declaration.
10787
10788 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * BufferView2.C (copy):
10791         (copyEnvironment): do not clear the selection when doing a copy.
10792
10793         * text.C (paintFirstRow): compilation fix
10794
10795 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10796
10797         * tabular.C (Latex): correct line count when writing latex.
10798
10799 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * paragraph_pimpl.h:
10802         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10803           bug a bit
10804
10805 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * text.C:
10808         * LColor.h:
10809         * LColor.C: change vfillline->added_space
10810
10811         * text.C: add markers and text for added space
10812
10813         * vspace.C: fix comment
10814
10815 2001-11-28  André Pönitz <poenitz@gmx.net>
10816
10817         * paragraph.C: whitespace changes
10818         * all the other files from the change on 2001/11/26:
10819         change *::pos_type into lyx::pos_type
10820
10821 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10822
10823         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10824         language of the document when inserting error insets.
10825
10826 2001-11-26  André Pönitz <poenitz@gmx.net>
10827
10828         * BufferView_pimpl.[Ch]:
10829         *       CutAndPaste.C:
10830         * buffer.[Ch]:
10831         * lyxcursor.[Ch]:
10832         * lyxfind.C:
10833         * lyxfunc.C:
10834         * lyxrow.[Ch]:
10835         * paragraph.[Ch]:
10836         * paragraph_pimpl.[Ch]:
10837         * sp_spell.C:
10838         * text.C:
10839         * text2.C: reduce header dependencies, introduce type for positions
10840
10841 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10842
10843         * <various>: change to use Alert.h
10844
10845 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10846
10847         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10848         when encountering an unknown token.
10849         (readLyXformat2): Show an error message if there were unknown tokens.
10850
10851 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * BufferView2.C:
10854         * BufferView_pimpl.C:
10855         * buffer.C:
10856         * paragraph.h:
10857         * text.C:
10858         * text2.C: use par->isInset()
10859
10860 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * paragraph_pimpl.h:
10863         * paragraph_pimpl.C: cleanup
10864
10865 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10866
10867         * text2.C (removeRow):
10868         * text.C (setHeightOfRow): remove useless (and costly) call to
10869         getRow.
10870
10871 2001-11-20  Allan Rae  <rae@lyx.org>
10872
10873         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10874         Now need Inset*::checkInsertChar() to return true for appropriate
10875         cases so that the characters in the minibuffer will actually be
10876         inserted.
10877
10878 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * text.C: change the order of the includes.
10881         (workWidth): initialize it at once.
10882         (workWidth): make maxw unsigned
10883         (setHeightOfRow): remove unused variable (inset)
10884         (selectSelectedWord): remove unused variable (inset)
10885         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10886
10887 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10890         server is not running.
10891         (openConnection):
10892         (closeConnection): add debug info when server is disabled.
10893
10894         * ColorHandler.C (getGCForeground): send debug message to GUI
10895         channel.
10896
10897         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10898
10899         * kbmap.C (bind): modify because return conventions of
10900         kb_sequence::parse have changed.
10901
10902         * kbsequence.C (parse): only ignore spaces and not any stupid
10903         control character. This avoids tests like s[i] <= ' ', which are
10904         guaranteed to fail with 8bit characters and signed chars.
10905         Change return code to string::npos when there have been no error
10906         (0 was a bad idea when error is at first character)
10907
10908 2001-11-14  José Matos  <jamatos@fep.up.pt>
10909
10910         * buffer.h:
10911         * buffer.C (simpleDocBookOnePar): removed unused argument.
10912
10913 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10916         insets which are part of a word. Paragraph::isLetter takes care of
10917         that now. Use Paragraph::isInset to identify insets.
10918         (selectSelectedWord): do not test for hyphenation break.
10919
10920         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10921         that protected spaces are considered as spaces.
10922
10923         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10924         Inset::isLetter.
10925
10926 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * lyxserver.h:
10929         * lyxserver.C: fix it. and small cleanup.
10930
10931 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * BufferView_pimpl.C: use inline helpers
10934
10935         * LaTeXFeatures.h:
10936         * LaTeXFeatures.C: fix typos
10937
10938         * Spacing.h:
10939         * Spacing.C: move spacing_string into class
10940
10941         * ToolbarDefaults.C: move stuff into namespace anon
10942
10943         * layout.h: update enum
10944
10945         * lyxfunc.C: use better debug
10946
10947         * minibuffer.h: fix typo
10948
10949         * debug.h:
10950         * debug.C:
10951         * WorkArea.C: add and use Debug::WORKAREA
10952
10953         * lyxtext.h:
10954         * text.C:
10955         * text2.C: code re-organisation, inline helpers
10956
10957 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10958
10959         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10960         std::vector.empty().
10961
10962 2001-11-09  Allan Rae  <rae@lyx.org>
10963
10964         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10965         '\n's after tables.  Tabular and ERT inset work now makes this no
10966         longer necessary.
10967
10968 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * minibuffer.h:
10971         * minibuffer.C: fix crash, improve drop-down completion
10972
10973 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * lyxserver.h:
10976         * lyxserver.C: invalidate fd's when doing endPipe()
10977
10978 2001-11-08  José Matos  <jamatos@fep.up.pt>
10979
10980         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10981         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10982
10983         * paragraph.h:
10984         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10985
10986 2001-11-07  José Matos  <jamatos@fep.up.pt>
10987
10988         * buffer.h:
10989         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10990         const qualifier.
10991
10992         * buffer.C (sgmlOpenTag):
10993         * buffer.C (sgmlCloseTag): removed debug info.
10994
10995         * buffer.h (sgmlOpenTag):
10996         * buffer.h (sgmlCloseTag): made public.
10997
10998 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10999
11000         * buffer.C (saveParamsAsDefaults):
11001         * lyx_cb.C (MenuLayoutSave): remove
11002
11003         * LyXAction.C (init):
11004         * commandtags.h:
11005         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11006
11007 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * buffer.C (setPaperStuff): removed from here...
11010
11011         * bufferparams.C (setPaperStuff): ... and moved there.
11012
11013 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * minibuffer.h:
11016         * minibuffer.C:
11017         * XFormsView.C: add support for drop-down completion
11018
11019 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11020
11021         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11022         commands.
11023
11024 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11025
11026         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11027         disabled.
11028
11029 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * lyx_main.C: change ref to known bugs
11032
11033 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11034
11035         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11036         to work around older babel problems.
11037
11038 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11039
11040         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11041
11042 2001-10-24  Juergen Vigna  <jug@sad.it>
11043
11044         * tabular-old.C (ReadOld): below variable changes reflected.
11045
11046         * tabular.[Ch]: added ltType struct for longtable header/footer
11047         defines and changed all instances where they are used. Added
11048         future support for double top/bottom rows.
11049
11050 2001-10-24  José Matos  <jamatos@fep.up.pt>
11051
11052         * buffer.h (docbookHandleCaption):
11053         * buffer.C (docbookHandleCaption): removed unused function.
11054         (makeDocBookFile): moved docbook supported version to v4.1.
11055
11056 2001-10-24  José Matos  <jamatos@fep.up.pt>
11057
11058         * tabular.h:
11059         * tabular.C (docbookRow): new function to export docbook code of a row.
11060         (DocBook): now honors the longtable flags.
11061
11062 2001-10-23  José Matos  <jamatos@fep.up.pt>
11063
11064         * LaTeXFeatures.h:
11065         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11066         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11067
11068         * buffer.C (makeLinuxDocFile):
11069         (makeDocBookFile): reworked the preamble, more clean, and with
11070         support for lyx defined entities. Changed the document declaration
11071         to be more XML friendly.
11072
11073         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11074         if we need to output XML that should be done with a filter.
11075
11076 2001-10-22  Juergen Vigna  <jug@sad.it>
11077
11078         * sp_pspell.h (class PSpell): add alive function needed in the
11079         controller to see if the spellchecker could be started.
11080
11081 2001-10-22  Juergen Vigna  <jug@sad.it>
11082
11083         * buffer.C (insertStringAsLines): modify the font for inserting
11084         chars in certain conditions by calling checkInsertChar(font).
11085
11086 2001-10-19  Juergen Vigna  <jug@sad.it>
11087
11088         * text.C (workWidth): use getRow instead of wrong algorithm.
11089         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11090
11091 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * lyxserver.h:
11094         * lyxserver.C:
11095         * lyx_main.h:
11096         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11097
11098 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11099
11100         * text.C (workWidth): do not search for the exact row when
11101         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11102         optimization for big documents.
11103
11104 2001-10-18  Juergen Vigna  <jug@sad.it>
11105
11106         * text.C (workWidth): new function with added Inset * parameter.
11107
11108 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11111
11112         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11113         change return type of getColumnNearX.
11114
11115
11116         * text.C (changeRegionCase): use uppercase/lowercase instead of
11117         toupper/tolower.
11118         (leftMargin):
11119         (rightMargin): simplify code by factoring out the uses of
11120         textclasslist.
11121         (labelFill):
11122         (numberOfHfills):
11123         (setHeightOfRow):
11124         (appendParagraph): use Paragraph::size_type
11125
11126 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11127
11128         * vspace.C (asLatexString): add a missing break
11129
11130 2001-10-15  Herbert Voss  <voss@perce.de>
11131
11132         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11133
11134 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11137         is not available.
11138
11139 2001-10-10  André Pönitz <poenitz@gmx.net>
11140
11141         * lyxfunc.C: removed greek_kb_flag.
11142
11143 2001-10-10  Herbert Voss  <voss@perce.de>
11144
11145         * lyx_main.C: delete global string help_lyxdir.
11146
11147 2001-10-09  Herbert Voss  <voss@perce.de>
11148
11149         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11150
11151         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11152
11153         * lyx_main.C: added global string help_lyxdir.
11154
11155         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11156
11157 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11158
11159         * lyxrc.C (set_font_norm_type): support iso8859-4
11160
11161 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11162
11163         * LaTeX.C (deplog): add another regex for MikTeX
11164
11165 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11166
11167         * lyxrc.C (set_font_norm_type): support iso8859-3
11168
11169 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11172
11173         * LaTeXFeatures.C: remove special case of french and index
11174
11175         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11176         before \begin{document}). This solves several incompatibilities.
11177
11178 2001-10-03  Garst Reese  <reese@isn.net>
11179
11180         * lyx_cb.C: change CheckTex error msg.
11181
11182 2001-10-03  José Matos  <jamatos@fep.up.pt>
11183
11184         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11185
11186 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * .cvsignore: update
11189
11190         * lyx_main.C (commandLineVersionInfo): use new style version info.
11191
11192         * buffer.C (writeFile):
11193         (makeLaTeXFile):
11194         (makeLinuxDocFile):
11195         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11196
11197         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11198
11199         * version.h: update to use stuff in version.C
11200
11201         * version.C.in: new file. Contains version information determined
11202         at compile time. This is a merging of version.h and
11203         version_info.h.in.
11204
11205 2001-10-03  Juergen Vigna  <jug@sad.it>
11206
11207         * BufferView_pimpl.C (update): don't change "dirty" status in
11208         updateInset call.
11209
11210 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * WorkArea.C (c-tor): re-position version string slightly.
11213
11214 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11217         revert to previous code.
11218
11219         WorkArea.[Ch]: (show, destroySplash): methods removed.
11220
11221         WorkArea.C: rework code so that it's an amalgam of the codes before and
11222         after the splash screen was moved to WorkArea.
11223
11224 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11225
11226         * lyxrc.C (read):
11227         * vspace.C (inPixels):
11228         (lyx_advance):
11229         * kbmap.C (bind):
11230         * buffer.C (insertStringAsLines):
11231         (asciiParagraph): fix types to be large enough
11232
11233         * lyxlex_pimpl.h: change member status from short to int
11234
11235         * layout.h: fix type of endlabeltype
11236
11237         * kbmap.C (bind):
11238         * kbsequence.C (parse): change return type to string::size_type
11239
11240         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11241         variable
11242
11243         * Bullet.C (bulletSize):
11244         (bulletEntry): do not use short ints as parameters
11245
11246         * BufferView2.C (insertLyXFile): change a char to an int.
11247
11248         * WorkArea.C (WorkArea): remove unneeded floats in computation
11249
11250 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11251
11252         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11253
11254         * paragraph.C (asString): Do not ignore newline/hfill chars when
11255         copying to the clipboard.
11256
11257 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11258
11259         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11260         after a multi-line inset.
11261
11262 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * paragraph.C (validate): Set NeedLyXFootnoteCode
11265
11266 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11269         and decrease-error to decrease.
11270
11271 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11274         it more readable (should be equivalent)
11275
11276 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11277
11278         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11279
11280 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11283         of a cursor (row, etc.) after a character has been deleted
11284         (deleteEmptyParagraphMechanism): call the method above on _all_
11285         cursors held by the LyXText when a double space has been
11286         detected/deleted.
11287
11288 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11289
11290         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11291         pixmap.
11292         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11293
11294         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11295         background. Use greyOut() and the new show() methods to toggle between
11296         the foreground and background. Add code to remove the splash after
11297         its initial showing.
11298
11299         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11300         (create_forms): no longer call Dialogs::showSplash.
11301
11302 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11303
11304         * .cvsignore: add version_info.h
11305
11306 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * version_info.h.in: new file
11309
11310         * Makefile.am: add version_info.h.in
11311
11312         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11313         version_info.h instead of VERSION_INFO
11314
11315 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11316
11317         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11318         The ERT inset now returns string().
11319
11320 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * lyxtext.h, text.C (selectNextWord): renamed as
11323         selectNextWordToSpellcheck.
11324
11325         * text.C (selectNextWordToSpellcheck): Modified to not select
11326         words inside an ERT inset.
11327
11328 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * lyx_cb.C (MenuLayoutSave): change a bit the question
11331
11332         * sp_base.h: include <sys/types.h>
11333
11334 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11335
11336         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11337
11338 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11339
11340         * several files: fix typos in user-visible strings
11341
11342 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11343
11344         * text2.C (pasteSelection): do not set the selection, since it
11345         will be cleared later. Actually, the intent was to fix the way the
11346         selection was set, but I figured rmoving the code was just as good.
11347
11348 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11349
11350         * FontLoader.C (available): Check if font is available without
11351         loading the font.
11352
11353 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11354
11355         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11356
11357 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * lyxrc.[Ch]: added display_graphics variable and associated code.
11360
11361 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11362
11363         * bufferparams.C (hasClassDefaults): new method. Returns true if
11364         the buffer parameters correspond to known class defaults
11365
11366 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11367
11368         * XFormsView.C (show): set minimum size to the main window.
11369
11370 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11371
11372         * text2.C (copySelection):
11373         (cutSelection):
11374         * lyxfind.C (LyXReplace):
11375         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11376         LyXText::selectionAsString.
11377
11378         * paragraph.C (asString): add "label" argument to the second form
11379
11380         * text2.C (selectionAsString): add "label" argument and pass it to
11381         Paragraph::asString.
11382
11383 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11384
11385         * lyx_main.C (commandLineHelp): remove version information
11386
11387 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11388
11389         * lyx_main.C: add -version commandline option
11390
11391 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * paragraph.h: make the optional constructor arg required instead.
11394         some modifications to other files because of this.
11395
11396         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11397
11398         * lyxserver.C (C_LyXComm_callback): make it static
11399
11400         * lyx_main.C (error_handler): make it static
11401
11402         * lyx_gui.C (LyX_XErrHandler): make it static
11403
11404         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11405
11406         * WorkArea.C: make the extern "C" methods static.
11407
11408         * Makefile.am (lyx_LDADD): simplify
11409
11410 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11411
11412         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11413         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11414
11415         * LyXAction.C (init):
11416         * lyxfunc.C (dispatch): associated code removal.
11417
11418 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11419
11420         * lyxfont.h (isSymbolFont): shut off warning
11421
11422         * text.C (setHeightOfRow):
11423         (getVisibleRow): fix crash with empty paragraphs which have a
11424         bottom line
11425
11426 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11427
11428         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11429         code.
11430
11431 2001-09-04  José Matos  <jamatos@fep.up.pt>
11432         * buffer.C
11433         * buffer.h
11434         * tabular.C (docbook): rename docBook method to docbook.
11435
11436 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11437
11438         * Makefile.am: add dependencies to main.o.
11439
11440 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11441
11442         * FontLoader.C (available): Return false if !lyxrc.use_gui
11443
11444 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11445
11446         * FontInfo.C (query):
11447         * converter.C (view):
11448         * importer.C (Import):
11449         * exporter.C (Export): Can not -> cannot.
11450
11451 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * BufferView_pimpl.C: allow to create index inset even if
11454           string is empty
11455
11456 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11457
11458         * buffer.C (getLists): replace boost::tie code with an explicit pair
11459         as boost::tie can break some compilers.
11460
11461         * iterators.h: Added a std:: declaration to the return type of
11462         ParIterator::size.
11463
11464 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11467           case.
11468
11469 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * iterators.[Ch]: New files. Provide paragraph iterators.
11472
11473         * buffer.C (changeLanguage): Use paragraph iterators.
11474         (isMultiLingual): ditto
11475
11476         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11477
11478 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * FontLoader.C: Support for cmr font.
11481
11482 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11485         (available): New method.
11486
11487         * FontInfo.C (getFontname): Use scalable fonts even when
11488         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11489         found.
11490
11491 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11492
11493         * converter.C (Formats::view): reverted! Incorrect fix.
11494
11495 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11496
11497         * converter.C (Formats::view): only output the -paper option
11498         if the dvi viewer is xdvi, thereby fixing bug #233429.
11499
11500 2001-08-23  Herbert Voss  <voss@perce>
11501
11502         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11503
11504 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11505
11506         * Spacing.h (Spacing): Set space to Default on in the default
11507         constructor.
11508
11509 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * vc-backend.h (RCS::versionString): add RCS to version
11512         (CVS::versionString): add CVS to version
11513
11514         * vc-backend.C (scanMaster): do not add CVS to version.
11515         (scanMaster): do not add RCS to version
11516
11517         * lyxvc.C (versionString): new method
11518
11519         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11520
11521 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * Spacing.C (set): initialize fval
11524
11525 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11526
11527         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11528         " or \.
11529
11530 2001-08-16  Juergen Vigna  <jug@sad.it>
11531
11532         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11533
11534 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * BufferView_pimpl.C:
11537         * figureForm.C:
11538         * lyxtext.h:
11539         * text2.C: setParagraph takes linespacing now
11540
11541 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * LyxAction.C: add internal LFUN_CITATION_INSERT
11544
11545         * LyXView.C: actually apply fix
11546
11547         * bufferlist.C: fix open non-existent file
11548
11549         * lyxfind.C: fix indentation
11550
11551         * lyxfunc.C: remove unneeded assert, fix typo
11552
11553 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * MenuBackend.C: use "Floatname List"
11556
11557 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11558
11559         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11560         when converting LaTeX layout to insetERT.
11561         Generate a non-collapsed float when reading old float
11562
11563 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11564
11565         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11566         ERT insets.
11567
11568 2001-08-13  Juergen Vigna  <jug@sad.it>
11569
11570         * text.C (fill): return 0 instead of 20 as this seems to be the more
11571         correct value.
11572
11573 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11574
11575         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11576         lyxrc.font_norm.
11577
11578 2001-08-13  Juergen Vigna  <jug@sad.it>
11579
11580         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11581         casesensitive off.
11582         (SearchBackward): comment out the unlocking of the inset_owner this
11583         should not be needed!
11584
11585 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * Many files: Remove inherit_language, and add latex_language
11588
11589         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11590         collapsible insets.
11591
11592 2001-08-10  Juergen Vigna  <jug@sad.it>
11593
11594         * text.C (prepareToPrint): fixed hfill-width in draw!
11595
11596         * BufferView2.C (selectLastWord): save the selection cursor as this
11597         now is cleared in the function LyXText::clearSelection!
11598
11599 2001-08-08  Juergen Vigna  <jug@sad.it>
11600
11601         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11602         BACKSPACE type functions.
11603
11604         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11605         is only cutted from the document but not put in the cut-buffer, where
11606         still the old stuff should be.
11607
11608         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11609
11610         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11611
11612         * tabular.C (SetWidthOfCell): fixed special case where the width
11613         was not updated!
11614         (LeftLine): handle '|' in align_special.
11615         (RightLine): ditto
11616         (LeftAlreadyDrawed): ditto
11617         (SetWidthOfCell): ditto
11618
11619 2001-08-07  Juergen Vigna  <jug@sad.it>
11620
11621         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11622
11623 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11626         * lyxlex.[hC]: ditto
11627
11628 2001-08-06  Juergen Vigna  <jug@sad.it>
11629
11630         * text.C (getVisibleRow): fix up row clearing a bit.
11631
11632 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * minibuffer.C: make sure the X server sees the changes in the input.
11635
11636 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * paragraph.C (getFont): split into...
11639         (getLabelFont): this
11640         (getLayoutFont): and this
11641         * paragraph_pimpl.C (realizeFont): calling this
11642
11643         * text2.C (getFont): split into...
11644         (getLayoutFont): this
11645         (getLabelFont): and this
11646         (realizeFont): all three calling this
11647
11648         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11649         files where used.
11650
11651 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11652
11653         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11654
11655 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11656
11657         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11658         layouts from the Quote inset insertion.
11659
11660 2001-08-03  Juergen Vigna  <jug@sad.it>
11661
11662         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11663
11664         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11665         only if status not is already CHANGED_IN_DRAW (second level).
11666
11667         * text.C (draw): don't set the need_break_row when inside an
11668         InsetText LyXText.
11669
11670 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11671
11672         * buffer.C (parseSingleLyXformat2Token): handle more latex
11673         conversion cases.
11674
11675         * bufferview_funcs.[hC]: change function names to
11676         begin with small char, adjust other files.
11677
11678 2001-08-02  André Pönitz <poenitz@gmx.net>
11679
11680         * lyxfunc.C:
11681         BufferView_pimpl.C: remove broken special code for math-greek
11682
11683 2001-08-02  Juergen Vigna  <jug@sad.it>
11684
11685         * BufferView_pimpl.C (update): redone this function so that we
11686         update the text again if there was a CHANGE_IN_DRAW.
11687
11688         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11689         (drawFromTo): added a new internal bool which is used by draw() and
11690         redraw() function.
11691         (general): some cursor drawing problems fixed.
11692
11693 2001-08-01  Juergen Vigna  <jug@sad.it>
11694
11695         * lyxfind.C (LyXFind): fixed
11696         (SearchForward): ditto
11697         (SearchBackward): ditto
11698
11699         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11700         spurius drawing of the cursor in the main area.
11701
11702         * text2.C (status): small fix which could lead to a segfault!
11703         (clearSelection): remove unneeded BufferView param.
11704
11705 2001-08-01  André Pönitz <poenitz@gmx.net>
11706
11707         * lyxfunc.C: small change due to changed mathed interface
11708
11709 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11710
11711         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11712
11713 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * lyxfunc.c: fail gracefully if file doesn't exist
11716
11717         * LyXSendto.C:
11718         * buffer.C:
11719         * lyxfunc.C:
11720         * BufferView_pimpl.C: IsDirWriteable() proto changed
11721
11722         * LyXView.C: fix updateWindowTitle() to store the last title
11723
11724 2001-07-31  Juergen Vigna  <jug@sad.it>
11725
11726         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11727         the font (wrong since using of Paragraph::highestFontInRange).
11728
11729         * paragraph.C (highestFontInRange): added a default_size parameter.
11730
11731         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11732         (setHeightOfRow): reformat
11733
11734 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * converter.[hC] + affected files: move to (inital-char)lowercase
11737         function names.
11738
11739         * ParagraphParameters.C (ParagraphParameters): remove commented code
11740
11741         * PainterBase.[Ch]: remove commented code
11742
11743         * LaTeXFeatures.h: add "bool floats" for float.sty
11744
11745         * LaTeXFeatures.C (LaTeXFeatures): init floats
11746         (require): handle float
11747         (getPackages): do it with floats
11748
11749 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * BufferView_pimpl.C (Dispatch): improve handling of
11752         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11753
11754         * commandtags.h: #include lyxfont.h here temporarily to avoid
11755         keybinding bug.
11756
11757         * bufferlist.h: include LString.h here.
11758
11759 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * text2.C (getStringToIndex): new method.
11762
11763 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11764
11765         * *: Reduced header file dependencies all over.
11766
11767 2001-07-30  Baruch Even  <baruch@lyx.org>
11768
11769         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11770
11771 2001-07-29  Baruch Even  <baruch@lyx.org>
11772
11773         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11774
11775 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * ParameterStruct.h (endif): add a default constructor to make
11778         sure that all variables is initialized.
11779
11780         * ParagraphParameters.C (ParagraphParameters): adjust
11781
11782 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11785         index; also, check that there is something to index, and that it
11786         does not span over several paragraphs.
11787         (doubleClick): use WHOLE_WORD_STRICT for double click.
11788
11789         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11790
11791         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11792         scheme.
11793
11794 2001-07-26  Baruch Even  <baruch@lyx.org>
11795
11796         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11797         an InsetFig figure, backwards compatible reading of old figure code.
11798
11799 2001-07-27  Juergen Vigna  <jug@sad.it>
11800
11801         * text2.C: font.realize function adaption.
11802
11803         * text.C (draw): add a warnings lyxerr text if needed.
11804
11805         * layout.C: font.realize function adaption.
11806
11807         * language.C: add inherit_language and implement it's handlings
11808
11809         * bufferview_funcs.C (StyleReset): remove language parameter from
11810         font creation (should be language_inherit now).
11811
11812         * bufferparams.C (writeFile): handle ignore_language.
11813
11814         * paragraph.C (getFontSettings): the language has to be resolved
11815         otherwise we have problems in LyXFont!
11816
11817         * lyxfont.C (lyxWriteChanges): added document_language parameter
11818         (update): removed unneeded language parameter
11819
11820         * paragraph.C (validate): fixed wrong output of color-package when
11821         using interface colors for certain fonts in certain environments,
11822         which should not seen as that on the final output.
11823
11824 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * BufferView_pimpl.C:
11827         * Thesaurus.h:
11828         * Thesaurus.C:
11829         * Makefile.am:
11830         * commandtags.h:
11831         * LyXAction.C: add thesaurus support
11832
11833         * lyxfind.h:
11834         * lyxfind.C: add "once" parameter, for thesaurus, to not
11835           move to the next match
11836
11837 2001-07-26  Juergen Vigna  <jug@sad.it>
11838
11839         * lyxfont.C (realize): honor ignore_language too!
11840         (resolved): ditto.
11841
11842         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11843
11844         * text.C (draw): one place more for ignore_language to not draw
11845         itself!
11846
11847 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11848
11849         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11850
11851 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11852
11853         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11854         the minipage conversion problem.
11855
11856 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11859         insert an inset.
11860
11861 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * BufferView.h: don't forward declare WorkArea
11864
11865         * BufferView.C: don't include WorkArea.h
11866
11867 2001-07-25  André Pönitz <poenitz@gmx.net>
11868
11869         * commandtags.h:
11870         * LyXAction.C:
11871         * lyxfunc.C:  new LFUN 'math-space'
11872
11873         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11874
11875 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * text2.C (toggleInset): call open/close
11878
11879 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * lyxfunc.C (dispatch): add debug for the disabled case
11882
11883         * font.C (buttonText): make similar to rectText
11884
11885         * buffer.C (readInset): comment out parsing of insetlist and
11886         insttheorem
11887
11888         * PainterBase.C (rectText): small correction
11889
11890         * BufferView_pimpl.C: comment out insettheorem and insetlist
11891         * LyXAction.C: ditto
11892         * commandtags.h: ditto
11893
11894 2001-07-24  Juergen Vigna  <jug@sad.it>
11895
11896         * text.C (draw): honor the ignore_language.
11897
11898         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11899
11900 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11903         char inset.
11904
11905 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11906
11907         * lyxtext.h: remove unused (and unimplemented) methods
11908
11909 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11910
11911         * text.C (getVisibleRow): honor background color
11912
11913         * PainterBase.h:
11914         * Painter.h: remove default color argument for fillRectangle
11915
11916         * text.C (backgroundColor): new method
11917
11918 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * text.C (getVisibleRow): adjust
11921
11922         * font.[Ch] (rectText): new method, metrics
11923         (buttonText): new method, metrics
11924
11925         * PainterBase.[hC]: make rectText and buttonText always draw and take
11926         fewer paramteres.
11927
11928 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11929
11930         * ToolbarDefaults.C (read):
11931         * MenuBackend.C (read): allow escaping in all strings
11932
11933         * BufferView_pimpl.C (insertAndEditInset): new method.
11934         (Dispatch): use insertAndEditInset whenever appropriate.
11935
11936         * BufferView_pimpl.C (insertNote): removed
11937
11938         * BufferView_pimpl.C (smartQuote): new method, moved from
11939         BufferView; if an insetquote cannot be inserted, insert a '"'
11940         character instead.
11941
11942         * BufferView2.C: remove insertCorrectQuote();
11943
11944         * lyxfunc.C (getStatus): Add support for all remaingin
11945         inset-insert lfuns.
11946
11947         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11948
11949         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11950         command (necessary to pass " as parameter of self-insert.
11951
11952         * text.C (selectWordWhenUnderCursor):
11953         (selectWord): add word_location parameter
11954         (selectWordWhenUnderCursor): same + remove special code for word
11955         boundary.
11956         (selectNextWord): use kind() to guess type of insetspecialchar,
11957         not latex().
11958
11959         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11960         (insertErtContents): create ert insets as collapsed.
11961         (readInset): better compatibility code for Info inset.
11962
11963 2001-07-20  Juergen Vigna  <jug@sad.it>
11964
11965         * lyxfunc.C (dispatch): use always LyXFind now!
11966
11967         * text2.C (init): add a reinit flag so that the LyXText can be
11968         reinited instead of deleted and reallocated (used in InsetText).
11969
11970         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11971
11972         * text.C: ditto
11973
11974         * text2.C: ditto
11975
11976 2001-07-18  Juergen Vigna  <jug@sad.it>
11977
11978         * text.C (selectNextWord): handle insets inside inset by calling
11979         always the bv->text functions so that we can go up the_locking_inset!
11980
11981         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11982         in strange locations when inside an inset!
11983
11984         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11985         handling to include insets.
11986
11987         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11988
11989 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11990
11991         * LyXAction.C (init):
11992         * commandtags.h:
11993         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11994         LIGATURE_BREAK, since the name is so stupid.
11995
11996 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11997
11998         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11999         InsetInfos.
12000
12001         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12002
12003         * sp_form.[Ch]: remove.
12004
12005         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12006
12007         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12008         InsetInfo.
12009
12010         * src/buffer.C (readInset): ditto.
12011
12012 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12013
12014         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12015         menuSeparator(), endOfSentenceDot(), ldots() and
12016         hyphenationPoint(), which are therefore removed.
12017         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12018
12019         * LyXAction.C (init):
12020         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12021
12022         * paragraph.C (getWord): removed.
12023
12024         * BufferView_pimpl.C (Dispatch): use last word or selection for
12025         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12026
12027         * lyx_main.C (queryUserLyXDir): do not ask before creating
12028         user_dir, except if it has been named explicitely.
12029
12030 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12031
12032         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12033         a document of zero size.
12034
12035 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12036
12037         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12038         approriately in the c-tor and in require().
12039         (getPackages): output the appropriate LaTeX for natbib support.
12040
12041         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12042         variables "use_natbib" and "use_numerical_citations" when reading the
12043         LyX file.
12044         (readInset): read the various natbib cite commands.
12045         (validate): white-space change.
12046
12047         * bufferparams.[Ch]: new variables "bool use_natbib" and
12048         "bool use_numerical_citations".
12049         (writeFile): output them in the LyX file.
12050
12051 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12052
12053         * lyxfunc.C (getStatus): add support for all the inset insertion
12054         commands.
12055
12056         * text2.C (insertInset):
12057         * paragraph.C (insetAllowed):
12058         * BufferView_pimpl.C (insertInset): update to take in account the
12059         renaming of insertInsetAllowed
12060
12061         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12062
12063         * text2.C (getInset): new method. returns inset at cursor position.
12064
12065         * BufferView_pimpl.C (Dispatch): changes because of this.
12066
12067         * LyXAction.C (init): rename open-stuff to inset-toggle.
12068
12069         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12070
12071         * text2.C (toggleInset): renamed from openStuff; use
12072         Inset::open().
12073
12074 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12075
12076         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12077
12078         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12079
12080 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12081
12082         * buffer.C (readLyXformat2): Add filename to the error dialog
12083
12084 2001-07-18  Juergen Vigna  <jug@sad.it>
12085
12086         * tabular.C (GetCellNumber): put an assert here instead of the check!
12087
12088 2001-07-17  Juergen Vigna  <jug@sad.it>
12089
12090         * BufferView_pimpl.C (toggleSelection): adapted too.
12091
12092         * text.C (selectNextWord): adapted for use with insets.
12093         (selectSelectedWord): ditto
12094
12095 2001-07-17  Juergen Vigna  <jug@sad.it>
12096
12097         * sp_spell.C (PSpell): fix initialitation order.
12098
12099 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * paragraph.C: spacing
12102
12103 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12104
12105         * sp_spell.C: repair language selection for pspell
12106
12107 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * lyxfunc.h: change more methods to begin with lower char.
12110
12111 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12112
12113         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12114         for unknown layouts.
12115
12116 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12117
12118         * buffer.C (readLyXformat2): Generate an error dialog if there are
12119         unknown layouts.
12120
12121 2001-07-16  Juergen Vigna  <jug@sad.it>
12122
12123         * sp_spell.C: always compile ISpell part.
12124
12125         * lyxrc.C: added use_pspell entry and it's handling.
12126
12127 2001-07-13  Juergen Vigna  <jug@sad.it>
12128
12129         * sp_spell.C: removed double includes.
12130
12131 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12132
12133         Consistent use of Lsstream.h:
12134         * Lsstream.h: added using std::stringstream for consistencies sake.
12135
12136         * buffer.C: removed using std::stringstream
12137
12138         * lyxfont.C (stateText):
12139         * paragraph.C (asString):
12140         * text.C (selectNextWord, selectSelectedWord):
12141         * text2.C (setCounter):
12142         * vspace.C (asString, asLatexString):
12143         std::ostringstream -> ostringstream.
12144
12145 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12146
12147         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12148         * commandtags.h: add LFUN_HELP_ABOUTLYX
12149         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12150
12151 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12152
12153         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12154         cursorToggle()
12155         * lyx_gui_misc.C: remove spellchecker
12156         * lyxfunc.C: showSpellchecker
12157         * sp_base.h: added
12158         * sp_ispell.h: added
12159         * sp_pspell.h: added
12160         * sp_spell.C: added
12161         * sp_form.[Ch]: removed
12162         * spellchecker.[Ch]: removed
12163
12164 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12165
12166         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12167         is set.
12168         (simpleTeXSpecialChars): Simply print the input character without
12169         any special translation if pass_thru is set.
12170
12171         * layout.h: Added bool pass_thru to layout class for being able to
12172         implement pass through of a paragraph for Literate Programming.
12173
12174         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12175         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12176         * layout.C (Read): add "passthru" to list of layout tags and add
12177         code to set the pass_thru boolean when it is read.
12178
12179 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * trans_decl.h: remove allowed from KmodInfo
12182
12183         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12184         remove allowed code
12185         (Load): adjust
12186
12187         * paragraph_pimpl.C (erase): use boost::prior
12188
12189         * Painter.C (text): use data() instead of c_str() when length is
12190         also provided.
12191         * WorkArea.C (putClipboard): ditto
12192         * font.h (width): ditto
12193
12194         * BufferView2.C: use it-> instead of (*it). for iterators
12195         * texrow.C: ditto
12196         * paragraph_pimpl.C: ditto
12197         * paragraph.C: ditto
12198         * minibuffer.C: ditto
12199         * language.C: ditto
12200         * kbmap.C: ditto
12201         * encoding.C: ditto
12202         * counters.C: ditto
12203         * converter.C: ditto
12204         * chset.C: ditto
12205         * Variables.C: ditto
12206         * TextCache.C: ditto
12207         * MenuBackend.C: ditto
12208         * LyXAction.C: ditto
12209         * LColor.C: ditto
12210         * FloatList.C: ditto
12211         * DepTable.C: ditto
12212         * ColorHandler.C (LyXColorHandler): ditto
12213
12214 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12215
12216         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12217
12218         * text2.C (openStuff): reintroduce this method (which had been
12219         nuked in NEW_INSETS frenzy).
12220
12221         * lyxfunc.C (Dispatch): when an action has not been handled, use
12222         its name in the error message, not its number.
12223
12224         * paragraph.C (inInset): change method name to begin with lowercase.
12225
12226         * undo_funcs.C:
12227         * text2.C: updates because of this.
12228
12229 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * ToolbarDefaults.C (add): add spaces in error message
12232
12233 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12236         (readLyXformat2): rename return_par to first_par, use lyxlex's
12237         pushToken and remove the manual push handling.
12238         (parseSingleLyXformat2Token): add another ert comp. variable:
12239         in_tabular, rename return_par to first_par. handle newlines better
12240
12241 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12244
12245 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * text2.C (getParFromID): removed
12248
12249         * buffer.C (getParFromID): new method moved form lyxtext.
12250         * BufferView2.C (insertErrors): adjust
12251         (setCursorFromRow): adjust
12252         * BufferView_pimpl.C (restorePosition): adjust
12253         * lyxfunc.C (Dispatch): adjust
12254         * undo_funcs.C (textUndo): adjust
12255         (textRedo): adjust
12256         (textHandleUndo): adjust
12257         (textHandleUndo): adjust
12258
12259 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * buffer.C: up' the LYX_FORMAT
12262
12263         * lyxfont.h: turn NO_LATEX on as default
12264
12265         * buffer.C (insertErtContents): new methods of tex style compability.
12266         (parseSingleLyXformat2Token): use it several places.
12267         * tabular.C (OldFormatRead): and here
12268
12269 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * text2.C: remove some commented code.
12272         reindent file.
12273
12274         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12275         * trans.C: changes because of the above.
12276
12277 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12278
12279         * text2.C (setCounter): Fix counters bug with bibliography layout.
12280
12281 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12284         own member functions
12285         (simpleTeXSpecialChars): ditto
12286
12287 2001-07-06  Juergen Vigna  <jug@sad.it>
12288
12289         * a lot of files: changed the access to LyXText::status and the
12290         call of undo-functions.
12291
12292         * undo.[Ch]: added a inset_id to the undo informations.
12293
12294         * undo_funcs.[Ch]: added and moved here all undo functions.
12295
12296         * lyxtext.h: give the status enum a weight, made status_ a private
12297         variable and made accessor functions for it, removed the whole bunch
12298         of undo-functions as they are now in their own file, make some
12299         functions publically available. Added function ownerParagraph with
12300         int parameter.
12301
12302         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12303         made InInset() a const function, added getParFromID() function.
12304
12305         * buffer.[Ch]: added const version for inset_iterator functions,
12306         added getInsetFromID() function.
12307
12308         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12309         changed undo functions for new version.
12310
12311 2001-07-05  Juergen Vigna  <jug@sad.it>
12312
12313         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12314         unknow mechanism does not call the proper constructor but only this
12315         one also if I request the other!?
12316
12317 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12318
12319         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12320
12321         * text2.C (LyXText): use initialization lists.
12322
12323         * lyxtext.h (Selection): initialize set_ and mark_
12324         (init): remove method
12325
12326 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12327
12328         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12329
12330 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * screen.[Ch]: change method names to begin with lowercase
12333
12334         * BufferView_pimpl.C (updateScrollbar): simplify further and
12335         hopefully make it a bit faster.
12336
12337 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12338
12339         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12340         calling directly xforms functions.
12341
12342         * Painter.C (Painter):
12343         * lyx_cb.C (MenuWrite):
12344         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12345         fl_display.
12346
12347         * lyx_gui.C: remove bogus guiruntime extern declaration.
12348
12349 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12352         in NEW_INSETS
12353         (redoDrawingOfParagraph): ditto
12354         (redoParagraphs): ditto
12355         (cutSelection): don't create a object for CutAndPaste use the
12356         static method directly
12357         (pasteSelection): ditto
12358
12359         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12360         LyXview (+ rename)
12361
12362 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * modifications to some other files because of this.
12365
12366         * Makefile.am (lyx_SOURCES): add XFormsView
12367
12368         * XFormsView.[Ch]: new files
12369
12370         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12371         the main window. Move the gui dependent stuff to XFormsView
12372
12373 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12374
12375         * tabular.C (GetCellInset): update cur_cell also in the row/col
12376         version of this function.
12377
12378         * lyxfunc.C: no need to include figure_form.h here.
12379
12380         * FontLoader.h:
12381         * lyxfunc.h:
12382         * lyxscreen.h:
12383         * text2.C:
12384         * lyxvc.C: no need to include forms.h here.
12385
12386 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12389
12390         * lyxfunc.C (Dispatch):
12391         * Spacing.C (set):
12392         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12393         constructor argument.
12394
12395 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * paragraph.C (Paragraph): dont't clear, and just set layout.
12398         (makeSameLayout): use params's copy contructor.
12399
12400         * ParagraphParameters.[Ch] (makeSame): delete method
12401
12402 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * Variables.[Ch]: fix indentation, rename set to isSet
12405
12406 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * lyxfunc.C (Dispatch): fix typo
12409
12410 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12413         upper_bound.
12414
12415         * bufferlist.C: include assert.h for emergencyWrite().
12416
12417 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12420           give up at last (bug #425202) !
12421
12422 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * lyx_gui_misc.C:
12425         * sp_form.h:
12426         * sp_form.C:
12427         * spellchecker.h:
12428         * spellchecker.C: strip spellchecker options and bring up
12429           preferences tab instead
12430
12431 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12432
12433         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12434         the istringstream constructor
12435
12436 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12437
12438         * paragraph.C (getLayout): fix return value
12439
12440         * paragraph.h: do not declare getLayout as inline.
12441
12442         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12443
12444 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * lyxcursor.h (operator<): new func
12447         (operator>): new func
12448         (operator>=): new func
12449         (operator<=): new func
12450
12451         * text.C (changeCase): use selection.start and selection.end
12452         (changeRegionCase): require from to be <= to. Require par to be a
12453         valid paragraph.
12454
12455         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12456
12457 2001-06-27  Juergen Vigna  <jug@sad.it>
12458
12459         * text.C (cursorLeftOneWord): changed to return the cursor and added
12460         overlay with BufferView * parameter which calls this one.
12461         (getWord): added
12462         (selectWord): use new getWord function.
12463         (changeCase): renamed from changeWordCase as and extended to work
12464         also on selections.
12465
12466         * lyxtext.h: added enum word_location
12467
12468         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12469         changeCase as this operates now also on selections.
12470
12471 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12472
12473         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12474
12475         * many files: send debug output to Debug::INFO instead of
12476         Debug::ANY.
12477
12478         * converter.C (View):
12479         (Convert):
12480         (Move): send debug output to Debug::FILES instead of console.
12481
12482 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12483
12484         * lyxfunc.C (getStatus): use func_status
12485
12486         * func_status.h: new header, describing the results of
12487         LyXFunc::getStatus;
12488
12489         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12490         LFUN_MATH_HALIGN.
12491
12492 2001-06-25  The LyX Project  <jug@sad.it>
12493
12494         * buffer.C (sgmlOpenTag):
12495         (sgmlCloseTag):
12496         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12497
12498 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * text2.C: remove some dead code
12501
12502         * tabular.C (GetCellInset): store the last cell checked (gotten)
12503
12504         * tabular.h: add the helper for the speedup
12505
12506         * lyxtext.h: remove some dead code
12507
12508 2001-06-26  The LyX Project  <Asger>
12509
12510         * paragraph.C: Change export to LaTeX of alignment to
12511         \begin{center} and family for better roundtrip work with reLyX.
12512
12513         * Tune the math drawing a bit.
12514
12515 2001-06-25  The LyX Project  <Asger>
12516
12517         * LColor.C (LColor): New color for math background. New color
12518         for buttons.
12519
12520 2001-06-25  The LyX Project  <jug@sad.it>
12521
12522         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12523
12524         * lyxfunc.C (Open):
12525         * bufferlist.C (newFile): do not restrict to files ending with
12526         .lyx
12527
12528         * BufferView_pimpl.C (MenuInsertLyXFile):
12529
12530 2001-06-24  The LyX Project  <jug@sad.it>
12531
12532         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12533         of compare_no_case
12534
12535 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * lyxtext.h: rename most methods to begin with a small char.
12538         Lots of changes because of this.
12539
12540         * paragraph.C (Paragraph): do not call fitToSize
12541         (erase): call Pimpl::erase
12542         (insertChar): call Pimpl::insertChar
12543         (insertInset): call Pipl::insertInset
12544         (breakParagraph): do not call fitToSize
12545         (breakParagraphConservative): do not call fitToSize
12546         (fitToSize): remove method
12547
12548         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12549
12550 2001-06-24  The LyX Project  <Asger>
12551
12552         * Fix Qt compilation^2
12553
12554 2001-06-24  The LyX Project  <jug@sad.it>
12555
12556         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12557         depthHook(getDepth()-1).
12558
12559         * paragraph.h:
12560         * ParagraphParameters.h:
12561         * ParameterStruct.h: change type of depth to unsigned int ==
12562         depth_type. Many adaptations to other files before of that.
12563
12564 2001-06-24  The LyX Project  <Asger>
12565
12566         * Fix Qt compilation.
12567
12568 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * paragraph.h: renamed several methods to begin with small letter.
12571         several changes to many parts of the code because of this.
12572
12573 2001-06-23  The LyX Project  <jug@sad.it>
12574
12575         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12576         rewritten to discard all double spaces when KeepEmpty is off
12577         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12578         to only handle newlines but not fiddle with spaces and friends.
12579
12580         * lyxfunc.C (MenuNew): when doing 'new from template', use
12581         template_path as default directory
12582
12583 2001-06-23  The LyX Project  <Asger>
12584
12585         * Clean-up of header file includes all over
12586         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12587
12588 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * paragraph.h: renamed from lyxparagraph.h
12591
12592 2001-06-23  Asger  <lyx@violet.home.sad.it>
12593
12594         * Buffer.h: Removed Buffer::resize
12595         * BufferList.h: Removed BufferList::resize
12596         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12597         the document lazily when we change the width, or the font settings.
12598
12599 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12602
12603 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * buffer.h: remove out of date comment
12606
12607 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * lyxscreen.h:
12610         * screen.C: fix "theoretical" GC leak
12611
12612 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12613
12614         * LaTeX.C (scanAuxFile):
12615         (deplog): remove trailing \r when reading stream (useful under
12616         win32)
12617
12618 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12621         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12622         and BufferView::theLockingInset(Inset*), so should use them and not
12623         access bv_->text->the_locking_inset directly.
12624
12625         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12626
12627 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * Makefile.am:
12630         * tex-defs.h: remove old unused file
12631
12632 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * BufferView_pimpl.C: fix typo, remove minibuffer message
12635           when buffer has loaded
12636
12637 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * lyxfunc.C (Dispatch): use stringstream
12640         (MenuNew): use stringstream
12641         (Open): use stringstream
12642
12643         * importer.C (Import): use stringstream
12644
12645         * bufferview_funcs.C (CurrentState): use stringstream
12646
12647         * LaTeX.C (run): use stringstream
12648
12649         * BufferView_pimpl.C (savePosition): use stringstream
12650         (restorePosition): use stringstream
12651         (MenuInsertLyXFile): use stringstream
12652
12653 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12654
12655         * BufferView.C:
12656         * Bullet.C:
12657         * ColorHandler.C:
12658         * FontInfo.C:
12659         * FontLoader.C:
12660         * LColor.C:
12661         * LaTeXFeatures.C:
12662         * Painter.C:
12663         * gettext.C:
12664         * lyx_gui_misc.C:
12665         * lyxserver.C:
12666         * vspace.C: removed // -*- C++ -*- as first line.
12667
12668         * lyxfind.h:
12669         * version.h: added // -*- C++ -*- as first line.
12670
12671 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12672
12673         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12674
12675         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12676         of string
12677
12678 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12681         of floats.
12682
12683 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * gettext.C: include LString.h even when --disable-nls is on.
12686
12687 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * converter.h (Get): changed argument type from int to
12690         FormatList::size_type to avoid unnecessary conversion.
12691
12692         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12693         before using it.
12694
12695 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12696
12697         * gettext.h: include LString.h even when --disable-nls is on.
12698
12699 2001-06-07  Juergen Vigna  <jug@sad.it>
12700
12701         * text.C (BreakAgain): subst spaces with tabs.
12702
12703         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12704         (resizeInsetsLyXText): set force on resizeLyXText.
12705
12706 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * gettext.h (gettext_init):
12709         (locale_init): use a real definition instead of a macro
12710
12711 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12712
12713         * Bufferview_pimpl.C:
12714         * LColor.h:
12715         * LColor.C: further lcolor tidies
12716
12717 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12718
12719         * BufferView_pimpl.C (updateScrollbar): simplify.
12720
12721         * BufferView2.C: don't include insets/insetinfo.h, change
12722         prototype for insertInset and call the Pimpl version. let
12723         updateInset call Pimpl version.
12724
12725         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12726         gotoInset to BufferView::Pimpl
12727
12728 2001-06-01  Juergen Vigna  <jug@sad.it>
12729
12730         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12731         inside a LockingInset (is the update needed at all?).
12732
12733 2001-05-31  Juergen Vigna  <jug@sad.it>
12734
12735         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12736         here not the old one otherwise how should we compare it afterwards
12737         if it's the same!
12738
12739 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12740
12741         * lyxfont.C:
12742         * tabular.C:
12743         * tabular-old.C:
12744         * FontInfo.C: bring C functions into global namespace when
12745         necessary
12746
12747 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * LString.h: make sure config.h has been loaded before LString.h.
12750
12751         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12752         (one for each char read by EatLine!).
12753
12754         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12755         variables.
12756
12757 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12760         to the same as the par we break from
12761
12762 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12765
12766         * MenuBackend.C (expand): also create menu entries for wide
12767         versions of the floats.
12768
12769         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12770
12771         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12772
12773         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12774         frontends/Makefile.am
12775
12776         * text2.C: adjust
12777         * text.C: adjust
12778
12779
12780         * tabular.C (getTokenValue): add std::
12781
12782         * tabular-old.C (getTokenValue): add std::
12783         (getTokenValue): ditto
12784         (getTokenValue): ditto
12785
12786         * screen.C (ToggleSelection): adjust
12787
12788         * lyxtext.h: put selection cursors inside a Selection struct.
12789
12790         * lyxfunc.C (moveCursorUpdate): adjust
12791
12792         * lyxfont.C (latexWriteStartChanges): add std::
12793
12794         * lyxfind.C: adjust
12795
12796         * font.h: delete with(char const *, LyXFont const &)
12797
12798         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12799
12800         * FontInfo.C (getFontname): add std::
12801
12802         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12803         (workAreaButtonPress): adjust
12804         (tripleClick): adjust
12805         (update): adjust
12806         (moveCursorUpdate): adjust
12807         (Dispatch): adjust
12808
12809         * BufferView2.C (gotoInset): adjust
12810
12811 2001-05-30  Juergen Vigna  <jug@sad.it>
12812
12813         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12814         to check pspell I add this as default as I now have new pspell
12815         libraries and they seem to use this.
12816
12817 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * text2.C (CutSelection): make the cursor valid before the call to
12820         ClearSelection.
12821
12822 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12823
12824         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12825         relied on 0 terminated strings and other horrors. Bug found due to
12826         the new assert in lyxstring!
12827
12828         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12829         KP_ keys.
12830
12831 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12834         to latinkeys.bind.
12835
12836         * lyxfunc.C (processKeySym): change method of getting to the
12837         self-insert char.
12838
12839         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12840         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12841         * BufferView_pimpl.[Ch]: here as private methods.
12842
12843 2001-05-28  Juergen Vigna  <jug@sad.it>
12844
12845         * text.C (SetHeightOfRow): added the update() call again as it is
12846         needed to initialize inset dimensions!
12847
12848 2001-05-16  Juergen Vigna  <jug@sad.it>
12849
12850         * text2.C (SetCharFont): Add new function with BufferView * and
12851         bool toggleall parameters for setting insets internal fonts.
12852         (SetFont): Freeze the undo as we may change fonts in Insets and
12853         all this change should be inside only one Undo!
12854
12855         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12856         setting font's in insets as for them we have the SetFont function!
12857
12858 2001-05-15  Juergen Vigna  <jug@sad.it>
12859
12860         * text2.C (ClearSelection): to be sure we REALLY don't have any
12861         selection anymore!
12862
12863         * tabular.C (TeXCellPreamble): fixed the left border problem for
12864         multicolumn cells.
12865
12866 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12867
12868         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12869         dependancy file
12870
12871 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12874         LFUN_BREAKPARAGRAPH.
12875
12876         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12877         help test to "internal only", similar for LFUN_INSERT_URL
12878
12879         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12880         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12881         auto_region_delete and deadkeys.
12882
12883 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * LColor.h:
12886         * LColor.C: remove some dead entries, tidy a little
12887
12888 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12891         commented code.
12892         (Dispatch): implement LFUN_ESCAPE
12893
12894         * commandtags.h: add LFUN_ESCAPE
12895
12896         * LyXAction.C (init): add entry for LFUN_ESCAPE
12897
12898         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12899         Remove commented code.
12900         (insertNote): moved here
12901         (open_new_inset): moved here
12902
12903         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12904         BufferView_pimpl
12905
12906 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * kbmap.C (findbinding): clean it up and make it work correctly.
12909
12910         * lyx_main.C (init): do not pass argc and argv as parameters
12911
12912 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12913
12914         * buffer.C: fix path for OS/2 & Win32
12915
12916         * lyx_gui.C:
12917         * lyx_main:
12918         * lyx_main.C: Added os:: class.
12919
12920         * os2_defines.h: update
12921
12922 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12925         better by trying again with reduced state.
12926
12927 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12928
12929         * lyxrc.C (read): print error about invalid key sequence only when
12930         debugging (because not all latinX keysyms are known to some X
12931         servers)
12932
12933         * kbsequence.C (getiso): add a few std:: qualifiers
12934         (getiso): comment out extra return statement.
12935
12936 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12939         handling.
12940         (Dispatch): enhance the accent inset a bit. (not perfect)
12941
12942 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12945
12946 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12947
12948         * bufferlist.C (emergencyWrite): fix assert() call
12949
12950 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12951
12952         * text.C (InsertChar): Added trivial patch to only send the "you
12953         can not do multiple spaces this way" message once during a
12954         session.
12955
12956 2001-05-08  Baruch Even  <baruch@lyx.org>
12957
12958         * Makefile.am: Changed order of libraries to get LyX to link properly
12959         with the gnome frontend.
12960
12961 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * LaTeXFeatures.h: add a std:: qualifier
12964
12965 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * paragraph.C (String): use stringstream
12968
12969 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * paragraph.C (writeFile): remove footflag arg
12972
12973         * buffer.C (makeLaTeXFile): use stringstream
12974         (latexParagraphs): remove footnot gurba
12975
12976         * LaTeXFeatures.C (getPackages): use stringstream
12977         (getMacros): likewise
12978         (getTClassPreamble): likewise
12979         (getFloatDefinitions): new method
12980
12981         * paragraph.C (writeFile): reindent
12982         (Erase): reindent
12983
12984         * WorkArea.h: revert the xpos + etc changes.
12985
12986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12987
12988         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12989
12990         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12991         (pasteSelection): likewise
12992         * text2.C (CreateUndo): likewise
12993
12994 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * minibuffer.C (peek_event): temporarily reduce the functionality
12997         of the minibuffer (to allow args on lfuns)
12998
12999         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13000         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13001
13002         * buffer.C (readInset): add compability reading of old float
13003         lists, add reading of new style float list.
13004         (readInset): avoid reevaluation of inscmd.getCmdName()
13005         (getLists): reindent
13006
13007         * MenuBackend.C (MenuItem): implement parsing of
13008         md_floatlistinsert and md_floatinsert.
13009         (expand::LastFiles): move initalizaton of iterators out of loop,
13010         avoid reevaluation.
13011         (expand::Documents): introduce typdedef vector<string> Strings,
13012         and use it.
13013         (expand::ExportFormats): introduce typedef vector<Format const *>
13014         Formats, and use it.
13015         (expand): implement FloatListInsert and FloatInsert.
13016
13017         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13018         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13019         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13020
13021         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13022         handling.
13023         (Dispatch::LFUN_FLOAT_LIST): implement
13024
13025 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13026
13027         * LaTeX.C (run): Fix problem with --export code.
13028
13029 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13030
13031         * BufferView.[Ch] (workarea): removed.
13032         (getClipboard) new method; wrapper for workarea()->getClipboard()
13033
13034         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13035         bug.
13036
13037         * WorkArea.h (width, height, xpos, ypos): These methods all
13038         returned the dimensions of the work_area sub-area of WorkArea,
13039         resulting in a position error if the WorkArea were resized. Now
13040         return the dimensions of the entire WorkArea.
13041
13042         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13043
13044 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * LaTeX.C (deplog): correct the syntax of regex reg1
13047
13048 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * undo.C: remove !NEW_INSETS cruft
13051
13052 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * text2.C: remove !NEW_INSETS cruft
13055
13056         * text.C: remove !NEW_INSETS cruft
13057
13058         * tabular.C: remove !NEW_INSETS cruft
13059
13060         * spellchecker.C: remove !NEW_INSETS cruft
13061
13062         * lyxtext.h: remove !NEW_INSETS cruft
13063
13064         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13065
13066         * lyxfunc.C: remove !NEW_INSETS cruft
13067
13068         * lyxfind.C: remove !NEW_INSETS cruft
13069
13070         * lyx_cb.C: remove !NEW_INSETS cruft
13071
13072         * figureForm.C: remove  !NEW_INSETS cruft
13073
13074         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13075
13076         * buffer.[Ch]: remove !NEW_INSETS cruft
13077
13078         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13079
13080         * CutAndPaste.C: remove !NEW_INSETS cruft
13081
13082         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13083
13084         * BufferView2.C: remove !NEW_INSETS cruft
13085
13086         * BufferView.h: remove !NEW_INSETS cruft
13087
13088 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * Lsstream.h: include LString.h before the sstream headers to
13091         fix problem with gcc 2.95.3 and lyxstring
13092
13093 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13094
13095         * lyx_main.C: add using directives when needed for C functions
13096         declared in std:: namespace.
13097
13098 2001-04-27  Juergen Vigna  <jug@sad.it>
13099
13100         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13101         (SetHeightOfRow): comment out the update call should not be needed!
13102
13103 2001-04-13  Juergen Vigna  <jug@sad.it>
13104
13105         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13106         (LyXTabular): tried to minimize operator= operations (and realized
13107         hopfully Lars wish).
13108
13109 2001-04-27  Juergen Vigna  <jug@sad.it>
13110
13111         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13112
13113 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13116
13117         * buffer.C (readInset): hack to make listof algorithm work
13118
13119         * BufferView_pimpl.C: hack to make listof algorithm work
13120
13121 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * LyXAction.C: removed all !NEW_INSETS cruft
13124         (init): moved lfun_item in method
13125
13126         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13127
13128 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * BufferView2.C (theLockingInset): white space.
13131
13132 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * minibuffer.C: include <iostream>
13135
13136         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13137
13138         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13139
13140         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13141
13142         * text.[Ch] (TransposeChars): new method
13143
13144 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * call message directly through LyXView instead of through LyXFunc
13147         * BufferView2.C: adjust
13148         * BufferView_pimpl.C: adjust
13149         * FontLoader.C: adjust
13150         * buffer.C: adjust
13151         * bufferview_funcs.C: adjust
13152         * converter.C: adjust
13153         * figureForm.C: adjust
13154         * importer.C: adjust
13155         * lyx_cb.C: adjust
13156         * lyx_gui_misc.C: adjust
13157         * lyxfunc.C: adjust
13158         * lyxvc.C: adjust
13159         * text2.C: adjust
13160         + more files in subdirs
13161
13162         * lyxparagraph.h (size): move up int file
13163         (GetLayout): ditto
13164
13165         * adjust all uses of Assert to lyx::Assert.
13166
13167         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13168         lyxfunctional in namespace lyx
13169         * layout.C (hasLayout): ditto
13170         (GetLayout): ditto
13171         (GetLayout): ditto
13172         (delete_layout): ditto
13173         (NumberOfClass): ditto
13174         * converter.C (GetFormat): ditto
13175         (GetNumber): ditto
13176         (Add): ditto
13177         (Delete): ditto
13178         (SetViewer): ditto
13179         * bufferlist.C (getFileNames): ditto
13180         (emergencyWriteAll): ditto
13181         (exists): ditto
13182         (getBuffer): ditto
13183         * MenuBackend.C (hasSubmenu): ditto
13184         (hasMenu): ditto
13185         (getMenu): ditto
13186         * BufferView_pimpl.C (getInsetByCode): ditto
13187
13188 2001-04-18  Juergen Vigna  <jug@sad.it>
13189
13190         * vspace.C (asLatexString): fixed the 100% problem.
13191
13192 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * lyxfunc.C (Dispatch):
13195         * minibuffer.C:
13196         * minibuffer.h: add a few std:: qualifiers
13197
13198 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * minibuffer.[Ch]: reimplement so that commands is initiated and
13201         run from lyxfunc, simplified som handling, and made the completion
13202         and history code for complete. wip.
13203
13204         * lyxfunc.C (processKeySym): call message
13205         (miniDispatch): new temporary method
13206         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13207         (LFUN_MESSAGE): implement
13208         (LFUN_MESSAGE_PUSH): implement
13209         (LFUN_MESSAGE_POP): implement
13210         (initMiniBuffer): the initial/defualt minibuffer message.
13211
13212         * lyxfont.[Ch]: inline some more getters
13213
13214         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13215
13216         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13217
13218         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13219         (AutoSave): use LFUN_MESSAGE
13220         (Reconfigure): ditto
13221
13222         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13223
13224         * figureForm.C: use LFUN_MESSAGE
13225
13226         * converter.C (runLaTeX): use LFUN_MESSAGE
13227
13228         * bufferview_funcs.C: use LFUN_MESSAGE
13229         (Melt): ditto
13230         (changeDepth): ditto
13231
13232         * bufferparams.h: use boost::
13233
13234         * bufferlist.h: inherit privately from noncopyable
13235
13236         * bufferlist.C (loadLyXFile): remove some commented code.
13237
13238         * buffer.C (runChktex): use LFUN_MESSAGE
13239
13240         * ShareContainer.h: inherit privately from noncopyable
13241
13242         * ParagraphParameters.[hC] (depth): inline it.
13243
13244         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13245         methods.
13246         (message): new method
13247         (messagePush): ditto
13248         (messagePop): ditto
13249         (show): init minibuffer
13250         (showState): direct call
13251
13252         * LaTeX.[Ch]: inherit privately from noncopyable
13253         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13254         instead of WriteStatus.
13255
13256         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13257
13258         * BufferView_pimpl.C (buffer): don't init minibuffer
13259         (workAreaButtonPress): use LFUN_MESSAGE
13260         (workAreaButtonRelease): ditto
13261         (savePosition): ditto
13262         (restorePosition): ditto
13263         (MenuInsertLyXFile): ditto
13264         (workAreaExpose): don't init minibuffer
13265         (update): remove commented code, simplify
13266
13267         * BufferView2.C (openStuff): use LFUN_MESSAGE
13268         (toggleFloat): ditto
13269         (menuUndo): ditto
13270         (menuRedo): ditto
13271         (copyEnvironment): ditto
13272         (pasteEnvironment): ditto
13273         (copy): ditto
13274         (cut): ditto
13275         (paste): ditto
13276         (gotoInset): ditto
13277         (updateInset): remove some commented code
13278
13279         * lastfiles.h: inherit privately from noncopyable
13280         * layout.h: ditto
13281         * lyx_gui.h: ditto
13282         * lyx_main.h: ditto
13283         * lyxlex.h: ditto
13284         * lyxlex_pimpl.h: ditto
13285
13286         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13287         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13288         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13289
13290         * LyXAction.h: inherit privately from noncopyable, add methods
13291         func_begin, func_end, returning iterators to the func map.
13292
13293         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13294         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13295         (func_begin): new method
13296         (func_end): new method
13297
13298         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13299         and not)
13300         (copySelection): ditto
13301         (pasteSelection): ditto
13302
13303         * BufferView.C: whitespace change
13304         * BufferView.h: inherit privately from noncopyable
13305
13306 2001-04-16  Allan Rae  <rae@lyx.org>
13307
13308         * tabular-old.C (l_getline):
13309         * spellchecker.C (sc_check_word):
13310         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13311         an unrecognised preprocessor directive.  So ensure they're wrapped.
13312
13313 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13314
13315         * src/exporter.C (Export): Give an error message when path to file
13316         contains spaces.
13317
13318 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13319
13320         * LaTeX.C (deplog): Always check that foundfile exists.
13321
13322 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * lyx_main.h:
13325         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13326
13327 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * tabular.[Ch] (getLabelList): implement new method
13330
13331         * minibuffer.h: comment ouf setTiimer
13332
13333         * minibuffer.C (ExecutingCB): constify res
13334         (peek_event): constify s
13335         (Set): constify ntext
13336         (Init): constify nicename
13337
13338         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13339
13340         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13341         (savePosition): use two params to Minibuffer::Set
13342         (restorePosition): ditto
13343
13344 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyx_main.C: include language.h
13347
13348         * Makefile.am (lyx_main.o): add language.h
13349
13350 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13351
13352         * exporter.C:
13353         * paragraph.C:
13354         * screen.C:
13355         * tabular.C:
13356         * CutAndPaste.C: include gettext.h
13357
13358         * lyxfont.h: remove old hack with ON and OFF.
13359
13360         * lyxparagraph.h:
13361         * lyxfont.h: do not include language.h...
13362
13363         * BufferView2.C:
13364         * LaTeXFeatures.C:
13365         * Painter.C:
13366         * bufferview_funcs.C:
13367         * font.C:
13368         * lyxfont.C:
13369         * text.C:
13370         * text2.C:
13371         * trans_mgr.C:
13372         * paragraph.C: ... but do it here instead
13373
13374 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13377
13378         * tabular.C: small reformat
13379
13380         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13381         NEW_INSETS version
13382         (GetChar): ditto
13383         (BreakParagraph): ditto
13384         (SetOnlyLayout): ditto
13385         (SetLayout): ditto
13386
13387         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13388         with one arg less.
13389
13390         * lastfiles.C: removed most using decl, add std:: where needed
13391
13392         * buffer.C: ws changes
13393
13394         * MenuBackend.C (class compare_format): put into anon namespace
13395         (expand): constify label, names, action, action2
13396         (expand):
13397
13398         * text.C (SingleWidth): constify font
13399         (IsBoundary): constify rtl2
13400         (GetVisibleRow): constify ww
13401
13402         * LaTeX.C (deplog): constify logfile
13403
13404         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13405         start_x, end_x
13406         (workAreaExpose): constify widthChange, heightChange
13407
13408         * lyxrow.C (par): moved
13409         (height): moved
13410         (next): moved
13411         * lyxrow.h: as inlines here
13412
13413         * lyxfont.h (shape): moved from lyxfont.C
13414         (emph): moved from lyxfont.C
13415
13416         * lyxfont.C (LyXFont): use initialization list for all
13417         constructors
13418         (shape): move to lyxfont.h as inline
13419         (emph): move to lyxfont.h as inline
13420
13421
13422 2001-04-04  Juergen Vigna  <jug@sad.it>
13423
13424         * vspace.C: had to include stdio.h for use of sscanf
13425
13426 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13427
13428         * BufferView.h:
13429         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13430         independent of xforms.
13431
13432 2001-04-02  Juergen Vigna  <jug@sad.it>
13433
13434         * spellchecker.C: fixed namespace placing!
13435
13436 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13439         the LyXParagraph * is 0.
13440
13441 2001-03-29  Juergen Vigna  <jug@sad.it>
13442
13443         * vspace.C: added support for %, c%, p%, l%.
13444         (stringFromUnit): added helper function.
13445         (asLatexString): changed to give right results for the %-values.
13446
13447         * buffer.C: convert the widthp in a width%.
13448
13449 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13450
13451         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13452         figureForm.[Ch].
13453
13454         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13455         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13456
13457         * lyx_cb.[Ch]: see above.
13458
13459         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13460         form1.[Ch].
13461
13462         * form1.[Ch]:
13463         * lyx.[Ch]: replaced by figure_form.[Ch].
13464
13465         * lyx_gui.C:
13466         * lyx_gui_misc.C:
13467         * lyxfunc.C: changed headers associated with above changes.
13468
13469 2001-03-27  Juergen Vigna  <jug@sad.it>
13470
13471         * BufferView_pimpl.C: set the temporary cursor right!
13472
13473 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13476
13477 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * LString.h: removed "using std::getline"!
13480
13481         * BufferView_pimpl.C (Dispatch): changes due to changes in
13482         InsetInclude::Params.
13483
13484         * buffer.C (tag_name): removed redundant break statements as they were
13485         producing lots of warnings with my compiler.
13486
13487 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * LString.h: add "using std::getline" when using the real <string>.
13490
13491 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13492
13493         * buffer.C: removed bitset usage.
13494         PAR_TAG moved to an anonymous name space.
13495         (tag_name): new funtion, also in the anonymous namespace.
13496         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13497         (makeDocBookFile): clean code. Completed transition from string arrays
13498         to string vectors.
13499         (SimpleDocBookOnePar): code clean.
13500
13501 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13502
13503         * tabular.C: add some comments.
13504
13505 2001-03-22  Juergen Vigna  <jug@sad.it>
13506
13507         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13508         compatibility read a bit and fixed bug with minipage in different
13509         depth.
13510
13511 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13512
13513         * buffer.C (pop_tag): removed.
13514         (push_tag): removed.
13515         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13516         array replaced with vector. Added support for CDATA sections.
13517         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13518         at any nest level.
13519         (makeDocBookFile): XML conformant declaration of CDATA section,
13520         fixed bug related to <emphasis> in the first paragraph char.
13521         (sgmlOpenTag): exclude empty tags.
13522         (sgmlCloseTag): ditto.
13523
13524         * buffer.h (pop_tag): removed.
13525         (push_tag): removed.
13526
13527 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13528
13529         * language.h (Languages): added size_type and size().
13530
13531 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13532
13533         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13534         response on compability reading of minipages. One probliem is that
13535         the old usage of minipages was «flertydig»
13536
13537         * several files here and in subdirs: don't use static at file
13538         scope use anon namespaces instead.
13539
13540 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13541
13542         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13543         LaTeX output. This is necessary for Literate document
13544         processing.
13545
13546 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * buffer.C: insert hfill when needed.
13549
13550         * tabular.C (l_getline): use string::erase, small whitespace change.
13551
13552         * BufferView_pimpl.C: try the anon namespace.
13553         * WorkArea.C: ditto
13554
13555 2001-03-16  Juergen Vigna  <jug@sad.it>
13556
13557         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13558         otherwise it won't open options-dialogs.
13559
13560         * buffer.C: honor pextraWidth(p) on converting minipages.
13561
13562         * tabular.C (l_getline): changed the functions to strip trailing \r.
13563
13564 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * BufferView_pimpl.C:
13567         * minibuffer..C: added "using SigC::slot" declaration.
13568
13569 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13570
13571         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13572
13573         * text2.C: ditto
13574
13575         * text.C: ditto
13576
13577         * paragraph.C: ditto
13578
13579         * lyxtext.h: NO_PEXTRA
13580
13581         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13582
13583         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13584         * ParameterStruct.h: ditto
13585         * ParagraphParameters.h: ditto
13586         * lyxparagraph.h: ditto
13587
13588 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13589
13590         * buffer.C: add compability for minipage alignment.
13591         (latexParagraphs): remove unwanted pextra check.
13592
13593         * several files: remove CXX_WORKING_NAMESPACES
13594
13595         * buffer.C (pop_tag): tie is in namespace boost
13596
13597         * BufferView.h: noncopyable is in namespace boost
13598         * lyxlex.h: ditto
13599         * lyx_main.h: ditto
13600         * lyx_gui.h: ditto
13601         * layout.h: ditto
13602         * lastfiles.h: ditto
13603         * bufferlist.h: ditto
13604         * ShareContainer.h: ditto
13605         * LyXView.h: ditto
13606         * LyXAction.h: ditto
13607         * LaTeX.h: ditto
13608
13609 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13610
13611         * Merging changes from BRANCH_MVC back into HEAD.
13612
13613         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13614
13615 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * BufferView_pimpl.C: change from intl.C
13618
13619         * combox.h:
13620         * combox.C:
13621         * Makefile.am: move combox.*
13622
13623         * form1.h:
13624         * form1.C:
13625         * lyx_gui.C:
13626         * intl.h:
13627         * intl.C: remove dialog (covered by prefs)
13628
13629 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13630
13631         * lyxfunc.C (Dispatch): removed redundant break statement.
13632
13633 2001-03-14  Juergen Vigna  <jug@sad.it>
13634
13635         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13636
13637 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13638
13639         * buffer.C: add hack to fix compability reading of minipages.
13640
13641 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * buffer.C (getLists): Cleanup.
13644
13645 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * lyxfont.C (update): don't honor toggleall on font size.
13648
13649 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * bmtable.c:
13652         * bmtable.h:
13653         * Makefile.am: moved to frontends/xforms/
13654
13655         * lyx_gui_misc.C:
13656         * lyxfunc.C:
13657         * BufferView_pimpl.C: changes for moved mathpanel
13658
13659 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13660
13661         * gettext.h: fix gettext_init() in --disable-nls
13662
13663 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13666
13667 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13668
13669         * lyx.C:
13670         * lyx.h: strip external form
13671
13672 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13673
13674         * BufferView_pimpl.C: add comment, destroySplash()
13675
13676 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * BufferView_pimpl.C:
13679         * LyXAction.C:
13680         * buffer.C:
13681         * commandtags.h:
13682         * lyxfunc.C: use re-worked insetinclude
13683
13684 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13685
13686         * buffer.C: add using std::stringstream.
13687
13688         * lyx_cb.C: readd using std::ios.
13689
13690         * buffer.C: add using std::map.
13691
13692         * BufferView_pimpl.C: add using std::vector.
13693
13694         * ShareContainer.h: add std:: to swap.
13695
13696         * buffer.h: add some typedefs
13697         * buffer.C (getLists): use them
13698         (getLists): renamed from getTocList.
13699         add a counter for the different float types and use it in the
13700         generated string.
13701         (getLists): use the same counter for the NEW_INSETS and the "non"
13702         NEW_INSETS
13703
13704         * lyx_cb.h: remove unused items, includes, using etc.
13705
13706         * ShareContainer.h: remove some commented code, add more comments
13707         and "documentation".
13708
13709 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13710
13711         * buffer.C (getTocList): make the list also when NEW_INSETS is
13712         defined.
13713
13714         * buffer.h: remove TocType
13715
13716         * buffer.C (getTocList): change to return a map<string,
13717         vector<TocItem> >, implement for dynamic number of list.
13718
13719         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13720         * text2.C (PasteSelection): adjust
13721         * CutAndPaste.C (pasteSelection): adjust
13722
13723         * FloatList.C (FloatList): update from the new_insets branch.
13724         * Floating.[Ch]: ditto
13725         * LaTeXFeatures.C: ditto
13726         * buffer.C: ditto
13727         * lyxlex_pimpl.C: ditto
13728
13729         * paragraph.C (Last): remove when NEW_INSETS is defined.
13730
13731         * other file: changes because of the above.
13732
13733 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13734
13735         * lyxparagraph.h: rename next to next_, previous to previous_,
13736         make them private for NEW_INSETS. Rename Next() to next(),
13737         Previous() to previous().
13738
13739         * other files: changes because of the above.
13740
13741 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13742
13743         * BufferView.h:
13744         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13745         problem.
13746
13747 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13748
13749         * main.C (main): pass lyx_localedir to gettext_init().
13750
13751         * gettext.h: remove locale_init and gettext_init macros
13752
13753         * gettext.C (locale_init): new function
13754         (gettext_init): new function
13755
13756         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13757         setlocale().
13758
13759 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13760
13761         * Moved credits to frontends:
13762         * credits.[Ch]: removed
13763         * credits_form.[Ch]: removed
13764         * lyx_gui_misc.C: remove credits stuff
13765         * Makefile.am:
13766
13767 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13768
13769         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13770
13771         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13772         unneeded destructor.
13773
13774         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13775         a standalone pointer again.
13776
13777         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13778
13779 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13780
13781         * Makefile.am:
13782         * filedlg.h:
13783         * filedlg.C:
13784         * LyXAction.C:
13785         * ToolbarDefaults.C:
13786         * bufferlist.C:
13787         * commandtags.h:
13788         * form1.C:
13789         * form1.h:
13790         * lyx_cb.C:
13791         * lyx_cb.h:
13792         * lyxfunc.h:
13793         * lyxfunc.C:
13794         * BufferView_pimpl.C: use new file dialog in GUII
13795
13796         * lyx_cb.h:
13797         * lyx_cb.C: remove LayoutsCB to Toolbar
13798
13799 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * ShareContainer.h (get): add std:: qualifier
13802
13803 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * ShareContainer.h: define a proper ShareContainer::value_type
13806         type (and use typename to please compaq cxx)
13807
13808 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13809
13810         * lyxparagraph.h: move serveral local vars to
13811         ParameterStruct/ParagraphParameters., use ShareContainer in
13812         FontTable., make vars in FontTable private and add getter and
13813         setter.
13814
13815         * paragraph.C: changes because of the above.
13816
13817         * lyxfont.h: remove copy constructor and copy assignment. (the
13818         default ones is ok), move number inside FontBits. move inlines to
13819         lyxfont.C
13820
13821         * lyxfont.C: add number to initializaton of statics, move several
13822         inlines here. constify several local vars. some whitespace
13823         cleanup. Dont hide outerscope variables.
13824
13825         * Spacing.h: add two new constructors to match the set methods.
13826
13827         * ShareContainer.h: new file, will perhaps be moved to support
13828
13829         * ParameterStruct.h: new file
13830
13831         * ParagraphParameters.h: new file
13832
13833         * ParagraphParameters.C: new file
13834
13835         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13836         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13837
13838         * BufferView_pimpl.C: ParagraphParameter changes.
13839         * buffer.C: Likewise.
13840         * bufferview_funcs.C: Likewise.
13841         * text.C: Likewise.
13842         * text2.C: Likewise.
13843
13844 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * lyxfind.C (LyXReplace): do not redefine default argument in
13847         implementation.
13848         (IsStringInText): ditto
13849         (SearchForward): ditto
13850         (SearchBackward): ditto
13851
13852 2001-03-06  Juergen Vigna  <jug@sad.it>
13853
13854         * lyxfind.C (IsStringInText): put parentes around expressions.
13855
13856 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13857
13858         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13859
13860 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13861
13862         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13863
13864         * stl_string_fwd.h: add comment
13865
13866         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13867
13868         * tabular.h:
13869         * tabular.C: remove unused DocBook methods
13870
13871         * intl.C:
13872         * language.C:
13873         * paragraph.C:
13874         * buffer.C:
13875         killed DO_USE_DEFAULT_LANGUAGE
13876
13877 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * lyx_gui.C: do not include language.h.
13880
13881         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13882         arguments in function implementation.
13883
13884 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13885
13886         * BufferView_pimpl.C: add <ctime>
13887
13888 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13889
13890         * BufferView_pimpl.C: add using std::find_if
13891
13892 2001-02-27  José Matos  <jamatos@fep.up.pt>
13893
13894         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13895         by OnlyPath.
13896
13897 2001-02-11  José Matos  <jamatos@fep.up.pt>
13898
13899         * buffer.C (makeDocBookFile): command styles now have a parameter as
13900         "title" by default.
13901
13902 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13903
13904         * layout_forms.[Ch]: removed
13905         * lyx_cb.[Ch]: out character
13906         * lyx_gui.C: out character
13907         * lyx_gui_misc.C: out character
13908         * bufferview_funcs.C: : out character,
13909         added toggleall as parameter in ToggleAndShow
13910
13911 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13914
13915         * text2.C (SetCurrentFont): Disable number property at boundary.
13916
13917 2001-02-26  Juergen Vigna  <jug@sad.it>
13918
13919         * lyxfunc.C (getStatus): added a string argument override function so
13920         that this is correctly called from LyXFunc::Dispatch if it contains a
13921         do_not_use_argument which is used!
13922         (Dispatch): added check for "custom" export and call appropriate func.
13923
13924 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13925
13926         * lyxrc.C: Add language_command_local, language_use_babel and
13927         language_global_options.
13928
13929         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13930
13931         * buffer.C (makeLaTeXFile): Use language_use_babel and
13932         language_global_options.
13933
13934 2001-02-23  Juergen Vigna  <jug@sad.it>
13935
13936         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13937         which works with LyXText and putted it inside BufferView. Here now we
13938         only call for that part the BufferView::Dispatch() function.
13939
13940         * BufferView.C (Dispatch): added.
13941
13942         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13943         functions which needs to use a LyXText over from LyXFunc.
13944         (MenuInsertLyXFile): added
13945         (getInsetByCode): added
13946         (moveCursorUpdate): added
13947         (static TEXT): added
13948
13949 2001-02-22  Juergen Vigna  <jug@sad.it>
13950
13951         * BufferView_pimpl.C (update): call a status update to see if LyXText
13952         needs it.
13953
13954 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13955
13956         * vc-backend.C (revert): implement for CVS
13957         (getLog): implement for CVS
13958
13959 2001-02-20  Juergen Vigna  <jug@sad.it>
13960
13961         * text2.C (ClearSelection): added BufferView param for inset_owner call
13962
13963         * lyxfunc.C (TEXT): added this function and use it instead of
13964         directly owner->view()-text of getLyXText().
13965
13966 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13967
13968         * src/layout_forms.C: out preamble
13969         * src/layout_forms.h: out preamble
13970         * src/lyx_cb.C: out preamble
13971         * src/lyx_cb.h: out preamble
13972         * src/lyx_gui.C: out preamble
13973         * src/lyx_gui_misc.C: out preamble
13974         * src/lyxfunc.C: connect with guii preamble
13975
13976 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13977
13978         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13979
13980 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13981
13982         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13983         whether to run bibtex.
13984
13985 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13986
13987         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13988
13989 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13990
13991         * Makefile.am (lyx_SOURCES): removed bibforms.h
13992
13993         * vspace.h: doxygen
13994
13995         * text.C (GetVisibleRow): make several local vars const
13996
13997         * tabular.C: small cleanup.
13998
13999         * lyxserver.C (callback): use compare instead of strncmp
14000
14001         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14002         inlines to after class or to paragraph.C
14003
14004         * lyxfont.h: remove friend operator!=
14005
14006         * converter.h: move friend bool operator< to non friend and after
14007         class def.
14008
14009         * combox.h: small cleanup
14010
14011         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14012         to inlines after class def.
14013
14014         * buffer.C (pop_tag): use string operations instead of strcmp
14015
14016         * bmtable.c: doxygen, small cleanup
14017
14018         * LaTeX.h: remove friend operator==
14019
14020 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14021
14022         * screen.C:
14023         * lyxrc.[Ch]:
14024         * lyxfunc.C:
14025         * lyxfont.[Ch]:
14026         * lyx_cb.C:
14027         * intl.[Ch]:
14028         * commandtags.h:
14029         * buffer.C:
14030         * WorkArea.[Ch]:
14031         * LyXAction.C:
14032         * BufferView_pimpl.C:
14033         * BufferView.[Ch]: remove cruft
14034
14035 2001-02-14  Juergen Vigna  <jug@sad.it>
14036
14037         * lyxfunc.C: removed #if 0 unused code
14038
14039         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14040
14041         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14042
14043         * text2.C (SetSelection): added a BufferView * parameter
14044
14045 2001-02-13  Juergen Vigna  <jug@sad.it>
14046
14047         * lyxfunc.C (Dispatch): fixed protected blank problem.
14048         * BufferView2.C (protectedBlank): added LyxText * parameter.
14049
14050         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14051         (AppendColumn): same as above for column_info.
14052
14053         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14054         (moveCursorUpdate): use a LyXText param for support of InsetText.
14055
14056         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14057         (tripleClick): ditto
14058
14059         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14060
14061         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14062
14063         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14064
14065         * text2.C (SetSelection): set correct update status if inset_owner
14066         (ToggleFree): ditto
14067
14068 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14069
14070         * tabular.C: remove some commented code.
14071
14072 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * BufferView_pimpl.C: call hideSplash()
14075
14076         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14077
14078         * include_form.h:
14079         * bibforms.h: remove
14080
14081         * lyxfunc.C:
14082         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14083           add LFUN_CHILD_CREATE
14084
14085         * counters.h: fix tiny typo
14086
14087         * lyx_cb.C:
14088         * lyx.h:
14089         * lyx_gui.C:
14090         * lyx.C: move splash to frontends/xforms/
14091
14092         * lyx_gui_misc.C: move Include and Bibform to frontends
14093
14094         * lyxvc.h: clarify comment
14095
14096         * vspace.C: tiny housekeeping
14097
14098 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * text.C (PrepareToPrint): RTL Fix.
14101
14102         * paragraph.C (GetUChar): New method.
14103         (String):  Use GetUChar.
14104
14105         * buffer.C (asciiParagraph): Use GetUChar.
14106
14107 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14110
14111 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14112
14113         * buffer.h:
14114         * buffer.C: rename to getLogName(), handle
14115           build log / latex log nicely
14116
14117 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * MenuBackend.C:
14120         * MenuBackend.h: remove support for reference menuitem type.
14121
14122 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14123
14124         * BufferView_pimpl.C: housekeeping
14125         * BufferView_pimpl.h:
14126         * LyXView.h:
14127         * Makefile.am:
14128         * Timeout.C:
14129         * Timeout.h:
14130         * minibuffer.h: move Timeout GUI-I
14131
14132 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14133
14134         * lyxrc.C (read): Update converters data-structures.
14135
14136 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14137
14138         * LaTeX.h (operator!=): add operator != for Aux_Info
14139
14140 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14143
14144         * LaTeXLog.C: deleted, useful code moved to Buffer
14145
14146         * buffer.h:
14147         * buffer.C: new function getLatexLogName()
14148
14149         * lyx_gui_misc.C:
14150         * lyx_gui.C:
14151         * lyxvc.C:
14152         * lyxvc.h:
14153         * lyxfunc.C: use frontends for LaTeX and VC logs
14154
14155 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * LaTeX.h: yet another std:: that Allan forgot.
14158
14159         * Variables.C (set): renamed from isset(), because this clashes
14160         with some HP-UX macros (grr).
14161
14162 2001-02-06  Allan Rae  <rae@lyx.org>
14163
14164         * LaTeX.h: Another bug fix.  Missing std:: this time.
14165
14166 2001-02-04  Allan Rae  <rae@lyx.org>
14167
14168         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14169         floats problem. I've left it commented out because it's not quite
14170         correct.  It should also test that the current object is a table or
14171         figure inset.  But I haven't gotten around to figuring out how to do
14172         that.  I *think* it'll be something like: "table" == inset.type()
14173
14174         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14175         bool.
14176
14177 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14178
14179         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14180         all the citation/databases/styles in the auxilary file.
14181         (run): Rerun latex if there was a babel language error.
14182
14183 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14184
14185         * text.C (Backspace): Preserve the font when changing newline char
14186         with a space.
14187         (BreakParagraph): If the cursor is before a space, delete the space.
14188
14189         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14190
14191 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14192
14193         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14194         new argument (code).
14195         (ChangeCitationsIfUnique): New method.
14196
14197         * paragraph.C (GetPositionOfInset): Handle bibkey.
14198
14199 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14200
14201         * BufferView_pimpl.h: change type of Position::par_pos to
14202         LyXParagraph::size_type.
14203
14204 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14205
14206         * BufferView_pimpl.C (savePosition, restorePosition): Write
14207         messages to minibuffer.
14208
14209 2001-01-28  José Matos  <jamatos@fep.up.pt>
14210
14211         * buffer.C (makeDocBookFile): adds support for document language.
14212         A silly restriction on the name of LatexCommand types where removed.
14213         Added support for CDATA sections, allows to chars unescaped, used
14214         among others in code, to avoid escape < and >.
14215
14216 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14219         saved positions instrad of a stack. Furthermore, a position is
14220         stored using paragraph id/paragraph position.
14221
14222         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14223         Remove LFUN_REF_BACK.
14224
14225 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * converter.C (dvipdfm_options): New method.
14228
14229 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14230
14231         * vspace.C (isValidLength): Fix for empty input string.
14232
14233 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14234
14235         * LyXAction.C (init): change description of LFUN_FIGURE to
14236         "Insert Graphics"
14237
14238 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * LaTeX.C: add using directive
14241
14242 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * MenuBackend.C (expand): Fix the sorting of the formats.
14245
14246 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * lyx_main.C: tiny error message fix
14249
14250 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14253         calling fl_initialize(). This fixes the problem with ',' as
14254         decimal separator in text files.
14255
14256 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14257
14258         * trans.C (process): Fix the keymap bug.
14259
14260 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14261
14262         * LaTeX.C (scanAuxFiles): New method. Provides support for
14263         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14264         (scanLogFile) Scan for "run BibTeX" messages.
14265
14266         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14267         OT1 font encoding. Also, load the aecompl package if the ae
14268         package is loaded.
14269
14270         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14271
14272 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * texrow.C (increasePos): turn two error messages into debug
14275         messages.
14276
14277 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * LaTeX.C (scanAux): Handle the \@input macro.
14280         (runBibTeX): Use scanAux().
14281
14282         * language.C (latex_options_): New field.
14283
14284         * LaTeXFeatures.C (getMacros): Add language macros.
14285
14286         * buffer.C (makeLaTeXFile): Small fix.
14287
14288 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14289
14290         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14291
14292         * text2.C: add a using directive.
14293
14294 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * BufferView2.C:
14297         * lyx_gui_misc.h:
14298         * lyxfr1.C:
14299         * lyxfunc.C: kill LyXBell.
14300
14301 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * text.C (IsBoundary): Remove the error message
14304
14305         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14306
14307         * lyxrc.C (setDefaults): Correct initialization value for
14308         font_norm_type.
14309
14310 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14313         gotoError().
14314
14315         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14316         and GotoNextNote().
14317
14318         * src/LyXAction.C: Added reference-next.
14319
14320         * text.C (InsertChar): Use contains instead of strchr.
14321
14322         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14323
14324 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14327         alignment commands (when needed).
14328
14329         * text.C (InsertChar): Add ':' to number separator chars.