]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2cf67d0beb2219a5a190f7b65d73cfa453b8f358
[lyx.git] / src / ChangeLog
1 2004-01-07  Angus Leeming  <leeming@lyx.org>
2
3         * LyXAction.C:
4         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
5
6 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
7
8         * text.C (breakParagraph): remove an outdated #warning
9
10 2004-01-07  André Pönitz  <poenitz@gmx.net>
11
12         * lyxfind.C: somewhat clearer logic
13
14         * text.C: prevent crash in cursorX on unitialized row cache
15
16 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
17
18         * lyxcursor.[Ch] (operator>): add
19         * textcursor.C (selStart, selEnd): use std::min and std::max
20
21 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
22
23         * Chktex.C: include boost/format.hpp
24
25 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
26
27         * InsetList.C: replace functor MathcIt with adaptable functor
28         InsetTablePosLess
29         (insetIterator): modify accordingly
30
31         * BranchList.h: move the BranchNamesEqual functor here from...
32         * BranchList.C: ... to here
33
34         * BranchList.C: new BranchListEqual fuctor, use it. Remove
35         SameName and match.
36         (add): replace a finding loop with std::find_if.
37
38 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
39
40         * output_docbook.C: moving LatexParam functionality into
41         .layout files
42
43 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * buffer.C: increment format to 229.
46
47 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
48
49         * LaTeXFeatures.C:
50         * lyx_sty.[Ch]: remove minipageindent_def
51
52         * LyXAction.C:
53         * factory.C:
54         * lfuns.h:
55         * lyxfunc.C:
56         * text3.C: remove LFUN_INSET_MINIPAGE
57
58 2003-12-28  Angus Leeming  <leeming@lyx.org>
59
60         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
61
62 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
63
64         * text2.C (setParagraph): fix off-by-one crash
65
66 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * output_docbook.C: header stuff for AGU
69
70 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * text2.C (redoCursor): remove
73         * text.C:
74         * text3.C:
75         * BufferView_pimpl.C: remove calls to redoCursor and
76         setCursor(cursor.par(), cursor.pos()) all around
77
78 2003-12-15  Angus Leeming  <leeming@lyx.org>
79
80         * buffer.C: up the format to 228.
81
82 2003-12-15  André Pönitz  <poenitz@gmx.net>
83
84         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
85         slices
86
87         * Makefile.am:
88
89         * BufferView_pimpl.C:
90         * cursor.[Ch]:
91         * lyxcursor.[Ch]:
92         * rowpainter.[Ch]:
93         * lyxtext.h:
94         * text.C:
95         * text2.C:
96         * text3.C: adjust
97
98 2003-12-15  Angus Leeming  <leeming@lyx.org>
99
100         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
101         than getFromGUIName to manipulate the color.
102
103 2003-12-14  Angus Leeming  <leeming@lyx.org>
104
105         * BranchList.[Ch]: minimize the API.
106         (Branch::getBranch, getColor): now return a 'const &'.
107         (Branch::setSelected) now returns a bool set to true if the
108         selection status changes.
109         (BranchList::clear, size, getColor, setColor, setSelected,
110         allBranches, allSelected, separator): removed.
111         (BranchList::find): new functions, returning the Branch with
112         the given name.
113         (BranchList::add, remove): return a bool indicating that
114         the operation was successful.
115
116         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
117         new InsetBranch::isBranchSlected member function.
118
119         * LColor.[Ch]: mimimize the API.
120         (fill): renamed as addColor and made private.
121         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
122         versions of these functions taking a string arg have been removed.
123
124         * bufferparams.C (readToken):
125         * lyxfunc.C (dispatch):
126         * lyxrc.C (read): changes due to the altered BranchList and
127         LColor APIs.
128
129         * factory.C (createInset, readInset): changes due to altered
130         InsetBranch c-tor.
131
132 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
133
134         * factory.C:
135         * lyxfunc.C: remove insetminipage. "minipage-insert"
136         now produces a frameless minipage box inset.
137
138 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * textcursor.[Ch] (selStart,selEnd): add new methods
141         remove selection::start, end, use LyXCursor::operator<
142         * lyxcursor.[Ch] (operator<): add
143         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
144         * BufferView.[Ch] (unsetXSel): add
145         * text2.C (clearSelection): use unsetXSel,adjust
146         * text.C: adjust
147         * text3.C: adjust
148         * rowpainter.C: adjust
149         * bufferview_funcs.C (put_selection_at): adjust
150
151 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
152
153         * BufferView_pimpl.C: small coord. correction
154
155 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
156
157         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
158         dragging over the splash screen.
159
160 2003-12-11  Angus Leeming  <leeming@lyx.org>
161
162         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
163         as it is now handled in LyXText::dispatch.
164
165         * text3.C (doInsertInset): remove a level of nesting.
166
167 2003-12-11  Angus Leeming  <leeming@lyx.org>
168
169         * factory.C (createInset): changes due to the changed interface to
170         InsetCommandMailer::string2params.
171
172 2003-12-10  Angus Leeming  <leeming@lyx.org>
173
174         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
175         'dialog-show-new-inset <inset name>'
176
177 2003-12-10  Angus Leeming  <leeming@lyx.org>
178
179         * buffer.C: up the format to 227.
180
181         * factory.C: the box inset is now identified simply by 'Box'.
182
183 2003-12-10  Angus Leeming  <leeming@lyx.org>
184
185         * buffer.C: up the format to 226.
186
187         * factory.C: the note inset is now identified simply by 'Note'.
188
189 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
190
191         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
192         when a pit is enough. Standarize a couple of loops.
193
194 2003-12-05  Angus Leeming  <leeming@lyx.org>
195
196         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
197         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
198         data to the re-worked "log" dialog.
199
200 2003-12-03  André Pönitz  <poenitz@gmx.net>
201
202         * PosIterator.C:
203         * iterators.C:
204         * lyxtext.h:
205         * output_latex.C:
206         * paragraph_funcs.C:
207         * text.C:
208         * text2.C: use Inset::getText instead of Inset::getParagraph
209
210 2003-12-03  André Pönitz  <poenitz@gmx.net>
211
212         * buffer.[Ch]:
213         * lyxtext.h:
214         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
215         InsetText::read() as LyXText::read()
216
217 2003-12-02  Angus Leeming  <leeming@lyx.org>
218
219         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
220         type. Add a comment in the implementation that the function uses
221         the stream's bad() function rather than fail() as the std::streams
222         would do.
223
224 2003-12-02  André Pönitz  <poenitz@gmx.net>
225
226         * lyxlex.[Ch]: make interface more similar to std::stream
227
228         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
229
230 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
233
234 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
235
236         * vspace.[Ch]: remove VSpace::NONE
237
238 2003-12-01  André Pönitz  <poenitz@gmx.net>
239
240         * buffer.[Ch]:
241         * lyxtext.h: move ParagraphList member to LyXText
242         rename LyXText::ownerParagraphs to LyXText::paragraph
243
244         * CutAndPaste.C:
245         * bufferview_funcs.C:
246         * iterators.[Ch]:
247         * lyx_cb.C:
248         * paragraph.C:
249         * rowpainter.C:
250         * tabular.C:
251         * text.C:
252         * text2.C:
253         * text3.C: adjust
254
255         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
256
257         * undo.C: fix cursor positioning
258
259 2003-12-01  John Levon  <levon@movementarian.org>
260
261         * BufferView_pimpl.C: fix a crash on exit with
262         a buffer open
263
264 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
265
266         * BranchList.C: fix setSelected() method.
267
268 2003-11-28  André Pönitz  <poenitz@gmx.net>
269
270         * ParagraphParameters.[Ch]:
271         * ParameterStruct.h: remove space above/below from Paragraph to
272          InsetVSpace
273
274         * BufferView_pimpl.C:
275         * factory.C:
276         * lyxfunc.C:
277         * lyxtext.h:
278         * output_latex.C:
279         * paragraph.C:
280         * paragraph_funcs.C:
281         * rowpainter.[Ch]:
282         * text.C:
283         * text2.C:
284         * text3.C: adjust
285
286 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * factory.C: Syntax change for CharStyles
289
290 2003-11-28  André Pönitz  <poenitz@gmx.net>
291
292         * BufferView.[Ch]:
293         * BufferView.[Ch]:
294         * buffer.[Ch]:
295         * buffer.[Ch]: move LyXText member
296
297 2003-11-28  André Pönitz  <poenitz@gmx.net>
298
299         * BufferView.[Ch]: make LyXText * text a private member
300
301         * BufferView_pimpl.C:
302         * cursor.C:
303         * iterators.C:
304         * lyx_cb.C:
305         * lyxfind.C:
306         * lyxtext.h:
307         * rowpainter.[Ch]:
308         * text.C:
309         * text2.C:
310         * undo.C: adjust
311
312         * output_plaintext.C: cleanup
313
314 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
315
316         * buffer.C:
317         * lyxtextclass.[Ch]: parametrize SGML document header
318
319 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * converter.[Ch]:
322         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
323         getFlavor().
324
325 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * text2.C (setFont): rework using PosIterator (no more recursive)
328         (setCharFont): no more needed
329         (setLayout): no more selection cursors fiddling (done by redoCursor)
330         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
331         destroy remaining ones)
332
333 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
336         * lyxtext.h: ditto
337         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
338         selection cursors
339         * lyxfunc.C: adjust
340         * text3.C: adjust + re-allow multi par depth changes
341         * textcursor.C: simplify a bit
342
343 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
344
345         * src/buffer.C:
346         * src/lyxlayout.C:
347         * src/lyxlayout.h:
348         * src/lyxtext.h:
349         * src/output_docbook.C:
350         * src/output_latex.C:
351         * src/paragraph.C:
352         * src/paragraph.h:
353         * src/sgml.C:
354         * src/sgml.h:
355         * src/text2.C: Introducing a number of tags parametrizing various
356         XML formats that we may want to support
357
358 2003-11-25  André Pönitz  <poenitz@gmx.net>
359
360         * InsetList.[Ch] (begein, end): inline as suggested by profiler
361
362         * lyxtext.h (leftMargin/rightMargin): simplify interface
363
364         * rowpainter.C:
365         * text.C:
366         * text2.C:
367         * text3.C: adjust
368
369 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * lyxfunc.C (dispatch): propogate the bibtex databases from the
372         master file to any child files. Fixes bug 546.
373
374 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
375
376         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
377
378 2003-11-24  André Pönitz  <poenitz@gmx.net>
379
380         * rowpainter.C: simplification
381
382         * text2.C (updateCounters): remove call to redoParagraph on
383         changed labels as this is far too expensive.
384
385 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * converter.C (convert): fix a crash: this function gets
388         called with buffer == 0 from importer code.
389
390 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
391
392         * text3.C (cursorPrevious): make sure that we do not compare
393         iterators form different containers.
394         (cursorNext): ditto
395
396         * rowpainter.C (paintSelection): make sure that we do not compare
397         iterators from different containers.
398
399         * text3.C (dispatch): [PRIOR] make sure that we do not compare
400         iterators from different ParagraphList containers.
401         [NEXT] ditto
402
403         * text2.C (LyXText): change order of initialization slightly
404         (operator=): new function. copy all variables except cache_par_
405         (moveUp): make sure that we do not compare iterators from
406         different ParagraphList constainers.
407         (moveDown): ditto
408
409         * text.C (firstPar): new function
410         (lastPar): new function
411         (endPar): new function
412
413         * lyxtext.h: move things around and group public functions, public
414         variables, private functions, private variables
415
416 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
417
418         * factory.C: change call to InsetERT constructor to avoid
419         additional invocation of method status
420         * text2.C (toggleInset): remove redundant update() call
421         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
422         instead of a Bufferview pointer
423
424 2003-11-21  André Pönitz  <poenitz@gmx.net>
425
426         * rowpainter.C: simplification
427
428 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * text3.C (dispatch): make possible to extend a word/row selection
431         with the mouse
432
433 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * lyxtext.h: x0_,y0_ -> xo_,yo_
436         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
437         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
438         * rowpainter.C (paintRows): paint full paragraphs
439
440 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
443         screen coordinates)
444
445 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * lyxtext.h: add x0_, y0_
448         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
449         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
450
451 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
452
453         * text2.C (setCursorIntern): move the x_target update here *
454         * text3.C: change some bv() to true/false in calls to
455         cursorUp/Down/Right/Left
456         * cursor.C: use helper function.
457
458 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
461         * paragraph_funcs.[Ch]: correct comment
462         * rowpainter.C: do not paint selections away from bv->cursor()
463         Fix a long standing selection painting bug.
464         * text3.C: generalize mouse-selection code to LyXTexts other that
465         top one
466         * textcursor.C: do not use y coords if we can use par offsets
467
468 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
469
470         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
471         cursor position after e.g. inset insert)
472
473 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
474
475         * lyxfind.C (replace): adjust to locking removal + some
476         code simplification
477
478 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
481         of the path
482
483 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * lyxlayout.[Ch]:
486         * output_docbook.C: XML sanitation: new layout
487         parameters InnerTag and CommandDepth
488
489 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * BufferView_pimpl.C:
492         * factory.C:
493         * text3.C: Fix the insertion and modification of button-style
494         insets
495
496 2003-11-13  André Pönitz  <poenitz@gmx.net>
497
498         * InsetList.[Ch]: remove deleteLyXText
499
500         * paragraph.[Ch]: cache beginOfBody position
501
502         * Bidi.C:
503         * text.C:
504         * text2.C:
505         * text3.C: remove superfluous update() calls
506
507         * vspace.C: cleanup
508
509 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
512         * BufferView.C (fitLockedInsetCursor): remove
513         * cursor.[Ch] (getDim): add
514         * text.C (getRowNearY): add faster version
515         * text3.C: remove some update calls
516
517 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * LaTeXFeatures.C:
520         * LyXAction.C:
521         * MenuBackend.C:
522         * MenuBackend.h:
523         * dispatchresult.h:
524         * factory.C:
525         * lfuns.h:
526         * lyxfunc.C:
527         * lyxtextclass.C:
528         * lyxtextclass.h:
529         * text3.C: The Character Style /XML short element patch.
530
531 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * text3.C:
534         * factory.C: Small step to solving 'unable to insert some insets'
535         problem
536
537 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
538
539         * cursor.[Ch] (updatePos): new function for updating the y
540         position of the tip inset
541         * bufferview_funcs.C (put_selection_at):
542         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
543
544 2003-11-11  André Pönitz  <poenitz@gmx.net>
545
546         * text.C: remove big comment on invalid Paragraph pointers as it is
547         not valid anymore
548
549 2003-11-11  André Pönitz  <poenitz@gmx.net>
550
551         * text_funcs.[Ch]: merge with ...
552
553         * text.C: ... this
554
555         * lyxtext.h:
556         * text2.C:
557         * text3.C: adjust
558
559         * Makefile.am: remove text_funcs.[Ch]
560
561 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
562
563         * cursor.C (getPos): return absolute cached y coord
564
565         * BufferView_pimpl.C (fitCursor): new simplistic code
566         (workAreaDispatch): add a fitCursor call
567
568 2003-11-10  André Pönitz  <poenitz@gmx.net>
569
570         * BufferView.[Ch]:
571         * BufferView_pimpl.[Ch]: merge update() and updateInset()
572
573 2003-11-10  André Pönitz  <poenitz@gmx.net>
574
575         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
576         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
577         indicate that the cursor needs to leave an inset
578
579         * lyxtext.h: remove inset locking
580
581         * cursor.[Ch]: re-implement functionality provided by inset locking
582
583         * BufferView.[Ch]:
584         * BufferView_pimpl.[Ch]:
585         * LyXAction.C:
586         * bufferview_funcs.[Ch]:
587         * factory.C:
588         * funcrequest.[Ch]:
589         * iterators.C:
590         * lyx_cb.C:
591         * lyxfind.C:
592         * lyxfunc.C:
593         * text.C:
594         * text2.C:
595         * text3.C:
596         * undo.C: adjust
597
598 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
599
600         * PosIterator.[Ch]: replace the stack with a vector, add inset
601         accesor
602         * iterators.[C]: adjust
603
604 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
605
606         * lyxfind.C (replaceAll): mark the buffer dirty if something was
607         replaced
608         * paragraph_funcs.C (readParToken): put the correct id in the
609         error item, not the id of the top paragraph
610
611 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
612
613         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
614         * bufferview_funcs.C (put_selection_at): use the above
615
616 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
617
618         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
619
620 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * output_linuxdoc.h:
623         * output_plaintext.h:
624         * output.h:
625         * output_docbook.h: add #include statements
626
627 2003-11-05  José Matos  <jamatos@lyx.org>
628
629         * output_docbook.[Ch]:
630         * output_latex.[Ch]:
631         * output_linuxdoc.[Ch]:
632         * output_plaintext.[Ch]: New files for output formats.
633         * output.[Ch]: New file for helper functions.
634
635         * buffer.[Ch]:
636         * paragraph_funcs.[Ch]: output functions moved to new files.
637
638         * outputparams.h: rename of latexrunparams.h
639
640         * LaTeX.[Ch]:
641         * buffer.[Ch]:
642         * bufferlist.[Ch]:
643         * converter.[Ch]:
644         * exporter.C:
645         * paragraph.[Ch]:
646         * paragraph_funcs.[Ch]:
647         * paragraph_pimpl.[Ch]:
648         * tabular.[Ch]: rename ascii to plaintext
649         and LatexRunParams to OutputParams.
650
651 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
652
653         * iterators.[Ch] (text): require bv argument
654         * undo.C (recordUndo):
655         * lyxfunc.C (dispatch):
656         * bufferview_funcs.C (put_selection_at): adjust
657
658 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
659
660         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
661
662 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
663
664         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
665         nestings
666
667 2003-11-04  André Pönitz  <poenitz@gmx.net>
668
669         * cursor.[Ch]: restructure
670
671         * BufferView.[Ch]:
672         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
673
674         * iterators.[Ch] (asCursor): remove
675
676         * lfuns.h: remove LFUN_INSET_EDIT
677
678         * lyxfunc.C:
679         * tabular.C:
680         * text.C:
681         * text2.C:
682         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
683
684 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
685
686         * lyxfind.[Ch]: complete overhaul
687         * BufferView_pimpl.C:
688         * lyxfunc.C: adjust
689         * paragraph.[Ch] (insert): add
690
691 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
692
693         * BufferView.[Ch]:
694         * lyxtext.h:
695         * text.C: remove dead spellcheck code
696
697 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
698
699         * dispatchresult.h: add a val setter
700
701         * cursor.C (dispatch): use a tempvar for data_[i]
702
703 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
704
705         * PosIterator.[Ch]: compile fix
706
707 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
708
709         * text.C (cursorPar): deactivate the cursor cache
710
711 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
712
713         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
714
715 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
716
717         * text3.C (dispatch): adjust for new DisptchResult semantics.
718
719         * lyxfunc.C (dispatch): handle update when return from
720         Cursor::dispatch, adjust for new DispatchResult semantics.
721
722         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
723         DispatchResult(true) mean to not update. Add class functions for
724         setting dispatched and update, as well as reading.
725
726         * cursor.C (dispatch): don't handle update here
727
728 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
729
730         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
731         * trans_mgr.C: adjust
732
733         * paragraph_funcs.C (readParToken): exception safety
734
735         * lyxvc.h: store the vcs pointer in a scoped_ptr
736         * lyxvc.C: adjust
737
738         * lyxsocket.C (serverCallback): exception safety
739
740         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
741
742         * ispell.C (clone): make it return a auto_ptr
743
744         * factory.C (createInset): exception safety
745         (readInset): exception safety
746
747         * bufferlist.C (newBuffer): exception safety
748
749         * Thesaurus.C (Thesaurus): use initialization for aik_
750
751         * MenuBackend.C (expandToc): exception safety.
752
753 2003-11-03  André Pönitz  <poenitz@gmx.net>
754
755         * buffer.C:
756         * buffer.h:
757         * bufferview_funcs.C: remove getInsetFromId()
758
759         * lyxcursor.[Ch]:
760         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
761
762         * lyxfunc.C:
763         * text2.C:
764         * text3.C: adjust
765
766 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
767
768         * PosIterator.C (distance, advance): new
769         * bufferview_funcs.[Ch] (put_selection_at): new
770         * iterators.[Ch] (lockPath): new
771
772 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
773
774         * iterators.[Ch] (asPosIterator): added
775         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
776         * PosIterator.[Ch]: added
777
778 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
779
780         * text3.C:
781         * lyxfunc.C:
782         * cursor.C (dispatch):
783         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
784
785         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
786         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
787         contructor, add a class function dispatched. Remove operator>=
788
789 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
790
791         * debug.C: only use the default constructor for debugstream
792         (lyxerr) here.
793
794         * main.C (main): include debug.h and setup the lyxerr streambuf
795         here.
796
797 2003-10-31  José Matos  <jamatos@lyx.org>
798
799         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
800
801         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
802         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
803         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
804         * paragraph_pimpl.C (simpleTeXSpecialC):
805         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
806         add LatexRunParams argument.
807
808         * exporter.C (Export): change call accordingly.
809
810         * latexrunparams.h: add new member to take care of the other backends.
811 2003-10-30  José Matos  <jamatos@lyx.org>
812
813         * buffer.C (makeLinuxDocFile, makeDocBookFile):
814         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
815         factorise code for paragraph output.
816         * buffer.[Ch]:
817         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
818         move functions.
819
820 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
821
822         * text3.C (dispatch):
823         * lyxfunc.C (dispatch):
824         * cursor.C (dispatch):
825         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
826
827         * dispatchresult.h: make the dispatch_result_t ctor explicit
828
829 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
830
831         * sgml.[Ch]:
832         * buffer.C: small refactoring of docbook stuff
833
834 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
837         meaning.
838
839 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
840
841         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
842         operator dispatch_result_t, and operators for == != and >=
843
844         * cursor.C (dispatch): adjust for operator dispatch_result_t
845         removal. comment out call to update
846
847         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
848
849 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
850
851         * text3.C:
852         * text2.C:
853         * text.C:
854         * lyxtext.h:
855         * lyxfunc.C:
856         * cursor.C:
857         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
858         (dispatch):
859
860         * dispatchresult.h: new file, DispatchResult broken out of
861         insets/insetbase.h
862
863         * Makefile.am (lyx_SOURCES): add dispatchresult.h
864
865 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
866
867         * text.C (rowBreakPoint): put a hack inside #if 0
868
869 2003-10-28  André Pönitz  <poenitz@gmx.net>
870
871         * lyxtext.h:
872         * metricsinfo.C:
873         * paragraph_funcs.C:
874         * rowpainter.C:
875         * text.C:
876         * text2.C: general cleanup (lots of small stuff)
877
878 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
879
880         * text2.C (cursorEnd): simple fix to the "end key goes to one
881         before the end on last row" bug
882
883 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
884
885         * text.C (backspace): fix the "zombie characters"
886
887 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
888
889         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
890
891 2003-10-27  André Pönitz  <poenitz@gmx.net>
892
893         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
894
895         * factory.C: handle new InsetPagebreak, InsetLine
896
897         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
898         and move handling into new InsetPagebreak, InsetLine
899
900         * BufferView_pimpl.C:
901         * LyXAction.C:
902         * ParagraphParameters.C:
903         * ParameterStruct.h:
904         * lyxfunc.C:
905         * lyxtext.h:
906         * paragraph.C:
907         * paragraph.h:
908         * paragraph_funcs.C:
909         * paragraph_pimpl.C:
910         * rowpainter.C:
911         * text.C:
912         * text2.C:
913         * text3.C: adjust
914
915 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
916
917         * text.C:
918         * lyxrow_funcs.[Ch]:
919         * Bidi.C:
920         * paragraph.C:
921         * lyxtext.h:
922         * rowpainter.C:
923         * text2.C:
924         * text3.C: remove lastPos uses in favour of Row::endpos
925
926 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
927
928         * undo.C (performUndoOrRedo): fix two crashes by setting a
929         cursor by hand and reordering some calls. Use bv->lockInset instead
930         of inset->edit because the latter loses cursor information
931
932 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
933
934         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
935         by Martin
936         (rowBreakPoint): fix width. change point to point + 1.
937         Add a missing check.
938
939 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
940
941         * MenuBackend.C:
942         * lyxfunc.C: fix (at least partly) the problems
943         with the Nav menu and headers inside branch insets
944         reported by Kayvan
945
946 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
947
948         * paragraph.C (getChar): add strong asserts
949
950         * lyxrow_funcs.C (lastPos): remove hideous hack
951
952         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
953         (fill): adjust to that (avoid an infinite loop)
954
955 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
956
957         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
958
959 2003-10-23  André Pönitz  <poenitz@gmx.net>
960
961         * RowList_fwd.h: change list<> to vector<> to gain speed
962         after suggestion from Alfredo
963
964 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
965
966         * lyxtext.h: move the bidi stuff from here...
967         * text.C: and here
968         * text2.C: and here
969         * Bidi.[Ch]: ... to here
970
971 2003-10-23  André Pönitz  <poenitz@gmx.net>
972
973         * lyxtext.h:
974         * text.C (isLastRow, isFirstRow): new functions
975
976         * paragraph.h: new width cache member
977
978         * rowpainter.C: replace RowList::iterator with Row & where possible
979
980         * lyxfunc.C: replace several view()->text with a single call
981
982         * toc.C: fix 'unused' warning
983
984 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
987         when woring with stream::pos_type
988         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
989
990 2003-10-22  André Pönitz  <poenitz@gmx.net>
991
992         * lyxtext.h:
993         * text.C: use Row & instead of RowList::iterator
994
995         * lyxrow.h: rename end() to endpos()
996
997         * rowpainter.C:
998         * text.C:
999         * text2.C: adjust
1000
1001 2003-10-22  Angus Leeming  <leeming@lyx.org>
1002
1003         * buffer.[Ch] (fully_loaded): new member function, returning true
1004         only when the file has been loaded fully.
1005         Used to prevent the premature generation of previews and by the
1006         citation inset to prevent computation of the natbib-style label.
1007
1008         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1009         templates are all set up.
1010
1011         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1012
1013 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1014
1015         * text.C: fixed an "oops" in the "is a bit silly"
1016         bug fix
1017
1018 2003-10-21  André Pönitz  <poenitz@gmx.net>
1019
1020         * FuncStatus.[Ch]: small stuff, whitespace
1021
1022         * lyxfont.[Ch]: operator<<() for debug reasons
1023
1024         * lyxfunc.C:
1025         * lyxrow_funcs.C:
1026         * lyxtext.h: whitespace, spelling
1027
1028         * paragraph.C: naming of variables
1029
1030         * text.C:
1031         * text2.C: small stuff
1032
1033
1034 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1035
1036         * text.C: (1) finish off the inset display() work;
1037         (2) fix the "is a bit silly" bug (accessing char
1038         past end of par).
1039
1040 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1041
1042         * text.C: re-introduce display() for insets, fixing the
1043         various bugs (stretch of line above, math inset
1044         positioning, ...)
1045
1046 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * text.C (rightMargin): remove spurious semicolon
1049
1050         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1051         1415)
1052
1053 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * text3.C: fix one crash due to wrong cursor def
1056
1057 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * vc-backend.C (scanMaster): make the regex static
1060
1061         * LaTeX.C (scanAuxFile): make the regexs static
1062
1063         * text3.C (doInsertInset, dispatch, dispatch):
1064         * text2.C (cursorUp, cursorDown):
1065         * text.C (selectNextWordToSpellcheck):
1066         * BufferView_pimpl.C (dispatch):
1067         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1068
1069 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * lyxsocket.C: include <cerrno>
1072
1073 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1074
1075         * lyxfunc.C (dispatch): remove textcache stuff
1076
1077         * bufferlist.C (release): remove textcache stuff
1078         (closeAll): ditto
1079
1080         * TextCache.C: delete file
1081         * TextCache.h: delete file
1082
1083         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1084
1085         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1086         delete of the bv_->text.
1087         (resizeCurrentBuffer): remove texcache stuff
1088         (workAreaResize): ditto
1089
1090 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1091
1092         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1093         action.
1094
1095 2003-10-16  André Pönitz  <poenitz@gmx.net>
1096
1097         * lyxrow.[Ch]:
1098         * paragraph.h:
1099         * rowpainter.C:
1100         * text.C:
1101         * text2.C:
1102         * text3.C: speed up by storing y positions per paragraph plus per-row
1103         offset instead of having a 'full' y position in the row.
1104
1105 2003-10-15  André Pönitz  <poenitz@gmx.net>
1106
1107         * iterators.[Ch]:
1108         * iterators.[Ch]:
1109         * undo.[Ch]: make undo aware of inner insets
1110
1111 2003-10-14  Angus Leeming  <leeming@lyx.org>
1112
1113         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1114         static member functions LyX::ref() and LyX::cref.
1115         (lastfiles): new accessor functions for the new lastfiles_ member var.
1116         (addLyXView, views_): add a new LyXView to the list of views_.
1117         (updateInset): loop over all LyXViews to call their own updateInset
1118         member function, returning a pointer to the Buffer owning the inset.
1119
1120         * BufferView_pimpl.C (loadLyXFile):
1121         * MenuBackend.C (expandLastfiles):
1122         * bufferlist.C (MenuWrite, QuitLyX):
1123         lastfiles is no longer a global variable.
1124         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1125
1126         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1127         static function. Access through LyX::cref().emergencyCleanup().
1128
1129 2003-10-14  André Pönitz  <poenitz@gmx.net>
1130
1131         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1132
1133         * undo.[Ch]: restoring part of 'undo in insets'
1134
1135         * Makefile.am:
1136         * undo_funcs.[Ch]: merge with undo.[Ch]
1137
1138         * tabular.C: small cleansing stuff
1139
1140 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1141
1142         * paragraph_funcs.C (readParToken): report unknown insets as error
1143         boxes. Use the outer paragraph as location (also for unknown
1144         tokens).
1145
1146         * factory.C (readInset): do not abort on reading an unknown inset.
1147         Eat it and return 0.
1148
1149 2003-10-13  Angus Leeming  <leeming@lyx.org>
1150
1151         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1152
1153         * lyxrc.C: displayTranslator is now a function,
1154         declared in GraphicsTypes.h.
1155
1156 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1157
1158         * format.C: new placeholder $$a to pass the socket address.
1159
1160         * bufferlist.[Ch]: new function getBufferFromTmp.
1161
1162         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1163           files in the temporary dir.
1164
1165 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1166
1167         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1168
1169         * Makefile.am: add lyxsocket.[Ch].
1170
1171         * lyx_main.C (error_handler): handle SIGPIPE.
1172
1173 2003-10-13  André Pönitz  <poenitz@gmx.net>
1174
1175         * BufferView_pimpl.C:
1176         * lyxtext.h:
1177         * text.C:
1178         * text2.C:
1179         * text3.C:
1180         * undo_funcs.[Ch]: use paroffset_type instead of
1181           ParagraphList::iterators to prevent multiple conversion
1182           (and get a more robust interface)
1183
1184 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1185
1186         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1187         * lyxtext.h: ditto
1188         * text3.C (dispatch): ditto
1189
1190 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1193         move the onlyfile, use onlyfile instead of foundfile in a couple
1194         of places.
1195
1196         * DepTable.C (update): flush the error stream a bit more
1197
1198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1199
1200         * lyxserver.C (callback): adjust
1201
1202         * lyxfunc.C (getStatus): add a missing brace in commented code
1203         (ensureBufferClean): reindent
1204         (dispatch): delete version taking a string
1205
1206 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * LaTeX.C (deplog): move found file handlig from here...
1209         (handleFoundFile): .. to new function here.
1210         (deplog): make sure to discover several files mentioned on the
1211         same log line.
1212
1213 2003-10-10  André Pönitz  <poenitz@gmx.net>
1214
1215         * lyxfunc.C:
1216         * lyxtext.h:
1217         * tabular.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C: fix some of the tabular crashes
1221
1222 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1223
1224         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1225
1226         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1227
1228 2003-10-09  André Pönitz  <poenitz@gmx.net>
1229
1230         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1231
1232         * BufferView.C:
1233         * BufferView_pimpl.C:
1234         * bufferview_funcs.C:
1235         * lyx_cb.C:
1236         * lyxcursor.C:
1237         * lyxfind.C:
1238         * lyxfunc.C:
1239         * lyxtext.h:
1240         * text.C:
1241         * text2.C:
1242         * text3.C:
1243         * text_funcs.[Ch]:
1244         * textcursor.[Ch]:
1245         * undo_funcs.C: adjust
1246
1247 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1248
1249         * text2.C (incrementItemDepth): new function, use a backtracking
1250         algorithm to discover the correct item depth.
1251         (resetEnumCounterIfNeeded): new function, use a backtracking
1252         algorithm to discover if counter reset is needed.
1253         (setCounter): use them. Simplify a bit. Add different labels for
1254         different item depths for itemize.
1255
1256         * paragraph.C (Paragraph): remove initialization of enumdepth
1257         (operator=): ditto
1258
1259         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1260         enumerate and itemize. Change the type of itemdepth to signed char.
1261
1262 2003-10-08  André Pönitz  <poenitz@gmx.net>
1263
1264         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1265           thing assignable.
1266         * text.C:
1267         * text2.C: adjust
1268
1269         * tabular.[Ch]: fix crash after 'row-insert'
1270
1271 2003-10-08  Angus Leeming  <leeming@lyx.org>
1272
1273         Fix doxygen warnings.
1274
1275         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1276         Remove CutAndPaste:: prefix from header file declaration.
1277
1278         * LColor.h (fill): remove LColor:: prefix from declaration.
1279
1280         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1281         use lyx::depth_type rather than Paragraph::depth_type so that
1282         header file and .C file match.
1283
1284         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1285
1286         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1287         * aspell.C: \file aspell_local.C -> \file aspell.C
1288         * gettext.C: \file gettext.C -> \file src/gettext.C
1289         * gettext.h: \file gettext.h -> \file src/gettext.h
1290         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1291         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1292         * text.C: \file text.C -> \file src/text.C
1293
1294         * toc.C: move comment so that doxygen is not confused.
1295
1296 2003-10-07  Angus Leeming  <leeming@lyx.org>
1297
1298         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1299
1300 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1301
1302         * aspell.C:
1303         * aspell_local.h: add forgotten std::string's.
1304
1305 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1306
1307         * LaTeXFeatures.C:
1308         * LyXAction.C:
1309         * factory.C:
1310         * lfuns.h:
1311         * lyxfunc.C:
1312         * text3.C: The Box patch. Fancybox support, minipage, parbox
1313
1314 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1315
1316         * CutAndPaste.h:
1317         * DepTable.h:
1318         * FloatList.h:
1319         * LaTeXFeatures.h:
1320         * ParagraphParameters.h:
1321         * TextCache.h:
1322         * Thesaurus.h:
1323         * bufferlist.h:
1324         * exporter.h:
1325         * importer.h:
1326         * lastfiles.h:
1327         * lyxfind.h:
1328         * lyxfont.h:
1329         * lyxlex.h:
1330         * lyxtextclasslist.h:
1331         * messages.h:
1332         * paragraph.h:
1333         * paragraph_pimpl.C:
1334         * textcursor.h: add <string> and other small fixes to make Lars'
1335         std::string patch compile with STLport.
1336
1337 2003-10-06  Angus Leeming  <leeming@lyx.org>
1338
1339         * LColor.h: Add missing #include <string>.
1340
1341 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1342
1343         * All most all file in all subdirs: Make <string> be the prefered
1344         way of getting to std::string, add using declarations.
1345
1346 2003-10-06  André Pönitz  <poenitz@gmx.net>
1347
1348         * metricsinfo.C: initialize LyXFont before changing attribute.
1349         (fixes the 'math in \emph is upright' bug)
1350
1351 2003-10-06  André Pönitz  <poenitz@gmx.net>
1352
1353         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1354
1355 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1356
1357         * graph.C:
1358         * paragraph_pimpl.C: Small fixes to build using STLport
1359
1360 2003-10-02  André Pönitz  <poenitz@gmx.net>
1361
1362         * lyxfunc.C:
1363         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1364
1365 2003-10-01  André Pönitz  <poenitz@gmx.net>
1366
1367         * factory.C: assert early
1368
1369 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1370
1371         * lyx_main.C: remove the global debug object
1372
1373         * debug.h: adjust for new debugstream
1374
1375         * debug.C: adjust for new debugstream and keep the global debug
1376         object here.
1377
1378 2003-09-22  Angus Leeming  <leeming@lyx.org>
1379
1380         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1381         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1382         an incomplete class LyXFont.
1383
1384 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1385
1386         * factory.C: bug fix in branches
1387
1388 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1389
1390         * lyxfunc.C (processKeySym): adjust
1391         (dispatch): adjust
1392         (dispatch): change arg name from ev to func, adjust
1393         (sendDispatchMessage): ditto
1394
1395         * lyx_main.C (defaultKeyBindings): adjust keybindings
1396         (deadKeyBindings): ditto
1397
1398         * kbsequence.C (addkey): return a FuncRequest
1399
1400         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1401
1402         * kbmap.C (bind): take a FuncRequest as arg, adjust
1403         (read): adjust
1404         (lookup): adjust
1405         (defkey): change to take a FuncRequest as arg, adjust
1406         (findbinding): take a FuncRequest as arg, adjust.
1407
1408         * funcrequest.h (operator=): added
1409
1410         * funcrequest.C (FuncRequest): default kb_action changed from
1411         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1412
1413         * buffer.C (dispatch): simplify
1414         (dispatch): adjust to take a FuncRequest as arg, adjust
1415
1416         * boost.C (assertion_failed): change assertion message slightly
1417
1418         * ToolbarBackend.C (read): simplify
1419
1420         * MenuBackend.C (binding): adjust call to findbinding, add a
1421         message if no binding is found.
1422         (read): simplify
1423         (expandToc): correct by adding a empty FuncRequest
1424
1425         * LyXAction.C: include <boost/assert.hpp>
1426         (isPseudoAction): delete function
1427         (LookupFunc): change name to...
1428         (lookupFunc): this. change return type to FuncRequest.
1429         (getActionName): take kb_action as arg, simplify
1430         (funcHasFlag): add an assert, simplify.
1431
1432 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1433
1434         * toc.C (action): return a FuncRequest, simplify
1435
1436         * lyxfunc.C (processKeySym): adjust
1437         (getStatus): delete version that takes an int.
1438         (getStatus): adjust
1439         (dispatch): delete version that takes action as int
1440         (dispatch): adjust
1441         (sendDispatchMessage): simplify and adjust
1442
1443         * funcrequest.C (getArg): take unsigned int as arg
1444
1445         * ToolbarBackend.C (read): adjust
1446         (add): delete version that takes func as a string.
1447         (getIton): take a FuncRequest as arg
1448
1449         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1450         action.
1451
1452         * MenuBackend.C (MenuItem): add a new construct that only takes a
1453         Kind, simplify the constructor use for submenus.
1454         (add): adjust
1455         (expandLastfiles): adjust
1456         (expandDocuments): adjust
1457         (expandFormats): adjust
1458         (expandFloatListInsert): adjust
1459         (expandFloatInsert): adjust
1460         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1461
1462         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1463         Remove class variables lyx_pseudo_map and lyx_arg_map
1464
1465         * LyXAction.C (searchActionArg): delete function
1466         (getPseudoAction): delete function
1467         (retrieveActionArg): delete function
1468         (LookupFunc): make it return kb_action, simplify.
1469         (getActionName): simplify
1470
1471         * factory.C (createInset): fix new bug
1472
1473 2003-09-19  Angus Leeming  <leeming@lyx.org>
1474
1475         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1476         masterFilename_ parameter in the include inset.
1477
1478         * factory.C (createInset): changes due to the changes to InsetInclude.
1479
1480 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1481
1482         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1483
1484 2003-09-18  Angus Leeming  <leeming@lyx.org>
1485
1486         * buffer.C:
1487         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1488         Inset::fillWithBibKeys.
1489         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1490
1491 2003-09-18  Angus Leeming  <leeming@lyx.org>
1492
1493         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1494         variables.
1495         (ctor): pass and store a 'Buffer const &'
1496         (buffer): new member function.
1497
1498         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1499         '*this' to the LaTeXFeatures ctor.
1500
1501 2003-09-18  Angus Leeming  <leeming@lyx.org>
1502
1503         * LColor.h:
1504         * lyxfont.C:
1505         * lyxfont.h:
1506         * lyxtext.h:
1507         * text.C: rename EnumLColor as LColor_color.
1508
1509 2003-09-18  Angus Leeming  <leeming@lyx.org>
1510
1511         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1512         remove #include "insets/insetbase.h" from cursor.h.
1513
1514 2003-09-18  Angus Leeming  <leeming@lyx.org>
1515
1516         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1517         InsetOld_code to remove #include "inset.h".
1518
1519         * iterators.C: add #include "insets/inset.h"
1520
1521 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1522
1523         * BufferView.C: remove more locking stuff that apparently doesn't
1524         do anything sensible.
1525
1526 2003-09-16  André Pönitz  <poenitz@gmx.net>
1527
1528         * paragraph.[Ch]:
1529         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1530           performance boost.
1531
1532 2003-09-16  Angus Leeming  <leeming@lyx.org>
1533
1534         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1535
1536         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1537         arg/return type.
1538
1539         * paragraph.h: remove #include "lyxfont.h". Forward declare
1540         LyXFont_size.
1541
1542 2003-09-16  Angus Leeming  <leeming@lyx.org>
1543
1544         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1545         of support/textutils.h.
1546         (isWord): move the contents of support/textutils.h's IsWordChar here.
1547
1548         * buffer.C:
1549         * lyxfind.C:
1550         * rowpainter.C:
1551         * text.C:
1552         * text2.C: add #include "paragraph.h".
1553
1554         * rowpainter.C:
1555         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1556
1557 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1558
1559         * main.C:
1560         * lyx_main.C:
1561         * lyx_cb.C:
1562         * buffer.C:
1563         * LaTeX.C: use namespace alias for lyx::support::os
1564
1565 2003-09-16  Angus Leeming  <leeming@lyx.org>
1566
1567         * bufferparams.C:
1568         * bufferview_funcs.C:
1569         * factory.C:
1570         * lyxfunc.C:
1571         * paragraph_pimpl.C:
1572         * rowpainter.C:
1573         * text.C: add #include "LColor.h".
1574
1575 2003-09-16  Angus Leeming  <leeming@lyx.org>
1576
1577         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1578         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1579         return LyXFont &.
1580         Store the FontBits::color variable as an int rather than as an
1581         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1582         file.
1583
1584         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1585         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1586         string calls together.
1587
1588         * lyxrc.C: add #include "LColor.h".
1589
1590 2003-09-15  Angus Leeming  <leeming@lyx.org>
1591
1592         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1593         a cow_ptr.
1594
1595 2003-09-15  Angus Leeming  <leeming@lyx.org>
1596
1597         * LColor.h: add an EnumLColor wrapper for LColor::color.
1598
1599         * lyxfont.[Ch] (color, setColor, realColor):
1600         * lyxtext.h, text.C (backgroundColor):
1601         pass EnumLColor args to/from the functions, rather than LColor::color
1602         ones.
1603
1604         * lyxfont.h:
1605         * lyxtext.h: forward declare EnumLColor.
1606
1607         * lyx_main.C: add #include "LColor.h".
1608
1609 2003-09-15  Angus Leeming  <leeming@lyx.org>
1610
1611         * .cvsignore: add lyx-gtk.
1612
1613 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * Chktex.C
1616         * LaTeX.C
1617         * LaTeXFeatures.C
1618         * ParagraphParameters.C
1619         * Spacing.C
1620         * buffer.C
1621         * bufferparams.C
1622         * bufferview_funcs.C
1623         * chset.C
1624         * counters.C
1625         * funcrequest.C
1626         * lyxfont.C
1627         * lyxgluelength.C
1628         * lyxlength.C
1629         * paragraph.C
1630         * paragraph_funcs.C
1631         * text3.C
1632         * vc-backend.C: remove usage of STRCONV
1633
1634 2003-09-15  Angus Leeming  <leeming@lyx.org>
1635
1636         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1637         explicitly define the color passed to the painter.
1638
1639 2003-09-15  Angus Leeming  <leeming@lyx.org>
1640
1641         * bufferparams.C (BufferParams): reorder member initializers to avoid
1642         compiler warning.
1643
1644 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1647         * text.C (updateRowPositions): remove an unusual nop
1648
1649 2003-09-12  André Pönitz  <poenitz@gmx.net>
1650
1651         * BufferView_pimpl.C:
1652         * Bullet.C:
1653         * layout.h:
1654         * lyxfunc.C:
1655         * lyxlayout.[Ch]:
1656         * lyxtextclass.C:
1657         * rowpainter.C:
1658         * text.C:
1659         * text2.C:
1660         * Counters.[Ch]: finish the 'automatic counters' job
1661
1662 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1663
1664         * aspell.C: include <boost/assert.cpp> (compile fix)
1665
1666 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1667
1668         * boost.C (assertion_failed): use lyx::support::abort instead of
1669         assert.
1670
1671 2003-09-10  Angus Leeming  <leeming@lyx.org>
1672
1673         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1674         with their _fwd progeny.
1675
1676 2003-09-09  Angus Leeming  <leeming@lyx.org>
1677
1678         134 files throughtout the source tree: replace 'using namespace abc;'
1679         directives with the appropriate 'using abc::xyz;' declarations.
1680
1681 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1682
1683         * boost.C (emergencyCleanup): moved here from LAssert.c
1684         (assertion_failed): new function, called by BOOST_ASSERT
1685
1686         * several files: change Assert to BOOST_ASSERT
1687
1688 2003-09-09  Angus Leeming  <leeming@lyx.org>
1689
1690         * buffer.[Ch]: Add an Impl class and move Buffer's member
1691         variables into it. As a result move several header files out of
1692         buffer.h.
1693
1694         Add header files to lots of .C files all over the tree as a result.
1695
1696 2003-09-09  Angus Leeming  <leeming@lyx.org>
1697
1698         * buffer.[Ch]: make Buffer's member variables private. Add
1699         accessor functions.
1700
1701         Lots of changes all over the tree as a result.
1702
1703 2003-09-08  Angus Leeming  <leeming@lyx.org>
1704
1705         * graph.C: #include <config.h>.
1706
1707 2003-09-08  Angus Leeming  <leeming@lyx.org>
1708
1709         * BranchList.C:
1710         * BufferView.C:
1711         * BufferView_pimpl.C:
1712         * CutAndPaste.C:
1713         * DepTable.C:
1714         * LaTeX.C:
1715         * LaTeXFeatures.C:
1716         * LyXAction.C:
1717         * MenuBackend.C:
1718         * TextCache.C:
1719         * aspell.C:
1720         * buffer.C:
1721         * bufferlist.C:
1722         * changes.C:
1723         * chset.C:
1724         * converter.C:
1725         * counters.C:
1726         * debug.C:
1727         * graph.C:
1728         * ispell.C:
1729         * lyx_cb.C:
1730         * lyxfind.C:
1731         * lyxfunc.C:
1732         * lyxlex_pimpl.C:
1733         * lyxrc.C:
1734         * lyxrow.C:
1735         * paragraph.C:
1736         * rowpainter.C:
1737         * texrow.C:
1738         * text.C:
1739         * text2.C:
1740         * toc.C: remove redundant using directives.
1741
1742 2003-09-07  Angus Leeming  <leeming@lyx.org>
1743
1744         * LaTeXFeatures.h: remove #include "support/types.h".
1745         * ToolbarBackend.h: remove #include <algorithm>.
1746         * changes.h: remove #include <ctime>.
1747         * debug.h: remove #include <iosfwd>.
1748         * graph.h: remove #include "support/std_string.h".
1749         * lyx_main.h: remove #include <csignal>.
1750         * lyxlex_pimpl.h: remove #include <fstream>.
1751         * sgml.h: remove #include <algorithm>, <utility>.
1752         * toc.h: remove #include "support/std_ostream.h".
1753         Add #include <iosfwd>.
1754
1755 2003-09-07  Angus Leeming  <leeming@lyx.org>
1756
1757         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1758
1759         * converter.h: forward declare LatexRunParams.
1760         * encoding.h: remove #include "lyxrc.h".
1761         * lyxtext.h: remove #include "LColor.h".
1762         * lyxtextclass.h: remove #include "support/types.h".
1763         * trans.h: remove #include "tex-accent.h".
1764         * trans_mgr.h: remove #include "tex-accent.h".
1765         * insets/inset.h: remove #include "support/types.h", <vector>.
1766         * insets/insetcollapsable.h: remove #include "LColor.h".
1767         * insets/insetinclude.h: remove #include "dimension.h".
1768         * insets/insetlatexaccent.h: remove #include "dimension.h".
1769         * insets/insetoptarg.h:: remove #include "insettext.h".
1770         * insets/insettext.h: remove #include "dimension.h",
1771         <boost/shared_ptr.hpp>
1772
1773         * insets/renderers.h: add #include "dimension.h".
1774         * insets/updatableinset.h: add #include "support/types.h".
1775
1776         * many .C files: Associated changes.
1777
1778 2003-09-06  Angus Leeming  <leeming@lyx.org>
1779
1780         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1781         one, inside testInvariant.
1782
1783         * PrinterParams.C: new file.
1784         * PrinterParams.[Ch]: move the function bodies out of line.
1785
1786 2003-09-06  Angus Leeming  <leeming@lyx.org>
1787
1788         * ParagraphParameters.h: forward declare ParameterStruct rather than
1789         including its header file.
1790         (depth): moved out-of-line.
1791
1792 2003-09-06  Angus Leeming  <leeming@lyx.org>
1793
1794         * BufferView_pimpl.h:
1795         * kbmap.h:
1796         * kbsequence.h:
1797         * lyxfunc.h: forward declare LyXKeySym rather than
1798         #include "frontends/LyXKeySym.h".
1799
1800         * BufferView_pimpl.C:
1801         * kbmap.C:
1802         * kbsequence.C:
1803         * lyxfunc.C: associated changes.
1804
1805 2003-09-06  Angus Leeming  <leeming@lyx.org>
1806
1807         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1808         As a result, can remove the #include "insets/inset.h" from BufferView.h
1809
1810 2003-09-06  Angus Leeming  <leeming@lyx.org>
1811
1812         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1813         As a result, can remove the #include "insets/inset.h" from BufferView.h
1814
1815 2003-09-06  Angus Leeming  <leeming@lyx.org>
1816
1817         * buffer_funcs.C:
1818         * buffer.h:
1819         * bufferlist.C:
1820         * BufferView.C:
1821         * bufferview_funcs.C:
1822         * BufferView_pimpl.C:
1823         * CutAndPaste.C:
1824         * lyx_cb.C:
1825         * lyxfunc.C:
1826         * paragraph.h:
1827         * ParagraphParameters.C:
1828         * tabular.C:
1829         * text3.C:
1830         * toc.C:
1831         * undo_funcs.C:
1832         * frontends/controllers/ControlDocument.C:
1833         * insets/insetcaption.C: rearrange the #includes into some sort of
1834         coherent order.
1835
1836         * buffer.h: remove #includes ErrorList.h, undo.h
1837
1838 2003-09-06  Angus Leeming  <leeming@lyx.org>
1839
1840         * support/types.h: add a 'depth_type' typedef, used to store the
1841         nesting depth of a paragraph.
1842
1843         * paragraph.h:
1844         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1845         defining explicitly.
1846
1847         * buffer.h:
1848         * paragraph_funcs.h:
1849         * ParagraphParameters.h:
1850         * sgml.h: use lyx::depth_type rather than Paragraph or
1851         ParameterStruct's depth_type.
1852
1853         * buffer.h
1854         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1855
1856         * BufferView.C:
1857         * BufferView_pimpl.C:
1858         * CutAndPaste.C:
1859         * ParagraphParameters.C:
1860         * buffer_funcs.C:
1861         * bufferlist.C:
1862         * bufferview_funcs.C:
1863         * lyx_cb.C:
1864         * lyxfunc.C:
1865         * tabular.C:
1866         * text3.C:
1867         * toc.C:
1868         * undo_funcs.C:
1869         * frontends/LyXView.C:
1870         * frontends/controllers/ControlDocument.C:
1871         * frontends/controllers/ControlErrorList.C:
1872         * insets/insetbibitem.C:
1873         * insets/insetbranch.C:
1874         * insets/insetcaption.C:
1875         * insets/insetcollapsable.C:
1876         * insets/insetenv.C:
1877         * insets/insetert.C:
1878         * insets/insetfloat.C:
1879         * insets/insetfoot.C:
1880         * insets/insetfootlike.C:
1881         * insets/insetnewline.C:
1882         * insets/insetquotes.C:
1883         * insets/insettabular.C:
1884         * insets/insettext.C:
1885         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1886
1887         * frontends/controllers/ControlChanges.C: #include "changes.h".
1888
1889 2003-09-06  Angus Leeming  <leeming@lyx.org>
1890
1891         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1892         than #including paragraph.h.
1893
1894         * ParagraphList.h:
1895         * RowList.h: deleted. Superfluous.
1896
1897         * CutAndPaste.h:
1898         * iterators.h:
1899         * lyxcursor.h:
1900         * lyxtext.h:
1901         * text_funcs.h:
1902         * undo.h:
1903         * undo_funcs.h:
1904         * insets/inset.h:
1905         * insets/insettext.h: use ParagraphList_fwd.h rather than
1906         ParagraphList.h.
1907
1908         * paragraph.h: don't forward declare ParagraphList.
1909
1910         * buffer.h:
1911         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1912         rather than ParagraphList.h. paragraph.h is still needed for the
1913         Paragraph::depth_type parameters.
1914
1915         * textcursor.h: enable it to compile stand-alone in light of the
1916         above changes.
1917
1918         * bufferview_funcs.C:
1919         * iterators.C:
1920         * lyxfunc.C:
1921         * lyxrow_funcs.C:
1922         * paragraph.C:
1923         * rowpainter.C:
1924         * text.C:
1925         * text2.C:
1926         * text3.C:
1927         * text_funcs.C:
1928         * textcursor.C:
1929         * undo.C:
1930         * frontends/controllers/ControlParagraph.C:
1931         * frontends/controllers/ControlTabular.C:
1932         * insets/insetmarginal.C:
1933         * insets/insetminipage.C:
1934         * insets/insetnote.C:
1935         * insets/insetoptarg.C: add header files needed to compile again.
1936
1937 2003-09-06  Angus Leeming  <leeming@lyx.org>
1938
1939         * RowList_fwd.h: new file, forward-declaring Row rather than
1940         #including lyxrow.h.
1941
1942         * lyxrow_funcs.h:
1943         * lyxtext.h:
1944         * paragraph.h:
1945         * insets/insettext.h: use it instead of RowList.h
1946
1947         * bufferview_funcs.C:
1948         * lyxfunc.C:
1949         * lyxrow_funcs.C:
1950         * paragraph.C:
1951         * rowpainter.C:
1952         * text.C:
1953         * text2.C:
1954         * text3.C: #include "RowList.h".
1955
1956 2003-09-05  Angus Leeming  <leeming@lyx.org>
1957
1958         * factory.C (createInset):
1959         * vspace.C (c-tor): replace sscanf call with an istringstream.
1960         * ispell.C: re-add missing HP/UX headers.
1961         * lyxserver.C: re-add missing  os2 headers.
1962
1963 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1964
1965         * BranchList.C:
1966         * graph.C:
1967         * ispell.C:
1968         * lastfiles.C:
1969         * lyx_cb.C:
1970         * lyxserver.C:
1971         * texrow.C:
1972         * text3.C: re-add missing system headers, needed for 2.95.2.
1973
1974 2003-09-05  Angus Leeming  <leeming@lyx.org>
1975
1976         Changes most place everywhere due to the removal of using directives
1977         from support/std_sstream.h.
1978
1979 2003-09-05  Angus Leeming  <leeming@lyx.org>
1980
1981         Replace LString.h with support/std_string.h,
1982         Lsstream.h with support/std_sstream.h,
1983         support/LIstream.h with support/std_istream.h,
1984         support/LOstream.h with support/std_ostream.h.
1985
1986         Changes resulting throughout the tree.
1987
1988 2003-09-05  Angus Leeming  <leeming@lyx.org>
1989
1990         * sgml.h: ensure that the header file can be compiled stand-alone.
1991         * *.C: strip out redundant #includes. (320 in total.)
1992
1993 2003-09-04  Angus Leeming  <leeming@lyx.org>
1994
1995         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1996         here (from getPackages).
1997
1998         * debug.[Ch]: add a new EXTERNAL tag.
1999
2000 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2001
2002         * text2.C (cursorEnd): simplify
2003         (setCursor): adjust
2004         (getColumnNearX): adjust
2005
2006         * text.C (computeBidiTables): adjust
2007         (fill): adjust
2008
2009         * rowpainter.C (paintChars): adjust
2010         (paintSelection): adjust
2011         (paintChangeBar): adjust
2012         (paintText): adjust
2013
2014         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2015         lastPos instead.
2016         (numberOfSeparators): adjust
2017
2018 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2019
2020         * LyXAction.C:
2021         * box.[Ch]:
2022         * lfuns.h:
2023         * lyxfunc.C:
2024         * text3.C: Restricts the mouse click functionality
2025         of insets like bibtex, include, toc and floatlist to the visible
2026         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2027         up the dialogs. Cursor has to be in front of the inset (i.e.
2028         start of row) for this to function.
2029
2030 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2031
2032         * bufferview_funcs.C (currentState): output row information
2033
2034 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2035
2036         * bufferview_funcs.C (currentState): output paragraph position
2037
2038 2003-09-04  Angus Leeming  <leeming@lyx.org>
2039
2040         * FloatList.h: move out #include "Floating.h".
2041         * LaTeX.h: move out #include "DepTable.h".
2042         * LyXAction.h: move out #include "funcrequest.h".
2043         * buffer.h: move out #include "author.h", "iterators.h".
2044         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2045         * lyx_main.h: move out #include "errorlist.h".
2046         * lyxfunc.h: move out #include "FuncStatus.h".
2047         * lyxtext: move out #include "lyxcursor.h".
2048         * paragraph_pimpl.h: move out #include "counters.h".
2049
2050 2003-09-03  Angus Leeming  <leeming@lyx.org>
2051
2052         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2053         preamble_snippets list, enabling us to add snippets to the preamble
2054         only if the snippet was not there already.
2055
2056 2003-09-04  Angus Leeming  <leeming@lyx.org>
2057
2058         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2059
2060 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2061
2062         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2063         update
2064
2065 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2066
2067         * BranchList.C: point fix, earlier forgotten
2068
2069 2003-09-02  Angus Leeming  <leeming@lyx.org>
2070
2071         * box.C (contains): renamed from 'contained' after a fantastic
2072         amount of hot air.
2073
2074 2003-09-02  John Levon  <levon@movementarian.org>
2075
2076         * BufferView.C:
2077         * lyxcursor.h:
2078         * lyxcursor.C:
2079         * lyxfunc.C:
2080         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2081
2082 2003-09-02  John Levon  <levon@movementarian.org>
2083
2084         * text2.C: simplification of cursorEnd(), including partial
2085         fix for bug 1376
2086
2087 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * buffer.C (readFile): add a space
2090
2091 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2092
2093         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2094
2095 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * buffer.C (readFile): new function, take a filename and a
2098         ParagraphList::iterator
2099         (readFile): adjust
2100         (readFile): adjust, make it private. don't use setStream, make
2101         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2102         always contain the filename.
2103
2104         * BufferView.C (insertLyXFile): simplify and make it work for
2105         gzipped files.
2106
2107 2003-08-30  John Levon  <levon@movementarian.org>
2108
2109         * Makefile.am: fix dist (from Kayvan)
2110
2111 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * most files: change to use const Buffer refs
2114
2115 2003-08-27  André Pönitz  <poenitz@gmx.net>
2116
2117         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2118         on top of ownerPar().
2119
2120 2003-08-27  John Levon  <levon@movementarian.org>
2121
2122         * funcrequest.C: properly initialise POD members
2123
2124 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * lyxtext.h (top_y): move top_y from here
2127         * text.C:
2128         * text2.C:
2129         * text3.C:
2130         * BufferView.[Ch]:
2131         * BufferView_pimpl.[Ch]: to here
2132         * frontends/screen.C:
2133         * insets/insettabular.C:
2134         * insets/insettext.C: adjust
2135         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2136
2137 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2138
2139         * BufferView.[Ch]:
2140         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2141
2142 2003-08-26  André Pönitz  <poenitz@gmx.net>
2143
2144         * paragraph_func.[Ch] (outerPar): new function
2145
2146         * paragraph.C:
2147         * paragraph_funcs.C:
2148         * paragraph_funcs.h:
2149         * paragraph_pimpl.C:
2150         * text2.C: remove Inset::par_owner
2151
2152 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * lyxrow_funcs.C:
2155         * lyxtext.h:
2156         * text.C:
2157         * text2.C: eliminates the needFullRow/display() stuff
2158         altogether, putting the logic in metrics/draw in the insets.
2159
2160 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2161
2162         * text2.C (redoParagraphInternal, redoParagraphs):
2163         * text.C (redoParagraph): add a call to updateRowPositions at the
2164         end of each 'metrics-like' call. Remove all others.
2165         (getRow): remove the 'y-computing' version.
2166         (getRowNearY): do not compute nor return the real y. Solve the
2167         'y < 0' problem and simplify.
2168
2169 2003-08-22  Angus Leeming  <leeming@lyx.org>
2170
2171         * *.[Ch]: clean-up of licence and author blurbs.
2172         Also move config.h out of a few .h files and into a few .C files.
2173
2174 2003-08-22  André Pönitz  <poenitz@gmx.net>
2175
2176         * lyxrow.[Ch]: add x_ and *fill_ members
2177
2178         * lyxtext.h:
2179         * text.C:
2180         * rowpainter.C:
2181         * text2.C: adjust/remove prepareToPrint() calls
2182
2183 2003-08-22  André Pönitz  <poenitz@gmx.net>
2184
2185         * lyxrow.[Ch]: add  end_ member
2186
2187         * lyxrow_funcs.C: use LyXRow::end_
2188
2189         * lyxtext.h (singleWidth): add LyXFont parameter
2190
2191         * rowpainter.C:
2192         * text2.C: adjust LyXText::singleWidth() calls
2193
2194         * text.C (redoParagraph): simplify row breaking logic
2195
2196
2197 2003-08-19  André Pönitz  <poenitz@gmx.net>
2198
2199         * funcrequest.C: initialize button_ member
2200
2201         * text3.C:
2202         * rowpainter.[Ch]: interface consolidation
2203
2204 2003-08-18  André Pönitz  <poenitz@gmx.net>
2205
2206         * BufferView.C:
2207         * BufferView_pimpl.C:
2208         * lyxfind.C:
2209         * paragraph_funcs.C:
2210         * rowpainter.C:
2211         * text3.C: remove LyXScreen::draw() and fitCursor calls
2212
2213         * BranchList.h: remove spurious semicolons
2214
2215         * MenuBackend.C: fix branchlist related crash
2216
2217 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2218
2219         * BranchList.[Ch]:
2220         * InsetList.[Ch]:
2221         * LColor.[Ch]:
2222         * LyXAction.C:
2223         * Makefile.am:
2224         * MenuBackend.[Ch]:
2225         * bufferparams.[Ch]:
2226         * factory.C:
2227         * lfuns.h:
2228         * lyxfunc.C:
2229         * text3.C: implements the 'branch inset'
2230         idea. This allows the output of various versions of a document
2231         from a single source version, selectively outputing or suppressing
2232         output of parts of the text.
2233         This implementation contains a 'branch list editor' in a separate
2234         tab of the document settings dialog. Branches are user definable
2235         and have a "display colour" to distinguish them on-screen.
2236
2237         ColorHandler was somewhat cleaned up.
2238         (1) make possible a dynamically growing LColor list by allowing
2239         the graphic context cache to grow along (vector);
2240         (2) eliminate an IMHO unnecessary step in colour allocation.
2241
2242 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2243
2244         * BufferView_pimpl.C: compile fix
2245
2246 2003-08-15  André Pönitz  <poenitz@gmx.net>
2247
2248         * rowpainter.C: remove extra metrics calls
2249
2250         * lyxtext.h: merge the two constructors into a single one,
2251           pass reference to owner's par list
2252
2253         * BufferView_pimpl.C:
2254         * text.C:
2255         * text2.C: adjust
2256
2257 2003-08-15  André Pönitz  <poenitz@gmx.net>
2258
2259         * lyxrow_funcs.[Ch]:
2260         * lyxtext.h:
2261         * paragraph.h:
2262         * paragraph_funcs.C:
2263         * rowpainter.C:
2264         * text.C:
2265         * text2.C:
2266         * text3.C:
2267         * text_funcs.C: split LyXText::rowlist_ into individual
2268         Paragraph::rows_ chunks
2269
2270         * BufferView.[Ch]:
2271         * BufferView_pimpl.[Ch]:
2272         * lyxfind.C:
2273         * lyxtext.h:
2274         * text3.C: remove toggleSelection()
2275
2276 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2277
2278         * bufferlist.C: beautify two alerts (shorter text of buttons)
2279         * buffer.C: Remove redundant ' ' from message
2280         * tabular.h:
2281         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2282         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2283         rename VALIGN_CENTER to VALIGN_MIDDLE
2284
2285 2003-08-11  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxtext.h (getPar):
2288         * text.C: new function
2289
2290 2003-08-11  André Pönitz  <poenitz@gmx.net>
2291
2292         * Makefile.am:
2293         * tracer.[Ch]: remove unneeded files
2294
2295         * InsetList.[Ch]: remove resizeInsetsLyXText()
2296
2297         * lyxtext.h:
2298         * text.C:
2299         * text2.C:
2300         * text3.C: merge insertParagraphs() and appendParagraph()
2301         remove breakAgain(), update()
2302
2303         * BufferView_pimpl.[Ch]:
2304         * bufferview_funcs.[Ch]:
2305         * lyxfunc.C:
2306         * paragraph.[Ch]:
2307         * rowpainter.C:
2308         * tabular.C: adjust after text & InsetList changes.
2309
2310 2003-08-08  André Pönitz  <poenitz@gmx.net>
2311
2312         * text.C (insertChar, backspace): replace rowlist fiddling
2313         with rebreak of full par
2314
2315         * lyxtext.h:
2316         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2317         checkParagraph, updateInset): removed
2318
2319 2003-08-07  André Pönitz  <poenitz@gmx.net>
2320
2321         * paragraph.C:
2322         * text3.C: merge some LFUN handlers, remove dead code
2323
2324 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2325
2326         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2327
2328 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2329
2330         * text2.C (DEPM): fix part of bug 1255 and 1256
2331
2332 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2333
2334         * BufferView_pimpl.C (workAreaDispatch): change to use
2335         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2336         that are no mouse related.
2337
2338 2003-08-05  André Pönitz  <poenitz@gmx.net>
2339
2340         * BufferView.[Ch]:
2341         * BufferView_pimpl.[Ch]:
2342         * bufferview_funcs.C:
2343         * text2.C:
2344         * text3.C: rip out "deep update"
2345
2346         * textcursor.[Ch] (last_sel_cursor): remove unused member
2347
2348 2003-08-04  André Pönitz  <poenitz@gmx.net>
2349
2350         * BufferView.[Ch]:
2351         * BufferView_pimpl.[Ch]:
2352         * ParagraphParameters.C:
2353         * bufferview_funcs.C:
2354         * lyx_cb.C:
2355         * lyxfind.C:
2356         * lyxfunc.C:
2357         * text.C:
2358         * text2.C:
2359         * text3.C: replace "complicated" BufferView::update(...) calls with
2360         simpler ones.
2361
2362         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2363
2364 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2365
2366         * Makefile.am (lyx_SOURCES): add paper.h
2367
2368 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2369
2370         * Makefile.am: move things around so that both lyx-qt and
2371         lyx-xforms can be built (according to --with-frontend). Then lyx
2372         is a symbolic link to lyx-[firstfrontend]
2373
2374 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2375
2376         * Always use std::endl with lyxerr
2377
2378 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2379
2380         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2381
2382 2003-08-01  André Pönitz  <poenitz@gmx.net>
2383
2384         * BufferView.[Ch]:
2385         * BufferView_pimpl.[Ch]:
2386         * lyxfunc.C:
2387         * text3.C: merge BufferView::repaint() and BufferView::update()
2388
2389 2003-08-01  José Matos  <jamatos@lyx.org>
2390
2391         * buffer.[Ch]: file_format is no longer a buffer data element.
2392
2393 2003-08-01  André Pönitz  <poenitz@gmx.net>
2394
2395         * BufferView.C:
2396         * lyxtext.h:
2397         * text.C:
2398         * text2.C: make redoParagraph more independent of current cursor
2399
2400         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2401         * text.C:
2402         * text2.C: remove unneeded members
2403
2404 2003-07-30  André Pönitz  <poenitz@gmx.net>
2405
2406         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2407
2408         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2409           create a single function...
2410
2411         * paragraph_funcs.C (moveItem): ... here.
2412
2413         * text.C:
2414           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2415
2416 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * LColor.[Ch]: Add comment and greyedout logical colors.
2419
2420 2003-07-30  André Pönitz  <poenitz@gmx.net>
2421
2422         * tabular.C: don't use Assert too heavily. This crashes where it
2423           shouldn't
2424
2425 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2426
2427         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2428         is disabled (bug 1232)
2429
2430 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2431
2432         * factory.C: limited 'arg' scope
2433
2434 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2435
2436         * factory.C: fixed Note submenu issues
2437
2438 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * factory.C: submenu for Note/Comment/Greyedout
2441
2442 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * lyx_main.C (LyX):
2445         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2446
2447 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2448
2449         * LaTeXFeatures.C:
2450         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2451         greyedout. Patch provided by Jürgen Spitzmüller.
2452
2453 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2454
2455         * kbmap.C (read): fix error message when reading bind files
2456
2457 2003-07-29  Angus Leeming  <leeming@lyx.org>
2458
2459         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2460         certainly does not do what it purports to do. I am doing it, and
2461         us, a favour by killing it.
2462
2463 2003-07-28  José Matos  <jamatos@lyx.org>
2464
2465         * buffer.C (readBody, do_writeFile):
2466         * paragraph.C(readParagraph): \end_document replaces \the_end.
2467
2468 2003-07-29  André Pönitz  <poenitz@gmx.net>
2469
2470         * BufferView.[Ch]:
2471         * BufferView_pimpl.[Ch]:
2472         * lyxfunc.C:
2473         * text2.C:
2474         * text3.C:
2475         * textcursor.[Ch]: remove toggleToggle & Co
2476
2477 2003-07-28  José Matos  <jamatos@fep.up.pt>
2478
2479         * buffer.C (readParagraph):
2480         * params_func (readParToken, readParagraph):
2481         * paragraph.C (write): \layout -> \begin_layout.
2482
2483 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * lyxlex_pimpl.C (setFile): clean up slightly.
2486
2487         * bufferparams.h: add compressed var
2488
2489         * buffer_funcs.C (readFile): adjust for LyXLex change
2490         (newFile): ditto + simplify
2491
2492         * buffer.C (writeFile): handle writing of compressed files
2493
2494         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2495         Check if the file is compressed and set a bufferparm if so.
2496
2497         * Makefile.am (lyx_LDADD): remove explicit -lz
2498
2499 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2502         makeDocBookFile): put the real LyX version in the first line of
2503         the file
2504
2505         * version.h:
2506         * version.C.in: remove lyx_docversion
2507
2508         * tabular.C (write_attribute): add a template-based version to
2509         write enums properly
2510
2511 2003-07-28  André Pönitz  <poenitz@gmx.net>
2512
2513         * lyxtext.h:
2514         * text.C:
2515         * text2.C:
2516         * text3.C: use doubles again for x-coordinates. They are needed.
2517
2518 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2519
2520         * messages.C (getLocaleDir): use lyx_localedir()
2521
2522         * lyxlex_pimpl.C (setFile): compress stuff
2523
2524         * buffer.C (writeFile): add some compression stuff
2525         (do_writeFile): new func, dont call expliti close... will this
2526         breake anything?
2527
2528         * Makefile.am (lyx_LDADD): add -lz
2529
2530 2003-07-28  José Matos  <jamatos@fep.up.pt>
2531
2532         * buffer.C: increment file format.
2533         * paragraph_funcs (readParagraph, readParToken):
2534         * paragraph.C (readParagraph): add \end_layout.
2535
2536 2003-07-27  Angus Leeming  <leeming@lyx.org>
2537
2538         * Makefile.am: remove special casing for configure-time setting of
2539         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2540
2541         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2542         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2543
2544 2003-07-26  André Pönitz  <poenitz@gmx.net>
2545
2546         * paragraph_func.[Ch]:
2547         * paragraph.C (realizeFont): inline it whereever it is used
2548
2549         * rowpainter.C:
2550         * text.C:
2551         * text2.C:
2552         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2553
2554
2555 2003-07-26  André Pönitz  <poenitz@gmx.net>
2556
2557         *       lyxtext.h:
2558         * text.C:
2559         * text2.C: get rid of LyXText::need_break_row
2560
2561 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2562
2563         * toc.[Ch]: put namespace toc inside namespace lyx
2564
2565         * MenuBackend.C (expandToc2): adjust for lyx::toc
2566         (expandToc): ditto
2567
2568         * lyxfunc.C (dispatch): adjust for lyx::find
2569
2570         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2571         lyx::find instead. Reorganize a bit.
2572         (LyXReplace): rename to replace
2573         (LyXFind): rename to find
2574
2575         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2576         (dispatch): ditto
2577
2578 2003-07-26  André Pönitz  <poenitz@gmx.net>
2579
2580         * text.C (setHeightOfRow): restrict scope of temporary variable
2581
2582         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2583           code (never has been used?)
2584
2585 2003-07-27  Asger Alstrup  <alstrup@local>
2586
2587         * text.C (fill): Optimise algorithm to exploit that we can reuse
2588         the LyXFont for many characters.
2589         (setHeightOfRow): Same thing.
2590         (rowBreakPoint): Same thing.
2591
2592 2003-07-26  Asger Alstrup  <alstrup@local>
2593
2594         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2595
2596         * text.C (singleWidth): Spurious font copying in hot-spot
2597         singleWidth avoided. Reorder tests for arabic for efficiency.
2598
2599         * text.C (fill): handle empty paragraphs better.
2600
2601 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * ispell.C:
2604         * encoding.h: add includes
2605
2606         * lyxrc.C: remove reading of bind files
2607
2608         * lyx_main.C (init): setup bindings and menus only if we have a
2609         gui.
2610
2611         * kbmap.C (read): new method. Do the actual reading of bind
2612         files.
2613
2614         * converter.C (dvipdfm_options):
2615         * bufferparams.C:
2616         * lyxrc.C (read):
2617         (output): adapt PAPER_* enums.
2618
2619         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2620
2621         * bufferparams.h: remove paper-related enums from there
2622
2623         * paper.h: New file. A trivial header file to hold paper-related
2624         enums. It should later expand to contain many paper-related
2625         horrors access.
2626
2627         * lyxrc.C: declare extern displayTranslator
2628
2629 2003-07-27  José Matos  <jamatos@fep.up.pt>
2630
2631         * tabular.[Ch] (linuxdoc): add support for tables and figures
2632         (linuxdoc).
2633
2634 2003-07-27  José Matos  <jamatos@fep.up.pt>
2635
2636         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2637         consistency in both functions.
2638         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2639
2640 2003-07-26  Asger Alstrup  <alstrup@local>
2641
2642         * rowpainter.C (paintRows): Change algorithm to work directly on
2643         the insets rather than asking every character in the document
2644         whether its an inset.
2645
2646 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * buffer.C (openFileWrite): factorize some code
2649
2650 2003-07-26  Angus Leeming  <leeming@lyx.org>
2651
2652         * lyx_cb.C:
2653         * lyx_main.[Ch]: replace occurances of system_tempdir with
2654         os::getTmpDir().
2655
2656 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * rename Inset to InsetOld
2659
2660 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2661
2662         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2663         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2664         which I think is a bit clearer. EDIT is gone, since it was
2665         premature optimisation, and broken for mathed anyway.
2666         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2667         with cursor positioning in insets as well (math insets still do not
2668         work, but that's a different story anyway.) It mysteriously
2669         crashes sometimes with undo in the first paragraph, but I'm fairly
2670         confident that this is a compiler bug.
2671
2672 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * paragraph.C (Paragraph): adjust for new clone return type
2675         (operator==): ditto
2676         (copyIntoMinibuffer): ditto
2677
2678 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2679
2680         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2681         by not having a special case, and always doing a full rebreak of
2682         the document after undo.
2683
2684 2003-07-23  Angus Leeming  <leeming@lyx.org>
2685
2686         * factory.C (createInset): InsetExternal::setParams now takes a
2687         Buffer const * arg.
2688
2689 2003-07-23  Angus Leeming  <leeming@lyx.org>
2690
2691         * factory.C (createInset): changed interface to the external and
2692         graphics mailers' string2params functions.
2693
2694 2003-07-23  Angus Leeming  <leeming@lyx.org>
2695
2696         * factory.C (createInset): pass a
2697         Buffer const * parameter to InsetExternalMailer's string2params.
2698
2699 2003-07-22  John Levon  <levon@movementarian.org>
2700
2701         * Thesaurus.h: include the right aiksaurus header
2702
2703 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * MenuBackend.C (expand): check menu shortcuts unconditionally
2706
2707 2003-07-21  Angus Leeming  <leeming@lyx.org>
2708
2709         * factory.C (createInset): pass a
2710         buffer_path parameter to InsetGraphicsMailer's string2params.
2711
2712 2003-07-21  Angus Leeming  <leeming@lyx.org>
2713
2714         * BufferView_pimpl.C (buffer):
2715         * buffer.C (d-tor):
2716         * lyx_main.C (LyX):
2717         * lyxfunc.C (dispatch):
2718         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2719         rather than the grfx shortcut.
2720
2721 2003-07-21  André Pönitz  <poenitz@gmx.net>
2722
2723         * rowpainter.C: remove unused variables
2724
2725         * tabular_funcs.C:
2726         * tabular_funcs.h: move to tabular.C
2727         * Makefile.am: adjust
2728
2729         * tabular.[Ch]: basic optical cleaning
2730
2731         * author.h: pass references, not values
2732
2733 2003-07-18  André Pönitz  <poenitz@gmx.net>
2734
2735         * lyxtext.h:
2736         * metricsinfo.C:
2737         * metricsinfo.h:
2738         * rowpainter.C:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: two-phase drawing for InsetText and InsetTabular
2742         some float -> int changes.
2743
2744 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2745
2746         * lyx_main.C: fix the fix
2747
2748 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * lyx_main.C: fix a crash in batch mode if no files specified
2751         * converter.C: ws
2752
2753 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * format.[Ch] (papersize): moved to BufferParams
2756         * converter.[Ch] (dvips_options): moved to BufferParams
2757         (dvipdfm_options): moved to anon namespace
2758         * bufferparams.[Ch]: added above functions.
2759
2760 2003-07-17  André Pönitz  <poenitz@gmx.net>
2761
2762         * lyxtext.h:
2763         * rowpainter.C:
2764         * text2.C: don't call inset->update() anymore
2765
2766         * metricsinfo.[Ch]: add convenience constructor
2767
2768 2003-07-16  André Pönitz  <poenitz@gmx.net>
2769
2770         * lyxcursor.[Ch]:
2771         * lyxfunc.[Ch]:
2772         * text.C:
2773         * text2.C: replace the LyXCursor::irow_ member with
2774          on-demand computation of the value
2775
2776 2003-07-16  John Levon  <levon@movementarian.org>
2777
2778         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2779
2780 2003-07-15  André Pönitz  <poenitz@gmx.net>
2781
2782         * text.C:
2783         * text2.C: remove no more needed refresh_row
2784
2785 2003-07-15  André Pönitz  <poenitz@gmx.net>
2786
2787         * lyxtext.h:
2788         * rowpainter.C:
2789         * text2.C:
2790         * text3.C: refresh_status tristate -> need_update bool
2791
2792 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * lyxtext.h (init): remove reinit argument (act as if always true)
2795         * text2.C: adjust to that
2796
2797 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2798
2799         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2800         * text3.C: use it to delete selections in some cases
2801         (bugs 441, 673, 702, 954).
2802
2803 2003-07-14  André Pönitz  <poenitz@gmx.net>
2804
2805         * rowpainter.[Ch]: reduce interface
2806
2807 2003-07-14  André Pönitz  <poenitz@gmx.net>
2808
2809         * BufferView_pimpl.C:
2810         * text2.C: adjust after removing unused BufferView * argument
2811
2812 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * text2.C (init): fix a crash fired on resize
2815
2816 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2817
2818         * buffer.[Ch]: added new closing signal
2819         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2820         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2821         BufferView::Pimpl via the closing the signal
2822
2823 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2824
2825         * buffer.[Ch]: take out all bv-related from buffer
2826         * BufferView.C:
2827         * BufferView_pimpl.[Ch]: connect to new signals
2828         * CutAndPaste.C: removed useless asserts
2829         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2830         * lyxvc.[Ch]:
2831         * vc-backend.[Ch]:
2832         * lyxfunc.C: moved view-related funciontality from vc here
2833         * paragraph.C: removed outdated comments
2834         * text.C: ws
2835
2836 2003-07-10  André Pönitz  <poenitz@gmx.net>
2837
2838         * BufferView_pimpl.C:
2839         * tabular.h:
2840         * tabular_funcs.C:
2841         * text.C:
2842         * text2.C: remove InsetText::InnerCache, clean up consequences
2843
2844 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2845
2846         * ispell.C: fix two typos in error messages
2847
2848 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2849
2850         * Extend Note inset to other forms of annotation like Comment
2851         and Greyedout. Right button click gives dialog.
2852
2853         Files modified or added (+):
2854
2855         * insetnote.[Ch]
2856         * FormNote.[Ch]      +
2857         * ControlNote.[Ch]   +
2858         * form_note.fd       +
2859         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2860         frontends/controllers
2861         * xforms/Dialogs.C
2862         * factory.C
2863
2864 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2865
2866         * aspell.C: add missing namespace lyx::support
2867
2868 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2869
2870         * BufferView.[Ch] (newFile): Add
2871         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2872         * LaTeX.[Ch] (message): added this signal and use it
2873         * buffer.[Ch] (busy, message): added these signals and use them
2874         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2875         * converter.C:
2876         * exporter.C:
2877         * format.C:
2878         * importer.C: use buffer signals instead of direct bv calling
2879         * lyx_cb.[Ch] (ShowMessage): removed
2880         * lyx_main.C:
2881         * lyxfunc.C:
2882         * paragraph_funcs.C:
2883         * text2.C: use buffer signals
2884
2885 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * introduce namespace lyx::graphics
2888
2889 2003-07-02  André Pönitz  <poenitz@gmx.net>
2890
2891         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2892
2893 2003-07-01  André Pönitz  <poenitz@gmx.net>
2894
2895         * text.C:
2896         * text2.C:
2897         * text3.C:
2898         * text_funcs.[Ch]:
2899         * textcursor.h:
2900         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2901           text*.C to text_func.C
2902
2903 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * introduce namespace lyx::support
2906
2907 2003-06-30  André Pönitz  <poenitz@gmx.net>
2908
2909         * Chktex.C:
2910         * funcrequest.C:
2911         * lyxtext.h:
2912         * text.C: re-enable --with-included-string
2913
2914 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2915
2916         * textcursor.C: add <config.h>
2917
2918         * text.C (getWord): remove const from word_location arg
2919
2920         * lyxvc.C (getLogFile): fix const type order
2921
2922         * lyxtext.h: remove const from word_location arg, add arg name
2923
2924         * lyxlayout.h: currect type on labeltype.
2925
2926         * importer.C: correct \file
2927
2928         * converter.C (intToFormat): use std:: on ret val, ws changes
2929
2930         * bufferlist.h: correct \file
2931
2932         * buffer.C (makeLinuxDocFile): fix const type order
2933         (makeDocBookFile): ditto
2934         (fillWithBibKeys): use std:: on stdlib args.
2935
2936         * CutAndPaste.C: fix authors.
2937         (availableSelections): use std:: on return vector
2938
2939 2003-06-27  André Pönitz  <poenitz@gmx.net>
2940
2941         * BufferView_pimpl.C:
2942         * bufferview_funcs.C:
2943         * lyxcursor.C:
2944         * lyxcursor.h:
2945         * lyxfunc.C:
2946         * lyxtext.h:
2947         * rowpainter.C:
2948         * text.C:
2949         * text2.C:
2950         * text3.C: remove LyXCursor::row_ member
2951
2952         * lyxtext.h:
2953         * text.C: rename fullRebreak() to partialRebreak() and implement
2954           a fullRebreak() that really bereks fully
2955
2956         * textcursor.h: new struct for cursor-related data
2957
2958 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * lyx_main.C (LyX): get full path of document loaded on the
2961         command line
2962
2963 2003-06-26  André Pönitz  <poenitz@gmx.net>
2964
2965         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2966           remove unused/broken operator>,<,>=.
2967
2968         *       text.C: remove only use of broken operator<= in an Assert().
2969
2970 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2971
2972         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2973         moved errorlist_.clear to showErrorList
2974
2975 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2976
2977         * converter.C (scanLog, runLaTeX):
2978         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2979         move the bv->showErrorList call to the callers
2980         * lyxfunc.C: i.e. here...
2981         * text2.C: and here
2982         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2983         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2984         namespace, the second to...
2985         * buffer_funcs (BufferFormat, parseErrors): added
2986         * errorlist.C (ErrorList(TeXErrors const &)): removed
2987
2988 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2991
2992 2003-06-24  "Garst R. Reese" <reese@isn.net>
2993
2994         * debug.C: fix typo
2995
2996 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2997
2998         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2999
3000         * version.C.in: change docversion to 1.4
3001
3002 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3003
3004         * buffer.C: fix a bug just introduced
3005
3006 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * buffer.[Ch]: added the parseError signal and use it, removed
3009         sgmlError
3010         * BufferView.[Ch] (addError): moved to ...
3011         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3012         to the Buffer::parseError signal to catch (guess what) parse errors
3013         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3014
3015 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3018         ability to create a buffer and to return an existing one from
3019         the list. Moved these functions to...
3020         * buffer_funcs.[Ch]: added
3021         * BufferView.[Ch] (loadLyXFile): added
3022         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3023         job removed from bufferlist::loadLyXFile.
3024         * buffer.C (setReadOnly): make it work without view
3025         (i.e added an if (users))
3026
3027 2003-06-19  Angus Leeming  <leeming@lyx.org>
3028
3029         * lfuns.h:
3030         * LyXAction.C (init):
3031         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3032         with LFUN_DIALOG_SHOW <name> <data>.
3033
3034 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3035
3036         * CutAndPaste.C (availableSelections): small compilation fix for
3037         ancient (gcc 2.9x) compilers
3038
3039 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * text3.C (cursorNext): add tmp var
3042
3043         * text2.C (updateCounters): for function calling out of for clause
3044         (replaceSelectionWithString): ditto
3045         (insertStringAsParagraphs): ditto
3046         (getColumnNearX): add tmp var
3047         (setCursorFromCoordinates): add tmp var
3048         (cursorDownParagraph): add tmp var
3049         (deleteEmptyParagraphMechanism): add tmp var
3050
3051         * text.C (insertChar): add tmp var
3052
3053         * rowpainter.C (paintDepthBar): add tmp var
3054
3055         * CutAndPaste.C (availableSelections): potentially check all
3056         paragraphs in a cut to fill the shown strings.
3057
3058 2003-06-18  André Pönitz  <poenitz@gmx.net>
3059
3060         * kbmap.[Ch]: use vector<> instead of list<>
3061
3062 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3063
3064         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3065         pasteSelection with index
3066
3067         * text2.C (pasteSelection): modify, call pasteSelection with index
3068
3069         * paragraph.C (asString): reimplement version with no interval to
3070         call the one with interval.
3071
3072         * lyxtext.h: add index arg to pasteSelection
3073
3074         * MenuBackend.C (MenuItem): handle PasteRecent
3075         (Menu::read::Menutags): add md_pasterecent
3076         (read): handle it
3077         (expandPasteRecent): new function
3078         (expand): use it
3079
3080         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3081
3082         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3083         the limited stack
3084         (availableSelections): new function
3085
3086 2003-06-17  Angus Leeming  <leeming@lyx.org>
3087
3088         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3089
3090 2003-06-17  Angus Leeming  <leeming@lyx.org>
3091
3092         * lfuns.h:
3093         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3094
3095         * lyxfunc.C (dispatch): invoke it.
3096
3097 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3098
3099         * iterators.C (operator++, ParPosition): reintroduce some
3100         const_cast for the benefit of older compilers.
3101
3102 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3103
3104         * text3.C (dispatch): do not modify clipboard when doing
3105         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3106         LFUN_DELETE_SKIP on a selection selection
3107
3108 2003-06-16  André Pönitz  <poenitz@gmx.net>
3109
3110         * BufferView.C:
3111         * buffer.C:
3112         * buffer.h:
3113         * paragraph.C:
3114         * tabular.[Ch]: IU of clone() and getLabelList();
3115
3116 2003-06-13  André Pönitz  <poenitz@gmx.net>
3117
3118         * tabular.h: compactification
3119
3120 2003-06-12  André Pönitz  <poenitz@gmx.net>
3121
3122         * tabular.C:
3123         * tabular.h:
3124         * tabular_funcs.h: some renaming plus whitespace
3125
3126 2003-06-12  André Pönitz  <poenitz@gmx.net>
3127
3128         * BufferView.C:
3129         * BufferView_pimpl.C:
3130         * CutAndPaste.C:
3131         * buffer.C:
3132         * iterators.[Ch]:
3133         * lyxfunc.C:
3134         * text.C:
3135         * toc.C: Return a Paragraph & for ParIterator::operator*()
3136
3137 2003-06-11  John Levon  <levon@movementarian.org>
3138
3139         * lyx_main.C:
3140         * ToolbarBackend.h:
3141         * ToolbarBackend.C: add "Toolbars" section and
3142         put the flags there
3143
3144 2003-06-10  Angus Leeming  <leeming@lyx.org>
3145
3146         * lfuns.h:
3147         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3148
3149         * lyxfunc.C (dispatch): invoke it.
3150
3151 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * main.C: protect <ios> with HAVE_IOS
3154         (main): protect sync_with_stdio with HAVE_IOS
3155
3156 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3157
3158         * text2.C (cutSelection): adjust
3159         (pasteSelection): adjust
3160
3161         * messages.C: handle get of empty string
3162
3163         * main.C (main): use sync_with_stdio(false)
3164
3165         * lyxfunc.C (dispatch): adjust
3166
3167         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3168         (WriteAs): remove unneeded BufferView arg.
3169
3170         * bufferparams.h: use correct types on papersize, papersize2 and
3171         paperpackage.
3172
3173         * bufferparams.C (readToken): adjust for type
3174         (writeLaTeX): add missing cases to switch.
3175
3176         * bufferlist.C (quitWriteBuffer): adjust
3177         (close): adjust
3178
3179         * buffer.C (asciiParagraph): remove some commented code.
3180
3181         * CutAndPaste.C: remove current_view extern variable.
3182         (cutSelection): add BufferParams arg.
3183         (eraseSelection): add BufferParams arg.
3184         (pasteSelection): add Buffer const & arg
3185
3186 2003-06-07  John Levon  <levon@movementarian.org>
3187
3188         * buffer.C:
3189         * paragraph_funcs.C:
3190         * paragraph_pimpl.C:
3191         * text.C:
3192         * text2.C:
3193         * paragraph.h:
3194         * paragraph.C: allow InsetERT to freely space lines,
3195         and some consolidation of code
3196
3197 2003-06-06  José Matos  <jamatos@fep.up.pt>
3198
3199         * buffer.C (makeDocBookFile): fix bug #821
3200
3201 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3202
3203         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3204
3205 2003-06-04  Angus Leeming  <leeming@lyx.org>
3206
3207         * buffer.C: bump format to 224.
3208
3209 2003-06-05  André Pönitz  <poenitz@gmx.net>
3210
3211         * text2.C (redoParagraphs): remove two const_cast<>
3212
3213 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3214
3215         * ParagraphList.h: remove last remnants of NO_STD_LIST
3216
3217 2003-06-03  Angus Leeming  <leeming@lyx.org>
3218
3219         * factory.C (createInset): small change to the way InsetExternal's params
3220         are set.
3221
3222 2003-06-04  André Pönitz  <poenitz@gmx.net>
3223
3224         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3225
3226         * paragraph_pimpl.h:
3227         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3228
3229         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3230
3231         * undo_funcs.C: make some simple cases of undo work again
3232
3233 2003-06-03  John Levon  <levon@movementarian.org>
3234
3235         * ispell.C: HPUX doesn't have sys/select.h
3236         (from Albert Chin)
3237
3238 2003-06-03  John Levon  <levon@movementarian.org>
3239
3240         * CutAndPaste.C: update tabular and include inset
3241         buffer references
3242
3243         * buffer.h:
3244         * paragraph.h:
3245         * paragraph.C: remove owningBuffer(), don't pass Buffer
3246         to clone()
3247
3248         * factory.C: insetGraphicsParams changed
3249
3250 2003-06-02  John Levon  <levon@movementarian.org>
3251
3252         * LyXAction.C:
3253         * factory.C:
3254         * lfuns.h:
3255         * lyxfunc.C:
3256         * text3.C: remove insetparent
3257
3258 2003-06-02  John Levon  <levon@movementarian.org>
3259
3260         * buffer.h:
3261         * buffer.C: fix inset_iterator.end(), move out of line
3262         (bug 1149)
3263
3264 2003-06-01  John Levon  <levon@movementarian.org>
3265
3266         * text3.C: use a proper cut/paste when doing inset
3267         insert (from Jürgen Spitzmüller)
3268
3269 2003-06-01  John Levon  <levon@movementarian.org>
3270
3271         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3272
3273 2003-05-30  André Pönitz  <poenitz@gmx.net>
3274
3275         * rowpainter.C: unify second drawing phase
3276
3277 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * trans_mgr.C: remove one case of current_view
3280
3281         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3282
3283         * paragraph_funcs.h: remove paragraph.h include
3284
3285         * paragraph.h: delete NO_STD_LIST stuff
3286
3287         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3288
3289         * buffer.h: remove paragraph.h include
3290
3291         * ParagraphList.C: delete file
3292
3293         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3294
3295         * toc.C (getTocList): adjust
3296
3297         * paragraph_pimpl.C (validate): adjust
3298
3299         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3300
3301         * paragraph.C (Paragraph): adjust
3302         (getPositionOfInset): use const_iterator, adjust
3303         (bibitem): use const_iterator, adjust
3304         (setInsetOwner): adjust
3305
3306         * iterators.C (operator++): adjust
3307
3308         * InsetList.[Ch]: Replace selfmade iterator with standard
3309         vector::iterator also introduce const_iterator. Remove getPos,
3310         getInset and setInset from InsetTable. Adjust accordingly.
3311
3312         * BufferView.C (lockInset): adjust
3313         (ChangeInsets): adjust
3314
3315         * tabular.[Ch]: delete commented same_id functions
3316
3317 2003-05-28  John Levon  <levon@movementarian.org>
3318
3319         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3320
3321 2003-05-28  André Pönitz  <poenitz@gmx.net>
3322
3323         * metricsinfo.[Ch]: remove 'fullredraw' member
3324
3325 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3326
3327         * lyxtextclass.C (operator): remove caching.
3328
3329 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * text3.C: adjust
3332
3333         * text2.C (cursorBottom): adjust
3334         (setCounter): use ParagraphList::find, adjust
3335
3336         * text.C (workWidth): use ParagraphList::find, adjust
3337
3338         * lyxcursor.C (LyXCursor): adjust
3339
3340         * buffer.C (inset_iterator): adjust
3341
3342         * ParagraphList.h: make iterator(value_type) private, make
3343         ParagraphList a friend of iterator.
3344
3345         * ParagraphList.C (find): new function
3346
3347         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3348
3349 2003-05-27  André Pönitz  <poenitz@gmx.net>
3350
3351         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3352
3353 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3354
3355         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3356
3357 2003-05-26  John Levon  <levon@movementarian.org>
3358
3359         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3360
3361 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * remove same_id from function signatures, adjust.
3364
3365 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3368
3369         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3370
3371         * paragraph.C (Paragraph): get rid of same_ids parameter
3372
3373         * ParagraphList.C (insert): adjust
3374         (push_back): adjust
3375
3376 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * paragraph_funcs.C (breakParagraph): adjust
3379         (breakParagraphConservative): adjust
3380
3381         * buffer.C (readParagraph): adjust
3382
3383         * ParagraphList.C (insert): take a reference instead of a pointer
3384         (insert): adjust
3385
3386         * paragraph.[Ch] (id): new function
3387
3388         * bufferlist.C (newFile): adjust
3389
3390         * ParagraphList.C (ParagraphList): adjust
3391         (assign): adjust
3392         (push_back): take a reference instead of a pointer.
3393
3394         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3395
3396         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3397         instead.
3398
3399         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3400         set else use old code.
3401
3402         * ParagraphList.C: remove all NO_NEXT code and only compile this
3403         code of NO_STD_LIST is set.
3404
3405 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * BufferView_pimpl.C:
3408         * TextCache.C:
3409         * TextCache.h:
3410         * bufferlist.C:
3411         * errorlist.h:
3412         * format.C:
3413         * format.h:
3414         * graph.C:
3415         * lyxfunc.C:
3416         * lyxrc.C:
3417         * graphics/GraphicsConverter.C:
3418         * graphics/PreviewLoader.C: header adjustment
3419
3420 2003-05-23  Angus Leeming  <leeming@lyx.org>
3421
3422         * LaTeXFeatures.[Ch] (useBabel): new method.
3423         * bufferparams.C (writeLaTeX): use it.
3424
3425 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3426
3427         * ParagraphList.h (set): remove unused function.
3428
3429 2003-05-23  André Pönitz  <poenitz@gmx.net>
3430
3431         * BufferView.C:
3432         * BufferView_pimpl.C:
3433         * buffer.C:
3434         * buffer.h:
3435         * lyxfunc.C:
3436         * undo_funcs.C: setUndo reworked
3437
3438         * iterators.[Ch]: add access to topmost ParagraphList
3439
3440         * lyxtext.[Ch] (workWidth): add a const
3441
3442 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * texrow.[Ch] (increasePos): remove function
3445         * exporter.C (export): removed unused var and outdated comment
3446
3447 2003-05-23  Angus Leeming  <leeming@lyx.org>
3448
3449         * latexrunparams.h: rename fragile as moving_arg.
3450         * paragraph.C (simpleTeXOnePar): ditto.
3451         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3452
3453 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3456         (createUndo): ditto
3457         (textUndoOrRedo): comment out a currently unused var.
3458
3459         * paragraph.h (NO_NEXT): enable NO_NEXT
3460
3461         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3462
3463         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3464
3465         * exporter.C (Export): adjust for removeAutoInsets removal.
3466
3467         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3468
3469         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3470
3471         * BufferView.[Ch] (removeAutoInsets): delete function
3472
3473 2003-05-22  Angus Leeming  <leeming@lyx.org>
3474
3475         * latexrunparams.h: add a free_spacing variable.
3476
3477         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3478         to pass moving_arg, as the data is stored in runparams.fragile.
3479
3480         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3481         to Inset::latexOptional or to simpleTeXOnePar.
3482
3483         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3484         free_spacing arg to Inset::latexOptional.
3485
3486         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3487         free_spacing arg.
3488
3489 2003-05-22  Angus Leeming  <leeming@lyx.org>
3490
3491         * latexrunparams.h: add fragile and use_babel variables.
3492
3493         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3494         * buffer.C (makeLaTeXFile): store this returned value in
3495         runparams.use_babel, thus passing it to the inset::latex methods.
3496
3497         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3498         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3499
3500         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3501         longer has a fragile arg, as it is stored in runparams.fragile.
3502
3503         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3504         moving_arg parameter as the data is stored in runparams.fragile.
3505
3506         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3507         a fragile parameter as the data is stored in runparams.fragile.
3508
3509 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3512
3513 2003-05-22  Angus Leeming  <leeming@lyx.org>
3514
3515         * latexrunparams.h: add a 'bool nice' which defaults to false.
3516
3517         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3518         now encapsulated within runparams.
3519
3520         * bufferlist.C (updateIncludedTeXfiles):
3521         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3522
3523 2003-05-22  Angus Leeming  <leeming@lyx.org>
3524
3525         * latexrunparams.h: new file containing struct LatexRunParams.
3526         * Makefile.am: add new file.
3527
3528         * LaTeX.[Ch] (c-tor, run):
3529         * buffer.[Ch] (makeLaTeXFile):
3530         * bufferlist.[Ch] (updateIncludedTeXfiles):
3531         * converter.C (convert, scanLog):
3532         * converter.[Ch] (runLaTeX):
3533         * exporter.C (Export):
3534         * paragraph.[Ch] (simpleTeXOnePar):
3535         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3536         * paragraph_funcs.[Ch] (latexParagraphs):
3537         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3538         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3539         pass around a LatexRunParams parameter.
3540
3541 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * paragraph.[Ch]: remove unused constructor
3544
3545         * ParagraphList.C (erase): new function, taking two iterators
3546
3547 2003-05-22  André Pönitz  <poenitz@gmx.net>
3548
3549         * undo_funcs.C: remove duplicated code
3550
3551         * iterator.[Ch]: operator=
3552
3553 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * tabular.C (SetMultiColumn): ws changes
3556
3557         * rowpainter.C (paintFirst): get rid of a ->previous
3558
3559         * lyx_cb.C (getPossibleLabel): parlist simplification
3560
3561         * BufferView.C (ChangeInsets): simplify slightly.
3562
3563 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3564
3565         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3566         * lfuns.h: new LFUN_SPACE
3567         * lyxfunc.C: protected space has a new lfun
3568         * paragraph_funcs.C: read new space insets
3569         * text3.C:
3570         * factory.C: handle new space insets
3571
3572 2003-05-22  André Pönitz  <poenitz@gmx.net>
3573
3574         * BufferView.C:
3575         * BufferView_pimpl.C:
3576         * buffer.[Ch]:
3577         * lyxfunc.C:
3578         * undo_funcs.C: return a ParIterator from getParFromID.
3579
3580         * iterators.[Ch]: add two const's
3581
3582 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * toc.C (getTocList): adjust
3585
3586         * iterators.[Ch]: rework for parlist
3587
3588         * buffer.C (par_iterator_begin): adjust
3589         (par_iterator_end): adjust
3590
3591         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3592
3593         * BufferView.C (removeAutoInsets): adjust
3594         (ChangeInsets): adjust
3595
3596 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * text.C (top_y): fix bug 1110
3599
3600 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * errorlist.[Ch]: added
3603         * buffer.C:
3604         * BufferView.[Ch]:
3605         * BufferView_pimpl.C:
3606         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3607         instead
3608
3609 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * Makefile.am: ensure that lyx is relinked upon changes to the
3612         various "convenience" libs.
3613
3614 2003-05-20  Angus Leeming  <leeming@lyx.org>
3615
3616         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3617         files are compiled in alphabetical order again.
3618
3619         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3620
3621 2003-05-19  Angus Leeming  <leeming@lyx.org>
3622
3623         * gettext.[Ch]: remove "char const * _(char const *)".
3624
3625 2003-05-19  André Pönitz  <poenitz@gmx.net>
3626
3627         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3628
3629         * Makefile.am:
3630         * BufferView.C:
3631         * DepTable.h:
3632         * LaTeXFeatures.C:
3633         * buffer.C:
3634         * lyxfont.C:
3635         * lyxlex.h:
3636         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3637
3638 2003-05-19  André Pönitz  <poenitz@gmx.net>
3639
3640         * buffer.C:
3641         * lyxlayout.[Ch]:
3642         * lyxtextclass.[Ch]:
3643         * paragraph.C:
3644         * paragraph_funcs.[Ch]:
3645         * text2.C:
3646         * text3.C: more insetenv work
3647
3648 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * ParagraphParameters.C (params2string): small bug fixed
3651
3652 2003-05-16  André Pönitz  <poenitz@gmx.net>
3653
3654         * debug.C:
3655         * bufferview_funcs.C: patch from Kornel Benko to prevent
3656           crash when _(...) is called twice in a statement
3657
3658 2003-05-16  André Pönitz  <poenitz@gmx.net>
3659
3660         * BufferView.C:
3661         * lyxfunc.C:
3662         * text.C:
3663         * text2.C:
3664         * text3.C:
3665         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3666
3667 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3668
3669         * lyx_main.C (init): remove spurious static_cast
3670
3671 2003-05-14  André Pönitz  <poenitz@gmx.net>
3672
3673         * BufferView.C: fix format string
3674
3675 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * BufferView.[Ch] (insertErrors): removed
3678         * BufferView.[Ch] (showErrorList): added
3679         * buffer.C (runChkTeX):
3680         * converter.C (scanLog): call showErrorList instead of inserterrors
3681
3682 2003-05-13  André Pönitz  <poenitz@gmx.net>
3683
3684         * BufferView_pimpl.C:
3685         * buffer.C:
3686         * bufferview_func.C:
3687         * MenuBackend.C:
3688         * lyxfunc.C:
3689         * lyxrc.C:
3690         * tex-accent.C:
3691         * text3.C:
3692         * toc.C:
3693         * tabular_funcs.h: tostr() from its own header
3694
3695         * ParagraphParameters.C:
3696         * ToolbarBackend.C:
3697         * bufferparams.C:
3698         * format.C:
3699         * lyxlex_pimpl.C:
3700         * text3.C: STRCONV()
3701
3702 2003-05-12  André Pönitz  <poenitz@gmx.net>
3703
3704         * BufferView.C:
3705         * BufferView_pimpl.C:
3706         * CutAndPaste.C:
3707         * LaTeX.C:
3708         * LaTeXFeatures.C:
3709         * ParagraphParameters.C:
3710         * buffer.C:
3711         * bufferlist.C:
3712         * bufferparams.C:
3713         * bufferview_funcs.C:
3714         * converter.C:
3715         * counters.C:
3716         * debug.C:
3717         * exporter.C:
3718         * format.C:
3719         * importer.C:
3720         * lyx_cb.C:
3721         * lyx_main.C:
3722         * lyxfont.C:
3723         * lyxfunc.C:
3724         * lyxvc.C:
3725         * paragraph.C:
3726         * paragraph_funcs.C:
3727         * tabular.C:
3728         * tabular_funcs.C:
3729         * text2.C:
3730         * text3.C:  boost::format -> bformat  all over the place
3731
3732
3733 2003-05-09  André Pönitz  <poenitz@gmx.net>
3734
3735         * LColor.[Ch]: Pimpl the #include <map> away
3736
3737 2003-05-09  John Levon  <levon@movementarian.org>
3738
3739         * bufferlist.C: never remove emergency saves
3740
3741 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * Makefile.am: better lib building
3744
3745 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3748         instead.
3749         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3750         (simpleTeXSpecialChars): adjust
3751         (simpleTeXSpecialChars): adjust
3752         * paragraph.C (simpleTeXOnePar): adjust
3753         * buffer.C (makeLaTeXFile): adjust
3754
3755         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3756
3757         * text2.C (changeDepth): parlist cleanup
3758         (getColumnNearX): ditto
3759
3760         * rowpainter.C (getLabelFont): parlist cleanup
3761
3762         * bufferlist.C (newFile): parlist cleanup
3763
3764         * CutAndPaste.C (eraseSelection): parlist cleanup
3765
3766         * BufferView_pimpl.C (trackChanges): parlist cleanup
3767         (dispatch): ditto
3768
3769         * BufferView.C (lockInset): parlist cleanup.
3770         (ChangeInsets): ditto
3771
3772 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * CutAndPaste.h: Update file header.
3775
3776         * CutAndPaste.C: Update file header.
3777         Store the parts cut out of the Document in a limited_stack.
3778         (copySelection): adjust
3779         (pasteSelection): new function, takes the index in the limited stack.
3780         (nrOfParagraphs): adjust
3781         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3782         simplify error inset insertion.
3783         (checkPastePossible): adjust
3784
3785 2003-05-06  John Levon  <levon@movementarian.org>
3786
3787         * text2.C: don't cast wrap inset to float
3788
3789 2003-05-05  André Pönitz  <poenitz@gmx.net>
3790
3791         * iterator.C:
3792         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3793
3794         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3795           few naked Paragraph *.
3796
3797 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3798
3799         * bufferparams.C: Output warning if a document with missing
3800         TeX document class is loaded
3801         * exporter.C: Disable TeX exports if the document class is missing
3802         * lyxtextclass.C:
3803         * lyxtextclass.h:
3804         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3805         isTeXClassAvailable()
3806
3807 2003-05-03  John Levon  <levon@movementarian.org>
3808
3809         * BufferView.h:
3810         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3811         explicit cursor show/hide
3812
3813         * BufferView_pimpl.h:
3814         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3815         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3816
3817         * lyxfunc.C: hide cursor before dispatching.
3818
3819         * lyx_cb.C:
3820         * lyxfind.C:
3821         * text.C:
3822         * text3.C: remove explicit cursor hides
3823
3824 2003-05-02  André Pönitz  <poenitz@gmx.net>
3825
3826         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3827
3828         * undo_funcs.C:
3829         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3830           linked lists
3831
3832         * text2.C: tiny whitespace
3833
3834 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * undo_funcs.C: almost only ws changes.
3837
3838         * ParagraphList.C (splice): just return if pl is empty.
3839
3840 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * ParagraphList.C (splice): new function.
3843
3844         * CutAndPaste.C (pasteSelection): use it
3845
3846 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * CutAndPaste.C (pasteSelection): remove the last next and
3849         previous from this file.
3850
3851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * CutAndPaste.C (pasteSelection): more clean up, user proper
3854         ParagraphList functions for pasteing.
3855
3856         * ParagraphList.C (insert): new function, three arg insert
3857
3858 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * ParagraphList.C (insert): new function, three arg insert
3861
3862         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3863         not on paragraphs.
3864
3865 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3868
3869 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3870
3871         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3872
3873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3876         (copySelection): clean up a bit.
3877         (pasteSelection): use make_pair
3878
3879         * ParagraphList.C (ParagraphList): implement copy constructor
3880         (operator=): implement, base on copy constructor.
3881         (assign): new func
3882
3883         * paragraph.C (erase): return a bool
3884
3885         * paragraph_pimpl.C (erasePos): remove function, move contents...
3886         (erase): ... here. Return a bool.
3887         (erase): call erase instead of erasePos.
3888
3889 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * ParagraphList.h: define PitPosPair
3892         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3893         ParagraphList, fix a bug on pasting multiple pars
3894         * text2.C: change interface to C&P
3895
3896 2003-04-30  André Pönitz  <poenitz@gmx.net>
3897
3898         * undo_func.C: revert part of yesterday's patch 2
3899
3900 2003-04-30  John Levon  <levon@movementarian.org>
3901
3902         * LColor.C: s/tabular/table/
3903
3904 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * text3.C (dispatch): do not convert iterator -> pointer
3907         * undo_funcs.C (setCursorParUndo): ditto
3908         * text_funcs.C (transposeChars): ditto
3909
3910         * text2.C (setLayout): ws changes only
3911
3912         * text.C (breakParagraph): do not convert iterator -> pointer
3913         (insertChar): ditto
3914         (acceptChange): ditto
3915         (rejectChange): ditto
3916         (changeCase): ditto
3917         (Delete): ditto
3918         (backspace): ditto
3919
3920         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3921         pointer
3922
3923 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * text3.C (gotoInset): YABG (yet another bad getChar)
3926
3927 2003-04-29  André Pönitz  <poenitz@gmx.net>
3928
3929         * paragraph.h: make operator= private unimplemented as long as
3930           it is unusable
3931
3932         * ParagraphList.C: whitespace
3933
3934         * paragraph.[Ch]:
3935         * paragraph_pimpl.[Ch]:
3936         * paragraph_funcs.C:
3937         * CutAndPaste.C:
3938         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3939
3940         * text2.C:
3941           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3942
3943 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3946         * paragraph.[Ch] (erase):
3947         * paragraph_pimpl.[Ch] (erase): change return type and value
3948         * text2.C (cutSelection): some rework
3949
3950 2003-04-28  John Levon  <levon@movementarian.org>
3951
3952         * bufferlist.C: changes for unsaved changes dialog
3953
3954 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * bufferlist.C (newFile): set language (messages_) for new
3957         documents also.
3958
3959         * buffer.C (readFile): ws changes only.
3960
3961 2003-04-28  André Pönitz  <poenitz@gmx.net>
3962
3963         * undo_funcs.C:
3964         * lyxfunc.C:
3965         * buffer.[Ch]:
3966         * BufferView_pimpl.C:
3967         * BufferView.C: getParFromID related ParagraphList::iterator changes
3968
3969 2003-04-28  André Pönitz  <poenitz@gmx.net>
3970
3971         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3972           Changes
3973
3974 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * messages.C: remove one more localedir class variable.
3977
3978 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * messages.C (getLocaleDir): singleton generation function
3981         (Pimpl): use it.
3982         (Messages): add a default constructor.
3983
3984         * main.C (main): do not setup localedir here, do not call
3985         gettext_init.
3986
3987         * gettext.C (_): use it.
3988         (gettext_init): delete funciton
3989
3990 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * gettext.C (getLyXMessages): new singleton generating function.
3993
3994         * buffer.C (updateDocLang): adjust
3995
3996         * Makefile.am (messages.o): add target
3997         (main.o): remove target
3998
3999 2003-04-27  John Levon  <levon@movementarian.org>
4000
4001         * bufferlist.C:
4002         * lyx_cb.C:
4003         * lyxfunc.C:
4004         * lyxvc.C: specify cancel button in Alert::prompt
4005
4006 2003-04-26  John Levon  <levon@movementarian.org>
4007
4008         * text3.C:
4009         * lyxfunc.C:
4010         * lfuns.h:
4011         * LyXAction.C: add LFUN_INSET_SETTINGS
4012
4013         * lyxfunc.C: don't enable tabular-feature when there's
4014         just any locking inset
4015
4016 2003-04-26  John Levon  <levon@movementarian.org>
4017
4018         * bufferlist.C: re-add Cancel to buffer close question
4019
4020         * lyxfunc.C: fix import UI a bit
4021
4022 2003-04-25  John Levon  <levon@movementarian.org>
4023
4024         * gettext.C: remove the broken asserts for now
4025
4026 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * messages.C: make case where setlocale cannot comply work better.
4029
4030         * buffer.C (updateDocLang): new function
4031         (changeLanguage): use it
4032         (readFile): use it
4033
4034         * text2.C (setCounter): use B_ a bit.
4035
4036         * lyxlayout.C (Read): be sure to trim the label strings.
4037
4038         * messages.C (Messages): fix typo in comment
4039
4040         * buffer.C (readFile): set message_ after file is loaded.
4041         (makeDocBookFile): remove double return
4042         (changeLanguage): reset message_ upon language change.
4043         (B_): new func, use this to get translated buffer strings.
4044
4045         * main.C: add myself and Jean Marc as authors.
4046
4047 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * messages.[hC]: pimplify Messages, and three different pimpls to be
4050         used in different circumstances.
4051
4052         * gettext.[Ch]: change for use with new message code.
4053
4054 2003-04-24 André Pönitz <poenitz@gmx.net>
4055
4056         * factory.C: support for eqref
4057
4058 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * messages.[Ch]: add missing char
4061
4062         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4063
4064         * messages.[Ch]: New files
4065
4066 2003-04-18  John Levon  <levon@movementarian.org>
4067
4068         * BufferView.h:
4069         * BufferView.C:
4070         * BufferView_pimpl.C:
4071         * lfuns.h:
4072         * LyXAction.C:
4073         * lyxtext.h:
4074         * text2.C: remove layout-copy/paste (bug 778)
4075
4076 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4079
4080 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4083         if they succeed. Act accordingly.
4084
4085 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * text2.C (setCharFont): adjust
4088         (setCounter): adjust
4089         (insertStringAsLines): adjust
4090
4091         * text.C (leftMargin): adjust
4092         (setHeightOfRow): adjust
4093
4094         * rowpainter.C (paintFirst): adjust
4095         (paintLast): adjust
4096
4097         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4098         (outerHook): ditto
4099         (isFirstInSequence): ditto
4100         (getEndLabel): ditto
4101         (outerFont): adjust
4102
4103         * paragraph.C (getParLanguage): comment out some hard stuff.
4104
4105         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4106         (sgmlError): ditto
4107         (simpleDocBookOnePar): ditto
4108         (makeDocBookFile): use ParagraphList::iterator
4109
4110         * CutAndPaste.C (pasteSelection): adjust
4111
4112 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (getFont): adjust
4115         (getLayoutFont): adjust
4116         (getLabelFont): adjust
4117
4118         * paragraph_funcs.C (TeXOnePar): adjust
4119
4120         * buffer.C (simpleLinuxDocOnePar): adjust
4121         (simpleDocBookOnePar): adjust
4122
4123         * CutAndPaste.C (pasteSelection): adjust
4124
4125         * BufferView.C (getEncoding): adjust
4126
4127         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4128
4129 2003-04-16  John Levon  <levon@movementarian.org>
4130
4131         * lyxfind.C: use parlist stuff for search/changes
4132
4133 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4136
4137         * text2.C (deleteEmptyParagraphMechanism): adjust
4138
4139         * text2.[Ch] (ownerParagraph): delete func (both of them
4140
4141 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4142
4143         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4144
4145 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * ParagraphList.C: prepare for NO_NEXT
4148
4149 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * text2.C (getFont): adjust
4152         (getLayoutFont): adjust
4153         (getLabelFont): adjust
4154
4155         * paragraph.C (getFont): adjust
4156         (getLabelFont): adjust
4157         (getLayoutFont): adjust
4158
4159         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4160
4161 2003-04-15  John Levon  <levon@movementarian.org>
4162
4163         From Angus Leeming
4164
4165         * lyx_main.C: handle Include in .ui files
4166
4167 2003-04-15  John Levon  <levon@movementarian.org>
4168
4169         * MenuBackend.C: make the doc files length shorter
4170
4171         * ToolbarBackend.h:
4172         * ToolbarBackend.C: handle toolbar placement flags,
4173         Minibuffer
4174
4175 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4178         adjust
4179
4180         * paragraph_funcs.C (TeXOnePar): adjust
4181
4182         * paragraph.C (getLabelFont): add outerfont arg, adjust
4183         (getLayoutFont): ditto
4184         (simpleTeXOnePar): adjust
4185
4186         * paragraph_pimpl.C (realizeFont): delete func
4187
4188 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4189
4190         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4191         row argument, constify cur argument.
4192
4193 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * text2.C (getFont): adjust
4196         (getLayoutFont): adjust
4197         (getLabelFont): adjust
4198
4199         * paragraph_funcs.C (TeXOnePar): adjust
4200         (outerFont): new func...
4201         (realizeFont): ...moved out from here, changed this to facilitate
4202         transition
4203
4204         * paragraph.C (getFont): take outerfont as arg, adjust
4205         (simpleTeXOnePar): add outerfont arg, adjust
4206
4207         * buffer.C (simpleLinuxDocOnePar): adjust
4208         (simpleDocBookOnePar): adjust
4209
4210         * CutAndPaste.C (pasteSelection): adjust
4211
4212         * BufferView.C (getEncoding): adjust
4213
4214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * text2.C (setCharFont): adjust
4217         (setCounter): adjust
4218
4219         * text.C (leftMargin): adjust
4220         (setHeightOfRow): adjust
4221
4222         * rowpainter.C (paintFirst): adjust
4223         (paintLast): adjust
4224
4225         * paragraph_pimpl.C (realizeFont): adjust
4226
4227         * paragraph.C (isFirstInSequence): move from here...
4228         * paragraph_funcs.C (isFirstInSequence): ...to here
4229
4230         * paragraph.C (outerHook): move from here...
4231         * paragraph_funcs.C (outerHook): ...to here
4232
4233         * paragraph.C (depthHook): move from here...
4234         * paragraph_funcs.C (depthHook): ...to here
4235
4236         * paragraph.C (getEndLabel): move from here...
4237         * paragraph_funcs.C (getEndLabel): ...to here
4238
4239         * text2.C (realizeFont): move from here...
4240         * paragraph_funcs.C (realizeFont): ...to here
4241
4242 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4245
4246 2003-04-14  Angus Leeming  <leeming@lyx.org>
4247
4248         * LColor.[Ch]: scrap LColor mathcursor.
4249
4250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * lyxlex.[Ch] (text): delete function
4253         * trans.C (Load): adjust
4254         * paragraph_funcs.C (readParToken): adjust
4255
4256 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4259         vector<char> instead of a char[].
4260
4261         * lyxlex_pimpl.C (getString): adjust
4262         (next): adjust
4263         (lex): use getString
4264         (eatLine): adjust
4265         (nextToken): adjust
4266
4267         * lyxlex.C (text): use pimpl_->getString()
4268         (getBool): ditto
4269         (findToken): ditto
4270
4271 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4272
4273         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4274         (makeFontEntriesLayoutSpecific): temp var for par.size()
4275         (setLayout): temp var for ownerParagraphs().end()
4276         (fullRebreak): temp var for rows().end()
4277         (selectionAsString): temp var for boost::next(startpit), realize
4278         that the while really is a regular for loop.
4279         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4280         setCursor in one place.
4281         (setParagraph): temp vr for ownerParagraphs().end()
4282         (updateCounters): make the while loop a for loop
4283         (cutSelection): temp var for ownerParagraphs().end()
4284         (updateInset): make the do {} while() a regular for loop
4285         (getCursorX): use temp vars
4286         (setCurrentFont): use temp vars
4287         (getColumnNearX): use temp vars
4288
4289 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * text.C (transformChar): use temp var for getChar
4292         (computeBidiTables): use temp var for row->par()
4293         (fill): move temp vars for row->par() and pit->layout() earlier in
4294         the function.
4295         (labelFill): use temp var for row->par()
4296         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4297         asc and desc, realize that pit never changes and that firstpit is
4298         just a duplicate and not needed. Exchange rit->par() with pit in a
4299         lot of places.
4300         (breakAgain): use a temp var for boost::next(rit)
4301         (breakAgainOneRow): ditto
4302         (breakParagraph): use a temp var for rows().begin()
4303         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4304         (cursorRightOneWord): use temp var for cursor.par() and
4305         cursor.pos(), remove usage of tmpcursor.
4306         (cursorLeftOneWord): use temp var for cursor.par() and
4307         cursor.pos() only set cur at end of function.
4308
4309 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * text.C, text2.C: exchange all usage of Paragraph::next with
4312         boost::next(ParagraphList::iterator)
4313
4314         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4315
4316         * text2.C (cursorTop): simplify implementation
4317         (cursorBottom): ditto
4318         (setParagraph): use ParagraphList::iterator
4319         (setCurrentFont): adjust
4320         (getColumnNearX): adjust
4321         (cursorRight): adjust
4322         (cursorLeft): remove usage of Paragraph::previous
4323         (cursorUpParagraph): ditto
4324         (deleteEmptyParagraphMechanism): slight cleanup
4325
4326         * text.C (isBoundary): take a Paragraph const & instead of a
4327         pointer as arg.
4328         (addressBreakPoint): ditto
4329         (leftMargin): remove usage of Paragraph::previous.
4330         (setHeightOfRow): ditto
4331         (cursorLeftOneWord): ditto
4332         (selectNextWordToSpellcheck): ditto
4333         (Delete): ditto
4334         (backspace): ditto
4335         (breakParagraph): remove one usage of Paragraph::next
4336         (redoParagraph): ditto
4337         (acceptChange): ditto
4338         (insertChar): adjust
4339         (rowBreakPoint): adjust
4340
4341         * bufferview_funcs.C (toggleAndShow): adjust
4342
4343 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4346         methods to access it.
4347         * lyxtext.h:
4348         * text.C: Added updateRowPositions to compute all row positions.
4349         Make top_y and getRowNearY() to use the cached y position
4350
4351 2003-04-11  John Levon  <levon@movementarian.org>
4352
4353         * text.C (rowBreakPoint): reintroduce the labelEnd
4354         checks, code copied from the row fill stuff. Deep voodoo.
4355
4356         * text.C (fill): add a comment and debugging for the
4357         next poor soul.
4358
4359 2003-04-11  John Levon  <levon@movementarian.org>
4360
4361         * text.C: make sure fullrow insets get wrapped to the next line,
4362         even when they're in a manual label
4363
4364 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * text2.C (insertParagraph): make it take ParagraphList::iterator
4367         as arg.
4368         (setLayout): make it return ParagraphList::iterator
4369         (redoParagraphs): ditto
4370         (setCounter): ditto
4371         (checkParagraph): ditto
4372
4373         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4374
4375         * text2.C: adjust several funcs.
4376         (realizeFont): take a ParagraphList::iterator as arg.
4377         (getLayoutFont): ditto
4378         (getLabelFont): ditto
4379         (setCharFont): ditto
4380
4381         * text.C: adjust several funcs.
4382
4383 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * text.C (selectNextWordToSpellcheck): don't accidentally
4386         skip insets
4387
4388 2003-04-10  John Levon  <levon@movementarian.org>
4389
4390         * ToolbarBackend.C (getIcon): special handling for
4391         LFUN_MATH_DELIM
4392
4393 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * text2.C (cursorRight): a getChar assert fixed
4396
4397 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * text2.C (getFont): change to take a ParagraphList::iterator
4400         instead of Paragraph*
4401         Adjust several functions.
4402
4403         * text.C (transformChar): change to take a ParagraphList::iterator
4404         instead of Paragraph*
4405         (singleWidth): ditto
4406         Adjust several functions.
4407
4408         * rowpainter.C: adjust several functions
4409         * rowpainter.h:store a ParagraphList::iterator and not a
4410         Paragraph&.
4411
4412
4413 2003-04-09  John Levon  <levon@movementarian.org>
4414
4415         * lyxfunc.C:
4416         * lfuns.h:
4417         * LyXAction.h:
4418         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4419         and the "help" bits as well
4420
4421 2003-04-09  John Levon  <levon@movementarian.org>
4422
4423         * ToolbarBackend.h:
4424         * ToolbarBackend.C: allow multiple toolbars
4425
4426 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * undo_funcs.C (setCursorParUndo): adjust
4429
4430         * text_funcs.C (transposeChars): adjust
4431
4432         * text3.C (gotoNextInset): adjust
4433         (dispatch): adjust
4434
4435         * text2.C (setLayout): adjust
4436         (changeDepth): adjust
4437         (setFont): adjust
4438         (redoParagraphs): adjust
4439         (selectionAsString): adjust
4440         (setParagraph): adjust
4441         (insertInset): adjust
4442         (cutSelection): adjust
4443         (copySelection): adjust
4444         (pasteSelection): adjust
4445         (insertStringAsLines): adjust
4446         (updateInset): adjust
4447         (setCursor): change to take a ParagraphList::iterator parameter
4448         (setCursorIntern): change to take a ParagraphList::iterator parameter
4449         (setCurrentFont): adjust
4450         (cursorLeft): adjust
4451         (cursorRight): adjust
4452         (deleteEmptyParagraphMechanism): adjust
4453
4454         * text.C (breakParagraph): adjust
4455         (insertChar): adjust
4456         (acceptChange): adjust
4457         (rejectChange): adjust
4458         (selectNextWordToSpellcheck): adjust
4459         (changeCase): adjust
4460         (Delete): adjust
4461         (backspace): adjust
4462
4463         * lyxfind.C (SearchForward): adjust
4464         (SearchBackward): adjust
4465         (nextChange): adjust
4466
4467         * lyxcursor.C (par): adjust
4468
4469         * lyxcursor.h: store a ParagraphList::iterator instead of a
4470         Paragraph*
4471
4472         * lyx_cb.C (getPossibleLabel): adjust
4473
4474         * bufferview_funcs.C (toggleAndShow): adjust
4475
4476         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4477         (dispatch): adjust
4478
4479         * BufferView.C (removeAutoInsets): adjust
4480         (lockedInsetStoreUndo): adjust
4481
4482 2003-04-09  John Levon  <levon@movementarian.org>
4483
4484         * ToolbarBackend.C: try icon without argument
4485         if with argument fails
4486
4487 2003-04-08  John Levon  <levon@movementarian.org>
4488
4489         * ToolbarBackend.h:
4490         * ToolbarBackend.C: add getIcon(), handle tooltip,
4491         and change from "Icon" to "Item".
4492
4493 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * BufferView.C (lockInset): another bad getchar crunched
4496
4497 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4500         again)
4501
4502 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * lyxfind.C (searchForward, searchBackwards): bug 782
4505
4506 2003-04-07  John Levon  <levon@movementarian.org>
4507
4508         * paragraph.C: remove dead comment
4509
4510         * text.C: remove troublesome depth-fiddling code
4511         in leftMargin() and rightMargin() (bug 1017)
4512
4513         * text.C: fix breaking of rows in nested lists
4514         (bug 1004)
4515
4516         * text2.C (updateCounters): fix up depth values
4517         (bug 1013)
4518
4519 2003-04-07  John Levon  <levon@movementarian.org>
4520
4521         * BufferView_pimpl.C: clear message when doc finishes resizing,
4522         and after a mouse event
4523
4524         * lyxfunc.C: clear message after exiting inset
4525
4526 2003-04-07  John Levon  <levon@movementarian.org>
4527
4528         * bufferview_funcs.C: show math status not outside
4529         status in the statusbar
4530
4531 2003-04-07  John Levon  <levon@movementarian.org>
4532
4533         * lyxfunc.C: note status changed after a depth change
4534
4535 2003-04-04  Angus Leeming  <leeming@lyx.org>
4536
4537         * LaTeX.h: move AuxInfo operator==, != out of line.
4538         Remove LaTeX virtual destructor; nothing derives from it.
4539         Move operator()() out of public area and rename it startscript().
4540         Change protected for private.
4541
4542 2003-04-04  Angus Leeming  <leeming@lyx.org>
4543
4544         * lyxfunc.C:
4545         * text2.C: remove unneeded #includes.
4546
4547 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * text2.C (dEPM): fix the heigth of the next row
4550
4551 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * text.C: squashed an invalid getChar requester + some ws changes
4554
4555 2003-04-03  John Levon  <levon@movementarian.org>
4556
4557         * bufferview_funcs.h:
4558         * bufferview_funcs.C:
4559         * lyxfunc.C:
4560         * lyxtext.h:
4561         * text2.C: make getStatus work for the env depth lfuns
4562
4563 2003-04-03  John Levon  <levon@movementarian.org>
4564
4565         * bufferview_funcs.h:
4566         * bufferview_funcs.C:
4567         * lyxfunc.C:
4568         * lyxtext.h:
4569         * text2.C: parlistize decDepth(), by merging it with incDepth()
4570
4571 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * lyxrow.h: store a ParagraphList::iterator instead of a
4574         Paragraph* and adjust other class functions to suit.
4575
4576         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4577         above.
4578
4579 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * text2.C (setCursor): do not anchor to cursor row for the time being
4582
4583 2003-04-02  John Levon  <levon@movementarian.org>
4584
4585         * LyXAction.C:
4586         * lfuns.h:
4587         * lyx_main.C:
4588         * lyxtext.h:
4589         * text.C:
4590         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4591
4592 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * paragraph.h: make ParagraphList and ParagraphList::iterator
4595         friends of Paragraph.
4596
4597         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4598
4599         * ParagraphList.C: Use the private next_ and previous_ from
4600         Paragraph.
4601
4602 2003-04-01  John Levon  <levon@movementarian.org>
4603
4604         * ToolbarBackend.h:
4605         * ToolbarBackend.C:
4606         * Makefile.am: rename, remove defaults gunk
4607
4608         * MenuBackend.h:
4609         * MenuBackend.C: remove defaults gunk
4610
4611         * Languages.h:
4612         * Languages.C: remove defaults gunk
4613
4614         * lyx_main.h:
4615         * lyx_main.C: error out if files couldn't be found.
4616
4617 2003-04-02  John Levon  <levon@movementarian.org>
4618
4619         * text2.C: make incDepth() use parlist
4620
4621 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * undo_funcs.C (firstUndoParagraph): adjust
4624
4625         * text3.C (gotoInset): adjust
4626         (dispatch): adjust, and rewrite loop.
4627
4628         * text2.C (init): adjust, and rewrite loop.
4629         (redoParagraphs): adjust
4630         (updateInset): adjust, and rewrite loop.
4631         (deleteEmptyParagraphMechanism): adjust
4632
4633         * tabular.C (LyXTabular): adjust
4634         (SetMultiColumn): adjust
4635         (TeXRow): adjust
4636
4637         * lyxtext.[Ch] (ownerParagraph): delete function
4638         (ownerParagraphs): new function returns a ParagraphList.
4639
4640         * BufferView.C (removeAutoInsets): adjust
4641         (insertErrors): adjust
4642         (setCursorFromRow): adjust
4643
4644 2003-04-01  Angus Leeming  <leeming@lyx.org>
4645
4646         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4647         in the frontends.
4648
4649 2003-04-02  John Levon  <levon@movementarian.org>
4650
4651         * lyxtext.h:
4652         * text.C:
4653         * Makefile.am:
4654         * text_funcs.h:
4655         * text_funcs.C: make transposeChars a free function
4656
4657         * lyxrow_funcs.C: remove wrong comment
4658
4659 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * lyxtext.h: adjust
4662         * rowpainter.C: adjust
4663         * text.C: adjust
4664         * text2.C: adjust
4665         * text3.C: adjust
4666
4667         * lyxrow_funcs. [Ch]: new files
4668
4669         * lyxrow.[Ch]: remove next and previous pointers
4670         (next,previous): remove accessor functions
4671         (isParEnd): move to lyxrow_funcs
4672         (lastPos): move to lyxrow_funcs
4673         (nextRowIsAllInset): move to lyxrow_funcs
4674         (lastPrintablePos): move to lyxrow_funcs
4675         (numberOfSeparators): move to lyxrow_funcs
4676         (numberOfHfills): move to lyxrow_funcs
4677         (numberOfLabelHfills): move to lyxrow_funcs
4678         (hfillExpansion): move to lyxrow_funcs
4679
4680         * lyxfunc.C: adjust
4681
4682         * bufferview_funcs.C (toggleAndShow): adjust
4683
4684         * RowList.h: Remove class RowList from file leave just a
4685         std::list<Row>.
4686
4687         * RowList.C: delete file
4688
4689         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4690         and lyxrow_funcs.h
4691
4692 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * text3.C (cursorPrevious): adjust
4695         (cursorNext): adjust
4696         (dispatch): adjust
4697
4698         * text2.C (redoHeightOfParagraph): adjust
4699         (redoDrawingOfParagraph): adjust
4700         (setCursor): adjust
4701
4702         * text.C (breakParagraph): adjust
4703         (insertChar): adjust
4704         (backspace): adjust
4705
4706         * rowpainter.C (RowPainter): adjust
4707         (leftMargin): simplify and adjust
4708         (most rowpainter functions): adjust.
4709
4710         * rowpainter.h: store the row as RowList::iterator not as Row*
4711
4712         * lyxcursor.C (row): taka RowList::iterator as arg
4713         (irow): ditto
4714
4715         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4716         of Row*.
4717
4718 2003-04-01  Angus Leeming  <leeming@lyx.org>
4719
4720         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4721         stuff like bool Bool.
4722
4723 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4726         rewrite a loop
4727
4728 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4731         RowList::iterator.
4732
4733         * lyxtext.h (rows): drop one version and leve a const variant that
4734         returns a RowList::iterator.
4735
4736 2003-03-31  Angus Leeming  <leeming@lyx.org>
4737
4738         * text.C (fill): ensure that the signature is the same as that in the
4739         header file.
4740
4741 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text2.C (redoParagraphs): adjust
4744         (updateCounters): adjust
4745         (checkParagraph): adjust
4746         (getColumnNearX): adjust and reformat a bit.
4747
4748         * text.C (top_y): adjust
4749         (workWidth): adjust
4750         (leftMargin): adjust
4751         (prepareToPrint): adjust
4752         (getRow): adjust
4753         (getRowNearY): adjust
4754
4755         * lyxtext.h: make rowlist_ mutable.
4756
4757         * RowList.h: add const_iterator
4758         * RowList.C: adjust for RowList::const_iterator.
4759
4760         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4761         adjust.
4762
4763 2003-03-31  John Levon  <levon@movementarian.org>
4764
4765         * lyxrc.h:
4766         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4767
4768         * lyx_main.C: set default fonts from using lyx_gui funcs
4769
4770         * exporter.C: pdf_mode moved from lyxrc
4771
4772         * lyx_cb.C:
4773         * lyxfunc.C: changes from above
4774
4775 2003-03-31  John Levon  <levon@movementarian.org>
4776
4777         * lyx_main.C: fix to the last fix
4778
4779 2003-03-31  John Levon  <levon@movementarian.org>
4780
4781         * bufferlist.C: "Load original" -> "Load Original"
4782
4783         * converter.C:
4784         * exporter.C:
4785         * importer.C:
4786         * lyx_main.C:
4787         * format.C: more Alert cleanups
4788
4789 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * text2.C (removeParagraph): make it take a RowList::iterator as
4792         arg, adjust.
4793         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4794         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4795
4796         * text.C (anchor_row): make it take a RowList::iterator as arg,
4797         adjust.
4798         (computeBidiTables): make it take a const reference to Row instead
4799         of Row pointer, adjust.
4800         (leftMargin): make it take a RowList::iterator as arg, adjust.
4801         (rowBreakPoint): adjust
4802         (breakAgainOneRow): make it take a RowList::iterator as arg,
4803         adjust.
4804         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4805
4806         * bufferview_funcs.C (toggleAndShow): adjust
4807
4808 2003-03-30  John Levon  <levon@movementarian.org>
4809
4810         * Makefile.am:
4811         * BoostFormat.h:
4812         * boost-inst.C: moved to support
4813
4814         * several files: changes as a result
4815
4816 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * text2.C (LyXText): adjust.
4819         (init): adjust
4820         (removeRow): make it take a RowList::iterator as arg, adjust.
4821         (fullRebreak): adjust
4822         (deleteEmptyParagraphMechanism): adjust
4823         (clearPaint): adjust
4824         (postPaint): adjust
4825
4826         * text.C (top_y): adjust
4827         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4828         (breakAgain): make it take a RowList::iterator as arg, adjust.
4829         (breakParagraph): adjust
4830         (insertChar): adjust
4831         (backspace): adjust
4832
4833         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4834         need_break_row, and refresh_row.
4835
4836         * text3.C (dispatch): adjust
4837
4838         * text2.C (checkParagraph): adjust
4839         (setCursor): adjust
4840         (setCursorFromCoordinates): adjust
4841
4842         * text.C (top_y): adjust
4843         (workWidth): adjust
4844         (getRow): make it return a RowList::iterator, adjust
4845         (getRowNearY): make it return a RowList::iterator, adjust
4846
4847         * text2.C (init): adjust
4848         (insertRow): remove function
4849         (insertParagraph): adjust
4850         (redoParagraphs): adjust
4851         (fullRebreak): adjust
4852         (updateCounters): adjust
4853
4854         * text.C (top_y): rewrite to use RowList iterators.
4855         (top_y): adjust
4856         (setHeightOfRow): rewrite to sue RowList iterators.
4857         (appendParagraph): adjust
4858         (breakAgain): adjust
4859         (breakAgainOneRow): adjust
4860         (breakParagraph): adjust
4861         (getRow): adjust
4862         (getRowNearY): adjust, and remove commented code.
4863
4864         * lyxtext.h (firstRow): delete function
4865         (lastRow): delete function
4866         (rows): new function (const and non-const versions.)
4867         (insertRow): delete function
4868
4869         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4870
4871 2003-03-29  John Levon  <levon@movementarian.org>
4872
4873         * BufferView_pimpl.C: always update scrollbar top
4874         because pasting text when we're anchored could mean we
4875         miss an update altogether
4876
4877 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * text2.C (init): use rowlist_.end() and not 0.
4880         (insertRow): change to take a RowList::iterator as arg, adjust
4881         for this.
4882         (insertParagraph): change to take a RowList::iterator as arg,
4883         adjust for this.
4884         (redoParagraphs): remove some debug msgs.
4885
4886         * text.C (appendParagraph): change to take a RowList::iterator
4887         arg, adjust for this.
4888         (breakAgain): add an assert
4889         (breakAgainOneRow): ditto
4890
4891 2003-03-29  John Levon  <levon@movementarian.org>
4892
4893         * text2.C: do not clear selection after inc/decDepth
4894         (bug 550)
4895
4896 2003-03-29  John Levon  <levon@movementarian.org>
4897
4898         * BufferView.C:
4899         * buffer.C: fix broken strerrors according to Lars
4900
4901 2003-03-29  John Levon  <levon@movementarian.org>
4902
4903         * converters.C: more Alert cleanups
4904
4905 2003-03-29  John Levon  <levon@movementarian.org>
4906
4907         * bufferview_funcs.C: remove pointless Alert
4908
4909         * buffer.C: fix confusing error message when
4910         a template is chmoded 000
4911
4912 2003-03-29  John Levon  <levon@movementarian.org>
4913
4914         * BufferView.C:
4915         * BufferView.h:
4916         * BufferView_pimpl.C: Alert fixes
4917
4918         * Makefile.am:
4919         * tabular.C:
4920         * tabular-old.C: remove unused table compat reading
4921
4922 2003-03-29  John Levon  <levon@movementarian.org>
4923
4924         * BufferView.C:
4925         * buffer.C:
4926         * lyx_cb.h:
4927         * lyx_cb.C: more Alert cleanups
4928
4929         * lyxfunc.C: don't allow chktex if not latex document
4930
4931 2003-03-29  John Levon  <levon@movementarian.org>
4932
4933         * lyx_cb.C:
4934         * BufferView.C:
4935         * buffer.C: warnings pushed down from support/,
4936         kill err_alert
4937
4938 2003-03-29  John Levon  <levon@movementarian.org>
4939
4940         * lyxfunc.C: safety check for C-r (revert)
4941
4942 2003-03-29  John Levon  <levon@movementarian.org>
4943
4944         * bufferlist.h:
4945         * bufferlist.C: several UI fixes using Alert::prompt.
4946         Fix the pointless looping quit code. Fix stupid revert
4947         behaviour (bug 938)
4948
4949         * lyxvc.h:
4950         * lyxvc.C:
4951         * lyx_cb.C: use Alert::prompt
4952
4953         * lyx_main.C: remove a silly question
4954
4955         * lyxfunc.C: remove a couple of silly questions,
4956         use Alert::prompt
4957
4958 2003-03-28  John Levon  <levon@movementarian.org>
4959
4960         * text2.C: fix bug 974 (End on empty par)
4961
4962 2003-03-28  John Levon  <levon@movementarian.org>
4963
4964         * BufferView_pimpl.C:
4965         * LyXAction.C:
4966         * lfuns.h: remove do-nothing math greek lfuns
4967
4968 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * lyxgluelength.h (isValidGlueLength): add default arg on
4971         parameter 2. Remove default arg from friend in class.
4972
4973         * lyxlength.h (isValidLength): add default arg on parameter 2.
4974         Remove default arg from friend in class.
4975
4976         * text2.C (LyXText): adjust, initialize refresh_row.
4977         (init): adjust
4978         (removeRow): adjust
4979         (insertRow): adjust
4980         (insertParagraph): adjst
4981         (redoParagraphs): adjust
4982         (fullRebreak): adjust
4983         (updateCounters): adjust
4984         (deleteEmptyParagraphMechanism): first attempt at fixing a
4985         crashing bug.
4986
4987         * text.C (top_y): adjust
4988         (setHeightOfRow): adjust
4989         (getRow): adjust
4990         (getRowNearY): adjust
4991
4992         * lyxtext.h: include RowList.h
4993         (~LyXText): not needed anymore, deleted.
4994         (firstRow): modify for RowList
4995         (lastRow): new function
4996         Delete firstrow and lastrow class variables, add a Rowlist
4997         rowlist_ class variable.
4998
4999         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5000         paragraph is empty.
5001
5002         * RowList.C (insert): fix case where it == begin().
5003
5004 2003-03-26  Angus Leeming  <leeming@lyx.org>
5005
5006         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5007         the thesaurus dialog.
5008
5009 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5012
5013         * RowList.[Ch]: new files
5014
5015         * ParagraphList.C (erase): handle the case where it == begin
5016         correctly.
5017
5018 2003-03-25  John Levon  <levon@movementarian.org>
5019
5020         * Makefile.am:
5021         * aspell_local.h:
5022         * aspell.C: add new aspell support
5023
5024         * lyxrc.h:
5025         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5026         have it accessible.
5027
5028 2003-03-25  Angus Leeming  <leeming@lyx.org>
5029
5030         * lfuns.h:
5031         * LyXAction.C (init): new LFUN_INSET_INSERT.
5032
5033         * BufferView_pimpl.C (dispatch): split out part of the
5034         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5035
5036         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5037         LFUN_INSET_APPLY.
5038
5039 2003-03-25  Angus Leeming  <leeming@lyx.org>
5040
5041         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5042
5043 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * text2.C:
5046         * text3.C: remove useless row->height(0)
5047
5048 2003-03-25  John Levon  <levon@movementarian.org>
5049
5050         * lyxtext.h:
5051         * text2.C:
5052         * text3.C: rename the refreshing stuff to better names
5053
5054 2003-03-24  John Levon  <levon@movementarian.org>
5055
5056         * BufferView_pimpl.h:
5057         * BufferView_pimpl.C: update layout choice on a mouse
5058         press/release
5059
5060 2003-03-23  John Levon  <levon@movementarian.org>
5061
5062         * Makefile.am: fix commandtags.h reference
5063
5064 2003-03-22  John Levon  <levon@movementarian.org>
5065
5066         * BufferView_pimpl.C:
5067         * lyxtext.h:
5068         * rowpainter.C:
5069         * rowpainter.h:
5070         * text.C:
5071         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5072
5073 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * lyxtext.h:
5076         * text.C: take the rtl methods out of line
5077
5078 2003-03-21 André Pönitz <poenitz@gmx.net>
5079
5080         * metricsinfo.[Ch]: new files containing structures to be passed around
5081         during the two-phase-drawing...
5082
5083 2003-03-21 André Pönitz <poenitz@gmx.net>
5084
5085         * lyxtextclass.C: read 'environment' tag.
5086
5087 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * text2.C (removeRow): fix bug 964
5090
5091 2003-03-20  John Levon  <levon@movementarian.org>
5092
5093         * rowpainter.C:
5094         * text.C:
5095         * text2.C: paint cleanups. Inset::update() dropped font
5096         parameter
5097
5098 2003-03-19  John Levon  <levon@movementarian.org>
5099
5100         * lyxfunc.C: only fitcursor/markDirty if available()
5101
5102 2003-03-19  John Levon  <levon@movementarian.org>
5103
5104         * commandtags.h: rename to ...
5105
5106         * lfuns.h: ... this, and renumber / cleanup
5107
5108 2003-03-19  John Levon  <levon@movementarian.org>
5109
5110         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5111         fit the cursor after an lfun
5112
5113         * BufferView.h:
5114         * BufferView.C:
5115         * BufferView_pimpl.h:
5116         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5117
5118         * LyXAction.C: layout-character should have ReadOnly
5119
5120         * ParagraphParameters.C:
5121         * buffer.C:
5122         * bufferview_funcs.C:
5123         * lyx_cb.C:
5124         * lyxfind.C:
5125         * lyxtext.h:
5126         * text.C:
5127         * text2.C:
5128         * text3.C:
5129         * undo_funcs.C: changes from above
5130
5131 2003-03-18  John Levon  <levon@movementarian.org>
5132
5133         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5134         remove it from update()
5135
5136         * lyxfunc.C: update layout choice after an lfun
5137
5138         * text3.C: remove extra updateLayoutChoice()s
5139
5140 2003-03-18  John Levon  <levon@movementarian.org>
5141
5142         * text.C: top_y change means full repaint, fix
5143         a drawing bug with cursor movement
5144
5145 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * lyxtext.h:
5148         * text.C:
5149         * text2.C: anchor row on setCursor
5150
5151 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * lyxtext.h: remove almost all mutable keywords
5154         * text.C:
5155         * text2.C:
5156         * text3.C: remove const keywords accordingly
5157
5158 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5161         anon namespace
5162         (TeXEnvironment): ditto
5163         (TeXOnePar): ditto
5164
5165 2003-03-17  John Levon  <levon@movementarian.org>
5166
5167         * text.C (rowBreakPoint): remove attempt to fix displayed
5168         math insets inside a manual label
5169
5170 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * lyxtext.h: remove BufferView* as first arg from almost all class
5173         functions.
5174         * other files: adjust.
5175
5176 2003-03-17  John Levon  <levon@movementarian.org>
5177
5178         * lyxtext.h:
5179         * undo_funcs.C:
5180         * text2.C: more paint cleanups
5181
5182         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5183
5184         * rowpainter.h:
5185         * rowpainter.C: remove "smart" background painting code
5186
5187 2003-03-16  John Levon  <levon@movementarian.org>
5188
5189         * lyxtext.h:
5190         * text.C:
5191         * text2.C:
5192         * text3.C: add helper functions for setting refresh_row/y
5193
5194 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5195
5196         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5197         newline inset which *can* get inserted in the pass_thru layouts.
5198         This is primarily for literate documents.
5199
5200 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5201
5202         * buffer.C: increment LYX_FORMAT to 223
5203
5204 2003-03-14 André Pönitz <poenitz@gmx.net>
5205
5206         * textclass.h: prepare for environment handling, ws changes
5207         * lyxlayout.C: read latexheader and latexfooter tags
5208
5209 2003-03-14  John Levon  <levon@movementarian.org>
5210
5211         * text2.C: rewrite ::status() a bit
5212
5213 2003-03-13  John Levon  <levon@movementarian.org>
5214
5215         * lyxtext.h: add some docs
5216
5217 2003-03-13  John Levon  <levon@movementarian.org>
5218
5219         * lyxtext.h:
5220         * text.C:
5221         * text2.C:
5222         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5223
5224 2003-03-13  John Levon  <levon@movementarian.org>
5225
5226         * text3.C: fix appendix redrawing
5227
5228 2003-03-13  John Levon  <levon@movementarian.org>
5229
5230         * text.C (setHeightOfRow):
5231         * rowpainter.h:
5232         * rowpainter.C: make appendix mark have the text
5233           "Appendix" so the user knows what it is
5234
5235         * LColor.h:
5236         * LColor.C: s/appendixline/appendix/ from above
5237
5238 2003-03-13  John Levon  <levon@movementarian.org>
5239
5240         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5241
5242         * text.C: fix a getChar(pos) bug properly
5243
5244 2003-03-13  Angus Leeming  <leeming@lyx.org>
5245
5246         * commandtags.h:
5247         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5248         Probably only temporary. Let's see how things pan out.
5249
5250         * BufferView.C (unlockInset):
5251         * BufferView_pimpl.C (fitCursor):
5252         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5253
5254         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5255         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5256
5257         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5258         new functions that convert ParagraphParameters to and from a string.
5259
5260         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5261         BufferView::Pimpl's dispatch.
5262         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5263
5264 2003-03-13 André Pönitz <poenitz@gmx.net>
5265
5266         * lyxfunc.C:
5267         * text3.C:
5268         * factory.C: make it aware of InsetEnv
5269
5270 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * text2.C (setCursor): never ask for one past last
5273         (setCursor): add some debugging messages.
5274
5275         * text.C (singleWidth): never ask for one past last
5276         (singleWidth): ditto
5277         (leftMargin): ditto
5278         (rightMargin): ditto
5279         (rowBreakPoint): ditto
5280         (setHeightOfRow): ditto
5281         (prepareToPrint): ditto
5282
5283         * rowpainter.C (paintBackground): never ask for one past last
5284         (paintText): never ask for one past last
5285
5286         * paragraph_pimpl.C (getChar): make the assert stricter, never
5287         allow the one past last pos to be taken
5288
5289         * paragraph.C (getChar): ws changes only
5290
5291         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5292         (numberOfSeparators): ditto
5293         (numberOfHfills): ditto
5294
5295 2003-03-12  John Levon  <levon@movementarian.org>
5296
5297         * author.h:
5298         * author.C:
5299         * bufferparams.h:
5300         * bufferparams.C:
5301         * paragraph_funcs.C: fix per-buffer authorlists
5302
5303 2003-03-12  John Levon  <levon@movementarian.org>
5304
5305         * text.C: fix newline in right address
5306
5307 2003-03-12  Angus Leeming  <leeming@lyx.org>
5308
5309         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5310         duplicate those in LyXFunc::dispatch.
5311
5312         * commandtags.h:
5313         * LyXAction.C:
5314         * ToolbarDefaults.C:
5315         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5316         Add LFUN_FONTFREE_UPDATE.
5317
5318         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5319         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5320
5321         * bufferview_func.[Ch]: several new functions to facilliate
5322         transfer of data to and from the character dialog.
5323
5324 2003-03-12  John Levon  <levon@movementarian.org>
5325
5326         * buffer.C:
5327         * paragraph.h:
5328         * paragraph.C:
5329         * paragraph_funcs.C:
5330         * paragraph_pimpl.C:
5331         * sgml.C:
5332         * tabular.C:
5333         * text.C:
5334         * text3.C: remove META_NEWLINE in favour of an inset
5335
5336         * rowpainter.h:
5337         * rowpainter.C: remove paintNewline (done by inset)
5338
5339 2003-03-12  John Levon  <levon@movementarian.org>
5340
5341         * paragraph_pimpl.C: complain about bad getChar()s
5342         for a while at least
5343
5344 2003-03-12  John Levon  <levon@movementarian.org>
5345
5346         * buffer.h:
5347         * buffer.C: move paragraph read into a separate function,
5348         a little renaming to reflect that.
5349
5350         * bufferparams.h:
5351         * bufferparams.C: remove the author_ids map, not necessary now
5352
5353         * factory.h:
5354         * factory.C: moved Buffer::readInset to here
5355
5356         * paragraph_funcs.h:
5357         * paragraph_funcs.C: readParagraph free function moved from
5358         buffer.C
5359
5360         * tabular.C: name change
5361
5362 2003-03-12  John Levon  <levon@movementarian.org>
5363
5364         * buffer.C:
5365         * ParagraphParameters.C: move par params input to
5366         a read() method
5367
5368         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5369         behave like a normal read from the stream wrt reading
5370         a line vs. a \\token
5371
5372 2003-03-12  John Levon  <levon@movementarian.org>
5373
5374         * paragraph.C:
5375         * ParagraphParameters.h:
5376         * ParagraphParameters.C: move output code to a
5377         ::write() method
5378
5379 2003-03-12  John Levon  <levon@movementarian.org>
5380
5381         * BufferView.C (insertLyXFile):
5382         * buffer.h:
5383         * buffer.C:
5384         * tabular.C: use a parlist iterator for creating the
5385           document.
5386
5387 2003-03-12  John Levon  <levon@movementarian.org>
5388
5389         * buffer.C: make current_change static local not
5390           static file-scope
5391
5392 2003-03-12  John Levon  <levon@movementarian.org>
5393
5394         * buffer.C: fix insertStringAsLines for change tracking
5395
5396 2003-03-12  John Levon  <levon@movementarian.org>
5397
5398         * BufferView.C:
5399         * tabular.C:
5400         * buffer.h:
5401         * buffer.C:
5402         * bufferparams.h:
5403         * bufferparams.C: move author list into params. Rename some
5404           functions. Move the header reading into a separate token
5405           loop. Move the header token reading into BufferParams.
5406
5407 2003-03-12  John Levon  <levon@movementarian.org>
5408
5409         * changes.C: put debug inside lyxerr.debugging() checks
5410
5411 2003-03-11 André Pönitz <poenitz@gmx.net>
5412
5413         * factory.C: make it aware of InsetHFill
5414
5415 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5416
5417         * buffer.C (latexParagraphs): move function from here...
5418         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5419         args.
5420
5421 2003-03-10  Angus Leeming  <leeming@lyx.org>
5422
5423         * LyXAction.C (init): fix bug in poplating array with multiple entries
5424         with the same LFUN (spotted by JMarc).
5425
5426 2003-03-10  John Levon  <levon@movementarian.org>
5427
5428         * text.C:
5429         * text2.C: move getColumnNearX() near its
5430         only call site
5431
5432 2003-03-10  John Levon  <levon@movementarian.org>
5433
5434         * text.C: fix break before a minipage
5435
5436 2003-03-10  John Levon  <levon@movementarian.org>
5437
5438         * text.C: fix the last commit
5439
5440 2003-03-09  John Levon  <levon@movementarian.org>
5441
5442         * lyxtext.h:
5443         * text.C:
5444         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5445         bug 365 (don't break before insets unless needed). Don't
5446         return a value > last under any circumstances.
5447
5448 2003-03-09  Angus Leeming  <leeming@lyx.org>
5449
5450         * BufferView_pimpl.C (trackChanges, dispatch): call
5451         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5452
5453 2003-03-09  Angus Leeming  <leeming@lyx.org>
5454
5455         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5456         than Dialogs::showAboutlyx().
5457
5458 2003-03-09  Angus Leeming  <leeming@lyx.org>
5459
5460         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5461         than Dialogs::showTabularCreate().
5462
5463 2003-03-09  John Levon  <levon@movementarian.org>
5464
5465         * lyxtext.h:
5466         * text.C:
5467         * text2.C: 3rd arg to nextBreakPoint was always the same.
5468           Use references.
5469
5470 2003-03-08  John Levon  <levon@movementarian.org>
5471
5472         * lyxrow.C:
5473         * paragraph.C:
5474         * paragraph.h:
5475         * rowpainter.C:
5476         * text.C:
5477         * text2.C: Remove the "main" bit from the "main body"
5478           notion.
5479
5480 2003-03-08  John Levon  <levon@movementarian.org>
5481
5482         * text.C (leftMargin): The left margin of an empty
5483         manual label paragraph should not include the label width
5484         string length.
5485
5486         * text.C (prepareToPrint): don't attempt to measure hfills
5487         for empty manual label paragraphs - the answer should be 0
5488
5489 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * CutAndPaste.C: remove commented code and reindent.
5492
5493 2003-03-08  John Levon  <levon@movementarian.org>
5494
5495         * lyxfunc.h:
5496         * lyxfunc.C: move reloadBuffer()
5497
5498         * BufferView.h:
5499         * BufferView.C: to here
5500
5501         * lyxvc.C: add comment
5502
5503         * vc-backend.h:
5504         * vc-backend.C: call bv->reload() to avoid
5505           getStatus() check on MENURELOAD
5506
5507 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5508
5509         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5510         to an old format .dep file.
5511
5512 2003-03-07  Angus Leeming  <leeming@lyx.org>
5513
5514         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5515         when the LFUN_MOUSE_RELEASE should have been handled by
5516         inset->localDispatch.
5517
5518 2003-03-07  Angus Leeming  <leeming@lyx.org>
5519
5520         * BufferView_pimpl.C (dispatch):
5521         * LyXAction.C (init):
5522         * ToolbarDefaults.C (init):
5523         * commandtags.h:
5524         * lyxfunc.C (getStatus):
5525         remove LFUN_INSET_GRAPHICS.
5526
5527         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5528
5529 2003-03-07  Angus Leeming  <leeming@lyx.org>
5530
5531         * commandtags.h:
5532         * LyXAction.C (init):
5533         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5534
5535         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5536
5537         * commandtags.h:
5538         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5539
5540         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5541         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5542
5543 2003-03-07  Angus Leeming  <leeming@lyx.org>
5544
5545         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5546         remove "ert".
5547
5548 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * ParagraphList.C (front): new function
5551         (back): implement
5552
5553 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5556         and top_row_offset_. removed var first_y.
5557         * text.C (top_y):
5558         * text2.C (LyXText, removeRow):
5559         * text3.C:
5560         * BufferView_pimpl.C:
5561         use these methods instead of using first_y
5562
5563 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * text2.C (pasteSelection): adjust for checkPastePossible
5566
5567         * CutAndPaste.C: remove Paragraph * buf and replace with
5568         ParagraphList paragraphs.
5569         (DeleteBuffer): delete
5570         (cutSelection): change the tc type to textclass_type
5571         (copySelection): change the tc type to textclass_type
5572         (copySelection): adjust for ParagraphList
5573         (pasteSelection): change the tc type to textclass_type
5574         (pasteSelection): adjust for Paragraphlist
5575         (nrOfParagraphs): simplify for ParagraphList
5576         (checkPastePossible): simplify for ParagraphList
5577         (checkPastePossible): remove unused arg
5578
5579         * ParagraphList.C (insert): handle the case where there are no
5580         paragraphs yet.
5581
5582         * CutAndPaste.h: make CutAndPaste a namespace.
5583
5584         * text3.C (dispatch): adjust
5585
5586         * text.C (breakParagraph): add a ParagraphList as arg
5587
5588         * paragraph_funcs.C (breakParagraph): change to take a
5589         BufferParams and a ParagraphList as args.
5590         (breakParagraphConservative): ditto
5591         (mergeParagraph): ditto
5592         (TeXDeeper): add a ParagraphList arg
5593         (TeXEnvironment): ditto
5594         (TeXOnePar): ditto
5595
5596         * buffer.C (readLyXformat2): adjust
5597         (insertStringAsLines): adjust
5598         (latexParagraphs): adjust
5599
5600         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5601         (cutSelection): adjust
5602         (pasteSelection): adjust
5603
5604         * BufferView_pimpl.C (insertInset): adjust
5605
5606 2003-03-05  Angus Leeming  <leeming@lyx.org>
5607
5608         * commandtags.h:
5609         * LyXAction.C (init):
5610         * BufferView_pimpl.C (dispatch):
5611         * lyxfunc.C (getStatus):
5612         remove LFUN_CHILD_INSERT.
5613
5614         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5615
5616 2003-03-05  Angus Leeming  <leeming@lyx.org>
5617
5618         * commandtags.h:
5619         * LyXAction.C (init):
5620         * src/factory.C (createInset):
5621         * lyxfunc.C (getStatus):
5622         * text3.C (dispatch):
5623         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5624
5625         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5626
5627 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * ParagraphList.C (insert): handle insert right before end()
5630         (erase): fix cases where it can be first or last paragraph.
5631
5632 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5635         Paragraph::next and Paragraph::previous
5636         (TeXOnePar): ditto
5637
5638         * text.C (breakParagraph): adjust
5639
5640         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5641         BufferParams& as arg.
5642         (breakParagraph): use ParagraphList::insert
5643         (breakParagraphConservative): take a Buffer* instead of a
5644         BufferParams& as arg.
5645         (breakParagraphConservative): use ParagraphList::insert.
5646
5647         * buffer.C (insertStringAsLines): un-const it
5648         (insertStringAsLines): adjust
5649
5650         * ParagraphList.C (insert): new function
5651
5652         * CutAndPaste.C (pasteSelection): adjust
5653
5654         * text.C (backspace): adjust
5655
5656         * tabular.C (SetMultiColumn): adjust
5657
5658         * CutAndPaste.C (cutSelection): adjust
5659         (pasteSelection): adjust
5660
5661         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5662         Buffer const * as arg
5663
5664         * ParagraphList.C (erase): new function
5665         * paragraph_funcs.C (mergeParagraph): use it
5666         (mergeParagraph): make it take a Buffer* instead of a
5667         BufferParams* as arg
5668
5669         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5670         as arg
5671         (breakParagraphConservative): ditto
5672
5673         * paragraph.h: remove the breakParagraph friend
5674
5675         * paragraph.C (eraseIntern): new function
5676         (setChange): new function
5677
5678         * paragraph_funcs.C (mergeParagraph): make it take a
5679         ParagraphList::iterator instead of a Paragraph *, adjust
5680         accordingly.
5681
5682         * paragraph.h: move an #endif so that the change tracking stuff
5683         also works in the NO_NEXT case.
5684
5685 2003-03-04  Angus Leeming  <leeming@lyx.org>
5686
5687         * commandtags.h:
5688         * LyXAction.C: new LFUN_INSET_MODIFY.
5689
5690         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5691         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5692
5693 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * several files: ws changes only
5696
5697         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5698         (TeXEnvironment): ditto
5699         (TeXDeeper): ditto
5700
5701         * buffer.C (makeLaTeXFile): adjust
5702         (latexParagraphs): make it take ParagraphList::iterator as args
5703
5704 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * buffer.C (latexParagraphs): adjust
5707
5708         * paragraph.C (TeXOnePar): move function...
5709         (optArgInset): move function...
5710         (TeXEnvironment): move function...
5711         * paragraph_pimpl.C (TeXDeeper): move function...
5712         * paragraph_funcs.C: ...here
5713
5714         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5715
5716 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * buffer.C (readInset): remove compability code for old Figure and
5719         InsetInfo insets
5720
5721 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * buffer.C: ws changes
5724         (readInset):
5725
5726         * BufferView_pimpl.C: ditto
5727         * author.C: ditto
5728         * buffer.h: ditto
5729         * bufferlist.h: ditto
5730         * changes.h: ditto
5731         * lyxfunc.C: ditto
5732
5733 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5734
5735         * converter.[Ch]: split into itself +
5736         * graph.[Ch]
5737         * format.[Ch]
5738         * Makefile.am: += graph.[Ch] + format.[Ch]
5739         * MenuBackend.C
5740         * buffer.C
5741         * exporter.C
5742         * importer.C
5743         * lyx_main.C
5744         * lyxfunc.C
5745         * lyxrc.C: added #include "format.h"
5746
5747 2003-02-27  Angus Leeming  <leeming@lyx.org>
5748
5749         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5750           a label.
5751
5752         * factory.C (createInset): add "label" to the factory.
5753
5754         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5755           string and do no more.
5756
5757 2003-02-27  Angus Leeming  <leeming@lyx.org>
5758
5759         * commandtags.h:
5760         * LyXAction.C (init):
5761         * factory.C (createInset):
5762         * BufferView_pimpl.C (dispatch):
5763           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5764
5765         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5766
5767         * lyxfunc.C (dispatch):
5768         * text3.C (dispatch): pass name to params2string.
5769
5770 2003-02-26  Angus Leeming  <leeming@lyx.org>
5771
5772         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5773           blocks together.
5774           Rearrange the ~includes. Strip out the unnecessary ones.
5775
5776         * factory.C (createInset): reformat.
5777           create new insets for the various LFUN_XYZ_APPLY lfuns.
5778
5779 2003-02-26  John Levon  <levon@movementarian.org>
5780
5781         * lyxrow.h:
5782         * lyxrow.C: add isParStart,isParEnd helpers
5783
5784         * paragraph.h: make isInserted/DeletedText take refs
5785
5786         * paragraph_funcs.h:
5787         * paragraph_funcs.C: remove #if 0'd code
5788
5789         * lyxtext.h:
5790         * text3.C:
5791         * text2.C:
5792         * text.C: use lyxrow helpers above.
5793           Move draw and paint routines to RowPainter.
5794           Make several methods use refs not pointers.
5795           Make backgroundColor() const.
5796           Add markChangeInDraw(), isInInset().
5797           Merge changeRegionCase into changeCase.
5798           Make workWidth() shouldn't-happen code into an Assert.
5799
5800         * rowpainter.h:
5801         * rowpainter.C: new class for painting a row.
5802
5803         * vspace.h:
5804         * vspace.C: make inPixels take a ref
5805
5806 2003-02-26  Angus Leeming  <leeming@lyx.org>
5807
5808         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5809         LFUN_REF_APPLY.
5810
5811 2003-02-25  John Levon  <levon@movementarian.org>
5812
5813         * ispell.C: give the forked command a more accurate name
5814
5815 2003-02-22  John Levon  <levon@movementarian.org>
5816
5817         * toc.h:
5818         * toc.C: make TocItem store an id not a Paragraph *
5819           (bug #913)
5820
5821 2003-02-21  Angus Leeming  <leeming@lyx.org>
5822
5823         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5824           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5825           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5826           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5827           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5828           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5829
5830         * BufferView_pimpl.C (dispatch):
5831         * LyXAction.C (init):
5832         * factory.C (createInset):
5833         * lyxfunc.C (getStatus, dispatch):
5834         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5835
5836 2003-02-21  Angus Leeming  <leeming@lyx.org>
5837
5838         * BufferView_pimpl.C (MenuInsertLyXFile):
5839         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5840         * lyxfunc.C (menuNew, open, doImport):
5841           no longer pass a LyXView & to fileDlg.
5842
5843 2003-02-21  Angus Leeming  <leeming@lyx.org>
5844
5845         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5846         * LyXAction.C: change, BIBKEY to BIBITEM.
5847         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5848         Change InsetBibKey to InsetBibitem.
5849         Change BIBKEY_CODE to BIBITEM_CODE.
5850         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5851         * factory.C: replace insetbib.h with insetbibitem.h.
5852         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5853         * paragraph.C: replace insetbib.h with insetbibitem.h.
5854         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5855         Change bibkey() to bibitem().
5856         * text.C: remove insetbib.h.
5857         * text2.C: replace insetbib.h with insetbibitem.h.
5858         change bibkey() to bibitem().
5859         * text3.C: remove insetbib.h.
5860         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5861
5862 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5863
5864         * lyxrc.C (output): enclose user email in quotes (in case there are
5865         several words)
5866
5867 2003-02-18  John Levon  <levon@movementarian.org>
5868
5869         * buffer.h: add std::
5870
5871 2003-02-17  John Levon  <levon@movementarian.org>
5872
5873         * SpellBase.h:
5874         * ispell.h:
5875         * ispell.C:
5876         * pspell.h:
5877         * pspell.C: reworking. Especially in ispell, a large
5878           number of clean ups and bug fixes.
5879
5880         * lyxfunc.C: fix revert to behave sensibly
5881
5882 2003-02-17 André Pönitz <poenitz@gmx.net>
5883
5884         * LyXAction.C:
5885         * commandtags.h: new LFUN_INSERT_BIBKEY
5886
5887         * layout.h:
5888         * lyxlayout.C:
5889         * buffer.C:
5890         * factory.C:
5891         * text.C:
5892         * text2.C:
5893         * text3.C:
5894         * paragraph.[Ch]:
5895         * paragraph_func.C: remove special bibkey handling
5896
5897 2003-02-17  John Levon  <levon@movementarian.org>
5898
5899         * text.C (Delete): fix case where delete at the end of
5900           the very first paragraph would not merge the pars
5901
5902 2003-02-17  John Levon  <levon@movementarian.org>
5903
5904         * lyxrow.C: fix lastPrintablePos()
5905
5906 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5907
5908         * bufferparams.C (writeLaTeX): add a std:here
5909
5910         * buffer.C: and remove a using directive there
5911
5912 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5913
5914         * buffer.C (makeLaTeXFile): move the code that generates the
5915           preamble...
5916
5917         * bufferparams.C (writeLaTeX): ... in this new method
5918
5919         * LaTeXFeatures.C (getEncodingSet): make const
5920           (getLanguages): make const
5921
5922         * MenuBackend.C (binding): returns the binding associated to this
5923           action
5924           (add): sets the status of each item by calling getStatus. Adds
5925           some intelligence.
5926           (read): add support for OptSubMenu
5927           (expand): remove extra separator at the end of expanded menu
5928
5929 2003-02-15  John Levon  <levon@movementarian.org>
5930
5931         * BufferView.C:
5932         * BufferView_pimpl.C:
5933         * bufferlist.h:
5934         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5935           inset code that had no actual effect. Remove unneeded status
5936           code.
5937
5938 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5939
5940         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5941           in preamble
5942
5943 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5944
5945         * text.C (drawLengthMarker): also draw an arrow marker for
5946           symbolic lengths (medskip...)
5947
5948 2003-02-14  John Levon  <levon@movementarian.org>
5949
5950         * tabular.h:
5951         * tabular.C: better method names
5952
5953 2003-02-14  John Levon  <levon@movementarian.org>
5954
5955         * BufferView_pimpl.C:
5956         * bufferlist.C:
5957         * buffer.C:
5958         * converter.C:
5959         * lyx_cb.C:
5960         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5961           it's a more accurate name. Remove some pointless uses.
5962
5963 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5964
5965         * text2.C (LyXText): change order of initilizers to shut off
5966           warnings
5967
5968 2003-02-14  John Levon  <levon@movementarian.org>
5969
5970         * buffer.C: use ParIterator for getParFromID()
5971
5972         * paragraph.h:
5973         * paragraph.C:
5974         * paragraph_pimpl.h:
5975         * paragraph_pimpl.C: remove unused getParFromID()
5976
5977 2003-02-14  John Levon  <levon@movementarian.org>
5978
5979         * buffer.C: remove some very old #if 0'd parse code
5980
5981 2003-02-13  John Levon  <levon@movementarian.org>
5982
5983         * text.h:
5984         * text.C:
5985         * text2.C: move hfillExpansion(), numberOfSeparators(),
5986           rowLast(), rowLastPrintable(), numberofHfills(),
5987           numberOfLabelHfills() ...
5988
5989         * lyxrow.h:
5990         * lyxrow.C: ... to member functions here.
5991
5992         * paragraph.h:
5993         * paragraph.C:
5994         * lyxtext.h:
5995         * text.C: remove LyXText::beginningOfMainBody(), and call
5996           p->beginningOfMainBody() directly. Move the check for
5997           LABEL_MANUAL into the latter.
5998
5999         * text.h:
6000         * text.C:
6001         * text2.C:
6002         * vspace.C:
6003         * BufferView.h:
6004         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6005
6006         * text.h:
6007         * text.C:
6008         * text2.C:
6009         * text3.C:
6010         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6011           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6012
6013 2003-02-13  John Levon  <levon@movementarian.org>
6014
6015         * CutAndPaste.C: remove debug
6016
6017 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6018
6019         * paragraph.C (asString): remove two unused variables
6020
6021         * lyxtextclass.C (readTitleType):
6022           (Read):
6023           (LyXTextClass): handle new members titletype_ and titlename_
6024
6025         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6026
6027 2003-02-09  John Levon  <levon@movementarian.org>
6028
6029         * buffer.h:
6030         * buffer.C: replace hand-coded list with a map for the dep clean
6031
6032 2003-02-08  John Levon  <levon@movementarian.org>
6033
6034         * LaTeX.C: consolidate code into showRunMessage() helper
6035
6036 2003-02-08  John Levon  <levon@movementarian.org>
6037
6038         * lyxfind.C:
6039         * lyxtext.h:
6040         * text2.C:
6041         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6042           and pass the size in explicitly
6043
6044         * BufferView_pimpl.h:
6045         * BufferView_pimpl.C:
6046         * BufferView.h:
6047         * BufferView.C: add getCurrentChange()
6048
6049         * BufferView_pimpl.h:
6050         * BufferView_pimpl.C: handle change lfuns
6051
6052         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6053           for changes. Mark pasted paragraphs as new.
6054
6055         * support/lyxtime.h:
6056         * support/lyxtime.C:
6057         * DepTable.C: abstract time_t as lyx::time_type
6058
6059         * LColor.h:
6060         * LColor.C: add colours for new text, deleted text, changebars
6061
6062         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6063           package use "usenames" option.
6064
6065         * commandtags.h:
6066         * lyxfunc.C:
6067         * LyXAction.C: add change lfuns
6068
6069         * Makefile.am:
6070         * author.h:
6071         * author.C: author handling
6072
6073         * buffer.h:
6074         * buffer.C: add a per-buffer author list, with first entry as
6075           current author. Handle new .lyx tokens for change tracking. Output
6076           author list to .lyx file. Output dvipost stuff to .tex preamble.
6077           Bump lyx format to 222.
6078
6079         * bufferlist.h:
6080         * bufferlist.C: add setCurrentAuthor() to reset current author details
6081           in all buffers.
6082
6083         * bufferparams.h:
6084         * bufferparams.C: add param for tracking
6085
6086         * bufferview_funcs.C: output change info in minibuffer
6087
6088         * Makefile.am:
6089         * changes.h:
6090         * changes.C: add change-tracking structure
6091
6092         * debug.h:
6093         * debug.C: add CHANGES debug flag
6094
6095         * lyxfind.h:
6096         * lyxfind.C: add code for finding the next change piece
6097
6098         * lyxrc.h:
6099         * lyxrc.C: add user_name and user_email
6100
6101         * lyxrow.h:
6102         * lyxrow.C: add a metric for the top of the text line
6103
6104         * lyxtext.h:
6105         * text.C: implement accept/rejectChange()
6106
6107         * lyxtext.h:
6108         * text.C: paint changebars. Paint new/deleted text in the chosen
6109         colours. Strike through deleted text.
6110
6111         * paragraph.h:
6112         * paragraph.C:
6113         * paragraph_pimpl.h:
6114         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6115           in the current change to the insert functions. Rework erase to
6116           mark text as deleted, adding an eraseIntern() and a range-based
6117           erase(). Implement per-paragraph change lookup and
6118           accept/reject.
6119
6120         * paragraph_funcs.C: Fixup paste for change tracking.
6121
6122         * tabular.C: mark added row/columns as new.
6123
6124         * text.C: fix rowLast() to never return -1. Don't allow
6125           spellchecking of deleted text. Track transpose changes. Don't
6126           allow paragraph break or merge where appropriate.
6127
6128         * text2.C: leave cursor at end of selection after a cut.
6129
6130 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6131
6132         * text.C (getLengthMarkerHeight):
6133         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6134         visible on screen too.
6135
6136 2003-02-07  John Levon  <levon@movementarian.org>
6137
6138         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6139
6140 2003-02-05  Angus Leeming  <leeming@lyx.org>
6141
6142         * lyxserver.C (read_ready): revert my patch of 11 September last year
6143         as it sends PC cpu through the roof. Presumably this means that
6144         the lyxserver will no longer run on an Alpha...
6145
6146 2003-01-30  Angus Leeming  <leeming@lyx.org>
6147
6148         * factory.C (createInset): create an InsetCommandParam of type "index"
6149         and use it to 'do the right thing'.
6150
6151         * text2.C (getStringToIndex): ensure that cursor position is always
6152         reset to the reset_cursor position.
6153
6154 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6155
6156         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6157         disabled.
6158
6159 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6160
6161         * bufferview.C:
6162         * lyxcb.C:
6163         * lyxfunc.C: Output messages with identical spelling, punctuation,
6164         and spaces
6165
6166 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6167
6168         * MenuBackend.C (expandFormats): List only viewable export formats
6169         in "View" menu
6170
6171         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6172         message
6173
6174         * lyxfunc.C (getStatus): Make sure that formats other than
6175         "fax" can also be disabled
6176
6177 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6178
6179         * text3.C (dispatch): put the lfuns that insert insets in 3
6180         groups, and call doInsertInset with appropriate arguments.
6181         (doInsertInset): new function, that creates an inset and inserts
6182         it according to some boolean parameters.
6183
6184 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * buffer.C (readFile): remember to pass on 'par' when calling
6187         readFile recursively.
6188
6189 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6190
6191         * MenuBackend.C (expandFormats): add "..." to import formats.
6192
6193 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * paragraph.C (asString): Remove XForms RTL hacks.
6196
6197 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6198         * buffer.C: fix typo
6199
6200 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6201
6202         * Makefile.am (LIBS): delete var
6203         (lyx_LDADD): add @LIBS@ here instead.
6204
6205 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6206
6207         * Clarify the meaning of "wheel mouse jump"
6208
6209 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6210
6211         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6212         tabular in a float
6213
6214 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6215
6216         * importer.C (Loaders): do not preallocate 3 elements in the
6217         vector, since one ends up with 6 elements otherwise
6218
6219 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6220
6221         * DepTable.C (write): write the file name as last element of the
6222         .dep file (because it may contain spaces)
6223         (read): read info in the right order
6224
6225 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6226
6227         * paragraph_pimpl.C (simpleTeXBlanks):
6228         (simpleTeXSpecialChars):
6229         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6230
6231         * tabular.C (latex): add some missing case statements. Reindent.
6232
6233         * MenuBackend.C (expandToc): remove unused variable.
6234
6235 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6236
6237         * LColor.C:
6238         * LaTeX.C:
6239         * LyXAction.C:
6240         * MenuBackend.C:
6241         * buffer.C:
6242         * exporter.C:
6243         * lyxfunc.C:
6244         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6245         and the like.
6246
6247 2003-01-05  John Levon  <levon@movementarian.org>
6248
6249         * BufferView.h:
6250         * BufferView.C: add getEncoding()
6251
6252         * kbsequence.h:
6253         * kbsequence.C: do not store last keypress
6254
6255         * lyxfunc.h:
6256         * lyxfunc.C: store last keypress here instead. Pass encoding
6257           to getISOEncoded()
6258
6259 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6260
6261         * lyx_main.C (init): remove annoying error message when following
6262         symbolic links (bug #780)
6263
6264 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6265
6266         * text.C (insertChar):
6267         * lyxrc.C (getDescription): remove extra spaces
6268
6269 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6270
6271         * lyxrc.C (getDescription): remove extra spaces
6272
6273 2002-12-20  John Levon  <levon@movementarian.org>
6274
6275         * text3.C: hack fix for page up/down across tall rows
6276
6277 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6278
6279         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6280         not been invoked
6281
6282 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6283
6284         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6285         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6286         thesaurus is not compiled in
6287
6288 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6289
6290         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6291
6292 2002-12-16  Angus Leeming  <leeming@lyx.org>
6293
6294         * lyxrc.[Ch]:
6295         * lyx_main.C (init): remove override_x_deadkeys stuff.
6296
6297 2002-12-12  John Levon  <levon@movementarian.org>
6298
6299         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6300           insert. Only remove shift modifier under strict
6301           circumstances.
6302
6303 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * MenuBackend.C (expandToc): fix crash.
6306
6307 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * MenuBackend.C (expandToc): gettext on float names.
6310
6311 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6312
6313         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6314         implement bool empty() [bug 490]
6315
6316 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6319
6320 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * several files: ws changes
6323
6324 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * text2.C (setCounter): clean up a bit, use boost.format.
6327         (updateCounters): initialize par upon declaration.
6328
6329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6330         if the layout exists. We do not just store the layout any more.
6331         (SwitchLayoutsBetweenClasses): use boost.format
6332
6333 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6334
6335         * converter.C (convert): if from and to files are the same, use a
6336         temporary files as intermediary
6337
6338 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6339
6340         * commandtags.h:
6341         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6342
6343 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6344
6345         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6346
6347 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * tabular.C (asciiPrintCell): use string(size, char) instead of
6350         explicit loop.
6351
6352         * sgml.C (openTag): fix order of arguments to string constructor
6353         (closeTag): ditto
6354
6355         * lyxfunc.C (dispatch): use boost.format
6356
6357         * lots of files: change "c" -> 'c'
6358
6359 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6360
6361         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6362
6363 2002-11-25  Angus Leeming  <leeming@lyx.org>
6364
6365         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6366
6367         * lyx_main.C (init): compile fix.
6368
6369 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * lyx_cb.C (start): boost.formatify
6372         do not include <iostream>
6373
6374         * lengthcommon.C: ws only
6375
6376         * boost-inst.C,BoostFormat.h: add more explict instantations
6377
6378 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * lots of files: handle USE_BOOST_FORMAT
6381
6382 2002-11-21  John Levon  <levon@movementarian.org>
6383
6384         * pspell.C: fix compile
6385
6386 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6387
6388         * lyxfunc.C (dispatch): use boost::format
6389         (open): ditto
6390         (doImport): ditto
6391
6392         * lyxfont.C (stateText): use boost::format
6393
6394         * lyx_main.C (LyX): use boost::format
6395         (init): ditto
6396         (queryUserLyXDir): ditto
6397         (readRcFile): ditto
6398         (parse_dbg): ditto
6399         (typedef boost::function): use the recommened syntax.
6400
6401         * importer.C (Import): use boost::format
6402
6403         * debug.C (showLevel): use boost::format
6404
6405         * converter.C (view): use boost::format
6406         (convert): ditto
6407         (move): ditto
6408         (scanLog): ditto
6409
6410         * bufferview_funcs.C (currentState): use boost::format
6411
6412         * bufferlist.C (emergencyWrite): use boost::format
6413
6414         * buffer.C (readLyXformat2): use boost::format
6415         (parseSingleLyXformat2Token): ditto
6416
6417         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6418
6419         * LaTeX.C (run): use boost::format
6420
6421         * Chktex.C (scanLogFile): use boost::format
6422
6423         * BufferView_pimpl.C (savePosition): use boost::format
6424         (restorePosition): ditto
6425         (MenuInsertLyXFile): ditto
6426
6427         * BoostFormat.h: help file for explicit instation.
6428
6429 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6430
6431         * tabular.C (latex): Support for block alignment in fixed width
6432         columns.
6433
6434 2002-11-17  John Levon  <levon@movementarian.org>
6435
6436         * BufferView_pimpl.C:
6437         * lyx_cb.C:
6438         * lyxfunc.C: split filedialog into open/save
6439
6440 2002-11-08  Juergen Vigna  <jug@sad.it>
6441
6442         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6443         by my last patch (hopefully).
6444
6445 2002-11-08  John Levon  <levon@movementarian.org>
6446
6447         * iterators.h:
6448         * iterators.C:
6449         * buffer.h:
6450         * buffer.C:
6451         * paragraph.h:
6452         * paragraph.C:
6453         * toc.h:
6454         * toc.C: ParConstIterator, and use it (from Lars)
6455
6456 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6457
6458         * lyxtextclass.[Ch]: revise and add doxygen comments
6459
6460 2002-11-07  John Levon  <levon@movementarian.org>
6461
6462         * text.C: fix progress value for spellchecker
6463
6464         * toc.C: fix navigate menu for insetwrap inside minipage
6465
6466         * paragraph_funcs.C: added FIXME for suspect code
6467
6468 2002-11-07  John Levon  <levon@movementarian.org>
6469
6470         * BufferView_pimpl.C: fix redrawing of insets
6471           on buffer switch
6472
6473 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6474
6475         * text2.C (updateCounters): fix bug 668
6476
6477 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6478
6479         * text3.C (dispatch): Do not make the buffer dirty when moving the
6480         cursor.
6481
6482 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * vc-backend.C: STRCONV
6485         (scanMaster): ditto
6486
6487         * text2.C (setCounter): STRCONV
6488
6489         * paragraph.C (asString): STRCONV
6490
6491         * lyxlength.C (asString): STRCONV
6492         (asLatexString): ditto
6493
6494         * lyxgluelength.C (asString): STRCONV
6495         (asLatexString): ditto
6496
6497         * lyxfunc.C (dispatch): STRCONV
6498         (open): ditto
6499
6500         * lyxfont.C (stateText): STRCONV
6501
6502         * importer.C (Import): STRCONV
6503
6504         * counters.C (labelItem): STRCONV
6505         (numberLabel): ditto
6506         (numberLabel): remove unused ostringstream o
6507
6508         * chset.C: STRCONV
6509         (loadFile): ditto
6510
6511         * bufferview_funcs.C (currentState): STRCONV
6512
6513         * buffer.C (readFile): STRCONV
6514         (asciiParagraph): ditto
6515         (makeLaTeXFile): ditto
6516
6517         * Spacing.C (writeEnvirBegin): STRCONV
6518
6519         * LaTeXFeatures.C (getLanguages): STRCONV
6520         (getPackages): ditto
6521         (getMacros): ditto
6522         (getBabelOptions): ditto
6523         (getTClassPreamble): ditto
6524         (getLyXSGMLEntities): ditto
6525         (getIncludedFiles): ditto
6526
6527         * LaTeX.C: STRCONV
6528         (run): ditto
6529         (scanAuxFile): ditto
6530         (deplog): ditto
6531
6532         * LString.h: add the STRCONV macros
6533
6534         * BufferView_pimpl.C (savePosition): STRCONV
6535         (restorePosition): ditto
6536         (MenuInsertLyXFile): ditto
6537
6538         * vc-backend.C (scanMaster): change from submatch[...] to
6539         submatch.str(...)
6540
6541         * funcrequest.C: include config.h
6542
6543         * factory.C: include config.h
6544
6545         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6546
6547         * box.C: include config.h
6548
6549         * LaTeX.C (scanAuxFile): change from submatch[...] to
6550         submatch.str(...)
6551         (deplog): ditto
6552
6553 2002-10-25  Angus Leeming  <leeming@lyx.org>
6554
6555         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6556
6557         * ispell.[Ch] (setError): new method.
6558         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6559         Use setError() insetead of goto END.
6560
6561         * lyx_cb.C (AutoSave): move out child process into new class
6562         AutoSaveBuffer.
6563
6564 2002-10-30  John Levon  <levon@movementarian.org>
6565
6566         * text3.C: make start appendix undoable
6567
6568 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6569
6570         * lyxlength.C (inPixels): Fix returned value.
6571
6572         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6573         environment.
6574
6575 2002-10-24  Angus Leeming  <leeming@lyx.org>
6576
6577         * lyxgluelength.h: no need to forward declare BufferParams
6578         or BufferView, so don't.
6579
6580 2002-10-21  John Levon  <levon@movementarian.org>
6581
6582         * BufferView.C: menuUndo ->undo, redo
6583
6584         * BufferView.h: document, remove dead, make some methods private
6585
6586         * paragraph_funcs.h:
6587         * paragraph_funcs.C:
6588         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6589
6590         * buffer.h:
6591         * buffer.C:
6592         * sgml.h:
6593         * sgml.C: move sgml open/close tag into sgml.C
6594
6595         * bufferview_funcs.h: unused prototype
6596
6597         * lyxfunc.h:
6598         * lyxfunc.C: remove unused
6599
6600         * lyxtext.h:
6601         * text.C: remove unused
6602
6603 2002-10-21  John Levon  <levon@movementarian.org>
6604
6605         * BufferView.h:
6606         * BufferView.C:
6607         * BufferView_pimpl.h:
6608         * BufferView_pimpl.C: fix mouse wheel handling based on
6609           patch from Darren Freeman
6610
6611 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6612
6613         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6614
6615 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6616
6617         * lyxlength.C (inPixels): Fix hanfling of negative length.
6618         Fix LyXLength::MU case.
6619
6620 2002-10-16  John Levon  <levon@movementarian.org>
6621
6622         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6623
6624 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6625
6626         * converter.C (view): add support for $$i (file name) and $$p
6627         (file path) for the viewer command. If $$i is not specified, then
6628         it is appended to the command (for compatibility with old syntax)
6629
6630 2002-10-14  Juergen Vigna  <jug@sad.it>
6631
6632         * undo_funcs.C (textHandleUndo): alter the order in which the
6633         new undopar is added to the LyXText, as we have to set first
6634         the right prev/next and then add it as otherwise the rebuild of
6635         LyXText is not correct. Also reset the cursor to the right paragraph,
6636         with this IMO we could remove the hack in "redoParagraphs()".
6637
6638 2002-10-09  Angus Leeming  <leeming@lyx.org>
6639
6640         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6641         to turn off an optimisation if a new inset is to be inserted.
6642
6643 2002-10-11 André Pönitz <poenitz@gmx.net>
6644
6645         * lyxtext.h: make some functions public to allow access
6646         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6647
6648 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6649
6650         * text3.C (dispatch): when changing layout, avoid an infinite loop
6651         [bug #652]
6652
6653 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6654
6655         * lyxrc.C (read): treat a viewer or converter command of "none" as
6656         if it were empty.
6657
6658         * MenuBackend.C (expandFormats): for an update, also allow the
6659         formats that are not viewable
6660
6661         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6662         script if it is newer than the lyxrc.defaults in user directory
6663
6664 2002-10-07 André Pönitz <poenitz@gmx.net>
6665
6666         * text.C: Vitaly Lipatov's small i18n fix
6667
6668 2002-09-25  Angus Leeming  <leeming@lyx.org>
6669
6670         * ispell.h: doxygen fix.
6671
6672 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6673
6674         * buffer.h (readFile): Add a new argument to the method, to allow
6675         reading of old-format templates.
6676
6677 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6678
6679         * toc.C (getTocList): Get TOC from InsetWrap.
6680
6681 2002-09-16  John Levon  <levon@movementarian.org>
6682
6683         * lyxfunc.C: check tabular for cut/copy too
6684
6685 2002-09-12  John Levon  <levon@movementarian.org>
6686
6687         * LyXAction.C: tidy
6688
6689         * factory.h:
6690         * factory.C: add header
6691
6692         * paragraph_funcs.h:
6693         * paragraph_funcs.C: cleanup
6694
6695 2002-09-11  John Levon  <levon@movementarian.org>
6696
6697         * PrinterParams.h: odd/even default to true
6698
6699 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6700
6701         * PrinterParams.h: update printer parameters for new xforms dialog
6702
6703 2002-09-11  Angus Leeming  <leeming@lyx.org>
6704
6705         * lyxserver.C (read_ready): re-write to make it more transparent
6706         and to make it work in coherent fashion under Tru64 Unix.
6707
6708 2002-09-11  André Pönitz <poenitz@gmx.net>
6709
6710         * commandtags.h:
6711         * LyXAction.C:
6712         * text3.C: implement LFUN_WORDSEL
6713
6714 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6717         make floatlist_ a boost::shared_ptr<FloatList>
6718
6719         * lyxtextclass.C: include FloatList.h
6720         (LyXTextClass): initialize floatlist_
6721         (TextClassTags): add TC_NOFLOAT
6722         (Read): match "nofloat" to TC_NOFLOAT and use it.
6723         (readFloat): modify call to floatlist_
6724         (floats): ditto
6725         (floats): ditto
6726
6727         * FloatList.[Ch] (FloatList): remove commented out float
6728         initialization.
6729         (erase): new function
6730
6731 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6732
6733         * MenuBackend.C (expandToc): fix crash when there is no document
6734         open
6735
6736 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6737
6738         * many files: Add insetwrap.
6739
6740 2002-09-09  John Levon  <levon@movementarian.org>
6741
6742         * text2.C: remove confusing and awkward depth wraparound
6743
6744 2002-09-09  John Levon  <levon@movementarian.org>
6745
6746         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6747
6748         * buffer.h:
6749         * buffer.C: remove getIncludeonlyList()
6750
6751         * paragraph.C:
6752         * lyxfunc.C: remove headers
6753
6754 2002-09-09  Juergen Vigna  <jug@sad.it>
6755
6756         * text.C (getColumnNearX): fix form Michael this is most
6757         probably a cut&paste bug.
6758
6759 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6762
6763         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6764         references, ws changes.
6765
6766         * text2.C (init): update counters after init
6767         (insertParagraph): no need to set counter on idividual paragraphs.
6768         (setCounter): access the counters object in the textclass object
6769         on in the buffer object.
6770         (updateCounters): ditto
6771
6772         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6773         shared_ptr<Counters> to avoid loading counters.h in all
6774         compilation units.
6775         (LyXTextClass): initialize ctrs_
6776         (TextClassTags): add TC_COUNTER, and ...
6777         (Read): use it here.
6778         (CounterTags): new tags
6779         (readCounter): new function
6780         (counters): new funtion
6781         (defaultLayoutName): return a const reference
6782
6783         * counters.C (Counters): remove contructor
6784         (newCounter): remove a couple of unneeded statements.
6785         (newCounter): simplify a bit.
6786         (numberLabel): some small formatting changes.
6787
6788         * buffer.[Ch]: remove all traces of counters, move the Counters
6789         object to the LyXTextClass.
6790
6791 2002-09-06  Alain Castera  <castera@in2p3.fr>
6792
6793         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6794         package to set the horizontal alignment on fixed width columns.
6795
6796         * lyx_sty.C:
6797         * lyx_sty.h: added tabularnewline macro def.
6798
6799         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6800
6801 2002-09-06  John Levon  <levon@movementarian.org>
6802
6803         * LyXAction.C: tooltips for sub/superscript
6804
6805         * MenuBackend.C: a bit more verbose
6806
6807         * lyxfunc.C: tiny clean
6808
6809         * undo_funcs.C: document undo_frozen
6810
6811 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * counters.C (Counters): add missing algorithm counter.
6814
6815         * text2.C (setCounter): lookup the counter with layouts latexname
6816         instead of by section number.
6817         (setCounter): use a hackish way to lookup the correct enum
6818         counter.
6819         a float name->type change
6820         reset enum couners with counter name directly instead of depth value.
6821
6822         * counters.C (Counters): remove the push_backs, change to use the
6823         float type not the float name.
6824         (labelItem): remove unused string, float name->type change
6825
6826         * counters.h: don't include vector, loose the enums and sects vectors
6827
6828 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6831         (Read): add float->TC_FLOAT to textclassTags
6832         (Read): and handle it in the switch
6833         (readFloat): new function
6834
6835         * FloatList.C (FloatList): comment out the hardcoded float
6836         definitions.
6837
6838         * lyxlayout.h: ws change.
6839
6840 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6841
6842         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6843
6844 2002-09-03  Angus Leeming  <leeming@lyx.org>
6845
6846         * BufferView_pimpl.h: qualified name is not allowed in member
6847         declaration: WorkArea & Pimpl::workarea() const;
6848
6849         * factory.C: added using std::endl directive.
6850
6851         * text3.C: added using std::find and std::vector directives.
6852
6853 2002-08-29  André Pönitz <poenitz@gmx.net>
6854
6855         * lyxtext.h:
6856         * text2.C: remove unused member number_of_rows
6857
6858         * Makefile.am:
6859         * BufferView2.C: remove file, move contents to...
6860         * BufferView.C: ... here
6861
6862         * BufferView_pimpl.C:
6863         * factory.C: move more inset creation to factory
6864
6865         * vspace.C: avoid direct usage of LyXText, ws changes
6866
6867         * BufferView.[Ch]:
6868                 don't provide direct access to WorkArea, use two simple
6869                 acessors haveSelction() and workHeight() instead
6870
6871
6872 2002-08-29  John Levon  <levon@movementarian.org>
6873
6874         * BufferView_pimpl.C (dispatch): do not continue when
6875           no buffer
6876
6877 2002-08-28  André Pönitz <poenitz@gmx.net>
6878
6879         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6880
6881         * BufferView.h:
6882         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6883
6884 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6885
6886         * buffer.C: increment LYX_FORMAT to 221
6887
6888         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6889         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6890
6891         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6892
6893         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6894
6895 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6896
6897         * factory.C (createInset): use LyXTextClass::floats
6898
6899         * MenuBackend.C (expandFloatListInsert):
6900         (expandFloatInsert):
6901         (expandToc):
6902
6903         * text2.C (setCounter):
6904
6905         * LaTeXFeatures.C (useFloat):
6906         (getFloatDefinitions):
6907
6908         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6909
6910         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6911         floatlist_, with accessor floats().
6912
6913         * FloatList.h: remove global FloatList
6914
6915 2002-08-26  André Pönitz <poenitz@gmx.net>
6916
6917         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6918
6919         * BufferView.h:
6920         * BufferView2.C:
6921         * BufferView_pimpl.C:
6922         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6923
6924 2002-08-25  John Levon  <levon@movementarian.org>
6925
6926         * LyXAction.C: fix margin note description
6927
6928 2002-08-24  John Levon  <levon@movementarian.org>
6929
6930         * buffer.C:
6931         * bufferlist.C:
6932         * bufferview_funcs.C:
6933         * lyxfont.C:
6934         * undo_funcs.C: cleanups
6935
6936         * lyxfunc.C: disable CUT/COPY when no selection
6937
6938 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6939
6940         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6941         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6942
6943         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6944         Add backward compatibility to "mono", "gray" and "no".
6945
6946 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6947
6948         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6949         (and file_format >= 200).
6950
6951 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6952
6953         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6954
6955 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6956
6957         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6958
6959 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6960
6961         * BufferView_pimpl.C:
6962         * LyXAction.C:
6963         * buffer.C:
6964         * commandtags.h:
6965         * lyxfunc.C:
6966         * paragraph.[Ch]:
6967         * text2.C:
6968         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6969         inset and code to make it  work with the paragraph code. The inset
6970         can be anywhere in the paragraph, but will only do the expected
6971         thing in LaTeX if the layout file contains the parameter line
6972                         OptionalArgs    1
6973         (or more generally, a nonzero value) for that layout.
6974
6975 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * paragraph.h: remove the declaration of undefined counters class
6978         function.
6979
6980 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6981
6982         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6983         Dr. Richard Hawkins.
6984
6985 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6986
6987         * paragraph_funcs.h: remove some unneeded includes
6988
6989         * text.C (backspace): pasteParagraph now in global scipe
6990
6991         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6992         (pasteSelection): ditto
6993
6994         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6995         * paragraph_funcs.C (pasteParagraph): ... here
6996
6997 2002-08-20  André Pönitz <poenitz@gmx.net>
6998
6999         * commandtags.h: new LFUNs for swapping/copying table row/colums
7000
7001         * LyXAction.C:
7002         * lyxfunc.C: support for new lfuns
7003
7004 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * tabular.C:
7007         * buffer.[Ch]: remove NO_COMPABILITY stuff
7008
7009 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * boost.C (throw_exception): new file, with helper function for
7012         boost compiled without exceptions.
7013
7014         * paragraph.h:
7015         * lyxlength.C:
7016         * buffer.C:
7017         * ParameterStruct.h:
7018         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7019
7020         * bufferlist.C (emergencyWriteAll): use boost bind
7021
7022         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7023
7024         * text.C: include paragraph_funcs.h
7025         (breakParagraph): breakParagraph is now in global scope
7026
7027         * paragraph_funcs.[Ch]: new files
7028
7029         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7030         global scope
7031
7032         * buffer.C: include paragraph_funcs.h
7033         (insertStringAsLines): breakParagraph is now in global scope
7034
7035         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7036         paragraph_funcs.C
7037
7038         * CutAndPaste.C: include paragraph_funcs.h
7039         (cutSelection): breakParagraphConservative is now in global scope
7040         (pasteSelection): ditto
7041
7042         * buffer.h: declare oprator== and operator!= for
7043         Buffer::inset_iterator
7044
7045         * bufferlist.C (emergencyWrite): don't use fmt(...)
7046
7047         * text3.C: add using std::endl
7048
7049         * BufferView.C (moveCursorUpdate): remove default arg
7050
7051 2002-08-20  André Pönitz <poenitz@gmx.net>
7052
7053         * buffer.[Ch]: move inline functions to .C
7054
7055         * BufferView2.C:
7056         * BufferView_pimpl.C:
7057         * text.C:
7058         * buffer.[Ch]: use improved inset_iterator
7059
7060         * buffer.C:
7061         * paragraph.[Ch]: write one paragraph at a time
7062
7063 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7064
7065         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7066         style if style is not specified.
7067
7068 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7069
7070         * text2.C (setCounter): when searching for right label for a
7071         caption, make sure to recurse to parent insets (so that a caption
7072         in a minipage in a figure float works) (bug #568)
7073
7074 2002-08-20  André Pönitz <poenitz@gmx.net>
7075
7076         * text3.C: new file for LyXText::dispatch() and helpers
7077
7078         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7079
7080         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7081
7082 2002-08-19  André Pönitz <poenitz@gmx.net>
7083
7084         * lyxtext.h:
7085         * text.C: new LyXText::dispatch()
7086
7087         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7088
7089 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7090
7091         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7092
7093         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7094         Hebrew text.
7095
7096 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7097
7098         * Makefile.am: use $(variables) instead of @substitutions@
7099
7100 2002-08-15  André Pönitz <poenitz@gmx.net>
7101
7102         * lyxfunc.C:
7103         * BufferView_pimpl.C: streamlining mathed <-> outer world
7104         interaction
7105
7106         * commandtags.h:
7107         * LyXAction.C: remove unused LFUN_MATH
7108
7109 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7112
7113 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * paragraph.C (Paragraph): reformat a bit
7116         (cutIntoMinibuffer): use builtin InsetList function instad of
7117         doing it manually.
7118         (getInset): ditto
7119
7120         * buffer.C: include boost/bind.hpp, add using std::for_each
7121         (writeFileAscii): use ParagraphList iterators
7122         (validate): use for_each for validate traversal of paragraphs
7123         (getBibkeyList): use ParagraphList iterators
7124         (resizeInsets): use for_each to resizeInsetsLyXText for all
7125         paragraphs.
7126         (getParFromID): use ParagraphList iterators
7127
7128         * BufferView2.C (lockInset): use paragraph list and iterators
7129
7130 2002-08-14  John Levon  <levon@movementarian.org>
7131
7132         * lyxserver.C: remove spurious xforms include
7133
7134 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7135
7136         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7137
7138 2002-08-13  André Pönitz <poenitz@gmx.net>
7139
7140         * LyXAction.[Ch]:
7141         * lyxfunc.C: further cleaning
7142
7143 2002-08-13  André Pönitz <poenitz@gmx.net>
7144
7145         * funcrequest.h: new constructor
7146
7147         * funcrequest.C: move stuff here from .h
7148
7149         * Makefile.am:
7150         * BufferView_pimpl.C:
7151         * LyXAction.C:
7152         * toc.C:
7153         * lyxfunc.C: subsequent changes
7154
7155         * lyxfunc.h: new view() member function
7156
7157         * lyxfunc.C: subsequent changes
7158
7159 2002-08-13  Angus Leeming  <leeming@lyx.org>
7160
7161         * BufferView2.C:
7162         * BufferView_pimpl.C:
7163         * buffer.C:
7164         * converter.C:
7165         * importer.C:
7166         * lyxfunc.C:
7167         * lyxvc.C:
7168         * toc.C:
7169         * vc-backend.C:
7170         changes due to the changed LyXView interface that now returns references
7171         to member variables not pointers.
7172
7173 2002-08-13  Angus Leeming  <leeming@lyx.org>
7174
7175         * WordLangTuple (word, lang_code): return references to strings,
7176         not strings.
7177
7178         * BufferView.h:
7179         * SpellBase.h:
7180         * lyxtext.h: forward-declare WordLangTuple.
7181
7182         * BufferView2.C:
7183         * ispell.C:
7184         * pspell.C:
7185         * text.C: #include "WordLangTuple.h".
7186
7187         * lyxtext.h:
7188         * text.C: (selectNextWordToSpellcheck): constify return type.
7189
7190 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7191
7192         * buffer.C:
7193         * buffer.h:
7194         * lyxtext.h:
7195         * paragraph.C:
7196         * paragraph_pimpl.h:
7197         * text.C:
7198         * text2.C:
7199         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7200         suggested by Angus.
7201         Made updateCounter always count from start of buffer, and removed
7202         second argument (par).
7203         Reverted floats number display to '#'. Perhaps I'll try again when the
7204         code base is sanitized a bit.
7205
7206 2002-08-12  Angus Leeming  <leeming@lyx.org>
7207
7208         * buffer.[Ch] (getLabelList): constify.
7209
7210 2002-08-07  André Pönitz <poenitz@gmx.net>
7211
7212         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7213
7214         * funcrequest.h: extension to keep mouse (x,y) position
7215
7216 2002-08-12  Juergen Vigna  <jug@sad.it>
7217
7218         * BufferView2.C (insertErrors): forbid undo when inserting error
7219         insets.
7220
7221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7222
7223 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * ParagraphList.[Ch]: new files
7226
7227         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7228
7229         * BufferView2.C (lockInset): ParagraphList changes
7230         * toc.C: ditto
7231         * text2.C: ditto
7232         * bufferlist.C: ditto
7233         * buffer.h: ditto
7234         * buffer.C: ditto
7235
7236 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7239         unused class variable counter_,
7240
7241         * paragraph.[Ch] (getFirstCounter): delete unused function
7242
7243         * counters.C: include LAssert.h
7244         (reset): add a new function with no arg, change other version to
7245         not have def. arg and to not allow empty arg.
7246
7247         * text2.C (setCounter): remove empty arg from call to Counters::reset
7248
7249 2002-08-11  John Levon  <levon@movementarian.org>
7250
7251         * Makefile.am: add WordLangTuple.h
7252
7253 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7256         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7257
7258         * insets/insettext.C: InsetList changes
7259
7260         * graphics/GraphicsSupport.C (operator()): InsetList changes
7261
7262         * toc.C (getTocList): InsetList changes
7263
7264         * paragraph_pimpl.[Ch]: InsetList changes
7265
7266         * paragraph.[Ch]: InsetList changes
7267
7268         * buffer.C (inset_iterator): InsetList changes
7269         (setParagraph): ditto
7270         * buffer.h (inset_iterator): ditto
7271         * iterators.C (operator++): ditto
7272         * iterators.h: ditto
7273
7274         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7275
7276         * InsetList.[Ch]: new files, most InsetList handling moved out of
7277         paragraph.C.
7278
7279         * BufferView2.C (removeAutoInsets): InsetList changes
7280         (lockInset): ditto
7281         (ChangeInsets): ditto
7282
7283 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * paragraph_pimpl.h (empty): new function
7286
7287         * paragraph.[Ch] (empty): new function
7288
7289         * other files: use the new Paragraph::empty function
7290
7291 2002-08-09  John Levon  <levon@movementarian.org>
7292
7293         * lyxtext.h: remove unused refresh_height
7294
7295 2002-08-09  John Levon  <levon@movementarian.org>
7296
7297         * Makefile.am:
7298         * sgml.h:
7299         * sgml.C:
7300         * buffer.C:
7301         * paragraph.h:
7302         * paragraph.C: move sgml char escaping out of paragraph
7303
7304         * paragraph.h:
7305         * paragraph.C: remove id setter
7306
7307         * buffer.C:
7308         * paragraph.C:
7309         * paragraph_pimpl.C: remove dead tex_code_break_column
7310
7311         * bufferview_funcs.C: small cleanup
7312
7313         * lyxfunc.C: remove dead proto
7314
7315         * lyxtext.h: make some stuff private. Remove some dead stuff.
7316
7317         * lyxgluelength.C: make as[LyX]String() readable
7318
7319 2002-08-08  John Levon  <levon@movementarian.org>
7320
7321         * LyXAction.h:
7322         * LyXAction.C:
7323         * MenuBackend.C:
7324         * ToolbarDefaults.C:
7325         * lyxfunc.C:
7326         * lyxrc.C:
7327         * toc.C: lyxaction cleanup
7328
7329 2002-08-08  John Levon  <levon@movementarian.org>
7330
7331         * BufferView2.C: small cleanup
7332
7333         * lyxfind.h:
7334         * lyxfind.C: move unnecessary header into the .C
7335
7336 2002-08-08  John Levon  <levon@movementarian.org>
7337
7338         * funcrequest.h: just tedious nonsense
7339
7340         * lyx_main.h:
7341         * lyx_main.C: cleanups
7342
7343         * buffer.C:
7344         * vspace.C: remove dead header lyx_main.h
7345
7346 2002-08-07  Angus Leeming  <leeming@lyx.org>
7347
7348         * Paragraph.[Ch]:
7349         * paragraph_pimpl.h:
7350         Forward declare class Counters in paragraph.h by moving the ctrs member
7351         variable into Paragraph::Pimpl.
7352         (counters): new method, returning a reference to pimpl_->ctrs.
7353
7354         * text2.C: ensuing changes.
7355
7356 2002-08-07  John Levon  <levon@movementarian.org>
7357
7358         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7359
7360         * BufferView_pimpl.C: announce X selection on double/triple
7361           click
7362
7363         * lyx_main.C: use correct bool in batch dispatch
7364
7365         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7366
7367 2002-08-07  André Pönitz <poenitz@gmx.net>
7368
7369         * funcrequest.h: new class to wrap a kb_action and its argument
7370
7371         * BufferView.[Ch]:
7372         * BufferView_pimpl[Ch]:
7373         * LaTeX.C:
7374         * LyXAction.[Ch]:
7375         * lyxfunc.[Ch]:
7376         * lyxrc.C: subsequent changes
7377
7378
7379 2002-08-07  John Levon  <levon@movementarian.org>
7380
7381         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7382           document options change.
7383
7384 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7385
7386         * counters.[Ch]
7387         * text2.C
7388         * paragraph.[Ch]
7389         * makefile.am: move counters functionality over from
7390         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7391
7392 2002-08-06  John Levon  <levon@movementarian.org>
7393
7394         * WordLangTuple.h: new file for word + language code tuple
7395
7396         * SpellBase.h:
7397         * pspell.h:
7398         * pspell.C:
7399         * ispell.h:
7400         * ispell.C:
7401         * lyxtext.h:
7402         * text.C:
7403         * text2.C:
7404         * BufferView.h:
7405         * BufferView2.C: use WordLangTuple
7406
7407         * layout.h:
7408         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7409
7410 2002-08-06  John Levon  <levon@movementarian.org>
7411
7412         * lyx_main.C: fix cmdline batch handling
7413
7414 2002-08-06  André Pönitz <poenitz@gmx.net>
7415
7416         * lyxrc.C: set default for show_banner to true
7417
7418 2002-08-06  John Levon  <levon@movementarian.org>
7419
7420         * pspell.C: fix a crash, and allow new aspell to work
7421
7422 2002-08-06  John Levon  <levon@movementarian.org>
7423
7424         * lyxfunc.C:
7425         * kbmap.C: small cleanup
7426
7427         * vspace.h:
7428         * vspace.C: add const
7429
7430 2002-08-05  John Levon  <levon@movementarian.org>
7431
7432         * LyXAction.C: back to tabular-insert
7433
7434 2002-08-04  John Levon  <levon@movementarian.org>
7435
7436         * BufferView.h:
7437         * BufferView.C: cosmetic change
7438
7439         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7440
7441         * bufferlist.C:
7442         * buffer.h:
7443         * buffer.C:
7444         * lyxcb.h:
7445         * lyxcb.C:
7446         * lyxserver.C:
7447         * lyxvc.C:
7448         * vc-backend.C:
7449         * BufferView2.C: purge all "Lyx" not "LyX" strings
7450
7451         * lyxcursor.h:
7452         * lyxcursor.C: attempt to add some documentation
7453
7454         * lyxfunc.C:
7455         * commandtags.h:
7456         * LyXAction.C:
7457         * ToolbarDefaults.C:
7458         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7459           merge with LFUN_TABULAR_INSERT
7460
7461         * Makefile.am:
7462         * SpellBase.h:
7463         * ispell.h:
7464         * ispell.C:
7465         * pspell.h:
7466         * pspell.C: split up i/pspell implementations into separate
7467           files, many cleanups
7468
7469         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7470
7471         * text2.C: some cleanup
7472
7473         * lyxfunc.C: don't check for isp_command == "none" any more, it
7474           didn't make any sense
7475
7476 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7477
7478         * counters.[Ch]
7479         * text2.C
7480         * paragraph.[Ch]
7481         * makefile.am: move counters functionality over
7482         from text2.C/paragraph.[Ch] to counters.[Ch], and
7483         make proper C++.
7484 2002-08-02  John Levon  <levon@movementarian.org>
7485
7486         * buffer.C: s/lyxconvert/lyx2lyx/
7487
7488 2002-08-02  Angus Leeming  <leeming@lyx.org>
7489
7490         * lyxlex.C: revert John's change as it breaks reading of the user
7491         preamble.
7492
7493 2002-08-02  Angus Leeming  <leeming@lyx.org>
7494
7495         * importer.C (Import):
7496         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7497         changes due to LyXView::view() now returning a boost::shared_ptr.
7498
7499 2002-08-02  John Levon  <levon@movementarian.org>
7500
7501         * lyxlex.C: small cleanup
7502
7503 2002-08-02  John Levon  <levon@movementarian.org>
7504
7505         * text2.C (status): small cleanup, no logic change
7506
7507 2002-08-01  John Levon  <levon@movementarian.org>
7508
7509         * buffer.h:
7510         * buffer.C (writeFile): don't output alerts, caller
7511           handles this
7512
7513         * bufferlist.C:
7514         * lyx_cb.C: from above
7515
7516         * lyxfunc.C: allow to open non-existent files
7517
7518 2002-07-31  John Levon  <levon@movementarian.org>
7519
7520         * lyxserver.C: don't let incidental errors get
7521           in the way (errno)
7522
7523 2002-07-30  John Levon  <levon@movementarian.org>
7524
7525         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7526
7527 2002-07-30  John Levon  <levon@movementarian.org>
7528
7529         * lyxserver.h:
7530         * lyxserver.C: remove I/O callback too
7531
7532 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7533
7534         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7535         log.
7536
7537 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * many files: strip,frontStrip -> trim,ltrim,rtrim
7540
7541 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * PrinterParams.h: remove extern containsOnly, and include
7544         support/lstrings.h instead.
7545
7546         * LaTeX.C (scanAuxFile): modify because of strip changes
7547         (deplog): ditto
7548         * buffer.C (makeLaTeXFile): ditto
7549         * bufferparams.C (writeFile): ditt
7550         * lyxfont.C (stateText): ditto
7551         * lyxserver.C (read_ready): ditto
7552         * vc-backend.C (scanMaster): ditto
7553
7554         * BufferView_pimpl.h: ws changes
7555
7556         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7557
7558 2002-07-26  André Pönitz <poenitz@gmx.net>
7559
7560         * kb_sequence.C: remove unnedred usings
7561
7562 2002-07-26  Juergen Vigna  <jug@sad.it>
7563
7564         * lyxfind.C (LyXReplace): we have to check better if the returned
7565         text is not of theLockingInset()->getLockingInset().
7566
7567 2002-07-25  Juergen Vigna  <jug@sad.it>
7568
7569         * lyxfind.C (LyXReplace): don't replace if we don't get the
7570         right LyXText.
7571
7572         * undo_funcs.C (createUndo): remove debugging code.
7573
7574 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7575
7576         * buffer.C (parseSingleLyXformat2Token): Use default placement
7577         when reading old floats.
7578
7579         * FloatList.C (FloatList): Change the default placement of figure
7580         and tables to "tbp".
7581
7582 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7583
7584         * MenuBackend.C: using std::max
7585
7586 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7587
7588         * MenuBackend.C (expandToc):
7589         (expandToc2): code moved from xforms menu frontend. It is now
7590         generic and TOCs are transparent to menu frontends.
7591
7592 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7593
7594         * toc.C (getTocList): protect against buf=0
7595
7596         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7597         Menu as first parameter. Now, this calls itself recursively to
7598         expand a whole tree (this will be useful for TOC handling)
7599         (expandFloatInsert): remove 'wide' version of floats
7600
7601         * MenuBackend.h (submenuname): returns the name of the submenu.
7602         (submenu): returns the submenu itself, provided it has been
7603         created by MenuBackend::expand
7604
7605 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7606
7607         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7608         insets which have noFontChange == true. (bug #172)
7609
7610 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7611
7612         * BufferView_pimpl.C: add connection objects and use them...
7613         (Pimpl): here.
7614
7615 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7616
7617         * MenuBackend.C (expandLastfiles):
7618         (expandDocuments):
7619         (expandFormats):
7620         (expandFloatListInsert):
7621         (expandFloatInsert):
7622         (expand): split expand in parts
7623
7624 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7625
7626         * lyx_gui.C: use lyx_gui::exit()
7627
7628 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7629
7630         * LyXAction.C: show the failing pseudo action
7631
7632 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7633
7634         * buffer.C (readFile): Run the lyxconvert script in order to read
7635         old files.
7636
7637 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7638
7639         * LyXAction.C:
7640         * commandtags.h:
7641         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7642
7643 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * LyXAction.C:
7646         * commandtags.h:
7647         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7648
7649 2002-07-22  Herbert Voss  <voss@lyx.org>
7650
7651         * lengthcommon.C:
7652         * lyxlength.[Ch]: add support for the vertical lengths
7653
7654 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7655
7656         * toc.[Ch]: std:: fixes
7657
7658 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7659
7660         * lyxrc.C: do not include lyx_main.h
7661
7662         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7663         for layouts
7664
7665         * lyxrc.C:
7666         * encoding.C:
7667         * bufferlist.C:
7668         * BufferView2.C: include "lyxlex.h"
7669
7670         * tabular.h:
7671         * bufferparams.h: do not #include "lyxlex.h"
7672
7673         * lyxtextclasslist.C (Add): remove method
7674         (classlist): renamed to classlist_
7675
7676         * paragraph_pimpl.C:
7677         * paragraph.C:
7678         * text2.C:
7679         * CutAndPaste.C:
7680         * bufferview_funcs.C:
7681         * bufferlist.C:
7682         * text.C:
7683         * LaTeXFeatures.C:
7684         * buffer.C:
7685         * toc.C (getTocList): use BufferParams::getLyXTextClass
7686
7687         * toc.C (getTocList): use InsetFloat::addToToc
7688
7689         * toc.[Ch]: new files, containing helper functions to handle table
7690         of contents
7691
7692         * lyxfunc.C (dispatch): no need to remove spaces around command
7693         given as a string
7694         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7695         first command of the sequence; it is not very clever, but I do not
7696         have a better idea, actually
7697
7698         * LyXAction.C (LookupFunc): make sure to remove space at the
7699         beginning and end of the command
7700
7701 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * MenuBackend.C (getMenubar): new method: return the menubar of
7704         this menu set
7705         (read): treat differently reading of menu and menubar (in
7706         particular, the menubar has no name now)
7707         (Menu::menubar): remove
7708
7709         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7710         saving is finished
7711
7712 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7713
7714         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7715         a bibitem inset in a RTL paragraph.
7716
7717 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7718
7719         * paragraph_pimpl.C: constify
7720
7721         * BufferView_pimpl.C:
7722         * LaTeX.C:
7723         * lyxfunc.C: fix dispatch in a nicer way
7724
7725 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7726
7727         * lyxfunc.C (dispatch):
7728         * BufferView_pimpl.C:
7729         * BufferView_pimpl.h:
7730         * BufferView.C:
7731         * BufferView.h: rename Dispatch() to dispatch()
7732
7733         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7734
7735         * lyxlayout.C (Read): honor DependsOn tag
7736
7737         * lyxlayout.[Ch] (depends_on): new method
7738
7739         * version.C.in: update lyx_docversion
7740
7741         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7742
7743         * paragraph.C (validate): remove from here...
7744         * paragraph_pimpl.C (validate): ... and move here
7745         (isTextAt): make it const
7746
7747         * buffer.C (getLists): ws cleanup
7748
7749 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7750
7751         * language.C (read): Use iso8859-1 encoding in latex_lang
7752         (this prevents LyX from crashing when using iso10646-1 encoding).
7753
7754 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7755
7756         * text2.C (toggleInset): if cursor is inside an inset, close the
7757         inset and leave cursor _after_ it
7758
7759 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * lyxfunc.C: move minibuffer completion handling out of here
7762
7763 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7764
7765         * BufferView_pimpl.C:
7766         * LaTeX.C: fix dispatch calls
7767
7768 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7769
7770         * text.C (drawChars): Fix Arabic text rendering.
7771
7772 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * LyXAction.C:
7775         * commandtags.h:
7776         * lyxfunc.C: remove message-push/pop
7777
7778         * lyxserver.C:
7779         * lyxfunc.h:
7780         * lyxfunc.C: rationalise some code by removing verboseDispatch
7781           in favour of a bool argument to dispatch()
7782
7783 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7784
7785         * lyx_main.C (init): make sure to read symlinks as absolute paths
7786
7787 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7788
7789         * lyxfunc.h:
7790         * lyxfunc.C: no need for commandshortcut to be a member
7791
7792 2002-07-15  André Pönitz <poenitz@gmx.net>
7793
7794         * converter.C: add support for $$s (scripts from lib/scripts dir)
7795         * lyx_main.C: white space
7796
7797 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7798
7799         * bufferlist.C:
7800         * lyxrc.h:
7801         * lyxrc.C: remove second exit confirmation
7802
7803 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * BufferView.h:
7806         * BufferView.C:
7807         * BufferView2.C:
7808         * BufferView_pimpl.h:
7809         * BufferView_pimpl.C:
7810         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7811
7812 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7813
7814         * MenuBackend.C (expand): add numeric shortcuts to document menu
7815
7816         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7817
7818 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7819
7820         * lyxfont.C (setLyXFamily):
7821         (setLyXSeries):
7822         (setLyXShape):
7823         (setLyXSize):
7824         (setLyXMisc):
7825         (lyxRead):
7826         * debug.C (value):
7827         * buffer.C (asciiParagraph): use ascii_lowercase
7828
7829 2002-07-15  Mike Fabian  <mfabian@suse.de>
7830
7831         * lyxlex_pimpl.C (search_kw):
7832         * lyxlex.C (getLongString):
7833         * converter.h (operator<):
7834         * converter.C (operator<):
7835         * buffer.C (parseSingleLyXformat2Token):
7836         (asciiParagraph):
7837         * ToolbarDefaults.C (read):
7838         * MenuBackend.C (checkShortcuts):
7839         (read):
7840         * LColor.C (getFromGUIName):
7841         (getFromLyXName): use the compare_ascii_no_case instead of
7842         compare_no_case, because in turkish, 'i' is not the lowercase
7843         version of 'I', and thus turkish locale breaks parsing of tags.
7844
7845 2002-07-16  Angus Leeming  <leeming@lyx.org>
7846
7847         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7848         now takes a Buffer const & argument.
7849
7850 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * BufferView.C (resize): check there's a buffer to resize
7853
7854 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * lyxfunc.C: remove dead code
7857
7858         * lyxserver.h:
7859         * lyxserver.C: use lyx_guii::set_read_callback
7860
7861 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7862
7863         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7864         an inset in a RTL paragraph.
7865
7866 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7867
7868         * lyxfunc.C: repaint after a font size update
7869
7870 2002-07-15  André Pönitz <poenitz@gmx.net>
7871
7872         * lyxlength.C: inBP should be able to return negative values
7873
7874 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7875
7876         * lyxfunc.C: use lyx_gui::update_fonts()
7877
7878 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7879
7880         * lyxfunc.C: use lyx_gui::update_color()
7881
7882 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7883
7884         * bufferlist.C:
7885         * lyxfunc.h:
7886         * lyxfunc.C:
7887         * lyxrc.h:
7888         * lyxrc.C: remove file->new asks for name option, and let
7889           buffer-new take an argument
7890
7891 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7892
7893         * BufferView_pimpl.C: remove unneeded extra repaint()
7894
7895 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * LyXAction.C: allow command-sequence with NoBuffer
7898
7899         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7900
7901 2002-07-10  Angus Leeming  <leeming@lyx.org>
7902
7903         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7904
7905 2002-07-09  Angus Leeming  <leeming@lyx.org>
7906
7907         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7908
7909 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * lengthcommon.h: whitespace
7912
7913         * lyxfunc.C: update scrollbar after goto paragraph
7914
7915         * lyxtext.h: factor out page break drawing, and fix it so
7916           page break/added space paints as selected nicely
7917
7918 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * BufferView_pimpl.C: add FIXMEs, clean up a little
7921
7922 2002-07-09  André Pönitz <poenitz@gmx.net>
7923
7924         * lyxfont.[Ch]: support for wasy symbols
7925
7926 2002-07-08  André Pönitz <poenitz@gmx.net>
7927
7928         * BufferView_pimpl.C: apply John's patch for #93.
7929
7930 2002-07-05  Angus Leeming  <leeming@lyx.org>
7931
7932         * BufferView_pimpl.C (buffer): generate previews if desired.
7933
7934         * LColor.h: add "preview" to the color enum.
7935
7936         * LColor.C (LColor): add a corresponding entry to the items array.
7937
7938         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7939         with this buffer.
7940
7941 2002-07-05  Angus Leeming  <leeming@lyx.org>
7942
7943         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7944         The body of the code is now in the method that is passed an ostream &
7945         rather than a file name.
7946         Pass an additional only_preamble parameter, useful for the forthcoming
7947         preview stuff.
7948
7949 2002-07-03  André Pönitz <poenitz@gmx.net>
7950
7951         * lyxfunc.C: simplify getStatus() a bit for math stuff
7952
7953 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7954
7955         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7956
7957 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * text.C (changeRegionCase): do not change case of all the
7960         document when region ends at paragraph end (bug #461)
7961
7962 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7963
7964         * paragraph.C (startTeXParParams):
7965         (endTeXParParams): add \protect when necessary
7966
7967 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7968
7969         * BufferView_pimpl.C (workAreaExpose): remove warning
7970
7971 2002-06-27  Angus Leeming  <leeming@lyx.org>
7972
7973         * Makefile.am: add lyxlayout_ptr_fwd.h.
7974
7975 2002-06-26  André Pönitz <poenitz@gmx.net>
7976
7977         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7978
7979 2002-06-25  Angus Leeming  <leeming@lyx.org>
7980
7981         * lyxfunc.C (dispatch): Comment out the call to
7982         grfx::GCache::changeDisplay. The method no longer exists now that the
7983         pixmap generation part of the graphics loader has been moved into
7984         InsetGraphics.
7985
7986 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7987
7988         * text2.C: layout as layout
7989
7990         * text.C: layout as layout
7991
7992         * tabular.C (OldFormatRead): layout as layout
7993
7994         * paragraph_pimpl.C (TeXDeeper): layout as layout
7995         (realizeFont): layout as layout
7996
7997         * paragraph.C (writeFile): layout as layout
7998         (validate): layout as layout
7999         (getFont): layout as layout
8000         (getLabelFont): layout as layout
8001         (getLayoutFont): layout as layout
8002         (breakParagraph): layout as layout
8003         (stripLeadingSpaces): layout as layout
8004         (getEndLabel): layout as layout
8005         (getMaxDepthAfter): layout as layout
8006         (applyLayout): layout as layout
8007         (TeXOnePar): layout as layout
8008         (simpleTeXOnePar): layout as layout
8009         (TeXEnvironment): layout as layout
8010         (layout): layout as layout
8011         (layout): layout as layout
8012
8013         * lyxtextclass.C (compare_name): new functor to work with
8014         shared_ptr, layout as layout
8015         (Read): layout as layout
8016         (hasLayout): layout as layout
8017         (operator): layout as layout
8018         (delete_layout): layout as layout
8019         (defaultLayout): layout as layout
8020
8021         * lyxlayout_ptr_fwd.h: new file
8022
8023         * lyxlayout.C (Read): layout as layout
8024
8025         * lyx_cb.C (MenuInsertLabel): layout as layout
8026
8027         * bufferlist.C (newFile): layout as layout
8028
8029         * buffer.C (readLyXformat2): layout as layout
8030         (parseSingleLyXformat2Token): layout as layout
8031         (insertStringAsLines): layout as layout
8032         (asciiParagraph): layout as layout
8033         (latexParagraphs): layout as layout
8034         (makeLinuxDocFile): layout as layout
8035         (simpleLinuxDocOnePar): layout as layout
8036         (makeDocBookFile): layout as layout
8037         (simpleDocBookOnePar): layout as layout
8038         (getLists): layout as layout
8039
8040         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8041
8042         * CutAndPaste.C (cutSelection): layout as layout
8043         (pasteSelection): layout as layout
8044         (SwitchLayoutsBetweenClasses): layout as layout
8045
8046         * BufferView_pimpl.C (Dispatch): layout as layout
8047         (smartQuote): layout as layout
8048
8049         * BufferView2.C (unlockInset): layout as layout
8050
8051 2002-06-24  André Pönitz <poenitz@gmx.net>
8052
8053         * lyxfunc.C: fix #487
8054
8055 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * lyxrc.h:
8058         * lyxrc.C:
8059         * lyxfunc.C: remove display_shortcuts, show_banner
8060
8061 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8062
8063         * Buffer_pimpl.C: oops, update on resize
8064
8065 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * buffer.C:
8068         * converter.C:
8069         * exporter.C:
8070         * lyxfunc.C:
8071         * BufferView.h:
8072         * BufferView.C: use repaint()
8073
8074         * BufferView_pimpl.h:
8075         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8076           as it's a clearer description. Remove superfluous
8077           redraws.
8078
8079 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8080
8081         * text.C: fix bug 488. Not ideal, but getting
8082           getWord() to work properly for the insets that
8083           matter is more difficult ...
8084
8085 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8086
8087         * BufferView_pimpl.C:
8088         * LyXAction.C:
8089         * commandtags.h:
8090         * lyxfunc.C: remove the six million index lyxfuncs to just
8091           one, and DTRT (bug 458)
8092
8093 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * BufferView.h:
8096         * BufferView.C:
8097         * BufferView_pimpl.h:
8098         * BufferView_pimpl.C: clean up resize() stuff,
8099           and unnecessary updateScreen()s
8100
8101 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * BufferView.h:
8104         * BufferView.C:
8105         * BufferView_pimpl.h:
8106         * BufferView_pimpl.C:
8107         * lyxfind.h:
8108         * lyxfind.C:
8109         * minibuffer.C: remove focus management of workarea,
8110           not needed. Use screen's greyOut()
8111
8112 2002-06-17  Herbert Voss  <voss@lyx.org>
8113
8114         * converter.C: (convert) do not post a message, when converting
8115         fails, let the calling function decide what to do in this case
8116
8117 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * lyxfunc.C: tidy up a little
8120
8121 2002-06-16    <alstrup@diku.dk>
8122
8123         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8124         Got rid of FORMS_H_LOCATION include. Now we are
8125         GUII.
8126
8127 2002-06-15  LyX Development team  <lyx@rilke>
8128
8129         * buffer.[Ch] (sgmlOpenTag):
8130         (sgmlCloseTag): Added support for avoiding pernicious mixed
8131         content. Return number of lines written.
8132
8133         (makeLinuxDocFile):
8134         (makeDocBookFile): Fixed calls to sgml*Tag.
8135         Simple white space clean.
8136
8137         (simpleDocBookOnePar): Simple white space clean.
8138
8139         * tabular.[Ch] (docBook): Renamed to docbook and got another
8140         argument to related with the pernicious mixed content.
8141
8142         (docbookRow): Fixed calls for docbook inset method.
8143
8144 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8145
8146         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8147         so it's X11 independent.
8148
8149         * kb*.[Ch]: ditto.
8150
8151         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8152
8153 2002-06-15  Lyx Development team  <lyx@electronia>
8154
8155         * intl.h: Renamed getTrans to getTransManager.
8156
8157 2002-06-14  Angus Leeming  <leeming@lyx.org>
8158
8159         * Makefile.am: nuke forgotten stl_string_fwd.h.
8160
8161 2002-06-12  Angus Leeming  <leeming@lyx.org>
8162
8163         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8164
8165 2002-06-13  Angus Leeming  <leeming@lyx.org>
8166
8167         * LaTeX.C:
8168         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8169
8170 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8171
8172         * kbmap.C (getiso): add support for cyrillic and greek
8173
8174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * BufferView.h:
8177         * BufferView.C:
8178         * BufferView_pimpl.h:
8179         * BufferView_pimpl.C: move bogus scrolling logic
8180           to xforms
8181
8182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * lyxfunc.C:
8185         * BufferView_pimpl.C: view->resize() change
8186
8187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * BufferView_pimpl.C: topCursorVisible
8190           prototype change
8191
8192 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8193
8194         * Makefile.am:
8195         * lyx_gui.h:
8196         * lyx_gui.C: move to frontends/
8197
8198         * main.C:
8199         * lyx_main.h:
8200         * lyx_main.C: changes from above
8201
8202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * intl.C:
8205         * intl.h:
8206         * kbmap.C:
8207         * kbsequence.C:
8208         * lyx_cb.C:
8209         * lyx_main.C: minor tidy
8210
8211 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8212
8213         * BufferView_pimpl.h:
8214         * BufferView_pimpl.C:
8215         * BufferView.h:
8216         * BufferView.C: make painter() const,
8217           remove dead code
8218
8219         * BufferView2.C: use screen() accessor
8220
8221         * lyx_main.h:
8222         * lyx_main.C: some minor cleanup
8223
8224 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8225
8226         * BufferView_pimpl.h:
8227         * BufferView_pimpl.C: remove enter/leaveView,
8228           use workHeight()
8229
8230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * BufferView.h:
8233         * BufferView.C:
8234         * BufferView2.C:
8235         * BufferView_pimpl.h:
8236         * BufferView_pimpl.C: only construct screen once,
8237           rename
8238
8239         * lyxrc.C: remove pointless comment
8240
8241 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8242
8243         * BufferView.h:
8244         * BufferView.C: remove active() and belowMouse()
8245
8246         * BufferView_pimpl.h:
8247         * BufferView_pimpl.C: use workarea() not workarea_,
8248           and make it use a scoped_ptr instead
8249
8250 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8251
8252         * lyx_gui.C: add debug message on BadWindow
8253
8254 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8255
8256         * sp_spell.C: fdopen is not part of the C++ standard.
8257
8258         * paragraph.C (InsetIterator): use >= instead of ==
8259
8260 2002-06-07  Angus Leeming  <leeming@lyx.org>
8261
8262         Fixes needed to compile with Compaq cxx 6.5.
8263         * BufferView_pimpl.C:
8264         * DepTable.C:
8265         * buffer.C:
8266         * converter.C:
8267         * encoding.C:
8268         * lyx_gui.C:
8269         * lyx_main.C:
8270         * lyxtextclasslist.C:
8271         * minibuffer.C:
8272         * sp_spell.C:
8273         * tabular_funcs.C:
8274         * vc-backend.C:
8275         all c-library variables have been moved into namespace std. Wrap
8276         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8277
8278         * lyxlength.C:
8279         * tabular-old.C:
8280         * tabular.C:
8281         Add a using std::abs declaration.
8282
8283         * kbmap.h (modifier_pair):
8284         * paragraph.h (InsetTable, InsetList):
8285         * lyxfont.h (FontBits):
8286         type definition made public.
8287
8288         * bufferlist.C (emergencyWriteAll): the compiler complains that
8289         there is more than one possible lyx::class_fun template to choose from.
8290         I re-named the void specialisation as lyx::void_class_fun.
8291
8292         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8293
8294         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8295         the compiler is is unable to find tostr in write_attribute.
8296
8297 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8298
8299         * buffer.C (sgmlError): hide #warning
8300
8301 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8302
8303         * xtl/*: get rid of xtl, which is not in use anyway
8304
8305         * LyXAction.C (init):
8306         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8307         were unimplemented xtl experimentation
8308
8309 2002-06-04  André Pönitz <poenitz@gmx.net>
8310
8311         * lyxfunc.C: disable array operation on simple formulae
8312
8313 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8314
8315         * converter.C: constify a bit
8316
8317 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8318
8319         * lyx_gui.C: check xforms version correctly
8320
8321 2002-04-30  Herbert Voss  <voss@lyx.org>
8322
8323         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8324         "keep" option
8325
8326 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8327
8328         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8329           attempt to register it with a VCS)
8330
8331 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8332
8333         * lyx_main.C (init): honor variables LYX_DIR_13x and
8334         LYX_USERDIR_13x
8335
8336 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8337
8338         * buffer.h:
8339         * buffer.C:
8340         * lyx_main.C: fix a crash on bad command line,
8341           and give a useful exit status on error
8342
8343         * lyxfunc.C (doImport): allow -i lyx to work
8344
8345 2002-03-30  André Pönitz <poenitz@gmx.net>
8346
8347         * lyxfunc.C: mathed font changes
8348
8349 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8350
8351         * LaTeX.C:
8352         * importer.h:
8353         * importer.C:
8354         * lyx_sty.h:
8355         * lyx_sty.C:
8356         * lyxlex.C:
8357         * lyxrow.h:
8358         * lyxtext.h:
8359         * paragraph.h:
8360         * paragraph.C:
8361         * texrow.h:
8362         * texrow.C:
8363         * text.C:
8364         * trans_mgr.h: srcdocs, and some minor cleanups
8365
8366 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8367
8368         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8369         call getFont all the time)
8370
8371 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8372
8373         * switch from SigC signals to boost::signals
8374
8375 2002-05-29  André Pönitz <poenitz@gmx.net>
8376
8377         * paragraph_pimpl.C (getChar): don't call size() too often...
8378
8379 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * paragraph_pimpl.C (insertChar): do not try to update tables when
8382         appending (pos == size())
8383
8384         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8385         in order to reduce drastically the number of comparisons needed to
8386         parse a large document
8387
8388 2002-05-29  André Pönitz <poenitz@gmx.net>
8389
8390         * text.C:
8391         * text2.C:
8392         * lyxtextclass.C:
8393         * sp_pspell.h:
8394         * textclasslist.[Ch]:
8395         * sp_ispell.h: whitespace change
8396
8397 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8400         lyxaction directly now.
8401
8402 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * trans.C:
8405         * lyxfont.C:
8406         * lyxvc.C: remove unused headers
8407
8408 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8409
8410         * Makefile.am:
8411         * buffer.h:
8412         * undostack.h:
8413         * undostack.C:
8414         * undo_funcs.h:
8415         * undo_funcs.C: some cleanups. Use shared_ptr
8416           and a template for the undo stacks.
8417
8418 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8419
8420         * BufferView_pimpl.h:
8421         * BufferView_pimpl.C:
8422         * kbmap.h:
8423         * kbmap.C:
8424         * kbsequence.h:
8425         * kbsequence.C:
8426         * lyxfunc.h:
8427         * lyxfunc.C:
8428         * text2.C: use key_state/mouse_state
8429
8430 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8431
8432         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8433         and LSubstring
8434
8435         * chset.C: change include order
8436         (loadFile): use boost regex and get rid of LRegex and LSubstring
8437
8438         * Makefile.am (BOOST_LIBS): new variable
8439         (lyx_LDADD): use it
8440
8441         * LaTeX.C: change include order.
8442         (scanAuxFile): use boost regex and get rid of LRegex and
8443         LSubstring
8444         (deplog): ditto
8445
8446 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8447
8448         * ColorHandler.h:
8449         * ColorHandler.C:
8450         * FontInfo.h:
8451         * FontInfo.C: moved to frontends/xforms/
8452
8453         * FontLoader.h:
8454         * FontLoader.C: moved into frontends for GUIIzation
8455
8456         * Makefile.am:
8457         * lyx_gui.C:
8458         * lyxfont.C:
8459         * lyxfunc.C: changes from above
8460
8461 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * LColor.C: remove spurious X include
8464
8465         * BufferView_pimpl.C:
8466         * Makefile.am:
8467         * font.h:
8468         * font.C:
8469         * text.C:
8470         * text2.C: move font metrics to frontends/
8471
8472 2002-05-24  Juergen Vigna  <jug@sad.it>
8473
8474         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8475         setting the undo_cursor.
8476
8477         * ParagraphParameters.h: include local includes first.
8478
8479 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * BufferView_pimpl.C:
8482         * BufferView_pimpl.h:
8483         * Makefile.am:
8484         * WorkArea.h:
8485         * WorkArea.C:
8486         * screen.C: move WorkArea into frontends/
8487
8488         * lyxscreen.h:
8489         * screen.C:
8490         * text.C:
8491         * BufferView.C:
8492         * BufferView2.C: move LyXScreen into frontends/
8493
8494         * lyxlookup.h:
8495         * lyxlookup.C:
8496         * lyx_gui.C: move lyxlookup into frontends/xforms/
8497
8498 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * BufferView2.C:
8501         * BufferView_pimpl.C:
8502         * FontLoader.C:
8503         * LyXView.h:
8504         * LyXView.C:
8505         * Makefile.am:
8506         * WorkArea.C:
8507         * XFormsView.h:
8508         * XFormsView.C:
8509         * buffer.C:
8510         * bufferlist.C:
8511         * bufferview_funcs.C:
8512         * converter.C:
8513         * importer.C:
8514         * lyx_cb.C:
8515         * lyx_gui.C:
8516         * lyx_main.C:
8517         * lyx_find.C:
8518         * lyxfunc.C:
8519         * lyxvc.C:
8520         * minibuffer.C:
8521         * text.C:
8522         * text2.C:
8523         * trans.C:
8524         * vc-backend.C: move LyX/XFormsView into frontends/
8525
8526 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * Makefile.am:
8529         * PainterBase.C:
8530         * PainterBase.h:
8531         * Painter.C:
8532         * Painter.h:
8533         * WorkArea.C:
8534         * WorkArea.h:
8535         * screen.C:
8536         * tabular.C:
8537         * text.C:
8538         * text2.C: move Painter to frontends/
8539
8540 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8541
8542         * buffer.C: comment out some some code that depend upon lyx_format
8543         < 220
8544
8545         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8546         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8547
8548         * buffer.h (NO_COMPABILITY): turn off compability
8549
8550         * ColorHandler.C: include scoped_array.hpp
8551
8552         * font.C: Use more specific smart_ptr header.
8553         * Painter.C: ditto
8554         * gettext.C: ditto
8555         * ShareContainer.h: ditto
8556         * lyx_main.h: ditto
8557         * kbmap.h: ditto
8558         * FontInfo.h: ditto
8559         * BufferView_pimpl.h: ditto
8560         * ColorHandler.h: ditto
8561
8562         * kbmap.C (defkey): change call to shared_ptr::reset
8563
8564 2002-05-21  Juergen Vigna  <jug@sad.it>
8565
8566         * buffer.C (insertErtContents): fix to insert ert asis if it is
8567         non empty. Skip it completely if it contains only whitespaces.
8568
8569 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * BufferView_pimpl.C:
8572         * BufferView2.C: clear selection on paste (bug 393)
8573
8574 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8575
8576         * DepTable.C: include ctime
8577
8578 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8579
8580         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8581
8582 2002-05-14  Juergen Vigna  <jug@sad.it>
8583
8584         * text.C (breakParagraph): fixed function to honor the keepempty
8585         layout in the right maner and also to permit the right breaking
8586         algorithm on empty or non empyt keepempty paragraphs.
8587
8588         * paragraph.C (breakParagraph): we have to check also if the par
8589         is really empty (!size()) for isempty otherwise we do the wrong
8590         paragraph break.
8591
8592 2002-05-10  Juergen Vigna  <jug@sad.it>
8593
8594         * buffer.[Ch] : The following are only changes to the ert
8595         compatibility read reading old LaTeX layout and font stuff and
8596         convert it to ERTInsets.
8597
8598         * buffer.h: added isErtInset().
8599
8600         * buffer.C (struct ErtComp): add a fromlayout bool to check
8601         if we're inside a LaTeX layout.
8602         (isErtInset): new helper function.
8603         (insertErtContents): look for other ert insets before this one
8604         and insert the contents there, so that we don't have subsequent
8605         ERT insets with nothing between them. This way we create only one
8606         inset with multiple paragraphs. Also check if we don't insert only
8607         spaces ' ' as they are ignored anyway afterwards in the .tex file
8608         so if we have only spaces we will ignore this latex part in the
8609         new file.
8610         (parseSingleLyXformat2Token \\layout): better compatibility when
8611         reading layout-latex stuff.
8612         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8613         language tag.
8614         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8615         stuff after reading the inset only get the information back from
8616         the stack.
8617
8618 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8619
8620         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8621
8622         * LaTeXFeatures.C (getBabelOptions): New method.
8623
8624 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8625
8626         * BufferView_pimpl.C (Dispatch): work around missing argument for
8627         'layout'
8628
8629 2002-05-08  Juergen Vigna  <jug@sad.it>
8630
8631         * text.C (leftMargin): handle paragraph leftindent.
8632
8633         * paragraph.C (writeFile): write the new \\leftindent tag.
8634         (validate): handle leftindent code.
8635         (TeXEnvironment): handle paragraphleftindent code again.
8636
8637         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8638
8639         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8640         for paragrap_extra indent code and new token \\leftindent.
8641         (latexParagraphs): handle the leftindent as environment.
8642
8643         * ParameterStruct.h: added leftindent support.
8644
8645         * ParagraphParameters.C (leftIndent): added support functions for
8646         the paragraph left indent.
8647
8648         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8649         more appropriate.
8650
8651 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8654         inside insetERT.
8655
8656         * text.C (computeBidiTables): No bidi in insetERT.
8657
8658         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8659         in RTL documents.
8660
8661 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8662
8663         * version.C.in: pre 5
8664
8665 2002-05-02  José Matos  <jamatos@fep.up.pt>
8666         * buffer.C (makeDocBookFile): white space changes, add newline to
8667         command styles.
8668         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8669
8670         * tabular.C (docBook): fix typo.
8671
8672 2002-05-03  Juergen Vigna  <jug@sad.it>
8673
8674         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8675         change in LyXText as we can not be sure it was not freed.
8676         (drawOneRow): remove unused code.
8677
8678         * text.C (drawInset): redo the calculation of the need_break_row as
8679         it could have a row which was already freed.
8680         (draw): look at the return value of drawInset and return false if
8681         it also returned false.
8682         (paintRowText): look at the return value of draw and return false if
8683         it also returned false.
8684
8685         * lyxtext.h: added bool return type to drawInset() and draw() so that
8686         if we have a change in the row so that the rowbreak has to be redone
8687         we abort drawing as it will be called again.
8688
8689 2002-05-02  Juergen Vigna  <jug@sad.it>
8690
8691         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8692         a change in the maintext also if we're inside an inset.
8693         (Dispatch): set the cursor again after a break line and after the
8694         screen has been updated as it could be we're in a different row.
8695
8696         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8697         to set the cursor behind the pargraph with > size().
8698         (setCursor): check also for the same paragraph when checking where
8699         to put the cursor if we have a NFR inset.
8700
8701         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8702         parts of layout read further up as it still was in the wrong
8703         position.
8704
8705 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * screen.C (drawFromTo): change sine fullRebreak always return
8708         true.
8709
8710         * buffer.C (parseSingleLyXformat2Token): reindent some
8711
8712         * BufferView_pimpl.C (update): change since fullRebreak always
8713         return true.
8714         (Dispatch): git rid of the last hardcoded "Standard"s.
8715
8716 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8717
8718         * text2.[Ch] (fullRebreak): make it return void now that we always
8719         returned true.
8720
8721 2002-04-30  Juergen Vigna  <jug@sad.it>
8722
8723         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8724         ert compatibility check for "latex" layout.
8725
8726 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8727
8728         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8729         minipages: use col% instead of p%, and also use the current font.
8730         (makeLaTeXFile): Fix use babel condition.
8731         (parseSingleLyXformat2Token): Correct font when reading old floats.
8732
8733 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8734
8735         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8736         inserting list of floats.
8737
8738 2002-04-25  Herbert Voss  <voss@lyx.org>
8739
8740         * MenuBackend.C (expand): don't add the graphics extensions to the
8741         export menu
8742
8743 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8746         non-existing layout, do not complain if it was the default layout
8747         of the original class (bug #342)
8748
8749 2002-04-24  Juergen Vigna  <jug@sad.it>
8750
8751         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8752         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8753
8754 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8755
8756         * buffer.C (getBibkeyList): If using \bibliography, return the
8757         option field with the reference itself. Enables us to provide natbib
8758         support when using \bibliography.
8759
8760 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8761
8762         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8763
8764         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8765         natbib is provided by the LaTeX class.
8766
8767 2002-04-23  Juergen Vigna  <jug@sad.it>
8768
8769         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8770         Wakeup functions.
8771
8772         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8773
8774 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8775
8776         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8777
8778         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8779         ensuremath around textordmasculine, textordfeminine and
8780         textdegree.
8781
8782 2002-04-19  Juergen Vigna  <jug@sad.it>
8783
8784         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8785         reinitializing the buffer otherwise row-dimensions may be wrong.
8786         (update): reset also the selection cursors if they do exits otherwise
8787         their x/y positions may be wrong.
8788
8789         * text2.C (cursorDown): don't enter the inset if we came from a row
8790         above and are one row over the inset.
8791
8792         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8793         really leaving an inset.
8794
8795 2002-04-18  Juergen Vigna  <jug@sad.it>
8796
8797         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8798         of the selected paragraph does not have the selected layout also if
8799         the last one had!
8800
8801         * text2.C (setLayout): fixed bug which did not change last selected
8802         paragraph.
8803
8804         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8805         changed the read and substituted \\end_float with \\end_inset!
8806
8807         * BufferView_pimpl.C (cursorPrevious):
8808         (cursorNext): fixed to make it work with rows heigher than the work
8809         area without moving the cursor only the draw of the row.
8810         (workAreaMotionNotify): fix jumping over high rows.
8811
8812 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8815         Ressler.
8816
8817 2002-04-16  Juergen Vigna  <jug@sad.it>
8818
8819         * text2.C (setCursor): set also the irow().
8820         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8821         (cursorUp):
8822         (cursorDown): support for locking an inset if the x_fix value goes
8823         inside it. That way I can transverse insets too with cursor up/down.
8824
8825         * lyxrow.h: added irow helper function same as other (i) functions.
8826
8827         * BufferView_pimpl.C (cursorPrevious):
8828         (cursorNext): fixed for insets!
8829
8830 2002-04-15  Juergen Vigna  <jug@sad.it>
8831
8832         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8833         position otherwise it is wrong in some cases.
8834
8835         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8836         inside the inset before the call.
8837
8838 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8839
8840         * buffer.[Ch] (getBibkeyList): make it const.
8841
8842 2002-04-12  Juergen Vigna  <jug@sad.it>
8843
8844         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8845
8846         * text2.C (getCursorX): new helper function
8847         (setCursor): compute also ix_
8848         (setCursorFromCoordinates): set also ix.
8849
8850         * lyxcursor.h: added ix_ and helper functions.
8851
8852         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8853
8854         * buffer.C (insertStringAsLines): dont break paragraph if the this
8855         paragraph is inside an inset which does not permit it!
8856
8857         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8858         also with no chars on this paragraph.
8859         (paintRowText): only paint stuff if it's inside the workarea!
8860
8861         * paragraph.C (breakParagraph): honor keepempty flag and break the
8862         paragraph always below not above.
8863
8864         * BufferView2.C (unlockInset): update the paragraph layout on inset
8865         unlock as we changed paragraph in such a case.
8866
8867         * lyxfind.C (LyXFind): clear the former selection if not found!
8868
8869         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8870         again called in insertChar().
8871
8872         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8873         an inset which uses the whole row!
8874         (rightMargin): ditto.
8875         (insertChar): force a rebreak if we inserted an inset!
8876
8877 2002-03-28  Herbert Voss  <voss@lyx.org>
8878
8879         * lyxlength.[Ch]: add inBP() to get the right PS-point
8880         units (BigPoint). With inPixels we have rounding errors
8881
8882 2002-04-11  Juergen Vigna  <jug@sad.it>
8883
8884         * text2.C (setCursorFromCoordinates): set iy to the right value.
8885         (setCursor): add check if row->previous exists!
8886
8887         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8888         an old float_type as this was the case in the old code!
8889
8890         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8891
8892         * BufferView2.C (showLockedInsetCursor): use iy
8893         (fitLockedInsetCursor): ditto
8894
8895         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8896         locked insets as there we have the right value now.
8897
8898         * lyxcursor.C: added iy_ variable and iy functions to set to the
8899         baseline of cursor-y of the locked inset.
8900
8901         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8902         (setCursor): fixed for insets which need a full row.
8903
8904         * text.C (rowLastPrintable): don't ignore the last space when before
8905         an inset which needs a full row.
8906         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8907         as last character of a row when before a inset which needs a full row.
8908
8909 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8910
8911         * version.C.in: update date
8912
8913         * text2.C (fullRebreak): try to always return true and see what
8914         happens...
8915
8916 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * MenuBackend.C (expand): use Floating::listName
8919
8920         * FloatList.C (FloatList): add listName argument to the built-in
8921         floats
8922
8923         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8924         text associated with the float.
8925
8926 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8927
8928         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8929
8930 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * ShareContainer.h: add a couple of missing typenames.
8933
8934 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8935
8936         * lyxrc.C (getDescription): use _() correctly rather than N_().
8937
8938 2002-03-28  Herbert Voss  <voss@lyx.org>
8939
8940         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8941         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8942
8943 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8944
8945         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8946         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8947
8948 2002-03-29  Juergen Vigna  <jug@sad.it>
8949
8950         * lyxfunc.C (dispatch): add a missing fitCursor call.
8951
8952         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8953         it was scrolled by a cursor move, so return the bool status.
8954
8955         * BufferView.C (fitCursor): return the bool flag also to the outside
8956         world as this is needed.
8957
8958         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8959
8960         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8961         call the edit() as it is not needed (and wrong) IMO.
8962         (workAreaButtonPress): set the screen_first variable before evt.
8963         unlock the inset as this may change screen_first and then we have
8964         a wrong y position for the click!
8965
8966 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8967
8968         * MenuBackend.C (expand): another translation that I missed
8969
8970 2002-03-28  Juergen Vigna  <jug@sad.it>
8971
8972         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8973
8974         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8975
8976 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8977
8978         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8979
8980         * MenuBackend.C (expand): fix export/view/update when there is no
8981         document open.
8982
8983 2002-03-27  Herbert Voss  <voss@lyx.org>
8984
8985         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8986         and text%
8987
8988 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * bufferview_funcs.C (currentState): only show paragraph number
8991         for is DEVEL_VERSION is set.
8992
8993         * lyxfunc.C (dispatch): put warning in INFO channel
8994
8995         * MenuBackend.C (expand): translate the name of floats
8996
8997         * FloatList.C (FloatList): mark the float names for translation
8998
8999         * converter.C (convert): use LibScriptSearch
9000
9001 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * MenuBackend.C (defaults): fix default menu (we might as well get
9004         rid of it...)
9005
9006 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9007
9008         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9009         directory.
9010
9011 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9012
9013         * lyxvc.C: reorder includes.
9014
9015 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9018           properly
9019
9020 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * CutAndPaste.C: change layouts earlier on paste
9023           to avoid crashing when calling getFont()
9024
9025 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9026
9027         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9028         irritating #error.
9029
9030 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * WorkArea.C: remove 'Pending' debug message.
9033
9034         * most files: ws cleanup
9035
9036         * buffer.[Ch]: ws changes
9037
9038         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9039
9040 2002-03-21  Juergen Vigna  <jug@sad.it>
9041
9042         * tabular.C (SetMultiColumn): collapse also the contents of the
9043         cells and set the last border right. Added a Buffer const * param.
9044
9045 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9046
9047         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9048         linking or not.
9049
9050 2002-03-19  Juergen Vigna  <jug@sad.it>
9051
9052         * text2.C (clearSelection): reset also xsel_cache.
9053
9054         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9055         where it needs to be called (John tells us to do so too :)
9056         (selectionLost): reset sel_cache.
9057
9058         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9059
9060 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9061
9062         * text2.C (setCursorIntern): put debuging code in INSETS channel
9063
9064 2002-03-19  André Pönitz <poenitz@gmx.net>
9065
9066         * lyxfunc.C: tiny whitespace change
9067
9068 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * ToolbarDefaults.C (init):
9071         * LyXAction.C (init):
9072         * commandtags.h:
9073         * BufferView_pimpl.C (Dispatch):
9074         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9075
9076 2002-03-19  Allan Rae  <rae@lyx.org>
9077
9078         * exporter.C (Export): removeAutoInsets before doing anything else.
9079         While I've just introduced a dependency on BufferView this really is
9080         the best place to clean the buffer otherwise you need to cleanup in
9081         a dozen places before calling export or cleanup in a dozen functions
9082         that export calls.
9083
9084         * converter.C (runLaTeX):
9085         (scanLog): Better handling of removeAutoInsets and screen updates.
9086
9087         * lyxfunc.C (dispatch): small whitespace changes
9088
9089 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9090
9091         * WorkArea.C (C_WorkAreaEvent): return a value.
9092         (event_cb): return 1 if we handled the event, 0 otherwise.
9093
9094         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9095
9096 2002-03-18  Juergen Vigna  <jug@sad.it>
9097
9098         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9099         (GetAdditionalWidth): ditto.
9100         (RightLine): ditto.
9101         (LeftLine): ditto.
9102
9103         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9104         inset if we're there actually (probably not used right now but this
9105         is the direction to go for unifying code).
9106         (paste): disable code to clear the selection.
9107
9108         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9109         inside an InsetText and move the check further up as it is in the
9110         wrong place.
9111
9112         * text2.C (pasteSelection): set a selection over the pasted text.
9113
9114 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9115
9116         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9117         and libgraphics to build on Cygwin.
9118
9119 2002-03-15  Juergen Vigna  <jug@sad.it>
9120
9121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9122         inserting an Inset into the paragraph. I know this is not the best
9123         fix but we already use current_view in CutAndPaste so we will remove
9124         all of it's using at the same time.
9125
9126         * buffer.C (sgmlError): deactivated function till it is rewritten in
9127         the right mode, now it can create problems.
9128
9129         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9130         before accessing it.
9131
9132 2002-03-14  Juergen Vigna  <jug@sad.it>
9133
9134         * undo_funcs.C (textHandleUndo): do the right thing when updating
9135         the inset after the undo/redo.
9136
9137         * text2.C (setCursor): just some testcode for #44 not ready yet.
9138
9139         * undo_funcs.C (textHandleUndo): set the next() and previous()
9140         pointers of the paragraph to 0 before deleting otherwise we have
9141         problems with the Paragraph::[destructor].
9142
9143         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9144         on a paragraph insertion.
9145
9146 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9147
9148         * buffer.C (asciiParagraph): use += operator for char append to
9149         string.
9150
9151         * paragraph.C (getFontSettings): compare >= not just >
9152         (highestFontInRange): ditto
9153         (setFont): ditto
9154
9155 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9156
9157         * paragraph.C: change several algorithm to be more appripriate for
9158         the problem domain. This is lookip in FontList and in the InsetList.
9159
9160 2002-03-13  André Pönitz <poenitz@gmx.net>
9161
9162         * commandtags.h:
9163         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9164
9165 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * commandtags.h:
9168         * LyXAction.C:
9169         * lyxfunc.C:
9170         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9171
9172 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9173
9174         * Painter.C (display): anon helper function, adjust code for this
9175         change.
9176         (pixmap): remove function.
9177
9178         * Painter.h: remove private display variable.
9179
9180         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9181
9182 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9183
9184         * WorkArea.[Ch]: remove figinset_canvas cruft.
9185
9186 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * lyxtextclass.C (operator): add one item cache optimization.
9189
9190         * bufferlist.h: doxy changes
9191
9192         * bufferlist.C: ws changes
9193
9194         * DepTable.[Ch] (ext_exist): place const in the right spot.
9195
9196         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9197         call resizeInsets.
9198         (workAreaExpose): call resizeInsets when the with BufferView changes.
9199         (Dispatch): adjust for protectedBlank removal
9200         (specialChar): call updateInset if the insert went ok.
9201
9202         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9203         specialChar instead.
9204
9205         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9206
9207         * BufferView.h: doxy change
9208
9209         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9210
9211         * lyxtextclass.C (operator[]): remove non-const version
9212         (defaultLayout): remove non-const version
9213
9214 2002-03-12  Juergen Vigna  <jug@sad.it>
9215
9216         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9217         did resize the LyXText too.
9218
9219         * buffer.C (readLyXformat2): set layout information on newly allocated
9220         paragraphs.
9221
9222         * tabular.C (OldFormatRead): set layout information on the paragraph.
9223
9224 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9225
9226         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9227
9228 2002-03-11  Juergen Vigna  <jug@sad.it>
9229
9230         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9231         plainly wrong.
9232         (resizeCurrentBuffer): force also the insets to resize themselfes.
9233         (moveCursorUpdate): fixed up for InsetText.
9234
9235 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9236
9237         * commandtags.h:
9238         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9239         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9240         value of Dialogs::tooltipsEnabled().
9241         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9242
9243 2002-03-08  Juergen Vigna  <jug@sad.it>
9244
9245         * BufferView_pimpl.C (updateInset): update inset inside inset also
9246         if it isn't inside theLockingInset().
9247
9248 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * buffer.C (asciiParagraph): redo some of the word and line length
9251         handling.
9252         (getLists): look for Caption instead of caption.
9253
9254 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * buffer.C (Buffer): initialize niceFile to true
9257         (makeLaTeXFile):
9258         (makeLinuxDocFile):
9259         (makeDocBookFile): make sure niceFile is true on exit
9260
9261 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9262
9263         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9264
9265 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9266
9267         * LyXSendto.C: remove.
9268         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9269         * lyx_gui.C: remove now-redundant comment.
9270         * ColorHandler.h: remove forward declaration of class WorkArea.
9271         * lyxfunc.C: remove #include "WorkArea.h".
9272
9273 2002-03-07  Juergen Vigna  <jug@sad.it>
9274
9275         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9276         got moved away with the DEPM and also set the inset_owner always
9277         right which before could have been omitted.
9278
9279 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9280
9281         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9282         wanted layout is not found.
9283
9284 2002-03-07  Juergen Vigna  <jug@sad.it>
9285
9286         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9287
9288 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * paragraph.C (breakParagraph): use default layout not layout of
9291         prev paragraph.
9292         (Paragraph): clear ParagraphParameters.
9293
9294 2002-03-06  Juergen Vigna  <jug@sad.it>
9295
9296         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9297         otherwise it would not be a valid lenght. Fixed a special case in
9298         the minipage compatibility read where we end the document with a
9299         minipage.
9300
9301         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9302         was set as it could be 0 for InsetTexts first entry.
9303
9304 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9305
9306         * paragraph.C (writeFile): if layout is empty write out
9307         defaultLayoutName().
9308
9309         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9310         file without named layout we set layout to defaultLayoutName().
9311
9312 2002-03-06  Juergen Vigna  <jug@sad.it>
9313
9314         * CutAndPaste.C (copySelection): set layout for new paragraph.
9315
9316         * text.C (prepareToPrint): leave ERT inset left aligned
9317         (leftMargin): don't indent paragraphs inside ERT insets
9318
9319 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9320
9321         * paragraph.C (breakParagraph): dont call clear do the work manually
9322
9323         * paragraph.[Ch] (clear): remove function
9324
9325 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9326
9327         * paragraph.C (Paragraph): dont call clear, the work has already
9328         been done.
9329
9330         * lyxtextclass.C (operator): assert if n is empty
9331
9332         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9333         work manually instead.
9334
9335 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * BufferView_pimpl.C: protect selectionLost against text == 0
9338
9339 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * text.C (breakParagraph): fix a setting layout to '0' problem.
9342
9343 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9344
9345         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9346         final location of file, for the included files, and graphics.
9347
9348 2002-03-05  Juergen Vigna  <jug@sad.it>
9349
9350         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9351
9352 2002-03-04  Juergen Vigna  <jug@sad.it>
9353
9354         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9355
9356         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9357         last column of multicolumn cells.
9358         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9359
9360 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9361
9362         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9363         file if it doesn't go to a temporary file.
9364
9365         * buffer.C (sgmlOpenTag):
9366         (sgmlCloseTag):  remove extra newline insertion.
9367
9368 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9369
9370         * text.C (getRowNearY): comment out debug msg
9371
9372 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9373
9374         * text2.C: first -> first_y
9375
9376         * text.C (getRowNearY): add some attemts at a possible
9377         optimization, not working.
9378
9379         * tabular.[Ch]: add BufferParams to several function so that newly
9380         created paragraph can be initialized to he default layotu for the
9381         buffers textclass.
9382
9383         * tabular-old.C (ReadOld): add buf->params to call of Init
9384
9385         * screen.C: rename text->first to text->first_y
9386
9387         * paragraph.C (breakParagraph): always set layout in the broken
9388         paragraph
9389
9390         * lyxtextclass.C (Read): remove lowercase
9391         (hasLayout): ditto
9392         (operator): ditto
9393         (delete_layout): ditto
9394
9395         * lyxtext.h: rename first -> first_y
9396
9397         * lyxlayout.C (Read): remove lowercase
9398         (name): ditto
9399         (setName): ditto
9400         (obsoleted_by): ditto
9401
9402         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9403
9404         * buffer.C (insertErtContents): add params are to InsetERT
9405         (parseSingleLyXformat2Token): add code to check if a paragraphs
9406         layout really exist.
9407         (parseSingleLyXformat2Token): add params to several inset
9408         constructors
9409         (asciiParagraph): remove lowercase, do the layout comparisons with
9410         no_case
9411
9412         * BufferView_pimpl.C (cursorNext): first -> first_y
9413         (resizeCurrentBuffer): first -> first_y
9414         (updateScrollbar): first -> first_y
9415         (scrollCB): first -> first_y
9416         (workAreaMotionNotify): first -> first_y
9417         (workAreaButtonPress): first -> first_y
9418         (checkInsetHit): first -> first_y
9419         (cursorPrevious): first -> first_y
9420         (cursorNext): first -> first_y
9421         (Dispatch): add buffer_->params to severl inset contructors
9422
9423 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9424
9425         * lyxlayout.C (Read): remove some debug info that I forgot.
9426
9427         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9428         clean up the code slightly.
9429         (makeLinuxDocFile): ditto
9430         (makeDocBookFile): ditto
9431
9432         * text2.C: layout as string
9433
9434         * text.C: layout as string
9435
9436         * paragraph_pimpl.C: layout as string
9437
9438         * paragraph.[Ch]: layout as string
9439
9440         * lyxtextclasslist.[Ch]: layout as string
9441
9442         * lyxtextclass.[Ch]: layout as string
9443
9444         * lyxtext.h: layout as string
9445
9446         * lyxlayout.[Ch]: layout as string
9447
9448         * lyx_cb.C: layout as string
9449
9450         * bufferview_funcs.C: layout as string
9451
9452         * bufferparams.C: layout as string
9453
9454         * buffer.C: layout as string
9455
9456         * LyXView.[Ch]: layout as string
9457
9458         * LaTeXFeatures.[Ch]: layout as string
9459
9460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9461
9462         * BufferView_pimpl.C: change current_layout to string, remove
9463         lyx::layout_type.
9464         (Dispatch):
9465         (smartQuote):
9466         (insertInset):
9467         (workAreaButtonRelease): layout as string
9468
9469         * BufferView2.C (unlockInset): adjust
9470
9471         * vspace.C (asLatexCommand): use an explict temp variable.
9472
9473 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9474
9475         * Makefile.am: use FRONTEND_*
9476
9477 2002-03-01  Juergen Vigna  <jug@sad.it>
9478
9479         * tabular.C (SetWidthOfMulticolCell): changed to something better
9480         I hope but still work in progress.
9481         (recalculateMulticolumnsOfColumn): renamed function from
9482         recalculateMulticolCells as it is more appropriate now.
9483         (SetWidthOfCell): calculate multicols better.
9484
9485 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9488
9489         * lyxfunc.C (processKeySym): print sequence also if it is
9490         `deleted' (complete)
9491
9492         * kbsequence.C (print): print sequence even if it is deleted
9493         (complete would be a better word, actually).
9494
9495         * lyxfunc.C (dispatch): print complete options after a prefix key
9496
9497         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9498
9499 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9500
9501         * text2.C (setCharFont): eliminate setCharFont code duplication.
9502
9503 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9504
9505         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9506         LFUN_TABULAR_FEATURE (bug #177)
9507
9508 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9509
9510         * Makefile.am: remove figure.h
9511
9512 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9513
9514         * Bufferview_pimpl.C:
9515         * CutAndPasteC:
9516         * LaTeX.C:
9517         * LyXSendto.C:
9518         * buffer.C:
9519         * bufferlist.C:
9520         * converter.C:
9521         * language.C:
9522         * lyxfunc.C:
9523         * lyxvc.C:
9524         * paragraph.C:
9525         * text.C:
9526         * text2.C: remove #include "lyx_gui_misc.h".
9527
9528         * LaTeX.C: added #include <cstdio>
9529
9530 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9533         that the paragraph following this one can have.
9534
9535         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9536
9537         * vspace.C (asLatexCommand): fix bogus gcc warning
9538
9539         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9540
9541 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9542
9543         * text2.C (setLayout): get rid of redundant code
9544
9545 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9546
9547         * text2.C (incDepth): make sure depth cannot be increased beyond
9548         reasonable values.
9549
9550 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9551
9552         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9553         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9554
9555         * PainterBase.h (image):
9556         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9557         a LyXImage const *.
9558
9559 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * BufferView.C:
9562         * BufferView.h:
9563         * BufferView_pimpl.C:
9564         * BufferView_pimpl.h:
9565         * LaTeXFeatures.C:
9566         * LyXAction.C:
9567         * LyXView.C:
9568         * Makefile.am:
9569         * UpdateList.h:
9570         * UpdateList.C:
9571         * buffer.C:
9572         * figure.h:
9573         * figureForm.C:
9574         * figureForm.h:
9575         * figure_form.C:
9576         * figure_form.h:
9577         * lyx_cb.C:
9578         * lyx_gui.C:
9579         * lyx_gui_misc.C:
9580         * lyxfunc.C:
9581         * sp_base.h:
9582         * sp_ispell.h:
9583         * sp_pspell.h:
9584         * sp_spell.C: remove fig inset, and the crap house of
9585           cards that follows it
9586
9587 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * Makefile.am:
9590         * lyxserver.C:
9591         * os2_defines.h:
9592         * os2_errortable.h:
9593         * nt_defines.h: move .h into support/
9594
9595         * vms_defines.h: remove
9596
9597         * WorkArea.C: add space in debug output
9598
9599         * text2.C:
9600         * paragraph.C:
9601         * buffer.C: add WITH_WARNINGS
9602
9603         * vc-backend.h:
9604         * vc-backend.C:
9605         * bufferlist.C: s/retrive/retrieve/, add docs
9606
9607         * vspace.h:
9608         * vspace.C:
9609         * kbmap.h:
9610         * lyxlength.h:
9611         * lyxgluelength.h:
9612         * length_common.h:
9613         * chset.h:
9614         * chset.C: add docs
9615
9616         * lyxgui.C: add ID to X error handler
9617
9618         * lyxtestclass.c: fix typo
9619
9620 2002-02-26  Juergen Vigna  <jug@sad.it>
9621
9622         * tabular_funcs.C (write_attribute): changed so that some default
9623         attributes are not written at all.
9624         (getTokenValue): set default values before trying to read the
9625         value so we have the return value always set as default if we don't
9626         find the token we search for.
9627
9628         * tabular.C (Write): write bools as bools not as strings!
9629
9630 2002-02-22  Juergen Vigna  <jug@sad.it>
9631
9632         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9633         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9634
9635         * text.C (leftMargin): don't add an indent for paragraphs inside
9636         tabular cells (fix #208).
9637
9638 2002-02-21  José Matos  <jamatos@fep.up.pt>
9639
9640         * tabular.C (docBook): fixed support for long tables.
9641
9642 2002-02-20  Juergen Vigna  <jug@sad.it>
9643
9644         * text2.C (getFont): get the drawing font of the Inset if this
9645         paragraph is inside an inset (only important for InsetERT for now).
9646
9647         * buffer.C (insertErtContents): use new lanugage params in ERT
9648         constructor.
9649
9650         * CutAndPaste.C: commenting out seemingly uneeded code.
9651
9652 2002-02-19  Allan Rae  <rae@lyx.org>
9653
9654         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9655         Iterators might be simple to use but they also get invalidated.
9656         (removeAutoInsets): renamed saved cursor tracking variables and added
9657         some comments to clarify what everything does.
9658
9659 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9660
9661         * Chktex.C:
9662         * LaTeX.C:
9663         * LyXSendto.C:
9664         * converter.C:
9665         * lyx_cb.C:
9666         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9667         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9668
9669         * lyxfunc.C:
9670         * vc-backend.h: remove #include "support/syscall.h"
9671
9672         * LaTeX.C:
9673         * LyXSendto.C:
9674         * converter.C: rearrange #includes in Lars' approved fashion.
9675
9676         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9677         forward declare class Timeout in the header file.
9678
9679         * XFormsView.C: changes due to the above.
9680
9681         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9682         similar to LyXView.
9683
9684         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9685         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9686
9687 2002-02-18  José Matos  <jamatos@fep.up.pt>
9688
9689         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9690         insets contents.
9691
9692 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9693
9694         * a lot of small ws changes
9695         * add a lot of using std::XXX
9696         * use std construcs some places where approp.
9697         * use some exisint stuff from lyxfunctional where approp.
9698         * Make file changes to use partial linking (lets test this now...)
9699
9700 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9701
9702         * Chktex.C:
9703         * buffer.C:
9704         remove #include "support/syscontr.h" as it's redundant. Always has been.
9705
9706         * Chktex.C:
9707         * LaTeX.C:
9708         * LyXSendto.C:
9709         * converter.C:
9710         * lyx_cb.C:
9711         * vc-backend.C:
9712         change Systemcalls::System to Systemcalls::Wait and
9713         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9714         No change of functionality, just reflects the stripped down Systemcalls
9715         class.
9716
9717 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9718
9719         * debug.[Ch]: add a GRAPHICS type to the enum.
9720
9721 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9724
9725         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9726         there is an inset.
9727
9728 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9731         match the changes below.
9732
9733         * text2.C (toggleInset): if there is not editable inset at cursor
9734         position, try to see if cursor is _inside_ a collapsable inset
9735         and close it.
9736
9737 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9740         document menu has a nice checkbox
9741
9742 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * lyxlength.C (asLatexString): change PW to output as percent of
9745         \textwidth.
9746
9747         * lengthcommon.C: change '%' to 't%'
9748
9749         * lyxfunc.C (dispatch): a few comments from Martin
9750
9751 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9752
9753         * WorkArea.h:
9754         * WorkArea.C:
9755         * BufferView_pimpl.h:
9756         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9757           the X selection.
9758
9759 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * vspace.C (inPixels): fix compiler warning
9762
9763 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * lyxfunc.C (getStatus): fix status message for disabled commands.
9766
9767 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * BufferView_pimpl.C: fix crash on close buffer
9770         during selection (#227)
9771
9772 2002-01-27  Herbert Voss  <voss@lyx.org>
9773
9774         * buffer.C: link old Figure to new graphic inset
9775
9776 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9777
9778         * FontLoader.C (getFontinfo): Change the latex font names in order
9779         to match the names of type1inst.
9780
9781 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9782
9783         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9784
9785         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9786         (extchanged): ditto
9787         (ext_exist): ditto
9788         (remove_files_with_extension): ditto
9789         (remove_file): ditto
9790         (write): ditto
9791
9792         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9793         document is smaller than the work area height. Do not initialize
9794         static variables to 0.
9795
9796 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9799
9800         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9801         LFUN_LAYOUT_PARAGRAPHS.
9802
9803         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9804         tabular. It is possible to provide a possible cell, which will
9805         typically be the actcell from the corresponding insettabular
9806
9807         * lyxfunc.C (getStatus): small cleanup; disable
9808         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9809         true
9810
9811 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9814
9815         * paragraph.C (startTeXParParams):
9816         (endTeXParParams): new methods. The LaTeX code to
9817         start/end paragraph formatting
9818         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9819         empty (fixes bug #200)
9820
9821         * vspace.C (inPixels): adapt to the change below
9822         (inPixels): [later] more cleanups (remove unused variables)
9823
9824         * lyxlength.C (inPixels): change to use a width and a height as
9825         parameter.
9826
9827 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9830         Replaced with \paperwidth
9831
9832         * DepTable.C (insert): add std:: qualifier
9833
9834 2002-01-18  Allan Rae  <rae@lyx.org>
9835
9836         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9837         updated also?
9838
9839         * text.C (drawInset): Turned out I didn't know enough about how
9840         rebreaking worked.  This fixes most of the redraw problems.  I see
9841         an occasional cursor trail when a line is broken now and the cursor
9842         placement can seem out by a few pixels also after a rebreak.
9843
9844 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * buffer.C (parseSingleLyXformat2Token): update because minipage
9847         width is now a LyXLength
9848
9849         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9850
9851         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9852         math insets
9853
9854 2002-01-17  Juergen Vigna  <jug@sad.it>
9855
9856         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9857
9858         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9859         is set correctly and the inset is updated correctly.
9860
9861 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9864         the beginning of the loop.
9865
9866 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9867
9868         * lyxrc.C: improve help for use_scalable_fonts
9869
9870 2002-01-17  Allan Rae  <rae@lyx.org>
9871
9872         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9873
9874 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9875
9876         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9877         make sure to set their inset_owner to the right value (bug #171)
9878
9879 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9880
9881         * DepTable.h
9882         * DepTable.C: Implement mtime checking to reduce time spent doing
9883         CRCs.
9884
9885 2002-01-16  Juergen Vigna  <jug@sad.it>
9886
9887         * tabular.C (GetAdditionalHeight): one of error fixed.
9888
9889         * lyxrc.C (output): small fix in writing use_pspell.
9890
9891 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * sp_base.h: #include LString.h
9894
9895 2002-01-16  Allan Rae  <rae@lyx.org>
9896
9897         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9898         Can someone check this please?
9899
9900         * text.C (drawInset): It was possible that p.row would be removed by
9901         breakAgainOneRow upsetting a few other settings.  There may be another
9902         small tweak possible by setting need_break_row = 0 when p.row has been
9903         removed but I don't know enough about the logic here.
9904
9905 2002-01-15  Allan Rae  <rae@lyx.org>
9906
9907         * text.C (insertChar): removed conditional truism.
9908
9909         * BufferView2.C (removeAutoInsets): More tweaks.
9910         cur_par_prev could be a stray pointer.  Check for trailing empty line
9911         in case last line was cur_par and only had an error inset on it.
9912
9913 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9916         absolute
9917
9918         * vc-backend.C (most methods):
9919         * exporter.C (Export):
9920         * converter.C (convert):
9921         (runLaTeX):
9922         * LyXSendto.C (SendtoApplyCB):
9923         * lyxfunc.C (dispatch):
9924         (menuNew):
9925         (open):
9926         (doImport):
9927         * lyx_cb.C (AutoSave):
9928         (InsertAsciiFile):
9929         * BufferView_pimpl.C (MenuInsertLyXFile):
9930         * buffer.C (runChktex): use Buffer::filePath().
9931
9932         * buffer.h: rename filename to filename_; rename filepath to
9933         filepath_ and make it private
9934         (filePath): new method
9935
9936         * buffer.C (writeFile): use fileName()
9937         (getLatexName):
9938
9939         * lyx_main.C (init): fix starting  of LyX when the binary is a
9940         link from so,ewhere else.
9941
9942         * minibuffer.C: include <cctype> for isprint
9943
9944 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9945
9946         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9947         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9948         name clash with InsetCollapsable's width function.
9949
9950 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9951
9952         * lastfiles.C: include <iterator>
9953
9954 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9955
9956         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9957         std::count.
9958
9959         * buffer.C (makeLaTeXFile): ditto.
9960         Also make loop operation more transparent.
9961
9962 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * ToolbarDefaults.C: remove trailing comma closing namespace.
9965
9966         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9967
9968         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9969         as in WorkArea.
9970
9971         * trans.C (Load): comment out unused variable, allowed.
9972
9973 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9974
9975         * minibuffer.[Ch] (append_char): new method to recieve input from the
9976         drop-down completion browser. If a key was pressed, then recieve this
9977         char and append it to the existing string.
9978         (peek_event): modify the positioning data passed to the completion
9979         browser so that it can be placed above the minibuffer rather than below.
9980 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9981
9982         * LyXAction.C (init): alloe error-next for readonly documents.
9983
9984         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9985         count.
9986
9987 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * bufferlist.C (readFile): create the buffer _after_ checking that
9990         the file exists.
9991
9992         * lyxfunc.C (verboseDispatch): fix handling of arguments
9993
9994         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9995
9996         * lyxrc.C: use string::erase() instead of initializing to "".
9997
9998
9999 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * BufferView_pimpl.h:
10002         * BufferView_pimpl.C:
10003         * WorkArea.h:
10004         * WorkArea.C:
10005         * text2.C: tell X when we have made a selection for copying
10006
10007 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * BufferView_pimpl.C (MenuInsertLyXFile):
10010         * lyxfunc.C (menuNew):
10011         (open):
10012         (doImport): add shortcuts to directory buttons
10013
10014         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10015         open a float)
10016
10017         * lyxfunc.C (setStatusMessage):
10018         (getStatusMessage): new methods
10019         (getStatus):use setStatusMessage instead of setErrorMessage
10020         (dispatch): when function is disabled, set error message here
10021         [instead of in getStatus previously]
10022
10023         * BufferView_pimpl.C (workAreaButtonRelease): update
10024         toolbar/menubar here too.
10025
10026 2002-01-13  Allan Rae  <rae@lyx.org>
10027
10028         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10029         Now seems indestructible.  Remaining task is to audit all other
10030         code affected by deleteEmptyParagraphMechanism.  One small quirk
10031         left is that an empty document with an error in the preamble can
10032         be made to report an error but no error box appears.  I don't know
10033         where it goes.
10034         (removeAutoInsets): Improved comments.
10035
10036 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * Thesaurus.h:
10039         * Thesaurus.C: update for Aiksaurus 0.14
10040
10041 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * text2.C (firstParagraph): removed member function, all uses
10044         replaces with ownerParagraph
10045         (redoParagraphs): here
10046         (updateInset): here
10047         (toggleAppendix): here
10048         * BufferView2.C (insertErrors): here
10049         (setCursorFromRow): here
10050
10051 2002-01-13  Allan Rae  <rae@lyx.org>
10052
10053         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10054         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10055         There is still a way to segfault this although you may have to do this
10056         multiple times: Have an InsetERT with an unknown command in it.
10057         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10058         <down-arrow>, <Enter> again, View->DVI, BANG!
10059
10060         * text2.C (setCursor):
10061         (deleteEmptyParagraphMechanism):
10062         * lyxtext.h (setCursor):
10063         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10064         Making use of the return value may help fix other bugs.
10065
10066 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10067
10068         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10069
10070         * LyXView.C (updateMenubar): call MenuBar::update here
10071         (updateToolbar): but not here
10072         (showState): do not update toolbar/menubar
10073
10074         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10075         should need to care about that.
10076
10077         * lyxfunc.C (verboseDispatch): simplify a bit
10078         (getStatus): have a version which takes a pseudoaction, and
10079         another which requires a (kb_action,string).
10080
10081         * LyXAction.C (retrieveActionArg): make it work also when action
10082         is not a pseudo-action.
10083         (getActionName): simplify a bit
10084         (helpText):
10085
10086 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10087
10088         * lyxfunc.C (verboseDispatch): new families of methods with
10089         several ways to specify a command and a bool to indicate whether
10090         the command name and shortcut should be displayed in minibuffer
10091         (eventually, we could extend that to a finer bitmask like
10092         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10093         (dispatch): the pristine dispatch command which just, well,
10094         dispatchs! Note it still sets its result to minibuffer; I'm not
10095         sure we want that.
10096
10097         * lyxfunc.h: remove setHintMessage
10098
10099         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10100
10101 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10102
10103         * BufferView_pimpl.C (specialChar): delete new inset if we have
10104         not been able to insert it.
10105
10106         * kbmap.C: revert to using int instead of kb_action, since all we
10107         are dealing with is pseudo-actions.
10108
10109         * LyXAction.C (searchActionArg): change to return int instead of
10110         kb_action, since the result is a pseudoaction.
10111
10112 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10113
10114         * buffer.C (insertErtContents): Fix (partially) the font bug.
10115
10116 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10119         as the other one is broken on my machine!
10120
10121 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10122
10123         * commandtags.h:
10124         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10125
10126 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10127
10128         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10129         reflect their actual use. Provide compatibility code for older lyxrc
10130         files.
10131
10132         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10133         FL_NORMAL_STYLE.
10134         change names of popup font variables in line with the changes to lyxrc.C
10135
10136 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * buffer.C (asciiParagraph): avoid outputing a word twice after
10139         an inset.
10140
10141         * lyxrc.C (getDescription): document that document_path and
10142         template_path can be empty.
10143
10144 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * LaTeXFeatures.C (getMacros):
10147         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10148
10149         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10150
10151         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10152         getPackages.
10153         (getPackages): rename feature "floats" to "float". Use an array to
10154         iterate over 'simple' features (i.e. just a \usepackage). Add
10155         handling of "amsmath" (renamed from "amsstyle").
10156
10157 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10158
10159         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10160         features list.
10161
10162 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10163
10164         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10165         FuncStaus::FuncStatus & FuncStaus::some_method().
10166
10167 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10168
10169         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10170         of the func_satus stuff. Edited and massaged in various ways by
10171         JMarc.
10172
10173         * lyxfunc.C (getStatus): use FuncStatus
10174
10175 2002-01-08  Juergen Vigna  <jug@sad.it>
10176
10177         * text.C (nextBreakPoint): use function Inset::isChar().
10178
10179         * paragraph.C (TeXOnePar): use function
10180         Inset::forceDefaultParagraphs.
10181
10182         * buffer.C (latexParagraphs): use function
10183         Inset::forceDefaultParagraphs.
10184
10185 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10186
10187         * lyx_gui.C (init): set the style of the menu popups to
10188         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10189
10190 2002-01-07  Juergen Vigna  <jug@sad.it>
10191
10192         * text.C (setHeightOfRow): small fix
10193         (prepareToPrint): don't look at alignment if we don't have the place
10194         for doing it.
10195
10196 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10197
10198         * box.C: New file. Move the Box methods and functions out of box.h,
10199         following Lars' suggestion.
10200
10201 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * box.h: #include "support/LOstream.h", needed for inlined function.
10204
10205         * lyxtextclass.C:
10206         * lyxtextclasslist.C: added some using std declarations.
10207
10208 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * box.h: make signed dimensions to allow insets wider than
10211           the screen (bug #162)
10212
10213         * BufferView_pimpl.C: add some insetHit debug
10214
10215 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * vc-backend.C: add FIXME
10218
10219 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * lyxfunc.C (getStatus): enable code for showing math font status
10222         in toolbar/menu.
10223
10224 2002-01-07  Juergen Vigna  <jug@sad.it>
10225
10226         * text.C (nextBreakPoint): removed debug output not needed anymore.
10227
10228 2002-01-06  Juergen Vigna  <jug@sad.it>
10229
10230         * text.C (nextBreakPoint): fixed up this function we had this bug
10231         since ever but now hopefully we break row better.
10232         (insertChar): we have to check if an inset is the next char as it
10233         could now happen that a large inset is causing a break.
10234
10235 2002-01-05  Juergen Vigna  <jug@sad.it>
10236
10237         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10238         if it doesn't like to be drawed.
10239
10240 2002-01-04  Juergen Vigna  <jug@sad.it>
10241
10242         * BufferView2.C (lockInset): forgot to set a cursor.
10243
10244         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10245
10246 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10247
10248         * FormMathsPanel.C:
10249         * FormMathsPanel.h
10250         * MathsSymbols.C:
10251         * form_maths_panel.C:
10252         * form_maths_panel.h:
10253         * form_maths_panel.fd: implemented sub- and super- buttons in math
10254         panel.
10255
10256         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10257         (or ^ space) to be used as in TeX (req'd by André).
10258
10259         * lyxfunc.C: Allow ^ and _ again to be used both as
10260         super/subscript (mathed) and as themselves (in text).
10261
10262 2002-01-03  Allan Rae  <rae@lyx.org>
10263
10264         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10265         "LyX" or the filename of the current buffer if it has one.  This is a
10266         modified form of John Levon's patch.
10267
10268         * XFormsView.C (setWindowTitle): also set icon title.
10269
10270         * LyXView.h (setWindowTitle): signature changed.
10271         * XFormsView.h (setWindowTitle): ditto.
10272
10273 2002-01-02  Juergen Vigna  <jug@sad.it>
10274
10275         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10276
10277 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * screen.C (topCursorVisible): introduce a temp var for
10280         text->cursor.row(), handle the case where this row is null. (kindo
10281         hachish)
10282
10283         * text2.C (setCursor): add a couple of asserts.
10284
10285         * paragraph.h (inset_iterator): add -> operator
10286
10287         * paragraph.[Ch] (autoDeleteInsets): remove member function
10288
10289         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10290         cursor pos correctly and handle inset deletion by itself.
10291         (insertErrors): move iterator declaration out of for expression
10292
10293         * lyxtextclass.C: add <algorithm>
10294
10295         * Makefile.am: added the new files to sources, removed layout.C
10296
10297         * layout.C: removed file
10298
10299         * layout.h: remove LYX_DUMMY_LAYOUT
10300
10301         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10302         layout.
10303
10304         * lyxlayout.[Ch]:
10305         * lyxtextclass.[Ch]:
10306         * lyxtextclasslist.[Ch]: new files
10307
10308         * include order changes to a lot of files, also changes because of
10309         the six new files.
10310
10311 2001-12-27  Juergen Vigna  <jug@sad.it>
10312
10313         * buffer.C (asciiParagraph): more fixes.
10314
10315         * tabular.C (ascii): make ascii export support export of only the
10316         data separated by a column-delimiter.
10317         (ascii): better support for ascii export.
10318
10319         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10320
10321 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10322
10323         * tabular_funcs.C: use a "using std::getline" instead of the
10324         previous fix from Angus (necessary for cxx + lyxstring)
10325
10326 2001-12-24  Juergen Vigna  <jug@sad.it>
10327
10328         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10329
10330         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10331         problems. First check a minipage also if we have some ert-contents
10332         (not only on par->size(), second set the right depth of the paragraph
10333         on the relink to the root-paragraph-list!
10334
10335         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10336         which then did not anymore update the main paragraphs on undo/redo!
10337
10338 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10341         code. Support all font-changing funcs (even those which are not in
10342         menu currently). Support for reporting font settings in
10343         mathed (disabled until Andre provides a function on mathed's side).
10344
10345         * func_status.h (toggle): small helper function to set toggle
10346         state on a flag.
10347
10348 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10349
10350         * tabular_funcs.C: getline -> std::getline
10351
10352 2001-12-21  Juergen Vigna  <jug@sad.it>
10353
10354         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10355         accessed and could be 0 (I couldn't generate this but it seems
10356         Michael could!).
10357
10358 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10361         * tabular_funcs.h: here and include iosfwd
10362
10363 2001-12-20  Juergen Vigna  <jug@sad.it>
10364
10365         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10366         inside inset but undo_par was.
10367
10368 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * Thesaurus.C: always include <config.h> in sources.
10371
10372         * Painter.h:
10373         * lyxlookup.h:
10374         * box.h: do not include <config.h> in header files
10375
10376         * text.C (paintLastRow): remove unused variable
10377
10378         * text.C (transformChar):
10379         (insertChar):
10380         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10381
10382         * Painter.C (text):
10383         * font.C (width): rewrite to use uppercase() instead of
10384         islower/toupper.
10385
10386         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10387
10388 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * lyxfind.C: clean up of find failure position change
10391
10392 2001-12-20  Juergen Vigna  <jug@sad.it>
10393
10394         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10395
10396         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10397         (TeXRow): added to LaTeX a single tabular row.
10398         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10399         (Latex): simplified and finally good LT-h/f support.
10400         (various_functions): just small adaptions for LT-h/f support.
10401
10402         * tabular_funcs.[hC]: added and moved here all not classfunctions
10403         of LyXTabular.
10404
10405 2001-12-19  Juergen Vigna  <jug@sad.it>
10406
10407         * tabular.[Ch]: better support for longtabular options (not finished
10408         yet!)
10409
10410 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * text.C (paintLastRow): use the label font instead of the font of
10413         the last character to compute the size of *_BOX. This makes more
10414         sense and avoids a crash with empty paragraphs.
10415         Use Painter::rectangle to draw EMPTY_BOX.
10416
10417 2001-12-19  Juergen Vigna  <jug@sad.it>
10418
10419         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10420         the paragraphs if the replaced paragraph is not the first one!
10421         Tried to delete not used paragraphs but does not work yet so for
10422         now it's inside #ifdef's and by default off!
10423
10424 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * MenuBackend.C: include "lyx_main.h" instead of declaring
10427         lastfiles (actually was declared as LastFiles* instead of a
10428         scoped_ptr).
10429
10430 2001-12-17  Juergen Vigna  <jug@sad.it>
10431
10432         * tabular.C (AppendColumn): applied John's fix
10433
10434 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * BufferView.h:
10437         * BufferView.C:
10438         * BufferView_pimpl.h:
10439         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10440
10441         * Makefile.am:
10442         * box.h: new start of class for above
10443
10444         * lyxfunc.C: ignore space-only minibuffer dispatches.
10445           Show the command name when it doesn't exist
10446
10447         * minibuffer.C: don't add empty lines to the history
10448
10449         * minibuffer.C: add a space on dropdown completion
10450
10451 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * text.C: fix line above/below drawing in insets
10454
10455 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10456
10457         * lyxlength.C (LyXLength): Initialize private variables.
10458
10459 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10460
10461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10462         when inserting error insets.
10463
10464 2001-12-13  Juergen Vigna  <jug@sad.it>
10465
10466         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10467         actually sometimes the before-paragraph.
10468         (setUndo): don't clear the redostack if we're not actually undoing!
10469
10470 2001-12-06  Juergen Vigna  <jug@sad.it>
10471
10472         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10473         and fixed redoing of main paragraph, so we can use it now ;)
10474
10475         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10476
10477 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10480         Juergen's request
10481
10482 2001-12-13  André Pönitz <poenitz@gmx.net>
10483
10484         * undostack.[Ch]:
10485         * undo_func.C: minor cleanup
10486
10487 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10490         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10491         font in urw-fonts package which is marked as -urw-fontspecific and
10492         does not work (incidentally, changing the encoding in the
10493         fonts.dir of this package to -adobe-fontspecific fixes the
10494         problem).
10495
10496         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10497         is a crash when undoing first paragraph (Juergen, please take a
10498         look). THis does not mean the undo fix is wrong, just that it
10499         uncovers problems.
10500
10501         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10502         the (Paragraph*) version when needed instead of duplicating the
10503         code.
10504
10505         * text.C (workWidth): use Inset::parOwner to find out where the
10506         inset has been inserted. This is a huge performance gain for large
10507         documents with lots of insets. If Inset::parOwner is not set, fall
10508         back on the brute force method
10509
10510         * paragraph_pimpl.C (insertInset):
10511         * paragraph.C (Paragraph):
10512         (cutIntoMinibuffer): set parOwner of insets when
10513         inserting/removing them
10514
10515         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10516
10517 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10518
10519         * commandtags.h:
10520         * LyXAction.C:
10521         * lyx_main.C:
10522         * lyxfunc.C:
10523         * mathed/formulabase.C:
10524         * mathed/math_cursor.[Ch]:
10525         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10526
10527
10528 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10529
10530         * lyxlength.[Ch] (operator!=): new function
10531
10532 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10533
10534         * text.C (workWidth): use Inset::parOwner to find out where the
10535         inset has been inserted. This is a huge performance gain for large
10536         documents with lots of insets. If Inset::parOwner is not set, fall
10537         back on the brute force method
10538
10539         * paragraph_pimpl.C (insertInset):
10540         * paragraph.C (Paragraph):
10541         (cutIntoMinibuffer): set parOwner of insets when
10542         inserting/removing them
10543
10544         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10545
10546 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * tabular-old.C (getTokenValue):
10549         * tabular.C (getTokenValue):
10550         (write_attribute): new versions for LyXLength
10551         (everywhere): adjust the use of widths
10552
10553         * tabular.h: change the type of widths from string to LyXLength
10554
10555 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10556
10557         * paragraph.C: fixed missing line number count when exporting
10558         Environments to LaTeX file
10559
10560         * buffer.C: added informational message for checking line numbers.
10561
10562 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10563
10564         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10565         paragraph, do the 'double space' part, but not the 'empty
10566         paragraph' one.
10567
10568         * text.C (workWidth): small optimization
10569         (getLengthMarkerHeight): use minimal size for negative lengths.
10570
10571 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10574
10575         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10576
10577 2001-12-11  André Pönitz <poenitz@gmx.net>
10578
10579         * FontLoader.C:
10580         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10581
10582 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * text2.C: keep selection on a setFont()
10585
10586 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * lyx_cb.C: another bv->text misuse, from insert label
10589
10590 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * kbsequence.h:
10593         * kbsequence.C: re-instate nmodifier mask
10594
10595 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10596
10597         * lyx_main.h: make lyxGUI private.
10598
10599 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * lyxfind.C: place the cursor correctly on failed search
10602
10603 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * text.C (getLengthMarkerHeight): for small heights, the arrows
10606         are not always on top/bottom of the text
10607         (drawLengthMarker): smaller arrows; take the left margin in
10608         account; draw also vfills.
10609         (paintFirstRow):
10610         (paintLastRow): remove special code for vfill and standard spaces,
10611         since everything is handled in drawLengthMarker now.
10612
10613 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * buffer.C (insertErtContents): try to handle font and language
10616         interaction a bit better.g
10617
10618         * ColorHandler.C (updateColor): change the hash to cover the whole
10619         LColor enum, ws cleanup
10620         (getGCLinepars): ditto
10621         (getGCLinepars): only lookup in the linecache once.
10622
10623 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10624
10625         * iterators.C (operator++): Make the iterator more robust
10626
10627         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10628         (John's patch)
10629         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10630
10631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * lyxtext.h:
10634         * text.C: better added space drawing
10635
10636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * LyXView.C:
10639         * BufferView2.C: fix layout combo update on inset unlock
10640
10641 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * Makefile.am: don't compile unused files
10644
10645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxfunc.C:
10648         * commandtags.h:
10649         * LyXAction.C: remove old LFUN_LAYOUTNO
10650
10651 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * paragraph_pimpl.h:
10654         * paragraph_pimpl.C: isTextAt() doesn't need font param
10655
10656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyxlex.h:
10659         * lyxlex.C: little cleanup
10660
10661 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * BufferView_pimpl.C: fix insertAscii for insets
10664
10665 2001-12-05  Juergen Vigna  <jug@sad.it>
10666
10667         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10668         set the right font on the "multi" paragraph paste!
10669
10670 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * trans_decl.h:
10673         * trans_mgr.[Ch]:
10674         * trans.[Ch]:
10675         * lyxgluelength.C:
10676         * lyxlength.C: remove out-commented code.
10677
10678         * BufferView_pimpl:
10679         * CutAndPaste.C:
10680         * DepTable.C:
10681         * buffer.C:
10682         * chset.C:
10683         * lastfiles.C:
10684         * lyxlex.C:
10685         * lyxlex_pimpl.C:
10686         * lyxserver.C:
10687         * screen.C:
10688         * tabular-old.C:
10689         * tabular.C:
10690         * text.C:
10691         * trans_mgr.C:
10692         * vc-backend.C: change "while(" to "while ("
10693
10694         * lyxlength.[Ch]: add zero function to check if length is zero or
10695         not
10696         * lyxgluelength.C: use it
10697
10698 2001-12-05  Allan Rae  <rae@lyx.org>
10699
10700         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10701         Works for 2.95.3, from what I understand of Garst's reports this should
10702         work for other g++ versions.  We're screwed if the abs(int) definition
10703         changed between bugfix releases of gcc.
10704
10705 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * text.C: fix chapter label offset !
10708
10709 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * lyxtext.h:
10712         * text.C: fix hfill at end of line, clean up
10713
10714 2001-12-04  Juergen Vigna  <jug@sad.it>
10715
10716         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10717         that we force an update of the inset and it's owners if neccessary.
10718
10719 2001-12-03  Juergen Vigna  <jug@sad.it>
10720
10721         * text.C (rowLast): simplified code
10722
10723 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * lyxfunc.C: fix show options on timeout
10726
10727 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * screen.C (topCursorVisible): scroll half a page when the cursor
10730         reached top of bottom of screen
10731
10732 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * minibuffer.C: deactivate on loss of focus
10735
10736 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10737
10738         * vspace.[Ch] (operator!=): add operator.
10739
10740 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * BufferView_pimpl.C: refuse to open an inset when
10743         there's a selection.
10744
10745 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * BufferView_pimpl.C: allow to click on RHS of full row insets
10748
10749 2001-11-30  Juergen Vigna  <jug@sad.it>
10750
10751         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10752         insets for undo reasons.
10753
10754 2001-11-28  André Pönitz <poenitz@gmx.net>
10755
10756         * vspace.[Ch]: cosmetical changes
10757
10758 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * LyXAction.h:
10761         * LyXAction.C:
10762         * lyxfunc.h:
10763         * lyxfunc.C:
10764         * kbmap.h:
10765         * kbmap.C:
10766         * lyxrc.C:
10767         * kbsequence.h:
10768         * kbsequence.C: part re-write of old kb code
10769
10770         * Painter.C:
10771         * WorkArea.C: remove Lgb_bug_find_hack
10772
10773 2001-11-30  José Matos <jamatos@fep.up.pt>
10774
10775         * buffer.C (makeDocBookFile): add a comment to point a hack.
10776         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10777         Fixed a double write of labels.
10778
10779 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10780
10781         * LaTeX.C:
10782         * LaTeX.h Fixed bug in LaTeX class where it would not
10783         re-run latex if no depfiles were changed, but the .dvi was removed.
10784
10785 2001-11-28  André Pönitz <poenitz@gmx.net>
10786
10787         * all the files from the change on 2001/11/26:
10788         use lyx::layout_type instead of LyXTextClass::size_type
10789         use lyx::textclass_type instead of LyXTextClassList::size_type
10790
10791 2001-11-29  Juergen Vigna  <jug@sad.it>
10792
10793         * text.C: added support for paragraph::isFreeSpacing()
10794
10795         * buffer.C: same as above
10796
10797         * paragraph.h: inserted isFreeSpacing() function to enable
10798         FreeSpacing inside InsetERT.
10799
10800         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10801         of the paragraph's in the cut/copy buffer to 0!
10802
10803         * text2.C (removeRow): remove the assert as it can!
10804
10805         * lyxtext.h: added helper function firstRow returning firstrow and
10806         made firstrow private again.
10807
10808         * BufferView2.C (lockInset): don't relock if we're already locked!
10809
10810         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10811         the only paragraph.
10812         (removeRow): added Assert::(firstrow)
10813
10814         * debug.C: forgot to add INSETTEXT here.
10815
10816 2001-11-28  Juergen Vigna  <jug@sad.it>
10817
10818         * sp_spell.C (initialize): changed error text to more general
10819         spellchecker command use (not only ispell!)
10820
10821         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10822
10823         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10824
10825 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * vspace.C: initialise lyxgluelength on failure
10828
10829 2001-11-28  Allan Rae  <rae@lyx.org>
10830
10831         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10832         declaration & definition that looks like a function declaration.
10833
10834 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10835
10836         * BufferView2.C (copy):
10837         (copyEnvironment): do not clear the selection when doing a copy.
10838
10839         * text.C (paintFirstRow): compilation fix
10840
10841 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10842
10843         * tabular.C (Latex): correct line count when writing latex.
10844
10845 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10846
10847         * paragraph_pimpl.h:
10848         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10849           bug a bit
10850
10851 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * text.C:
10854         * LColor.h:
10855         * LColor.C: change vfillline->added_space
10856
10857         * text.C: add markers and text for added space
10858
10859         * vspace.C: fix comment
10860
10861 2001-11-28  André Pönitz <poenitz@gmx.net>
10862
10863         * paragraph.C: whitespace changes
10864         * all the other files from the change on 2001/11/26:
10865         change *::pos_type into lyx::pos_type
10866
10867 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10870         language of the document when inserting error insets.
10871
10872 2001-11-26  André Pönitz <poenitz@gmx.net>
10873
10874         * BufferView_pimpl.[Ch]:
10875         *       CutAndPaste.C:
10876         * buffer.[Ch]:
10877         * lyxcursor.[Ch]:
10878         * lyxfind.C:
10879         * lyxfunc.C:
10880         * lyxrow.[Ch]:
10881         * paragraph.[Ch]:
10882         * paragraph_pimpl.[Ch]:
10883         * sp_spell.C:
10884         * text.C:
10885         * text2.C: reduce header dependencies, introduce type for positions
10886
10887 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * <various>: change to use Alert.h
10890
10891 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10892
10893         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10894         when encountering an unknown token.
10895         (readLyXformat2): Show an error message if there were unknown tokens.
10896
10897 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * BufferView2.C:
10900         * BufferView_pimpl.C:
10901         * buffer.C:
10902         * paragraph.h:
10903         * text.C:
10904         * text2.C: use par->isInset()
10905
10906 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * paragraph_pimpl.h:
10909         * paragraph_pimpl.C: cleanup
10910
10911 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * text2.C (removeRow):
10914         * text.C (setHeightOfRow): remove useless (and costly) call to
10915         getRow.
10916
10917 2001-11-20  Allan Rae  <rae@lyx.org>
10918
10919         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10920         Now need Inset*::checkInsertChar() to return true for appropriate
10921         cases so that the characters in the minibuffer will actually be
10922         inserted.
10923
10924 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * text.C: change the order of the includes.
10927         (workWidth): initialize it at once.
10928         (workWidth): make maxw unsigned
10929         (setHeightOfRow): remove unused variable (inset)
10930         (selectSelectedWord): remove unused variable (inset)
10931         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10932
10933 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10934
10935         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10936         server is not running.
10937         (openConnection):
10938         (closeConnection): add debug info when server is disabled.
10939
10940         * ColorHandler.C (getGCForeground): send debug message to GUI
10941         channel.
10942
10943         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10944
10945         * kbmap.C (bind): modify because return conventions of
10946         kb_sequence::parse have changed.
10947
10948         * kbsequence.C (parse): only ignore spaces and not any stupid
10949         control character. This avoids tests like s[i] <= ' ', which are
10950         guaranteed to fail with 8bit characters and signed chars.
10951         Change return code to string::npos when there have been no error
10952         (0 was a bad idea when error is at first character)
10953
10954 2001-11-14  José Matos  <jamatos@fep.up.pt>
10955
10956         * buffer.h:
10957         * buffer.C (simpleDocBookOnePar): removed unused argument.
10958
10959 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10960
10961         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10962         insets which are part of a word. Paragraph::isLetter takes care of
10963         that now. Use Paragraph::isInset to identify insets.
10964         (selectSelectedWord): do not test for hyphenation break.
10965
10966         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10967         that protected spaces are considered as spaces.
10968
10969         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10970         Inset::isLetter.
10971
10972 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * lyxserver.h:
10975         * lyxserver.C: fix it. and small cleanup.
10976
10977 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * BufferView_pimpl.C: use inline helpers
10980
10981         * LaTeXFeatures.h:
10982         * LaTeXFeatures.C: fix typos
10983
10984         * Spacing.h:
10985         * Spacing.C: move spacing_string into class
10986
10987         * ToolbarDefaults.C: move stuff into namespace anon
10988
10989         * layout.h: update enum
10990
10991         * lyxfunc.C: use better debug
10992
10993         * minibuffer.h: fix typo
10994
10995         * debug.h:
10996         * debug.C:
10997         * WorkArea.C: add and use Debug::WORKAREA
10998
10999         * lyxtext.h:
11000         * text.C:
11001         * text2.C: code re-organisation, inline helpers
11002
11003 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11004
11005         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11006         std::vector.empty().
11007
11008 2001-11-09  Allan Rae  <rae@lyx.org>
11009
11010         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11011         '\n's after tables.  Tabular and ERT inset work now makes this no
11012         longer necessary.
11013
11014 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * minibuffer.h:
11017         * minibuffer.C: fix crash, improve drop-down completion
11018
11019 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * lyxserver.h:
11022         * lyxserver.C: invalidate fd's when doing endPipe()
11023
11024 2001-11-08  José Matos  <jamatos@fep.up.pt>
11025
11026         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11027         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11028
11029         * paragraph.h:
11030         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11031
11032 2001-11-07  José Matos  <jamatos@fep.up.pt>
11033
11034         * buffer.h:
11035         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11036         const qualifier.
11037
11038         * buffer.C (sgmlOpenTag):
11039         * buffer.C (sgmlCloseTag): removed debug info.
11040
11041         * buffer.h (sgmlOpenTag):
11042         * buffer.h (sgmlCloseTag): made public.
11043
11044 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11045
11046         * buffer.C (saveParamsAsDefaults):
11047         * lyx_cb.C (MenuLayoutSave): remove
11048
11049         * LyXAction.C (init):
11050         * commandtags.h:
11051         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11052
11053 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11054
11055         * buffer.C (setPaperStuff): removed from here...
11056
11057         * bufferparams.C (setPaperStuff): ... and moved there.
11058
11059 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * minibuffer.h:
11062         * minibuffer.C:
11063         * XFormsView.C: add support for drop-down completion
11064
11065 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11066
11067         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11068         commands.
11069
11070 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11071
11072         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11073         disabled.
11074
11075 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * lyx_main.C: change ref to known bugs
11078
11079 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11080
11081         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11082         to work around older babel problems.
11083
11084 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11085
11086         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11087
11088 2001-10-24  Juergen Vigna  <jug@sad.it>
11089
11090         * tabular-old.C (ReadOld): below variable changes reflected.
11091
11092         * tabular.[Ch]: added ltType struct for longtable header/footer
11093         defines and changed all instances where they are used. Added
11094         future support for double top/bottom rows.
11095
11096 2001-10-24  José Matos  <jamatos@fep.up.pt>
11097
11098         * buffer.h (docbookHandleCaption):
11099         * buffer.C (docbookHandleCaption): removed unused function.
11100         (makeDocBookFile): moved docbook supported version to v4.1.
11101
11102 2001-10-24  José Matos  <jamatos@fep.up.pt>
11103
11104         * tabular.h:
11105         * tabular.C (docbookRow): new function to export docbook code of a row.
11106         (DocBook): now honors the longtable flags.
11107
11108 2001-10-23  José Matos  <jamatos@fep.up.pt>
11109
11110         * LaTeXFeatures.h:
11111         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11112         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11113
11114         * buffer.C (makeLinuxDocFile):
11115         (makeDocBookFile): reworked the preamble, more clean, and with
11116         support for lyx defined entities. Changed the document declaration
11117         to be more XML friendly.
11118
11119         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11120         if we need to output XML that should be done with a filter.
11121
11122 2001-10-22  Juergen Vigna  <jug@sad.it>
11123
11124         * sp_pspell.h (class PSpell): add alive function needed in the
11125         controller to see if the spellchecker could be started.
11126
11127 2001-10-22  Juergen Vigna  <jug@sad.it>
11128
11129         * buffer.C (insertStringAsLines): modify the font for inserting
11130         chars in certain conditions by calling checkInsertChar(font).
11131
11132 2001-10-19  Juergen Vigna  <jug@sad.it>
11133
11134         * text.C (workWidth): use getRow instead of wrong algorithm.
11135         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11136
11137 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * lyxserver.h:
11140         * lyxserver.C:
11141         * lyx_main.h:
11142         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11143
11144 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * text.C (workWidth): do not search for the exact row when
11147         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11148         optimization for big documents.
11149
11150 2001-10-18  Juergen Vigna  <jug@sad.it>
11151
11152         * text.C (workWidth): new function with added Inset * parameter.
11153
11154 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11157
11158         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11159         change return type of getColumnNearX.
11160
11161
11162         * text.C (changeRegionCase): use uppercase/lowercase instead of
11163         toupper/tolower.
11164         (leftMargin):
11165         (rightMargin): simplify code by factoring out the uses of
11166         textclasslist.
11167         (labelFill):
11168         (numberOfHfills):
11169         (setHeightOfRow):
11170         (appendParagraph): use Paragraph::size_type
11171
11172 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * vspace.C (asLatexString): add a missing break
11175
11176 2001-10-15  Herbert Voss  <voss@perce.de>
11177
11178         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11179
11180 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11183         is not available.
11184
11185 2001-10-10  André Pönitz <poenitz@gmx.net>
11186
11187         * lyxfunc.C: removed greek_kb_flag.
11188
11189 2001-10-10  Herbert Voss  <voss@perce.de>
11190
11191         * lyx_main.C: delete global string help_lyxdir.
11192
11193 2001-10-09  Herbert Voss  <voss@perce.de>
11194
11195         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11196
11197         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11198
11199         * lyx_main.C: added global string help_lyxdir.
11200
11201         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11202
11203 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11204
11205         * lyxrc.C (set_font_norm_type): support iso8859-4
11206
11207 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11208
11209         * LaTeX.C (deplog): add another regex for MikTeX
11210
11211 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11212
11213         * lyxrc.C (set_font_norm_type): support iso8859-3
11214
11215 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11216
11217         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11218
11219         * LaTeXFeatures.C: remove special case of french and index
11220
11221         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11222         before \begin{document}). This solves several incompatibilities.
11223
11224 2001-10-03  Garst Reese  <reese@isn.net>
11225
11226         * lyx_cb.C: change CheckTex error msg.
11227
11228 2001-10-03  José Matos  <jamatos@fep.up.pt>
11229
11230         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11231
11232 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11233
11234         * .cvsignore: update
11235
11236         * lyx_main.C (commandLineVersionInfo): use new style version info.
11237
11238         * buffer.C (writeFile):
11239         (makeLaTeXFile):
11240         (makeLinuxDocFile):
11241         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11242
11243         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11244
11245         * version.h: update to use stuff in version.C
11246
11247         * version.C.in: new file. Contains version information determined
11248         at compile time. This is a merging of version.h and
11249         version_info.h.in.
11250
11251 2001-10-03  Juergen Vigna  <jug@sad.it>
11252
11253         * BufferView_pimpl.C (update): don't change "dirty" status in
11254         updateInset call.
11255
11256 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11257
11258         * WorkArea.C (c-tor): re-position version string slightly.
11259
11260 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11263         revert to previous code.
11264
11265         WorkArea.[Ch]: (show, destroySplash): methods removed.
11266
11267         WorkArea.C: rework code so that it's an amalgam of the codes before and
11268         after the splash screen was moved to WorkArea.
11269
11270 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11271
11272         * lyxrc.C (read):
11273         * vspace.C (inPixels):
11274         (lyx_advance):
11275         * kbmap.C (bind):
11276         * buffer.C (insertStringAsLines):
11277         (asciiParagraph): fix types to be large enough
11278
11279         * lyxlex_pimpl.h: change member status from short to int
11280
11281         * layout.h: fix type of endlabeltype
11282
11283         * kbmap.C (bind):
11284         * kbsequence.C (parse): change return type to string::size_type
11285
11286         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11287         variable
11288
11289         * Bullet.C (bulletSize):
11290         (bulletEntry): do not use short ints as parameters
11291
11292         * BufferView2.C (insertLyXFile): change a char to an int.
11293
11294         * WorkArea.C (WorkArea): remove unneeded floats in computation
11295
11296 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11297
11298         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11299
11300         * paragraph.C (asString): Do not ignore newline/hfill chars when
11301         copying to the clipboard.
11302
11303 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11304
11305         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11306         after a multi-line inset.
11307
11308 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * paragraph.C (validate): Set NeedLyXFootnoteCode
11311
11312 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11313
11314         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11315         and decrease-error to decrease.
11316
11317 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11318
11319         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11320         it more readable (should be equivalent)
11321
11322 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11323
11324         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11325
11326 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11327
11328         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11329         of a cursor (row, etc.) after a character has been deleted
11330         (deleteEmptyParagraphMechanism): call the method above on _all_
11331         cursors held by the LyXText when a double space has been
11332         detected/deleted.
11333
11334 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11335
11336         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11337         pixmap.
11338         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11339
11340         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11341         background. Use greyOut() and the new show() methods to toggle between
11342         the foreground and background. Add code to remove the splash after
11343         its initial showing.
11344
11345         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11346         (create_forms): no longer call Dialogs::showSplash.
11347
11348 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11349
11350         * .cvsignore: add version_info.h
11351
11352 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11353
11354         * version_info.h.in: new file
11355
11356         * Makefile.am: add version_info.h.in
11357
11358         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11359         version_info.h instead of VERSION_INFO
11360
11361 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11364         The ERT inset now returns string().
11365
11366 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11367
11368         * lyxtext.h, text.C (selectNextWord): renamed as
11369         selectNextWordToSpellcheck.
11370
11371         * text.C (selectNextWordToSpellcheck): Modified to not select
11372         words inside an ERT inset.
11373
11374 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * lyx_cb.C (MenuLayoutSave): change a bit the question
11377
11378         * sp_base.h: include <sys/types.h>
11379
11380 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11383
11384 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11385
11386         * several files: fix typos in user-visible strings
11387
11388 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11389
11390         * text2.C (pasteSelection): do not set the selection, since it
11391         will be cleared later. Actually, the intent was to fix the way the
11392         selection was set, but I figured rmoving the code was just as good.
11393
11394 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11395
11396         * FontLoader.C (available): Check if font is available without
11397         loading the font.
11398
11399 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11400
11401         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11402
11403 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11404
11405         * lyxrc.[Ch]: added display_graphics variable and associated code.
11406
11407 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11408
11409         * bufferparams.C (hasClassDefaults): new method. Returns true if
11410         the buffer parameters correspond to known class defaults
11411
11412 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * XFormsView.C (show): set minimum size to the main window.
11415
11416 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * text2.C (copySelection):
11419         (cutSelection):
11420         * lyxfind.C (LyXReplace):
11421         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11422         LyXText::selectionAsString.
11423
11424         * paragraph.C (asString): add "label" argument to the second form
11425
11426         * text2.C (selectionAsString): add "label" argument and pass it to
11427         Paragraph::asString.
11428
11429 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11430
11431         * lyx_main.C (commandLineHelp): remove version information
11432
11433 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11434
11435         * lyx_main.C: add -version commandline option
11436
11437 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * paragraph.h: make the optional constructor arg required instead.
11440         some modifications to other files because of this.
11441
11442         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11443
11444         * lyxserver.C (C_LyXComm_callback): make it static
11445
11446         * lyx_main.C (error_handler): make it static
11447
11448         * lyx_gui.C (LyX_XErrHandler): make it static
11449
11450         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11451
11452         * WorkArea.C: make the extern "C" methods static.
11453
11454         * Makefile.am (lyx_LDADD): simplify
11455
11456 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11457
11458         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11459         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11460
11461         * LyXAction.C (init):
11462         * lyxfunc.C (dispatch): associated code removal.
11463
11464 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * lyxfont.h (isSymbolFont): shut off warning
11467
11468         * text.C (setHeightOfRow):
11469         (getVisibleRow): fix crash with empty paragraphs which have a
11470         bottom line
11471
11472 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11473
11474         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11475         code.
11476
11477 2001-09-04  José Matos  <jamatos@fep.up.pt>
11478         * buffer.C
11479         * buffer.h
11480         * tabular.C (docbook): rename docBook method to docbook.
11481
11482 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11483
11484         * Makefile.am: add dependencies to main.o.
11485
11486 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11487
11488         * FontLoader.C (available): Return false if !lyxrc.use_gui
11489
11490 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11491
11492         * FontInfo.C (query):
11493         * converter.C (view):
11494         * importer.C (Import):
11495         * exporter.C (Export): Can not -> cannot.
11496
11497 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11498
11499         * BufferView_pimpl.C: allow to create index inset even if
11500           string is empty
11501
11502 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11503
11504         * buffer.C (getLists): replace boost::tie code with an explicit pair
11505         as boost::tie can break some compilers.
11506
11507         * iterators.h: Added a std:: declaration to the return type of
11508         ParIterator::size.
11509
11510 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11513           case.
11514
11515 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11516
11517         * iterators.[Ch]: New files. Provide paragraph iterators.
11518
11519         * buffer.C (changeLanguage): Use paragraph iterators.
11520         (isMultiLingual): ditto
11521
11522         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11523
11524 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11525
11526         * FontLoader.C: Support for cmr font.
11527
11528 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11529
11530         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11531         (available): New method.
11532
11533         * FontInfo.C (getFontname): Use scalable fonts even when
11534         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11535         found.
11536
11537 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11538
11539         * converter.C (Formats::view): reverted! Incorrect fix.
11540
11541 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11542
11543         * converter.C (Formats::view): only output the -paper option
11544         if the dvi viewer is xdvi, thereby fixing bug #233429.
11545
11546 2001-08-23  Herbert Voss  <voss@perce>
11547
11548         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11549
11550 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11551
11552         * Spacing.h (Spacing): Set space to Default on in the default
11553         constructor.
11554
11555 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11556
11557         * vc-backend.h (RCS::versionString): add RCS to version
11558         (CVS::versionString): add CVS to version
11559
11560         * vc-backend.C (scanMaster): do not add CVS to version.
11561         (scanMaster): do not add RCS to version
11562
11563         * lyxvc.C (versionString): new method
11564
11565         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11566
11567 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * Spacing.C (set): initialize fval
11570
11571 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11572
11573         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11574         " or \.
11575
11576 2001-08-16  Juergen Vigna  <jug@sad.it>
11577
11578         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11579
11580 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * BufferView_pimpl.C:
11583         * figureForm.C:
11584         * lyxtext.h:
11585         * text2.C: setParagraph takes linespacing now
11586
11587 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * LyxAction.C: add internal LFUN_CITATION_INSERT
11590
11591         * LyXView.C: actually apply fix
11592
11593         * bufferlist.C: fix open non-existent file
11594
11595         * lyxfind.C: fix indentation
11596
11597         * lyxfunc.C: remove unneeded assert, fix typo
11598
11599 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * MenuBackend.C: use "Floatname List"
11602
11603 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11604
11605         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11606         when converting LaTeX layout to insetERT.
11607         Generate a non-collapsed float when reading old float
11608
11609 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11610
11611         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11612         ERT insets.
11613
11614 2001-08-13  Juergen Vigna  <jug@sad.it>
11615
11616         * text.C (fill): return 0 instead of 20 as this seems to be the more
11617         correct value.
11618
11619 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11620
11621         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11622         lyxrc.font_norm.
11623
11624 2001-08-13  Juergen Vigna  <jug@sad.it>
11625
11626         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11627         casesensitive off.
11628         (SearchBackward): comment out the unlocking of the inset_owner this
11629         should not be needed!
11630
11631 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11632
11633         * Many files: Remove inherit_language, and add latex_language
11634
11635         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11636         collapsible insets.
11637
11638 2001-08-10  Juergen Vigna  <jug@sad.it>
11639
11640         * text.C (prepareToPrint): fixed hfill-width in draw!
11641
11642         * BufferView2.C (selectLastWord): save the selection cursor as this
11643         now is cleared in the function LyXText::clearSelection!
11644
11645 2001-08-08  Juergen Vigna  <jug@sad.it>
11646
11647         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11648         BACKSPACE type functions.
11649
11650         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11651         is only cutted from the document but not put in the cut-buffer, where
11652         still the old stuff should be.
11653
11654         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11655
11656         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11657
11658         * tabular.C (SetWidthOfCell): fixed special case where the width
11659         was not updated!
11660         (LeftLine): handle '|' in align_special.
11661         (RightLine): ditto
11662         (LeftAlreadyDrawed): ditto
11663         (SetWidthOfCell): ditto
11664
11665 2001-08-07  Juergen Vigna  <jug@sad.it>
11666
11667         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11668
11669 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11672         * lyxlex.[hC]: ditto
11673
11674 2001-08-06  Juergen Vigna  <jug@sad.it>
11675
11676         * text.C (getVisibleRow): fix up row clearing a bit.
11677
11678 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * minibuffer.C: make sure the X server sees the changes in the input.
11681
11682 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * paragraph.C (getFont): split into...
11685         (getLabelFont): this
11686         (getLayoutFont): and this
11687         * paragraph_pimpl.C (realizeFont): calling this
11688
11689         * text2.C (getFont): split into...
11690         (getLayoutFont): this
11691         (getLabelFont): and this
11692         (realizeFont): all three calling this
11693
11694         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11695         files where used.
11696
11697 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11698
11699         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11700
11701 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11702
11703         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11704         layouts from the Quote inset insertion.
11705
11706 2001-08-03  Juergen Vigna  <jug@sad.it>
11707
11708         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11709
11710         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11711         only if status not is already CHANGED_IN_DRAW (second level).
11712
11713         * text.C (draw): don't set the need_break_row when inside an
11714         InsetText LyXText.
11715
11716 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11717
11718         * buffer.C (parseSingleLyXformat2Token): handle more latex
11719         conversion cases.
11720
11721         * bufferview_funcs.[hC]: change function names to
11722         begin with small char, adjust other files.
11723
11724 2001-08-02  André Pönitz <poenitz@gmx.net>
11725
11726         * lyxfunc.C:
11727         BufferView_pimpl.C: remove broken special code for math-greek
11728
11729 2001-08-02  Juergen Vigna  <jug@sad.it>
11730
11731         * BufferView_pimpl.C (update): redone this function so that we
11732         update the text again if there was a CHANGE_IN_DRAW.
11733
11734         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11735         (drawFromTo): added a new internal bool which is used by draw() and
11736         redraw() function.
11737         (general): some cursor drawing problems fixed.
11738
11739 2001-08-01  Juergen Vigna  <jug@sad.it>
11740
11741         * lyxfind.C (LyXFind): fixed
11742         (SearchForward): ditto
11743         (SearchBackward): ditto
11744
11745         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11746         spurius drawing of the cursor in the main area.
11747
11748         * text2.C (status): small fix which could lead to a segfault!
11749         (clearSelection): remove unneeded BufferView param.
11750
11751 2001-08-01  André Pönitz <poenitz@gmx.net>
11752
11753         * lyxfunc.C: small change due to changed mathed interface
11754
11755 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11756
11757         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11758
11759 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyxfunc.c: fail gracefully if file doesn't exist
11762
11763         * LyXSendto.C:
11764         * buffer.C:
11765         * lyxfunc.C:
11766         * BufferView_pimpl.C: IsDirWriteable() proto changed
11767
11768         * LyXView.C: fix updateWindowTitle() to store the last title
11769
11770 2001-07-31  Juergen Vigna  <jug@sad.it>
11771
11772         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11773         the font (wrong since using of Paragraph::highestFontInRange).
11774
11775         * paragraph.C (highestFontInRange): added a default_size parameter.
11776
11777         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11778         (setHeightOfRow): reformat
11779
11780 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11781
11782         * converter.[hC] + affected files: move to (inital-char)lowercase
11783         function names.
11784
11785         * ParagraphParameters.C (ParagraphParameters): remove commented code
11786
11787         * PainterBase.[Ch]: remove commented code
11788
11789         * LaTeXFeatures.h: add "bool floats" for float.sty
11790
11791         * LaTeXFeatures.C (LaTeXFeatures): init floats
11792         (require): handle float
11793         (getPackages): do it with floats
11794
11795 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11796
11797         * BufferView_pimpl.C (Dispatch): improve handling of
11798         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11799
11800         * commandtags.h: #include lyxfont.h here temporarily to avoid
11801         keybinding bug.
11802
11803         * bufferlist.h: include LString.h here.
11804
11805 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * text2.C (getStringToIndex): new method.
11808
11809 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11810
11811         * *: Reduced header file dependencies all over.
11812
11813 2001-07-30  Baruch Even  <baruch@lyx.org>
11814
11815         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11816
11817 2001-07-29  Baruch Even  <baruch@lyx.org>
11818
11819         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11820
11821 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * ParameterStruct.h (endif): add a default constructor to make
11824         sure that all variables is initialized.
11825
11826         * ParagraphParameters.C (ParagraphParameters): adjust
11827
11828 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11831         index; also, check that there is something to index, and that it
11832         does not span over several paragraphs.
11833         (doubleClick): use WHOLE_WORD_STRICT for double click.
11834
11835         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11836
11837         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11838         scheme.
11839
11840 2001-07-26  Baruch Even  <baruch@lyx.org>
11841
11842         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11843         an InsetFig figure, backwards compatible reading of old figure code.
11844
11845 2001-07-27  Juergen Vigna  <jug@sad.it>
11846
11847         * text2.C: font.realize function adaption.
11848
11849         * text.C (draw): add a warnings lyxerr text if needed.
11850
11851         * layout.C: font.realize function adaption.
11852
11853         * language.C: add inherit_language and implement it's handlings
11854
11855         * bufferview_funcs.C (StyleReset): remove language parameter from
11856         font creation (should be language_inherit now).
11857
11858         * bufferparams.C (writeFile): handle ignore_language.
11859
11860         * paragraph.C (getFontSettings): the language has to be resolved
11861         otherwise we have problems in LyXFont!
11862
11863         * lyxfont.C (lyxWriteChanges): added document_language parameter
11864         (update): removed unneeded language parameter
11865
11866         * paragraph.C (validate): fixed wrong output of color-package when
11867         using interface colors for certain fonts in certain environments,
11868         which should not seen as that on the final output.
11869
11870 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * BufferView_pimpl.C:
11873         * Thesaurus.h:
11874         * Thesaurus.C:
11875         * Makefile.am:
11876         * commandtags.h:
11877         * LyXAction.C: add thesaurus support
11878
11879         * lyxfind.h:
11880         * lyxfind.C: add "once" parameter, for thesaurus, to not
11881           move to the next match
11882
11883 2001-07-26  Juergen Vigna  <jug@sad.it>
11884
11885         * lyxfont.C (realize): honor ignore_language too!
11886         (resolved): ditto.
11887
11888         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11889
11890         * text.C (draw): one place more for ignore_language to not draw
11891         itself!
11892
11893 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11896
11897 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11900         the minipage conversion problem.
11901
11902 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11905         insert an inset.
11906
11907 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * BufferView.h: don't forward declare WorkArea
11910
11911         * BufferView.C: don't include WorkArea.h
11912
11913 2001-07-25  André Pönitz <poenitz@gmx.net>
11914
11915         * commandtags.h:
11916         * LyXAction.C:
11917         * lyxfunc.C:  new LFUN 'math-space'
11918
11919         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11920
11921 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * text2.C (toggleInset): call open/close
11924
11925 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * lyxfunc.C (dispatch): add debug for the disabled case
11928
11929         * font.C (buttonText): make similar to rectText
11930
11931         * buffer.C (readInset): comment out parsing of insetlist and
11932         insttheorem
11933
11934         * PainterBase.C (rectText): small correction
11935
11936         * BufferView_pimpl.C: comment out insettheorem and insetlist
11937         * LyXAction.C: ditto
11938         * commandtags.h: ditto
11939
11940 2001-07-24  Juergen Vigna  <jug@sad.it>
11941
11942         * text.C (draw): honor the ignore_language.
11943
11944         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11945
11946 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11949         char inset.
11950
11951 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11952
11953         * lyxtext.h: remove unused (and unimplemented) methods
11954
11955 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11956
11957         * text.C (getVisibleRow): honor background color
11958
11959         * PainterBase.h:
11960         * Painter.h: remove default color argument for fillRectangle
11961
11962         * text.C (backgroundColor): new method
11963
11964 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * text.C (getVisibleRow): adjust
11967
11968         * font.[Ch] (rectText): new method, metrics
11969         (buttonText): new method, metrics
11970
11971         * PainterBase.[hC]: make rectText and buttonText always draw and take
11972         fewer paramteres.
11973
11974 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11975
11976         * ToolbarDefaults.C (read):
11977         * MenuBackend.C (read): allow escaping in all strings
11978
11979         * BufferView_pimpl.C (insertAndEditInset): new method.
11980         (Dispatch): use insertAndEditInset whenever appropriate.
11981
11982         * BufferView_pimpl.C (insertNote): removed
11983
11984         * BufferView_pimpl.C (smartQuote): new method, moved from
11985         BufferView; if an insetquote cannot be inserted, insert a '"'
11986         character instead.
11987
11988         * BufferView2.C: remove insertCorrectQuote();
11989
11990         * lyxfunc.C (getStatus): Add support for all remaingin
11991         inset-insert lfuns.
11992
11993         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11994
11995         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11996         command (necessary to pass " as parameter of self-insert.
11997
11998         * text.C (selectWordWhenUnderCursor):
11999         (selectWord): add word_location parameter
12000         (selectWordWhenUnderCursor): same + remove special code for word
12001         boundary.
12002         (selectNextWord): use kind() to guess type of insetspecialchar,
12003         not latex().
12004
12005         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12006         (insertErtContents): create ert insets as collapsed.
12007         (readInset): better compatibility code for Info inset.
12008
12009 2001-07-20  Juergen Vigna  <jug@sad.it>
12010
12011         * lyxfunc.C (dispatch): use always LyXFind now!
12012
12013         * text2.C (init): add a reinit flag so that the LyXText can be
12014         reinited instead of deleted and reallocated (used in InsetText).
12015
12016         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12017
12018         * text.C: ditto
12019
12020         * text2.C: ditto
12021
12022 2001-07-18  Juergen Vigna  <jug@sad.it>
12023
12024         * text.C (selectNextWord): handle insets inside inset by calling
12025         always the bv->text functions so that we can go up the_locking_inset!
12026
12027         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12028         in strange locations when inside an inset!
12029
12030         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12031         handling to include insets.
12032
12033         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12034
12035 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12036
12037         * LyXAction.C (init):
12038         * commandtags.h:
12039         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12040         LIGATURE_BREAK, since the name is so stupid.
12041
12042 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12043
12044         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12045         InsetInfos.
12046
12047         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12048
12049         * sp_form.[Ch]: remove.
12050
12051         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12052
12053         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12054         InsetInfo.
12055
12056         * src/buffer.C (readInset): ditto.
12057
12058 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12059
12060         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12061         menuSeparator(), endOfSentenceDot(), ldots() and
12062         hyphenationPoint(), which are therefore removed.
12063         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12064
12065         * LyXAction.C (init):
12066         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12067
12068         * paragraph.C (getWord): removed.
12069
12070         * BufferView_pimpl.C (Dispatch): use last word or selection for
12071         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12072
12073         * lyx_main.C (queryUserLyXDir): do not ask before creating
12074         user_dir, except if it has been named explicitely.
12075
12076 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12079         a document of zero size.
12080
12081 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12084         approriately in the c-tor and in require().
12085         (getPackages): output the appropriate LaTeX for natbib support.
12086
12087         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12088         variables "use_natbib" and "use_numerical_citations" when reading the
12089         LyX file.
12090         (readInset): read the various natbib cite commands.
12091         (validate): white-space change.
12092
12093         * bufferparams.[Ch]: new variables "bool use_natbib" and
12094         "bool use_numerical_citations".
12095         (writeFile): output them in the LyX file.
12096
12097 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12098
12099         * lyxfunc.C (getStatus): add support for all the inset insertion
12100         commands.
12101
12102         * text2.C (insertInset):
12103         * paragraph.C (insetAllowed):
12104         * BufferView_pimpl.C (insertInset): update to take in account the
12105         renaming of insertInsetAllowed
12106
12107         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12108
12109         * text2.C (getInset): new method. returns inset at cursor position.
12110
12111         * BufferView_pimpl.C (Dispatch): changes because of this.
12112
12113         * LyXAction.C (init): rename open-stuff to inset-toggle.
12114
12115         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12116
12117         * text2.C (toggleInset): renamed from openStuff; use
12118         Inset::open().
12119
12120 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12121
12122         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12123
12124         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12125
12126 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * buffer.C (readLyXformat2): Add filename to the error dialog
12129
12130 2001-07-18  Juergen Vigna  <jug@sad.it>
12131
12132         * tabular.C (GetCellNumber): put an assert here instead of the check!
12133
12134 2001-07-17  Juergen Vigna  <jug@sad.it>
12135
12136         * BufferView_pimpl.C (toggleSelection): adapted too.
12137
12138         * text.C (selectNextWord): adapted for use with insets.
12139         (selectSelectedWord): ditto
12140
12141 2001-07-17  Juergen Vigna  <jug@sad.it>
12142
12143         * sp_spell.C (PSpell): fix initialitation order.
12144
12145 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * paragraph.C: spacing
12148
12149 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12150
12151         * sp_spell.C: repair language selection for pspell
12152
12153 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * lyxfunc.h: change more methods to begin with lower char.
12156
12157 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12158
12159         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12160         for unknown layouts.
12161
12162 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12163
12164         * buffer.C (readLyXformat2): Generate an error dialog if there are
12165         unknown layouts.
12166
12167 2001-07-16  Juergen Vigna  <jug@sad.it>
12168
12169         * sp_spell.C: always compile ISpell part.
12170
12171         * lyxrc.C: added use_pspell entry and it's handling.
12172
12173 2001-07-13  Juergen Vigna  <jug@sad.it>
12174
12175         * sp_spell.C: removed double includes.
12176
12177 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         Consistent use of Lsstream.h:
12180         * Lsstream.h: added using std::stringstream for consistencies sake.
12181
12182         * buffer.C: removed using std::stringstream
12183
12184         * lyxfont.C (stateText):
12185         * paragraph.C (asString):
12186         * text.C (selectNextWord, selectSelectedWord):
12187         * text2.C (setCounter):
12188         * vspace.C (asString, asLatexString):
12189         std::ostringstream -> ostringstream.
12190
12191 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12192
12193         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12194         * commandtags.h: add LFUN_HELP_ABOUTLYX
12195         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12196
12197 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12198
12199         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12200         cursorToggle()
12201         * lyx_gui_misc.C: remove spellchecker
12202         * lyxfunc.C: showSpellchecker
12203         * sp_base.h: added
12204         * sp_ispell.h: added
12205         * sp_pspell.h: added
12206         * sp_spell.C: added
12207         * sp_form.[Ch]: removed
12208         * spellchecker.[Ch]: removed
12209
12210 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12211
12212         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12213         is set.
12214         (simpleTeXSpecialChars): Simply print the input character without
12215         any special translation if pass_thru is set.
12216
12217         * layout.h: Added bool pass_thru to layout class for being able to
12218         implement pass through of a paragraph for Literate Programming.
12219
12220         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12221         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12222         * layout.C (Read): add "passthru" to list of layout tags and add
12223         code to set the pass_thru boolean when it is read.
12224
12225 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * trans_decl.h: remove allowed from KmodInfo
12228
12229         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12230         remove allowed code
12231         (Load): adjust
12232
12233         * paragraph_pimpl.C (erase): use boost::prior
12234
12235         * Painter.C (text): use data() instead of c_str() when length is
12236         also provided.
12237         * WorkArea.C (putClipboard): ditto
12238         * font.h (width): ditto
12239
12240         * BufferView2.C: use it-> instead of (*it). for iterators
12241         * texrow.C: ditto
12242         * paragraph_pimpl.C: ditto
12243         * paragraph.C: ditto
12244         * minibuffer.C: ditto
12245         * language.C: ditto
12246         * kbmap.C: ditto
12247         * encoding.C: ditto
12248         * counters.C: ditto
12249         * converter.C: ditto
12250         * chset.C: ditto
12251         * Variables.C: ditto
12252         * TextCache.C: ditto
12253         * MenuBackend.C: ditto
12254         * LyXAction.C: ditto
12255         * LColor.C: ditto
12256         * FloatList.C: ditto
12257         * DepTable.C: ditto
12258         * ColorHandler.C (LyXColorHandler): ditto
12259
12260 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12263
12264         * text2.C (openStuff): reintroduce this method (which had been
12265         nuked in NEW_INSETS frenzy).
12266
12267         * lyxfunc.C (Dispatch): when an action has not been handled, use
12268         its name in the error message, not its number.
12269
12270         * paragraph.C (inInset): change method name to begin with lowercase.
12271
12272         * undo_funcs.C:
12273         * text2.C: updates because of this.
12274
12275 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12276
12277         * ToolbarDefaults.C (add): add spaces in error message
12278
12279 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12282         (readLyXformat2): rename return_par to first_par, use lyxlex's
12283         pushToken and remove the manual push handling.
12284         (parseSingleLyXformat2Token): add another ert comp. variable:
12285         in_tabular, rename return_par to first_par. handle newlines better
12286
12287 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12288
12289         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12290
12291 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * text2.C (getParFromID): removed
12294
12295         * buffer.C (getParFromID): new method moved form lyxtext.
12296         * BufferView2.C (insertErrors): adjust
12297         (setCursorFromRow): adjust
12298         * BufferView_pimpl.C (restorePosition): adjust
12299         * lyxfunc.C (Dispatch): adjust
12300         * undo_funcs.C (textUndo): adjust
12301         (textRedo): adjust
12302         (textHandleUndo): adjust
12303         (textHandleUndo): adjust
12304
12305 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * buffer.C: up' the LYX_FORMAT
12308
12309         * lyxfont.h: turn NO_LATEX on as default
12310
12311         * buffer.C (insertErtContents): new methods of tex style compability.
12312         (parseSingleLyXformat2Token): use it several places.
12313         * tabular.C (OldFormatRead): and here
12314
12315 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * text2.C: remove some commented code.
12318         reindent file.
12319
12320         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12321         * trans.C: changes because of the above.
12322
12323 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12324
12325         * text2.C (setCounter): Fix counters bug with bibliography layout.
12326
12327 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12330         own member functions
12331         (simpleTeXSpecialChars): ditto
12332
12333 2001-07-06  Juergen Vigna  <jug@sad.it>
12334
12335         * a lot of files: changed the access to LyXText::status and the
12336         call of undo-functions.
12337
12338         * undo.[Ch]: added a inset_id to the undo informations.
12339
12340         * undo_funcs.[Ch]: added and moved here all undo functions.
12341
12342         * lyxtext.h: give the status enum a weight, made status_ a private
12343         variable and made accessor functions for it, removed the whole bunch
12344         of undo-functions as they are now in their own file, make some
12345         functions publically available. Added function ownerParagraph with
12346         int parameter.
12347
12348         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12349         made InInset() a const function, added getParFromID() function.
12350
12351         * buffer.[Ch]: added const version for inset_iterator functions,
12352         added getInsetFromID() function.
12353
12354         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12355         changed undo functions for new version.
12356
12357 2001-07-05  Juergen Vigna  <jug@sad.it>
12358
12359         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12360         unknow mechanism does not call the proper constructor but only this
12361         one also if I request the other!?
12362
12363 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12364
12365         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12366
12367         * text2.C (LyXText): use initialization lists.
12368
12369         * lyxtext.h (Selection): initialize set_ and mark_
12370         (init): remove method
12371
12372 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12375
12376 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * screen.[Ch]: change method names to begin with lowercase
12379
12380         * BufferView_pimpl.C (updateScrollbar): simplify further and
12381         hopefully make it a bit faster.
12382
12383 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12384
12385         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12386         calling directly xforms functions.
12387
12388         * Painter.C (Painter):
12389         * lyx_cb.C (MenuWrite):
12390         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12391         fl_display.
12392
12393         * lyx_gui.C: remove bogus guiruntime extern declaration.
12394
12395 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12398         in NEW_INSETS
12399         (redoDrawingOfParagraph): ditto
12400         (redoParagraphs): ditto
12401         (cutSelection): don't create a object for CutAndPaste use the
12402         static method directly
12403         (pasteSelection): ditto
12404
12405         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12406         LyXview (+ rename)
12407
12408 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12409
12410         * modifications to some other files because of this.
12411
12412         * Makefile.am (lyx_SOURCES): add XFormsView
12413
12414         * XFormsView.[Ch]: new files
12415
12416         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12417         the main window. Move the gui dependent stuff to XFormsView
12418
12419 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * tabular.C (GetCellInset): update cur_cell also in the row/col
12422         version of this function.
12423
12424         * lyxfunc.C: no need to include figure_form.h here.
12425
12426         * FontLoader.h:
12427         * lyxfunc.h:
12428         * lyxscreen.h:
12429         * text2.C:
12430         * lyxvc.C: no need to include forms.h here.
12431
12432 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12435
12436         * lyxfunc.C (Dispatch):
12437         * Spacing.C (set):
12438         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12439         constructor argument.
12440
12441 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * paragraph.C (Paragraph): dont't clear, and just set layout.
12444         (makeSameLayout): use params's copy contructor.
12445
12446         * ParagraphParameters.[Ch] (makeSame): delete method
12447
12448 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * Variables.[Ch]: fix indentation, rename set to isSet
12451
12452 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * lyxfunc.C (Dispatch): fix typo
12455
12456 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12457
12458         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12459         upper_bound.
12460
12461         * bufferlist.C: include assert.h for emergencyWrite().
12462
12463 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12466           give up at last (bug #425202) !
12467
12468 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12469
12470         * lyx_gui_misc.C:
12471         * sp_form.h:
12472         * sp_form.C:
12473         * spellchecker.h:
12474         * spellchecker.C: strip spellchecker options and bring up
12475           preferences tab instead
12476
12477 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12478
12479         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12480         the istringstream constructor
12481
12482 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12483
12484         * paragraph.C (getLayout): fix return value
12485
12486         * paragraph.h: do not declare getLayout as inline.
12487
12488         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12489
12490 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12491
12492         * lyxcursor.h (operator<): new func
12493         (operator>): new func
12494         (operator>=): new func
12495         (operator<=): new func
12496
12497         * text.C (changeCase): use selection.start and selection.end
12498         (changeRegionCase): require from to be <= to. Require par to be a
12499         valid paragraph.
12500
12501         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12502
12503 2001-06-27  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (cursorLeftOneWord): changed to return the cursor and added
12506         overlay with BufferView * parameter which calls this one.
12507         (getWord): added
12508         (selectWord): use new getWord function.
12509         (changeCase): renamed from changeWordCase as and extended to work
12510         also on selections.
12511
12512         * lyxtext.h: added enum word_location
12513
12514         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12515         changeCase as this operates now also on selections.
12516
12517 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12518
12519         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12520
12521         * many files: send debug output to Debug::INFO instead of
12522         Debug::ANY.
12523
12524         * converter.C (View):
12525         (Convert):
12526         (Move): send debug output to Debug::FILES instead of console.
12527
12528 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12529
12530         * lyxfunc.C (getStatus): use func_status
12531
12532         * func_status.h: new header, describing the results of
12533         LyXFunc::getStatus;
12534
12535         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12536         LFUN_MATH_HALIGN.
12537
12538 2001-06-25  The LyX Project  <jug@sad.it>
12539
12540         * buffer.C (sgmlOpenTag):
12541         (sgmlCloseTag):
12542         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12543
12544 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * text2.C: remove some dead code
12547
12548         * tabular.C (GetCellInset): store the last cell checked (gotten)
12549
12550         * tabular.h: add the helper for the speedup
12551
12552         * lyxtext.h: remove some dead code
12553
12554 2001-06-26  The LyX Project  <Asger>
12555
12556         * paragraph.C: Change export to LaTeX of alignment to
12557         \begin{center} and family for better roundtrip work with reLyX.
12558
12559         * Tune the math drawing a bit.
12560
12561 2001-06-25  The LyX Project  <Asger>
12562
12563         * LColor.C (LColor): New color for math background. New color
12564         for buttons.
12565
12566 2001-06-25  The LyX Project  <jug@sad.it>
12567
12568         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12569
12570         * lyxfunc.C (Open):
12571         * bufferlist.C (newFile): do not restrict to files ending with
12572         .lyx
12573
12574         * BufferView_pimpl.C (MenuInsertLyXFile):
12575
12576 2001-06-24  The LyX Project  <jug@sad.it>
12577
12578         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12579         of compare_no_case
12580
12581 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * lyxtext.h: rename most methods to begin with a small char.
12584         Lots of changes because of this.
12585
12586         * paragraph.C (Paragraph): do not call fitToSize
12587         (erase): call Pimpl::erase
12588         (insertChar): call Pimpl::insertChar
12589         (insertInset): call Pipl::insertInset
12590         (breakParagraph): do not call fitToSize
12591         (breakParagraphConservative): do not call fitToSize
12592         (fitToSize): remove method
12593
12594         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12595
12596 2001-06-24  The LyX Project  <Asger>
12597
12598         * Fix Qt compilation^2
12599
12600 2001-06-24  The LyX Project  <jug@sad.it>
12601
12602         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12603         depthHook(getDepth()-1).
12604
12605         * paragraph.h:
12606         * ParagraphParameters.h:
12607         * ParameterStruct.h: change type of depth to unsigned int ==
12608         depth_type. Many adaptations to other files before of that.
12609
12610 2001-06-24  The LyX Project  <Asger>
12611
12612         * Fix Qt compilation.
12613
12614 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * paragraph.h: renamed several methods to begin with small letter.
12617         several changes to many parts of the code because of this.
12618
12619 2001-06-23  The LyX Project  <jug@sad.it>
12620
12621         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12622         rewritten to discard all double spaces when KeepEmpty is off
12623         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12624         to only handle newlines but not fiddle with spaces and friends.
12625
12626         * lyxfunc.C (MenuNew): when doing 'new from template', use
12627         template_path as default directory
12628
12629 2001-06-23  The LyX Project  <Asger>
12630
12631         * Clean-up of header file includes all over
12632         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12633
12634 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * paragraph.h: renamed from lyxparagraph.h
12637
12638 2001-06-23  Asger  <lyx@violet.home.sad.it>
12639
12640         * Buffer.h: Removed Buffer::resize
12641         * BufferList.h: Removed BufferList::resize
12642         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12643         the document lazily when we change the width, or the font settings.
12644
12645 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12648
12649 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * buffer.h: remove out of date comment
12652
12653 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * lyxscreen.h:
12656         * screen.C: fix "theoretical" GC leak
12657
12658 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * LaTeX.C (scanAuxFile):
12661         (deplog): remove trailing \r when reading stream (useful under
12662         win32)
12663
12664 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12665
12666         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12667         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12668         and BufferView::theLockingInset(Inset*), so should use them and not
12669         access bv_->text->the_locking_inset directly.
12670
12671         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12672
12673 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * Makefile.am:
12676         * tex-defs.h: remove old unused file
12677
12678 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * BufferView_pimpl.C: fix typo, remove minibuffer message
12681           when buffer has loaded
12682
12683 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * lyxfunc.C (Dispatch): use stringstream
12686         (MenuNew): use stringstream
12687         (Open): use stringstream
12688
12689         * importer.C (Import): use stringstream
12690
12691         * bufferview_funcs.C (CurrentState): use stringstream
12692
12693         * LaTeX.C (run): use stringstream
12694
12695         * BufferView_pimpl.C (savePosition): use stringstream
12696         (restorePosition): use stringstream
12697         (MenuInsertLyXFile): use stringstream
12698
12699 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * BufferView.C:
12702         * Bullet.C:
12703         * ColorHandler.C:
12704         * FontInfo.C:
12705         * FontLoader.C:
12706         * LColor.C:
12707         * LaTeXFeatures.C:
12708         * Painter.C:
12709         * gettext.C:
12710         * lyx_gui_misc.C:
12711         * lyxserver.C:
12712         * vspace.C: removed // -*- C++ -*- as first line.
12713
12714         * lyxfind.h:
12715         * version.h: added // -*- C++ -*- as first line.
12716
12717 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12720
12721         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12722         of string
12723
12724 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12725
12726         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12727         of floats.
12728
12729 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12730
12731         * gettext.C: include LString.h even when --disable-nls is on.
12732
12733 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12734
12735         * converter.h (Get): changed argument type from int to
12736         FormatList::size_type to avoid unnecessary conversion.
12737
12738         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12739         before using it.
12740
12741 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12742
12743         * gettext.h: include LString.h even when --disable-nls is on.
12744
12745 2001-06-07  Juergen Vigna  <jug@sad.it>
12746
12747         * text.C (BreakAgain): subst spaces with tabs.
12748
12749         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12750         (resizeInsetsLyXText): set force on resizeLyXText.
12751
12752 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12753
12754         * gettext.h (gettext_init):
12755         (locale_init): use a real definition instead of a macro
12756
12757 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * Bufferview_pimpl.C:
12760         * LColor.h:
12761         * LColor.C: further lcolor tidies
12762
12763 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * BufferView_pimpl.C (updateScrollbar): simplify.
12766
12767         * BufferView2.C: don't include insets/insetinfo.h, change
12768         prototype for insertInset and call the Pimpl version. let
12769         updateInset call Pimpl version.
12770
12771         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12772         gotoInset to BufferView::Pimpl
12773
12774 2001-06-01  Juergen Vigna  <jug@sad.it>
12775
12776         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12777         inside a LockingInset (is the update needed at all?).
12778
12779 2001-05-31  Juergen Vigna  <jug@sad.it>
12780
12781         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12782         here not the old one otherwise how should we compare it afterwards
12783         if it's the same!
12784
12785 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12786
12787         * lyxfont.C:
12788         * tabular.C:
12789         * tabular-old.C:
12790         * FontInfo.C: bring C functions into global namespace when
12791         necessary
12792
12793 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * LString.h: make sure config.h has been loaded before LString.h.
12796
12797         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12798         (one for each char read by EatLine!).
12799
12800         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12801         variables.
12802
12803 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12806         to the same as the par we break from
12807
12808 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12811
12812         * MenuBackend.C (expand): also create menu entries for wide
12813         versions of the floats.
12814
12815         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12816
12817         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12818
12819         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12820         frontends/Makefile.am
12821
12822         * text2.C: adjust
12823         * text.C: adjust
12824
12825
12826         * tabular.C (getTokenValue): add std::
12827
12828         * tabular-old.C (getTokenValue): add std::
12829         (getTokenValue): ditto
12830         (getTokenValue): ditto
12831
12832         * screen.C (ToggleSelection): adjust
12833
12834         * lyxtext.h: put selection cursors inside a Selection struct.
12835
12836         * lyxfunc.C (moveCursorUpdate): adjust
12837
12838         * lyxfont.C (latexWriteStartChanges): add std::
12839
12840         * lyxfind.C: adjust
12841
12842         * font.h: delete with(char const *, LyXFont const &)
12843
12844         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12845
12846         * FontInfo.C (getFontname): add std::
12847
12848         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12849         (workAreaButtonPress): adjust
12850         (tripleClick): adjust
12851         (update): adjust
12852         (moveCursorUpdate): adjust
12853         (Dispatch): adjust
12854
12855         * BufferView2.C (gotoInset): adjust
12856
12857 2001-05-30  Juergen Vigna  <jug@sad.it>
12858
12859         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12860         to check pspell I add this as default as I now have new pspell
12861         libraries and they seem to use this.
12862
12863 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * text2.C (CutSelection): make the cursor valid before the call to
12866         ClearSelection.
12867
12868 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12871         relied on 0 terminated strings and other horrors. Bug found due to
12872         the new assert in lyxstring!
12873
12874         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12875         KP_ keys.
12876
12877 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12880         to latinkeys.bind.
12881
12882         * lyxfunc.C (processKeySym): change method of getting to the
12883         self-insert char.
12884
12885         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12886         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12887         * BufferView_pimpl.[Ch]: here as private methods.
12888
12889 2001-05-28  Juergen Vigna  <jug@sad.it>
12890
12891         * text.C (SetHeightOfRow): added the update() call again as it is
12892         needed to initialize inset dimensions!
12893
12894 2001-05-16  Juergen Vigna  <jug@sad.it>
12895
12896         * text2.C (SetCharFont): Add new function with BufferView * and
12897         bool toggleall parameters for setting insets internal fonts.
12898         (SetFont): Freeze the undo as we may change fonts in Insets and
12899         all this change should be inside only one Undo!
12900
12901         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12902         setting font's in insets as for them we have the SetFont function!
12903
12904 2001-05-15  Juergen Vigna  <jug@sad.it>
12905
12906         * text2.C (ClearSelection): to be sure we REALLY don't have any
12907         selection anymore!
12908
12909         * tabular.C (TeXCellPreamble): fixed the left border problem for
12910         multicolumn cells.
12911
12912 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12915         dependancy file
12916
12917 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12920         LFUN_BREAKPARAGRAPH.
12921
12922         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12923         help test to "internal only", similar for LFUN_INSERT_URL
12924
12925         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12926         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12927         auto_region_delete and deadkeys.
12928
12929 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * LColor.h:
12932         * LColor.C: remove some dead entries, tidy a little
12933
12934 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12937         commented code.
12938         (Dispatch): implement LFUN_ESCAPE
12939
12940         * commandtags.h: add LFUN_ESCAPE
12941
12942         * LyXAction.C (init): add entry for LFUN_ESCAPE
12943
12944         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12945         Remove commented code.
12946         (insertNote): moved here
12947         (open_new_inset): moved here
12948
12949         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12950         BufferView_pimpl
12951
12952 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12953
12954         * kbmap.C (findbinding): clean it up and make it work correctly.
12955
12956         * lyx_main.C (init): do not pass argc and argv as parameters
12957
12958 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12959
12960         * buffer.C: fix path for OS/2 & Win32
12961
12962         * lyx_gui.C:
12963         * lyx_main:
12964         * lyx_main.C: Added os:: class.
12965
12966         * os2_defines.h: update
12967
12968 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12971         better by trying again with reduced state.
12972
12973 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12974
12975         * lyxrc.C (read): print error about invalid key sequence only when
12976         debugging (because not all latinX keysyms are known to some X
12977         servers)
12978
12979         * kbsequence.C (getiso): add a few std:: qualifiers
12980         (getiso): comment out extra return statement.
12981
12982 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12985         handling.
12986         (Dispatch): enhance the accent inset a bit. (not perfect)
12987
12988 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12991
12992 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * bufferlist.C (emergencyWrite): fix assert() call
12995
12996 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12997
12998         * text.C (InsertChar): Added trivial patch to only send the "you
12999         can not do multiple spaces this way" message once during a
13000         session.
13001
13002 2001-05-08  Baruch Even  <baruch@lyx.org>
13003
13004         * Makefile.am: Changed order of libraries to get LyX to link properly
13005         with the gnome frontend.
13006
13007 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * LaTeXFeatures.h: add a std:: qualifier
13010
13011 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * paragraph.C (String): use stringstream
13014
13015 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13016
13017         * paragraph.C (writeFile): remove footflag arg
13018
13019         * buffer.C (makeLaTeXFile): use stringstream
13020         (latexParagraphs): remove footnot gurba
13021
13022         * LaTeXFeatures.C (getPackages): use stringstream
13023         (getMacros): likewise
13024         (getTClassPreamble): likewise
13025         (getFloatDefinitions): new method
13026
13027         * paragraph.C (writeFile): reindent
13028         (Erase): reindent
13029
13030         * WorkArea.h: revert the xpos + etc changes.
13031
13032         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13033
13034         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13035
13036         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13037         (pasteSelection): likewise
13038         * text2.C (CreateUndo): likewise
13039
13040 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * minibuffer.C (peek_event): temporarily reduce the functionality
13043         of the minibuffer (to allow args on lfuns)
13044
13045         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13046         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13047
13048         * buffer.C (readInset): add compability reading of old float
13049         lists, add reading of new style float list.
13050         (readInset): avoid reevaluation of inscmd.getCmdName()
13051         (getLists): reindent
13052
13053         * MenuBackend.C (MenuItem): implement parsing of
13054         md_floatlistinsert and md_floatinsert.
13055         (expand::LastFiles): move initalizaton of iterators out of loop,
13056         avoid reevaluation.
13057         (expand::Documents): introduce typdedef vector<string> Strings,
13058         and use it.
13059         (expand::ExportFormats): introduce typedef vector<Format const *>
13060         Formats, and use it.
13061         (expand): implement FloatListInsert and FloatInsert.
13062
13063         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13064         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13065         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13066
13067         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13068         handling.
13069         (Dispatch::LFUN_FLOAT_LIST): implement
13070
13071 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13072
13073         * LaTeX.C (run): Fix problem with --export code.
13074
13075 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13076
13077         * BufferView.[Ch] (workarea): removed.
13078         (getClipboard) new method; wrapper for workarea()->getClipboard()
13079
13080         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13081         bug.
13082
13083         * WorkArea.h (width, height, xpos, ypos): These methods all
13084         returned the dimensions of the work_area sub-area of WorkArea,
13085         resulting in a position error if the WorkArea were resized. Now
13086         return the dimensions of the entire WorkArea.
13087
13088         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13089
13090 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * LaTeX.C (deplog): correct the syntax of regex reg1
13093
13094 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * undo.C: remove !NEW_INSETS cruft
13097
13098 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * text2.C: remove !NEW_INSETS cruft
13101
13102         * text.C: remove !NEW_INSETS cruft
13103
13104         * tabular.C: remove !NEW_INSETS cruft
13105
13106         * spellchecker.C: remove !NEW_INSETS cruft
13107
13108         * lyxtext.h: remove !NEW_INSETS cruft
13109
13110         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13111
13112         * lyxfunc.C: remove !NEW_INSETS cruft
13113
13114         * lyxfind.C: remove !NEW_INSETS cruft
13115
13116         * lyx_cb.C: remove !NEW_INSETS cruft
13117
13118         * figureForm.C: remove  !NEW_INSETS cruft
13119
13120         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13121
13122         * buffer.[Ch]: remove !NEW_INSETS cruft
13123
13124         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13125
13126         * CutAndPaste.C: remove !NEW_INSETS cruft
13127
13128         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13129
13130         * BufferView2.C: remove !NEW_INSETS cruft
13131
13132         * BufferView.h: remove !NEW_INSETS cruft
13133
13134 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * Lsstream.h: include LString.h before the sstream headers to
13137         fix problem with gcc 2.95.3 and lyxstring
13138
13139 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * lyx_main.C: add using directives when needed for C functions
13142         declared in std:: namespace.
13143
13144 2001-04-27  Juergen Vigna  <jug@sad.it>
13145
13146         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13147         (SetHeightOfRow): comment out the update call should not be needed!
13148
13149 2001-04-13  Juergen Vigna  <jug@sad.it>
13150
13151         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13152         (LyXTabular): tried to minimize operator= operations (and realized
13153         hopfully Lars wish).
13154
13155 2001-04-27  Juergen Vigna  <jug@sad.it>
13156
13157         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13158
13159 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13162
13163         * buffer.C (readInset): hack to make listof algorithm work
13164
13165         * BufferView_pimpl.C: hack to make listof algorithm work
13166
13167 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * LyXAction.C: removed all !NEW_INSETS cruft
13170         (init): moved lfun_item in method
13171
13172         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13173
13174 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * BufferView2.C (theLockingInset): white space.
13177
13178 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13179
13180         * minibuffer.C: include <iostream>
13181
13182         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13183
13184         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13185
13186         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13187
13188         * text.[Ch] (TransposeChars): new method
13189
13190 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * call message directly through LyXView instead of through LyXFunc
13193         * BufferView2.C: adjust
13194         * BufferView_pimpl.C: adjust
13195         * FontLoader.C: adjust
13196         * buffer.C: adjust
13197         * bufferview_funcs.C: adjust
13198         * converter.C: adjust
13199         * figureForm.C: adjust
13200         * importer.C: adjust
13201         * lyx_cb.C: adjust
13202         * lyx_gui_misc.C: adjust
13203         * lyxfunc.C: adjust
13204         * lyxvc.C: adjust
13205         * text2.C: adjust
13206         + more files in subdirs
13207
13208         * lyxparagraph.h (size): move up int file
13209         (GetLayout): ditto
13210
13211         * adjust all uses of Assert to lyx::Assert.
13212
13213         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13214         lyxfunctional in namespace lyx
13215         * layout.C (hasLayout): ditto
13216         (GetLayout): ditto
13217         (GetLayout): ditto
13218         (delete_layout): ditto
13219         (NumberOfClass): ditto
13220         * converter.C (GetFormat): ditto
13221         (GetNumber): ditto
13222         (Add): ditto
13223         (Delete): ditto
13224         (SetViewer): ditto
13225         * bufferlist.C (getFileNames): ditto
13226         (emergencyWriteAll): ditto
13227         (exists): ditto
13228         (getBuffer): ditto
13229         * MenuBackend.C (hasSubmenu): ditto
13230         (hasMenu): ditto
13231         (getMenu): ditto
13232         * BufferView_pimpl.C (getInsetByCode): ditto
13233
13234 2001-04-18  Juergen Vigna  <jug@sad.it>
13235
13236         * vspace.C (asLatexString): fixed the 100% problem.
13237
13238 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * lyxfunc.C (Dispatch):
13241         * minibuffer.C:
13242         * minibuffer.h: add a few std:: qualifiers
13243
13244 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * minibuffer.[Ch]: reimplement so that commands is initiated and
13247         run from lyxfunc, simplified som handling, and made the completion
13248         and history code for complete. wip.
13249
13250         * lyxfunc.C (processKeySym): call message
13251         (miniDispatch): new temporary method
13252         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13253         (LFUN_MESSAGE): implement
13254         (LFUN_MESSAGE_PUSH): implement
13255         (LFUN_MESSAGE_POP): implement
13256         (initMiniBuffer): the initial/defualt minibuffer message.
13257
13258         * lyxfont.[Ch]: inline some more getters
13259
13260         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13261
13262         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13263
13264         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13265         (AutoSave): use LFUN_MESSAGE
13266         (Reconfigure): ditto
13267
13268         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13269
13270         * figureForm.C: use LFUN_MESSAGE
13271
13272         * converter.C (runLaTeX): use LFUN_MESSAGE
13273
13274         * bufferview_funcs.C: use LFUN_MESSAGE
13275         (Melt): ditto
13276         (changeDepth): ditto
13277
13278         * bufferparams.h: use boost::
13279
13280         * bufferlist.h: inherit privately from noncopyable
13281
13282         * bufferlist.C (loadLyXFile): remove some commented code.
13283
13284         * buffer.C (runChktex): use LFUN_MESSAGE
13285
13286         * ShareContainer.h: inherit privately from noncopyable
13287
13288         * ParagraphParameters.[hC] (depth): inline it.
13289
13290         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13291         methods.
13292         (message): new method
13293         (messagePush): ditto
13294         (messagePop): ditto
13295         (show): init minibuffer
13296         (showState): direct call
13297
13298         * LaTeX.[Ch]: inherit privately from noncopyable
13299         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13300         instead of WriteStatus.
13301
13302         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13303
13304         * BufferView_pimpl.C (buffer): don't init minibuffer
13305         (workAreaButtonPress): use LFUN_MESSAGE
13306         (workAreaButtonRelease): ditto
13307         (savePosition): ditto
13308         (restorePosition): ditto
13309         (MenuInsertLyXFile): ditto
13310         (workAreaExpose): don't init minibuffer
13311         (update): remove commented code, simplify
13312
13313         * BufferView2.C (openStuff): use LFUN_MESSAGE
13314         (toggleFloat): ditto
13315         (menuUndo): ditto
13316         (menuRedo): ditto
13317         (copyEnvironment): ditto
13318         (pasteEnvironment): ditto
13319         (copy): ditto
13320         (cut): ditto
13321         (paste): ditto
13322         (gotoInset): ditto
13323         (updateInset): remove some commented code
13324
13325         * lastfiles.h: inherit privately from noncopyable
13326         * layout.h: ditto
13327         * lyx_gui.h: ditto
13328         * lyx_main.h: ditto
13329         * lyxlex.h: ditto
13330         * lyxlex_pimpl.h: ditto
13331
13332         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13333         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13334         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13335
13336         * LyXAction.h: inherit privately from noncopyable, add methods
13337         func_begin, func_end, returning iterators to the func map.
13338
13339         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13340         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13341         (func_begin): new method
13342         (func_end): new method
13343
13344         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13345         and not)
13346         (copySelection): ditto
13347         (pasteSelection): ditto
13348
13349         * BufferView.C: whitespace change
13350         * BufferView.h: inherit privately from noncopyable
13351
13352 2001-04-16  Allan Rae  <rae@lyx.org>
13353
13354         * tabular-old.C (l_getline):
13355         * spellchecker.C (sc_check_word):
13356         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13357         an unrecognised preprocessor directive.  So ensure they're wrapped.
13358
13359 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * src/exporter.C (Export): Give an error message when path to file
13362         contains spaces.
13363
13364 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * LaTeX.C (deplog): Always check that foundfile exists.
13367
13368 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * lyx_main.h:
13371         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13372
13373 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * tabular.[Ch] (getLabelList): implement new method
13376
13377         * minibuffer.h: comment ouf setTiimer
13378
13379         * minibuffer.C (ExecutingCB): constify res
13380         (peek_event): constify s
13381         (Set): constify ntext
13382         (Init): constify nicename
13383
13384         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13385
13386         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13387         (savePosition): use two params to Minibuffer::Set
13388         (restorePosition): ditto
13389
13390 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13391
13392         * lyx_main.C: include language.h
13393
13394         * Makefile.am (lyx_main.o): add language.h
13395
13396 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * exporter.C:
13399         * paragraph.C:
13400         * screen.C:
13401         * tabular.C:
13402         * CutAndPaste.C: include gettext.h
13403
13404         * lyxfont.h: remove old hack with ON and OFF.
13405
13406         * lyxparagraph.h:
13407         * lyxfont.h: do not include language.h...
13408
13409         * BufferView2.C:
13410         * LaTeXFeatures.C:
13411         * Painter.C:
13412         * bufferview_funcs.C:
13413         * font.C:
13414         * lyxfont.C:
13415         * text.C:
13416         * text2.C:
13417         * trans_mgr.C:
13418         * paragraph.C: ... but do it here instead
13419
13420 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13423
13424         * tabular.C: small reformat
13425
13426         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13427         NEW_INSETS version
13428         (GetChar): ditto
13429         (BreakParagraph): ditto
13430         (SetOnlyLayout): ditto
13431         (SetLayout): ditto
13432
13433         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13434         with one arg less.
13435
13436         * lastfiles.C: removed most using decl, add std:: where needed
13437
13438         * buffer.C: ws changes
13439
13440         * MenuBackend.C (class compare_format): put into anon namespace
13441         (expand): constify label, names, action, action2
13442         (expand):
13443
13444         * text.C (SingleWidth): constify font
13445         (IsBoundary): constify rtl2
13446         (GetVisibleRow): constify ww
13447
13448         * LaTeX.C (deplog): constify logfile
13449
13450         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13451         start_x, end_x
13452         (workAreaExpose): constify widthChange, heightChange
13453
13454         * lyxrow.C (par): moved
13455         (height): moved
13456         (next): moved
13457         * lyxrow.h: as inlines here
13458
13459         * lyxfont.h (shape): moved from lyxfont.C
13460         (emph): moved from lyxfont.C
13461
13462         * lyxfont.C (LyXFont): use initialization list for all
13463         constructors
13464         (shape): move to lyxfont.h as inline
13465         (emph): move to lyxfont.h as inline
13466
13467
13468 2001-04-04  Juergen Vigna  <jug@sad.it>
13469
13470         * vspace.C: had to include stdio.h for use of sscanf
13471
13472 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         * BufferView.h:
13475         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13476         independent of xforms.
13477
13478 2001-04-02  Juergen Vigna  <jug@sad.it>
13479
13480         * spellchecker.C: fixed namespace placing!
13481
13482 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13485         the LyXParagraph * is 0.
13486
13487 2001-03-29  Juergen Vigna  <jug@sad.it>
13488
13489         * vspace.C: added support for %, c%, p%, l%.
13490         (stringFromUnit): added helper function.
13491         (asLatexString): changed to give right results for the %-values.
13492
13493         * buffer.C: convert the widthp in a width%.
13494
13495 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13498         figureForm.[Ch].
13499
13500         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13501         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13502
13503         * lyx_cb.[Ch]: see above.
13504
13505         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13506         form1.[Ch].
13507
13508         * form1.[Ch]:
13509         * lyx.[Ch]: replaced by figure_form.[Ch].
13510
13511         * lyx_gui.C:
13512         * lyx_gui_misc.C:
13513         * lyxfunc.C: changed headers associated with above changes.
13514
13515 2001-03-27  Juergen Vigna  <jug@sad.it>
13516
13517         * BufferView_pimpl.C: set the temporary cursor right!
13518
13519 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13522
13523 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * LString.h: removed "using std::getline"!
13526
13527         * BufferView_pimpl.C (Dispatch): changes due to changes in
13528         InsetInclude::Params.
13529
13530         * buffer.C (tag_name): removed redundant break statements as they were
13531         producing lots of warnings with my compiler.
13532
13533 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * LString.h: add "using std::getline" when using the real <string>.
13536
13537 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13538
13539         * buffer.C: removed bitset usage.
13540         PAR_TAG moved to an anonymous name space.
13541         (tag_name): new funtion, also in the anonymous namespace.
13542         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13543         (makeDocBookFile): clean code. Completed transition from string arrays
13544         to string vectors.
13545         (SimpleDocBookOnePar): code clean.
13546
13547 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13548
13549         * tabular.C: add some comments.
13550
13551 2001-03-22  Juergen Vigna  <jug@sad.it>
13552
13553         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13554         compatibility read a bit and fixed bug with minipage in different
13555         depth.
13556
13557 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13558
13559         * buffer.C (pop_tag): removed.
13560         (push_tag): removed.
13561         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13562         array replaced with vector. Added support for CDATA sections.
13563         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13564         at any nest level.
13565         (makeDocBookFile): XML conformant declaration of CDATA section,
13566         fixed bug related to <emphasis> in the first paragraph char.
13567         (sgmlOpenTag): exclude empty tags.
13568         (sgmlCloseTag): ditto.
13569
13570         * buffer.h (pop_tag): removed.
13571         (push_tag): removed.
13572
13573 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * language.h (Languages): added size_type and size().
13576
13577 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13578
13579         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13580         response on compability reading of minipages. One probliem is that
13581         the old usage of minipages was «flertydig»
13582
13583         * several files here and in subdirs: don't use static at file
13584         scope use anon namespaces instead.
13585
13586 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13587
13588         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13589         LaTeX output. This is necessary for Literate document
13590         processing.
13591
13592 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13593
13594         * buffer.C: insert hfill when needed.
13595
13596         * tabular.C (l_getline): use string::erase, small whitespace change.
13597
13598         * BufferView_pimpl.C: try the anon namespace.
13599         * WorkArea.C: ditto
13600
13601 2001-03-16  Juergen Vigna  <jug@sad.it>
13602
13603         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13604         otherwise it won't open options-dialogs.
13605
13606         * buffer.C: honor pextraWidth(p) on converting minipages.
13607
13608         * tabular.C (l_getline): changed the functions to strip trailing \r.
13609
13610 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13611
13612         * BufferView_pimpl.C:
13613         * minibuffer..C: added "using SigC::slot" declaration.
13614
13615 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13616
13617         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13618
13619         * text2.C: ditto
13620
13621         * text.C: ditto
13622
13623         * paragraph.C: ditto
13624
13625         * lyxtext.h: NO_PEXTRA
13626
13627         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13628
13629         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13630         * ParameterStruct.h: ditto
13631         * ParagraphParameters.h: ditto
13632         * lyxparagraph.h: ditto
13633
13634 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13635
13636         * buffer.C: add compability for minipage alignment.
13637         (latexParagraphs): remove unwanted pextra check.
13638
13639         * several files: remove CXX_WORKING_NAMESPACES
13640
13641         * buffer.C (pop_tag): tie is in namespace boost
13642
13643         * BufferView.h: noncopyable is in namespace boost
13644         * lyxlex.h: ditto
13645         * lyx_main.h: ditto
13646         * lyx_gui.h: ditto
13647         * layout.h: ditto
13648         * lastfiles.h: ditto
13649         * bufferlist.h: ditto
13650         * ShareContainer.h: ditto
13651         * LyXView.h: ditto
13652         * LyXAction.h: ditto
13653         * LaTeX.h: ditto
13654
13655 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * Merging changes from BRANCH_MVC back into HEAD.
13658
13659         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13660
13661 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * BufferView_pimpl.C: change from intl.C
13664
13665         * combox.h:
13666         * combox.C:
13667         * Makefile.am: move combox.*
13668
13669         * form1.h:
13670         * form1.C:
13671         * lyx_gui.C:
13672         * intl.h:
13673         * intl.C: remove dialog (covered by prefs)
13674
13675 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * lyxfunc.C (Dispatch): removed redundant break statement.
13678
13679 2001-03-14  Juergen Vigna  <jug@sad.it>
13680
13681         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13682
13683 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13684
13685         * buffer.C: add hack to fix compability reading of minipages.
13686
13687 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13688
13689         * buffer.C (getLists): Cleanup.
13690
13691 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * lyxfont.C (update): don't honor toggleall on font size.
13694
13695 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * bmtable.c:
13698         * bmtable.h:
13699         * Makefile.am: moved to frontends/xforms/
13700
13701         * lyx_gui_misc.C:
13702         * lyxfunc.C:
13703         * BufferView_pimpl.C: changes for moved mathpanel
13704
13705 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * gettext.h: fix gettext_init() in --disable-nls
13708
13709 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13710
13711         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13712
13713 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13714
13715         * lyx.C:
13716         * lyx.h: strip external form
13717
13718 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13719
13720         * BufferView_pimpl.C: add comment, destroySplash()
13721
13722 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * BufferView_pimpl.C:
13725         * LyXAction.C:
13726         * buffer.C:
13727         * commandtags.h:
13728         * lyxfunc.C: use re-worked insetinclude
13729
13730 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13731
13732         * buffer.C: add using std::stringstream.
13733
13734         * lyx_cb.C: readd using std::ios.
13735
13736         * buffer.C: add using std::map.
13737
13738         * BufferView_pimpl.C: add using std::vector.
13739
13740         * ShareContainer.h: add std:: to swap.
13741
13742         * buffer.h: add some typedefs
13743         * buffer.C (getLists): use them
13744         (getLists): renamed from getTocList.
13745         add a counter for the different float types and use it in the
13746         generated string.
13747         (getLists): use the same counter for the NEW_INSETS and the "non"
13748         NEW_INSETS
13749
13750         * lyx_cb.h: remove unused items, includes, using etc.
13751
13752         * ShareContainer.h: remove some commented code, add more comments
13753         and "documentation".
13754
13755 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13756
13757         * buffer.C (getTocList): make the list also when NEW_INSETS is
13758         defined.
13759
13760         * buffer.h: remove TocType
13761
13762         * buffer.C (getTocList): change to return a map<string,
13763         vector<TocItem> >, implement for dynamic number of list.
13764
13765         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13766         * text2.C (PasteSelection): adjust
13767         * CutAndPaste.C (pasteSelection): adjust
13768
13769         * FloatList.C (FloatList): update from the new_insets branch.
13770         * Floating.[Ch]: ditto
13771         * LaTeXFeatures.C: ditto
13772         * buffer.C: ditto
13773         * lyxlex_pimpl.C: ditto
13774
13775         * paragraph.C (Last): remove when NEW_INSETS is defined.
13776
13777         * other file: changes because of the above.
13778
13779 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13780
13781         * lyxparagraph.h: rename next to next_, previous to previous_,
13782         make them private for NEW_INSETS. Rename Next() to next(),
13783         Previous() to previous().
13784
13785         * other files: changes because of the above.
13786
13787 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * BufferView.h:
13790         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13791         problem.
13792
13793 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * main.C (main): pass lyx_localedir to gettext_init().
13796
13797         * gettext.h: remove locale_init and gettext_init macros
13798
13799         * gettext.C (locale_init): new function
13800         (gettext_init): new function
13801
13802         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13803         setlocale().
13804
13805 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13806
13807         * Moved credits to frontends:
13808         * credits.[Ch]: removed
13809         * credits_form.[Ch]: removed
13810         * lyx_gui_misc.C: remove credits stuff
13811         * Makefile.am:
13812
13813 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13814
13815         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13816
13817         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13818         unneeded destructor.
13819
13820         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13821         a standalone pointer again.
13822
13823         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13824
13825 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * Makefile.am:
13828         * filedlg.h:
13829         * filedlg.C:
13830         * LyXAction.C:
13831         * ToolbarDefaults.C:
13832         * bufferlist.C:
13833         * commandtags.h:
13834         * form1.C:
13835         * form1.h:
13836         * lyx_cb.C:
13837         * lyx_cb.h:
13838         * lyxfunc.h:
13839         * lyxfunc.C:
13840         * BufferView_pimpl.C: use new file dialog in GUII
13841
13842         * lyx_cb.h:
13843         * lyx_cb.C: remove LayoutsCB to Toolbar
13844
13845 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * ShareContainer.h (get): add std:: qualifier
13848
13849 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * ShareContainer.h: define a proper ShareContainer::value_type
13852         type (and use typename to please compaq cxx)
13853
13854 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13855
13856         * lyxparagraph.h: move serveral local vars to
13857         ParameterStruct/ParagraphParameters., use ShareContainer in
13858         FontTable., make vars in FontTable private and add getter and
13859         setter.
13860
13861         * paragraph.C: changes because of the above.
13862
13863         * lyxfont.h: remove copy constructor and copy assignment. (the
13864         default ones is ok), move number inside FontBits. move inlines to
13865         lyxfont.C
13866
13867         * lyxfont.C: add number to initializaton of statics, move several
13868         inlines here. constify several local vars. some whitespace
13869         cleanup. Dont hide outerscope variables.
13870
13871         * Spacing.h: add two new constructors to match the set methods.
13872
13873         * ShareContainer.h: new file, will perhaps be moved to support
13874
13875         * ParameterStruct.h: new file
13876
13877         * ParagraphParameters.h: new file
13878
13879         * ParagraphParameters.C: new file
13880
13881         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13882         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13883
13884         * BufferView_pimpl.C: ParagraphParameter changes.
13885         * buffer.C: Likewise.
13886         * bufferview_funcs.C: Likewise.
13887         * text.C: Likewise.
13888         * text2.C: Likewise.
13889
13890 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13891
13892         * lyxfind.C (LyXReplace): do not redefine default argument in
13893         implementation.
13894         (IsStringInText): ditto
13895         (SearchForward): ditto
13896         (SearchBackward): ditto
13897
13898 2001-03-06  Juergen Vigna  <jug@sad.it>
13899
13900         * lyxfind.C (IsStringInText): put parentes around expressions.
13901
13902 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13903
13904         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13905
13906 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13909
13910         * stl_string_fwd.h: add comment
13911
13912         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13913
13914         * tabular.h:
13915         * tabular.C: remove unused DocBook methods
13916
13917         * intl.C:
13918         * language.C:
13919         * paragraph.C:
13920         * buffer.C:
13921         killed DO_USE_DEFAULT_LANGUAGE
13922
13923 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * lyx_gui.C: do not include language.h.
13926
13927         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13928         arguments in function implementation.
13929
13930 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13931
13932         * BufferView_pimpl.C: add <ctime>
13933
13934 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13935
13936         * BufferView_pimpl.C: add using std::find_if
13937
13938 2001-02-27  José Matos  <jamatos@fep.up.pt>
13939
13940         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13941         by OnlyPath.
13942
13943 2001-02-11  José Matos  <jamatos@fep.up.pt>
13944
13945         * buffer.C (makeDocBookFile): command styles now have a parameter as
13946         "title" by default.
13947
13948 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13949
13950         * layout_forms.[Ch]: removed
13951         * lyx_cb.[Ch]: out character
13952         * lyx_gui.C: out character
13953         * lyx_gui_misc.C: out character
13954         * bufferview_funcs.C: : out character,
13955         added toggleall as parameter in ToggleAndShow
13956
13957 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13958
13959         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13960
13961         * text2.C (SetCurrentFont): Disable number property at boundary.
13962
13963 2001-02-26  Juergen Vigna  <jug@sad.it>
13964
13965         * lyxfunc.C (getStatus): added a string argument override function so
13966         that this is correctly called from LyXFunc::Dispatch if it contains a
13967         do_not_use_argument which is used!
13968         (Dispatch): added check for "custom" export and call appropriate func.
13969
13970 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * lyxrc.C: Add language_command_local, language_use_babel and
13973         language_global_options.
13974
13975         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13976
13977         * buffer.C (makeLaTeXFile): Use language_use_babel and
13978         language_global_options.
13979
13980 2001-02-23  Juergen Vigna  <jug@sad.it>
13981
13982         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13983         which works with LyXText and putted it inside BufferView. Here now we
13984         only call for that part the BufferView::Dispatch() function.
13985
13986         * BufferView.C (Dispatch): added.
13987
13988         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13989         functions which needs to use a LyXText over from LyXFunc.
13990         (MenuInsertLyXFile): added
13991         (getInsetByCode): added
13992         (moveCursorUpdate): added
13993         (static TEXT): added
13994
13995 2001-02-22  Juergen Vigna  <jug@sad.it>
13996
13997         * BufferView_pimpl.C (update): call a status update to see if LyXText
13998         needs it.
13999
14000 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14001
14002         * vc-backend.C (revert): implement for CVS
14003         (getLog): implement for CVS
14004
14005 2001-02-20  Juergen Vigna  <jug@sad.it>
14006
14007         * text2.C (ClearSelection): added BufferView param for inset_owner call
14008
14009         * lyxfunc.C (TEXT): added this function and use it instead of
14010         directly owner->view()-text of getLyXText().
14011
14012 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14013
14014         * src/layout_forms.C: out preamble
14015         * src/layout_forms.h: out preamble
14016         * src/lyx_cb.C: out preamble
14017         * src/lyx_cb.h: out preamble
14018         * src/lyx_gui.C: out preamble
14019         * src/lyx_gui_misc.C: out preamble
14020         * src/lyxfunc.C: connect with guii preamble
14021
14022 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14025
14026 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14029         whether to run bibtex.
14030
14031 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14032
14033         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14034
14035 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14036
14037         * Makefile.am (lyx_SOURCES): removed bibforms.h
14038
14039         * vspace.h: doxygen
14040
14041         * text.C (GetVisibleRow): make several local vars const
14042
14043         * tabular.C: small cleanup.
14044
14045         * lyxserver.C (callback): use compare instead of strncmp
14046
14047         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14048         inlines to after class or to paragraph.C
14049
14050         * lyxfont.h: remove friend operator!=
14051
14052         * converter.h: move friend bool operator< to non friend and after
14053         class def.
14054
14055         * combox.h: small cleanup
14056
14057         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14058         to inlines after class def.
14059
14060         * buffer.C (pop_tag): use string operations instead of strcmp
14061
14062         * bmtable.c: doxygen, small cleanup
14063
14064         * LaTeX.h: remove friend operator==
14065
14066 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14067
14068         * screen.C:
14069         * lyxrc.[Ch]:
14070         * lyxfunc.C:
14071         * lyxfont.[Ch]:
14072         * lyx_cb.C:
14073         * intl.[Ch]:
14074         * commandtags.h:
14075         * buffer.C:
14076         * WorkArea.[Ch]:
14077         * LyXAction.C:
14078         * BufferView_pimpl.C:
14079         * BufferView.[Ch]: remove cruft
14080
14081 2001-02-14  Juergen Vigna  <jug@sad.it>
14082
14083         * lyxfunc.C: removed #if 0 unused code
14084
14085         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14086
14087         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14088
14089         * text2.C (SetSelection): added a BufferView * parameter
14090
14091 2001-02-13  Juergen Vigna  <jug@sad.it>
14092
14093         * lyxfunc.C (Dispatch): fixed protected blank problem.
14094         * BufferView2.C (protectedBlank): added LyxText * parameter.
14095
14096         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14097         (AppendColumn): same as above for column_info.
14098
14099         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14100         (moveCursorUpdate): use a LyXText param for support of InsetText.
14101
14102         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14103         (tripleClick): ditto
14104
14105         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14106
14107         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14108
14109         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14110
14111         * text2.C (SetSelection): set correct update status if inset_owner
14112         (ToggleFree): ditto
14113
14114 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14115
14116         * tabular.C: remove some commented code.
14117
14118 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * BufferView_pimpl.C: call hideSplash()
14121
14122         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14123
14124         * include_form.h:
14125         * bibforms.h: remove
14126
14127         * lyxfunc.C:
14128         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14129           add LFUN_CHILD_CREATE
14130
14131         * counters.h: fix tiny typo
14132
14133         * lyx_cb.C:
14134         * lyx.h:
14135         * lyx_gui.C:
14136         * lyx.C: move splash to frontends/xforms/
14137
14138         * lyx_gui_misc.C: move Include and Bibform to frontends
14139
14140         * lyxvc.h: clarify comment
14141
14142         * vspace.C: tiny housekeeping
14143
14144 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14145
14146         * text.C (PrepareToPrint): RTL Fix.
14147
14148         * paragraph.C (GetUChar): New method.
14149         (String):  Use GetUChar.
14150
14151         * buffer.C (asciiParagraph): Use GetUChar.
14152
14153 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14154
14155         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14156
14157 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14158
14159         * buffer.h:
14160         * buffer.C: rename to getLogName(), handle
14161           build log / latex log nicely
14162
14163 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * MenuBackend.C:
14166         * MenuBackend.h: remove support for reference menuitem type.
14167
14168 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14169
14170         * BufferView_pimpl.C: housekeeping
14171         * BufferView_pimpl.h:
14172         * LyXView.h:
14173         * Makefile.am:
14174         * Timeout.C:
14175         * Timeout.h:
14176         * minibuffer.h: move Timeout GUI-I
14177
14178 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14179
14180         * lyxrc.C (read): Update converters data-structures.
14181
14182 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14183
14184         * LaTeX.h (operator!=): add operator != for Aux_Info
14185
14186 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14189
14190         * LaTeXLog.C: deleted, useful code moved to Buffer
14191
14192         * buffer.h:
14193         * buffer.C: new function getLatexLogName()
14194
14195         * lyx_gui_misc.C:
14196         * lyx_gui.C:
14197         * lyxvc.C:
14198         * lyxvc.h:
14199         * lyxfunc.C: use frontends for LaTeX and VC logs
14200
14201 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14202
14203         * LaTeX.h: yet another std:: that Allan forgot.
14204
14205         * Variables.C (set): renamed from isset(), because this clashes
14206         with some HP-UX macros (grr).
14207
14208 2001-02-06  Allan Rae  <rae@lyx.org>
14209
14210         * LaTeX.h: Another bug fix.  Missing std:: this time.
14211
14212 2001-02-04  Allan Rae  <rae@lyx.org>
14213
14214         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14215         floats problem. I've left it commented out because it's not quite
14216         correct.  It should also test that the current object is a table or
14217         figure inset.  But I haven't gotten around to figuring out how to do
14218         that.  I *think* it'll be something like: "table" == inset.type()
14219
14220         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14221         bool.
14222
14223 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14226         all the citation/databases/styles in the auxilary file.
14227         (run): Rerun latex if there was a babel language error.
14228
14229 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14230
14231         * text.C (Backspace): Preserve the font when changing newline char
14232         with a space.
14233         (BreakParagraph): If the cursor is before a space, delete the space.
14234
14235         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14236
14237 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14240         new argument (code).
14241         (ChangeCitationsIfUnique): New method.
14242
14243         * paragraph.C (GetPositionOfInset): Handle bibkey.
14244
14245 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14246
14247         * BufferView_pimpl.h: change type of Position::par_pos to
14248         LyXParagraph::size_type.
14249
14250 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14251
14252         * BufferView_pimpl.C (savePosition, restorePosition): Write
14253         messages to minibuffer.
14254
14255 2001-01-28  José Matos  <jamatos@fep.up.pt>
14256
14257         * buffer.C (makeDocBookFile): adds support for document language.
14258         A silly restriction on the name of LatexCommand types where removed.
14259         Added support for CDATA sections, allows to chars unescaped, used
14260         among others in code, to avoid escape < and >.
14261
14262 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14263
14264         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14265         saved positions instrad of a stack. Furthermore, a position is
14266         stored using paragraph id/paragraph position.
14267
14268         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14269         Remove LFUN_REF_BACK.
14270
14271 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * converter.C (dvipdfm_options): New method.
14274
14275 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * vspace.C (isValidLength): Fix for empty input string.
14278
14279 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * LyXAction.C (init): change description of LFUN_FIGURE to
14282         "Insert Graphics"
14283
14284 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * LaTeX.C: add using directive
14287
14288 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14289
14290         * MenuBackend.C (expand): Fix the sorting of the formats.
14291
14292 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * lyx_main.C: tiny error message fix
14295
14296 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14297
14298         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14299         calling fl_initialize(). This fixes the problem with ',' as
14300         decimal separator in text files.
14301
14302 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14303
14304         * trans.C (process): Fix the keymap bug.
14305
14306 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * LaTeX.C (scanAuxFiles): New method. Provides support for
14309         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14310         (scanLogFile) Scan for "run BibTeX" messages.
14311
14312         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14313         OT1 font encoding. Also, load the aecompl package if the ae
14314         package is loaded.
14315
14316         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14317
14318 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * texrow.C (increasePos): turn two error messages into debug
14321         messages.
14322
14323 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14324
14325         * LaTeX.C (scanAux): Handle the \@input macro.
14326         (runBibTeX): Use scanAux().
14327
14328         * language.C (latex_options_): New field.
14329
14330         * LaTeXFeatures.C (getMacros): Add language macros.
14331
14332         * buffer.C (makeLaTeXFile): Small fix.
14333
14334 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14335
14336         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14337
14338         * text2.C: add a using directive.
14339
14340 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * BufferView2.C:
14343         * lyx_gui_misc.h:
14344         * lyxfr1.C:
14345         * lyxfunc.C: kill LyXBell.
14346
14347 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14348
14349         * text.C (IsBoundary): Remove the error message
14350
14351         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14352
14353         * lyxrc.C (setDefaults): Correct initialization value for
14354         font_norm_type.
14355
14356 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14357
14358         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14359         gotoError().
14360
14361         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14362         and GotoNextNote().
14363
14364         * src/LyXAction.C: Added reference-next.
14365
14366         * text.C (InsertChar): Use contains instead of strchr.
14367
14368         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14369
14370 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14373         alignment commands (when needed).
14374
14375         * text.C (InsertChar): Add ':' to number separator chars.