]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix two lfuns
[lyx.git] / src / ChangeLog
1 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
5
6 2004-01-13  André Pönitz  <poenitz@gmx.net>
7
8         * textcursor.[Ch]:
9         * lyxtext.h: hide cursor and selection anchor behind accessor function
10
11         * BufferView.C:
12         * BufferView_pimpl.[Ch]:
13         * PosIterator.C:
14         * bufferview_funcs.C:
15         * cursor.h:
16         * lyxfind.C:
17         * lyxfunc.C:
18         * text.C:
19         * text2.C:
20         * text3.C:
21         * undo.C: adjust
22
23         * cursor.h:
24         * cursor_slice.[Ch]: some integer type changes for inset unification
25
26         * lyxcursor.[hC]: remove, it's CursorSlice now.
27
28         * Makefile.am: 
29         * BufferView_pimpl.[Ch]:
30         * bufferview_funcs.C:
31         * cursor_slice.C:
32         * lyxtext.h:
33         * text.C:
34         * text2.C:
35         * text3.C:
36         * textcursor.[Ch]: adjust
37
38 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * text2.C (undoSpan): add and use
41         * text.C (breakParagraph): use undoSpan (fix bug 578)
42         * lyxtext.h: adjust
43
44 2004-01-08  Angus Leeming  <leeming@lyx.org>
45
46         * BufferView_pimpl.C (MenuInsertLyXFile):
47         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
48         * lyxfunc.C (menuNew, open, doImport): 
49         FileFilterList change to the FileDialog open and save functions.
50
51 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
52
53         * ShareContainer.h: make isEqual and isUnique adaptable
54
55         * CutAndPaste.C: make resetOwnerAndChanges adaptable
56
57 2004-01-07  Angus Leeming  <leeming@lyx.org>
58
59         * LyXAction.C:
60         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
61
62         * BufferView_pimpl.C (dispatch): act on these LFUNs.
63
64         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
65         functions replacing find, replace and replaceAll.
66
67         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
68         LFUN_WORDFIND(FORWARD|BACKWARD).
69
70 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * text.C (breakParagraph): remove an outdated #warning
73
74 2004-01-07  André Pönitz  <poenitz@gmx.net>
75
76         * lyxfind.C: somewhat clearer logic
77
78         * text.C: prevent crash in cursorX on unitialized row cache
79
80 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * lyxcursor.[Ch] (operator>): add
83         * textcursor.C (selStart, selEnd): use std::min and std::max
84
85 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * Chktex.C: include boost/format.hpp
88
89 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * InsetList.C: replace functor MathcIt with adaptable functor
92         InsetTablePosLess
93         (insetIterator): modify accordingly
94
95         * BranchList.h: move the BranchNamesEqual functor here from...
96         * BranchList.C: ... to here
97
98         * BranchList.C: new BranchListEqual fuctor, use it. Remove
99         SameName and match.
100         (add): replace a finding loop with std::find_if.
101
102 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * output_docbook.C: moving LatexParam functionality into
105         .layout files
106
107 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
108
109         * buffer.C: increment format to 229.
110
111 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
112
113         * LaTeXFeatures.C:
114         * lyx_sty.[Ch]: remove minipageindent_def
115
116         * LyXAction.C:
117         * factory.C:
118         * lfuns.h:
119         * lyxfunc.C:
120         * text3.C: remove LFUN_INSET_MINIPAGE
121
122 2003-12-28  Angus Leeming  <leeming@lyx.org>
123
124         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
125
126 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
127
128         * text2.C (setParagraph): fix off-by-one crash
129
130 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
131
132         * output_docbook.C: header stuff for AGU
133
134 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * text2.C (redoCursor): remove
137         * text.C:
138         * text3.C:
139         * BufferView_pimpl.C: remove calls to redoCursor and
140         setCursor(cursor.par(), cursor.pos()) all around
141
142 2003-12-15  Angus Leeming  <leeming@lyx.org>
143
144         * buffer.C: up the format to 228.
145
146 2003-12-15  André Pönitz  <poenitz@gmx.net>
147
148         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
149         slices
150
151         * Makefile.am:
152
153         * BufferView_pimpl.C:
154         * cursor.[Ch]:
155         * lyxcursor.[Ch]:
156         * rowpainter.[Ch]:
157         * lyxtext.h:
158         * text.C:
159         * text2.C:
160         * text3.C: adjust
161
162 2003-12-15  Angus Leeming  <leeming@lyx.org>
163
164         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
165         than getFromGUIName to manipulate the color.
166
167 2003-12-14  Angus Leeming  <leeming@lyx.org>
168
169         * BranchList.[Ch]: minimize the API.
170         (Branch::getBranch, getColor): now return a 'const &'.
171         (Branch::setSelected) now returns a bool set to true if the
172         selection status changes.
173         (BranchList::clear, size, getColor, setColor, setSelected,
174         allBranches, allSelected, separator): removed.
175         (BranchList::find): new functions, returning the Branch with
176         the given name.
177         (BranchList::add, remove): return a bool indicating that
178         the operation was successful.
179
180         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
181         new InsetBranch::isBranchSlected member function.
182
183         * LColor.[Ch]: mimimize the API.
184         (fill): renamed as addColor and made private.
185         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
186         versions of these functions taking a string arg have been removed.
187
188         * bufferparams.C (readToken):
189         * lyxfunc.C (dispatch):
190         * lyxrc.C (read): changes due to the altered BranchList and
191         LColor APIs.
192
193         * factory.C (createInset, readInset): changes due to altered
194         InsetBranch c-tor.
195
196 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
197
198         * factory.C:
199         * lyxfunc.C: remove insetminipage. "minipage-insert"
200         now produces a frameless minipage box inset.
201
202 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
203
204         * textcursor.[Ch] (selStart,selEnd): add new methods
205         remove selection::start, end, use LyXCursor::operator<
206         * lyxcursor.[Ch] (operator<): add
207         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
208         * BufferView.[Ch] (unsetXSel): add
209         * text2.C (clearSelection): use unsetXSel,adjust
210         * text.C: adjust
211         * text3.C: adjust
212         * rowpainter.C: adjust
213         * bufferview_funcs.C (put_selection_at): adjust
214
215 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * BufferView_pimpl.C: small coord. correction
218
219 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
220
221         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
222         dragging over the splash screen.
223
224 2003-12-11  Angus Leeming  <leeming@lyx.org>
225
226         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
227         as it is now handled in LyXText::dispatch.
228
229         * text3.C (doInsertInset): remove a level of nesting.
230
231 2003-12-11  Angus Leeming  <leeming@lyx.org>
232
233         * factory.C (createInset): changes due to the changed interface to
234         InsetCommandMailer::string2params.
235
236 2003-12-10  Angus Leeming  <leeming@lyx.org>
237
238         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
239         'dialog-show-new-inset <inset name>'
240
241 2003-12-10  Angus Leeming  <leeming@lyx.org>
242
243         * buffer.C: up the format to 227.
244
245         * factory.C: the box inset is now identified simply by 'Box'.
246
247 2003-12-10  Angus Leeming  <leeming@lyx.org>
248
249         * buffer.C: up the format to 226.
250
251         * factory.C: the note inset is now identified simply by 'Note'.
252
253 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
254
255         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
256         when a pit is enough. Standarize a couple of loops.
257
258 2003-12-05  Angus Leeming  <leeming@lyx.org>
259
260         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
261         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
262         data to the re-worked "log" dialog.
263
264 2003-12-03  André Pönitz  <poenitz@gmx.net>
265
266         * PosIterator.C:
267         * iterators.C:
268         * lyxtext.h:
269         * output_latex.C:
270         * paragraph_funcs.C:
271         * text.C:
272         * text2.C: use Inset::getText instead of Inset::getParagraph
273
274 2003-12-03  André Pönitz  <poenitz@gmx.net>
275
276         * buffer.[Ch]:
277         * lyxtext.h:
278         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
279         InsetText::read() as LyXText::read()
280
281 2003-12-02  Angus Leeming  <leeming@lyx.org>
282
283         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
284         type. Add a comment in the implementation that the function uses
285         the stream's bad() function rather than fail() as the std::streams
286         would do.
287
288 2003-12-02  André Pönitz  <poenitz@gmx.net>
289
290         * lyxlex.[Ch]: make interface more similar to std::stream
291
292         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
293
294 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
297
298 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
299
300         * vspace.[Ch]: remove VSpace::NONE
301
302 2003-12-01  André Pönitz  <poenitz@gmx.net>
303
304         * buffer.[Ch]:
305         * lyxtext.h: move ParagraphList member to LyXText
306         rename LyXText::ownerParagraphs to LyXText::paragraph
307
308         * CutAndPaste.C:
309         * bufferview_funcs.C:
310         * iterators.[Ch]:
311         * lyx_cb.C:
312         * paragraph.C:
313         * rowpainter.C:
314         * tabular.C:
315         * text.C:
316         * text2.C:
317         * text3.C: adjust
318
319         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
320
321         * undo.C: fix cursor positioning
322
323 2003-12-01  John Levon  <levon@movementarian.org>
324
325         * BufferView_pimpl.C: fix a crash on exit with
326         a buffer open
327
328 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * BranchList.C: fix setSelected() method.
331
332 2003-11-28  André Pönitz  <poenitz@gmx.net>
333
334         * ParagraphParameters.[Ch]:
335         * ParameterStruct.h: remove space above/below from Paragraph to
336          InsetVSpace
337
338         * BufferView_pimpl.C:
339         * factory.C:
340         * lyxfunc.C:
341         * lyxtext.h:
342         * output_latex.C:
343         * paragraph.C:
344         * paragraph_funcs.C:
345         * rowpainter.[Ch]:
346         * text.C:
347         * text2.C:
348         * text3.C: adjust
349
350 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
351
352         * factory.C: Syntax change for CharStyles
353
354 2003-11-28  André Pönitz  <poenitz@gmx.net>
355
356         * BufferView.[Ch]:
357         * BufferView.[Ch]:
358         * buffer.[Ch]:
359         * buffer.[Ch]: move LyXText member
360
361 2003-11-28  André Pönitz  <poenitz@gmx.net>
362
363         * BufferView.[Ch]: make LyXText * text a private member
364
365         * BufferView_pimpl.C:
366         * cursor.C:
367         * iterators.C:
368         * lyx_cb.C:
369         * lyxfind.C:
370         * lyxtext.h:
371         * rowpainter.[Ch]:
372         * text.C:
373         * text2.C:
374         * undo.C: adjust
375
376         * output_plaintext.C: cleanup
377
378 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
379
380         * buffer.C:
381         * lyxtextclass.[Ch]: parametrize SGML document header
382
383 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
384
385         * converter.[Ch]:
386         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
387         getFlavor().
388
389 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
390
391         * text2.C (setFont): rework using PosIterator (no more recursive)
392         (setCharFont): no more needed
393         (setLayout): no more selection cursors fiddling (done by redoCursor)
394         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
395         destroy remaining ones)
396
397 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
400         * lyxtext.h: ditto
401         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
402         selection cursors
403         * lyxfunc.C: adjust
404         * text3.C: adjust + re-allow multi par depth changes
405         * textcursor.C: simplify a bit
406
407 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * src/buffer.C:
410         * src/lyxlayout.C:
411         * src/lyxlayout.h:
412         * src/lyxtext.h:
413         * src/output_docbook.C:
414         * src/output_latex.C:
415         * src/paragraph.C:
416         * src/paragraph.h:
417         * src/sgml.C:
418         * src/sgml.h:
419         * src/text2.C: Introducing a number of tags parametrizing various
420         XML formats that we may want to support
421
422 2003-11-25  André Pönitz  <poenitz@gmx.net>
423
424         * InsetList.[Ch] (begein, end): inline as suggested by profiler
425
426         * lyxtext.h (leftMargin/rightMargin): simplify interface
427
428         * rowpainter.C:
429         * text.C:
430         * text2.C:
431         * text3.C: adjust
432
433 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * lyxfunc.C (dispatch): propogate the bibtex databases from the
436         master file to any child files. Fixes bug 546.
437
438 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
441
442 2003-11-24  André Pönitz  <poenitz@gmx.net>
443
444         * rowpainter.C: simplification
445
446         * text2.C (updateCounters): remove call to redoParagraph on
447         changed labels as this is far too expensive.
448
449 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
450
451         * converter.C (convert): fix a crash: this function gets
452         called with buffer == 0 from importer code.
453
454 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
455
456         * text3.C (cursorPrevious): make sure that we do not compare
457         iterators form different containers.
458         (cursorNext): ditto
459
460         * rowpainter.C (paintSelection): make sure that we do not compare
461         iterators from different containers.
462
463         * text3.C (dispatch): [PRIOR] make sure that we do not compare
464         iterators from different ParagraphList containers.
465         [NEXT] ditto
466
467         * text2.C (LyXText): change order of initialization slightly
468         (operator=): new function. copy all variables except cache_par_
469         (moveUp): make sure that we do not compare iterators from
470         different ParagraphList constainers.
471         (moveDown): ditto
472
473         * text.C (firstPar): new function
474         (lastPar): new function
475         (endPar): new function
476
477         * lyxtext.h: move things around and group public functions, public
478         variables, private functions, private variables
479
480 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
481
482         * factory.C: change call to InsetERT constructor to avoid
483         additional invocation of method status
484         * text2.C (toggleInset): remove redundant update() call
485         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
486         instead of a Bufferview pointer
487
488 2003-11-21  André Pönitz  <poenitz@gmx.net>
489
490         * rowpainter.C: simplification
491
492 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * text3.C (dispatch): make possible to extend a word/row selection
495         with the mouse
496
497 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * lyxtext.h: x0_,y0_ -> xo_,yo_
500         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
501         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
502         * rowpainter.C (paintRows): paint full paragraphs
503
504 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
507         screen coordinates)
508
509 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * lyxtext.h: add x0_, y0_
512         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
513         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
514
515 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
516
517         * text2.C (setCursorIntern): move the x_target update here *
518         * text3.C: change some bv() to true/false in calls to
519         cursorUp/Down/Right/Left
520         * cursor.C: use helper function.
521
522 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
525         * paragraph_funcs.[Ch]: correct comment
526         * rowpainter.C: do not paint selections away from bv->cursor()
527         Fix a long standing selection painting bug.
528         * text3.C: generalize mouse-selection code to LyXTexts other that
529         top one
530         * textcursor.C: do not use y coords if we can use par offsets
531
532 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
535         cursor position after e.g. inset insert)
536
537 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
538
539         * lyxfind.C (replace): adjust to locking removal + some
540         code simplification
541
542 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
545         of the path
546
547 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
548
549         * lyxlayout.[Ch]:
550         * output_docbook.C: XML sanitation: new layout
551         parameters InnerTag and CommandDepth
552
553 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * BufferView_pimpl.C:
556         * factory.C:
557         * text3.C: Fix the insertion and modification of button-style
558         insets
559
560 2003-11-13  André Pönitz  <poenitz@gmx.net>
561
562         * InsetList.[Ch]: remove deleteLyXText
563
564         * paragraph.[Ch]: cache beginOfBody position
565
566         * Bidi.C:
567         * text.C:
568         * text2.C:
569         * text3.C: remove superfluous update() calls
570
571         * vspace.C: cleanup
572
573 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
574
575         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
576         * BufferView.C (fitLockedInsetCursor): remove
577         * cursor.[Ch] (getDim): add
578         * text.C (getRowNearY): add faster version
579         * text3.C: remove some update calls
580
581 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * LaTeXFeatures.C:
584         * LyXAction.C:
585         * MenuBackend.C:
586         * MenuBackend.h:
587         * dispatchresult.h:
588         * factory.C:
589         * lfuns.h:
590         * lyxfunc.C:
591         * lyxtextclass.C:
592         * lyxtextclass.h:
593         * text3.C: The Character Style /XML short element patch.
594
595 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
596
597         * text3.C:
598         * factory.C: Small step to solving 'unable to insert some insets'
599         problem
600
601 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
602
603         * cursor.[Ch] (updatePos): new function for updating the y
604         position of the tip inset
605         * bufferview_funcs.C (put_selection_at):
606         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
607
608 2003-11-11  André Pönitz  <poenitz@gmx.net>
609
610         * text.C: remove big comment on invalid Paragraph pointers as it is
611         not valid anymore
612
613 2003-11-11  André Pönitz  <poenitz@gmx.net>
614
615         * text_funcs.[Ch]: merge with ...
616
617         * text.C: ... this
618
619         * lyxtext.h:
620         * text2.C:
621         * text3.C: adjust
622
623         * Makefile.am: remove text_funcs.[Ch]
624
625 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
626
627         * cursor.C (getPos): return absolute cached y coord
628
629         * BufferView_pimpl.C (fitCursor): new simplistic code
630         (workAreaDispatch): add a fitCursor call
631
632 2003-11-10  André Pönitz  <poenitz@gmx.net>
633
634         * BufferView.[Ch]:
635         * BufferView_pimpl.[Ch]: merge update() and updateInset()
636
637 2003-11-10  André Pönitz  <poenitz@gmx.net>
638
639         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
640         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
641         indicate that the cursor needs to leave an inset
642
643         * lyxtext.h: remove inset locking
644
645         * cursor.[Ch]: re-implement functionality provided by inset locking
646
647         * BufferView.[Ch]:
648         * BufferView_pimpl.[Ch]:
649         * LyXAction.C:
650         * bufferview_funcs.[Ch]:
651         * factory.C:
652         * funcrequest.[Ch]:
653         * iterators.C:
654         * lyx_cb.C:
655         * lyxfind.C:
656         * lyxfunc.C:
657         * text.C:
658         * text2.C:
659         * text3.C:
660         * undo.C: adjust
661
662 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
663
664         * PosIterator.[Ch]: replace the stack with a vector, add inset
665         accesor
666         * iterators.[C]: adjust
667
668 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
669
670         * lyxfind.C (replaceAll): mark the buffer dirty if something was
671         replaced
672         * paragraph_funcs.C (readParToken): put the correct id in the
673         error item, not the id of the top paragraph
674
675 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
676
677         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
678         * bufferview_funcs.C (put_selection_at): use the above
679
680 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
681
682         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
683
684 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * output_linuxdoc.h:
687         * output_plaintext.h:
688         * output.h:
689         * output_docbook.h: add #include statements
690
691 2003-11-05  José Matos  <jamatos@lyx.org>
692
693         * output_docbook.[Ch]:
694         * output_latex.[Ch]:
695         * output_linuxdoc.[Ch]:
696         * output_plaintext.[Ch]: New files for output formats.
697         * output.[Ch]: New file for helper functions.
698
699         * buffer.[Ch]:
700         * paragraph_funcs.[Ch]: output functions moved to new files.
701
702         * outputparams.h: rename of latexrunparams.h
703
704         * LaTeX.[Ch]:
705         * buffer.[Ch]:
706         * bufferlist.[Ch]:
707         * converter.[Ch]:
708         * exporter.C:
709         * paragraph.[Ch]:
710         * paragraph_funcs.[Ch]:
711         * paragraph_pimpl.[Ch]:
712         * tabular.[Ch]: rename ascii to plaintext
713         and LatexRunParams to OutputParams.
714
715 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
716
717         * iterators.[Ch] (text): require bv argument
718         * undo.C (recordUndo):
719         * lyxfunc.C (dispatch):
720         * bufferview_funcs.C (put_selection_at): adjust
721
722 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
723
724         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
725
726 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
727
728         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
729         nestings
730
731 2003-11-04  André Pönitz  <poenitz@gmx.net>
732
733         * cursor.[Ch]: restructure
734
735         * BufferView.[Ch]:
736         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
737
738         * iterators.[Ch] (asCursor): remove
739
740         * lfuns.h: remove LFUN_INSET_EDIT
741
742         * lyxfunc.C:
743         * tabular.C:
744         * text.C:
745         * text2.C:
746         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
747
748 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
749
750         * lyxfind.[Ch]: complete overhaul
751         * BufferView_pimpl.C:
752         * lyxfunc.C: adjust
753         * paragraph.[Ch] (insert): add
754
755 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
756
757         * BufferView.[Ch]:
758         * lyxtext.h:
759         * text.C: remove dead spellcheck code
760
761 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
762
763         * dispatchresult.h: add a val setter
764
765         * cursor.C (dispatch): use a tempvar for data_[i]
766
767 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
768
769         * PosIterator.[Ch]: compile fix
770
771 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
772
773         * text.C (cursorPar): deactivate the cursor cache
774
775 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
776
777         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
778
779 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
780
781         * text3.C (dispatch): adjust for new DisptchResult semantics.
782
783         * lyxfunc.C (dispatch): handle update when return from
784         Cursor::dispatch, adjust for new DispatchResult semantics.
785
786         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
787         DispatchResult(true) mean to not update. Add class functions for
788         setting dispatched and update, as well as reading.
789
790         * cursor.C (dispatch): don't handle update here
791
792 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
793
794         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
795         * trans_mgr.C: adjust
796
797         * paragraph_funcs.C (readParToken): exception safety
798
799         * lyxvc.h: store the vcs pointer in a scoped_ptr
800         * lyxvc.C: adjust
801
802         * lyxsocket.C (serverCallback): exception safety
803
804         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
805
806         * ispell.C (clone): make it return a auto_ptr
807
808         * factory.C (createInset): exception safety
809         (readInset): exception safety
810
811         * bufferlist.C (newBuffer): exception safety
812
813         * Thesaurus.C (Thesaurus): use initialization for aik_
814
815         * MenuBackend.C (expandToc): exception safety.
816
817 2003-11-03  André Pönitz  <poenitz@gmx.net>
818
819         * buffer.C:
820         * buffer.h:
821         * bufferview_funcs.C: remove getInsetFromId()
822
823         * lyxcursor.[Ch]:
824         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
825
826         * lyxfunc.C:
827         * text2.C:
828         * text3.C: adjust
829
830 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
831
832         * PosIterator.C (distance, advance): new
833         * bufferview_funcs.[Ch] (put_selection_at): new
834         * iterators.[Ch] (lockPath): new
835
836 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
837
838         * iterators.[Ch] (asPosIterator): added
839         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
840         * PosIterator.[Ch]: added
841
842 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
843
844         * text3.C:
845         * lyxfunc.C:
846         * cursor.C (dispatch):
847         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
848
849         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
850         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
851         contructor, add a class function dispatched. Remove operator>=
852
853 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
854
855         * debug.C: only use the default constructor for debugstream
856         (lyxerr) here.
857
858         * main.C (main): include debug.h and setup the lyxerr streambuf
859         here.
860
861 2003-10-31  José Matos  <jamatos@lyx.org>
862
863         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
864
865         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
866         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
867         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
868         * paragraph_pimpl.C (simpleTeXSpecialC):
869         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
870         add LatexRunParams argument.
871
872         * exporter.C (Export): change call accordingly.
873
874         * latexrunparams.h: add new member to take care of the other backends.
875 2003-10-30  José Matos  <jamatos@lyx.org>
876
877         * buffer.C (makeLinuxDocFile, makeDocBookFile):
878         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
879         factorise code for paragraph output.
880         * buffer.[Ch]:
881         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
882         move functions.
883
884 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
885
886         * text3.C (dispatch):
887         * lyxfunc.C (dispatch):
888         * cursor.C (dispatch):
889         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
890
891         * dispatchresult.h: make the dispatch_result_t ctor explicit
892
893 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
894
895         * sgml.[Ch]:
896         * buffer.C: small refactoring of docbook stuff
897
898 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
899
900         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
901         meaning.
902
903 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
904
905         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
906         operator dispatch_result_t, and operators for == != and >=
907
908         * cursor.C (dispatch): adjust for operator dispatch_result_t
909         removal. comment out call to update
910
911         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
912
913 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
914
915         * text3.C:
916         * text2.C:
917         * text.C:
918         * lyxtext.h:
919         * lyxfunc.C:
920         * cursor.C:
921         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
922         (dispatch):
923
924         * dispatchresult.h: new file, DispatchResult broken out of
925         insets/insetbase.h
926
927         * Makefile.am (lyx_SOURCES): add dispatchresult.h
928
929 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
930
931         * text.C (rowBreakPoint): put a hack inside #if 0
932
933 2003-10-28  André Pönitz  <poenitz@gmx.net>
934
935         * lyxtext.h:
936         * metricsinfo.C:
937         * paragraph_funcs.C:
938         * rowpainter.C:
939         * text.C:
940         * text2.C: general cleanup (lots of small stuff)
941
942 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
943
944         * text2.C (cursorEnd): simple fix to the "end key goes to one
945         before the end on last row" bug
946
947 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
948
949         * text.C (backspace): fix the "zombie characters"
950
951 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
952
953         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
954
955 2003-10-27  André Pönitz  <poenitz@gmx.net>
956
957         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
958
959         * factory.C: handle new InsetPagebreak, InsetLine
960
961         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
962         and move handling into new InsetPagebreak, InsetLine
963
964         * BufferView_pimpl.C:
965         * LyXAction.C:
966         * ParagraphParameters.C:
967         * ParameterStruct.h:
968         * lyxfunc.C:
969         * lyxtext.h:
970         * paragraph.C:
971         * paragraph.h:
972         * paragraph_funcs.C:
973         * paragraph_pimpl.C:
974         * rowpainter.C:
975         * text.C:
976         * text2.C:
977         * text3.C: adjust
978
979 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
980
981         * text.C:
982         * lyxrow_funcs.[Ch]:
983         * Bidi.C:
984         * paragraph.C:
985         * lyxtext.h:
986         * rowpainter.C:
987         * text2.C:
988         * text3.C: remove lastPos uses in favour of Row::endpos
989
990 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
991
992         * undo.C (performUndoOrRedo): fix two crashes by setting a
993         cursor by hand and reordering some calls. Use bv->lockInset instead
994         of inset->edit because the latter loses cursor information
995
996 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
997
998         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
999         by Martin
1000         (rowBreakPoint): fix width. change point to point + 1.
1001         Add a missing check.
1002
1003 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * MenuBackend.C:
1006         * lyxfunc.C: fix (at least partly) the problems
1007         with the Nav menu and headers inside branch insets
1008         reported by Kayvan
1009
1010 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1011
1012         * paragraph.C (getChar): add strong asserts
1013
1014         * lyxrow_funcs.C (lastPos): remove hideous hack
1015
1016         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1017         (fill): adjust to that (avoid an infinite loop)
1018
1019 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1020
1021         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1022
1023 2003-10-23  André Pönitz  <poenitz@gmx.net>
1024
1025         * RowList_fwd.h: change list<> to vector<> to gain speed
1026         after suggestion from Alfredo
1027
1028 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1029
1030         * lyxtext.h: move the bidi stuff from here...
1031         * text.C: and here
1032         * text2.C: and here
1033         * Bidi.[Ch]: ... to here
1034
1035 2003-10-23  André Pönitz  <poenitz@gmx.net>
1036
1037         * lyxtext.h:
1038         * text.C (isLastRow, isFirstRow): new functions
1039
1040         * paragraph.h: new width cache member
1041
1042         * rowpainter.C: replace RowList::iterator with Row & where possible
1043
1044         * lyxfunc.C: replace several view()->text with a single call
1045
1046         * toc.C: fix 'unused' warning
1047
1048 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1051         when woring with stream::pos_type
1052         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1053
1054 2003-10-22  André Pönitz  <poenitz@gmx.net>
1055
1056         * lyxtext.h:
1057         * text.C: use Row & instead of RowList::iterator
1058
1059         * lyxrow.h: rename end() to endpos()
1060
1061         * rowpainter.C:
1062         * text.C:
1063         * text2.C: adjust
1064
1065 2003-10-22  Angus Leeming  <leeming@lyx.org>
1066
1067         * buffer.[Ch] (fully_loaded): new member function, returning true
1068         only when the file has been loaded fully.
1069         Used to prevent the premature generation of previews and by the
1070         citation inset to prevent computation of the natbib-style label.
1071
1072         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1073         templates are all set up.
1074
1075         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1076
1077 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1078
1079         * text.C: fixed an "oops" in the "is a bit silly"
1080         bug fix
1081
1082 2003-10-21  André Pönitz  <poenitz@gmx.net>
1083
1084         * FuncStatus.[Ch]: small stuff, whitespace
1085
1086         * lyxfont.[Ch]: operator<<() for debug reasons
1087
1088         * lyxfunc.C:
1089         * lyxrow_funcs.C:
1090         * lyxtext.h: whitespace, spelling
1091
1092         * paragraph.C: naming of variables
1093
1094         * text.C:
1095         * text2.C: small stuff
1096
1097
1098 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1099
1100         * text.C: (1) finish off the inset display() work;
1101         (2) fix the "is a bit silly" bug (accessing char
1102         past end of par).
1103
1104 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * text.C: re-introduce display() for insets, fixing the
1107         various bugs (stretch of line above, math inset
1108         positioning, ...)
1109
1110 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * text.C (rightMargin): remove spurious semicolon
1113
1114         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1115         1415)
1116
1117 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * text3.C: fix one crash due to wrong cursor def
1120
1121 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1122
1123         * vc-backend.C (scanMaster): make the regex static
1124
1125         * LaTeX.C (scanAuxFile): make the regexs static
1126
1127         * text3.C (doInsertInset, dispatch, dispatch):
1128         * text2.C (cursorUp, cursorDown):
1129         * text.C (selectNextWordToSpellcheck):
1130         * BufferView_pimpl.C (dispatch):
1131         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1132
1133 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1134
1135         * lyxsocket.C: include <cerrno>
1136
1137 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1138
1139         * lyxfunc.C (dispatch): remove textcache stuff
1140
1141         * bufferlist.C (release): remove textcache stuff
1142         (closeAll): ditto
1143
1144         * TextCache.C: delete file
1145         * TextCache.h: delete file
1146
1147         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1148
1149         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1150         delete of the bv_->text.
1151         (resizeCurrentBuffer): remove texcache stuff
1152         (workAreaResize): ditto
1153
1154 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1155
1156         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1157         action.
1158
1159 2003-10-16  André Pönitz  <poenitz@gmx.net>
1160
1161         * lyxrow.[Ch]:
1162         * paragraph.h:
1163         * rowpainter.C:
1164         * text.C:
1165         * text2.C:
1166         * text3.C: speed up by storing y positions per paragraph plus per-row
1167         offset instead of having a 'full' y position in the row.
1168
1169 2003-10-15  André Pönitz  <poenitz@gmx.net>
1170
1171         * iterators.[Ch]:
1172         * iterators.[Ch]:
1173         * undo.[Ch]: make undo aware of inner insets
1174
1175 2003-10-14  Angus Leeming  <leeming@lyx.org>
1176
1177         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1178         static member functions LyX::ref() and LyX::cref.
1179         (lastfiles): new accessor functions for the new lastfiles_ member var.
1180         (addLyXView, views_): add a new LyXView to the list of views_.
1181         (updateInset): loop over all LyXViews to call their own updateInset
1182         member function, returning a pointer to the Buffer owning the inset.
1183
1184         * BufferView_pimpl.C (loadLyXFile):
1185         * MenuBackend.C (expandLastfiles):
1186         * bufferlist.C (MenuWrite, QuitLyX):
1187         lastfiles is no longer a global variable.
1188         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1189
1190         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1191         static function. Access through LyX::cref().emergencyCleanup().
1192
1193 2003-10-14  André Pönitz  <poenitz@gmx.net>
1194
1195         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1196
1197         * undo.[Ch]: restoring part of 'undo in insets'
1198
1199         * Makefile.am:
1200         * undo_funcs.[Ch]: merge with undo.[Ch]
1201
1202         * tabular.C: small cleansing stuff
1203
1204 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1205
1206         * paragraph_funcs.C (readParToken): report unknown insets as error
1207         boxes. Use the outer paragraph as location (also for unknown
1208         tokens).
1209
1210         * factory.C (readInset): do not abort on reading an unknown inset.
1211         Eat it and return 0.
1212
1213 2003-10-13  Angus Leeming  <leeming@lyx.org>
1214
1215         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1216
1217         * lyxrc.C: displayTranslator is now a function,
1218         declared in GraphicsTypes.h.
1219
1220 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1221
1222         * format.C: new placeholder $$a to pass the socket address.
1223
1224         * bufferlist.[Ch]: new function getBufferFromTmp.
1225
1226         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1227           files in the temporary dir.
1228
1229 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1230
1231         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1232
1233         * Makefile.am: add lyxsocket.[Ch].
1234
1235         * lyx_main.C (error_handler): handle SIGPIPE.
1236
1237 2003-10-13  André Pönitz  <poenitz@gmx.net>
1238
1239         * BufferView_pimpl.C:
1240         * lyxtext.h:
1241         * text.C:
1242         * text2.C:
1243         * text3.C:
1244         * undo_funcs.[Ch]: use paroffset_type instead of
1245           ParagraphList::iterators to prevent multiple conversion
1246           (and get a more robust interface)
1247
1248 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1249
1250         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1251         * lyxtext.h: ditto
1252         * text3.C (dispatch): ditto
1253
1254 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1255
1256         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1257         move the onlyfile, use onlyfile instead of foundfile in a couple
1258         of places.
1259
1260         * DepTable.C (update): flush the error stream a bit more
1261
1262 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * lyxserver.C (callback): adjust
1265
1266         * lyxfunc.C (getStatus): add a missing brace in commented code
1267         (ensureBufferClean): reindent
1268         (dispatch): delete version taking a string
1269
1270 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1271
1272         * LaTeX.C (deplog): move found file handlig from here...
1273         (handleFoundFile): .. to new function here.
1274         (deplog): make sure to discover several files mentioned on the
1275         same log line.
1276
1277 2003-10-10  André Pönitz  <poenitz@gmx.net>
1278
1279         * lyxfunc.C:
1280         * lyxtext.h:
1281         * tabular.C:
1282         * text.C:
1283         * text2.C:
1284         * text3.C: fix some of the tabular crashes
1285
1286 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1287
1288         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1289
1290         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1291
1292 2003-10-09  André Pönitz  <poenitz@gmx.net>
1293
1294         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1295
1296         * BufferView.C:
1297         * BufferView_pimpl.C:
1298         * bufferview_funcs.C:
1299         * lyx_cb.C:
1300         * lyxcursor.C:
1301         * lyxfind.C:
1302         * lyxfunc.C:
1303         * lyxtext.h:
1304         * text.C:
1305         * text2.C:
1306         * text3.C:
1307         * text_funcs.[Ch]:
1308         * textcursor.[Ch]:
1309         * undo_funcs.C: adjust
1310
1311 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1312
1313         * text2.C (incrementItemDepth): new function, use a backtracking
1314         algorithm to discover the correct item depth.
1315         (resetEnumCounterIfNeeded): new function, use a backtracking
1316         algorithm to discover if counter reset is needed.
1317         (setCounter): use them. Simplify a bit. Add different labels for
1318         different item depths for itemize.
1319
1320         * paragraph.C (Paragraph): remove initialization of enumdepth
1321         (operator=): ditto
1322
1323         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1324         enumerate and itemize. Change the type of itemdepth to signed char.
1325
1326 2003-10-08  André Pönitz  <poenitz@gmx.net>
1327
1328         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1329           thing assignable.
1330         * text.C:
1331         * text2.C: adjust
1332
1333         * tabular.[Ch]: fix crash after 'row-insert'
1334
1335 2003-10-08  Angus Leeming  <leeming@lyx.org>
1336
1337         Fix doxygen warnings.
1338
1339         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1340         Remove CutAndPaste:: prefix from header file declaration.
1341
1342         * LColor.h (fill): remove LColor:: prefix from declaration.
1343
1344         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1345         use lyx::depth_type rather than Paragraph::depth_type so that
1346         header file and .C file match.
1347
1348         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1349
1350         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1351         * aspell.C: \file aspell_local.C -> \file aspell.C
1352         * gettext.C: \file gettext.C -> \file src/gettext.C
1353         * gettext.h: \file gettext.h -> \file src/gettext.h
1354         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1355         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1356         * text.C: \file text.C -> \file src/text.C
1357
1358         * toc.C: move comment so that doxygen is not confused.
1359
1360 2003-10-07  Angus Leeming  <leeming@lyx.org>
1361
1362         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1363
1364 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1365
1366         * aspell.C:
1367         * aspell_local.h: add forgotten std::string's.
1368
1369 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1370
1371         * LaTeXFeatures.C:
1372         * LyXAction.C:
1373         * factory.C:
1374         * lfuns.h:
1375         * lyxfunc.C:
1376         * text3.C: The Box patch. Fancybox support, minipage, parbox
1377
1378 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1379
1380         * CutAndPaste.h:
1381         * DepTable.h:
1382         * FloatList.h:
1383         * LaTeXFeatures.h:
1384         * ParagraphParameters.h:
1385         * TextCache.h:
1386         * Thesaurus.h:
1387         * bufferlist.h:
1388         * exporter.h:
1389         * importer.h:
1390         * lastfiles.h:
1391         * lyxfind.h:
1392         * lyxfont.h:
1393         * lyxlex.h:
1394         * lyxtextclasslist.h:
1395         * messages.h:
1396         * paragraph.h:
1397         * paragraph_pimpl.C:
1398         * textcursor.h: add <string> and other small fixes to make Lars'
1399         std::string patch compile with STLport.
1400
1401 2003-10-06  Angus Leeming  <leeming@lyx.org>
1402
1403         * LColor.h: Add missing #include <string>.
1404
1405 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1406
1407         * All most all file in all subdirs: Make <string> be the prefered
1408         way of getting to std::string, add using declarations.
1409
1410 2003-10-06  André Pönitz  <poenitz@gmx.net>
1411
1412         * metricsinfo.C: initialize LyXFont before changing attribute.
1413         (fixes the 'math in \emph is upright' bug)
1414
1415 2003-10-06  André Pönitz  <poenitz@gmx.net>
1416
1417         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1418
1419 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * graph.C:
1422         * paragraph_pimpl.C: Small fixes to build using STLport
1423
1424 2003-10-02  André Pönitz  <poenitz@gmx.net>
1425
1426         * lyxfunc.C:
1427         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1428
1429 2003-10-01  André Pönitz  <poenitz@gmx.net>
1430
1431         * factory.C: assert early
1432
1433 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1434
1435         * lyx_main.C: remove the global debug object
1436
1437         * debug.h: adjust for new debugstream
1438
1439         * debug.C: adjust for new debugstream and keep the global debug
1440         object here.
1441
1442 2003-09-22  Angus Leeming  <leeming@lyx.org>
1443
1444         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1445         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1446         an incomplete class LyXFont.
1447
1448 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1449
1450         * factory.C: bug fix in branches
1451
1452 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1453
1454         * lyxfunc.C (processKeySym): adjust
1455         (dispatch): adjust
1456         (dispatch): change arg name from ev to func, adjust
1457         (sendDispatchMessage): ditto
1458
1459         * lyx_main.C (defaultKeyBindings): adjust keybindings
1460         (deadKeyBindings): ditto
1461
1462         * kbsequence.C (addkey): return a FuncRequest
1463
1464         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1465
1466         * kbmap.C (bind): take a FuncRequest as arg, adjust
1467         (read): adjust
1468         (lookup): adjust
1469         (defkey): change to take a FuncRequest as arg, adjust
1470         (findbinding): take a FuncRequest as arg, adjust.
1471
1472         * funcrequest.h (operator=): added
1473
1474         * funcrequest.C (FuncRequest): default kb_action changed from
1475         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1476
1477         * buffer.C (dispatch): simplify
1478         (dispatch): adjust to take a FuncRequest as arg, adjust
1479
1480         * boost.C (assertion_failed): change assertion message slightly
1481
1482         * ToolbarBackend.C (read): simplify
1483
1484         * MenuBackend.C (binding): adjust call to findbinding, add a
1485         message if no binding is found.
1486         (read): simplify
1487         (expandToc): correct by adding a empty FuncRequest
1488
1489         * LyXAction.C: include <boost/assert.hpp>
1490         (isPseudoAction): delete function
1491         (LookupFunc): change name to...
1492         (lookupFunc): this. change return type to FuncRequest.
1493         (getActionName): take kb_action as arg, simplify
1494         (funcHasFlag): add an assert, simplify.
1495
1496 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1497
1498         * toc.C (action): return a FuncRequest, simplify
1499
1500         * lyxfunc.C (processKeySym): adjust
1501         (getStatus): delete version that takes an int.
1502         (getStatus): adjust
1503         (dispatch): delete version that takes action as int
1504         (dispatch): adjust
1505         (sendDispatchMessage): simplify and adjust
1506
1507         * funcrequest.C (getArg): take unsigned int as arg
1508
1509         * ToolbarBackend.C (read): adjust
1510         (add): delete version that takes func as a string.
1511         (getIton): take a FuncRequest as arg
1512
1513         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1514         action.
1515
1516         * MenuBackend.C (MenuItem): add a new construct that only takes a
1517         Kind, simplify the constructor use for submenus.
1518         (add): adjust
1519         (expandLastfiles): adjust
1520         (expandDocuments): adjust
1521         (expandFormats): adjust
1522         (expandFloatListInsert): adjust
1523         (expandFloatInsert): adjust
1524         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1525
1526         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1527         Remove class variables lyx_pseudo_map and lyx_arg_map
1528
1529         * LyXAction.C (searchActionArg): delete function
1530         (getPseudoAction): delete function
1531         (retrieveActionArg): delete function
1532         (LookupFunc): make it return kb_action, simplify.
1533         (getActionName): simplify
1534
1535         * factory.C (createInset): fix new bug
1536
1537 2003-09-19  Angus Leeming  <leeming@lyx.org>
1538
1539         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1540         masterFilename_ parameter in the include inset.
1541
1542         * factory.C (createInset): changes due to the changes to InsetInclude.
1543
1544 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1545
1546         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1547
1548 2003-09-18  Angus Leeming  <leeming@lyx.org>
1549
1550         * buffer.C:
1551         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1552         Inset::fillWithBibKeys.
1553         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1554
1555 2003-09-18  Angus Leeming  <leeming@lyx.org>
1556
1557         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1558         variables.
1559         (ctor): pass and store a 'Buffer const &'
1560         (buffer): new member function.
1561
1562         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1563         '*this' to the LaTeXFeatures ctor.
1564
1565 2003-09-18  Angus Leeming  <leeming@lyx.org>
1566
1567         * LColor.h:
1568         * lyxfont.C:
1569         * lyxfont.h:
1570         * lyxtext.h:
1571         * text.C: rename EnumLColor as LColor_color.
1572
1573 2003-09-18  Angus Leeming  <leeming@lyx.org>
1574
1575         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1576         remove #include "insets/insetbase.h" from cursor.h.
1577
1578 2003-09-18  Angus Leeming  <leeming@lyx.org>
1579
1580         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1581         InsetOld_code to remove #include "inset.h".
1582
1583         * iterators.C: add #include "insets/inset.h"
1584
1585 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1586
1587         * BufferView.C: remove more locking stuff that apparently doesn't
1588         do anything sensible.
1589
1590 2003-09-16  André Pönitz  <poenitz@gmx.net>
1591
1592         * paragraph.[Ch]:
1593         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1594           performance boost.
1595
1596 2003-09-16  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1599
1600         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1601         arg/return type.
1602
1603         * paragraph.h: remove #include "lyxfont.h". Forward declare
1604         LyXFont_size.
1605
1606 2003-09-16  Angus Leeming  <leeming@lyx.org>
1607
1608         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1609         of support/textutils.h.
1610         (isWord): move the contents of support/textutils.h's IsWordChar here.
1611
1612         * buffer.C:
1613         * lyxfind.C:
1614         * rowpainter.C:
1615         * text.C:
1616         * text2.C: add #include "paragraph.h".
1617
1618         * rowpainter.C:
1619         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1620
1621 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1622
1623         * main.C:
1624         * lyx_main.C:
1625         * lyx_cb.C:
1626         * buffer.C:
1627         * LaTeX.C: use namespace alias for lyx::support::os
1628
1629 2003-09-16  Angus Leeming  <leeming@lyx.org>
1630
1631         * bufferparams.C:
1632         * bufferview_funcs.C:
1633         * factory.C:
1634         * lyxfunc.C:
1635         * paragraph_pimpl.C:
1636         * rowpainter.C:
1637         * text.C: add #include "LColor.h".
1638
1639 2003-09-16  Angus Leeming  <leeming@lyx.org>
1640
1641         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1642         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1643         return LyXFont &.
1644         Store the FontBits::color variable as an int rather than as an
1645         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1646         file.
1647
1648         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1649         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1650         string calls together.
1651
1652         * lyxrc.C: add #include "LColor.h".
1653
1654 2003-09-15  Angus Leeming  <leeming@lyx.org>
1655
1656         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1657         a cow_ptr.
1658
1659 2003-09-15  Angus Leeming  <leeming@lyx.org>
1660
1661         * LColor.h: add an EnumLColor wrapper for LColor::color.
1662
1663         * lyxfont.[Ch] (color, setColor, realColor):
1664         * lyxtext.h, text.C (backgroundColor):
1665         pass EnumLColor args to/from the functions, rather than LColor::color
1666         ones.
1667
1668         * lyxfont.h:
1669         * lyxtext.h: forward declare EnumLColor.
1670
1671         * lyx_main.C: add #include "LColor.h".
1672
1673 2003-09-15  Angus Leeming  <leeming@lyx.org>
1674
1675         * .cvsignore: add lyx-gtk.
1676
1677 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1678
1679         * Chktex.C
1680         * LaTeX.C
1681         * LaTeXFeatures.C
1682         * ParagraphParameters.C
1683         * Spacing.C
1684         * buffer.C
1685         * bufferparams.C
1686         * bufferview_funcs.C
1687         * chset.C
1688         * counters.C
1689         * funcrequest.C
1690         * lyxfont.C
1691         * lyxgluelength.C
1692         * lyxlength.C
1693         * paragraph.C
1694         * paragraph_funcs.C
1695         * text3.C
1696         * vc-backend.C: remove usage of STRCONV
1697
1698 2003-09-15  Angus Leeming  <leeming@lyx.org>
1699
1700         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1701         explicitly define the color passed to the painter.
1702
1703 2003-09-15  Angus Leeming  <leeming@lyx.org>
1704
1705         * bufferparams.C (BufferParams): reorder member initializers to avoid
1706         compiler warning.
1707
1708 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1709
1710         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1711         * text.C (updateRowPositions): remove an unusual nop
1712
1713 2003-09-12  André Pönitz  <poenitz@gmx.net>
1714
1715         * BufferView_pimpl.C:
1716         * Bullet.C:
1717         * layout.h:
1718         * lyxfunc.C:
1719         * lyxlayout.[Ch]:
1720         * lyxtextclass.C:
1721         * rowpainter.C:
1722         * text.C:
1723         * text2.C:
1724         * Counters.[Ch]: finish the 'automatic counters' job
1725
1726 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1727
1728         * aspell.C: include <boost/assert.cpp> (compile fix)
1729
1730 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1731
1732         * boost.C (assertion_failed): use lyx::support::abort instead of
1733         assert.
1734
1735 2003-09-10  Angus Leeming  <leeming@lyx.org>
1736
1737         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1738         with their _fwd progeny.
1739
1740 2003-09-09  Angus Leeming  <leeming@lyx.org>
1741
1742         134 files throughtout the source tree: replace 'using namespace abc;'
1743         directives with the appropriate 'using abc::xyz;' declarations.
1744
1745 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1746
1747         * boost.C (emergencyCleanup): moved here from LAssert.c
1748         (assertion_failed): new function, called by BOOST_ASSERT
1749
1750         * several files: change Assert to BOOST_ASSERT
1751
1752 2003-09-09  Angus Leeming  <leeming@lyx.org>
1753
1754         * buffer.[Ch]: Add an Impl class and move Buffer's member
1755         variables into it. As a result move several header files out of
1756         buffer.h.
1757
1758         Add header files to lots of .C files all over the tree as a result.
1759
1760 2003-09-09  Angus Leeming  <leeming@lyx.org>
1761
1762         * buffer.[Ch]: make Buffer's member variables private. Add
1763         accessor functions.
1764
1765         Lots of changes all over the tree as a result.
1766
1767 2003-09-08  Angus Leeming  <leeming@lyx.org>
1768
1769         * graph.C: #include <config.h>.
1770
1771 2003-09-08  Angus Leeming  <leeming@lyx.org>
1772
1773         * BranchList.C:
1774         * BufferView.C:
1775         * BufferView_pimpl.C:
1776         * CutAndPaste.C:
1777         * DepTable.C:
1778         * LaTeX.C:
1779         * LaTeXFeatures.C:
1780         * LyXAction.C:
1781         * MenuBackend.C:
1782         * TextCache.C:
1783         * aspell.C:
1784         * buffer.C:
1785         * bufferlist.C:
1786         * changes.C:
1787         * chset.C:
1788         * converter.C:
1789         * counters.C:
1790         * debug.C:
1791         * graph.C:
1792         * ispell.C:
1793         * lyx_cb.C:
1794         * lyxfind.C:
1795         * lyxfunc.C:
1796         * lyxlex_pimpl.C:
1797         * lyxrc.C:
1798         * lyxrow.C:
1799         * paragraph.C:
1800         * rowpainter.C:
1801         * texrow.C:
1802         * text.C:
1803         * text2.C:
1804         * toc.C: remove redundant using directives.
1805
1806 2003-09-07  Angus Leeming  <leeming@lyx.org>
1807
1808         * LaTeXFeatures.h: remove #include "support/types.h".
1809         * ToolbarBackend.h: remove #include <algorithm>.
1810         * changes.h: remove #include <ctime>.
1811         * debug.h: remove #include <iosfwd>.
1812         * graph.h: remove #include "support/std_string.h".
1813         * lyx_main.h: remove #include <csignal>.
1814         * lyxlex_pimpl.h: remove #include <fstream>.
1815         * sgml.h: remove #include <algorithm>, <utility>.
1816         * toc.h: remove #include "support/std_ostream.h".
1817         Add #include <iosfwd>.
1818
1819 2003-09-07  Angus Leeming  <leeming@lyx.org>
1820
1821         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1822
1823         * converter.h: forward declare LatexRunParams.
1824         * encoding.h: remove #include "lyxrc.h".
1825         * lyxtext.h: remove #include "LColor.h".
1826         * lyxtextclass.h: remove #include "support/types.h".
1827         * trans.h: remove #include "tex-accent.h".
1828         * trans_mgr.h: remove #include "tex-accent.h".
1829         * insets/inset.h: remove #include "support/types.h", <vector>.
1830         * insets/insetcollapsable.h: remove #include "LColor.h".
1831         * insets/insetinclude.h: remove #include "dimension.h".
1832         * insets/insetlatexaccent.h: remove #include "dimension.h".
1833         * insets/insetoptarg.h:: remove #include "insettext.h".
1834         * insets/insettext.h: remove #include "dimension.h",
1835         <boost/shared_ptr.hpp>
1836
1837         * insets/renderers.h: add #include "dimension.h".
1838         * insets/updatableinset.h: add #include "support/types.h".
1839
1840         * many .C files: Associated changes.
1841
1842 2003-09-06  Angus Leeming  <leeming@lyx.org>
1843
1844         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1845         one, inside testInvariant.
1846
1847         * PrinterParams.C: new file.
1848         * PrinterParams.[Ch]: move the function bodies out of line.
1849
1850 2003-09-06  Angus Leeming  <leeming@lyx.org>
1851
1852         * ParagraphParameters.h: forward declare ParameterStruct rather than
1853         including its header file.
1854         (depth): moved out-of-line.
1855
1856 2003-09-06  Angus Leeming  <leeming@lyx.org>
1857
1858         * BufferView_pimpl.h:
1859         * kbmap.h:
1860         * kbsequence.h:
1861         * lyxfunc.h: forward declare LyXKeySym rather than
1862         #include "frontends/LyXKeySym.h".
1863
1864         * BufferView_pimpl.C:
1865         * kbmap.C:
1866         * kbsequence.C:
1867         * lyxfunc.C: associated changes.
1868
1869 2003-09-06  Angus Leeming  <leeming@lyx.org>
1870
1871         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1872         As a result, can remove the #include "insets/inset.h" from BufferView.h
1873
1874 2003-09-06  Angus Leeming  <leeming@lyx.org>
1875
1876         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1877         As a result, can remove the #include "insets/inset.h" from BufferView.h
1878
1879 2003-09-06  Angus Leeming  <leeming@lyx.org>
1880
1881         * buffer_funcs.C:
1882         * buffer.h:
1883         * bufferlist.C:
1884         * BufferView.C:
1885         * bufferview_funcs.C:
1886         * BufferView_pimpl.C:
1887         * CutAndPaste.C:
1888         * lyx_cb.C:
1889         * lyxfunc.C:
1890         * paragraph.h:
1891         * ParagraphParameters.C:
1892         * tabular.C:
1893         * text3.C:
1894         * toc.C:
1895         * undo_funcs.C:
1896         * frontends/controllers/ControlDocument.C:
1897         * insets/insetcaption.C: rearrange the #includes into some sort of
1898         coherent order.
1899
1900         * buffer.h: remove #includes ErrorList.h, undo.h
1901
1902 2003-09-06  Angus Leeming  <leeming@lyx.org>
1903
1904         * support/types.h: add a 'depth_type' typedef, used to store the
1905         nesting depth of a paragraph.
1906
1907         * paragraph.h:
1908         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1909         defining explicitly.
1910
1911         * buffer.h:
1912         * paragraph_funcs.h:
1913         * ParagraphParameters.h:
1914         * sgml.h: use lyx::depth_type rather than Paragraph or
1915         ParameterStruct's depth_type.
1916
1917         * buffer.h
1918         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1919
1920         * BufferView.C:
1921         * BufferView_pimpl.C:
1922         * CutAndPaste.C:
1923         * ParagraphParameters.C:
1924         * buffer_funcs.C:
1925         * bufferlist.C:
1926         * bufferview_funcs.C:
1927         * lyx_cb.C:
1928         * lyxfunc.C:
1929         * tabular.C:
1930         * text3.C:
1931         * toc.C:
1932         * undo_funcs.C:
1933         * frontends/LyXView.C:
1934         * frontends/controllers/ControlDocument.C:
1935         * frontends/controllers/ControlErrorList.C:
1936         * insets/insetbibitem.C:
1937         * insets/insetbranch.C:
1938         * insets/insetcaption.C:
1939         * insets/insetcollapsable.C:
1940         * insets/insetenv.C:
1941         * insets/insetert.C:
1942         * insets/insetfloat.C:
1943         * insets/insetfoot.C:
1944         * insets/insetfootlike.C:
1945         * insets/insetnewline.C:
1946         * insets/insetquotes.C:
1947         * insets/insettabular.C:
1948         * insets/insettext.C:
1949         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1950
1951         * frontends/controllers/ControlChanges.C: #include "changes.h".
1952
1953 2003-09-06  Angus Leeming  <leeming@lyx.org>
1954
1955         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1956         than #including paragraph.h.
1957
1958         * ParagraphList.h:
1959         * RowList.h: deleted. Superfluous.
1960
1961         * CutAndPaste.h:
1962         * iterators.h:
1963         * lyxcursor.h:
1964         * lyxtext.h:
1965         * text_funcs.h:
1966         * undo.h:
1967         * undo_funcs.h:
1968         * insets/inset.h:
1969         * insets/insettext.h: use ParagraphList_fwd.h rather than
1970         ParagraphList.h.
1971
1972         * paragraph.h: don't forward declare ParagraphList.
1973
1974         * buffer.h:
1975         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1976         rather than ParagraphList.h. paragraph.h is still needed for the
1977         Paragraph::depth_type parameters.
1978
1979         * textcursor.h: enable it to compile stand-alone in light of the
1980         above changes.
1981
1982         * bufferview_funcs.C:
1983         * iterators.C:
1984         * lyxfunc.C:
1985         * lyxrow_funcs.C:
1986         * paragraph.C:
1987         * rowpainter.C:
1988         * text.C:
1989         * text2.C:
1990         * text3.C:
1991         * text_funcs.C:
1992         * textcursor.C:
1993         * undo.C:
1994         * frontends/controllers/ControlParagraph.C:
1995         * frontends/controllers/ControlTabular.C:
1996         * insets/insetmarginal.C:
1997         * insets/insetminipage.C:
1998         * insets/insetnote.C:
1999         * insets/insetoptarg.C: add header files needed to compile again.
2000
2001 2003-09-06  Angus Leeming  <leeming@lyx.org>
2002
2003         * RowList_fwd.h: new file, forward-declaring Row rather than
2004         #including lyxrow.h.
2005
2006         * lyxrow_funcs.h:
2007         * lyxtext.h:
2008         * paragraph.h:
2009         * insets/insettext.h: use it instead of RowList.h
2010
2011         * bufferview_funcs.C:
2012         * lyxfunc.C:
2013         * lyxrow_funcs.C:
2014         * paragraph.C:
2015         * rowpainter.C:
2016         * text.C:
2017         * text2.C:
2018         * text3.C: #include "RowList.h".
2019
2020 2003-09-05  Angus Leeming  <leeming@lyx.org>
2021
2022         * factory.C (createInset):
2023         * vspace.C (c-tor): replace sscanf call with an istringstream.
2024         * ispell.C: re-add missing HP/UX headers.
2025         * lyxserver.C: re-add missing  os2 headers.
2026
2027 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2028
2029         * BranchList.C:
2030         * graph.C:
2031         * ispell.C:
2032         * lastfiles.C:
2033         * lyx_cb.C:
2034         * lyxserver.C:
2035         * texrow.C:
2036         * text3.C: re-add missing system headers, needed for 2.95.2.
2037
2038 2003-09-05  Angus Leeming  <leeming@lyx.org>
2039
2040         Changes most place everywhere due to the removal of using directives
2041         from support/std_sstream.h.
2042
2043 2003-09-05  Angus Leeming  <leeming@lyx.org>
2044
2045         Replace LString.h with support/std_string.h,
2046         Lsstream.h with support/std_sstream.h,
2047         support/LIstream.h with support/std_istream.h,
2048         support/LOstream.h with support/std_ostream.h.
2049
2050         Changes resulting throughout the tree.
2051
2052 2003-09-05  Angus Leeming  <leeming@lyx.org>
2053
2054         * sgml.h: ensure that the header file can be compiled stand-alone.
2055         * *.C: strip out redundant #includes. (320 in total.)
2056
2057 2003-09-04  Angus Leeming  <leeming@lyx.org>
2058
2059         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2060         here (from getPackages).
2061
2062         * debug.[Ch]: add a new EXTERNAL tag.
2063
2064 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2065
2066         * text2.C (cursorEnd): simplify
2067         (setCursor): adjust
2068         (getColumnNearX): adjust
2069
2070         * text.C (computeBidiTables): adjust
2071         (fill): adjust
2072
2073         * rowpainter.C (paintChars): adjust
2074         (paintSelection): adjust
2075         (paintChangeBar): adjust
2076         (paintText): adjust
2077
2078         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2079         lastPos instead.
2080         (numberOfSeparators): adjust
2081
2082 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * LyXAction.C:
2085         * box.[Ch]:
2086         * lfuns.h:
2087         * lyxfunc.C:
2088         * text3.C: Restricts the mouse click functionality
2089         of insets like bibtex, include, toc and floatlist to the visible
2090         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2091         up the dialogs. Cursor has to be in front of the inset (i.e.
2092         start of row) for this to function.
2093
2094 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2095
2096         * bufferview_funcs.C (currentState): output row information
2097
2098 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2099
2100         * bufferview_funcs.C (currentState): output paragraph position
2101
2102 2003-09-04  Angus Leeming  <leeming@lyx.org>
2103
2104         * FloatList.h: move out #include "Floating.h".
2105         * LaTeX.h: move out #include "DepTable.h".
2106         * LyXAction.h: move out #include "funcrequest.h".
2107         * buffer.h: move out #include "author.h", "iterators.h".
2108         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2109         * lyx_main.h: move out #include "errorlist.h".
2110         * lyxfunc.h: move out #include "FuncStatus.h".
2111         * lyxtext: move out #include "lyxcursor.h".
2112         * paragraph_pimpl.h: move out #include "counters.h".
2113
2114 2003-09-03  Angus Leeming  <leeming@lyx.org>
2115
2116         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2117         preamble_snippets list, enabling us to add snippets to the preamble
2118         only if the snippet was not there already.
2119
2120 2003-09-04  Angus Leeming  <leeming@lyx.org>
2121
2122         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2123
2124 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2125
2126         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2127         update
2128
2129 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2130
2131         * BranchList.C: point fix, earlier forgotten
2132
2133 2003-09-02  Angus Leeming  <leeming@lyx.org>
2134
2135         * box.C (contains): renamed from 'contained' after a fantastic
2136         amount of hot air.
2137
2138 2003-09-02  John Levon  <levon@movementarian.org>
2139
2140         * BufferView.C:
2141         * lyxcursor.h:
2142         * lyxcursor.C:
2143         * lyxfunc.C:
2144         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2145
2146 2003-09-02  John Levon  <levon@movementarian.org>
2147
2148         * text2.C: simplification of cursorEnd(), including partial
2149         fix for bug 1376
2150
2151 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * buffer.C (readFile): add a space
2154
2155 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2156
2157         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2158
2159 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * buffer.C (readFile): new function, take a filename and a
2162         ParagraphList::iterator
2163         (readFile): adjust
2164         (readFile): adjust, make it private. don't use setStream, make
2165         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2166         always contain the filename.
2167
2168         * BufferView.C (insertLyXFile): simplify and make it work for
2169         gzipped files.
2170
2171 2003-08-30  John Levon  <levon@movementarian.org>
2172
2173         * Makefile.am: fix dist (from Kayvan)
2174
2175 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2176
2177         * most files: change to use const Buffer refs
2178
2179 2003-08-27  André Pönitz  <poenitz@gmx.net>
2180
2181         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2182         on top of ownerPar().
2183
2184 2003-08-27  John Levon  <levon@movementarian.org>
2185
2186         * funcrequest.C: properly initialise POD members
2187
2188 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2189
2190         * lyxtext.h (top_y): move top_y from here
2191         * text.C:
2192         * text2.C:
2193         * text3.C:
2194         * BufferView.[Ch]:
2195         * BufferView_pimpl.[Ch]: to here
2196         * frontends/screen.C:
2197         * insets/insettabular.C:
2198         * insets/insettext.C: adjust
2199         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2200
2201 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * BufferView.[Ch]:
2204         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2205
2206 2003-08-26  André Pönitz  <poenitz@gmx.net>
2207
2208         * paragraph_func.[Ch] (outerPar): new function
2209
2210         * paragraph.C:
2211         * paragraph_funcs.C:
2212         * paragraph_funcs.h:
2213         * paragraph_pimpl.C:
2214         * text2.C: remove Inset::par_owner
2215
2216 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2217
2218         * lyxrow_funcs.C:
2219         * lyxtext.h:
2220         * text.C:
2221         * text2.C: eliminates the needFullRow/display() stuff
2222         altogether, putting the logic in metrics/draw in the insets.
2223
2224 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2225
2226         * text2.C (redoParagraphInternal, redoParagraphs):
2227         * text.C (redoParagraph): add a call to updateRowPositions at the
2228         end of each 'metrics-like' call. Remove all others.
2229         (getRow): remove the 'y-computing' version.
2230         (getRowNearY): do not compute nor return the real y. Solve the
2231         'y < 0' problem and simplify.
2232
2233 2003-08-22  Angus Leeming  <leeming@lyx.org>
2234
2235         * *.[Ch]: clean-up of licence and author blurbs.
2236         Also move config.h out of a few .h files and into a few .C files.
2237
2238 2003-08-22  André Pönitz  <poenitz@gmx.net>
2239
2240         * lyxrow.[Ch]: add x_ and *fill_ members
2241
2242         * lyxtext.h:
2243         * text.C:
2244         * rowpainter.C:
2245         * text2.C: adjust/remove prepareToPrint() calls
2246
2247 2003-08-22  André Pönitz  <poenitz@gmx.net>
2248
2249         * lyxrow.[Ch]: add  end_ member
2250
2251         * lyxrow_funcs.C: use LyXRow::end_
2252
2253         * lyxtext.h (singleWidth): add LyXFont parameter
2254
2255         * rowpainter.C:
2256         * text2.C: adjust LyXText::singleWidth() calls
2257
2258         * text.C (redoParagraph): simplify row breaking logic
2259
2260
2261 2003-08-19  André Pönitz  <poenitz@gmx.net>
2262
2263         * funcrequest.C: initialize button_ member
2264
2265         * text3.C:
2266         * rowpainter.[Ch]: interface consolidation
2267
2268 2003-08-18  André Pönitz  <poenitz@gmx.net>
2269
2270         * BufferView.C:
2271         * BufferView_pimpl.C:
2272         * lyxfind.C:
2273         * paragraph_funcs.C:
2274         * rowpainter.C:
2275         * text3.C: remove LyXScreen::draw() and fitCursor calls
2276
2277         * BranchList.h: remove spurious semicolons
2278
2279         * MenuBackend.C: fix branchlist related crash
2280
2281 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2282
2283         * BranchList.[Ch]:
2284         * InsetList.[Ch]:
2285         * LColor.[Ch]:
2286         * LyXAction.C:
2287         * Makefile.am:
2288         * MenuBackend.[Ch]:
2289         * bufferparams.[Ch]:
2290         * factory.C:
2291         * lfuns.h:
2292         * lyxfunc.C:
2293         * text3.C: implements the 'branch inset'
2294         idea. This allows the output of various versions of a document
2295         from a single source version, selectively outputing or suppressing
2296         output of parts of the text.
2297         This implementation contains a 'branch list editor' in a separate
2298         tab of the document settings dialog. Branches are user definable
2299         and have a "display colour" to distinguish them on-screen.
2300
2301         ColorHandler was somewhat cleaned up.
2302         (1) make possible a dynamically growing LColor list by allowing
2303         the graphic context cache to grow along (vector);
2304         (2) eliminate an IMHO unnecessary step in colour allocation.
2305
2306 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2307
2308         * BufferView_pimpl.C: compile fix
2309
2310 2003-08-15  André Pönitz  <poenitz@gmx.net>
2311
2312         * rowpainter.C: remove extra metrics calls
2313
2314         * lyxtext.h: merge the two constructors into a single one,
2315           pass reference to owner's par list
2316
2317         * BufferView_pimpl.C:
2318         * text.C:
2319         * text2.C: adjust
2320
2321 2003-08-15  André Pönitz  <poenitz@gmx.net>
2322
2323         * lyxrow_funcs.[Ch]:
2324         * lyxtext.h:
2325         * paragraph.h:
2326         * paragraph_funcs.C:
2327         * rowpainter.C:
2328         * text.C:
2329         * text2.C:
2330         * text3.C:
2331         * text_funcs.C: split LyXText::rowlist_ into individual
2332         Paragraph::rows_ chunks
2333
2334         * BufferView.[Ch]:
2335         * BufferView_pimpl.[Ch]:
2336         * lyxfind.C:
2337         * lyxtext.h:
2338         * text3.C: remove toggleSelection()
2339
2340 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2341
2342         * bufferlist.C: beautify two alerts (shorter text of buttons)
2343         * buffer.C: Remove redundant ' ' from message
2344         * tabular.h:
2345         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2346         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2347         rename VALIGN_CENTER to VALIGN_MIDDLE
2348
2349 2003-08-11  André Pönitz  <poenitz@gmx.net>
2350
2351         * lyxtext.h (getPar):
2352         * text.C: new function
2353
2354 2003-08-11  André Pönitz  <poenitz@gmx.net>
2355
2356         * Makefile.am:
2357         * tracer.[Ch]: remove unneeded files
2358
2359         * InsetList.[Ch]: remove resizeInsetsLyXText()
2360
2361         * lyxtext.h:
2362         * text.C:
2363         * text2.C:
2364         * text3.C: merge insertParagraphs() and appendParagraph()
2365         remove breakAgain(), update()
2366
2367         * BufferView_pimpl.[Ch]:
2368         * bufferview_funcs.[Ch]:
2369         * lyxfunc.C:
2370         * paragraph.[Ch]:
2371         * rowpainter.C:
2372         * tabular.C: adjust after text & InsetList changes.
2373
2374 2003-08-08  André Pönitz  <poenitz@gmx.net>
2375
2376         * text.C (insertChar, backspace): replace rowlist fiddling
2377         with rebreak of full par
2378
2379         * lyxtext.h:
2380         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2381         checkParagraph, updateInset): removed
2382
2383 2003-08-07  André Pönitz  <poenitz@gmx.net>
2384
2385         * paragraph.C:
2386         * text3.C: merge some LFUN handlers, remove dead code
2387
2388 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2391
2392 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2393
2394         * text2.C (DEPM): fix part of bug 1255 and 1256
2395
2396 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * BufferView_pimpl.C (workAreaDispatch): change to use
2399         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2400         that are no mouse related.
2401
2402 2003-08-05  André Pönitz  <poenitz@gmx.net>
2403
2404         * BufferView.[Ch]:
2405         * BufferView_pimpl.[Ch]:
2406         * bufferview_funcs.C:
2407         * text2.C:
2408         * text3.C: rip out "deep update"
2409
2410         * textcursor.[Ch] (last_sel_cursor): remove unused member
2411
2412 2003-08-04  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView.[Ch]:
2415         * BufferView_pimpl.[Ch]:
2416         * ParagraphParameters.C:
2417         * bufferview_funcs.C:
2418         * lyx_cb.C:
2419         * lyxfind.C:
2420         * lyxfunc.C:
2421         * text.C:
2422         * text2.C:
2423         * text3.C: replace "complicated" BufferView::update(...) calls with
2424         simpler ones.
2425
2426         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2427
2428 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2429
2430         * Makefile.am (lyx_SOURCES): add paper.h
2431
2432 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2433
2434         * Makefile.am: move things around so that both lyx-qt and
2435         lyx-xforms can be built (according to --with-frontend). Then lyx
2436         is a symbolic link to lyx-[firstfrontend]
2437
2438 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2439
2440         * Always use std::endl with lyxerr
2441
2442 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2443
2444         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2445
2446 2003-08-01  André Pönitz  <poenitz@gmx.net>
2447
2448         * BufferView.[Ch]:
2449         * BufferView_pimpl.[Ch]:
2450         * lyxfunc.C:
2451         * text3.C: merge BufferView::repaint() and BufferView::update()
2452
2453 2003-08-01  José Matos  <jamatos@lyx.org>
2454
2455         * buffer.[Ch]: file_format is no longer a buffer data element.
2456
2457 2003-08-01  André Pönitz  <poenitz@gmx.net>
2458
2459         * BufferView.C:
2460         * lyxtext.h:
2461         * text.C:
2462         * text2.C: make redoParagraph more independent of current cursor
2463
2464         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2465         * text.C:
2466         * text2.C: remove unneeded members
2467
2468 2003-07-30  André Pönitz  <poenitz@gmx.net>
2469
2470         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2471
2472         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2473           create a single function...
2474
2475         * paragraph_funcs.C (moveItem): ... here.
2476
2477         * text.C:
2478           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2479
2480 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * LColor.[Ch]: Add comment and greyedout logical colors.
2483
2484 2003-07-30  André Pönitz  <poenitz@gmx.net>
2485
2486         * tabular.C: don't use Assert too heavily. This crashes where it
2487           shouldn't
2488
2489 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2490
2491         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2492         is disabled (bug 1232)
2493
2494 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2495
2496         * factory.C: limited 'arg' scope
2497
2498 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2499
2500         * factory.C: fixed Note submenu issues
2501
2502 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * factory.C: submenu for Note/Comment/Greyedout
2505
2506 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2507
2508         * lyx_main.C (LyX):
2509         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2510
2511 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2512
2513         * LaTeXFeatures.C:
2514         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2515         greyedout. Patch provided by Jürgen Spitzmüller.
2516
2517 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * kbmap.C (read): fix error message when reading bind files
2520
2521 2003-07-29  Angus Leeming  <leeming@lyx.org>
2522
2523         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2524         certainly does not do what it purports to do. I am doing it, and
2525         us, a favour by killing it.
2526
2527 2003-07-28  José Matos  <jamatos@lyx.org>
2528
2529         * buffer.C (readBody, do_writeFile):
2530         * paragraph.C(readParagraph): \end_document replaces \the_end.
2531
2532 2003-07-29  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView.[Ch]:
2535         * BufferView_pimpl.[Ch]:
2536         * lyxfunc.C:
2537         * text2.C:
2538         * text3.C:
2539         * textcursor.[Ch]: remove toggleToggle & Co
2540
2541 2003-07-28  José Matos  <jamatos@fep.up.pt>
2542
2543         * buffer.C (readParagraph):
2544         * params_func (readParToken, readParagraph):
2545         * paragraph.C (write): \layout -> \begin_layout.
2546
2547 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * lyxlex_pimpl.C (setFile): clean up slightly.
2550
2551         * bufferparams.h: add compressed var
2552
2553         * buffer_funcs.C (readFile): adjust for LyXLex change
2554         (newFile): ditto + simplify
2555
2556         * buffer.C (writeFile): handle writing of compressed files
2557
2558         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2559         Check if the file is compressed and set a bufferparm if so.
2560
2561         * Makefile.am (lyx_LDADD): remove explicit -lz
2562
2563 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2566         makeDocBookFile): put the real LyX version in the first line of
2567         the file
2568
2569         * version.h:
2570         * version.C.in: remove lyx_docversion
2571
2572         * tabular.C (write_attribute): add a template-based version to
2573         write enums properly
2574
2575 2003-07-28  André Pönitz  <poenitz@gmx.net>
2576
2577         * lyxtext.h:
2578         * text.C:
2579         * text2.C:
2580         * text3.C: use doubles again for x-coordinates. They are needed.
2581
2582 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * messages.C (getLocaleDir): use lyx_localedir()
2585
2586         * lyxlex_pimpl.C (setFile): compress stuff
2587
2588         * buffer.C (writeFile): add some compression stuff
2589         (do_writeFile): new func, dont call expliti close... will this
2590         breake anything?
2591
2592         * Makefile.am (lyx_LDADD): add -lz
2593
2594 2003-07-28  José Matos  <jamatos@fep.up.pt>
2595
2596         * buffer.C: increment file format.
2597         * paragraph_funcs (readParagraph, readParToken):
2598         * paragraph.C (readParagraph): add \end_layout.
2599
2600 2003-07-27  Angus Leeming  <leeming@lyx.org>
2601
2602         * Makefile.am: remove special casing for configure-time setting of
2603         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2604
2605         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2606         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2607
2608 2003-07-26  André Pönitz  <poenitz@gmx.net>
2609
2610         * paragraph_func.[Ch]:
2611         * paragraph.C (realizeFont): inline it whereever it is used
2612
2613         * rowpainter.C:
2614         * text.C:
2615         * text2.C:
2616         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2617
2618
2619 2003-07-26  André Pönitz  <poenitz@gmx.net>
2620
2621         *       lyxtext.h:
2622         * text.C:
2623         * text2.C: get rid of LyXText::need_break_row
2624
2625 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * toc.[Ch]: put namespace toc inside namespace lyx
2628
2629         * MenuBackend.C (expandToc2): adjust for lyx::toc
2630         (expandToc): ditto
2631
2632         * lyxfunc.C (dispatch): adjust for lyx::find
2633
2634         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2635         lyx::find instead. Reorganize a bit.
2636         (LyXReplace): rename to replace
2637         (LyXFind): rename to find
2638
2639         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2640         (dispatch): ditto
2641
2642 2003-07-26  André Pönitz  <poenitz@gmx.net>
2643
2644         * text.C (setHeightOfRow): restrict scope of temporary variable
2645
2646         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2647           code (never has been used?)
2648
2649 2003-07-27  Asger Alstrup  <alstrup@local>
2650
2651         * text.C (fill): Optimise algorithm to exploit that we can reuse
2652         the LyXFont for many characters.
2653         (setHeightOfRow): Same thing.
2654         (rowBreakPoint): Same thing.
2655
2656 2003-07-26  Asger Alstrup  <alstrup@local>
2657
2658         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2659
2660         * text.C (singleWidth): Spurious font copying in hot-spot
2661         singleWidth avoided. Reorder tests for arabic for efficiency.
2662
2663         * text.C (fill): handle empty paragraphs better.
2664
2665 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2666
2667         * ispell.C:
2668         * encoding.h: add includes
2669
2670         * lyxrc.C: remove reading of bind files
2671
2672         * lyx_main.C (init): setup bindings and menus only if we have a
2673         gui.
2674
2675         * kbmap.C (read): new method. Do the actual reading of bind
2676         files.
2677
2678         * converter.C (dvipdfm_options):
2679         * bufferparams.C:
2680         * lyxrc.C (read):
2681         (output): adapt PAPER_* enums.
2682
2683         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2684
2685         * bufferparams.h: remove paper-related enums from there
2686
2687         * paper.h: New file. A trivial header file to hold paper-related
2688         enums. It should later expand to contain many paper-related
2689         horrors access.
2690
2691         * lyxrc.C: declare extern displayTranslator
2692
2693 2003-07-27  José Matos  <jamatos@fep.up.pt>
2694
2695         * tabular.[Ch] (linuxdoc): add support for tables and figures
2696         (linuxdoc).
2697
2698 2003-07-27  José Matos  <jamatos@fep.up.pt>
2699
2700         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2701         consistency in both functions.
2702         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2703
2704 2003-07-26  Asger Alstrup  <alstrup@local>
2705
2706         * rowpainter.C (paintRows): Change algorithm to work directly on
2707         the insets rather than asking every character in the document
2708         whether its an inset.
2709
2710 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * buffer.C (openFileWrite): factorize some code
2713
2714 2003-07-26  Angus Leeming  <leeming@lyx.org>
2715
2716         * lyx_cb.C:
2717         * lyx_main.[Ch]: replace occurances of system_tempdir with
2718         os::getTmpDir().
2719
2720 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * rename Inset to InsetOld
2723
2724 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2725
2726         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2727         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2728         which I think is a bit clearer. EDIT is gone, since it was
2729         premature optimisation, and broken for mathed anyway.
2730         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2731         with cursor positioning in insets as well (math insets still do not
2732         work, but that's a different story anyway.) It mysteriously
2733         crashes sometimes with undo in the first paragraph, but I'm fairly
2734         confident that this is a compiler bug.
2735
2736 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * paragraph.C (Paragraph): adjust for new clone return type
2739         (operator==): ditto
2740         (copyIntoMinibuffer): ditto
2741
2742 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2743
2744         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2745         by not having a special case, and always doing a full rebreak of
2746         the document after undo.
2747
2748 2003-07-23  Angus Leeming  <leeming@lyx.org>
2749
2750         * factory.C (createInset): InsetExternal::setParams now takes a
2751         Buffer const * arg.
2752
2753 2003-07-23  Angus Leeming  <leeming@lyx.org>
2754
2755         * factory.C (createInset): changed interface to the external and
2756         graphics mailers' string2params functions.
2757
2758 2003-07-23  Angus Leeming  <leeming@lyx.org>
2759
2760         * factory.C (createInset): pass a
2761         Buffer const * parameter to InsetExternalMailer's string2params.
2762
2763 2003-07-22  John Levon  <levon@movementarian.org>
2764
2765         * Thesaurus.h: include the right aiksaurus header
2766
2767 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * MenuBackend.C (expand): check menu shortcuts unconditionally
2770
2771 2003-07-21  Angus Leeming  <leeming@lyx.org>
2772
2773         * factory.C (createInset): pass a
2774         buffer_path parameter to InsetGraphicsMailer's string2params.
2775
2776 2003-07-21  Angus Leeming  <leeming@lyx.org>
2777
2778         * BufferView_pimpl.C (buffer):
2779         * buffer.C (d-tor):
2780         * lyx_main.C (LyX):
2781         * lyxfunc.C (dispatch):
2782         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2783         rather than the grfx shortcut.
2784
2785 2003-07-21  André Pönitz  <poenitz@gmx.net>
2786
2787         * rowpainter.C: remove unused variables
2788
2789         * tabular_funcs.C:
2790         * tabular_funcs.h: move to tabular.C
2791         * Makefile.am: adjust
2792
2793         * tabular.[Ch]: basic optical cleaning
2794
2795         * author.h: pass references, not values
2796
2797 2003-07-18  André Pönitz  <poenitz@gmx.net>
2798
2799         * lyxtext.h:
2800         * metricsinfo.C:
2801         * metricsinfo.h:
2802         * rowpainter.C:
2803         * text.C:
2804         * text2.C:
2805         * text3.C: two-phase drawing for InsetText and InsetTabular
2806         some float -> int changes.
2807
2808 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * lyx_main.C: fix the fix
2811
2812 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * lyx_main.C: fix a crash in batch mode if no files specified
2815         * converter.C: ws
2816
2817 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2818
2819         * format.[Ch] (papersize): moved to BufferParams
2820         * converter.[Ch] (dvips_options): moved to BufferParams
2821         (dvipdfm_options): moved to anon namespace
2822         * bufferparams.[Ch]: added above functions.
2823
2824 2003-07-17  André Pönitz  <poenitz@gmx.net>
2825
2826         * lyxtext.h:
2827         * rowpainter.C:
2828         * text2.C: don't call inset->update() anymore
2829
2830         * metricsinfo.[Ch]: add convenience constructor
2831
2832 2003-07-16  André Pönitz  <poenitz@gmx.net>
2833
2834         * lyxcursor.[Ch]:
2835         * lyxfunc.[Ch]:
2836         * text.C:
2837         * text2.C: replace the LyXCursor::irow_ member with
2838          on-demand computation of the value
2839
2840 2003-07-16  John Levon  <levon@movementarian.org>
2841
2842         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2843
2844 2003-07-15  André Pönitz  <poenitz@gmx.net>
2845
2846         * text.C:
2847         * text2.C: remove no more needed refresh_row
2848
2849 2003-07-15  André Pönitz  <poenitz@gmx.net>
2850
2851         * lyxtext.h:
2852         * rowpainter.C:
2853         * text2.C:
2854         * text3.C: refresh_status tristate -> need_update bool
2855
2856 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * lyxtext.h (init): remove reinit argument (act as if always true)
2859         * text2.C: adjust to that
2860
2861 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2862
2863         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2864         * text3.C: use it to delete selections in some cases
2865         (bugs 441, 673, 702, 954).
2866
2867 2003-07-14  André Pönitz  <poenitz@gmx.net>
2868
2869         * rowpainter.[Ch]: reduce interface
2870
2871 2003-07-14  André Pönitz  <poenitz@gmx.net>
2872
2873         * BufferView_pimpl.C:
2874         * text2.C: adjust after removing unused BufferView * argument
2875
2876 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2877
2878         * text2.C (init): fix a crash fired on resize
2879
2880 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2881
2882         * buffer.[Ch]: added new closing signal
2883         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2884         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2885         BufferView::Pimpl via the closing the signal
2886
2887 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * buffer.[Ch]: take out all bv-related from buffer
2890         * BufferView.C:
2891         * BufferView_pimpl.[Ch]: connect to new signals
2892         * CutAndPaste.C: removed useless asserts
2893         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2894         * lyxvc.[Ch]:
2895         * vc-backend.[Ch]:
2896         * lyxfunc.C: moved view-related funciontality from vc here
2897         * paragraph.C: removed outdated comments
2898         * text.C: ws
2899
2900 2003-07-10  André Pönitz  <poenitz@gmx.net>
2901
2902         * BufferView_pimpl.C:
2903         * tabular.h:
2904         * tabular_funcs.C:
2905         * text.C:
2906         * text2.C: remove InsetText::InnerCache, clean up consequences
2907
2908 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2909
2910         * ispell.C: fix two typos in error messages
2911
2912 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2913
2914         * Extend Note inset to other forms of annotation like Comment
2915         and Greyedout. Right button click gives dialog.
2916
2917         Files modified or added (+):
2918
2919         * insetnote.[Ch]
2920         * FormNote.[Ch]      +
2921         * ControlNote.[Ch]   +
2922         * form_note.fd       +
2923         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2924         frontends/controllers
2925         * xforms/Dialogs.C
2926         * factory.C
2927
2928 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2929
2930         * aspell.C: add missing namespace lyx::support
2931
2932 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * BufferView.[Ch] (newFile): Add
2935         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2936         * LaTeX.[Ch] (message): added this signal and use it
2937         * buffer.[Ch] (busy, message): added these signals and use them
2938         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2939         * converter.C:
2940         * exporter.C:
2941         * format.C:
2942         * importer.C: use buffer signals instead of direct bv calling
2943         * lyx_cb.[Ch] (ShowMessage): removed
2944         * lyx_main.C:
2945         * lyxfunc.C:
2946         * paragraph_funcs.C:
2947         * text2.C: use buffer signals
2948
2949 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2950
2951         * introduce namespace lyx::graphics
2952
2953 2003-07-02  André Pönitz  <poenitz@gmx.net>
2954
2955         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2956
2957 2003-07-01  André Pönitz  <poenitz@gmx.net>
2958
2959         * text.C:
2960         * text2.C:
2961         * text3.C:
2962         * text_funcs.[Ch]:
2963         * textcursor.h:
2964         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2965           text*.C to text_func.C
2966
2967 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * introduce namespace lyx::support
2970
2971 2003-06-30  André Pönitz  <poenitz@gmx.net>
2972
2973         * Chktex.C:
2974         * funcrequest.C:
2975         * lyxtext.h:
2976         * text.C: re-enable --with-included-string
2977
2978 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * textcursor.C: add <config.h>
2981
2982         * text.C (getWord): remove const from word_location arg
2983
2984         * lyxvc.C (getLogFile): fix const type order
2985
2986         * lyxtext.h: remove const from word_location arg, add arg name
2987
2988         * lyxlayout.h: currect type on labeltype.
2989
2990         * importer.C: correct \file
2991
2992         * converter.C (intToFormat): use std:: on ret val, ws changes
2993
2994         * bufferlist.h: correct \file
2995
2996         * buffer.C (makeLinuxDocFile): fix const type order
2997         (makeDocBookFile): ditto
2998         (fillWithBibKeys): use std:: on stdlib args.
2999
3000         * CutAndPaste.C: fix authors.
3001         (availableSelections): use std:: on return vector
3002
3003 2003-06-27  André Pönitz  <poenitz@gmx.net>
3004
3005         * BufferView_pimpl.C:
3006         * bufferview_funcs.C:
3007         * lyxcursor.C:
3008         * lyxcursor.h:
3009         * lyxfunc.C:
3010         * lyxtext.h:
3011         * rowpainter.C:
3012         * text.C:
3013         * text2.C:
3014         * text3.C: remove LyXCursor::row_ member
3015
3016         * lyxtext.h:
3017         * text.C: rename fullRebreak() to partialRebreak() and implement
3018           a fullRebreak() that really bereks fully
3019
3020         * textcursor.h: new struct for cursor-related data
3021
3022 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3023
3024         * lyx_main.C (LyX): get full path of document loaded on the
3025         command line
3026
3027 2003-06-26  André Pönitz  <poenitz@gmx.net>
3028
3029         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3030           remove unused/broken operator>,<,>=.
3031
3032         *       text.C: remove only use of broken operator<= in an Assert().
3033
3034 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3035
3036         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3037         moved errorlist_.clear to showErrorList
3038
3039 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * converter.C (scanLog, runLaTeX):
3042         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3043         move the bv->showErrorList call to the callers
3044         * lyxfunc.C: i.e. here...
3045         * text2.C: and here
3046         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3047         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3048         namespace, the second to...
3049         * buffer_funcs (BufferFormat, parseErrors): added
3050         * errorlist.C (ErrorList(TeXErrors const &)): removed
3051
3052 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3053
3054         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3055
3056 2003-06-24  "Garst R. Reese" <reese@isn.net>
3057
3058         * debug.C: fix typo
3059
3060 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3063
3064         * version.C.in: change docversion to 1.4
3065
3066 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3067
3068         * buffer.C: fix a bug just introduced
3069
3070 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3071
3072         * buffer.[Ch]: added the parseError signal and use it, removed
3073         sgmlError
3074         * BufferView.[Ch] (addError): moved to ...
3075         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3076         to the Buffer::parseError signal to catch (guess what) parse errors
3077         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3078
3079 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3082         ability to create a buffer and to return an existing one from
3083         the list. Moved these functions to...
3084         * buffer_funcs.[Ch]: added
3085         * BufferView.[Ch] (loadLyXFile): added
3086         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3087         job removed from bufferlist::loadLyXFile.
3088         * buffer.C (setReadOnly): make it work without view
3089         (i.e added an if (users))
3090
3091 2003-06-19  Angus Leeming  <leeming@lyx.org>
3092
3093         * lfuns.h:
3094         * LyXAction.C (init):
3095         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3096         with LFUN_DIALOG_SHOW <name> <data>.
3097
3098 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3099
3100         * CutAndPaste.C (availableSelections): small compilation fix for
3101         ancient (gcc 2.9x) compilers
3102
3103 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * text3.C (cursorNext): add tmp var
3106
3107         * text2.C (updateCounters): for function calling out of for clause
3108         (replaceSelectionWithString): ditto
3109         (insertStringAsParagraphs): ditto
3110         (getColumnNearX): add tmp var
3111         (setCursorFromCoordinates): add tmp var
3112         (cursorDownParagraph): add tmp var
3113         (deleteEmptyParagraphMechanism): add tmp var
3114
3115         * text.C (insertChar): add tmp var
3116
3117         * rowpainter.C (paintDepthBar): add tmp var
3118
3119         * CutAndPaste.C (availableSelections): potentially check all
3120         paragraphs in a cut to fill the shown strings.
3121
3122 2003-06-18  André Pönitz  <poenitz@gmx.net>
3123
3124         * kbmap.[Ch]: use vector<> instead of list<>
3125
3126 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3127
3128         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3129         pasteSelection with index
3130
3131         * text2.C (pasteSelection): modify, call pasteSelection with index
3132
3133         * paragraph.C (asString): reimplement version with no interval to
3134         call the one with interval.
3135
3136         * lyxtext.h: add index arg to pasteSelection
3137
3138         * MenuBackend.C (MenuItem): handle PasteRecent
3139         (Menu::read::Menutags): add md_pasterecent
3140         (read): handle it
3141         (expandPasteRecent): new function
3142         (expand): use it
3143
3144         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3145
3146         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3147         the limited stack
3148         (availableSelections): new function
3149
3150 2003-06-17  Angus Leeming  <leeming@lyx.org>
3151
3152         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3153
3154 2003-06-17  Angus Leeming  <leeming@lyx.org>
3155
3156         * lfuns.h:
3157         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3158
3159         * lyxfunc.C (dispatch): invoke it.
3160
3161 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3162
3163         * iterators.C (operator++, ParPosition): reintroduce some
3164         const_cast for the benefit of older compilers.
3165
3166 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3167
3168         * text3.C (dispatch): do not modify clipboard when doing
3169         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3170         LFUN_DELETE_SKIP on a selection selection
3171
3172 2003-06-16  André Pönitz  <poenitz@gmx.net>
3173
3174         * BufferView.C:
3175         * buffer.C:
3176         * buffer.h:
3177         * paragraph.C:
3178         * tabular.[Ch]: IU of clone() and getLabelList();
3179
3180 2003-06-13  André Pönitz  <poenitz@gmx.net>
3181
3182         * tabular.h: compactification
3183
3184 2003-06-12  André Pönitz  <poenitz@gmx.net>
3185
3186         * tabular.C:
3187         * tabular.h:
3188         * tabular_funcs.h: some renaming plus whitespace
3189
3190 2003-06-12  André Pönitz  <poenitz@gmx.net>
3191
3192         * BufferView.C:
3193         * BufferView_pimpl.C:
3194         * CutAndPaste.C:
3195         * buffer.C:
3196         * iterators.[Ch]:
3197         * lyxfunc.C:
3198         * text.C:
3199         * toc.C: Return a Paragraph & for ParIterator::operator*()
3200
3201 2003-06-11  John Levon  <levon@movementarian.org>
3202
3203         * lyx_main.C:
3204         * ToolbarBackend.h:
3205         * ToolbarBackend.C: add "Toolbars" section and
3206         put the flags there
3207
3208 2003-06-10  Angus Leeming  <leeming@lyx.org>
3209
3210         * lfuns.h:
3211         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3212
3213         * lyxfunc.C (dispatch): invoke it.
3214
3215 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * main.C: protect <ios> with HAVE_IOS
3218         (main): protect sync_with_stdio with HAVE_IOS
3219
3220 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3221
3222         * text2.C (cutSelection): adjust
3223         (pasteSelection): adjust
3224
3225         * messages.C: handle get of empty string
3226
3227         * main.C (main): use sync_with_stdio(false)
3228
3229         * lyxfunc.C (dispatch): adjust
3230
3231         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3232         (WriteAs): remove unneeded BufferView arg.
3233
3234         * bufferparams.h: use correct types on papersize, papersize2 and
3235         paperpackage.
3236
3237         * bufferparams.C (readToken): adjust for type
3238         (writeLaTeX): add missing cases to switch.
3239
3240         * bufferlist.C (quitWriteBuffer): adjust
3241         (close): adjust
3242
3243         * buffer.C (asciiParagraph): remove some commented code.
3244
3245         * CutAndPaste.C: remove current_view extern variable.
3246         (cutSelection): add BufferParams arg.
3247         (eraseSelection): add BufferParams arg.
3248         (pasteSelection): add Buffer const & arg
3249
3250 2003-06-07  John Levon  <levon@movementarian.org>
3251
3252         * buffer.C:
3253         * paragraph_funcs.C:
3254         * paragraph_pimpl.C:
3255         * text.C:
3256         * text2.C:
3257         * paragraph.h:
3258         * paragraph.C: allow InsetERT to freely space lines,
3259         and some consolidation of code
3260
3261 2003-06-06  José Matos  <jamatos@fep.up.pt>
3262
3263         * buffer.C (makeDocBookFile): fix bug #821
3264
3265 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3268
3269 2003-06-04  Angus Leeming  <leeming@lyx.org>
3270
3271         * buffer.C: bump format to 224.
3272
3273 2003-06-05  André Pönitz  <poenitz@gmx.net>
3274
3275         * text2.C (redoParagraphs): remove two const_cast<>
3276
3277 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3278
3279         * ParagraphList.h: remove last remnants of NO_STD_LIST
3280
3281 2003-06-03  Angus Leeming  <leeming@lyx.org>
3282
3283         * factory.C (createInset): small change to the way InsetExternal's params
3284         are set.
3285
3286 2003-06-04  André Pönitz  <poenitz@gmx.net>
3287
3288         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3289
3290         * paragraph_pimpl.h:
3291         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3292
3293         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3294
3295         * undo_funcs.C: make some simple cases of undo work again
3296
3297 2003-06-03  John Levon  <levon@movementarian.org>
3298
3299         * ispell.C: HPUX doesn't have sys/select.h
3300         (from Albert Chin)
3301
3302 2003-06-03  John Levon  <levon@movementarian.org>
3303
3304         * CutAndPaste.C: update tabular and include inset
3305         buffer references
3306
3307         * buffer.h:
3308         * paragraph.h:
3309         * paragraph.C: remove owningBuffer(), don't pass Buffer
3310         to clone()
3311
3312         * factory.C: insetGraphicsParams changed
3313
3314 2003-06-02  John Levon  <levon@movementarian.org>
3315
3316         * LyXAction.C:
3317         * factory.C:
3318         * lfuns.h:
3319         * lyxfunc.C:
3320         * text3.C: remove insetparent
3321
3322 2003-06-02  John Levon  <levon@movementarian.org>
3323
3324         * buffer.h:
3325         * buffer.C: fix inset_iterator.end(), move out of line
3326         (bug 1149)
3327
3328 2003-06-01  John Levon  <levon@movementarian.org>
3329
3330         * text3.C: use a proper cut/paste when doing inset
3331         insert (from Jürgen Spitzmüller)
3332
3333 2003-06-01  John Levon  <levon@movementarian.org>
3334
3335         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3336
3337 2003-05-30  André Pönitz  <poenitz@gmx.net>
3338
3339         * rowpainter.C: unify second drawing phase
3340
3341 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * trans_mgr.C: remove one case of current_view
3344
3345         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3346
3347         * paragraph_funcs.h: remove paragraph.h include
3348
3349         * paragraph.h: delete NO_STD_LIST stuff
3350
3351         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3352
3353         * buffer.h: remove paragraph.h include
3354
3355         * ParagraphList.C: delete file
3356
3357         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3358
3359         * toc.C (getTocList): adjust
3360
3361         * paragraph_pimpl.C (validate): adjust
3362
3363         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3364
3365         * paragraph.C (Paragraph): adjust
3366         (getPositionOfInset): use const_iterator, adjust
3367         (bibitem): use const_iterator, adjust
3368         (setInsetOwner): adjust
3369
3370         * iterators.C (operator++): adjust
3371
3372         * InsetList.[Ch]: Replace selfmade iterator with standard
3373         vector::iterator also introduce const_iterator. Remove getPos,
3374         getInset and setInset from InsetTable. Adjust accordingly.
3375
3376         * BufferView.C (lockInset): adjust
3377         (ChangeInsets): adjust
3378
3379         * tabular.[Ch]: delete commented same_id functions
3380
3381 2003-05-28  John Levon  <levon@movementarian.org>
3382
3383         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3384
3385 2003-05-28  André Pönitz  <poenitz@gmx.net>
3386
3387         * metricsinfo.[Ch]: remove 'fullredraw' member
3388
3389 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3390
3391         * lyxtextclass.C (operator): remove caching.
3392
3393 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * text3.C: adjust
3396
3397         * text2.C (cursorBottom): adjust
3398         (setCounter): use ParagraphList::find, adjust
3399
3400         * text.C (workWidth): use ParagraphList::find, adjust
3401
3402         * lyxcursor.C (LyXCursor): adjust
3403
3404         * buffer.C (inset_iterator): adjust
3405
3406         * ParagraphList.h: make iterator(value_type) private, make
3407         ParagraphList a friend of iterator.
3408
3409         * ParagraphList.C (find): new function
3410
3411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3412
3413 2003-05-27  André Pönitz  <poenitz@gmx.net>
3414
3415         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3416
3417 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3418
3419         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3420
3421 2003-05-26  John Levon  <levon@movementarian.org>
3422
3423         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3424
3425 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * remove same_id from function signatures, adjust.
3428
3429 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3432
3433         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3434
3435         * paragraph.C (Paragraph): get rid of same_ids parameter
3436
3437         * ParagraphList.C (insert): adjust
3438         (push_back): adjust
3439
3440 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * paragraph_funcs.C (breakParagraph): adjust
3443         (breakParagraphConservative): adjust
3444
3445         * buffer.C (readParagraph): adjust
3446
3447         * ParagraphList.C (insert): take a reference instead of a pointer
3448         (insert): adjust
3449
3450         * paragraph.[Ch] (id): new function
3451
3452         * bufferlist.C (newFile): adjust
3453
3454         * ParagraphList.C (ParagraphList): adjust
3455         (assign): adjust
3456         (push_back): take a reference instead of a pointer.
3457
3458         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3459
3460         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3461         instead.
3462
3463         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3464         set else use old code.
3465
3466         * ParagraphList.C: remove all NO_NEXT code and only compile this
3467         code of NO_STD_LIST is set.
3468
3469 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * BufferView_pimpl.C:
3472         * TextCache.C:
3473         * TextCache.h:
3474         * bufferlist.C:
3475         * errorlist.h:
3476         * format.C:
3477         * format.h:
3478         * graph.C:
3479         * lyxfunc.C:
3480         * lyxrc.C:
3481         * graphics/GraphicsConverter.C:
3482         * graphics/PreviewLoader.C: header adjustment
3483
3484 2003-05-23  Angus Leeming  <leeming@lyx.org>
3485
3486         * LaTeXFeatures.[Ch] (useBabel): new method.
3487         * bufferparams.C (writeLaTeX): use it.
3488
3489 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * ParagraphList.h (set): remove unused function.
3492
3493 2003-05-23  André Pönitz  <poenitz@gmx.net>
3494
3495         * BufferView.C:
3496         * BufferView_pimpl.C:
3497         * buffer.C:
3498         * buffer.h:
3499         * lyxfunc.C:
3500         * undo_funcs.C: setUndo reworked
3501
3502         * iterators.[Ch]: add access to topmost ParagraphList
3503
3504         * lyxtext.[Ch] (workWidth): add a const
3505
3506 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3507
3508         * texrow.[Ch] (increasePos): remove function
3509         * exporter.C (export): removed unused var and outdated comment
3510
3511 2003-05-23  Angus Leeming  <leeming@lyx.org>
3512
3513         * latexrunparams.h: rename fragile as moving_arg.
3514         * paragraph.C (simpleTeXOnePar): ditto.
3515         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3516
3517 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3520         (createUndo): ditto
3521         (textUndoOrRedo): comment out a currently unused var.
3522
3523         * paragraph.h (NO_NEXT): enable NO_NEXT
3524
3525         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3526
3527         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3528
3529         * exporter.C (Export): adjust for removeAutoInsets removal.
3530
3531         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3532
3533         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3534
3535         * BufferView.[Ch] (removeAutoInsets): delete function
3536
3537 2003-05-22  Angus Leeming  <leeming@lyx.org>
3538
3539         * latexrunparams.h: add a free_spacing variable.
3540
3541         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3542         to pass moving_arg, as the data is stored in runparams.fragile.
3543
3544         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3545         to Inset::latexOptional or to simpleTeXOnePar.
3546
3547         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3548         free_spacing arg to Inset::latexOptional.
3549
3550         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3551         free_spacing arg.
3552
3553 2003-05-22  Angus Leeming  <leeming@lyx.org>
3554
3555         * latexrunparams.h: add fragile and use_babel variables.
3556
3557         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3558         * buffer.C (makeLaTeXFile): store this returned value in
3559         runparams.use_babel, thus passing it to the inset::latex methods.
3560
3561         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3562         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3563
3564         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3565         longer has a fragile arg, as it is stored in runparams.fragile.
3566
3567         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3568         moving_arg parameter as the data is stored in runparams.fragile.
3569
3570         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3571         a fragile parameter as the data is stored in runparams.fragile.
3572
3573 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3574
3575         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3576
3577 2003-05-22  Angus Leeming  <leeming@lyx.org>
3578
3579         * latexrunparams.h: add a 'bool nice' which defaults to false.
3580
3581         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3582         now encapsulated within runparams.
3583
3584         * bufferlist.C (updateIncludedTeXfiles):
3585         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3586
3587 2003-05-22  Angus Leeming  <leeming@lyx.org>
3588
3589         * latexrunparams.h: new file containing struct LatexRunParams.
3590         * Makefile.am: add new file.
3591
3592         * LaTeX.[Ch] (c-tor, run):
3593         * buffer.[Ch] (makeLaTeXFile):
3594         * bufferlist.[Ch] (updateIncludedTeXfiles):
3595         * converter.C (convert, scanLog):
3596         * converter.[Ch] (runLaTeX):
3597         * exporter.C (Export):
3598         * paragraph.[Ch] (simpleTeXOnePar):
3599         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3600         * paragraph_funcs.[Ch] (latexParagraphs):
3601         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3602         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3603         pass around a LatexRunParams parameter.
3604
3605 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * paragraph.[Ch]: remove unused constructor
3608
3609         * ParagraphList.C (erase): new function, taking two iterators
3610
3611 2003-05-22  André Pönitz  <poenitz@gmx.net>
3612
3613         * undo_funcs.C: remove duplicated code
3614
3615         * iterator.[Ch]: operator=
3616
3617 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3618
3619         * tabular.C (SetMultiColumn): ws changes
3620
3621         * rowpainter.C (paintFirst): get rid of a ->previous
3622
3623         * lyx_cb.C (getPossibleLabel): parlist simplification
3624
3625         * BufferView.C (ChangeInsets): simplify slightly.
3626
3627 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3628
3629         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3630         * lfuns.h: new LFUN_SPACE
3631         * lyxfunc.C: protected space has a new lfun
3632         * paragraph_funcs.C: read new space insets
3633         * text3.C:
3634         * factory.C: handle new space insets
3635
3636 2003-05-22  André Pönitz  <poenitz@gmx.net>
3637
3638         * BufferView.C:
3639         * BufferView_pimpl.C:
3640         * buffer.[Ch]:
3641         * lyxfunc.C:
3642         * undo_funcs.C: return a ParIterator from getParFromID.
3643
3644         * iterators.[Ch]: add two const's
3645
3646 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * toc.C (getTocList): adjust
3649
3650         * iterators.[Ch]: rework for parlist
3651
3652         * buffer.C (par_iterator_begin): adjust
3653         (par_iterator_end): adjust
3654
3655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3656
3657         * BufferView.C (removeAutoInsets): adjust
3658         (ChangeInsets): adjust
3659
3660 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3661
3662         * text.C (top_y): fix bug 1110
3663
3664 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3665
3666         * errorlist.[Ch]: added
3667         * buffer.C:
3668         * BufferView.[Ch]:
3669         * BufferView_pimpl.C:
3670         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3671         instead
3672
3673 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * Makefile.am: ensure that lyx is relinked upon changes to the
3676         various "convenience" libs.
3677
3678 2003-05-20  Angus Leeming  <leeming@lyx.org>
3679
3680         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3681         files are compiled in alphabetical order again.
3682
3683         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3684
3685 2003-05-19  Angus Leeming  <leeming@lyx.org>
3686
3687         * gettext.[Ch]: remove "char const * _(char const *)".
3688
3689 2003-05-19  André Pönitz  <poenitz@gmx.net>
3690
3691         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3692
3693         * Makefile.am:
3694         * BufferView.C:
3695         * DepTable.h:
3696         * LaTeXFeatures.C:
3697         * buffer.C:
3698         * lyxfont.C:
3699         * lyxlex.h:
3700         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3701
3702 2003-05-19  André Pönitz  <poenitz@gmx.net>
3703
3704         * buffer.C:
3705         * lyxlayout.[Ch]:
3706         * lyxtextclass.[Ch]:
3707         * paragraph.C:
3708         * paragraph_funcs.[Ch]:
3709         * text2.C:
3710         * text3.C: more insetenv work
3711
3712 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * ParagraphParameters.C (params2string): small bug fixed
3715
3716 2003-05-16  André Pönitz  <poenitz@gmx.net>
3717
3718         * debug.C:
3719         * bufferview_funcs.C: patch from Kornel Benko to prevent
3720           crash when _(...) is called twice in a statement
3721
3722 2003-05-16  André Pönitz  <poenitz@gmx.net>
3723
3724         * BufferView.C:
3725         * lyxfunc.C:
3726         * text.C:
3727         * text2.C:
3728         * text3.C:
3729         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3730
3731 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3732
3733         * lyx_main.C (init): remove spurious static_cast
3734
3735 2003-05-14  André Pönitz  <poenitz@gmx.net>
3736
3737         * BufferView.C: fix format string
3738
3739 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3740
3741         * BufferView.[Ch] (insertErrors): removed
3742         * BufferView.[Ch] (showErrorList): added
3743         * buffer.C (runChkTeX):
3744         * converter.C (scanLog): call showErrorList instead of inserterrors
3745
3746 2003-05-13  André Pönitz  <poenitz@gmx.net>
3747
3748         * BufferView_pimpl.C:
3749         * buffer.C:
3750         * bufferview_func.C:
3751         * MenuBackend.C:
3752         * lyxfunc.C:
3753         * lyxrc.C:
3754         * tex-accent.C:
3755         * text3.C:
3756         * toc.C:
3757         * tabular_funcs.h: tostr() from its own header
3758
3759         * ParagraphParameters.C:
3760         * ToolbarBackend.C:
3761         * bufferparams.C:
3762         * format.C:
3763         * lyxlex_pimpl.C:
3764         * text3.C: STRCONV()
3765
3766 2003-05-12  André Pönitz  <poenitz@gmx.net>
3767
3768         * BufferView.C:
3769         * BufferView_pimpl.C:
3770         * CutAndPaste.C:
3771         * LaTeX.C:
3772         * LaTeXFeatures.C:
3773         * ParagraphParameters.C:
3774         * buffer.C:
3775         * bufferlist.C:
3776         * bufferparams.C:
3777         * bufferview_funcs.C:
3778         * converter.C:
3779         * counters.C:
3780         * debug.C:
3781         * exporter.C:
3782         * format.C:
3783         * importer.C:
3784         * lyx_cb.C:
3785         * lyx_main.C:
3786         * lyxfont.C:
3787         * lyxfunc.C:
3788         * lyxvc.C:
3789         * paragraph.C:
3790         * paragraph_funcs.C:
3791         * tabular.C:
3792         * tabular_funcs.C:
3793         * text2.C:
3794         * text3.C:  boost::format -> bformat  all over the place
3795
3796
3797 2003-05-09  André Pönitz  <poenitz@gmx.net>
3798
3799         * LColor.[Ch]: Pimpl the #include <map> away
3800
3801 2003-05-09  John Levon  <levon@movementarian.org>
3802
3803         * bufferlist.C: never remove emergency saves
3804
3805 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3806
3807         * Makefile.am: better lib building
3808
3809 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3812         instead.
3813         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3814         (simpleTeXSpecialChars): adjust
3815         (simpleTeXSpecialChars): adjust
3816         * paragraph.C (simpleTeXOnePar): adjust
3817         * buffer.C (makeLaTeXFile): adjust
3818
3819         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3820
3821         * text2.C (changeDepth): parlist cleanup
3822         (getColumnNearX): ditto
3823
3824         * rowpainter.C (getLabelFont): parlist cleanup
3825
3826         * bufferlist.C (newFile): parlist cleanup
3827
3828         * CutAndPaste.C (eraseSelection): parlist cleanup
3829
3830         * BufferView_pimpl.C (trackChanges): parlist cleanup
3831         (dispatch): ditto
3832
3833         * BufferView.C (lockInset): parlist cleanup.
3834         (ChangeInsets): ditto
3835
3836 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * CutAndPaste.h: Update file header.
3839
3840         * CutAndPaste.C: Update file header.
3841         Store the parts cut out of the Document in a limited_stack.
3842         (copySelection): adjust
3843         (pasteSelection): new function, takes the index in the limited stack.
3844         (nrOfParagraphs): adjust
3845         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3846         simplify error inset insertion.
3847         (checkPastePossible): adjust
3848
3849 2003-05-06  John Levon  <levon@movementarian.org>
3850
3851         * text2.C: don't cast wrap inset to float
3852
3853 2003-05-05  André Pönitz  <poenitz@gmx.net>
3854
3855         * iterator.C:
3856         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3857
3858         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3859           few naked Paragraph *.
3860
3861 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3862
3863         * bufferparams.C: Output warning if a document with missing
3864         TeX document class is loaded
3865         * exporter.C: Disable TeX exports if the document class is missing
3866         * lyxtextclass.C:
3867         * lyxtextclass.h:
3868         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3869         isTeXClassAvailable()
3870
3871 2003-05-03  John Levon  <levon@movementarian.org>
3872
3873         * BufferView.h:
3874         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3875         explicit cursor show/hide
3876
3877         * BufferView_pimpl.h:
3878         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3879         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3880
3881         * lyxfunc.C: hide cursor before dispatching.
3882
3883         * lyx_cb.C:
3884         * lyxfind.C:
3885         * text.C:
3886         * text3.C: remove explicit cursor hides
3887
3888 2003-05-02  André Pönitz  <poenitz@gmx.net>
3889
3890         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3891
3892         * undo_funcs.C:
3893         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3894           linked lists
3895
3896         * text2.C: tiny whitespace
3897
3898 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * undo_funcs.C: almost only ws changes.
3901
3902         * ParagraphList.C (splice): just return if pl is empty.
3903
3904 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * ParagraphList.C (splice): new function.
3907
3908         * CutAndPaste.C (pasteSelection): use it
3909
3910 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * CutAndPaste.C (pasteSelection): remove the last next and
3913         previous from this file.
3914
3915 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * CutAndPaste.C (pasteSelection): more clean up, user proper
3918         ParagraphList functions for pasteing.
3919
3920         * ParagraphList.C (insert): new function, three arg insert
3921
3922 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * ParagraphList.C (insert): new function, three arg insert
3925
3926         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3927         not on paragraphs.
3928
3929 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3932
3933 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3936
3937 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3940         (copySelection): clean up a bit.
3941         (pasteSelection): use make_pair
3942
3943         * ParagraphList.C (ParagraphList): implement copy constructor
3944         (operator=): implement, base on copy constructor.
3945         (assign): new func
3946
3947         * paragraph.C (erase): return a bool
3948
3949         * paragraph_pimpl.C (erasePos): remove function, move contents...
3950         (erase): ... here. Return a bool.
3951         (erase): call erase instead of erasePos.
3952
3953 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3954
3955         * ParagraphList.h: define PitPosPair
3956         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3957         ParagraphList, fix a bug on pasting multiple pars
3958         * text2.C: change interface to C&P
3959
3960 2003-04-30  André Pönitz  <poenitz@gmx.net>
3961
3962         * undo_func.C: revert part of yesterday's patch 2
3963
3964 2003-04-30  John Levon  <levon@movementarian.org>
3965
3966         * LColor.C: s/tabular/table/
3967
3968 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * text3.C (dispatch): do not convert iterator -> pointer
3971         * undo_funcs.C (setCursorParUndo): ditto
3972         * text_funcs.C (transposeChars): ditto
3973
3974         * text2.C (setLayout): ws changes only
3975
3976         * text.C (breakParagraph): do not convert iterator -> pointer
3977         (insertChar): ditto
3978         (acceptChange): ditto
3979         (rejectChange): ditto
3980         (changeCase): ditto
3981         (Delete): ditto
3982         (backspace): ditto
3983
3984         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3985         pointer
3986
3987 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * text3.C (gotoInset): YABG (yet another bad getChar)
3990
3991 2003-04-29  André Pönitz  <poenitz@gmx.net>
3992
3993         * paragraph.h: make operator= private unimplemented as long as
3994           it is unusable
3995
3996         * ParagraphList.C: whitespace
3997
3998         * paragraph.[Ch]:
3999         * paragraph_pimpl.[Ch]:
4000         * paragraph_funcs.C:
4001         * CutAndPaste.C:
4002         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4003
4004         * text2.C:
4005           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4006
4007 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4010         * paragraph.[Ch] (erase):
4011         * paragraph_pimpl.[Ch] (erase): change return type and value
4012         * text2.C (cutSelection): some rework
4013
4014 2003-04-28  John Levon  <levon@movementarian.org>
4015
4016         * bufferlist.C: changes for unsaved changes dialog
4017
4018 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * bufferlist.C (newFile): set language (messages_) for new
4021         documents also.
4022
4023         * buffer.C (readFile): ws changes only.
4024
4025 2003-04-28  André Pönitz  <poenitz@gmx.net>
4026
4027         * undo_funcs.C:
4028         * lyxfunc.C:
4029         * buffer.[Ch]:
4030         * BufferView_pimpl.C:
4031         * BufferView.C: getParFromID related ParagraphList::iterator changes
4032
4033 2003-04-28  André Pönitz  <poenitz@gmx.net>
4034
4035         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4036           Changes
4037
4038 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * messages.C: remove one more localedir class variable.
4041
4042 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * messages.C (getLocaleDir): singleton generation function
4045         (Pimpl): use it.
4046         (Messages): add a default constructor.
4047
4048         * main.C (main): do not setup localedir here, do not call
4049         gettext_init.
4050
4051         * gettext.C (_): use it.
4052         (gettext_init): delete funciton
4053
4054 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * gettext.C (getLyXMessages): new singleton generating function.
4057
4058         * buffer.C (updateDocLang): adjust
4059
4060         * Makefile.am (messages.o): add target
4061         (main.o): remove target
4062
4063 2003-04-27  John Levon  <levon@movementarian.org>
4064
4065         * bufferlist.C:
4066         * lyx_cb.C:
4067         * lyxfunc.C:
4068         * lyxvc.C: specify cancel button in Alert::prompt
4069
4070 2003-04-26  John Levon  <levon@movementarian.org>
4071
4072         * text3.C:
4073         * lyxfunc.C:
4074         * lfuns.h:
4075         * LyXAction.C: add LFUN_INSET_SETTINGS
4076
4077         * lyxfunc.C: don't enable tabular-feature when there's
4078         just any locking inset
4079
4080 2003-04-26  John Levon  <levon@movementarian.org>
4081
4082         * bufferlist.C: re-add Cancel to buffer close question
4083
4084         * lyxfunc.C: fix import UI a bit
4085
4086 2003-04-25  John Levon  <levon@movementarian.org>
4087
4088         * gettext.C: remove the broken asserts for now
4089
4090 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * messages.C: make case where setlocale cannot comply work better.
4093
4094         * buffer.C (updateDocLang): new function
4095         (changeLanguage): use it
4096         (readFile): use it
4097
4098         * text2.C (setCounter): use B_ a bit.
4099
4100         * lyxlayout.C (Read): be sure to trim the label strings.
4101
4102         * messages.C (Messages): fix typo in comment
4103
4104         * buffer.C (readFile): set message_ after file is loaded.
4105         (makeDocBookFile): remove double return
4106         (changeLanguage): reset message_ upon language change.
4107         (B_): new func, use this to get translated buffer strings.
4108
4109         * main.C: add myself and Jean Marc as authors.
4110
4111 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * messages.[hC]: pimplify Messages, and three different pimpls to be
4114         used in different circumstances.
4115
4116         * gettext.[Ch]: change for use with new message code.
4117
4118 2003-04-24 André Pönitz <poenitz@gmx.net>
4119
4120         * factory.C: support for eqref
4121
4122 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * messages.[Ch]: add missing char
4125
4126         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4127
4128         * messages.[Ch]: New files
4129
4130 2003-04-18  John Levon  <levon@movementarian.org>
4131
4132         * BufferView.h:
4133         * BufferView.C:
4134         * BufferView_pimpl.C:
4135         * lfuns.h:
4136         * LyXAction.C:
4137         * lyxtext.h:
4138         * text2.C: remove layout-copy/paste (bug 778)
4139
4140 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4141
4142         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4143
4144 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4145
4146         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4147         if they succeed. Act accordingly.
4148
4149 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * text2.C (setCharFont): adjust
4152         (setCounter): adjust
4153         (insertStringAsLines): adjust
4154
4155         * text.C (leftMargin): adjust
4156         (setHeightOfRow): adjust
4157
4158         * rowpainter.C (paintFirst): adjust
4159         (paintLast): adjust
4160
4161         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4162         (outerHook): ditto
4163         (isFirstInSequence): ditto
4164         (getEndLabel): ditto
4165         (outerFont): adjust
4166
4167         * paragraph.C (getParLanguage): comment out some hard stuff.
4168
4169         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4170         (sgmlError): ditto
4171         (simpleDocBookOnePar): ditto
4172         (makeDocBookFile): use ParagraphList::iterator
4173
4174         * CutAndPaste.C (pasteSelection): adjust
4175
4176 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * text2.C (getFont): adjust
4179         (getLayoutFont): adjust
4180         (getLabelFont): adjust
4181
4182         * paragraph_funcs.C (TeXOnePar): adjust
4183
4184         * buffer.C (simpleLinuxDocOnePar): adjust
4185         (simpleDocBookOnePar): adjust
4186
4187         * CutAndPaste.C (pasteSelection): adjust
4188
4189         * BufferView.C (getEncoding): adjust
4190
4191         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4192
4193 2003-04-16  John Levon  <levon@movementarian.org>
4194
4195         * lyxfind.C: use parlist stuff for search/changes
4196
4197 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4200
4201         * text2.C (deleteEmptyParagraphMechanism): adjust
4202
4203         * text2.[Ch] (ownerParagraph): delete func (both of them
4204
4205 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4208
4209 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * ParagraphList.C: prepare for NO_NEXT
4212
4213 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * text2.C (getFont): adjust
4216         (getLayoutFont): adjust
4217         (getLabelFont): adjust
4218
4219         * paragraph.C (getFont): adjust
4220         (getLabelFont): adjust
4221         (getLayoutFont): adjust
4222
4223         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4224
4225 2003-04-15  John Levon  <levon@movementarian.org>
4226
4227         From Angus Leeming
4228
4229         * lyx_main.C: handle Include in .ui files
4230
4231 2003-04-15  John Levon  <levon@movementarian.org>
4232
4233         * MenuBackend.C: make the doc files length shorter
4234
4235         * ToolbarBackend.h:
4236         * ToolbarBackend.C: handle toolbar placement flags,
4237         Minibuffer
4238
4239 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4240
4241         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4242         adjust
4243
4244         * paragraph_funcs.C (TeXOnePar): adjust
4245
4246         * paragraph.C (getLabelFont): add outerfont arg, adjust
4247         (getLayoutFont): ditto
4248         (simpleTeXOnePar): adjust
4249
4250         * paragraph_pimpl.C (realizeFont): delete func
4251
4252 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4255         row argument, constify cur argument.
4256
4257 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * text2.C (getFont): adjust
4260         (getLayoutFont): adjust
4261         (getLabelFont): adjust
4262
4263         * paragraph_funcs.C (TeXOnePar): adjust
4264         (outerFont): new func...
4265         (realizeFont): ...moved out from here, changed this to facilitate
4266         transition
4267
4268         * paragraph.C (getFont): take outerfont as arg, adjust
4269         (simpleTeXOnePar): add outerfont arg, adjust
4270
4271         * buffer.C (simpleLinuxDocOnePar): adjust
4272         (simpleDocBookOnePar): adjust
4273
4274         * CutAndPaste.C (pasteSelection): adjust
4275
4276         * BufferView.C (getEncoding): adjust
4277
4278 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * text2.C (setCharFont): adjust
4281         (setCounter): adjust
4282
4283         * text.C (leftMargin): adjust
4284         (setHeightOfRow): adjust
4285
4286         * rowpainter.C (paintFirst): adjust
4287         (paintLast): adjust
4288
4289         * paragraph_pimpl.C (realizeFont): adjust
4290
4291         * paragraph.C (isFirstInSequence): move from here...
4292         * paragraph_funcs.C (isFirstInSequence): ...to here
4293
4294         * paragraph.C (outerHook): move from here...
4295         * paragraph_funcs.C (outerHook): ...to here
4296
4297         * paragraph.C (depthHook): move from here...
4298         * paragraph_funcs.C (depthHook): ...to here
4299
4300         * paragraph.C (getEndLabel): move from here...
4301         * paragraph_funcs.C (getEndLabel): ...to here
4302
4303         * text2.C (realizeFont): move from here...
4304         * paragraph_funcs.C (realizeFont): ...to here
4305
4306 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4309
4310 2003-04-14  Angus Leeming  <leeming@lyx.org>
4311
4312         * LColor.[Ch]: scrap LColor mathcursor.
4313
4314 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * lyxlex.[Ch] (text): delete function
4317         * trans.C (Load): adjust
4318         * paragraph_funcs.C (readParToken): adjust
4319
4320 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4323         vector<char> instead of a char[].
4324
4325         * lyxlex_pimpl.C (getString): adjust
4326         (next): adjust
4327         (lex): use getString
4328         (eatLine): adjust
4329         (nextToken): adjust
4330
4331         * lyxlex.C (text): use pimpl_->getString()
4332         (getBool): ditto
4333         (findToken): ditto
4334
4335 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4338         (makeFontEntriesLayoutSpecific): temp var for par.size()
4339         (setLayout): temp var for ownerParagraphs().end()
4340         (fullRebreak): temp var for rows().end()
4341         (selectionAsString): temp var for boost::next(startpit), realize
4342         that the while really is a regular for loop.
4343         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4344         setCursor in one place.
4345         (setParagraph): temp vr for ownerParagraphs().end()
4346         (updateCounters): make the while loop a for loop
4347         (cutSelection): temp var for ownerParagraphs().end()
4348         (updateInset): make the do {} while() a regular for loop
4349         (getCursorX): use temp vars
4350         (setCurrentFont): use temp vars
4351         (getColumnNearX): use temp vars
4352
4353 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * text.C (transformChar): use temp var for getChar
4356         (computeBidiTables): use temp var for row->par()
4357         (fill): move temp vars for row->par() and pit->layout() earlier in
4358         the function.
4359         (labelFill): use temp var for row->par()
4360         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4361         asc and desc, realize that pit never changes and that firstpit is
4362         just a duplicate and not needed. Exchange rit->par() with pit in a
4363         lot of places.
4364         (breakAgain): use a temp var for boost::next(rit)
4365         (breakAgainOneRow): ditto
4366         (breakParagraph): use a temp var for rows().begin()
4367         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4368         (cursorRightOneWord): use temp var for cursor.par() and
4369         cursor.pos(), remove usage of tmpcursor.
4370         (cursorLeftOneWord): use temp var for cursor.par() and
4371         cursor.pos() only set cur at end of function.
4372
4373 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * text.C, text2.C: exchange all usage of Paragraph::next with
4376         boost::next(ParagraphList::iterator)
4377
4378         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4379
4380         * text2.C (cursorTop): simplify implementation
4381         (cursorBottom): ditto
4382         (setParagraph): use ParagraphList::iterator
4383         (setCurrentFont): adjust
4384         (getColumnNearX): adjust
4385         (cursorRight): adjust
4386         (cursorLeft): remove usage of Paragraph::previous
4387         (cursorUpParagraph): ditto
4388         (deleteEmptyParagraphMechanism): slight cleanup
4389
4390         * text.C (isBoundary): take a Paragraph const & instead of a
4391         pointer as arg.
4392         (addressBreakPoint): ditto
4393         (leftMargin): remove usage of Paragraph::previous.
4394         (setHeightOfRow): ditto
4395         (cursorLeftOneWord): ditto
4396         (selectNextWordToSpellcheck): ditto
4397         (Delete): ditto
4398         (backspace): ditto
4399         (breakParagraph): remove one usage of Paragraph::next
4400         (redoParagraph): ditto
4401         (acceptChange): ditto
4402         (insertChar): adjust
4403         (rowBreakPoint): adjust
4404
4405         * bufferview_funcs.C (toggleAndShow): adjust
4406
4407 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4410         methods to access it.
4411         * lyxtext.h:
4412         * text.C: Added updateRowPositions to compute all row positions.
4413         Make top_y and getRowNearY() to use the cached y position
4414
4415 2003-04-11  John Levon  <levon@movementarian.org>
4416
4417         * text.C (rowBreakPoint): reintroduce the labelEnd
4418         checks, code copied from the row fill stuff. Deep voodoo.
4419
4420         * text.C (fill): add a comment and debugging for the
4421         next poor soul.
4422
4423 2003-04-11  John Levon  <levon@movementarian.org>
4424
4425         * text.C: make sure fullrow insets get wrapped to the next line,
4426         even when they're in a manual label
4427
4428 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * text2.C (insertParagraph): make it take ParagraphList::iterator
4431         as arg.
4432         (setLayout): make it return ParagraphList::iterator
4433         (redoParagraphs): ditto
4434         (setCounter): ditto
4435         (checkParagraph): ditto
4436
4437         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4438
4439         * text2.C: adjust several funcs.
4440         (realizeFont): take a ParagraphList::iterator as arg.
4441         (getLayoutFont): ditto
4442         (getLabelFont): ditto
4443         (setCharFont): ditto
4444
4445         * text.C: adjust several funcs.
4446
4447 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * text.C (selectNextWordToSpellcheck): don't accidentally
4450         skip insets
4451
4452 2003-04-10  John Levon  <levon@movementarian.org>
4453
4454         * ToolbarBackend.C (getIcon): special handling for
4455         LFUN_MATH_DELIM
4456
4457 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4458
4459         * text2.C (cursorRight): a getChar assert fixed
4460
4461 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * text2.C (getFont): change to take a ParagraphList::iterator
4464         instead of Paragraph*
4465         Adjust several functions.
4466
4467         * text.C (transformChar): change to take a ParagraphList::iterator
4468         instead of Paragraph*
4469         (singleWidth): ditto
4470         Adjust several functions.
4471
4472         * rowpainter.C: adjust several functions
4473         * rowpainter.h:store a ParagraphList::iterator and not a
4474         Paragraph&.
4475
4476
4477 2003-04-09  John Levon  <levon@movementarian.org>
4478
4479         * lyxfunc.C:
4480         * lfuns.h:
4481         * LyXAction.h:
4482         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4483         and the "help" bits as well
4484
4485 2003-04-09  John Levon  <levon@movementarian.org>
4486
4487         * ToolbarBackend.h:
4488         * ToolbarBackend.C: allow multiple toolbars
4489
4490 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * undo_funcs.C (setCursorParUndo): adjust
4493
4494         * text_funcs.C (transposeChars): adjust
4495
4496         * text3.C (gotoNextInset): adjust
4497         (dispatch): adjust
4498
4499         * text2.C (setLayout): adjust
4500         (changeDepth): adjust
4501         (setFont): adjust
4502         (redoParagraphs): adjust
4503         (selectionAsString): adjust
4504         (setParagraph): adjust
4505         (insertInset): adjust
4506         (cutSelection): adjust
4507         (copySelection): adjust
4508         (pasteSelection): adjust
4509         (insertStringAsLines): adjust
4510         (updateInset): adjust
4511         (setCursor): change to take a ParagraphList::iterator parameter
4512         (setCursorIntern): change to take a ParagraphList::iterator parameter
4513         (setCurrentFont): adjust
4514         (cursorLeft): adjust
4515         (cursorRight): adjust
4516         (deleteEmptyParagraphMechanism): adjust
4517
4518         * text.C (breakParagraph): adjust
4519         (insertChar): adjust
4520         (acceptChange): adjust
4521         (rejectChange): adjust
4522         (selectNextWordToSpellcheck): adjust
4523         (changeCase): adjust
4524         (Delete): adjust
4525         (backspace): adjust
4526
4527         * lyxfind.C (SearchForward): adjust
4528         (SearchBackward): adjust
4529         (nextChange): adjust
4530
4531         * lyxcursor.C (par): adjust
4532
4533         * lyxcursor.h: store a ParagraphList::iterator instead of a
4534         Paragraph*
4535
4536         * lyx_cb.C (getPossibleLabel): adjust
4537
4538         * bufferview_funcs.C (toggleAndShow): adjust
4539
4540         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4541         (dispatch): adjust
4542
4543         * BufferView.C (removeAutoInsets): adjust
4544         (lockedInsetStoreUndo): adjust
4545
4546 2003-04-09  John Levon  <levon@movementarian.org>
4547
4548         * ToolbarBackend.C: try icon without argument
4549         if with argument fails
4550
4551 2003-04-08  John Levon  <levon@movementarian.org>
4552
4553         * ToolbarBackend.h:
4554         * ToolbarBackend.C: add getIcon(), handle tooltip,
4555         and change from "Icon" to "Item".
4556
4557 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4558
4559         * BufferView.C (lockInset): another bad getchar crunched
4560
4561 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4564         again)
4565
4566 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * lyxfind.C (searchForward, searchBackwards): bug 782
4569
4570 2003-04-07  John Levon  <levon@movementarian.org>
4571
4572         * paragraph.C: remove dead comment
4573
4574         * text.C: remove troublesome depth-fiddling code
4575         in leftMargin() and rightMargin() (bug 1017)
4576
4577         * text.C: fix breaking of rows in nested lists
4578         (bug 1004)
4579
4580         * text2.C (updateCounters): fix up depth values
4581         (bug 1013)
4582
4583 2003-04-07  John Levon  <levon@movementarian.org>
4584
4585         * BufferView_pimpl.C: clear message when doc finishes resizing,
4586         and after a mouse event
4587
4588         * lyxfunc.C: clear message after exiting inset
4589
4590 2003-04-07  John Levon  <levon@movementarian.org>
4591
4592         * bufferview_funcs.C: show math status not outside
4593         status in the statusbar
4594
4595 2003-04-07  John Levon  <levon@movementarian.org>
4596
4597         * lyxfunc.C: note status changed after a depth change
4598
4599 2003-04-04  Angus Leeming  <leeming@lyx.org>
4600
4601         * LaTeX.h: move AuxInfo operator==, != out of line.
4602         Remove LaTeX virtual destructor; nothing derives from it.
4603         Move operator()() out of public area and rename it startscript().
4604         Change protected for private.
4605
4606 2003-04-04  Angus Leeming  <leeming@lyx.org>
4607
4608         * lyxfunc.C:
4609         * text2.C: remove unneeded #includes.
4610
4611 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * text2.C (dEPM): fix the heigth of the next row
4614
4615 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * text.C: squashed an invalid getChar requester + some ws changes
4618
4619 2003-04-03  John Levon  <levon@movementarian.org>
4620
4621         * bufferview_funcs.h:
4622         * bufferview_funcs.C:
4623         * lyxfunc.C:
4624         * lyxtext.h:
4625         * text2.C: make getStatus work for the env depth lfuns
4626
4627 2003-04-03  John Levon  <levon@movementarian.org>
4628
4629         * bufferview_funcs.h:
4630         * bufferview_funcs.C:
4631         * lyxfunc.C:
4632         * lyxtext.h:
4633         * text2.C: parlistize decDepth(), by merging it with incDepth()
4634
4635 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * lyxrow.h: store a ParagraphList::iterator instead of a
4638         Paragraph* and adjust other class functions to suit.
4639
4640         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4641         above.
4642
4643 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * text2.C (setCursor): do not anchor to cursor row for the time being
4646
4647 2003-04-02  John Levon  <levon@movementarian.org>
4648
4649         * LyXAction.C:
4650         * lfuns.h:
4651         * lyx_main.C:
4652         * lyxtext.h:
4653         * text.C:
4654         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4655
4656 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * paragraph.h: make ParagraphList and ParagraphList::iterator
4659         friends of Paragraph.
4660
4661         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4662
4663         * ParagraphList.C: Use the private next_ and previous_ from
4664         Paragraph.
4665
4666 2003-04-01  John Levon  <levon@movementarian.org>
4667
4668         * ToolbarBackend.h:
4669         * ToolbarBackend.C:
4670         * Makefile.am: rename, remove defaults gunk
4671
4672         * MenuBackend.h:
4673         * MenuBackend.C: remove defaults gunk
4674
4675         * Languages.h:
4676         * Languages.C: remove defaults gunk
4677
4678         * lyx_main.h:
4679         * lyx_main.C: error out if files couldn't be found.
4680
4681 2003-04-02  John Levon  <levon@movementarian.org>
4682
4683         * text2.C: make incDepth() use parlist
4684
4685 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * undo_funcs.C (firstUndoParagraph): adjust
4688
4689         * text3.C (gotoInset): adjust
4690         (dispatch): adjust, and rewrite loop.
4691
4692         * text2.C (init): adjust, and rewrite loop.
4693         (redoParagraphs): adjust
4694         (updateInset): adjust, and rewrite loop.
4695         (deleteEmptyParagraphMechanism): adjust
4696
4697         * tabular.C (LyXTabular): adjust
4698         (SetMultiColumn): adjust
4699         (TeXRow): adjust
4700
4701         * lyxtext.[Ch] (ownerParagraph): delete function
4702         (ownerParagraphs): new function returns a ParagraphList.
4703
4704         * BufferView.C (removeAutoInsets): adjust
4705         (insertErrors): adjust
4706         (setCursorFromRow): adjust
4707
4708 2003-04-01  Angus Leeming  <leeming@lyx.org>
4709
4710         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4711         in the frontends.
4712
4713 2003-04-02  John Levon  <levon@movementarian.org>
4714
4715         * lyxtext.h:
4716         * text.C:
4717         * Makefile.am:
4718         * text_funcs.h:
4719         * text_funcs.C: make transposeChars a free function
4720
4721         * lyxrow_funcs.C: remove wrong comment
4722
4723 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * lyxtext.h: adjust
4726         * rowpainter.C: adjust
4727         * text.C: adjust
4728         * text2.C: adjust
4729         * text3.C: adjust
4730
4731         * lyxrow_funcs. [Ch]: new files
4732
4733         * lyxrow.[Ch]: remove next and previous pointers
4734         (next,previous): remove accessor functions
4735         (isParEnd): move to lyxrow_funcs
4736         (lastPos): move to lyxrow_funcs
4737         (nextRowIsAllInset): move to lyxrow_funcs
4738         (lastPrintablePos): move to lyxrow_funcs
4739         (numberOfSeparators): move to lyxrow_funcs
4740         (numberOfHfills): move to lyxrow_funcs
4741         (numberOfLabelHfills): move to lyxrow_funcs
4742         (hfillExpansion): move to lyxrow_funcs
4743
4744         * lyxfunc.C: adjust
4745
4746         * bufferview_funcs.C (toggleAndShow): adjust
4747
4748         * RowList.h: Remove class RowList from file leave just a
4749         std::list<Row>.
4750
4751         * RowList.C: delete file
4752
4753         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4754         and lyxrow_funcs.h
4755
4756 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * text3.C (cursorPrevious): adjust
4759         (cursorNext): adjust
4760         (dispatch): adjust
4761
4762         * text2.C (redoHeightOfParagraph): adjust
4763         (redoDrawingOfParagraph): adjust
4764         (setCursor): adjust
4765
4766         * text.C (breakParagraph): adjust
4767         (insertChar): adjust
4768         (backspace): adjust
4769
4770         * rowpainter.C (RowPainter): adjust
4771         (leftMargin): simplify and adjust
4772         (most rowpainter functions): adjust.
4773
4774         * rowpainter.h: store the row as RowList::iterator not as Row*
4775
4776         * lyxcursor.C (row): taka RowList::iterator as arg
4777         (irow): ditto
4778
4779         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4780         of Row*.
4781
4782 2003-04-01  Angus Leeming  <leeming@lyx.org>
4783
4784         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4785         stuff like bool Bool.
4786
4787 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4788
4789         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4790         rewrite a loop
4791
4792 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4795         RowList::iterator.
4796
4797         * lyxtext.h (rows): drop one version and leve a const variant that
4798         returns a RowList::iterator.
4799
4800 2003-03-31  Angus Leeming  <leeming@lyx.org>
4801
4802         * text.C (fill): ensure that the signature is the same as that in the
4803         header file.
4804
4805 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * text2.C (redoParagraphs): adjust
4808         (updateCounters): adjust
4809         (checkParagraph): adjust
4810         (getColumnNearX): adjust and reformat a bit.
4811
4812         * text.C (top_y): adjust
4813         (workWidth): adjust
4814         (leftMargin): adjust
4815         (prepareToPrint): adjust
4816         (getRow): adjust
4817         (getRowNearY): adjust
4818
4819         * lyxtext.h: make rowlist_ mutable.
4820
4821         * RowList.h: add const_iterator
4822         * RowList.C: adjust for RowList::const_iterator.
4823
4824         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4825         adjust.
4826
4827 2003-03-31  John Levon  <levon@movementarian.org>
4828
4829         * lyxrc.h:
4830         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4831
4832         * lyx_main.C: set default fonts from using lyx_gui funcs
4833
4834         * exporter.C: pdf_mode moved from lyxrc
4835
4836         * lyx_cb.C:
4837         * lyxfunc.C: changes from above
4838
4839 2003-03-31  John Levon  <levon@movementarian.org>
4840
4841         * lyx_main.C: fix to the last fix
4842
4843 2003-03-31  John Levon  <levon@movementarian.org>
4844
4845         * bufferlist.C: "Load original" -> "Load Original"
4846
4847         * converter.C:
4848         * exporter.C:
4849         * importer.C:
4850         * lyx_main.C:
4851         * format.C: more Alert cleanups
4852
4853 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * text2.C (removeParagraph): make it take a RowList::iterator as
4856         arg, adjust.
4857         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4858         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4859
4860         * text.C (anchor_row): make it take a RowList::iterator as arg,
4861         adjust.
4862         (computeBidiTables): make it take a const reference to Row instead
4863         of Row pointer, adjust.
4864         (leftMargin): make it take a RowList::iterator as arg, adjust.
4865         (rowBreakPoint): adjust
4866         (breakAgainOneRow): make it take a RowList::iterator as arg,
4867         adjust.
4868         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4869
4870         * bufferview_funcs.C (toggleAndShow): adjust
4871
4872 2003-03-30  John Levon  <levon@movementarian.org>
4873
4874         * Makefile.am:
4875         * BoostFormat.h:
4876         * boost-inst.C: moved to support
4877
4878         * several files: changes as a result
4879
4880 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * text2.C (LyXText): adjust.
4883         (init): adjust
4884         (removeRow): make it take a RowList::iterator as arg, adjust.
4885         (fullRebreak): adjust
4886         (deleteEmptyParagraphMechanism): adjust
4887         (clearPaint): adjust
4888         (postPaint): adjust
4889
4890         * text.C (top_y): adjust
4891         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4892         (breakAgain): make it take a RowList::iterator as arg, adjust.
4893         (breakParagraph): adjust
4894         (insertChar): adjust
4895         (backspace): adjust
4896
4897         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4898         need_break_row, and refresh_row.
4899
4900         * text3.C (dispatch): adjust
4901
4902         * text2.C (checkParagraph): adjust
4903         (setCursor): adjust
4904         (setCursorFromCoordinates): adjust
4905
4906         * text.C (top_y): adjust
4907         (workWidth): adjust
4908         (getRow): make it return a RowList::iterator, adjust
4909         (getRowNearY): make it return a RowList::iterator, adjust
4910
4911         * text2.C (init): adjust
4912         (insertRow): remove function
4913         (insertParagraph): adjust
4914         (redoParagraphs): adjust
4915         (fullRebreak): adjust
4916         (updateCounters): adjust
4917
4918         * text.C (top_y): rewrite to use RowList iterators.
4919         (top_y): adjust
4920         (setHeightOfRow): rewrite to sue RowList iterators.
4921         (appendParagraph): adjust
4922         (breakAgain): adjust
4923         (breakAgainOneRow): adjust
4924         (breakParagraph): adjust
4925         (getRow): adjust
4926         (getRowNearY): adjust, and remove commented code.
4927
4928         * lyxtext.h (firstRow): delete function
4929         (lastRow): delete function
4930         (rows): new function (const and non-const versions.)
4931         (insertRow): delete function
4932
4933         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4934
4935 2003-03-29  John Levon  <levon@movementarian.org>
4936
4937         * BufferView_pimpl.C: always update scrollbar top
4938         because pasting text when we're anchored could mean we
4939         miss an update altogether
4940
4941 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4942
4943         * text2.C (init): use rowlist_.end() and not 0.
4944         (insertRow): change to take a RowList::iterator as arg, adjust
4945         for this.
4946         (insertParagraph): change to take a RowList::iterator as arg,
4947         adjust for this.
4948         (redoParagraphs): remove some debug msgs.
4949
4950         * text.C (appendParagraph): change to take a RowList::iterator
4951         arg, adjust for this.
4952         (breakAgain): add an assert
4953         (breakAgainOneRow): ditto
4954
4955 2003-03-29  John Levon  <levon@movementarian.org>
4956
4957         * text2.C: do not clear selection after inc/decDepth
4958         (bug 550)
4959
4960 2003-03-29  John Levon  <levon@movementarian.org>
4961
4962         * BufferView.C:
4963         * buffer.C: fix broken strerrors according to Lars
4964
4965 2003-03-29  John Levon  <levon@movementarian.org>
4966
4967         * converters.C: more Alert cleanups
4968
4969 2003-03-29  John Levon  <levon@movementarian.org>
4970
4971         * bufferview_funcs.C: remove pointless Alert
4972
4973         * buffer.C: fix confusing error message when
4974         a template is chmoded 000
4975
4976 2003-03-29  John Levon  <levon@movementarian.org>
4977
4978         * BufferView.C:
4979         * BufferView.h:
4980         * BufferView_pimpl.C: Alert fixes
4981
4982         * Makefile.am:
4983         * tabular.C:
4984         * tabular-old.C: remove unused table compat reading
4985
4986 2003-03-29  John Levon  <levon@movementarian.org>
4987
4988         * BufferView.C:
4989         * buffer.C:
4990         * lyx_cb.h:
4991         * lyx_cb.C: more Alert cleanups
4992
4993         * lyxfunc.C: don't allow chktex if not latex document
4994
4995 2003-03-29  John Levon  <levon@movementarian.org>
4996
4997         * lyx_cb.C:
4998         * BufferView.C:
4999         * buffer.C: warnings pushed down from support/,
5000         kill err_alert
5001
5002 2003-03-29  John Levon  <levon@movementarian.org>
5003
5004         * lyxfunc.C: safety check for C-r (revert)
5005
5006 2003-03-29  John Levon  <levon@movementarian.org>
5007
5008         * bufferlist.h:
5009         * bufferlist.C: several UI fixes using Alert::prompt.
5010         Fix the pointless looping quit code. Fix stupid revert
5011         behaviour (bug 938)
5012
5013         * lyxvc.h:
5014         * lyxvc.C:
5015         * lyx_cb.C: use Alert::prompt
5016
5017         * lyx_main.C: remove a silly question
5018
5019         * lyxfunc.C: remove a couple of silly questions,
5020         use Alert::prompt
5021
5022 2003-03-28  John Levon  <levon@movementarian.org>
5023
5024         * text2.C: fix bug 974 (End on empty par)
5025
5026 2003-03-28  John Levon  <levon@movementarian.org>
5027
5028         * BufferView_pimpl.C:
5029         * LyXAction.C:
5030         * lfuns.h: remove do-nothing math greek lfuns
5031
5032 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * lyxgluelength.h (isValidGlueLength): add default arg on
5035         parameter 2. Remove default arg from friend in class.
5036
5037         * lyxlength.h (isValidLength): add default arg on parameter 2.
5038         Remove default arg from friend in class.
5039
5040         * text2.C (LyXText): adjust, initialize refresh_row.
5041         (init): adjust
5042         (removeRow): adjust
5043         (insertRow): adjust
5044         (insertParagraph): adjst
5045         (redoParagraphs): adjust
5046         (fullRebreak): adjust
5047         (updateCounters): adjust
5048         (deleteEmptyParagraphMechanism): first attempt at fixing a
5049         crashing bug.
5050
5051         * text.C (top_y): adjust
5052         (setHeightOfRow): adjust
5053         (getRow): adjust
5054         (getRowNearY): adjust
5055
5056         * lyxtext.h: include RowList.h
5057         (~LyXText): not needed anymore, deleted.
5058         (firstRow): modify for RowList
5059         (lastRow): new function
5060         Delete firstrow and lastrow class variables, add a Rowlist
5061         rowlist_ class variable.
5062
5063         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5064         paragraph is empty.
5065
5066         * RowList.C (insert): fix case where it == begin().
5067
5068 2003-03-26  Angus Leeming  <leeming@lyx.org>
5069
5070         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5071         the thesaurus dialog.
5072
5073 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5076
5077         * RowList.[Ch]: new files
5078
5079         * ParagraphList.C (erase): handle the case where it == begin
5080         correctly.
5081
5082 2003-03-25  John Levon  <levon@movementarian.org>
5083
5084         * Makefile.am:
5085         * aspell_local.h:
5086         * aspell.C: add new aspell support
5087
5088         * lyxrc.h:
5089         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5090         have it accessible.
5091
5092 2003-03-25  Angus Leeming  <leeming@lyx.org>
5093
5094         * lfuns.h:
5095         * LyXAction.C (init): new LFUN_INSET_INSERT.
5096
5097         * BufferView_pimpl.C (dispatch): split out part of the
5098         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5099
5100         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5101         LFUN_INSET_APPLY.
5102
5103 2003-03-25  Angus Leeming  <leeming@lyx.org>
5104
5105         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5106
5107 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5108
5109         * text2.C:
5110         * text3.C: remove useless row->height(0)
5111
5112 2003-03-25  John Levon  <levon@movementarian.org>
5113
5114         * lyxtext.h:
5115         * text2.C:
5116         * text3.C: rename the refreshing stuff to better names
5117
5118 2003-03-24  John Levon  <levon@movementarian.org>
5119
5120         * BufferView_pimpl.h:
5121         * BufferView_pimpl.C: update layout choice on a mouse
5122         press/release
5123
5124 2003-03-23  John Levon  <levon@movementarian.org>
5125
5126         * Makefile.am: fix commandtags.h reference
5127
5128 2003-03-22  John Levon  <levon@movementarian.org>
5129
5130         * BufferView_pimpl.C:
5131         * lyxtext.h:
5132         * rowpainter.C:
5133         * rowpainter.h:
5134         * text.C:
5135         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5136
5137 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5138
5139         * lyxtext.h:
5140         * text.C: take the rtl methods out of line
5141
5142 2003-03-21 André Pönitz <poenitz@gmx.net>
5143
5144         * metricsinfo.[Ch]: new files containing structures to be passed around
5145         during the two-phase-drawing...
5146
5147 2003-03-21 André Pönitz <poenitz@gmx.net>
5148
5149         * lyxtextclass.C: read 'environment' tag.
5150
5151 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * text2.C (removeRow): fix bug 964
5154
5155 2003-03-20  John Levon  <levon@movementarian.org>
5156
5157         * rowpainter.C:
5158         * text.C:
5159         * text2.C: paint cleanups. Inset::update() dropped font
5160         parameter
5161
5162 2003-03-19  John Levon  <levon@movementarian.org>
5163
5164         * lyxfunc.C: only fitcursor/markDirty if available()
5165
5166 2003-03-19  John Levon  <levon@movementarian.org>
5167
5168         * commandtags.h: rename to ...
5169
5170         * lfuns.h: ... this, and renumber / cleanup
5171
5172 2003-03-19  John Levon  <levon@movementarian.org>
5173
5174         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5175         fit the cursor after an lfun
5176
5177         * BufferView.h:
5178         * BufferView.C:
5179         * BufferView_pimpl.h:
5180         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5181
5182         * LyXAction.C: layout-character should have ReadOnly
5183
5184         * ParagraphParameters.C:
5185         * buffer.C:
5186         * bufferview_funcs.C:
5187         * lyx_cb.C:
5188         * lyxfind.C:
5189         * lyxtext.h:
5190         * text.C:
5191         * text2.C:
5192         * text3.C:
5193         * undo_funcs.C: changes from above
5194
5195 2003-03-18  John Levon  <levon@movementarian.org>
5196
5197         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5198         remove it from update()
5199
5200         * lyxfunc.C: update layout choice after an lfun
5201
5202         * text3.C: remove extra updateLayoutChoice()s
5203
5204 2003-03-18  John Levon  <levon@movementarian.org>
5205
5206         * text.C: top_y change means full repaint, fix
5207         a drawing bug with cursor movement
5208
5209 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * lyxtext.h:
5212         * text.C:
5213         * text2.C: anchor row on setCursor
5214
5215 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5216
5217         * lyxtext.h: remove almost all mutable keywords
5218         * text.C:
5219         * text2.C:
5220         * text3.C: remove const keywords accordingly
5221
5222 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5225         anon namespace
5226         (TeXEnvironment): ditto
5227         (TeXOnePar): ditto
5228
5229 2003-03-17  John Levon  <levon@movementarian.org>
5230
5231         * text.C (rowBreakPoint): remove attempt to fix displayed
5232         math insets inside a manual label
5233
5234 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * lyxtext.h: remove BufferView* as first arg from almost all class
5237         functions.
5238         * other files: adjust.
5239
5240 2003-03-17  John Levon  <levon@movementarian.org>
5241
5242         * lyxtext.h:
5243         * undo_funcs.C:
5244         * text2.C: more paint cleanups
5245
5246         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5247
5248         * rowpainter.h:
5249         * rowpainter.C: remove "smart" background painting code
5250
5251 2003-03-16  John Levon  <levon@movementarian.org>
5252
5253         * lyxtext.h:
5254         * text.C:
5255         * text2.C:
5256         * text3.C: add helper functions for setting refresh_row/y
5257
5258 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5259
5260         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5261         newline inset which *can* get inserted in the pass_thru layouts.
5262         This is primarily for literate documents.
5263
5264 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5265
5266         * buffer.C: increment LYX_FORMAT to 223
5267
5268 2003-03-14 André Pönitz <poenitz@gmx.net>
5269
5270         * textclass.h: prepare for environment handling, ws changes
5271         * lyxlayout.C: read latexheader and latexfooter tags
5272
5273 2003-03-14  John Levon  <levon@movementarian.org>
5274
5275         * text2.C: rewrite ::status() a bit
5276
5277 2003-03-13  John Levon  <levon@movementarian.org>
5278
5279         * lyxtext.h: add some docs
5280
5281 2003-03-13  John Levon  <levon@movementarian.org>
5282
5283         * lyxtext.h:
5284         * text.C:
5285         * text2.C:
5286         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5287
5288 2003-03-13  John Levon  <levon@movementarian.org>
5289
5290         * text3.C: fix appendix redrawing
5291
5292 2003-03-13  John Levon  <levon@movementarian.org>
5293
5294         * text.C (setHeightOfRow):
5295         * rowpainter.h:
5296         * rowpainter.C: make appendix mark have the text
5297           "Appendix" so the user knows what it is
5298
5299         * LColor.h:
5300         * LColor.C: s/appendixline/appendix/ from above
5301
5302 2003-03-13  John Levon  <levon@movementarian.org>
5303
5304         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5305
5306         * text.C: fix a getChar(pos) bug properly
5307
5308 2003-03-13  Angus Leeming  <leeming@lyx.org>
5309
5310         * commandtags.h:
5311         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5312         Probably only temporary. Let's see how things pan out.
5313
5314         * BufferView.C (unlockInset):
5315         * BufferView_pimpl.C (fitCursor):
5316         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5317
5318         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5319         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5320
5321         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5322         new functions that convert ParagraphParameters to and from a string.
5323
5324         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5325         BufferView::Pimpl's dispatch.
5326         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5327
5328 2003-03-13 André Pönitz <poenitz@gmx.net>
5329
5330         * lyxfunc.C:
5331         * text3.C:
5332         * factory.C: make it aware of InsetEnv
5333
5334 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * text2.C (setCursor): never ask for one past last
5337         (setCursor): add some debugging messages.
5338
5339         * text.C (singleWidth): never ask for one past last
5340         (singleWidth): ditto
5341         (leftMargin): ditto
5342         (rightMargin): ditto
5343         (rowBreakPoint): ditto
5344         (setHeightOfRow): ditto
5345         (prepareToPrint): ditto
5346
5347         * rowpainter.C (paintBackground): never ask for one past last
5348         (paintText): never ask for one past last
5349
5350         * paragraph_pimpl.C (getChar): make the assert stricter, never
5351         allow the one past last pos to be taken
5352
5353         * paragraph.C (getChar): ws changes only
5354
5355         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5356         (numberOfSeparators): ditto
5357         (numberOfHfills): ditto
5358
5359 2003-03-12  John Levon  <levon@movementarian.org>
5360
5361         * author.h:
5362         * author.C:
5363         * bufferparams.h:
5364         * bufferparams.C:
5365         * paragraph_funcs.C: fix per-buffer authorlists
5366
5367 2003-03-12  John Levon  <levon@movementarian.org>
5368
5369         * text.C: fix newline in right address
5370
5371 2003-03-12  Angus Leeming  <leeming@lyx.org>
5372
5373         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5374         duplicate those in LyXFunc::dispatch.
5375
5376         * commandtags.h:
5377         * LyXAction.C:
5378         * ToolbarDefaults.C:
5379         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5380         Add LFUN_FONTFREE_UPDATE.
5381
5382         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5383         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5384
5385         * bufferview_func.[Ch]: several new functions to facilliate
5386         transfer of data to and from the character dialog.
5387
5388 2003-03-12  John Levon  <levon@movementarian.org>
5389
5390         * buffer.C:
5391         * paragraph.h:
5392         * paragraph.C:
5393         * paragraph_funcs.C:
5394         * paragraph_pimpl.C:
5395         * sgml.C:
5396         * tabular.C:
5397         * text.C:
5398         * text3.C: remove META_NEWLINE in favour of an inset
5399
5400         * rowpainter.h:
5401         * rowpainter.C: remove paintNewline (done by inset)
5402
5403 2003-03-12  John Levon  <levon@movementarian.org>
5404
5405         * paragraph_pimpl.C: complain about bad getChar()s
5406         for a while at least
5407
5408 2003-03-12  John Levon  <levon@movementarian.org>
5409
5410         * buffer.h:
5411         * buffer.C: move paragraph read into a separate function,
5412         a little renaming to reflect that.
5413
5414         * bufferparams.h:
5415         * bufferparams.C: remove the author_ids map, not necessary now
5416
5417         * factory.h:
5418         * factory.C: moved Buffer::readInset to here
5419
5420         * paragraph_funcs.h:
5421         * paragraph_funcs.C: readParagraph free function moved from
5422         buffer.C
5423
5424         * tabular.C: name change
5425
5426 2003-03-12  John Levon  <levon@movementarian.org>
5427
5428         * buffer.C:
5429         * ParagraphParameters.C: move par params input to
5430         a read() method
5431
5432         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5433         behave like a normal read from the stream wrt reading
5434         a line vs. a \\token
5435
5436 2003-03-12  John Levon  <levon@movementarian.org>
5437
5438         * paragraph.C:
5439         * ParagraphParameters.h:
5440         * ParagraphParameters.C: move output code to a
5441         ::write() method
5442
5443 2003-03-12  John Levon  <levon@movementarian.org>
5444
5445         * BufferView.C (insertLyXFile):
5446         * buffer.h:
5447         * buffer.C:
5448         * tabular.C: use a parlist iterator for creating the
5449           document.
5450
5451 2003-03-12  John Levon  <levon@movementarian.org>
5452
5453         * buffer.C: make current_change static local not
5454           static file-scope
5455
5456 2003-03-12  John Levon  <levon@movementarian.org>
5457
5458         * buffer.C: fix insertStringAsLines for change tracking
5459
5460 2003-03-12  John Levon  <levon@movementarian.org>
5461
5462         * BufferView.C:
5463         * tabular.C:
5464         * buffer.h:
5465         * buffer.C:
5466         * bufferparams.h:
5467         * bufferparams.C: move author list into params. Rename some
5468           functions. Move the header reading into a separate token
5469           loop. Move the header token reading into BufferParams.
5470
5471 2003-03-12  John Levon  <levon@movementarian.org>
5472
5473         * changes.C: put debug inside lyxerr.debugging() checks
5474
5475 2003-03-11 André Pönitz <poenitz@gmx.net>
5476
5477         * factory.C: make it aware of InsetHFill
5478
5479 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5480
5481         * buffer.C (latexParagraphs): move function from here...
5482         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5483         args.
5484
5485 2003-03-10  Angus Leeming  <leeming@lyx.org>
5486
5487         * LyXAction.C (init): fix bug in poplating array with multiple entries
5488         with the same LFUN (spotted by JMarc).
5489
5490 2003-03-10  John Levon  <levon@movementarian.org>
5491
5492         * text.C:
5493         * text2.C: move getColumnNearX() near its
5494         only call site
5495
5496 2003-03-10  John Levon  <levon@movementarian.org>
5497
5498         * text.C: fix break before a minipage
5499
5500 2003-03-10  John Levon  <levon@movementarian.org>
5501
5502         * text.C: fix the last commit
5503
5504 2003-03-09  John Levon  <levon@movementarian.org>
5505
5506         * lyxtext.h:
5507         * text.C:
5508         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5509         bug 365 (don't break before insets unless needed). Don't
5510         return a value > last under any circumstances.
5511
5512 2003-03-09  Angus Leeming  <leeming@lyx.org>
5513
5514         * BufferView_pimpl.C (trackChanges, dispatch): call
5515         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5516
5517 2003-03-09  Angus Leeming  <leeming@lyx.org>
5518
5519         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5520         than Dialogs::showAboutlyx().
5521
5522 2003-03-09  Angus Leeming  <leeming@lyx.org>
5523
5524         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5525         than Dialogs::showTabularCreate().
5526
5527 2003-03-09  John Levon  <levon@movementarian.org>
5528
5529         * lyxtext.h:
5530         * text.C:
5531         * text2.C: 3rd arg to nextBreakPoint was always the same.
5532           Use references.
5533
5534 2003-03-08  John Levon  <levon@movementarian.org>
5535
5536         * lyxrow.C:
5537         * paragraph.C:
5538         * paragraph.h:
5539         * rowpainter.C:
5540         * text.C:
5541         * text2.C: Remove the "main" bit from the "main body"
5542           notion.
5543
5544 2003-03-08  John Levon  <levon@movementarian.org>
5545
5546         * text.C (leftMargin): The left margin of an empty
5547         manual label paragraph should not include the label width
5548         string length.
5549
5550         * text.C (prepareToPrint): don't attempt to measure hfills
5551         for empty manual label paragraphs - the answer should be 0
5552
5553 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * CutAndPaste.C: remove commented code and reindent.
5556
5557 2003-03-08  John Levon  <levon@movementarian.org>
5558
5559         * lyxfunc.h:
5560         * lyxfunc.C: move reloadBuffer()
5561
5562         * BufferView.h:
5563         * BufferView.C: to here
5564
5565         * lyxvc.C: add comment
5566
5567         * vc-backend.h:
5568         * vc-backend.C: call bv->reload() to avoid
5569           getStatus() check on MENURELOAD
5570
5571 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5572
5573         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5574         to an old format .dep file.
5575
5576 2003-03-07  Angus Leeming  <leeming@lyx.org>
5577
5578         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5579         when the LFUN_MOUSE_RELEASE should have been handled by
5580         inset->localDispatch.
5581
5582 2003-03-07  Angus Leeming  <leeming@lyx.org>
5583
5584         * BufferView_pimpl.C (dispatch):
5585         * LyXAction.C (init):
5586         * ToolbarDefaults.C (init):
5587         * commandtags.h:
5588         * lyxfunc.C (getStatus):
5589         remove LFUN_INSET_GRAPHICS.
5590
5591         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5592
5593 2003-03-07  Angus Leeming  <leeming@lyx.org>
5594
5595         * commandtags.h:
5596         * LyXAction.C (init):
5597         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5598
5599         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5600
5601         * commandtags.h:
5602         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5603
5604         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5605         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5606
5607 2003-03-07  Angus Leeming  <leeming@lyx.org>
5608
5609         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5610         remove "ert".
5611
5612 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * ParagraphList.C (front): new function
5615         (back): implement
5616
5617 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5620         and top_row_offset_. removed var first_y.
5621         * text.C (top_y):
5622         * text2.C (LyXText, removeRow):
5623         * text3.C:
5624         * BufferView_pimpl.C:
5625         use these methods instead of using first_y
5626
5627 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * text2.C (pasteSelection): adjust for checkPastePossible
5630
5631         * CutAndPaste.C: remove Paragraph * buf and replace with
5632         ParagraphList paragraphs.
5633         (DeleteBuffer): delete
5634         (cutSelection): change the tc type to textclass_type
5635         (copySelection): change the tc type to textclass_type
5636         (copySelection): adjust for ParagraphList
5637         (pasteSelection): change the tc type to textclass_type
5638         (pasteSelection): adjust for Paragraphlist
5639         (nrOfParagraphs): simplify for ParagraphList
5640         (checkPastePossible): simplify for ParagraphList
5641         (checkPastePossible): remove unused arg
5642
5643         * ParagraphList.C (insert): handle the case where there are no
5644         paragraphs yet.
5645
5646         * CutAndPaste.h: make CutAndPaste a namespace.
5647
5648         * text3.C (dispatch): adjust
5649
5650         * text.C (breakParagraph): add a ParagraphList as arg
5651
5652         * paragraph_funcs.C (breakParagraph): change to take a
5653         BufferParams and a ParagraphList as args.
5654         (breakParagraphConservative): ditto
5655         (mergeParagraph): ditto
5656         (TeXDeeper): add a ParagraphList arg
5657         (TeXEnvironment): ditto
5658         (TeXOnePar): ditto
5659
5660         * buffer.C (readLyXformat2): adjust
5661         (insertStringAsLines): adjust
5662         (latexParagraphs): adjust
5663
5664         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5665         (cutSelection): adjust
5666         (pasteSelection): adjust
5667
5668         * BufferView_pimpl.C (insertInset): adjust
5669
5670 2003-03-05  Angus Leeming  <leeming@lyx.org>
5671
5672         * commandtags.h:
5673         * LyXAction.C (init):
5674         * BufferView_pimpl.C (dispatch):
5675         * lyxfunc.C (getStatus):
5676         remove LFUN_CHILD_INSERT.
5677
5678         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5679
5680 2003-03-05  Angus Leeming  <leeming@lyx.org>
5681
5682         * commandtags.h:
5683         * LyXAction.C (init):
5684         * src/factory.C (createInset):
5685         * lyxfunc.C (getStatus):
5686         * text3.C (dispatch):
5687         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5688
5689         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5690
5691 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * ParagraphList.C (insert): handle insert right before end()
5694         (erase): fix cases where it can be first or last paragraph.
5695
5696 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5699         Paragraph::next and Paragraph::previous
5700         (TeXOnePar): ditto
5701
5702         * text.C (breakParagraph): adjust
5703
5704         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5705         BufferParams& as arg.
5706         (breakParagraph): use ParagraphList::insert
5707         (breakParagraphConservative): take a Buffer* instead of a
5708         BufferParams& as arg.
5709         (breakParagraphConservative): use ParagraphList::insert.
5710
5711         * buffer.C (insertStringAsLines): un-const it
5712         (insertStringAsLines): adjust
5713
5714         * ParagraphList.C (insert): new function
5715
5716         * CutAndPaste.C (pasteSelection): adjust
5717
5718         * text.C (backspace): adjust
5719
5720         * tabular.C (SetMultiColumn): adjust
5721
5722         * CutAndPaste.C (cutSelection): adjust
5723         (pasteSelection): adjust
5724
5725         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5726         Buffer const * as arg
5727
5728         * ParagraphList.C (erase): new function
5729         * paragraph_funcs.C (mergeParagraph): use it
5730         (mergeParagraph): make it take a Buffer* instead of a
5731         BufferParams* as arg
5732
5733         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5734         as arg
5735         (breakParagraphConservative): ditto
5736
5737         * paragraph.h: remove the breakParagraph friend
5738
5739         * paragraph.C (eraseIntern): new function
5740         (setChange): new function
5741
5742         * paragraph_funcs.C (mergeParagraph): make it take a
5743         ParagraphList::iterator instead of a Paragraph *, adjust
5744         accordingly.
5745
5746         * paragraph.h: move an #endif so that the change tracking stuff
5747         also works in the NO_NEXT case.
5748
5749 2003-03-04  Angus Leeming  <leeming@lyx.org>
5750
5751         * commandtags.h:
5752         * LyXAction.C: new LFUN_INSET_MODIFY.
5753
5754         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5755         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5756
5757 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * several files: ws changes only
5760
5761         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5762         (TeXEnvironment): ditto
5763         (TeXDeeper): ditto
5764
5765         * buffer.C (makeLaTeXFile): adjust
5766         (latexParagraphs): make it take ParagraphList::iterator as args
5767
5768 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * buffer.C (latexParagraphs): adjust
5771
5772         * paragraph.C (TeXOnePar): move function...
5773         (optArgInset): move function...
5774         (TeXEnvironment): move function...
5775         * paragraph_pimpl.C (TeXDeeper): move function...
5776         * paragraph_funcs.C: ...here
5777
5778         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5779
5780 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * buffer.C (readInset): remove compability code for old Figure and
5783         InsetInfo insets
5784
5785 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * buffer.C: ws changes
5788         (readInset):
5789
5790         * BufferView_pimpl.C: ditto
5791         * author.C: ditto
5792         * buffer.h: ditto
5793         * bufferlist.h: ditto
5794         * changes.h: ditto
5795         * lyxfunc.C: ditto
5796
5797 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5798
5799         * converter.[Ch]: split into itself +
5800         * graph.[Ch]
5801         * format.[Ch]
5802         * Makefile.am: += graph.[Ch] + format.[Ch]
5803         * MenuBackend.C
5804         * buffer.C
5805         * exporter.C
5806         * importer.C
5807         * lyx_main.C
5808         * lyxfunc.C
5809         * lyxrc.C: added #include "format.h"
5810
5811 2003-02-27  Angus Leeming  <leeming@lyx.org>
5812
5813         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5814           a label.
5815
5816         * factory.C (createInset): add "label" to the factory.
5817
5818         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5819           string and do no more.
5820
5821 2003-02-27  Angus Leeming  <leeming@lyx.org>
5822
5823         * commandtags.h:
5824         * LyXAction.C (init):
5825         * factory.C (createInset):
5826         * BufferView_pimpl.C (dispatch):
5827           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5828
5829         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5830
5831         * lyxfunc.C (dispatch):
5832         * text3.C (dispatch): pass name to params2string.
5833
5834 2003-02-26  Angus Leeming  <leeming@lyx.org>
5835
5836         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5837           blocks together.
5838           Rearrange the ~includes. Strip out the unnecessary ones.
5839
5840         * factory.C (createInset): reformat.
5841           create new insets for the various LFUN_XYZ_APPLY lfuns.
5842
5843 2003-02-26  John Levon  <levon@movementarian.org>
5844
5845         * lyxrow.h:
5846         * lyxrow.C: add isParStart,isParEnd helpers
5847
5848         * paragraph.h: make isInserted/DeletedText take refs
5849
5850         * paragraph_funcs.h:
5851         * paragraph_funcs.C: remove #if 0'd code
5852
5853         * lyxtext.h:
5854         * text3.C:
5855         * text2.C:
5856         * text.C: use lyxrow helpers above.
5857           Move draw and paint routines to RowPainter.
5858           Make several methods use refs not pointers.
5859           Make backgroundColor() const.
5860           Add markChangeInDraw(), isInInset().
5861           Merge changeRegionCase into changeCase.
5862           Make workWidth() shouldn't-happen code into an Assert.
5863
5864         * rowpainter.h:
5865         * rowpainter.C: new class for painting a row.
5866
5867         * vspace.h:
5868         * vspace.C: make inPixels take a ref
5869
5870 2003-02-26  Angus Leeming  <leeming@lyx.org>
5871
5872         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5873         LFUN_REF_APPLY.
5874
5875 2003-02-25  John Levon  <levon@movementarian.org>
5876
5877         * ispell.C: give the forked command a more accurate name
5878
5879 2003-02-22  John Levon  <levon@movementarian.org>
5880
5881         * toc.h:
5882         * toc.C: make TocItem store an id not a Paragraph *
5883           (bug #913)
5884
5885 2003-02-21  Angus Leeming  <leeming@lyx.org>
5886
5887         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5888           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5889           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5890           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5891           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5892           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5893
5894         * BufferView_pimpl.C (dispatch):
5895         * LyXAction.C (init):
5896         * factory.C (createInset):
5897         * lyxfunc.C (getStatus, dispatch):
5898         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5899
5900 2003-02-21  Angus Leeming  <leeming@lyx.org>
5901
5902         * BufferView_pimpl.C (MenuInsertLyXFile):
5903         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5904         * lyxfunc.C (menuNew, open, doImport):
5905           no longer pass a LyXView & to fileDlg.
5906
5907 2003-02-21  Angus Leeming  <leeming@lyx.org>
5908
5909         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5910         * LyXAction.C: change, BIBKEY to BIBITEM.
5911         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5912         Change InsetBibKey to InsetBibitem.
5913         Change BIBKEY_CODE to BIBITEM_CODE.
5914         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5915         * factory.C: replace insetbib.h with insetbibitem.h.
5916         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5917         * paragraph.C: replace insetbib.h with insetbibitem.h.
5918         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5919         Change bibkey() to bibitem().
5920         * text.C: remove insetbib.h.
5921         * text2.C: replace insetbib.h with insetbibitem.h.
5922         change bibkey() to bibitem().
5923         * text3.C: remove insetbib.h.
5924         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5925
5926 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5927
5928         * lyxrc.C (output): enclose user email in quotes (in case there are
5929         several words)
5930
5931 2003-02-18  John Levon  <levon@movementarian.org>
5932
5933         * buffer.h: add std::
5934
5935 2003-02-17  John Levon  <levon@movementarian.org>
5936
5937         * SpellBase.h:
5938         * ispell.h:
5939         * ispell.C:
5940         * pspell.h:
5941         * pspell.C: reworking. Especially in ispell, a large
5942           number of clean ups and bug fixes.
5943
5944         * lyxfunc.C: fix revert to behave sensibly
5945
5946 2003-02-17 André Pönitz <poenitz@gmx.net>
5947
5948         * LyXAction.C:
5949         * commandtags.h: new LFUN_INSERT_BIBKEY
5950
5951         * layout.h:
5952         * lyxlayout.C:
5953         * buffer.C:
5954         * factory.C:
5955         * text.C:
5956         * text2.C:
5957         * text3.C:
5958         * paragraph.[Ch]:
5959         * paragraph_func.C: remove special bibkey handling
5960
5961 2003-02-17  John Levon  <levon@movementarian.org>
5962
5963         * text.C (Delete): fix case where delete at the end of
5964           the very first paragraph would not merge the pars
5965
5966 2003-02-17  John Levon  <levon@movementarian.org>
5967
5968         * lyxrow.C: fix lastPrintablePos()
5969
5970 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5971
5972         * bufferparams.C (writeLaTeX): add a std:here
5973
5974         * buffer.C: and remove a using directive there
5975
5976 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5977
5978         * buffer.C (makeLaTeXFile): move the code that generates the
5979           preamble...
5980
5981         * bufferparams.C (writeLaTeX): ... in this new method
5982
5983         * LaTeXFeatures.C (getEncodingSet): make const
5984           (getLanguages): make const
5985
5986         * MenuBackend.C (binding): returns the binding associated to this
5987           action
5988           (add): sets the status of each item by calling getStatus. Adds
5989           some intelligence.
5990           (read): add support for OptSubMenu
5991           (expand): remove extra separator at the end of expanded menu
5992
5993 2003-02-15  John Levon  <levon@movementarian.org>
5994
5995         * BufferView.C:
5996         * BufferView_pimpl.C:
5997         * bufferlist.h:
5998         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5999           inset code that had no actual effect. Remove unneeded status
6000           code.
6001
6002 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6003
6004         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6005           in preamble
6006
6007 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6008
6009         * text.C (drawLengthMarker): also draw an arrow marker for
6010           symbolic lengths (medskip...)
6011
6012 2003-02-14  John Levon  <levon@movementarian.org>
6013
6014         * tabular.h:
6015         * tabular.C: better method names
6016
6017 2003-02-14  John Levon  <levon@movementarian.org>
6018
6019         * BufferView_pimpl.C:
6020         * bufferlist.C:
6021         * buffer.C:
6022         * converter.C:
6023         * lyx_cb.C:
6024         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6025           it's a more accurate name. Remove some pointless uses.
6026
6027 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * text2.C (LyXText): change order of initilizers to shut off
6030           warnings
6031
6032 2003-02-14  John Levon  <levon@movementarian.org>
6033
6034         * buffer.C: use ParIterator for getParFromID()
6035
6036         * paragraph.h:
6037         * paragraph.C:
6038         * paragraph_pimpl.h:
6039         * paragraph_pimpl.C: remove unused getParFromID()
6040
6041 2003-02-14  John Levon  <levon@movementarian.org>
6042
6043         * buffer.C: remove some very old #if 0'd parse code
6044
6045 2003-02-13  John Levon  <levon@movementarian.org>
6046
6047         * text.h:
6048         * text.C:
6049         * text2.C: move hfillExpansion(), numberOfSeparators(),
6050           rowLast(), rowLastPrintable(), numberofHfills(),
6051           numberOfLabelHfills() ...
6052
6053         * lyxrow.h:
6054         * lyxrow.C: ... to member functions here.
6055
6056         * paragraph.h:
6057         * paragraph.C:
6058         * lyxtext.h:
6059         * text.C: remove LyXText::beginningOfMainBody(), and call
6060           p->beginningOfMainBody() directly. Move the check for
6061           LABEL_MANUAL into the latter.
6062
6063         * text.h:
6064         * text.C:
6065         * text2.C:
6066         * vspace.C:
6067         * BufferView.h:
6068         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6069
6070         * text.h:
6071         * text.C:
6072         * text2.C:
6073         * text3.C:
6074         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6075           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6076
6077 2003-02-13  John Levon  <levon@movementarian.org>
6078
6079         * CutAndPaste.C: remove debug
6080
6081 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6082
6083         * paragraph.C (asString): remove two unused variables
6084
6085         * lyxtextclass.C (readTitleType):
6086           (Read):
6087           (LyXTextClass): handle new members titletype_ and titlename_
6088
6089         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6090
6091 2003-02-09  John Levon  <levon@movementarian.org>
6092
6093         * buffer.h:
6094         * buffer.C: replace hand-coded list with a map for the dep clean
6095
6096 2003-02-08  John Levon  <levon@movementarian.org>
6097
6098         * LaTeX.C: consolidate code into showRunMessage() helper
6099
6100 2003-02-08  John Levon  <levon@movementarian.org>
6101
6102         * lyxfind.C:
6103         * lyxtext.h:
6104         * text2.C:
6105         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6106           and pass the size in explicitly
6107
6108         * BufferView_pimpl.h:
6109         * BufferView_pimpl.C:
6110         * BufferView.h:
6111         * BufferView.C: add getCurrentChange()
6112
6113         * BufferView_pimpl.h:
6114         * BufferView_pimpl.C: handle change lfuns
6115
6116         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6117           for changes. Mark pasted paragraphs as new.
6118
6119         * support/lyxtime.h:
6120         * support/lyxtime.C:
6121         * DepTable.C: abstract time_t as lyx::time_type
6122
6123         * LColor.h:
6124         * LColor.C: add colours for new text, deleted text, changebars
6125
6126         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6127           package use "usenames" option.
6128
6129         * commandtags.h:
6130         * lyxfunc.C:
6131         * LyXAction.C: add change lfuns
6132
6133         * Makefile.am:
6134         * author.h:
6135         * author.C: author handling
6136
6137         * buffer.h:
6138         * buffer.C: add a per-buffer author list, with first entry as
6139           current author. Handle new .lyx tokens for change tracking. Output
6140           author list to .lyx file. Output dvipost stuff to .tex preamble.
6141           Bump lyx format to 222.
6142
6143         * bufferlist.h:
6144         * bufferlist.C: add setCurrentAuthor() to reset current author details
6145           in all buffers.
6146
6147         * bufferparams.h:
6148         * bufferparams.C: add param for tracking
6149
6150         * bufferview_funcs.C: output change info in minibuffer
6151
6152         * Makefile.am:
6153         * changes.h:
6154         * changes.C: add change-tracking structure
6155
6156         * debug.h:
6157         * debug.C: add CHANGES debug flag
6158
6159         * lyxfind.h:
6160         * lyxfind.C: add code for finding the next change piece
6161
6162         * lyxrc.h:
6163         * lyxrc.C: add user_name and user_email
6164
6165         * lyxrow.h:
6166         * lyxrow.C: add a metric for the top of the text line
6167
6168         * lyxtext.h:
6169         * text.C: implement accept/rejectChange()
6170
6171         * lyxtext.h:
6172         * text.C: paint changebars. Paint new/deleted text in the chosen
6173         colours. Strike through deleted text.
6174
6175         * paragraph.h:
6176         * paragraph.C:
6177         * paragraph_pimpl.h:
6178         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6179           in the current change to the insert functions. Rework erase to
6180           mark text as deleted, adding an eraseIntern() and a range-based
6181           erase(). Implement per-paragraph change lookup and
6182           accept/reject.
6183
6184         * paragraph_funcs.C: Fixup paste for change tracking.
6185
6186         * tabular.C: mark added row/columns as new.
6187
6188         * text.C: fix rowLast() to never return -1. Don't allow
6189           spellchecking of deleted text. Track transpose changes. Don't
6190           allow paragraph break or merge where appropriate.
6191
6192         * text2.C: leave cursor at end of selection after a cut.
6193
6194 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6195
6196         * text.C (getLengthMarkerHeight):
6197         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6198         visible on screen too.
6199
6200 2003-02-07  John Levon  <levon@movementarian.org>
6201
6202         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6203
6204 2003-02-05  Angus Leeming  <leeming@lyx.org>
6205
6206         * lyxserver.C (read_ready): revert my patch of 11 September last year
6207         as it sends PC cpu through the roof. Presumably this means that
6208         the lyxserver will no longer run on an Alpha...
6209
6210 2003-01-30  Angus Leeming  <leeming@lyx.org>
6211
6212         * factory.C (createInset): create an InsetCommandParam of type "index"
6213         and use it to 'do the right thing'.
6214
6215         * text2.C (getStringToIndex): ensure that cursor position is always
6216         reset to the reset_cursor position.
6217
6218 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6219
6220         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6221         disabled.
6222
6223 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6224
6225         * bufferview.C:
6226         * lyxcb.C:
6227         * lyxfunc.C: Output messages with identical spelling, punctuation,
6228         and spaces
6229
6230 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6231
6232         * MenuBackend.C (expandFormats): List only viewable export formats
6233         in "View" menu
6234
6235         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6236         message
6237
6238         * lyxfunc.C (getStatus): Make sure that formats other than
6239         "fax" can also be disabled
6240
6241 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6242
6243         * text3.C (dispatch): put the lfuns that insert insets in 3
6244         groups, and call doInsertInset with appropriate arguments.
6245         (doInsertInset): new function, that creates an inset and inserts
6246         it according to some boolean parameters.
6247
6248 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * buffer.C (readFile): remember to pass on 'par' when calling
6251         readFile recursively.
6252
6253 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6254
6255         * MenuBackend.C (expandFormats): add "..." to import formats.
6256
6257 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6258
6259         * paragraph.C (asString): Remove XForms RTL hacks.
6260
6261 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6262         * buffer.C: fix typo
6263
6264 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * Makefile.am (LIBS): delete var
6267         (lyx_LDADD): add @LIBS@ here instead.
6268
6269 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6270
6271         * Clarify the meaning of "wheel mouse jump"
6272
6273 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6274
6275         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6276         tabular in a float
6277
6278 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6279
6280         * importer.C (Loaders): do not preallocate 3 elements in the
6281         vector, since one ends up with 6 elements otherwise
6282
6283 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6284
6285         * DepTable.C (write): write the file name as last element of the
6286         .dep file (because it may contain spaces)
6287         (read): read info in the right order
6288
6289 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6290
6291         * paragraph_pimpl.C (simpleTeXBlanks):
6292         (simpleTeXSpecialChars):
6293         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6294
6295         * tabular.C (latex): add some missing case statements. Reindent.
6296
6297         * MenuBackend.C (expandToc): remove unused variable.
6298
6299 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6300
6301         * LColor.C:
6302         * LaTeX.C:
6303         * LyXAction.C:
6304         * MenuBackend.C:
6305         * buffer.C:
6306         * exporter.C:
6307         * lyxfunc.C:
6308         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6309         and the like.
6310
6311 2003-01-05  John Levon  <levon@movementarian.org>
6312
6313         * BufferView.h:
6314         * BufferView.C: add getEncoding()
6315
6316         * kbsequence.h:
6317         * kbsequence.C: do not store last keypress
6318
6319         * lyxfunc.h:
6320         * lyxfunc.C: store last keypress here instead. Pass encoding
6321           to getISOEncoded()
6322
6323 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6324
6325         * lyx_main.C (init): remove annoying error message when following
6326         symbolic links (bug #780)
6327
6328 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6329
6330         * text.C (insertChar):
6331         * lyxrc.C (getDescription): remove extra spaces
6332
6333 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6334
6335         * lyxrc.C (getDescription): remove extra spaces
6336
6337 2002-12-20  John Levon  <levon@movementarian.org>
6338
6339         * text3.C: hack fix for page up/down across tall rows
6340
6341 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6342
6343         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6344         not been invoked
6345
6346 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6347
6348         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6349         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6350         thesaurus is not compiled in
6351
6352 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6353
6354         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6355
6356 2002-12-16  Angus Leeming  <leeming@lyx.org>
6357
6358         * lyxrc.[Ch]:
6359         * lyx_main.C (init): remove override_x_deadkeys stuff.
6360
6361 2002-12-12  John Levon  <levon@movementarian.org>
6362
6363         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6364           insert. Only remove shift modifier under strict
6365           circumstances.
6366
6367 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * MenuBackend.C (expandToc): fix crash.
6370
6371 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * MenuBackend.C (expandToc): gettext on float names.
6374
6375 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6376
6377         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6378         implement bool empty() [bug 490]
6379
6380 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6383
6384 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * several files: ws changes
6387
6388 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * text2.C (setCounter): clean up a bit, use boost.format.
6391         (updateCounters): initialize par upon declaration.
6392
6393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6394         if the layout exists. We do not just store the layout any more.
6395         (SwitchLayoutsBetweenClasses): use boost.format
6396
6397 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6398
6399         * converter.C (convert): if from and to files are the same, use a
6400         temporary files as intermediary
6401
6402 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6403
6404         * commandtags.h:
6405         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6406
6407 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6408
6409         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6410
6411 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6412
6413         * tabular.C (asciiPrintCell): use string(size, char) instead of
6414         explicit loop.
6415
6416         * sgml.C (openTag): fix order of arguments to string constructor
6417         (closeTag): ditto
6418
6419         * lyxfunc.C (dispatch): use boost.format
6420
6421         * lots of files: change "c" -> 'c'
6422
6423 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6424
6425         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6426
6427 2002-11-25  Angus Leeming  <leeming@lyx.org>
6428
6429         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6430
6431         * lyx_main.C (init): compile fix.
6432
6433 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * lyx_cb.C (start): boost.formatify
6436         do not include <iostream>
6437
6438         * lengthcommon.C: ws only
6439
6440         * boost-inst.C,BoostFormat.h: add more explict instantations
6441
6442 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6443
6444         * lots of files: handle USE_BOOST_FORMAT
6445
6446 2002-11-21  John Levon  <levon@movementarian.org>
6447
6448         * pspell.C: fix compile
6449
6450 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6451
6452         * lyxfunc.C (dispatch): use boost::format
6453         (open): ditto
6454         (doImport): ditto
6455
6456         * lyxfont.C (stateText): use boost::format
6457
6458         * lyx_main.C (LyX): use boost::format
6459         (init): ditto
6460         (queryUserLyXDir): ditto
6461         (readRcFile): ditto
6462         (parse_dbg): ditto
6463         (typedef boost::function): use the recommened syntax.
6464
6465         * importer.C (Import): use boost::format
6466
6467         * debug.C (showLevel): use boost::format
6468
6469         * converter.C (view): use boost::format
6470         (convert): ditto
6471         (move): ditto
6472         (scanLog): ditto
6473
6474         * bufferview_funcs.C (currentState): use boost::format
6475
6476         * bufferlist.C (emergencyWrite): use boost::format
6477
6478         * buffer.C (readLyXformat2): use boost::format
6479         (parseSingleLyXformat2Token): ditto
6480
6481         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6482
6483         * LaTeX.C (run): use boost::format
6484
6485         * Chktex.C (scanLogFile): use boost::format
6486
6487         * BufferView_pimpl.C (savePosition): use boost::format
6488         (restorePosition): ditto
6489         (MenuInsertLyXFile): ditto
6490
6491         * BoostFormat.h: help file for explicit instation.
6492
6493 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6494
6495         * tabular.C (latex): Support for block alignment in fixed width
6496         columns.
6497
6498 2002-11-17  John Levon  <levon@movementarian.org>
6499
6500         * BufferView_pimpl.C:
6501         * lyx_cb.C:
6502         * lyxfunc.C: split filedialog into open/save
6503
6504 2002-11-08  Juergen Vigna  <jug@sad.it>
6505
6506         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6507         by my last patch (hopefully).
6508
6509 2002-11-08  John Levon  <levon@movementarian.org>
6510
6511         * iterators.h:
6512         * iterators.C:
6513         * buffer.h:
6514         * buffer.C:
6515         * paragraph.h:
6516         * paragraph.C:
6517         * toc.h:
6518         * toc.C: ParConstIterator, and use it (from Lars)
6519
6520 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6521
6522         * lyxtextclass.[Ch]: revise and add doxygen comments
6523
6524 2002-11-07  John Levon  <levon@movementarian.org>
6525
6526         * text.C: fix progress value for spellchecker
6527
6528         * toc.C: fix navigate menu for insetwrap inside minipage
6529
6530         * paragraph_funcs.C: added FIXME for suspect code
6531
6532 2002-11-07  John Levon  <levon@movementarian.org>
6533
6534         * BufferView_pimpl.C: fix redrawing of insets
6535           on buffer switch
6536
6537 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6538
6539         * text2.C (updateCounters): fix bug 668
6540
6541 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6542
6543         * text3.C (dispatch): Do not make the buffer dirty when moving the
6544         cursor.
6545
6546 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * vc-backend.C: STRCONV
6549         (scanMaster): ditto
6550
6551         * text2.C (setCounter): STRCONV
6552
6553         * paragraph.C (asString): STRCONV
6554
6555         * lyxlength.C (asString): STRCONV
6556         (asLatexString): ditto
6557
6558         * lyxgluelength.C (asString): STRCONV
6559         (asLatexString): ditto
6560
6561         * lyxfunc.C (dispatch): STRCONV
6562         (open): ditto
6563
6564         * lyxfont.C (stateText): STRCONV
6565
6566         * importer.C (Import): STRCONV
6567
6568         * counters.C (labelItem): STRCONV
6569         (numberLabel): ditto
6570         (numberLabel): remove unused ostringstream o
6571
6572         * chset.C: STRCONV
6573         (loadFile): ditto
6574
6575         * bufferview_funcs.C (currentState): STRCONV
6576
6577         * buffer.C (readFile): STRCONV
6578         (asciiParagraph): ditto
6579         (makeLaTeXFile): ditto
6580
6581         * Spacing.C (writeEnvirBegin): STRCONV
6582
6583         * LaTeXFeatures.C (getLanguages): STRCONV
6584         (getPackages): ditto
6585         (getMacros): ditto
6586         (getBabelOptions): ditto
6587         (getTClassPreamble): ditto
6588         (getLyXSGMLEntities): ditto
6589         (getIncludedFiles): ditto
6590
6591         * LaTeX.C: STRCONV
6592         (run): ditto
6593         (scanAuxFile): ditto
6594         (deplog): ditto
6595
6596         * LString.h: add the STRCONV macros
6597
6598         * BufferView_pimpl.C (savePosition): STRCONV
6599         (restorePosition): ditto
6600         (MenuInsertLyXFile): ditto
6601
6602         * vc-backend.C (scanMaster): change from submatch[...] to
6603         submatch.str(...)
6604
6605         * funcrequest.C: include config.h
6606
6607         * factory.C: include config.h
6608
6609         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6610
6611         * box.C: include config.h
6612
6613         * LaTeX.C (scanAuxFile): change from submatch[...] to
6614         submatch.str(...)
6615         (deplog): ditto
6616
6617 2002-10-25  Angus Leeming  <leeming@lyx.org>
6618
6619         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6620
6621         * ispell.[Ch] (setError): new method.
6622         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6623         Use setError() insetead of goto END.
6624
6625         * lyx_cb.C (AutoSave): move out child process into new class
6626         AutoSaveBuffer.
6627
6628 2002-10-30  John Levon  <levon@movementarian.org>
6629
6630         * text3.C: make start appendix undoable
6631
6632 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6633
6634         * lyxlength.C (inPixels): Fix returned value.
6635
6636         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6637         environment.
6638
6639 2002-10-24  Angus Leeming  <leeming@lyx.org>
6640
6641         * lyxgluelength.h: no need to forward declare BufferParams
6642         or BufferView, so don't.
6643
6644 2002-10-21  John Levon  <levon@movementarian.org>
6645
6646         * BufferView.C: menuUndo ->undo, redo
6647
6648         * BufferView.h: document, remove dead, make some methods private
6649
6650         * paragraph_funcs.h:
6651         * paragraph_funcs.C:
6652         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6653
6654         * buffer.h:
6655         * buffer.C:
6656         * sgml.h:
6657         * sgml.C: move sgml open/close tag into sgml.C
6658
6659         * bufferview_funcs.h: unused prototype
6660
6661         * lyxfunc.h:
6662         * lyxfunc.C: remove unused
6663
6664         * lyxtext.h:
6665         * text.C: remove unused
6666
6667 2002-10-21  John Levon  <levon@movementarian.org>
6668
6669         * BufferView.h:
6670         * BufferView.C:
6671         * BufferView_pimpl.h:
6672         * BufferView_pimpl.C: fix mouse wheel handling based on
6673           patch from Darren Freeman
6674
6675 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6676
6677         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6678
6679 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * lyxlength.C (inPixels): Fix hanfling of negative length.
6682         Fix LyXLength::MU case.
6683
6684 2002-10-16  John Levon  <levon@movementarian.org>
6685
6686         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6687
6688 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6689
6690         * converter.C (view): add support for $$i (file name) and $$p
6691         (file path) for the viewer command. If $$i is not specified, then
6692         it is appended to the command (for compatibility with old syntax)
6693
6694 2002-10-14  Juergen Vigna  <jug@sad.it>
6695
6696         * undo_funcs.C (textHandleUndo): alter the order in which the
6697         new undopar is added to the LyXText, as we have to set first
6698         the right prev/next and then add it as otherwise the rebuild of
6699         LyXText is not correct. Also reset the cursor to the right paragraph,
6700         with this IMO we could remove the hack in "redoParagraphs()".
6701
6702 2002-10-09  Angus Leeming  <leeming@lyx.org>
6703
6704         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6705         to turn off an optimisation if a new inset is to be inserted.
6706
6707 2002-10-11 André Pönitz <poenitz@gmx.net>
6708
6709         * lyxtext.h: make some functions public to allow access
6710         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6711
6712 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6713
6714         * text3.C (dispatch): when changing layout, avoid an infinite loop
6715         [bug #652]
6716
6717 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6718
6719         * lyxrc.C (read): treat a viewer or converter command of "none" as
6720         if it were empty.
6721
6722         * MenuBackend.C (expandFormats): for an update, also allow the
6723         formats that are not viewable
6724
6725         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6726         script if it is newer than the lyxrc.defaults in user directory
6727
6728 2002-10-07 André Pönitz <poenitz@gmx.net>
6729
6730         * text.C: Vitaly Lipatov's small i18n fix
6731
6732 2002-09-25  Angus Leeming  <leeming@lyx.org>
6733
6734         * ispell.h: doxygen fix.
6735
6736 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6737
6738         * buffer.h (readFile): Add a new argument to the method, to allow
6739         reading of old-format templates.
6740
6741 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6742
6743         * toc.C (getTocList): Get TOC from InsetWrap.
6744
6745 2002-09-16  John Levon  <levon@movementarian.org>
6746
6747         * lyxfunc.C: check tabular for cut/copy too
6748
6749 2002-09-12  John Levon  <levon@movementarian.org>
6750
6751         * LyXAction.C: tidy
6752
6753         * factory.h:
6754         * factory.C: add header
6755
6756         * paragraph_funcs.h:
6757         * paragraph_funcs.C: cleanup
6758
6759 2002-09-11  John Levon  <levon@movementarian.org>
6760
6761         * PrinterParams.h: odd/even default to true
6762
6763 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6764
6765         * PrinterParams.h: update printer parameters for new xforms dialog
6766
6767 2002-09-11  Angus Leeming  <leeming@lyx.org>
6768
6769         * lyxserver.C (read_ready): re-write to make it more transparent
6770         and to make it work in coherent fashion under Tru64 Unix.
6771
6772 2002-09-11  André Pönitz <poenitz@gmx.net>
6773
6774         * commandtags.h:
6775         * LyXAction.C:
6776         * text3.C: implement LFUN_WORDSEL
6777
6778 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6781         make floatlist_ a boost::shared_ptr<FloatList>
6782
6783         * lyxtextclass.C: include FloatList.h
6784         (LyXTextClass): initialize floatlist_
6785         (TextClassTags): add TC_NOFLOAT
6786         (Read): match "nofloat" to TC_NOFLOAT and use it.
6787         (readFloat): modify call to floatlist_
6788         (floats): ditto
6789         (floats): ditto
6790
6791         * FloatList.[Ch] (FloatList): remove commented out float
6792         initialization.
6793         (erase): new function
6794
6795 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6796
6797         * MenuBackend.C (expandToc): fix crash when there is no document
6798         open
6799
6800 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6801
6802         * many files: Add insetwrap.
6803
6804 2002-09-09  John Levon  <levon@movementarian.org>
6805
6806         * text2.C: remove confusing and awkward depth wraparound
6807
6808 2002-09-09  John Levon  <levon@movementarian.org>
6809
6810         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6811
6812         * buffer.h:
6813         * buffer.C: remove getIncludeonlyList()
6814
6815         * paragraph.C:
6816         * lyxfunc.C: remove headers
6817
6818 2002-09-09  Juergen Vigna  <jug@sad.it>
6819
6820         * text.C (getColumnNearX): fix form Michael this is most
6821         probably a cut&paste bug.
6822
6823 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6826
6827         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6828         references, ws changes.
6829
6830         * text2.C (init): update counters after init
6831         (insertParagraph): no need to set counter on idividual paragraphs.
6832         (setCounter): access the counters object in the textclass object
6833         on in the buffer object.
6834         (updateCounters): ditto
6835
6836         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6837         shared_ptr<Counters> to avoid loading counters.h in all
6838         compilation units.
6839         (LyXTextClass): initialize ctrs_
6840         (TextClassTags): add TC_COUNTER, and ...
6841         (Read): use it here.
6842         (CounterTags): new tags
6843         (readCounter): new function
6844         (counters): new funtion
6845         (defaultLayoutName): return a const reference
6846
6847         * counters.C (Counters): remove contructor
6848         (newCounter): remove a couple of unneeded statements.
6849         (newCounter): simplify a bit.
6850         (numberLabel): some small formatting changes.
6851
6852         * buffer.[Ch]: remove all traces of counters, move the Counters
6853         object to the LyXTextClass.
6854
6855 2002-09-06  Alain Castera  <castera@in2p3.fr>
6856
6857         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6858         package to set the horizontal alignment on fixed width columns.
6859
6860         * lyx_sty.C:
6861         * lyx_sty.h: added tabularnewline macro def.
6862
6863         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6864
6865 2002-09-06  John Levon  <levon@movementarian.org>
6866
6867         * LyXAction.C: tooltips for sub/superscript
6868
6869         * MenuBackend.C: a bit more verbose
6870
6871         * lyxfunc.C: tiny clean
6872
6873         * undo_funcs.C: document undo_frozen
6874
6875 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * counters.C (Counters): add missing algorithm counter.
6878
6879         * text2.C (setCounter): lookup the counter with layouts latexname
6880         instead of by section number.
6881         (setCounter): use a hackish way to lookup the correct enum
6882         counter.
6883         a float name->type change
6884         reset enum couners with counter name directly instead of depth value.
6885
6886         * counters.C (Counters): remove the push_backs, change to use the
6887         float type not the float name.
6888         (labelItem): remove unused string, float name->type change
6889
6890         * counters.h: don't include vector, loose the enums and sects vectors
6891
6892 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6895         (Read): add float->TC_FLOAT to textclassTags
6896         (Read): and handle it in the switch
6897         (readFloat): new function
6898
6899         * FloatList.C (FloatList): comment out the hardcoded float
6900         definitions.
6901
6902         * lyxlayout.h: ws change.
6903
6904 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6907
6908 2002-09-03  Angus Leeming  <leeming@lyx.org>
6909
6910         * BufferView_pimpl.h: qualified name is not allowed in member
6911         declaration: WorkArea & Pimpl::workarea() const;
6912
6913         * factory.C: added using std::endl directive.
6914
6915         * text3.C: added using std::find and std::vector directives.
6916
6917 2002-08-29  André Pönitz <poenitz@gmx.net>
6918
6919         * lyxtext.h:
6920         * text2.C: remove unused member number_of_rows
6921
6922         * Makefile.am:
6923         * BufferView2.C: remove file, move contents to...
6924         * BufferView.C: ... here
6925
6926         * BufferView_pimpl.C:
6927         * factory.C: move more inset creation to factory
6928
6929         * vspace.C: avoid direct usage of LyXText, ws changes
6930
6931         * BufferView.[Ch]:
6932                 don't provide direct access to WorkArea, use two simple
6933                 acessors haveSelction() and workHeight() instead
6934
6935
6936 2002-08-29  John Levon  <levon@movementarian.org>
6937
6938         * BufferView_pimpl.C (dispatch): do not continue when
6939           no buffer
6940
6941 2002-08-28  André Pönitz <poenitz@gmx.net>
6942
6943         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6944
6945         * BufferView.h:
6946         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6947
6948 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6949
6950         * buffer.C: increment LYX_FORMAT to 221
6951
6952         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6953         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6954
6955         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6956
6957         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6958
6959 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6960
6961         * factory.C (createInset): use LyXTextClass::floats
6962
6963         * MenuBackend.C (expandFloatListInsert):
6964         (expandFloatInsert):
6965         (expandToc):
6966
6967         * text2.C (setCounter):
6968
6969         * LaTeXFeatures.C (useFloat):
6970         (getFloatDefinitions):
6971
6972         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6973
6974         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6975         floatlist_, with accessor floats().
6976
6977         * FloatList.h: remove global FloatList
6978
6979 2002-08-26  André Pönitz <poenitz@gmx.net>
6980
6981         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6982
6983         * BufferView.h:
6984         * BufferView2.C:
6985         * BufferView_pimpl.C:
6986         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6987
6988 2002-08-25  John Levon  <levon@movementarian.org>
6989
6990         * LyXAction.C: fix margin note description
6991
6992 2002-08-24  John Levon  <levon@movementarian.org>
6993
6994         * buffer.C:
6995         * bufferlist.C:
6996         * bufferview_funcs.C:
6997         * lyxfont.C:
6998         * undo_funcs.C: cleanups
6999
7000         * lyxfunc.C: disable CUT/COPY when no selection
7001
7002 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7003
7004         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7005         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7006
7007         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7008         Add backward compatibility to "mono", "gray" and "no".
7009
7010 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7011
7012         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7013         (and file_format >= 200).
7014
7015 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7016
7017         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7018
7019 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7020
7021         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7022
7023 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7024
7025         * BufferView_pimpl.C:
7026         * LyXAction.C:
7027         * buffer.C:
7028         * commandtags.h:
7029         * lyxfunc.C:
7030         * paragraph.[Ch]:
7031         * text2.C:
7032         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7033         inset and code to make it  work with the paragraph code. The inset
7034         can be anywhere in the paragraph, but will only do the expected
7035         thing in LaTeX if the layout file contains the parameter line
7036                         OptionalArgs    1
7037         (or more generally, a nonzero value) for that layout.
7038
7039 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7040
7041         * paragraph.h: remove the declaration of undefined counters class
7042         function.
7043
7044 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7045
7046         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7047         Dr. Richard Hawkins.
7048
7049 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7050
7051         * paragraph_funcs.h: remove some unneeded includes
7052
7053         * text.C (backspace): pasteParagraph now in global scipe
7054
7055         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7056         (pasteSelection): ditto
7057
7058         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7059         * paragraph_funcs.C (pasteParagraph): ... here
7060
7061 2002-08-20  André Pönitz <poenitz@gmx.net>
7062
7063         * commandtags.h: new LFUNs for swapping/copying table row/colums
7064
7065         * LyXAction.C:
7066         * lyxfunc.C: support for new lfuns
7067
7068 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * tabular.C:
7071         * buffer.[Ch]: remove NO_COMPABILITY stuff
7072
7073 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7074
7075         * boost.C (throw_exception): new file, with helper function for
7076         boost compiled without exceptions.
7077
7078         * paragraph.h:
7079         * lyxlength.C:
7080         * buffer.C:
7081         * ParameterStruct.h:
7082         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7083
7084         * bufferlist.C (emergencyWriteAll): use boost bind
7085
7086         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7087
7088         * text.C: include paragraph_funcs.h
7089         (breakParagraph): breakParagraph is now in global scope
7090
7091         * paragraph_funcs.[Ch]: new files
7092
7093         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7094         global scope
7095
7096         * buffer.C: include paragraph_funcs.h
7097         (insertStringAsLines): breakParagraph is now in global scope
7098
7099         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7100         paragraph_funcs.C
7101
7102         * CutAndPaste.C: include paragraph_funcs.h
7103         (cutSelection): breakParagraphConservative is now in global scope
7104         (pasteSelection): ditto
7105
7106         * buffer.h: declare oprator== and operator!= for
7107         Buffer::inset_iterator
7108
7109         * bufferlist.C (emergencyWrite): don't use fmt(...)
7110
7111         * text3.C: add using std::endl
7112
7113         * BufferView.C (moveCursorUpdate): remove default arg
7114
7115 2002-08-20  André Pönitz <poenitz@gmx.net>
7116
7117         * buffer.[Ch]: move inline functions to .C
7118
7119         * BufferView2.C:
7120         * BufferView_pimpl.C:
7121         * text.C:
7122         * buffer.[Ch]: use improved inset_iterator
7123
7124         * buffer.C:
7125         * paragraph.[Ch]: write one paragraph at a time
7126
7127 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7128
7129         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7130         style if style is not specified.
7131
7132 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7133
7134         * text2.C (setCounter): when searching for right label for a
7135         caption, make sure to recurse to parent insets (so that a caption
7136         in a minipage in a figure float works) (bug #568)
7137
7138 2002-08-20  André Pönitz <poenitz@gmx.net>
7139
7140         * text3.C: new file for LyXText::dispatch() and helpers
7141
7142         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7143
7144         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7145
7146 2002-08-19  André Pönitz <poenitz@gmx.net>
7147
7148         * lyxtext.h:
7149         * text.C: new LyXText::dispatch()
7150
7151         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7152
7153 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7154
7155         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7156
7157         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7158         Hebrew text.
7159
7160 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7161
7162         * Makefile.am: use $(variables) instead of @substitutions@
7163
7164 2002-08-15  André Pönitz <poenitz@gmx.net>
7165
7166         * lyxfunc.C:
7167         * BufferView_pimpl.C: streamlining mathed <-> outer world
7168         interaction
7169
7170         * commandtags.h:
7171         * LyXAction.C: remove unused LFUN_MATH
7172
7173 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7176
7177 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * paragraph.C (Paragraph): reformat a bit
7180         (cutIntoMinibuffer): use builtin InsetList function instad of
7181         doing it manually.
7182         (getInset): ditto
7183
7184         * buffer.C: include boost/bind.hpp, add using std::for_each
7185         (writeFileAscii): use ParagraphList iterators
7186         (validate): use for_each for validate traversal of paragraphs
7187         (getBibkeyList): use ParagraphList iterators
7188         (resizeInsets): use for_each to resizeInsetsLyXText for all
7189         paragraphs.
7190         (getParFromID): use ParagraphList iterators
7191
7192         * BufferView2.C (lockInset): use paragraph list and iterators
7193
7194 2002-08-14  John Levon  <levon@movementarian.org>
7195
7196         * lyxserver.C: remove spurious xforms include
7197
7198 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7199
7200         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7201
7202 2002-08-13  André Pönitz <poenitz@gmx.net>
7203
7204         * LyXAction.[Ch]:
7205         * lyxfunc.C: further cleaning
7206
7207 2002-08-13  André Pönitz <poenitz@gmx.net>
7208
7209         * funcrequest.h: new constructor
7210
7211         * funcrequest.C: move stuff here from .h
7212
7213         * Makefile.am:
7214         * BufferView_pimpl.C:
7215         * LyXAction.C:
7216         * toc.C:
7217         * lyxfunc.C: subsequent changes
7218
7219         * lyxfunc.h: new view() member function
7220
7221         * lyxfunc.C: subsequent changes
7222
7223 2002-08-13  Angus Leeming  <leeming@lyx.org>
7224
7225         * BufferView2.C:
7226         * BufferView_pimpl.C:
7227         * buffer.C:
7228         * converter.C:
7229         * importer.C:
7230         * lyxfunc.C:
7231         * lyxvc.C:
7232         * toc.C:
7233         * vc-backend.C:
7234         changes due to the changed LyXView interface that now returns references
7235         to member variables not pointers.
7236
7237 2002-08-13  Angus Leeming  <leeming@lyx.org>
7238
7239         * WordLangTuple (word, lang_code): return references to strings,
7240         not strings.
7241
7242         * BufferView.h:
7243         * SpellBase.h:
7244         * lyxtext.h: forward-declare WordLangTuple.
7245
7246         * BufferView2.C:
7247         * ispell.C:
7248         * pspell.C:
7249         * text.C: #include "WordLangTuple.h".
7250
7251         * lyxtext.h:
7252         * text.C: (selectNextWordToSpellcheck): constify return type.
7253
7254 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7255
7256         * buffer.C:
7257         * buffer.h:
7258         * lyxtext.h:
7259         * paragraph.C:
7260         * paragraph_pimpl.h:
7261         * text.C:
7262         * text2.C:
7263         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7264         suggested by Angus.
7265         Made updateCounter always count from start of buffer, and removed
7266         second argument (par).
7267         Reverted floats number display to '#'. Perhaps I'll try again when the
7268         code base is sanitized a bit.
7269
7270 2002-08-12  Angus Leeming  <leeming@lyx.org>
7271
7272         * buffer.[Ch] (getLabelList): constify.
7273
7274 2002-08-07  André Pönitz <poenitz@gmx.net>
7275
7276         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7277
7278         * funcrequest.h: extension to keep mouse (x,y) position
7279
7280 2002-08-12  Juergen Vigna  <jug@sad.it>
7281
7282         * BufferView2.C (insertErrors): forbid undo when inserting error
7283         insets.
7284
7285         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7286
7287 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * ParagraphList.[Ch]: new files
7290
7291         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7292
7293         * BufferView2.C (lockInset): ParagraphList changes
7294         * toc.C: ditto
7295         * text2.C: ditto
7296         * bufferlist.C: ditto
7297         * buffer.h: ditto
7298         * buffer.C: ditto
7299
7300 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7303         unused class variable counter_,
7304
7305         * paragraph.[Ch] (getFirstCounter): delete unused function
7306
7307         * counters.C: include LAssert.h
7308         (reset): add a new function with no arg, change other version to
7309         not have def. arg and to not allow empty arg.
7310
7311         * text2.C (setCounter): remove empty arg from call to Counters::reset
7312
7313 2002-08-11  John Levon  <levon@movementarian.org>
7314
7315         * Makefile.am: add WordLangTuple.h
7316
7317 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7320         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7321
7322         * insets/insettext.C: InsetList changes
7323
7324         * graphics/GraphicsSupport.C (operator()): InsetList changes
7325
7326         * toc.C (getTocList): InsetList changes
7327
7328         * paragraph_pimpl.[Ch]: InsetList changes
7329
7330         * paragraph.[Ch]: InsetList changes
7331
7332         * buffer.C (inset_iterator): InsetList changes
7333         (setParagraph): ditto
7334         * buffer.h (inset_iterator): ditto
7335         * iterators.C (operator++): ditto
7336         * iterators.h: ditto
7337
7338         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7339
7340         * InsetList.[Ch]: new files, most InsetList handling moved out of
7341         paragraph.C.
7342
7343         * BufferView2.C (removeAutoInsets): InsetList changes
7344         (lockInset): ditto
7345         (ChangeInsets): ditto
7346
7347 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * paragraph_pimpl.h (empty): new function
7350
7351         * paragraph.[Ch] (empty): new function
7352
7353         * other files: use the new Paragraph::empty function
7354
7355 2002-08-09  John Levon  <levon@movementarian.org>
7356
7357         * lyxtext.h: remove unused refresh_height
7358
7359 2002-08-09  John Levon  <levon@movementarian.org>
7360
7361         * Makefile.am:
7362         * sgml.h:
7363         * sgml.C:
7364         * buffer.C:
7365         * paragraph.h:
7366         * paragraph.C: move sgml char escaping out of paragraph
7367
7368         * paragraph.h:
7369         * paragraph.C: remove id setter
7370
7371         * buffer.C:
7372         * paragraph.C:
7373         * paragraph_pimpl.C: remove dead tex_code_break_column
7374
7375         * bufferview_funcs.C: small cleanup
7376
7377         * lyxfunc.C: remove dead proto
7378
7379         * lyxtext.h: make some stuff private. Remove some dead stuff.
7380
7381         * lyxgluelength.C: make as[LyX]String() readable
7382
7383 2002-08-08  John Levon  <levon@movementarian.org>
7384
7385         * LyXAction.h:
7386         * LyXAction.C:
7387         * MenuBackend.C:
7388         * ToolbarDefaults.C:
7389         * lyxfunc.C:
7390         * lyxrc.C:
7391         * toc.C: lyxaction cleanup
7392
7393 2002-08-08  John Levon  <levon@movementarian.org>
7394
7395         * BufferView2.C: small cleanup
7396
7397         * lyxfind.h:
7398         * lyxfind.C: move unnecessary header into the .C
7399
7400 2002-08-08  John Levon  <levon@movementarian.org>
7401
7402         * funcrequest.h: just tedious nonsense
7403
7404         * lyx_main.h:
7405         * lyx_main.C: cleanups
7406
7407         * buffer.C:
7408         * vspace.C: remove dead header lyx_main.h
7409
7410 2002-08-07  Angus Leeming  <leeming@lyx.org>
7411
7412         * Paragraph.[Ch]:
7413         * paragraph_pimpl.h:
7414         Forward declare class Counters in paragraph.h by moving the ctrs member
7415         variable into Paragraph::Pimpl.
7416         (counters): new method, returning a reference to pimpl_->ctrs.
7417
7418         * text2.C: ensuing changes.
7419
7420 2002-08-07  John Levon  <levon@movementarian.org>
7421
7422         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7423
7424         * BufferView_pimpl.C: announce X selection on double/triple
7425           click
7426
7427         * lyx_main.C: use correct bool in batch dispatch
7428
7429         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7430
7431 2002-08-07  André Pönitz <poenitz@gmx.net>
7432
7433         * funcrequest.h: new class to wrap a kb_action and its argument
7434
7435         * BufferView.[Ch]:
7436         * BufferView_pimpl[Ch]:
7437         * LaTeX.C:
7438         * LyXAction.[Ch]:
7439         * lyxfunc.[Ch]:
7440         * lyxrc.C: subsequent changes
7441
7442
7443 2002-08-07  John Levon  <levon@movementarian.org>
7444
7445         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7446           document options change.
7447
7448 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7449
7450         * counters.[Ch]
7451         * text2.C
7452         * paragraph.[Ch]
7453         * makefile.am: move counters functionality over from
7454         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7455
7456 2002-08-06  John Levon  <levon@movementarian.org>
7457
7458         * WordLangTuple.h: new file for word + language code tuple
7459
7460         * SpellBase.h:
7461         * pspell.h:
7462         * pspell.C:
7463         * ispell.h:
7464         * ispell.C:
7465         * lyxtext.h:
7466         * text.C:
7467         * text2.C:
7468         * BufferView.h:
7469         * BufferView2.C: use WordLangTuple
7470
7471         * layout.h:
7472         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7473
7474 2002-08-06  John Levon  <levon@movementarian.org>
7475
7476         * lyx_main.C: fix cmdline batch handling
7477
7478 2002-08-06  André Pönitz <poenitz@gmx.net>
7479
7480         * lyxrc.C: set default for show_banner to true
7481
7482 2002-08-06  John Levon  <levon@movementarian.org>
7483
7484         * pspell.C: fix a crash, and allow new aspell to work
7485
7486 2002-08-06  John Levon  <levon@movementarian.org>
7487
7488         * lyxfunc.C:
7489         * kbmap.C: small cleanup
7490
7491         * vspace.h:
7492         * vspace.C: add const
7493
7494 2002-08-05  John Levon  <levon@movementarian.org>
7495
7496         * LyXAction.C: back to tabular-insert
7497
7498 2002-08-04  John Levon  <levon@movementarian.org>
7499
7500         * BufferView.h:
7501         * BufferView.C: cosmetic change
7502
7503         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7504
7505         * bufferlist.C:
7506         * buffer.h:
7507         * buffer.C:
7508         * lyxcb.h:
7509         * lyxcb.C:
7510         * lyxserver.C:
7511         * lyxvc.C:
7512         * vc-backend.C:
7513         * BufferView2.C: purge all "Lyx" not "LyX" strings
7514
7515         * lyxcursor.h:
7516         * lyxcursor.C: attempt to add some documentation
7517
7518         * lyxfunc.C:
7519         * commandtags.h:
7520         * LyXAction.C:
7521         * ToolbarDefaults.C:
7522         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7523           merge with LFUN_TABULAR_INSERT
7524
7525         * Makefile.am:
7526         * SpellBase.h:
7527         * ispell.h:
7528         * ispell.C:
7529         * pspell.h:
7530         * pspell.C: split up i/pspell implementations into separate
7531           files, many cleanups
7532
7533         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7534
7535         * text2.C: some cleanup
7536
7537         * lyxfunc.C: don't check for isp_command == "none" any more, it
7538           didn't make any sense
7539
7540 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7541
7542         * counters.[Ch]
7543         * text2.C
7544         * paragraph.[Ch]
7545         * makefile.am: move counters functionality over
7546         from text2.C/paragraph.[Ch] to counters.[Ch], and
7547         make proper C++.
7548 2002-08-02  John Levon  <levon@movementarian.org>
7549
7550         * buffer.C: s/lyxconvert/lyx2lyx/
7551
7552 2002-08-02  Angus Leeming  <leeming@lyx.org>
7553
7554         * lyxlex.C: revert John's change as it breaks reading of the user
7555         preamble.
7556
7557 2002-08-02  Angus Leeming  <leeming@lyx.org>
7558
7559         * importer.C (Import):
7560         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7561         changes due to LyXView::view() now returning a boost::shared_ptr.
7562
7563 2002-08-02  John Levon  <levon@movementarian.org>
7564
7565         * lyxlex.C: small cleanup
7566
7567 2002-08-02  John Levon  <levon@movementarian.org>
7568
7569         * text2.C (status): small cleanup, no logic change
7570
7571 2002-08-01  John Levon  <levon@movementarian.org>
7572
7573         * buffer.h:
7574         * buffer.C (writeFile): don't output alerts, caller
7575           handles this
7576
7577         * bufferlist.C:
7578         * lyx_cb.C: from above
7579
7580         * lyxfunc.C: allow to open non-existent files
7581
7582 2002-07-31  John Levon  <levon@movementarian.org>
7583
7584         * lyxserver.C: don't let incidental errors get
7585           in the way (errno)
7586
7587 2002-07-30  John Levon  <levon@movementarian.org>
7588
7589         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7590
7591 2002-07-30  John Levon  <levon@movementarian.org>
7592
7593         * lyxserver.h:
7594         * lyxserver.C: remove I/O callback too
7595
7596 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7597
7598         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7599         log.
7600
7601 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7602
7603         * many files: strip,frontStrip -> trim,ltrim,rtrim
7604
7605 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * PrinterParams.h: remove extern containsOnly, and include
7608         support/lstrings.h instead.
7609
7610         * LaTeX.C (scanAuxFile): modify because of strip changes
7611         (deplog): ditto
7612         * buffer.C (makeLaTeXFile): ditto
7613         * bufferparams.C (writeFile): ditt
7614         * lyxfont.C (stateText): ditto
7615         * lyxserver.C (read_ready): ditto
7616         * vc-backend.C (scanMaster): ditto
7617
7618         * BufferView_pimpl.h: ws changes
7619
7620         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7621
7622 2002-07-26  André Pönitz <poenitz@gmx.net>
7623
7624         * kb_sequence.C: remove unnedred usings
7625
7626 2002-07-26  Juergen Vigna  <jug@sad.it>
7627
7628         * lyxfind.C (LyXReplace): we have to check better if the returned
7629         text is not of theLockingInset()->getLockingInset().
7630
7631 2002-07-25  Juergen Vigna  <jug@sad.it>
7632
7633         * lyxfind.C (LyXReplace): don't replace if we don't get the
7634         right LyXText.
7635
7636         * undo_funcs.C (createUndo): remove debugging code.
7637
7638 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7639
7640         * buffer.C (parseSingleLyXformat2Token): Use default placement
7641         when reading old floats.
7642
7643         * FloatList.C (FloatList): Change the default placement of figure
7644         and tables to "tbp".
7645
7646 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * MenuBackend.C: using std::max
7649
7650 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7651
7652         * MenuBackend.C (expandToc):
7653         (expandToc2): code moved from xforms menu frontend. It is now
7654         generic and TOCs are transparent to menu frontends.
7655
7656 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7657
7658         * toc.C (getTocList): protect against buf=0
7659
7660         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7661         Menu as first parameter. Now, this calls itself recursively to
7662         expand a whole tree (this will be useful for TOC handling)
7663         (expandFloatInsert): remove 'wide' version of floats
7664
7665         * MenuBackend.h (submenuname): returns the name of the submenu.
7666         (submenu): returns the submenu itself, provided it has been
7667         created by MenuBackend::expand
7668
7669 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7670
7671         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7672         insets which have noFontChange == true. (bug #172)
7673
7674 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7675
7676         * BufferView_pimpl.C: add connection objects and use them...
7677         (Pimpl): here.
7678
7679 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7680
7681         * MenuBackend.C (expandLastfiles):
7682         (expandDocuments):
7683         (expandFormats):
7684         (expandFloatListInsert):
7685         (expandFloatInsert):
7686         (expand): split expand in parts
7687
7688 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7689
7690         * lyx_gui.C: use lyx_gui::exit()
7691
7692 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7693
7694         * LyXAction.C: show the failing pseudo action
7695
7696 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7697
7698         * buffer.C (readFile): Run the lyxconvert script in order to read
7699         old files.
7700
7701 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7702
7703         * LyXAction.C:
7704         * commandtags.h:
7705         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7706
7707 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7708
7709         * LyXAction.C:
7710         * commandtags.h:
7711         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7712
7713 2002-07-22  Herbert Voss  <voss@lyx.org>
7714
7715         * lengthcommon.C:
7716         * lyxlength.[Ch]: add support for the vertical lengths
7717
7718 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7719
7720         * toc.[Ch]: std:: fixes
7721
7722 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7723
7724         * lyxrc.C: do not include lyx_main.h
7725
7726         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7727         for layouts
7728
7729         * lyxrc.C:
7730         * encoding.C:
7731         * bufferlist.C:
7732         * BufferView2.C: include "lyxlex.h"
7733
7734         * tabular.h:
7735         * bufferparams.h: do not #include "lyxlex.h"
7736
7737         * lyxtextclasslist.C (Add): remove method
7738         (classlist): renamed to classlist_
7739
7740         * paragraph_pimpl.C:
7741         * paragraph.C:
7742         * text2.C:
7743         * CutAndPaste.C:
7744         * bufferview_funcs.C:
7745         * bufferlist.C:
7746         * text.C:
7747         * LaTeXFeatures.C:
7748         * buffer.C:
7749         * toc.C (getTocList): use BufferParams::getLyXTextClass
7750
7751         * toc.C (getTocList): use InsetFloat::addToToc
7752
7753         * toc.[Ch]: new files, containing helper functions to handle table
7754         of contents
7755
7756         * lyxfunc.C (dispatch): no need to remove spaces around command
7757         given as a string
7758         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7759         first command of the sequence; it is not very clever, but I do not
7760         have a better idea, actually
7761
7762         * LyXAction.C (LookupFunc): make sure to remove space at the
7763         beginning and end of the command
7764
7765 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * MenuBackend.C (getMenubar): new method: return the menubar of
7768         this menu set
7769         (read): treat differently reading of menu and menubar (in
7770         particular, the menubar has no name now)
7771         (Menu::menubar): remove
7772
7773         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7774         saving is finished
7775
7776 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7777
7778         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7779         a bibitem inset in a RTL paragraph.
7780
7781 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7782
7783         * paragraph_pimpl.C: constify
7784
7785         * BufferView_pimpl.C:
7786         * LaTeX.C:
7787         * lyxfunc.C: fix dispatch in a nicer way
7788
7789 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7790
7791         * lyxfunc.C (dispatch):
7792         * BufferView_pimpl.C:
7793         * BufferView_pimpl.h:
7794         * BufferView.C:
7795         * BufferView.h: rename Dispatch() to dispatch()
7796
7797         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7798
7799         * lyxlayout.C (Read): honor DependsOn tag
7800
7801         * lyxlayout.[Ch] (depends_on): new method
7802
7803         * version.C.in: update lyx_docversion
7804
7805         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7806
7807         * paragraph.C (validate): remove from here...
7808         * paragraph_pimpl.C (validate): ... and move here
7809         (isTextAt): make it const
7810
7811         * buffer.C (getLists): ws cleanup
7812
7813 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * language.C (read): Use iso8859-1 encoding in latex_lang
7816         (this prevents LyX from crashing when using iso10646-1 encoding).
7817
7818 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * text2.C (toggleInset): if cursor is inside an inset, close the
7821         inset and leave cursor _after_ it
7822
7823 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * lyxfunc.C: move minibuffer completion handling out of here
7826
7827 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7828
7829         * BufferView_pimpl.C:
7830         * LaTeX.C: fix dispatch calls
7831
7832 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7833
7834         * text.C (drawChars): Fix Arabic text rendering.
7835
7836 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * LyXAction.C:
7839         * commandtags.h:
7840         * lyxfunc.C: remove message-push/pop
7841
7842         * lyxserver.C:
7843         * lyxfunc.h:
7844         * lyxfunc.C: rationalise some code by removing verboseDispatch
7845           in favour of a bool argument to dispatch()
7846
7847 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7848
7849         * lyx_main.C (init): make sure to read symlinks as absolute paths
7850
7851 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * lyxfunc.h:
7854         * lyxfunc.C: no need for commandshortcut to be a member
7855
7856 2002-07-15  André Pönitz <poenitz@gmx.net>
7857
7858         * converter.C: add support for $$s (scripts from lib/scripts dir)
7859         * lyx_main.C: white space
7860
7861 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * bufferlist.C:
7864         * lyxrc.h:
7865         * lyxrc.C: remove second exit confirmation
7866
7867 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * BufferView.h:
7870         * BufferView.C:
7871         * BufferView2.C:
7872         * BufferView_pimpl.h:
7873         * BufferView_pimpl.C:
7874         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7875
7876 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7877
7878         * MenuBackend.C (expand): add numeric shortcuts to document menu
7879
7880         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7881
7882 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7883
7884         * lyxfont.C (setLyXFamily):
7885         (setLyXSeries):
7886         (setLyXShape):
7887         (setLyXSize):
7888         (setLyXMisc):
7889         (lyxRead):
7890         * debug.C (value):
7891         * buffer.C (asciiParagraph): use ascii_lowercase
7892
7893 2002-07-15  Mike Fabian  <mfabian@suse.de>
7894
7895         * lyxlex_pimpl.C (search_kw):
7896         * lyxlex.C (getLongString):
7897         * converter.h (operator<):
7898         * converter.C (operator<):
7899         * buffer.C (parseSingleLyXformat2Token):
7900         (asciiParagraph):
7901         * ToolbarDefaults.C (read):
7902         * MenuBackend.C (checkShortcuts):
7903         (read):
7904         * LColor.C (getFromGUIName):
7905         (getFromLyXName): use the compare_ascii_no_case instead of
7906         compare_no_case, because in turkish, 'i' is not the lowercase
7907         version of 'I', and thus turkish locale breaks parsing of tags.
7908
7909 2002-07-16  Angus Leeming  <leeming@lyx.org>
7910
7911         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7912         now takes a Buffer const & argument.
7913
7914 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7915
7916         * BufferView.C (resize): check there's a buffer to resize
7917
7918 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * lyxfunc.C: remove dead code
7921
7922         * lyxserver.h:
7923         * lyxserver.C: use lyx_guii::set_read_callback
7924
7925 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7926
7927         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7928         an inset in a RTL paragraph.
7929
7930 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7931
7932         * lyxfunc.C: repaint after a font size update
7933
7934 2002-07-15  André Pönitz <poenitz@gmx.net>
7935
7936         * lyxlength.C: inBP should be able to return negative values
7937
7938 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7939
7940         * lyxfunc.C: use lyx_gui::update_fonts()
7941
7942 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7943
7944         * lyxfunc.C: use lyx_gui::update_color()
7945
7946 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * bufferlist.C:
7949         * lyxfunc.h:
7950         * lyxfunc.C:
7951         * lyxrc.h:
7952         * lyxrc.C: remove file->new asks for name option, and let
7953           buffer-new take an argument
7954
7955 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7956
7957         * BufferView_pimpl.C: remove unneeded extra repaint()
7958
7959 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * LyXAction.C: allow command-sequence with NoBuffer
7962
7963         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7964
7965 2002-07-10  Angus Leeming  <leeming@lyx.org>
7966
7967         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7968
7969 2002-07-09  Angus Leeming  <leeming@lyx.org>
7970
7971         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7972
7973 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7974
7975         * lengthcommon.h: whitespace
7976
7977         * lyxfunc.C: update scrollbar after goto paragraph
7978
7979         * lyxtext.h: factor out page break drawing, and fix it so
7980           page break/added space paints as selected nicely
7981
7982 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7983
7984         * BufferView_pimpl.C: add FIXMEs, clean up a little
7985
7986 2002-07-09  André Pönitz <poenitz@gmx.net>
7987
7988         * lyxfont.[Ch]: support for wasy symbols
7989
7990 2002-07-08  André Pönitz <poenitz@gmx.net>
7991
7992         * BufferView_pimpl.C: apply John's patch for #93.
7993
7994 2002-07-05  Angus Leeming  <leeming@lyx.org>
7995
7996         * BufferView_pimpl.C (buffer): generate previews if desired.
7997
7998         * LColor.h: add "preview" to the color enum.
7999
8000         * LColor.C (LColor): add a corresponding entry to the items array.
8001
8002         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8003         with this buffer.
8004
8005 2002-07-05  Angus Leeming  <leeming@lyx.org>
8006
8007         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8008         The body of the code is now in the method that is passed an ostream &
8009         rather than a file name.
8010         Pass an additional only_preamble parameter, useful for the forthcoming
8011         preview stuff.
8012
8013 2002-07-03  André Pönitz <poenitz@gmx.net>
8014
8015         * lyxfunc.C: simplify getStatus() a bit for math stuff
8016
8017 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8018
8019         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8020
8021 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8022
8023         * text.C (changeRegionCase): do not change case of all the
8024         document when region ends at paragraph end (bug #461)
8025
8026 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8027
8028         * paragraph.C (startTeXParParams):
8029         (endTeXParParams): add \protect when necessary
8030
8031 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8032
8033         * BufferView_pimpl.C (workAreaExpose): remove warning
8034
8035 2002-06-27  Angus Leeming  <leeming@lyx.org>
8036
8037         * Makefile.am: add lyxlayout_ptr_fwd.h.
8038
8039 2002-06-26  André Pönitz <poenitz@gmx.net>
8040
8041         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8042
8043 2002-06-25  Angus Leeming  <leeming@lyx.org>
8044
8045         * lyxfunc.C (dispatch): Comment out the call to
8046         grfx::GCache::changeDisplay. The method no longer exists now that the
8047         pixmap generation part of the graphics loader has been moved into
8048         InsetGraphics.
8049
8050 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8051
8052         * text2.C: layout as layout
8053
8054         * text.C: layout as layout
8055
8056         * tabular.C (OldFormatRead): layout as layout
8057
8058         * paragraph_pimpl.C (TeXDeeper): layout as layout
8059         (realizeFont): layout as layout
8060
8061         * paragraph.C (writeFile): layout as layout
8062         (validate): layout as layout
8063         (getFont): layout as layout
8064         (getLabelFont): layout as layout
8065         (getLayoutFont): layout as layout
8066         (breakParagraph): layout as layout
8067         (stripLeadingSpaces): layout as layout
8068         (getEndLabel): layout as layout
8069         (getMaxDepthAfter): layout as layout
8070         (applyLayout): layout as layout
8071         (TeXOnePar): layout as layout
8072         (simpleTeXOnePar): layout as layout
8073         (TeXEnvironment): layout as layout
8074         (layout): layout as layout
8075         (layout): layout as layout
8076
8077         * lyxtextclass.C (compare_name): new functor to work with
8078         shared_ptr, layout as layout
8079         (Read): layout as layout
8080         (hasLayout): layout as layout
8081         (operator): layout as layout
8082         (delete_layout): layout as layout
8083         (defaultLayout): layout as layout
8084
8085         * lyxlayout_ptr_fwd.h: new file
8086
8087         * lyxlayout.C (Read): layout as layout
8088
8089         * lyx_cb.C (MenuInsertLabel): layout as layout
8090
8091         * bufferlist.C (newFile): layout as layout
8092
8093         * buffer.C (readLyXformat2): layout as layout
8094         (parseSingleLyXformat2Token): layout as layout
8095         (insertStringAsLines): layout as layout
8096         (asciiParagraph): layout as layout
8097         (latexParagraphs): layout as layout
8098         (makeLinuxDocFile): layout as layout
8099         (simpleLinuxDocOnePar): layout as layout
8100         (makeDocBookFile): layout as layout
8101         (simpleDocBookOnePar): layout as layout
8102         (getLists): layout as layout
8103
8104         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8105
8106         * CutAndPaste.C (cutSelection): layout as layout
8107         (pasteSelection): layout as layout
8108         (SwitchLayoutsBetweenClasses): layout as layout
8109
8110         * BufferView_pimpl.C (Dispatch): layout as layout
8111         (smartQuote): layout as layout
8112
8113         * BufferView2.C (unlockInset): layout as layout
8114
8115 2002-06-24  André Pönitz <poenitz@gmx.net>
8116
8117         * lyxfunc.C: fix #487
8118
8119 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * lyxrc.h:
8122         * lyxrc.C:
8123         * lyxfunc.C: remove display_shortcuts, show_banner
8124
8125 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * Buffer_pimpl.C: oops, update on resize
8128
8129 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8130
8131         * buffer.C:
8132         * converter.C:
8133         * exporter.C:
8134         * lyxfunc.C:
8135         * BufferView.h:
8136         * BufferView.C: use repaint()
8137
8138         * BufferView_pimpl.h:
8139         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8140           as it's a clearer description. Remove superfluous
8141           redraws.
8142
8143 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * text.C: fix bug 488. Not ideal, but getting
8146           getWord() to work properly for the insets that
8147           matter is more difficult ...
8148
8149 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * BufferView_pimpl.C:
8152         * LyXAction.C:
8153         * commandtags.h:
8154         * lyxfunc.C: remove the six million index lyxfuncs to just
8155           one, and DTRT (bug 458)
8156
8157 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8158
8159         * BufferView.h:
8160         * BufferView.C:
8161         * BufferView_pimpl.h:
8162         * BufferView_pimpl.C: clean up resize() stuff,
8163           and unnecessary updateScreen()s
8164
8165 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * BufferView.h:
8168         * BufferView.C:
8169         * BufferView_pimpl.h:
8170         * BufferView_pimpl.C:
8171         * lyxfind.h:
8172         * lyxfind.C:
8173         * minibuffer.C: remove focus management of workarea,
8174           not needed. Use screen's greyOut()
8175
8176 2002-06-17  Herbert Voss  <voss@lyx.org>
8177
8178         * converter.C: (convert) do not post a message, when converting
8179         fails, let the calling function decide what to do in this case
8180
8181 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8182
8183         * lyxfunc.C: tidy up a little
8184
8185 2002-06-16    <alstrup@diku.dk>
8186
8187         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8188         Got rid of FORMS_H_LOCATION include. Now we are
8189         GUII.
8190
8191 2002-06-15  LyX Development team  <lyx@rilke>
8192
8193         * buffer.[Ch] (sgmlOpenTag):
8194         (sgmlCloseTag): Added support for avoiding pernicious mixed
8195         content. Return number of lines written.
8196
8197         (makeLinuxDocFile):
8198         (makeDocBookFile): Fixed calls to sgml*Tag.
8199         Simple white space clean.
8200
8201         (simpleDocBookOnePar): Simple white space clean.
8202
8203         * tabular.[Ch] (docBook): Renamed to docbook and got another
8204         argument to related with the pernicious mixed content.
8205
8206         (docbookRow): Fixed calls for docbook inset method.
8207
8208 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8209
8210         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8211         so it's X11 independent.
8212
8213         * kb*.[Ch]: ditto.
8214
8215         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8216
8217 2002-06-15  Lyx Development team  <lyx@electronia>
8218
8219         * intl.h: Renamed getTrans to getTransManager.
8220
8221 2002-06-14  Angus Leeming  <leeming@lyx.org>
8222
8223         * Makefile.am: nuke forgotten stl_string_fwd.h.
8224
8225 2002-06-12  Angus Leeming  <leeming@lyx.org>
8226
8227         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8228
8229 2002-06-13  Angus Leeming  <leeming@lyx.org>
8230
8231         * LaTeX.C:
8232         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8233
8234 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8235
8236         * kbmap.C (getiso): add support for cyrillic and greek
8237
8238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8239
8240         * BufferView.h:
8241         * BufferView.C:
8242         * BufferView_pimpl.h:
8243         * BufferView_pimpl.C: move bogus scrolling logic
8244           to xforms
8245
8246 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * lyxfunc.C:
8249         * BufferView_pimpl.C: view->resize() change
8250
8251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * BufferView_pimpl.C: topCursorVisible
8254           prototype change
8255
8256 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * Makefile.am:
8259         * lyx_gui.h:
8260         * lyx_gui.C: move to frontends/
8261
8262         * main.C:
8263         * lyx_main.h:
8264         * lyx_main.C: changes from above
8265
8266 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8267
8268         * intl.C:
8269         * intl.h:
8270         * kbmap.C:
8271         * kbsequence.C:
8272         * lyx_cb.C:
8273         * lyx_main.C: minor tidy
8274
8275 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * BufferView_pimpl.h:
8278         * BufferView_pimpl.C:
8279         * BufferView.h:
8280         * BufferView.C: make painter() const,
8281           remove dead code
8282
8283         * BufferView2.C: use screen() accessor
8284
8285         * lyx_main.h:
8286         * lyx_main.C: some minor cleanup
8287
8288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8289
8290         * BufferView_pimpl.h:
8291         * BufferView_pimpl.C: remove enter/leaveView,
8292           use workHeight()
8293
8294 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8295
8296         * BufferView.h:
8297         * BufferView.C:
8298         * BufferView2.C:
8299         * BufferView_pimpl.h:
8300         * BufferView_pimpl.C: only construct screen once,
8301           rename
8302
8303         * lyxrc.C: remove pointless comment
8304
8305 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * BufferView.h:
8308         * BufferView.C: remove active() and belowMouse()
8309
8310         * BufferView_pimpl.h:
8311         * BufferView_pimpl.C: use workarea() not workarea_,
8312           and make it use a scoped_ptr instead
8313
8314 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * lyx_gui.C: add debug message on BadWindow
8317
8318 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8319
8320         * sp_spell.C: fdopen is not part of the C++ standard.
8321
8322         * paragraph.C (InsetIterator): use >= instead of ==
8323
8324 2002-06-07  Angus Leeming  <leeming@lyx.org>
8325
8326         Fixes needed to compile with Compaq cxx 6.5.
8327         * BufferView_pimpl.C:
8328         * DepTable.C:
8329         * buffer.C:
8330         * converter.C:
8331         * encoding.C:
8332         * lyx_gui.C:
8333         * lyx_main.C:
8334         * lyxtextclasslist.C:
8335         * minibuffer.C:
8336         * sp_spell.C:
8337         * tabular_funcs.C:
8338         * vc-backend.C:
8339         all c-library variables have been moved into namespace std. Wrap
8340         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8341
8342         * lyxlength.C:
8343         * tabular-old.C:
8344         * tabular.C:
8345         Add a using std::abs declaration.
8346
8347         * kbmap.h (modifier_pair):
8348         * paragraph.h (InsetTable, InsetList):
8349         * lyxfont.h (FontBits):
8350         type definition made public.
8351
8352         * bufferlist.C (emergencyWriteAll): the compiler complains that
8353         there is more than one possible lyx::class_fun template to choose from.
8354         I re-named the void specialisation as lyx::void_class_fun.
8355
8356         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8357
8358         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8359         the compiler is is unable to find tostr in write_attribute.
8360
8361 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * buffer.C (sgmlError): hide #warning
8364
8365 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * xtl/*: get rid of xtl, which is not in use anyway
8368
8369         * LyXAction.C (init):
8370         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8371         were unimplemented xtl experimentation
8372
8373 2002-06-04  André Pönitz <poenitz@gmx.net>
8374
8375         * lyxfunc.C: disable array operation on simple formulae
8376
8377 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * converter.C: constify a bit
8380
8381 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * lyx_gui.C: check xforms version correctly
8384
8385 2002-04-30  Herbert Voss  <voss@lyx.org>
8386
8387         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8388         "keep" option
8389
8390 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8393           attempt to register it with a VCS)
8394
8395 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8396
8397         * lyx_main.C (init): honor variables LYX_DIR_13x and
8398         LYX_USERDIR_13x
8399
8400 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8401
8402         * buffer.h:
8403         * buffer.C:
8404         * lyx_main.C: fix a crash on bad command line,
8405           and give a useful exit status on error
8406
8407         * lyxfunc.C (doImport): allow -i lyx to work
8408
8409 2002-03-30  André Pönitz <poenitz@gmx.net>
8410
8411         * lyxfunc.C: mathed font changes
8412
8413 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * LaTeX.C:
8416         * importer.h:
8417         * importer.C:
8418         * lyx_sty.h:
8419         * lyx_sty.C:
8420         * lyxlex.C:
8421         * lyxrow.h:
8422         * lyxtext.h:
8423         * paragraph.h:
8424         * paragraph.C:
8425         * texrow.h:
8426         * texrow.C:
8427         * text.C:
8428         * trans_mgr.h: srcdocs, and some minor cleanups
8429
8430 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8431
8432         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8433         call getFont all the time)
8434
8435 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8436
8437         * switch from SigC signals to boost::signals
8438
8439 2002-05-29  André Pönitz <poenitz@gmx.net>
8440
8441         * paragraph_pimpl.C (getChar): don't call size() too often...
8442
8443 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * paragraph_pimpl.C (insertChar): do not try to update tables when
8446         appending (pos == size())
8447
8448         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8449         in order to reduce drastically the number of comparisons needed to
8450         parse a large document
8451
8452 2002-05-29  André Pönitz <poenitz@gmx.net>
8453
8454         * text.C:
8455         * text2.C:
8456         * lyxtextclass.C:
8457         * sp_pspell.h:
8458         * textclasslist.[Ch]:
8459         * sp_ispell.h: whitespace change
8460
8461 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8462
8463         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8464         lyxaction directly now.
8465
8466 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8467
8468         * trans.C:
8469         * lyxfont.C:
8470         * lyxvc.C: remove unused headers
8471
8472 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8473
8474         * Makefile.am:
8475         * buffer.h:
8476         * undostack.h:
8477         * undostack.C:
8478         * undo_funcs.h:
8479         * undo_funcs.C: some cleanups. Use shared_ptr
8480           and a template for the undo stacks.
8481
8482 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8483
8484         * BufferView_pimpl.h:
8485         * BufferView_pimpl.C:
8486         * kbmap.h:
8487         * kbmap.C:
8488         * kbsequence.h:
8489         * kbsequence.C:
8490         * lyxfunc.h:
8491         * lyxfunc.C:
8492         * text2.C: use key_state/mouse_state
8493
8494 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8495
8496         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8497         and LSubstring
8498
8499         * chset.C: change include order
8500         (loadFile): use boost regex and get rid of LRegex and LSubstring
8501
8502         * Makefile.am (BOOST_LIBS): new variable
8503         (lyx_LDADD): use it
8504
8505         * LaTeX.C: change include order.
8506         (scanAuxFile): use boost regex and get rid of LRegex and
8507         LSubstring
8508         (deplog): ditto
8509
8510 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * ColorHandler.h:
8513         * ColorHandler.C:
8514         * FontInfo.h:
8515         * FontInfo.C: moved to frontends/xforms/
8516
8517         * FontLoader.h:
8518         * FontLoader.C: moved into frontends for GUIIzation
8519
8520         * Makefile.am:
8521         * lyx_gui.C:
8522         * lyxfont.C:
8523         * lyxfunc.C: changes from above
8524
8525 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * LColor.C: remove spurious X include
8528
8529         * BufferView_pimpl.C:
8530         * Makefile.am:
8531         * font.h:
8532         * font.C:
8533         * text.C:
8534         * text2.C: move font metrics to frontends/
8535
8536 2002-05-24  Juergen Vigna  <jug@sad.it>
8537
8538         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8539         setting the undo_cursor.
8540
8541         * ParagraphParameters.h: include local includes first.
8542
8543 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * BufferView_pimpl.C:
8546         * BufferView_pimpl.h:
8547         * Makefile.am:
8548         * WorkArea.h:
8549         * WorkArea.C:
8550         * screen.C: move WorkArea into frontends/
8551
8552         * lyxscreen.h:
8553         * screen.C:
8554         * text.C:
8555         * BufferView.C:
8556         * BufferView2.C: move LyXScreen into frontends/
8557
8558         * lyxlookup.h:
8559         * lyxlookup.C:
8560         * lyx_gui.C: move lyxlookup into frontends/xforms/
8561
8562 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8563
8564         * BufferView2.C:
8565         * BufferView_pimpl.C:
8566         * FontLoader.C:
8567         * LyXView.h:
8568         * LyXView.C:
8569         * Makefile.am:
8570         * WorkArea.C:
8571         * XFormsView.h:
8572         * XFormsView.C:
8573         * buffer.C:
8574         * bufferlist.C:
8575         * bufferview_funcs.C:
8576         * converter.C:
8577         * importer.C:
8578         * lyx_cb.C:
8579         * lyx_gui.C:
8580         * lyx_main.C:
8581         * lyx_find.C:
8582         * lyxfunc.C:
8583         * lyxvc.C:
8584         * minibuffer.C:
8585         * text.C:
8586         * text2.C:
8587         * trans.C:
8588         * vc-backend.C: move LyX/XFormsView into frontends/
8589
8590 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8591
8592         * Makefile.am:
8593         * PainterBase.C:
8594         * PainterBase.h:
8595         * Painter.C:
8596         * Painter.h:
8597         * WorkArea.C:
8598         * WorkArea.h:
8599         * screen.C:
8600         * tabular.C:
8601         * text.C:
8602         * text2.C: move Painter to frontends/
8603
8604 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * buffer.C: comment out some some code that depend upon lyx_format
8607         < 220
8608
8609         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8610         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8611
8612         * buffer.h (NO_COMPABILITY): turn off compability
8613
8614         * ColorHandler.C: include scoped_array.hpp
8615
8616         * font.C: Use more specific smart_ptr header.
8617         * Painter.C: ditto
8618         * gettext.C: ditto
8619         * ShareContainer.h: ditto
8620         * lyx_main.h: ditto
8621         * kbmap.h: ditto
8622         * FontInfo.h: ditto
8623         * BufferView_pimpl.h: ditto
8624         * ColorHandler.h: ditto
8625
8626         * kbmap.C (defkey): change call to shared_ptr::reset
8627
8628 2002-05-21  Juergen Vigna  <jug@sad.it>
8629
8630         * buffer.C (insertErtContents): fix to insert ert asis if it is
8631         non empty. Skip it completely if it contains only whitespaces.
8632
8633 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8634
8635         * BufferView_pimpl.C:
8636         * BufferView2.C: clear selection on paste (bug 393)
8637
8638 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * DepTable.C: include ctime
8641
8642 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8643
8644         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8645
8646 2002-05-14  Juergen Vigna  <jug@sad.it>
8647
8648         * text.C (breakParagraph): fixed function to honor the keepempty
8649         layout in the right maner and also to permit the right breaking
8650         algorithm on empty or non empyt keepempty paragraphs.
8651
8652         * paragraph.C (breakParagraph): we have to check also if the par
8653         is really empty (!size()) for isempty otherwise we do the wrong
8654         paragraph break.
8655
8656 2002-05-10  Juergen Vigna  <jug@sad.it>
8657
8658         * buffer.[Ch] : The following are only changes to the ert
8659         compatibility read reading old LaTeX layout and font stuff and
8660         convert it to ERTInsets.
8661
8662         * buffer.h: added isErtInset().
8663
8664         * buffer.C (struct ErtComp): add a fromlayout bool to check
8665         if we're inside a LaTeX layout.
8666         (isErtInset): new helper function.
8667         (insertErtContents): look for other ert insets before this one
8668         and insert the contents there, so that we don't have subsequent
8669         ERT insets with nothing between them. This way we create only one
8670         inset with multiple paragraphs. Also check if we don't insert only
8671         spaces ' ' as they are ignored anyway afterwards in the .tex file
8672         so if we have only spaces we will ignore this latex part in the
8673         new file.
8674         (parseSingleLyXformat2Token \\layout): better compatibility when
8675         reading layout-latex stuff.
8676         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8677         language tag.
8678         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8679         stuff after reading the inset only get the information back from
8680         the stack.
8681
8682 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8683
8684         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8685
8686         * LaTeXFeatures.C (getBabelOptions): New method.
8687
8688 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8689
8690         * BufferView_pimpl.C (Dispatch): work around missing argument for
8691         'layout'
8692
8693 2002-05-08  Juergen Vigna  <jug@sad.it>
8694
8695         * text.C (leftMargin): handle paragraph leftindent.
8696
8697         * paragraph.C (writeFile): write the new \\leftindent tag.
8698         (validate): handle leftindent code.
8699         (TeXEnvironment): handle paragraphleftindent code again.
8700
8701         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8702
8703         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8704         for paragrap_extra indent code and new token \\leftindent.
8705         (latexParagraphs): handle the leftindent as environment.
8706
8707         * ParameterStruct.h: added leftindent support.
8708
8709         * ParagraphParameters.C (leftIndent): added support functions for
8710         the paragraph left indent.
8711
8712         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8713         more appropriate.
8714
8715 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8716
8717         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8718         inside insetERT.
8719
8720         * text.C (computeBidiTables): No bidi in insetERT.
8721
8722         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8723         in RTL documents.
8724
8725 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8726
8727         * version.C.in: pre 5
8728
8729 2002-05-02  José Matos  <jamatos@fep.up.pt>
8730         * buffer.C (makeDocBookFile): white space changes, add newline to
8731         command styles.
8732         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8733
8734         * tabular.C (docBook): fix typo.
8735
8736 2002-05-03  Juergen Vigna  <jug@sad.it>
8737
8738         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8739         change in LyXText as we can not be sure it was not freed.
8740         (drawOneRow): remove unused code.
8741
8742         * text.C (drawInset): redo the calculation of the need_break_row as
8743         it could have a row which was already freed.
8744         (draw): look at the return value of drawInset and return false if
8745         it also returned false.
8746         (paintRowText): look at the return value of draw and return false if
8747         it also returned false.
8748
8749         * lyxtext.h: added bool return type to drawInset() and draw() so that
8750         if we have a change in the row so that the rowbreak has to be redone
8751         we abort drawing as it will be called again.
8752
8753 2002-05-02  Juergen Vigna  <jug@sad.it>
8754
8755         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8756         a change in the maintext also if we're inside an inset.
8757         (Dispatch): set the cursor again after a break line and after the
8758         screen has been updated as it could be we're in a different row.
8759
8760         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8761         to set the cursor behind the pargraph with > size().
8762         (setCursor): check also for the same paragraph when checking where
8763         to put the cursor if we have a NFR inset.
8764
8765         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8766         parts of layout read further up as it still was in the wrong
8767         position.
8768
8769 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8770
8771         * screen.C (drawFromTo): change sine fullRebreak always return
8772         true.
8773
8774         * buffer.C (parseSingleLyXformat2Token): reindent some
8775
8776         * BufferView_pimpl.C (update): change since fullRebreak always
8777         return true.
8778         (Dispatch): git rid of the last hardcoded "Standard"s.
8779
8780 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8781
8782         * text2.[Ch] (fullRebreak): make it return void now that we always
8783         returned true.
8784
8785 2002-04-30  Juergen Vigna  <jug@sad.it>
8786
8787         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8788         ert compatibility check for "latex" layout.
8789
8790 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8791
8792         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8793         minipages: use col% instead of p%, and also use the current font.
8794         (makeLaTeXFile): Fix use babel condition.
8795         (parseSingleLyXformat2Token): Correct font when reading old floats.
8796
8797 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8798
8799         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8800         inserting list of floats.
8801
8802 2002-04-25  Herbert Voss  <voss@lyx.org>
8803
8804         * MenuBackend.C (expand): don't add the graphics extensions to the
8805         export menu
8806
8807 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8810         non-existing layout, do not complain if it was the default layout
8811         of the original class (bug #342)
8812
8813 2002-04-24  Juergen Vigna  <jug@sad.it>
8814
8815         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8816         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8817
8818 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8819
8820         * buffer.C (getBibkeyList): If using \bibliography, return the
8821         option field with the reference itself. Enables us to provide natbib
8822         support when using \bibliography.
8823
8824 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8825
8826         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8827
8828         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8829         natbib is provided by the LaTeX class.
8830
8831 2002-04-23  Juergen Vigna  <jug@sad.it>
8832
8833         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8834         Wakeup functions.
8835
8836         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8837
8838 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8841
8842         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8843         ensuremath around textordmasculine, textordfeminine and
8844         textdegree.
8845
8846 2002-04-19  Juergen Vigna  <jug@sad.it>
8847
8848         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8849         reinitializing the buffer otherwise row-dimensions may be wrong.
8850         (update): reset also the selection cursors if they do exits otherwise
8851         their x/y positions may be wrong.
8852
8853         * text2.C (cursorDown): don't enter the inset if we came from a row
8854         above and are one row over the inset.
8855
8856         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8857         really leaving an inset.
8858
8859 2002-04-18  Juergen Vigna  <jug@sad.it>
8860
8861         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8862         of the selected paragraph does not have the selected layout also if
8863         the last one had!
8864
8865         * text2.C (setLayout): fixed bug which did not change last selected
8866         paragraph.
8867
8868         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8869         changed the read and substituted \\end_float with \\end_inset!
8870
8871         * BufferView_pimpl.C (cursorPrevious):
8872         (cursorNext): fixed to make it work with rows heigher than the work
8873         area without moving the cursor only the draw of the row.
8874         (workAreaMotionNotify): fix jumping over high rows.
8875
8876 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8877
8878         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8879         Ressler.
8880
8881 2002-04-16  Juergen Vigna  <jug@sad.it>
8882
8883         * text2.C (setCursor): set also the irow().
8884         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8885         (cursorUp):
8886         (cursorDown): support for locking an inset if the x_fix value goes
8887         inside it. That way I can transverse insets too with cursor up/down.
8888
8889         * lyxrow.h: added irow helper function same as other (i) functions.
8890
8891         * BufferView_pimpl.C (cursorPrevious):
8892         (cursorNext): fixed for insets!
8893
8894 2002-04-15  Juergen Vigna  <jug@sad.it>
8895
8896         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8897         position otherwise it is wrong in some cases.
8898
8899         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8900         inside the inset before the call.
8901
8902 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8903
8904         * buffer.[Ch] (getBibkeyList): make it const.
8905
8906 2002-04-12  Juergen Vigna  <jug@sad.it>
8907
8908         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8909
8910         * text2.C (getCursorX): new helper function
8911         (setCursor): compute also ix_
8912         (setCursorFromCoordinates): set also ix.
8913
8914         * lyxcursor.h: added ix_ and helper functions.
8915
8916         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8917
8918         * buffer.C (insertStringAsLines): dont break paragraph if the this
8919         paragraph is inside an inset which does not permit it!
8920
8921         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8922         also with no chars on this paragraph.
8923         (paintRowText): only paint stuff if it's inside the workarea!
8924
8925         * paragraph.C (breakParagraph): honor keepempty flag and break the
8926         paragraph always below not above.
8927
8928         * BufferView2.C (unlockInset): update the paragraph layout on inset
8929         unlock as we changed paragraph in such a case.
8930
8931         * lyxfind.C (LyXFind): clear the former selection if not found!
8932
8933         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8934         again called in insertChar().
8935
8936         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8937         an inset which uses the whole row!
8938         (rightMargin): ditto.
8939         (insertChar): force a rebreak if we inserted an inset!
8940
8941 2002-03-28  Herbert Voss  <voss@lyx.org>
8942
8943         * lyxlength.[Ch]: add inBP() to get the right PS-point
8944         units (BigPoint). With inPixels we have rounding errors
8945
8946 2002-04-11  Juergen Vigna  <jug@sad.it>
8947
8948         * text2.C (setCursorFromCoordinates): set iy to the right value.
8949         (setCursor): add check if row->previous exists!
8950
8951         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8952         an old float_type as this was the case in the old code!
8953
8954         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8955
8956         * BufferView2.C (showLockedInsetCursor): use iy
8957         (fitLockedInsetCursor): ditto
8958
8959         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8960         locked insets as there we have the right value now.
8961
8962         * lyxcursor.C: added iy_ variable and iy functions to set to the
8963         baseline of cursor-y of the locked inset.
8964
8965         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8966         (setCursor): fixed for insets which need a full row.
8967
8968         * text.C (rowLastPrintable): don't ignore the last space when before
8969         an inset which needs a full row.
8970         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8971         as last character of a row when before a inset which needs a full row.
8972
8973 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8974
8975         * version.C.in: update date
8976
8977         * text2.C (fullRebreak): try to always return true and see what
8978         happens...
8979
8980 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * MenuBackend.C (expand): use Floating::listName
8983
8984         * FloatList.C (FloatList): add listName argument to the built-in
8985         floats
8986
8987         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8988         text associated with the float.
8989
8990 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8993
8994 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8995
8996         * ShareContainer.h: add a couple of missing typenames.
8997
8998 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8999
9000         * lyxrc.C (getDescription): use _() correctly rather than N_().
9001
9002 2002-03-28  Herbert Voss  <voss@lyx.org>
9003
9004         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9005         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9006
9007 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9010         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9011
9012 2002-03-29  Juergen Vigna  <jug@sad.it>
9013
9014         * lyxfunc.C (dispatch): add a missing fitCursor call.
9015
9016         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9017         it was scrolled by a cursor move, so return the bool status.
9018
9019         * BufferView.C (fitCursor): return the bool flag also to the outside
9020         world as this is needed.
9021
9022         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9023
9024         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9025         call the edit() as it is not needed (and wrong) IMO.
9026         (workAreaButtonPress): set the screen_first variable before evt.
9027         unlock the inset as this may change screen_first and then we have
9028         a wrong y position for the click!
9029
9030 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * MenuBackend.C (expand): another translation that I missed
9033
9034 2002-03-28  Juergen Vigna  <jug@sad.it>
9035
9036         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9037
9038         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9039
9040 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9043
9044         * MenuBackend.C (expand): fix export/view/update when there is no
9045         document open.
9046
9047 2002-03-27  Herbert Voss  <voss@lyx.org>
9048
9049         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9050         and text%
9051
9052 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9053
9054         * bufferview_funcs.C (currentState): only show paragraph number
9055         for is DEVEL_VERSION is set.
9056
9057         * lyxfunc.C (dispatch): put warning in INFO channel
9058
9059         * MenuBackend.C (expand): translate the name of floats
9060
9061         * FloatList.C (FloatList): mark the float names for translation
9062
9063         * converter.C (convert): use LibScriptSearch
9064
9065 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9066
9067         * MenuBackend.C (defaults): fix default menu (we might as well get
9068         rid of it...)
9069
9070 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9071
9072         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9073         directory.
9074
9075 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * lyxvc.C: reorder includes.
9078
9079 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9080
9081         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9082           properly
9083
9084 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * CutAndPaste.C: change layouts earlier on paste
9087           to avoid crashing when calling getFont()
9088
9089 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9090
9091         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9092         irritating #error.
9093
9094 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9095
9096         * WorkArea.C: remove 'Pending' debug message.
9097
9098         * most files: ws cleanup
9099
9100         * buffer.[Ch]: ws changes
9101
9102         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9103
9104 2002-03-21  Juergen Vigna  <jug@sad.it>
9105
9106         * tabular.C (SetMultiColumn): collapse also the contents of the
9107         cells and set the last border right. Added a Buffer const * param.
9108
9109 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9112         linking or not.
9113
9114 2002-03-19  Juergen Vigna  <jug@sad.it>
9115
9116         * text2.C (clearSelection): reset also xsel_cache.
9117
9118         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9119         where it needs to be called (John tells us to do so too :)
9120         (selectionLost): reset sel_cache.
9121
9122         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9123
9124 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * text2.C (setCursorIntern): put debuging code in INSETS channel
9127
9128 2002-03-19  André Pönitz <poenitz@gmx.net>
9129
9130         * lyxfunc.C: tiny whitespace change
9131
9132 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * ToolbarDefaults.C (init):
9135         * LyXAction.C (init):
9136         * commandtags.h:
9137         * BufferView_pimpl.C (Dispatch):
9138         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9139
9140 2002-03-19  Allan Rae  <rae@lyx.org>
9141
9142         * exporter.C (Export): removeAutoInsets before doing anything else.
9143         While I've just introduced a dependency on BufferView this really is
9144         the best place to clean the buffer otherwise you need to cleanup in
9145         a dozen places before calling export or cleanup in a dozen functions
9146         that export calls.
9147
9148         * converter.C (runLaTeX):
9149         (scanLog): Better handling of removeAutoInsets and screen updates.
9150
9151         * lyxfunc.C (dispatch): small whitespace changes
9152
9153 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9154
9155         * WorkArea.C (C_WorkAreaEvent): return a value.
9156         (event_cb): return 1 if we handled the event, 0 otherwise.
9157
9158         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9159
9160 2002-03-18  Juergen Vigna  <jug@sad.it>
9161
9162         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9163         (GetAdditionalWidth): ditto.
9164         (RightLine): ditto.
9165         (LeftLine): ditto.
9166
9167         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9168         inset if we're there actually (probably not used right now but this
9169         is the direction to go for unifying code).
9170         (paste): disable code to clear the selection.
9171
9172         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9173         inside an InsetText and move the check further up as it is in the
9174         wrong place.
9175
9176         * text2.C (pasteSelection): set a selection over the pasted text.
9177
9178 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9179
9180         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9181         and libgraphics to build on Cygwin.
9182
9183 2002-03-15  Juergen Vigna  <jug@sad.it>
9184
9185         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9186         inserting an Inset into the paragraph. I know this is not the best
9187         fix but we already use current_view in CutAndPaste so we will remove
9188         all of it's using at the same time.
9189
9190         * buffer.C (sgmlError): deactivated function till it is rewritten in
9191         the right mode, now it can create problems.
9192
9193         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9194         before accessing it.
9195
9196 2002-03-14  Juergen Vigna  <jug@sad.it>
9197
9198         * undo_funcs.C (textHandleUndo): do the right thing when updating
9199         the inset after the undo/redo.
9200
9201         * text2.C (setCursor): just some testcode for #44 not ready yet.
9202
9203         * undo_funcs.C (textHandleUndo): set the next() and previous()
9204         pointers of the paragraph to 0 before deleting otherwise we have
9205         problems with the Paragraph::[destructor].
9206
9207         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9208         on a paragraph insertion.
9209
9210 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9211
9212         * buffer.C (asciiParagraph): use += operator for char append to
9213         string.
9214
9215         * paragraph.C (getFontSettings): compare >= not just >
9216         (highestFontInRange): ditto
9217         (setFont): ditto
9218
9219 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9220
9221         * paragraph.C: change several algorithm to be more appripriate for
9222         the problem domain. This is lookip in FontList and in the InsetList.
9223
9224 2002-03-13  André Pönitz <poenitz@gmx.net>
9225
9226         * commandtags.h:
9227         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9228
9229 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * commandtags.h:
9232         * LyXAction.C:
9233         * lyxfunc.C:
9234         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9235
9236 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * Painter.C (display): anon helper function, adjust code for this
9239         change.
9240         (pixmap): remove function.
9241
9242         * Painter.h: remove private display variable.
9243
9244         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9245
9246 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9247
9248         * WorkArea.[Ch]: remove figinset_canvas cruft.
9249
9250 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9251
9252         * lyxtextclass.C (operator): add one item cache optimization.
9253
9254         * bufferlist.h: doxy changes
9255
9256         * bufferlist.C: ws changes
9257
9258         * DepTable.[Ch] (ext_exist): place const in the right spot.
9259
9260         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9261         call resizeInsets.
9262         (workAreaExpose): call resizeInsets when the with BufferView changes.
9263         (Dispatch): adjust for protectedBlank removal
9264         (specialChar): call updateInset if the insert went ok.
9265
9266         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9267         specialChar instead.
9268
9269         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9270
9271         * BufferView.h: doxy change
9272
9273         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9274
9275         * lyxtextclass.C (operator[]): remove non-const version
9276         (defaultLayout): remove non-const version
9277
9278 2002-03-12  Juergen Vigna  <jug@sad.it>
9279
9280         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9281         did resize the LyXText too.
9282
9283         * buffer.C (readLyXformat2): set layout information on newly allocated
9284         paragraphs.
9285
9286         * tabular.C (OldFormatRead): set layout information on the paragraph.
9287
9288 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9289
9290         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9291
9292 2002-03-11  Juergen Vigna  <jug@sad.it>
9293
9294         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9295         plainly wrong.
9296         (resizeCurrentBuffer): force also the insets to resize themselfes.
9297         (moveCursorUpdate): fixed up for InsetText.
9298
9299 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9300
9301         * commandtags.h:
9302         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9303         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9304         value of Dialogs::tooltipsEnabled().
9305         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9306
9307 2002-03-08  Juergen Vigna  <jug@sad.it>
9308
9309         * BufferView_pimpl.C (updateInset): update inset inside inset also
9310         if it isn't inside theLockingInset().
9311
9312 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9313
9314         * buffer.C (asciiParagraph): redo some of the word and line length
9315         handling.
9316         (getLists): look for Caption instead of caption.
9317
9318 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * buffer.C (Buffer): initialize niceFile to true
9321         (makeLaTeXFile):
9322         (makeLinuxDocFile):
9323         (makeDocBookFile): make sure niceFile is true on exit
9324
9325 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9326
9327         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9328
9329 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9330
9331         * LyXSendto.C: remove.
9332         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9333         * lyx_gui.C: remove now-redundant comment.
9334         * ColorHandler.h: remove forward declaration of class WorkArea.
9335         * lyxfunc.C: remove #include "WorkArea.h".
9336
9337 2002-03-07  Juergen Vigna  <jug@sad.it>
9338
9339         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9340         got moved away with the DEPM and also set the inset_owner always
9341         right which before could have been omitted.
9342
9343 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9344
9345         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9346         wanted layout is not found.
9347
9348 2002-03-07  Juergen Vigna  <jug@sad.it>
9349
9350         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9351
9352 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * paragraph.C (breakParagraph): use default layout not layout of
9355         prev paragraph.
9356         (Paragraph): clear ParagraphParameters.
9357
9358 2002-03-06  Juergen Vigna  <jug@sad.it>
9359
9360         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9361         otherwise it would not be a valid lenght. Fixed a special case in
9362         the minipage compatibility read where we end the document with a
9363         minipage.
9364
9365         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9366         was set as it could be 0 for InsetTexts first entry.
9367
9368 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * paragraph.C (writeFile): if layout is empty write out
9371         defaultLayoutName().
9372
9373         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9374         file without named layout we set layout to defaultLayoutName().
9375
9376 2002-03-06  Juergen Vigna  <jug@sad.it>
9377
9378         * CutAndPaste.C (copySelection): set layout for new paragraph.
9379
9380         * text.C (prepareToPrint): leave ERT inset left aligned
9381         (leftMargin): don't indent paragraphs inside ERT insets
9382
9383 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9384
9385         * paragraph.C (breakParagraph): dont call clear do the work manually
9386
9387         * paragraph.[Ch] (clear): remove function
9388
9389 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * paragraph.C (Paragraph): dont call clear, the work has already
9392         been done.
9393
9394         * lyxtextclass.C (operator): assert if n is empty
9395
9396         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9397         work manually instead.
9398
9399 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * BufferView_pimpl.C: protect selectionLost against text == 0
9402
9403 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9404
9405         * text.C (breakParagraph): fix a setting layout to '0' problem.
9406
9407 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9408
9409         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9410         final location of file, for the included files, and graphics.
9411
9412 2002-03-05  Juergen Vigna  <jug@sad.it>
9413
9414         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9415
9416 2002-03-04  Juergen Vigna  <jug@sad.it>
9417
9418         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9419
9420         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9421         last column of multicolumn cells.
9422         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9423
9424 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9425
9426         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9427         file if it doesn't go to a temporary file.
9428
9429         * buffer.C (sgmlOpenTag):
9430         (sgmlCloseTag):  remove extra newline insertion.
9431
9432 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9433
9434         * text.C (getRowNearY): comment out debug msg
9435
9436 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9437
9438         * text2.C: first -> first_y
9439
9440         * text.C (getRowNearY): add some attemts at a possible
9441         optimization, not working.
9442
9443         * tabular.[Ch]: add BufferParams to several function so that newly
9444         created paragraph can be initialized to he default layotu for the
9445         buffers textclass.
9446
9447         * tabular-old.C (ReadOld): add buf->params to call of Init
9448
9449         * screen.C: rename text->first to text->first_y
9450
9451         * paragraph.C (breakParagraph): always set layout in the broken
9452         paragraph
9453
9454         * lyxtextclass.C (Read): remove lowercase
9455         (hasLayout): ditto
9456         (operator): ditto
9457         (delete_layout): ditto
9458
9459         * lyxtext.h: rename first -> first_y
9460
9461         * lyxlayout.C (Read): remove lowercase
9462         (name): ditto
9463         (setName): ditto
9464         (obsoleted_by): ditto
9465
9466         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9467
9468         * buffer.C (insertErtContents): add params are to InsetERT
9469         (parseSingleLyXformat2Token): add code to check if a paragraphs
9470         layout really exist.
9471         (parseSingleLyXformat2Token): add params to several inset
9472         constructors
9473         (asciiParagraph): remove lowercase, do the layout comparisons with
9474         no_case
9475
9476         * BufferView_pimpl.C (cursorNext): first -> first_y
9477         (resizeCurrentBuffer): first -> first_y
9478         (updateScrollbar): first -> first_y
9479         (scrollCB): first -> first_y
9480         (workAreaMotionNotify): first -> first_y
9481         (workAreaButtonPress): first -> first_y
9482         (checkInsetHit): first -> first_y
9483         (cursorPrevious): first -> first_y
9484         (cursorNext): first -> first_y
9485         (Dispatch): add buffer_->params to severl inset contructors
9486
9487 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9488
9489         * lyxlayout.C (Read): remove some debug info that I forgot.
9490
9491         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9492         clean up the code slightly.
9493         (makeLinuxDocFile): ditto
9494         (makeDocBookFile): ditto
9495
9496         * text2.C: layout as string
9497
9498         * text.C: layout as string
9499
9500         * paragraph_pimpl.C: layout as string
9501
9502         * paragraph.[Ch]: layout as string
9503
9504         * lyxtextclasslist.[Ch]: layout as string
9505
9506         * lyxtextclass.[Ch]: layout as string
9507
9508         * lyxtext.h: layout as string
9509
9510         * lyxlayout.[Ch]: layout as string
9511
9512         * lyx_cb.C: layout as string
9513
9514         * bufferview_funcs.C: layout as string
9515
9516         * bufferparams.C: layout as string
9517
9518         * buffer.C: layout as string
9519
9520         * LyXView.[Ch]: layout as string
9521
9522         * LaTeXFeatures.[Ch]: layout as string
9523
9524         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9525
9526         * BufferView_pimpl.C: change current_layout to string, remove
9527         lyx::layout_type.
9528         (Dispatch):
9529         (smartQuote):
9530         (insertInset):
9531         (workAreaButtonRelease): layout as string
9532
9533         * BufferView2.C (unlockInset): adjust
9534
9535         * vspace.C (asLatexCommand): use an explict temp variable.
9536
9537 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9538
9539         * Makefile.am: use FRONTEND_*
9540
9541 2002-03-01  Juergen Vigna  <jug@sad.it>
9542
9543         * tabular.C (SetWidthOfMulticolCell): changed to something better
9544         I hope but still work in progress.
9545         (recalculateMulticolumnsOfColumn): renamed function from
9546         recalculateMulticolCells as it is more appropriate now.
9547         (SetWidthOfCell): calculate multicols better.
9548
9549 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9552
9553         * lyxfunc.C (processKeySym): print sequence also if it is
9554         `deleted' (complete)
9555
9556         * kbsequence.C (print): print sequence even if it is deleted
9557         (complete would be a better word, actually).
9558
9559         * lyxfunc.C (dispatch): print complete options after a prefix key
9560
9561         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9562
9563 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9564
9565         * text2.C (setCharFont): eliminate setCharFont code duplication.
9566
9567 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9568
9569         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9570         LFUN_TABULAR_FEATURE (bug #177)
9571
9572 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9573
9574         * Makefile.am: remove figure.h
9575
9576 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9577
9578         * Bufferview_pimpl.C:
9579         * CutAndPasteC:
9580         * LaTeX.C:
9581         * LyXSendto.C:
9582         * buffer.C:
9583         * bufferlist.C:
9584         * converter.C:
9585         * language.C:
9586         * lyxfunc.C:
9587         * lyxvc.C:
9588         * paragraph.C:
9589         * text.C:
9590         * text2.C: remove #include "lyx_gui_misc.h".
9591
9592         * LaTeX.C: added #include <cstdio>
9593
9594 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9597         that the paragraph following this one can have.
9598
9599         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9600
9601         * vspace.C (asLatexCommand): fix bogus gcc warning
9602
9603         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9604
9605 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9606
9607         * text2.C (setLayout): get rid of redundant code
9608
9609 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9610
9611         * text2.C (incDepth): make sure depth cannot be increased beyond
9612         reasonable values.
9613
9614 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9615
9616         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9617         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9618
9619         * PainterBase.h (image):
9620         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9621         a LyXImage const *.
9622
9623 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * BufferView.C:
9626         * BufferView.h:
9627         * BufferView_pimpl.C:
9628         * BufferView_pimpl.h:
9629         * LaTeXFeatures.C:
9630         * LyXAction.C:
9631         * LyXView.C:
9632         * Makefile.am:
9633         * UpdateList.h:
9634         * UpdateList.C:
9635         * buffer.C:
9636         * figure.h:
9637         * figureForm.C:
9638         * figureForm.h:
9639         * figure_form.C:
9640         * figure_form.h:
9641         * lyx_cb.C:
9642         * lyx_gui.C:
9643         * lyx_gui_misc.C:
9644         * lyxfunc.C:
9645         * sp_base.h:
9646         * sp_ispell.h:
9647         * sp_pspell.h:
9648         * sp_spell.C: remove fig inset, and the crap house of
9649           cards that follows it
9650
9651 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * Makefile.am:
9654         * lyxserver.C:
9655         * os2_defines.h:
9656         * os2_errortable.h:
9657         * nt_defines.h: move .h into support/
9658
9659         * vms_defines.h: remove
9660
9661         * WorkArea.C: add space in debug output
9662
9663         * text2.C:
9664         * paragraph.C:
9665         * buffer.C: add WITH_WARNINGS
9666
9667         * vc-backend.h:
9668         * vc-backend.C:
9669         * bufferlist.C: s/retrive/retrieve/, add docs
9670
9671         * vspace.h:
9672         * vspace.C:
9673         * kbmap.h:
9674         * lyxlength.h:
9675         * lyxgluelength.h:
9676         * length_common.h:
9677         * chset.h:
9678         * chset.C: add docs
9679
9680         * lyxgui.C: add ID to X error handler
9681
9682         * lyxtestclass.c: fix typo
9683
9684 2002-02-26  Juergen Vigna  <jug@sad.it>
9685
9686         * tabular_funcs.C (write_attribute): changed so that some default
9687         attributes are not written at all.
9688         (getTokenValue): set default values before trying to read the
9689         value so we have the return value always set as default if we don't
9690         find the token we search for.
9691
9692         * tabular.C (Write): write bools as bools not as strings!
9693
9694 2002-02-22  Juergen Vigna  <jug@sad.it>
9695
9696         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9697         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9698
9699         * text.C (leftMargin): don't add an indent for paragraphs inside
9700         tabular cells (fix #208).
9701
9702 2002-02-21  José Matos  <jamatos@fep.up.pt>
9703
9704         * tabular.C (docBook): fixed support for long tables.
9705
9706 2002-02-20  Juergen Vigna  <jug@sad.it>
9707
9708         * text2.C (getFont): get the drawing font of the Inset if this
9709         paragraph is inside an inset (only important for InsetERT for now).
9710
9711         * buffer.C (insertErtContents): use new lanugage params in ERT
9712         constructor.
9713
9714         * CutAndPaste.C: commenting out seemingly uneeded code.
9715
9716 2002-02-19  Allan Rae  <rae@lyx.org>
9717
9718         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9719         Iterators might be simple to use but they also get invalidated.
9720         (removeAutoInsets): renamed saved cursor tracking variables and added
9721         some comments to clarify what everything does.
9722
9723 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9724
9725         * Chktex.C:
9726         * LaTeX.C:
9727         * LyXSendto.C:
9728         * converter.C:
9729         * lyx_cb.C:
9730         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9731         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9732
9733         * lyxfunc.C:
9734         * vc-backend.h: remove #include "support/syscall.h"
9735
9736         * LaTeX.C:
9737         * LyXSendto.C:
9738         * converter.C: rearrange #includes in Lars' approved fashion.
9739
9740         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9741         forward declare class Timeout in the header file.
9742
9743         * XFormsView.C: changes due to the above.
9744
9745         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9746         similar to LyXView.
9747
9748         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9749         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9750
9751 2002-02-18  José Matos  <jamatos@fep.up.pt>
9752
9753         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9754         insets contents.
9755
9756 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9757
9758         * a lot of small ws changes
9759         * add a lot of using std::XXX
9760         * use std construcs some places where approp.
9761         * use some exisint stuff from lyxfunctional where approp.
9762         * Make file changes to use partial linking (lets test this now...)
9763
9764 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9765
9766         * Chktex.C:
9767         * buffer.C:
9768         remove #include "support/syscontr.h" as it's redundant. Always has been.
9769
9770         * Chktex.C:
9771         * LaTeX.C:
9772         * LyXSendto.C:
9773         * converter.C:
9774         * lyx_cb.C:
9775         * vc-backend.C:
9776         change Systemcalls::System to Systemcalls::Wait and
9777         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9778         No change of functionality, just reflects the stripped down Systemcalls
9779         class.
9780
9781 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9782
9783         * debug.[Ch]: add a GRAPHICS type to the enum.
9784
9785 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9788
9789         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9790         there is an inset.
9791
9792 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9795         match the changes below.
9796
9797         * text2.C (toggleInset): if there is not editable inset at cursor
9798         position, try to see if cursor is _inside_ a collapsable inset
9799         and close it.
9800
9801 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9804         document menu has a nice checkbox
9805
9806 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9807
9808         * lyxlength.C (asLatexString): change PW to output as percent of
9809         \textwidth.
9810
9811         * lengthcommon.C: change '%' to 't%'
9812
9813         * lyxfunc.C (dispatch): a few comments from Martin
9814
9815 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * WorkArea.h:
9818         * WorkArea.C:
9819         * BufferView_pimpl.h:
9820         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9821           the X selection.
9822
9823 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * vspace.C (inPixels): fix compiler warning
9826
9827 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyxfunc.C (getStatus): fix status message for disabled commands.
9830
9831 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * BufferView_pimpl.C: fix crash on close buffer
9834         during selection (#227)
9835
9836 2002-01-27  Herbert Voss  <voss@lyx.org>
9837
9838         * buffer.C: link old Figure to new graphic inset
9839
9840 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9841
9842         * FontLoader.C (getFontinfo): Change the latex font names in order
9843         to match the names of type1inst.
9844
9845 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9848
9849         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9850         (extchanged): ditto
9851         (ext_exist): ditto
9852         (remove_files_with_extension): ditto
9853         (remove_file): ditto
9854         (write): ditto
9855
9856         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9857         document is smaller than the work area height. Do not initialize
9858         static variables to 0.
9859
9860 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9863
9864         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9865         LFUN_LAYOUT_PARAGRAPHS.
9866
9867         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9868         tabular. It is possible to provide a possible cell, which will
9869         typically be the actcell from the corresponding insettabular
9870
9871         * lyxfunc.C (getStatus): small cleanup; disable
9872         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9873         true
9874
9875 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9876
9877         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9878
9879         * paragraph.C (startTeXParParams):
9880         (endTeXParParams): new methods. The LaTeX code to
9881         start/end paragraph formatting
9882         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9883         empty (fixes bug #200)
9884
9885         * vspace.C (inPixels): adapt to the change below
9886         (inPixels): [later] more cleanups (remove unused variables)
9887
9888         * lyxlength.C (inPixels): change to use a width and a height as
9889         parameter.
9890
9891 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9894         Replaced with \paperwidth
9895
9896         * DepTable.C (insert): add std:: qualifier
9897
9898 2002-01-18  Allan Rae  <rae@lyx.org>
9899
9900         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9901         updated also?
9902
9903         * text.C (drawInset): Turned out I didn't know enough about how
9904         rebreaking worked.  This fixes most of the redraw problems.  I see
9905         an occasional cursor trail when a line is broken now and the cursor
9906         placement can seem out by a few pixels also after a rebreak.
9907
9908 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * buffer.C (parseSingleLyXformat2Token): update because minipage
9911         width is now a LyXLength
9912
9913         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9914
9915         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9916         math insets
9917
9918 2002-01-17  Juergen Vigna  <jug@sad.it>
9919
9920         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9921
9922         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9923         is set correctly and the inset is updated correctly.
9924
9925 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9928         the beginning of the loop.
9929
9930 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * lyxrc.C: improve help for use_scalable_fonts
9933
9934 2002-01-17  Allan Rae  <rae@lyx.org>
9935
9936         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9937
9938 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9941         make sure to set their inset_owner to the right value (bug #171)
9942
9943 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9944
9945         * DepTable.h
9946         * DepTable.C: Implement mtime checking to reduce time spent doing
9947         CRCs.
9948
9949 2002-01-16  Juergen Vigna  <jug@sad.it>
9950
9951         * tabular.C (GetAdditionalHeight): one of error fixed.
9952
9953         * lyxrc.C (output): small fix in writing use_pspell.
9954
9955 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9956
9957         * sp_base.h: #include LString.h
9958
9959 2002-01-16  Allan Rae  <rae@lyx.org>
9960
9961         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9962         Can someone check this please?
9963
9964         * text.C (drawInset): It was possible that p.row would be removed by
9965         breakAgainOneRow upsetting a few other settings.  There may be another
9966         small tweak possible by setting need_break_row = 0 when p.row has been
9967         removed but I don't know enough about the logic here.
9968
9969 2002-01-15  Allan Rae  <rae@lyx.org>
9970
9971         * text.C (insertChar): removed conditional truism.
9972
9973         * BufferView2.C (removeAutoInsets): More tweaks.
9974         cur_par_prev could be a stray pointer.  Check for trailing empty line
9975         in case last line was cur_par and only had an error inset on it.
9976
9977 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9980         absolute
9981
9982         * vc-backend.C (most methods):
9983         * exporter.C (Export):
9984         * converter.C (convert):
9985         (runLaTeX):
9986         * LyXSendto.C (SendtoApplyCB):
9987         * lyxfunc.C (dispatch):
9988         (menuNew):
9989         (open):
9990         (doImport):
9991         * lyx_cb.C (AutoSave):
9992         (InsertAsciiFile):
9993         * BufferView_pimpl.C (MenuInsertLyXFile):
9994         * buffer.C (runChktex): use Buffer::filePath().
9995
9996         * buffer.h: rename filename to filename_; rename filepath to
9997         filepath_ and make it private
9998         (filePath): new method
9999
10000         * buffer.C (writeFile): use fileName()
10001         (getLatexName):
10002
10003         * lyx_main.C (init): fix starting  of LyX when the binary is a
10004         link from so,ewhere else.
10005
10006         * minibuffer.C: include <cctype> for isprint
10007
10008 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10009
10010         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10011         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10012         name clash with InsetCollapsable's width function.
10013
10014 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * lastfiles.C: include <iterator>
10017
10018 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10019
10020         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10021         std::count.
10022
10023         * buffer.C (makeLaTeXFile): ditto.
10024         Also make loop operation more transparent.
10025
10026 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * ToolbarDefaults.C: remove trailing comma closing namespace.
10029
10030         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10031
10032         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10033         as in WorkArea.
10034
10035         * trans.C (Load): comment out unused variable, allowed.
10036
10037 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10038
10039         * minibuffer.[Ch] (append_char): new method to recieve input from the
10040         drop-down completion browser. If a key was pressed, then recieve this
10041         char and append it to the existing string.
10042         (peek_event): modify the positioning data passed to the completion
10043         browser so that it can be placed above the minibuffer rather than below.
10044 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10045
10046         * LyXAction.C (init): alloe error-next for readonly documents.
10047
10048         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10049         count.
10050
10051 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * bufferlist.C (readFile): create the buffer _after_ checking that
10054         the file exists.
10055
10056         * lyxfunc.C (verboseDispatch): fix handling of arguments
10057
10058         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10059
10060         * lyxrc.C: use string::erase() instead of initializing to "".
10061
10062
10063 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * BufferView_pimpl.h:
10066         * BufferView_pimpl.C:
10067         * WorkArea.h:
10068         * WorkArea.C:
10069         * text2.C: tell X when we have made a selection for copying
10070
10071 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * BufferView_pimpl.C (MenuInsertLyXFile):
10074         * lyxfunc.C (menuNew):
10075         (open):
10076         (doImport): add shortcuts to directory buttons
10077
10078         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10079         open a float)
10080
10081         * lyxfunc.C (setStatusMessage):
10082         (getStatusMessage): new methods
10083         (getStatus):use setStatusMessage instead of setErrorMessage
10084         (dispatch): when function is disabled, set error message here
10085         [instead of in getStatus previously]
10086
10087         * BufferView_pimpl.C (workAreaButtonRelease): update
10088         toolbar/menubar here too.
10089
10090 2002-01-13  Allan Rae  <rae@lyx.org>
10091
10092         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10093         Now seems indestructible.  Remaining task is to audit all other
10094         code affected by deleteEmptyParagraphMechanism.  One small quirk
10095         left is that an empty document with an error in the preamble can
10096         be made to report an error but no error box appears.  I don't know
10097         where it goes.
10098         (removeAutoInsets): Improved comments.
10099
10100 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * Thesaurus.h:
10103         * Thesaurus.C: update for Aiksaurus 0.14
10104
10105 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10106
10107         * text2.C (firstParagraph): removed member function, all uses
10108         replaces with ownerParagraph
10109         (redoParagraphs): here
10110         (updateInset): here
10111         (toggleAppendix): here
10112         * BufferView2.C (insertErrors): here
10113         (setCursorFromRow): here
10114
10115 2002-01-13  Allan Rae  <rae@lyx.org>
10116
10117         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10118         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10119         There is still a way to segfault this although you may have to do this
10120         multiple times: Have an InsetERT with an unknown command in it.
10121         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10122         <down-arrow>, <Enter> again, View->DVI, BANG!
10123
10124         * text2.C (setCursor):
10125         (deleteEmptyParagraphMechanism):
10126         * lyxtext.h (setCursor):
10127         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10128         Making use of the return value may help fix other bugs.
10129
10130 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10131
10132         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10133
10134         * LyXView.C (updateMenubar): call MenuBar::update here
10135         (updateToolbar): but not here
10136         (showState): do not update toolbar/menubar
10137
10138         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10139         should need to care about that.
10140
10141         * lyxfunc.C (verboseDispatch): simplify a bit
10142         (getStatus): have a version which takes a pseudoaction, and
10143         another which requires a (kb_action,string).
10144
10145         * LyXAction.C (retrieveActionArg): make it work also when action
10146         is not a pseudo-action.
10147         (getActionName): simplify a bit
10148         (helpText):
10149
10150 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * lyxfunc.C (verboseDispatch): new families of methods with
10153         several ways to specify a command and a bool to indicate whether
10154         the command name and shortcut should be displayed in minibuffer
10155         (eventually, we could extend that to a finer bitmask like
10156         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10157         (dispatch): the pristine dispatch command which just, well,
10158         dispatchs! Note it still sets its result to minibuffer; I'm not
10159         sure we want that.
10160
10161         * lyxfunc.h: remove setHintMessage
10162
10163         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10164
10165 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10166
10167         * BufferView_pimpl.C (specialChar): delete new inset if we have
10168         not been able to insert it.
10169
10170         * kbmap.C: revert to using int instead of kb_action, since all we
10171         are dealing with is pseudo-actions.
10172
10173         * LyXAction.C (searchActionArg): change to return int instead of
10174         kb_action, since the result is a pseudoaction.
10175
10176 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10177
10178         * buffer.C (insertErtContents): Fix (partially) the font bug.
10179
10180 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10181
10182         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10183         as the other one is broken on my machine!
10184
10185 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10186
10187         * commandtags.h:
10188         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10189
10190 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10191
10192         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10193         reflect their actual use. Provide compatibility code for older lyxrc
10194         files.
10195
10196         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10197         FL_NORMAL_STYLE.
10198         change names of popup font variables in line with the changes to lyxrc.C
10199
10200 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * buffer.C (asciiParagraph): avoid outputing a word twice after
10203         an inset.
10204
10205         * lyxrc.C (getDescription): document that document_path and
10206         template_path can be empty.
10207
10208 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * LaTeXFeatures.C (getMacros):
10211         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10212
10213         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10214
10215         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10216         getPackages.
10217         (getPackages): rename feature "floats" to "float". Use an array to
10218         iterate over 'simple' features (i.e. just a \usepackage). Add
10219         handling of "amsmath" (renamed from "amsstyle").
10220
10221 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10222
10223         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10224         features list.
10225
10226 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10227
10228         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10229         FuncStaus::FuncStatus & FuncStaus::some_method().
10230
10231 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10232
10233         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10234         of the func_satus stuff. Edited and massaged in various ways by
10235         JMarc.
10236
10237         * lyxfunc.C (getStatus): use FuncStatus
10238
10239 2002-01-08  Juergen Vigna  <jug@sad.it>
10240
10241         * text.C (nextBreakPoint): use function Inset::isChar().
10242
10243         * paragraph.C (TeXOnePar): use function
10244         Inset::forceDefaultParagraphs.
10245
10246         * buffer.C (latexParagraphs): use function
10247         Inset::forceDefaultParagraphs.
10248
10249 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10250
10251         * lyx_gui.C (init): set the style of the menu popups to
10252         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10253
10254 2002-01-07  Juergen Vigna  <jug@sad.it>
10255
10256         * text.C (setHeightOfRow): small fix
10257         (prepareToPrint): don't look at alignment if we don't have the place
10258         for doing it.
10259
10260 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10261
10262         * box.C: New file. Move the Box methods and functions out of box.h,
10263         following Lars' suggestion.
10264
10265 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10266
10267         * box.h: #include "support/LOstream.h", needed for inlined function.
10268
10269         * lyxtextclass.C:
10270         * lyxtextclasslist.C: added some using std declarations.
10271
10272 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * box.h: make signed dimensions to allow insets wider than
10275           the screen (bug #162)
10276
10277         * BufferView_pimpl.C: add some insetHit debug
10278
10279 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10280
10281         * vc-backend.C: add FIXME
10282
10283 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * lyxfunc.C (getStatus): enable code for showing math font status
10286         in toolbar/menu.
10287
10288 2002-01-07  Juergen Vigna  <jug@sad.it>
10289
10290         * text.C (nextBreakPoint): removed debug output not needed anymore.
10291
10292 2002-01-06  Juergen Vigna  <jug@sad.it>
10293
10294         * text.C (nextBreakPoint): fixed up this function we had this bug
10295         since ever but now hopefully we break row better.
10296         (insertChar): we have to check if an inset is the next char as it
10297         could now happen that a large inset is causing a break.
10298
10299 2002-01-05  Juergen Vigna  <jug@sad.it>
10300
10301         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10302         if it doesn't like to be drawed.
10303
10304 2002-01-04  Juergen Vigna  <jug@sad.it>
10305
10306         * BufferView2.C (lockInset): forgot to set a cursor.
10307
10308         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10309
10310 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10311
10312         * FormMathsPanel.C:
10313         * FormMathsPanel.h
10314         * MathsSymbols.C:
10315         * form_maths_panel.C:
10316         * form_maths_panel.h:
10317         * form_maths_panel.fd: implemented sub- and super- buttons in math
10318         panel.
10319
10320         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10321         (or ^ space) to be used as in TeX (req'd by André).
10322
10323         * lyxfunc.C: Allow ^ and _ again to be used both as
10324         super/subscript (mathed) and as themselves (in text).
10325
10326 2002-01-03  Allan Rae  <rae@lyx.org>
10327
10328         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10329         "LyX" or the filename of the current buffer if it has one.  This is a
10330         modified form of John Levon's patch.
10331
10332         * XFormsView.C (setWindowTitle): also set icon title.
10333
10334         * LyXView.h (setWindowTitle): signature changed.
10335         * XFormsView.h (setWindowTitle): ditto.
10336
10337 2002-01-02  Juergen Vigna  <jug@sad.it>
10338
10339         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10340
10341 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10342
10343         * screen.C (topCursorVisible): introduce a temp var for
10344         text->cursor.row(), handle the case where this row is null. (kindo
10345         hachish)
10346
10347         * text2.C (setCursor): add a couple of asserts.
10348
10349         * paragraph.h (inset_iterator): add -> operator
10350
10351         * paragraph.[Ch] (autoDeleteInsets): remove member function
10352
10353         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10354         cursor pos correctly and handle inset deletion by itself.
10355         (insertErrors): move iterator declaration out of for expression
10356
10357         * lyxtextclass.C: add <algorithm>
10358
10359         * Makefile.am: added the new files to sources, removed layout.C
10360
10361         * layout.C: removed file
10362
10363         * layout.h: remove LYX_DUMMY_LAYOUT
10364
10365         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10366         layout.
10367
10368         * lyxlayout.[Ch]:
10369         * lyxtextclass.[Ch]:
10370         * lyxtextclasslist.[Ch]: new files
10371
10372         * include order changes to a lot of files, also changes because of
10373         the six new files.
10374
10375 2001-12-27  Juergen Vigna  <jug@sad.it>
10376
10377         * buffer.C (asciiParagraph): more fixes.
10378
10379         * tabular.C (ascii): make ascii export support export of only the
10380         data separated by a column-delimiter.
10381         (ascii): better support for ascii export.
10382
10383         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10384
10385 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * tabular_funcs.C: use a "using std::getline" instead of the
10388         previous fix from Angus (necessary for cxx + lyxstring)
10389
10390 2001-12-24  Juergen Vigna  <jug@sad.it>
10391
10392         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10393
10394         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10395         problems. First check a minipage also if we have some ert-contents
10396         (not only on par->size(), second set the right depth of the paragraph
10397         on the relink to the root-paragraph-list!
10398
10399         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10400         which then did not anymore update the main paragraphs on undo/redo!
10401
10402 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10403
10404         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10405         code. Support all font-changing funcs (even those which are not in
10406         menu currently). Support for reporting font settings in
10407         mathed (disabled until Andre provides a function on mathed's side).
10408
10409         * func_status.h (toggle): small helper function to set toggle
10410         state on a flag.
10411
10412 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * tabular_funcs.C: getline -> std::getline
10415
10416 2001-12-21  Juergen Vigna  <jug@sad.it>
10417
10418         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10419         accessed and could be 0 (I couldn't generate this but it seems
10420         Michael could!).
10421
10422 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10423
10424         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10425         * tabular_funcs.h: here and include iosfwd
10426
10427 2001-12-20  Juergen Vigna  <jug@sad.it>
10428
10429         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10430         inside inset but undo_par was.
10431
10432 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * Thesaurus.C: always include <config.h> in sources.
10435
10436         * Painter.h:
10437         * lyxlookup.h:
10438         * box.h: do not include <config.h> in header files
10439
10440         * text.C (paintLastRow): remove unused variable
10441
10442         * text.C (transformChar):
10443         (insertChar):
10444         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10445
10446         * Painter.C (text):
10447         * font.C (width): rewrite to use uppercase() instead of
10448         islower/toupper.
10449
10450         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10451
10452 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * lyxfind.C: clean up of find failure position change
10455
10456 2001-12-20  Juergen Vigna  <jug@sad.it>
10457
10458         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10459
10460         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10461         (TeXRow): added to LaTeX a single tabular row.
10462         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10463         (Latex): simplified and finally good LT-h/f support.
10464         (various_functions): just small adaptions for LT-h/f support.
10465
10466         * tabular_funcs.[hC]: added and moved here all not classfunctions
10467         of LyXTabular.
10468
10469 2001-12-19  Juergen Vigna  <jug@sad.it>
10470
10471         * tabular.[Ch]: better support for longtabular options (not finished
10472         yet!)
10473
10474 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10475
10476         * text.C (paintLastRow): use the label font instead of the font of
10477         the last character to compute the size of *_BOX. This makes more
10478         sense and avoids a crash with empty paragraphs.
10479         Use Painter::rectangle to draw EMPTY_BOX.
10480
10481 2001-12-19  Juergen Vigna  <jug@sad.it>
10482
10483         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10484         the paragraphs if the replaced paragraph is not the first one!
10485         Tried to delete not used paragraphs but does not work yet so for
10486         now it's inside #ifdef's and by default off!
10487
10488 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10489
10490         * MenuBackend.C: include "lyx_main.h" instead of declaring
10491         lastfiles (actually was declared as LastFiles* instead of a
10492         scoped_ptr).
10493
10494 2001-12-17  Juergen Vigna  <jug@sad.it>
10495
10496         * tabular.C (AppendColumn): applied John's fix
10497
10498 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * BufferView.h:
10501         * BufferView.C:
10502         * BufferView_pimpl.h:
10503         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10504
10505         * Makefile.am:
10506         * box.h: new start of class for above
10507
10508         * lyxfunc.C: ignore space-only minibuffer dispatches.
10509           Show the command name when it doesn't exist
10510
10511         * minibuffer.C: don't add empty lines to the history
10512
10513         * minibuffer.C: add a space on dropdown completion
10514
10515 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * text.C: fix line above/below drawing in insets
10518
10519 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * lyxlength.C (LyXLength): Initialize private variables.
10522
10523 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10526         when inserting error insets.
10527
10528 2001-12-13  Juergen Vigna  <jug@sad.it>
10529
10530         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10531         actually sometimes the before-paragraph.
10532         (setUndo): don't clear the redostack if we're not actually undoing!
10533
10534 2001-12-06  Juergen Vigna  <jug@sad.it>
10535
10536         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10537         and fixed redoing of main paragraph, so we can use it now ;)
10538
10539         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10540
10541 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10544         Juergen's request
10545
10546 2001-12-13  André Pönitz <poenitz@gmx.net>
10547
10548         * undostack.[Ch]:
10549         * undo_func.C: minor cleanup
10550
10551 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10554         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10555         font in urw-fonts package which is marked as -urw-fontspecific and
10556         does not work (incidentally, changing the encoding in the
10557         fonts.dir of this package to -adobe-fontspecific fixes the
10558         problem).
10559
10560         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10561         is a crash when undoing first paragraph (Juergen, please take a
10562         look). THis does not mean the undo fix is wrong, just that it
10563         uncovers problems.
10564
10565         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10566         the (Paragraph*) version when needed instead of duplicating the
10567         code.
10568
10569         * text.C (workWidth): use Inset::parOwner to find out where the
10570         inset has been inserted. This is a huge performance gain for large
10571         documents with lots of insets. If Inset::parOwner is not set, fall
10572         back on the brute force method
10573
10574         * paragraph_pimpl.C (insertInset):
10575         * paragraph.C (Paragraph):
10576         (cutIntoMinibuffer): set parOwner of insets when
10577         inserting/removing them
10578
10579         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10580
10581 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10582
10583         * commandtags.h:
10584         * LyXAction.C:
10585         * lyx_main.C:
10586         * lyxfunc.C:
10587         * mathed/formulabase.C:
10588         * mathed/math_cursor.[Ch]:
10589         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10590
10591
10592 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10593
10594         * lyxlength.[Ch] (operator!=): new function
10595
10596 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * text.C (workWidth): use Inset::parOwner to find out where the
10599         inset has been inserted. This is a huge performance gain for large
10600         documents with lots of insets. If Inset::parOwner is not set, fall
10601         back on the brute force method
10602
10603         * paragraph_pimpl.C (insertInset):
10604         * paragraph.C (Paragraph):
10605         (cutIntoMinibuffer): set parOwner of insets when
10606         inserting/removing them
10607
10608         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10609
10610 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * tabular-old.C (getTokenValue):
10613         * tabular.C (getTokenValue):
10614         (write_attribute): new versions for LyXLength
10615         (everywhere): adjust the use of widths
10616
10617         * tabular.h: change the type of widths from string to LyXLength
10618
10619 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10620
10621         * paragraph.C: fixed missing line number count when exporting
10622         Environments to LaTeX file
10623
10624         * buffer.C: added informational message for checking line numbers.
10625
10626 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10627
10628         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10629         paragraph, do the 'double space' part, but not the 'empty
10630         paragraph' one.
10631
10632         * text.C (workWidth): small optimization
10633         (getLengthMarkerHeight): use minimal size for negative lengths.
10634
10635 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10638
10639         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10640
10641 2001-12-11  André Pönitz <poenitz@gmx.net>
10642
10643         * FontLoader.C:
10644         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10645
10646 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * text2.C: keep selection on a setFont()
10649
10650 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * lyx_cb.C: another bv->text misuse, from insert label
10653
10654 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * kbsequence.h:
10657         * kbsequence.C: re-instate nmodifier mask
10658
10659 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10660
10661         * lyx_main.h: make lyxGUI private.
10662
10663 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * lyxfind.C: place the cursor correctly on failed search
10666
10667 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10668
10669         * text.C (getLengthMarkerHeight): for small heights, the arrows
10670         are not always on top/bottom of the text
10671         (drawLengthMarker): smaller arrows; take the left margin in
10672         account; draw also vfills.
10673         (paintFirstRow):
10674         (paintLastRow): remove special code for vfill and standard spaces,
10675         since everything is handled in drawLengthMarker now.
10676
10677 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * buffer.C (insertErtContents): try to handle font and language
10680         interaction a bit better.g
10681
10682         * ColorHandler.C (updateColor): change the hash to cover the whole
10683         LColor enum, ws cleanup
10684         (getGCLinepars): ditto
10685         (getGCLinepars): only lookup in the linecache once.
10686
10687 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10688
10689         * iterators.C (operator++): Make the iterator more robust
10690
10691         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10692         (John's patch)
10693         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10694
10695 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * lyxtext.h:
10698         * text.C: better added space drawing
10699
10700 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * LyXView.C:
10703         * BufferView2.C: fix layout combo update on inset unlock
10704
10705 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * Makefile.am: don't compile unused files
10708
10709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * lyxfunc.C:
10712         * commandtags.h:
10713         * LyXAction.C: remove old LFUN_LAYOUTNO
10714
10715 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * paragraph_pimpl.h:
10718         * paragraph_pimpl.C: isTextAt() doesn't need font param
10719
10720 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * lyxlex.h:
10723         * lyxlex.C: little cleanup
10724
10725 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * BufferView_pimpl.C: fix insertAscii for insets
10728
10729 2001-12-05  Juergen Vigna  <jug@sad.it>
10730
10731         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10732         set the right font on the "multi" paragraph paste!
10733
10734 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * trans_decl.h:
10737         * trans_mgr.[Ch]:
10738         * trans.[Ch]:
10739         * lyxgluelength.C:
10740         * lyxlength.C: remove out-commented code.
10741
10742         * BufferView_pimpl:
10743         * CutAndPaste.C:
10744         * DepTable.C:
10745         * buffer.C:
10746         * chset.C:
10747         * lastfiles.C:
10748         * lyxlex.C:
10749         * lyxlex_pimpl.C:
10750         * lyxserver.C:
10751         * screen.C:
10752         * tabular-old.C:
10753         * tabular.C:
10754         * text.C:
10755         * trans_mgr.C:
10756         * vc-backend.C: change "while(" to "while ("
10757
10758         * lyxlength.[Ch]: add zero function to check if length is zero or
10759         not
10760         * lyxgluelength.C: use it
10761
10762 2001-12-05  Allan Rae  <rae@lyx.org>
10763
10764         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10765         Works for 2.95.3, from what I understand of Garst's reports this should
10766         work for other g++ versions.  We're screwed if the abs(int) definition
10767         changed between bugfix releases of gcc.
10768
10769 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * text.C: fix chapter label offset !
10772
10773 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * lyxtext.h:
10776         * text.C: fix hfill at end of line, clean up
10777
10778 2001-12-04  Juergen Vigna  <jug@sad.it>
10779
10780         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10781         that we force an update of the inset and it's owners if neccessary.
10782
10783 2001-12-03  Juergen Vigna  <jug@sad.it>
10784
10785         * text.C (rowLast): simplified code
10786
10787 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * lyxfunc.C: fix show options on timeout
10790
10791 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * screen.C (topCursorVisible): scroll half a page when the cursor
10794         reached top of bottom of screen
10795
10796 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * minibuffer.C: deactivate on loss of focus
10799
10800 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * vspace.[Ch] (operator!=): add operator.
10803
10804 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * BufferView_pimpl.C: refuse to open an inset when
10807         there's a selection.
10808
10809 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * BufferView_pimpl.C: allow to click on RHS of full row insets
10812
10813 2001-11-30  Juergen Vigna  <jug@sad.it>
10814
10815         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10816         insets for undo reasons.
10817
10818 2001-11-28  André Pönitz <poenitz@gmx.net>
10819
10820         * vspace.[Ch]: cosmetical changes
10821
10822 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * LyXAction.h:
10825         * LyXAction.C:
10826         * lyxfunc.h:
10827         * lyxfunc.C:
10828         * kbmap.h:
10829         * kbmap.C:
10830         * lyxrc.C:
10831         * kbsequence.h:
10832         * kbsequence.C: part re-write of old kb code
10833
10834         * Painter.C:
10835         * WorkArea.C: remove Lgb_bug_find_hack
10836
10837 2001-11-30  José Matos <jamatos@fep.up.pt>
10838
10839         * buffer.C (makeDocBookFile): add a comment to point a hack.
10840         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10841         Fixed a double write of labels.
10842
10843 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10844
10845         * LaTeX.C:
10846         * LaTeX.h Fixed bug in LaTeX class where it would not
10847         re-run latex if no depfiles were changed, but the .dvi was removed.
10848
10849 2001-11-28  André Pönitz <poenitz@gmx.net>
10850
10851         * all the files from the change on 2001/11/26:
10852         use lyx::layout_type instead of LyXTextClass::size_type
10853         use lyx::textclass_type instead of LyXTextClassList::size_type
10854
10855 2001-11-29  Juergen Vigna  <jug@sad.it>
10856
10857         * text.C: added support for paragraph::isFreeSpacing()
10858
10859         * buffer.C: same as above
10860
10861         * paragraph.h: inserted isFreeSpacing() function to enable
10862         FreeSpacing inside InsetERT.
10863
10864         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10865         of the paragraph's in the cut/copy buffer to 0!
10866
10867         * text2.C (removeRow): remove the assert as it can!
10868
10869         * lyxtext.h: added helper function firstRow returning firstrow and
10870         made firstrow private again.
10871
10872         * BufferView2.C (lockInset): don't relock if we're already locked!
10873
10874         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10875         the only paragraph.
10876         (removeRow): added Assert::(firstrow)
10877
10878         * debug.C: forgot to add INSETTEXT here.
10879
10880 2001-11-28  Juergen Vigna  <jug@sad.it>
10881
10882         * sp_spell.C (initialize): changed error text to more general
10883         spellchecker command use (not only ispell!)
10884
10885         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10886
10887         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10888
10889 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10890
10891         * vspace.C: initialise lyxgluelength on failure
10892
10893 2001-11-28  Allan Rae  <rae@lyx.org>
10894
10895         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10896         declaration & definition that looks like a function declaration.
10897
10898 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10899
10900         * BufferView2.C (copy):
10901         (copyEnvironment): do not clear the selection when doing a copy.
10902
10903         * text.C (paintFirstRow): compilation fix
10904
10905 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10906
10907         * tabular.C (Latex): correct line count when writing latex.
10908
10909 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * paragraph_pimpl.h:
10912         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10913           bug a bit
10914
10915 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * text.C:
10918         * LColor.h:
10919         * LColor.C: change vfillline->added_space
10920
10921         * text.C: add markers and text for added space
10922
10923         * vspace.C: fix comment
10924
10925 2001-11-28  André Pönitz <poenitz@gmx.net>
10926
10927         * paragraph.C: whitespace changes
10928         * all the other files from the change on 2001/11/26:
10929         change *::pos_type into lyx::pos_type
10930
10931 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10932
10933         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10934         language of the document when inserting error insets.
10935
10936 2001-11-26  André Pönitz <poenitz@gmx.net>
10937
10938         * BufferView_pimpl.[Ch]:
10939         *       CutAndPaste.C:
10940         * buffer.[Ch]:
10941         * lyxcursor.[Ch]:
10942         * lyxfind.C:
10943         * lyxfunc.C:
10944         * lyxrow.[Ch]:
10945         * paragraph.[Ch]:
10946         * paragraph_pimpl.[Ch]:
10947         * sp_spell.C:
10948         * text.C:
10949         * text2.C: reduce header dependencies, introduce type for positions
10950
10951 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10952
10953         * <various>: change to use Alert.h
10954
10955 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10958         when encountering an unknown token.
10959         (readLyXformat2): Show an error message if there were unknown tokens.
10960
10961 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView2.C:
10964         * BufferView_pimpl.C:
10965         * buffer.C:
10966         * paragraph.h:
10967         * text.C:
10968         * text2.C: use par->isInset()
10969
10970 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * paragraph_pimpl.h:
10973         * paragraph_pimpl.C: cleanup
10974
10975 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10976
10977         * text2.C (removeRow):
10978         * text.C (setHeightOfRow): remove useless (and costly) call to
10979         getRow.
10980
10981 2001-11-20  Allan Rae  <rae@lyx.org>
10982
10983         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10984         Now need Inset*::checkInsertChar() to return true for appropriate
10985         cases so that the characters in the minibuffer will actually be
10986         inserted.
10987
10988 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * text.C: change the order of the includes.
10991         (workWidth): initialize it at once.
10992         (workWidth): make maxw unsigned
10993         (setHeightOfRow): remove unused variable (inset)
10994         (selectSelectedWord): remove unused variable (inset)
10995         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10996
10997 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10998
10999         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11000         server is not running.
11001         (openConnection):
11002         (closeConnection): add debug info when server is disabled.
11003
11004         * ColorHandler.C (getGCForeground): send debug message to GUI
11005         channel.
11006
11007         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11008
11009         * kbmap.C (bind): modify because return conventions of
11010         kb_sequence::parse have changed.
11011
11012         * kbsequence.C (parse): only ignore spaces and not any stupid
11013         control character. This avoids tests like s[i] <= ' ', which are
11014         guaranteed to fail with 8bit characters and signed chars.
11015         Change return code to string::npos when there have been no error
11016         (0 was a bad idea when error is at first character)
11017
11018 2001-11-14  José Matos  <jamatos@fep.up.pt>
11019
11020         * buffer.h:
11021         * buffer.C (simpleDocBookOnePar): removed unused argument.
11022
11023 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11024
11025         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11026         insets which are part of a word. Paragraph::isLetter takes care of
11027         that now. Use Paragraph::isInset to identify insets.
11028         (selectSelectedWord): do not test for hyphenation break.
11029
11030         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11031         that protected spaces are considered as spaces.
11032
11033         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11034         Inset::isLetter.
11035
11036 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * lyxserver.h:
11039         * lyxserver.C: fix it. and small cleanup.
11040
11041 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11042
11043         * BufferView_pimpl.C: use inline helpers
11044
11045         * LaTeXFeatures.h:
11046         * LaTeXFeatures.C: fix typos
11047
11048         * Spacing.h:
11049         * Spacing.C: move spacing_string into class
11050
11051         * ToolbarDefaults.C: move stuff into namespace anon
11052
11053         * layout.h: update enum
11054
11055         * lyxfunc.C: use better debug
11056
11057         * minibuffer.h: fix typo
11058
11059         * debug.h:
11060         * debug.C:
11061         * WorkArea.C: add and use Debug::WORKAREA
11062
11063         * lyxtext.h:
11064         * text.C:
11065         * text2.C: code re-organisation, inline helpers
11066
11067 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11068
11069         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11070         std::vector.empty().
11071
11072 2001-11-09  Allan Rae  <rae@lyx.org>
11073
11074         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11075         '\n's after tables.  Tabular and ERT inset work now makes this no
11076         longer necessary.
11077
11078 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * minibuffer.h:
11081         * minibuffer.C: fix crash, improve drop-down completion
11082
11083 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyxserver.h:
11086         * lyxserver.C: invalidate fd's when doing endPipe()
11087
11088 2001-11-08  José Matos  <jamatos@fep.up.pt>
11089
11090         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11091         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11092
11093         * paragraph.h:
11094         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11095
11096 2001-11-07  José Matos  <jamatos@fep.up.pt>
11097
11098         * buffer.h:
11099         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11100         const qualifier.
11101
11102         * buffer.C (sgmlOpenTag):
11103         * buffer.C (sgmlCloseTag): removed debug info.
11104
11105         * buffer.h (sgmlOpenTag):
11106         * buffer.h (sgmlCloseTag): made public.
11107
11108 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * buffer.C (saveParamsAsDefaults):
11111         * lyx_cb.C (MenuLayoutSave): remove
11112
11113         * LyXAction.C (init):
11114         * commandtags.h:
11115         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11116
11117 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11118
11119         * buffer.C (setPaperStuff): removed from here...
11120
11121         * bufferparams.C (setPaperStuff): ... and moved there.
11122
11123 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * minibuffer.h:
11126         * minibuffer.C:
11127         * XFormsView.C: add support for drop-down completion
11128
11129 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11132         commands.
11133
11134 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11137         disabled.
11138
11139 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * lyx_main.C: change ref to known bugs
11142
11143 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11144
11145         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11146         to work around older babel problems.
11147
11148 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11149
11150         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11151
11152 2001-10-24  Juergen Vigna  <jug@sad.it>
11153
11154         * tabular-old.C (ReadOld): below variable changes reflected.
11155
11156         * tabular.[Ch]: added ltType struct for longtable header/footer
11157         defines and changed all instances where they are used. Added
11158         future support for double top/bottom rows.
11159
11160 2001-10-24  José Matos  <jamatos@fep.up.pt>
11161
11162         * buffer.h (docbookHandleCaption):
11163         * buffer.C (docbookHandleCaption): removed unused function.
11164         (makeDocBookFile): moved docbook supported version to v4.1.
11165
11166 2001-10-24  José Matos  <jamatos@fep.up.pt>
11167
11168         * tabular.h:
11169         * tabular.C (docbookRow): new function to export docbook code of a row.
11170         (DocBook): now honors the longtable flags.
11171
11172 2001-10-23  José Matos  <jamatos@fep.up.pt>
11173
11174         * LaTeXFeatures.h:
11175         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11176         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11177
11178         * buffer.C (makeLinuxDocFile):
11179         (makeDocBookFile): reworked the preamble, more clean, and with
11180         support for lyx defined entities. Changed the document declaration
11181         to be more XML friendly.
11182
11183         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11184         if we need to output XML that should be done with a filter.
11185
11186 2001-10-22  Juergen Vigna  <jug@sad.it>
11187
11188         * sp_pspell.h (class PSpell): add alive function needed in the
11189         controller to see if the spellchecker could be started.
11190
11191 2001-10-22  Juergen Vigna  <jug@sad.it>
11192
11193         * buffer.C (insertStringAsLines): modify the font for inserting
11194         chars in certain conditions by calling checkInsertChar(font).
11195
11196 2001-10-19  Juergen Vigna  <jug@sad.it>
11197
11198         * text.C (workWidth): use getRow instead of wrong algorithm.
11199         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11200
11201 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * lyxserver.h:
11204         * lyxserver.C:
11205         * lyx_main.h:
11206         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11207
11208 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * text.C (workWidth): do not search for the exact row when
11211         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11212         optimization for big documents.
11213
11214 2001-10-18  Juergen Vigna  <jug@sad.it>
11215
11216         * text.C (workWidth): new function with added Inset * parameter.
11217
11218 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11219
11220         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11221
11222         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11223         change return type of getColumnNearX.
11224
11225
11226         * text.C (changeRegionCase): use uppercase/lowercase instead of
11227         toupper/tolower.
11228         (leftMargin):
11229         (rightMargin): simplify code by factoring out the uses of
11230         textclasslist.
11231         (labelFill):
11232         (numberOfHfills):
11233         (setHeightOfRow):
11234         (appendParagraph): use Paragraph::size_type
11235
11236 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11237
11238         * vspace.C (asLatexString): add a missing break
11239
11240 2001-10-15  Herbert Voss  <voss@perce.de>
11241
11242         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11243
11244 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11247         is not available.
11248
11249 2001-10-10  André Pönitz <poenitz@gmx.net>
11250
11251         * lyxfunc.C: removed greek_kb_flag.
11252
11253 2001-10-10  Herbert Voss  <voss@perce.de>
11254
11255         * lyx_main.C: delete global string help_lyxdir.
11256
11257 2001-10-09  Herbert Voss  <voss@perce.de>
11258
11259         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11260
11261         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11262
11263         * lyx_main.C: added global string help_lyxdir.
11264
11265         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11266
11267 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11268
11269         * lyxrc.C (set_font_norm_type): support iso8859-4
11270
11271 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11272
11273         * LaTeX.C (deplog): add another regex for MikTeX
11274
11275 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11276
11277         * lyxrc.C (set_font_norm_type): support iso8859-3
11278
11279 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11280
11281         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11282
11283         * LaTeXFeatures.C: remove special case of french and index
11284
11285         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11286         before \begin{document}). This solves several incompatibilities.
11287
11288 2001-10-03  Garst Reese  <reese@isn.net>
11289
11290         * lyx_cb.C: change CheckTex error msg.
11291
11292 2001-10-03  José Matos  <jamatos@fep.up.pt>
11293
11294         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11295
11296 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11297
11298         * .cvsignore: update
11299
11300         * lyx_main.C (commandLineVersionInfo): use new style version info.
11301
11302         * buffer.C (writeFile):
11303         (makeLaTeXFile):
11304         (makeLinuxDocFile):
11305         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11306
11307         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11308
11309         * version.h: update to use stuff in version.C
11310
11311         * version.C.in: new file. Contains version information determined
11312         at compile time. This is a merging of version.h and
11313         version_info.h.in.
11314
11315 2001-10-03  Juergen Vigna  <jug@sad.it>
11316
11317         * BufferView_pimpl.C (update): don't change "dirty" status in
11318         updateInset call.
11319
11320 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * WorkArea.C (c-tor): re-position version string slightly.
11323
11324 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11327         revert to previous code.
11328
11329         WorkArea.[Ch]: (show, destroySplash): methods removed.
11330
11331         WorkArea.C: rework code so that it's an amalgam of the codes before and
11332         after the splash screen was moved to WorkArea.
11333
11334 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * lyxrc.C (read):
11337         * vspace.C (inPixels):
11338         (lyx_advance):
11339         * kbmap.C (bind):
11340         * buffer.C (insertStringAsLines):
11341         (asciiParagraph): fix types to be large enough
11342
11343         * lyxlex_pimpl.h: change member status from short to int
11344
11345         * layout.h: fix type of endlabeltype
11346
11347         * kbmap.C (bind):
11348         * kbsequence.C (parse): change return type to string::size_type
11349
11350         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11351         variable
11352
11353         * Bullet.C (bulletSize):
11354         (bulletEntry): do not use short ints as parameters
11355
11356         * BufferView2.C (insertLyXFile): change a char to an int.
11357
11358         * WorkArea.C (WorkArea): remove unneeded floats in computation
11359
11360 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11361
11362         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11363
11364         * paragraph.C (asString): Do not ignore newline/hfill chars when
11365         copying to the clipboard.
11366
11367 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11368
11369         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11370         after a multi-line inset.
11371
11372 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11373
11374         * paragraph.C (validate): Set NeedLyXFootnoteCode
11375
11376 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11377
11378         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11379         and decrease-error to decrease.
11380
11381 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11382
11383         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11384         it more readable (should be equivalent)
11385
11386 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11387
11388         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11389
11390 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11391
11392         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11393         of a cursor (row, etc.) after a character has been deleted
11394         (deleteEmptyParagraphMechanism): call the method above on _all_
11395         cursors held by the LyXText when a double space has been
11396         detected/deleted.
11397
11398 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11399
11400         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11401         pixmap.
11402         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11403
11404         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11405         background. Use greyOut() and the new show() methods to toggle between
11406         the foreground and background. Add code to remove the splash after
11407         its initial showing.
11408
11409         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11410         (create_forms): no longer call Dialogs::showSplash.
11411
11412 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11413
11414         * .cvsignore: add version_info.h
11415
11416 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * version_info.h.in: new file
11419
11420         * Makefile.am: add version_info.h.in
11421
11422         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11423         version_info.h instead of VERSION_INFO
11424
11425 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11428         The ERT inset now returns string().
11429
11430 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11431
11432         * lyxtext.h, text.C (selectNextWord): renamed as
11433         selectNextWordToSpellcheck.
11434
11435         * text.C (selectNextWordToSpellcheck): Modified to not select
11436         words inside an ERT inset.
11437
11438 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11439
11440         * lyx_cb.C (MenuLayoutSave): change a bit the question
11441
11442         * sp_base.h: include <sys/types.h>
11443
11444 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11445
11446         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11447
11448 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11449
11450         * several files: fix typos in user-visible strings
11451
11452 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11453
11454         * text2.C (pasteSelection): do not set the selection, since it
11455         will be cleared later. Actually, the intent was to fix the way the
11456         selection was set, but I figured rmoving the code was just as good.
11457
11458 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * FontLoader.C (available): Check if font is available without
11461         loading the font.
11462
11463 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11464
11465         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11466
11467 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11468
11469         * lyxrc.[Ch]: added display_graphics variable and associated code.
11470
11471 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11472
11473         * bufferparams.C (hasClassDefaults): new method. Returns true if
11474         the buffer parameters correspond to known class defaults
11475
11476 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * XFormsView.C (show): set minimum size to the main window.
11479
11480 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11481
11482         * text2.C (copySelection):
11483         (cutSelection):
11484         * lyxfind.C (LyXReplace):
11485         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11486         LyXText::selectionAsString.
11487
11488         * paragraph.C (asString): add "label" argument to the second form
11489
11490         * text2.C (selectionAsString): add "label" argument and pass it to
11491         Paragraph::asString.
11492
11493 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * lyx_main.C (commandLineHelp): remove version information
11496
11497 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11498
11499         * lyx_main.C: add -version commandline option
11500
11501 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * paragraph.h: make the optional constructor arg required instead.
11504         some modifications to other files because of this.
11505
11506         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11507
11508         * lyxserver.C (C_LyXComm_callback): make it static
11509
11510         * lyx_main.C (error_handler): make it static
11511
11512         * lyx_gui.C (LyX_XErrHandler): make it static
11513
11514         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11515
11516         * WorkArea.C: make the extern "C" methods static.
11517
11518         * Makefile.am (lyx_LDADD): simplify
11519
11520 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11521
11522         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11523         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11524
11525         * LyXAction.C (init):
11526         * lyxfunc.C (dispatch): associated code removal.
11527
11528 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11529
11530         * lyxfont.h (isSymbolFont): shut off warning
11531
11532         * text.C (setHeightOfRow):
11533         (getVisibleRow): fix crash with empty paragraphs which have a
11534         bottom line
11535
11536 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11537
11538         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11539         code.
11540
11541 2001-09-04  José Matos  <jamatos@fep.up.pt>
11542         * buffer.C
11543         * buffer.h
11544         * tabular.C (docbook): rename docBook method to docbook.
11545
11546 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * Makefile.am: add dependencies to main.o.
11549
11550 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11551
11552         * FontLoader.C (available): Return false if !lyxrc.use_gui
11553
11554 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11555
11556         * FontInfo.C (query):
11557         * converter.C (view):
11558         * importer.C (Import):
11559         * exporter.C (Export): Can not -> cannot.
11560
11561 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * BufferView_pimpl.C: allow to create index inset even if
11564           string is empty
11565
11566 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11567
11568         * buffer.C (getLists): replace boost::tie code with an explicit pair
11569         as boost::tie can break some compilers.
11570
11571         * iterators.h: Added a std:: declaration to the return type of
11572         ParIterator::size.
11573
11574 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11577           case.
11578
11579 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * iterators.[Ch]: New files. Provide paragraph iterators.
11582
11583         * buffer.C (changeLanguage): Use paragraph iterators.
11584         (isMultiLingual): ditto
11585
11586         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11587
11588 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11589
11590         * FontLoader.C: Support for cmr font.
11591
11592 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11595         (available): New method.
11596
11597         * FontInfo.C (getFontname): Use scalable fonts even when
11598         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11599         found.
11600
11601 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11602
11603         * converter.C (Formats::view): reverted! Incorrect fix.
11604
11605 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11606
11607         * converter.C (Formats::view): only output the -paper option
11608         if the dvi viewer is xdvi, thereby fixing bug #233429.
11609
11610 2001-08-23  Herbert Voss  <voss@perce>
11611
11612         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11613
11614 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11615
11616         * Spacing.h (Spacing): Set space to Default on in the default
11617         constructor.
11618
11619 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * vc-backend.h (RCS::versionString): add RCS to version
11622         (CVS::versionString): add CVS to version
11623
11624         * vc-backend.C (scanMaster): do not add CVS to version.
11625         (scanMaster): do not add RCS to version
11626
11627         * lyxvc.C (versionString): new method
11628
11629         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11630
11631 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * Spacing.C (set): initialize fval
11634
11635 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11636
11637         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11638         " or \.
11639
11640 2001-08-16  Juergen Vigna  <jug@sad.it>
11641
11642         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11643
11644 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * BufferView_pimpl.C:
11647         * figureForm.C:
11648         * lyxtext.h:
11649         * text2.C: setParagraph takes linespacing now
11650
11651 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * LyxAction.C: add internal LFUN_CITATION_INSERT
11654
11655         * LyXView.C: actually apply fix
11656
11657         * bufferlist.C: fix open non-existent file
11658
11659         * lyxfind.C: fix indentation
11660
11661         * lyxfunc.C: remove unneeded assert, fix typo
11662
11663 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * MenuBackend.C: use "Floatname List"
11666
11667 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11668
11669         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11670         when converting LaTeX layout to insetERT.
11671         Generate a non-collapsed float when reading old float
11672
11673 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11674
11675         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11676         ERT insets.
11677
11678 2001-08-13  Juergen Vigna  <jug@sad.it>
11679
11680         * text.C (fill): return 0 instead of 20 as this seems to be the more
11681         correct value.
11682
11683 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11686         lyxrc.font_norm.
11687
11688 2001-08-13  Juergen Vigna  <jug@sad.it>
11689
11690         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11691         casesensitive off.
11692         (SearchBackward): comment out the unlocking of the inset_owner this
11693         should not be needed!
11694
11695 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11696
11697         * Many files: Remove inherit_language, and add latex_language
11698
11699         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11700         collapsible insets.
11701
11702 2001-08-10  Juergen Vigna  <jug@sad.it>
11703
11704         * text.C (prepareToPrint): fixed hfill-width in draw!
11705
11706         * BufferView2.C (selectLastWord): save the selection cursor as this
11707         now is cleared in the function LyXText::clearSelection!
11708
11709 2001-08-08  Juergen Vigna  <jug@sad.it>
11710
11711         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11712         BACKSPACE type functions.
11713
11714         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11715         is only cutted from the document but not put in the cut-buffer, where
11716         still the old stuff should be.
11717
11718         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11719
11720         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11721
11722         * tabular.C (SetWidthOfCell): fixed special case where the width
11723         was not updated!
11724         (LeftLine): handle '|' in align_special.
11725         (RightLine): ditto
11726         (LeftAlreadyDrawed): ditto
11727         (SetWidthOfCell): ditto
11728
11729 2001-08-07  Juergen Vigna  <jug@sad.it>
11730
11731         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11732
11733 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11736         * lyxlex.[hC]: ditto
11737
11738 2001-08-06  Juergen Vigna  <jug@sad.it>
11739
11740         * text.C (getVisibleRow): fix up row clearing a bit.
11741
11742 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * minibuffer.C: make sure the X server sees the changes in the input.
11745
11746 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * paragraph.C (getFont): split into...
11749         (getLabelFont): this
11750         (getLayoutFont): and this
11751         * paragraph_pimpl.C (realizeFont): calling this
11752
11753         * text2.C (getFont): split into...
11754         (getLayoutFont): this
11755         (getLabelFont): and this
11756         (realizeFont): all three calling this
11757
11758         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11759         files where used.
11760
11761 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11762
11763         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11764
11765 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11766
11767         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11768         layouts from the Quote inset insertion.
11769
11770 2001-08-03  Juergen Vigna  <jug@sad.it>
11771
11772         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11773
11774         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11775         only if status not is already CHANGED_IN_DRAW (second level).
11776
11777         * text.C (draw): don't set the need_break_row when inside an
11778         InsetText LyXText.
11779
11780 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * buffer.C (parseSingleLyXformat2Token): handle more latex
11783         conversion cases.
11784
11785         * bufferview_funcs.[hC]: change function names to
11786         begin with small char, adjust other files.
11787
11788 2001-08-02  André Pönitz <poenitz@gmx.net>
11789
11790         * lyxfunc.C:
11791         BufferView_pimpl.C: remove broken special code for math-greek
11792
11793 2001-08-02  Juergen Vigna  <jug@sad.it>
11794
11795         * BufferView_pimpl.C (update): redone this function so that we
11796         update the text again if there was a CHANGE_IN_DRAW.
11797
11798         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11799         (drawFromTo): added a new internal bool which is used by draw() and
11800         redraw() function.
11801         (general): some cursor drawing problems fixed.
11802
11803 2001-08-01  Juergen Vigna  <jug@sad.it>
11804
11805         * lyxfind.C (LyXFind): fixed
11806         (SearchForward): ditto
11807         (SearchBackward): ditto
11808
11809         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11810         spurius drawing of the cursor in the main area.
11811
11812         * text2.C (status): small fix which could lead to a segfault!
11813         (clearSelection): remove unneeded BufferView param.
11814
11815 2001-08-01  André Pönitz <poenitz@gmx.net>
11816
11817         * lyxfunc.C: small change due to changed mathed interface
11818
11819 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11820
11821         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11822
11823 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * lyxfunc.c: fail gracefully if file doesn't exist
11826
11827         * LyXSendto.C:
11828         * buffer.C:
11829         * lyxfunc.C:
11830         * BufferView_pimpl.C: IsDirWriteable() proto changed
11831
11832         * LyXView.C: fix updateWindowTitle() to store the last title
11833
11834 2001-07-31  Juergen Vigna  <jug@sad.it>
11835
11836         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11837         the font (wrong since using of Paragraph::highestFontInRange).
11838
11839         * paragraph.C (highestFontInRange): added a default_size parameter.
11840
11841         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11842         (setHeightOfRow): reformat
11843
11844 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * converter.[hC] + affected files: move to (inital-char)lowercase
11847         function names.
11848
11849         * ParagraphParameters.C (ParagraphParameters): remove commented code
11850
11851         * PainterBase.[Ch]: remove commented code
11852
11853         * LaTeXFeatures.h: add "bool floats" for float.sty
11854
11855         * LaTeXFeatures.C (LaTeXFeatures): init floats
11856         (require): handle float
11857         (getPackages): do it with floats
11858
11859 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * BufferView_pimpl.C (Dispatch): improve handling of
11862         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11863
11864         * commandtags.h: #include lyxfont.h here temporarily to avoid
11865         keybinding bug.
11866
11867         * bufferlist.h: include LString.h here.
11868
11869 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11870
11871         * text2.C (getStringToIndex): new method.
11872
11873 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11874
11875         * *: Reduced header file dependencies all over.
11876
11877 2001-07-30  Baruch Even  <baruch@lyx.org>
11878
11879         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11880
11881 2001-07-29  Baruch Even  <baruch@lyx.org>
11882
11883         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11884
11885 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * ParameterStruct.h (endif): add a default constructor to make
11888         sure that all variables is initialized.
11889
11890         * ParagraphParameters.C (ParagraphParameters): adjust
11891
11892 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11895         index; also, check that there is something to index, and that it
11896         does not span over several paragraphs.
11897         (doubleClick): use WHOLE_WORD_STRICT for double click.
11898
11899         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11900
11901         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11902         scheme.
11903
11904 2001-07-26  Baruch Even  <baruch@lyx.org>
11905
11906         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11907         an InsetFig figure, backwards compatible reading of old figure code.
11908
11909 2001-07-27  Juergen Vigna  <jug@sad.it>
11910
11911         * text2.C: font.realize function adaption.
11912
11913         * text.C (draw): add a warnings lyxerr text if needed.
11914
11915         * layout.C: font.realize function adaption.
11916
11917         * language.C: add inherit_language and implement it's handlings
11918
11919         * bufferview_funcs.C (StyleReset): remove language parameter from
11920         font creation (should be language_inherit now).
11921
11922         * bufferparams.C (writeFile): handle ignore_language.
11923
11924         * paragraph.C (getFontSettings): the language has to be resolved
11925         otherwise we have problems in LyXFont!
11926
11927         * lyxfont.C (lyxWriteChanges): added document_language parameter
11928         (update): removed unneeded language parameter
11929
11930         * paragraph.C (validate): fixed wrong output of color-package when
11931         using interface colors for certain fonts in certain environments,
11932         which should not seen as that on the final output.
11933
11934 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * BufferView_pimpl.C:
11937         * Thesaurus.h:
11938         * Thesaurus.C:
11939         * Makefile.am:
11940         * commandtags.h:
11941         * LyXAction.C: add thesaurus support
11942
11943         * lyxfind.h:
11944         * lyxfind.C: add "once" parameter, for thesaurus, to not
11945           move to the next match
11946
11947 2001-07-26  Juergen Vigna  <jug@sad.it>
11948
11949         * lyxfont.C (realize): honor ignore_language too!
11950         (resolved): ditto.
11951
11952         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11953
11954         * text.C (draw): one place more for ignore_language to not draw
11955         itself!
11956
11957 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11960
11961 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11964         the minipage conversion problem.
11965
11966 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11969         insert an inset.
11970
11971 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * BufferView.h: don't forward declare WorkArea
11974
11975         * BufferView.C: don't include WorkArea.h
11976
11977 2001-07-25  André Pönitz <poenitz@gmx.net>
11978
11979         * commandtags.h:
11980         * LyXAction.C:
11981         * lyxfunc.C:  new LFUN 'math-space'
11982
11983         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11984
11985 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * text2.C (toggleInset): call open/close
11988
11989 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * lyxfunc.C (dispatch): add debug for the disabled case
11992
11993         * font.C (buttonText): make similar to rectText
11994
11995         * buffer.C (readInset): comment out parsing of insetlist and
11996         insttheorem
11997
11998         * PainterBase.C (rectText): small correction
11999
12000         * BufferView_pimpl.C: comment out insettheorem and insetlist
12001         * LyXAction.C: ditto
12002         * commandtags.h: ditto
12003
12004 2001-07-24  Juergen Vigna  <jug@sad.it>
12005
12006         * text.C (draw): honor the ignore_language.
12007
12008         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12009
12010 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12011
12012         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12013         char inset.
12014
12015 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12016
12017         * lyxtext.h: remove unused (and unimplemented) methods
12018
12019 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12020
12021         * text.C (getVisibleRow): honor background color
12022
12023         * PainterBase.h:
12024         * Painter.h: remove default color argument for fillRectangle
12025
12026         * text.C (backgroundColor): new method
12027
12028 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * text.C (getVisibleRow): adjust
12031
12032         * font.[Ch] (rectText): new method, metrics
12033         (buttonText): new method, metrics
12034
12035         * PainterBase.[hC]: make rectText and buttonText always draw and take
12036         fewer paramteres.
12037
12038 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12039
12040         * ToolbarDefaults.C (read):
12041         * MenuBackend.C (read): allow escaping in all strings
12042
12043         * BufferView_pimpl.C (insertAndEditInset): new method.
12044         (Dispatch): use insertAndEditInset whenever appropriate.
12045
12046         * BufferView_pimpl.C (insertNote): removed
12047
12048         * BufferView_pimpl.C (smartQuote): new method, moved from
12049         BufferView; if an insetquote cannot be inserted, insert a '"'
12050         character instead.
12051
12052         * BufferView2.C: remove insertCorrectQuote();
12053
12054         * lyxfunc.C (getStatus): Add support for all remaingin
12055         inset-insert lfuns.
12056
12057         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12058
12059         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12060         command (necessary to pass " as parameter of self-insert.
12061
12062         * text.C (selectWordWhenUnderCursor):
12063         (selectWord): add word_location parameter
12064         (selectWordWhenUnderCursor): same + remove special code for word
12065         boundary.
12066         (selectNextWord): use kind() to guess type of insetspecialchar,
12067         not latex().
12068
12069         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12070         (insertErtContents): create ert insets as collapsed.
12071         (readInset): better compatibility code for Info inset.
12072
12073 2001-07-20  Juergen Vigna  <jug@sad.it>
12074
12075         * lyxfunc.C (dispatch): use always LyXFind now!
12076
12077         * text2.C (init): add a reinit flag so that the LyXText can be
12078         reinited instead of deleted and reallocated (used in InsetText).
12079
12080         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12081
12082         * text.C: ditto
12083
12084         * text2.C: ditto
12085
12086 2001-07-18  Juergen Vigna  <jug@sad.it>
12087
12088         * text.C (selectNextWord): handle insets inside inset by calling
12089         always the bv->text functions so that we can go up the_locking_inset!
12090
12091         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12092         in strange locations when inside an inset!
12093
12094         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12095         handling to include insets.
12096
12097         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12098
12099 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * LyXAction.C (init):
12102         * commandtags.h:
12103         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12104         LIGATURE_BREAK, since the name is so stupid.
12105
12106 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12107
12108         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12109         InsetInfos.
12110
12111         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12112
12113         * sp_form.[Ch]: remove.
12114
12115         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12116
12117         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12118         InsetInfo.
12119
12120         * src/buffer.C (readInset): ditto.
12121
12122 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12123
12124         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12125         menuSeparator(), endOfSentenceDot(), ldots() and
12126         hyphenationPoint(), which are therefore removed.
12127         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12128
12129         * LyXAction.C (init):
12130         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12131
12132         * paragraph.C (getWord): removed.
12133
12134         * BufferView_pimpl.C (Dispatch): use last word or selection for
12135         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12136
12137         * lyx_main.C (queryUserLyXDir): do not ask before creating
12138         user_dir, except if it has been named explicitely.
12139
12140 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12141
12142         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12143         a document of zero size.
12144
12145 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12146
12147         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12148         approriately in the c-tor and in require().
12149         (getPackages): output the appropriate LaTeX for natbib support.
12150
12151         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12152         variables "use_natbib" and "use_numerical_citations" when reading the
12153         LyX file.
12154         (readInset): read the various natbib cite commands.
12155         (validate): white-space change.
12156
12157         * bufferparams.[Ch]: new variables "bool use_natbib" and
12158         "bool use_numerical_citations".
12159         (writeFile): output them in the LyX file.
12160
12161 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12162
12163         * lyxfunc.C (getStatus): add support for all the inset insertion
12164         commands.
12165
12166         * text2.C (insertInset):
12167         * paragraph.C (insetAllowed):
12168         * BufferView_pimpl.C (insertInset): update to take in account the
12169         renaming of insertInsetAllowed
12170
12171         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12172
12173         * text2.C (getInset): new method. returns inset at cursor position.
12174
12175         * BufferView_pimpl.C (Dispatch): changes because of this.
12176
12177         * LyXAction.C (init): rename open-stuff to inset-toggle.
12178
12179         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12180
12181         * text2.C (toggleInset): renamed from openStuff; use
12182         Inset::open().
12183
12184 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12185
12186         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12187
12188         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12189
12190 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12191
12192         * buffer.C (readLyXformat2): Add filename to the error dialog
12193
12194 2001-07-18  Juergen Vigna  <jug@sad.it>
12195
12196         * tabular.C (GetCellNumber): put an assert here instead of the check!
12197
12198 2001-07-17  Juergen Vigna  <jug@sad.it>
12199
12200         * BufferView_pimpl.C (toggleSelection): adapted too.
12201
12202         * text.C (selectNextWord): adapted for use with insets.
12203         (selectSelectedWord): ditto
12204
12205 2001-07-17  Juergen Vigna  <jug@sad.it>
12206
12207         * sp_spell.C (PSpell): fix initialitation order.
12208
12209 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * paragraph.C: spacing
12212
12213 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12214
12215         * sp_spell.C: repair language selection for pspell
12216
12217 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * lyxfunc.h: change more methods to begin with lower char.
12220
12221 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12222
12223         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12224         for unknown layouts.
12225
12226 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12227
12228         * buffer.C (readLyXformat2): Generate an error dialog if there are
12229         unknown layouts.
12230
12231 2001-07-16  Juergen Vigna  <jug@sad.it>
12232
12233         * sp_spell.C: always compile ISpell part.
12234
12235         * lyxrc.C: added use_pspell entry and it's handling.
12236
12237 2001-07-13  Juergen Vigna  <jug@sad.it>
12238
12239         * sp_spell.C: removed double includes.
12240
12241 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         Consistent use of Lsstream.h:
12244         * Lsstream.h: added using std::stringstream for consistencies sake.
12245
12246         * buffer.C: removed using std::stringstream
12247
12248         * lyxfont.C (stateText):
12249         * paragraph.C (asString):
12250         * text.C (selectNextWord, selectSelectedWord):
12251         * text2.C (setCounter):
12252         * vspace.C (asString, asLatexString):
12253         std::ostringstream -> ostringstream.
12254
12255 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12256
12257         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12258         * commandtags.h: add LFUN_HELP_ABOUTLYX
12259         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12260
12261 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12262
12263         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12264         cursorToggle()
12265         * lyx_gui_misc.C: remove spellchecker
12266         * lyxfunc.C: showSpellchecker
12267         * sp_base.h: added
12268         * sp_ispell.h: added
12269         * sp_pspell.h: added
12270         * sp_spell.C: added
12271         * sp_form.[Ch]: removed
12272         * spellchecker.[Ch]: removed
12273
12274 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12275
12276         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12277         is set.
12278         (simpleTeXSpecialChars): Simply print the input character without
12279         any special translation if pass_thru is set.
12280
12281         * layout.h: Added bool pass_thru to layout class for being able to
12282         implement pass through of a paragraph for Literate Programming.
12283
12284         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12285         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12286         * layout.C (Read): add "passthru" to list of layout tags and add
12287         code to set the pass_thru boolean when it is read.
12288
12289 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * trans_decl.h: remove allowed from KmodInfo
12292
12293         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12294         remove allowed code
12295         (Load): adjust
12296
12297         * paragraph_pimpl.C (erase): use boost::prior
12298
12299         * Painter.C (text): use data() instead of c_str() when length is
12300         also provided.
12301         * WorkArea.C (putClipboard): ditto
12302         * font.h (width): ditto
12303
12304         * BufferView2.C: use it-> instead of (*it). for iterators
12305         * texrow.C: ditto
12306         * paragraph_pimpl.C: ditto
12307         * paragraph.C: ditto
12308         * minibuffer.C: ditto
12309         * language.C: ditto
12310         * kbmap.C: ditto
12311         * encoding.C: ditto
12312         * counters.C: ditto
12313         * converter.C: ditto
12314         * chset.C: ditto
12315         * Variables.C: ditto
12316         * TextCache.C: ditto
12317         * MenuBackend.C: ditto
12318         * LyXAction.C: ditto
12319         * LColor.C: ditto
12320         * FloatList.C: ditto
12321         * DepTable.C: ditto
12322         * ColorHandler.C (LyXColorHandler): ditto
12323
12324 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12327
12328         * text2.C (openStuff): reintroduce this method (which had been
12329         nuked in NEW_INSETS frenzy).
12330
12331         * lyxfunc.C (Dispatch): when an action has not been handled, use
12332         its name in the error message, not its number.
12333
12334         * paragraph.C (inInset): change method name to begin with lowercase.
12335
12336         * undo_funcs.C:
12337         * text2.C: updates because of this.
12338
12339 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12340
12341         * ToolbarDefaults.C (add): add spaces in error message
12342
12343 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12346         (readLyXformat2): rename return_par to first_par, use lyxlex's
12347         pushToken and remove the manual push handling.
12348         (parseSingleLyXformat2Token): add another ert comp. variable:
12349         in_tabular, rename return_par to first_par. handle newlines better
12350
12351 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12354
12355 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * text2.C (getParFromID): removed
12358
12359         * buffer.C (getParFromID): new method moved form lyxtext.
12360         * BufferView2.C (insertErrors): adjust
12361         (setCursorFromRow): adjust
12362         * BufferView_pimpl.C (restorePosition): adjust
12363         * lyxfunc.C (Dispatch): adjust
12364         * undo_funcs.C (textUndo): adjust
12365         (textRedo): adjust
12366         (textHandleUndo): adjust
12367         (textHandleUndo): adjust
12368
12369 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * buffer.C: up' the LYX_FORMAT
12372
12373         * lyxfont.h: turn NO_LATEX on as default
12374
12375         * buffer.C (insertErtContents): new methods of tex style compability.
12376         (parseSingleLyXformat2Token): use it several places.
12377         * tabular.C (OldFormatRead): and here
12378
12379 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * text2.C: remove some commented code.
12382         reindent file.
12383
12384         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12385         * trans.C: changes because of the above.
12386
12387 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * text2.C (setCounter): Fix counters bug with bibliography layout.
12390
12391 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12394         own member functions
12395         (simpleTeXSpecialChars): ditto
12396
12397 2001-07-06  Juergen Vigna  <jug@sad.it>
12398
12399         * a lot of files: changed the access to LyXText::status and the
12400         call of undo-functions.
12401
12402         * undo.[Ch]: added a inset_id to the undo informations.
12403
12404         * undo_funcs.[Ch]: added and moved here all undo functions.
12405
12406         * lyxtext.h: give the status enum a weight, made status_ a private
12407         variable and made accessor functions for it, removed the whole bunch
12408         of undo-functions as they are now in their own file, make some
12409         functions publically available. Added function ownerParagraph with
12410         int parameter.
12411
12412         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12413         made InInset() a const function, added getParFromID() function.
12414
12415         * buffer.[Ch]: added const version for inset_iterator functions,
12416         added getInsetFromID() function.
12417
12418         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12419         changed undo functions for new version.
12420
12421 2001-07-05  Juergen Vigna  <jug@sad.it>
12422
12423         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12424         unknow mechanism does not call the proper constructor but only this
12425         one also if I request the other!?
12426
12427 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12428
12429         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12430
12431         * text2.C (LyXText): use initialization lists.
12432
12433         * lyxtext.h (Selection): initialize set_ and mark_
12434         (init): remove method
12435
12436 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12439
12440 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * screen.[Ch]: change method names to begin with lowercase
12443
12444         * BufferView_pimpl.C (updateScrollbar): simplify further and
12445         hopefully make it a bit faster.
12446
12447 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12448
12449         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12450         calling directly xforms functions.
12451
12452         * Painter.C (Painter):
12453         * lyx_cb.C (MenuWrite):
12454         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12455         fl_display.
12456
12457         * lyx_gui.C: remove bogus guiruntime extern declaration.
12458
12459 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12462         in NEW_INSETS
12463         (redoDrawingOfParagraph): ditto
12464         (redoParagraphs): ditto
12465         (cutSelection): don't create a object for CutAndPaste use the
12466         static method directly
12467         (pasteSelection): ditto
12468
12469         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12470         LyXview (+ rename)
12471
12472 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12473
12474         * modifications to some other files because of this.
12475
12476         * Makefile.am (lyx_SOURCES): add XFormsView
12477
12478         * XFormsView.[Ch]: new files
12479
12480         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12481         the main window. Move the gui dependent stuff to XFormsView
12482
12483 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12484
12485         * tabular.C (GetCellInset): update cur_cell also in the row/col
12486         version of this function.
12487
12488         * lyxfunc.C: no need to include figure_form.h here.
12489
12490         * FontLoader.h:
12491         * lyxfunc.h:
12492         * lyxscreen.h:
12493         * text2.C:
12494         * lyxvc.C: no need to include forms.h here.
12495
12496 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12499
12500         * lyxfunc.C (Dispatch):
12501         * Spacing.C (set):
12502         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12503         constructor argument.
12504
12505 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12506
12507         * paragraph.C (Paragraph): dont't clear, and just set layout.
12508         (makeSameLayout): use params's copy contructor.
12509
12510         * ParagraphParameters.[Ch] (makeSame): delete method
12511
12512 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * Variables.[Ch]: fix indentation, rename set to isSet
12515
12516 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * lyxfunc.C (Dispatch): fix typo
12519
12520 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12521
12522         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12523         upper_bound.
12524
12525         * bufferlist.C: include assert.h for emergencyWrite().
12526
12527 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12530           give up at last (bug #425202) !
12531
12532 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * lyx_gui_misc.C:
12535         * sp_form.h:
12536         * sp_form.C:
12537         * spellchecker.h:
12538         * spellchecker.C: strip spellchecker options and bring up
12539           preferences tab instead
12540
12541 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12544         the istringstream constructor
12545
12546 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * paragraph.C (getLayout): fix return value
12549
12550         * paragraph.h: do not declare getLayout as inline.
12551
12552         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12553
12554 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * lyxcursor.h (operator<): new func
12557         (operator>): new func
12558         (operator>=): new func
12559         (operator<=): new func
12560
12561         * text.C (changeCase): use selection.start and selection.end
12562         (changeRegionCase): require from to be <= to. Require par to be a
12563         valid paragraph.
12564
12565         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12566
12567 2001-06-27  Juergen Vigna  <jug@sad.it>
12568
12569         * text.C (cursorLeftOneWord): changed to return the cursor and added
12570         overlay with BufferView * parameter which calls this one.
12571         (getWord): added
12572         (selectWord): use new getWord function.
12573         (changeCase): renamed from changeWordCase as and extended to work
12574         also on selections.
12575
12576         * lyxtext.h: added enum word_location
12577
12578         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12579         changeCase as this operates now also on selections.
12580
12581 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12582
12583         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12584
12585         * many files: send debug output to Debug::INFO instead of
12586         Debug::ANY.
12587
12588         * converter.C (View):
12589         (Convert):
12590         (Move): send debug output to Debug::FILES instead of console.
12591
12592 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12593
12594         * lyxfunc.C (getStatus): use func_status
12595
12596         * func_status.h: new header, describing the results of
12597         LyXFunc::getStatus;
12598
12599         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12600         LFUN_MATH_HALIGN.
12601
12602 2001-06-25  The LyX Project  <jug@sad.it>
12603
12604         * buffer.C (sgmlOpenTag):
12605         (sgmlCloseTag):
12606         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12607
12608 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * text2.C: remove some dead code
12611
12612         * tabular.C (GetCellInset): store the last cell checked (gotten)
12613
12614         * tabular.h: add the helper for the speedup
12615
12616         * lyxtext.h: remove some dead code
12617
12618 2001-06-26  The LyX Project  <Asger>
12619
12620         * paragraph.C: Change export to LaTeX of alignment to
12621         \begin{center} and family for better roundtrip work with reLyX.
12622
12623         * Tune the math drawing a bit.
12624
12625 2001-06-25  The LyX Project  <Asger>
12626
12627         * LColor.C (LColor): New color for math background. New color
12628         for buttons.
12629
12630 2001-06-25  The LyX Project  <jug@sad.it>
12631
12632         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12633
12634         * lyxfunc.C (Open):
12635         * bufferlist.C (newFile): do not restrict to files ending with
12636         .lyx
12637
12638         * BufferView_pimpl.C (MenuInsertLyXFile):
12639
12640 2001-06-24  The LyX Project  <jug@sad.it>
12641
12642         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12643         of compare_no_case
12644
12645 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * lyxtext.h: rename most methods to begin with a small char.
12648         Lots of changes because of this.
12649
12650         * paragraph.C (Paragraph): do not call fitToSize
12651         (erase): call Pimpl::erase
12652         (insertChar): call Pimpl::insertChar
12653         (insertInset): call Pipl::insertInset
12654         (breakParagraph): do not call fitToSize
12655         (breakParagraphConservative): do not call fitToSize
12656         (fitToSize): remove method
12657
12658         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12659
12660 2001-06-24  The LyX Project  <Asger>
12661
12662         * Fix Qt compilation^2
12663
12664 2001-06-24  The LyX Project  <jug@sad.it>
12665
12666         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12667         depthHook(getDepth()-1).
12668
12669         * paragraph.h:
12670         * ParagraphParameters.h:
12671         * ParameterStruct.h: change type of depth to unsigned int ==
12672         depth_type. Many adaptations to other files before of that.
12673
12674 2001-06-24  The LyX Project  <Asger>
12675
12676         * Fix Qt compilation.
12677
12678 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * paragraph.h: renamed several methods to begin with small letter.
12681         several changes to many parts of the code because of this.
12682
12683 2001-06-23  The LyX Project  <jug@sad.it>
12684
12685         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12686         rewritten to discard all double spaces when KeepEmpty is off
12687         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12688         to only handle newlines but not fiddle with spaces and friends.
12689
12690         * lyxfunc.C (MenuNew): when doing 'new from template', use
12691         template_path as default directory
12692
12693 2001-06-23  The LyX Project  <Asger>
12694
12695         * Clean-up of header file includes all over
12696         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12697
12698 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * paragraph.h: renamed from lyxparagraph.h
12701
12702 2001-06-23  Asger  <lyx@violet.home.sad.it>
12703
12704         * Buffer.h: Removed Buffer::resize
12705         * BufferList.h: Removed BufferList::resize
12706         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12707         the document lazily when we change the width, or the font settings.
12708
12709 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12712
12713 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * buffer.h: remove out of date comment
12716
12717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * lyxscreen.h:
12720         * screen.C: fix "theoretical" GC leak
12721
12722 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * LaTeX.C (scanAuxFile):
12725         (deplog): remove trailing \r when reading stream (useful under
12726         win32)
12727
12728 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12731         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12732         and BufferView::theLockingInset(Inset*), so should use them and not
12733         access bv_->text->the_locking_inset directly.
12734
12735         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12736
12737 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12738
12739         * Makefile.am:
12740         * tex-defs.h: remove old unused file
12741
12742 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * BufferView_pimpl.C: fix typo, remove minibuffer message
12745           when buffer has loaded
12746
12747 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * lyxfunc.C (Dispatch): use stringstream
12750         (MenuNew): use stringstream
12751         (Open): use stringstream
12752
12753         * importer.C (Import): use stringstream
12754
12755         * bufferview_funcs.C (CurrentState): use stringstream
12756
12757         * LaTeX.C (run): use stringstream
12758
12759         * BufferView_pimpl.C (savePosition): use stringstream
12760         (restorePosition): use stringstream
12761         (MenuInsertLyXFile): use stringstream
12762
12763 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * BufferView.C:
12766         * Bullet.C:
12767         * ColorHandler.C:
12768         * FontInfo.C:
12769         * FontLoader.C:
12770         * LColor.C:
12771         * LaTeXFeatures.C:
12772         * Painter.C:
12773         * gettext.C:
12774         * lyx_gui_misc.C:
12775         * lyxserver.C:
12776         * vspace.C: removed // -*- C++ -*- as first line.
12777
12778         * lyxfind.h:
12779         * version.h: added // -*- C++ -*- as first line.
12780
12781 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12784
12785         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12786         of string
12787
12788 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12791         of floats.
12792
12793 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * gettext.C: include LString.h even when --disable-nls is on.
12796
12797 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12798
12799         * converter.h (Get): changed argument type from int to
12800         FormatList::size_type to avoid unnecessary conversion.
12801
12802         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12803         before using it.
12804
12805 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12806
12807         * gettext.h: include LString.h even when --disable-nls is on.
12808
12809 2001-06-07  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (BreakAgain): subst spaces with tabs.
12812
12813         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12814         (resizeInsetsLyXText): set force on resizeLyXText.
12815
12816 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * gettext.h (gettext_init):
12819         (locale_init): use a real definition instead of a macro
12820
12821 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * Bufferview_pimpl.C:
12824         * LColor.h:
12825         * LColor.C: further lcolor tidies
12826
12827 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * BufferView_pimpl.C (updateScrollbar): simplify.
12830
12831         * BufferView2.C: don't include insets/insetinfo.h, change
12832         prototype for insertInset and call the Pimpl version. let
12833         updateInset call Pimpl version.
12834
12835         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12836         gotoInset to BufferView::Pimpl
12837
12838 2001-06-01  Juergen Vigna  <jug@sad.it>
12839
12840         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12841         inside a LockingInset (is the update needed at all?).
12842
12843 2001-05-31  Juergen Vigna  <jug@sad.it>
12844
12845         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12846         here not the old one otherwise how should we compare it afterwards
12847         if it's the same!
12848
12849 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * lyxfont.C:
12852         * tabular.C:
12853         * tabular-old.C:
12854         * FontInfo.C: bring C functions into global namespace when
12855         necessary
12856
12857 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * LString.h: make sure config.h has been loaded before LString.h.
12860
12861         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12862         (one for each char read by EatLine!).
12863
12864         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12865         variables.
12866
12867 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12870         to the same as the par we break from
12871
12872 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12875
12876         * MenuBackend.C (expand): also create menu entries for wide
12877         versions of the floats.
12878
12879         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12880
12881         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12882
12883         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12884         frontends/Makefile.am
12885
12886         * text2.C: adjust
12887         * text.C: adjust
12888
12889
12890         * tabular.C (getTokenValue): add std::
12891
12892         * tabular-old.C (getTokenValue): add std::
12893         (getTokenValue): ditto
12894         (getTokenValue): ditto
12895
12896         * screen.C (ToggleSelection): adjust
12897
12898         * lyxtext.h: put selection cursors inside a Selection struct.
12899
12900         * lyxfunc.C (moveCursorUpdate): adjust
12901
12902         * lyxfont.C (latexWriteStartChanges): add std::
12903
12904         * lyxfind.C: adjust
12905
12906         * font.h: delete with(char const *, LyXFont const &)
12907
12908         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12909
12910         * FontInfo.C (getFontname): add std::
12911
12912         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12913         (workAreaButtonPress): adjust
12914         (tripleClick): adjust
12915         (update): adjust
12916         (moveCursorUpdate): adjust
12917         (Dispatch): adjust
12918
12919         * BufferView2.C (gotoInset): adjust
12920
12921 2001-05-30  Juergen Vigna  <jug@sad.it>
12922
12923         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12924         to check pspell I add this as default as I now have new pspell
12925         libraries and they seem to use this.
12926
12927 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text2.C (CutSelection): make the cursor valid before the call to
12930         ClearSelection.
12931
12932 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12935         relied on 0 terminated strings and other horrors. Bug found due to
12936         the new assert in lyxstring!
12937
12938         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12939         KP_ keys.
12940
12941 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12942
12943         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12944         to latinkeys.bind.
12945
12946         * lyxfunc.C (processKeySym): change method of getting to the
12947         self-insert char.
12948
12949         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12950         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12951         * BufferView_pimpl.[Ch]: here as private methods.
12952
12953 2001-05-28  Juergen Vigna  <jug@sad.it>
12954
12955         * text.C (SetHeightOfRow): added the update() call again as it is
12956         needed to initialize inset dimensions!
12957
12958 2001-05-16  Juergen Vigna  <jug@sad.it>
12959
12960         * text2.C (SetCharFont): Add new function with BufferView * and
12961         bool toggleall parameters for setting insets internal fonts.
12962         (SetFont): Freeze the undo as we may change fonts in Insets and
12963         all this change should be inside only one Undo!
12964
12965         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12966         setting font's in insets as for them we have the SetFont function!
12967
12968 2001-05-15  Juergen Vigna  <jug@sad.it>
12969
12970         * text2.C (ClearSelection): to be sure we REALLY don't have any
12971         selection anymore!
12972
12973         * tabular.C (TeXCellPreamble): fixed the left border problem for
12974         multicolumn cells.
12975
12976 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12977
12978         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12979         dependancy file
12980
12981 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12984         LFUN_BREAKPARAGRAPH.
12985
12986         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12987         help test to "internal only", similar for LFUN_INSERT_URL
12988
12989         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12990         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12991         auto_region_delete and deadkeys.
12992
12993 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * LColor.h:
12996         * LColor.C: remove some dead entries, tidy a little
12997
12998 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13001         commented code.
13002         (Dispatch): implement LFUN_ESCAPE
13003
13004         * commandtags.h: add LFUN_ESCAPE
13005
13006         * LyXAction.C (init): add entry for LFUN_ESCAPE
13007
13008         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13009         Remove commented code.
13010         (insertNote): moved here
13011         (open_new_inset): moved here
13012
13013         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13014         BufferView_pimpl
13015
13016 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * kbmap.C (findbinding): clean it up and make it work correctly.
13019
13020         * lyx_main.C (init): do not pass argc and argv as parameters
13021
13022 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13023
13024         * buffer.C: fix path for OS/2 & Win32
13025
13026         * lyx_gui.C:
13027         * lyx_main:
13028         * lyx_main.C: Added os:: class.
13029
13030         * os2_defines.h: update
13031
13032 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13035         better by trying again with reduced state.
13036
13037 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * lyxrc.C (read): print error about invalid key sequence only when
13040         debugging (because not all latinX keysyms are known to some X
13041         servers)
13042
13043         * kbsequence.C (getiso): add a few std:: qualifiers
13044         (getiso): comment out extra return statement.
13045
13046 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13049         handling.
13050         (Dispatch): enhance the accent inset a bit. (not perfect)
13051
13052 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13055
13056 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * bufferlist.C (emergencyWrite): fix assert() call
13059
13060 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13061
13062         * text.C (InsertChar): Added trivial patch to only send the "you
13063         can not do multiple spaces this way" message once during a
13064         session.
13065
13066 2001-05-08  Baruch Even  <baruch@lyx.org>
13067
13068         * Makefile.am: Changed order of libraries to get LyX to link properly
13069         with the gnome frontend.
13070
13071 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13072
13073         * LaTeXFeatures.h: add a std:: qualifier
13074
13075 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * paragraph.C (String): use stringstream
13078
13079 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * paragraph.C (writeFile): remove footflag arg
13082
13083         * buffer.C (makeLaTeXFile): use stringstream
13084         (latexParagraphs): remove footnot gurba
13085
13086         * LaTeXFeatures.C (getPackages): use stringstream
13087         (getMacros): likewise
13088         (getTClassPreamble): likewise
13089         (getFloatDefinitions): new method
13090
13091         * paragraph.C (writeFile): reindent
13092         (Erase): reindent
13093
13094         * WorkArea.h: revert the xpos + etc changes.
13095
13096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13097
13098         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13099
13100         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13101         (pasteSelection): likewise
13102         * text2.C (CreateUndo): likewise
13103
13104 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * minibuffer.C (peek_event): temporarily reduce the functionality
13107         of the minibuffer (to allow args on lfuns)
13108
13109         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13110         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13111
13112         * buffer.C (readInset): add compability reading of old float
13113         lists, add reading of new style float list.
13114         (readInset): avoid reevaluation of inscmd.getCmdName()
13115         (getLists): reindent
13116
13117         * MenuBackend.C (MenuItem): implement parsing of
13118         md_floatlistinsert and md_floatinsert.
13119         (expand::LastFiles): move initalizaton of iterators out of loop,
13120         avoid reevaluation.
13121         (expand::Documents): introduce typdedef vector<string> Strings,
13122         and use it.
13123         (expand::ExportFormats): introduce typedef vector<Format const *>
13124         Formats, and use it.
13125         (expand): implement FloatListInsert and FloatInsert.
13126
13127         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13128         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13129         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13130
13131         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13132         handling.
13133         (Dispatch::LFUN_FLOAT_LIST): implement
13134
13135 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13136
13137         * LaTeX.C (run): Fix problem with --export code.
13138
13139 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13140
13141         * BufferView.[Ch] (workarea): removed.
13142         (getClipboard) new method; wrapper for workarea()->getClipboard()
13143
13144         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13145         bug.
13146
13147         * WorkArea.h (width, height, xpos, ypos): These methods all
13148         returned the dimensions of the work_area sub-area of WorkArea,
13149         resulting in a position error if the WorkArea were resized. Now
13150         return the dimensions of the entire WorkArea.
13151
13152         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13153
13154 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * LaTeX.C (deplog): correct the syntax of regex reg1
13157
13158 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * undo.C: remove !NEW_INSETS cruft
13161
13162 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * text2.C: remove !NEW_INSETS cruft
13165
13166         * text.C: remove !NEW_INSETS cruft
13167
13168         * tabular.C: remove !NEW_INSETS cruft
13169
13170         * spellchecker.C: remove !NEW_INSETS cruft
13171
13172         * lyxtext.h: remove !NEW_INSETS cruft
13173
13174         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13175
13176         * lyxfunc.C: remove !NEW_INSETS cruft
13177
13178         * lyxfind.C: remove !NEW_INSETS cruft
13179
13180         * lyx_cb.C: remove !NEW_INSETS cruft
13181
13182         * figureForm.C: remove  !NEW_INSETS cruft
13183
13184         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13185
13186         * buffer.[Ch]: remove !NEW_INSETS cruft
13187
13188         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13189
13190         * CutAndPaste.C: remove !NEW_INSETS cruft
13191
13192         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13193
13194         * BufferView2.C: remove !NEW_INSETS cruft
13195
13196         * BufferView.h: remove !NEW_INSETS cruft
13197
13198 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * Lsstream.h: include LString.h before the sstream headers to
13201         fix problem with gcc 2.95.3 and lyxstring
13202
13203 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * lyx_main.C: add using directives when needed for C functions
13206         declared in std:: namespace.
13207
13208 2001-04-27  Juergen Vigna  <jug@sad.it>
13209
13210         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13211         (SetHeightOfRow): comment out the update call should not be needed!
13212
13213 2001-04-13  Juergen Vigna  <jug@sad.it>
13214
13215         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13216         (LyXTabular): tried to minimize operator= operations (and realized
13217         hopfully Lars wish).
13218
13219 2001-04-27  Juergen Vigna  <jug@sad.it>
13220
13221         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13222
13223 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13226
13227         * buffer.C (readInset): hack to make listof algorithm work
13228
13229         * BufferView_pimpl.C: hack to make listof algorithm work
13230
13231 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * LyXAction.C: removed all !NEW_INSETS cruft
13234         (init): moved lfun_item in method
13235
13236         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13237
13238 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * BufferView2.C (theLockingInset): white space.
13241
13242 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * minibuffer.C: include <iostream>
13245
13246         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13247
13248         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13249
13250         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13251
13252         * text.[Ch] (TransposeChars): new method
13253
13254 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * call message directly through LyXView instead of through LyXFunc
13257         * BufferView2.C: adjust
13258         * BufferView_pimpl.C: adjust
13259         * FontLoader.C: adjust
13260         * buffer.C: adjust
13261         * bufferview_funcs.C: adjust
13262         * converter.C: adjust
13263         * figureForm.C: adjust
13264         * importer.C: adjust
13265         * lyx_cb.C: adjust
13266         * lyx_gui_misc.C: adjust
13267         * lyxfunc.C: adjust
13268         * lyxvc.C: adjust
13269         * text2.C: adjust
13270         + more files in subdirs
13271
13272         * lyxparagraph.h (size): move up int file
13273         (GetLayout): ditto
13274
13275         * adjust all uses of Assert to lyx::Assert.
13276
13277         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13278         lyxfunctional in namespace lyx
13279         * layout.C (hasLayout): ditto
13280         (GetLayout): ditto
13281         (GetLayout): ditto
13282         (delete_layout): ditto
13283         (NumberOfClass): ditto
13284         * converter.C (GetFormat): ditto
13285         (GetNumber): ditto
13286         (Add): ditto
13287         (Delete): ditto
13288         (SetViewer): ditto
13289         * bufferlist.C (getFileNames): ditto
13290         (emergencyWriteAll): ditto
13291         (exists): ditto
13292         (getBuffer): ditto
13293         * MenuBackend.C (hasSubmenu): ditto
13294         (hasMenu): ditto
13295         (getMenu): ditto
13296         * BufferView_pimpl.C (getInsetByCode): ditto
13297
13298 2001-04-18  Juergen Vigna  <jug@sad.it>
13299
13300         * vspace.C (asLatexString): fixed the 100% problem.
13301
13302 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * lyxfunc.C (Dispatch):
13305         * minibuffer.C:
13306         * minibuffer.h: add a few std:: qualifiers
13307
13308 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * minibuffer.[Ch]: reimplement so that commands is initiated and
13311         run from lyxfunc, simplified som handling, and made the completion
13312         and history code for complete. wip.
13313
13314         * lyxfunc.C (processKeySym): call message
13315         (miniDispatch): new temporary method
13316         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13317         (LFUN_MESSAGE): implement
13318         (LFUN_MESSAGE_PUSH): implement
13319         (LFUN_MESSAGE_POP): implement
13320         (initMiniBuffer): the initial/defualt minibuffer message.
13321
13322         * lyxfont.[Ch]: inline some more getters
13323
13324         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13325
13326         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13327
13328         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13329         (AutoSave): use LFUN_MESSAGE
13330         (Reconfigure): ditto
13331
13332         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13333
13334         * figureForm.C: use LFUN_MESSAGE
13335
13336         * converter.C (runLaTeX): use LFUN_MESSAGE
13337
13338         * bufferview_funcs.C: use LFUN_MESSAGE
13339         (Melt): ditto
13340         (changeDepth): ditto
13341
13342         * bufferparams.h: use boost::
13343
13344         * bufferlist.h: inherit privately from noncopyable
13345
13346         * bufferlist.C (loadLyXFile): remove some commented code.
13347
13348         * buffer.C (runChktex): use LFUN_MESSAGE
13349
13350         * ShareContainer.h: inherit privately from noncopyable
13351
13352         * ParagraphParameters.[hC] (depth): inline it.
13353
13354         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13355         methods.
13356         (message): new method
13357         (messagePush): ditto
13358         (messagePop): ditto
13359         (show): init minibuffer
13360         (showState): direct call
13361
13362         * LaTeX.[Ch]: inherit privately from noncopyable
13363         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13364         instead of WriteStatus.
13365
13366         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13367
13368         * BufferView_pimpl.C (buffer): don't init minibuffer
13369         (workAreaButtonPress): use LFUN_MESSAGE
13370         (workAreaButtonRelease): ditto
13371         (savePosition): ditto
13372         (restorePosition): ditto
13373         (MenuInsertLyXFile): ditto
13374         (workAreaExpose): don't init minibuffer
13375         (update): remove commented code, simplify
13376
13377         * BufferView2.C (openStuff): use LFUN_MESSAGE
13378         (toggleFloat): ditto
13379         (menuUndo): ditto
13380         (menuRedo): ditto
13381         (copyEnvironment): ditto
13382         (pasteEnvironment): ditto
13383         (copy): ditto
13384         (cut): ditto
13385         (paste): ditto
13386         (gotoInset): ditto
13387         (updateInset): remove some commented code
13388
13389         * lastfiles.h: inherit privately from noncopyable
13390         * layout.h: ditto
13391         * lyx_gui.h: ditto
13392         * lyx_main.h: ditto
13393         * lyxlex.h: ditto
13394         * lyxlex_pimpl.h: ditto
13395
13396         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13397         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13398         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13399
13400         * LyXAction.h: inherit privately from noncopyable, add methods
13401         func_begin, func_end, returning iterators to the func map.
13402
13403         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13404         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13405         (func_begin): new method
13406         (func_end): new method
13407
13408         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13409         and not)
13410         (copySelection): ditto
13411         (pasteSelection): ditto
13412
13413         * BufferView.C: whitespace change
13414         * BufferView.h: inherit privately from noncopyable
13415
13416 2001-04-16  Allan Rae  <rae@lyx.org>
13417
13418         * tabular-old.C (l_getline):
13419         * spellchecker.C (sc_check_word):
13420         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13421         an unrecognised preprocessor directive.  So ensure they're wrapped.
13422
13423 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13424
13425         * src/exporter.C (Export): Give an error message when path to file
13426         contains spaces.
13427
13428 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13429
13430         * LaTeX.C (deplog): Always check that foundfile exists.
13431
13432 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * lyx_main.h:
13435         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13436
13437 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * tabular.[Ch] (getLabelList): implement new method
13440
13441         * minibuffer.h: comment ouf setTiimer
13442
13443         * minibuffer.C (ExecutingCB): constify res
13444         (peek_event): constify s
13445         (Set): constify ntext
13446         (Init): constify nicename
13447
13448         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13449
13450         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13451         (savePosition): use two params to Minibuffer::Set
13452         (restorePosition): ditto
13453
13454 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13455
13456         * lyx_main.C: include language.h
13457
13458         * Makefile.am (lyx_main.o): add language.h
13459
13460 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * exporter.C:
13463         * paragraph.C:
13464         * screen.C:
13465         * tabular.C:
13466         * CutAndPaste.C: include gettext.h
13467
13468         * lyxfont.h: remove old hack with ON and OFF.
13469
13470         * lyxparagraph.h:
13471         * lyxfont.h: do not include language.h...
13472
13473         * BufferView2.C:
13474         * LaTeXFeatures.C:
13475         * Painter.C:
13476         * bufferview_funcs.C:
13477         * font.C:
13478         * lyxfont.C:
13479         * text.C:
13480         * text2.C:
13481         * trans_mgr.C:
13482         * paragraph.C: ... but do it here instead
13483
13484 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13487
13488         * tabular.C: small reformat
13489
13490         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13491         NEW_INSETS version
13492         (GetChar): ditto
13493         (BreakParagraph): ditto
13494         (SetOnlyLayout): ditto
13495         (SetLayout): ditto
13496
13497         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13498         with one arg less.
13499
13500         * lastfiles.C: removed most using decl, add std:: where needed
13501
13502         * buffer.C: ws changes
13503
13504         * MenuBackend.C (class compare_format): put into anon namespace
13505         (expand): constify label, names, action, action2
13506         (expand):
13507
13508         * text.C (SingleWidth): constify font
13509         (IsBoundary): constify rtl2
13510         (GetVisibleRow): constify ww
13511
13512         * LaTeX.C (deplog): constify logfile
13513
13514         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13515         start_x, end_x
13516         (workAreaExpose): constify widthChange, heightChange
13517
13518         * lyxrow.C (par): moved
13519         (height): moved
13520         (next): moved
13521         * lyxrow.h: as inlines here
13522
13523         * lyxfont.h (shape): moved from lyxfont.C
13524         (emph): moved from lyxfont.C
13525
13526         * lyxfont.C (LyXFont): use initialization list for all
13527         constructors
13528         (shape): move to lyxfont.h as inline
13529         (emph): move to lyxfont.h as inline
13530
13531
13532 2001-04-04  Juergen Vigna  <jug@sad.it>
13533
13534         * vspace.C: had to include stdio.h for use of sscanf
13535
13536 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * BufferView.h:
13539         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13540         independent of xforms.
13541
13542 2001-04-02  Juergen Vigna  <jug@sad.it>
13543
13544         * spellchecker.C: fixed namespace placing!
13545
13546 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13549         the LyXParagraph * is 0.
13550
13551 2001-03-29  Juergen Vigna  <jug@sad.it>
13552
13553         * vspace.C: added support for %, c%, p%, l%.
13554         (stringFromUnit): added helper function.
13555         (asLatexString): changed to give right results for the %-values.
13556
13557         * buffer.C: convert the widthp in a width%.
13558
13559 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13562         figureForm.[Ch].
13563
13564         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13565         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13566
13567         * lyx_cb.[Ch]: see above.
13568
13569         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13570         form1.[Ch].
13571
13572         * form1.[Ch]:
13573         * lyx.[Ch]: replaced by figure_form.[Ch].
13574
13575         * lyx_gui.C:
13576         * lyx_gui_misc.C:
13577         * lyxfunc.C: changed headers associated with above changes.
13578
13579 2001-03-27  Juergen Vigna  <jug@sad.it>
13580
13581         * BufferView_pimpl.C: set the temporary cursor right!
13582
13583 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13586
13587 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         * LString.h: removed "using std::getline"!
13590
13591         * BufferView_pimpl.C (Dispatch): changes due to changes in
13592         InsetInclude::Params.
13593
13594         * buffer.C (tag_name): removed redundant break statements as they were
13595         producing lots of warnings with my compiler.
13596
13597 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * LString.h: add "using std::getline" when using the real <string>.
13600
13601 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13602
13603         * buffer.C: removed bitset usage.
13604         PAR_TAG moved to an anonymous name space.
13605         (tag_name): new funtion, also in the anonymous namespace.
13606         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13607         (makeDocBookFile): clean code. Completed transition from string arrays
13608         to string vectors.
13609         (SimpleDocBookOnePar): code clean.
13610
13611 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13612
13613         * tabular.C: add some comments.
13614
13615 2001-03-22  Juergen Vigna  <jug@sad.it>
13616
13617         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13618         compatibility read a bit and fixed bug with minipage in different
13619         depth.
13620
13621 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13622
13623         * buffer.C (pop_tag): removed.
13624         (push_tag): removed.
13625         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13626         array replaced with vector. Added support for CDATA sections.
13627         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13628         at any nest level.
13629         (makeDocBookFile): XML conformant declaration of CDATA section,
13630         fixed bug related to <emphasis> in the first paragraph char.
13631         (sgmlOpenTag): exclude empty tags.
13632         (sgmlCloseTag): ditto.
13633
13634         * buffer.h (pop_tag): removed.
13635         (push_tag): removed.
13636
13637 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13638
13639         * language.h (Languages): added size_type and size().
13640
13641 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13642
13643         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13644         response on compability reading of minipages. One probliem is that
13645         the old usage of minipages was «flertydig»
13646
13647         * several files here and in subdirs: don't use static at file
13648         scope use anon namespaces instead.
13649
13650 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13651
13652         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13653         LaTeX output. This is necessary for Literate document
13654         processing.
13655
13656 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13657
13658         * buffer.C: insert hfill when needed.
13659
13660         * tabular.C (l_getline): use string::erase, small whitespace change.
13661
13662         * BufferView_pimpl.C: try the anon namespace.
13663         * WorkArea.C: ditto
13664
13665 2001-03-16  Juergen Vigna  <jug@sad.it>
13666
13667         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13668         otherwise it won't open options-dialogs.
13669
13670         * buffer.C: honor pextraWidth(p) on converting minipages.
13671
13672         * tabular.C (l_getline): changed the functions to strip trailing \r.
13673
13674 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * BufferView_pimpl.C:
13677         * minibuffer..C: added "using SigC::slot" declaration.
13678
13679 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13680
13681         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13682
13683         * text2.C: ditto
13684
13685         * text.C: ditto
13686
13687         * paragraph.C: ditto
13688
13689         * lyxtext.h: NO_PEXTRA
13690
13691         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13692
13693         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13694         * ParameterStruct.h: ditto
13695         * ParagraphParameters.h: ditto
13696         * lyxparagraph.h: ditto
13697
13698 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13699
13700         * buffer.C: add compability for minipage alignment.
13701         (latexParagraphs): remove unwanted pextra check.
13702
13703         * several files: remove CXX_WORKING_NAMESPACES
13704
13705         * buffer.C (pop_tag): tie is in namespace boost
13706
13707         * BufferView.h: noncopyable is in namespace boost
13708         * lyxlex.h: ditto
13709         * lyx_main.h: ditto
13710         * lyx_gui.h: ditto
13711         * layout.h: ditto
13712         * lastfiles.h: ditto
13713         * bufferlist.h: ditto
13714         * ShareContainer.h: ditto
13715         * LyXView.h: ditto
13716         * LyXAction.h: ditto
13717         * LaTeX.h: ditto
13718
13719 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * Merging changes from BRANCH_MVC back into HEAD.
13722
13723         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13724
13725 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * BufferView_pimpl.C: change from intl.C
13728
13729         * combox.h:
13730         * combox.C:
13731         * Makefile.am: move combox.*
13732
13733         * form1.h:
13734         * form1.C:
13735         * lyx_gui.C:
13736         * intl.h:
13737         * intl.C: remove dialog (covered by prefs)
13738
13739 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13740
13741         * lyxfunc.C (Dispatch): removed redundant break statement.
13742
13743 2001-03-14  Juergen Vigna  <jug@sad.it>
13744
13745         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13746
13747 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13748
13749         * buffer.C: add hack to fix compability reading of minipages.
13750
13751 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13752
13753         * buffer.C (getLists): Cleanup.
13754
13755 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * lyxfont.C (update): don't honor toggleall on font size.
13758
13759 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * bmtable.c:
13762         * bmtable.h:
13763         * Makefile.am: moved to frontends/xforms/
13764
13765         * lyx_gui_misc.C:
13766         * lyxfunc.C:
13767         * BufferView_pimpl.C: changes for moved mathpanel
13768
13769 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13770
13771         * gettext.h: fix gettext_init() in --disable-nls
13772
13773 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13776
13777 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13778
13779         * lyx.C:
13780         * lyx.h: strip external form
13781
13782 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13783
13784         * BufferView_pimpl.C: add comment, destroySplash()
13785
13786 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * BufferView_pimpl.C:
13789         * LyXAction.C:
13790         * buffer.C:
13791         * commandtags.h:
13792         * lyxfunc.C: use re-worked insetinclude
13793
13794 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13795
13796         * buffer.C: add using std::stringstream.
13797
13798         * lyx_cb.C: readd using std::ios.
13799
13800         * buffer.C: add using std::map.
13801
13802         * BufferView_pimpl.C: add using std::vector.
13803
13804         * ShareContainer.h: add std:: to swap.
13805
13806         * buffer.h: add some typedefs
13807         * buffer.C (getLists): use them
13808         (getLists): renamed from getTocList.
13809         add a counter for the different float types and use it in the
13810         generated string.
13811         (getLists): use the same counter for the NEW_INSETS and the "non"
13812         NEW_INSETS
13813
13814         * lyx_cb.h: remove unused items, includes, using etc.
13815
13816         * ShareContainer.h: remove some commented code, add more comments
13817         and "documentation".
13818
13819 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13820
13821         * buffer.C (getTocList): make the list also when NEW_INSETS is
13822         defined.
13823
13824         * buffer.h: remove TocType
13825
13826         * buffer.C (getTocList): change to return a map<string,
13827         vector<TocItem> >, implement for dynamic number of list.
13828
13829         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13830         * text2.C (PasteSelection): adjust
13831         * CutAndPaste.C (pasteSelection): adjust
13832
13833         * FloatList.C (FloatList): update from the new_insets branch.
13834         * Floating.[Ch]: ditto
13835         * LaTeXFeatures.C: ditto
13836         * buffer.C: ditto
13837         * lyxlex_pimpl.C: ditto
13838
13839         * paragraph.C (Last): remove when NEW_INSETS is defined.
13840
13841         * other file: changes because of the above.
13842
13843 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13844
13845         * lyxparagraph.h: rename next to next_, previous to previous_,
13846         make them private for NEW_INSETS. Rename Next() to next(),
13847         Previous() to previous().
13848
13849         * other files: changes because of the above.
13850
13851 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13852
13853         * BufferView.h:
13854         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13855         problem.
13856
13857 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * main.C (main): pass lyx_localedir to gettext_init().
13860
13861         * gettext.h: remove locale_init and gettext_init macros
13862
13863         * gettext.C (locale_init): new function
13864         (gettext_init): new function
13865
13866         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13867         setlocale().
13868
13869 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13870
13871         * Moved credits to frontends:
13872         * credits.[Ch]: removed
13873         * credits_form.[Ch]: removed
13874         * lyx_gui_misc.C: remove credits stuff
13875         * Makefile.am:
13876
13877 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13878
13879         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13880
13881         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13882         unneeded destructor.
13883
13884         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13885         a standalone pointer again.
13886
13887         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13888
13889 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13890
13891         * Makefile.am:
13892         * filedlg.h:
13893         * filedlg.C:
13894         * LyXAction.C:
13895         * ToolbarDefaults.C:
13896         * bufferlist.C:
13897         * commandtags.h:
13898         * form1.C:
13899         * form1.h:
13900         * lyx_cb.C:
13901         * lyx_cb.h:
13902         * lyxfunc.h:
13903         * lyxfunc.C:
13904         * BufferView_pimpl.C: use new file dialog in GUII
13905
13906         * lyx_cb.h:
13907         * lyx_cb.C: remove LayoutsCB to Toolbar
13908
13909 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * ShareContainer.h (get): add std:: qualifier
13912
13913 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * ShareContainer.h: define a proper ShareContainer::value_type
13916         type (and use typename to please compaq cxx)
13917
13918 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13919
13920         * lyxparagraph.h: move serveral local vars to
13921         ParameterStruct/ParagraphParameters., use ShareContainer in
13922         FontTable., make vars in FontTable private and add getter and
13923         setter.
13924
13925         * paragraph.C: changes because of the above.
13926
13927         * lyxfont.h: remove copy constructor and copy assignment. (the
13928         default ones is ok), move number inside FontBits. move inlines to
13929         lyxfont.C
13930
13931         * lyxfont.C: add number to initializaton of statics, move several
13932         inlines here. constify several local vars. some whitespace
13933         cleanup. Dont hide outerscope variables.
13934
13935         * Spacing.h: add two new constructors to match the set methods.
13936
13937         * ShareContainer.h: new file, will perhaps be moved to support
13938
13939         * ParameterStruct.h: new file
13940
13941         * ParagraphParameters.h: new file
13942
13943         * ParagraphParameters.C: new file
13944
13945         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13946         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13947
13948         * BufferView_pimpl.C: ParagraphParameter changes.
13949         * buffer.C: Likewise.
13950         * bufferview_funcs.C: Likewise.
13951         * text.C: Likewise.
13952         * text2.C: Likewise.
13953
13954 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * lyxfind.C (LyXReplace): do not redefine default argument in
13957         implementation.
13958         (IsStringInText): ditto
13959         (SearchForward): ditto
13960         (SearchBackward): ditto
13961
13962 2001-03-06  Juergen Vigna  <jug@sad.it>
13963
13964         * lyxfind.C (IsStringInText): put parentes around expressions.
13965
13966 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13967
13968         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13969
13970 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13973
13974         * stl_string_fwd.h: add comment
13975
13976         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13977
13978         * tabular.h:
13979         * tabular.C: remove unused DocBook methods
13980
13981         * intl.C:
13982         * language.C:
13983         * paragraph.C:
13984         * buffer.C:
13985         killed DO_USE_DEFAULT_LANGUAGE
13986
13987 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * lyx_gui.C: do not include language.h.
13990
13991         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13992         arguments in function implementation.
13993
13994 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13995
13996         * BufferView_pimpl.C: add <ctime>
13997
13998 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13999
14000         * BufferView_pimpl.C: add using std::find_if
14001
14002 2001-02-27  José Matos  <jamatos@fep.up.pt>
14003
14004         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14005         by OnlyPath.
14006
14007 2001-02-11  José Matos  <jamatos@fep.up.pt>
14008
14009         * buffer.C (makeDocBookFile): command styles now have a parameter as
14010         "title" by default.
14011
14012 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14013
14014         * layout_forms.[Ch]: removed
14015         * lyx_cb.[Ch]: out character
14016         * lyx_gui.C: out character
14017         * lyx_gui_misc.C: out character
14018         * bufferview_funcs.C: : out character,
14019         added toggleall as parameter in ToggleAndShow
14020
14021 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14022
14023         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14024
14025         * text2.C (SetCurrentFont): Disable number property at boundary.
14026
14027 2001-02-26  Juergen Vigna  <jug@sad.it>
14028
14029         * lyxfunc.C (getStatus): added a string argument override function so
14030         that this is correctly called from LyXFunc::Dispatch if it contains a
14031         do_not_use_argument which is used!
14032         (Dispatch): added check for "custom" export and call appropriate func.
14033
14034 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * lyxrc.C: Add language_command_local, language_use_babel and
14037         language_global_options.
14038
14039         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14040
14041         * buffer.C (makeLaTeXFile): Use language_use_babel and
14042         language_global_options.
14043
14044 2001-02-23  Juergen Vigna  <jug@sad.it>
14045
14046         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14047         which works with LyXText and putted it inside BufferView. Here now we
14048         only call for that part the BufferView::Dispatch() function.
14049
14050         * BufferView.C (Dispatch): added.
14051
14052         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14053         functions which needs to use a LyXText over from LyXFunc.
14054         (MenuInsertLyXFile): added
14055         (getInsetByCode): added
14056         (moveCursorUpdate): added
14057         (static TEXT): added
14058
14059 2001-02-22  Juergen Vigna  <jug@sad.it>
14060
14061         * BufferView_pimpl.C (update): call a status update to see if LyXText
14062         needs it.
14063
14064 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14065
14066         * vc-backend.C (revert): implement for CVS
14067         (getLog): implement for CVS
14068
14069 2001-02-20  Juergen Vigna  <jug@sad.it>
14070
14071         * text2.C (ClearSelection): added BufferView param for inset_owner call
14072
14073         * lyxfunc.C (TEXT): added this function and use it instead of
14074         directly owner->view()-text of getLyXText().
14075
14076 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14077
14078         * src/layout_forms.C: out preamble
14079         * src/layout_forms.h: out preamble
14080         * src/lyx_cb.C: out preamble
14081         * src/lyx_cb.h: out preamble
14082         * src/lyx_gui.C: out preamble
14083         * src/lyx_gui_misc.C: out preamble
14084         * src/lyxfunc.C: connect with guii preamble
14085
14086 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14089
14090 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14093         whether to run bibtex.
14094
14095 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14096
14097         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14098
14099 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14100
14101         * Makefile.am (lyx_SOURCES): removed bibforms.h
14102
14103         * vspace.h: doxygen
14104
14105         * text.C (GetVisibleRow): make several local vars const
14106
14107         * tabular.C: small cleanup.
14108
14109         * lyxserver.C (callback): use compare instead of strncmp
14110
14111         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14112         inlines to after class or to paragraph.C
14113
14114         * lyxfont.h: remove friend operator!=
14115
14116         * converter.h: move friend bool operator< to non friend and after
14117         class def.
14118
14119         * combox.h: small cleanup
14120
14121         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14122         to inlines after class def.
14123
14124         * buffer.C (pop_tag): use string operations instead of strcmp
14125
14126         * bmtable.c: doxygen, small cleanup
14127
14128         * LaTeX.h: remove friend operator==
14129
14130 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14131
14132         * screen.C:
14133         * lyxrc.[Ch]:
14134         * lyxfunc.C:
14135         * lyxfont.[Ch]:
14136         * lyx_cb.C:
14137         * intl.[Ch]:
14138         * commandtags.h:
14139         * buffer.C:
14140         * WorkArea.[Ch]:
14141         * LyXAction.C:
14142         * BufferView_pimpl.C:
14143         * BufferView.[Ch]: remove cruft
14144
14145 2001-02-14  Juergen Vigna  <jug@sad.it>
14146
14147         * lyxfunc.C: removed #if 0 unused code
14148
14149         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14150
14151         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14152
14153         * text2.C (SetSelection): added a BufferView * parameter
14154
14155 2001-02-13  Juergen Vigna  <jug@sad.it>
14156
14157         * lyxfunc.C (Dispatch): fixed protected blank problem.
14158         * BufferView2.C (protectedBlank): added LyxText * parameter.
14159
14160         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14161         (AppendColumn): same as above for column_info.
14162
14163         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14164         (moveCursorUpdate): use a LyXText param for support of InsetText.
14165
14166         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14167         (tripleClick): ditto
14168
14169         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14170
14171         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14172
14173         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14174
14175         * text2.C (SetSelection): set correct update status if inset_owner
14176         (ToggleFree): ditto
14177
14178 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14179
14180         * tabular.C: remove some commented code.
14181
14182 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14183
14184         * BufferView_pimpl.C: call hideSplash()
14185
14186         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14187
14188         * include_form.h:
14189         * bibforms.h: remove
14190
14191         * lyxfunc.C:
14192         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14193           add LFUN_CHILD_CREATE
14194
14195         * counters.h: fix tiny typo
14196
14197         * lyx_cb.C:
14198         * lyx.h:
14199         * lyx_gui.C:
14200         * lyx.C: move splash to frontends/xforms/
14201
14202         * lyx_gui_misc.C: move Include and Bibform to frontends
14203
14204         * lyxvc.h: clarify comment
14205
14206         * vspace.C: tiny housekeeping
14207
14208 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14209
14210         * text.C (PrepareToPrint): RTL Fix.
14211
14212         * paragraph.C (GetUChar): New method.
14213         (String):  Use GetUChar.
14214
14215         * buffer.C (asciiParagraph): Use GetUChar.
14216
14217 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14218
14219         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14220
14221 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14222
14223         * buffer.h:
14224         * buffer.C: rename to getLogName(), handle
14225           build log / latex log nicely
14226
14227 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * MenuBackend.C:
14230         * MenuBackend.h: remove support for reference menuitem type.
14231
14232 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * BufferView_pimpl.C: housekeeping
14235         * BufferView_pimpl.h:
14236         * LyXView.h:
14237         * Makefile.am:
14238         * Timeout.C:
14239         * Timeout.h:
14240         * minibuffer.h: move Timeout GUI-I
14241
14242 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * lyxrc.C (read): Update converters data-structures.
14245
14246 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14247
14248         * LaTeX.h (operator!=): add operator != for Aux_Info
14249
14250 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14251
14252         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14253
14254         * LaTeXLog.C: deleted, useful code moved to Buffer
14255
14256         * buffer.h:
14257         * buffer.C: new function getLatexLogName()
14258
14259         * lyx_gui_misc.C:
14260         * lyx_gui.C:
14261         * lyxvc.C:
14262         * lyxvc.h:
14263         * lyxfunc.C: use frontends for LaTeX and VC logs
14264
14265 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * LaTeX.h: yet another std:: that Allan forgot.
14268
14269         * Variables.C (set): renamed from isset(), because this clashes
14270         with some HP-UX macros (grr).
14271
14272 2001-02-06  Allan Rae  <rae@lyx.org>
14273
14274         * LaTeX.h: Another bug fix.  Missing std:: this time.
14275
14276 2001-02-04  Allan Rae  <rae@lyx.org>
14277
14278         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14279         floats problem. I've left it commented out because it's not quite
14280         correct.  It should also test that the current object is a table or
14281         figure inset.  But I haven't gotten around to figuring out how to do
14282         that.  I *think* it'll be something like: "table" == inset.type()
14283
14284         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14285         bool.
14286
14287 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14290         all the citation/databases/styles in the auxilary file.
14291         (run): Rerun latex if there was a babel language error.
14292
14293 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14294
14295         * text.C (Backspace): Preserve the font when changing newline char
14296         with a space.
14297         (BreakParagraph): If the cursor is before a space, delete the space.
14298
14299         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14300
14301 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14304         new argument (code).
14305         (ChangeCitationsIfUnique): New method.
14306
14307         * paragraph.C (GetPositionOfInset): Handle bibkey.
14308
14309 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14310
14311         * BufferView_pimpl.h: change type of Position::par_pos to
14312         LyXParagraph::size_type.
14313
14314 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * BufferView_pimpl.C (savePosition, restorePosition): Write
14317         messages to minibuffer.
14318
14319 2001-01-28  José Matos  <jamatos@fep.up.pt>
14320
14321         * buffer.C (makeDocBookFile): adds support for document language.
14322         A silly restriction on the name of LatexCommand types where removed.
14323         Added support for CDATA sections, allows to chars unescaped, used
14324         among others in code, to avoid escape < and >.
14325
14326 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14327
14328         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14329         saved positions instrad of a stack. Furthermore, a position is
14330         stored using paragraph id/paragraph position.
14331
14332         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14333         Remove LFUN_REF_BACK.
14334
14335 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14336
14337         * converter.C (dvipdfm_options): New method.
14338
14339 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14340
14341         * vspace.C (isValidLength): Fix for empty input string.
14342
14343 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14344
14345         * LyXAction.C (init): change description of LFUN_FIGURE to
14346         "Insert Graphics"
14347
14348 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * LaTeX.C: add using directive
14351
14352 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14353
14354         * MenuBackend.C (expand): Fix the sorting of the formats.
14355
14356 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14357
14358         * lyx_main.C: tiny error message fix
14359
14360 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14361
14362         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14363         calling fl_initialize(). This fixes the problem with ',' as
14364         decimal separator in text files.
14365
14366 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * trans.C (process): Fix the keymap bug.
14369
14370 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * LaTeX.C (scanAuxFiles): New method. Provides support for
14373         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14374         (scanLogFile) Scan for "run BibTeX" messages.
14375
14376         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14377         OT1 font encoding. Also, load the aecompl package if the ae
14378         package is loaded.
14379
14380         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14381
14382 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * texrow.C (increasePos): turn two error messages into debug
14385         messages.
14386
14387 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * LaTeX.C (scanAux): Handle the \@input macro.
14390         (runBibTeX): Use scanAux().
14391
14392         * language.C (latex_options_): New field.
14393
14394         * LaTeXFeatures.C (getMacros): Add language macros.
14395
14396         * buffer.C (makeLaTeXFile): Small fix.
14397
14398 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14401
14402         * text2.C: add a using directive.
14403
14404 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * BufferView2.C:
14407         * lyx_gui_misc.h:
14408         * lyxfr1.C:
14409         * lyxfunc.C: kill LyXBell.
14410
14411 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14412
14413         * text.C (IsBoundary): Remove the error message
14414
14415         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14416
14417         * lyxrc.C (setDefaults): Correct initialization value for
14418         font_norm_type.
14419
14420 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14423         gotoError().
14424
14425         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14426         and GotoNextNote().
14427
14428         * src/LyXAction.C: Added reference-next.
14429
14430         * text.C (InsertChar): Use contains instead of strchr.
14431
14432         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14433
14434 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14435
14436         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14437         alignment commands (when needed).
14438
14439         * text.C (InsertChar): Add ':' to number separator chars.