]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ada751cce9eb09cbc40fd636de1395fed2d403dc
[lyx.git] / src / ChangeLog
1 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text2.C (undoSpan): add and use
4         * text.C (breakParagraph): use undoSpan (fix bug 578)
5         * lyxtext.h: adjust
6
7 2004-01-08  Angus Leeming  <leeming@lyx.org>
8
9         * BufferView_pimpl.C (MenuInsertLyXFile):
10         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
11         * lyxfunc.C (menuNew, open, doImport): 
12         FileFilterList change to the FileDialog open and save functions.
13
14 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
15
16         * ShareContainer.h: make isEqual and isUnique adaptable
17
18         * CutAndPaste.C: make resetOwnerAndChanges adaptable
19
20 2004-01-07  Angus Leeming  <leeming@lyx.org>
21
22         * LyXAction.C:
23         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
24
25         * BufferView_pimpl.C (dispatch): act on these LFUNs.
26
27         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
28         functions replacing find, replace and replaceAll.
29
30         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
31         LFUN_WORDFIND(FORWARD|BACKWARD).
32
33 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * text.C (breakParagraph): remove an outdated #warning
36
37 2004-01-07  André Pönitz  <poenitz@gmx.net>
38
39         * lyxfind.C: somewhat clearer logic
40
41         * text.C: prevent crash in cursorX on unitialized row cache
42
43 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
44
45         * lyxcursor.[Ch] (operator>): add
46         * textcursor.C (selStart, selEnd): use std::min and std::max
47
48 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
49
50         * Chktex.C: include boost/format.hpp
51
52 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
53
54         * InsetList.C: replace functor MathcIt with adaptable functor
55         InsetTablePosLess
56         (insetIterator): modify accordingly
57
58         * BranchList.h: move the BranchNamesEqual functor here from...
59         * BranchList.C: ... to here
60
61         * BranchList.C: new BranchListEqual fuctor, use it. Remove
62         SameName and match.
63         (add): replace a finding loop with std::find_if.
64
65 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * output_docbook.C: moving LatexParam functionality into
68         .layout files
69
70 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
71
72         * buffer.C: increment format to 229.
73
74 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
75
76         * LaTeXFeatures.C:
77         * lyx_sty.[Ch]: remove minipageindent_def
78
79         * LyXAction.C:
80         * factory.C:
81         * lfuns.h:
82         * lyxfunc.C:
83         * text3.C: remove LFUN_INSET_MINIPAGE
84
85 2003-12-28  Angus Leeming  <leeming@lyx.org>
86
87         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
88
89 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * text2.C (setParagraph): fix off-by-one crash
92
93 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * output_docbook.C: header stuff for AGU
96
97 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
98
99         * text2.C (redoCursor): remove
100         * text.C:
101         * text3.C:
102         * BufferView_pimpl.C: remove calls to redoCursor and
103         setCursor(cursor.par(), cursor.pos()) all around
104
105 2003-12-15  Angus Leeming  <leeming@lyx.org>
106
107         * buffer.C: up the format to 228.
108
109 2003-12-15  André Pönitz  <poenitz@gmx.net>
110
111         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
112         slices
113
114         * Makefile.am:
115
116         * BufferView_pimpl.C:
117         * cursor.[Ch]:
118         * lyxcursor.[Ch]:
119         * rowpainter.[Ch]:
120         * lyxtext.h:
121         * text.C:
122         * text2.C:
123         * text3.C: adjust
124
125 2003-12-15  Angus Leeming  <leeming@lyx.org>
126
127         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
128         than getFromGUIName to manipulate the color.
129
130 2003-12-14  Angus Leeming  <leeming@lyx.org>
131
132         * BranchList.[Ch]: minimize the API.
133         (Branch::getBranch, getColor): now return a 'const &'.
134         (Branch::setSelected) now returns a bool set to true if the
135         selection status changes.
136         (BranchList::clear, size, getColor, setColor, setSelected,
137         allBranches, allSelected, separator): removed.
138         (BranchList::find): new functions, returning the Branch with
139         the given name.
140         (BranchList::add, remove): return a bool indicating that
141         the operation was successful.
142
143         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
144         new InsetBranch::isBranchSlected member function.
145
146         * LColor.[Ch]: mimimize the API.
147         (fill): renamed as addColor and made private.
148         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
149         versions of these functions taking a string arg have been removed.
150
151         * bufferparams.C (readToken):
152         * lyxfunc.C (dispatch):
153         * lyxrc.C (read): changes due to the altered BranchList and
154         LColor APIs.
155
156         * factory.C (createInset, readInset): changes due to altered
157         InsetBranch c-tor.
158
159 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
160
161         * factory.C:
162         * lyxfunc.C: remove insetminipage. "minipage-insert"
163         now produces a frameless minipage box inset.
164
165 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * textcursor.[Ch] (selStart,selEnd): add new methods
168         remove selection::start, end, use LyXCursor::operator<
169         * lyxcursor.[Ch] (operator<): add
170         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
171         * BufferView.[Ch] (unsetXSel): add
172         * text2.C (clearSelection): use unsetXSel,adjust
173         * text.C: adjust
174         * text3.C: adjust
175         * rowpainter.C: adjust
176         * bufferview_funcs.C (put_selection_at): adjust
177
178 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * BufferView_pimpl.C: small coord. correction
181
182 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
185         dragging over the splash screen.
186
187 2003-12-11  Angus Leeming  <leeming@lyx.org>
188
189         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
190         as it is now handled in LyXText::dispatch.
191
192         * text3.C (doInsertInset): remove a level of nesting.
193
194 2003-12-11  Angus Leeming  <leeming@lyx.org>
195
196         * factory.C (createInset): changes due to the changed interface to
197         InsetCommandMailer::string2params.
198
199 2003-12-10  Angus Leeming  <leeming@lyx.org>
200
201         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
202         'dialog-show-new-inset <inset name>'
203
204 2003-12-10  Angus Leeming  <leeming@lyx.org>
205
206         * buffer.C: up the format to 227.
207
208         * factory.C: the box inset is now identified simply by 'Box'.
209
210 2003-12-10  Angus Leeming  <leeming@lyx.org>
211
212         * buffer.C: up the format to 226.
213
214         * factory.C: the note inset is now identified simply by 'Note'.
215
216 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
217
218         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
219         when a pit is enough. Standarize a couple of loops.
220
221 2003-12-05  Angus Leeming  <leeming@lyx.org>
222
223         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
224         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
225         data to the re-worked "log" dialog.
226
227 2003-12-03  André Pönitz  <poenitz@gmx.net>
228
229         * PosIterator.C:
230         * iterators.C:
231         * lyxtext.h:
232         * output_latex.C:
233         * paragraph_funcs.C:
234         * text.C:
235         * text2.C: use Inset::getText instead of Inset::getParagraph
236
237 2003-12-03  André Pönitz  <poenitz@gmx.net>
238
239         * buffer.[Ch]:
240         * lyxtext.h:
241         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
242         InsetText::read() as LyXText::read()
243
244 2003-12-02  Angus Leeming  <leeming@lyx.org>
245
246         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
247         type. Add a comment in the implementation that the function uses
248         the stream's bad() function rather than fail() as the std::streams
249         would do.
250
251 2003-12-02  André Pönitz  <poenitz@gmx.net>
252
253         * lyxlex.[Ch]: make interface more similar to std::stream
254
255         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
256
257 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
258
259         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
260
261 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
262
263         * vspace.[Ch]: remove VSpace::NONE
264
265 2003-12-01  André Pönitz  <poenitz@gmx.net>
266
267         * buffer.[Ch]:
268         * lyxtext.h: move ParagraphList member to LyXText
269         rename LyXText::ownerParagraphs to LyXText::paragraph
270
271         * CutAndPaste.C:
272         * bufferview_funcs.C:
273         * iterators.[Ch]:
274         * lyx_cb.C:
275         * paragraph.C:
276         * rowpainter.C:
277         * tabular.C:
278         * text.C:
279         * text2.C:
280         * text3.C: adjust
281
282         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
283
284         * undo.C: fix cursor positioning
285
286 2003-12-01  John Levon  <levon@movementarian.org>
287
288         * BufferView_pimpl.C: fix a crash on exit with
289         a buffer open
290
291 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * BranchList.C: fix setSelected() method.
294
295 2003-11-28  André Pönitz  <poenitz@gmx.net>
296
297         * ParagraphParameters.[Ch]:
298         * ParameterStruct.h: remove space above/below from Paragraph to
299          InsetVSpace
300
301         * BufferView_pimpl.C:
302         * factory.C:
303         * lyxfunc.C:
304         * lyxtext.h:
305         * output_latex.C:
306         * paragraph.C:
307         * paragraph_funcs.C:
308         * rowpainter.[Ch]:
309         * text.C:
310         * text2.C:
311         * text3.C: adjust
312
313 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * factory.C: Syntax change for CharStyles
316
317 2003-11-28  André Pönitz  <poenitz@gmx.net>
318
319         * BufferView.[Ch]:
320         * BufferView.[Ch]:
321         * buffer.[Ch]:
322         * buffer.[Ch]: move LyXText member
323
324 2003-11-28  André Pönitz  <poenitz@gmx.net>
325
326         * BufferView.[Ch]: make LyXText * text a private member
327
328         * BufferView_pimpl.C:
329         * cursor.C:
330         * iterators.C:
331         * lyx_cb.C:
332         * lyxfind.C:
333         * lyxtext.h:
334         * rowpainter.[Ch]:
335         * text.C:
336         * text2.C:
337         * undo.C: adjust
338
339         * output_plaintext.C: cleanup
340
341 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
342
343         * buffer.C:
344         * lyxtextclass.[Ch]: parametrize SGML document header
345
346 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
347
348         * converter.[Ch]:
349         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
350         getFlavor().
351
352 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
353
354         * text2.C (setFont): rework using PosIterator (no more recursive)
355         (setCharFont): no more needed
356         (setLayout): no more selection cursors fiddling (done by redoCursor)
357         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
358         destroy remaining ones)
359
360 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
363         * lyxtext.h: ditto
364         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
365         selection cursors
366         * lyxfunc.C: adjust
367         * text3.C: adjust + re-allow multi par depth changes
368         * textcursor.C: simplify a bit
369
370 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * src/buffer.C:
373         * src/lyxlayout.C:
374         * src/lyxlayout.h:
375         * src/lyxtext.h:
376         * src/output_docbook.C:
377         * src/output_latex.C:
378         * src/paragraph.C:
379         * src/paragraph.h:
380         * src/sgml.C:
381         * src/sgml.h:
382         * src/text2.C: Introducing a number of tags parametrizing various
383         XML formats that we may want to support
384
385 2003-11-25  André Pönitz  <poenitz@gmx.net>
386
387         * InsetList.[Ch] (begein, end): inline as suggested by profiler
388
389         * lyxtext.h (leftMargin/rightMargin): simplify interface
390
391         * rowpainter.C:
392         * text.C:
393         * text2.C:
394         * text3.C: adjust
395
396 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * lyxfunc.C (dispatch): propogate the bibtex databases from the
399         master file to any child files. Fixes bug 546.
400
401 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
404
405 2003-11-24  André Pönitz  <poenitz@gmx.net>
406
407         * rowpainter.C: simplification
408
409         * text2.C (updateCounters): remove call to redoParagraph on
410         changed labels as this is far too expensive.
411
412 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
413
414         * converter.C (convert): fix a crash: this function gets
415         called with buffer == 0 from importer code.
416
417 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
418
419         * text3.C (cursorPrevious): make sure that we do not compare
420         iterators form different containers.
421         (cursorNext): ditto
422
423         * rowpainter.C (paintSelection): make sure that we do not compare
424         iterators from different containers.
425
426         * text3.C (dispatch): [PRIOR] make sure that we do not compare
427         iterators from different ParagraphList containers.
428         [NEXT] ditto
429
430         * text2.C (LyXText): change order of initialization slightly
431         (operator=): new function. copy all variables except cache_par_
432         (moveUp): make sure that we do not compare iterators from
433         different ParagraphList constainers.
434         (moveDown): ditto
435
436         * text.C (firstPar): new function
437         (lastPar): new function
438         (endPar): new function
439
440         * lyxtext.h: move things around and group public functions, public
441         variables, private functions, private variables
442
443 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
444
445         * factory.C: change call to InsetERT constructor to avoid
446         additional invocation of method status
447         * text2.C (toggleInset): remove redundant update() call
448         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
449         instead of a Bufferview pointer
450
451 2003-11-21  André Pönitz  <poenitz@gmx.net>
452
453         * rowpainter.C: simplification
454
455 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
456
457         * text3.C (dispatch): make possible to extend a word/row selection
458         with the mouse
459
460 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * lyxtext.h: x0_,y0_ -> xo_,yo_
463         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
464         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
465         * rowpainter.C (paintRows): paint full paragraphs
466
467 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
470         screen coordinates)
471
472 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * lyxtext.h: add x0_, y0_
475         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
476         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
477
478 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * text2.C (setCursorIntern): move the x_target update here *
481         * text3.C: change some bv() to true/false in calls to
482         cursorUp/Down/Right/Left
483         * cursor.C: use helper function.
484
485 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
488         * paragraph_funcs.[Ch]: correct comment
489         * rowpainter.C: do not paint selections away from bv->cursor()
490         Fix a long standing selection painting bug.
491         * text3.C: generalize mouse-selection code to LyXTexts other that
492         top one
493         * textcursor.C: do not use y coords if we can use par offsets
494
495 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
498         cursor position after e.g. inset insert)
499
500 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * lyxfind.C (replace): adjust to locking removal + some
503         code simplification
504
505 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
506
507         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
508         of the path
509
510 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * lyxlayout.[Ch]:
513         * output_docbook.C: XML sanitation: new layout
514         parameters InnerTag and CommandDepth
515
516 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
517
518         * BufferView_pimpl.C:
519         * factory.C:
520         * text3.C: Fix the insertion and modification of button-style
521         insets
522
523 2003-11-13  André Pönitz  <poenitz@gmx.net>
524
525         * InsetList.[Ch]: remove deleteLyXText
526
527         * paragraph.[Ch]: cache beginOfBody position
528
529         * Bidi.C:
530         * text.C:
531         * text2.C:
532         * text3.C: remove superfluous update() calls
533
534         * vspace.C: cleanup
535
536 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
537
538         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
539         * BufferView.C (fitLockedInsetCursor): remove
540         * cursor.[Ch] (getDim): add
541         * text.C (getRowNearY): add faster version
542         * text3.C: remove some update calls
543
544 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
545
546         * LaTeXFeatures.C:
547         * LyXAction.C:
548         * MenuBackend.C:
549         * MenuBackend.h:
550         * dispatchresult.h:
551         * factory.C:
552         * lfuns.h:
553         * lyxfunc.C:
554         * lyxtextclass.C:
555         * lyxtextclass.h:
556         * text3.C: The Character Style /XML short element patch.
557
558 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
559
560         * text3.C:
561         * factory.C: Small step to solving 'unable to insert some insets'
562         problem
563
564 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
565
566         * cursor.[Ch] (updatePos): new function for updating the y
567         position of the tip inset
568         * bufferview_funcs.C (put_selection_at):
569         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
570
571 2003-11-11  André Pönitz  <poenitz@gmx.net>
572
573         * text.C: remove big comment on invalid Paragraph pointers as it is
574         not valid anymore
575
576 2003-11-11  André Pönitz  <poenitz@gmx.net>
577
578         * text_funcs.[Ch]: merge with ...
579
580         * text.C: ... this
581
582         * lyxtext.h:
583         * text2.C:
584         * text3.C: adjust
585
586         * Makefile.am: remove text_funcs.[Ch]
587
588 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
589
590         * cursor.C (getPos): return absolute cached y coord
591
592         * BufferView_pimpl.C (fitCursor): new simplistic code
593         (workAreaDispatch): add a fitCursor call
594
595 2003-11-10  André Pönitz  <poenitz@gmx.net>
596
597         * BufferView.[Ch]:
598         * BufferView_pimpl.[Ch]: merge update() and updateInset()
599
600 2003-11-10  André Pönitz  <poenitz@gmx.net>
601
602         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
603         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
604         indicate that the cursor needs to leave an inset
605
606         * lyxtext.h: remove inset locking
607
608         * cursor.[Ch]: re-implement functionality provided by inset locking
609
610         * BufferView.[Ch]:
611         * BufferView_pimpl.[Ch]:
612         * LyXAction.C:
613         * bufferview_funcs.[Ch]:
614         * factory.C:
615         * funcrequest.[Ch]:
616         * iterators.C:
617         * lyx_cb.C:
618         * lyxfind.C:
619         * lyxfunc.C:
620         * text.C:
621         * text2.C:
622         * text3.C:
623         * undo.C: adjust
624
625 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
626
627         * PosIterator.[Ch]: replace the stack with a vector, add inset
628         accesor
629         * iterators.[C]: adjust
630
631 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
632
633         * lyxfind.C (replaceAll): mark the buffer dirty if something was
634         replaced
635         * paragraph_funcs.C (readParToken): put the correct id in the
636         error item, not the id of the top paragraph
637
638 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
639
640         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
641         * bufferview_funcs.C (put_selection_at): use the above
642
643 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
644
645         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
646
647 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * output_linuxdoc.h:
650         * output_plaintext.h:
651         * output.h:
652         * output_docbook.h: add #include statements
653
654 2003-11-05  José Matos  <jamatos@lyx.org>
655
656         * output_docbook.[Ch]:
657         * output_latex.[Ch]:
658         * output_linuxdoc.[Ch]:
659         * output_plaintext.[Ch]: New files for output formats.
660         * output.[Ch]: New file for helper functions.
661
662         * buffer.[Ch]:
663         * paragraph_funcs.[Ch]: output functions moved to new files.
664
665         * outputparams.h: rename of latexrunparams.h
666
667         * LaTeX.[Ch]:
668         * buffer.[Ch]:
669         * bufferlist.[Ch]:
670         * converter.[Ch]:
671         * exporter.C:
672         * paragraph.[Ch]:
673         * paragraph_funcs.[Ch]:
674         * paragraph_pimpl.[Ch]:
675         * tabular.[Ch]: rename ascii to plaintext
676         and LatexRunParams to OutputParams.
677
678 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
679
680         * iterators.[Ch] (text): require bv argument
681         * undo.C (recordUndo):
682         * lyxfunc.C (dispatch):
683         * bufferview_funcs.C (put_selection_at): adjust
684
685 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
686
687         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
688
689 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
690
691         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
692         nestings
693
694 2003-11-04  André Pönitz  <poenitz@gmx.net>
695
696         * cursor.[Ch]: restructure
697
698         * BufferView.[Ch]:
699         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
700
701         * iterators.[Ch] (asCursor): remove
702
703         * lfuns.h: remove LFUN_INSET_EDIT
704
705         * lyxfunc.C:
706         * tabular.C:
707         * text.C:
708         * text2.C:
709         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
710
711 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
712
713         * lyxfind.[Ch]: complete overhaul
714         * BufferView_pimpl.C:
715         * lyxfunc.C: adjust
716         * paragraph.[Ch] (insert): add
717
718 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
719
720         * BufferView.[Ch]:
721         * lyxtext.h:
722         * text.C: remove dead spellcheck code
723
724 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
725
726         * dispatchresult.h: add a val setter
727
728         * cursor.C (dispatch): use a tempvar for data_[i]
729
730 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
731
732         * PosIterator.[Ch]: compile fix
733
734 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
735
736         * text.C (cursorPar): deactivate the cursor cache
737
738 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
739
740         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
741
742 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
743
744         * text3.C (dispatch): adjust for new DisptchResult semantics.
745
746         * lyxfunc.C (dispatch): handle update when return from
747         Cursor::dispatch, adjust for new DispatchResult semantics.
748
749         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
750         DispatchResult(true) mean to not update. Add class functions for
751         setting dispatched and update, as well as reading.
752
753         * cursor.C (dispatch): don't handle update here
754
755 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
756
757         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
758         * trans_mgr.C: adjust
759
760         * paragraph_funcs.C (readParToken): exception safety
761
762         * lyxvc.h: store the vcs pointer in a scoped_ptr
763         * lyxvc.C: adjust
764
765         * lyxsocket.C (serverCallback): exception safety
766
767         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
768
769         * ispell.C (clone): make it return a auto_ptr
770
771         * factory.C (createInset): exception safety
772         (readInset): exception safety
773
774         * bufferlist.C (newBuffer): exception safety
775
776         * Thesaurus.C (Thesaurus): use initialization for aik_
777
778         * MenuBackend.C (expandToc): exception safety.
779
780 2003-11-03  André Pönitz  <poenitz@gmx.net>
781
782         * buffer.C:
783         * buffer.h:
784         * bufferview_funcs.C: remove getInsetFromId()
785
786         * lyxcursor.[Ch]:
787         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
788
789         * lyxfunc.C:
790         * text2.C:
791         * text3.C: adjust
792
793 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
794
795         * PosIterator.C (distance, advance): new
796         * bufferview_funcs.[Ch] (put_selection_at): new
797         * iterators.[Ch] (lockPath): new
798
799 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
800
801         * iterators.[Ch] (asPosIterator): added
802         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
803         * PosIterator.[Ch]: added
804
805 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
806
807         * text3.C:
808         * lyxfunc.C:
809         * cursor.C (dispatch):
810         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
811
812         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
813         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
814         contructor, add a class function dispatched. Remove operator>=
815
816 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
817
818         * debug.C: only use the default constructor for debugstream
819         (lyxerr) here.
820
821         * main.C (main): include debug.h and setup the lyxerr streambuf
822         here.
823
824 2003-10-31  José Matos  <jamatos@lyx.org>
825
826         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
827
828         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
829         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
830         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
831         * paragraph_pimpl.C (simpleTeXSpecialC):
832         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
833         add LatexRunParams argument.
834
835         * exporter.C (Export): change call accordingly.
836
837         * latexrunparams.h: add new member to take care of the other backends.
838 2003-10-30  José Matos  <jamatos@lyx.org>
839
840         * buffer.C (makeLinuxDocFile, makeDocBookFile):
841         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
842         factorise code for paragraph output.
843         * buffer.[Ch]:
844         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
845         move functions.
846
847 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
848
849         * text3.C (dispatch):
850         * lyxfunc.C (dispatch):
851         * cursor.C (dispatch):
852         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
853
854         * dispatchresult.h: make the dispatch_result_t ctor explicit
855
856 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
857
858         * sgml.[Ch]:
859         * buffer.C: small refactoring of docbook stuff
860
861 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
862
863         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
864         meaning.
865
866 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
867
868         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
869         operator dispatch_result_t, and operators for == != and >=
870
871         * cursor.C (dispatch): adjust for operator dispatch_result_t
872         removal. comment out call to update
873
874         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
875
876 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
877
878         * text3.C:
879         * text2.C:
880         * text.C:
881         * lyxtext.h:
882         * lyxfunc.C:
883         * cursor.C:
884         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
885         (dispatch):
886
887         * dispatchresult.h: new file, DispatchResult broken out of
888         insets/insetbase.h
889
890         * Makefile.am (lyx_SOURCES): add dispatchresult.h
891
892 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
893
894         * text.C (rowBreakPoint): put a hack inside #if 0
895
896 2003-10-28  André Pönitz  <poenitz@gmx.net>
897
898         * lyxtext.h:
899         * metricsinfo.C:
900         * paragraph_funcs.C:
901         * rowpainter.C:
902         * text.C:
903         * text2.C: general cleanup (lots of small stuff)
904
905 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
906
907         * text2.C (cursorEnd): simple fix to the "end key goes to one
908         before the end on last row" bug
909
910 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
911
912         * text.C (backspace): fix the "zombie characters"
913
914 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
915
916         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
917
918 2003-10-27  André Pönitz  <poenitz@gmx.net>
919
920         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
921
922         * factory.C: handle new InsetPagebreak, InsetLine
923
924         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
925         and move handling into new InsetPagebreak, InsetLine
926
927         * BufferView_pimpl.C:
928         * LyXAction.C:
929         * ParagraphParameters.C:
930         * ParameterStruct.h:
931         * lyxfunc.C:
932         * lyxtext.h:
933         * paragraph.C:
934         * paragraph.h:
935         * paragraph_funcs.C:
936         * paragraph_pimpl.C:
937         * rowpainter.C:
938         * text.C:
939         * text2.C:
940         * text3.C: adjust
941
942 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
943
944         * text.C:
945         * lyxrow_funcs.[Ch]:
946         * Bidi.C:
947         * paragraph.C:
948         * lyxtext.h:
949         * rowpainter.C:
950         * text2.C:
951         * text3.C: remove lastPos uses in favour of Row::endpos
952
953 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
954
955         * undo.C (performUndoOrRedo): fix two crashes by setting a
956         cursor by hand and reordering some calls. Use bv->lockInset instead
957         of inset->edit because the latter loses cursor information
958
959 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
960
961         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
962         by Martin
963         (rowBreakPoint): fix width. change point to point + 1.
964         Add a missing check.
965
966 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
967
968         * MenuBackend.C:
969         * lyxfunc.C: fix (at least partly) the problems
970         with the Nav menu and headers inside branch insets
971         reported by Kayvan
972
973 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
974
975         * paragraph.C (getChar): add strong asserts
976
977         * lyxrow_funcs.C (lastPos): remove hideous hack
978
979         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
980         (fill): adjust to that (avoid an infinite loop)
981
982 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
983
984         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
985
986 2003-10-23  André Pönitz  <poenitz@gmx.net>
987
988         * RowList_fwd.h: change list<> to vector<> to gain speed
989         after suggestion from Alfredo
990
991 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
992
993         * lyxtext.h: move the bidi stuff from here...
994         * text.C: and here
995         * text2.C: and here
996         * Bidi.[Ch]: ... to here
997
998 2003-10-23  André Pönitz  <poenitz@gmx.net>
999
1000         * lyxtext.h:
1001         * text.C (isLastRow, isFirstRow): new functions
1002
1003         * paragraph.h: new width cache member
1004
1005         * rowpainter.C: replace RowList::iterator with Row & where possible
1006
1007         * lyxfunc.C: replace several view()->text with a single call
1008
1009         * toc.C: fix 'unused' warning
1010
1011 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1012
1013         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1014         when woring with stream::pos_type
1015         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1016
1017 2003-10-22  André Pönitz  <poenitz@gmx.net>
1018
1019         * lyxtext.h:
1020         * text.C: use Row & instead of RowList::iterator
1021
1022         * lyxrow.h: rename end() to endpos()
1023
1024         * rowpainter.C:
1025         * text.C:
1026         * text2.C: adjust
1027
1028 2003-10-22  Angus Leeming  <leeming@lyx.org>
1029
1030         * buffer.[Ch] (fully_loaded): new member function, returning true
1031         only when the file has been loaded fully.
1032         Used to prevent the premature generation of previews and by the
1033         citation inset to prevent computation of the natbib-style label.
1034
1035         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1036         templates are all set up.
1037
1038         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1039
1040 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1041
1042         * text.C: fixed an "oops" in the "is a bit silly"
1043         bug fix
1044
1045 2003-10-21  André Pönitz  <poenitz@gmx.net>
1046
1047         * FuncStatus.[Ch]: small stuff, whitespace
1048
1049         * lyxfont.[Ch]: operator<<() for debug reasons
1050
1051         * lyxfunc.C:
1052         * lyxrow_funcs.C:
1053         * lyxtext.h: whitespace, spelling
1054
1055         * paragraph.C: naming of variables
1056
1057         * text.C:
1058         * text2.C: small stuff
1059
1060
1061 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * text.C: (1) finish off the inset display() work;
1064         (2) fix the "is a bit silly" bug (accessing char
1065         past end of par).
1066
1067 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1068
1069         * text.C: re-introduce display() for insets, fixing the
1070         various bugs (stretch of line above, math inset
1071         positioning, ...)
1072
1073 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * text.C (rightMargin): remove spurious semicolon
1076
1077         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1078         1415)
1079
1080 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1081
1082         * text3.C: fix one crash due to wrong cursor def
1083
1084 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1085
1086         * vc-backend.C (scanMaster): make the regex static
1087
1088         * LaTeX.C (scanAuxFile): make the regexs static
1089
1090         * text3.C (doInsertInset, dispatch, dispatch):
1091         * text2.C (cursorUp, cursorDown):
1092         * text.C (selectNextWordToSpellcheck):
1093         * BufferView_pimpl.C (dispatch):
1094         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1095
1096 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * lyxsocket.C: include <cerrno>
1099
1100 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1101
1102         * lyxfunc.C (dispatch): remove textcache stuff
1103
1104         * bufferlist.C (release): remove textcache stuff
1105         (closeAll): ditto
1106
1107         * TextCache.C: delete file
1108         * TextCache.h: delete file
1109
1110         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1111
1112         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1113         delete of the bv_->text.
1114         (resizeCurrentBuffer): remove texcache stuff
1115         (workAreaResize): ditto
1116
1117 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1120         action.
1121
1122 2003-10-16  André Pönitz  <poenitz@gmx.net>
1123
1124         * lyxrow.[Ch]:
1125         * paragraph.h:
1126         * rowpainter.C:
1127         * text.C:
1128         * text2.C:
1129         * text3.C: speed up by storing y positions per paragraph plus per-row
1130         offset instead of having a 'full' y position in the row.
1131
1132 2003-10-15  André Pönitz  <poenitz@gmx.net>
1133
1134         * iterators.[Ch]:
1135         * iterators.[Ch]:
1136         * undo.[Ch]: make undo aware of inner insets
1137
1138 2003-10-14  Angus Leeming  <leeming@lyx.org>
1139
1140         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1141         static member functions LyX::ref() and LyX::cref.
1142         (lastfiles): new accessor functions for the new lastfiles_ member var.
1143         (addLyXView, views_): add a new LyXView to the list of views_.
1144         (updateInset): loop over all LyXViews to call their own updateInset
1145         member function, returning a pointer to the Buffer owning the inset.
1146
1147         * BufferView_pimpl.C (loadLyXFile):
1148         * MenuBackend.C (expandLastfiles):
1149         * bufferlist.C (MenuWrite, QuitLyX):
1150         lastfiles is no longer a global variable.
1151         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1152
1153         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1154         static function. Access through LyX::cref().emergencyCleanup().
1155
1156 2003-10-14  André Pönitz  <poenitz@gmx.net>
1157
1158         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1159
1160         * undo.[Ch]: restoring part of 'undo in insets'
1161
1162         * Makefile.am:
1163         * undo_funcs.[Ch]: merge with undo.[Ch]
1164
1165         * tabular.C: small cleansing stuff
1166
1167 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1168
1169         * paragraph_funcs.C (readParToken): report unknown insets as error
1170         boxes. Use the outer paragraph as location (also for unknown
1171         tokens).
1172
1173         * factory.C (readInset): do not abort on reading an unknown inset.
1174         Eat it and return 0.
1175
1176 2003-10-13  Angus Leeming  <leeming@lyx.org>
1177
1178         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1179
1180         * lyxrc.C: displayTranslator is now a function,
1181         declared in GraphicsTypes.h.
1182
1183 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1184
1185         * format.C: new placeholder $$a to pass the socket address.
1186
1187         * bufferlist.[Ch]: new function getBufferFromTmp.
1188
1189         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1190           files in the temporary dir.
1191
1192 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1193
1194         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1195
1196         * Makefile.am: add lyxsocket.[Ch].
1197
1198         * lyx_main.C (error_handler): handle SIGPIPE.
1199
1200 2003-10-13  André Pönitz  <poenitz@gmx.net>
1201
1202         * BufferView_pimpl.C:
1203         * lyxtext.h:
1204         * text.C:
1205         * text2.C:
1206         * text3.C:
1207         * undo_funcs.[Ch]: use paroffset_type instead of
1208           ParagraphList::iterators to prevent multiple conversion
1209           (and get a more robust interface)
1210
1211 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1212
1213         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1214         * lyxtext.h: ditto
1215         * text3.C (dispatch): ditto
1216
1217 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1220         move the onlyfile, use onlyfile instead of foundfile in a couple
1221         of places.
1222
1223         * DepTable.C (update): flush the error stream a bit more
1224
1225 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1226
1227         * lyxserver.C (callback): adjust
1228
1229         * lyxfunc.C (getStatus): add a missing brace in commented code
1230         (ensureBufferClean): reindent
1231         (dispatch): delete version taking a string
1232
1233 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1234
1235         * LaTeX.C (deplog): move found file handlig from here...
1236         (handleFoundFile): .. to new function here.
1237         (deplog): make sure to discover several files mentioned on the
1238         same log line.
1239
1240 2003-10-10  André Pönitz  <poenitz@gmx.net>
1241
1242         * lyxfunc.C:
1243         * lyxtext.h:
1244         * tabular.C:
1245         * text.C:
1246         * text2.C:
1247         * text3.C: fix some of the tabular crashes
1248
1249 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1250
1251         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1252
1253         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1254
1255 2003-10-09  André Pönitz  <poenitz@gmx.net>
1256
1257         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1258
1259         * BufferView.C:
1260         * BufferView_pimpl.C:
1261         * bufferview_funcs.C:
1262         * lyx_cb.C:
1263         * lyxcursor.C:
1264         * lyxfind.C:
1265         * lyxfunc.C:
1266         * lyxtext.h:
1267         * text.C:
1268         * text2.C:
1269         * text3.C:
1270         * text_funcs.[Ch]:
1271         * textcursor.[Ch]:
1272         * undo_funcs.C: adjust
1273
1274 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1275
1276         * text2.C (incrementItemDepth): new function, use a backtracking
1277         algorithm to discover the correct item depth.
1278         (resetEnumCounterIfNeeded): new function, use a backtracking
1279         algorithm to discover if counter reset is needed.
1280         (setCounter): use them. Simplify a bit. Add different labels for
1281         different item depths for itemize.
1282
1283         * paragraph.C (Paragraph): remove initialization of enumdepth
1284         (operator=): ditto
1285
1286         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1287         enumerate and itemize. Change the type of itemdepth to signed char.
1288
1289 2003-10-08  André Pönitz  <poenitz@gmx.net>
1290
1291         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1292           thing assignable.
1293         * text.C:
1294         * text2.C: adjust
1295
1296         * tabular.[Ch]: fix crash after 'row-insert'
1297
1298 2003-10-08  Angus Leeming  <leeming@lyx.org>
1299
1300         Fix doxygen warnings.
1301
1302         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1303         Remove CutAndPaste:: prefix from header file declaration.
1304
1305         * LColor.h (fill): remove LColor:: prefix from declaration.
1306
1307         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1308         use lyx::depth_type rather than Paragraph::depth_type so that
1309         header file and .C file match.
1310
1311         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1312
1313         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1314         * aspell.C: \file aspell_local.C -> \file aspell.C
1315         * gettext.C: \file gettext.C -> \file src/gettext.C
1316         * gettext.h: \file gettext.h -> \file src/gettext.h
1317         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1318         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1319         * text.C: \file text.C -> \file src/text.C
1320
1321         * toc.C: move comment so that doxygen is not confused.
1322
1323 2003-10-07  Angus Leeming  <leeming@lyx.org>
1324
1325         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1326
1327 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1328
1329         * aspell.C:
1330         * aspell_local.h: add forgotten std::string's.
1331
1332 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1333
1334         * LaTeXFeatures.C:
1335         * LyXAction.C:
1336         * factory.C:
1337         * lfuns.h:
1338         * lyxfunc.C:
1339         * text3.C: The Box patch. Fancybox support, minipage, parbox
1340
1341 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1342
1343         * CutAndPaste.h:
1344         * DepTable.h:
1345         * FloatList.h:
1346         * LaTeXFeatures.h:
1347         * ParagraphParameters.h:
1348         * TextCache.h:
1349         * Thesaurus.h:
1350         * bufferlist.h:
1351         * exporter.h:
1352         * importer.h:
1353         * lastfiles.h:
1354         * lyxfind.h:
1355         * lyxfont.h:
1356         * lyxlex.h:
1357         * lyxtextclasslist.h:
1358         * messages.h:
1359         * paragraph.h:
1360         * paragraph_pimpl.C:
1361         * textcursor.h: add <string> and other small fixes to make Lars'
1362         std::string patch compile with STLport.
1363
1364 2003-10-06  Angus Leeming  <leeming@lyx.org>
1365
1366         * LColor.h: Add missing #include <string>.
1367
1368 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * All most all file in all subdirs: Make <string> be the prefered
1371         way of getting to std::string, add using declarations.
1372
1373 2003-10-06  André Pönitz  <poenitz@gmx.net>
1374
1375         * metricsinfo.C: initialize LyXFont before changing attribute.
1376         (fixes the 'math in \emph is upright' bug)
1377
1378 2003-10-06  André Pönitz  <poenitz@gmx.net>
1379
1380         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1381
1382 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1383
1384         * graph.C:
1385         * paragraph_pimpl.C: Small fixes to build using STLport
1386
1387 2003-10-02  André Pönitz  <poenitz@gmx.net>
1388
1389         * lyxfunc.C:
1390         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1391
1392 2003-10-01  André Pönitz  <poenitz@gmx.net>
1393
1394         * factory.C: assert early
1395
1396 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1397
1398         * lyx_main.C: remove the global debug object
1399
1400         * debug.h: adjust for new debugstream
1401
1402         * debug.C: adjust for new debugstream and keep the global debug
1403         object here.
1404
1405 2003-09-22  Angus Leeming  <leeming@lyx.org>
1406
1407         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1408         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1409         an incomplete class LyXFont.
1410
1411 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1412
1413         * factory.C: bug fix in branches
1414
1415 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * lyxfunc.C (processKeySym): adjust
1418         (dispatch): adjust
1419         (dispatch): change arg name from ev to func, adjust
1420         (sendDispatchMessage): ditto
1421
1422         * lyx_main.C (defaultKeyBindings): adjust keybindings
1423         (deadKeyBindings): ditto
1424
1425         * kbsequence.C (addkey): return a FuncRequest
1426
1427         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1428
1429         * kbmap.C (bind): take a FuncRequest as arg, adjust
1430         (read): adjust
1431         (lookup): adjust
1432         (defkey): change to take a FuncRequest as arg, adjust
1433         (findbinding): take a FuncRequest as arg, adjust.
1434
1435         * funcrequest.h (operator=): added
1436
1437         * funcrequest.C (FuncRequest): default kb_action changed from
1438         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1439
1440         * buffer.C (dispatch): simplify
1441         (dispatch): adjust to take a FuncRequest as arg, adjust
1442
1443         * boost.C (assertion_failed): change assertion message slightly
1444
1445         * ToolbarBackend.C (read): simplify
1446
1447         * MenuBackend.C (binding): adjust call to findbinding, add a
1448         message if no binding is found.
1449         (read): simplify
1450         (expandToc): correct by adding a empty FuncRequest
1451
1452         * LyXAction.C: include <boost/assert.hpp>
1453         (isPseudoAction): delete function
1454         (LookupFunc): change name to...
1455         (lookupFunc): this. change return type to FuncRequest.
1456         (getActionName): take kb_action as arg, simplify
1457         (funcHasFlag): add an assert, simplify.
1458
1459 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1460
1461         * toc.C (action): return a FuncRequest, simplify
1462
1463         * lyxfunc.C (processKeySym): adjust
1464         (getStatus): delete version that takes an int.
1465         (getStatus): adjust
1466         (dispatch): delete version that takes action as int
1467         (dispatch): adjust
1468         (sendDispatchMessage): simplify and adjust
1469
1470         * funcrequest.C (getArg): take unsigned int as arg
1471
1472         * ToolbarBackend.C (read): adjust
1473         (add): delete version that takes func as a string.
1474         (getIton): take a FuncRequest as arg
1475
1476         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1477         action.
1478
1479         * MenuBackend.C (MenuItem): add a new construct that only takes a
1480         Kind, simplify the constructor use for submenus.
1481         (add): adjust
1482         (expandLastfiles): adjust
1483         (expandDocuments): adjust
1484         (expandFormats): adjust
1485         (expandFloatListInsert): adjust
1486         (expandFloatInsert): adjust
1487         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1488
1489         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1490         Remove class variables lyx_pseudo_map and lyx_arg_map
1491
1492         * LyXAction.C (searchActionArg): delete function
1493         (getPseudoAction): delete function
1494         (retrieveActionArg): delete function
1495         (LookupFunc): make it return kb_action, simplify.
1496         (getActionName): simplify
1497
1498         * factory.C (createInset): fix new bug
1499
1500 2003-09-19  Angus Leeming  <leeming@lyx.org>
1501
1502         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1503         masterFilename_ parameter in the include inset.
1504
1505         * factory.C (createInset): changes due to the changes to InsetInclude.
1506
1507 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1508
1509         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1510
1511 2003-09-18  Angus Leeming  <leeming@lyx.org>
1512
1513         * buffer.C:
1514         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1515         Inset::fillWithBibKeys.
1516         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1517
1518 2003-09-18  Angus Leeming  <leeming@lyx.org>
1519
1520         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1521         variables.
1522         (ctor): pass and store a 'Buffer const &'
1523         (buffer): new member function.
1524
1525         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1526         '*this' to the LaTeXFeatures ctor.
1527
1528 2003-09-18  Angus Leeming  <leeming@lyx.org>
1529
1530         * LColor.h:
1531         * lyxfont.C:
1532         * lyxfont.h:
1533         * lyxtext.h:
1534         * text.C: rename EnumLColor as LColor_color.
1535
1536 2003-09-18  Angus Leeming  <leeming@lyx.org>
1537
1538         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1539         remove #include "insets/insetbase.h" from cursor.h.
1540
1541 2003-09-18  Angus Leeming  <leeming@lyx.org>
1542
1543         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1544         InsetOld_code to remove #include "inset.h".
1545
1546         * iterators.C: add #include "insets/inset.h"
1547
1548 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1549
1550         * BufferView.C: remove more locking stuff that apparently doesn't
1551         do anything sensible.
1552
1553 2003-09-16  André Pönitz  <poenitz@gmx.net>
1554
1555         * paragraph.[Ch]:
1556         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1557           performance boost.
1558
1559 2003-09-16  Angus Leeming  <leeming@lyx.org>
1560
1561         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1562
1563         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1564         arg/return type.
1565
1566         * paragraph.h: remove #include "lyxfont.h". Forward declare
1567         LyXFont_size.
1568
1569 2003-09-16  Angus Leeming  <leeming@lyx.org>
1570
1571         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1572         of support/textutils.h.
1573         (isWord): move the contents of support/textutils.h's IsWordChar here.
1574
1575         * buffer.C:
1576         * lyxfind.C:
1577         * rowpainter.C:
1578         * text.C:
1579         * text2.C: add #include "paragraph.h".
1580
1581         * rowpainter.C:
1582         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1583
1584 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1585
1586         * main.C:
1587         * lyx_main.C:
1588         * lyx_cb.C:
1589         * buffer.C:
1590         * LaTeX.C: use namespace alias for lyx::support::os
1591
1592 2003-09-16  Angus Leeming  <leeming@lyx.org>
1593
1594         * bufferparams.C:
1595         * bufferview_funcs.C:
1596         * factory.C:
1597         * lyxfunc.C:
1598         * paragraph_pimpl.C:
1599         * rowpainter.C:
1600         * text.C: add #include "LColor.h".
1601
1602 2003-09-16  Angus Leeming  <leeming@lyx.org>
1603
1604         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1605         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1606         return LyXFont &.
1607         Store the FontBits::color variable as an int rather than as an
1608         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1609         file.
1610
1611         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1612         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1613         string calls together.
1614
1615         * lyxrc.C: add #include "LColor.h".
1616
1617 2003-09-15  Angus Leeming  <leeming@lyx.org>
1618
1619         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1620         a cow_ptr.
1621
1622 2003-09-15  Angus Leeming  <leeming@lyx.org>
1623
1624         * LColor.h: add an EnumLColor wrapper for LColor::color.
1625
1626         * lyxfont.[Ch] (color, setColor, realColor):
1627         * lyxtext.h, text.C (backgroundColor):
1628         pass EnumLColor args to/from the functions, rather than LColor::color
1629         ones.
1630
1631         * lyxfont.h:
1632         * lyxtext.h: forward declare EnumLColor.
1633
1634         * lyx_main.C: add #include "LColor.h".
1635
1636 2003-09-15  Angus Leeming  <leeming@lyx.org>
1637
1638         * .cvsignore: add lyx-gtk.
1639
1640 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * Chktex.C
1643         * LaTeX.C
1644         * LaTeXFeatures.C
1645         * ParagraphParameters.C
1646         * Spacing.C
1647         * buffer.C
1648         * bufferparams.C
1649         * bufferview_funcs.C
1650         * chset.C
1651         * counters.C
1652         * funcrequest.C
1653         * lyxfont.C
1654         * lyxgluelength.C
1655         * lyxlength.C
1656         * paragraph.C
1657         * paragraph_funcs.C
1658         * text3.C
1659         * vc-backend.C: remove usage of STRCONV
1660
1661 2003-09-15  Angus Leeming  <leeming@lyx.org>
1662
1663         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1664         explicitly define the color passed to the painter.
1665
1666 2003-09-15  Angus Leeming  <leeming@lyx.org>
1667
1668         * bufferparams.C (BufferParams): reorder member initializers to avoid
1669         compiler warning.
1670
1671 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1672
1673         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1674         * text.C (updateRowPositions): remove an unusual nop
1675
1676 2003-09-12  André Pönitz  <poenitz@gmx.net>
1677
1678         * BufferView_pimpl.C:
1679         * Bullet.C:
1680         * layout.h:
1681         * lyxfunc.C:
1682         * lyxlayout.[Ch]:
1683         * lyxtextclass.C:
1684         * rowpainter.C:
1685         * text.C:
1686         * text2.C:
1687         * Counters.[Ch]: finish the 'automatic counters' job
1688
1689 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1690
1691         * aspell.C: include <boost/assert.cpp> (compile fix)
1692
1693 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1694
1695         * boost.C (assertion_failed): use lyx::support::abort instead of
1696         assert.
1697
1698 2003-09-10  Angus Leeming  <leeming@lyx.org>
1699
1700         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1701         with their _fwd progeny.
1702
1703 2003-09-09  Angus Leeming  <leeming@lyx.org>
1704
1705         134 files throughtout the source tree: replace 'using namespace abc;'
1706         directives with the appropriate 'using abc::xyz;' declarations.
1707
1708 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1709
1710         * boost.C (emergencyCleanup): moved here from LAssert.c
1711         (assertion_failed): new function, called by BOOST_ASSERT
1712
1713         * several files: change Assert to BOOST_ASSERT
1714
1715 2003-09-09  Angus Leeming  <leeming@lyx.org>
1716
1717         * buffer.[Ch]: Add an Impl class and move Buffer's member
1718         variables into it. As a result move several header files out of
1719         buffer.h.
1720
1721         Add header files to lots of .C files all over the tree as a result.
1722
1723 2003-09-09  Angus Leeming  <leeming@lyx.org>
1724
1725         * buffer.[Ch]: make Buffer's member variables private. Add
1726         accessor functions.
1727
1728         Lots of changes all over the tree as a result.
1729
1730 2003-09-08  Angus Leeming  <leeming@lyx.org>
1731
1732         * graph.C: #include <config.h>.
1733
1734 2003-09-08  Angus Leeming  <leeming@lyx.org>
1735
1736         * BranchList.C:
1737         * BufferView.C:
1738         * BufferView_pimpl.C:
1739         * CutAndPaste.C:
1740         * DepTable.C:
1741         * LaTeX.C:
1742         * LaTeXFeatures.C:
1743         * LyXAction.C:
1744         * MenuBackend.C:
1745         * TextCache.C:
1746         * aspell.C:
1747         * buffer.C:
1748         * bufferlist.C:
1749         * changes.C:
1750         * chset.C:
1751         * converter.C:
1752         * counters.C:
1753         * debug.C:
1754         * graph.C:
1755         * ispell.C:
1756         * lyx_cb.C:
1757         * lyxfind.C:
1758         * lyxfunc.C:
1759         * lyxlex_pimpl.C:
1760         * lyxrc.C:
1761         * lyxrow.C:
1762         * paragraph.C:
1763         * rowpainter.C:
1764         * texrow.C:
1765         * text.C:
1766         * text2.C:
1767         * toc.C: remove redundant using directives.
1768
1769 2003-09-07  Angus Leeming  <leeming@lyx.org>
1770
1771         * LaTeXFeatures.h: remove #include "support/types.h".
1772         * ToolbarBackend.h: remove #include <algorithm>.
1773         * changes.h: remove #include <ctime>.
1774         * debug.h: remove #include <iosfwd>.
1775         * graph.h: remove #include "support/std_string.h".
1776         * lyx_main.h: remove #include <csignal>.
1777         * lyxlex_pimpl.h: remove #include <fstream>.
1778         * sgml.h: remove #include <algorithm>, <utility>.
1779         * toc.h: remove #include "support/std_ostream.h".
1780         Add #include <iosfwd>.
1781
1782 2003-09-07  Angus Leeming  <leeming@lyx.org>
1783
1784         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1785
1786         * converter.h: forward declare LatexRunParams.
1787         * encoding.h: remove #include "lyxrc.h".
1788         * lyxtext.h: remove #include "LColor.h".
1789         * lyxtextclass.h: remove #include "support/types.h".
1790         * trans.h: remove #include "tex-accent.h".
1791         * trans_mgr.h: remove #include "tex-accent.h".
1792         * insets/inset.h: remove #include "support/types.h", <vector>.
1793         * insets/insetcollapsable.h: remove #include "LColor.h".
1794         * insets/insetinclude.h: remove #include "dimension.h".
1795         * insets/insetlatexaccent.h: remove #include "dimension.h".
1796         * insets/insetoptarg.h:: remove #include "insettext.h".
1797         * insets/insettext.h: remove #include "dimension.h",
1798         <boost/shared_ptr.hpp>
1799
1800         * insets/renderers.h: add #include "dimension.h".
1801         * insets/updatableinset.h: add #include "support/types.h".
1802
1803         * many .C files: Associated changes.
1804
1805 2003-09-06  Angus Leeming  <leeming@lyx.org>
1806
1807         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1808         one, inside testInvariant.
1809
1810         * PrinterParams.C: new file.
1811         * PrinterParams.[Ch]: move the function bodies out of line.
1812
1813 2003-09-06  Angus Leeming  <leeming@lyx.org>
1814
1815         * ParagraphParameters.h: forward declare ParameterStruct rather than
1816         including its header file.
1817         (depth): moved out-of-line.
1818
1819 2003-09-06  Angus Leeming  <leeming@lyx.org>
1820
1821         * BufferView_pimpl.h:
1822         * kbmap.h:
1823         * kbsequence.h:
1824         * lyxfunc.h: forward declare LyXKeySym rather than
1825         #include "frontends/LyXKeySym.h".
1826
1827         * BufferView_pimpl.C:
1828         * kbmap.C:
1829         * kbsequence.C:
1830         * lyxfunc.C: associated changes.
1831
1832 2003-09-06  Angus Leeming  <leeming@lyx.org>
1833
1834         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1835         As a result, can remove the #include "insets/inset.h" from BufferView.h
1836
1837 2003-09-06  Angus Leeming  <leeming@lyx.org>
1838
1839         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1840         As a result, can remove the #include "insets/inset.h" from BufferView.h
1841
1842 2003-09-06  Angus Leeming  <leeming@lyx.org>
1843
1844         * buffer_funcs.C:
1845         * buffer.h:
1846         * bufferlist.C:
1847         * BufferView.C:
1848         * bufferview_funcs.C:
1849         * BufferView_pimpl.C:
1850         * CutAndPaste.C:
1851         * lyx_cb.C:
1852         * lyxfunc.C:
1853         * paragraph.h:
1854         * ParagraphParameters.C:
1855         * tabular.C:
1856         * text3.C:
1857         * toc.C:
1858         * undo_funcs.C:
1859         * frontends/controllers/ControlDocument.C:
1860         * insets/insetcaption.C: rearrange the #includes into some sort of
1861         coherent order.
1862
1863         * buffer.h: remove #includes ErrorList.h, undo.h
1864
1865 2003-09-06  Angus Leeming  <leeming@lyx.org>
1866
1867         * support/types.h: add a 'depth_type' typedef, used to store the
1868         nesting depth of a paragraph.
1869
1870         * paragraph.h:
1871         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1872         defining explicitly.
1873
1874         * buffer.h:
1875         * paragraph_funcs.h:
1876         * ParagraphParameters.h:
1877         * sgml.h: use lyx::depth_type rather than Paragraph or
1878         ParameterStruct's depth_type.
1879
1880         * buffer.h
1881         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1882
1883         * BufferView.C:
1884         * BufferView_pimpl.C:
1885         * CutAndPaste.C:
1886         * ParagraphParameters.C:
1887         * buffer_funcs.C:
1888         * bufferlist.C:
1889         * bufferview_funcs.C:
1890         * lyx_cb.C:
1891         * lyxfunc.C:
1892         * tabular.C:
1893         * text3.C:
1894         * toc.C:
1895         * undo_funcs.C:
1896         * frontends/LyXView.C:
1897         * frontends/controllers/ControlDocument.C:
1898         * frontends/controllers/ControlErrorList.C:
1899         * insets/insetbibitem.C:
1900         * insets/insetbranch.C:
1901         * insets/insetcaption.C:
1902         * insets/insetcollapsable.C:
1903         * insets/insetenv.C:
1904         * insets/insetert.C:
1905         * insets/insetfloat.C:
1906         * insets/insetfoot.C:
1907         * insets/insetfootlike.C:
1908         * insets/insetnewline.C:
1909         * insets/insetquotes.C:
1910         * insets/insettabular.C:
1911         * insets/insettext.C:
1912         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1913
1914         * frontends/controllers/ControlChanges.C: #include "changes.h".
1915
1916 2003-09-06  Angus Leeming  <leeming@lyx.org>
1917
1918         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1919         than #including paragraph.h.
1920
1921         * ParagraphList.h:
1922         * RowList.h: deleted. Superfluous.
1923
1924         * CutAndPaste.h:
1925         * iterators.h:
1926         * lyxcursor.h:
1927         * lyxtext.h:
1928         * text_funcs.h:
1929         * undo.h:
1930         * undo_funcs.h:
1931         * insets/inset.h:
1932         * insets/insettext.h: use ParagraphList_fwd.h rather than
1933         ParagraphList.h.
1934
1935         * paragraph.h: don't forward declare ParagraphList.
1936
1937         * buffer.h:
1938         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1939         rather than ParagraphList.h. paragraph.h is still needed for the
1940         Paragraph::depth_type parameters.
1941
1942         * textcursor.h: enable it to compile stand-alone in light of the
1943         above changes.
1944
1945         * bufferview_funcs.C:
1946         * iterators.C:
1947         * lyxfunc.C:
1948         * lyxrow_funcs.C:
1949         * paragraph.C:
1950         * rowpainter.C:
1951         * text.C:
1952         * text2.C:
1953         * text3.C:
1954         * text_funcs.C:
1955         * textcursor.C:
1956         * undo.C:
1957         * frontends/controllers/ControlParagraph.C:
1958         * frontends/controllers/ControlTabular.C:
1959         * insets/insetmarginal.C:
1960         * insets/insetminipage.C:
1961         * insets/insetnote.C:
1962         * insets/insetoptarg.C: add header files needed to compile again.
1963
1964 2003-09-06  Angus Leeming  <leeming@lyx.org>
1965
1966         * RowList_fwd.h: new file, forward-declaring Row rather than
1967         #including lyxrow.h.
1968
1969         * lyxrow_funcs.h:
1970         * lyxtext.h:
1971         * paragraph.h:
1972         * insets/insettext.h: use it instead of RowList.h
1973
1974         * bufferview_funcs.C:
1975         * lyxfunc.C:
1976         * lyxrow_funcs.C:
1977         * paragraph.C:
1978         * rowpainter.C:
1979         * text.C:
1980         * text2.C:
1981         * text3.C: #include "RowList.h".
1982
1983 2003-09-05  Angus Leeming  <leeming@lyx.org>
1984
1985         * factory.C (createInset):
1986         * vspace.C (c-tor): replace sscanf call with an istringstream.
1987         * ispell.C: re-add missing HP/UX headers.
1988         * lyxserver.C: re-add missing  os2 headers.
1989
1990 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1991
1992         * BranchList.C:
1993         * graph.C:
1994         * ispell.C:
1995         * lastfiles.C:
1996         * lyx_cb.C:
1997         * lyxserver.C:
1998         * texrow.C:
1999         * text3.C: re-add missing system headers, needed for 2.95.2.
2000
2001 2003-09-05  Angus Leeming  <leeming@lyx.org>
2002
2003         Changes most place everywhere due to the removal of using directives
2004         from support/std_sstream.h.
2005
2006 2003-09-05  Angus Leeming  <leeming@lyx.org>
2007
2008         Replace LString.h with support/std_string.h,
2009         Lsstream.h with support/std_sstream.h,
2010         support/LIstream.h with support/std_istream.h,
2011         support/LOstream.h with support/std_ostream.h.
2012
2013         Changes resulting throughout the tree.
2014
2015 2003-09-05  Angus Leeming  <leeming@lyx.org>
2016
2017         * sgml.h: ensure that the header file can be compiled stand-alone.
2018         * *.C: strip out redundant #includes. (320 in total.)
2019
2020 2003-09-04  Angus Leeming  <leeming@lyx.org>
2021
2022         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2023         here (from getPackages).
2024
2025         * debug.[Ch]: add a new EXTERNAL tag.
2026
2027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2028
2029         * text2.C (cursorEnd): simplify
2030         (setCursor): adjust
2031         (getColumnNearX): adjust
2032
2033         * text.C (computeBidiTables): adjust
2034         (fill): adjust
2035
2036         * rowpainter.C (paintChars): adjust
2037         (paintSelection): adjust
2038         (paintChangeBar): adjust
2039         (paintText): adjust
2040
2041         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2042         lastPos instead.
2043         (numberOfSeparators): adjust
2044
2045 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * LyXAction.C:
2048         * box.[Ch]:
2049         * lfuns.h:
2050         * lyxfunc.C:
2051         * text3.C: Restricts the mouse click functionality
2052         of insets like bibtex, include, toc and floatlist to the visible
2053         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2054         up the dialogs. Cursor has to be in front of the inset (i.e.
2055         start of row) for this to function.
2056
2057 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2058
2059         * bufferview_funcs.C (currentState): output row information
2060
2061 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2062
2063         * bufferview_funcs.C (currentState): output paragraph position
2064
2065 2003-09-04  Angus Leeming  <leeming@lyx.org>
2066
2067         * FloatList.h: move out #include "Floating.h".
2068         * LaTeX.h: move out #include "DepTable.h".
2069         * LyXAction.h: move out #include "funcrequest.h".
2070         * buffer.h: move out #include "author.h", "iterators.h".
2071         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2072         * lyx_main.h: move out #include "errorlist.h".
2073         * lyxfunc.h: move out #include "FuncStatus.h".
2074         * lyxtext: move out #include "lyxcursor.h".
2075         * paragraph_pimpl.h: move out #include "counters.h".
2076
2077 2003-09-03  Angus Leeming  <leeming@lyx.org>
2078
2079         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2080         preamble_snippets list, enabling us to add snippets to the preamble
2081         only if the snippet was not there already.
2082
2083 2003-09-04  Angus Leeming  <leeming@lyx.org>
2084
2085         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2086
2087 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2090         update
2091
2092 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2093
2094         * BranchList.C: point fix, earlier forgotten
2095
2096 2003-09-02  Angus Leeming  <leeming@lyx.org>
2097
2098         * box.C (contains): renamed from 'contained' after a fantastic
2099         amount of hot air.
2100
2101 2003-09-02  John Levon  <levon@movementarian.org>
2102
2103         * BufferView.C:
2104         * lyxcursor.h:
2105         * lyxcursor.C:
2106         * lyxfunc.C:
2107         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2108
2109 2003-09-02  John Levon  <levon@movementarian.org>
2110
2111         * text2.C: simplification of cursorEnd(), including partial
2112         fix for bug 1376
2113
2114 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2115
2116         * buffer.C (readFile): add a space
2117
2118 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2119
2120         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2121
2122 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * buffer.C (readFile): new function, take a filename and a
2125         ParagraphList::iterator
2126         (readFile): adjust
2127         (readFile): adjust, make it private. don't use setStream, make
2128         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2129         always contain the filename.
2130
2131         * BufferView.C (insertLyXFile): simplify and make it work for
2132         gzipped files.
2133
2134 2003-08-30  John Levon  <levon@movementarian.org>
2135
2136         * Makefile.am: fix dist (from Kayvan)
2137
2138 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * most files: change to use const Buffer refs
2141
2142 2003-08-27  André Pönitz  <poenitz@gmx.net>
2143
2144         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2145         on top of ownerPar().
2146
2147 2003-08-27  John Levon  <levon@movementarian.org>
2148
2149         * funcrequest.C: properly initialise POD members
2150
2151 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * lyxtext.h (top_y): move top_y from here
2154         * text.C:
2155         * text2.C:
2156         * text3.C:
2157         * BufferView.[Ch]:
2158         * BufferView_pimpl.[Ch]: to here
2159         * frontends/screen.C:
2160         * insets/insettabular.C:
2161         * insets/insettext.C: adjust
2162         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2163
2164 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2165
2166         * BufferView.[Ch]:
2167         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2168
2169 2003-08-26  André Pönitz  <poenitz@gmx.net>
2170
2171         * paragraph_func.[Ch] (outerPar): new function
2172
2173         * paragraph.C:
2174         * paragraph_funcs.C:
2175         * paragraph_funcs.h:
2176         * paragraph_pimpl.C:
2177         * text2.C: remove Inset::par_owner
2178
2179 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2180
2181         * lyxrow_funcs.C:
2182         * lyxtext.h:
2183         * text.C:
2184         * text2.C: eliminates the needFullRow/display() stuff
2185         altogether, putting the logic in metrics/draw in the insets.
2186
2187 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2188
2189         * text2.C (redoParagraphInternal, redoParagraphs):
2190         * text.C (redoParagraph): add a call to updateRowPositions at the
2191         end of each 'metrics-like' call. Remove all others.
2192         (getRow): remove the 'y-computing' version.
2193         (getRowNearY): do not compute nor return the real y. Solve the
2194         'y < 0' problem and simplify.
2195
2196 2003-08-22  Angus Leeming  <leeming@lyx.org>
2197
2198         * *.[Ch]: clean-up of licence and author blurbs.
2199         Also move config.h out of a few .h files and into a few .C files.
2200
2201 2003-08-22  André Pönitz  <poenitz@gmx.net>
2202
2203         * lyxrow.[Ch]: add x_ and *fill_ members
2204
2205         * lyxtext.h:
2206         * text.C:
2207         * rowpainter.C:
2208         * text2.C: adjust/remove prepareToPrint() calls
2209
2210 2003-08-22  André Pönitz  <poenitz@gmx.net>
2211
2212         * lyxrow.[Ch]: add  end_ member
2213
2214         * lyxrow_funcs.C: use LyXRow::end_
2215
2216         * lyxtext.h (singleWidth): add LyXFont parameter
2217
2218         * rowpainter.C:
2219         * text2.C: adjust LyXText::singleWidth() calls
2220
2221         * text.C (redoParagraph): simplify row breaking logic
2222
2223
2224 2003-08-19  André Pönitz  <poenitz@gmx.net>
2225
2226         * funcrequest.C: initialize button_ member
2227
2228         * text3.C:
2229         * rowpainter.[Ch]: interface consolidation
2230
2231 2003-08-18  André Pönitz  <poenitz@gmx.net>
2232
2233         * BufferView.C:
2234         * BufferView_pimpl.C:
2235         * lyxfind.C:
2236         * paragraph_funcs.C:
2237         * rowpainter.C:
2238         * text3.C: remove LyXScreen::draw() and fitCursor calls
2239
2240         * BranchList.h: remove spurious semicolons
2241
2242         * MenuBackend.C: fix branchlist related crash
2243
2244 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2245
2246         * BranchList.[Ch]:
2247         * InsetList.[Ch]:
2248         * LColor.[Ch]:
2249         * LyXAction.C:
2250         * Makefile.am:
2251         * MenuBackend.[Ch]:
2252         * bufferparams.[Ch]:
2253         * factory.C:
2254         * lfuns.h:
2255         * lyxfunc.C:
2256         * text3.C: implements the 'branch inset'
2257         idea. This allows the output of various versions of a document
2258         from a single source version, selectively outputing or suppressing
2259         output of parts of the text.
2260         This implementation contains a 'branch list editor' in a separate
2261         tab of the document settings dialog. Branches are user definable
2262         and have a "display colour" to distinguish them on-screen.
2263
2264         ColorHandler was somewhat cleaned up.
2265         (1) make possible a dynamically growing LColor list by allowing
2266         the graphic context cache to grow along (vector);
2267         (2) eliminate an IMHO unnecessary step in colour allocation.
2268
2269 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2270
2271         * BufferView_pimpl.C: compile fix
2272
2273 2003-08-15  André Pönitz  <poenitz@gmx.net>
2274
2275         * rowpainter.C: remove extra metrics calls
2276
2277         * lyxtext.h: merge the two constructors into a single one,
2278           pass reference to owner's par list
2279
2280         * BufferView_pimpl.C:
2281         * text.C:
2282         * text2.C: adjust
2283
2284 2003-08-15  André Pönitz  <poenitz@gmx.net>
2285
2286         * lyxrow_funcs.[Ch]:
2287         * lyxtext.h:
2288         * paragraph.h:
2289         * paragraph_funcs.C:
2290         * rowpainter.C:
2291         * text.C:
2292         * text2.C:
2293         * text3.C:
2294         * text_funcs.C: split LyXText::rowlist_ into individual
2295         Paragraph::rows_ chunks
2296
2297         * BufferView.[Ch]:
2298         * BufferView_pimpl.[Ch]:
2299         * lyxfind.C:
2300         * lyxtext.h:
2301         * text3.C: remove toggleSelection()
2302
2303 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2304
2305         * bufferlist.C: beautify two alerts (shorter text of buttons)
2306         * buffer.C: Remove redundant ' ' from message
2307         * tabular.h:
2308         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2309         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2310         rename VALIGN_CENTER to VALIGN_MIDDLE
2311
2312 2003-08-11  André Pönitz  <poenitz@gmx.net>
2313
2314         * lyxtext.h (getPar):
2315         * text.C: new function
2316
2317 2003-08-11  André Pönitz  <poenitz@gmx.net>
2318
2319         * Makefile.am:
2320         * tracer.[Ch]: remove unneeded files
2321
2322         * InsetList.[Ch]: remove resizeInsetsLyXText()
2323
2324         * lyxtext.h:
2325         * text.C:
2326         * text2.C:
2327         * text3.C: merge insertParagraphs() and appendParagraph()
2328         remove breakAgain(), update()
2329
2330         * BufferView_pimpl.[Ch]:
2331         * bufferview_funcs.[Ch]:
2332         * lyxfunc.C:
2333         * paragraph.[Ch]:
2334         * rowpainter.C:
2335         * tabular.C: adjust after text & InsetList changes.
2336
2337 2003-08-08  André Pönitz  <poenitz@gmx.net>
2338
2339         * text.C (insertChar, backspace): replace rowlist fiddling
2340         with rebreak of full par
2341
2342         * lyxtext.h:
2343         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2344         checkParagraph, updateInset): removed
2345
2346 2003-08-07  André Pönitz  <poenitz@gmx.net>
2347
2348         * paragraph.C:
2349         * text3.C: merge some LFUN handlers, remove dead code
2350
2351 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2354
2355 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2356
2357         * text2.C (DEPM): fix part of bug 1255 and 1256
2358
2359 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2360
2361         * BufferView_pimpl.C (workAreaDispatch): change to use
2362         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2363         that are no mouse related.
2364
2365 2003-08-05  André Pönitz  <poenitz@gmx.net>
2366
2367         * BufferView.[Ch]:
2368         * BufferView_pimpl.[Ch]:
2369         * bufferview_funcs.C:
2370         * text2.C:
2371         * text3.C: rip out "deep update"
2372
2373         * textcursor.[Ch] (last_sel_cursor): remove unused member
2374
2375 2003-08-04  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView.[Ch]:
2378         * BufferView_pimpl.[Ch]:
2379         * ParagraphParameters.C:
2380         * bufferview_funcs.C:
2381         * lyx_cb.C:
2382         * lyxfind.C:
2383         * lyxfunc.C:
2384         * text.C:
2385         * text2.C:
2386         * text3.C: replace "complicated" BufferView::update(...) calls with
2387         simpler ones.
2388
2389         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2390
2391 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2392
2393         * Makefile.am (lyx_SOURCES): add paper.h
2394
2395 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2396
2397         * Makefile.am: move things around so that both lyx-qt and
2398         lyx-xforms can be built (according to --with-frontend). Then lyx
2399         is a symbolic link to lyx-[firstfrontend]
2400
2401 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2402
2403         * Always use std::endl with lyxerr
2404
2405 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2406
2407         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2408
2409 2003-08-01  André Pönitz  <poenitz@gmx.net>
2410
2411         * BufferView.[Ch]:
2412         * BufferView_pimpl.[Ch]:
2413         * lyxfunc.C:
2414         * text3.C: merge BufferView::repaint() and BufferView::update()
2415
2416 2003-08-01  José Matos  <jamatos@lyx.org>
2417
2418         * buffer.[Ch]: file_format is no longer a buffer data element.
2419
2420 2003-08-01  André Pönitz  <poenitz@gmx.net>
2421
2422         * BufferView.C:
2423         * lyxtext.h:
2424         * text.C:
2425         * text2.C: make redoParagraph more independent of current cursor
2426
2427         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2428         * text.C:
2429         * text2.C: remove unneeded members
2430
2431 2003-07-30  André Pönitz  <poenitz@gmx.net>
2432
2433         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2434
2435         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2436           create a single function...
2437
2438         * paragraph_funcs.C (moveItem): ... here.
2439
2440         * text.C:
2441           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2442
2443 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * LColor.[Ch]: Add comment and greyedout logical colors.
2446
2447 2003-07-30  André Pönitz  <poenitz@gmx.net>
2448
2449         * tabular.C: don't use Assert too heavily. This crashes where it
2450           shouldn't
2451
2452 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2453
2454         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2455         is disabled (bug 1232)
2456
2457 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2458
2459         * factory.C: limited 'arg' scope
2460
2461 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2462
2463         * factory.C: fixed Note submenu issues
2464
2465 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * factory.C: submenu for Note/Comment/Greyedout
2468
2469 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2470
2471         * lyx_main.C (LyX):
2472         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2473
2474 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2475
2476         * LaTeXFeatures.C:
2477         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2478         greyedout. Patch provided by Jürgen Spitzmüller.
2479
2480 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2481
2482         * kbmap.C (read): fix error message when reading bind files
2483
2484 2003-07-29  Angus Leeming  <leeming@lyx.org>
2485
2486         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2487         certainly does not do what it purports to do. I am doing it, and
2488         us, a favour by killing it.
2489
2490 2003-07-28  José Matos  <jamatos@lyx.org>
2491
2492         * buffer.C (readBody, do_writeFile):
2493         * paragraph.C(readParagraph): \end_document replaces \the_end.
2494
2495 2003-07-29  André Pönitz  <poenitz@gmx.net>
2496
2497         * BufferView.[Ch]:
2498         * BufferView_pimpl.[Ch]:
2499         * lyxfunc.C:
2500         * text2.C:
2501         * text3.C:
2502         * textcursor.[Ch]: remove toggleToggle & Co
2503
2504 2003-07-28  José Matos  <jamatos@fep.up.pt>
2505
2506         * buffer.C (readParagraph):
2507         * params_func (readParToken, readParagraph):
2508         * paragraph.C (write): \layout -> \begin_layout.
2509
2510 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * lyxlex_pimpl.C (setFile): clean up slightly.
2513
2514         * bufferparams.h: add compressed var
2515
2516         * buffer_funcs.C (readFile): adjust for LyXLex change
2517         (newFile): ditto + simplify
2518
2519         * buffer.C (writeFile): handle writing of compressed files
2520
2521         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2522         Check if the file is compressed and set a bufferparm if so.
2523
2524         * Makefile.am (lyx_LDADD): remove explicit -lz
2525
2526 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2529         makeDocBookFile): put the real LyX version in the first line of
2530         the file
2531
2532         * version.h:
2533         * version.C.in: remove lyx_docversion
2534
2535         * tabular.C (write_attribute): add a template-based version to
2536         write enums properly
2537
2538 2003-07-28  André Pönitz  <poenitz@gmx.net>
2539
2540         * lyxtext.h:
2541         * text.C:
2542         * text2.C:
2543         * text3.C: use doubles again for x-coordinates. They are needed.
2544
2545 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2546
2547         * messages.C (getLocaleDir): use lyx_localedir()
2548
2549         * lyxlex_pimpl.C (setFile): compress stuff
2550
2551         * buffer.C (writeFile): add some compression stuff
2552         (do_writeFile): new func, dont call expliti close... will this
2553         breake anything?
2554
2555         * Makefile.am (lyx_LDADD): add -lz
2556
2557 2003-07-28  José Matos  <jamatos@fep.up.pt>
2558
2559         * buffer.C: increment file format.
2560         * paragraph_funcs (readParagraph, readParToken):
2561         * paragraph.C (readParagraph): add \end_layout.
2562
2563 2003-07-27  Angus Leeming  <leeming@lyx.org>
2564
2565         * Makefile.am: remove special casing for configure-time setting of
2566         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2567
2568         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2569         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2570
2571 2003-07-26  André Pönitz  <poenitz@gmx.net>
2572
2573         * paragraph_func.[Ch]:
2574         * paragraph.C (realizeFont): inline it whereever it is used
2575
2576         * rowpainter.C:
2577         * text.C:
2578         * text2.C:
2579         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2580
2581
2582 2003-07-26  André Pönitz  <poenitz@gmx.net>
2583
2584         *       lyxtext.h:
2585         * text.C:
2586         * text2.C: get rid of LyXText::need_break_row
2587
2588 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * toc.[Ch]: put namespace toc inside namespace lyx
2591
2592         * MenuBackend.C (expandToc2): adjust for lyx::toc
2593         (expandToc): ditto
2594
2595         * lyxfunc.C (dispatch): adjust for lyx::find
2596
2597         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2598         lyx::find instead. Reorganize a bit.
2599         (LyXReplace): rename to replace
2600         (LyXFind): rename to find
2601
2602         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2603         (dispatch): ditto
2604
2605 2003-07-26  André Pönitz  <poenitz@gmx.net>
2606
2607         * text.C (setHeightOfRow): restrict scope of temporary variable
2608
2609         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2610           code (never has been used?)
2611
2612 2003-07-27  Asger Alstrup  <alstrup@local>
2613
2614         * text.C (fill): Optimise algorithm to exploit that we can reuse
2615         the LyXFont for many characters.
2616         (setHeightOfRow): Same thing.
2617         (rowBreakPoint): Same thing.
2618
2619 2003-07-26  Asger Alstrup  <alstrup@local>
2620
2621         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2622
2623         * text.C (singleWidth): Spurious font copying in hot-spot
2624         singleWidth avoided. Reorder tests for arabic for efficiency.
2625
2626         * text.C (fill): handle empty paragraphs better.
2627
2628 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2629
2630         * ispell.C:
2631         * encoding.h: add includes
2632
2633         * lyxrc.C: remove reading of bind files
2634
2635         * lyx_main.C (init): setup bindings and menus only if we have a
2636         gui.
2637
2638         * kbmap.C (read): new method. Do the actual reading of bind
2639         files.
2640
2641         * converter.C (dvipdfm_options):
2642         * bufferparams.C:
2643         * lyxrc.C (read):
2644         (output): adapt PAPER_* enums.
2645
2646         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2647
2648         * bufferparams.h: remove paper-related enums from there
2649
2650         * paper.h: New file. A trivial header file to hold paper-related
2651         enums. It should later expand to contain many paper-related
2652         horrors access.
2653
2654         * lyxrc.C: declare extern displayTranslator
2655
2656 2003-07-27  José Matos  <jamatos@fep.up.pt>
2657
2658         * tabular.[Ch] (linuxdoc): add support for tables and figures
2659         (linuxdoc).
2660
2661 2003-07-27  José Matos  <jamatos@fep.up.pt>
2662
2663         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2664         consistency in both functions.
2665         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2666
2667 2003-07-26  Asger Alstrup  <alstrup@local>
2668
2669         * rowpainter.C (paintRows): Change algorithm to work directly on
2670         the insets rather than asking every character in the document
2671         whether its an inset.
2672
2673 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2674
2675         * buffer.C (openFileWrite): factorize some code
2676
2677 2003-07-26  Angus Leeming  <leeming@lyx.org>
2678
2679         * lyx_cb.C:
2680         * lyx_main.[Ch]: replace occurances of system_tempdir with
2681         os::getTmpDir().
2682
2683 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * rename Inset to InsetOld
2686
2687 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2688
2689         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2690         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2691         which I think is a bit clearer. EDIT is gone, since it was
2692         premature optimisation, and broken for mathed anyway.
2693         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2694         with cursor positioning in insets as well (math insets still do not
2695         work, but that's a different story anyway.) It mysteriously
2696         crashes sometimes with undo in the first paragraph, but I'm fairly
2697         confident that this is a compiler bug.
2698
2699 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * paragraph.C (Paragraph): adjust for new clone return type
2702         (operator==): ditto
2703         (copyIntoMinibuffer): ditto
2704
2705 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2706
2707         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2708         by not having a special case, and always doing a full rebreak of
2709         the document after undo.
2710
2711 2003-07-23  Angus Leeming  <leeming@lyx.org>
2712
2713         * factory.C (createInset): InsetExternal::setParams now takes a
2714         Buffer const * arg.
2715
2716 2003-07-23  Angus Leeming  <leeming@lyx.org>
2717
2718         * factory.C (createInset): changed interface to the external and
2719         graphics mailers' string2params functions.
2720
2721 2003-07-23  Angus Leeming  <leeming@lyx.org>
2722
2723         * factory.C (createInset): pass a
2724         Buffer const * parameter to InsetExternalMailer's string2params.
2725
2726 2003-07-22  John Levon  <levon@movementarian.org>
2727
2728         * Thesaurus.h: include the right aiksaurus header
2729
2730 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         * MenuBackend.C (expand): check menu shortcuts unconditionally
2733
2734 2003-07-21  Angus Leeming  <leeming@lyx.org>
2735
2736         * factory.C (createInset): pass a
2737         buffer_path parameter to InsetGraphicsMailer's string2params.
2738
2739 2003-07-21  Angus Leeming  <leeming@lyx.org>
2740
2741         * BufferView_pimpl.C (buffer):
2742         * buffer.C (d-tor):
2743         * lyx_main.C (LyX):
2744         * lyxfunc.C (dispatch):
2745         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2746         rather than the grfx shortcut.
2747
2748 2003-07-21  André Pönitz  <poenitz@gmx.net>
2749
2750         * rowpainter.C: remove unused variables
2751
2752         * tabular_funcs.C:
2753         * tabular_funcs.h: move to tabular.C
2754         * Makefile.am: adjust
2755
2756         * tabular.[Ch]: basic optical cleaning
2757
2758         * author.h: pass references, not values
2759
2760 2003-07-18  André Pönitz  <poenitz@gmx.net>
2761
2762         * lyxtext.h:
2763         * metricsinfo.C:
2764         * metricsinfo.h:
2765         * rowpainter.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: two-phase drawing for InsetText and InsetTabular
2769         some float -> int changes.
2770
2771 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2772
2773         * lyx_main.C: fix the fix
2774
2775 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * lyx_main.C: fix a crash in batch mode if no files specified
2778         * converter.C: ws
2779
2780 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2781
2782         * format.[Ch] (papersize): moved to BufferParams
2783         * converter.[Ch] (dvips_options): moved to BufferParams
2784         (dvipdfm_options): moved to anon namespace
2785         * bufferparams.[Ch]: added above functions.
2786
2787 2003-07-17  André Pönitz  <poenitz@gmx.net>
2788
2789         * lyxtext.h:
2790         * rowpainter.C:
2791         * text2.C: don't call inset->update() anymore
2792
2793         * metricsinfo.[Ch]: add convenience constructor
2794
2795 2003-07-16  André Pönitz  <poenitz@gmx.net>
2796
2797         * lyxcursor.[Ch]:
2798         * lyxfunc.[Ch]:
2799         * text.C:
2800         * text2.C: replace the LyXCursor::irow_ member with
2801          on-demand computation of the value
2802
2803 2003-07-16  John Levon  <levon@movementarian.org>
2804
2805         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2806
2807 2003-07-15  André Pönitz  <poenitz@gmx.net>
2808
2809         * text.C:
2810         * text2.C: remove no more needed refresh_row
2811
2812 2003-07-15  André Pönitz  <poenitz@gmx.net>
2813
2814         * lyxtext.h:
2815         * rowpainter.C:
2816         * text2.C:
2817         * text3.C: refresh_status tristate -> need_update bool
2818
2819 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * lyxtext.h (init): remove reinit argument (act as if always true)
2822         * text2.C: adjust to that
2823
2824 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2825
2826         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2827         * text3.C: use it to delete selections in some cases
2828         (bugs 441, 673, 702, 954).
2829
2830 2003-07-14  André Pönitz  <poenitz@gmx.net>
2831
2832         * rowpainter.[Ch]: reduce interface
2833
2834 2003-07-14  André Pönitz  <poenitz@gmx.net>
2835
2836         * BufferView_pimpl.C:
2837         * text2.C: adjust after removing unused BufferView * argument
2838
2839 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * text2.C (init): fix a crash fired on resize
2842
2843 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2844
2845         * buffer.[Ch]: added new closing signal
2846         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2847         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2848         BufferView::Pimpl via the closing the signal
2849
2850 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2851
2852         * buffer.[Ch]: take out all bv-related from buffer
2853         * BufferView.C:
2854         * BufferView_pimpl.[Ch]: connect to new signals
2855         * CutAndPaste.C: removed useless asserts
2856         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2857         * lyxvc.[Ch]:
2858         * vc-backend.[Ch]:
2859         * lyxfunc.C: moved view-related funciontality from vc here
2860         * paragraph.C: removed outdated comments
2861         * text.C: ws
2862
2863 2003-07-10  André Pönitz  <poenitz@gmx.net>
2864
2865         * BufferView_pimpl.C:
2866         * tabular.h:
2867         * tabular_funcs.C:
2868         * text.C:
2869         * text2.C: remove InsetText::InnerCache, clean up consequences
2870
2871 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2872
2873         * ispell.C: fix two typos in error messages
2874
2875 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2876
2877         * Extend Note inset to other forms of annotation like Comment
2878         and Greyedout. Right button click gives dialog.
2879
2880         Files modified or added (+):
2881
2882         * insetnote.[Ch]
2883         * FormNote.[Ch]      +
2884         * ControlNote.[Ch]   +
2885         * form_note.fd       +
2886         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2887         frontends/controllers
2888         * xforms/Dialogs.C
2889         * factory.C
2890
2891 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2892
2893         * aspell.C: add missing namespace lyx::support
2894
2895 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2896
2897         * BufferView.[Ch] (newFile): Add
2898         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2899         * LaTeX.[Ch] (message): added this signal and use it
2900         * buffer.[Ch] (busy, message): added these signals and use them
2901         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2902         * converter.C:
2903         * exporter.C:
2904         * format.C:
2905         * importer.C: use buffer signals instead of direct bv calling
2906         * lyx_cb.[Ch] (ShowMessage): removed
2907         * lyx_main.C:
2908         * lyxfunc.C:
2909         * paragraph_funcs.C:
2910         * text2.C: use buffer signals
2911
2912 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * introduce namespace lyx::graphics
2915
2916 2003-07-02  André Pönitz  <poenitz@gmx.net>
2917
2918         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2919
2920 2003-07-01  André Pönitz  <poenitz@gmx.net>
2921
2922         * text.C:
2923         * text2.C:
2924         * text3.C:
2925         * text_funcs.[Ch]:
2926         * textcursor.h:
2927         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2928           text*.C to text_func.C
2929
2930 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2931
2932         * introduce namespace lyx::support
2933
2934 2003-06-30  André Pönitz  <poenitz@gmx.net>
2935
2936         * Chktex.C:
2937         * funcrequest.C:
2938         * lyxtext.h:
2939         * text.C: re-enable --with-included-string
2940
2941 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * textcursor.C: add <config.h>
2944
2945         * text.C (getWord): remove const from word_location arg
2946
2947         * lyxvc.C (getLogFile): fix const type order
2948
2949         * lyxtext.h: remove const from word_location arg, add arg name
2950
2951         * lyxlayout.h: currect type on labeltype.
2952
2953         * importer.C: correct \file
2954
2955         * converter.C (intToFormat): use std:: on ret val, ws changes
2956
2957         * bufferlist.h: correct \file
2958
2959         * buffer.C (makeLinuxDocFile): fix const type order
2960         (makeDocBookFile): ditto
2961         (fillWithBibKeys): use std:: on stdlib args.
2962
2963         * CutAndPaste.C: fix authors.
2964         (availableSelections): use std:: on return vector
2965
2966 2003-06-27  André Pönitz  <poenitz@gmx.net>
2967
2968         * BufferView_pimpl.C:
2969         * bufferview_funcs.C:
2970         * lyxcursor.C:
2971         * lyxcursor.h:
2972         * lyxfunc.C:
2973         * lyxtext.h:
2974         * rowpainter.C:
2975         * text.C:
2976         * text2.C:
2977         * text3.C: remove LyXCursor::row_ member
2978
2979         * lyxtext.h:
2980         * text.C: rename fullRebreak() to partialRebreak() and implement
2981           a fullRebreak() that really bereks fully
2982
2983         * textcursor.h: new struct for cursor-related data
2984
2985 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2986
2987         * lyx_main.C (LyX): get full path of document loaded on the
2988         command line
2989
2990 2003-06-26  André Pönitz  <poenitz@gmx.net>
2991
2992         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2993           remove unused/broken operator>,<,>=.
2994
2995         *       text.C: remove only use of broken operator<= in an Assert().
2996
2997 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2998
2999         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3000         moved errorlist_.clear to showErrorList
3001
3002 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * converter.C (scanLog, runLaTeX):
3005         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3006         move the bv->showErrorList call to the callers
3007         * lyxfunc.C: i.e. here...
3008         * text2.C: and here
3009         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3010         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3011         namespace, the second to...
3012         * buffer_funcs (BufferFormat, parseErrors): added
3013         * errorlist.C (ErrorList(TeXErrors const &)): removed
3014
3015 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3016
3017         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3018
3019 2003-06-24  "Garst R. Reese" <reese@isn.net>
3020
3021         * debug.C: fix typo
3022
3023 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3026
3027         * version.C.in: change docversion to 1.4
3028
3029 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3030
3031         * buffer.C: fix a bug just introduced
3032
3033 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3034
3035         * buffer.[Ch]: added the parseError signal and use it, removed
3036         sgmlError
3037         * BufferView.[Ch] (addError): moved to ...
3038         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3039         to the Buffer::parseError signal to catch (guess what) parse errors
3040         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3041
3042 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3043
3044         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3045         ability to create a buffer and to return an existing one from
3046         the list. Moved these functions to...
3047         * buffer_funcs.[Ch]: added
3048         * BufferView.[Ch] (loadLyXFile): added
3049         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3050         job removed from bufferlist::loadLyXFile.
3051         * buffer.C (setReadOnly): make it work without view
3052         (i.e added an if (users))
3053
3054 2003-06-19  Angus Leeming  <leeming@lyx.org>
3055
3056         * lfuns.h:
3057         * LyXAction.C (init):
3058         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3059         with LFUN_DIALOG_SHOW <name> <data>.
3060
3061 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3062
3063         * CutAndPaste.C (availableSelections): small compilation fix for
3064         ancient (gcc 2.9x) compilers
3065
3066 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3067
3068         * text3.C (cursorNext): add tmp var
3069
3070         * text2.C (updateCounters): for function calling out of for clause
3071         (replaceSelectionWithString): ditto
3072         (insertStringAsParagraphs): ditto
3073         (getColumnNearX): add tmp var
3074         (setCursorFromCoordinates): add tmp var
3075         (cursorDownParagraph): add tmp var
3076         (deleteEmptyParagraphMechanism): add tmp var
3077
3078         * text.C (insertChar): add tmp var
3079
3080         * rowpainter.C (paintDepthBar): add tmp var
3081
3082         * CutAndPaste.C (availableSelections): potentially check all
3083         paragraphs in a cut to fill the shown strings.
3084
3085 2003-06-18  André Pönitz  <poenitz@gmx.net>
3086
3087         * kbmap.[Ch]: use vector<> instead of list<>
3088
3089 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3090
3091         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3092         pasteSelection with index
3093
3094         * text2.C (pasteSelection): modify, call pasteSelection with index
3095
3096         * paragraph.C (asString): reimplement version with no interval to
3097         call the one with interval.
3098
3099         * lyxtext.h: add index arg to pasteSelection
3100
3101         * MenuBackend.C (MenuItem): handle PasteRecent
3102         (Menu::read::Menutags): add md_pasterecent
3103         (read): handle it
3104         (expandPasteRecent): new function
3105         (expand): use it
3106
3107         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3108
3109         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3110         the limited stack
3111         (availableSelections): new function
3112
3113 2003-06-17  Angus Leeming  <leeming@lyx.org>
3114
3115         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3116
3117 2003-06-17  Angus Leeming  <leeming@lyx.org>
3118
3119         * lfuns.h:
3120         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3121
3122         * lyxfunc.C (dispatch): invoke it.
3123
3124 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3125
3126         * iterators.C (operator++, ParPosition): reintroduce some
3127         const_cast for the benefit of older compilers.
3128
3129 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3130
3131         * text3.C (dispatch): do not modify clipboard when doing
3132         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3133         LFUN_DELETE_SKIP on a selection selection
3134
3135 2003-06-16  André Pönitz  <poenitz@gmx.net>
3136
3137         * BufferView.C:
3138         * buffer.C:
3139         * buffer.h:
3140         * paragraph.C:
3141         * tabular.[Ch]: IU of clone() and getLabelList();
3142
3143 2003-06-13  André Pönitz  <poenitz@gmx.net>
3144
3145         * tabular.h: compactification
3146
3147 2003-06-12  André Pönitz  <poenitz@gmx.net>
3148
3149         * tabular.C:
3150         * tabular.h:
3151         * tabular_funcs.h: some renaming plus whitespace
3152
3153 2003-06-12  André Pönitz  <poenitz@gmx.net>
3154
3155         * BufferView.C:
3156         * BufferView_pimpl.C:
3157         * CutAndPaste.C:
3158         * buffer.C:
3159         * iterators.[Ch]:
3160         * lyxfunc.C:
3161         * text.C:
3162         * toc.C: Return a Paragraph & for ParIterator::operator*()
3163
3164 2003-06-11  John Levon  <levon@movementarian.org>
3165
3166         * lyx_main.C:
3167         * ToolbarBackend.h:
3168         * ToolbarBackend.C: add "Toolbars" section and
3169         put the flags there
3170
3171 2003-06-10  Angus Leeming  <leeming@lyx.org>
3172
3173         * lfuns.h:
3174         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3175
3176         * lyxfunc.C (dispatch): invoke it.
3177
3178 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * main.C: protect <ios> with HAVE_IOS
3181         (main): protect sync_with_stdio with HAVE_IOS
3182
3183 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3184
3185         * text2.C (cutSelection): adjust
3186         (pasteSelection): adjust
3187
3188         * messages.C: handle get of empty string
3189
3190         * main.C (main): use sync_with_stdio(false)
3191
3192         * lyxfunc.C (dispatch): adjust
3193
3194         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3195         (WriteAs): remove unneeded BufferView arg.
3196
3197         * bufferparams.h: use correct types on papersize, papersize2 and
3198         paperpackage.
3199
3200         * bufferparams.C (readToken): adjust for type
3201         (writeLaTeX): add missing cases to switch.
3202
3203         * bufferlist.C (quitWriteBuffer): adjust
3204         (close): adjust
3205
3206         * buffer.C (asciiParagraph): remove some commented code.
3207
3208         * CutAndPaste.C: remove current_view extern variable.
3209         (cutSelection): add BufferParams arg.
3210         (eraseSelection): add BufferParams arg.
3211         (pasteSelection): add Buffer const & arg
3212
3213 2003-06-07  John Levon  <levon@movementarian.org>
3214
3215         * buffer.C:
3216         * paragraph_funcs.C:
3217         * paragraph_pimpl.C:
3218         * text.C:
3219         * text2.C:
3220         * paragraph.h:
3221         * paragraph.C: allow InsetERT to freely space lines,
3222         and some consolidation of code
3223
3224 2003-06-06  José Matos  <jamatos@fep.up.pt>
3225
3226         * buffer.C (makeDocBookFile): fix bug #821
3227
3228 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3231
3232 2003-06-04  Angus Leeming  <leeming@lyx.org>
3233
3234         * buffer.C: bump format to 224.
3235
3236 2003-06-05  André Pönitz  <poenitz@gmx.net>
3237
3238         * text2.C (redoParagraphs): remove two const_cast<>
3239
3240 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3241
3242         * ParagraphList.h: remove last remnants of NO_STD_LIST
3243
3244 2003-06-03  Angus Leeming  <leeming@lyx.org>
3245
3246         * factory.C (createInset): small change to the way InsetExternal's params
3247         are set.
3248
3249 2003-06-04  André Pönitz  <poenitz@gmx.net>
3250
3251         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3252
3253         * paragraph_pimpl.h:
3254         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3255
3256         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3257
3258         * undo_funcs.C: make some simple cases of undo work again
3259
3260 2003-06-03  John Levon  <levon@movementarian.org>
3261
3262         * ispell.C: HPUX doesn't have sys/select.h
3263         (from Albert Chin)
3264
3265 2003-06-03  John Levon  <levon@movementarian.org>
3266
3267         * CutAndPaste.C: update tabular and include inset
3268         buffer references
3269
3270         * buffer.h:
3271         * paragraph.h:
3272         * paragraph.C: remove owningBuffer(), don't pass Buffer
3273         to clone()
3274
3275         * factory.C: insetGraphicsParams changed
3276
3277 2003-06-02  John Levon  <levon@movementarian.org>
3278
3279         * LyXAction.C:
3280         * factory.C:
3281         * lfuns.h:
3282         * lyxfunc.C:
3283         * text3.C: remove insetparent
3284
3285 2003-06-02  John Levon  <levon@movementarian.org>
3286
3287         * buffer.h:
3288         * buffer.C: fix inset_iterator.end(), move out of line
3289         (bug 1149)
3290
3291 2003-06-01  John Levon  <levon@movementarian.org>
3292
3293         * text3.C: use a proper cut/paste when doing inset
3294         insert (from Jürgen Spitzmüller)
3295
3296 2003-06-01  John Levon  <levon@movementarian.org>
3297
3298         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3299
3300 2003-05-30  André Pönitz  <poenitz@gmx.net>
3301
3302         * rowpainter.C: unify second drawing phase
3303
3304 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * trans_mgr.C: remove one case of current_view
3307
3308         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3309
3310         * paragraph_funcs.h: remove paragraph.h include
3311
3312         * paragraph.h: delete NO_STD_LIST stuff
3313
3314         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3315
3316         * buffer.h: remove paragraph.h include
3317
3318         * ParagraphList.C: delete file
3319
3320         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3321
3322         * toc.C (getTocList): adjust
3323
3324         * paragraph_pimpl.C (validate): adjust
3325
3326         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3327
3328         * paragraph.C (Paragraph): adjust
3329         (getPositionOfInset): use const_iterator, adjust
3330         (bibitem): use const_iterator, adjust
3331         (setInsetOwner): adjust
3332
3333         * iterators.C (operator++): adjust
3334
3335         * InsetList.[Ch]: Replace selfmade iterator with standard
3336         vector::iterator also introduce const_iterator. Remove getPos,
3337         getInset and setInset from InsetTable. Adjust accordingly.
3338
3339         * BufferView.C (lockInset): adjust
3340         (ChangeInsets): adjust
3341
3342         * tabular.[Ch]: delete commented same_id functions
3343
3344 2003-05-28  John Levon  <levon@movementarian.org>
3345
3346         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3347
3348 2003-05-28  André Pönitz  <poenitz@gmx.net>
3349
3350         * metricsinfo.[Ch]: remove 'fullredraw' member
3351
3352 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3353
3354         * lyxtextclass.C (operator): remove caching.
3355
3356 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * text3.C: adjust
3359
3360         * text2.C (cursorBottom): adjust
3361         (setCounter): use ParagraphList::find, adjust
3362
3363         * text.C (workWidth): use ParagraphList::find, adjust
3364
3365         * lyxcursor.C (LyXCursor): adjust
3366
3367         * buffer.C (inset_iterator): adjust
3368
3369         * ParagraphList.h: make iterator(value_type) private, make
3370         ParagraphList a friend of iterator.
3371
3372         * ParagraphList.C (find): new function
3373
3374         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3375
3376 2003-05-27  André Pönitz  <poenitz@gmx.net>
3377
3378         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3379
3380 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3381
3382         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3383
3384 2003-05-26  John Levon  <levon@movementarian.org>
3385
3386         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3387
3388 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * remove same_id from function signatures, adjust.
3391
3392 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3395
3396         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3397
3398         * paragraph.C (Paragraph): get rid of same_ids parameter
3399
3400         * ParagraphList.C (insert): adjust
3401         (push_back): adjust
3402
3403 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3404
3405         * paragraph_funcs.C (breakParagraph): adjust
3406         (breakParagraphConservative): adjust
3407
3408         * buffer.C (readParagraph): adjust
3409
3410         * ParagraphList.C (insert): take a reference instead of a pointer
3411         (insert): adjust
3412
3413         * paragraph.[Ch] (id): new function
3414
3415         * bufferlist.C (newFile): adjust
3416
3417         * ParagraphList.C (ParagraphList): adjust
3418         (assign): adjust
3419         (push_back): take a reference instead of a pointer.
3420
3421         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3422
3423         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3424         instead.
3425
3426         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3427         set else use old code.
3428
3429         * ParagraphList.C: remove all NO_NEXT code and only compile this
3430         code of NO_STD_LIST is set.
3431
3432 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * BufferView_pimpl.C:
3435         * TextCache.C:
3436         * TextCache.h:
3437         * bufferlist.C:
3438         * errorlist.h:
3439         * format.C:
3440         * format.h:
3441         * graph.C:
3442         * lyxfunc.C:
3443         * lyxrc.C:
3444         * graphics/GraphicsConverter.C:
3445         * graphics/PreviewLoader.C: header adjustment
3446
3447 2003-05-23  Angus Leeming  <leeming@lyx.org>
3448
3449         * LaTeXFeatures.[Ch] (useBabel): new method.
3450         * bufferparams.C (writeLaTeX): use it.
3451
3452 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * ParagraphList.h (set): remove unused function.
3455
3456 2003-05-23  André Pönitz  <poenitz@gmx.net>
3457
3458         * BufferView.C:
3459         * BufferView_pimpl.C:
3460         * buffer.C:
3461         * buffer.h:
3462         * lyxfunc.C:
3463         * undo_funcs.C: setUndo reworked
3464
3465         * iterators.[Ch]: add access to topmost ParagraphList
3466
3467         * lyxtext.[Ch] (workWidth): add a const
3468
3469 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * texrow.[Ch] (increasePos): remove function
3472         * exporter.C (export): removed unused var and outdated comment
3473
3474 2003-05-23  Angus Leeming  <leeming@lyx.org>
3475
3476         * latexrunparams.h: rename fragile as moving_arg.
3477         * paragraph.C (simpleTeXOnePar): ditto.
3478         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3479
3480 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3483         (createUndo): ditto
3484         (textUndoOrRedo): comment out a currently unused var.
3485
3486         * paragraph.h (NO_NEXT): enable NO_NEXT
3487
3488         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3489
3490         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3491
3492         * exporter.C (Export): adjust for removeAutoInsets removal.
3493
3494         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3495
3496         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3497
3498         * BufferView.[Ch] (removeAutoInsets): delete function
3499
3500 2003-05-22  Angus Leeming  <leeming@lyx.org>
3501
3502         * latexrunparams.h: add a free_spacing variable.
3503
3504         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3505         to pass moving_arg, as the data is stored in runparams.fragile.
3506
3507         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3508         to Inset::latexOptional or to simpleTeXOnePar.
3509
3510         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3511         free_spacing arg to Inset::latexOptional.
3512
3513         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3514         free_spacing arg.
3515
3516 2003-05-22  Angus Leeming  <leeming@lyx.org>
3517
3518         * latexrunparams.h: add fragile and use_babel variables.
3519
3520         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3521         * buffer.C (makeLaTeXFile): store this returned value in
3522         runparams.use_babel, thus passing it to the inset::latex methods.
3523
3524         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3525         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3526
3527         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3528         longer has a fragile arg, as it is stored in runparams.fragile.
3529
3530         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3531         moving_arg parameter as the data is stored in runparams.fragile.
3532
3533         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3534         a fragile parameter as the data is stored in runparams.fragile.
3535
3536 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3539
3540 2003-05-22  Angus Leeming  <leeming@lyx.org>
3541
3542         * latexrunparams.h: add a 'bool nice' which defaults to false.
3543
3544         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3545         now encapsulated within runparams.
3546
3547         * bufferlist.C (updateIncludedTeXfiles):
3548         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3549
3550 2003-05-22  Angus Leeming  <leeming@lyx.org>
3551
3552         * latexrunparams.h: new file containing struct LatexRunParams.
3553         * Makefile.am: add new file.
3554
3555         * LaTeX.[Ch] (c-tor, run):
3556         * buffer.[Ch] (makeLaTeXFile):
3557         * bufferlist.[Ch] (updateIncludedTeXfiles):
3558         * converter.C (convert, scanLog):
3559         * converter.[Ch] (runLaTeX):
3560         * exporter.C (Export):
3561         * paragraph.[Ch] (simpleTeXOnePar):
3562         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3563         * paragraph_funcs.[Ch] (latexParagraphs):
3564         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3565         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3566         pass around a LatexRunParams parameter.
3567
3568 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * paragraph.[Ch]: remove unused constructor
3571
3572         * ParagraphList.C (erase): new function, taking two iterators
3573
3574 2003-05-22  André Pönitz  <poenitz@gmx.net>
3575
3576         * undo_funcs.C: remove duplicated code
3577
3578         * iterator.[Ch]: operator=
3579
3580 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * tabular.C (SetMultiColumn): ws changes
3583
3584         * rowpainter.C (paintFirst): get rid of a ->previous
3585
3586         * lyx_cb.C (getPossibleLabel): parlist simplification
3587
3588         * BufferView.C (ChangeInsets): simplify slightly.
3589
3590 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3591
3592         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3593         * lfuns.h: new LFUN_SPACE
3594         * lyxfunc.C: protected space has a new lfun
3595         * paragraph_funcs.C: read new space insets
3596         * text3.C:
3597         * factory.C: handle new space insets
3598
3599 2003-05-22  André Pönitz  <poenitz@gmx.net>
3600
3601         * BufferView.C:
3602         * BufferView_pimpl.C:
3603         * buffer.[Ch]:
3604         * lyxfunc.C:
3605         * undo_funcs.C: return a ParIterator from getParFromID.
3606
3607         * iterators.[Ch]: add two const's
3608
3609 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * toc.C (getTocList): adjust
3612
3613         * iterators.[Ch]: rework for parlist
3614
3615         * buffer.C (par_iterator_begin): adjust
3616         (par_iterator_end): adjust
3617
3618         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3619
3620         * BufferView.C (removeAutoInsets): adjust
3621         (ChangeInsets): adjust
3622
3623 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3624
3625         * text.C (top_y): fix bug 1110
3626
3627 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3628
3629         * errorlist.[Ch]: added
3630         * buffer.C:
3631         * BufferView.[Ch]:
3632         * BufferView_pimpl.C:
3633         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3634         instead
3635
3636 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * Makefile.am: ensure that lyx is relinked upon changes to the
3639         various "convenience" libs.
3640
3641 2003-05-20  Angus Leeming  <leeming@lyx.org>
3642
3643         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3644         files are compiled in alphabetical order again.
3645
3646         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3647
3648 2003-05-19  Angus Leeming  <leeming@lyx.org>
3649
3650         * gettext.[Ch]: remove "char const * _(char const *)".
3651
3652 2003-05-19  André Pönitz  <poenitz@gmx.net>
3653
3654         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3655
3656         * Makefile.am:
3657         * BufferView.C:
3658         * DepTable.h:
3659         * LaTeXFeatures.C:
3660         * buffer.C:
3661         * lyxfont.C:
3662         * lyxlex.h:
3663         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3664
3665 2003-05-19  André Pönitz  <poenitz@gmx.net>
3666
3667         * buffer.C:
3668         * lyxlayout.[Ch]:
3669         * lyxtextclass.[Ch]:
3670         * paragraph.C:
3671         * paragraph_funcs.[Ch]:
3672         * text2.C:
3673         * text3.C: more insetenv work
3674
3675 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * ParagraphParameters.C (params2string): small bug fixed
3678
3679 2003-05-16  André Pönitz  <poenitz@gmx.net>
3680
3681         * debug.C:
3682         * bufferview_funcs.C: patch from Kornel Benko to prevent
3683           crash when _(...) is called twice in a statement
3684
3685 2003-05-16  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView.C:
3688         * lyxfunc.C:
3689         * text.C:
3690         * text2.C:
3691         * text3.C:
3692         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3693
3694 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * lyx_main.C (init): remove spurious static_cast
3697
3698 2003-05-14  André Pönitz  <poenitz@gmx.net>
3699
3700         * BufferView.C: fix format string
3701
3702 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * BufferView.[Ch] (insertErrors): removed
3705         * BufferView.[Ch] (showErrorList): added
3706         * buffer.C (runChkTeX):
3707         * converter.C (scanLog): call showErrorList instead of inserterrors
3708
3709 2003-05-13  André Pönitz  <poenitz@gmx.net>
3710
3711         * BufferView_pimpl.C:
3712         * buffer.C:
3713         * bufferview_func.C:
3714         * MenuBackend.C:
3715         * lyxfunc.C:
3716         * lyxrc.C:
3717         * tex-accent.C:
3718         * text3.C:
3719         * toc.C:
3720         * tabular_funcs.h: tostr() from its own header
3721
3722         * ParagraphParameters.C:
3723         * ToolbarBackend.C:
3724         * bufferparams.C:
3725         * format.C:
3726         * lyxlex_pimpl.C:
3727         * text3.C: STRCONV()
3728
3729 2003-05-12  André Pönitz  <poenitz@gmx.net>
3730
3731         * BufferView.C:
3732         * BufferView_pimpl.C:
3733         * CutAndPaste.C:
3734         * LaTeX.C:
3735         * LaTeXFeatures.C:
3736         * ParagraphParameters.C:
3737         * buffer.C:
3738         * bufferlist.C:
3739         * bufferparams.C:
3740         * bufferview_funcs.C:
3741         * converter.C:
3742         * counters.C:
3743         * debug.C:
3744         * exporter.C:
3745         * format.C:
3746         * importer.C:
3747         * lyx_cb.C:
3748         * lyx_main.C:
3749         * lyxfont.C:
3750         * lyxfunc.C:
3751         * lyxvc.C:
3752         * paragraph.C:
3753         * paragraph_funcs.C:
3754         * tabular.C:
3755         * tabular_funcs.C:
3756         * text2.C:
3757         * text3.C:  boost::format -> bformat  all over the place
3758
3759
3760 2003-05-09  André Pönitz  <poenitz@gmx.net>
3761
3762         * LColor.[Ch]: Pimpl the #include <map> away
3763
3764 2003-05-09  John Levon  <levon@movementarian.org>
3765
3766         * bufferlist.C: never remove emergency saves
3767
3768 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * Makefile.am: better lib building
3771
3772 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3775         instead.
3776         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3777         (simpleTeXSpecialChars): adjust
3778         (simpleTeXSpecialChars): adjust
3779         * paragraph.C (simpleTeXOnePar): adjust
3780         * buffer.C (makeLaTeXFile): adjust
3781
3782         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3783
3784         * text2.C (changeDepth): parlist cleanup
3785         (getColumnNearX): ditto
3786
3787         * rowpainter.C (getLabelFont): parlist cleanup
3788
3789         * bufferlist.C (newFile): parlist cleanup
3790
3791         * CutAndPaste.C (eraseSelection): parlist cleanup
3792
3793         * BufferView_pimpl.C (trackChanges): parlist cleanup
3794         (dispatch): ditto
3795
3796         * BufferView.C (lockInset): parlist cleanup.
3797         (ChangeInsets): ditto
3798
3799 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3800
3801         * CutAndPaste.h: Update file header.
3802
3803         * CutAndPaste.C: Update file header.
3804         Store the parts cut out of the Document in a limited_stack.
3805         (copySelection): adjust
3806         (pasteSelection): new function, takes the index in the limited stack.
3807         (nrOfParagraphs): adjust
3808         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3809         simplify error inset insertion.
3810         (checkPastePossible): adjust
3811
3812 2003-05-06  John Levon  <levon@movementarian.org>
3813
3814         * text2.C: don't cast wrap inset to float
3815
3816 2003-05-05  André Pönitz  <poenitz@gmx.net>
3817
3818         * iterator.C:
3819         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3820
3821         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3822           few naked Paragraph *.
3823
3824 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3825
3826         * bufferparams.C: Output warning if a document with missing
3827         TeX document class is loaded
3828         * exporter.C: Disable TeX exports if the document class is missing
3829         * lyxtextclass.C:
3830         * lyxtextclass.h:
3831         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3832         isTeXClassAvailable()
3833
3834 2003-05-03  John Levon  <levon@movementarian.org>
3835
3836         * BufferView.h:
3837         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3838         explicit cursor show/hide
3839
3840         * BufferView_pimpl.h:
3841         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3842         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3843
3844         * lyxfunc.C: hide cursor before dispatching.
3845
3846         * lyx_cb.C:
3847         * lyxfind.C:
3848         * text.C:
3849         * text3.C: remove explicit cursor hides
3850
3851 2003-05-02  André Pönitz  <poenitz@gmx.net>
3852
3853         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3854
3855         * undo_funcs.C:
3856         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3857           linked lists
3858
3859         * text2.C: tiny whitespace
3860
3861 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * undo_funcs.C: almost only ws changes.
3864
3865         * ParagraphList.C (splice): just return if pl is empty.
3866
3867 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * ParagraphList.C (splice): new function.
3870
3871         * CutAndPaste.C (pasteSelection): use it
3872
3873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * CutAndPaste.C (pasteSelection): remove the last next and
3876         previous from this file.
3877
3878 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * CutAndPaste.C (pasteSelection): more clean up, user proper
3881         ParagraphList functions for pasteing.
3882
3883         * ParagraphList.C (insert): new function, three arg insert
3884
3885 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * ParagraphList.C (insert): new function, three arg insert
3888
3889         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3890         not on paragraphs.
3891
3892 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3895
3896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3899
3900 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3903         (copySelection): clean up a bit.
3904         (pasteSelection): use make_pair
3905
3906         * ParagraphList.C (ParagraphList): implement copy constructor
3907         (operator=): implement, base on copy constructor.
3908         (assign): new func
3909
3910         * paragraph.C (erase): return a bool
3911
3912         * paragraph_pimpl.C (erasePos): remove function, move contents...
3913         (erase): ... here. Return a bool.
3914         (erase): call erase instead of erasePos.
3915
3916 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3917
3918         * ParagraphList.h: define PitPosPair
3919         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3920         ParagraphList, fix a bug on pasting multiple pars
3921         * text2.C: change interface to C&P
3922
3923 2003-04-30  André Pönitz  <poenitz@gmx.net>
3924
3925         * undo_func.C: revert part of yesterday's patch 2
3926
3927 2003-04-30  John Levon  <levon@movementarian.org>
3928
3929         * LColor.C: s/tabular/table/
3930
3931 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * text3.C (dispatch): do not convert iterator -> pointer
3934         * undo_funcs.C (setCursorParUndo): ditto
3935         * text_funcs.C (transposeChars): ditto
3936
3937         * text2.C (setLayout): ws changes only
3938
3939         * text.C (breakParagraph): do not convert iterator -> pointer
3940         (insertChar): ditto
3941         (acceptChange): ditto
3942         (rejectChange): ditto
3943         (changeCase): ditto
3944         (Delete): ditto
3945         (backspace): ditto
3946
3947         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3948         pointer
3949
3950 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3951
3952         * text3.C (gotoInset): YABG (yet another bad getChar)
3953
3954 2003-04-29  André Pönitz  <poenitz@gmx.net>
3955
3956         * paragraph.h: make operator= private unimplemented as long as
3957           it is unusable
3958
3959         * ParagraphList.C: whitespace
3960
3961         * paragraph.[Ch]:
3962         * paragraph_pimpl.[Ch]:
3963         * paragraph_funcs.C:
3964         * CutAndPaste.C:
3965         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3966
3967         * text2.C:
3968           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3969
3970 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3973         * paragraph.[Ch] (erase):
3974         * paragraph_pimpl.[Ch] (erase): change return type and value
3975         * text2.C (cutSelection): some rework
3976
3977 2003-04-28  John Levon  <levon@movementarian.org>
3978
3979         * bufferlist.C: changes for unsaved changes dialog
3980
3981 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * bufferlist.C (newFile): set language (messages_) for new
3984         documents also.
3985
3986         * buffer.C (readFile): ws changes only.
3987
3988 2003-04-28  André Pönitz  <poenitz@gmx.net>
3989
3990         * undo_funcs.C:
3991         * lyxfunc.C:
3992         * buffer.[Ch]:
3993         * BufferView_pimpl.C:
3994         * BufferView.C: getParFromID related ParagraphList::iterator changes
3995
3996 2003-04-28  André Pönitz  <poenitz@gmx.net>
3997
3998         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3999           Changes
4000
4001 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * messages.C: remove one more localedir class variable.
4004
4005 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * messages.C (getLocaleDir): singleton generation function
4008         (Pimpl): use it.
4009         (Messages): add a default constructor.
4010
4011         * main.C (main): do not setup localedir here, do not call
4012         gettext_init.
4013
4014         * gettext.C (_): use it.
4015         (gettext_init): delete funciton
4016
4017 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4018
4019         * gettext.C (getLyXMessages): new singleton generating function.
4020
4021         * buffer.C (updateDocLang): adjust
4022
4023         * Makefile.am (messages.o): add target
4024         (main.o): remove target
4025
4026 2003-04-27  John Levon  <levon@movementarian.org>
4027
4028         * bufferlist.C:
4029         * lyx_cb.C:
4030         * lyxfunc.C:
4031         * lyxvc.C: specify cancel button in Alert::prompt
4032
4033 2003-04-26  John Levon  <levon@movementarian.org>
4034
4035         * text3.C:
4036         * lyxfunc.C:
4037         * lfuns.h:
4038         * LyXAction.C: add LFUN_INSET_SETTINGS
4039
4040         * lyxfunc.C: don't enable tabular-feature when there's
4041         just any locking inset
4042
4043 2003-04-26  John Levon  <levon@movementarian.org>
4044
4045         * bufferlist.C: re-add Cancel to buffer close question
4046
4047         * lyxfunc.C: fix import UI a bit
4048
4049 2003-04-25  John Levon  <levon@movementarian.org>
4050
4051         * gettext.C: remove the broken asserts for now
4052
4053 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * messages.C: make case where setlocale cannot comply work better.
4056
4057         * buffer.C (updateDocLang): new function
4058         (changeLanguage): use it
4059         (readFile): use it
4060
4061         * text2.C (setCounter): use B_ a bit.
4062
4063         * lyxlayout.C (Read): be sure to trim the label strings.
4064
4065         * messages.C (Messages): fix typo in comment
4066
4067         * buffer.C (readFile): set message_ after file is loaded.
4068         (makeDocBookFile): remove double return
4069         (changeLanguage): reset message_ upon language change.
4070         (B_): new func, use this to get translated buffer strings.
4071
4072         * main.C: add myself and Jean Marc as authors.
4073
4074 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * messages.[hC]: pimplify Messages, and three different pimpls to be
4077         used in different circumstances.
4078
4079         * gettext.[Ch]: change for use with new message code.
4080
4081 2003-04-24 André Pönitz <poenitz@gmx.net>
4082
4083         * factory.C: support for eqref
4084
4085 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * messages.[Ch]: add missing char
4088
4089         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4090
4091         * messages.[Ch]: New files
4092
4093 2003-04-18  John Levon  <levon@movementarian.org>
4094
4095         * BufferView.h:
4096         * BufferView.C:
4097         * BufferView_pimpl.C:
4098         * lfuns.h:
4099         * LyXAction.C:
4100         * lyxtext.h:
4101         * text2.C: remove layout-copy/paste (bug 778)
4102
4103 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4104
4105         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4106
4107 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4110         if they succeed. Act accordingly.
4111
4112 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (setCharFont): adjust
4115         (setCounter): adjust
4116         (insertStringAsLines): adjust
4117
4118         * text.C (leftMargin): adjust
4119         (setHeightOfRow): adjust
4120
4121         * rowpainter.C (paintFirst): adjust
4122         (paintLast): adjust
4123
4124         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4125         (outerHook): ditto
4126         (isFirstInSequence): ditto
4127         (getEndLabel): ditto
4128         (outerFont): adjust
4129
4130         * paragraph.C (getParLanguage): comment out some hard stuff.
4131
4132         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4133         (sgmlError): ditto
4134         (simpleDocBookOnePar): ditto
4135         (makeDocBookFile): use ParagraphList::iterator
4136
4137         * CutAndPaste.C (pasteSelection): adjust
4138
4139 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * text2.C (getFont): adjust
4142         (getLayoutFont): adjust
4143         (getLabelFont): adjust
4144
4145         * paragraph_funcs.C (TeXOnePar): adjust
4146
4147         * buffer.C (simpleLinuxDocOnePar): adjust
4148         (simpleDocBookOnePar): adjust
4149
4150         * CutAndPaste.C (pasteSelection): adjust
4151
4152         * BufferView.C (getEncoding): adjust
4153
4154         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4155
4156 2003-04-16  John Levon  <levon@movementarian.org>
4157
4158         * lyxfind.C: use parlist stuff for search/changes
4159
4160 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4163
4164         * text2.C (deleteEmptyParagraphMechanism): adjust
4165
4166         * text2.[Ch] (ownerParagraph): delete func (both of them
4167
4168 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4171
4172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * ParagraphList.C: prepare for NO_NEXT
4175
4176 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * text2.C (getFont): adjust
4179         (getLayoutFont): adjust
4180         (getLabelFont): adjust
4181
4182         * paragraph.C (getFont): adjust
4183         (getLabelFont): adjust
4184         (getLayoutFont): adjust
4185
4186         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4187
4188 2003-04-15  John Levon  <levon@movementarian.org>
4189
4190         From Angus Leeming
4191
4192         * lyx_main.C: handle Include in .ui files
4193
4194 2003-04-15  John Levon  <levon@movementarian.org>
4195
4196         * MenuBackend.C: make the doc files length shorter
4197
4198         * ToolbarBackend.h:
4199         * ToolbarBackend.C: handle toolbar placement flags,
4200         Minibuffer
4201
4202 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4203
4204         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4205         adjust
4206
4207         * paragraph_funcs.C (TeXOnePar): adjust
4208
4209         * paragraph.C (getLabelFont): add outerfont arg, adjust
4210         (getLayoutFont): ditto
4211         (simpleTeXOnePar): adjust
4212
4213         * paragraph_pimpl.C (realizeFont): delete func
4214
4215 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4218         row argument, constify cur argument.
4219
4220 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * text2.C (getFont): adjust
4223         (getLayoutFont): adjust
4224         (getLabelFont): adjust
4225
4226         * paragraph_funcs.C (TeXOnePar): adjust
4227         (outerFont): new func...
4228         (realizeFont): ...moved out from here, changed this to facilitate
4229         transition
4230
4231         * paragraph.C (getFont): take outerfont as arg, adjust
4232         (simpleTeXOnePar): add outerfont arg, adjust
4233
4234         * buffer.C (simpleLinuxDocOnePar): adjust
4235         (simpleDocBookOnePar): adjust
4236
4237         * CutAndPaste.C (pasteSelection): adjust
4238
4239         * BufferView.C (getEncoding): adjust
4240
4241 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * text2.C (setCharFont): adjust
4244         (setCounter): adjust
4245
4246         * text.C (leftMargin): adjust
4247         (setHeightOfRow): adjust
4248
4249         * rowpainter.C (paintFirst): adjust
4250         (paintLast): adjust
4251
4252         * paragraph_pimpl.C (realizeFont): adjust
4253
4254         * paragraph.C (isFirstInSequence): move from here...
4255         * paragraph_funcs.C (isFirstInSequence): ...to here
4256
4257         * paragraph.C (outerHook): move from here...
4258         * paragraph_funcs.C (outerHook): ...to here
4259
4260         * paragraph.C (depthHook): move from here...
4261         * paragraph_funcs.C (depthHook): ...to here
4262
4263         * paragraph.C (getEndLabel): move from here...
4264         * paragraph_funcs.C (getEndLabel): ...to here
4265
4266         * text2.C (realizeFont): move from here...
4267         * paragraph_funcs.C (realizeFont): ...to here
4268
4269 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4272
4273 2003-04-14  Angus Leeming  <leeming@lyx.org>
4274
4275         * LColor.[Ch]: scrap LColor mathcursor.
4276
4277 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * lyxlex.[Ch] (text): delete function
4280         * trans.C (Load): adjust
4281         * paragraph_funcs.C (readParToken): adjust
4282
4283 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4284
4285         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4286         vector<char> instead of a char[].
4287
4288         * lyxlex_pimpl.C (getString): adjust
4289         (next): adjust
4290         (lex): use getString
4291         (eatLine): adjust
4292         (nextToken): adjust
4293
4294         * lyxlex.C (text): use pimpl_->getString()
4295         (getBool): ditto
4296         (findToken): ditto
4297
4298 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4301         (makeFontEntriesLayoutSpecific): temp var for par.size()
4302         (setLayout): temp var for ownerParagraphs().end()
4303         (fullRebreak): temp var for rows().end()
4304         (selectionAsString): temp var for boost::next(startpit), realize
4305         that the while really is a regular for loop.
4306         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4307         setCursor in one place.
4308         (setParagraph): temp vr for ownerParagraphs().end()
4309         (updateCounters): make the while loop a for loop
4310         (cutSelection): temp var for ownerParagraphs().end()
4311         (updateInset): make the do {} while() a regular for loop
4312         (getCursorX): use temp vars
4313         (setCurrentFont): use temp vars
4314         (getColumnNearX): use temp vars
4315
4316 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * text.C (transformChar): use temp var for getChar
4319         (computeBidiTables): use temp var for row->par()
4320         (fill): move temp vars for row->par() and pit->layout() earlier in
4321         the function.
4322         (labelFill): use temp var for row->par()
4323         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4324         asc and desc, realize that pit never changes and that firstpit is
4325         just a duplicate and not needed. Exchange rit->par() with pit in a
4326         lot of places.
4327         (breakAgain): use a temp var for boost::next(rit)
4328         (breakAgainOneRow): ditto
4329         (breakParagraph): use a temp var for rows().begin()
4330         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4331         (cursorRightOneWord): use temp var for cursor.par() and
4332         cursor.pos(), remove usage of tmpcursor.
4333         (cursorLeftOneWord): use temp var for cursor.par() and
4334         cursor.pos() only set cur at end of function.
4335
4336 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * text.C, text2.C: exchange all usage of Paragraph::next with
4339         boost::next(ParagraphList::iterator)
4340
4341         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4342
4343         * text2.C (cursorTop): simplify implementation
4344         (cursorBottom): ditto
4345         (setParagraph): use ParagraphList::iterator
4346         (setCurrentFont): adjust
4347         (getColumnNearX): adjust
4348         (cursorRight): adjust
4349         (cursorLeft): remove usage of Paragraph::previous
4350         (cursorUpParagraph): ditto
4351         (deleteEmptyParagraphMechanism): slight cleanup
4352
4353         * text.C (isBoundary): take a Paragraph const & instead of a
4354         pointer as arg.
4355         (addressBreakPoint): ditto
4356         (leftMargin): remove usage of Paragraph::previous.
4357         (setHeightOfRow): ditto
4358         (cursorLeftOneWord): ditto
4359         (selectNextWordToSpellcheck): ditto
4360         (Delete): ditto
4361         (backspace): ditto
4362         (breakParagraph): remove one usage of Paragraph::next
4363         (redoParagraph): ditto
4364         (acceptChange): ditto
4365         (insertChar): adjust
4366         (rowBreakPoint): adjust
4367
4368         * bufferview_funcs.C (toggleAndShow): adjust
4369
4370 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4371
4372         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4373         methods to access it.
4374         * lyxtext.h:
4375         * text.C: Added updateRowPositions to compute all row positions.
4376         Make top_y and getRowNearY() to use the cached y position
4377
4378 2003-04-11  John Levon  <levon@movementarian.org>
4379
4380         * text.C (rowBreakPoint): reintroduce the labelEnd
4381         checks, code copied from the row fill stuff. Deep voodoo.
4382
4383         * text.C (fill): add a comment and debugging for the
4384         next poor soul.
4385
4386 2003-04-11  John Levon  <levon@movementarian.org>
4387
4388         * text.C: make sure fullrow insets get wrapped to the next line,
4389         even when they're in a manual label
4390
4391 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * text2.C (insertParagraph): make it take ParagraphList::iterator
4394         as arg.
4395         (setLayout): make it return ParagraphList::iterator
4396         (redoParagraphs): ditto
4397         (setCounter): ditto
4398         (checkParagraph): ditto
4399
4400         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4401
4402         * text2.C: adjust several funcs.
4403         (realizeFont): take a ParagraphList::iterator as arg.
4404         (getLayoutFont): ditto
4405         (getLabelFont): ditto
4406         (setCharFont): ditto
4407
4408         * text.C: adjust several funcs.
4409
4410 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * text.C (selectNextWordToSpellcheck): don't accidentally
4413         skip insets
4414
4415 2003-04-10  John Levon  <levon@movementarian.org>
4416
4417         * ToolbarBackend.C (getIcon): special handling for
4418         LFUN_MATH_DELIM
4419
4420 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * text2.C (cursorRight): a getChar assert fixed
4423
4424 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * text2.C (getFont): change to take a ParagraphList::iterator
4427         instead of Paragraph*
4428         Adjust several functions.
4429
4430         * text.C (transformChar): change to take a ParagraphList::iterator
4431         instead of Paragraph*
4432         (singleWidth): ditto
4433         Adjust several functions.
4434
4435         * rowpainter.C: adjust several functions
4436         * rowpainter.h:store a ParagraphList::iterator and not a
4437         Paragraph&.
4438
4439
4440 2003-04-09  John Levon  <levon@movementarian.org>
4441
4442         * lyxfunc.C:
4443         * lfuns.h:
4444         * LyXAction.h:
4445         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4446         and the "help" bits as well
4447
4448 2003-04-09  John Levon  <levon@movementarian.org>
4449
4450         * ToolbarBackend.h:
4451         * ToolbarBackend.C: allow multiple toolbars
4452
4453 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4454
4455         * undo_funcs.C (setCursorParUndo): adjust
4456
4457         * text_funcs.C (transposeChars): adjust
4458
4459         * text3.C (gotoNextInset): adjust
4460         (dispatch): adjust
4461
4462         * text2.C (setLayout): adjust
4463         (changeDepth): adjust
4464         (setFont): adjust
4465         (redoParagraphs): adjust
4466         (selectionAsString): adjust
4467         (setParagraph): adjust
4468         (insertInset): adjust
4469         (cutSelection): adjust
4470         (copySelection): adjust
4471         (pasteSelection): adjust
4472         (insertStringAsLines): adjust
4473         (updateInset): adjust
4474         (setCursor): change to take a ParagraphList::iterator parameter
4475         (setCursorIntern): change to take a ParagraphList::iterator parameter
4476         (setCurrentFont): adjust
4477         (cursorLeft): adjust
4478         (cursorRight): adjust
4479         (deleteEmptyParagraphMechanism): adjust
4480
4481         * text.C (breakParagraph): adjust
4482         (insertChar): adjust
4483         (acceptChange): adjust
4484         (rejectChange): adjust
4485         (selectNextWordToSpellcheck): adjust
4486         (changeCase): adjust
4487         (Delete): adjust
4488         (backspace): adjust
4489
4490         * lyxfind.C (SearchForward): adjust
4491         (SearchBackward): adjust
4492         (nextChange): adjust
4493
4494         * lyxcursor.C (par): adjust
4495
4496         * lyxcursor.h: store a ParagraphList::iterator instead of a
4497         Paragraph*
4498
4499         * lyx_cb.C (getPossibleLabel): adjust
4500
4501         * bufferview_funcs.C (toggleAndShow): adjust
4502
4503         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4504         (dispatch): adjust
4505
4506         * BufferView.C (removeAutoInsets): adjust
4507         (lockedInsetStoreUndo): adjust
4508
4509 2003-04-09  John Levon  <levon@movementarian.org>
4510
4511         * ToolbarBackend.C: try icon without argument
4512         if with argument fails
4513
4514 2003-04-08  John Levon  <levon@movementarian.org>
4515
4516         * ToolbarBackend.h:
4517         * ToolbarBackend.C: add getIcon(), handle tooltip,
4518         and change from "Icon" to "Item".
4519
4520 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * BufferView.C (lockInset): another bad getchar crunched
4523
4524 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4527         again)
4528
4529 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4530
4531         * lyxfind.C (searchForward, searchBackwards): bug 782
4532
4533 2003-04-07  John Levon  <levon@movementarian.org>
4534
4535         * paragraph.C: remove dead comment
4536
4537         * text.C: remove troublesome depth-fiddling code
4538         in leftMargin() and rightMargin() (bug 1017)
4539
4540         * text.C: fix breaking of rows in nested lists
4541         (bug 1004)
4542
4543         * text2.C (updateCounters): fix up depth values
4544         (bug 1013)
4545
4546 2003-04-07  John Levon  <levon@movementarian.org>
4547
4548         * BufferView_pimpl.C: clear message when doc finishes resizing,
4549         and after a mouse event
4550
4551         * lyxfunc.C: clear message after exiting inset
4552
4553 2003-04-07  John Levon  <levon@movementarian.org>
4554
4555         * bufferview_funcs.C: show math status not outside
4556         status in the statusbar
4557
4558 2003-04-07  John Levon  <levon@movementarian.org>
4559
4560         * lyxfunc.C: note status changed after a depth change
4561
4562 2003-04-04  Angus Leeming  <leeming@lyx.org>
4563
4564         * LaTeX.h: move AuxInfo operator==, != out of line.
4565         Remove LaTeX virtual destructor; nothing derives from it.
4566         Move operator()() out of public area and rename it startscript().
4567         Change protected for private.
4568
4569 2003-04-04  Angus Leeming  <leeming@lyx.org>
4570
4571         * lyxfunc.C:
4572         * text2.C: remove unneeded #includes.
4573
4574 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * text2.C (dEPM): fix the heigth of the next row
4577
4578 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * text.C: squashed an invalid getChar requester + some ws changes
4581
4582 2003-04-03  John Levon  <levon@movementarian.org>
4583
4584         * bufferview_funcs.h:
4585         * bufferview_funcs.C:
4586         * lyxfunc.C:
4587         * lyxtext.h:
4588         * text2.C: make getStatus work for the env depth lfuns
4589
4590 2003-04-03  John Levon  <levon@movementarian.org>
4591
4592         * bufferview_funcs.h:
4593         * bufferview_funcs.C:
4594         * lyxfunc.C:
4595         * lyxtext.h:
4596         * text2.C: parlistize decDepth(), by merging it with incDepth()
4597
4598 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * lyxrow.h: store a ParagraphList::iterator instead of a
4601         Paragraph* and adjust other class functions to suit.
4602
4603         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4604         above.
4605
4606 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * text2.C (setCursor): do not anchor to cursor row for the time being
4609
4610 2003-04-02  John Levon  <levon@movementarian.org>
4611
4612         * LyXAction.C:
4613         * lfuns.h:
4614         * lyx_main.C:
4615         * lyxtext.h:
4616         * text.C:
4617         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4618
4619 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * paragraph.h: make ParagraphList and ParagraphList::iterator
4622         friends of Paragraph.
4623
4624         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4625
4626         * ParagraphList.C: Use the private next_ and previous_ from
4627         Paragraph.
4628
4629 2003-04-01  John Levon  <levon@movementarian.org>
4630
4631         * ToolbarBackend.h:
4632         * ToolbarBackend.C:
4633         * Makefile.am: rename, remove defaults gunk
4634
4635         * MenuBackend.h:
4636         * MenuBackend.C: remove defaults gunk
4637
4638         * Languages.h:
4639         * Languages.C: remove defaults gunk
4640
4641         * lyx_main.h:
4642         * lyx_main.C: error out if files couldn't be found.
4643
4644 2003-04-02  John Levon  <levon@movementarian.org>
4645
4646         * text2.C: make incDepth() use parlist
4647
4648 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * undo_funcs.C (firstUndoParagraph): adjust
4651
4652         * text3.C (gotoInset): adjust
4653         (dispatch): adjust, and rewrite loop.
4654
4655         * text2.C (init): adjust, and rewrite loop.
4656         (redoParagraphs): adjust
4657         (updateInset): adjust, and rewrite loop.
4658         (deleteEmptyParagraphMechanism): adjust
4659
4660         * tabular.C (LyXTabular): adjust
4661         (SetMultiColumn): adjust
4662         (TeXRow): adjust
4663
4664         * lyxtext.[Ch] (ownerParagraph): delete function
4665         (ownerParagraphs): new function returns a ParagraphList.
4666
4667         * BufferView.C (removeAutoInsets): adjust
4668         (insertErrors): adjust
4669         (setCursorFromRow): adjust
4670
4671 2003-04-01  Angus Leeming  <leeming@lyx.org>
4672
4673         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4674         in the frontends.
4675
4676 2003-04-02  John Levon  <levon@movementarian.org>
4677
4678         * lyxtext.h:
4679         * text.C:
4680         * Makefile.am:
4681         * text_funcs.h:
4682         * text_funcs.C: make transposeChars a free function
4683
4684         * lyxrow_funcs.C: remove wrong comment
4685
4686 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * lyxtext.h: adjust
4689         * rowpainter.C: adjust
4690         * text.C: adjust
4691         * text2.C: adjust
4692         * text3.C: adjust
4693
4694         * lyxrow_funcs. [Ch]: new files
4695
4696         * lyxrow.[Ch]: remove next and previous pointers
4697         (next,previous): remove accessor functions
4698         (isParEnd): move to lyxrow_funcs
4699         (lastPos): move to lyxrow_funcs
4700         (nextRowIsAllInset): move to lyxrow_funcs
4701         (lastPrintablePos): move to lyxrow_funcs
4702         (numberOfSeparators): move to lyxrow_funcs
4703         (numberOfHfills): move to lyxrow_funcs
4704         (numberOfLabelHfills): move to lyxrow_funcs
4705         (hfillExpansion): move to lyxrow_funcs
4706
4707         * lyxfunc.C: adjust
4708
4709         * bufferview_funcs.C (toggleAndShow): adjust
4710
4711         * RowList.h: Remove class RowList from file leave just a
4712         std::list<Row>.
4713
4714         * RowList.C: delete file
4715
4716         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4717         and lyxrow_funcs.h
4718
4719 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * text3.C (cursorPrevious): adjust
4722         (cursorNext): adjust
4723         (dispatch): adjust
4724
4725         * text2.C (redoHeightOfParagraph): adjust
4726         (redoDrawingOfParagraph): adjust
4727         (setCursor): adjust
4728
4729         * text.C (breakParagraph): adjust
4730         (insertChar): adjust
4731         (backspace): adjust
4732
4733         * rowpainter.C (RowPainter): adjust
4734         (leftMargin): simplify and adjust
4735         (most rowpainter functions): adjust.
4736
4737         * rowpainter.h: store the row as RowList::iterator not as Row*
4738
4739         * lyxcursor.C (row): taka RowList::iterator as arg
4740         (irow): ditto
4741
4742         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4743         of Row*.
4744
4745 2003-04-01  Angus Leeming  <leeming@lyx.org>
4746
4747         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4748         stuff like bool Bool.
4749
4750 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4751
4752         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4753         rewrite a loop
4754
4755 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4758         RowList::iterator.
4759
4760         * lyxtext.h (rows): drop one version and leve a const variant that
4761         returns a RowList::iterator.
4762
4763 2003-03-31  Angus Leeming  <leeming@lyx.org>
4764
4765         * text.C (fill): ensure that the signature is the same as that in the
4766         header file.
4767
4768 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * text2.C (redoParagraphs): adjust
4771         (updateCounters): adjust
4772         (checkParagraph): adjust
4773         (getColumnNearX): adjust and reformat a bit.
4774
4775         * text.C (top_y): adjust
4776         (workWidth): adjust
4777         (leftMargin): adjust
4778         (prepareToPrint): adjust
4779         (getRow): adjust
4780         (getRowNearY): adjust
4781
4782         * lyxtext.h: make rowlist_ mutable.
4783
4784         * RowList.h: add const_iterator
4785         * RowList.C: adjust for RowList::const_iterator.
4786
4787         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4788         adjust.
4789
4790 2003-03-31  John Levon  <levon@movementarian.org>
4791
4792         * lyxrc.h:
4793         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4794
4795         * lyx_main.C: set default fonts from using lyx_gui funcs
4796
4797         * exporter.C: pdf_mode moved from lyxrc
4798
4799         * lyx_cb.C:
4800         * lyxfunc.C: changes from above
4801
4802 2003-03-31  John Levon  <levon@movementarian.org>
4803
4804         * lyx_main.C: fix to the last fix
4805
4806 2003-03-31  John Levon  <levon@movementarian.org>
4807
4808         * bufferlist.C: "Load original" -> "Load Original"
4809
4810         * converter.C:
4811         * exporter.C:
4812         * importer.C:
4813         * lyx_main.C:
4814         * format.C: more Alert cleanups
4815
4816 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * text2.C (removeParagraph): make it take a RowList::iterator as
4819         arg, adjust.
4820         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4821         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4822
4823         * text.C (anchor_row): make it take a RowList::iterator as arg,
4824         adjust.
4825         (computeBidiTables): make it take a const reference to Row instead
4826         of Row pointer, adjust.
4827         (leftMargin): make it take a RowList::iterator as arg, adjust.
4828         (rowBreakPoint): adjust
4829         (breakAgainOneRow): make it take a RowList::iterator as arg,
4830         adjust.
4831         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4832
4833         * bufferview_funcs.C (toggleAndShow): adjust
4834
4835 2003-03-30  John Levon  <levon@movementarian.org>
4836
4837         * Makefile.am:
4838         * BoostFormat.h:
4839         * boost-inst.C: moved to support
4840
4841         * several files: changes as a result
4842
4843 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * text2.C (LyXText): adjust.
4846         (init): adjust
4847         (removeRow): make it take a RowList::iterator as arg, adjust.
4848         (fullRebreak): adjust
4849         (deleteEmptyParagraphMechanism): adjust
4850         (clearPaint): adjust
4851         (postPaint): adjust
4852
4853         * text.C (top_y): adjust
4854         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4855         (breakAgain): make it take a RowList::iterator as arg, adjust.
4856         (breakParagraph): adjust
4857         (insertChar): adjust
4858         (backspace): adjust
4859
4860         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4861         need_break_row, and refresh_row.
4862
4863         * text3.C (dispatch): adjust
4864
4865         * text2.C (checkParagraph): adjust
4866         (setCursor): adjust
4867         (setCursorFromCoordinates): adjust
4868
4869         * text.C (top_y): adjust
4870         (workWidth): adjust
4871         (getRow): make it return a RowList::iterator, adjust
4872         (getRowNearY): make it return a RowList::iterator, adjust
4873
4874         * text2.C (init): adjust
4875         (insertRow): remove function
4876         (insertParagraph): adjust
4877         (redoParagraphs): adjust
4878         (fullRebreak): adjust
4879         (updateCounters): adjust
4880
4881         * text.C (top_y): rewrite to use RowList iterators.
4882         (top_y): adjust
4883         (setHeightOfRow): rewrite to sue RowList iterators.
4884         (appendParagraph): adjust
4885         (breakAgain): adjust
4886         (breakAgainOneRow): adjust
4887         (breakParagraph): adjust
4888         (getRow): adjust
4889         (getRowNearY): adjust, and remove commented code.
4890
4891         * lyxtext.h (firstRow): delete function
4892         (lastRow): delete function
4893         (rows): new function (const and non-const versions.)
4894         (insertRow): delete function
4895
4896         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4897
4898 2003-03-29  John Levon  <levon@movementarian.org>
4899
4900         * BufferView_pimpl.C: always update scrollbar top
4901         because pasting text when we're anchored could mean we
4902         miss an update altogether
4903
4904 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * text2.C (init): use rowlist_.end() and not 0.
4907         (insertRow): change to take a RowList::iterator as arg, adjust
4908         for this.
4909         (insertParagraph): change to take a RowList::iterator as arg,
4910         adjust for this.
4911         (redoParagraphs): remove some debug msgs.
4912
4913         * text.C (appendParagraph): change to take a RowList::iterator
4914         arg, adjust for this.
4915         (breakAgain): add an assert
4916         (breakAgainOneRow): ditto
4917
4918 2003-03-29  John Levon  <levon@movementarian.org>
4919
4920         * text2.C: do not clear selection after inc/decDepth
4921         (bug 550)
4922
4923 2003-03-29  John Levon  <levon@movementarian.org>
4924
4925         * BufferView.C:
4926         * buffer.C: fix broken strerrors according to Lars
4927
4928 2003-03-29  John Levon  <levon@movementarian.org>
4929
4930         * converters.C: more Alert cleanups
4931
4932 2003-03-29  John Levon  <levon@movementarian.org>
4933
4934         * bufferview_funcs.C: remove pointless Alert
4935
4936         * buffer.C: fix confusing error message when
4937         a template is chmoded 000
4938
4939 2003-03-29  John Levon  <levon@movementarian.org>
4940
4941         * BufferView.C:
4942         * BufferView.h:
4943         * BufferView_pimpl.C: Alert fixes
4944
4945         * Makefile.am:
4946         * tabular.C:
4947         * tabular-old.C: remove unused table compat reading
4948
4949 2003-03-29  John Levon  <levon@movementarian.org>
4950
4951         * BufferView.C:
4952         * buffer.C:
4953         * lyx_cb.h:
4954         * lyx_cb.C: more Alert cleanups
4955
4956         * lyxfunc.C: don't allow chktex if not latex document
4957
4958 2003-03-29  John Levon  <levon@movementarian.org>
4959
4960         * lyx_cb.C:
4961         * BufferView.C:
4962         * buffer.C: warnings pushed down from support/,
4963         kill err_alert
4964
4965 2003-03-29  John Levon  <levon@movementarian.org>
4966
4967         * lyxfunc.C: safety check for C-r (revert)
4968
4969 2003-03-29  John Levon  <levon@movementarian.org>
4970
4971         * bufferlist.h:
4972         * bufferlist.C: several UI fixes using Alert::prompt.
4973         Fix the pointless looping quit code. Fix stupid revert
4974         behaviour (bug 938)
4975
4976         * lyxvc.h:
4977         * lyxvc.C:
4978         * lyx_cb.C: use Alert::prompt
4979
4980         * lyx_main.C: remove a silly question
4981
4982         * lyxfunc.C: remove a couple of silly questions,
4983         use Alert::prompt
4984
4985 2003-03-28  John Levon  <levon@movementarian.org>
4986
4987         * text2.C: fix bug 974 (End on empty par)
4988
4989 2003-03-28  John Levon  <levon@movementarian.org>
4990
4991         * BufferView_pimpl.C:
4992         * LyXAction.C:
4993         * lfuns.h: remove do-nothing math greek lfuns
4994
4995 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * lyxgluelength.h (isValidGlueLength): add default arg on
4998         parameter 2. Remove default arg from friend in class.
4999
5000         * lyxlength.h (isValidLength): add default arg on parameter 2.
5001         Remove default arg from friend in class.
5002
5003         * text2.C (LyXText): adjust, initialize refresh_row.
5004         (init): adjust
5005         (removeRow): adjust
5006         (insertRow): adjust
5007         (insertParagraph): adjst
5008         (redoParagraphs): adjust
5009         (fullRebreak): adjust
5010         (updateCounters): adjust
5011         (deleteEmptyParagraphMechanism): first attempt at fixing a
5012         crashing bug.
5013
5014         * text.C (top_y): adjust
5015         (setHeightOfRow): adjust
5016         (getRow): adjust
5017         (getRowNearY): adjust
5018
5019         * lyxtext.h: include RowList.h
5020         (~LyXText): not needed anymore, deleted.
5021         (firstRow): modify for RowList
5022         (lastRow): new function
5023         Delete firstrow and lastrow class variables, add a Rowlist
5024         rowlist_ class variable.
5025
5026         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5027         paragraph is empty.
5028
5029         * RowList.C (insert): fix case where it == begin().
5030
5031 2003-03-26  Angus Leeming  <leeming@lyx.org>
5032
5033         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5034         the thesaurus dialog.
5035
5036 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5039
5040         * RowList.[Ch]: new files
5041
5042         * ParagraphList.C (erase): handle the case where it == begin
5043         correctly.
5044
5045 2003-03-25  John Levon  <levon@movementarian.org>
5046
5047         * Makefile.am:
5048         * aspell_local.h:
5049         * aspell.C: add new aspell support
5050
5051         * lyxrc.h:
5052         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5053         have it accessible.
5054
5055 2003-03-25  Angus Leeming  <leeming@lyx.org>
5056
5057         * lfuns.h:
5058         * LyXAction.C (init): new LFUN_INSET_INSERT.
5059
5060         * BufferView_pimpl.C (dispatch): split out part of the
5061         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5062
5063         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5064         LFUN_INSET_APPLY.
5065
5066 2003-03-25  Angus Leeming  <leeming@lyx.org>
5067
5068         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5069
5070 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text2.C:
5073         * text3.C: remove useless row->height(0)
5074
5075 2003-03-25  John Levon  <levon@movementarian.org>
5076
5077         * lyxtext.h:
5078         * text2.C:
5079         * text3.C: rename the refreshing stuff to better names
5080
5081 2003-03-24  John Levon  <levon@movementarian.org>
5082
5083         * BufferView_pimpl.h:
5084         * BufferView_pimpl.C: update layout choice on a mouse
5085         press/release
5086
5087 2003-03-23  John Levon  <levon@movementarian.org>
5088
5089         * Makefile.am: fix commandtags.h reference
5090
5091 2003-03-22  John Levon  <levon@movementarian.org>
5092
5093         * BufferView_pimpl.C:
5094         * lyxtext.h:
5095         * rowpainter.C:
5096         * rowpainter.h:
5097         * text.C:
5098         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5099
5100 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * lyxtext.h:
5103         * text.C: take the rtl methods out of line
5104
5105 2003-03-21 André Pönitz <poenitz@gmx.net>
5106
5107         * metricsinfo.[Ch]: new files containing structures to be passed around
5108         during the two-phase-drawing...
5109
5110 2003-03-21 André Pönitz <poenitz@gmx.net>
5111
5112         * lyxtextclass.C: read 'environment' tag.
5113
5114 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * text2.C (removeRow): fix bug 964
5117
5118 2003-03-20  John Levon  <levon@movementarian.org>
5119
5120         * rowpainter.C:
5121         * text.C:
5122         * text2.C: paint cleanups. Inset::update() dropped font
5123         parameter
5124
5125 2003-03-19  John Levon  <levon@movementarian.org>
5126
5127         * lyxfunc.C: only fitcursor/markDirty if available()
5128
5129 2003-03-19  John Levon  <levon@movementarian.org>
5130
5131         * commandtags.h: rename to ...
5132
5133         * lfuns.h: ... this, and renumber / cleanup
5134
5135 2003-03-19  John Levon  <levon@movementarian.org>
5136
5137         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5138         fit the cursor after an lfun
5139
5140         * BufferView.h:
5141         * BufferView.C:
5142         * BufferView_pimpl.h:
5143         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5144
5145         * LyXAction.C: layout-character should have ReadOnly
5146
5147         * ParagraphParameters.C:
5148         * buffer.C:
5149         * bufferview_funcs.C:
5150         * lyx_cb.C:
5151         * lyxfind.C:
5152         * lyxtext.h:
5153         * text.C:
5154         * text2.C:
5155         * text3.C:
5156         * undo_funcs.C: changes from above
5157
5158 2003-03-18  John Levon  <levon@movementarian.org>
5159
5160         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5161         remove it from update()
5162
5163         * lyxfunc.C: update layout choice after an lfun
5164
5165         * text3.C: remove extra updateLayoutChoice()s
5166
5167 2003-03-18  John Levon  <levon@movementarian.org>
5168
5169         * text.C: top_y change means full repaint, fix
5170         a drawing bug with cursor movement
5171
5172 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * lyxtext.h:
5175         * text.C:
5176         * text2.C: anchor row on setCursor
5177
5178 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5179
5180         * lyxtext.h: remove almost all mutable keywords
5181         * text.C:
5182         * text2.C:
5183         * text3.C: remove const keywords accordingly
5184
5185 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5188         anon namespace
5189         (TeXEnvironment): ditto
5190         (TeXOnePar): ditto
5191
5192 2003-03-17  John Levon  <levon@movementarian.org>
5193
5194         * text.C (rowBreakPoint): remove attempt to fix displayed
5195         math insets inside a manual label
5196
5197 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * lyxtext.h: remove BufferView* as first arg from almost all class
5200         functions.
5201         * other files: adjust.
5202
5203 2003-03-17  John Levon  <levon@movementarian.org>
5204
5205         * lyxtext.h:
5206         * undo_funcs.C:
5207         * text2.C: more paint cleanups
5208
5209         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5210
5211         * rowpainter.h:
5212         * rowpainter.C: remove "smart" background painting code
5213
5214 2003-03-16  John Levon  <levon@movementarian.org>
5215
5216         * lyxtext.h:
5217         * text.C:
5218         * text2.C:
5219         * text3.C: add helper functions for setting refresh_row/y
5220
5221 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5222
5223         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5224         newline inset which *can* get inserted in the pass_thru layouts.
5225         This is primarily for literate documents.
5226
5227 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5228
5229         * buffer.C: increment LYX_FORMAT to 223
5230
5231 2003-03-14 André Pönitz <poenitz@gmx.net>
5232
5233         * textclass.h: prepare for environment handling, ws changes
5234         * lyxlayout.C: read latexheader and latexfooter tags
5235
5236 2003-03-14  John Levon  <levon@movementarian.org>
5237
5238         * text2.C: rewrite ::status() a bit
5239
5240 2003-03-13  John Levon  <levon@movementarian.org>
5241
5242         * lyxtext.h: add some docs
5243
5244 2003-03-13  John Levon  <levon@movementarian.org>
5245
5246         * lyxtext.h:
5247         * text.C:
5248         * text2.C:
5249         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5250
5251 2003-03-13  John Levon  <levon@movementarian.org>
5252
5253         * text3.C: fix appendix redrawing
5254
5255 2003-03-13  John Levon  <levon@movementarian.org>
5256
5257         * text.C (setHeightOfRow):
5258         * rowpainter.h:
5259         * rowpainter.C: make appendix mark have the text
5260           "Appendix" so the user knows what it is
5261
5262         * LColor.h:
5263         * LColor.C: s/appendixline/appendix/ from above
5264
5265 2003-03-13  John Levon  <levon@movementarian.org>
5266
5267         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5268
5269         * text.C: fix a getChar(pos) bug properly
5270
5271 2003-03-13  Angus Leeming  <leeming@lyx.org>
5272
5273         * commandtags.h:
5274         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5275         Probably only temporary. Let's see how things pan out.
5276
5277         * BufferView.C (unlockInset):
5278         * BufferView_pimpl.C (fitCursor):
5279         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5280
5281         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5282         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5283
5284         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5285         new functions that convert ParagraphParameters to and from a string.
5286
5287         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5288         BufferView::Pimpl's dispatch.
5289         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5290
5291 2003-03-13 André Pönitz <poenitz@gmx.net>
5292
5293         * lyxfunc.C:
5294         * text3.C:
5295         * factory.C: make it aware of InsetEnv
5296
5297 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * text2.C (setCursor): never ask for one past last
5300         (setCursor): add some debugging messages.
5301
5302         * text.C (singleWidth): never ask for one past last
5303         (singleWidth): ditto
5304         (leftMargin): ditto
5305         (rightMargin): ditto
5306         (rowBreakPoint): ditto
5307         (setHeightOfRow): ditto
5308         (prepareToPrint): ditto
5309
5310         * rowpainter.C (paintBackground): never ask for one past last
5311         (paintText): never ask for one past last
5312
5313         * paragraph_pimpl.C (getChar): make the assert stricter, never
5314         allow the one past last pos to be taken
5315
5316         * paragraph.C (getChar): ws changes only
5317
5318         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5319         (numberOfSeparators): ditto
5320         (numberOfHfills): ditto
5321
5322 2003-03-12  John Levon  <levon@movementarian.org>
5323
5324         * author.h:
5325         * author.C:
5326         * bufferparams.h:
5327         * bufferparams.C:
5328         * paragraph_funcs.C: fix per-buffer authorlists
5329
5330 2003-03-12  John Levon  <levon@movementarian.org>
5331
5332         * text.C: fix newline in right address
5333
5334 2003-03-12  Angus Leeming  <leeming@lyx.org>
5335
5336         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5337         duplicate those in LyXFunc::dispatch.
5338
5339         * commandtags.h:
5340         * LyXAction.C:
5341         * ToolbarDefaults.C:
5342         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5343         Add LFUN_FONTFREE_UPDATE.
5344
5345         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5346         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5347
5348         * bufferview_func.[Ch]: several new functions to facilliate
5349         transfer of data to and from the character dialog.
5350
5351 2003-03-12  John Levon  <levon@movementarian.org>
5352
5353         * buffer.C:
5354         * paragraph.h:
5355         * paragraph.C:
5356         * paragraph_funcs.C:
5357         * paragraph_pimpl.C:
5358         * sgml.C:
5359         * tabular.C:
5360         * text.C:
5361         * text3.C: remove META_NEWLINE in favour of an inset
5362
5363         * rowpainter.h:
5364         * rowpainter.C: remove paintNewline (done by inset)
5365
5366 2003-03-12  John Levon  <levon@movementarian.org>
5367
5368         * paragraph_pimpl.C: complain about bad getChar()s
5369         for a while at least
5370
5371 2003-03-12  John Levon  <levon@movementarian.org>
5372
5373         * buffer.h:
5374         * buffer.C: move paragraph read into a separate function,
5375         a little renaming to reflect that.
5376
5377         * bufferparams.h:
5378         * bufferparams.C: remove the author_ids map, not necessary now
5379
5380         * factory.h:
5381         * factory.C: moved Buffer::readInset to here
5382
5383         * paragraph_funcs.h:
5384         * paragraph_funcs.C: readParagraph free function moved from
5385         buffer.C
5386
5387         * tabular.C: name change
5388
5389 2003-03-12  John Levon  <levon@movementarian.org>
5390
5391         * buffer.C:
5392         * ParagraphParameters.C: move par params input to
5393         a read() method
5394
5395         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5396         behave like a normal read from the stream wrt reading
5397         a line vs. a \\token
5398
5399 2003-03-12  John Levon  <levon@movementarian.org>
5400
5401         * paragraph.C:
5402         * ParagraphParameters.h:
5403         * ParagraphParameters.C: move output code to a
5404         ::write() method
5405
5406 2003-03-12  John Levon  <levon@movementarian.org>
5407
5408         * BufferView.C (insertLyXFile):
5409         * buffer.h:
5410         * buffer.C:
5411         * tabular.C: use a parlist iterator for creating the
5412           document.
5413
5414 2003-03-12  John Levon  <levon@movementarian.org>
5415
5416         * buffer.C: make current_change static local not
5417           static file-scope
5418
5419 2003-03-12  John Levon  <levon@movementarian.org>
5420
5421         * buffer.C: fix insertStringAsLines for change tracking
5422
5423 2003-03-12  John Levon  <levon@movementarian.org>
5424
5425         * BufferView.C:
5426         * tabular.C:
5427         * buffer.h:
5428         * buffer.C:
5429         * bufferparams.h:
5430         * bufferparams.C: move author list into params. Rename some
5431           functions. Move the header reading into a separate token
5432           loop. Move the header token reading into BufferParams.
5433
5434 2003-03-12  John Levon  <levon@movementarian.org>
5435
5436         * changes.C: put debug inside lyxerr.debugging() checks
5437
5438 2003-03-11 André Pönitz <poenitz@gmx.net>
5439
5440         * factory.C: make it aware of InsetHFill
5441
5442 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5443
5444         * buffer.C (latexParagraphs): move function from here...
5445         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5446         args.
5447
5448 2003-03-10  Angus Leeming  <leeming@lyx.org>
5449
5450         * LyXAction.C (init): fix bug in poplating array with multiple entries
5451         with the same LFUN (spotted by JMarc).
5452
5453 2003-03-10  John Levon  <levon@movementarian.org>
5454
5455         * text.C:
5456         * text2.C: move getColumnNearX() near its
5457         only call site
5458
5459 2003-03-10  John Levon  <levon@movementarian.org>
5460
5461         * text.C: fix break before a minipage
5462
5463 2003-03-10  John Levon  <levon@movementarian.org>
5464
5465         * text.C: fix the last commit
5466
5467 2003-03-09  John Levon  <levon@movementarian.org>
5468
5469         * lyxtext.h:
5470         * text.C:
5471         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5472         bug 365 (don't break before insets unless needed). Don't
5473         return a value > last under any circumstances.
5474
5475 2003-03-09  Angus Leeming  <leeming@lyx.org>
5476
5477         * BufferView_pimpl.C (trackChanges, dispatch): call
5478         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5479
5480 2003-03-09  Angus Leeming  <leeming@lyx.org>
5481
5482         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5483         than Dialogs::showAboutlyx().
5484
5485 2003-03-09  Angus Leeming  <leeming@lyx.org>
5486
5487         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5488         than Dialogs::showTabularCreate().
5489
5490 2003-03-09  John Levon  <levon@movementarian.org>
5491
5492         * lyxtext.h:
5493         * text.C:
5494         * text2.C: 3rd arg to nextBreakPoint was always the same.
5495           Use references.
5496
5497 2003-03-08  John Levon  <levon@movementarian.org>
5498
5499         * lyxrow.C:
5500         * paragraph.C:
5501         * paragraph.h:
5502         * rowpainter.C:
5503         * text.C:
5504         * text2.C: Remove the "main" bit from the "main body"
5505           notion.
5506
5507 2003-03-08  John Levon  <levon@movementarian.org>
5508
5509         * text.C (leftMargin): The left margin of an empty
5510         manual label paragraph should not include the label width
5511         string length.
5512
5513         * text.C (prepareToPrint): don't attempt to measure hfills
5514         for empty manual label paragraphs - the answer should be 0
5515
5516 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * CutAndPaste.C: remove commented code and reindent.
5519
5520 2003-03-08  John Levon  <levon@movementarian.org>
5521
5522         * lyxfunc.h:
5523         * lyxfunc.C: move reloadBuffer()
5524
5525         * BufferView.h:
5526         * BufferView.C: to here
5527
5528         * lyxvc.C: add comment
5529
5530         * vc-backend.h:
5531         * vc-backend.C: call bv->reload() to avoid
5532           getStatus() check on MENURELOAD
5533
5534 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5535
5536         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5537         to an old format .dep file.
5538
5539 2003-03-07  Angus Leeming  <leeming@lyx.org>
5540
5541         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5542         when the LFUN_MOUSE_RELEASE should have been handled by
5543         inset->localDispatch.
5544
5545 2003-03-07  Angus Leeming  <leeming@lyx.org>
5546
5547         * BufferView_pimpl.C (dispatch):
5548         * LyXAction.C (init):
5549         * ToolbarDefaults.C (init):
5550         * commandtags.h:
5551         * lyxfunc.C (getStatus):
5552         remove LFUN_INSET_GRAPHICS.
5553
5554         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5555
5556 2003-03-07  Angus Leeming  <leeming@lyx.org>
5557
5558         * commandtags.h:
5559         * LyXAction.C (init):
5560         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5561
5562         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5563
5564         * commandtags.h:
5565         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5566
5567         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5568         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5569
5570 2003-03-07  Angus Leeming  <leeming@lyx.org>
5571
5572         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5573         remove "ert".
5574
5575 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * ParagraphList.C (front): new function
5578         (back): implement
5579
5580 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5583         and top_row_offset_. removed var first_y.
5584         * text.C (top_y):
5585         * text2.C (LyXText, removeRow):
5586         * text3.C:
5587         * BufferView_pimpl.C:
5588         use these methods instead of using first_y
5589
5590 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * text2.C (pasteSelection): adjust for checkPastePossible
5593
5594         * CutAndPaste.C: remove Paragraph * buf and replace with
5595         ParagraphList paragraphs.
5596         (DeleteBuffer): delete
5597         (cutSelection): change the tc type to textclass_type
5598         (copySelection): change the tc type to textclass_type
5599         (copySelection): adjust for ParagraphList
5600         (pasteSelection): change the tc type to textclass_type
5601         (pasteSelection): adjust for Paragraphlist
5602         (nrOfParagraphs): simplify for ParagraphList
5603         (checkPastePossible): simplify for ParagraphList
5604         (checkPastePossible): remove unused arg
5605
5606         * ParagraphList.C (insert): handle the case where there are no
5607         paragraphs yet.
5608
5609         * CutAndPaste.h: make CutAndPaste a namespace.
5610
5611         * text3.C (dispatch): adjust
5612
5613         * text.C (breakParagraph): add a ParagraphList as arg
5614
5615         * paragraph_funcs.C (breakParagraph): change to take a
5616         BufferParams and a ParagraphList as args.
5617         (breakParagraphConservative): ditto
5618         (mergeParagraph): ditto
5619         (TeXDeeper): add a ParagraphList arg
5620         (TeXEnvironment): ditto
5621         (TeXOnePar): ditto
5622
5623         * buffer.C (readLyXformat2): adjust
5624         (insertStringAsLines): adjust
5625         (latexParagraphs): adjust
5626
5627         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5628         (cutSelection): adjust
5629         (pasteSelection): adjust
5630
5631         * BufferView_pimpl.C (insertInset): adjust
5632
5633 2003-03-05  Angus Leeming  <leeming@lyx.org>
5634
5635         * commandtags.h:
5636         * LyXAction.C (init):
5637         * BufferView_pimpl.C (dispatch):
5638         * lyxfunc.C (getStatus):
5639         remove LFUN_CHILD_INSERT.
5640
5641         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5642
5643 2003-03-05  Angus Leeming  <leeming@lyx.org>
5644
5645         * commandtags.h:
5646         * LyXAction.C (init):
5647         * src/factory.C (createInset):
5648         * lyxfunc.C (getStatus):
5649         * text3.C (dispatch):
5650         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5651
5652         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5653
5654 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * ParagraphList.C (insert): handle insert right before end()
5657         (erase): fix cases where it can be first or last paragraph.
5658
5659 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5662         Paragraph::next and Paragraph::previous
5663         (TeXOnePar): ditto
5664
5665         * text.C (breakParagraph): adjust
5666
5667         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5668         BufferParams& as arg.
5669         (breakParagraph): use ParagraphList::insert
5670         (breakParagraphConservative): take a Buffer* instead of a
5671         BufferParams& as arg.
5672         (breakParagraphConservative): use ParagraphList::insert.
5673
5674         * buffer.C (insertStringAsLines): un-const it
5675         (insertStringAsLines): adjust
5676
5677         * ParagraphList.C (insert): new function
5678
5679         * CutAndPaste.C (pasteSelection): adjust
5680
5681         * text.C (backspace): adjust
5682
5683         * tabular.C (SetMultiColumn): adjust
5684
5685         * CutAndPaste.C (cutSelection): adjust
5686         (pasteSelection): adjust
5687
5688         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5689         Buffer const * as arg
5690
5691         * ParagraphList.C (erase): new function
5692         * paragraph_funcs.C (mergeParagraph): use it
5693         (mergeParagraph): make it take a Buffer* instead of a
5694         BufferParams* as arg
5695
5696         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5697         as arg
5698         (breakParagraphConservative): ditto
5699
5700         * paragraph.h: remove the breakParagraph friend
5701
5702         * paragraph.C (eraseIntern): new function
5703         (setChange): new function
5704
5705         * paragraph_funcs.C (mergeParagraph): make it take a
5706         ParagraphList::iterator instead of a Paragraph *, adjust
5707         accordingly.
5708
5709         * paragraph.h: move an #endif so that the change tracking stuff
5710         also works in the NO_NEXT case.
5711
5712 2003-03-04  Angus Leeming  <leeming@lyx.org>
5713
5714         * commandtags.h:
5715         * LyXAction.C: new LFUN_INSET_MODIFY.
5716
5717         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5718         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5719
5720 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * several files: ws changes only
5723
5724         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5725         (TeXEnvironment): ditto
5726         (TeXDeeper): ditto
5727
5728         * buffer.C (makeLaTeXFile): adjust
5729         (latexParagraphs): make it take ParagraphList::iterator as args
5730
5731 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * buffer.C (latexParagraphs): adjust
5734
5735         * paragraph.C (TeXOnePar): move function...
5736         (optArgInset): move function...
5737         (TeXEnvironment): move function...
5738         * paragraph_pimpl.C (TeXDeeper): move function...
5739         * paragraph_funcs.C: ...here
5740
5741         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5742
5743 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * buffer.C (readInset): remove compability code for old Figure and
5746         InsetInfo insets
5747
5748 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * buffer.C: ws changes
5751         (readInset):
5752
5753         * BufferView_pimpl.C: ditto
5754         * author.C: ditto
5755         * buffer.h: ditto
5756         * bufferlist.h: ditto
5757         * changes.h: ditto
5758         * lyxfunc.C: ditto
5759
5760 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5761
5762         * converter.[Ch]: split into itself +
5763         * graph.[Ch]
5764         * format.[Ch]
5765         * Makefile.am: += graph.[Ch] + format.[Ch]
5766         * MenuBackend.C
5767         * buffer.C
5768         * exporter.C
5769         * importer.C
5770         * lyx_main.C
5771         * lyxfunc.C
5772         * lyxrc.C: added #include "format.h"
5773
5774 2003-02-27  Angus Leeming  <leeming@lyx.org>
5775
5776         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5777           a label.
5778
5779         * factory.C (createInset): add "label" to the factory.
5780
5781         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5782           string and do no more.
5783
5784 2003-02-27  Angus Leeming  <leeming@lyx.org>
5785
5786         * commandtags.h:
5787         * LyXAction.C (init):
5788         * factory.C (createInset):
5789         * BufferView_pimpl.C (dispatch):
5790           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5791
5792         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5793
5794         * lyxfunc.C (dispatch):
5795         * text3.C (dispatch): pass name to params2string.
5796
5797 2003-02-26  Angus Leeming  <leeming@lyx.org>
5798
5799         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5800           blocks together.
5801           Rearrange the ~includes. Strip out the unnecessary ones.
5802
5803         * factory.C (createInset): reformat.
5804           create new insets for the various LFUN_XYZ_APPLY lfuns.
5805
5806 2003-02-26  John Levon  <levon@movementarian.org>
5807
5808         * lyxrow.h:
5809         * lyxrow.C: add isParStart,isParEnd helpers
5810
5811         * paragraph.h: make isInserted/DeletedText take refs
5812
5813         * paragraph_funcs.h:
5814         * paragraph_funcs.C: remove #if 0'd code
5815
5816         * lyxtext.h:
5817         * text3.C:
5818         * text2.C:
5819         * text.C: use lyxrow helpers above.
5820           Move draw and paint routines to RowPainter.
5821           Make several methods use refs not pointers.
5822           Make backgroundColor() const.
5823           Add markChangeInDraw(), isInInset().
5824           Merge changeRegionCase into changeCase.
5825           Make workWidth() shouldn't-happen code into an Assert.
5826
5827         * rowpainter.h:
5828         * rowpainter.C: new class for painting a row.
5829
5830         * vspace.h:
5831         * vspace.C: make inPixels take a ref
5832
5833 2003-02-26  Angus Leeming  <leeming@lyx.org>
5834
5835         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5836         LFUN_REF_APPLY.
5837
5838 2003-02-25  John Levon  <levon@movementarian.org>
5839
5840         * ispell.C: give the forked command a more accurate name
5841
5842 2003-02-22  John Levon  <levon@movementarian.org>
5843
5844         * toc.h:
5845         * toc.C: make TocItem store an id not a Paragraph *
5846           (bug #913)
5847
5848 2003-02-21  Angus Leeming  <leeming@lyx.org>
5849
5850         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5851           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5852           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5853           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5854           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5855           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5856
5857         * BufferView_pimpl.C (dispatch):
5858         * LyXAction.C (init):
5859         * factory.C (createInset):
5860         * lyxfunc.C (getStatus, dispatch):
5861         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5862
5863 2003-02-21  Angus Leeming  <leeming@lyx.org>
5864
5865         * BufferView_pimpl.C (MenuInsertLyXFile):
5866         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5867         * lyxfunc.C (menuNew, open, doImport):
5868           no longer pass a LyXView & to fileDlg.
5869
5870 2003-02-21  Angus Leeming  <leeming@lyx.org>
5871
5872         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5873         * LyXAction.C: change, BIBKEY to BIBITEM.
5874         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5875         Change InsetBibKey to InsetBibitem.
5876         Change BIBKEY_CODE to BIBITEM_CODE.
5877         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5878         * factory.C: replace insetbib.h with insetbibitem.h.
5879         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5880         * paragraph.C: replace insetbib.h with insetbibitem.h.
5881         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5882         Change bibkey() to bibitem().
5883         * text.C: remove insetbib.h.
5884         * text2.C: replace insetbib.h with insetbibitem.h.
5885         change bibkey() to bibitem().
5886         * text3.C: remove insetbib.h.
5887         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5888
5889 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5890
5891         * lyxrc.C (output): enclose user email in quotes (in case there are
5892         several words)
5893
5894 2003-02-18  John Levon  <levon@movementarian.org>
5895
5896         * buffer.h: add std::
5897
5898 2003-02-17  John Levon  <levon@movementarian.org>
5899
5900         * SpellBase.h:
5901         * ispell.h:
5902         * ispell.C:
5903         * pspell.h:
5904         * pspell.C: reworking. Especially in ispell, a large
5905           number of clean ups and bug fixes.
5906
5907         * lyxfunc.C: fix revert to behave sensibly
5908
5909 2003-02-17 André Pönitz <poenitz@gmx.net>
5910
5911         * LyXAction.C:
5912         * commandtags.h: new LFUN_INSERT_BIBKEY
5913
5914         * layout.h:
5915         * lyxlayout.C:
5916         * buffer.C:
5917         * factory.C:
5918         * text.C:
5919         * text2.C:
5920         * text3.C:
5921         * paragraph.[Ch]:
5922         * paragraph_func.C: remove special bibkey handling
5923
5924 2003-02-17  John Levon  <levon@movementarian.org>
5925
5926         * text.C (Delete): fix case where delete at the end of
5927           the very first paragraph would not merge the pars
5928
5929 2003-02-17  John Levon  <levon@movementarian.org>
5930
5931         * lyxrow.C: fix lastPrintablePos()
5932
5933 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5934
5935         * bufferparams.C (writeLaTeX): add a std:here
5936
5937         * buffer.C: and remove a using directive there
5938
5939 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5940
5941         * buffer.C (makeLaTeXFile): move the code that generates the
5942           preamble...
5943
5944         * bufferparams.C (writeLaTeX): ... in this new method
5945
5946         * LaTeXFeatures.C (getEncodingSet): make const
5947           (getLanguages): make const
5948
5949         * MenuBackend.C (binding): returns the binding associated to this
5950           action
5951           (add): sets the status of each item by calling getStatus. Adds
5952           some intelligence.
5953           (read): add support for OptSubMenu
5954           (expand): remove extra separator at the end of expanded menu
5955
5956 2003-02-15  John Levon  <levon@movementarian.org>
5957
5958         * BufferView.C:
5959         * BufferView_pimpl.C:
5960         * bufferlist.h:
5961         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5962           inset code that had no actual effect. Remove unneeded status
5963           code.
5964
5965 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5966
5967         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5968           in preamble
5969
5970 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5971
5972         * text.C (drawLengthMarker): also draw an arrow marker for
5973           symbolic lengths (medskip...)
5974
5975 2003-02-14  John Levon  <levon@movementarian.org>
5976
5977         * tabular.h:
5978         * tabular.C: better method names
5979
5980 2003-02-14  John Levon  <levon@movementarian.org>
5981
5982         * BufferView_pimpl.C:
5983         * bufferlist.C:
5984         * buffer.C:
5985         * converter.C:
5986         * lyx_cb.C:
5987         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5988           it's a more accurate name. Remove some pointless uses.
5989
5990 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5991
5992         * text2.C (LyXText): change order of initilizers to shut off
5993           warnings
5994
5995 2003-02-14  John Levon  <levon@movementarian.org>
5996
5997         * buffer.C: use ParIterator for getParFromID()
5998
5999         * paragraph.h:
6000         * paragraph.C:
6001         * paragraph_pimpl.h:
6002         * paragraph_pimpl.C: remove unused getParFromID()
6003
6004 2003-02-14  John Levon  <levon@movementarian.org>
6005
6006         * buffer.C: remove some very old #if 0'd parse code
6007
6008 2003-02-13  John Levon  <levon@movementarian.org>
6009
6010         * text.h:
6011         * text.C:
6012         * text2.C: move hfillExpansion(), numberOfSeparators(),
6013           rowLast(), rowLastPrintable(), numberofHfills(),
6014           numberOfLabelHfills() ...
6015
6016         * lyxrow.h:
6017         * lyxrow.C: ... to member functions here.
6018
6019         * paragraph.h:
6020         * paragraph.C:
6021         * lyxtext.h:
6022         * text.C: remove LyXText::beginningOfMainBody(), and call
6023           p->beginningOfMainBody() directly. Move the check for
6024           LABEL_MANUAL into the latter.
6025
6026         * text.h:
6027         * text.C:
6028         * text2.C:
6029         * vspace.C:
6030         * BufferView.h:
6031         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6032
6033         * text.h:
6034         * text.C:
6035         * text2.C:
6036         * text3.C:
6037         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6038           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6039
6040 2003-02-13  John Levon  <levon@movementarian.org>
6041
6042         * CutAndPaste.C: remove debug
6043
6044 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6045
6046         * paragraph.C (asString): remove two unused variables
6047
6048         * lyxtextclass.C (readTitleType):
6049           (Read):
6050           (LyXTextClass): handle new members titletype_ and titlename_
6051
6052         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6053
6054 2003-02-09  John Levon  <levon@movementarian.org>
6055
6056         * buffer.h:
6057         * buffer.C: replace hand-coded list with a map for the dep clean
6058
6059 2003-02-08  John Levon  <levon@movementarian.org>
6060
6061         * LaTeX.C: consolidate code into showRunMessage() helper
6062
6063 2003-02-08  John Levon  <levon@movementarian.org>
6064
6065         * lyxfind.C:
6066         * lyxtext.h:
6067         * text2.C:
6068         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6069           and pass the size in explicitly
6070
6071         * BufferView_pimpl.h:
6072         * BufferView_pimpl.C:
6073         * BufferView.h:
6074         * BufferView.C: add getCurrentChange()
6075
6076         * BufferView_pimpl.h:
6077         * BufferView_pimpl.C: handle change lfuns
6078
6079         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6080           for changes. Mark pasted paragraphs as new.
6081
6082         * support/lyxtime.h:
6083         * support/lyxtime.C:
6084         * DepTable.C: abstract time_t as lyx::time_type
6085
6086         * LColor.h:
6087         * LColor.C: add colours for new text, deleted text, changebars
6088
6089         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6090           package use "usenames" option.
6091
6092         * commandtags.h:
6093         * lyxfunc.C:
6094         * LyXAction.C: add change lfuns
6095
6096         * Makefile.am:
6097         * author.h:
6098         * author.C: author handling
6099
6100         * buffer.h:
6101         * buffer.C: add a per-buffer author list, with first entry as
6102           current author. Handle new .lyx tokens for change tracking. Output
6103           author list to .lyx file. Output dvipost stuff to .tex preamble.
6104           Bump lyx format to 222.
6105
6106         * bufferlist.h:
6107         * bufferlist.C: add setCurrentAuthor() to reset current author details
6108           in all buffers.
6109
6110         * bufferparams.h:
6111         * bufferparams.C: add param for tracking
6112
6113         * bufferview_funcs.C: output change info in minibuffer
6114
6115         * Makefile.am:
6116         * changes.h:
6117         * changes.C: add change-tracking structure
6118
6119         * debug.h:
6120         * debug.C: add CHANGES debug flag
6121
6122         * lyxfind.h:
6123         * lyxfind.C: add code for finding the next change piece
6124
6125         * lyxrc.h:
6126         * lyxrc.C: add user_name and user_email
6127
6128         * lyxrow.h:
6129         * lyxrow.C: add a metric for the top of the text line
6130
6131         * lyxtext.h:
6132         * text.C: implement accept/rejectChange()
6133
6134         * lyxtext.h:
6135         * text.C: paint changebars. Paint new/deleted text in the chosen
6136         colours. Strike through deleted text.
6137
6138         * paragraph.h:
6139         * paragraph.C:
6140         * paragraph_pimpl.h:
6141         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6142           in the current change to the insert functions. Rework erase to
6143           mark text as deleted, adding an eraseIntern() and a range-based
6144           erase(). Implement per-paragraph change lookup and
6145           accept/reject.
6146
6147         * paragraph_funcs.C: Fixup paste for change tracking.
6148
6149         * tabular.C: mark added row/columns as new.
6150
6151         * text.C: fix rowLast() to never return -1. Don't allow
6152           spellchecking of deleted text. Track transpose changes. Don't
6153           allow paragraph break or merge where appropriate.
6154
6155         * text2.C: leave cursor at end of selection after a cut.
6156
6157 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * text.C (getLengthMarkerHeight):
6160         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6161         visible on screen too.
6162
6163 2003-02-07  John Levon  <levon@movementarian.org>
6164
6165         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6166
6167 2003-02-05  Angus Leeming  <leeming@lyx.org>
6168
6169         * lyxserver.C (read_ready): revert my patch of 11 September last year
6170         as it sends PC cpu through the roof. Presumably this means that
6171         the lyxserver will no longer run on an Alpha...
6172
6173 2003-01-30  Angus Leeming  <leeming@lyx.org>
6174
6175         * factory.C (createInset): create an InsetCommandParam of type "index"
6176         and use it to 'do the right thing'.
6177
6178         * text2.C (getStringToIndex): ensure that cursor position is always
6179         reset to the reset_cursor position.
6180
6181 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6182
6183         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6184         disabled.
6185
6186 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6187
6188         * bufferview.C:
6189         * lyxcb.C:
6190         * lyxfunc.C: Output messages with identical spelling, punctuation,
6191         and spaces
6192
6193 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6194
6195         * MenuBackend.C (expandFormats): List only viewable export formats
6196         in "View" menu
6197
6198         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6199         message
6200
6201         * lyxfunc.C (getStatus): Make sure that formats other than
6202         "fax" can also be disabled
6203
6204 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6205
6206         * text3.C (dispatch): put the lfuns that insert insets in 3
6207         groups, and call doInsertInset with appropriate arguments.
6208         (doInsertInset): new function, that creates an inset and inserts
6209         it according to some boolean parameters.
6210
6211 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * buffer.C (readFile): remember to pass on 'par' when calling
6214         readFile recursively.
6215
6216 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6217
6218         * MenuBackend.C (expandFormats): add "..." to import formats.
6219
6220 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6221
6222         * paragraph.C (asString): Remove XForms RTL hacks.
6223
6224 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6225         * buffer.C: fix typo
6226
6227 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * Makefile.am (LIBS): delete var
6230         (lyx_LDADD): add @LIBS@ here instead.
6231
6232 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6233
6234         * Clarify the meaning of "wheel mouse jump"
6235
6236 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6239         tabular in a float
6240
6241 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6242
6243         * importer.C (Loaders): do not preallocate 3 elements in the
6244         vector, since one ends up with 6 elements otherwise
6245
6246 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6247
6248         * DepTable.C (write): write the file name as last element of the
6249         .dep file (because it may contain spaces)
6250         (read): read info in the right order
6251
6252 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6253
6254         * paragraph_pimpl.C (simpleTeXBlanks):
6255         (simpleTeXSpecialChars):
6256         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6257
6258         * tabular.C (latex): add some missing case statements. Reindent.
6259
6260         * MenuBackend.C (expandToc): remove unused variable.
6261
6262 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6263
6264         * LColor.C:
6265         * LaTeX.C:
6266         * LyXAction.C:
6267         * MenuBackend.C:
6268         * buffer.C:
6269         * exporter.C:
6270         * lyxfunc.C:
6271         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6272         and the like.
6273
6274 2003-01-05  John Levon  <levon@movementarian.org>
6275
6276         * BufferView.h:
6277         * BufferView.C: add getEncoding()
6278
6279         * kbsequence.h:
6280         * kbsequence.C: do not store last keypress
6281
6282         * lyxfunc.h:
6283         * lyxfunc.C: store last keypress here instead. Pass encoding
6284           to getISOEncoded()
6285
6286 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6287
6288         * lyx_main.C (init): remove annoying error message when following
6289         symbolic links (bug #780)
6290
6291 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6292
6293         * text.C (insertChar):
6294         * lyxrc.C (getDescription): remove extra spaces
6295
6296 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6297
6298         * lyxrc.C (getDescription): remove extra spaces
6299
6300 2002-12-20  John Levon  <levon@movementarian.org>
6301
6302         * text3.C: hack fix for page up/down across tall rows
6303
6304 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6305
6306         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6307         not been invoked
6308
6309 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6310
6311         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6312         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6313         thesaurus is not compiled in
6314
6315 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6316
6317         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6318
6319 2002-12-16  Angus Leeming  <leeming@lyx.org>
6320
6321         * lyxrc.[Ch]:
6322         * lyx_main.C (init): remove override_x_deadkeys stuff.
6323
6324 2002-12-12  John Levon  <levon@movementarian.org>
6325
6326         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6327           insert. Only remove shift modifier under strict
6328           circumstances.
6329
6330 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * MenuBackend.C (expandToc): fix crash.
6333
6334 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * MenuBackend.C (expandToc): gettext on float names.
6337
6338 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6339
6340         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6341         implement bool empty() [bug 490]
6342
6343 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6344
6345         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6346
6347 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * several files: ws changes
6350
6351 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * text2.C (setCounter): clean up a bit, use boost.format.
6354         (updateCounters): initialize par upon declaration.
6355
6356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6357         if the layout exists. We do not just store the layout any more.
6358         (SwitchLayoutsBetweenClasses): use boost.format
6359
6360 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6361
6362         * converter.C (convert): if from and to files are the same, use a
6363         temporary files as intermediary
6364
6365 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6366
6367         * commandtags.h:
6368         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6369
6370 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6371
6372         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6373
6374 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * tabular.C (asciiPrintCell): use string(size, char) instead of
6377         explicit loop.
6378
6379         * sgml.C (openTag): fix order of arguments to string constructor
6380         (closeTag): ditto
6381
6382         * lyxfunc.C (dispatch): use boost.format
6383
6384         * lots of files: change "c" -> 'c'
6385
6386 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6387
6388         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6389
6390 2002-11-25  Angus Leeming  <leeming@lyx.org>
6391
6392         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6393
6394         * lyx_main.C (init): compile fix.
6395
6396 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * lyx_cb.C (start): boost.formatify
6399         do not include <iostream>
6400
6401         * lengthcommon.C: ws only
6402
6403         * boost-inst.C,BoostFormat.h: add more explict instantations
6404
6405 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * lots of files: handle USE_BOOST_FORMAT
6408
6409 2002-11-21  John Levon  <levon@movementarian.org>
6410
6411         * pspell.C: fix compile
6412
6413 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6414
6415         * lyxfunc.C (dispatch): use boost::format
6416         (open): ditto
6417         (doImport): ditto
6418
6419         * lyxfont.C (stateText): use boost::format
6420
6421         * lyx_main.C (LyX): use boost::format
6422         (init): ditto
6423         (queryUserLyXDir): ditto
6424         (readRcFile): ditto
6425         (parse_dbg): ditto
6426         (typedef boost::function): use the recommened syntax.
6427
6428         * importer.C (Import): use boost::format
6429
6430         * debug.C (showLevel): use boost::format
6431
6432         * converter.C (view): use boost::format
6433         (convert): ditto
6434         (move): ditto
6435         (scanLog): ditto
6436
6437         * bufferview_funcs.C (currentState): use boost::format
6438
6439         * bufferlist.C (emergencyWrite): use boost::format
6440
6441         * buffer.C (readLyXformat2): use boost::format
6442         (parseSingleLyXformat2Token): ditto
6443
6444         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6445
6446         * LaTeX.C (run): use boost::format
6447
6448         * Chktex.C (scanLogFile): use boost::format
6449
6450         * BufferView_pimpl.C (savePosition): use boost::format
6451         (restorePosition): ditto
6452         (MenuInsertLyXFile): ditto
6453
6454         * BoostFormat.h: help file for explicit instation.
6455
6456 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6457
6458         * tabular.C (latex): Support for block alignment in fixed width
6459         columns.
6460
6461 2002-11-17  John Levon  <levon@movementarian.org>
6462
6463         * BufferView_pimpl.C:
6464         * lyx_cb.C:
6465         * lyxfunc.C: split filedialog into open/save
6466
6467 2002-11-08  Juergen Vigna  <jug@sad.it>
6468
6469         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6470         by my last patch (hopefully).
6471
6472 2002-11-08  John Levon  <levon@movementarian.org>
6473
6474         * iterators.h:
6475         * iterators.C:
6476         * buffer.h:
6477         * buffer.C:
6478         * paragraph.h:
6479         * paragraph.C:
6480         * toc.h:
6481         * toc.C: ParConstIterator, and use it (from Lars)
6482
6483 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6484
6485         * lyxtextclass.[Ch]: revise and add doxygen comments
6486
6487 2002-11-07  John Levon  <levon@movementarian.org>
6488
6489         * text.C: fix progress value for spellchecker
6490
6491         * toc.C: fix navigate menu for insetwrap inside minipage
6492
6493         * paragraph_funcs.C: added FIXME for suspect code
6494
6495 2002-11-07  John Levon  <levon@movementarian.org>
6496
6497         * BufferView_pimpl.C: fix redrawing of insets
6498           on buffer switch
6499
6500 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6501
6502         * text2.C (updateCounters): fix bug 668
6503
6504 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6505
6506         * text3.C (dispatch): Do not make the buffer dirty when moving the
6507         cursor.
6508
6509 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * vc-backend.C: STRCONV
6512         (scanMaster): ditto
6513
6514         * text2.C (setCounter): STRCONV
6515
6516         * paragraph.C (asString): STRCONV
6517
6518         * lyxlength.C (asString): STRCONV
6519         (asLatexString): ditto
6520
6521         * lyxgluelength.C (asString): STRCONV
6522         (asLatexString): ditto
6523
6524         * lyxfunc.C (dispatch): STRCONV
6525         (open): ditto
6526
6527         * lyxfont.C (stateText): STRCONV
6528
6529         * importer.C (Import): STRCONV
6530
6531         * counters.C (labelItem): STRCONV
6532         (numberLabel): ditto
6533         (numberLabel): remove unused ostringstream o
6534
6535         * chset.C: STRCONV
6536         (loadFile): ditto
6537
6538         * bufferview_funcs.C (currentState): STRCONV
6539
6540         * buffer.C (readFile): STRCONV
6541         (asciiParagraph): ditto
6542         (makeLaTeXFile): ditto
6543
6544         * Spacing.C (writeEnvirBegin): STRCONV
6545
6546         * LaTeXFeatures.C (getLanguages): STRCONV
6547         (getPackages): ditto
6548         (getMacros): ditto
6549         (getBabelOptions): ditto
6550         (getTClassPreamble): ditto
6551         (getLyXSGMLEntities): ditto
6552         (getIncludedFiles): ditto
6553
6554         * LaTeX.C: STRCONV
6555         (run): ditto
6556         (scanAuxFile): ditto
6557         (deplog): ditto
6558
6559         * LString.h: add the STRCONV macros
6560
6561         * BufferView_pimpl.C (savePosition): STRCONV
6562         (restorePosition): ditto
6563         (MenuInsertLyXFile): ditto
6564
6565         * vc-backend.C (scanMaster): change from submatch[...] to
6566         submatch.str(...)
6567
6568         * funcrequest.C: include config.h
6569
6570         * factory.C: include config.h
6571
6572         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6573
6574         * box.C: include config.h
6575
6576         * LaTeX.C (scanAuxFile): change from submatch[...] to
6577         submatch.str(...)
6578         (deplog): ditto
6579
6580 2002-10-25  Angus Leeming  <leeming@lyx.org>
6581
6582         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6583
6584         * ispell.[Ch] (setError): new method.
6585         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6586         Use setError() insetead of goto END.
6587
6588         * lyx_cb.C (AutoSave): move out child process into new class
6589         AutoSaveBuffer.
6590
6591 2002-10-30  John Levon  <levon@movementarian.org>
6592
6593         * text3.C: make start appendix undoable
6594
6595 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6596
6597         * lyxlength.C (inPixels): Fix returned value.
6598
6599         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6600         environment.
6601
6602 2002-10-24  Angus Leeming  <leeming@lyx.org>
6603
6604         * lyxgluelength.h: no need to forward declare BufferParams
6605         or BufferView, so don't.
6606
6607 2002-10-21  John Levon  <levon@movementarian.org>
6608
6609         * BufferView.C: menuUndo ->undo, redo
6610
6611         * BufferView.h: document, remove dead, make some methods private
6612
6613         * paragraph_funcs.h:
6614         * paragraph_funcs.C:
6615         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6616
6617         * buffer.h:
6618         * buffer.C:
6619         * sgml.h:
6620         * sgml.C: move sgml open/close tag into sgml.C
6621
6622         * bufferview_funcs.h: unused prototype
6623
6624         * lyxfunc.h:
6625         * lyxfunc.C: remove unused
6626
6627         * lyxtext.h:
6628         * text.C: remove unused
6629
6630 2002-10-21  John Levon  <levon@movementarian.org>
6631
6632         * BufferView.h:
6633         * BufferView.C:
6634         * BufferView_pimpl.h:
6635         * BufferView_pimpl.C: fix mouse wheel handling based on
6636           patch from Darren Freeman
6637
6638 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6639
6640         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6641
6642 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6643
6644         * lyxlength.C (inPixels): Fix hanfling of negative length.
6645         Fix LyXLength::MU case.
6646
6647 2002-10-16  John Levon  <levon@movementarian.org>
6648
6649         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6650
6651 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6652
6653         * converter.C (view): add support for $$i (file name) and $$p
6654         (file path) for the viewer command. If $$i is not specified, then
6655         it is appended to the command (for compatibility with old syntax)
6656
6657 2002-10-14  Juergen Vigna  <jug@sad.it>
6658
6659         * undo_funcs.C (textHandleUndo): alter the order in which the
6660         new undopar is added to the LyXText, as we have to set first
6661         the right prev/next and then add it as otherwise the rebuild of
6662         LyXText is not correct. Also reset the cursor to the right paragraph,
6663         with this IMO we could remove the hack in "redoParagraphs()".
6664
6665 2002-10-09  Angus Leeming  <leeming@lyx.org>
6666
6667         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6668         to turn off an optimisation if a new inset is to be inserted.
6669
6670 2002-10-11 André Pönitz <poenitz@gmx.net>
6671
6672         * lyxtext.h: make some functions public to allow access
6673         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6674
6675 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6676
6677         * text3.C (dispatch): when changing layout, avoid an infinite loop
6678         [bug #652]
6679
6680 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6681
6682         * lyxrc.C (read): treat a viewer or converter command of "none" as
6683         if it were empty.
6684
6685         * MenuBackend.C (expandFormats): for an update, also allow the
6686         formats that are not viewable
6687
6688         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6689         script if it is newer than the lyxrc.defaults in user directory
6690
6691 2002-10-07 André Pönitz <poenitz@gmx.net>
6692
6693         * text.C: Vitaly Lipatov's small i18n fix
6694
6695 2002-09-25  Angus Leeming  <leeming@lyx.org>
6696
6697         * ispell.h: doxygen fix.
6698
6699 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6700
6701         * buffer.h (readFile): Add a new argument to the method, to allow
6702         reading of old-format templates.
6703
6704 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6705
6706         * toc.C (getTocList): Get TOC from InsetWrap.
6707
6708 2002-09-16  John Levon  <levon@movementarian.org>
6709
6710         * lyxfunc.C: check tabular for cut/copy too
6711
6712 2002-09-12  John Levon  <levon@movementarian.org>
6713
6714         * LyXAction.C: tidy
6715
6716         * factory.h:
6717         * factory.C: add header
6718
6719         * paragraph_funcs.h:
6720         * paragraph_funcs.C: cleanup
6721
6722 2002-09-11  John Levon  <levon@movementarian.org>
6723
6724         * PrinterParams.h: odd/even default to true
6725
6726 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6727
6728         * PrinterParams.h: update printer parameters for new xforms dialog
6729
6730 2002-09-11  Angus Leeming  <leeming@lyx.org>
6731
6732         * lyxserver.C (read_ready): re-write to make it more transparent
6733         and to make it work in coherent fashion under Tru64 Unix.
6734
6735 2002-09-11  André Pönitz <poenitz@gmx.net>
6736
6737         * commandtags.h:
6738         * LyXAction.C:
6739         * text3.C: implement LFUN_WORDSEL
6740
6741 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6744         make floatlist_ a boost::shared_ptr<FloatList>
6745
6746         * lyxtextclass.C: include FloatList.h
6747         (LyXTextClass): initialize floatlist_
6748         (TextClassTags): add TC_NOFLOAT
6749         (Read): match "nofloat" to TC_NOFLOAT and use it.
6750         (readFloat): modify call to floatlist_
6751         (floats): ditto
6752         (floats): ditto
6753
6754         * FloatList.[Ch] (FloatList): remove commented out float
6755         initialization.
6756         (erase): new function
6757
6758 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6759
6760         * MenuBackend.C (expandToc): fix crash when there is no document
6761         open
6762
6763 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6764
6765         * many files: Add insetwrap.
6766
6767 2002-09-09  John Levon  <levon@movementarian.org>
6768
6769         * text2.C: remove confusing and awkward depth wraparound
6770
6771 2002-09-09  John Levon  <levon@movementarian.org>
6772
6773         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6774
6775         * buffer.h:
6776         * buffer.C: remove getIncludeonlyList()
6777
6778         * paragraph.C:
6779         * lyxfunc.C: remove headers
6780
6781 2002-09-09  Juergen Vigna  <jug@sad.it>
6782
6783         * text.C (getColumnNearX): fix form Michael this is most
6784         probably a cut&paste bug.
6785
6786 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6789
6790         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6791         references, ws changes.
6792
6793         * text2.C (init): update counters after init
6794         (insertParagraph): no need to set counter on idividual paragraphs.
6795         (setCounter): access the counters object in the textclass object
6796         on in the buffer object.
6797         (updateCounters): ditto
6798
6799         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6800         shared_ptr<Counters> to avoid loading counters.h in all
6801         compilation units.
6802         (LyXTextClass): initialize ctrs_
6803         (TextClassTags): add TC_COUNTER, and ...
6804         (Read): use it here.
6805         (CounterTags): new tags
6806         (readCounter): new function
6807         (counters): new funtion
6808         (defaultLayoutName): return a const reference
6809
6810         * counters.C (Counters): remove contructor
6811         (newCounter): remove a couple of unneeded statements.
6812         (newCounter): simplify a bit.
6813         (numberLabel): some small formatting changes.
6814
6815         * buffer.[Ch]: remove all traces of counters, move the Counters
6816         object to the LyXTextClass.
6817
6818 2002-09-06  Alain Castera  <castera@in2p3.fr>
6819
6820         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6821         package to set the horizontal alignment on fixed width columns.
6822
6823         * lyx_sty.C:
6824         * lyx_sty.h: added tabularnewline macro def.
6825
6826         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6827
6828 2002-09-06  John Levon  <levon@movementarian.org>
6829
6830         * LyXAction.C: tooltips for sub/superscript
6831
6832         * MenuBackend.C: a bit more verbose
6833
6834         * lyxfunc.C: tiny clean
6835
6836         * undo_funcs.C: document undo_frozen
6837
6838 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * counters.C (Counters): add missing algorithm counter.
6841
6842         * text2.C (setCounter): lookup the counter with layouts latexname
6843         instead of by section number.
6844         (setCounter): use a hackish way to lookup the correct enum
6845         counter.
6846         a float name->type change
6847         reset enum couners with counter name directly instead of depth value.
6848
6849         * counters.C (Counters): remove the push_backs, change to use the
6850         float type not the float name.
6851         (labelItem): remove unused string, float name->type change
6852
6853         * counters.h: don't include vector, loose the enums and sects vectors
6854
6855 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6858         (Read): add float->TC_FLOAT to textclassTags
6859         (Read): and handle it in the switch
6860         (readFloat): new function
6861
6862         * FloatList.C (FloatList): comment out the hardcoded float
6863         definitions.
6864
6865         * lyxlayout.h: ws change.
6866
6867 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6868
6869         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6870
6871 2002-09-03  Angus Leeming  <leeming@lyx.org>
6872
6873         * BufferView_pimpl.h: qualified name is not allowed in member
6874         declaration: WorkArea & Pimpl::workarea() const;
6875
6876         * factory.C: added using std::endl directive.
6877
6878         * text3.C: added using std::find and std::vector directives.
6879
6880 2002-08-29  André Pönitz <poenitz@gmx.net>
6881
6882         * lyxtext.h:
6883         * text2.C: remove unused member number_of_rows
6884
6885         * Makefile.am:
6886         * BufferView2.C: remove file, move contents to...
6887         * BufferView.C: ... here
6888
6889         * BufferView_pimpl.C:
6890         * factory.C: move more inset creation to factory
6891
6892         * vspace.C: avoid direct usage of LyXText, ws changes
6893
6894         * BufferView.[Ch]:
6895                 don't provide direct access to WorkArea, use two simple
6896                 acessors haveSelction() and workHeight() instead
6897
6898
6899 2002-08-29  John Levon  <levon@movementarian.org>
6900
6901         * BufferView_pimpl.C (dispatch): do not continue when
6902           no buffer
6903
6904 2002-08-28  André Pönitz <poenitz@gmx.net>
6905
6906         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6907
6908         * BufferView.h:
6909         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6910
6911 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6912
6913         * buffer.C: increment LYX_FORMAT to 221
6914
6915         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6916         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6917
6918         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6919
6920         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6921
6922 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6923
6924         * factory.C (createInset): use LyXTextClass::floats
6925
6926         * MenuBackend.C (expandFloatListInsert):
6927         (expandFloatInsert):
6928         (expandToc):
6929
6930         * text2.C (setCounter):
6931
6932         * LaTeXFeatures.C (useFloat):
6933         (getFloatDefinitions):
6934
6935         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6936
6937         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6938         floatlist_, with accessor floats().
6939
6940         * FloatList.h: remove global FloatList
6941
6942 2002-08-26  André Pönitz <poenitz@gmx.net>
6943
6944         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6945
6946         * BufferView.h:
6947         * BufferView2.C:
6948         * BufferView_pimpl.C:
6949         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6950
6951 2002-08-25  John Levon  <levon@movementarian.org>
6952
6953         * LyXAction.C: fix margin note description
6954
6955 2002-08-24  John Levon  <levon@movementarian.org>
6956
6957         * buffer.C:
6958         * bufferlist.C:
6959         * bufferview_funcs.C:
6960         * lyxfont.C:
6961         * undo_funcs.C: cleanups
6962
6963         * lyxfunc.C: disable CUT/COPY when no selection
6964
6965 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6966
6967         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6968         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6969
6970         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6971         Add backward compatibility to "mono", "gray" and "no".
6972
6973 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6974
6975         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6976         (and file_format >= 200).
6977
6978 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6979
6980         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6981
6982 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6983
6984         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6985
6986 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6987
6988         * BufferView_pimpl.C:
6989         * LyXAction.C:
6990         * buffer.C:
6991         * commandtags.h:
6992         * lyxfunc.C:
6993         * paragraph.[Ch]:
6994         * text2.C:
6995         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6996         inset and code to make it  work with the paragraph code. The inset
6997         can be anywhere in the paragraph, but will only do the expected
6998         thing in LaTeX if the layout file contains the parameter line
6999                         OptionalArgs    1
7000         (or more generally, a nonzero value) for that layout.
7001
7002 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * paragraph.h: remove the declaration of undefined counters class
7005         function.
7006
7007 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7008
7009         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7010         Dr. Richard Hawkins.
7011
7012 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7013
7014         * paragraph_funcs.h: remove some unneeded includes
7015
7016         * text.C (backspace): pasteParagraph now in global scipe
7017
7018         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7019         (pasteSelection): ditto
7020
7021         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7022         * paragraph_funcs.C (pasteParagraph): ... here
7023
7024 2002-08-20  André Pönitz <poenitz@gmx.net>
7025
7026         * commandtags.h: new LFUNs for swapping/copying table row/colums
7027
7028         * LyXAction.C:
7029         * lyxfunc.C: support for new lfuns
7030
7031 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * tabular.C:
7034         * buffer.[Ch]: remove NO_COMPABILITY stuff
7035
7036 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * boost.C (throw_exception): new file, with helper function for
7039         boost compiled without exceptions.
7040
7041         * paragraph.h:
7042         * lyxlength.C:
7043         * buffer.C:
7044         * ParameterStruct.h:
7045         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7046
7047         * bufferlist.C (emergencyWriteAll): use boost bind
7048
7049         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7050
7051         * text.C: include paragraph_funcs.h
7052         (breakParagraph): breakParagraph is now in global scope
7053
7054         * paragraph_funcs.[Ch]: new files
7055
7056         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7057         global scope
7058
7059         * buffer.C: include paragraph_funcs.h
7060         (insertStringAsLines): breakParagraph is now in global scope
7061
7062         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7063         paragraph_funcs.C
7064
7065         * CutAndPaste.C: include paragraph_funcs.h
7066         (cutSelection): breakParagraphConservative is now in global scope
7067         (pasteSelection): ditto
7068
7069         * buffer.h: declare oprator== and operator!= for
7070         Buffer::inset_iterator
7071
7072         * bufferlist.C (emergencyWrite): don't use fmt(...)
7073
7074         * text3.C: add using std::endl
7075
7076         * BufferView.C (moveCursorUpdate): remove default arg
7077
7078 2002-08-20  André Pönitz <poenitz@gmx.net>
7079
7080         * buffer.[Ch]: move inline functions to .C
7081
7082         * BufferView2.C:
7083         * BufferView_pimpl.C:
7084         * text.C:
7085         * buffer.[Ch]: use improved inset_iterator
7086
7087         * buffer.C:
7088         * paragraph.[Ch]: write one paragraph at a time
7089
7090 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7091
7092         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7093         style if style is not specified.
7094
7095 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7096
7097         * text2.C (setCounter): when searching for right label for a
7098         caption, make sure to recurse to parent insets (so that a caption
7099         in a minipage in a figure float works) (bug #568)
7100
7101 2002-08-20  André Pönitz <poenitz@gmx.net>
7102
7103         * text3.C: new file for LyXText::dispatch() and helpers
7104
7105         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7106
7107         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7108
7109 2002-08-19  André Pönitz <poenitz@gmx.net>
7110
7111         * lyxtext.h:
7112         * text.C: new LyXText::dispatch()
7113
7114         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7115
7116 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7117
7118         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7119
7120         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7121         Hebrew text.
7122
7123 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7124
7125         * Makefile.am: use $(variables) instead of @substitutions@
7126
7127 2002-08-15  André Pönitz <poenitz@gmx.net>
7128
7129         * lyxfunc.C:
7130         * BufferView_pimpl.C: streamlining mathed <-> outer world
7131         interaction
7132
7133         * commandtags.h:
7134         * LyXAction.C: remove unused LFUN_MATH
7135
7136 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7139
7140 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * paragraph.C (Paragraph): reformat a bit
7143         (cutIntoMinibuffer): use builtin InsetList function instad of
7144         doing it manually.
7145         (getInset): ditto
7146
7147         * buffer.C: include boost/bind.hpp, add using std::for_each
7148         (writeFileAscii): use ParagraphList iterators
7149         (validate): use for_each for validate traversal of paragraphs
7150         (getBibkeyList): use ParagraphList iterators
7151         (resizeInsets): use for_each to resizeInsetsLyXText for all
7152         paragraphs.
7153         (getParFromID): use ParagraphList iterators
7154
7155         * BufferView2.C (lockInset): use paragraph list and iterators
7156
7157 2002-08-14  John Levon  <levon@movementarian.org>
7158
7159         * lyxserver.C: remove spurious xforms include
7160
7161 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7162
7163         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7164
7165 2002-08-13  André Pönitz <poenitz@gmx.net>
7166
7167         * LyXAction.[Ch]:
7168         * lyxfunc.C: further cleaning
7169
7170 2002-08-13  André Pönitz <poenitz@gmx.net>
7171
7172         * funcrequest.h: new constructor
7173
7174         * funcrequest.C: move stuff here from .h
7175
7176         * Makefile.am:
7177         * BufferView_pimpl.C:
7178         * LyXAction.C:
7179         * toc.C:
7180         * lyxfunc.C: subsequent changes
7181
7182         * lyxfunc.h: new view() member function
7183
7184         * lyxfunc.C: subsequent changes
7185
7186 2002-08-13  Angus Leeming  <leeming@lyx.org>
7187
7188         * BufferView2.C:
7189         * BufferView_pimpl.C:
7190         * buffer.C:
7191         * converter.C:
7192         * importer.C:
7193         * lyxfunc.C:
7194         * lyxvc.C:
7195         * toc.C:
7196         * vc-backend.C:
7197         changes due to the changed LyXView interface that now returns references
7198         to member variables not pointers.
7199
7200 2002-08-13  Angus Leeming  <leeming@lyx.org>
7201
7202         * WordLangTuple (word, lang_code): return references to strings,
7203         not strings.
7204
7205         * BufferView.h:
7206         * SpellBase.h:
7207         * lyxtext.h: forward-declare WordLangTuple.
7208
7209         * BufferView2.C:
7210         * ispell.C:
7211         * pspell.C:
7212         * text.C: #include "WordLangTuple.h".
7213
7214         * lyxtext.h:
7215         * text.C: (selectNextWordToSpellcheck): constify return type.
7216
7217 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7218
7219         * buffer.C:
7220         * buffer.h:
7221         * lyxtext.h:
7222         * paragraph.C:
7223         * paragraph_pimpl.h:
7224         * text.C:
7225         * text2.C:
7226         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7227         suggested by Angus.
7228         Made updateCounter always count from start of buffer, and removed
7229         second argument (par).
7230         Reverted floats number display to '#'. Perhaps I'll try again when the
7231         code base is sanitized a bit.
7232
7233 2002-08-12  Angus Leeming  <leeming@lyx.org>
7234
7235         * buffer.[Ch] (getLabelList): constify.
7236
7237 2002-08-07  André Pönitz <poenitz@gmx.net>
7238
7239         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7240
7241         * funcrequest.h: extension to keep mouse (x,y) position
7242
7243 2002-08-12  Juergen Vigna  <jug@sad.it>
7244
7245         * BufferView2.C (insertErrors): forbid undo when inserting error
7246         insets.
7247
7248         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7249
7250 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * ParagraphList.[Ch]: new files
7253
7254         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7255
7256         * BufferView2.C (lockInset): ParagraphList changes
7257         * toc.C: ditto
7258         * text2.C: ditto
7259         * bufferlist.C: ditto
7260         * buffer.h: ditto
7261         * buffer.C: ditto
7262
7263 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7266         unused class variable counter_,
7267
7268         * paragraph.[Ch] (getFirstCounter): delete unused function
7269
7270         * counters.C: include LAssert.h
7271         (reset): add a new function with no arg, change other version to
7272         not have def. arg and to not allow empty arg.
7273
7274         * text2.C (setCounter): remove empty arg from call to Counters::reset
7275
7276 2002-08-11  John Levon  <levon@movementarian.org>
7277
7278         * Makefile.am: add WordLangTuple.h
7279
7280 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7283         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7284
7285         * insets/insettext.C: InsetList changes
7286
7287         * graphics/GraphicsSupport.C (operator()): InsetList changes
7288
7289         * toc.C (getTocList): InsetList changes
7290
7291         * paragraph_pimpl.[Ch]: InsetList changes
7292
7293         * paragraph.[Ch]: InsetList changes
7294
7295         * buffer.C (inset_iterator): InsetList changes
7296         (setParagraph): ditto
7297         * buffer.h (inset_iterator): ditto
7298         * iterators.C (operator++): ditto
7299         * iterators.h: ditto
7300
7301         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7302
7303         * InsetList.[Ch]: new files, most InsetList handling moved out of
7304         paragraph.C.
7305
7306         * BufferView2.C (removeAutoInsets): InsetList changes
7307         (lockInset): ditto
7308         (ChangeInsets): ditto
7309
7310 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7311
7312         * paragraph_pimpl.h (empty): new function
7313
7314         * paragraph.[Ch] (empty): new function
7315
7316         * other files: use the new Paragraph::empty function
7317
7318 2002-08-09  John Levon  <levon@movementarian.org>
7319
7320         * lyxtext.h: remove unused refresh_height
7321
7322 2002-08-09  John Levon  <levon@movementarian.org>
7323
7324         * Makefile.am:
7325         * sgml.h:
7326         * sgml.C:
7327         * buffer.C:
7328         * paragraph.h:
7329         * paragraph.C: move sgml char escaping out of paragraph
7330
7331         * paragraph.h:
7332         * paragraph.C: remove id setter
7333
7334         * buffer.C:
7335         * paragraph.C:
7336         * paragraph_pimpl.C: remove dead tex_code_break_column
7337
7338         * bufferview_funcs.C: small cleanup
7339
7340         * lyxfunc.C: remove dead proto
7341
7342         * lyxtext.h: make some stuff private. Remove some dead stuff.
7343
7344         * lyxgluelength.C: make as[LyX]String() readable
7345
7346 2002-08-08  John Levon  <levon@movementarian.org>
7347
7348         * LyXAction.h:
7349         * LyXAction.C:
7350         * MenuBackend.C:
7351         * ToolbarDefaults.C:
7352         * lyxfunc.C:
7353         * lyxrc.C:
7354         * toc.C: lyxaction cleanup
7355
7356 2002-08-08  John Levon  <levon@movementarian.org>
7357
7358         * BufferView2.C: small cleanup
7359
7360         * lyxfind.h:
7361         * lyxfind.C: move unnecessary header into the .C
7362
7363 2002-08-08  John Levon  <levon@movementarian.org>
7364
7365         * funcrequest.h: just tedious nonsense
7366
7367         * lyx_main.h:
7368         * lyx_main.C: cleanups
7369
7370         * buffer.C:
7371         * vspace.C: remove dead header lyx_main.h
7372
7373 2002-08-07  Angus Leeming  <leeming@lyx.org>
7374
7375         * Paragraph.[Ch]:
7376         * paragraph_pimpl.h:
7377         Forward declare class Counters in paragraph.h by moving the ctrs member
7378         variable into Paragraph::Pimpl.
7379         (counters): new method, returning a reference to pimpl_->ctrs.
7380
7381         * text2.C: ensuing changes.
7382
7383 2002-08-07  John Levon  <levon@movementarian.org>
7384
7385         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7386
7387         * BufferView_pimpl.C: announce X selection on double/triple
7388           click
7389
7390         * lyx_main.C: use correct bool in batch dispatch
7391
7392         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7393
7394 2002-08-07  André Pönitz <poenitz@gmx.net>
7395
7396         * funcrequest.h: new class to wrap a kb_action and its argument
7397
7398         * BufferView.[Ch]:
7399         * BufferView_pimpl[Ch]:
7400         * LaTeX.C:
7401         * LyXAction.[Ch]:
7402         * lyxfunc.[Ch]:
7403         * lyxrc.C: subsequent changes
7404
7405
7406 2002-08-07  John Levon  <levon@movementarian.org>
7407
7408         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7409           document options change.
7410
7411 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7412
7413         * counters.[Ch]
7414         * text2.C
7415         * paragraph.[Ch]
7416         * makefile.am: move counters functionality over from
7417         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7418
7419 2002-08-06  John Levon  <levon@movementarian.org>
7420
7421         * WordLangTuple.h: new file for word + language code tuple
7422
7423         * SpellBase.h:
7424         * pspell.h:
7425         * pspell.C:
7426         * ispell.h:
7427         * ispell.C:
7428         * lyxtext.h:
7429         * text.C:
7430         * text2.C:
7431         * BufferView.h:
7432         * BufferView2.C: use WordLangTuple
7433
7434         * layout.h:
7435         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7436
7437 2002-08-06  John Levon  <levon@movementarian.org>
7438
7439         * lyx_main.C: fix cmdline batch handling
7440
7441 2002-08-06  André Pönitz <poenitz@gmx.net>
7442
7443         * lyxrc.C: set default for show_banner to true
7444
7445 2002-08-06  John Levon  <levon@movementarian.org>
7446
7447         * pspell.C: fix a crash, and allow new aspell to work
7448
7449 2002-08-06  John Levon  <levon@movementarian.org>
7450
7451         * lyxfunc.C:
7452         * kbmap.C: small cleanup
7453
7454         * vspace.h:
7455         * vspace.C: add const
7456
7457 2002-08-05  John Levon  <levon@movementarian.org>
7458
7459         * LyXAction.C: back to tabular-insert
7460
7461 2002-08-04  John Levon  <levon@movementarian.org>
7462
7463         * BufferView.h:
7464         * BufferView.C: cosmetic change
7465
7466         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7467
7468         * bufferlist.C:
7469         * buffer.h:
7470         * buffer.C:
7471         * lyxcb.h:
7472         * lyxcb.C:
7473         * lyxserver.C:
7474         * lyxvc.C:
7475         * vc-backend.C:
7476         * BufferView2.C: purge all "Lyx" not "LyX" strings
7477
7478         * lyxcursor.h:
7479         * lyxcursor.C: attempt to add some documentation
7480
7481         * lyxfunc.C:
7482         * commandtags.h:
7483         * LyXAction.C:
7484         * ToolbarDefaults.C:
7485         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7486           merge with LFUN_TABULAR_INSERT
7487
7488         * Makefile.am:
7489         * SpellBase.h:
7490         * ispell.h:
7491         * ispell.C:
7492         * pspell.h:
7493         * pspell.C: split up i/pspell implementations into separate
7494           files, many cleanups
7495
7496         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7497
7498         * text2.C: some cleanup
7499
7500         * lyxfunc.C: don't check for isp_command == "none" any more, it
7501           didn't make any sense
7502
7503 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7504
7505         * counters.[Ch]
7506         * text2.C
7507         * paragraph.[Ch]
7508         * makefile.am: move counters functionality over
7509         from text2.C/paragraph.[Ch] to counters.[Ch], and
7510         make proper C++.
7511 2002-08-02  John Levon  <levon@movementarian.org>
7512
7513         * buffer.C: s/lyxconvert/lyx2lyx/
7514
7515 2002-08-02  Angus Leeming  <leeming@lyx.org>
7516
7517         * lyxlex.C: revert John's change as it breaks reading of the user
7518         preamble.
7519
7520 2002-08-02  Angus Leeming  <leeming@lyx.org>
7521
7522         * importer.C (Import):
7523         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7524         changes due to LyXView::view() now returning a boost::shared_ptr.
7525
7526 2002-08-02  John Levon  <levon@movementarian.org>
7527
7528         * lyxlex.C: small cleanup
7529
7530 2002-08-02  John Levon  <levon@movementarian.org>
7531
7532         * text2.C (status): small cleanup, no logic change
7533
7534 2002-08-01  John Levon  <levon@movementarian.org>
7535
7536         * buffer.h:
7537         * buffer.C (writeFile): don't output alerts, caller
7538           handles this
7539
7540         * bufferlist.C:
7541         * lyx_cb.C: from above
7542
7543         * lyxfunc.C: allow to open non-existent files
7544
7545 2002-07-31  John Levon  <levon@movementarian.org>
7546
7547         * lyxserver.C: don't let incidental errors get
7548           in the way (errno)
7549
7550 2002-07-30  John Levon  <levon@movementarian.org>
7551
7552         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7553
7554 2002-07-30  John Levon  <levon@movementarian.org>
7555
7556         * lyxserver.h:
7557         * lyxserver.C: remove I/O callback too
7558
7559 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7560
7561         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7562         log.
7563
7564 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * many files: strip,frontStrip -> trim,ltrim,rtrim
7567
7568 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * PrinterParams.h: remove extern containsOnly, and include
7571         support/lstrings.h instead.
7572
7573         * LaTeX.C (scanAuxFile): modify because of strip changes
7574         (deplog): ditto
7575         * buffer.C (makeLaTeXFile): ditto
7576         * bufferparams.C (writeFile): ditt
7577         * lyxfont.C (stateText): ditto
7578         * lyxserver.C (read_ready): ditto
7579         * vc-backend.C (scanMaster): ditto
7580
7581         * BufferView_pimpl.h: ws changes
7582
7583         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7584
7585 2002-07-26  André Pönitz <poenitz@gmx.net>
7586
7587         * kb_sequence.C: remove unnedred usings
7588
7589 2002-07-26  Juergen Vigna  <jug@sad.it>
7590
7591         * lyxfind.C (LyXReplace): we have to check better if the returned
7592         text is not of theLockingInset()->getLockingInset().
7593
7594 2002-07-25  Juergen Vigna  <jug@sad.it>
7595
7596         * lyxfind.C (LyXReplace): don't replace if we don't get the
7597         right LyXText.
7598
7599         * undo_funcs.C (createUndo): remove debugging code.
7600
7601 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7602
7603         * buffer.C (parseSingleLyXformat2Token): Use default placement
7604         when reading old floats.
7605
7606         * FloatList.C (FloatList): Change the default placement of figure
7607         and tables to "tbp".
7608
7609 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7610
7611         * MenuBackend.C: using std::max
7612
7613 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7614
7615         * MenuBackend.C (expandToc):
7616         (expandToc2): code moved from xforms menu frontend. It is now
7617         generic and TOCs are transparent to menu frontends.
7618
7619 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7620
7621         * toc.C (getTocList): protect against buf=0
7622
7623         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7624         Menu as first parameter. Now, this calls itself recursively to
7625         expand a whole tree (this will be useful for TOC handling)
7626         (expandFloatInsert): remove 'wide' version of floats
7627
7628         * MenuBackend.h (submenuname): returns the name of the submenu.
7629         (submenu): returns the submenu itself, provided it has been
7630         created by MenuBackend::expand
7631
7632 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7633
7634         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7635         insets which have noFontChange == true. (bug #172)
7636
7637 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7638
7639         * BufferView_pimpl.C: add connection objects and use them...
7640         (Pimpl): here.
7641
7642 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7643
7644         * MenuBackend.C (expandLastfiles):
7645         (expandDocuments):
7646         (expandFormats):
7647         (expandFloatListInsert):
7648         (expandFloatInsert):
7649         (expand): split expand in parts
7650
7651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * lyx_gui.C: use lyx_gui::exit()
7654
7655 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7656
7657         * LyXAction.C: show the failing pseudo action
7658
7659 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7660
7661         * buffer.C (readFile): Run the lyxconvert script in order to read
7662         old files.
7663
7664 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7665
7666         * LyXAction.C:
7667         * commandtags.h:
7668         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7669
7670 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7671
7672         * LyXAction.C:
7673         * commandtags.h:
7674         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7675
7676 2002-07-22  Herbert Voss  <voss@lyx.org>
7677
7678         * lengthcommon.C:
7679         * lyxlength.[Ch]: add support for the vertical lengths
7680
7681 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7682
7683         * toc.[Ch]: std:: fixes
7684
7685 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * lyxrc.C: do not include lyx_main.h
7688
7689         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7690         for layouts
7691
7692         * lyxrc.C:
7693         * encoding.C:
7694         * bufferlist.C:
7695         * BufferView2.C: include "lyxlex.h"
7696
7697         * tabular.h:
7698         * bufferparams.h: do not #include "lyxlex.h"
7699
7700         * lyxtextclasslist.C (Add): remove method
7701         (classlist): renamed to classlist_
7702
7703         * paragraph_pimpl.C:
7704         * paragraph.C:
7705         * text2.C:
7706         * CutAndPaste.C:
7707         * bufferview_funcs.C:
7708         * bufferlist.C:
7709         * text.C:
7710         * LaTeXFeatures.C:
7711         * buffer.C:
7712         * toc.C (getTocList): use BufferParams::getLyXTextClass
7713
7714         * toc.C (getTocList): use InsetFloat::addToToc
7715
7716         * toc.[Ch]: new files, containing helper functions to handle table
7717         of contents
7718
7719         * lyxfunc.C (dispatch): no need to remove spaces around command
7720         given as a string
7721         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7722         first command of the sequence; it is not very clever, but I do not
7723         have a better idea, actually
7724
7725         * LyXAction.C (LookupFunc): make sure to remove space at the
7726         beginning and end of the command
7727
7728 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7729
7730         * MenuBackend.C (getMenubar): new method: return the menubar of
7731         this menu set
7732         (read): treat differently reading of menu and menubar (in
7733         particular, the menubar has no name now)
7734         (Menu::menubar): remove
7735
7736         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7737         saving is finished
7738
7739 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7740
7741         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7742         a bibitem inset in a RTL paragraph.
7743
7744 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * paragraph_pimpl.C: constify
7747
7748         * BufferView_pimpl.C:
7749         * LaTeX.C:
7750         * lyxfunc.C: fix dispatch in a nicer way
7751
7752 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * lyxfunc.C (dispatch):
7755         * BufferView_pimpl.C:
7756         * BufferView_pimpl.h:
7757         * BufferView.C:
7758         * BufferView.h: rename Dispatch() to dispatch()
7759
7760         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7761
7762         * lyxlayout.C (Read): honor DependsOn tag
7763
7764         * lyxlayout.[Ch] (depends_on): new method
7765
7766         * version.C.in: update lyx_docversion
7767
7768         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7769
7770         * paragraph.C (validate): remove from here...
7771         * paragraph_pimpl.C (validate): ... and move here
7772         (isTextAt): make it const
7773
7774         * buffer.C (getLists): ws cleanup
7775
7776 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7777
7778         * language.C (read): Use iso8859-1 encoding in latex_lang
7779         (this prevents LyX from crashing when using iso10646-1 encoding).
7780
7781 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7782
7783         * text2.C (toggleInset): if cursor is inside an inset, close the
7784         inset and leave cursor _after_ it
7785
7786 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7787
7788         * lyxfunc.C: move minibuffer completion handling out of here
7789
7790 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7791
7792         * BufferView_pimpl.C:
7793         * LaTeX.C: fix dispatch calls
7794
7795 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7796
7797         * text.C (drawChars): Fix Arabic text rendering.
7798
7799 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7800
7801         * LyXAction.C:
7802         * commandtags.h:
7803         * lyxfunc.C: remove message-push/pop
7804
7805         * lyxserver.C:
7806         * lyxfunc.h:
7807         * lyxfunc.C: rationalise some code by removing verboseDispatch
7808           in favour of a bool argument to dispatch()
7809
7810 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7811
7812         * lyx_main.C (init): make sure to read symlinks as absolute paths
7813
7814 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * lyxfunc.h:
7817         * lyxfunc.C: no need for commandshortcut to be a member
7818
7819 2002-07-15  André Pönitz <poenitz@gmx.net>
7820
7821         * converter.C: add support for $$s (scripts from lib/scripts dir)
7822         * lyx_main.C: white space
7823
7824 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * bufferlist.C:
7827         * lyxrc.h:
7828         * lyxrc.C: remove second exit confirmation
7829
7830 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * BufferView.h:
7833         * BufferView.C:
7834         * BufferView2.C:
7835         * BufferView_pimpl.h:
7836         * BufferView_pimpl.C:
7837         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7838
7839 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7840
7841         * MenuBackend.C (expand): add numeric shortcuts to document menu
7842
7843         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7844
7845 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7846
7847         * lyxfont.C (setLyXFamily):
7848         (setLyXSeries):
7849         (setLyXShape):
7850         (setLyXSize):
7851         (setLyXMisc):
7852         (lyxRead):
7853         * debug.C (value):
7854         * buffer.C (asciiParagraph): use ascii_lowercase
7855
7856 2002-07-15  Mike Fabian  <mfabian@suse.de>
7857
7858         * lyxlex_pimpl.C (search_kw):
7859         * lyxlex.C (getLongString):
7860         * converter.h (operator<):
7861         * converter.C (operator<):
7862         * buffer.C (parseSingleLyXformat2Token):
7863         (asciiParagraph):
7864         * ToolbarDefaults.C (read):
7865         * MenuBackend.C (checkShortcuts):
7866         (read):
7867         * LColor.C (getFromGUIName):
7868         (getFromLyXName): use the compare_ascii_no_case instead of
7869         compare_no_case, because in turkish, 'i' is not the lowercase
7870         version of 'I', and thus turkish locale breaks parsing of tags.
7871
7872 2002-07-16  Angus Leeming  <leeming@lyx.org>
7873
7874         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7875         now takes a Buffer const & argument.
7876
7877 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7878
7879         * BufferView.C (resize): check there's a buffer to resize
7880
7881 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * lyxfunc.C: remove dead code
7884
7885         * lyxserver.h:
7886         * lyxserver.C: use lyx_guii::set_read_callback
7887
7888 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7889
7890         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7891         an inset in a RTL paragraph.
7892
7893 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7894
7895         * lyxfunc.C: repaint after a font size update
7896
7897 2002-07-15  André Pönitz <poenitz@gmx.net>
7898
7899         * lyxlength.C: inBP should be able to return negative values
7900
7901 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7902
7903         * lyxfunc.C: use lyx_gui::update_fonts()
7904
7905 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * lyxfunc.C: use lyx_gui::update_color()
7908
7909 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * bufferlist.C:
7912         * lyxfunc.h:
7913         * lyxfunc.C:
7914         * lyxrc.h:
7915         * lyxrc.C: remove file->new asks for name option, and let
7916           buffer-new take an argument
7917
7918 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * BufferView_pimpl.C: remove unneeded extra repaint()
7921
7922 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7923
7924         * LyXAction.C: allow command-sequence with NoBuffer
7925
7926         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7927
7928 2002-07-10  Angus Leeming  <leeming@lyx.org>
7929
7930         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7931
7932 2002-07-09  Angus Leeming  <leeming@lyx.org>
7933
7934         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7935
7936 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7937
7938         * lengthcommon.h: whitespace
7939
7940         * lyxfunc.C: update scrollbar after goto paragraph
7941
7942         * lyxtext.h: factor out page break drawing, and fix it so
7943           page break/added space paints as selected nicely
7944
7945 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7946
7947         * BufferView_pimpl.C: add FIXMEs, clean up a little
7948
7949 2002-07-09  André Pönitz <poenitz@gmx.net>
7950
7951         * lyxfont.[Ch]: support for wasy symbols
7952
7953 2002-07-08  André Pönitz <poenitz@gmx.net>
7954
7955         * BufferView_pimpl.C: apply John's patch for #93.
7956
7957 2002-07-05  Angus Leeming  <leeming@lyx.org>
7958
7959         * BufferView_pimpl.C (buffer): generate previews if desired.
7960
7961         * LColor.h: add "preview" to the color enum.
7962
7963         * LColor.C (LColor): add a corresponding entry to the items array.
7964
7965         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7966         with this buffer.
7967
7968 2002-07-05  Angus Leeming  <leeming@lyx.org>
7969
7970         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7971         The body of the code is now in the method that is passed an ostream &
7972         rather than a file name.
7973         Pass an additional only_preamble parameter, useful for the forthcoming
7974         preview stuff.
7975
7976 2002-07-03  André Pönitz <poenitz@gmx.net>
7977
7978         * lyxfunc.C: simplify getStatus() a bit for math stuff
7979
7980 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7981
7982         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7983
7984 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7985
7986         * text.C (changeRegionCase): do not change case of all the
7987         document when region ends at paragraph end (bug #461)
7988
7989 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * paragraph.C (startTeXParParams):
7992         (endTeXParParams): add \protect when necessary
7993
7994 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7995
7996         * BufferView_pimpl.C (workAreaExpose): remove warning
7997
7998 2002-06-27  Angus Leeming  <leeming@lyx.org>
7999
8000         * Makefile.am: add lyxlayout_ptr_fwd.h.
8001
8002 2002-06-26  André Pönitz <poenitz@gmx.net>
8003
8004         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8005
8006 2002-06-25  Angus Leeming  <leeming@lyx.org>
8007
8008         * lyxfunc.C (dispatch): Comment out the call to
8009         grfx::GCache::changeDisplay. The method no longer exists now that the
8010         pixmap generation part of the graphics loader has been moved into
8011         InsetGraphics.
8012
8013 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8014
8015         * text2.C: layout as layout
8016
8017         * text.C: layout as layout
8018
8019         * tabular.C (OldFormatRead): layout as layout
8020
8021         * paragraph_pimpl.C (TeXDeeper): layout as layout
8022         (realizeFont): layout as layout
8023
8024         * paragraph.C (writeFile): layout as layout
8025         (validate): layout as layout
8026         (getFont): layout as layout
8027         (getLabelFont): layout as layout
8028         (getLayoutFont): layout as layout
8029         (breakParagraph): layout as layout
8030         (stripLeadingSpaces): layout as layout
8031         (getEndLabel): layout as layout
8032         (getMaxDepthAfter): layout as layout
8033         (applyLayout): layout as layout
8034         (TeXOnePar): layout as layout
8035         (simpleTeXOnePar): layout as layout
8036         (TeXEnvironment): layout as layout
8037         (layout): layout as layout
8038         (layout): layout as layout
8039
8040         * lyxtextclass.C (compare_name): new functor to work with
8041         shared_ptr, layout as layout
8042         (Read): layout as layout
8043         (hasLayout): layout as layout
8044         (operator): layout as layout
8045         (delete_layout): layout as layout
8046         (defaultLayout): layout as layout
8047
8048         * lyxlayout_ptr_fwd.h: new file
8049
8050         * lyxlayout.C (Read): layout as layout
8051
8052         * lyx_cb.C (MenuInsertLabel): layout as layout
8053
8054         * bufferlist.C (newFile): layout as layout
8055
8056         * buffer.C (readLyXformat2): layout as layout
8057         (parseSingleLyXformat2Token): layout as layout
8058         (insertStringAsLines): layout as layout
8059         (asciiParagraph): layout as layout
8060         (latexParagraphs): layout as layout
8061         (makeLinuxDocFile): layout as layout
8062         (simpleLinuxDocOnePar): layout as layout
8063         (makeDocBookFile): layout as layout
8064         (simpleDocBookOnePar): layout as layout
8065         (getLists): layout as layout
8066
8067         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8068
8069         * CutAndPaste.C (cutSelection): layout as layout
8070         (pasteSelection): layout as layout
8071         (SwitchLayoutsBetweenClasses): layout as layout
8072
8073         * BufferView_pimpl.C (Dispatch): layout as layout
8074         (smartQuote): layout as layout
8075
8076         * BufferView2.C (unlockInset): layout as layout
8077
8078 2002-06-24  André Pönitz <poenitz@gmx.net>
8079
8080         * lyxfunc.C: fix #487
8081
8082 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8083
8084         * lyxrc.h:
8085         * lyxrc.C:
8086         * lyxfunc.C: remove display_shortcuts, show_banner
8087
8088 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8089
8090         * Buffer_pimpl.C: oops, update on resize
8091
8092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8093
8094         * buffer.C:
8095         * converter.C:
8096         * exporter.C:
8097         * lyxfunc.C:
8098         * BufferView.h:
8099         * BufferView.C: use repaint()
8100
8101         * BufferView_pimpl.h:
8102         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8103           as it's a clearer description. Remove superfluous
8104           redraws.
8105
8106 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * text.C: fix bug 488. Not ideal, but getting
8109           getWord() to work properly for the insets that
8110           matter is more difficult ...
8111
8112 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * BufferView_pimpl.C:
8115         * LyXAction.C:
8116         * commandtags.h:
8117         * lyxfunc.C: remove the six million index lyxfuncs to just
8118           one, and DTRT (bug 458)
8119
8120 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8121
8122         * BufferView.h:
8123         * BufferView.C:
8124         * BufferView_pimpl.h:
8125         * BufferView_pimpl.C: clean up resize() stuff,
8126           and unnecessary updateScreen()s
8127
8128 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * BufferView.h:
8131         * BufferView.C:
8132         * BufferView_pimpl.h:
8133         * BufferView_pimpl.C:
8134         * lyxfind.h:
8135         * lyxfind.C:
8136         * minibuffer.C: remove focus management of workarea,
8137           not needed. Use screen's greyOut()
8138
8139 2002-06-17  Herbert Voss  <voss@lyx.org>
8140
8141         * converter.C: (convert) do not post a message, when converting
8142         fails, let the calling function decide what to do in this case
8143
8144 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8145
8146         * lyxfunc.C: tidy up a little
8147
8148 2002-06-16    <alstrup@diku.dk>
8149
8150         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8151         Got rid of FORMS_H_LOCATION include. Now we are
8152         GUII.
8153
8154 2002-06-15  LyX Development team  <lyx@rilke>
8155
8156         * buffer.[Ch] (sgmlOpenTag):
8157         (sgmlCloseTag): Added support for avoiding pernicious mixed
8158         content. Return number of lines written.
8159
8160         (makeLinuxDocFile):
8161         (makeDocBookFile): Fixed calls to sgml*Tag.
8162         Simple white space clean.
8163
8164         (simpleDocBookOnePar): Simple white space clean.
8165
8166         * tabular.[Ch] (docBook): Renamed to docbook and got another
8167         argument to related with the pernicious mixed content.
8168
8169         (docbookRow): Fixed calls for docbook inset method.
8170
8171 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8172
8173         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8174         so it's X11 independent.
8175
8176         * kb*.[Ch]: ditto.
8177
8178         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8179
8180 2002-06-15  Lyx Development team  <lyx@electronia>
8181
8182         * intl.h: Renamed getTrans to getTransManager.
8183
8184 2002-06-14  Angus Leeming  <leeming@lyx.org>
8185
8186         * Makefile.am: nuke forgotten stl_string_fwd.h.
8187
8188 2002-06-12  Angus Leeming  <leeming@lyx.org>
8189
8190         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8191
8192 2002-06-13  Angus Leeming  <leeming@lyx.org>
8193
8194         * LaTeX.C:
8195         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8196
8197 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8198
8199         * kbmap.C (getiso): add support for cyrillic and greek
8200
8201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * BufferView.h:
8204         * BufferView.C:
8205         * BufferView_pimpl.h:
8206         * BufferView_pimpl.C: move bogus scrolling logic
8207           to xforms
8208
8209 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * lyxfunc.C:
8212         * BufferView_pimpl.C: view->resize() change
8213
8214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * BufferView_pimpl.C: topCursorVisible
8217           prototype change
8218
8219 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * Makefile.am:
8222         * lyx_gui.h:
8223         * lyx_gui.C: move to frontends/
8224
8225         * main.C:
8226         * lyx_main.h:
8227         * lyx_main.C: changes from above
8228
8229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8230
8231         * intl.C:
8232         * intl.h:
8233         * kbmap.C:
8234         * kbsequence.C:
8235         * lyx_cb.C:
8236         * lyx_main.C: minor tidy
8237
8238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * BufferView_pimpl.h:
8241         * BufferView_pimpl.C:
8242         * BufferView.h:
8243         * BufferView.C: make painter() const,
8244           remove dead code
8245
8246         * BufferView2.C: use screen() accessor
8247
8248         * lyx_main.h:
8249         * lyx_main.C: some minor cleanup
8250
8251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * BufferView_pimpl.h:
8254         * BufferView_pimpl.C: remove enter/leaveView,
8255           use workHeight()
8256
8257 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8258
8259         * BufferView.h:
8260         * BufferView.C:
8261         * BufferView2.C:
8262         * BufferView_pimpl.h:
8263         * BufferView_pimpl.C: only construct screen once,
8264           rename
8265
8266         * lyxrc.C: remove pointless comment
8267
8268 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * BufferView.h:
8271         * BufferView.C: remove active() and belowMouse()
8272
8273         * BufferView_pimpl.h:
8274         * BufferView_pimpl.C: use workarea() not workarea_,
8275           and make it use a scoped_ptr instead
8276
8277 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * lyx_gui.C: add debug message on BadWindow
8280
8281 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8282
8283         * sp_spell.C: fdopen is not part of the C++ standard.
8284
8285         * paragraph.C (InsetIterator): use >= instead of ==
8286
8287 2002-06-07  Angus Leeming  <leeming@lyx.org>
8288
8289         Fixes needed to compile with Compaq cxx 6.5.
8290         * BufferView_pimpl.C:
8291         * DepTable.C:
8292         * buffer.C:
8293         * converter.C:
8294         * encoding.C:
8295         * lyx_gui.C:
8296         * lyx_main.C:
8297         * lyxtextclasslist.C:
8298         * minibuffer.C:
8299         * sp_spell.C:
8300         * tabular_funcs.C:
8301         * vc-backend.C:
8302         all c-library variables have been moved into namespace std. Wrap
8303         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8304
8305         * lyxlength.C:
8306         * tabular-old.C:
8307         * tabular.C:
8308         Add a using std::abs declaration.
8309
8310         * kbmap.h (modifier_pair):
8311         * paragraph.h (InsetTable, InsetList):
8312         * lyxfont.h (FontBits):
8313         type definition made public.
8314
8315         * bufferlist.C (emergencyWriteAll): the compiler complains that
8316         there is more than one possible lyx::class_fun template to choose from.
8317         I re-named the void specialisation as lyx::void_class_fun.
8318
8319         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8320
8321         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8322         the compiler is is unable to find tostr in write_attribute.
8323
8324 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8325
8326         * buffer.C (sgmlError): hide #warning
8327
8328 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8329
8330         * xtl/*: get rid of xtl, which is not in use anyway
8331
8332         * LyXAction.C (init):
8333         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8334         were unimplemented xtl experimentation
8335
8336 2002-06-04  André Pönitz <poenitz@gmx.net>
8337
8338         * lyxfunc.C: disable array operation on simple formulae
8339
8340 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8341
8342         * converter.C: constify a bit
8343
8344 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * lyx_gui.C: check xforms version correctly
8347
8348 2002-04-30  Herbert Voss  <voss@lyx.org>
8349
8350         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8351         "keep" option
8352
8353 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8354
8355         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8356           attempt to register it with a VCS)
8357
8358 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8359
8360         * lyx_main.C (init): honor variables LYX_DIR_13x and
8361         LYX_USERDIR_13x
8362
8363 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8364
8365         * buffer.h:
8366         * buffer.C:
8367         * lyx_main.C: fix a crash on bad command line,
8368           and give a useful exit status on error
8369
8370         * lyxfunc.C (doImport): allow -i lyx to work
8371
8372 2002-03-30  André Pönitz <poenitz@gmx.net>
8373
8374         * lyxfunc.C: mathed font changes
8375
8376 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * LaTeX.C:
8379         * importer.h:
8380         * importer.C:
8381         * lyx_sty.h:
8382         * lyx_sty.C:
8383         * lyxlex.C:
8384         * lyxrow.h:
8385         * lyxtext.h:
8386         * paragraph.h:
8387         * paragraph.C:
8388         * texrow.h:
8389         * texrow.C:
8390         * text.C:
8391         * trans_mgr.h: srcdocs, and some minor cleanups
8392
8393 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8394
8395         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8396         call getFont all the time)
8397
8398 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8399
8400         * switch from SigC signals to boost::signals
8401
8402 2002-05-29  André Pönitz <poenitz@gmx.net>
8403
8404         * paragraph_pimpl.C (getChar): don't call size() too often...
8405
8406 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8407
8408         * paragraph_pimpl.C (insertChar): do not try to update tables when
8409         appending (pos == size())
8410
8411         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8412         in order to reduce drastically the number of comparisons needed to
8413         parse a large document
8414
8415 2002-05-29  André Pönitz <poenitz@gmx.net>
8416
8417         * text.C:
8418         * text2.C:
8419         * lyxtextclass.C:
8420         * sp_pspell.h:
8421         * textclasslist.[Ch]:
8422         * sp_ispell.h: whitespace change
8423
8424 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8425
8426         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8427         lyxaction directly now.
8428
8429 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8430
8431         * trans.C:
8432         * lyxfont.C:
8433         * lyxvc.C: remove unused headers
8434
8435 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8436
8437         * Makefile.am:
8438         * buffer.h:
8439         * undostack.h:
8440         * undostack.C:
8441         * undo_funcs.h:
8442         * undo_funcs.C: some cleanups. Use shared_ptr
8443           and a template for the undo stacks.
8444
8445 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * BufferView_pimpl.h:
8448         * BufferView_pimpl.C:
8449         * kbmap.h:
8450         * kbmap.C:
8451         * kbsequence.h:
8452         * kbsequence.C:
8453         * lyxfunc.h:
8454         * lyxfunc.C:
8455         * text2.C: use key_state/mouse_state
8456
8457 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8458
8459         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8460         and LSubstring
8461
8462         * chset.C: change include order
8463         (loadFile): use boost regex and get rid of LRegex and LSubstring
8464
8465         * Makefile.am (BOOST_LIBS): new variable
8466         (lyx_LDADD): use it
8467
8468         * LaTeX.C: change include order.
8469         (scanAuxFile): use boost regex and get rid of LRegex and
8470         LSubstring
8471         (deplog): ditto
8472
8473 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * ColorHandler.h:
8476         * ColorHandler.C:
8477         * FontInfo.h:
8478         * FontInfo.C: moved to frontends/xforms/
8479
8480         * FontLoader.h:
8481         * FontLoader.C: moved into frontends for GUIIzation
8482
8483         * Makefile.am:
8484         * lyx_gui.C:
8485         * lyxfont.C:
8486         * lyxfunc.C: changes from above
8487
8488 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * LColor.C: remove spurious X include
8491
8492         * BufferView_pimpl.C:
8493         * Makefile.am:
8494         * font.h:
8495         * font.C:
8496         * text.C:
8497         * text2.C: move font metrics to frontends/
8498
8499 2002-05-24  Juergen Vigna  <jug@sad.it>
8500
8501         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8502         setting the undo_cursor.
8503
8504         * ParagraphParameters.h: include local includes first.
8505
8506 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * BufferView_pimpl.C:
8509         * BufferView_pimpl.h:
8510         * Makefile.am:
8511         * WorkArea.h:
8512         * WorkArea.C:
8513         * screen.C: move WorkArea into frontends/
8514
8515         * lyxscreen.h:
8516         * screen.C:
8517         * text.C:
8518         * BufferView.C:
8519         * BufferView2.C: move LyXScreen into frontends/
8520
8521         * lyxlookup.h:
8522         * lyxlookup.C:
8523         * lyx_gui.C: move lyxlookup into frontends/xforms/
8524
8525 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * BufferView2.C:
8528         * BufferView_pimpl.C:
8529         * FontLoader.C:
8530         * LyXView.h:
8531         * LyXView.C:
8532         * Makefile.am:
8533         * WorkArea.C:
8534         * XFormsView.h:
8535         * XFormsView.C:
8536         * buffer.C:
8537         * bufferlist.C:
8538         * bufferview_funcs.C:
8539         * converter.C:
8540         * importer.C:
8541         * lyx_cb.C:
8542         * lyx_gui.C:
8543         * lyx_main.C:
8544         * lyx_find.C:
8545         * lyxfunc.C:
8546         * lyxvc.C:
8547         * minibuffer.C:
8548         * text.C:
8549         * text2.C:
8550         * trans.C:
8551         * vc-backend.C: move LyX/XFormsView into frontends/
8552
8553 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * Makefile.am:
8556         * PainterBase.C:
8557         * PainterBase.h:
8558         * Painter.C:
8559         * Painter.h:
8560         * WorkArea.C:
8561         * WorkArea.h:
8562         * screen.C:
8563         * tabular.C:
8564         * text.C:
8565         * text2.C: move Painter to frontends/
8566
8567 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8568
8569         * buffer.C: comment out some some code that depend upon lyx_format
8570         < 220
8571
8572         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8573         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8574
8575         * buffer.h (NO_COMPABILITY): turn off compability
8576
8577         * ColorHandler.C: include scoped_array.hpp
8578
8579         * font.C: Use more specific smart_ptr header.
8580         * Painter.C: ditto
8581         * gettext.C: ditto
8582         * ShareContainer.h: ditto
8583         * lyx_main.h: ditto
8584         * kbmap.h: ditto
8585         * FontInfo.h: ditto
8586         * BufferView_pimpl.h: ditto
8587         * ColorHandler.h: ditto
8588
8589         * kbmap.C (defkey): change call to shared_ptr::reset
8590
8591 2002-05-21  Juergen Vigna  <jug@sad.it>
8592
8593         * buffer.C (insertErtContents): fix to insert ert asis if it is
8594         non empty. Skip it completely if it contains only whitespaces.
8595
8596 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8597
8598         * BufferView_pimpl.C:
8599         * BufferView2.C: clear selection on paste (bug 393)
8600
8601 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8602
8603         * DepTable.C: include ctime
8604
8605 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8606
8607         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8608
8609 2002-05-14  Juergen Vigna  <jug@sad.it>
8610
8611         * text.C (breakParagraph): fixed function to honor the keepempty
8612         layout in the right maner and also to permit the right breaking
8613         algorithm on empty or non empyt keepempty paragraphs.
8614
8615         * paragraph.C (breakParagraph): we have to check also if the par
8616         is really empty (!size()) for isempty otherwise we do the wrong
8617         paragraph break.
8618
8619 2002-05-10  Juergen Vigna  <jug@sad.it>
8620
8621         * buffer.[Ch] : The following are only changes to the ert
8622         compatibility read reading old LaTeX layout and font stuff and
8623         convert it to ERTInsets.
8624
8625         * buffer.h: added isErtInset().
8626
8627         * buffer.C (struct ErtComp): add a fromlayout bool to check
8628         if we're inside a LaTeX layout.
8629         (isErtInset): new helper function.
8630         (insertErtContents): look for other ert insets before this one
8631         and insert the contents there, so that we don't have subsequent
8632         ERT insets with nothing between them. This way we create only one
8633         inset with multiple paragraphs. Also check if we don't insert only
8634         spaces ' ' as they are ignored anyway afterwards in the .tex file
8635         so if we have only spaces we will ignore this latex part in the
8636         new file.
8637         (parseSingleLyXformat2Token \\layout): better compatibility when
8638         reading layout-latex stuff.
8639         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8640         language tag.
8641         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8642         stuff after reading the inset only get the information back from
8643         the stack.
8644
8645 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8646
8647         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8648
8649         * LaTeXFeatures.C (getBabelOptions): New method.
8650
8651 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8652
8653         * BufferView_pimpl.C (Dispatch): work around missing argument for
8654         'layout'
8655
8656 2002-05-08  Juergen Vigna  <jug@sad.it>
8657
8658         * text.C (leftMargin): handle paragraph leftindent.
8659
8660         * paragraph.C (writeFile): write the new \\leftindent tag.
8661         (validate): handle leftindent code.
8662         (TeXEnvironment): handle paragraphleftindent code again.
8663
8664         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8665
8666         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8667         for paragrap_extra indent code and new token \\leftindent.
8668         (latexParagraphs): handle the leftindent as environment.
8669
8670         * ParameterStruct.h: added leftindent support.
8671
8672         * ParagraphParameters.C (leftIndent): added support functions for
8673         the paragraph left indent.
8674
8675         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8676         more appropriate.
8677
8678 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8679
8680         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8681         inside insetERT.
8682
8683         * text.C (computeBidiTables): No bidi in insetERT.
8684
8685         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8686         in RTL documents.
8687
8688 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8689
8690         * version.C.in: pre 5
8691
8692 2002-05-02  José Matos  <jamatos@fep.up.pt>
8693         * buffer.C (makeDocBookFile): white space changes, add newline to
8694         command styles.
8695         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8696
8697         * tabular.C (docBook): fix typo.
8698
8699 2002-05-03  Juergen Vigna  <jug@sad.it>
8700
8701         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8702         change in LyXText as we can not be sure it was not freed.
8703         (drawOneRow): remove unused code.
8704
8705         * text.C (drawInset): redo the calculation of the need_break_row as
8706         it could have a row which was already freed.
8707         (draw): look at the return value of drawInset and return false if
8708         it also returned false.
8709         (paintRowText): look at the return value of draw and return false if
8710         it also returned false.
8711
8712         * lyxtext.h: added bool return type to drawInset() and draw() so that
8713         if we have a change in the row so that the rowbreak has to be redone
8714         we abort drawing as it will be called again.
8715
8716 2002-05-02  Juergen Vigna  <jug@sad.it>
8717
8718         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8719         a change in the maintext also if we're inside an inset.
8720         (Dispatch): set the cursor again after a break line and after the
8721         screen has been updated as it could be we're in a different row.
8722
8723         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8724         to set the cursor behind the pargraph with > size().
8725         (setCursor): check also for the same paragraph when checking where
8726         to put the cursor if we have a NFR inset.
8727
8728         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8729         parts of layout read further up as it still was in the wrong
8730         position.
8731
8732 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8733
8734         * screen.C (drawFromTo): change sine fullRebreak always return
8735         true.
8736
8737         * buffer.C (parseSingleLyXformat2Token): reindent some
8738
8739         * BufferView_pimpl.C (update): change since fullRebreak always
8740         return true.
8741         (Dispatch): git rid of the last hardcoded "Standard"s.
8742
8743 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8744
8745         * text2.[Ch] (fullRebreak): make it return void now that we always
8746         returned true.
8747
8748 2002-04-30  Juergen Vigna  <jug@sad.it>
8749
8750         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8751         ert compatibility check for "latex" layout.
8752
8753 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8754
8755         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8756         minipages: use col% instead of p%, and also use the current font.
8757         (makeLaTeXFile): Fix use babel condition.
8758         (parseSingleLyXformat2Token): Correct font when reading old floats.
8759
8760 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8761
8762         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8763         inserting list of floats.
8764
8765 2002-04-25  Herbert Voss  <voss@lyx.org>
8766
8767         * MenuBackend.C (expand): don't add the graphics extensions to the
8768         export menu
8769
8770 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8773         non-existing layout, do not complain if it was the default layout
8774         of the original class (bug #342)
8775
8776 2002-04-24  Juergen Vigna  <jug@sad.it>
8777
8778         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8779         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8780
8781 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8782
8783         * buffer.C (getBibkeyList): If using \bibliography, return the
8784         option field with the reference itself. Enables us to provide natbib
8785         support when using \bibliography.
8786
8787 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8788
8789         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8790
8791         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8792         natbib is provided by the LaTeX class.
8793
8794 2002-04-23  Juergen Vigna  <jug@sad.it>
8795
8796         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8797         Wakeup functions.
8798
8799         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8800
8801 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8802
8803         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8804
8805         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8806         ensuremath around textordmasculine, textordfeminine and
8807         textdegree.
8808
8809 2002-04-19  Juergen Vigna  <jug@sad.it>
8810
8811         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8812         reinitializing the buffer otherwise row-dimensions may be wrong.
8813         (update): reset also the selection cursors if they do exits otherwise
8814         their x/y positions may be wrong.
8815
8816         * text2.C (cursorDown): don't enter the inset if we came from a row
8817         above and are one row over the inset.
8818
8819         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8820         really leaving an inset.
8821
8822 2002-04-18  Juergen Vigna  <jug@sad.it>
8823
8824         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8825         of the selected paragraph does not have the selected layout also if
8826         the last one had!
8827
8828         * text2.C (setLayout): fixed bug which did not change last selected
8829         paragraph.
8830
8831         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8832         changed the read and substituted \\end_float with \\end_inset!
8833
8834         * BufferView_pimpl.C (cursorPrevious):
8835         (cursorNext): fixed to make it work with rows heigher than the work
8836         area without moving the cursor only the draw of the row.
8837         (workAreaMotionNotify): fix jumping over high rows.
8838
8839 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8840
8841         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8842         Ressler.
8843
8844 2002-04-16  Juergen Vigna  <jug@sad.it>
8845
8846         * text2.C (setCursor): set also the irow().
8847         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8848         (cursorUp):
8849         (cursorDown): support for locking an inset if the x_fix value goes
8850         inside it. That way I can transverse insets too with cursor up/down.
8851
8852         * lyxrow.h: added irow helper function same as other (i) functions.
8853
8854         * BufferView_pimpl.C (cursorPrevious):
8855         (cursorNext): fixed for insets!
8856
8857 2002-04-15  Juergen Vigna  <jug@sad.it>
8858
8859         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8860         position otherwise it is wrong in some cases.
8861
8862         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8863         inside the inset before the call.
8864
8865 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8866
8867         * buffer.[Ch] (getBibkeyList): make it const.
8868
8869 2002-04-12  Juergen Vigna  <jug@sad.it>
8870
8871         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8872
8873         * text2.C (getCursorX): new helper function
8874         (setCursor): compute also ix_
8875         (setCursorFromCoordinates): set also ix.
8876
8877         * lyxcursor.h: added ix_ and helper functions.
8878
8879         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8880
8881         * buffer.C (insertStringAsLines): dont break paragraph if the this
8882         paragraph is inside an inset which does not permit it!
8883
8884         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8885         also with no chars on this paragraph.
8886         (paintRowText): only paint stuff if it's inside the workarea!
8887
8888         * paragraph.C (breakParagraph): honor keepempty flag and break the
8889         paragraph always below not above.
8890
8891         * BufferView2.C (unlockInset): update the paragraph layout on inset
8892         unlock as we changed paragraph in such a case.
8893
8894         * lyxfind.C (LyXFind): clear the former selection if not found!
8895
8896         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8897         again called in insertChar().
8898
8899         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8900         an inset which uses the whole row!
8901         (rightMargin): ditto.
8902         (insertChar): force a rebreak if we inserted an inset!
8903
8904 2002-03-28  Herbert Voss  <voss@lyx.org>
8905
8906         * lyxlength.[Ch]: add inBP() to get the right PS-point
8907         units (BigPoint). With inPixels we have rounding errors
8908
8909 2002-04-11  Juergen Vigna  <jug@sad.it>
8910
8911         * text2.C (setCursorFromCoordinates): set iy to the right value.
8912         (setCursor): add check if row->previous exists!
8913
8914         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8915         an old float_type as this was the case in the old code!
8916
8917         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8918
8919         * BufferView2.C (showLockedInsetCursor): use iy
8920         (fitLockedInsetCursor): ditto
8921
8922         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8923         locked insets as there we have the right value now.
8924
8925         * lyxcursor.C: added iy_ variable and iy functions to set to the
8926         baseline of cursor-y of the locked inset.
8927
8928         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8929         (setCursor): fixed for insets which need a full row.
8930
8931         * text.C (rowLastPrintable): don't ignore the last space when before
8932         an inset which needs a full row.
8933         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8934         as last character of a row when before a inset which needs a full row.
8935
8936 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * version.C.in: update date
8939
8940         * text2.C (fullRebreak): try to always return true and see what
8941         happens...
8942
8943 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8944
8945         * MenuBackend.C (expand): use Floating::listName
8946
8947         * FloatList.C (FloatList): add listName argument to the built-in
8948         floats
8949
8950         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8951         text associated with the float.
8952
8953 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8956
8957 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * ShareContainer.h: add a couple of missing typenames.
8960
8961 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8962
8963         * lyxrc.C (getDescription): use _() correctly rather than N_().
8964
8965 2002-03-28  Herbert Voss  <voss@lyx.org>
8966
8967         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8968         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8969
8970 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8973         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8974
8975 2002-03-29  Juergen Vigna  <jug@sad.it>
8976
8977         * lyxfunc.C (dispatch): add a missing fitCursor call.
8978
8979         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8980         it was scrolled by a cursor move, so return the bool status.
8981
8982         * BufferView.C (fitCursor): return the bool flag also to the outside
8983         world as this is needed.
8984
8985         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8986
8987         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8988         call the edit() as it is not needed (and wrong) IMO.
8989         (workAreaButtonPress): set the screen_first variable before evt.
8990         unlock the inset as this may change screen_first and then we have
8991         a wrong y position for the click!
8992
8993 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8994
8995         * MenuBackend.C (expand): another translation that I missed
8996
8997 2002-03-28  Juergen Vigna  <jug@sad.it>
8998
8999         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9000
9001         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9002
9003 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9006
9007         * MenuBackend.C (expand): fix export/view/update when there is no
9008         document open.
9009
9010 2002-03-27  Herbert Voss  <voss@lyx.org>
9011
9012         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9013         and text%
9014
9015 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9016
9017         * bufferview_funcs.C (currentState): only show paragraph number
9018         for is DEVEL_VERSION is set.
9019
9020         * lyxfunc.C (dispatch): put warning in INFO channel
9021
9022         * MenuBackend.C (expand): translate the name of floats
9023
9024         * FloatList.C (FloatList): mark the float names for translation
9025
9026         * converter.C (convert): use LibScriptSearch
9027
9028 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * MenuBackend.C (defaults): fix default menu (we might as well get
9031         rid of it...)
9032
9033 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9034
9035         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9036         directory.
9037
9038 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9039
9040         * lyxvc.C: reorder includes.
9041
9042 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9045           properly
9046
9047 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * CutAndPaste.C: change layouts earlier on paste
9050           to avoid crashing when calling getFont()
9051
9052 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9053
9054         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9055         irritating #error.
9056
9057 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9058
9059         * WorkArea.C: remove 'Pending' debug message.
9060
9061         * most files: ws cleanup
9062
9063         * buffer.[Ch]: ws changes
9064
9065         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9066
9067 2002-03-21  Juergen Vigna  <jug@sad.it>
9068
9069         * tabular.C (SetMultiColumn): collapse also the contents of the
9070         cells and set the last border right. Added a Buffer const * param.
9071
9072 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9075         linking or not.
9076
9077 2002-03-19  Juergen Vigna  <jug@sad.it>
9078
9079         * text2.C (clearSelection): reset also xsel_cache.
9080
9081         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9082         where it needs to be called (John tells us to do so too :)
9083         (selectionLost): reset sel_cache.
9084
9085         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9086
9087 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * text2.C (setCursorIntern): put debuging code in INSETS channel
9090
9091 2002-03-19  André Pönitz <poenitz@gmx.net>
9092
9093         * lyxfunc.C: tiny whitespace change
9094
9095 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * ToolbarDefaults.C (init):
9098         * LyXAction.C (init):
9099         * commandtags.h:
9100         * BufferView_pimpl.C (Dispatch):
9101         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9102
9103 2002-03-19  Allan Rae  <rae@lyx.org>
9104
9105         * exporter.C (Export): removeAutoInsets before doing anything else.
9106         While I've just introduced a dependency on BufferView this really is
9107         the best place to clean the buffer otherwise you need to cleanup in
9108         a dozen places before calling export or cleanup in a dozen functions
9109         that export calls.
9110
9111         * converter.C (runLaTeX):
9112         (scanLog): Better handling of removeAutoInsets and screen updates.
9113
9114         * lyxfunc.C (dispatch): small whitespace changes
9115
9116 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9117
9118         * WorkArea.C (C_WorkAreaEvent): return a value.
9119         (event_cb): return 1 if we handled the event, 0 otherwise.
9120
9121         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9122
9123 2002-03-18  Juergen Vigna  <jug@sad.it>
9124
9125         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9126         (GetAdditionalWidth): ditto.
9127         (RightLine): ditto.
9128         (LeftLine): ditto.
9129
9130         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9131         inset if we're there actually (probably not used right now but this
9132         is the direction to go for unifying code).
9133         (paste): disable code to clear the selection.
9134
9135         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9136         inside an InsetText and move the check further up as it is in the
9137         wrong place.
9138
9139         * text2.C (pasteSelection): set a selection over the pasted text.
9140
9141 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9142
9143         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9144         and libgraphics to build on Cygwin.
9145
9146 2002-03-15  Juergen Vigna  <jug@sad.it>
9147
9148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9149         inserting an Inset into the paragraph. I know this is not the best
9150         fix but we already use current_view in CutAndPaste so we will remove
9151         all of it's using at the same time.
9152
9153         * buffer.C (sgmlError): deactivated function till it is rewritten in
9154         the right mode, now it can create problems.
9155
9156         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9157         before accessing it.
9158
9159 2002-03-14  Juergen Vigna  <jug@sad.it>
9160
9161         * undo_funcs.C (textHandleUndo): do the right thing when updating
9162         the inset after the undo/redo.
9163
9164         * text2.C (setCursor): just some testcode for #44 not ready yet.
9165
9166         * undo_funcs.C (textHandleUndo): set the next() and previous()
9167         pointers of the paragraph to 0 before deleting otherwise we have
9168         problems with the Paragraph::[destructor].
9169
9170         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9171         on a paragraph insertion.
9172
9173 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9174
9175         * buffer.C (asciiParagraph): use += operator for char append to
9176         string.
9177
9178         * paragraph.C (getFontSettings): compare >= not just >
9179         (highestFontInRange): ditto
9180         (setFont): ditto
9181
9182 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9183
9184         * paragraph.C: change several algorithm to be more appripriate for
9185         the problem domain. This is lookip in FontList and in the InsetList.
9186
9187 2002-03-13  André Pönitz <poenitz@gmx.net>
9188
9189         * commandtags.h:
9190         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9191
9192 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * commandtags.h:
9195         * LyXAction.C:
9196         * lyxfunc.C:
9197         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9198
9199 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9200
9201         * Painter.C (display): anon helper function, adjust code for this
9202         change.
9203         (pixmap): remove function.
9204
9205         * Painter.h: remove private display variable.
9206
9207         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9208
9209 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9210
9211         * WorkArea.[Ch]: remove figinset_canvas cruft.
9212
9213 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9214
9215         * lyxtextclass.C (operator): add one item cache optimization.
9216
9217         * bufferlist.h: doxy changes
9218
9219         * bufferlist.C: ws changes
9220
9221         * DepTable.[Ch] (ext_exist): place const in the right spot.
9222
9223         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9224         call resizeInsets.
9225         (workAreaExpose): call resizeInsets when the with BufferView changes.
9226         (Dispatch): adjust for protectedBlank removal
9227         (specialChar): call updateInset if the insert went ok.
9228
9229         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9230         specialChar instead.
9231
9232         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9233
9234         * BufferView.h: doxy change
9235
9236         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9237
9238         * lyxtextclass.C (operator[]): remove non-const version
9239         (defaultLayout): remove non-const version
9240
9241 2002-03-12  Juergen Vigna  <jug@sad.it>
9242
9243         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9244         did resize the LyXText too.
9245
9246         * buffer.C (readLyXformat2): set layout information on newly allocated
9247         paragraphs.
9248
9249         * tabular.C (OldFormatRead): set layout information on the paragraph.
9250
9251 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9252
9253         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9254
9255 2002-03-11  Juergen Vigna  <jug@sad.it>
9256
9257         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9258         plainly wrong.
9259         (resizeCurrentBuffer): force also the insets to resize themselfes.
9260         (moveCursorUpdate): fixed up for InsetText.
9261
9262 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9263
9264         * commandtags.h:
9265         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9266         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9267         value of Dialogs::tooltipsEnabled().
9268         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9269
9270 2002-03-08  Juergen Vigna  <jug@sad.it>
9271
9272         * BufferView_pimpl.C (updateInset): update inset inside inset also
9273         if it isn't inside theLockingInset().
9274
9275 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9276
9277         * buffer.C (asciiParagraph): redo some of the word and line length
9278         handling.
9279         (getLists): look for Caption instead of caption.
9280
9281 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * buffer.C (Buffer): initialize niceFile to true
9284         (makeLaTeXFile):
9285         (makeLinuxDocFile):
9286         (makeDocBookFile): make sure niceFile is true on exit
9287
9288 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9289
9290         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9291
9292 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9293
9294         * LyXSendto.C: remove.
9295         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9296         * lyx_gui.C: remove now-redundant comment.
9297         * ColorHandler.h: remove forward declaration of class WorkArea.
9298         * lyxfunc.C: remove #include "WorkArea.h".
9299
9300 2002-03-07  Juergen Vigna  <jug@sad.it>
9301
9302         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9303         got moved away with the DEPM and also set the inset_owner always
9304         right which before could have been omitted.
9305
9306 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9307
9308         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9309         wanted layout is not found.
9310
9311 2002-03-07  Juergen Vigna  <jug@sad.it>
9312
9313         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9314
9315 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * paragraph.C (breakParagraph): use default layout not layout of
9318         prev paragraph.
9319         (Paragraph): clear ParagraphParameters.
9320
9321 2002-03-06  Juergen Vigna  <jug@sad.it>
9322
9323         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9324         otherwise it would not be a valid lenght. Fixed a special case in
9325         the minipage compatibility read where we end the document with a
9326         minipage.
9327
9328         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9329         was set as it could be 0 for InsetTexts first entry.
9330
9331 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * paragraph.C (writeFile): if layout is empty write out
9334         defaultLayoutName().
9335
9336         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9337         file without named layout we set layout to defaultLayoutName().
9338
9339 2002-03-06  Juergen Vigna  <jug@sad.it>
9340
9341         * CutAndPaste.C (copySelection): set layout for new paragraph.
9342
9343         * text.C (prepareToPrint): leave ERT inset left aligned
9344         (leftMargin): don't indent paragraphs inside ERT insets
9345
9346 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9347
9348         * paragraph.C (breakParagraph): dont call clear do the work manually
9349
9350         * paragraph.[Ch] (clear): remove function
9351
9352 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * paragraph.C (Paragraph): dont call clear, the work has already
9355         been done.
9356
9357         * lyxtextclass.C (operator): assert if n is empty
9358
9359         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9360         work manually instead.
9361
9362 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * BufferView_pimpl.C: protect selectionLost against text == 0
9365
9366 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9367
9368         * text.C (breakParagraph): fix a setting layout to '0' problem.
9369
9370 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9371
9372         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9373         final location of file, for the included files, and graphics.
9374
9375 2002-03-05  Juergen Vigna  <jug@sad.it>
9376
9377         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9378
9379 2002-03-04  Juergen Vigna  <jug@sad.it>
9380
9381         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9382
9383         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9384         last column of multicolumn cells.
9385         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9386
9387 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9388
9389         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9390         file if it doesn't go to a temporary file.
9391
9392         * buffer.C (sgmlOpenTag):
9393         (sgmlCloseTag):  remove extra newline insertion.
9394
9395 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9396
9397         * text.C (getRowNearY): comment out debug msg
9398
9399 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * text2.C: first -> first_y
9402
9403         * text.C (getRowNearY): add some attemts at a possible
9404         optimization, not working.
9405
9406         * tabular.[Ch]: add BufferParams to several function so that newly
9407         created paragraph can be initialized to he default layotu for the
9408         buffers textclass.
9409
9410         * tabular-old.C (ReadOld): add buf->params to call of Init
9411
9412         * screen.C: rename text->first to text->first_y
9413
9414         * paragraph.C (breakParagraph): always set layout in the broken
9415         paragraph
9416
9417         * lyxtextclass.C (Read): remove lowercase
9418         (hasLayout): ditto
9419         (operator): ditto
9420         (delete_layout): ditto
9421
9422         * lyxtext.h: rename first -> first_y
9423
9424         * lyxlayout.C (Read): remove lowercase
9425         (name): ditto
9426         (setName): ditto
9427         (obsoleted_by): ditto
9428
9429         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9430
9431         * buffer.C (insertErtContents): add params are to InsetERT
9432         (parseSingleLyXformat2Token): add code to check if a paragraphs
9433         layout really exist.
9434         (parseSingleLyXformat2Token): add params to several inset
9435         constructors
9436         (asciiParagraph): remove lowercase, do the layout comparisons with
9437         no_case
9438
9439         * BufferView_pimpl.C (cursorNext): first -> first_y
9440         (resizeCurrentBuffer): first -> first_y
9441         (updateScrollbar): first -> first_y
9442         (scrollCB): first -> first_y
9443         (workAreaMotionNotify): first -> first_y
9444         (workAreaButtonPress): first -> first_y
9445         (checkInsetHit): first -> first_y
9446         (cursorPrevious): first -> first_y
9447         (cursorNext): first -> first_y
9448         (Dispatch): add buffer_->params to severl inset contructors
9449
9450 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9451
9452         * lyxlayout.C (Read): remove some debug info that I forgot.
9453
9454         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9455         clean up the code slightly.
9456         (makeLinuxDocFile): ditto
9457         (makeDocBookFile): ditto
9458
9459         * text2.C: layout as string
9460
9461         * text.C: layout as string
9462
9463         * paragraph_pimpl.C: layout as string
9464
9465         * paragraph.[Ch]: layout as string
9466
9467         * lyxtextclasslist.[Ch]: layout as string
9468
9469         * lyxtextclass.[Ch]: layout as string
9470
9471         * lyxtext.h: layout as string
9472
9473         * lyxlayout.[Ch]: layout as string
9474
9475         * lyx_cb.C: layout as string
9476
9477         * bufferview_funcs.C: layout as string
9478
9479         * bufferparams.C: layout as string
9480
9481         * buffer.C: layout as string
9482
9483         * LyXView.[Ch]: layout as string
9484
9485         * LaTeXFeatures.[Ch]: layout as string
9486
9487         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9488
9489         * BufferView_pimpl.C: change current_layout to string, remove
9490         lyx::layout_type.
9491         (Dispatch):
9492         (smartQuote):
9493         (insertInset):
9494         (workAreaButtonRelease): layout as string
9495
9496         * BufferView2.C (unlockInset): adjust
9497
9498         * vspace.C (asLatexCommand): use an explict temp variable.
9499
9500 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * Makefile.am: use FRONTEND_*
9503
9504 2002-03-01  Juergen Vigna  <jug@sad.it>
9505
9506         * tabular.C (SetWidthOfMulticolCell): changed to something better
9507         I hope but still work in progress.
9508         (recalculateMulticolumnsOfColumn): renamed function from
9509         recalculateMulticolCells as it is more appropriate now.
9510         (SetWidthOfCell): calculate multicols better.
9511
9512 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9515
9516         * lyxfunc.C (processKeySym): print sequence also if it is
9517         `deleted' (complete)
9518
9519         * kbsequence.C (print): print sequence even if it is deleted
9520         (complete would be a better word, actually).
9521
9522         * lyxfunc.C (dispatch): print complete options after a prefix key
9523
9524         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9525
9526 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9527
9528         * text2.C (setCharFont): eliminate setCharFont code duplication.
9529
9530 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9533         LFUN_TABULAR_FEATURE (bug #177)
9534
9535 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9536
9537         * Makefile.am: remove figure.h
9538
9539 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9540
9541         * Bufferview_pimpl.C:
9542         * CutAndPasteC:
9543         * LaTeX.C:
9544         * LyXSendto.C:
9545         * buffer.C:
9546         * bufferlist.C:
9547         * converter.C:
9548         * language.C:
9549         * lyxfunc.C:
9550         * lyxvc.C:
9551         * paragraph.C:
9552         * text.C:
9553         * text2.C: remove #include "lyx_gui_misc.h".
9554
9555         * LaTeX.C: added #include <cstdio>
9556
9557 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9558
9559         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9560         that the paragraph following this one can have.
9561
9562         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9563
9564         * vspace.C (asLatexCommand): fix bogus gcc warning
9565
9566         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9567
9568 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9569
9570         * text2.C (setLayout): get rid of redundant code
9571
9572 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9573
9574         * text2.C (incDepth): make sure depth cannot be increased beyond
9575         reasonable values.
9576
9577 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9578
9579         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9580         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9581
9582         * PainterBase.h (image):
9583         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9584         a LyXImage const *.
9585
9586 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * BufferView.C:
9589         * BufferView.h:
9590         * BufferView_pimpl.C:
9591         * BufferView_pimpl.h:
9592         * LaTeXFeatures.C:
9593         * LyXAction.C:
9594         * LyXView.C:
9595         * Makefile.am:
9596         * UpdateList.h:
9597         * UpdateList.C:
9598         * buffer.C:
9599         * figure.h:
9600         * figureForm.C:
9601         * figureForm.h:
9602         * figure_form.C:
9603         * figure_form.h:
9604         * lyx_cb.C:
9605         * lyx_gui.C:
9606         * lyx_gui_misc.C:
9607         * lyxfunc.C:
9608         * sp_base.h:
9609         * sp_ispell.h:
9610         * sp_pspell.h:
9611         * sp_spell.C: remove fig inset, and the crap house of
9612           cards that follows it
9613
9614 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * Makefile.am:
9617         * lyxserver.C:
9618         * os2_defines.h:
9619         * os2_errortable.h:
9620         * nt_defines.h: move .h into support/
9621
9622         * vms_defines.h: remove
9623
9624         * WorkArea.C: add space in debug output
9625
9626         * text2.C:
9627         * paragraph.C:
9628         * buffer.C: add WITH_WARNINGS
9629
9630         * vc-backend.h:
9631         * vc-backend.C:
9632         * bufferlist.C: s/retrive/retrieve/, add docs
9633
9634         * vspace.h:
9635         * vspace.C:
9636         * kbmap.h:
9637         * lyxlength.h:
9638         * lyxgluelength.h:
9639         * length_common.h:
9640         * chset.h:
9641         * chset.C: add docs
9642
9643         * lyxgui.C: add ID to X error handler
9644
9645         * lyxtestclass.c: fix typo
9646
9647 2002-02-26  Juergen Vigna  <jug@sad.it>
9648
9649         * tabular_funcs.C (write_attribute): changed so that some default
9650         attributes are not written at all.
9651         (getTokenValue): set default values before trying to read the
9652         value so we have the return value always set as default if we don't
9653         find the token we search for.
9654
9655         * tabular.C (Write): write bools as bools not as strings!
9656
9657 2002-02-22  Juergen Vigna  <jug@sad.it>
9658
9659         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9660         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9661
9662         * text.C (leftMargin): don't add an indent for paragraphs inside
9663         tabular cells (fix #208).
9664
9665 2002-02-21  José Matos  <jamatos@fep.up.pt>
9666
9667         * tabular.C (docBook): fixed support for long tables.
9668
9669 2002-02-20  Juergen Vigna  <jug@sad.it>
9670
9671         * text2.C (getFont): get the drawing font of the Inset if this
9672         paragraph is inside an inset (only important for InsetERT for now).
9673
9674         * buffer.C (insertErtContents): use new lanugage params in ERT
9675         constructor.
9676
9677         * CutAndPaste.C: commenting out seemingly uneeded code.
9678
9679 2002-02-19  Allan Rae  <rae@lyx.org>
9680
9681         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9682         Iterators might be simple to use but they also get invalidated.
9683         (removeAutoInsets): renamed saved cursor tracking variables and added
9684         some comments to clarify what everything does.
9685
9686 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9687
9688         * Chktex.C:
9689         * LaTeX.C:
9690         * LyXSendto.C:
9691         * converter.C:
9692         * lyx_cb.C:
9693         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9694         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9695
9696         * lyxfunc.C:
9697         * vc-backend.h: remove #include "support/syscall.h"
9698
9699         * LaTeX.C:
9700         * LyXSendto.C:
9701         * converter.C: rearrange #includes in Lars' approved fashion.
9702
9703         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9704         forward declare class Timeout in the header file.
9705
9706         * XFormsView.C: changes due to the above.
9707
9708         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9709         similar to LyXView.
9710
9711         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9712         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9713
9714 2002-02-18  José Matos  <jamatos@fep.up.pt>
9715
9716         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9717         insets contents.
9718
9719 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9720
9721         * a lot of small ws changes
9722         * add a lot of using std::XXX
9723         * use std construcs some places where approp.
9724         * use some exisint stuff from lyxfunctional where approp.
9725         * Make file changes to use partial linking (lets test this now...)
9726
9727 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9728
9729         * Chktex.C:
9730         * buffer.C:
9731         remove #include "support/syscontr.h" as it's redundant. Always has been.
9732
9733         * Chktex.C:
9734         * LaTeX.C:
9735         * LyXSendto.C:
9736         * converter.C:
9737         * lyx_cb.C:
9738         * vc-backend.C:
9739         change Systemcalls::System to Systemcalls::Wait and
9740         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9741         No change of functionality, just reflects the stripped down Systemcalls
9742         class.
9743
9744 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9745
9746         * debug.[Ch]: add a GRAPHICS type to the enum.
9747
9748 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9751
9752         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9753         there is an inset.
9754
9755 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9756
9757         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9758         match the changes below.
9759
9760         * text2.C (toggleInset): if there is not editable inset at cursor
9761         position, try to see if cursor is _inside_ a collapsable inset
9762         and close it.
9763
9764 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9765
9766         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9767         document menu has a nice checkbox
9768
9769 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9770
9771         * lyxlength.C (asLatexString): change PW to output as percent of
9772         \textwidth.
9773
9774         * lengthcommon.C: change '%' to 't%'
9775
9776         * lyxfunc.C (dispatch): a few comments from Martin
9777
9778 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9779
9780         * WorkArea.h:
9781         * WorkArea.C:
9782         * BufferView_pimpl.h:
9783         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9784           the X selection.
9785
9786 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * vspace.C (inPixels): fix compiler warning
9789
9790 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * lyxfunc.C (getStatus): fix status message for disabled commands.
9793
9794 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * BufferView_pimpl.C: fix crash on close buffer
9797         during selection (#227)
9798
9799 2002-01-27  Herbert Voss  <voss@lyx.org>
9800
9801         * buffer.C: link old Figure to new graphic inset
9802
9803 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9804
9805         * FontLoader.C (getFontinfo): Change the latex font names in order
9806         to match the names of type1inst.
9807
9808 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9809
9810         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9811
9812         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9813         (extchanged): ditto
9814         (ext_exist): ditto
9815         (remove_files_with_extension): ditto
9816         (remove_file): ditto
9817         (write): ditto
9818
9819         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9820         document is smaller than the work area height. Do not initialize
9821         static variables to 0.
9822
9823 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9826
9827         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9828         LFUN_LAYOUT_PARAGRAPHS.
9829
9830         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9831         tabular. It is possible to provide a possible cell, which will
9832         typically be the actcell from the corresponding insettabular
9833
9834         * lyxfunc.C (getStatus): small cleanup; disable
9835         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9836         true
9837
9838 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9839
9840         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9841
9842         * paragraph.C (startTeXParParams):
9843         (endTeXParParams): new methods. The LaTeX code to
9844         start/end paragraph formatting
9845         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9846         empty (fixes bug #200)
9847
9848         * vspace.C (inPixels): adapt to the change below
9849         (inPixels): [later] more cleanups (remove unused variables)
9850
9851         * lyxlength.C (inPixels): change to use a width and a height as
9852         parameter.
9853
9854 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9857         Replaced with \paperwidth
9858
9859         * DepTable.C (insert): add std:: qualifier
9860
9861 2002-01-18  Allan Rae  <rae@lyx.org>
9862
9863         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9864         updated also?
9865
9866         * text.C (drawInset): Turned out I didn't know enough about how
9867         rebreaking worked.  This fixes most of the redraw problems.  I see
9868         an occasional cursor trail when a line is broken now and the cursor
9869         placement can seem out by a few pixels also after a rebreak.
9870
9871 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * buffer.C (parseSingleLyXformat2Token): update because minipage
9874         width is now a LyXLength
9875
9876         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9877
9878         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9879         math insets
9880
9881 2002-01-17  Juergen Vigna  <jug@sad.it>
9882
9883         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9884
9885         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9886         is set correctly and the inset is updated correctly.
9887
9888 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9891         the beginning of the loop.
9892
9893 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * lyxrc.C: improve help for use_scalable_fonts
9896
9897 2002-01-17  Allan Rae  <rae@lyx.org>
9898
9899         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9900
9901 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9904         make sure to set their inset_owner to the right value (bug #171)
9905
9906 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9907
9908         * DepTable.h
9909         * DepTable.C: Implement mtime checking to reduce time spent doing
9910         CRCs.
9911
9912 2002-01-16  Juergen Vigna  <jug@sad.it>
9913
9914         * tabular.C (GetAdditionalHeight): one of error fixed.
9915
9916         * lyxrc.C (output): small fix in writing use_pspell.
9917
9918 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9919
9920         * sp_base.h: #include LString.h
9921
9922 2002-01-16  Allan Rae  <rae@lyx.org>
9923
9924         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9925         Can someone check this please?
9926
9927         * text.C (drawInset): It was possible that p.row would be removed by
9928         breakAgainOneRow upsetting a few other settings.  There may be another
9929         small tweak possible by setting need_break_row = 0 when p.row has been
9930         removed but I don't know enough about the logic here.
9931
9932 2002-01-15  Allan Rae  <rae@lyx.org>
9933
9934         * text.C (insertChar): removed conditional truism.
9935
9936         * BufferView2.C (removeAutoInsets): More tweaks.
9937         cur_par_prev could be a stray pointer.  Check for trailing empty line
9938         in case last line was cur_par and only had an error inset on it.
9939
9940 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9943         absolute
9944
9945         * vc-backend.C (most methods):
9946         * exporter.C (Export):
9947         * converter.C (convert):
9948         (runLaTeX):
9949         * LyXSendto.C (SendtoApplyCB):
9950         * lyxfunc.C (dispatch):
9951         (menuNew):
9952         (open):
9953         (doImport):
9954         * lyx_cb.C (AutoSave):
9955         (InsertAsciiFile):
9956         * BufferView_pimpl.C (MenuInsertLyXFile):
9957         * buffer.C (runChktex): use Buffer::filePath().
9958
9959         * buffer.h: rename filename to filename_; rename filepath to
9960         filepath_ and make it private
9961         (filePath): new method
9962
9963         * buffer.C (writeFile): use fileName()
9964         (getLatexName):
9965
9966         * lyx_main.C (init): fix starting  of LyX when the binary is a
9967         link from so,ewhere else.
9968
9969         * minibuffer.C: include <cctype> for isprint
9970
9971 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9972
9973         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9974         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9975         name clash with InsetCollapsable's width function.
9976
9977 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9978
9979         * lastfiles.C: include <iterator>
9980
9981 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9982
9983         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9984         std::count.
9985
9986         * buffer.C (makeLaTeXFile): ditto.
9987         Also make loop operation more transparent.
9988
9989 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9990
9991         * ToolbarDefaults.C: remove trailing comma closing namespace.
9992
9993         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9994
9995         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9996         as in WorkArea.
9997
9998         * trans.C (Load): comment out unused variable, allowed.
9999
10000 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10001
10002         * minibuffer.[Ch] (append_char): new method to recieve input from the
10003         drop-down completion browser. If a key was pressed, then recieve this
10004         char and append it to the existing string.
10005         (peek_event): modify the positioning data passed to the completion
10006         browser so that it can be placed above the minibuffer rather than below.
10007 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * LyXAction.C (init): alloe error-next for readonly documents.
10010
10011         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10012         count.
10013
10014 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * bufferlist.C (readFile): create the buffer _after_ checking that
10017         the file exists.
10018
10019         * lyxfunc.C (verboseDispatch): fix handling of arguments
10020
10021         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10022
10023         * lyxrc.C: use string::erase() instead of initializing to "".
10024
10025
10026 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * BufferView_pimpl.h:
10029         * BufferView_pimpl.C:
10030         * WorkArea.h:
10031         * WorkArea.C:
10032         * text2.C: tell X when we have made a selection for copying
10033
10034 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10035
10036         * BufferView_pimpl.C (MenuInsertLyXFile):
10037         * lyxfunc.C (menuNew):
10038         (open):
10039         (doImport): add shortcuts to directory buttons
10040
10041         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10042         open a float)
10043
10044         * lyxfunc.C (setStatusMessage):
10045         (getStatusMessage): new methods
10046         (getStatus):use setStatusMessage instead of setErrorMessage
10047         (dispatch): when function is disabled, set error message here
10048         [instead of in getStatus previously]
10049
10050         * BufferView_pimpl.C (workAreaButtonRelease): update
10051         toolbar/menubar here too.
10052
10053 2002-01-13  Allan Rae  <rae@lyx.org>
10054
10055         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10056         Now seems indestructible.  Remaining task is to audit all other
10057         code affected by deleteEmptyParagraphMechanism.  One small quirk
10058         left is that an empty document with an error in the preamble can
10059         be made to report an error but no error box appears.  I don't know
10060         where it goes.
10061         (removeAutoInsets): Improved comments.
10062
10063 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * Thesaurus.h:
10066         * Thesaurus.C: update for Aiksaurus 0.14
10067
10068 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * text2.C (firstParagraph): removed member function, all uses
10071         replaces with ownerParagraph
10072         (redoParagraphs): here
10073         (updateInset): here
10074         (toggleAppendix): here
10075         * BufferView2.C (insertErrors): here
10076         (setCursorFromRow): here
10077
10078 2002-01-13  Allan Rae  <rae@lyx.org>
10079
10080         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10081         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10082         There is still a way to segfault this although you may have to do this
10083         multiple times: Have an InsetERT with an unknown command in it.
10084         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10085         <down-arrow>, <Enter> again, View->DVI, BANG!
10086
10087         * text2.C (setCursor):
10088         (deleteEmptyParagraphMechanism):
10089         * lyxtext.h (setCursor):
10090         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10091         Making use of the return value may help fix other bugs.
10092
10093 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10096
10097         * LyXView.C (updateMenubar): call MenuBar::update here
10098         (updateToolbar): but not here
10099         (showState): do not update toolbar/menubar
10100
10101         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10102         should need to care about that.
10103
10104         * lyxfunc.C (verboseDispatch): simplify a bit
10105         (getStatus): have a version which takes a pseudoaction, and
10106         another which requires a (kb_action,string).
10107
10108         * LyXAction.C (retrieveActionArg): make it work also when action
10109         is not a pseudo-action.
10110         (getActionName): simplify a bit
10111         (helpText):
10112
10113 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * lyxfunc.C (verboseDispatch): new families of methods with
10116         several ways to specify a command and a bool to indicate whether
10117         the command name and shortcut should be displayed in minibuffer
10118         (eventually, we could extend that to a finer bitmask like
10119         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10120         (dispatch): the pristine dispatch command which just, well,
10121         dispatchs! Note it still sets its result to minibuffer; I'm not
10122         sure we want that.
10123
10124         * lyxfunc.h: remove setHintMessage
10125
10126         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10127
10128 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * BufferView_pimpl.C (specialChar): delete new inset if we have
10131         not been able to insert it.
10132
10133         * kbmap.C: revert to using int instead of kb_action, since all we
10134         are dealing with is pseudo-actions.
10135
10136         * LyXAction.C (searchActionArg): change to return int instead of
10137         kb_action, since the result is a pseudoaction.
10138
10139 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * buffer.C (insertErtContents): Fix (partially) the font bug.
10142
10143 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10144
10145         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10146         as the other one is broken on my machine!
10147
10148 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10149
10150         * commandtags.h:
10151         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10152
10153 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10154
10155         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10156         reflect their actual use. Provide compatibility code for older lyxrc
10157         files.
10158
10159         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10160         FL_NORMAL_STYLE.
10161         change names of popup font variables in line with the changes to lyxrc.C
10162
10163 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * buffer.C (asciiParagraph): avoid outputing a word twice after
10166         an inset.
10167
10168         * lyxrc.C (getDescription): document that document_path and
10169         template_path can be empty.
10170
10171 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * LaTeXFeatures.C (getMacros):
10174         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10175
10176         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10177
10178         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10179         getPackages.
10180         (getPackages): rename feature "floats" to "float". Use an array to
10181         iterate over 'simple' features (i.e. just a \usepackage). Add
10182         handling of "amsmath" (renamed from "amsstyle").
10183
10184 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10185
10186         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10187         features list.
10188
10189 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10190
10191         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10192         FuncStaus::FuncStatus & FuncStaus::some_method().
10193
10194 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10195
10196         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10197         of the func_satus stuff. Edited and massaged in various ways by
10198         JMarc.
10199
10200         * lyxfunc.C (getStatus): use FuncStatus
10201
10202 2002-01-08  Juergen Vigna  <jug@sad.it>
10203
10204         * text.C (nextBreakPoint): use function Inset::isChar().
10205
10206         * paragraph.C (TeXOnePar): use function
10207         Inset::forceDefaultParagraphs.
10208
10209         * buffer.C (latexParagraphs): use function
10210         Inset::forceDefaultParagraphs.
10211
10212 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10213
10214         * lyx_gui.C (init): set the style of the menu popups to
10215         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10216
10217 2002-01-07  Juergen Vigna  <jug@sad.it>
10218
10219         * text.C (setHeightOfRow): small fix
10220         (prepareToPrint): don't look at alignment if we don't have the place
10221         for doing it.
10222
10223 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10224
10225         * box.C: New file. Move the Box methods and functions out of box.h,
10226         following Lars' suggestion.
10227
10228 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10229
10230         * box.h: #include "support/LOstream.h", needed for inlined function.
10231
10232         * lyxtextclass.C:
10233         * lyxtextclasslist.C: added some using std declarations.
10234
10235 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * box.h: make signed dimensions to allow insets wider than
10238           the screen (bug #162)
10239
10240         * BufferView_pimpl.C: add some insetHit debug
10241
10242 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * vc-backend.C: add FIXME
10245
10246 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * lyxfunc.C (getStatus): enable code for showing math font status
10249         in toolbar/menu.
10250
10251 2002-01-07  Juergen Vigna  <jug@sad.it>
10252
10253         * text.C (nextBreakPoint): removed debug output not needed anymore.
10254
10255 2002-01-06  Juergen Vigna  <jug@sad.it>
10256
10257         * text.C (nextBreakPoint): fixed up this function we had this bug
10258         since ever but now hopefully we break row better.
10259         (insertChar): we have to check if an inset is the next char as it
10260         could now happen that a large inset is causing a break.
10261
10262 2002-01-05  Juergen Vigna  <jug@sad.it>
10263
10264         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10265         if it doesn't like to be drawed.
10266
10267 2002-01-04  Juergen Vigna  <jug@sad.it>
10268
10269         * BufferView2.C (lockInset): forgot to set a cursor.
10270
10271         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10272
10273 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10274
10275         * FormMathsPanel.C:
10276         * FormMathsPanel.h
10277         * MathsSymbols.C:
10278         * form_maths_panel.C:
10279         * form_maths_panel.h:
10280         * form_maths_panel.fd: implemented sub- and super- buttons in math
10281         panel.
10282
10283         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10284         (or ^ space) to be used as in TeX (req'd by André).
10285
10286         * lyxfunc.C: Allow ^ and _ again to be used both as
10287         super/subscript (mathed) and as themselves (in text).
10288
10289 2002-01-03  Allan Rae  <rae@lyx.org>
10290
10291         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10292         "LyX" or the filename of the current buffer if it has one.  This is a
10293         modified form of John Levon's patch.
10294
10295         * XFormsView.C (setWindowTitle): also set icon title.
10296
10297         * LyXView.h (setWindowTitle): signature changed.
10298         * XFormsView.h (setWindowTitle): ditto.
10299
10300 2002-01-02  Juergen Vigna  <jug@sad.it>
10301
10302         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10303
10304 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * screen.C (topCursorVisible): introduce a temp var for
10307         text->cursor.row(), handle the case where this row is null. (kindo
10308         hachish)
10309
10310         * text2.C (setCursor): add a couple of asserts.
10311
10312         * paragraph.h (inset_iterator): add -> operator
10313
10314         * paragraph.[Ch] (autoDeleteInsets): remove member function
10315
10316         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10317         cursor pos correctly and handle inset deletion by itself.
10318         (insertErrors): move iterator declaration out of for expression
10319
10320         * lyxtextclass.C: add <algorithm>
10321
10322         * Makefile.am: added the new files to sources, removed layout.C
10323
10324         * layout.C: removed file
10325
10326         * layout.h: remove LYX_DUMMY_LAYOUT
10327
10328         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10329         layout.
10330
10331         * lyxlayout.[Ch]:
10332         * lyxtextclass.[Ch]:
10333         * lyxtextclasslist.[Ch]: new files
10334
10335         * include order changes to a lot of files, also changes because of
10336         the six new files.
10337
10338 2001-12-27  Juergen Vigna  <jug@sad.it>
10339
10340         * buffer.C (asciiParagraph): more fixes.
10341
10342         * tabular.C (ascii): make ascii export support export of only the
10343         data separated by a column-delimiter.
10344         (ascii): better support for ascii export.
10345
10346         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10347
10348 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * tabular_funcs.C: use a "using std::getline" instead of the
10351         previous fix from Angus (necessary for cxx + lyxstring)
10352
10353 2001-12-24  Juergen Vigna  <jug@sad.it>
10354
10355         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10356
10357         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10358         problems. First check a minipage also if we have some ert-contents
10359         (not only on par->size(), second set the right depth of the paragraph
10360         on the relink to the root-paragraph-list!
10361
10362         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10363         which then did not anymore update the main paragraphs on undo/redo!
10364
10365 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10368         code. Support all font-changing funcs (even those which are not in
10369         menu currently). Support for reporting font settings in
10370         mathed (disabled until Andre provides a function on mathed's side).
10371
10372         * func_status.h (toggle): small helper function to set toggle
10373         state on a flag.
10374
10375 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10376
10377         * tabular_funcs.C: getline -> std::getline
10378
10379 2001-12-21  Juergen Vigna  <jug@sad.it>
10380
10381         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10382         accessed and could be 0 (I couldn't generate this but it seems
10383         Michael could!).
10384
10385 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10388         * tabular_funcs.h: here and include iosfwd
10389
10390 2001-12-20  Juergen Vigna  <jug@sad.it>
10391
10392         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10393         inside inset but undo_par was.
10394
10395 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * Thesaurus.C: always include <config.h> in sources.
10398
10399         * Painter.h:
10400         * lyxlookup.h:
10401         * box.h: do not include <config.h> in header files
10402
10403         * text.C (paintLastRow): remove unused variable
10404
10405         * text.C (transformChar):
10406         (insertChar):
10407         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10408
10409         * Painter.C (text):
10410         * font.C (width): rewrite to use uppercase() instead of
10411         islower/toupper.
10412
10413         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10414
10415 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lyxfind.C: clean up of find failure position change
10418
10419 2001-12-20  Juergen Vigna  <jug@sad.it>
10420
10421         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10422
10423         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10424         (TeXRow): added to LaTeX a single tabular row.
10425         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10426         (Latex): simplified and finally good LT-h/f support.
10427         (various_functions): just small adaptions for LT-h/f support.
10428
10429         * tabular_funcs.[hC]: added and moved here all not classfunctions
10430         of LyXTabular.
10431
10432 2001-12-19  Juergen Vigna  <jug@sad.it>
10433
10434         * tabular.[Ch]: better support for longtabular options (not finished
10435         yet!)
10436
10437 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * text.C (paintLastRow): use the label font instead of the font of
10440         the last character to compute the size of *_BOX. This makes more
10441         sense and avoids a crash with empty paragraphs.
10442         Use Painter::rectangle to draw EMPTY_BOX.
10443
10444 2001-12-19  Juergen Vigna  <jug@sad.it>
10445
10446         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10447         the paragraphs if the replaced paragraph is not the first one!
10448         Tried to delete not used paragraphs but does not work yet so for
10449         now it's inside #ifdef's and by default off!
10450
10451 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * MenuBackend.C: include "lyx_main.h" instead of declaring
10454         lastfiles (actually was declared as LastFiles* instead of a
10455         scoped_ptr).
10456
10457 2001-12-17  Juergen Vigna  <jug@sad.it>
10458
10459         * tabular.C (AppendColumn): applied John's fix
10460
10461 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * BufferView.h:
10464         * BufferView.C:
10465         * BufferView_pimpl.h:
10466         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10467
10468         * Makefile.am:
10469         * box.h: new start of class for above
10470
10471         * lyxfunc.C: ignore space-only minibuffer dispatches.
10472           Show the command name when it doesn't exist
10473
10474         * minibuffer.C: don't add empty lines to the history
10475
10476         * minibuffer.C: add a space on dropdown completion
10477
10478 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * text.C: fix line above/below drawing in insets
10481
10482 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * lyxlength.C (LyXLength): Initialize private variables.
10485
10486 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10489         when inserting error insets.
10490
10491 2001-12-13  Juergen Vigna  <jug@sad.it>
10492
10493         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10494         actually sometimes the before-paragraph.
10495         (setUndo): don't clear the redostack if we're not actually undoing!
10496
10497 2001-12-06  Juergen Vigna  <jug@sad.it>
10498
10499         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10500         and fixed redoing of main paragraph, so we can use it now ;)
10501
10502         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10503
10504 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10505
10506         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10507         Juergen's request
10508
10509 2001-12-13  André Pönitz <poenitz@gmx.net>
10510
10511         * undostack.[Ch]:
10512         * undo_func.C: minor cleanup
10513
10514 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10517         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10518         font in urw-fonts package which is marked as -urw-fontspecific and
10519         does not work (incidentally, changing the encoding in the
10520         fonts.dir of this package to -adobe-fontspecific fixes the
10521         problem).
10522
10523         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10524         is a crash when undoing first paragraph (Juergen, please take a
10525         look). THis does not mean the undo fix is wrong, just that it
10526         uncovers problems.
10527
10528         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10529         the (Paragraph*) version when needed instead of duplicating the
10530         code.
10531
10532         * text.C (workWidth): use Inset::parOwner to find out where the
10533         inset has been inserted. This is a huge performance gain for large
10534         documents with lots of insets. If Inset::parOwner is not set, fall
10535         back on the brute force method
10536
10537         * paragraph_pimpl.C (insertInset):
10538         * paragraph.C (Paragraph):
10539         (cutIntoMinibuffer): set parOwner of insets when
10540         inserting/removing them
10541
10542         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10543
10544 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10545
10546         * commandtags.h:
10547         * LyXAction.C:
10548         * lyx_main.C:
10549         * lyxfunc.C:
10550         * mathed/formulabase.C:
10551         * mathed/math_cursor.[Ch]:
10552         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10553
10554
10555 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * lyxlength.[Ch] (operator!=): new function
10558
10559 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10560
10561         * text.C (workWidth): use Inset::parOwner to find out where the
10562         inset has been inserted. This is a huge performance gain for large
10563         documents with lots of insets. If Inset::parOwner is not set, fall
10564         back on the brute force method
10565
10566         * paragraph_pimpl.C (insertInset):
10567         * paragraph.C (Paragraph):
10568         (cutIntoMinibuffer): set parOwner of insets when
10569         inserting/removing them
10570
10571         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10572
10573 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * tabular-old.C (getTokenValue):
10576         * tabular.C (getTokenValue):
10577         (write_attribute): new versions for LyXLength
10578         (everywhere): adjust the use of widths
10579
10580         * tabular.h: change the type of widths from string to LyXLength
10581
10582 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10583
10584         * paragraph.C: fixed missing line number count when exporting
10585         Environments to LaTeX file
10586
10587         * buffer.C: added informational message for checking line numbers.
10588
10589 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10592         paragraph, do the 'double space' part, but not the 'empty
10593         paragraph' one.
10594
10595         * text.C (workWidth): small optimization
10596         (getLengthMarkerHeight): use minimal size for negative lengths.
10597
10598 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10601
10602         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10603
10604 2001-12-11  André Pönitz <poenitz@gmx.net>
10605
10606         * FontLoader.C:
10607         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10608
10609 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * text2.C: keep selection on a setFont()
10612
10613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * lyx_cb.C: another bv->text misuse, from insert label
10616
10617 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * kbsequence.h:
10620         * kbsequence.C: re-instate nmodifier mask
10621
10622 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10623
10624         * lyx_main.h: make lyxGUI private.
10625
10626 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10627
10628         * lyxfind.C: place the cursor correctly on failed search
10629
10630 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * text.C (getLengthMarkerHeight): for small heights, the arrows
10633         are not always on top/bottom of the text
10634         (drawLengthMarker): smaller arrows; take the left margin in
10635         account; draw also vfills.
10636         (paintFirstRow):
10637         (paintLastRow): remove special code for vfill and standard spaces,
10638         since everything is handled in drawLengthMarker now.
10639
10640 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * buffer.C (insertErtContents): try to handle font and language
10643         interaction a bit better.g
10644
10645         * ColorHandler.C (updateColor): change the hash to cover the whole
10646         LColor enum, ws cleanup
10647         (getGCLinepars): ditto
10648         (getGCLinepars): only lookup in the linecache once.
10649
10650 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * iterators.C (operator++): Make the iterator more robust
10653
10654         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10655         (John's patch)
10656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10657
10658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * lyxtext.h:
10661         * text.C: better added space drawing
10662
10663 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * LyXView.C:
10666         * BufferView2.C: fix layout combo update on inset unlock
10667
10668 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * Makefile.am: don't compile unused files
10671
10672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * lyxfunc.C:
10675         * commandtags.h:
10676         * LyXAction.C: remove old LFUN_LAYOUTNO
10677
10678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * paragraph_pimpl.h:
10681         * paragraph_pimpl.C: isTextAt() doesn't need font param
10682
10683 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10684
10685         * lyxlex.h:
10686         * lyxlex.C: little cleanup
10687
10688 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * BufferView_pimpl.C: fix insertAscii for insets
10691
10692 2001-12-05  Juergen Vigna  <jug@sad.it>
10693
10694         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10695         set the right font on the "multi" paragraph paste!
10696
10697 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * trans_decl.h:
10700         * trans_mgr.[Ch]:
10701         * trans.[Ch]:
10702         * lyxgluelength.C:
10703         * lyxlength.C: remove out-commented code.
10704
10705         * BufferView_pimpl:
10706         * CutAndPaste.C:
10707         * DepTable.C:
10708         * buffer.C:
10709         * chset.C:
10710         * lastfiles.C:
10711         * lyxlex.C:
10712         * lyxlex_pimpl.C:
10713         * lyxserver.C:
10714         * screen.C:
10715         * tabular-old.C:
10716         * tabular.C:
10717         * text.C:
10718         * trans_mgr.C:
10719         * vc-backend.C: change "while(" to "while ("
10720
10721         * lyxlength.[Ch]: add zero function to check if length is zero or
10722         not
10723         * lyxgluelength.C: use it
10724
10725 2001-12-05  Allan Rae  <rae@lyx.org>
10726
10727         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10728         Works for 2.95.3, from what I understand of Garst's reports this should
10729         work for other g++ versions.  We're screwed if the abs(int) definition
10730         changed between bugfix releases of gcc.
10731
10732 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * text.C: fix chapter label offset !
10735
10736 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * lyxtext.h:
10739         * text.C: fix hfill at end of line, clean up
10740
10741 2001-12-04  Juergen Vigna  <jug@sad.it>
10742
10743         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10744         that we force an update of the inset and it's owners if neccessary.
10745
10746 2001-12-03  Juergen Vigna  <jug@sad.it>
10747
10748         * text.C (rowLast): simplified code
10749
10750 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * lyxfunc.C: fix show options on timeout
10753
10754 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * screen.C (topCursorVisible): scroll half a page when the cursor
10757         reached top of bottom of screen
10758
10759 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * minibuffer.C: deactivate on loss of focus
10762
10763 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * vspace.[Ch] (operator!=): add operator.
10766
10767 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * BufferView_pimpl.C: refuse to open an inset when
10770         there's a selection.
10771
10772 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * BufferView_pimpl.C: allow to click on RHS of full row insets
10775
10776 2001-11-30  Juergen Vigna  <jug@sad.it>
10777
10778         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10779         insets for undo reasons.
10780
10781 2001-11-28  André Pönitz <poenitz@gmx.net>
10782
10783         * vspace.[Ch]: cosmetical changes
10784
10785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * LyXAction.h:
10788         * LyXAction.C:
10789         * lyxfunc.h:
10790         * lyxfunc.C:
10791         * kbmap.h:
10792         * kbmap.C:
10793         * lyxrc.C:
10794         * kbsequence.h:
10795         * kbsequence.C: part re-write of old kb code
10796
10797         * Painter.C:
10798         * WorkArea.C: remove Lgb_bug_find_hack
10799
10800 2001-11-30  José Matos <jamatos@fep.up.pt>
10801
10802         * buffer.C (makeDocBookFile): add a comment to point a hack.
10803         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10804         Fixed a double write of labels.
10805
10806 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10807
10808         * LaTeX.C:
10809         * LaTeX.h Fixed bug in LaTeX class where it would not
10810         re-run latex if no depfiles were changed, but the .dvi was removed.
10811
10812 2001-11-28  André Pönitz <poenitz@gmx.net>
10813
10814         * all the files from the change on 2001/11/26:
10815         use lyx::layout_type instead of LyXTextClass::size_type
10816         use lyx::textclass_type instead of LyXTextClassList::size_type
10817
10818 2001-11-29  Juergen Vigna  <jug@sad.it>
10819
10820         * text.C: added support for paragraph::isFreeSpacing()
10821
10822         * buffer.C: same as above
10823
10824         * paragraph.h: inserted isFreeSpacing() function to enable
10825         FreeSpacing inside InsetERT.
10826
10827         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10828         of the paragraph's in the cut/copy buffer to 0!
10829
10830         * text2.C (removeRow): remove the assert as it can!
10831
10832         * lyxtext.h: added helper function firstRow returning firstrow and
10833         made firstrow private again.
10834
10835         * BufferView2.C (lockInset): don't relock if we're already locked!
10836
10837         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10838         the only paragraph.
10839         (removeRow): added Assert::(firstrow)
10840
10841         * debug.C: forgot to add INSETTEXT here.
10842
10843 2001-11-28  Juergen Vigna  <jug@sad.it>
10844
10845         * sp_spell.C (initialize): changed error text to more general
10846         spellchecker command use (not only ispell!)
10847
10848         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10849
10850         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10851
10852 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * vspace.C: initialise lyxgluelength on failure
10855
10856 2001-11-28  Allan Rae  <rae@lyx.org>
10857
10858         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10859         declaration & definition that looks like a function declaration.
10860
10861 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10862
10863         * BufferView2.C (copy):
10864         (copyEnvironment): do not clear the selection when doing a copy.
10865
10866         * text.C (paintFirstRow): compilation fix
10867
10868 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10869
10870         * tabular.C (Latex): correct line count when writing latex.
10871
10872 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * paragraph_pimpl.h:
10875         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10876           bug a bit
10877
10878 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * text.C:
10881         * LColor.h:
10882         * LColor.C: change vfillline->added_space
10883
10884         * text.C: add markers and text for added space
10885
10886         * vspace.C: fix comment
10887
10888 2001-11-28  André Pönitz <poenitz@gmx.net>
10889
10890         * paragraph.C: whitespace changes
10891         * all the other files from the change on 2001/11/26:
10892         change *::pos_type into lyx::pos_type
10893
10894 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10895
10896         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10897         language of the document when inserting error insets.
10898
10899 2001-11-26  André Pönitz <poenitz@gmx.net>
10900
10901         * BufferView_pimpl.[Ch]:
10902         *       CutAndPaste.C:
10903         * buffer.[Ch]:
10904         * lyxcursor.[Ch]:
10905         * lyxfind.C:
10906         * lyxfunc.C:
10907         * lyxrow.[Ch]:
10908         * paragraph.[Ch]:
10909         * paragraph_pimpl.[Ch]:
10910         * sp_spell.C:
10911         * text.C:
10912         * text2.C: reduce header dependencies, introduce type for positions
10913
10914 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10915
10916         * <various>: change to use Alert.h
10917
10918 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10919
10920         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10921         when encountering an unknown token.
10922         (readLyXformat2): Show an error message if there were unknown tokens.
10923
10924 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * BufferView2.C:
10927         * BufferView_pimpl.C:
10928         * buffer.C:
10929         * paragraph.h:
10930         * text.C:
10931         * text2.C: use par->isInset()
10932
10933 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * paragraph_pimpl.h:
10936         * paragraph_pimpl.C: cleanup
10937
10938 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10939
10940         * text2.C (removeRow):
10941         * text.C (setHeightOfRow): remove useless (and costly) call to
10942         getRow.
10943
10944 2001-11-20  Allan Rae  <rae@lyx.org>
10945
10946         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10947         Now need Inset*::checkInsertChar() to return true for appropriate
10948         cases so that the characters in the minibuffer will actually be
10949         inserted.
10950
10951 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * text.C: change the order of the includes.
10954         (workWidth): initialize it at once.
10955         (workWidth): make maxw unsigned
10956         (setHeightOfRow): remove unused variable (inset)
10957         (selectSelectedWord): remove unused variable (inset)
10958         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10959
10960 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10961
10962         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10963         server is not running.
10964         (openConnection):
10965         (closeConnection): add debug info when server is disabled.
10966
10967         * ColorHandler.C (getGCForeground): send debug message to GUI
10968         channel.
10969
10970         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10971
10972         * kbmap.C (bind): modify because return conventions of
10973         kb_sequence::parse have changed.
10974
10975         * kbsequence.C (parse): only ignore spaces and not any stupid
10976         control character. This avoids tests like s[i] <= ' ', which are
10977         guaranteed to fail with 8bit characters and signed chars.
10978         Change return code to string::npos when there have been no error
10979         (0 was a bad idea when error is at first character)
10980
10981 2001-11-14  José Matos  <jamatos@fep.up.pt>
10982
10983         * buffer.h:
10984         * buffer.C (simpleDocBookOnePar): removed unused argument.
10985
10986 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10987
10988         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10989         insets which are part of a word. Paragraph::isLetter takes care of
10990         that now. Use Paragraph::isInset to identify insets.
10991         (selectSelectedWord): do not test for hyphenation break.
10992
10993         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10994         that protected spaces are considered as spaces.
10995
10996         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10997         Inset::isLetter.
10998
10999 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * lyxserver.h:
11002         * lyxserver.C: fix it. and small cleanup.
11003
11004 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * BufferView_pimpl.C: use inline helpers
11007
11008         * LaTeXFeatures.h:
11009         * LaTeXFeatures.C: fix typos
11010
11011         * Spacing.h:
11012         * Spacing.C: move spacing_string into class
11013
11014         * ToolbarDefaults.C: move stuff into namespace anon
11015
11016         * layout.h: update enum
11017
11018         * lyxfunc.C: use better debug
11019
11020         * minibuffer.h: fix typo
11021
11022         * debug.h:
11023         * debug.C:
11024         * WorkArea.C: add and use Debug::WORKAREA
11025
11026         * lyxtext.h:
11027         * text.C:
11028         * text2.C: code re-organisation, inline helpers
11029
11030 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11031
11032         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11033         std::vector.empty().
11034
11035 2001-11-09  Allan Rae  <rae@lyx.org>
11036
11037         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11038         '\n's after tables.  Tabular and ERT inset work now makes this no
11039         longer necessary.
11040
11041 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11042
11043         * minibuffer.h:
11044         * minibuffer.C: fix crash, improve drop-down completion
11045
11046 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * lyxserver.h:
11049         * lyxserver.C: invalidate fd's when doing endPipe()
11050
11051 2001-11-08  José Matos  <jamatos@fep.up.pt>
11052
11053         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11054         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11055
11056         * paragraph.h:
11057         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11058
11059 2001-11-07  José Matos  <jamatos@fep.up.pt>
11060
11061         * buffer.h:
11062         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11063         const qualifier.
11064
11065         * buffer.C (sgmlOpenTag):
11066         * buffer.C (sgmlCloseTag): removed debug info.
11067
11068         * buffer.h (sgmlOpenTag):
11069         * buffer.h (sgmlCloseTag): made public.
11070
11071 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11072
11073         * buffer.C (saveParamsAsDefaults):
11074         * lyx_cb.C (MenuLayoutSave): remove
11075
11076         * LyXAction.C (init):
11077         * commandtags.h:
11078         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11079
11080 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11081
11082         * buffer.C (setPaperStuff): removed from here...
11083
11084         * bufferparams.C (setPaperStuff): ... and moved there.
11085
11086 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * minibuffer.h:
11089         * minibuffer.C:
11090         * XFormsView.C: add support for drop-down completion
11091
11092 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11093
11094         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11095         commands.
11096
11097 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11098
11099         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11100         disabled.
11101
11102 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * lyx_main.C: change ref to known bugs
11105
11106 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11107
11108         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11109         to work around older babel problems.
11110
11111 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11112
11113         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11114
11115 2001-10-24  Juergen Vigna  <jug@sad.it>
11116
11117         * tabular-old.C (ReadOld): below variable changes reflected.
11118
11119         * tabular.[Ch]: added ltType struct for longtable header/footer
11120         defines and changed all instances where they are used. Added
11121         future support for double top/bottom rows.
11122
11123 2001-10-24  José Matos  <jamatos@fep.up.pt>
11124
11125         * buffer.h (docbookHandleCaption):
11126         * buffer.C (docbookHandleCaption): removed unused function.
11127         (makeDocBookFile): moved docbook supported version to v4.1.
11128
11129 2001-10-24  José Matos  <jamatos@fep.up.pt>
11130
11131         * tabular.h:
11132         * tabular.C (docbookRow): new function to export docbook code of a row.
11133         (DocBook): now honors the longtable flags.
11134
11135 2001-10-23  José Matos  <jamatos@fep.up.pt>
11136
11137         * LaTeXFeatures.h:
11138         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11139         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11140
11141         * buffer.C (makeLinuxDocFile):
11142         (makeDocBookFile): reworked the preamble, more clean, and with
11143         support for lyx defined entities. Changed the document declaration
11144         to be more XML friendly.
11145
11146         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11147         if we need to output XML that should be done with a filter.
11148
11149 2001-10-22  Juergen Vigna  <jug@sad.it>
11150
11151         * sp_pspell.h (class PSpell): add alive function needed in the
11152         controller to see if the spellchecker could be started.
11153
11154 2001-10-22  Juergen Vigna  <jug@sad.it>
11155
11156         * buffer.C (insertStringAsLines): modify the font for inserting
11157         chars in certain conditions by calling checkInsertChar(font).
11158
11159 2001-10-19  Juergen Vigna  <jug@sad.it>
11160
11161         * text.C (workWidth): use getRow instead of wrong algorithm.
11162         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11163
11164 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * lyxserver.h:
11167         * lyxserver.C:
11168         * lyx_main.h:
11169         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11170
11171 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * text.C (workWidth): do not search for the exact row when
11174         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11175         optimization for big documents.
11176
11177 2001-10-18  Juergen Vigna  <jug@sad.it>
11178
11179         * text.C (workWidth): new function with added Inset * parameter.
11180
11181 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11184
11185         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11186         change return type of getColumnNearX.
11187
11188
11189         * text.C (changeRegionCase): use uppercase/lowercase instead of
11190         toupper/tolower.
11191         (leftMargin):
11192         (rightMargin): simplify code by factoring out the uses of
11193         textclasslist.
11194         (labelFill):
11195         (numberOfHfills):
11196         (setHeightOfRow):
11197         (appendParagraph): use Paragraph::size_type
11198
11199 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11200
11201         * vspace.C (asLatexString): add a missing break
11202
11203 2001-10-15  Herbert Voss  <voss@perce.de>
11204
11205         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11206
11207 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11208
11209         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11210         is not available.
11211
11212 2001-10-10  André Pönitz <poenitz@gmx.net>
11213
11214         * lyxfunc.C: removed greek_kb_flag.
11215
11216 2001-10-10  Herbert Voss  <voss@perce.de>
11217
11218         * lyx_main.C: delete global string help_lyxdir.
11219
11220 2001-10-09  Herbert Voss  <voss@perce.de>
11221
11222         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11223
11224         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11225
11226         * lyx_main.C: added global string help_lyxdir.
11227
11228         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11229
11230 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11231
11232         * lyxrc.C (set_font_norm_type): support iso8859-4
11233
11234 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11235
11236         * LaTeX.C (deplog): add another regex for MikTeX
11237
11238 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11239
11240         * lyxrc.C (set_font_norm_type): support iso8859-3
11241
11242 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11243
11244         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11245
11246         * LaTeXFeatures.C: remove special case of french and index
11247
11248         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11249         before \begin{document}). This solves several incompatibilities.
11250
11251 2001-10-03  Garst Reese  <reese@isn.net>
11252
11253         * lyx_cb.C: change CheckTex error msg.
11254
11255 2001-10-03  José Matos  <jamatos@fep.up.pt>
11256
11257         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11258
11259 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11260
11261         * .cvsignore: update
11262
11263         * lyx_main.C (commandLineVersionInfo): use new style version info.
11264
11265         * buffer.C (writeFile):
11266         (makeLaTeXFile):
11267         (makeLinuxDocFile):
11268         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11269
11270         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11271
11272         * version.h: update to use stuff in version.C
11273
11274         * version.C.in: new file. Contains version information determined
11275         at compile time. This is a merging of version.h and
11276         version_info.h.in.
11277
11278 2001-10-03  Juergen Vigna  <jug@sad.it>
11279
11280         * BufferView_pimpl.C (update): don't change "dirty" status in
11281         updateInset call.
11282
11283 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11284
11285         * WorkArea.C (c-tor): re-position version string slightly.
11286
11287 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11288
11289         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11290         revert to previous code.
11291
11292         WorkArea.[Ch]: (show, destroySplash): methods removed.
11293
11294         WorkArea.C: rework code so that it's an amalgam of the codes before and
11295         after the splash screen was moved to WorkArea.
11296
11297 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11298
11299         * lyxrc.C (read):
11300         * vspace.C (inPixels):
11301         (lyx_advance):
11302         * kbmap.C (bind):
11303         * buffer.C (insertStringAsLines):
11304         (asciiParagraph): fix types to be large enough
11305
11306         * lyxlex_pimpl.h: change member status from short to int
11307
11308         * layout.h: fix type of endlabeltype
11309
11310         * kbmap.C (bind):
11311         * kbsequence.C (parse): change return type to string::size_type
11312
11313         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11314         variable
11315
11316         * Bullet.C (bulletSize):
11317         (bulletEntry): do not use short ints as parameters
11318
11319         * BufferView2.C (insertLyXFile): change a char to an int.
11320
11321         * WorkArea.C (WorkArea): remove unneeded floats in computation
11322
11323 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11326
11327         * paragraph.C (asString): Do not ignore newline/hfill chars when
11328         copying to the clipboard.
11329
11330 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11331
11332         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11333         after a multi-line inset.
11334
11335 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * paragraph.C (validate): Set NeedLyXFootnoteCode
11338
11339 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11340
11341         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11342         and decrease-error to decrease.
11343
11344 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11345
11346         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11347         it more readable (should be equivalent)
11348
11349 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11350
11351         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11352
11353 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11354
11355         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11356         of a cursor (row, etc.) after a character has been deleted
11357         (deleteEmptyParagraphMechanism): call the method above on _all_
11358         cursors held by the LyXText when a double space has been
11359         detected/deleted.
11360
11361 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11364         pixmap.
11365         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11366
11367         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11368         background. Use greyOut() and the new show() methods to toggle between
11369         the foreground and background. Add code to remove the splash after
11370         its initial showing.
11371
11372         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11373         (create_forms): no longer call Dialogs::showSplash.
11374
11375 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11376
11377         * .cvsignore: add version_info.h
11378
11379 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11380
11381         * version_info.h.in: new file
11382
11383         * Makefile.am: add version_info.h.in
11384
11385         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11386         version_info.h instead of VERSION_INFO
11387
11388 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11389
11390         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11391         The ERT inset now returns string().
11392
11393 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11394
11395         * lyxtext.h, text.C (selectNextWord): renamed as
11396         selectNextWordToSpellcheck.
11397
11398         * text.C (selectNextWordToSpellcheck): Modified to not select
11399         words inside an ERT inset.
11400
11401 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11402
11403         * lyx_cb.C (MenuLayoutSave): change a bit the question
11404
11405         * sp_base.h: include <sys/types.h>
11406
11407 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11408
11409         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11410
11411 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11412
11413         * several files: fix typos in user-visible strings
11414
11415 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11416
11417         * text2.C (pasteSelection): do not set the selection, since it
11418         will be cleared later. Actually, the intent was to fix the way the
11419         selection was set, but I figured rmoving the code was just as good.
11420
11421 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * FontLoader.C (available): Check if font is available without
11424         loading the font.
11425
11426 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11427
11428         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11429
11430 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11431
11432         * lyxrc.[Ch]: added display_graphics variable and associated code.
11433
11434 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11435
11436         * bufferparams.C (hasClassDefaults): new method. Returns true if
11437         the buffer parameters correspond to known class defaults
11438
11439 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11440
11441         * XFormsView.C (show): set minimum size to the main window.
11442
11443 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11444
11445         * text2.C (copySelection):
11446         (cutSelection):
11447         * lyxfind.C (LyXReplace):
11448         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11449         LyXText::selectionAsString.
11450
11451         * paragraph.C (asString): add "label" argument to the second form
11452
11453         * text2.C (selectionAsString): add "label" argument and pass it to
11454         Paragraph::asString.
11455
11456 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11457
11458         * lyx_main.C (commandLineHelp): remove version information
11459
11460 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11461
11462         * lyx_main.C: add -version commandline option
11463
11464 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11465
11466         * paragraph.h: make the optional constructor arg required instead.
11467         some modifications to other files because of this.
11468
11469         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11470
11471         * lyxserver.C (C_LyXComm_callback): make it static
11472
11473         * lyx_main.C (error_handler): make it static
11474
11475         * lyx_gui.C (LyX_XErrHandler): make it static
11476
11477         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11478
11479         * WorkArea.C: make the extern "C" methods static.
11480
11481         * Makefile.am (lyx_LDADD): simplify
11482
11483 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11486         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11487
11488         * LyXAction.C (init):
11489         * lyxfunc.C (dispatch): associated code removal.
11490
11491 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11492
11493         * lyxfont.h (isSymbolFont): shut off warning
11494
11495         * text.C (setHeightOfRow):
11496         (getVisibleRow): fix crash with empty paragraphs which have a
11497         bottom line
11498
11499 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11500
11501         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11502         code.
11503
11504 2001-09-04  José Matos  <jamatos@fep.up.pt>
11505         * buffer.C
11506         * buffer.h
11507         * tabular.C (docbook): rename docBook method to docbook.
11508
11509 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11510
11511         * Makefile.am: add dependencies to main.o.
11512
11513 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * FontLoader.C (available): Return false if !lyxrc.use_gui
11516
11517 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11518
11519         * FontInfo.C (query):
11520         * converter.C (view):
11521         * importer.C (Import):
11522         * exporter.C (Export): Can not -> cannot.
11523
11524 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * BufferView_pimpl.C: allow to create index inset even if
11527           string is empty
11528
11529 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11530
11531         * buffer.C (getLists): replace boost::tie code with an explicit pair
11532         as boost::tie can break some compilers.
11533
11534         * iterators.h: Added a std:: declaration to the return type of
11535         ParIterator::size.
11536
11537 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11540           case.
11541
11542 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11543
11544         * iterators.[Ch]: New files. Provide paragraph iterators.
11545
11546         * buffer.C (changeLanguage): Use paragraph iterators.
11547         (isMultiLingual): ditto
11548
11549         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11550
11551 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11552
11553         * FontLoader.C: Support for cmr font.
11554
11555 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11556
11557         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11558         (available): New method.
11559
11560         * FontInfo.C (getFontname): Use scalable fonts even when
11561         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11562         found.
11563
11564 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11565
11566         * converter.C (Formats::view): reverted! Incorrect fix.
11567
11568 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11569
11570         * converter.C (Formats::view): only output the -paper option
11571         if the dvi viewer is xdvi, thereby fixing bug #233429.
11572
11573 2001-08-23  Herbert Voss  <voss@perce>
11574
11575         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11576
11577 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11578
11579         * Spacing.h (Spacing): Set space to Default on in the default
11580         constructor.
11581
11582 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * vc-backend.h (RCS::versionString): add RCS to version
11585         (CVS::versionString): add CVS to version
11586
11587         * vc-backend.C (scanMaster): do not add CVS to version.
11588         (scanMaster): do not add RCS to version
11589
11590         * lyxvc.C (versionString): new method
11591
11592         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11593
11594 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * Spacing.C (set): initialize fval
11597
11598 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11601         " or \.
11602
11603 2001-08-16  Juergen Vigna  <jug@sad.it>
11604
11605         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11606
11607 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * BufferView_pimpl.C:
11610         * figureForm.C:
11611         * lyxtext.h:
11612         * text2.C: setParagraph takes linespacing now
11613
11614 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * LyxAction.C: add internal LFUN_CITATION_INSERT
11617
11618         * LyXView.C: actually apply fix
11619
11620         * bufferlist.C: fix open non-existent file
11621
11622         * lyxfind.C: fix indentation
11623
11624         * lyxfunc.C: remove unneeded assert, fix typo
11625
11626 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * MenuBackend.C: use "Floatname List"
11629
11630 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11631
11632         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11633         when converting LaTeX layout to insetERT.
11634         Generate a non-collapsed float when reading old float
11635
11636 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11637
11638         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11639         ERT insets.
11640
11641 2001-08-13  Juergen Vigna  <jug@sad.it>
11642
11643         * text.C (fill): return 0 instead of 20 as this seems to be the more
11644         correct value.
11645
11646 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11649         lyxrc.font_norm.
11650
11651 2001-08-13  Juergen Vigna  <jug@sad.it>
11652
11653         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11654         casesensitive off.
11655         (SearchBackward): comment out the unlocking of the inset_owner this
11656         should not be needed!
11657
11658 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11659
11660         * Many files: Remove inherit_language, and add latex_language
11661
11662         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11663         collapsible insets.
11664
11665 2001-08-10  Juergen Vigna  <jug@sad.it>
11666
11667         * text.C (prepareToPrint): fixed hfill-width in draw!
11668
11669         * BufferView2.C (selectLastWord): save the selection cursor as this
11670         now is cleared in the function LyXText::clearSelection!
11671
11672 2001-08-08  Juergen Vigna  <jug@sad.it>
11673
11674         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11675         BACKSPACE type functions.
11676
11677         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11678         is only cutted from the document but not put in the cut-buffer, where
11679         still the old stuff should be.
11680
11681         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11682
11683         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11684
11685         * tabular.C (SetWidthOfCell): fixed special case where the width
11686         was not updated!
11687         (LeftLine): handle '|' in align_special.
11688         (RightLine): ditto
11689         (LeftAlreadyDrawed): ditto
11690         (SetWidthOfCell): ditto
11691
11692 2001-08-07  Juergen Vigna  <jug@sad.it>
11693
11694         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11695
11696 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11699         * lyxlex.[hC]: ditto
11700
11701 2001-08-06  Juergen Vigna  <jug@sad.it>
11702
11703         * text.C (getVisibleRow): fix up row clearing a bit.
11704
11705 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * minibuffer.C: make sure the X server sees the changes in the input.
11708
11709 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * paragraph.C (getFont): split into...
11712         (getLabelFont): this
11713         (getLayoutFont): and this
11714         * paragraph_pimpl.C (realizeFont): calling this
11715
11716         * text2.C (getFont): split into...
11717         (getLayoutFont): this
11718         (getLabelFont): and this
11719         (realizeFont): all three calling this
11720
11721         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11722         files where used.
11723
11724 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11725
11726         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11727
11728 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11729
11730         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11731         layouts from the Quote inset insertion.
11732
11733 2001-08-03  Juergen Vigna  <jug@sad.it>
11734
11735         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11736
11737         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11738         only if status not is already CHANGED_IN_DRAW (second level).
11739
11740         * text.C (draw): don't set the need_break_row when inside an
11741         InsetText LyXText.
11742
11743 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * buffer.C (parseSingleLyXformat2Token): handle more latex
11746         conversion cases.
11747
11748         * bufferview_funcs.[hC]: change function names to
11749         begin with small char, adjust other files.
11750
11751 2001-08-02  André Pönitz <poenitz@gmx.net>
11752
11753         * lyxfunc.C:
11754         BufferView_pimpl.C: remove broken special code for math-greek
11755
11756 2001-08-02  Juergen Vigna  <jug@sad.it>
11757
11758         * BufferView_pimpl.C (update): redone this function so that we
11759         update the text again if there was a CHANGE_IN_DRAW.
11760
11761         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11762         (drawFromTo): added a new internal bool which is used by draw() and
11763         redraw() function.
11764         (general): some cursor drawing problems fixed.
11765
11766 2001-08-01  Juergen Vigna  <jug@sad.it>
11767
11768         * lyxfind.C (LyXFind): fixed
11769         (SearchForward): ditto
11770         (SearchBackward): ditto
11771
11772         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11773         spurius drawing of the cursor in the main area.
11774
11775         * text2.C (status): small fix which could lead to a segfault!
11776         (clearSelection): remove unneeded BufferView param.
11777
11778 2001-08-01  André Pönitz <poenitz@gmx.net>
11779
11780         * lyxfunc.C: small change due to changed mathed interface
11781
11782 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11785
11786 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxfunc.c: fail gracefully if file doesn't exist
11789
11790         * LyXSendto.C:
11791         * buffer.C:
11792         * lyxfunc.C:
11793         * BufferView_pimpl.C: IsDirWriteable() proto changed
11794
11795         * LyXView.C: fix updateWindowTitle() to store the last title
11796
11797 2001-07-31  Juergen Vigna  <jug@sad.it>
11798
11799         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11800         the font (wrong since using of Paragraph::highestFontInRange).
11801
11802         * paragraph.C (highestFontInRange): added a default_size parameter.
11803
11804         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11805         (setHeightOfRow): reformat
11806
11807 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11808
11809         * converter.[hC] + affected files: move to (inital-char)lowercase
11810         function names.
11811
11812         * ParagraphParameters.C (ParagraphParameters): remove commented code
11813
11814         * PainterBase.[Ch]: remove commented code
11815
11816         * LaTeXFeatures.h: add "bool floats" for float.sty
11817
11818         * LaTeXFeatures.C (LaTeXFeatures): init floats
11819         (require): handle float
11820         (getPackages): do it with floats
11821
11822 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11823
11824         * BufferView_pimpl.C (Dispatch): improve handling of
11825         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11826
11827         * commandtags.h: #include lyxfont.h here temporarily to avoid
11828         keybinding bug.
11829
11830         * bufferlist.h: include LString.h here.
11831
11832 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * text2.C (getStringToIndex): new method.
11835
11836 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11837
11838         * *: Reduced header file dependencies all over.
11839
11840 2001-07-30  Baruch Even  <baruch@lyx.org>
11841
11842         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11843
11844 2001-07-29  Baruch Even  <baruch@lyx.org>
11845
11846         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11847
11848 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * ParameterStruct.h (endif): add a default constructor to make
11851         sure that all variables is initialized.
11852
11853         * ParagraphParameters.C (ParagraphParameters): adjust
11854
11855 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11856
11857         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11858         index; also, check that there is something to index, and that it
11859         does not span over several paragraphs.
11860         (doubleClick): use WHOLE_WORD_STRICT for double click.
11861
11862         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11863
11864         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11865         scheme.
11866
11867 2001-07-26  Baruch Even  <baruch@lyx.org>
11868
11869         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11870         an InsetFig figure, backwards compatible reading of old figure code.
11871
11872 2001-07-27  Juergen Vigna  <jug@sad.it>
11873
11874         * text2.C: font.realize function adaption.
11875
11876         * text.C (draw): add a warnings lyxerr text if needed.
11877
11878         * layout.C: font.realize function adaption.
11879
11880         * language.C: add inherit_language and implement it's handlings
11881
11882         * bufferview_funcs.C (StyleReset): remove language parameter from
11883         font creation (should be language_inherit now).
11884
11885         * bufferparams.C (writeFile): handle ignore_language.
11886
11887         * paragraph.C (getFontSettings): the language has to be resolved
11888         otherwise we have problems in LyXFont!
11889
11890         * lyxfont.C (lyxWriteChanges): added document_language parameter
11891         (update): removed unneeded language parameter
11892
11893         * paragraph.C (validate): fixed wrong output of color-package when
11894         using interface colors for certain fonts in certain environments,
11895         which should not seen as that on the final output.
11896
11897 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * BufferView_pimpl.C:
11900         * Thesaurus.h:
11901         * Thesaurus.C:
11902         * Makefile.am:
11903         * commandtags.h:
11904         * LyXAction.C: add thesaurus support
11905
11906         * lyxfind.h:
11907         * lyxfind.C: add "once" parameter, for thesaurus, to not
11908           move to the next match
11909
11910 2001-07-26  Juergen Vigna  <jug@sad.it>
11911
11912         * lyxfont.C (realize): honor ignore_language too!
11913         (resolved): ditto.
11914
11915         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11916
11917         * text.C (draw): one place more for ignore_language to not draw
11918         itself!
11919
11920 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11921
11922         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11923
11924 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11927         the minipage conversion problem.
11928
11929 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11932         insert an inset.
11933
11934 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * BufferView.h: don't forward declare WorkArea
11937
11938         * BufferView.C: don't include WorkArea.h
11939
11940 2001-07-25  André Pönitz <poenitz@gmx.net>
11941
11942         * commandtags.h:
11943         * LyXAction.C:
11944         * lyxfunc.C:  new LFUN 'math-space'
11945
11946         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11947
11948 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * text2.C (toggleInset): call open/close
11951
11952 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * lyxfunc.C (dispatch): add debug for the disabled case
11955
11956         * font.C (buttonText): make similar to rectText
11957
11958         * buffer.C (readInset): comment out parsing of insetlist and
11959         insttheorem
11960
11961         * PainterBase.C (rectText): small correction
11962
11963         * BufferView_pimpl.C: comment out insettheorem and insetlist
11964         * LyXAction.C: ditto
11965         * commandtags.h: ditto
11966
11967 2001-07-24  Juergen Vigna  <jug@sad.it>
11968
11969         * text.C (draw): honor the ignore_language.
11970
11971         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11972
11973 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11974
11975         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11976         char inset.
11977
11978 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11979
11980         * lyxtext.h: remove unused (and unimplemented) methods
11981
11982 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11983
11984         * text.C (getVisibleRow): honor background color
11985
11986         * PainterBase.h:
11987         * Painter.h: remove default color argument for fillRectangle
11988
11989         * text.C (backgroundColor): new method
11990
11991 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * text.C (getVisibleRow): adjust
11994
11995         * font.[Ch] (rectText): new method, metrics
11996         (buttonText): new method, metrics
11997
11998         * PainterBase.[hC]: make rectText and buttonText always draw and take
11999         fewer paramteres.
12000
12001 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12002
12003         * ToolbarDefaults.C (read):
12004         * MenuBackend.C (read): allow escaping in all strings
12005
12006         * BufferView_pimpl.C (insertAndEditInset): new method.
12007         (Dispatch): use insertAndEditInset whenever appropriate.
12008
12009         * BufferView_pimpl.C (insertNote): removed
12010
12011         * BufferView_pimpl.C (smartQuote): new method, moved from
12012         BufferView; if an insetquote cannot be inserted, insert a '"'
12013         character instead.
12014
12015         * BufferView2.C: remove insertCorrectQuote();
12016
12017         * lyxfunc.C (getStatus): Add support for all remaingin
12018         inset-insert lfuns.
12019
12020         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12021
12022         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12023         command (necessary to pass " as parameter of self-insert.
12024
12025         * text.C (selectWordWhenUnderCursor):
12026         (selectWord): add word_location parameter
12027         (selectWordWhenUnderCursor): same + remove special code for word
12028         boundary.
12029         (selectNextWord): use kind() to guess type of insetspecialchar,
12030         not latex().
12031
12032         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12033         (insertErtContents): create ert insets as collapsed.
12034         (readInset): better compatibility code for Info inset.
12035
12036 2001-07-20  Juergen Vigna  <jug@sad.it>
12037
12038         * lyxfunc.C (dispatch): use always LyXFind now!
12039
12040         * text2.C (init): add a reinit flag so that the LyXText can be
12041         reinited instead of deleted and reallocated (used in InsetText).
12042
12043         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12044
12045         * text.C: ditto
12046
12047         * text2.C: ditto
12048
12049 2001-07-18  Juergen Vigna  <jug@sad.it>
12050
12051         * text.C (selectNextWord): handle insets inside inset by calling
12052         always the bv->text functions so that we can go up the_locking_inset!
12053
12054         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12055         in strange locations when inside an inset!
12056
12057         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12058         handling to include insets.
12059
12060         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12061
12062 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * LyXAction.C (init):
12065         * commandtags.h:
12066         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12067         LIGATURE_BREAK, since the name is so stupid.
12068
12069 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12070
12071         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12072         InsetInfos.
12073
12074         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12075
12076         * sp_form.[Ch]: remove.
12077
12078         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12079
12080         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12081         InsetInfo.
12082
12083         * src/buffer.C (readInset): ditto.
12084
12085 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12086
12087         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12088         menuSeparator(), endOfSentenceDot(), ldots() and
12089         hyphenationPoint(), which are therefore removed.
12090         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12091
12092         * LyXAction.C (init):
12093         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12094
12095         * paragraph.C (getWord): removed.
12096
12097         * BufferView_pimpl.C (Dispatch): use last word or selection for
12098         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12099
12100         * lyx_main.C (queryUserLyXDir): do not ask before creating
12101         user_dir, except if it has been named explicitely.
12102
12103 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12104
12105         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12106         a document of zero size.
12107
12108 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12109
12110         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12111         approriately in the c-tor and in require().
12112         (getPackages): output the appropriate LaTeX for natbib support.
12113
12114         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12115         variables "use_natbib" and "use_numerical_citations" when reading the
12116         LyX file.
12117         (readInset): read the various natbib cite commands.
12118         (validate): white-space change.
12119
12120         * bufferparams.[Ch]: new variables "bool use_natbib" and
12121         "bool use_numerical_citations".
12122         (writeFile): output them in the LyX file.
12123
12124 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12125
12126         * lyxfunc.C (getStatus): add support for all the inset insertion
12127         commands.
12128
12129         * text2.C (insertInset):
12130         * paragraph.C (insetAllowed):
12131         * BufferView_pimpl.C (insertInset): update to take in account the
12132         renaming of insertInsetAllowed
12133
12134         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12135
12136         * text2.C (getInset): new method. returns inset at cursor position.
12137
12138         * BufferView_pimpl.C (Dispatch): changes because of this.
12139
12140         * LyXAction.C (init): rename open-stuff to inset-toggle.
12141
12142         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12143
12144         * text2.C (toggleInset): renamed from openStuff; use
12145         Inset::open().
12146
12147 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12148
12149         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12150
12151         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12152
12153 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * buffer.C (readLyXformat2): Add filename to the error dialog
12156
12157 2001-07-18  Juergen Vigna  <jug@sad.it>
12158
12159         * tabular.C (GetCellNumber): put an assert here instead of the check!
12160
12161 2001-07-17  Juergen Vigna  <jug@sad.it>
12162
12163         * BufferView_pimpl.C (toggleSelection): adapted too.
12164
12165         * text.C (selectNextWord): adapted for use with insets.
12166         (selectSelectedWord): ditto
12167
12168 2001-07-17  Juergen Vigna  <jug@sad.it>
12169
12170         * sp_spell.C (PSpell): fix initialitation order.
12171
12172 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * paragraph.C: spacing
12175
12176 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12177
12178         * sp_spell.C: repair language selection for pspell
12179
12180 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * lyxfunc.h: change more methods to begin with lower char.
12183
12184 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12185
12186         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12187         for unknown layouts.
12188
12189 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12190
12191         * buffer.C (readLyXformat2): Generate an error dialog if there are
12192         unknown layouts.
12193
12194 2001-07-16  Juergen Vigna  <jug@sad.it>
12195
12196         * sp_spell.C: always compile ISpell part.
12197
12198         * lyxrc.C: added use_pspell entry and it's handling.
12199
12200 2001-07-13  Juergen Vigna  <jug@sad.it>
12201
12202         * sp_spell.C: removed double includes.
12203
12204 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         Consistent use of Lsstream.h:
12207         * Lsstream.h: added using std::stringstream for consistencies sake.
12208
12209         * buffer.C: removed using std::stringstream
12210
12211         * lyxfont.C (stateText):
12212         * paragraph.C (asString):
12213         * text.C (selectNextWord, selectSelectedWord):
12214         * text2.C (setCounter):
12215         * vspace.C (asString, asLatexString):
12216         std::ostringstream -> ostringstream.
12217
12218 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12219
12220         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12221         * commandtags.h: add LFUN_HELP_ABOUTLYX
12222         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12223
12224 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12225
12226         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12227         cursorToggle()
12228         * lyx_gui_misc.C: remove spellchecker
12229         * lyxfunc.C: showSpellchecker
12230         * sp_base.h: added
12231         * sp_ispell.h: added
12232         * sp_pspell.h: added
12233         * sp_spell.C: added
12234         * sp_form.[Ch]: removed
12235         * spellchecker.[Ch]: removed
12236
12237 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12238
12239         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12240         is set.
12241         (simpleTeXSpecialChars): Simply print the input character without
12242         any special translation if pass_thru is set.
12243
12244         * layout.h: Added bool pass_thru to layout class for being able to
12245         implement pass through of a paragraph for Literate Programming.
12246
12247         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12248         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12249         * layout.C (Read): add "passthru" to list of layout tags and add
12250         code to set the pass_thru boolean when it is read.
12251
12252 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * trans_decl.h: remove allowed from KmodInfo
12255
12256         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12257         remove allowed code
12258         (Load): adjust
12259
12260         * paragraph_pimpl.C (erase): use boost::prior
12261
12262         * Painter.C (text): use data() instead of c_str() when length is
12263         also provided.
12264         * WorkArea.C (putClipboard): ditto
12265         * font.h (width): ditto
12266
12267         * BufferView2.C: use it-> instead of (*it). for iterators
12268         * texrow.C: ditto
12269         * paragraph_pimpl.C: ditto
12270         * paragraph.C: ditto
12271         * minibuffer.C: ditto
12272         * language.C: ditto
12273         * kbmap.C: ditto
12274         * encoding.C: ditto
12275         * counters.C: ditto
12276         * converter.C: ditto
12277         * chset.C: ditto
12278         * Variables.C: ditto
12279         * TextCache.C: ditto
12280         * MenuBackend.C: ditto
12281         * LyXAction.C: ditto
12282         * LColor.C: ditto
12283         * FloatList.C: ditto
12284         * DepTable.C: ditto
12285         * ColorHandler.C (LyXColorHandler): ditto
12286
12287 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12288
12289         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12290
12291         * text2.C (openStuff): reintroduce this method (which had been
12292         nuked in NEW_INSETS frenzy).
12293
12294         * lyxfunc.C (Dispatch): when an action has not been handled, use
12295         its name in the error message, not its number.
12296
12297         * paragraph.C (inInset): change method name to begin with lowercase.
12298
12299         * undo_funcs.C:
12300         * text2.C: updates because of this.
12301
12302 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12303
12304         * ToolbarDefaults.C (add): add spaces in error message
12305
12306 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12309         (readLyXformat2): rename return_par to first_par, use lyxlex's
12310         pushToken and remove the manual push handling.
12311         (parseSingleLyXformat2Token): add another ert comp. variable:
12312         in_tabular, rename return_par to first_par. handle newlines better
12313
12314 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12317
12318 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * text2.C (getParFromID): removed
12321
12322         * buffer.C (getParFromID): new method moved form lyxtext.
12323         * BufferView2.C (insertErrors): adjust
12324         (setCursorFromRow): adjust
12325         * BufferView_pimpl.C (restorePosition): adjust
12326         * lyxfunc.C (Dispatch): adjust
12327         * undo_funcs.C (textUndo): adjust
12328         (textRedo): adjust
12329         (textHandleUndo): adjust
12330         (textHandleUndo): adjust
12331
12332 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * buffer.C: up' the LYX_FORMAT
12335
12336         * lyxfont.h: turn NO_LATEX on as default
12337
12338         * buffer.C (insertErtContents): new methods of tex style compability.
12339         (parseSingleLyXformat2Token): use it several places.
12340         * tabular.C (OldFormatRead): and here
12341
12342 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * text2.C: remove some commented code.
12345         reindent file.
12346
12347         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12348         * trans.C: changes because of the above.
12349
12350 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12351
12352         * text2.C (setCounter): Fix counters bug with bibliography layout.
12353
12354 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12357         own member functions
12358         (simpleTeXSpecialChars): ditto
12359
12360 2001-07-06  Juergen Vigna  <jug@sad.it>
12361
12362         * a lot of files: changed the access to LyXText::status and the
12363         call of undo-functions.
12364
12365         * undo.[Ch]: added a inset_id to the undo informations.
12366
12367         * undo_funcs.[Ch]: added and moved here all undo functions.
12368
12369         * lyxtext.h: give the status enum a weight, made status_ a private
12370         variable and made accessor functions for it, removed the whole bunch
12371         of undo-functions as they are now in their own file, make some
12372         functions publically available. Added function ownerParagraph with
12373         int parameter.
12374
12375         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12376         made InInset() a const function, added getParFromID() function.
12377
12378         * buffer.[Ch]: added const version for inset_iterator functions,
12379         added getInsetFromID() function.
12380
12381         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12382         changed undo functions for new version.
12383
12384 2001-07-05  Juergen Vigna  <jug@sad.it>
12385
12386         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12387         unknow mechanism does not call the proper constructor but only this
12388         one also if I request the other!?
12389
12390 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12393
12394         * text2.C (LyXText): use initialization lists.
12395
12396         * lyxtext.h (Selection): initialize set_ and mark_
12397         (init): remove method
12398
12399 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12400
12401         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12402
12403 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12404
12405         * screen.[Ch]: change method names to begin with lowercase
12406
12407         * BufferView_pimpl.C (updateScrollbar): simplify further and
12408         hopefully make it a bit faster.
12409
12410 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12413         calling directly xforms functions.
12414
12415         * Painter.C (Painter):
12416         * lyx_cb.C (MenuWrite):
12417         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12418         fl_display.
12419
12420         * lyx_gui.C: remove bogus guiruntime extern declaration.
12421
12422 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12423
12424         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12425         in NEW_INSETS
12426         (redoDrawingOfParagraph): ditto
12427         (redoParagraphs): ditto
12428         (cutSelection): don't create a object for CutAndPaste use the
12429         static method directly
12430         (pasteSelection): ditto
12431
12432         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12433         LyXview (+ rename)
12434
12435 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * modifications to some other files because of this.
12438
12439         * Makefile.am (lyx_SOURCES): add XFormsView
12440
12441         * XFormsView.[Ch]: new files
12442
12443         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12444         the main window. Move the gui dependent stuff to XFormsView
12445
12446 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12447
12448         * tabular.C (GetCellInset): update cur_cell also in the row/col
12449         version of this function.
12450
12451         * lyxfunc.C: no need to include figure_form.h here.
12452
12453         * FontLoader.h:
12454         * lyxfunc.h:
12455         * lyxscreen.h:
12456         * text2.C:
12457         * lyxvc.C: no need to include forms.h here.
12458
12459 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12460
12461         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12462
12463         * lyxfunc.C (Dispatch):
12464         * Spacing.C (set):
12465         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12466         constructor argument.
12467
12468 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * paragraph.C (Paragraph): dont't clear, and just set layout.
12471         (makeSameLayout): use params's copy contructor.
12472
12473         * ParagraphParameters.[Ch] (makeSame): delete method
12474
12475 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * Variables.[Ch]: fix indentation, rename set to isSet
12478
12479 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * lyxfunc.C (Dispatch): fix typo
12482
12483 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12484
12485         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12486         upper_bound.
12487
12488         * bufferlist.C: include assert.h for emergencyWrite().
12489
12490 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12493           give up at last (bug #425202) !
12494
12495 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * lyx_gui_misc.C:
12498         * sp_form.h:
12499         * sp_form.C:
12500         * spellchecker.h:
12501         * spellchecker.C: strip spellchecker options and bring up
12502           preferences tab instead
12503
12504 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12505
12506         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12507         the istringstream constructor
12508
12509 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12510
12511         * paragraph.C (getLayout): fix return value
12512
12513         * paragraph.h: do not declare getLayout as inline.
12514
12515         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12516
12517 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * lyxcursor.h (operator<): new func
12520         (operator>): new func
12521         (operator>=): new func
12522         (operator<=): new func
12523
12524         * text.C (changeCase): use selection.start and selection.end
12525         (changeRegionCase): require from to be <= to. Require par to be a
12526         valid paragraph.
12527
12528         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12529
12530 2001-06-27  Juergen Vigna  <jug@sad.it>
12531
12532         * text.C (cursorLeftOneWord): changed to return the cursor and added
12533         overlay with BufferView * parameter which calls this one.
12534         (getWord): added
12535         (selectWord): use new getWord function.
12536         (changeCase): renamed from changeWordCase as and extended to work
12537         also on selections.
12538
12539         * lyxtext.h: added enum word_location
12540
12541         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12542         changeCase as this operates now also on selections.
12543
12544 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12545
12546         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12547
12548         * many files: send debug output to Debug::INFO instead of
12549         Debug::ANY.
12550
12551         * converter.C (View):
12552         (Convert):
12553         (Move): send debug output to Debug::FILES instead of console.
12554
12555 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12556
12557         * lyxfunc.C (getStatus): use func_status
12558
12559         * func_status.h: new header, describing the results of
12560         LyXFunc::getStatus;
12561
12562         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12563         LFUN_MATH_HALIGN.
12564
12565 2001-06-25  The LyX Project  <jug@sad.it>
12566
12567         * buffer.C (sgmlOpenTag):
12568         (sgmlCloseTag):
12569         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12570
12571 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * text2.C: remove some dead code
12574
12575         * tabular.C (GetCellInset): store the last cell checked (gotten)
12576
12577         * tabular.h: add the helper for the speedup
12578
12579         * lyxtext.h: remove some dead code
12580
12581 2001-06-26  The LyX Project  <Asger>
12582
12583         * paragraph.C: Change export to LaTeX of alignment to
12584         \begin{center} and family for better roundtrip work with reLyX.
12585
12586         * Tune the math drawing a bit.
12587
12588 2001-06-25  The LyX Project  <Asger>
12589
12590         * LColor.C (LColor): New color for math background. New color
12591         for buttons.
12592
12593 2001-06-25  The LyX Project  <jug@sad.it>
12594
12595         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12596
12597         * lyxfunc.C (Open):
12598         * bufferlist.C (newFile): do not restrict to files ending with
12599         .lyx
12600
12601         * BufferView_pimpl.C (MenuInsertLyXFile):
12602
12603 2001-06-24  The LyX Project  <jug@sad.it>
12604
12605         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12606         of compare_no_case
12607
12608 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * lyxtext.h: rename most methods to begin with a small char.
12611         Lots of changes because of this.
12612
12613         * paragraph.C (Paragraph): do not call fitToSize
12614         (erase): call Pimpl::erase
12615         (insertChar): call Pimpl::insertChar
12616         (insertInset): call Pipl::insertInset
12617         (breakParagraph): do not call fitToSize
12618         (breakParagraphConservative): do not call fitToSize
12619         (fitToSize): remove method
12620
12621         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12622
12623 2001-06-24  The LyX Project  <Asger>
12624
12625         * Fix Qt compilation^2
12626
12627 2001-06-24  The LyX Project  <jug@sad.it>
12628
12629         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12630         depthHook(getDepth()-1).
12631
12632         * paragraph.h:
12633         * ParagraphParameters.h:
12634         * ParameterStruct.h: change type of depth to unsigned int ==
12635         depth_type. Many adaptations to other files before of that.
12636
12637 2001-06-24  The LyX Project  <Asger>
12638
12639         * Fix Qt compilation.
12640
12641 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * paragraph.h: renamed several methods to begin with small letter.
12644         several changes to many parts of the code because of this.
12645
12646 2001-06-23  The LyX Project  <jug@sad.it>
12647
12648         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12649         rewritten to discard all double spaces when KeepEmpty is off
12650         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12651         to only handle newlines but not fiddle with spaces and friends.
12652
12653         * lyxfunc.C (MenuNew): when doing 'new from template', use
12654         template_path as default directory
12655
12656 2001-06-23  The LyX Project  <Asger>
12657
12658         * Clean-up of header file includes all over
12659         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12660
12661 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * paragraph.h: renamed from lyxparagraph.h
12664
12665 2001-06-23  Asger  <lyx@violet.home.sad.it>
12666
12667         * Buffer.h: Removed Buffer::resize
12668         * BufferList.h: Removed BufferList::resize
12669         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12670         the document lazily when we change the width, or the font settings.
12671
12672 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12675
12676 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * buffer.h: remove out of date comment
12679
12680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * lyxscreen.h:
12683         * screen.C: fix "theoretical" GC leak
12684
12685 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * LaTeX.C (scanAuxFile):
12688         (deplog): remove trailing \r when reading stream (useful under
12689         win32)
12690
12691 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12694         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12695         and BufferView::theLockingInset(Inset*), so should use them and not
12696         access bv_->text->the_locking_inset directly.
12697
12698         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12699
12700 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * Makefile.am:
12703         * tex-defs.h: remove old unused file
12704
12705 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * BufferView_pimpl.C: fix typo, remove minibuffer message
12708           when buffer has loaded
12709
12710 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * lyxfunc.C (Dispatch): use stringstream
12713         (MenuNew): use stringstream
12714         (Open): use stringstream
12715
12716         * importer.C (Import): use stringstream
12717
12718         * bufferview_funcs.C (CurrentState): use stringstream
12719
12720         * LaTeX.C (run): use stringstream
12721
12722         * BufferView_pimpl.C (savePosition): use stringstream
12723         (restorePosition): use stringstream
12724         (MenuInsertLyXFile): use stringstream
12725
12726 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12727
12728         * BufferView.C:
12729         * Bullet.C:
12730         * ColorHandler.C:
12731         * FontInfo.C:
12732         * FontLoader.C:
12733         * LColor.C:
12734         * LaTeXFeatures.C:
12735         * Painter.C:
12736         * gettext.C:
12737         * lyx_gui_misc.C:
12738         * lyxserver.C:
12739         * vspace.C: removed // -*- C++ -*- as first line.
12740
12741         * lyxfind.h:
12742         * version.h: added // -*- C++ -*- as first line.
12743
12744 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12747
12748         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12749         of string
12750
12751 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12752
12753         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12754         of floats.
12755
12756 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * gettext.C: include LString.h even when --disable-nls is on.
12759
12760 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12761
12762         * converter.h (Get): changed argument type from int to
12763         FormatList::size_type to avoid unnecessary conversion.
12764
12765         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12766         before using it.
12767
12768 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12769
12770         * gettext.h: include LString.h even when --disable-nls is on.
12771
12772 2001-06-07  Juergen Vigna  <jug@sad.it>
12773
12774         * text.C (BreakAgain): subst spaces with tabs.
12775
12776         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12777         (resizeInsetsLyXText): set force on resizeLyXText.
12778
12779 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * gettext.h (gettext_init):
12782         (locale_init): use a real definition instead of a macro
12783
12784 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * Bufferview_pimpl.C:
12787         * LColor.h:
12788         * LColor.C: further lcolor tidies
12789
12790 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * BufferView_pimpl.C (updateScrollbar): simplify.
12793
12794         * BufferView2.C: don't include insets/insetinfo.h, change
12795         prototype for insertInset and call the Pimpl version. let
12796         updateInset call Pimpl version.
12797
12798         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12799         gotoInset to BufferView::Pimpl
12800
12801 2001-06-01  Juergen Vigna  <jug@sad.it>
12802
12803         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12804         inside a LockingInset (is the update needed at all?).
12805
12806 2001-05-31  Juergen Vigna  <jug@sad.it>
12807
12808         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12809         here not the old one otherwise how should we compare it afterwards
12810         if it's the same!
12811
12812 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12813
12814         * lyxfont.C:
12815         * tabular.C:
12816         * tabular-old.C:
12817         * FontInfo.C: bring C functions into global namespace when
12818         necessary
12819
12820 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12821
12822         * LString.h: make sure config.h has been loaded before LString.h.
12823
12824         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12825         (one for each char read by EatLine!).
12826
12827         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12828         variables.
12829
12830 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12833         to the same as the par we break from
12834
12835 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12838
12839         * MenuBackend.C (expand): also create menu entries for wide
12840         versions of the floats.
12841
12842         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12843
12844         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12845
12846         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12847         frontends/Makefile.am
12848
12849         * text2.C: adjust
12850         * text.C: adjust
12851
12852
12853         * tabular.C (getTokenValue): add std::
12854
12855         * tabular-old.C (getTokenValue): add std::
12856         (getTokenValue): ditto
12857         (getTokenValue): ditto
12858
12859         * screen.C (ToggleSelection): adjust
12860
12861         * lyxtext.h: put selection cursors inside a Selection struct.
12862
12863         * lyxfunc.C (moveCursorUpdate): adjust
12864
12865         * lyxfont.C (latexWriteStartChanges): add std::
12866
12867         * lyxfind.C: adjust
12868
12869         * font.h: delete with(char const *, LyXFont const &)
12870
12871         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12872
12873         * FontInfo.C (getFontname): add std::
12874
12875         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12876         (workAreaButtonPress): adjust
12877         (tripleClick): adjust
12878         (update): adjust
12879         (moveCursorUpdate): adjust
12880         (Dispatch): adjust
12881
12882         * BufferView2.C (gotoInset): adjust
12883
12884 2001-05-30  Juergen Vigna  <jug@sad.it>
12885
12886         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12887         to check pspell I add this as default as I now have new pspell
12888         libraries and they seem to use this.
12889
12890 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * text2.C (CutSelection): make the cursor valid before the call to
12893         ClearSelection.
12894
12895 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12898         relied on 0 terminated strings and other horrors. Bug found due to
12899         the new assert in lyxstring!
12900
12901         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12902         KP_ keys.
12903
12904 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12907         to latinkeys.bind.
12908
12909         * lyxfunc.C (processKeySym): change method of getting to the
12910         self-insert char.
12911
12912         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12913         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12914         * BufferView_pimpl.[Ch]: here as private methods.
12915
12916 2001-05-28  Juergen Vigna  <jug@sad.it>
12917
12918         * text.C (SetHeightOfRow): added the update() call again as it is
12919         needed to initialize inset dimensions!
12920
12921 2001-05-16  Juergen Vigna  <jug@sad.it>
12922
12923         * text2.C (SetCharFont): Add new function with BufferView * and
12924         bool toggleall parameters for setting insets internal fonts.
12925         (SetFont): Freeze the undo as we may change fonts in Insets and
12926         all this change should be inside only one Undo!
12927
12928         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12929         setting font's in insets as for them we have the SetFont function!
12930
12931 2001-05-15  Juergen Vigna  <jug@sad.it>
12932
12933         * text2.C (ClearSelection): to be sure we REALLY don't have any
12934         selection anymore!
12935
12936         * tabular.C (TeXCellPreamble): fixed the left border problem for
12937         multicolumn cells.
12938
12939 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12940
12941         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12942         dependancy file
12943
12944 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12947         LFUN_BREAKPARAGRAPH.
12948
12949         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12950         help test to "internal only", similar for LFUN_INSERT_URL
12951
12952         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12953         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12954         auto_region_delete and deadkeys.
12955
12956 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12957
12958         * LColor.h:
12959         * LColor.C: remove some dead entries, tidy a little
12960
12961 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12964         commented code.
12965         (Dispatch): implement LFUN_ESCAPE
12966
12967         * commandtags.h: add LFUN_ESCAPE
12968
12969         * LyXAction.C (init): add entry for LFUN_ESCAPE
12970
12971         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12972         Remove commented code.
12973         (insertNote): moved here
12974         (open_new_inset): moved here
12975
12976         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12977         BufferView_pimpl
12978
12979 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12980
12981         * kbmap.C (findbinding): clean it up and make it work correctly.
12982
12983         * lyx_main.C (init): do not pass argc and argv as parameters
12984
12985 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12986
12987         * buffer.C: fix path for OS/2 & Win32
12988
12989         * lyx_gui.C:
12990         * lyx_main:
12991         * lyx_main.C: Added os:: class.
12992
12993         * os2_defines.h: update
12994
12995 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12998         better by trying again with reduced state.
12999
13000 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * lyxrc.C (read): print error about invalid key sequence only when
13003         debugging (because not all latinX keysyms are known to some X
13004         servers)
13005
13006         * kbsequence.C (getiso): add a few std:: qualifiers
13007         (getiso): comment out extra return statement.
13008
13009 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13012         handling.
13013         (Dispatch): enhance the accent inset a bit. (not perfect)
13014
13015 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13018
13019 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13020
13021         * bufferlist.C (emergencyWrite): fix assert() call
13022
13023 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13024
13025         * text.C (InsertChar): Added trivial patch to only send the "you
13026         can not do multiple spaces this way" message once during a
13027         session.
13028
13029 2001-05-08  Baruch Even  <baruch@lyx.org>
13030
13031         * Makefile.am: Changed order of libraries to get LyX to link properly
13032         with the gnome frontend.
13033
13034 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13035
13036         * LaTeXFeatures.h: add a std:: qualifier
13037
13038 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * paragraph.C (String): use stringstream
13041
13042 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * paragraph.C (writeFile): remove footflag arg
13045
13046         * buffer.C (makeLaTeXFile): use stringstream
13047         (latexParagraphs): remove footnot gurba
13048
13049         * LaTeXFeatures.C (getPackages): use stringstream
13050         (getMacros): likewise
13051         (getTClassPreamble): likewise
13052         (getFloatDefinitions): new method
13053
13054         * paragraph.C (writeFile): reindent
13055         (Erase): reindent
13056
13057         * WorkArea.h: revert the xpos + etc changes.
13058
13059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13060
13061         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13062
13063         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13064         (pasteSelection): likewise
13065         * text2.C (CreateUndo): likewise
13066
13067 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13068
13069         * minibuffer.C (peek_event): temporarily reduce the functionality
13070         of the minibuffer (to allow args on lfuns)
13071
13072         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13073         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13074
13075         * buffer.C (readInset): add compability reading of old float
13076         lists, add reading of new style float list.
13077         (readInset): avoid reevaluation of inscmd.getCmdName()
13078         (getLists): reindent
13079
13080         * MenuBackend.C (MenuItem): implement parsing of
13081         md_floatlistinsert and md_floatinsert.
13082         (expand::LastFiles): move initalizaton of iterators out of loop,
13083         avoid reevaluation.
13084         (expand::Documents): introduce typdedef vector<string> Strings,
13085         and use it.
13086         (expand::ExportFormats): introduce typedef vector<Format const *>
13087         Formats, and use it.
13088         (expand): implement FloatListInsert and FloatInsert.
13089
13090         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13091         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13092         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13093
13094         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13095         handling.
13096         (Dispatch::LFUN_FLOAT_LIST): implement
13097
13098 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13099
13100         * LaTeX.C (run): Fix problem with --export code.
13101
13102 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * BufferView.[Ch] (workarea): removed.
13105         (getClipboard) new method; wrapper for workarea()->getClipboard()
13106
13107         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13108         bug.
13109
13110         * WorkArea.h (width, height, xpos, ypos): These methods all
13111         returned the dimensions of the work_area sub-area of WorkArea,
13112         resulting in a position error if the WorkArea were resized. Now
13113         return the dimensions of the entire WorkArea.
13114
13115         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13116
13117 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13118
13119         * LaTeX.C (deplog): correct the syntax of regex reg1
13120
13121 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * undo.C: remove !NEW_INSETS cruft
13124
13125 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * text2.C: remove !NEW_INSETS cruft
13128
13129         * text.C: remove !NEW_INSETS cruft
13130
13131         * tabular.C: remove !NEW_INSETS cruft
13132
13133         * spellchecker.C: remove !NEW_INSETS cruft
13134
13135         * lyxtext.h: remove !NEW_INSETS cruft
13136
13137         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13138
13139         * lyxfunc.C: remove !NEW_INSETS cruft
13140
13141         * lyxfind.C: remove !NEW_INSETS cruft
13142
13143         * lyx_cb.C: remove !NEW_INSETS cruft
13144
13145         * figureForm.C: remove  !NEW_INSETS cruft
13146
13147         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13148
13149         * buffer.[Ch]: remove !NEW_INSETS cruft
13150
13151         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13152
13153         * CutAndPaste.C: remove !NEW_INSETS cruft
13154
13155         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13156
13157         * BufferView2.C: remove !NEW_INSETS cruft
13158
13159         * BufferView.h: remove !NEW_INSETS cruft
13160
13161 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13162
13163         * Lsstream.h: include LString.h before the sstream headers to
13164         fix problem with gcc 2.95.3 and lyxstring
13165
13166 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13167
13168         * lyx_main.C: add using directives when needed for C functions
13169         declared in std:: namespace.
13170
13171 2001-04-27  Juergen Vigna  <jug@sad.it>
13172
13173         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13174         (SetHeightOfRow): comment out the update call should not be needed!
13175
13176 2001-04-13  Juergen Vigna  <jug@sad.it>
13177
13178         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13179         (LyXTabular): tried to minimize operator= operations (and realized
13180         hopfully Lars wish).
13181
13182 2001-04-27  Juergen Vigna  <jug@sad.it>
13183
13184         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13185
13186 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13189
13190         * buffer.C (readInset): hack to make listof algorithm work
13191
13192         * BufferView_pimpl.C: hack to make listof algorithm work
13193
13194 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13195
13196         * LyXAction.C: removed all !NEW_INSETS cruft
13197         (init): moved lfun_item in method
13198
13199         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13200
13201 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13202
13203         * BufferView2.C (theLockingInset): white space.
13204
13205 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * minibuffer.C: include <iostream>
13208
13209         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13210
13211         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13212
13213         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13214
13215         * text.[Ch] (TransposeChars): new method
13216
13217 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * call message directly through LyXView instead of through LyXFunc
13220         * BufferView2.C: adjust
13221         * BufferView_pimpl.C: adjust
13222         * FontLoader.C: adjust
13223         * buffer.C: adjust
13224         * bufferview_funcs.C: adjust
13225         * converter.C: adjust
13226         * figureForm.C: adjust
13227         * importer.C: adjust
13228         * lyx_cb.C: adjust
13229         * lyx_gui_misc.C: adjust
13230         * lyxfunc.C: adjust
13231         * lyxvc.C: adjust
13232         * text2.C: adjust
13233         + more files in subdirs
13234
13235         * lyxparagraph.h (size): move up int file
13236         (GetLayout): ditto
13237
13238         * adjust all uses of Assert to lyx::Assert.
13239
13240         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13241         lyxfunctional in namespace lyx
13242         * layout.C (hasLayout): ditto
13243         (GetLayout): ditto
13244         (GetLayout): ditto
13245         (delete_layout): ditto
13246         (NumberOfClass): ditto
13247         * converter.C (GetFormat): ditto
13248         (GetNumber): ditto
13249         (Add): ditto
13250         (Delete): ditto
13251         (SetViewer): ditto
13252         * bufferlist.C (getFileNames): ditto
13253         (emergencyWriteAll): ditto
13254         (exists): ditto
13255         (getBuffer): ditto
13256         * MenuBackend.C (hasSubmenu): ditto
13257         (hasMenu): ditto
13258         (getMenu): ditto
13259         * BufferView_pimpl.C (getInsetByCode): ditto
13260
13261 2001-04-18  Juergen Vigna  <jug@sad.it>
13262
13263         * vspace.C (asLatexString): fixed the 100% problem.
13264
13265 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13266
13267         * lyxfunc.C (Dispatch):
13268         * minibuffer.C:
13269         * minibuffer.h: add a few std:: qualifiers
13270
13271 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * minibuffer.[Ch]: reimplement so that commands is initiated and
13274         run from lyxfunc, simplified som handling, and made the completion
13275         and history code for complete. wip.
13276
13277         * lyxfunc.C (processKeySym): call message
13278         (miniDispatch): new temporary method
13279         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13280         (LFUN_MESSAGE): implement
13281         (LFUN_MESSAGE_PUSH): implement
13282         (LFUN_MESSAGE_POP): implement
13283         (initMiniBuffer): the initial/defualt minibuffer message.
13284
13285         * lyxfont.[Ch]: inline some more getters
13286
13287         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13288
13289         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13290
13291         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13292         (AutoSave): use LFUN_MESSAGE
13293         (Reconfigure): ditto
13294
13295         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13296
13297         * figureForm.C: use LFUN_MESSAGE
13298
13299         * converter.C (runLaTeX): use LFUN_MESSAGE
13300
13301         * bufferview_funcs.C: use LFUN_MESSAGE
13302         (Melt): ditto
13303         (changeDepth): ditto
13304
13305         * bufferparams.h: use boost::
13306
13307         * bufferlist.h: inherit privately from noncopyable
13308
13309         * bufferlist.C (loadLyXFile): remove some commented code.
13310
13311         * buffer.C (runChktex): use LFUN_MESSAGE
13312
13313         * ShareContainer.h: inherit privately from noncopyable
13314
13315         * ParagraphParameters.[hC] (depth): inline it.
13316
13317         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13318         methods.
13319         (message): new method
13320         (messagePush): ditto
13321         (messagePop): ditto
13322         (show): init minibuffer
13323         (showState): direct call
13324
13325         * LaTeX.[Ch]: inherit privately from noncopyable
13326         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13327         instead of WriteStatus.
13328
13329         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13330
13331         * BufferView_pimpl.C (buffer): don't init minibuffer
13332         (workAreaButtonPress): use LFUN_MESSAGE
13333         (workAreaButtonRelease): ditto
13334         (savePosition): ditto
13335         (restorePosition): ditto
13336         (MenuInsertLyXFile): ditto
13337         (workAreaExpose): don't init minibuffer
13338         (update): remove commented code, simplify
13339
13340         * BufferView2.C (openStuff): use LFUN_MESSAGE
13341         (toggleFloat): ditto
13342         (menuUndo): ditto
13343         (menuRedo): ditto
13344         (copyEnvironment): ditto
13345         (pasteEnvironment): ditto
13346         (copy): ditto
13347         (cut): ditto
13348         (paste): ditto
13349         (gotoInset): ditto
13350         (updateInset): remove some commented code
13351
13352         * lastfiles.h: inherit privately from noncopyable
13353         * layout.h: ditto
13354         * lyx_gui.h: ditto
13355         * lyx_main.h: ditto
13356         * lyxlex.h: ditto
13357         * lyxlex_pimpl.h: ditto
13358
13359         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13360         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13361         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13362
13363         * LyXAction.h: inherit privately from noncopyable, add methods
13364         func_begin, func_end, returning iterators to the func map.
13365
13366         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13367         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13368         (func_begin): new method
13369         (func_end): new method
13370
13371         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13372         and not)
13373         (copySelection): ditto
13374         (pasteSelection): ditto
13375
13376         * BufferView.C: whitespace change
13377         * BufferView.h: inherit privately from noncopyable
13378
13379 2001-04-16  Allan Rae  <rae@lyx.org>
13380
13381         * tabular-old.C (l_getline):
13382         * spellchecker.C (sc_check_word):
13383         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13384         an unrecognised preprocessor directive.  So ensure they're wrapped.
13385
13386 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13387
13388         * src/exporter.C (Export): Give an error message when path to file
13389         contains spaces.
13390
13391 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13392
13393         * LaTeX.C (deplog): Always check that foundfile exists.
13394
13395 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13396
13397         * lyx_main.h:
13398         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13399
13400 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * tabular.[Ch] (getLabelList): implement new method
13403
13404         * minibuffer.h: comment ouf setTiimer
13405
13406         * minibuffer.C (ExecutingCB): constify res
13407         (peek_event): constify s
13408         (Set): constify ntext
13409         (Init): constify nicename
13410
13411         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13412
13413         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13414         (savePosition): use two params to Minibuffer::Set
13415         (restorePosition): ditto
13416
13417 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * lyx_main.C: include language.h
13420
13421         * Makefile.am (lyx_main.o): add language.h
13422
13423 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13424
13425         * exporter.C:
13426         * paragraph.C:
13427         * screen.C:
13428         * tabular.C:
13429         * CutAndPaste.C: include gettext.h
13430
13431         * lyxfont.h: remove old hack with ON and OFF.
13432
13433         * lyxparagraph.h:
13434         * lyxfont.h: do not include language.h...
13435
13436         * BufferView2.C:
13437         * LaTeXFeatures.C:
13438         * Painter.C:
13439         * bufferview_funcs.C:
13440         * font.C:
13441         * lyxfont.C:
13442         * text.C:
13443         * text2.C:
13444         * trans_mgr.C:
13445         * paragraph.C: ... but do it here instead
13446
13447 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13450
13451         * tabular.C: small reformat
13452
13453         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13454         NEW_INSETS version
13455         (GetChar): ditto
13456         (BreakParagraph): ditto
13457         (SetOnlyLayout): ditto
13458         (SetLayout): ditto
13459
13460         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13461         with one arg less.
13462
13463         * lastfiles.C: removed most using decl, add std:: where needed
13464
13465         * buffer.C: ws changes
13466
13467         * MenuBackend.C (class compare_format): put into anon namespace
13468         (expand): constify label, names, action, action2
13469         (expand):
13470
13471         * text.C (SingleWidth): constify font
13472         (IsBoundary): constify rtl2
13473         (GetVisibleRow): constify ww
13474
13475         * LaTeX.C (deplog): constify logfile
13476
13477         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13478         start_x, end_x
13479         (workAreaExpose): constify widthChange, heightChange
13480
13481         * lyxrow.C (par): moved
13482         (height): moved
13483         (next): moved
13484         * lyxrow.h: as inlines here
13485
13486         * lyxfont.h (shape): moved from lyxfont.C
13487         (emph): moved from lyxfont.C
13488
13489         * lyxfont.C (LyXFont): use initialization list for all
13490         constructors
13491         (shape): move to lyxfont.h as inline
13492         (emph): move to lyxfont.h as inline
13493
13494
13495 2001-04-04  Juergen Vigna  <jug@sad.it>
13496
13497         * vspace.C: had to include stdio.h for use of sscanf
13498
13499 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * BufferView.h:
13502         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13503         independent of xforms.
13504
13505 2001-04-02  Juergen Vigna  <jug@sad.it>
13506
13507         * spellchecker.C: fixed namespace placing!
13508
13509 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13512         the LyXParagraph * is 0.
13513
13514 2001-03-29  Juergen Vigna  <jug@sad.it>
13515
13516         * vspace.C: added support for %, c%, p%, l%.
13517         (stringFromUnit): added helper function.
13518         (asLatexString): changed to give right results for the %-values.
13519
13520         * buffer.C: convert the widthp in a width%.
13521
13522 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13525         figureForm.[Ch].
13526
13527         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13528         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13529
13530         * lyx_cb.[Ch]: see above.
13531
13532         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13533         form1.[Ch].
13534
13535         * form1.[Ch]:
13536         * lyx.[Ch]: replaced by figure_form.[Ch].
13537
13538         * lyx_gui.C:
13539         * lyx_gui_misc.C:
13540         * lyxfunc.C: changed headers associated with above changes.
13541
13542 2001-03-27  Juergen Vigna  <jug@sad.it>
13543
13544         * BufferView_pimpl.C: set the temporary cursor right!
13545
13546 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13549
13550 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * LString.h: removed "using std::getline"!
13553
13554         * BufferView_pimpl.C (Dispatch): changes due to changes in
13555         InsetInclude::Params.
13556
13557         * buffer.C (tag_name): removed redundant break statements as they were
13558         producing lots of warnings with my compiler.
13559
13560 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * LString.h: add "using std::getline" when using the real <string>.
13563
13564 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13565
13566         * buffer.C: removed bitset usage.
13567         PAR_TAG moved to an anonymous name space.
13568         (tag_name): new funtion, also in the anonymous namespace.
13569         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13570         (makeDocBookFile): clean code. Completed transition from string arrays
13571         to string vectors.
13572         (SimpleDocBookOnePar): code clean.
13573
13574 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13575
13576         * tabular.C: add some comments.
13577
13578 2001-03-22  Juergen Vigna  <jug@sad.it>
13579
13580         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13581         compatibility read a bit and fixed bug with minipage in different
13582         depth.
13583
13584 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13585
13586         * buffer.C (pop_tag): removed.
13587         (push_tag): removed.
13588         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13589         array replaced with vector. Added support for CDATA sections.
13590         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13591         at any nest level.
13592         (makeDocBookFile): XML conformant declaration of CDATA section,
13593         fixed bug related to <emphasis> in the first paragraph char.
13594         (sgmlOpenTag): exclude empty tags.
13595         (sgmlCloseTag): ditto.
13596
13597         * buffer.h (pop_tag): removed.
13598         (push_tag): removed.
13599
13600 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13601
13602         * language.h (Languages): added size_type and size().
13603
13604 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13605
13606         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13607         response on compability reading of minipages. One probliem is that
13608         the old usage of minipages was «flertydig»
13609
13610         * several files here and in subdirs: don't use static at file
13611         scope use anon namespaces instead.
13612
13613 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13614
13615         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13616         LaTeX output. This is necessary for Literate document
13617         processing.
13618
13619 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13620
13621         * buffer.C: insert hfill when needed.
13622
13623         * tabular.C (l_getline): use string::erase, small whitespace change.
13624
13625         * BufferView_pimpl.C: try the anon namespace.
13626         * WorkArea.C: ditto
13627
13628 2001-03-16  Juergen Vigna  <jug@sad.it>
13629
13630         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13631         otherwise it won't open options-dialogs.
13632
13633         * buffer.C: honor pextraWidth(p) on converting minipages.
13634
13635         * tabular.C (l_getline): changed the functions to strip trailing \r.
13636
13637 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13638
13639         * BufferView_pimpl.C:
13640         * minibuffer..C: added "using SigC::slot" declaration.
13641
13642 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13643
13644         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13645
13646         * text2.C: ditto
13647
13648         * text.C: ditto
13649
13650         * paragraph.C: ditto
13651
13652         * lyxtext.h: NO_PEXTRA
13653
13654         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13655
13656         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13657         * ParameterStruct.h: ditto
13658         * ParagraphParameters.h: ditto
13659         * lyxparagraph.h: ditto
13660
13661 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13662
13663         * buffer.C: add compability for minipage alignment.
13664         (latexParagraphs): remove unwanted pextra check.
13665
13666         * several files: remove CXX_WORKING_NAMESPACES
13667
13668         * buffer.C (pop_tag): tie is in namespace boost
13669
13670         * BufferView.h: noncopyable is in namespace boost
13671         * lyxlex.h: ditto
13672         * lyx_main.h: ditto
13673         * lyx_gui.h: ditto
13674         * layout.h: ditto
13675         * lastfiles.h: ditto
13676         * bufferlist.h: ditto
13677         * ShareContainer.h: ditto
13678         * LyXView.h: ditto
13679         * LyXAction.h: ditto
13680         * LaTeX.h: ditto
13681
13682 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * Merging changes from BRANCH_MVC back into HEAD.
13685
13686         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13687
13688 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * BufferView_pimpl.C: change from intl.C
13691
13692         * combox.h:
13693         * combox.C:
13694         * Makefile.am: move combox.*
13695
13696         * form1.h:
13697         * form1.C:
13698         * lyx_gui.C:
13699         * intl.h:
13700         * intl.C: remove dialog (covered by prefs)
13701
13702 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13703
13704         * lyxfunc.C (Dispatch): removed redundant break statement.
13705
13706 2001-03-14  Juergen Vigna  <jug@sad.it>
13707
13708         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13709
13710 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13711
13712         * buffer.C: add hack to fix compability reading of minipages.
13713
13714 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13715
13716         * buffer.C (getLists): Cleanup.
13717
13718 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * lyxfont.C (update): don't honor toggleall on font size.
13721
13722 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * bmtable.c:
13725         * bmtable.h:
13726         * Makefile.am: moved to frontends/xforms/
13727
13728         * lyx_gui_misc.C:
13729         * lyxfunc.C:
13730         * BufferView_pimpl.C: changes for moved mathpanel
13731
13732 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * gettext.h: fix gettext_init() in --disable-nls
13735
13736 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13739
13740 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13741
13742         * lyx.C:
13743         * lyx.h: strip external form
13744
13745 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13746
13747         * BufferView_pimpl.C: add comment, destroySplash()
13748
13749 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13750
13751         * BufferView_pimpl.C:
13752         * LyXAction.C:
13753         * buffer.C:
13754         * commandtags.h:
13755         * lyxfunc.C: use re-worked insetinclude
13756
13757 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13758
13759         * buffer.C: add using std::stringstream.
13760
13761         * lyx_cb.C: readd using std::ios.
13762
13763         * buffer.C: add using std::map.
13764
13765         * BufferView_pimpl.C: add using std::vector.
13766
13767         * ShareContainer.h: add std:: to swap.
13768
13769         * buffer.h: add some typedefs
13770         * buffer.C (getLists): use them
13771         (getLists): renamed from getTocList.
13772         add a counter for the different float types and use it in the
13773         generated string.
13774         (getLists): use the same counter for the NEW_INSETS and the "non"
13775         NEW_INSETS
13776
13777         * lyx_cb.h: remove unused items, includes, using etc.
13778
13779         * ShareContainer.h: remove some commented code, add more comments
13780         and "documentation".
13781
13782 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13783
13784         * buffer.C (getTocList): make the list also when NEW_INSETS is
13785         defined.
13786
13787         * buffer.h: remove TocType
13788
13789         * buffer.C (getTocList): change to return a map<string,
13790         vector<TocItem> >, implement for dynamic number of list.
13791
13792         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13793         * text2.C (PasteSelection): adjust
13794         * CutAndPaste.C (pasteSelection): adjust
13795
13796         * FloatList.C (FloatList): update from the new_insets branch.
13797         * Floating.[Ch]: ditto
13798         * LaTeXFeatures.C: ditto
13799         * buffer.C: ditto
13800         * lyxlex_pimpl.C: ditto
13801
13802         * paragraph.C (Last): remove when NEW_INSETS is defined.
13803
13804         * other file: changes because of the above.
13805
13806 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13807
13808         * lyxparagraph.h: rename next to next_, previous to previous_,
13809         make them private for NEW_INSETS. Rename Next() to next(),
13810         Previous() to previous().
13811
13812         * other files: changes because of the above.
13813
13814 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * BufferView.h:
13817         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13818         problem.
13819
13820 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * main.C (main): pass lyx_localedir to gettext_init().
13823
13824         * gettext.h: remove locale_init and gettext_init macros
13825
13826         * gettext.C (locale_init): new function
13827         (gettext_init): new function
13828
13829         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13830         setlocale().
13831
13832 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13833
13834         * Moved credits to frontends:
13835         * credits.[Ch]: removed
13836         * credits_form.[Ch]: removed
13837         * lyx_gui_misc.C: remove credits stuff
13838         * Makefile.am:
13839
13840 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13841
13842         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13843
13844         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13845         unneeded destructor.
13846
13847         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13848         a standalone pointer again.
13849
13850         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13851
13852 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * Makefile.am:
13855         * filedlg.h:
13856         * filedlg.C:
13857         * LyXAction.C:
13858         * ToolbarDefaults.C:
13859         * bufferlist.C:
13860         * commandtags.h:
13861         * form1.C:
13862         * form1.h:
13863         * lyx_cb.C:
13864         * lyx_cb.h:
13865         * lyxfunc.h:
13866         * lyxfunc.C:
13867         * BufferView_pimpl.C: use new file dialog in GUII
13868
13869         * lyx_cb.h:
13870         * lyx_cb.C: remove LayoutsCB to Toolbar
13871
13872 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * ShareContainer.h (get): add std:: qualifier
13875
13876 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * ShareContainer.h: define a proper ShareContainer::value_type
13879         type (and use typename to please compaq cxx)
13880
13881 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13882
13883         * lyxparagraph.h: move serveral local vars to
13884         ParameterStruct/ParagraphParameters., use ShareContainer in
13885         FontTable., make vars in FontTable private and add getter and
13886         setter.
13887
13888         * paragraph.C: changes because of the above.
13889
13890         * lyxfont.h: remove copy constructor and copy assignment. (the
13891         default ones is ok), move number inside FontBits. move inlines to
13892         lyxfont.C
13893
13894         * lyxfont.C: add number to initializaton of statics, move several
13895         inlines here. constify several local vars. some whitespace
13896         cleanup. Dont hide outerscope variables.
13897
13898         * Spacing.h: add two new constructors to match the set methods.
13899
13900         * ShareContainer.h: new file, will perhaps be moved to support
13901
13902         * ParameterStruct.h: new file
13903
13904         * ParagraphParameters.h: new file
13905
13906         * ParagraphParameters.C: new file
13907
13908         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13909         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13910
13911         * BufferView_pimpl.C: ParagraphParameter changes.
13912         * buffer.C: Likewise.
13913         * bufferview_funcs.C: Likewise.
13914         * text.C: Likewise.
13915         * text2.C: Likewise.
13916
13917 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13918
13919         * lyxfind.C (LyXReplace): do not redefine default argument in
13920         implementation.
13921         (IsStringInText): ditto
13922         (SearchForward): ditto
13923         (SearchBackward): ditto
13924
13925 2001-03-06  Juergen Vigna  <jug@sad.it>
13926
13927         * lyxfind.C (IsStringInText): put parentes around expressions.
13928
13929 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13930
13931         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13932
13933 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13934
13935         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13936
13937         * stl_string_fwd.h: add comment
13938
13939         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13940
13941         * tabular.h:
13942         * tabular.C: remove unused DocBook methods
13943
13944         * intl.C:
13945         * language.C:
13946         * paragraph.C:
13947         * buffer.C:
13948         killed DO_USE_DEFAULT_LANGUAGE
13949
13950 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * lyx_gui.C: do not include language.h.
13953
13954         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13955         arguments in function implementation.
13956
13957 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13958
13959         * BufferView_pimpl.C: add <ctime>
13960
13961 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13962
13963         * BufferView_pimpl.C: add using std::find_if
13964
13965 2001-02-27  José Matos  <jamatos@fep.up.pt>
13966
13967         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13968         by OnlyPath.
13969
13970 2001-02-11  José Matos  <jamatos@fep.up.pt>
13971
13972         * buffer.C (makeDocBookFile): command styles now have a parameter as
13973         "title" by default.
13974
13975 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13976
13977         * layout_forms.[Ch]: removed
13978         * lyx_cb.[Ch]: out character
13979         * lyx_gui.C: out character
13980         * lyx_gui_misc.C: out character
13981         * bufferview_funcs.C: : out character,
13982         added toggleall as parameter in ToggleAndShow
13983
13984 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13987
13988         * text2.C (SetCurrentFont): Disable number property at boundary.
13989
13990 2001-02-26  Juergen Vigna  <jug@sad.it>
13991
13992         * lyxfunc.C (getStatus): added a string argument override function so
13993         that this is correctly called from LyXFunc::Dispatch if it contains a
13994         do_not_use_argument which is used!
13995         (Dispatch): added check for "custom" export and call appropriate func.
13996
13997 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13998
13999         * lyxrc.C: Add language_command_local, language_use_babel and
14000         language_global_options.
14001
14002         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14003
14004         * buffer.C (makeLaTeXFile): Use language_use_babel and
14005         language_global_options.
14006
14007 2001-02-23  Juergen Vigna  <jug@sad.it>
14008
14009         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14010         which works with LyXText and putted it inside BufferView. Here now we
14011         only call for that part the BufferView::Dispatch() function.
14012
14013         * BufferView.C (Dispatch): added.
14014
14015         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14016         functions which needs to use a LyXText over from LyXFunc.
14017         (MenuInsertLyXFile): added
14018         (getInsetByCode): added
14019         (moveCursorUpdate): added
14020         (static TEXT): added
14021
14022 2001-02-22  Juergen Vigna  <jug@sad.it>
14023
14024         * BufferView_pimpl.C (update): call a status update to see if LyXText
14025         needs it.
14026
14027 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14028
14029         * vc-backend.C (revert): implement for CVS
14030         (getLog): implement for CVS
14031
14032 2001-02-20  Juergen Vigna  <jug@sad.it>
14033
14034         * text2.C (ClearSelection): added BufferView param for inset_owner call
14035
14036         * lyxfunc.C (TEXT): added this function and use it instead of
14037         directly owner->view()-text of getLyXText().
14038
14039 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14040
14041         * src/layout_forms.C: out preamble
14042         * src/layout_forms.h: out preamble
14043         * src/lyx_cb.C: out preamble
14044         * src/lyx_cb.h: out preamble
14045         * src/lyx_gui.C: out preamble
14046         * src/lyx_gui_misc.C: out preamble
14047         * src/lyxfunc.C: connect with guii preamble
14048
14049 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14050
14051         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14052
14053 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14054
14055         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14056         whether to run bibtex.
14057
14058 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14061
14062 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14063
14064         * Makefile.am (lyx_SOURCES): removed bibforms.h
14065
14066         * vspace.h: doxygen
14067
14068         * text.C (GetVisibleRow): make several local vars const
14069
14070         * tabular.C: small cleanup.
14071
14072         * lyxserver.C (callback): use compare instead of strncmp
14073
14074         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14075         inlines to after class or to paragraph.C
14076
14077         * lyxfont.h: remove friend operator!=
14078
14079         * converter.h: move friend bool operator< to non friend and after
14080         class def.
14081
14082         * combox.h: small cleanup
14083
14084         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14085         to inlines after class def.
14086
14087         * buffer.C (pop_tag): use string operations instead of strcmp
14088
14089         * bmtable.c: doxygen, small cleanup
14090
14091         * LaTeX.h: remove friend operator==
14092
14093 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14094
14095         * screen.C:
14096         * lyxrc.[Ch]:
14097         * lyxfunc.C:
14098         * lyxfont.[Ch]:
14099         * lyx_cb.C:
14100         * intl.[Ch]:
14101         * commandtags.h:
14102         * buffer.C:
14103         * WorkArea.[Ch]:
14104         * LyXAction.C:
14105         * BufferView_pimpl.C:
14106         * BufferView.[Ch]: remove cruft
14107
14108 2001-02-14  Juergen Vigna  <jug@sad.it>
14109
14110         * lyxfunc.C: removed #if 0 unused code
14111
14112         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14113
14114         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14115
14116         * text2.C (SetSelection): added a BufferView * parameter
14117
14118 2001-02-13  Juergen Vigna  <jug@sad.it>
14119
14120         * lyxfunc.C (Dispatch): fixed protected blank problem.
14121         * BufferView2.C (protectedBlank): added LyxText * parameter.
14122
14123         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14124         (AppendColumn): same as above for column_info.
14125
14126         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14127         (moveCursorUpdate): use a LyXText param for support of InsetText.
14128
14129         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14130         (tripleClick): ditto
14131
14132         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14133
14134         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14135
14136         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14137
14138         * text2.C (SetSelection): set correct update status if inset_owner
14139         (ToggleFree): ditto
14140
14141 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14142
14143         * tabular.C: remove some commented code.
14144
14145 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * BufferView_pimpl.C: call hideSplash()
14148
14149         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14150
14151         * include_form.h:
14152         * bibforms.h: remove
14153
14154         * lyxfunc.C:
14155         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14156           add LFUN_CHILD_CREATE
14157
14158         * counters.h: fix tiny typo
14159
14160         * lyx_cb.C:
14161         * lyx.h:
14162         * lyx_gui.C:
14163         * lyx.C: move splash to frontends/xforms/
14164
14165         * lyx_gui_misc.C: move Include and Bibform to frontends
14166
14167         * lyxvc.h: clarify comment
14168
14169         * vspace.C: tiny housekeeping
14170
14171 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14172
14173         * text.C (PrepareToPrint): RTL Fix.
14174
14175         * paragraph.C (GetUChar): New method.
14176         (String):  Use GetUChar.
14177
14178         * buffer.C (asciiParagraph): Use GetUChar.
14179
14180 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14181
14182         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14183
14184 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14185
14186         * buffer.h:
14187         * buffer.C: rename to getLogName(), handle
14188           build log / latex log nicely
14189
14190 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * MenuBackend.C:
14193         * MenuBackend.h: remove support for reference menuitem type.
14194
14195 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * BufferView_pimpl.C: housekeeping
14198         * BufferView_pimpl.h:
14199         * LyXView.h:
14200         * Makefile.am:
14201         * Timeout.C:
14202         * Timeout.h:
14203         * minibuffer.h: move Timeout GUI-I
14204
14205 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * lyxrc.C (read): Update converters data-structures.
14208
14209 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14210
14211         * LaTeX.h (operator!=): add operator != for Aux_Info
14212
14213 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14216
14217         * LaTeXLog.C: deleted, useful code moved to Buffer
14218
14219         * buffer.h:
14220         * buffer.C: new function getLatexLogName()
14221
14222         * lyx_gui_misc.C:
14223         * lyx_gui.C:
14224         * lyxvc.C:
14225         * lyxvc.h:
14226         * lyxfunc.C: use frontends for LaTeX and VC logs
14227
14228 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * LaTeX.h: yet another std:: that Allan forgot.
14231
14232         * Variables.C (set): renamed from isset(), because this clashes
14233         with some HP-UX macros (grr).
14234
14235 2001-02-06  Allan Rae  <rae@lyx.org>
14236
14237         * LaTeX.h: Another bug fix.  Missing std:: this time.
14238
14239 2001-02-04  Allan Rae  <rae@lyx.org>
14240
14241         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14242         floats problem. I've left it commented out because it's not quite
14243         correct.  It should also test that the current object is a table or
14244         figure inset.  But I haven't gotten around to figuring out how to do
14245         that.  I *think* it'll be something like: "table" == inset.type()
14246
14247         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14248         bool.
14249
14250 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14251
14252         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14253         all the citation/databases/styles in the auxilary file.
14254         (run): Rerun latex if there was a babel language error.
14255
14256 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14257
14258         * text.C (Backspace): Preserve the font when changing newline char
14259         with a space.
14260         (BreakParagraph): If the cursor is before a space, delete the space.
14261
14262         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14263
14264 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14267         new argument (code).
14268         (ChangeCitationsIfUnique): New method.
14269
14270         * paragraph.C (GetPositionOfInset): Handle bibkey.
14271
14272 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * BufferView_pimpl.h: change type of Position::par_pos to
14275         LyXParagraph::size_type.
14276
14277 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * BufferView_pimpl.C (savePosition, restorePosition): Write
14280         messages to minibuffer.
14281
14282 2001-01-28  José Matos  <jamatos@fep.up.pt>
14283
14284         * buffer.C (makeDocBookFile): adds support for document language.
14285         A silly restriction on the name of LatexCommand types where removed.
14286         Added support for CDATA sections, allows to chars unescaped, used
14287         among others in code, to avoid escape < and >.
14288
14289 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14292         saved positions instrad of a stack. Furthermore, a position is
14293         stored using paragraph id/paragraph position.
14294
14295         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14296         Remove LFUN_REF_BACK.
14297
14298 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14299
14300         * converter.C (dvipdfm_options): New method.
14301
14302 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * vspace.C (isValidLength): Fix for empty input string.
14305
14306 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * LyXAction.C (init): change description of LFUN_FIGURE to
14309         "Insert Graphics"
14310
14311 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * LaTeX.C: add using directive
14314
14315 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14316
14317         * MenuBackend.C (expand): Fix the sorting of the formats.
14318
14319 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14320
14321         * lyx_main.C: tiny error message fix
14322
14323 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14326         calling fl_initialize(). This fixes the problem with ',' as
14327         decimal separator in text files.
14328
14329 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14330
14331         * trans.C (process): Fix the keymap bug.
14332
14333 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * LaTeX.C (scanAuxFiles): New method. Provides support for
14336         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14337         (scanLogFile) Scan for "run BibTeX" messages.
14338
14339         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14340         OT1 font encoding. Also, load the aecompl package if the ae
14341         package is loaded.
14342
14343         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14344
14345 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14346
14347         * texrow.C (increasePos): turn two error messages into debug
14348         messages.
14349
14350 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14351
14352         * LaTeX.C (scanAux): Handle the \@input macro.
14353         (runBibTeX): Use scanAux().
14354
14355         * language.C (latex_options_): New field.
14356
14357         * LaTeXFeatures.C (getMacros): Add language macros.
14358
14359         * buffer.C (makeLaTeXFile): Small fix.
14360
14361 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14364
14365         * text2.C: add a using directive.
14366
14367 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14368
14369         * BufferView2.C:
14370         * lyx_gui_misc.h:
14371         * lyxfr1.C:
14372         * lyxfunc.C: kill LyXBell.
14373
14374 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * text.C (IsBoundary): Remove the error message
14377
14378         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14379
14380         * lyxrc.C (setDefaults): Correct initialization value for
14381         font_norm_type.
14382
14383 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14384
14385         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14386         gotoError().
14387
14388         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14389         and GotoNextNote().
14390
14391         * src/LyXAction.C: Added reference-next.
14392
14393         * text.C (InsertChar): Use contains instead of strchr.
14394
14395         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14396
14397 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14400         alignment commands (when needed).
14401
14402         * text.C (InsertChar): Add ':' to number separator chars.