]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Cygwin compilation fix.
[lyx.git] / src / ChangeLog
1 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * Chktex.C: include boost/format.hpp
4
5 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * InsetList.C: replace functor MathcIt with adaptable functor
8         InsetTablePosLess
9         (insetIterator): modify accordingly
10
11         * BranchList.h: move the BranchNamesEqual functor here from...
12         * BranchList.C: ... to here
13
14         * BranchList.C: new BranchListEqual fuctor, use it. Remove
15         SameName and match.
16         (add): replace a finding loop with std::find_if.
17
18 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * output_docbook.C: moving LatexParam functionality into
21         .layout files
22
23 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
24
25         * buffer.C: increment format to 229.
26
27 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
28
29         * LaTeXFeatures.C:
30         * lyx_sty.[Ch]: remove minipageindent_def
31
32         * LyXAction.C:
33         * factory.C:
34         * lfuns.h:
35         * lyxfunc.C:
36         * text3.C: remove LFUN_INSET_MINIPAGE
37
38 2003-12-28  Angus Leeming  <leeming@lyx.org>
39
40         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
41
42 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * text2.C (setParagraph): fix off-by-one crash
45
46 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * output_docbook.C: header stuff for AGU
49
50 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * text2.C (redoCursor): remove
53         * text.C:
54         * text3.C:
55         * BufferView_pimpl.C: remove calls to redoCursor and
56         setCursor(cursor.par(), cursor.pos()) all around
57
58 2003-12-15  Angus Leeming  <leeming@lyx.org>
59
60         * buffer.C: up the format to 228.
61
62 2003-12-15  André Pönitz  <poenitz@gmx.net>
63
64         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
65         slices
66
67         * Makefile.am:
68
69         * BufferView_pimpl.C:
70         * cursor.[Ch]:
71         * lyxcursor.[Ch]:
72         * rowpainter.[Ch]:
73         * lyxtext.h:
74         * text.C:
75         * text2.C:
76         * text3.C: adjust
77
78 2003-12-15  Angus Leeming  <leeming@lyx.org>
79
80         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
81         than getFromGUIName to manipulate the color.
82
83 2003-12-14  Angus Leeming  <leeming@lyx.org>
84
85         * BranchList.[Ch]: minimize the API.
86         (Branch::getBranch, getColor): now return a 'const &'.
87         (Branch::setSelected) now returns a bool set to true if the
88         selection status changes.
89         (BranchList::clear, size, getColor, setColor, setSelected,
90         allBranches, allSelected, separator): removed.
91         (BranchList::find): new functions, returning the Branch with
92         the given name.
93         (BranchList::add, remove): return a bool indicating that
94         the operation was successful.
95
96         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
97         new InsetBranch::isBranchSlected member function.
98
99         * LColor.[Ch]: mimimize the API.
100         (fill): renamed as addColor and made private.
101         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
102         versions of these functions taking a string arg have been removed.
103
104         * bufferparams.C (readToken):
105         * lyxfunc.C (dispatch):
106         * lyxrc.C (read): changes due to the altered BranchList and
107         LColor APIs.
108
109         * factory.C (createInset, readInset): changes due to altered
110         InsetBranch c-tor.
111
112 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * factory.C:
115         * lyxfunc.C: remove insetminipage. "minipage-insert"
116         now produces a frameless minipage box inset.
117
118 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * textcursor.[Ch] (selStart,selEnd): add new methods
121         remove selection::start, end, use LyXCursor::operator<
122         * lyxcursor.[Ch] (operator<): add
123         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
124         * BufferView.[Ch] (unsetXSel): add
125         * text2.C (clearSelection): use unsetXSel,adjust
126         * text.C: adjust
127         * text3.C: adjust
128         * rowpainter.C: adjust
129         * bufferview_funcs.C (put_selection_at): adjust
130
131 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
132
133         * BufferView_pimpl.C: small coord. correction
134
135 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
136
137         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
138         dragging over the splash screen.
139
140 2003-12-11  Angus Leeming  <leeming@lyx.org>
141
142         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
143         as it is now handled in LyXText::dispatch.
144
145         * text3.C (doInsertInset): remove a level of nesting.
146
147 2003-12-11  Angus Leeming  <leeming@lyx.org>
148
149         * factory.C (createInset): changes due to the changed interface to
150         InsetCommandMailer::string2params.
151
152 2003-12-10  Angus Leeming  <leeming@lyx.org>
153
154         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
155         'dialog-show-new-inset <inset name>'
156
157 2003-12-10  Angus Leeming  <leeming@lyx.org>
158
159         * buffer.C: up the format to 227.
160
161         * factory.C: the box inset is now identified simply by 'Box'.
162
163 2003-12-10  Angus Leeming  <leeming@lyx.org>
164
165         * buffer.C: up the format to 226.
166
167         * factory.C: the note inset is now identified simply by 'Note'.
168
169 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
170
171         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
172         when a pit is enough. Standarize a couple of loops.
173
174 2003-12-05  Angus Leeming  <leeming@lyx.org>
175
176         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
177         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
178         data to the re-worked "log" dialog.
179
180 2003-12-03  André Pönitz  <poenitz@gmx.net>
181
182         * PosIterator.C:
183         * iterators.C:
184         * lyxtext.h:
185         * output_latex.C:
186         * paragraph_funcs.C:
187         * text.C:
188         * text2.C: use Inset::getText instead of Inset::getParagraph
189
190 2003-12-03  André Pönitz  <poenitz@gmx.net>
191
192         * buffer.[Ch]:
193         * lyxtext.h:
194         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
195         InsetText::read() as LyXText::read()
196
197 2003-12-02  Angus Leeming  <leeming@lyx.org>
198
199         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
200         type. Add a comment in the implementation that the function uses
201         the stream's bad() function rather than fail() as the std::streams
202         would do.
203
204 2003-12-02  André Pönitz  <poenitz@gmx.net>
205
206         * lyxlex.[Ch]: make interface more similar to std::stream
207
208         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
209
210 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
211
212         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
213
214 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
215
216         * vspace.[Ch]: remove VSpace::NONE
217
218 2003-12-01  André Pönitz  <poenitz@gmx.net>
219
220         * buffer.[Ch]:
221         * lyxtext.h: move ParagraphList member to LyXText
222         rename LyXText::ownerParagraphs to LyXText::paragraph
223
224         * CutAndPaste.C:
225         * bufferview_funcs.C:
226         * iterators.[Ch]:
227         * lyx_cb.C:
228         * paragraph.C:
229         * rowpainter.C:
230         * tabular.C:
231         * text.C:
232         * text2.C:
233         * text3.C: adjust
234
235         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
236
237         * undo.C: fix cursor positioning
238
239 2003-12-01  John Levon  <levon@movementarian.org>
240
241         * BufferView_pimpl.C: fix a crash on exit with
242         a buffer open
243
244 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * BranchList.C: fix setSelected() method.
247
248 2003-11-28  André Pönitz  <poenitz@gmx.net>
249
250         * ParagraphParameters.[Ch]:
251         * ParameterStruct.h: remove space above/below from Paragraph to
252          InsetVSpace
253
254         * BufferView_pimpl.C:
255         * factory.C:
256         * lyxfunc.C:
257         * lyxtext.h:
258         * output_latex.C:
259         * paragraph.C:
260         * paragraph_funcs.C:
261         * rowpainter.[Ch]:
262         * text.C:
263         * text2.C:
264         * text3.C: adjust
265
266 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * factory.C: Syntax change for CharStyles
269
270 2003-11-28  André Pönitz  <poenitz@gmx.net>
271
272         * BufferView.[Ch]:
273         * BufferView.[Ch]:
274         * buffer.[Ch]:
275         * buffer.[Ch]: move LyXText member
276
277 2003-11-28  André Pönitz  <poenitz@gmx.net>
278
279         * BufferView.[Ch]: make LyXText * text a private member
280
281         * BufferView_pimpl.C:
282         * cursor.C:
283         * iterators.C:
284         * lyx_cb.C:
285         * lyxfind.C:
286         * lyxtext.h:
287         * rowpainter.[Ch]:
288         * text.C:
289         * text2.C:
290         * undo.C: adjust
291
292         * output_plaintext.C: cleanup
293
294 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * buffer.C:
297         * lyxtextclass.[Ch]: parametrize SGML document header
298
299 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * converter.[Ch]:
302         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
303         getFlavor().
304
305 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * text2.C (setFont): rework using PosIterator (no more recursive)
308         (setCharFont): no more needed
309         (setLayout): no more selection cursors fiddling (done by redoCursor)
310         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
311         destroy remaining ones)
312
313 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
316         * lyxtext.h: ditto
317         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
318         selection cursors
319         * lyxfunc.C: adjust
320         * text3.C: adjust + re-allow multi par depth changes
321         * textcursor.C: simplify a bit
322
323 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * src/buffer.C:
326         * src/lyxlayout.C:
327         * src/lyxlayout.h:
328         * src/lyxtext.h:
329         * src/output_docbook.C:
330         * src/output_latex.C:
331         * src/paragraph.C:
332         * src/paragraph.h:
333         * src/sgml.C:
334         * src/sgml.h:
335         * src/text2.C: Introducing a number of tags parametrizing various
336         XML formats that we may want to support
337
338 2003-11-25  André Pönitz  <poenitz@gmx.net>
339
340         * InsetList.[Ch] (begein, end): inline as suggested by profiler
341
342         * lyxtext.h (leftMargin/rightMargin): simplify interface
343
344         * rowpainter.C:
345         * text.C:
346         * text2.C:
347         * text3.C: adjust
348
349 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
350
351         * lyxfunc.C (dispatch): propogate the bibtex databases from the
352         master file to any child files. Fixes bug 546.
353
354 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
357
358 2003-11-24  André Pönitz  <poenitz@gmx.net>
359
360         * rowpainter.C: simplification
361
362         * text2.C (updateCounters): remove call to redoParagraph on
363         changed labels as this is far too expensive.
364
365 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
366
367         * converter.C (convert): fix a crash: this function gets
368         called with buffer == 0 from importer code.
369
370 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * text3.C (cursorPrevious): make sure that we do not compare
373         iterators form different containers.
374         (cursorNext): ditto
375
376         * rowpainter.C (paintSelection): make sure that we do not compare
377         iterators from different containers.
378
379         * text3.C (dispatch): [PRIOR] make sure that we do not compare
380         iterators from different ParagraphList containers.
381         [NEXT] ditto
382
383         * text2.C (LyXText): change order of initialization slightly
384         (operator=): new function. copy all variables except cache_par_
385         (moveUp): make sure that we do not compare iterators from
386         different ParagraphList constainers.
387         (moveDown): ditto
388
389         * text.C (firstPar): new function
390         (lastPar): new function
391         (endPar): new function
392
393         * lyxtext.h: move things around and group public functions, public
394         variables, private functions, private variables
395
396 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
397
398         * factory.C: change call to InsetERT constructor to avoid
399         additional invocation of method status
400         * text2.C (toggleInset): remove redundant update() call
401         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
402         instead of a Bufferview pointer
403
404 2003-11-21  André Pönitz  <poenitz@gmx.net>
405
406         * rowpainter.C: simplification
407
408 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * text3.C (dispatch): make possible to extend a word/row selection
411         with the mouse
412
413 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * lyxtext.h: x0_,y0_ -> xo_,yo_
416         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
417         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
418         * rowpainter.C (paintRows): paint full paragraphs
419
420 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
423         screen coordinates)
424
425 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * lyxtext.h: add x0_, y0_
428         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
429         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
430
431 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
432
433         * text2.C (setCursorIntern): move the x_target update here *
434         * text3.C: change some bv() to true/false in calls to
435         cursorUp/Down/Right/Left
436         * cursor.C: use helper function.
437
438 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
441         * paragraph_funcs.[Ch]: correct comment
442         * rowpainter.C: do not paint selections away from bv->cursor()
443         Fix a long standing selection painting bug.
444         * text3.C: generalize mouse-selection code to LyXTexts other that
445         top one
446         * textcursor.C: do not use y coords if we can use par offsets
447
448 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
451         cursor position after e.g. inset insert)
452
453 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
454
455         * lyxfind.C (replace): adjust to locking removal + some
456         code simplification
457
458 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
461         of the path
462
463 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
464
465         * lyxlayout.[Ch]:
466         * output_docbook.C: XML sanitation: new layout
467         parameters InnerTag and CommandDepth
468
469 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
470
471         * BufferView_pimpl.C:
472         * factory.C:
473         * text3.C: Fix the insertion and modification of button-style
474         insets
475
476 2003-11-13  André Pönitz  <poenitz@gmx.net>
477
478         * InsetList.[Ch]: remove deleteLyXText
479
480         * paragraph.[Ch]: cache beginOfBody position
481
482         * Bidi.C:
483         * text.C:
484         * text2.C:
485         * text3.C: remove superfluous update() calls
486
487         * vspace.C: cleanup
488
489 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
490
491         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
492         * BufferView.C (fitLockedInsetCursor): remove
493         * cursor.[Ch] (getDim): add
494         * text.C (getRowNearY): add faster version
495         * text3.C: remove some update calls
496
497 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * LaTeXFeatures.C:
500         * LyXAction.C:
501         * MenuBackend.C:
502         * MenuBackend.h:
503         * dispatchresult.h:
504         * factory.C:
505         * lfuns.h:
506         * lyxfunc.C:
507         * lyxtextclass.C:
508         * lyxtextclass.h:
509         * text3.C: The Character Style /XML short element patch.
510
511 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * text3.C:
514         * factory.C: Small step to solving 'unable to insert some insets'
515         problem
516
517 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
518
519         * cursor.[Ch] (updatePos): new function for updating the y
520         position of the tip inset
521         * bufferview_funcs.C (put_selection_at):
522         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
523
524 2003-11-11  André Pönitz  <poenitz@gmx.net>
525
526         * text.C: remove big comment on invalid Paragraph pointers as it is
527         not valid anymore
528
529 2003-11-11  André Pönitz  <poenitz@gmx.net>
530
531         * text_funcs.[Ch]: merge with ...
532
533         * text.C: ... this
534
535         * lyxtext.h:
536         * text2.C:
537         * text3.C: adjust
538
539         * Makefile.am: remove text_funcs.[Ch]
540
541 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
542
543         * cursor.C (getPos): return absolute cached y coord
544
545         * BufferView_pimpl.C (fitCursor): new simplistic code
546         (workAreaDispatch): add a fitCursor call
547
548 2003-11-10  André Pönitz  <poenitz@gmx.net>
549
550         * BufferView.[Ch]:
551         * BufferView_pimpl.[Ch]: merge update() and updateInset()
552
553 2003-11-10  André Pönitz  <poenitz@gmx.net>
554
555         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
556         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
557         indicate that the cursor needs to leave an inset
558
559         * lyxtext.h: remove inset locking
560
561         * cursor.[Ch]: re-implement functionality provided by inset locking
562
563         * BufferView.[Ch]:
564         * BufferView_pimpl.[Ch]:
565         * LyXAction.C:
566         * bufferview_funcs.[Ch]:
567         * factory.C:
568         * funcrequest.[Ch]:
569         * iterators.C:
570         * lyx_cb.C:
571         * lyxfind.C:
572         * lyxfunc.C:
573         * text.C:
574         * text2.C:
575         * text3.C:
576         * undo.C: adjust
577
578 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
579
580         * PosIterator.[Ch]: replace the stack with a vector, add inset
581         accesor
582         * iterators.[C]: adjust
583
584 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
585
586         * lyxfind.C (replaceAll): mark the buffer dirty if something was
587         replaced
588         * paragraph_funcs.C (readParToken): put the correct id in the
589         error item, not the id of the top paragraph
590
591 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
592
593         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
594         * bufferview_funcs.C (put_selection_at): use the above
595
596 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
597
598         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
599
600 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * output_linuxdoc.h:
603         * output_plaintext.h:
604         * output.h:
605         * output_docbook.h: add #include statements
606
607 2003-11-05  José Matos  <jamatos@lyx.org>
608
609         * output_docbook.[Ch]:
610         * output_latex.[Ch]:
611         * output_linuxdoc.[Ch]:
612         * output_plaintext.[Ch]: New files for output formats.
613         * output.[Ch]: New file for helper functions.
614
615         * buffer.[Ch]:
616         * paragraph_funcs.[Ch]: output functions moved to new files.
617
618         * outputparams.h: rename of latexrunparams.h
619
620         * LaTeX.[Ch]:
621         * buffer.[Ch]:
622         * bufferlist.[Ch]:
623         * converter.[Ch]:
624         * exporter.C:
625         * paragraph.[Ch]:
626         * paragraph_funcs.[Ch]:
627         * paragraph_pimpl.[Ch]:
628         * tabular.[Ch]: rename ascii to plaintext
629         and LatexRunParams to OutputParams.
630
631 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
632
633         * iterators.[Ch] (text): require bv argument
634         * undo.C (recordUndo):
635         * lyxfunc.C (dispatch):
636         * bufferview_funcs.C (put_selection_at): adjust
637
638 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
639
640         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
641
642 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
643
644         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
645         nestings
646
647 2003-11-04  André Pönitz  <poenitz@gmx.net>
648
649         * cursor.[Ch]: restructure
650
651         * BufferView.[Ch]:
652         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
653
654         * iterators.[Ch] (asCursor): remove
655
656         * lfuns.h: remove LFUN_INSET_EDIT
657
658         * lyxfunc.C:
659         * tabular.C:
660         * text.C:
661         * text2.C:
662         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
663
664 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
665
666         * lyxfind.[Ch]: complete overhaul
667         * BufferView_pimpl.C:
668         * lyxfunc.C: adjust
669         * paragraph.[Ch] (insert): add
670
671 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
672
673         * BufferView.[Ch]:
674         * lyxtext.h:
675         * text.C: remove dead spellcheck code
676
677 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
678
679         * dispatchresult.h: add a val setter
680
681         * cursor.C (dispatch): use a tempvar for data_[i]
682
683 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
684
685         * PosIterator.[Ch]: compile fix
686
687 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
688
689         * text.C (cursorPar): deactivate the cursor cache
690
691 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
692
693         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
694
695 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
696
697         * text3.C (dispatch): adjust for new DisptchResult semantics.
698
699         * lyxfunc.C (dispatch): handle update when return from
700         Cursor::dispatch, adjust for new DispatchResult semantics.
701
702         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
703         DispatchResult(true) mean to not update. Add class functions for
704         setting dispatched and update, as well as reading.
705
706         * cursor.C (dispatch): don't handle update here
707
708 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
711         * trans_mgr.C: adjust
712
713         * paragraph_funcs.C (readParToken): exception safety
714
715         * lyxvc.h: store the vcs pointer in a scoped_ptr
716         * lyxvc.C: adjust
717
718         * lyxsocket.C (serverCallback): exception safety
719
720         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
721
722         * ispell.C (clone): make it return a auto_ptr
723
724         * factory.C (createInset): exception safety
725         (readInset): exception safety
726
727         * bufferlist.C (newBuffer): exception safety
728
729         * Thesaurus.C (Thesaurus): use initialization for aik_
730
731         * MenuBackend.C (expandToc): exception safety.
732
733 2003-11-03  André Pönitz  <poenitz@gmx.net>
734
735         * buffer.C:
736         * buffer.h:
737         * bufferview_funcs.C: remove getInsetFromId()
738
739         * lyxcursor.[Ch]:
740         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
741
742         * lyxfunc.C:
743         * text2.C:
744         * text3.C: adjust
745
746 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
747
748         * PosIterator.C (distance, advance): new
749         * bufferview_funcs.[Ch] (put_selection_at): new
750         * iterators.[Ch] (lockPath): new
751
752 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
753
754         * iterators.[Ch] (asPosIterator): added
755         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
756         * PosIterator.[Ch]: added
757
758 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * text3.C:
761         * lyxfunc.C:
762         * cursor.C (dispatch):
763         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
764
765         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
766         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
767         contructor, add a class function dispatched. Remove operator>=
768
769 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
770
771         * debug.C: only use the default constructor for debugstream
772         (lyxerr) here.
773
774         * main.C (main): include debug.h and setup the lyxerr streambuf
775         here.
776
777 2003-10-31  José Matos  <jamatos@lyx.org>
778
779         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
780
781         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
782         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
783         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
784         * paragraph_pimpl.C (simpleTeXSpecialC):
785         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
786         add LatexRunParams argument.
787
788         * exporter.C (Export): change call accordingly.
789
790         * latexrunparams.h: add new member to take care of the other backends.
791 2003-10-30  José Matos  <jamatos@lyx.org>
792
793         * buffer.C (makeLinuxDocFile, makeDocBookFile):
794         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
795         factorise code for paragraph output.
796         * buffer.[Ch]:
797         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
798         move functions.
799
800 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
801
802         * text3.C (dispatch):
803         * lyxfunc.C (dispatch):
804         * cursor.C (dispatch):
805         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
806
807         * dispatchresult.h: make the dispatch_result_t ctor explicit
808
809 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
810
811         * sgml.[Ch]:
812         * buffer.C: small refactoring of docbook stuff
813
814 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
815
816         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
817         meaning.
818
819 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
820
821         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
822         operator dispatch_result_t, and operators for == != and >=
823
824         * cursor.C (dispatch): adjust for operator dispatch_result_t
825         removal. comment out call to update
826
827         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
828
829 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
830
831         * text3.C:
832         * text2.C:
833         * text.C:
834         * lyxtext.h:
835         * lyxfunc.C:
836         * cursor.C:
837         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
838         (dispatch):
839
840         * dispatchresult.h: new file, DispatchResult broken out of
841         insets/insetbase.h
842
843         * Makefile.am (lyx_SOURCES): add dispatchresult.h
844
845 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
846
847         * text.C (rowBreakPoint): put a hack inside #if 0
848
849 2003-10-28  André Pönitz  <poenitz@gmx.net>
850
851         * lyxtext.h:
852         * metricsinfo.C:
853         * paragraph_funcs.C:
854         * rowpainter.C:
855         * text.C:
856         * text2.C: general cleanup (lots of small stuff)
857
858 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
859
860         * text2.C (cursorEnd): simple fix to the "end key goes to one
861         before the end on last row" bug
862
863 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
864
865         * text.C (backspace): fix the "zombie characters"
866
867 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
868
869         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
870
871 2003-10-27  André Pönitz  <poenitz@gmx.net>
872
873         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
874
875         * factory.C: handle new InsetPagebreak, InsetLine
876
877         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
878         and move handling into new InsetPagebreak, InsetLine
879
880         * BufferView_pimpl.C:
881         * LyXAction.C:
882         * ParagraphParameters.C:
883         * ParameterStruct.h:
884         * lyxfunc.C:
885         * lyxtext.h:
886         * paragraph.C:
887         * paragraph.h:
888         * paragraph_funcs.C:
889         * paragraph_pimpl.C:
890         * rowpainter.C:
891         * text.C:
892         * text2.C:
893         * text3.C: adjust
894
895 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
896
897         * text.C:
898         * lyxrow_funcs.[Ch]:
899         * Bidi.C:
900         * paragraph.C:
901         * lyxtext.h:
902         * rowpainter.C:
903         * text2.C:
904         * text3.C: remove lastPos uses in favour of Row::endpos
905
906 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
907
908         * undo.C (performUndoOrRedo): fix two crashes by setting a
909         cursor by hand and reordering some calls. Use bv->lockInset instead
910         of inset->edit because the latter loses cursor information
911
912 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
913
914         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
915         by Martin
916         (rowBreakPoint): fix width. change point to point + 1.
917         Add a missing check.
918
919 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
920
921         * MenuBackend.C:
922         * lyxfunc.C: fix (at least partly) the problems
923         with the Nav menu and headers inside branch insets
924         reported by Kayvan
925
926 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
927
928         * paragraph.C (getChar): add strong asserts
929
930         * lyxrow_funcs.C (lastPos): remove hideous hack
931
932         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
933         (fill): adjust to that (avoid an infinite loop)
934
935 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
936
937         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
938
939 2003-10-23  André Pönitz  <poenitz@gmx.net>
940
941         * RowList_fwd.h: change list<> to vector<> to gain speed
942         after suggestion from Alfredo
943
944 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
945
946         * lyxtext.h: move the bidi stuff from here...
947         * text.C: and here
948         * text2.C: and here
949         * Bidi.[Ch]: ... to here
950
951 2003-10-23  André Pönitz  <poenitz@gmx.net>
952
953         * lyxtext.h:
954         * text.C (isLastRow, isFirstRow): new functions
955
956         * paragraph.h: new width cache member
957
958         * rowpainter.C: replace RowList::iterator with Row & where possible
959
960         * lyxfunc.C: replace several view()->text with a single call
961
962         * toc.C: fix 'unused' warning
963
964 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
965
966         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
967         when woring with stream::pos_type
968         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
969
970 2003-10-22  André Pönitz  <poenitz@gmx.net>
971
972         * lyxtext.h:
973         * text.C: use Row & instead of RowList::iterator
974
975         * lyxrow.h: rename end() to endpos()
976
977         * rowpainter.C:
978         * text.C:
979         * text2.C: adjust
980
981 2003-10-22  Angus Leeming  <leeming@lyx.org>
982
983         * buffer.[Ch] (fully_loaded): new member function, returning true
984         only when the file has been loaded fully.
985         Used to prevent the premature generation of previews and by the
986         citation inset to prevent computation of the natbib-style label.
987
988         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
989         templates are all set up.
990
991         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
992
993 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * text.C: fixed an "oops" in the "is a bit silly"
996         bug fix
997
998 2003-10-21  André Pönitz  <poenitz@gmx.net>
999
1000         * FuncStatus.[Ch]: small stuff, whitespace
1001
1002         * lyxfont.[Ch]: operator<<() for debug reasons
1003
1004         * lyxfunc.C:
1005         * lyxrow_funcs.C:
1006         * lyxtext.h: whitespace, spelling
1007
1008         * paragraph.C: naming of variables
1009
1010         * text.C:
1011         * text2.C: small stuff
1012
1013
1014 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1015
1016         * text.C: (1) finish off the inset display() work;
1017         (2) fix the "is a bit silly" bug (accessing char
1018         past end of par).
1019
1020 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * text.C: re-introduce display() for insets, fixing the
1023         various bugs (stretch of line above, math inset
1024         positioning, ...)
1025
1026 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1027
1028         * text.C (rightMargin): remove spurious semicolon
1029
1030         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1031         1415)
1032
1033 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * text3.C: fix one crash due to wrong cursor def
1036
1037 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1038
1039         * vc-backend.C (scanMaster): make the regex static
1040
1041         * LaTeX.C (scanAuxFile): make the regexs static
1042
1043         * text3.C (doInsertInset, dispatch, dispatch):
1044         * text2.C (cursorUp, cursorDown):
1045         * text.C (selectNextWordToSpellcheck):
1046         * BufferView_pimpl.C (dispatch):
1047         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1048
1049 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lyxsocket.C: include <cerrno>
1052
1053 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1054
1055         * lyxfunc.C (dispatch): remove textcache stuff
1056
1057         * bufferlist.C (release): remove textcache stuff
1058         (closeAll): ditto
1059
1060         * TextCache.C: delete file
1061         * TextCache.h: delete file
1062
1063         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1064
1065         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1066         delete of the bv_->text.
1067         (resizeCurrentBuffer): remove texcache stuff
1068         (workAreaResize): ditto
1069
1070 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1071
1072         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1073         action.
1074
1075 2003-10-16  André Pönitz  <poenitz@gmx.net>
1076
1077         * lyxrow.[Ch]:
1078         * paragraph.h:
1079         * rowpainter.C:
1080         * text.C:
1081         * text2.C:
1082         * text3.C: speed up by storing y positions per paragraph plus per-row
1083         offset instead of having a 'full' y position in the row.
1084
1085 2003-10-15  André Pönitz  <poenitz@gmx.net>
1086
1087         * iterators.[Ch]:
1088         * iterators.[Ch]:
1089         * undo.[Ch]: make undo aware of inner insets
1090
1091 2003-10-14  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1094         static member functions LyX::ref() and LyX::cref.
1095         (lastfiles): new accessor functions for the new lastfiles_ member var.
1096         (addLyXView, views_): add a new LyXView to the list of views_.
1097         (updateInset): loop over all LyXViews to call their own updateInset
1098         member function, returning a pointer to the Buffer owning the inset.
1099
1100         * BufferView_pimpl.C (loadLyXFile):
1101         * MenuBackend.C (expandLastfiles):
1102         * bufferlist.C (MenuWrite, QuitLyX):
1103         lastfiles is no longer a global variable.
1104         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1105
1106         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1107         static function. Access through LyX::cref().emergencyCleanup().
1108
1109 2003-10-14  André Pönitz  <poenitz@gmx.net>
1110
1111         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1112
1113         * undo.[Ch]: restoring part of 'undo in insets'
1114
1115         * Makefile.am:
1116         * undo_funcs.[Ch]: merge with undo.[Ch]
1117
1118         * tabular.C: small cleansing stuff
1119
1120 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1121
1122         * paragraph_funcs.C (readParToken): report unknown insets as error
1123         boxes. Use the outer paragraph as location (also for unknown
1124         tokens).
1125
1126         * factory.C (readInset): do not abort on reading an unknown inset.
1127         Eat it and return 0.
1128
1129 2003-10-13  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1132
1133         * lyxrc.C: displayTranslator is now a function,
1134         declared in GraphicsTypes.h.
1135
1136 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1137
1138         * format.C: new placeholder $$a to pass the socket address.
1139
1140         * bufferlist.[Ch]: new function getBufferFromTmp.
1141
1142         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1143           files in the temporary dir.
1144
1145 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1146
1147         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1148
1149         * Makefile.am: add lyxsocket.[Ch].
1150
1151         * lyx_main.C (error_handler): handle SIGPIPE.
1152
1153 2003-10-13  André Pönitz  <poenitz@gmx.net>
1154
1155         * BufferView_pimpl.C:
1156         * lyxtext.h:
1157         * text.C:
1158         * text2.C:
1159         * text3.C:
1160         * undo_funcs.[Ch]: use paroffset_type instead of
1161           ParagraphList::iterators to prevent multiple conversion
1162           (and get a more robust interface)
1163
1164 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1165
1166         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1167         * lyxtext.h: ditto
1168         * text3.C (dispatch): ditto
1169
1170 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1171
1172         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1173         move the onlyfile, use onlyfile instead of foundfile in a couple
1174         of places.
1175
1176         * DepTable.C (update): flush the error stream a bit more
1177
1178 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1179
1180         * lyxserver.C (callback): adjust
1181
1182         * lyxfunc.C (getStatus): add a missing brace in commented code
1183         (ensureBufferClean): reindent
1184         (dispatch): delete version taking a string
1185
1186 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1187
1188         * LaTeX.C (deplog): move found file handlig from here...
1189         (handleFoundFile): .. to new function here.
1190         (deplog): make sure to discover several files mentioned on the
1191         same log line.
1192
1193 2003-10-10  André Pönitz  <poenitz@gmx.net>
1194
1195         * lyxfunc.C:
1196         * lyxtext.h:
1197         * tabular.C:
1198         * text.C:
1199         * text2.C:
1200         * text3.C: fix some of the tabular crashes
1201
1202 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1203
1204         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1205
1206         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1207
1208 2003-10-09  André Pönitz  <poenitz@gmx.net>
1209
1210         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1211
1212         * BufferView.C:
1213         * BufferView_pimpl.C:
1214         * bufferview_funcs.C:
1215         * lyx_cb.C:
1216         * lyxcursor.C:
1217         * lyxfind.C:
1218         * lyxfunc.C:
1219         * lyxtext.h:
1220         * text.C:
1221         * text2.C:
1222         * text3.C:
1223         * text_funcs.[Ch]:
1224         * textcursor.[Ch]:
1225         * undo_funcs.C: adjust
1226
1227 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1228
1229         * text2.C (incrementItemDepth): new function, use a backtracking
1230         algorithm to discover the correct item depth.
1231         (resetEnumCounterIfNeeded): new function, use a backtracking
1232         algorithm to discover if counter reset is needed.
1233         (setCounter): use them. Simplify a bit. Add different labels for
1234         different item depths for itemize.
1235
1236         * paragraph.C (Paragraph): remove initialization of enumdepth
1237         (operator=): ditto
1238
1239         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1240         enumerate and itemize. Change the type of itemdepth to signed char.
1241
1242 2003-10-08  André Pönitz  <poenitz@gmx.net>
1243
1244         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1245           thing assignable.
1246         * text.C:
1247         * text2.C: adjust
1248
1249         * tabular.[Ch]: fix crash after 'row-insert'
1250
1251 2003-10-08  Angus Leeming  <leeming@lyx.org>
1252
1253         Fix doxygen warnings.
1254
1255         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1256         Remove CutAndPaste:: prefix from header file declaration.
1257
1258         * LColor.h (fill): remove LColor:: prefix from declaration.
1259
1260         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1261         use lyx::depth_type rather than Paragraph::depth_type so that
1262         header file and .C file match.
1263
1264         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1265
1266         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1267         * aspell.C: \file aspell_local.C -> \file aspell.C
1268         * gettext.C: \file gettext.C -> \file src/gettext.C
1269         * gettext.h: \file gettext.h -> \file src/gettext.h
1270         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1271         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1272         * text.C: \file text.C -> \file src/text.C
1273
1274         * toc.C: move comment so that doxygen is not confused.
1275
1276 2003-10-07  Angus Leeming  <leeming@lyx.org>
1277
1278         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1279
1280 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1281
1282         * aspell.C:
1283         * aspell_local.h: add forgotten std::string's.
1284
1285 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1286
1287         * LaTeXFeatures.C:
1288         * LyXAction.C:
1289         * factory.C:
1290         * lfuns.h:
1291         * lyxfunc.C:
1292         * text3.C: The Box patch. Fancybox support, minipage, parbox
1293
1294 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1295
1296         * CutAndPaste.h:
1297         * DepTable.h:
1298         * FloatList.h:
1299         * LaTeXFeatures.h:
1300         * ParagraphParameters.h:
1301         * TextCache.h:
1302         * Thesaurus.h:
1303         * bufferlist.h:
1304         * exporter.h:
1305         * importer.h:
1306         * lastfiles.h:
1307         * lyxfind.h:
1308         * lyxfont.h:
1309         * lyxlex.h:
1310         * lyxtextclasslist.h:
1311         * messages.h:
1312         * paragraph.h:
1313         * paragraph_pimpl.C:
1314         * textcursor.h: add <string> and other small fixes to make Lars'
1315         std::string patch compile with STLport.
1316
1317 2003-10-06  Angus Leeming  <leeming@lyx.org>
1318
1319         * LColor.h: Add missing #include <string>.
1320
1321 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1322
1323         * All most all file in all subdirs: Make <string> be the prefered
1324         way of getting to std::string, add using declarations.
1325
1326 2003-10-06  André Pönitz  <poenitz@gmx.net>
1327
1328         * metricsinfo.C: initialize LyXFont before changing attribute.
1329         (fixes the 'math in \emph is upright' bug)
1330
1331 2003-10-06  André Pönitz  <poenitz@gmx.net>
1332
1333         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1334
1335 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * graph.C:
1338         * paragraph_pimpl.C: Small fixes to build using STLport
1339
1340 2003-10-02  André Pönitz  <poenitz@gmx.net>
1341
1342         * lyxfunc.C:
1343         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1344
1345 2003-10-01  André Pönitz  <poenitz@gmx.net>
1346
1347         * factory.C: assert early
1348
1349 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * lyx_main.C: remove the global debug object
1352
1353         * debug.h: adjust for new debugstream
1354
1355         * debug.C: adjust for new debugstream and keep the global debug
1356         object here.
1357
1358 2003-09-22  Angus Leeming  <leeming@lyx.org>
1359
1360         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1361         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1362         an incomplete class LyXFont.
1363
1364 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1365
1366         * factory.C: bug fix in branches
1367
1368 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * lyxfunc.C (processKeySym): adjust
1371         (dispatch): adjust
1372         (dispatch): change arg name from ev to func, adjust
1373         (sendDispatchMessage): ditto
1374
1375         * lyx_main.C (defaultKeyBindings): adjust keybindings
1376         (deadKeyBindings): ditto
1377
1378         * kbsequence.C (addkey): return a FuncRequest
1379
1380         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1381
1382         * kbmap.C (bind): take a FuncRequest as arg, adjust
1383         (read): adjust
1384         (lookup): adjust
1385         (defkey): change to take a FuncRequest as arg, adjust
1386         (findbinding): take a FuncRequest as arg, adjust.
1387
1388         * funcrequest.h (operator=): added
1389
1390         * funcrequest.C (FuncRequest): default kb_action changed from
1391         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1392
1393         * buffer.C (dispatch): simplify
1394         (dispatch): adjust to take a FuncRequest as arg, adjust
1395
1396         * boost.C (assertion_failed): change assertion message slightly
1397
1398         * ToolbarBackend.C (read): simplify
1399
1400         * MenuBackend.C (binding): adjust call to findbinding, add a
1401         message if no binding is found.
1402         (read): simplify
1403         (expandToc): correct by adding a empty FuncRequest
1404
1405         * LyXAction.C: include <boost/assert.hpp>
1406         (isPseudoAction): delete function
1407         (LookupFunc): change name to...
1408         (lookupFunc): this. change return type to FuncRequest.
1409         (getActionName): take kb_action as arg, simplify
1410         (funcHasFlag): add an assert, simplify.
1411
1412 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1413
1414         * toc.C (action): return a FuncRequest, simplify
1415
1416         * lyxfunc.C (processKeySym): adjust
1417         (getStatus): delete version that takes an int.
1418         (getStatus): adjust
1419         (dispatch): delete version that takes action as int
1420         (dispatch): adjust
1421         (sendDispatchMessage): simplify and adjust
1422
1423         * funcrequest.C (getArg): take unsigned int as arg
1424
1425         * ToolbarBackend.C (read): adjust
1426         (add): delete version that takes func as a string.
1427         (getIton): take a FuncRequest as arg
1428
1429         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1430         action.
1431
1432         * MenuBackend.C (MenuItem): add a new construct that only takes a
1433         Kind, simplify the constructor use for submenus.
1434         (add): adjust
1435         (expandLastfiles): adjust
1436         (expandDocuments): adjust
1437         (expandFormats): adjust
1438         (expandFloatListInsert): adjust
1439         (expandFloatInsert): adjust
1440         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1441
1442         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1443         Remove class variables lyx_pseudo_map and lyx_arg_map
1444
1445         * LyXAction.C (searchActionArg): delete function
1446         (getPseudoAction): delete function
1447         (retrieveActionArg): delete function
1448         (LookupFunc): make it return kb_action, simplify.
1449         (getActionName): simplify
1450
1451         * factory.C (createInset): fix new bug
1452
1453 2003-09-19  Angus Leeming  <leeming@lyx.org>
1454
1455         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1456         masterFilename_ parameter in the include inset.
1457
1458         * factory.C (createInset): changes due to the changes to InsetInclude.
1459
1460 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1461
1462         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1463
1464 2003-09-18  Angus Leeming  <leeming@lyx.org>
1465
1466         * buffer.C:
1467         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1468         Inset::fillWithBibKeys.
1469         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1470
1471 2003-09-18  Angus Leeming  <leeming@lyx.org>
1472
1473         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1474         variables.
1475         (ctor): pass and store a 'Buffer const &'
1476         (buffer): new member function.
1477
1478         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1479         '*this' to the LaTeXFeatures ctor.
1480
1481 2003-09-18  Angus Leeming  <leeming@lyx.org>
1482
1483         * LColor.h:
1484         * lyxfont.C:
1485         * lyxfont.h:
1486         * lyxtext.h:
1487         * text.C: rename EnumLColor as LColor_color.
1488
1489 2003-09-18  Angus Leeming  <leeming@lyx.org>
1490
1491         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1492         remove #include "insets/insetbase.h" from cursor.h.
1493
1494 2003-09-18  Angus Leeming  <leeming@lyx.org>
1495
1496         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1497         InsetOld_code to remove #include "inset.h".
1498
1499         * iterators.C: add #include "insets/inset.h"
1500
1501 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1502
1503         * BufferView.C: remove more locking stuff that apparently doesn't
1504         do anything sensible.
1505
1506 2003-09-16  André Pönitz  <poenitz@gmx.net>
1507
1508         * paragraph.[Ch]:
1509         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1510           performance boost.
1511
1512 2003-09-16  Angus Leeming  <leeming@lyx.org>
1513
1514         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1515
1516         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1517         arg/return type.
1518
1519         * paragraph.h: remove #include "lyxfont.h". Forward declare
1520         LyXFont_size.
1521
1522 2003-09-16  Angus Leeming  <leeming@lyx.org>
1523
1524         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1525         of support/textutils.h.
1526         (isWord): move the contents of support/textutils.h's IsWordChar here.
1527
1528         * buffer.C:
1529         * lyxfind.C:
1530         * rowpainter.C:
1531         * text.C:
1532         * text2.C: add #include "paragraph.h".
1533
1534         * rowpainter.C:
1535         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1536
1537 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * main.C:
1540         * lyx_main.C:
1541         * lyx_cb.C:
1542         * buffer.C:
1543         * LaTeX.C: use namespace alias for lyx::support::os
1544
1545 2003-09-16  Angus Leeming  <leeming@lyx.org>
1546
1547         * bufferparams.C:
1548         * bufferview_funcs.C:
1549         * factory.C:
1550         * lyxfunc.C:
1551         * paragraph_pimpl.C:
1552         * rowpainter.C:
1553         * text.C: add #include "LColor.h".
1554
1555 2003-09-16  Angus Leeming  <leeming@lyx.org>
1556
1557         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1558         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1559         return LyXFont &.
1560         Store the FontBits::color variable as an int rather than as an
1561         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1562         file.
1563
1564         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1565         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1566         string calls together.
1567
1568         * lyxrc.C: add #include "LColor.h".
1569
1570 2003-09-15  Angus Leeming  <leeming@lyx.org>
1571
1572         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1573         a cow_ptr.
1574
1575 2003-09-15  Angus Leeming  <leeming@lyx.org>
1576
1577         * LColor.h: add an EnumLColor wrapper for LColor::color.
1578
1579         * lyxfont.[Ch] (color, setColor, realColor):
1580         * lyxtext.h, text.C (backgroundColor):
1581         pass EnumLColor args to/from the functions, rather than LColor::color
1582         ones.
1583
1584         * lyxfont.h:
1585         * lyxtext.h: forward declare EnumLColor.
1586
1587         * lyx_main.C: add #include "LColor.h".
1588
1589 2003-09-15  Angus Leeming  <leeming@lyx.org>
1590
1591         * .cvsignore: add lyx-gtk.
1592
1593 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * Chktex.C
1596         * LaTeX.C
1597         * LaTeXFeatures.C
1598         * ParagraphParameters.C
1599         * Spacing.C
1600         * buffer.C
1601         * bufferparams.C
1602         * bufferview_funcs.C
1603         * chset.C
1604         * counters.C
1605         * funcrequest.C
1606         * lyxfont.C
1607         * lyxgluelength.C
1608         * lyxlength.C
1609         * paragraph.C
1610         * paragraph_funcs.C
1611         * text3.C
1612         * vc-backend.C: remove usage of STRCONV
1613
1614 2003-09-15  Angus Leeming  <leeming@lyx.org>
1615
1616         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1617         explicitly define the color passed to the painter.
1618
1619 2003-09-15  Angus Leeming  <leeming@lyx.org>
1620
1621         * bufferparams.C (BufferParams): reorder member initializers to avoid
1622         compiler warning.
1623
1624 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1627         * text.C (updateRowPositions): remove an unusual nop
1628
1629 2003-09-12  André Pönitz  <poenitz@gmx.net>
1630
1631         * BufferView_pimpl.C:
1632         * Bullet.C:
1633         * layout.h:
1634         * lyxfunc.C:
1635         * lyxlayout.[Ch]:
1636         * lyxtextclass.C:
1637         * rowpainter.C:
1638         * text.C:
1639         * text2.C:
1640         * Counters.[Ch]: finish the 'automatic counters' job
1641
1642 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1643
1644         * aspell.C: include <boost/assert.cpp> (compile fix)
1645
1646 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1647
1648         * boost.C (assertion_failed): use lyx::support::abort instead of
1649         assert.
1650
1651 2003-09-10  Angus Leeming  <leeming@lyx.org>
1652
1653         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1654         with their _fwd progeny.
1655
1656 2003-09-09  Angus Leeming  <leeming@lyx.org>
1657
1658         134 files throughtout the source tree: replace 'using namespace abc;'
1659         directives with the appropriate 'using abc::xyz;' declarations.
1660
1661 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1662
1663         * boost.C (emergencyCleanup): moved here from LAssert.c
1664         (assertion_failed): new function, called by BOOST_ASSERT
1665
1666         * several files: change Assert to BOOST_ASSERT
1667
1668 2003-09-09  Angus Leeming  <leeming@lyx.org>
1669
1670         * buffer.[Ch]: Add an Impl class and move Buffer's member
1671         variables into it. As a result move several header files out of
1672         buffer.h.
1673
1674         Add header files to lots of .C files all over the tree as a result.
1675
1676 2003-09-09  Angus Leeming  <leeming@lyx.org>
1677
1678         * buffer.[Ch]: make Buffer's member variables private. Add
1679         accessor functions.
1680
1681         Lots of changes all over the tree as a result.
1682
1683 2003-09-08  Angus Leeming  <leeming@lyx.org>
1684
1685         * graph.C: #include <config.h>.
1686
1687 2003-09-08  Angus Leeming  <leeming@lyx.org>
1688
1689         * BranchList.C:
1690         * BufferView.C:
1691         * BufferView_pimpl.C:
1692         * CutAndPaste.C:
1693         * DepTable.C:
1694         * LaTeX.C:
1695         * LaTeXFeatures.C:
1696         * LyXAction.C:
1697         * MenuBackend.C:
1698         * TextCache.C:
1699         * aspell.C:
1700         * buffer.C:
1701         * bufferlist.C:
1702         * changes.C:
1703         * chset.C:
1704         * converter.C:
1705         * counters.C:
1706         * debug.C:
1707         * graph.C:
1708         * ispell.C:
1709         * lyx_cb.C:
1710         * lyxfind.C:
1711         * lyxfunc.C:
1712         * lyxlex_pimpl.C:
1713         * lyxrc.C:
1714         * lyxrow.C:
1715         * paragraph.C:
1716         * rowpainter.C:
1717         * texrow.C:
1718         * text.C:
1719         * text2.C:
1720         * toc.C: remove redundant using directives.
1721
1722 2003-09-07  Angus Leeming  <leeming@lyx.org>
1723
1724         * LaTeXFeatures.h: remove #include "support/types.h".
1725         * ToolbarBackend.h: remove #include <algorithm>.
1726         * changes.h: remove #include <ctime>.
1727         * debug.h: remove #include <iosfwd>.
1728         * graph.h: remove #include "support/std_string.h".
1729         * lyx_main.h: remove #include <csignal>.
1730         * lyxlex_pimpl.h: remove #include <fstream>.
1731         * sgml.h: remove #include <algorithm>, <utility>.
1732         * toc.h: remove #include "support/std_ostream.h".
1733         Add #include <iosfwd>.
1734
1735 2003-09-07  Angus Leeming  <leeming@lyx.org>
1736
1737         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1738
1739         * converter.h: forward declare LatexRunParams.
1740         * encoding.h: remove #include "lyxrc.h".
1741         * lyxtext.h: remove #include "LColor.h".
1742         * lyxtextclass.h: remove #include "support/types.h".
1743         * trans.h: remove #include "tex-accent.h".
1744         * trans_mgr.h: remove #include "tex-accent.h".
1745         * insets/inset.h: remove #include "support/types.h", <vector>.
1746         * insets/insetcollapsable.h: remove #include "LColor.h".
1747         * insets/insetinclude.h: remove #include "dimension.h".
1748         * insets/insetlatexaccent.h: remove #include "dimension.h".
1749         * insets/insetoptarg.h:: remove #include "insettext.h".
1750         * insets/insettext.h: remove #include "dimension.h",
1751         <boost/shared_ptr.hpp>
1752
1753         * insets/renderers.h: add #include "dimension.h".
1754         * insets/updatableinset.h: add #include "support/types.h".
1755
1756         * many .C files: Associated changes.
1757
1758 2003-09-06  Angus Leeming  <leeming@lyx.org>
1759
1760         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1761         one, inside testInvariant.
1762
1763         * PrinterParams.C: new file.
1764         * PrinterParams.[Ch]: move the function bodies out of line.
1765
1766 2003-09-06  Angus Leeming  <leeming@lyx.org>
1767
1768         * ParagraphParameters.h: forward declare ParameterStruct rather than
1769         including its header file.
1770         (depth): moved out-of-line.
1771
1772 2003-09-06  Angus Leeming  <leeming@lyx.org>
1773
1774         * BufferView_pimpl.h:
1775         * kbmap.h:
1776         * kbsequence.h:
1777         * lyxfunc.h: forward declare LyXKeySym rather than
1778         #include "frontends/LyXKeySym.h".
1779
1780         * BufferView_pimpl.C:
1781         * kbmap.C:
1782         * kbsequence.C:
1783         * lyxfunc.C: associated changes.
1784
1785 2003-09-06  Angus Leeming  <leeming@lyx.org>
1786
1787         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1788         As a result, can remove the #include "insets/inset.h" from BufferView.h
1789
1790 2003-09-06  Angus Leeming  <leeming@lyx.org>
1791
1792         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1793         As a result, can remove the #include "insets/inset.h" from BufferView.h
1794
1795 2003-09-06  Angus Leeming  <leeming@lyx.org>
1796
1797         * buffer_funcs.C:
1798         * buffer.h:
1799         * bufferlist.C:
1800         * BufferView.C:
1801         * bufferview_funcs.C:
1802         * BufferView_pimpl.C:
1803         * CutAndPaste.C:
1804         * lyx_cb.C:
1805         * lyxfunc.C:
1806         * paragraph.h:
1807         * ParagraphParameters.C:
1808         * tabular.C:
1809         * text3.C:
1810         * toc.C:
1811         * undo_funcs.C:
1812         * frontends/controllers/ControlDocument.C:
1813         * insets/insetcaption.C: rearrange the #includes into some sort of
1814         coherent order.
1815
1816         * buffer.h: remove #includes ErrorList.h, undo.h
1817
1818 2003-09-06  Angus Leeming  <leeming@lyx.org>
1819
1820         * support/types.h: add a 'depth_type' typedef, used to store the
1821         nesting depth of a paragraph.
1822
1823         * paragraph.h:
1824         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1825         defining explicitly.
1826
1827         * buffer.h:
1828         * paragraph_funcs.h:
1829         * ParagraphParameters.h:
1830         * sgml.h: use lyx::depth_type rather than Paragraph or
1831         ParameterStruct's depth_type.
1832
1833         * buffer.h
1834         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1835
1836         * BufferView.C:
1837         * BufferView_pimpl.C:
1838         * CutAndPaste.C:
1839         * ParagraphParameters.C:
1840         * buffer_funcs.C:
1841         * bufferlist.C:
1842         * bufferview_funcs.C:
1843         * lyx_cb.C:
1844         * lyxfunc.C:
1845         * tabular.C:
1846         * text3.C:
1847         * toc.C:
1848         * undo_funcs.C:
1849         * frontends/LyXView.C:
1850         * frontends/controllers/ControlDocument.C:
1851         * frontends/controllers/ControlErrorList.C:
1852         * insets/insetbibitem.C:
1853         * insets/insetbranch.C:
1854         * insets/insetcaption.C:
1855         * insets/insetcollapsable.C:
1856         * insets/insetenv.C:
1857         * insets/insetert.C:
1858         * insets/insetfloat.C:
1859         * insets/insetfoot.C:
1860         * insets/insetfootlike.C:
1861         * insets/insetnewline.C:
1862         * insets/insetquotes.C:
1863         * insets/insettabular.C:
1864         * insets/insettext.C:
1865         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1866
1867         * frontends/controllers/ControlChanges.C: #include "changes.h".
1868
1869 2003-09-06  Angus Leeming  <leeming@lyx.org>
1870
1871         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1872         than #including paragraph.h.
1873
1874         * ParagraphList.h:
1875         * RowList.h: deleted. Superfluous.
1876
1877         * CutAndPaste.h:
1878         * iterators.h:
1879         * lyxcursor.h:
1880         * lyxtext.h:
1881         * text_funcs.h:
1882         * undo.h:
1883         * undo_funcs.h:
1884         * insets/inset.h:
1885         * insets/insettext.h: use ParagraphList_fwd.h rather than
1886         ParagraphList.h.
1887
1888         * paragraph.h: don't forward declare ParagraphList.
1889
1890         * buffer.h:
1891         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1892         rather than ParagraphList.h. paragraph.h is still needed for the
1893         Paragraph::depth_type parameters.
1894
1895         * textcursor.h: enable it to compile stand-alone in light of the
1896         above changes.
1897
1898         * bufferview_funcs.C:
1899         * iterators.C:
1900         * lyxfunc.C:
1901         * lyxrow_funcs.C:
1902         * paragraph.C:
1903         * rowpainter.C:
1904         * text.C:
1905         * text2.C:
1906         * text3.C:
1907         * text_funcs.C:
1908         * textcursor.C:
1909         * undo.C:
1910         * frontends/controllers/ControlParagraph.C:
1911         * frontends/controllers/ControlTabular.C:
1912         * insets/insetmarginal.C:
1913         * insets/insetminipage.C:
1914         * insets/insetnote.C:
1915         * insets/insetoptarg.C: add header files needed to compile again.
1916
1917 2003-09-06  Angus Leeming  <leeming@lyx.org>
1918
1919         * RowList_fwd.h: new file, forward-declaring Row rather than
1920         #including lyxrow.h.
1921
1922         * lyxrow_funcs.h:
1923         * lyxtext.h:
1924         * paragraph.h:
1925         * insets/insettext.h: use it instead of RowList.h
1926
1927         * bufferview_funcs.C:
1928         * lyxfunc.C:
1929         * lyxrow_funcs.C:
1930         * paragraph.C:
1931         * rowpainter.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C: #include "RowList.h".
1935
1936 2003-09-05  Angus Leeming  <leeming@lyx.org>
1937
1938         * factory.C (createInset):
1939         * vspace.C (c-tor): replace sscanf call with an istringstream.
1940         * ispell.C: re-add missing HP/UX headers.
1941         * lyxserver.C: re-add missing  os2 headers.
1942
1943 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1944
1945         * BranchList.C:
1946         * graph.C:
1947         * ispell.C:
1948         * lastfiles.C:
1949         * lyx_cb.C:
1950         * lyxserver.C:
1951         * texrow.C:
1952         * text3.C: re-add missing system headers, needed for 2.95.2.
1953
1954 2003-09-05  Angus Leeming  <leeming@lyx.org>
1955
1956         Changes most place everywhere due to the removal of using directives
1957         from support/std_sstream.h.
1958
1959 2003-09-05  Angus Leeming  <leeming@lyx.org>
1960
1961         Replace LString.h with support/std_string.h,
1962         Lsstream.h with support/std_sstream.h,
1963         support/LIstream.h with support/std_istream.h,
1964         support/LOstream.h with support/std_ostream.h.
1965
1966         Changes resulting throughout the tree.
1967
1968 2003-09-05  Angus Leeming  <leeming@lyx.org>
1969
1970         * sgml.h: ensure that the header file can be compiled stand-alone.
1971         * *.C: strip out redundant #includes. (320 in total.)
1972
1973 2003-09-04  Angus Leeming  <leeming@lyx.org>
1974
1975         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1976         here (from getPackages).
1977
1978         * debug.[Ch]: add a new EXTERNAL tag.
1979
1980 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1981
1982         * text2.C (cursorEnd): simplify
1983         (setCursor): adjust
1984         (getColumnNearX): adjust
1985
1986         * text.C (computeBidiTables): adjust
1987         (fill): adjust
1988
1989         * rowpainter.C (paintChars): adjust
1990         (paintSelection): adjust
1991         (paintChangeBar): adjust
1992         (paintText): adjust
1993
1994         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1995         lastPos instead.
1996         (numberOfSeparators): adjust
1997
1998 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1999
2000         * LyXAction.C:
2001         * box.[Ch]:
2002         * lfuns.h:
2003         * lyxfunc.C:
2004         * text3.C: Restricts the mouse click functionality
2005         of insets like bibtex, include, toc and floatlist to the visible
2006         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2007         up the dialogs. Cursor has to be in front of the inset (i.e.
2008         start of row) for this to function.
2009
2010 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2011
2012         * bufferview_funcs.C (currentState): output row information
2013
2014 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2015
2016         * bufferview_funcs.C (currentState): output paragraph position
2017
2018 2003-09-04  Angus Leeming  <leeming@lyx.org>
2019
2020         * FloatList.h: move out #include "Floating.h".
2021         * LaTeX.h: move out #include "DepTable.h".
2022         * LyXAction.h: move out #include "funcrequest.h".
2023         * buffer.h: move out #include "author.h", "iterators.h".
2024         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2025         * lyx_main.h: move out #include "errorlist.h".
2026         * lyxfunc.h: move out #include "FuncStatus.h".
2027         * lyxtext: move out #include "lyxcursor.h".
2028         * paragraph_pimpl.h: move out #include "counters.h".
2029
2030 2003-09-03  Angus Leeming  <leeming@lyx.org>
2031
2032         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2033         preamble_snippets list, enabling us to add snippets to the preamble
2034         only if the snippet was not there already.
2035
2036 2003-09-04  Angus Leeming  <leeming@lyx.org>
2037
2038         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2039
2040 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2041
2042         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2043         update
2044
2045 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * BranchList.C: point fix, earlier forgotten
2048
2049 2003-09-02  Angus Leeming  <leeming@lyx.org>
2050
2051         * box.C (contains): renamed from 'contained' after a fantastic
2052         amount of hot air.
2053
2054 2003-09-02  John Levon  <levon@movementarian.org>
2055
2056         * BufferView.C:
2057         * lyxcursor.h:
2058         * lyxcursor.C:
2059         * lyxfunc.C:
2060         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2061
2062 2003-09-02  John Levon  <levon@movementarian.org>
2063
2064         * text2.C: simplification of cursorEnd(), including partial
2065         fix for bug 1376
2066
2067 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * buffer.C (readFile): add a space
2070
2071 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2072
2073         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2074
2075 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * buffer.C (readFile): new function, take a filename and a
2078         ParagraphList::iterator
2079         (readFile): adjust
2080         (readFile): adjust, make it private. don't use setStream, make
2081         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2082         always contain the filename.
2083
2084         * BufferView.C (insertLyXFile): simplify and make it work for
2085         gzipped files.
2086
2087 2003-08-30  John Levon  <levon@movementarian.org>
2088
2089         * Makefile.am: fix dist (from Kayvan)
2090
2091 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2092
2093         * most files: change to use const Buffer refs
2094
2095 2003-08-27  André Pönitz  <poenitz@gmx.net>
2096
2097         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2098         on top of ownerPar().
2099
2100 2003-08-27  John Levon  <levon@movementarian.org>
2101
2102         * funcrequest.C: properly initialise POD members
2103
2104 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * lyxtext.h (top_y): move top_y from here
2107         * text.C:
2108         * text2.C:
2109         * text3.C:
2110         * BufferView.[Ch]:
2111         * BufferView_pimpl.[Ch]: to here
2112         * frontends/screen.C:
2113         * insets/insettabular.C:
2114         * insets/insettext.C: adjust
2115         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2116
2117 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * BufferView.[Ch]:
2120         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2121
2122 2003-08-26  André Pönitz  <poenitz@gmx.net>
2123
2124         * paragraph_func.[Ch] (outerPar): new function
2125
2126         * paragraph.C:
2127         * paragraph_funcs.C:
2128         * paragraph_funcs.h:
2129         * paragraph_pimpl.C:
2130         * text2.C: remove Inset::par_owner
2131
2132 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2133
2134         * lyxrow_funcs.C:
2135         * lyxtext.h:
2136         * text.C:
2137         * text2.C: eliminates the needFullRow/display() stuff
2138         altogether, putting the logic in metrics/draw in the insets.
2139
2140 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2141
2142         * text2.C (redoParagraphInternal, redoParagraphs):
2143         * text.C (redoParagraph): add a call to updateRowPositions at the
2144         end of each 'metrics-like' call. Remove all others.
2145         (getRow): remove the 'y-computing' version.
2146         (getRowNearY): do not compute nor return the real y. Solve the
2147         'y < 0' problem and simplify.
2148
2149 2003-08-22  Angus Leeming  <leeming@lyx.org>
2150
2151         * *.[Ch]: clean-up of licence and author blurbs.
2152         Also move config.h out of a few .h files and into a few .C files.
2153
2154 2003-08-22  André Pönitz  <poenitz@gmx.net>
2155
2156         * lyxrow.[Ch]: add x_ and *fill_ members
2157
2158         * lyxtext.h:
2159         * text.C:
2160         * rowpainter.C:
2161         * text2.C: adjust/remove prepareToPrint() calls
2162
2163 2003-08-22  André Pönitz  <poenitz@gmx.net>
2164
2165         * lyxrow.[Ch]: add  end_ member
2166
2167         * lyxrow_funcs.C: use LyXRow::end_
2168
2169         * lyxtext.h (singleWidth): add LyXFont parameter
2170
2171         * rowpainter.C:
2172         * text2.C: adjust LyXText::singleWidth() calls
2173
2174         * text.C (redoParagraph): simplify row breaking logic
2175
2176
2177 2003-08-19  André Pönitz  <poenitz@gmx.net>
2178
2179         * funcrequest.C: initialize button_ member
2180
2181         * text3.C:
2182         * rowpainter.[Ch]: interface consolidation
2183
2184 2003-08-18  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView.C:
2187         * BufferView_pimpl.C:
2188         * lyxfind.C:
2189         * paragraph_funcs.C:
2190         * rowpainter.C:
2191         * text3.C: remove LyXScreen::draw() and fitCursor calls
2192
2193         * BranchList.h: remove spurious semicolons
2194
2195         * MenuBackend.C: fix branchlist related crash
2196
2197 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2198
2199         * BranchList.[Ch]:
2200         * InsetList.[Ch]:
2201         * LColor.[Ch]:
2202         * LyXAction.C:
2203         * Makefile.am:
2204         * MenuBackend.[Ch]:
2205         * bufferparams.[Ch]:
2206         * factory.C:
2207         * lfuns.h:
2208         * lyxfunc.C:
2209         * text3.C: implements the 'branch inset'
2210         idea. This allows the output of various versions of a document
2211         from a single source version, selectively outputing or suppressing
2212         output of parts of the text.
2213         This implementation contains a 'branch list editor' in a separate
2214         tab of the document settings dialog. Branches are user definable
2215         and have a "display colour" to distinguish them on-screen.
2216
2217         ColorHandler was somewhat cleaned up.
2218         (1) make possible a dynamically growing LColor list by allowing
2219         the graphic context cache to grow along (vector);
2220         (2) eliminate an IMHO unnecessary step in colour allocation.
2221
2222 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2223
2224         * BufferView_pimpl.C: compile fix
2225
2226 2003-08-15  André Pönitz  <poenitz@gmx.net>
2227
2228         * rowpainter.C: remove extra metrics calls
2229
2230         * lyxtext.h: merge the two constructors into a single one,
2231           pass reference to owner's par list
2232
2233         * BufferView_pimpl.C:
2234         * text.C:
2235         * text2.C: adjust
2236
2237 2003-08-15  André Pönitz  <poenitz@gmx.net>
2238
2239         * lyxrow_funcs.[Ch]:
2240         * lyxtext.h:
2241         * paragraph.h:
2242         * paragraph_funcs.C:
2243         * rowpainter.C:
2244         * text.C:
2245         * text2.C:
2246         * text3.C:
2247         * text_funcs.C: split LyXText::rowlist_ into individual
2248         Paragraph::rows_ chunks
2249
2250         * BufferView.[Ch]:
2251         * BufferView_pimpl.[Ch]:
2252         * lyxfind.C:
2253         * lyxtext.h:
2254         * text3.C: remove toggleSelection()
2255
2256 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2257
2258         * bufferlist.C: beautify two alerts (shorter text of buttons)
2259         * buffer.C: Remove redundant ' ' from message
2260         * tabular.h:
2261         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2262         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2263         rename VALIGN_CENTER to VALIGN_MIDDLE
2264
2265 2003-08-11  André Pönitz  <poenitz@gmx.net>
2266
2267         * lyxtext.h (getPar):
2268         * text.C: new function
2269
2270 2003-08-11  André Pönitz  <poenitz@gmx.net>
2271
2272         * Makefile.am:
2273         * tracer.[Ch]: remove unneeded files
2274
2275         * InsetList.[Ch]: remove resizeInsetsLyXText()
2276
2277         * lyxtext.h:
2278         * text.C:
2279         * text2.C:
2280         * text3.C: merge insertParagraphs() and appendParagraph()
2281         remove breakAgain(), update()
2282
2283         * BufferView_pimpl.[Ch]:
2284         * bufferview_funcs.[Ch]:
2285         * lyxfunc.C:
2286         * paragraph.[Ch]:
2287         * rowpainter.C:
2288         * tabular.C: adjust after text & InsetList changes.
2289
2290 2003-08-08  André Pönitz  <poenitz@gmx.net>
2291
2292         * text.C (insertChar, backspace): replace rowlist fiddling
2293         with rebreak of full par
2294
2295         * lyxtext.h:
2296         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2297         checkParagraph, updateInset): removed
2298
2299 2003-08-07  André Pönitz  <poenitz@gmx.net>
2300
2301         * paragraph.C:
2302         * text3.C: merge some LFUN handlers, remove dead code
2303
2304 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2305
2306         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2307
2308 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * text2.C (DEPM): fix part of bug 1255 and 1256
2311
2312 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2313
2314         * BufferView_pimpl.C (workAreaDispatch): change to use
2315         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2316         that are no mouse related.
2317
2318 2003-08-05  André Pönitz  <poenitz@gmx.net>
2319
2320         * BufferView.[Ch]:
2321         * BufferView_pimpl.[Ch]:
2322         * bufferview_funcs.C:
2323         * text2.C:
2324         * text3.C: rip out "deep update"
2325
2326         * textcursor.[Ch] (last_sel_cursor): remove unused member
2327
2328 2003-08-04  André Pönitz  <poenitz@gmx.net>
2329
2330         * BufferView.[Ch]:
2331         * BufferView_pimpl.[Ch]:
2332         * ParagraphParameters.C:
2333         * bufferview_funcs.C:
2334         * lyx_cb.C:
2335         * lyxfind.C:
2336         * lyxfunc.C:
2337         * text.C:
2338         * text2.C:
2339         * text3.C: replace "complicated" BufferView::update(...) calls with
2340         simpler ones.
2341
2342         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2343
2344 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2345
2346         * Makefile.am (lyx_SOURCES): add paper.h
2347
2348 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2349
2350         * Makefile.am: move things around so that both lyx-qt and
2351         lyx-xforms can be built (according to --with-frontend). Then lyx
2352         is a symbolic link to lyx-[firstfrontend]
2353
2354 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2355
2356         * Always use std::endl with lyxerr
2357
2358 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2359
2360         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2361
2362 2003-08-01  André Pönitz  <poenitz@gmx.net>
2363
2364         * BufferView.[Ch]:
2365         * BufferView_pimpl.[Ch]:
2366         * lyxfunc.C:
2367         * text3.C: merge BufferView::repaint() and BufferView::update()
2368
2369 2003-08-01  José Matos  <jamatos@lyx.org>
2370
2371         * buffer.[Ch]: file_format is no longer a buffer data element.
2372
2373 2003-08-01  André Pönitz  <poenitz@gmx.net>
2374
2375         * BufferView.C:
2376         * lyxtext.h:
2377         * text.C:
2378         * text2.C: make redoParagraph more independent of current cursor
2379
2380         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2381         * text.C:
2382         * text2.C: remove unneeded members
2383
2384 2003-07-30  André Pönitz  <poenitz@gmx.net>
2385
2386         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2387
2388         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2389           create a single function...
2390
2391         * paragraph_funcs.C (moveItem): ... here.
2392
2393         * text.C:
2394           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2395
2396 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * LColor.[Ch]: Add comment and greyedout logical colors.
2399
2400 2003-07-30  André Pönitz  <poenitz@gmx.net>
2401
2402         * tabular.C: don't use Assert too heavily. This crashes where it
2403           shouldn't
2404
2405 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2408         is disabled (bug 1232)
2409
2410 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * factory.C: limited 'arg' scope
2413
2414 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2415
2416         * factory.C: fixed Note submenu issues
2417
2418 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2419
2420         * factory.C: submenu for Note/Comment/Greyedout
2421
2422 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * lyx_main.C (LyX):
2425         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2426
2427 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2428
2429         * LaTeXFeatures.C:
2430         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2431         greyedout. Patch provided by Jürgen Spitzmüller.
2432
2433 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2434
2435         * kbmap.C (read): fix error message when reading bind files
2436
2437 2003-07-29  Angus Leeming  <leeming@lyx.org>
2438
2439         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2440         certainly does not do what it purports to do. I am doing it, and
2441         us, a favour by killing it.
2442
2443 2003-07-28  José Matos  <jamatos@lyx.org>
2444
2445         * buffer.C (readBody, do_writeFile):
2446         * paragraph.C(readParagraph): \end_document replaces \the_end.
2447
2448 2003-07-29  André Pönitz  <poenitz@gmx.net>
2449
2450         * BufferView.[Ch]:
2451         * BufferView_pimpl.[Ch]:
2452         * lyxfunc.C:
2453         * text2.C:
2454         * text3.C:
2455         * textcursor.[Ch]: remove toggleToggle & Co
2456
2457 2003-07-28  José Matos  <jamatos@fep.up.pt>
2458
2459         * buffer.C (readParagraph):
2460         * params_func (readParToken, readParagraph):
2461         * paragraph.C (write): \layout -> \begin_layout.
2462
2463 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * lyxlex_pimpl.C (setFile): clean up slightly.
2466
2467         * bufferparams.h: add compressed var
2468
2469         * buffer_funcs.C (readFile): adjust for LyXLex change
2470         (newFile): ditto + simplify
2471
2472         * buffer.C (writeFile): handle writing of compressed files
2473
2474         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2475         Check if the file is compressed and set a bufferparm if so.
2476
2477         * Makefile.am (lyx_LDADD): remove explicit -lz
2478
2479 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2482         makeDocBookFile): put the real LyX version in the first line of
2483         the file
2484
2485         * version.h:
2486         * version.C.in: remove lyx_docversion
2487
2488         * tabular.C (write_attribute): add a template-based version to
2489         write enums properly
2490
2491 2003-07-28  André Pönitz  <poenitz@gmx.net>
2492
2493         * lyxtext.h:
2494         * text.C:
2495         * text2.C:
2496         * text3.C: use doubles again for x-coordinates. They are needed.
2497
2498 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * messages.C (getLocaleDir): use lyx_localedir()
2501
2502         * lyxlex_pimpl.C (setFile): compress stuff
2503
2504         * buffer.C (writeFile): add some compression stuff
2505         (do_writeFile): new func, dont call expliti close... will this
2506         breake anything?
2507
2508         * Makefile.am (lyx_LDADD): add -lz
2509
2510 2003-07-28  José Matos  <jamatos@fep.up.pt>
2511
2512         * buffer.C: increment file format.
2513         * paragraph_funcs (readParagraph, readParToken):
2514         * paragraph.C (readParagraph): add \end_layout.
2515
2516 2003-07-27  Angus Leeming  <leeming@lyx.org>
2517
2518         * Makefile.am: remove special casing for configure-time setting of
2519         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2520
2521         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2522         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2523
2524 2003-07-26  André Pönitz  <poenitz@gmx.net>
2525
2526         * paragraph_func.[Ch]:
2527         * paragraph.C (realizeFont): inline it whereever it is used
2528
2529         * rowpainter.C:
2530         * text.C:
2531         * text2.C:
2532         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2533
2534
2535 2003-07-26  André Pönitz  <poenitz@gmx.net>
2536
2537         *       lyxtext.h:
2538         * text.C:
2539         * text2.C: get rid of LyXText::need_break_row
2540
2541 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * toc.[Ch]: put namespace toc inside namespace lyx
2544
2545         * MenuBackend.C (expandToc2): adjust for lyx::toc
2546         (expandToc): ditto
2547
2548         * lyxfunc.C (dispatch): adjust for lyx::find
2549
2550         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2551         lyx::find instead. Reorganize a bit.
2552         (LyXReplace): rename to replace
2553         (LyXFind): rename to find
2554
2555         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2556         (dispatch): ditto
2557
2558 2003-07-26  André Pönitz  <poenitz@gmx.net>
2559
2560         * text.C (setHeightOfRow): restrict scope of temporary variable
2561
2562         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2563           code (never has been used?)
2564
2565 2003-07-27  Asger Alstrup  <alstrup@local>
2566
2567         * text.C (fill): Optimise algorithm to exploit that we can reuse
2568         the LyXFont for many characters.
2569         (setHeightOfRow): Same thing.
2570         (rowBreakPoint): Same thing.
2571
2572 2003-07-26  Asger Alstrup  <alstrup@local>
2573
2574         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2575
2576         * text.C (singleWidth): Spurious font copying in hot-spot
2577         singleWidth avoided. Reorder tests for arabic for efficiency.
2578
2579         * text.C (fill): handle empty paragraphs better.
2580
2581 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * ispell.C:
2584         * encoding.h: add includes
2585
2586         * lyxrc.C: remove reading of bind files
2587
2588         * lyx_main.C (init): setup bindings and menus only if we have a
2589         gui.
2590
2591         * kbmap.C (read): new method. Do the actual reading of bind
2592         files.
2593
2594         * converter.C (dvipdfm_options):
2595         * bufferparams.C:
2596         * lyxrc.C (read):
2597         (output): adapt PAPER_* enums.
2598
2599         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2600
2601         * bufferparams.h: remove paper-related enums from there
2602
2603         * paper.h: New file. A trivial header file to hold paper-related
2604         enums. It should later expand to contain many paper-related
2605         horrors access.
2606
2607         * lyxrc.C: declare extern displayTranslator
2608
2609 2003-07-27  José Matos  <jamatos@fep.up.pt>
2610
2611         * tabular.[Ch] (linuxdoc): add support for tables and figures
2612         (linuxdoc).
2613
2614 2003-07-27  José Matos  <jamatos@fep.up.pt>
2615
2616         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2617         consistency in both functions.
2618         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2619
2620 2003-07-26  Asger Alstrup  <alstrup@local>
2621
2622         * rowpainter.C (paintRows): Change algorithm to work directly on
2623         the insets rather than asking every character in the document
2624         whether its an inset.
2625
2626 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2627
2628         * buffer.C (openFileWrite): factorize some code
2629
2630 2003-07-26  Angus Leeming  <leeming@lyx.org>
2631
2632         * lyx_cb.C:
2633         * lyx_main.[Ch]: replace occurances of system_tempdir with
2634         os::getTmpDir().
2635
2636 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * rename Inset to InsetOld
2639
2640 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2641
2642         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2643         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2644         which I think is a bit clearer. EDIT is gone, since it was
2645         premature optimisation, and broken for mathed anyway.
2646         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2647         with cursor positioning in insets as well (math insets still do not
2648         work, but that's a different story anyway.) It mysteriously
2649         crashes sometimes with undo in the first paragraph, but I'm fairly
2650         confident that this is a compiler bug.
2651
2652 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * paragraph.C (Paragraph): adjust for new clone return type
2655         (operator==): ditto
2656         (copyIntoMinibuffer): ditto
2657
2658 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2659
2660         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2661         by not having a special case, and always doing a full rebreak of
2662         the document after undo.
2663
2664 2003-07-23  Angus Leeming  <leeming@lyx.org>
2665
2666         * factory.C (createInset): InsetExternal::setParams now takes a
2667         Buffer const * arg.
2668
2669 2003-07-23  Angus Leeming  <leeming@lyx.org>
2670
2671         * factory.C (createInset): changed interface to the external and
2672         graphics mailers' string2params functions.
2673
2674 2003-07-23  Angus Leeming  <leeming@lyx.org>
2675
2676         * factory.C (createInset): pass a
2677         Buffer const * parameter to InsetExternalMailer's string2params.
2678
2679 2003-07-22  John Levon  <levon@movementarian.org>
2680
2681         * Thesaurus.h: include the right aiksaurus header
2682
2683 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * MenuBackend.C (expand): check menu shortcuts unconditionally
2686
2687 2003-07-21  Angus Leeming  <leeming@lyx.org>
2688
2689         * factory.C (createInset): pass a
2690         buffer_path parameter to InsetGraphicsMailer's string2params.
2691
2692 2003-07-21  Angus Leeming  <leeming@lyx.org>
2693
2694         * BufferView_pimpl.C (buffer):
2695         * buffer.C (d-tor):
2696         * lyx_main.C (LyX):
2697         * lyxfunc.C (dispatch):
2698         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2699         rather than the grfx shortcut.
2700
2701 2003-07-21  André Pönitz  <poenitz@gmx.net>
2702
2703         * rowpainter.C: remove unused variables
2704
2705         * tabular_funcs.C:
2706         * tabular_funcs.h: move to tabular.C
2707         * Makefile.am: adjust
2708
2709         * tabular.[Ch]: basic optical cleaning
2710
2711         * author.h: pass references, not values
2712
2713 2003-07-18  André Pönitz  <poenitz@gmx.net>
2714
2715         * lyxtext.h:
2716         * metricsinfo.C:
2717         * metricsinfo.h:
2718         * rowpainter.C:
2719         * text.C:
2720         * text2.C:
2721         * text3.C: two-phase drawing for InsetText and InsetTabular
2722         some float -> int changes.
2723
2724 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2725
2726         * lyx_main.C: fix the fix
2727
2728 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2729
2730         * lyx_main.C: fix a crash in batch mode if no files specified
2731         * converter.C: ws
2732
2733 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * format.[Ch] (papersize): moved to BufferParams
2736         * converter.[Ch] (dvips_options): moved to BufferParams
2737         (dvipdfm_options): moved to anon namespace
2738         * bufferparams.[Ch]: added above functions.
2739
2740 2003-07-17  André Pönitz  <poenitz@gmx.net>
2741
2742         * lyxtext.h:
2743         * rowpainter.C:
2744         * text2.C: don't call inset->update() anymore
2745
2746         * metricsinfo.[Ch]: add convenience constructor
2747
2748 2003-07-16  André Pönitz  <poenitz@gmx.net>
2749
2750         * lyxcursor.[Ch]:
2751         * lyxfunc.[Ch]:
2752         * text.C:
2753         * text2.C: replace the LyXCursor::irow_ member with
2754          on-demand computation of the value
2755
2756 2003-07-16  John Levon  <levon@movementarian.org>
2757
2758         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2759
2760 2003-07-15  André Pönitz  <poenitz@gmx.net>
2761
2762         * text.C:
2763         * text2.C: remove no more needed refresh_row
2764
2765 2003-07-15  André Pönitz  <poenitz@gmx.net>
2766
2767         * lyxtext.h:
2768         * rowpainter.C:
2769         * text2.C:
2770         * text3.C: refresh_status tristate -> need_update bool
2771
2772 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * lyxtext.h (init): remove reinit argument (act as if always true)
2775         * text2.C: adjust to that
2776
2777 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2778
2779         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2780         * text3.C: use it to delete selections in some cases
2781         (bugs 441, 673, 702, 954).
2782
2783 2003-07-14  André Pönitz  <poenitz@gmx.net>
2784
2785         * rowpainter.[Ch]: reduce interface
2786
2787 2003-07-14  André Pönitz  <poenitz@gmx.net>
2788
2789         * BufferView_pimpl.C:
2790         * text2.C: adjust after removing unused BufferView * argument
2791
2792 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * text2.C (init): fix a crash fired on resize
2795
2796 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2797
2798         * buffer.[Ch]: added new closing signal
2799         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2800         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2801         BufferView::Pimpl via the closing the signal
2802
2803 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2804
2805         * buffer.[Ch]: take out all bv-related from buffer
2806         * BufferView.C:
2807         * BufferView_pimpl.[Ch]: connect to new signals
2808         * CutAndPaste.C: removed useless asserts
2809         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2810         * lyxvc.[Ch]:
2811         * vc-backend.[Ch]:
2812         * lyxfunc.C: moved view-related funciontality from vc here
2813         * paragraph.C: removed outdated comments
2814         * text.C: ws
2815
2816 2003-07-10  André Pönitz  <poenitz@gmx.net>
2817
2818         * BufferView_pimpl.C:
2819         * tabular.h:
2820         * tabular_funcs.C:
2821         * text.C:
2822         * text2.C: remove InsetText::InnerCache, clean up consequences
2823
2824 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2825
2826         * ispell.C: fix two typos in error messages
2827
2828 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * Extend Note inset to other forms of annotation like Comment
2831         and Greyedout. Right button click gives dialog.
2832
2833         Files modified or added (+):
2834
2835         * insetnote.[Ch]
2836         * FormNote.[Ch]      +
2837         * ControlNote.[Ch]   +
2838         * form_note.fd       +
2839         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2840         frontends/controllers
2841         * xforms/Dialogs.C
2842         * factory.C
2843
2844 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2845
2846         * aspell.C: add missing namespace lyx::support
2847
2848 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2849
2850         * BufferView.[Ch] (newFile): Add
2851         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2852         * LaTeX.[Ch] (message): added this signal and use it
2853         * buffer.[Ch] (busy, message): added these signals and use them
2854         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2855         * converter.C:
2856         * exporter.C:
2857         * format.C:
2858         * importer.C: use buffer signals instead of direct bv calling
2859         * lyx_cb.[Ch] (ShowMessage): removed
2860         * lyx_main.C:
2861         * lyxfunc.C:
2862         * paragraph_funcs.C:
2863         * text2.C: use buffer signals
2864
2865 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * introduce namespace lyx::graphics
2868
2869 2003-07-02  André Pönitz  <poenitz@gmx.net>
2870
2871         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2872
2873 2003-07-01  André Pönitz  <poenitz@gmx.net>
2874
2875         * text.C:
2876         * text2.C:
2877         * text3.C:
2878         * text_funcs.[Ch]:
2879         * textcursor.h:
2880         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2881           text*.C to text_func.C
2882
2883 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * introduce namespace lyx::support
2886
2887 2003-06-30  André Pönitz  <poenitz@gmx.net>
2888
2889         * Chktex.C:
2890         * funcrequest.C:
2891         * lyxtext.h:
2892         * text.C: re-enable --with-included-string
2893
2894 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * textcursor.C: add <config.h>
2897
2898         * text.C (getWord): remove const from word_location arg
2899
2900         * lyxvc.C (getLogFile): fix const type order
2901
2902         * lyxtext.h: remove const from word_location arg, add arg name
2903
2904         * lyxlayout.h: currect type on labeltype.
2905
2906         * importer.C: correct \file
2907
2908         * converter.C (intToFormat): use std:: on ret val, ws changes
2909
2910         * bufferlist.h: correct \file
2911
2912         * buffer.C (makeLinuxDocFile): fix const type order
2913         (makeDocBookFile): ditto
2914         (fillWithBibKeys): use std:: on stdlib args.
2915
2916         * CutAndPaste.C: fix authors.
2917         (availableSelections): use std:: on return vector
2918
2919 2003-06-27  André Pönitz  <poenitz@gmx.net>
2920
2921         * BufferView_pimpl.C:
2922         * bufferview_funcs.C:
2923         * lyxcursor.C:
2924         * lyxcursor.h:
2925         * lyxfunc.C:
2926         * lyxtext.h:
2927         * rowpainter.C:
2928         * text.C:
2929         * text2.C:
2930         * text3.C: remove LyXCursor::row_ member
2931
2932         * lyxtext.h:
2933         * text.C: rename fullRebreak() to partialRebreak() and implement
2934           a fullRebreak() that really bereks fully
2935
2936         * textcursor.h: new struct for cursor-related data
2937
2938 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * lyx_main.C (LyX): get full path of document loaded on the
2941         command line
2942
2943 2003-06-26  André Pönitz  <poenitz@gmx.net>
2944
2945         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2946           remove unused/broken operator>,<,>=.
2947
2948         *       text.C: remove only use of broken operator<= in an Assert().
2949
2950 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2951
2952         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2953         moved errorlist_.clear to showErrorList
2954
2955 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * converter.C (scanLog, runLaTeX):
2958         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2959         move the bv->showErrorList call to the callers
2960         * lyxfunc.C: i.e. here...
2961         * text2.C: and here
2962         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2963         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2964         namespace, the second to...
2965         * buffer_funcs (BufferFormat, parseErrors): added
2966         * errorlist.C (ErrorList(TeXErrors const &)): removed
2967
2968 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2969
2970         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2971
2972 2003-06-24  "Garst R. Reese" <reese@isn.net>
2973
2974         * debug.C: fix typo
2975
2976 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2979
2980         * version.C.in: change docversion to 1.4
2981
2982 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * buffer.C: fix a bug just introduced
2985
2986 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * buffer.[Ch]: added the parseError signal and use it, removed
2989         sgmlError
2990         * BufferView.[Ch] (addError): moved to ...
2991         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2992         to the Buffer::parseError signal to catch (guess what) parse errors
2993         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2994
2995 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2996
2997         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2998         ability to create a buffer and to return an existing one from
2999         the list. Moved these functions to...
3000         * buffer_funcs.[Ch]: added
3001         * BufferView.[Ch] (loadLyXFile): added
3002         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3003         job removed from bufferlist::loadLyXFile.
3004         * buffer.C (setReadOnly): make it work without view
3005         (i.e added an if (users))
3006
3007 2003-06-19  Angus Leeming  <leeming@lyx.org>
3008
3009         * lfuns.h:
3010         * LyXAction.C (init):
3011         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3012         with LFUN_DIALOG_SHOW <name> <data>.
3013
3014 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015
3016         * CutAndPaste.C (availableSelections): small compilation fix for
3017         ancient (gcc 2.9x) compilers
3018
3019 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3020
3021         * text3.C (cursorNext): add tmp var
3022
3023         * text2.C (updateCounters): for function calling out of for clause
3024         (replaceSelectionWithString): ditto
3025         (insertStringAsParagraphs): ditto
3026         (getColumnNearX): add tmp var
3027         (setCursorFromCoordinates): add tmp var
3028         (cursorDownParagraph): add tmp var
3029         (deleteEmptyParagraphMechanism): add tmp var
3030
3031         * text.C (insertChar): add tmp var
3032
3033         * rowpainter.C (paintDepthBar): add tmp var
3034
3035         * CutAndPaste.C (availableSelections): potentially check all
3036         paragraphs in a cut to fill the shown strings.
3037
3038 2003-06-18  André Pönitz  <poenitz@gmx.net>
3039
3040         * kbmap.[Ch]: use vector<> instead of list<>
3041
3042 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3043
3044         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3045         pasteSelection with index
3046
3047         * text2.C (pasteSelection): modify, call pasteSelection with index
3048
3049         * paragraph.C (asString): reimplement version with no interval to
3050         call the one with interval.
3051
3052         * lyxtext.h: add index arg to pasteSelection
3053
3054         * MenuBackend.C (MenuItem): handle PasteRecent
3055         (Menu::read::Menutags): add md_pasterecent
3056         (read): handle it
3057         (expandPasteRecent): new function
3058         (expand): use it
3059
3060         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3061
3062         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3063         the limited stack
3064         (availableSelections): new function
3065
3066 2003-06-17  Angus Leeming  <leeming@lyx.org>
3067
3068         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3069
3070 2003-06-17  Angus Leeming  <leeming@lyx.org>
3071
3072         * lfuns.h:
3073         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3074
3075         * lyxfunc.C (dispatch): invoke it.
3076
3077 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3078
3079         * iterators.C (operator++, ParPosition): reintroduce some
3080         const_cast for the benefit of older compilers.
3081
3082 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3083
3084         * text3.C (dispatch): do not modify clipboard when doing
3085         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3086         LFUN_DELETE_SKIP on a selection selection
3087
3088 2003-06-16  André Pönitz  <poenitz@gmx.net>
3089
3090         * BufferView.C:
3091         * buffer.C:
3092         * buffer.h:
3093         * paragraph.C:
3094         * tabular.[Ch]: IU of clone() and getLabelList();
3095
3096 2003-06-13  André Pönitz  <poenitz@gmx.net>
3097
3098         * tabular.h: compactification
3099
3100 2003-06-12  André Pönitz  <poenitz@gmx.net>
3101
3102         * tabular.C:
3103         * tabular.h:
3104         * tabular_funcs.h: some renaming plus whitespace
3105
3106 2003-06-12  André Pönitz  <poenitz@gmx.net>
3107
3108         * BufferView.C:
3109         * BufferView_pimpl.C:
3110         * CutAndPaste.C:
3111         * buffer.C:
3112         * iterators.[Ch]:
3113         * lyxfunc.C:
3114         * text.C:
3115         * toc.C: Return a Paragraph & for ParIterator::operator*()
3116
3117 2003-06-11  John Levon  <levon@movementarian.org>
3118
3119         * lyx_main.C:
3120         * ToolbarBackend.h:
3121         * ToolbarBackend.C: add "Toolbars" section and
3122         put the flags there
3123
3124 2003-06-10  Angus Leeming  <leeming@lyx.org>
3125
3126         * lfuns.h:
3127         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3128
3129         * lyxfunc.C (dispatch): invoke it.
3130
3131 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3132
3133         * main.C: protect <ios> with HAVE_IOS
3134         (main): protect sync_with_stdio with HAVE_IOS
3135
3136 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3137
3138         * text2.C (cutSelection): adjust
3139         (pasteSelection): adjust
3140
3141         * messages.C: handle get of empty string
3142
3143         * main.C (main): use sync_with_stdio(false)
3144
3145         * lyxfunc.C (dispatch): adjust
3146
3147         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3148         (WriteAs): remove unneeded BufferView arg.
3149
3150         * bufferparams.h: use correct types on papersize, papersize2 and
3151         paperpackage.
3152
3153         * bufferparams.C (readToken): adjust for type
3154         (writeLaTeX): add missing cases to switch.
3155
3156         * bufferlist.C (quitWriteBuffer): adjust
3157         (close): adjust
3158
3159         * buffer.C (asciiParagraph): remove some commented code.
3160
3161         * CutAndPaste.C: remove current_view extern variable.
3162         (cutSelection): add BufferParams arg.
3163         (eraseSelection): add BufferParams arg.
3164         (pasteSelection): add Buffer const & arg
3165
3166 2003-06-07  John Levon  <levon@movementarian.org>
3167
3168         * buffer.C:
3169         * paragraph_funcs.C:
3170         * paragraph_pimpl.C:
3171         * text.C:
3172         * text2.C:
3173         * paragraph.h:
3174         * paragraph.C: allow InsetERT to freely space lines,
3175         and some consolidation of code
3176
3177 2003-06-06  José Matos  <jamatos@fep.up.pt>
3178
3179         * buffer.C (makeDocBookFile): fix bug #821
3180
3181 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3184
3185 2003-06-04  Angus Leeming  <leeming@lyx.org>
3186
3187         * buffer.C: bump format to 224.
3188
3189 2003-06-05  André Pönitz  <poenitz@gmx.net>
3190
3191         * text2.C (redoParagraphs): remove two const_cast<>
3192
3193 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3194
3195         * ParagraphList.h: remove last remnants of NO_STD_LIST
3196
3197 2003-06-03  Angus Leeming  <leeming@lyx.org>
3198
3199         * factory.C (createInset): small change to the way InsetExternal's params
3200         are set.
3201
3202 2003-06-04  André Pönitz  <poenitz@gmx.net>
3203
3204         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3205
3206         * paragraph_pimpl.h:
3207         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3208
3209         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3210
3211         * undo_funcs.C: make some simple cases of undo work again
3212
3213 2003-06-03  John Levon  <levon@movementarian.org>
3214
3215         * ispell.C: HPUX doesn't have sys/select.h
3216         (from Albert Chin)
3217
3218 2003-06-03  John Levon  <levon@movementarian.org>
3219
3220         * CutAndPaste.C: update tabular and include inset
3221         buffer references
3222
3223         * buffer.h:
3224         * paragraph.h:
3225         * paragraph.C: remove owningBuffer(), don't pass Buffer
3226         to clone()
3227
3228         * factory.C: insetGraphicsParams changed
3229
3230 2003-06-02  John Levon  <levon@movementarian.org>
3231
3232         * LyXAction.C:
3233         * factory.C:
3234         * lfuns.h:
3235         * lyxfunc.C:
3236         * text3.C: remove insetparent
3237
3238 2003-06-02  John Levon  <levon@movementarian.org>
3239
3240         * buffer.h:
3241         * buffer.C: fix inset_iterator.end(), move out of line
3242         (bug 1149)
3243
3244 2003-06-01  John Levon  <levon@movementarian.org>
3245
3246         * text3.C: use a proper cut/paste when doing inset
3247         insert (from Jürgen Spitzmüller)
3248
3249 2003-06-01  John Levon  <levon@movementarian.org>
3250
3251         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3252
3253 2003-05-30  André Pönitz  <poenitz@gmx.net>
3254
3255         * rowpainter.C: unify second drawing phase
3256
3257 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * trans_mgr.C: remove one case of current_view
3260
3261         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3262
3263         * paragraph_funcs.h: remove paragraph.h include
3264
3265         * paragraph.h: delete NO_STD_LIST stuff
3266
3267         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3268
3269         * buffer.h: remove paragraph.h include
3270
3271         * ParagraphList.C: delete file
3272
3273         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3274
3275         * toc.C (getTocList): adjust
3276
3277         * paragraph_pimpl.C (validate): adjust
3278
3279         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3280
3281         * paragraph.C (Paragraph): adjust
3282         (getPositionOfInset): use const_iterator, adjust
3283         (bibitem): use const_iterator, adjust
3284         (setInsetOwner): adjust
3285
3286         * iterators.C (operator++): adjust
3287
3288         * InsetList.[Ch]: Replace selfmade iterator with standard
3289         vector::iterator also introduce const_iterator. Remove getPos,
3290         getInset and setInset from InsetTable. Adjust accordingly.
3291
3292         * BufferView.C (lockInset): adjust
3293         (ChangeInsets): adjust
3294
3295         * tabular.[Ch]: delete commented same_id functions
3296
3297 2003-05-28  John Levon  <levon@movementarian.org>
3298
3299         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3300
3301 2003-05-28  André Pönitz  <poenitz@gmx.net>
3302
3303         * metricsinfo.[Ch]: remove 'fullredraw' member
3304
3305 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3306
3307         * lyxtextclass.C (operator): remove caching.
3308
3309 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3310
3311         * text3.C: adjust
3312
3313         * text2.C (cursorBottom): adjust
3314         (setCounter): use ParagraphList::find, adjust
3315
3316         * text.C (workWidth): use ParagraphList::find, adjust
3317
3318         * lyxcursor.C (LyXCursor): adjust
3319
3320         * buffer.C (inset_iterator): adjust
3321
3322         * ParagraphList.h: make iterator(value_type) private, make
3323         ParagraphList a friend of iterator.
3324
3325         * ParagraphList.C (find): new function
3326
3327         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3328
3329 2003-05-27  André Pönitz  <poenitz@gmx.net>
3330
3331         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3332
3333 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3334
3335         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3336
3337 2003-05-26  John Levon  <levon@movementarian.org>
3338
3339         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3340
3341 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * remove same_id from function signatures, adjust.
3344
3345 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3348
3349         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3350
3351         * paragraph.C (Paragraph): get rid of same_ids parameter
3352
3353         * ParagraphList.C (insert): adjust
3354         (push_back): adjust
3355
3356 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * paragraph_funcs.C (breakParagraph): adjust
3359         (breakParagraphConservative): adjust
3360
3361         * buffer.C (readParagraph): adjust
3362
3363         * ParagraphList.C (insert): take a reference instead of a pointer
3364         (insert): adjust
3365
3366         * paragraph.[Ch] (id): new function
3367
3368         * bufferlist.C (newFile): adjust
3369
3370         * ParagraphList.C (ParagraphList): adjust
3371         (assign): adjust
3372         (push_back): take a reference instead of a pointer.
3373
3374         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3375
3376         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3377         instead.
3378
3379         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3380         set else use old code.
3381
3382         * ParagraphList.C: remove all NO_NEXT code and only compile this
3383         code of NO_STD_LIST is set.
3384
3385 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3386
3387         * BufferView_pimpl.C:
3388         * TextCache.C:
3389         * TextCache.h:
3390         * bufferlist.C:
3391         * errorlist.h:
3392         * format.C:
3393         * format.h:
3394         * graph.C:
3395         * lyxfunc.C:
3396         * lyxrc.C:
3397         * graphics/GraphicsConverter.C:
3398         * graphics/PreviewLoader.C: header adjustment
3399
3400 2003-05-23  Angus Leeming  <leeming@lyx.org>
3401
3402         * LaTeXFeatures.[Ch] (useBabel): new method.
3403         * bufferparams.C (writeLaTeX): use it.
3404
3405 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3406
3407         * ParagraphList.h (set): remove unused function.
3408
3409 2003-05-23  André Pönitz  <poenitz@gmx.net>
3410
3411         * BufferView.C:
3412         * BufferView_pimpl.C:
3413         * buffer.C:
3414         * buffer.h:
3415         * lyxfunc.C:
3416         * undo_funcs.C: setUndo reworked
3417
3418         * iterators.[Ch]: add access to topmost ParagraphList
3419
3420         * lyxtext.[Ch] (workWidth): add a const
3421
3422 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3423
3424         * texrow.[Ch] (increasePos): remove function
3425         * exporter.C (export): removed unused var and outdated comment
3426
3427 2003-05-23  Angus Leeming  <leeming@lyx.org>
3428
3429         * latexrunparams.h: rename fragile as moving_arg.
3430         * paragraph.C (simpleTeXOnePar): ditto.
3431         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3432
3433 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3436         (createUndo): ditto
3437         (textUndoOrRedo): comment out a currently unused var.
3438
3439         * paragraph.h (NO_NEXT): enable NO_NEXT
3440
3441         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3442
3443         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3444
3445         * exporter.C (Export): adjust for removeAutoInsets removal.
3446
3447         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3448
3449         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3450
3451         * BufferView.[Ch] (removeAutoInsets): delete function
3452
3453 2003-05-22  Angus Leeming  <leeming@lyx.org>
3454
3455         * latexrunparams.h: add a free_spacing variable.
3456
3457         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3458         to pass moving_arg, as the data is stored in runparams.fragile.
3459
3460         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3461         to Inset::latexOptional or to simpleTeXOnePar.
3462
3463         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3464         free_spacing arg to Inset::latexOptional.
3465
3466         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3467         free_spacing arg.
3468
3469 2003-05-22  Angus Leeming  <leeming@lyx.org>
3470
3471         * latexrunparams.h: add fragile and use_babel variables.
3472
3473         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3474         * buffer.C (makeLaTeXFile): store this returned value in
3475         runparams.use_babel, thus passing it to the inset::latex methods.
3476
3477         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3478         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3479
3480         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3481         longer has a fragile arg, as it is stored in runparams.fragile.
3482
3483         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3484         moving_arg parameter as the data is stored in runparams.fragile.
3485
3486         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3487         a fragile parameter as the data is stored in runparams.fragile.
3488
3489 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3492
3493 2003-05-22  Angus Leeming  <leeming@lyx.org>
3494
3495         * latexrunparams.h: add a 'bool nice' which defaults to false.
3496
3497         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3498         now encapsulated within runparams.
3499
3500         * bufferlist.C (updateIncludedTeXfiles):
3501         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3502
3503 2003-05-22  Angus Leeming  <leeming@lyx.org>
3504
3505         * latexrunparams.h: new file containing struct LatexRunParams.
3506         * Makefile.am: add new file.
3507
3508         * LaTeX.[Ch] (c-tor, run):
3509         * buffer.[Ch] (makeLaTeXFile):
3510         * bufferlist.[Ch] (updateIncludedTeXfiles):
3511         * converter.C (convert, scanLog):
3512         * converter.[Ch] (runLaTeX):
3513         * exporter.C (Export):
3514         * paragraph.[Ch] (simpleTeXOnePar):
3515         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3516         * paragraph_funcs.[Ch] (latexParagraphs):
3517         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3518         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3519         pass around a LatexRunParams parameter.
3520
3521 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * paragraph.[Ch]: remove unused constructor
3524
3525         * ParagraphList.C (erase): new function, taking two iterators
3526
3527 2003-05-22  André Pönitz  <poenitz@gmx.net>
3528
3529         * undo_funcs.C: remove duplicated code
3530
3531         * iterator.[Ch]: operator=
3532
3533 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * tabular.C (SetMultiColumn): ws changes
3536
3537         * rowpainter.C (paintFirst): get rid of a ->previous
3538
3539         * lyx_cb.C (getPossibleLabel): parlist simplification
3540
3541         * BufferView.C (ChangeInsets): simplify slightly.
3542
3543 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3544
3545         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3546         * lfuns.h: new LFUN_SPACE
3547         * lyxfunc.C: protected space has a new lfun
3548         * paragraph_funcs.C: read new space insets
3549         * text3.C:
3550         * factory.C: handle new space insets
3551
3552 2003-05-22  André Pönitz  <poenitz@gmx.net>
3553
3554         * BufferView.C:
3555         * BufferView_pimpl.C:
3556         * buffer.[Ch]:
3557         * lyxfunc.C:
3558         * undo_funcs.C: return a ParIterator from getParFromID.
3559
3560         * iterators.[Ch]: add two const's
3561
3562 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * toc.C (getTocList): adjust
3565
3566         * iterators.[Ch]: rework for parlist
3567
3568         * buffer.C (par_iterator_begin): adjust
3569         (par_iterator_end): adjust
3570
3571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3572
3573         * BufferView.C (removeAutoInsets): adjust
3574         (ChangeInsets): adjust
3575
3576 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * text.C (top_y): fix bug 1110
3579
3580 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3581
3582         * errorlist.[Ch]: added
3583         * buffer.C:
3584         * BufferView.[Ch]:
3585         * BufferView_pimpl.C:
3586         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3587         instead
3588
3589 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * Makefile.am: ensure that lyx is relinked upon changes to the
3592         various "convenience" libs.
3593
3594 2003-05-20  Angus Leeming  <leeming@lyx.org>
3595
3596         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3597         files are compiled in alphabetical order again.
3598
3599         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3600
3601 2003-05-19  Angus Leeming  <leeming@lyx.org>
3602
3603         * gettext.[Ch]: remove "char const * _(char const *)".
3604
3605 2003-05-19  André Pönitz  <poenitz@gmx.net>
3606
3607         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3608
3609         * Makefile.am:
3610         * BufferView.C:
3611         * DepTable.h:
3612         * LaTeXFeatures.C:
3613         * buffer.C:
3614         * lyxfont.C:
3615         * lyxlex.h:
3616         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3617
3618 2003-05-19  André Pönitz  <poenitz@gmx.net>
3619
3620         * buffer.C:
3621         * lyxlayout.[Ch]:
3622         * lyxtextclass.[Ch]:
3623         * paragraph.C:
3624         * paragraph_funcs.[Ch]:
3625         * text2.C:
3626         * text3.C: more insetenv work
3627
3628 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * ParagraphParameters.C (params2string): small bug fixed
3631
3632 2003-05-16  André Pönitz  <poenitz@gmx.net>
3633
3634         * debug.C:
3635         * bufferview_funcs.C: patch from Kornel Benko to prevent
3636           crash when _(...) is called twice in a statement
3637
3638 2003-05-16  André Pönitz  <poenitz@gmx.net>
3639
3640         * BufferView.C:
3641         * lyxfunc.C:
3642         * text.C:
3643         * text2.C:
3644         * text3.C:
3645         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3646
3647 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3648
3649         * lyx_main.C (init): remove spurious static_cast
3650
3651 2003-05-14  André Pönitz  <poenitz@gmx.net>
3652
3653         * BufferView.C: fix format string
3654
3655 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * BufferView.[Ch] (insertErrors): removed
3658         * BufferView.[Ch] (showErrorList): added
3659         * buffer.C (runChkTeX):
3660         * converter.C (scanLog): call showErrorList instead of inserterrors
3661
3662 2003-05-13  André Pönitz  <poenitz@gmx.net>
3663
3664         * BufferView_pimpl.C:
3665         * buffer.C:
3666         * bufferview_func.C:
3667         * MenuBackend.C:
3668         * lyxfunc.C:
3669         * lyxrc.C:
3670         * tex-accent.C:
3671         * text3.C:
3672         * toc.C:
3673         * tabular_funcs.h: tostr() from its own header
3674
3675         * ParagraphParameters.C:
3676         * ToolbarBackend.C:
3677         * bufferparams.C:
3678         * format.C:
3679         * lyxlex_pimpl.C:
3680         * text3.C: STRCONV()
3681
3682 2003-05-12  André Pönitz  <poenitz@gmx.net>
3683
3684         * BufferView.C:
3685         * BufferView_pimpl.C:
3686         * CutAndPaste.C:
3687         * LaTeX.C:
3688         * LaTeXFeatures.C:
3689         * ParagraphParameters.C:
3690         * buffer.C:
3691         * bufferlist.C:
3692         * bufferparams.C:
3693         * bufferview_funcs.C:
3694         * converter.C:
3695         * counters.C:
3696         * debug.C:
3697         * exporter.C:
3698         * format.C:
3699         * importer.C:
3700         * lyx_cb.C:
3701         * lyx_main.C:
3702         * lyxfont.C:
3703         * lyxfunc.C:
3704         * lyxvc.C:
3705         * paragraph.C:
3706         * paragraph_funcs.C:
3707         * tabular.C:
3708         * tabular_funcs.C:
3709         * text2.C:
3710         * text3.C:  boost::format -> bformat  all over the place
3711
3712
3713 2003-05-09  André Pönitz  <poenitz@gmx.net>
3714
3715         * LColor.[Ch]: Pimpl the #include <map> away
3716
3717 2003-05-09  John Levon  <levon@movementarian.org>
3718
3719         * bufferlist.C: never remove emergency saves
3720
3721 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * Makefile.am: better lib building
3724
3725 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3728         instead.
3729         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3730         (simpleTeXSpecialChars): adjust
3731         (simpleTeXSpecialChars): adjust
3732         * paragraph.C (simpleTeXOnePar): adjust
3733         * buffer.C (makeLaTeXFile): adjust
3734
3735         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3736
3737         * text2.C (changeDepth): parlist cleanup
3738         (getColumnNearX): ditto
3739
3740         * rowpainter.C (getLabelFont): parlist cleanup
3741
3742         * bufferlist.C (newFile): parlist cleanup
3743
3744         * CutAndPaste.C (eraseSelection): parlist cleanup
3745
3746         * BufferView_pimpl.C (trackChanges): parlist cleanup
3747         (dispatch): ditto
3748
3749         * BufferView.C (lockInset): parlist cleanup.
3750         (ChangeInsets): ditto
3751
3752 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * CutAndPaste.h: Update file header.
3755
3756         * CutAndPaste.C: Update file header.
3757         Store the parts cut out of the Document in a limited_stack.
3758         (copySelection): adjust
3759         (pasteSelection): new function, takes the index in the limited stack.
3760         (nrOfParagraphs): adjust
3761         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3762         simplify error inset insertion.
3763         (checkPastePossible): adjust
3764
3765 2003-05-06  John Levon  <levon@movementarian.org>
3766
3767         * text2.C: don't cast wrap inset to float
3768
3769 2003-05-05  André Pönitz  <poenitz@gmx.net>
3770
3771         * iterator.C:
3772         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3773
3774         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3775           few naked Paragraph *.
3776
3777 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3778
3779         * bufferparams.C: Output warning if a document with missing
3780         TeX document class is loaded
3781         * exporter.C: Disable TeX exports if the document class is missing
3782         * lyxtextclass.C:
3783         * lyxtextclass.h:
3784         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3785         isTeXClassAvailable()
3786
3787 2003-05-03  John Levon  <levon@movementarian.org>
3788
3789         * BufferView.h:
3790         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3791         explicit cursor show/hide
3792
3793         * BufferView_pimpl.h:
3794         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3795         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3796
3797         * lyxfunc.C: hide cursor before dispatching.
3798
3799         * lyx_cb.C:
3800         * lyxfind.C:
3801         * text.C:
3802         * text3.C: remove explicit cursor hides
3803
3804 2003-05-02  André Pönitz  <poenitz@gmx.net>
3805
3806         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3807
3808         * undo_funcs.C:
3809         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3810           linked lists
3811
3812         * text2.C: tiny whitespace
3813
3814 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * undo_funcs.C: almost only ws changes.
3817
3818         * ParagraphList.C (splice): just return if pl is empty.
3819
3820 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * ParagraphList.C (splice): new function.
3823
3824         * CutAndPaste.C (pasteSelection): use it
3825
3826 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * CutAndPaste.C (pasteSelection): remove the last next and
3829         previous from this file.
3830
3831 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3832
3833         * CutAndPaste.C (pasteSelection): more clean up, user proper
3834         ParagraphList functions for pasteing.
3835
3836         * ParagraphList.C (insert): new function, three arg insert
3837
3838 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * ParagraphList.C (insert): new function, three arg insert
3841
3842         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3843         not on paragraphs.
3844
3845 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3848
3849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3852
3853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3856         (copySelection): clean up a bit.
3857         (pasteSelection): use make_pair
3858
3859         * ParagraphList.C (ParagraphList): implement copy constructor
3860         (operator=): implement, base on copy constructor.
3861         (assign): new func
3862
3863         * paragraph.C (erase): return a bool
3864
3865         * paragraph_pimpl.C (erasePos): remove function, move contents...
3866         (erase): ... here. Return a bool.
3867         (erase): call erase instead of erasePos.
3868
3869 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3870
3871         * ParagraphList.h: define PitPosPair
3872         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3873         ParagraphList, fix a bug on pasting multiple pars
3874         * text2.C: change interface to C&P
3875
3876 2003-04-30  André Pönitz  <poenitz@gmx.net>
3877
3878         * undo_func.C: revert part of yesterday's patch 2
3879
3880 2003-04-30  John Levon  <levon@movementarian.org>
3881
3882         * LColor.C: s/tabular/table/
3883
3884 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * text3.C (dispatch): do not convert iterator -> pointer
3887         * undo_funcs.C (setCursorParUndo): ditto
3888         * text_funcs.C (transposeChars): ditto
3889
3890         * text2.C (setLayout): ws changes only
3891
3892         * text.C (breakParagraph): do not convert iterator -> pointer
3893         (insertChar): ditto
3894         (acceptChange): ditto
3895         (rejectChange): ditto
3896         (changeCase): ditto
3897         (Delete): ditto
3898         (backspace): ditto
3899
3900         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3901         pointer
3902
3903 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * text3.C (gotoInset): YABG (yet another bad getChar)
3906
3907 2003-04-29  André Pönitz  <poenitz@gmx.net>
3908
3909         * paragraph.h: make operator= private unimplemented as long as
3910           it is unusable
3911
3912         * ParagraphList.C: whitespace
3913
3914         * paragraph.[Ch]:
3915         * paragraph_pimpl.[Ch]:
3916         * paragraph_funcs.C:
3917         * CutAndPaste.C:
3918         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3919
3920         * text2.C:
3921           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3922
3923 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3926         * paragraph.[Ch] (erase):
3927         * paragraph_pimpl.[Ch] (erase): change return type and value
3928         * text2.C (cutSelection): some rework
3929
3930 2003-04-28  John Levon  <levon@movementarian.org>
3931
3932         * bufferlist.C: changes for unsaved changes dialog
3933
3934 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * bufferlist.C (newFile): set language (messages_) for new
3937         documents also.
3938
3939         * buffer.C (readFile): ws changes only.
3940
3941 2003-04-28  André Pönitz  <poenitz@gmx.net>
3942
3943         * undo_funcs.C:
3944         * lyxfunc.C:
3945         * buffer.[Ch]:
3946         * BufferView_pimpl.C:
3947         * BufferView.C: getParFromID related ParagraphList::iterator changes
3948
3949 2003-04-28  André Pönitz  <poenitz@gmx.net>
3950
3951         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3952           Changes
3953
3954 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * messages.C: remove one more localedir class variable.
3957
3958 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * messages.C (getLocaleDir): singleton generation function
3961         (Pimpl): use it.
3962         (Messages): add a default constructor.
3963
3964         * main.C (main): do not setup localedir here, do not call
3965         gettext_init.
3966
3967         * gettext.C (_): use it.
3968         (gettext_init): delete funciton
3969
3970 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * gettext.C (getLyXMessages): new singleton generating function.
3973
3974         * buffer.C (updateDocLang): adjust
3975
3976         * Makefile.am (messages.o): add target
3977         (main.o): remove target
3978
3979 2003-04-27  John Levon  <levon@movementarian.org>
3980
3981         * bufferlist.C:
3982         * lyx_cb.C:
3983         * lyxfunc.C:
3984         * lyxvc.C: specify cancel button in Alert::prompt
3985
3986 2003-04-26  John Levon  <levon@movementarian.org>
3987
3988         * text3.C:
3989         * lyxfunc.C:
3990         * lfuns.h:
3991         * LyXAction.C: add LFUN_INSET_SETTINGS
3992
3993         * lyxfunc.C: don't enable tabular-feature when there's
3994         just any locking inset
3995
3996 2003-04-26  John Levon  <levon@movementarian.org>
3997
3998         * bufferlist.C: re-add Cancel to buffer close question
3999
4000         * lyxfunc.C: fix import UI a bit
4001
4002 2003-04-25  John Levon  <levon@movementarian.org>
4003
4004         * gettext.C: remove the broken asserts for now
4005
4006 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * messages.C: make case where setlocale cannot comply work better.
4009
4010         * buffer.C (updateDocLang): new function
4011         (changeLanguage): use it
4012         (readFile): use it
4013
4014         * text2.C (setCounter): use B_ a bit.
4015
4016         * lyxlayout.C (Read): be sure to trim the label strings.
4017
4018         * messages.C (Messages): fix typo in comment
4019
4020         * buffer.C (readFile): set message_ after file is loaded.
4021         (makeDocBookFile): remove double return
4022         (changeLanguage): reset message_ upon language change.
4023         (B_): new func, use this to get translated buffer strings.
4024
4025         * main.C: add myself and Jean Marc as authors.
4026
4027 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * messages.[hC]: pimplify Messages, and three different pimpls to be
4030         used in different circumstances.
4031
4032         * gettext.[Ch]: change for use with new message code.
4033
4034 2003-04-24 André Pönitz <poenitz@gmx.net>
4035
4036         * factory.C: support for eqref
4037
4038 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * messages.[Ch]: add missing char
4041
4042         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4043
4044         * messages.[Ch]: New files
4045
4046 2003-04-18  John Levon  <levon@movementarian.org>
4047
4048         * BufferView.h:
4049         * BufferView.C:
4050         * BufferView_pimpl.C:
4051         * lfuns.h:
4052         * LyXAction.C:
4053         * lyxtext.h:
4054         * text2.C: remove layout-copy/paste (bug 778)
4055
4056 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4059
4060 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4063         if they succeed. Act accordingly.
4064
4065 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * text2.C (setCharFont): adjust
4068         (setCounter): adjust
4069         (insertStringAsLines): adjust
4070
4071         * text.C (leftMargin): adjust
4072         (setHeightOfRow): adjust
4073
4074         * rowpainter.C (paintFirst): adjust
4075         (paintLast): adjust
4076
4077         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4078         (outerHook): ditto
4079         (isFirstInSequence): ditto
4080         (getEndLabel): ditto
4081         (outerFont): adjust
4082
4083         * paragraph.C (getParLanguage): comment out some hard stuff.
4084
4085         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4086         (sgmlError): ditto
4087         (simpleDocBookOnePar): ditto
4088         (makeDocBookFile): use ParagraphList::iterator
4089
4090         * CutAndPaste.C (pasteSelection): adjust
4091
4092 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * text2.C (getFont): adjust
4095         (getLayoutFont): adjust
4096         (getLabelFont): adjust
4097
4098         * paragraph_funcs.C (TeXOnePar): adjust
4099
4100         * buffer.C (simpleLinuxDocOnePar): adjust
4101         (simpleDocBookOnePar): adjust
4102
4103         * CutAndPaste.C (pasteSelection): adjust
4104
4105         * BufferView.C (getEncoding): adjust
4106
4107         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4108
4109 2003-04-16  John Levon  <levon@movementarian.org>
4110
4111         * lyxfind.C: use parlist stuff for search/changes
4112
4113 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4116
4117         * text2.C (deleteEmptyParagraphMechanism): adjust
4118
4119         * text2.[Ch] (ownerParagraph): delete func (both of them
4120
4121 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4124
4125 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * ParagraphList.C: prepare for NO_NEXT
4128
4129 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * text2.C (getFont): adjust
4132         (getLayoutFont): adjust
4133         (getLabelFont): adjust
4134
4135         * paragraph.C (getFont): adjust
4136         (getLabelFont): adjust
4137         (getLayoutFont): adjust
4138
4139         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4140
4141 2003-04-15  John Levon  <levon@movementarian.org>
4142
4143         From Angus Leeming
4144
4145         * lyx_main.C: handle Include in .ui files
4146
4147 2003-04-15  John Levon  <levon@movementarian.org>
4148
4149         * MenuBackend.C: make the doc files length shorter
4150
4151         * ToolbarBackend.h:
4152         * ToolbarBackend.C: handle toolbar placement flags,
4153         Minibuffer
4154
4155 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4158         adjust
4159
4160         * paragraph_funcs.C (TeXOnePar): adjust
4161
4162         * paragraph.C (getLabelFont): add outerfont arg, adjust
4163         (getLayoutFont): ditto
4164         (simpleTeXOnePar): adjust
4165
4166         * paragraph_pimpl.C (realizeFont): delete func
4167
4168 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4171         row argument, constify cur argument.
4172
4173 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * text2.C (getFont): adjust
4176         (getLayoutFont): adjust
4177         (getLabelFont): adjust
4178
4179         * paragraph_funcs.C (TeXOnePar): adjust
4180         (outerFont): new func...
4181         (realizeFont): ...moved out from here, changed this to facilitate
4182         transition
4183
4184         * paragraph.C (getFont): take outerfont as arg, adjust
4185         (simpleTeXOnePar): add outerfont arg, adjust
4186
4187         * buffer.C (simpleLinuxDocOnePar): adjust
4188         (simpleDocBookOnePar): adjust
4189
4190         * CutAndPaste.C (pasteSelection): adjust
4191
4192         * BufferView.C (getEncoding): adjust
4193
4194 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text2.C (setCharFont): adjust
4197         (setCounter): adjust
4198
4199         * text.C (leftMargin): adjust
4200         (setHeightOfRow): adjust
4201
4202         * rowpainter.C (paintFirst): adjust
4203         (paintLast): adjust
4204
4205         * paragraph_pimpl.C (realizeFont): adjust
4206
4207         * paragraph.C (isFirstInSequence): move from here...
4208         * paragraph_funcs.C (isFirstInSequence): ...to here
4209
4210         * paragraph.C (outerHook): move from here...
4211         * paragraph_funcs.C (outerHook): ...to here
4212
4213         * paragraph.C (depthHook): move from here...
4214         * paragraph_funcs.C (depthHook): ...to here
4215
4216         * paragraph.C (getEndLabel): move from here...
4217         * paragraph_funcs.C (getEndLabel): ...to here
4218
4219         * text2.C (realizeFont): move from here...
4220         * paragraph_funcs.C (realizeFont): ...to here
4221
4222 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4225
4226 2003-04-14  Angus Leeming  <leeming@lyx.org>
4227
4228         * LColor.[Ch]: scrap LColor mathcursor.
4229
4230 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4231
4232         * lyxlex.[Ch] (text): delete function
4233         * trans.C (Load): adjust
4234         * paragraph_funcs.C (readParToken): adjust
4235
4236 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4237
4238         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4239         vector<char> instead of a char[].
4240
4241         * lyxlex_pimpl.C (getString): adjust
4242         (next): adjust
4243         (lex): use getString
4244         (eatLine): adjust
4245         (nextToken): adjust
4246
4247         * lyxlex.C (text): use pimpl_->getString()
4248         (getBool): ditto
4249         (findToken): ditto
4250
4251 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4254         (makeFontEntriesLayoutSpecific): temp var for par.size()
4255         (setLayout): temp var for ownerParagraphs().end()
4256         (fullRebreak): temp var for rows().end()
4257         (selectionAsString): temp var for boost::next(startpit), realize
4258         that the while really is a regular for loop.
4259         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4260         setCursor in one place.
4261         (setParagraph): temp vr for ownerParagraphs().end()
4262         (updateCounters): make the while loop a for loop
4263         (cutSelection): temp var for ownerParagraphs().end()
4264         (updateInset): make the do {} while() a regular for loop
4265         (getCursorX): use temp vars
4266         (setCurrentFont): use temp vars
4267         (getColumnNearX): use temp vars
4268
4269 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * text.C (transformChar): use temp var for getChar
4272         (computeBidiTables): use temp var for row->par()
4273         (fill): move temp vars for row->par() and pit->layout() earlier in
4274         the function.
4275         (labelFill): use temp var for row->par()
4276         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4277         asc and desc, realize that pit never changes and that firstpit is
4278         just a duplicate and not needed. Exchange rit->par() with pit in a
4279         lot of places.
4280         (breakAgain): use a temp var for boost::next(rit)
4281         (breakAgainOneRow): ditto
4282         (breakParagraph): use a temp var for rows().begin()
4283         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4284         (cursorRightOneWord): use temp var for cursor.par() and
4285         cursor.pos(), remove usage of tmpcursor.
4286         (cursorLeftOneWord): use temp var for cursor.par() and
4287         cursor.pos() only set cur at end of function.
4288
4289 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * text.C, text2.C: exchange all usage of Paragraph::next with
4292         boost::next(ParagraphList::iterator)
4293
4294         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4295
4296         * text2.C (cursorTop): simplify implementation
4297         (cursorBottom): ditto
4298         (setParagraph): use ParagraphList::iterator
4299         (setCurrentFont): adjust
4300         (getColumnNearX): adjust
4301         (cursorRight): adjust
4302         (cursorLeft): remove usage of Paragraph::previous
4303         (cursorUpParagraph): ditto
4304         (deleteEmptyParagraphMechanism): slight cleanup
4305
4306         * text.C (isBoundary): take a Paragraph const & instead of a
4307         pointer as arg.
4308         (addressBreakPoint): ditto
4309         (leftMargin): remove usage of Paragraph::previous.
4310         (setHeightOfRow): ditto
4311         (cursorLeftOneWord): ditto
4312         (selectNextWordToSpellcheck): ditto
4313         (Delete): ditto
4314         (backspace): ditto
4315         (breakParagraph): remove one usage of Paragraph::next
4316         (redoParagraph): ditto
4317         (acceptChange): ditto
4318         (insertChar): adjust
4319         (rowBreakPoint): adjust
4320
4321         * bufferview_funcs.C (toggleAndShow): adjust
4322
4323 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4324
4325         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4326         methods to access it.
4327         * lyxtext.h:
4328         * text.C: Added updateRowPositions to compute all row positions.
4329         Make top_y and getRowNearY() to use the cached y position
4330
4331 2003-04-11  John Levon  <levon@movementarian.org>
4332
4333         * text.C (rowBreakPoint): reintroduce the labelEnd
4334         checks, code copied from the row fill stuff. Deep voodoo.
4335
4336         * text.C (fill): add a comment and debugging for the
4337         next poor soul.
4338
4339 2003-04-11  John Levon  <levon@movementarian.org>
4340
4341         * text.C: make sure fullrow insets get wrapped to the next line,
4342         even when they're in a manual label
4343
4344 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text2.C (insertParagraph): make it take ParagraphList::iterator
4347         as arg.
4348         (setLayout): make it return ParagraphList::iterator
4349         (redoParagraphs): ditto
4350         (setCounter): ditto
4351         (checkParagraph): ditto
4352
4353         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4354
4355         * text2.C: adjust several funcs.
4356         (realizeFont): take a ParagraphList::iterator as arg.
4357         (getLayoutFont): ditto
4358         (getLabelFont): ditto
4359         (setCharFont): ditto
4360
4361         * text.C: adjust several funcs.
4362
4363 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * text.C (selectNextWordToSpellcheck): don't accidentally
4366         skip insets
4367
4368 2003-04-10  John Levon  <levon@movementarian.org>
4369
4370         * ToolbarBackend.C (getIcon): special handling for
4371         LFUN_MATH_DELIM
4372
4373 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * text2.C (cursorRight): a getChar assert fixed
4376
4377 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * text2.C (getFont): change to take a ParagraphList::iterator
4380         instead of Paragraph*
4381         Adjust several functions.
4382
4383         * text.C (transformChar): change to take a ParagraphList::iterator
4384         instead of Paragraph*
4385         (singleWidth): ditto
4386         Adjust several functions.
4387
4388         * rowpainter.C: adjust several functions
4389         * rowpainter.h:store a ParagraphList::iterator and not a
4390         Paragraph&.
4391
4392
4393 2003-04-09  John Levon  <levon@movementarian.org>
4394
4395         * lyxfunc.C:
4396         * lfuns.h:
4397         * LyXAction.h:
4398         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4399         and the "help" bits as well
4400
4401 2003-04-09  John Levon  <levon@movementarian.org>
4402
4403         * ToolbarBackend.h:
4404         * ToolbarBackend.C: allow multiple toolbars
4405
4406 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * undo_funcs.C (setCursorParUndo): adjust
4409
4410         * text_funcs.C (transposeChars): adjust
4411
4412         * text3.C (gotoNextInset): adjust
4413         (dispatch): adjust
4414
4415         * text2.C (setLayout): adjust
4416         (changeDepth): adjust
4417         (setFont): adjust
4418         (redoParagraphs): adjust
4419         (selectionAsString): adjust
4420         (setParagraph): adjust
4421         (insertInset): adjust
4422         (cutSelection): adjust
4423         (copySelection): adjust
4424         (pasteSelection): adjust
4425         (insertStringAsLines): adjust
4426         (updateInset): adjust
4427         (setCursor): change to take a ParagraphList::iterator parameter
4428         (setCursorIntern): change to take a ParagraphList::iterator parameter
4429         (setCurrentFont): adjust
4430         (cursorLeft): adjust
4431         (cursorRight): adjust
4432         (deleteEmptyParagraphMechanism): adjust
4433
4434         * text.C (breakParagraph): adjust
4435         (insertChar): adjust
4436         (acceptChange): adjust
4437         (rejectChange): adjust
4438         (selectNextWordToSpellcheck): adjust
4439         (changeCase): adjust
4440         (Delete): adjust
4441         (backspace): adjust
4442
4443         * lyxfind.C (SearchForward): adjust
4444         (SearchBackward): adjust
4445         (nextChange): adjust
4446
4447         * lyxcursor.C (par): adjust
4448
4449         * lyxcursor.h: store a ParagraphList::iterator instead of a
4450         Paragraph*
4451
4452         * lyx_cb.C (getPossibleLabel): adjust
4453
4454         * bufferview_funcs.C (toggleAndShow): adjust
4455
4456         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4457         (dispatch): adjust
4458
4459         * BufferView.C (removeAutoInsets): adjust
4460         (lockedInsetStoreUndo): adjust
4461
4462 2003-04-09  John Levon  <levon@movementarian.org>
4463
4464         * ToolbarBackend.C: try icon without argument
4465         if with argument fails
4466
4467 2003-04-08  John Levon  <levon@movementarian.org>
4468
4469         * ToolbarBackend.h:
4470         * ToolbarBackend.C: add getIcon(), handle tooltip,
4471         and change from "Icon" to "Item".
4472
4473 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * BufferView.C (lockInset): another bad getchar crunched
4476
4477 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4480         again)
4481
4482 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * lyxfind.C (searchForward, searchBackwards): bug 782
4485
4486 2003-04-07  John Levon  <levon@movementarian.org>
4487
4488         * paragraph.C: remove dead comment
4489
4490         * text.C: remove troublesome depth-fiddling code
4491         in leftMargin() and rightMargin() (bug 1017)
4492
4493         * text.C: fix breaking of rows in nested lists
4494         (bug 1004)
4495
4496         * text2.C (updateCounters): fix up depth values
4497         (bug 1013)
4498
4499 2003-04-07  John Levon  <levon@movementarian.org>
4500
4501         * BufferView_pimpl.C: clear message when doc finishes resizing,
4502         and after a mouse event
4503
4504         * lyxfunc.C: clear message after exiting inset
4505
4506 2003-04-07  John Levon  <levon@movementarian.org>
4507
4508         * bufferview_funcs.C: show math status not outside
4509         status in the statusbar
4510
4511 2003-04-07  John Levon  <levon@movementarian.org>
4512
4513         * lyxfunc.C: note status changed after a depth change
4514
4515 2003-04-04  Angus Leeming  <leeming@lyx.org>
4516
4517         * LaTeX.h: move AuxInfo operator==, != out of line.
4518         Remove LaTeX virtual destructor; nothing derives from it.
4519         Move operator()() out of public area and rename it startscript().
4520         Change protected for private.
4521
4522 2003-04-04  Angus Leeming  <leeming@lyx.org>
4523
4524         * lyxfunc.C:
4525         * text2.C: remove unneeded #includes.
4526
4527 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * text2.C (dEPM): fix the heigth of the next row
4530
4531 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * text.C: squashed an invalid getChar requester + some ws changes
4534
4535 2003-04-03  John Levon  <levon@movementarian.org>
4536
4537         * bufferview_funcs.h:
4538         * bufferview_funcs.C:
4539         * lyxfunc.C:
4540         * lyxtext.h:
4541         * text2.C: make getStatus work for the env depth lfuns
4542
4543 2003-04-03  John Levon  <levon@movementarian.org>
4544
4545         * bufferview_funcs.h:
4546         * bufferview_funcs.C:
4547         * lyxfunc.C:
4548         * lyxtext.h:
4549         * text2.C: parlistize decDepth(), by merging it with incDepth()
4550
4551 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * lyxrow.h: store a ParagraphList::iterator instead of a
4554         Paragraph* and adjust other class functions to suit.
4555
4556         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4557         above.
4558
4559 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * text2.C (setCursor): do not anchor to cursor row for the time being
4562
4563 2003-04-02  John Levon  <levon@movementarian.org>
4564
4565         * LyXAction.C:
4566         * lfuns.h:
4567         * lyx_main.C:
4568         * lyxtext.h:
4569         * text.C:
4570         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4571
4572 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * paragraph.h: make ParagraphList and ParagraphList::iterator
4575         friends of Paragraph.
4576
4577         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4578
4579         * ParagraphList.C: Use the private next_ and previous_ from
4580         Paragraph.
4581
4582 2003-04-01  John Levon  <levon@movementarian.org>
4583
4584         * ToolbarBackend.h:
4585         * ToolbarBackend.C:
4586         * Makefile.am: rename, remove defaults gunk
4587
4588         * MenuBackend.h:
4589         * MenuBackend.C: remove defaults gunk
4590
4591         * Languages.h:
4592         * Languages.C: remove defaults gunk
4593
4594         * lyx_main.h:
4595         * lyx_main.C: error out if files couldn't be found.
4596
4597 2003-04-02  John Levon  <levon@movementarian.org>
4598
4599         * text2.C: make incDepth() use parlist
4600
4601 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * undo_funcs.C (firstUndoParagraph): adjust
4604
4605         * text3.C (gotoInset): adjust
4606         (dispatch): adjust, and rewrite loop.
4607
4608         * text2.C (init): adjust, and rewrite loop.
4609         (redoParagraphs): adjust
4610         (updateInset): adjust, and rewrite loop.
4611         (deleteEmptyParagraphMechanism): adjust
4612
4613         * tabular.C (LyXTabular): adjust
4614         (SetMultiColumn): adjust
4615         (TeXRow): adjust
4616
4617         * lyxtext.[Ch] (ownerParagraph): delete function
4618         (ownerParagraphs): new function returns a ParagraphList.
4619
4620         * BufferView.C (removeAutoInsets): adjust
4621         (insertErrors): adjust
4622         (setCursorFromRow): adjust
4623
4624 2003-04-01  Angus Leeming  <leeming@lyx.org>
4625
4626         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4627         in the frontends.
4628
4629 2003-04-02  John Levon  <levon@movementarian.org>
4630
4631         * lyxtext.h:
4632         * text.C:
4633         * Makefile.am:
4634         * text_funcs.h:
4635         * text_funcs.C: make transposeChars a free function
4636
4637         * lyxrow_funcs.C: remove wrong comment
4638
4639 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * lyxtext.h: adjust
4642         * rowpainter.C: adjust
4643         * text.C: adjust
4644         * text2.C: adjust
4645         * text3.C: adjust
4646
4647         * lyxrow_funcs. [Ch]: new files
4648
4649         * lyxrow.[Ch]: remove next and previous pointers
4650         (next,previous): remove accessor functions
4651         (isParEnd): move to lyxrow_funcs
4652         (lastPos): move to lyxrow_funcs
4653         (nextRowIsAllInset): move to lyxrow_funcs
4654         (lastPrintablePos): move to lyxrow_funcs
4655         (numberOfSeparators): move to lyxrow_funcs
4656         (numberOfHfills): move to lyxrow_funcs
4657         (numberOfLabelHfills): move to lyxrow_funcs
4658         (hfillExpansion): move to lyxrow_funcs
4659
4660         * lyxfunc.C: adjust
4661
4662         * bufferview_funcs.C (toggleAndShow): adjust
4663
4664         * RowList.h: Remove class RowList from file leave just a
4665         std::list<Row>.
4666
4667         * RowList.C: delete file
4668
4669         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4670         and lyxrow_funcs.h
4671
4672 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * text3.C (cursorPrevious): adjust
4675         (cursorNext): adjust
4676         (dispatch): adjust
4677
4678         * text2.C (redoHeightOfParagraph): adjust
4679         (redoDrawingOfParagraph): adjust
4680         (setCursor): adjust
4681
4682         * text.C (breakParagraph): adjust
4683         (insertChar): adjust
4684         (backspace): adjust
4685
4686         * rowpainter.C (RowPainter): adjust
4687         (leftMargin): simplify and adjust
4688         (most rowpainter functions): adjust.
4689
4690         * rowpainter.h: store the row as RowList::iterator not as Row*
4691
4692         * lyxcursor.C (row): taka RowList::iterator as arg
4693         (irow): ditto
4694
4695         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4696         of Row*.
4697
4698 2003-04-01  Angus Leeming  <leeming@lyx.org>
4699
4700         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4701         stuff like bool Bool.
4702
4703 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4706         rewrite a loop
4707
4708 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4711         RowList::iterator.
4712
4713         * lyxtext.h (rows): drop one version and leve a const variant that
4714         returns a RowList::iterator.
4715
4716 2003-03-31  Angus Leeming  <leeming@lyx.org>
4717
4718         * text.C (fill): ensure that the signature is the same as that in the
4719         header file.
4720
4721 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * text2.C (redoParagraphs): adjust
4724         (updateCounters): adjust
4725         (checkParagraph): adjust
4726         (getColumnNearX): adjust and reformat a bit.
4727
4728         * text.C (top_y): adjust
4729         (workWidth): adjust
4730         (leftMargin): adjust
4731         (prepareToPrint): adjust
4732         (getRow): adjust
4733         (getRowNearY): adjust
4734
4735         * lyxtext.h: make rowlist_ mutable.
4736
4737         * RowList.h: add const_iterator
4738         * RowList.C: adjust for RowList::const_iterator.
4739
4740         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4741         adjust.
4742
4743 2003-03-31  John Levon  <levon@movementarian.org>
4744
4745         * lyxrc.h:
4746         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4747
4748         * lyx_main.C: set default fonts from using lyx_gui funcs
4749
4750         * exporter.C: pdf_mode moved from lyxrc
4751
4752         * lyx_cb.C:
4753         * lyxfunc.C: changes from above
4754
4755 2003-03-31  John Levon  <levon@movementarian.org>
4756
4757         * lyx_main.C: fix to the last fix
4758
4759 2003-03-31  John Levon  <levon@movementarian.org>
4760
4761         * bufferlist.C: "Load original" -> "Load Original"
4762
4763         * converter.C:
4764         * exporter.C:
4765         * importer.C:
4766         * lyx_main.C:
4767         * format.C: more Alert cleanups
4768
4769 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text2.C (removeParagraph): make it take a RowList::iterator as
4772         arg, adjust.
4773         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4774         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4775
4776         * text.C (anchor_row): make it take a RowList::iterator as arg,
4777         adjust.
4778         (computeBidiTables): make it take a const reference to Row instead
4779         of Row pointer, adjust.
4780         (leftMargin): make it take a RowList::iterator as arg, adjust.
4781         (rowBreakPoint): adjust
4782         (breakAgainOneRow): make it take a RowList::iterator as arg,
4783         adjust.
4784         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4785
4786         * bufferview_funcs.C (toggleAndShow): adjust
4787
4788 2003-03-30  John Levon  <levon@movementarian.org>
4789
4790         * Makefile.am:
4791         * BoostFormat.h:
4792         * boost-inst.C: moved to support
4793
4794         * several files: changes as a result
4795
4796 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * text2.C (LyXText): adjust.
4799         (init): adjust
4800         (removeRow): make it take a RowList::iterator as arg, adjust.
4801         (fullRebreak): adjust
4802         (deleteEmptyParagraphMechanism): adjust
4803         (clearPaint): adjust
4804         (postPaint): adjust
4805
4806         * text.C (top_y): adjust
4807         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4808         (breakAgain): make it take a RowList::iterator as arg, adjust.
4809         (breakParagraph): adjust
4810         (insertChar): adjust
4811         (backspace): adjust
4812
4813         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4814         need_break_row, and refresh_row.
4815
4816         * text3.C (dispatch): adjust
4817
4818         * text2.C (checkParagraph): adjust
4819         (setCursor): adjust
4820         (setCursorFromCoordinates): adjust
4821
4822         * text.C (top_y): adjust
4823         (workWidth): adjust
4824         (getRow): make it return a RowList::iterator, adjust
4825         (getRowNearY): make it return a RowList::iterator, adjust
4826
4827         * text2.C (init): adjust
4828         (insertRow): remove function
4829         (insertParagraph): adjust
4830         (redoParagraphs): adjust
4831         (fullRebreak): adjust
4832         (updateCounters): adjust
4833
4834         * text.C (top_y): rewrite to use RowList iterators.
4835         (top_y): adjust
4836         (setHeightOfRow): rewrite to sue RowList iterators.
4837         (appendParagraph): adjust
4838         (breakAgain): adjust
4839         (breakAgainOneRow): adjust
4840         (breakParagraph): adjust
4841         (getRow): adjust
4842         (getRowNearY): adjust, and remove commented code.
4843
4844         * lyxtext.h (firstRow): delete function
4845         (lastRow): delete function
4846         (rows): new function (const and non-const versions.)
4847         (insertRow): delete function
4848
4849         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4850
4851 2003-03-29  John Levon  <levon@movementarian.org>
4852
4853         * BufferView_pimpl.C: always update scrollbar top
4854         because pasting text when we're anchored could mean we
4855         miss an update altogether
4856
4857 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * text2.C (init): use rowlist_.end() and not 0.
4860         (insertRow): change to take a RowList::iterator as arg, adjust
4861         for this.
4862         (insertParagraph): change to take a RowList::iterator as arg,
4863         adjust for this.
4864         (redoParagraphs): remove some debug msgs.
4865
4866         * text.C (appendParagraph): change to take a RowList::iterator
4867         arg, adjust for this.
4868         (breakAgain): add an assert
4869         (breakAgainOneRow): ditto
4870
4871 2003-03-29  John Levon  <levon@movementarian.org>
4872
4873         * text2.C: do not clear selection after inc/decDepth
4874         (bug 550)
4875
4876 2003-03-29  John Levon  <levon@movementarian.org>
4877
4878         * BufferView.C:
4879         * buffer.C: fix broken strerrors according to Lars
4880
4881 2003-03-29  John Levon  <levon@movementarian.org>
4882
4883         * converters.C: more Alert cleanups
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * bufferview_funcs.C: remove pointless Alert
4888
4889         * buffer.C: fix confusing error message when
4890         a template is chmoded 000
4891
4892 2003-03-29  John Levon  <levon@movementarian.org>
4893
4894         * BufferView.C:
4895         * BufferView.h:
4896         * BufferView_pimpl.C: Alert fixes
4897
4898         * Makefile.am:
4899         * tabular.C:
4900         * tabular-old.C: remove unused table compat reading
4901
4902 2003-03-29  John Levon  <levon@movementarian.org>
4903
4904         * BufferView.C:
4905         * buffer.C:
4906         * lyx_cb.h:
4907         * lyx_cb.C: more Alert cleanups
4908
4909         * lyxfunc.C: don't allow chktex if not latex document
4910
4911 2003-03-29  John Levon  <levon@movementarian.org>
4912
4913         * lyx_cb.C:
4914         * BufferView.C:
4915         * buffer.C: warnings pushed down from support/,
4916         kill err_alert
4917
4918 2003-03-29  John Levon  <levon@movementarian.org>
4919
4920         * lyxfunc.C: safety check for C-r (revert)
4921
4922 2003-03-29  John Levon  <levon@movementarian.org>
4923
4924         * bufferlist.h:
4925         * bufferlist.C: several UI fixes using Alert::prompt.
4926         Fix the pointless looping quit code. Fix stupid revert
4927         behaviour (bug 938)
4928
4929         * lyxvc.h:
4930         * lyxvc.C:
4931         * lyx_cb.C: use Alert::prompt
4932
4933         * lyx_main.C: remove a silly question
4934
4935         * lyxfunc.C: remove a couple of silly questions,
4936         use Alert::prompt
4937
4938 2003-03-28  John Levon  <levon@movementarian.org>
4939
4940         * text2.C: fix bug 974 (End on empty par)
4941
4942 2003-03-28  John Levon  <levon@movementarian.org>
4943
4944         * BufferView_pimpl.C:
4945         * LyXAction.C:
4946         * lfuns.h: remove do-nothing math greek lfuns
4947
4948 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * lyxgluelength.h (isValidGlueLength): add default arg on
4951         parameter 2. Remove default arg from friend in class.
4952
4953         * lyxlength.h (isValidLength): add default arg on parameter 2.
4954         Remove default arg from friend in class.
4955
4956         * text2.C (LyXText): adjust, initialize refresh_row.
4957         (init): adjust
4958         (removeRow): adjust
4959         (insertRow): adjust
4960         (insertParagraph): adjst
4961         (redoParagraphs): adjust
4962         (fullRebreak): adjust
4963         (updateCounters): adjust
4964         (deleteEmptyParagraphMechanism): first attempt at fixing a
4965         crashing bug.
4966
4967         * text.C (top_y): adjust
4968         (setHeightOfRow): adjust
4969         (getRow): adjust
4970         (getRowNearY): adjust
4971
4972         * lyxtext.h: include RowList.h
4973         (~LyXText): not needed anymore, deleted.
4974         (firstRow): modify for RowList
4975         (lastRow): new function
4976         Delete firstrow and lastrow class variables, add a Rowlist
4977         rowlist_ class variable.
4978
4979         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4980         paragraph is empty.
4981
4982         * RowList.C (insert): fix case where it == begin().
4983
4984 2003-03-26  Angus Leeming  <leeming@lyx.org>
4985
4986         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4987         the thesaurus dialog.
4988
4989 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4992
4993         * RowList.[Ch]: new files
4994
4995         * ParagraphList.C (erase): handle the case where it == begin
4996         correctly.
4997
4998 2003-03-25  John Levon  <levon@movementarian.org>
4999
5000         * Makefile.am:
5001         * aspell_local.h:
5002         * aspell.C: add new aspell support
5003
5004         * lyxrc.h:
5005         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5006         have it accessible.
5007
5008 2003-03-25  Angus Leeming  <leeming@lyx.org>
5009
5010         * lfuns.h:
5011         * LyXAction.C (init): new LFUN_INSET_INSERT.
5012
5013         * BufferView_pimpl.C (dispatch): split out part of the
5014         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5015
5016         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5017         LFUN_INSET_APPLY.
5018
5019 2003-03-25  Angus Leeming  <leeming@lyx.org>
5020
5021         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5022
5023 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * text2.C:
5026         * text3.C: remove useless row->height(0)
5027
5028 2003-03-25  John Levon  <levon@movementarian.org>
5029
5030         * lyxtext.h:
5031         * text2.C:
5032         * text3.C: rename the refreshing stuff to better names
5033
5034 2003-03-24  John Levon  <levon@movementarian.org>
5035
5036         * BufferView_pimpl.h:
5037         * BufferView_pimpl.C: update layout choice on a mouse
5038         press/release
5039
5040 2003-03-23  John Levon  <levon@movementarian.org>
5041
5042         * Makefile.am: fix commandtags.h reference
5043
5044 2003-03-22  John Levon  <levon@movementarian.org>
5045
5046         * BufferView_pimpl.C:
5047         * lyxtext.h:
5048         * rowpainter.C:
5049         * rowpainter.h:
5050         * text.C:
5051         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5052
5053 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * lyxtext.h:
5056         * text.C: take the rtl methods out of line
5057
5058 2003-03-21 André Pönitz <poenitz@gmx.net>
5059
5060         * metricsinfo.[Ch]: new files containing structures to be passed around
5061         during the two-phase-drawing...
5062
5063 2003-03-21 André Pönitz <poenitz@gmx.net>
5064
5065         * lyxtextclass.C: read 'environment' tag.
5066
5067 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * text2.C (removeRow): fix bug 964
5070
5071 2003-03-20  John Levon  <levon@movementarian.org>
5072
5073         * rowpainter.C:
5074         * text.C:
5075         * text2.C: paint cleanups. Inset::update() dropped font
5076         parameter
5077
5078 2003-03-19  John Levon  <levon@movementarian.org>
5079
5080         * lyxfunc.C: only fitcursor/markDirty if available()
5081
5082 2003-03-19  John Levon  <levon@movementarian.org>
5083
5084         * commandtags.h: rename to ...
5085
5086         * lfuns.h: ... this, and renumber / cleanup
5087
5088 2003-03-19  John Levon  <levon@movementarian.org>
5089
5090         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5091         fit the cursor after an lfun
5092
5093         * BufferView.h:
5094         * BufferView.C:
5095         * BufferView_pimpl.h:
5096         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5097
5098         * LyXAction.C: layout-character should have ReadOnly
5099
5100         * ParagraphParameters.C:
5101         * buffer.C:
5102         * bufferview_funcs.C:
5103         * lyx_cb.C:
5104         * lyxfind.C:
5105         * lyxtext.h:
5106         * text.C:
5107         * text2.C:
5108         * text3.C:
5109         * undo_funcs.C: changes from above
5110
5111 2003-03-18  John Levon  <levon@movementarian.org>
5112
5113         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5114         remove it from update()
5115
5116         * lyxfunc.C: update layout choice after an lfun
5117
5118         * text3.C: remove extra updateLayoutChoice()s
5119
5120 2003-03-18  John Levon  <levon@movementarian.org>
5121
5122         * text.C: top_y change means full repaint, fix
5123         a drawing bug with cursor movement
5124
5125 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * lyxtext.h:
5128         * text.C:
5129         * text2.C: anchor row on setCursor
5130
5131 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * lyxtext.h: remove almost all mutable keywords
5134         * text.C:
5135         * text2.C:
5136         * text3.C: remove const keywords accordingly
5137
5138 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5141         anon namespace
5142         (TeXEnvironment): ditto
5143         (TeXOnePar): ditto
5144
5145 2003-03-17  John Levon  <levon@movementarian.org>
5146
5147         * text.C (rowBreakPoint): remove attempt to fix displayed
5148         math insets inside a manual label
5149
5150 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * lyxtext.h: remove BufferView* as first arg from almost all class
5153         functions.
5154         * other files: adjust.
5155
5156 2003-03-17  John Levon  <levon@movementarian.org>
5157
5158         * lyxtext.h:
5159         * undo_funcs.C:
5160         * text2.C: more paint cleanups
5161
5162         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5163
5164         * rowpainter.h:
5165         * rowpainter.C: remove "smart" background painting code
5166
5167 2003-03-16  John Levon  <levon@movementarian.org>
5168
5169         * lyxtext.h:
5170         * text.C:
5171         * text2.C:
5172         * text3.C: add helper functions for setting refresh_row/y
5173
5174 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5175
5176         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5177         newline inset which *can* get inserted in the pass_thru layouts.
5178         This is primarily for literate documents.
5179
5180 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5181
5182         * buffer.C: increment LYX_FORMAT to 223
5183
5184 2003-03-14 André Pönitz <poenitz@gmx.net>
5185
5186         * textclass.h: prepare for environment handling, ws changes
5187         * lyxlayout.C: read latexheader and latexfooter tags
5188
5189 2003-03-14  John Levon  <levon@movementarian.org>
5190
5191         * text2.C: rewrite ::status() a bit
5192
5193 2003-03-13  John Levon  <levon@movementarian.org>
5194
5195         * lyxtext.h: add some docs
5196
5197 2003-03-13  John Levon  <levon@movementarian.org>
5198
5199         * lyxtext.h:
5200         * text.C:
5201         * text2.C:
5202         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5203
5204 2003-03-13  John Levon  <levon@movementarian.org>
5205
5206         * text3.C: fix appendix redrawing
5207
5208 2003-03-13  John Levon  <levon@movementarian.org>
5209
5210         * text.C (setHeightOfRow):
5211         * rowpainter.h:
5212         * rowpainter.C: make appendix mark have the text
5213           "Appendix" so the user knows what it is
5214
5215         * LColor.h:
5216         * LColor.C: s/appendixline/appendix/ from above
5217
5218 2003-03-13  John Levon  <levon@movementarian.org>
5219
5220         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5221
5222         * text.C: fix a getChar(pos) bug properly
5223
5224 2003-03-13  Angus Leeming  <leeming@lyx.org>
5225
5226         * commandtags.h:
5227         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5228         Probably only temporary. Let's see how things pan out.
5229
5230         * BufferView.C (unlockInset):
5231         * BufferView_pimpl.C (fitCursor):
5232         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5233
5234         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5235         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5236
5237         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5238         new functions that convert ParagraphParameters to and from a string.
5239
5240         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5241         BufferView::Pimpl's dispatch.
5242         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5243
5244 2003-03-13 André Pönitz <poenitz@gmx.net>
5245
5246         * lyxfunc.C:
5247         * text3.C:
5248         * factory.C: make it aware of InsetEnv
5249
5250 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * text2.C (setCursor): never ask for one past last
5253         (setCursor): add some debugging messages.
5254
5255         * text.C (singleWidth): never ask for one past last
5256         (singleWidth): ditto
5257         (leftMargin): ditto
5258         (rightMargin): ditto
5259         (rowBreakPoint): ditto
5260         (setHeightOfRow): ditto
5261         (prepareToPrint): ditto
5262
5263         * rowpainter.C (paintBackground): never ask for one past last
5264         (paintText): never ask for one past last
5265
5266         * paragraph_pimpl.C (getChar): make the assert stricter, never
5267         allow the one past last pos to be taken
5268
5269         * paragraph.C (getChar): ws changes only
5270
5271         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5272         (numberOfSeparators): ditto
5273         (numberOfHfills): ditto
5274
5275 2003-03-12  John Levon  <levon@movementarian.org>
5276
5277         * author.h:
5278         * author.C:
5279         * bufferparams.h:
5280         * bufferparams.C:
5281         * paragraph_funcs.C: fix per-buffer authorlists
5282
5283 2003-03-12  John Levon  <levon@movementarian.org>
5284
5285         * text.C: fix newline in right address
5286
5287 2003-03-12  Angus Leeming  <leeming@lyx.org>
5288
5289         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5290         duplicate those in LyXFunc::dispatch.
5291
5292         * commandtags.h:
5293         * LyXAction.C:
5294         * ToolbarDefaults.C:
5295         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5296         Add LFUN_FONTFREE_UPDATE.
5297
5298         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5299         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5300
5301         * bufferview_func.[Ch]: several new functions to facilliate
5302         transfer of data to and from the character dialog.
5303
5304 2003-03-12  John Levon  <levon@movementarian.org>
5305
5306         * buffer.C:
5307         * paragraph.h:
5308         * paragraph.C:
5309         * paragraph_funcs.C:
5310         * paragraph_pimpl.C:
5311         * sgml.C:
5312         * tabular.C:
5313         * text.C:
5314         * text3.C: remove META_NEWLINE in favour of an inset
5315
5316         * rowpainter.h:
5317         * rowpainter.C: remove paintNewline (done by inset)
5318
5319 2003-03-12  John Levon  <levon@movementarian.org>
5320
5321         * paragraph_pimpl.C: complain about bad getChar()s
5322         for a while at least
5323
5324 2003-03-12  John Levon  <levon@movementarian.org>
5325
5326         * buffer.h:
5327         * buffer.C: move paragraph read into a separate function,
5328         a little renaming to reflect that.
5329
5330         * bufferparams.h:
5331         * bufferparams.C: remove the author_ids map, not necessary now
5332
5333         * factory.h:
5334         * factory.C: moved Buffer::readInset to here
5335
5336         * paragraph_funcs.h:
5337         * paragraph_funcs.C: readParagraph free function moved from
5338         buffer.C
5339
5340         * tabular.C: name change
5341
5342 2003-03-12  John Levon  <levon@movementarian.org>
5343
5344         * buffer.C:
5345         * ParagraphParameters.C: move par params input to
5346         a read() method
5347
5348         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5349         behave like a normal read from the stream wrt reading
5350         a line vs. a \\token
5351
5352 2003-03-12  John Levon  <levon@movementarian.org>
5353
5354         * paragraph.C:
5355         * ParagraphParameters.h:
5356         * ParagraphParameters.C: move output code to a
5357         ::write() method
5358
5359 2003-03-12  John Levon  <levon@movementarian.org>
5360
5361         * BufferView.C (insertLyXFile):
5362         * buffer.h:
5363         * buffer.C:
5364         * tabular.C: use a parlist iterator for creating the
5365           document.
5366
5367 2003-03-12  John Levon  <levon@movementarian.org>
5368
5369         * buffer.C: make current_change static local not
5370           static file-scope
5371
5372 2003-03-12  John Levon  <levon@movementarian.org>
5373
5374         * buffer.C: fix insertStringAsLines for change tracking
5375
5376 2003-03-12  John Levon  <levon@movementarian.org>
5377
5378         * BufferView.C:
5379         * tabular.C:
5380         * buffer.h:
5381         * buffer.C:
5382         * bufferparams.h:
5383         * bufferparams.C: move author list into params. Rename some
5384           functions. Move the header reading into a separate token
5385           loop. Move the header token reading into BufferParams.
5386
5387 2003-03-12  John Levon  <levon@movementarian.org>
5388
5389         * changes.C: put debug inside lyxerr.debugging() checks
5390
5391 2003-03-11 André Pönitz <poenitz@gmx.net>
5392
5393         * factory.C: make it aware of InsetHFill
5394
5395 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5396
5397         * buffer.C (latexParagraphs): move function from here...
5398         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5399         args.
5400
5401 2003-03-10  Angus Leeming  <leeming@lyx.org>
5402
5403         * LyXAction.C (init): fix bug in poplating array with multiple entries
5404         with the same LFUN (spotted by JMarc).
5405
5406 2003-03-10  John Levon  <levon@movementarian.org>
5407
5408         * text.C:
5409         * text2.C: move getColumnNearX() near its
5410         only call site
5411
5412 2003-03-10  John Levon  <levon@movementarian.org>
5413
5414         * text.C: fix break before a minipage
5415
5416 2003-03-10  John Levon  <levon@movementarian.org>
5417
5418         * text.C: fix the last commit
5419
5420 2003-03-09  John Levon  <levon@movementarian.org>
5421
5422         * lyxtext.h:
5423         * text.C:
5424         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5425         bug 365 (don't break before insets unless needed). Don't
5426         return a value > last under any circumstances.
5427
5428 2003-03-09  Angus Leeming  <leeming@lyx.org>
5429
5430         * BufferView_pimpl.C (trackChanges, dispatch): call
5431         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5432
5433 2003-03-09  Angus Leeming  <leeming@lyx.org>
5434
5435         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5436         than Dialogs::showAboutlyx().
5437
5438 2003-03-09  Angus Leeming  <leeming@lyx.org>
5439
5440         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5441         than Dialogs::showTabularCreate().
5442
5443 2003-03-09  John Levon  <levon@movementarian.org>
5444
5445         * lyxtext.h:
5446         * text.C:
5447         * text2.C: 3rd arg to nextBreakPoint was always the same.
5448           Use references.
5449
5450 2003-03-08  John Levon  <levon@movementarian.org>
5451
5452         * lyxrow.C:
5453         * paragraph.C:
5454         * paragraph.h:
5455         * rowpainter.C:
5456         * text.C:
5457         * text2.C: Remove the "main" bit from the "main body"
5458           notion.
5459
5460 2003-03-08  John Levon  <levon@movementarian.org>
5461
5462         * text.C (leftMargin): The left margin of an empty
5463         manual label paragraph should not include the label width
5464         string length.
5465
5466         * text.C (prepareToPrint): don't attempt to measure hfills
5467         for empty manual label paragraphs - the answer should be 0
5468
5469 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5470
5471         * CutAndPaste.C: remove commented code and reindent.
5472
5473 2003-03-08  John Levon  <levon@movementarian.org>
5474
5475         * lyxfunc.h:
5476         * lyxfunc.C: move reloadBuffer()
5477
5478         * BufferView.h:
5479         * BufferView.C: to here
5480
5481         * lyxvc.C: add comment
5482
5483         * vc-backend.h:
5484         * vc-backend.C: call bv->reload() to avoid
5485           getStatus() check on MENURELOAD
5486
5487 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5488
5489         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5490         to an old format .dep file.
5491
5492 2003-03-07  Angus Leeming  <leeming@lyx.org>
5493
5494         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5495         when the LFUN_MOUSE_RELEASE should have been handled by
5496         inset->localDispatch.
5497
5498 2003-03-07  Angus Leeming  <leeming@lyx.org>
5499
5500         * BufferView_pimpl.C (dispatch):
5501         * LyXAction.C (init):
5502         * ToolbarDefaults.C (init):
5503         * commandtags.h:
5504         * lyxfunc.C (getStatus):
5505         remove LFUN_INSET_GRAPHICS.
5506
5507         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5508
5509 2003-03-07  Angus Leeming  <leeming@lyx.org>
5510
5511         * commandtags.h:
5512         * LyXAction.C (init):
5513         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5514
5515         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5516
5517         * commandtags.h:
5518         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5519
5520         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5521         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5522
5523 2003-03-07  Angus Leeming  <leeming@lyx.org>
5524
5525         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5526         remove "ert".
5527
5528 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * ParagraphList.C (front): new function
5531         (back): implement
5532
5533 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5534
5535         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5536         and top_row_offset_. removed var first_y.
5537         * text.C (top_y):
5538         * text2.C (LyXText, removeRow):
5539         * text3.C:
5540         * BufferView_pimpl.C:
5541         use these methods instead of using first_y
5542
5543 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * text2.C (pasteSelection): adjust for checkPastePossible
5546
5547         * CutAndPaste.C: remove Paragraph * buf and replace with
5548         ParagraphList paragraphs.
5549         (DeleteBuffer): delete
5550         (cutSelection): change the tc type to textclass_type
5551         (copySelection): change the tc type to textclass_type
5552         (copySelection): adjust for ParagraphList
5553         (pasteSelection): change the tc type to textclass_type
5554         (pasteSelection): adjust for Paragraphlist
5555         (nrOfParagraphs): simplify for ParagraphList
5556         (checkPastePossible): simplify for ParagraphList
5557         (checkPastePossible): remove unused arg
5558
5559         * ParagraphList.C (insert): handle the case where there are no
5560         paragraphs yet.
5561
5562         * CutAndPaste.h: make CutAndPaste a namespace.
5563
5564         * text3.C (dispatch): adjust
5565
5566         * text.C (breakParagraph): add a ParagraphList as arg
5567
5568         * paragraph_funcs.C (breakParagraph): change to take a
5569         BufferParams and a ParagraphList as args.
5570         (breakParagraphConservative): ditto
5571         (mergeParagraph): ditto
5572         (TeXDeeper): add a ParagraphList arg
5573         (TeXEnvironment): ditto
5574         (TeXOnePar): ditto
5575
5576         * buffer.C (readLyXformat2): adjust
5577         (insertStringAsLines): adjust
5578         (latexParagraphs): adjust
5579
5580         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5581         (cutSelection): adjust
5582         (pasteSelection): adjust
5583
5584         * BufferView_pimpl.C (insertInset): adjust
5585
5586 2003-03-05  Angus Leeming  <leeming@lyx.org>
5587
5588         * commandtags.h:
5589         * LyXAction.C (init):
5590         * BufferView_pimpl.C (dispatch):
5591         * lyxfunc.C (getStatus):
5592         remove LFUN_CHILD_INSERT.
5593
5594         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5595
5596 2003-03-05  Angus Leeming  <leeming@lyx.org>
5597
5598         * commandtags.h:
5599         * LyXAction.C (init):
5600         * src/factory.C (createInset):
5601         * lyxfunc.C (getStatus):
5602         * text3.C (dispatch):
5603         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5604
5605         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5606
5607 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * ParagraphList.C (insert): handle insert right before end()
5610         (erase): fix cases where it can be first or last paragraph.
5611
5612 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5615         Paragraph::next and Paragraph::previous
5616         (TeXOnePar): ditto
5617
5618         * text.C (breakParagraph): adjust
5619
5620         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5621         BufferParams& as arg.
5622         (breakParagraph): use ParagraphList::insert
5623         (breakParagraphConservative): take a Buffer* instead of a
5624         BufferParams& as arg.
5625         (breakParagraphConservative): use ParagraphList::insert.
5626
5627         * buffer.C (insertStringAsLines): un-const it
5628         (insertStringAsLines): adjust
5629
5630         * ParagraphList.C (insert): new function
5631
5632         * CutAndPaste.C (pasteSelection): adjust
5633
5634         * text.C (backspace): adjust
5635
5636         * tabular.C (SetMultiColumn): adjust
5637
5638         * CutAndPaste.C (cutSelection): adjust
5639         (pasteSelection): adjust
5640
5641         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5642         Buffer const * as arg
5643
5644         * ParagraphList.C (erase): new function
5645         * paragraph_funcs.C (mergeParagraph): use it
5646         (mergeParagraph): make it take a Buffer* instead of a
5647         BufferParams* as arg
5648
5649         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5650         as arg
5651         (breakParagraphConservative): ditto
5652
5653         * paragraph.h: remove the breakParagraph friend
5654
5655         * paragraph.C (eraseIntern): new function
5656         (setChange): new function
5657
5658         * paragraph_funcs.C (mergeParagraph): make it take a
5659         ParagraphList::iterator instead of a Paragraph *, adjust
5660         accordingly.
5661
5662         * paragraph.h: move an #endif so that the change tracking stuff
5663         also works in the NO_NEXT case.
5664
5665 2003-03-04  Angus Leeming  <leeming@lyx.org>
5666
5667         * commandtags.h:
5668         * LyXAction.C: new LFUN_INSET_MODIFY.
5669
5670         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5671         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5672
5673 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * several files: ws changes only
5676
5677         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5678         (TeXEnvironment): ditto
5679         (TeXDeeper): ditto
5680
5681         * buffer.C (makeLaTeXFile): adjust
5682         (latexParagraphs): make it take ParagraphList::iterator as args
5683
5684 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * buffer.C (latexParagraphs): adjust
5687
5688         * paragraph.C (TeXOnePar): move function...
5689         (optArgInset): move function...
5690         (TeXEnvironment): move function...
5691         * paragraph_pimpl.C (TeXDeeper): move function...
5692         * paragraph_funcs.C: ...here
5693
5694         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5695
5696 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * buffer.C (readInset): remove compability code for old Figure and
5699         InsetInfo insets
5700
5701 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * buffer.C: ws changes
5704         (readInset):
5705
5706         * BufferView_pimpl.C: ditto
5707         * author.C: ditto
5708         * buffer.h: ditto
5709         * bufferlist.h: ditto
5710         * changes.h: ditto
5711         * lyxfunc.C: ditto
5712
5713 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5714
5715         * converter.[Ch]: split into itself +
5716         * graph.[Ch]
5717         * format.[Ch]
5718         * Makefile.am: += graph.[Ch] + format.[Ch]
5719         * MenuBackend.C
5720         * buffer.C
5721         * exporter.C
5722         * importer.C
5723         * lyx_main.C
5724         * lyxfunc.C
5725         * lyxrc.C: added #include "format.h"
5726
5727 2003-02-27  Angus Leeming  <leeming@lyx.org>
5728
5729         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5730           a label.
5731
5732         * factory.C (createInset): add "label" to the factory.
5733
5734         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5735           string and do no more.
5736
5737 2003-02-27  Angus Leeming  <leeming@lyx.org>
5738
5739         * commandtags.h:
5740         * LyXAction.C (init):
5741         * factory.C (createInset):
5742         * BufferView_pimpl.C (dispatch):
5743           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5744
5745         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5746
5747         * lyxfunc.C (dispatch):
5748         * text3.C (dispatch): pass name to params2string.
5749
5750 2003-02-26  Angus Leeming  <leeming@lyx.org>
5751
5752         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5753           blocks together.
5754           Rearrange the ~includes. Strip out the unnecessary ones.
5755
5756         * factory.C (createInset): reformat.
5757           create new insets for the various LFUN_XYZ_APPLY lfuns.
5758
5759 2003-02-26  John Levon  <levon@movementarian.org>
5760
5761         * lyxrow.h:
5762         * lyxrow.C: add isParStart,isParEnd helpers
5763
5764         * paragraph.h: make isInserted/DeletedText take refs
5765
5766         * paragraph_funcs.h:
5767         * paragraph_funcs.C: remove #if 0'd code
5768
5769         * lyxtext.h:
5770         * text3.C:
5771         * text2.C:
5772         * text.C: use lyxrow helpers above.
5773           Move draw and paint routines to RowPainter.
5774           Make several methods use refs not pointers.
5775           Make backgroundColor() const.
5776           Add markChangeInDraw(), isInInset().
5777           Merge changeRegionCase into changeCase.
5778           Make workWidth() shouldn't-happen code into an Assert.
5779
5780         * rowpainter.h:
5781         * rowpainter.C: new class for painting a row.
5782
5783         * vspace.h:
5784         * vspace.C: make inPixels take a ref
5785
5786 2003-02-26  Angus Leeming  <leeming@lyx.org>
5787
5788         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5789         LFUN_REF_APPLY.
5790
5791 2003-02-25  John Levon  <levon@movementarian.org>
5792
5793         * ispell.C: give the forked command a more accurate name
5794
5795 2003-02-22  John Levon  <levon@movementarian.org>
5796
5797         * toc.h:
5798         * toc.C: make TocItem store an id not a Paragraph *
5799           (bug #913)
5800
5801 2003-02-21  Angus Leeming  <leeming@lyx.org>
5802
5803         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5804           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5805           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5806           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5807           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5808           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5809
5810         * BufferView_pimpl.C (dispatch):
5811         * LyXAction.C (init):
5812         * factory.C (createInset):
5813         * lyxfunc.C (getStatus, dispatch):
5814         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5815
5816 2003-02-21  Angus Leeming  <leeming@lyx.org>
5817
5818         * BufferView_pimpl.C (MenuInsertLyXFile):
5819         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5820         * lyxfunc.C (menuNew, open, doImport):
5821           no longer pass a LyXView & to fileDlg.
5822
5823 2003-02-21  Angus Leeming  <leeming@lyx.org>
5824
5825         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5826         * LyXAction.C: change, BIBKEY to BIBITEM.
5827         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5828         Change InsetBibKey to InsetBibitem.
5829         Change BIBKEY_CODE to BIBITEM_CODE.
5830         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5831         * factory.C: replace insetbib.h with insetbibitem.h.
5832         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5833         * paragraph.C: replace insetbib.h with insetbibitem.h.
5834         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5835         Change bibkey() to bibitem().
5836         * text.C: remove insetbib.h.
5837         * text2.C: replace insetbib.h with insetbibitem.h.
5838         change bibkey() to bibitem().
5839         * text3.C: remove insetbib.h.
5840         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5841
5842 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5843
5844         * lyxrc.C (output): enclose user email in quotes (in case there are
5845         several words)
5846
5847 2003-02-18  John Levon  <levon@movementarian.org>
5848
5849         * buffer.h: add std::
5850
5851 2003-02-17  John Levon  <levon@movementarian.org>
5852
5853         * SpellBase.h:
5854         * ispell.h:
5855         * ispell.C:
5856         * pspell.h:
5857         * pspell.C: reworking. Especially in ispell, a large
5858           number of clean ups and bug fixes.
5859
5860         * lyxfunc.C: fix revert to behave sensibly
5861
5862 2003-02-17 André Pönitz <poenitz@gmx.net>
5863
5864         * LyXAction.C:
5865         * commandtags.h: new LFUN_INSERT_BIBKEY
5866
5867         * layout.h:
5868         * lyxlayout.C:
5869         * buffer.C:
5870         * factory.C:
5871         * text.C:
5872         * text2.C:
5873         * text3.C:
5874         * paragraph.[Ch]:
5875         * paragraph_func.C: remove special bibkey handling
5876
5877 2003-02-17  John Levon  <levon@movementarian.org>
5878
5879         * text.C (Delete): fix case where delete at the end of
5880           the very first paragraph would not merge the pars
5881
5882 2003-02-17  John Levon  <levon@movementarian.org>
5883
5884         * lyxrow.C: fix lastPrintablePos()
5885
5886 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5887
5888         * bufferparams.C (writeLaTeX): add a std:here
5889
5890         * buffer.C: and remove a using directive there
5891
5892 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5893
5894         * buffer.C (makeLaTeXFile): move the code that generates the
5895           preamble...
5896
5897         * bufferparams.C (writeLaTeX): ... in this new method
5898
5899         * LaTeXFeatures.C (getEncodingSet): make const
5900           (getLanguages): make const
5901
5902         * MenuBackend.C (binding): returns the binding associated to this
5903           action
5904           (add): sets the status of each item by calling getStatus. Adds
5905           some intelligence.
5906           (read): add support for OptSubMenu
5907           (expand): remove extra separator at the end of expanded menu
5908
5909 2003-02-15  John Levon  <levon@movementarian.org>
5910
5911         * BufferView.C:
5912         * BufferView_pimpl.C:
5913         * bufferlist.h:
5914         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5915           inset code that had no actual effect. Remove unneeded status
5916           code.
5917
5918 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5919
5920         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5921           in preamble
5922
5923 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5924
5925         * text.C (drawLengthMarker): also draw an arrow marker for
5926           symbolic lengths (medskip...)
5927
5928 2003-02-14  John Levon  <levon@movementarian.org>
5929
5930         * tabular.h:
5931         * tabular.C: better method names
5932
5933 2003-02-14  John Levon  <levon@movementarian.org>
5934
5935         * BufferView_pimpl.C:
5936         * bufferlist.C:
5937         * buffer.C:
5938         * converter.C:
5939         * lyx_cb.C:
5940         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5941           it's a more accurate name. Remove some pointless uses.
5942
5943 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5944
5945         * text2.C (LyXText): change order of initilizers to shut off
5946           warnings
5947
5948 2003-02-14  John Levon  <levon@movementarian.org>
5949
5950         * buffer.C: use ParIterator for getParFromID()
5951
5952         * paragraph.h:
5953         * paragraph.C:
5954         * paragraph_pimpl.h:
5955         * paragraph_pimpl.C: remove unused getParFromID()
5956
5957 2003-02-14  John Levon  <levon@movementarian.org>
5958
5959         * buffer.C: remove some very old #if 0'd parse code
5960
5961 2003-02-13  John Levon  <levon@movementarian.org>
5962
5963         * text.h:
5964         * text.C:
5965         * text2.C: move hfillExpansion(), numberOfSeparators(),
5966           rowLast(), rowLastPrintable(), numberofHfills(),
5967           numberOfLabelHfills() ...
5968
5969         * lyxrow.h:
5970         * lyxrow.C: ... to member functions here.
5971
5972         * paragraph.h:
5973         * paragraph.C:
5974         * lyxtext.h:
5975         * text.C: remove LyXText::beginningOfMainBody(), and call
5976           p->beginningOfMainBody() directly. Move the check for
5977           LABEL_MANUAL into the latter.
5978
5979         * text.h:
5980         * text.C:
5981         * text2.C:
5982         * vspace.C:
5983         * BufferView.h:
5984         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5985
5986         * text.h:
5987         * text.C:
5988         * text2.C:
5989         * text3.C:
5990         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5991           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5992
5993 2003-02-13  John Levon  <levon@movementarian.org>
5994
5995         * CutAndPaste.C: remove debug
5996
5997 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5998
5999         * paragraph.C (asString): remove two unused variables
6000
6001         * lyxtextclass.C (readTitleType):
6002           (Read):
6003           (LyXTextClass): handle new members titletype_ and titlename_
6004
6005         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6006
6007 2003-02-09  John Levon  <levon@movementarian.org>
6008
6009         * buffer.h:
6010         * buffer.C: replace hand-coded list with a map for the dep clean
6011
6012 2003-02-08  John Levon  <levon@movementarian.org>
6013
6014         * LaTeX.C: consolidate code into showRunMessage() helper
6015
6016 2003-02-08  John Levon  <levon@movementarian.org>
6017
6018         * lyxfind.C:
6019         * lyxtext.h:
6020         * text2.C:
6021         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6022           and pass the size in explicitly
6023
6024         * BufferView_pimpl.h:
6025         * BufferView_pimpl.C:
6026         * BufferView.h:
6027         * BufferView.C: add getCurrentChange()
6028
6029         * BufferView_pimpl.h:
6030         * BufferView_pimpl.C: handle change lfuns
6031
6032         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6033           for changes. Mark pasted paragraphs as new.
6034
6035         * support/lyxtime.h:
6036         * support/lyxtime.C:
6037         * DepTable.C: abstract time_t as lyx::time_type
6038
6039         * LColor.h:
6040         * LColor.C: add colours for new text, deleted text, changebars
6041
6042         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6043           package use "usenames" option.
6044
6045         * commandtags.h:
6046         * lyxfunc.C:
6047         * LyXAction.C: add change lfuns
6048
6049         * Makefile.am:
6050         * author.h:
6051         * author.C: author handling
6052
6053         * buffer.h:
6054         * buffer.C: add a per-buffer author list, with first entry as
6055           current author. Handle new .lyx tokens for change tracking. Output
6056           author list to .lyx file. Output dvipost stuff to .tex preamble.
6057           Bump lyx format to 222.
6058
6059         * bufferlist.h:
6060         * bufferlist.C: add setCurrentAuthor() to reset current author details
6061           in all buffers.
6062
6063         * bufferparams.h:
6064         * bufferparams.C: add param for tracking
6065
6066         * bufferview_funcs.C: output change info in minibuffer
6067
6068         * Makefile.am:
6069         * changes.h:
6070         * changes.C: add change-tracking structure
6071
6072         * debug.h:
6073         * debug.C: add CHANGES debug flag
6074
6075         * lyxfind.h:
6076         * lyxfind.C: add code for finding the next change piece
6077
6078         * lyxrc.h:
6079         * lyxrc.C: add user_name and user_email
6080
6081         * lyxrow.h:
6082         * lyxrow.C: add a metric for the top of the text line
6083
6084         * lyxtext.h:
6085         * text.C: implement accept/rejectChange()
6086
6087         * lyxtext.h:
6088         * text.C: paint changebars. Paint new/deleted text in the chosen
6089         colours. Strike through deleted text.
6090
6091         * paragraph.h:
6092         * paragraph.C:
6093         * paragraph_pimpl.h:
6094         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6095           in the current change to the insert functions. Rework erase to
6096           mark text as deleted, adding an eraseIntern() and a range-based
6097           erase(). Implement per-paragraph change lookup and
6098           accept/reject.
6099
6100         * paragraph_funcs.C: Fixup paste for change tracking.
6101
6102         * tabular.C: mark added row/columns as new.
6103
6104         * text.C: fix rowLast() to never return -1. Don't allow
6105           spellchecking of deleted text. Track transpose changes. Don't
6106           allow paragraph break or merge where appropriate.
6107
6108         * text2.C: leave cursor at end of selection after a cut.
6109
6110 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6111
6112         * text.C (getLengthMarkerHeight):
6113         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6114         visible on screen too.
6115
6116 2003-02-07  John Levon  <levon@movementarian.org>
6117
6118         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6119
6120 2003-02-05  Angus Leeming  <leeming@lyx.org>
6121
6122         * lyxserver.C (read_ready): revert my patch of 11 September last year
6123         as it sends PC cpu through the roof. Presumably this means that
6124         the lyxserver will no longer run on an Alpha...
6125
6126 2003-01-30  Angus Leeming  <leeming@lyx.org>
6127
6128         * factory.C (createInset): create an InsetCommandParam of type "index"
6129         and use it to 'do the right thing'.
6130
6131         * text2.C (getStringToIndex): ensure that cursor position is always
6132         reset to the reset_cursor position.
6133
6134 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6135
6136         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6137         disabled.
6138
6139 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6140
6141         * bufferview.C:
6142         * lyxcb.C:
6143         * lyxfunc.C: Output messages with identical spelling, punctuation,
6144         and spaces
6145
6146 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6147
6148         * MenuBackend.C (expandFormats): List only viewable export formats
6149         in "View" menu
6150
6151         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6152         message
6153
6154         * lyxfunc.C (getStatus): Make sure that formats other than
6155         "fax" can also be disabled
6156
6157 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * text3.C (dispatch): put the lfuns that insert insets in 3
6160         groups, and call doInsertInset with appropriate arguments.
6161         (doInsertInset): new function, that creates an inset and inserts
6162         it according to some boolean parameters.
6163
6164 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * buffer.C (readFile): remember to pass on 'par' when calling
6167         readFile recursively.
6168
6169 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6170
6171         * MenuBackend.C (expandFormats): add "..." to import formats.
6172
6173 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6174
6175         * paragraph.C (asString): Remove XForms RTL hacks.
6176
6177 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6178         * buffer.C: fix typo
6179
6180 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * Makefile.am (LIBS): delete var
6183         (lyx_LDADD): add @LIBS@ here instead.
6184
6185 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6186
6187         * Clarify the meaning of "wheel mouse jump"
6188
6189 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6190
6191         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6192         tabular in a float
6193
6194 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6195
6196         * importer.C (Loaders): do not preallocate 3 elements in the
6197         vector, since one ends up with 6 elements otherwise
6198
6199 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6200
6201         * DepTable.C (write): write the file name as last element of the
6202         .dep file (because it may contain spaces)
6203         (read): read info in the right order
6204
6205 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6206
6207         * paragraph_pimpl.C (simpleTeXBlanks):
6208         (simpleTeXSpecialChars):
6209         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6210
6211         * tabular.C (latex): add some missing case statements. Reindent.
6212
6213         * MenuBackend.C (expandToc): remove unused variable.
6214
6215 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6216
6217         * LColor.C:
6218         * LaTeX.C:
6219         * LyXAction.C:
6220         * MenuBackend.C:
6221         * buffer.C:
6222         * exporter.C:
6223         * lyxfunc.C:
6224         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6225         and the like.
6226
6227 2003-01-05  John Levon  <levon@movementarian.org>
6228
6229         * BufferView.h:
6230         * BufferView.C: add getEncoding()
6231
6232         * kbsequence.h:
6233         * kbsequence.C: do not store last keypress
6234
6235         * lyxfunc.h:
6236         * lyxfunc.C: store last keypress here instead. Pass encoding
6237           to getISOEncoded()
6238
6239 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6240
6241         * lyx_main.C (init): remove annoying error message when following
6242         symbolic links (bug #780)
6243
6244 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6245
6246         * text.C (insertChar):
6247         * lyxrc.C (getDescription): remove extra spaces
6248
6249 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6250
6251         * lyxrc.C (getDescription): remove extra spaces
6252
6253 2002-12-20  John Levon  <levon@movementarian.org>
6254
6255         * text3.C: hack fix for page up/down across tall rows
6256
6257 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6258
6259         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6260         not been invoked
6261
6262 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6263
6264         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6265         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6266         thesaurus is not compiled in
6267
6268 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6269
6270         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6271
6272 2002-12-16  Angus Leeming  <leeming@lyx.org>
6273
6274         * lyxrc.[Ch]:
6275         * lyx_main.C (init): remove override_x_deadkeys stuff.
6276
6277 2002-12-12  John Levon  <levon@movementarian.org>
6278
6279         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6280           insert. Only remove shift modifier under strict
6281           circumstances.
6282
6283 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * MenuBackend.C (expandToc): fix crash.
6286
6287 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * MenuBackend.C (expandToc): gettext on float names.
6290
6291 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6292
6293         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6294         implement bool empty() [bug 490]
6295
6296 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6299
6300 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * several files: ws changes
6303
6304 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * text2.C (setCounter): clean up a bit, use boost.format.
6307         (updateCounters): initialize par upon declaration.
6308
6309         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6310         if the layout exists. We do not just store the layout any more.
6311         (SwitchLayoutsBetweenClasses): use boost.format
6312
6313 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6314
6315         * converter.C (convert): if from and to files are the same, use a
6316         temporary files as intermediary
6317
6318 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6319
6320         * commandtags.h:
6321         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6322
6323 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6324
6325         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6326
6327 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6328
6329         * tabular.C (asciiPrintCell): use string(size, char) instead of
6330         explicit loop.
6331
6332         * sgml.C (openTag): fix order of arguments to string constructor
6333         (closeTag): ditto
6334
6335         * lyxfunc.C (dispatch): use boost.format
6336
6337         * lots of files: change "c" -> 'c'
6338
6339 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6340
6341         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6342
6343 2002-11-25  Angus Leeming  <leeming@lyx.org>
6344
6345         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6346
6347         * lyx_main.C (init): compile fix.
6348
6349 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * lyx_cb.C (start): boost.formatify
6352         do not include <iostream>
6353
6354         * lengthcommon.C: ws only
6355
6356         * boost-inst.C,BoostFormat.h: add more explict instantations
6357
6358 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * lots of files: handle USE_BOOST_FORMAT
6361
6362 2002-11-21  John Levon  <levon@movementarian.org>
6363
6364         * pspell.C: fix compile
6365
6366 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6367
6368         * lyxfunc.C (dispatch): use boost::format
6369         (open): ditto
6370         (doImport): ditto
6371
6372         * lyxfont.C (stateText): use boost::format
6373
6374         * lyx_main.C (LyX): use boost::format
6375         (init): ditto
6376         (queryUserLyXDir): ditto
6377         (readRcFile): ditto
6378         (parse_dbg): ditto
6379         (typedef boost::function): use the recommened syntax.
6380
6381         * importer.C (Import): use boost::format
6382
6383         * debug.C (showLevel): use boost::format
6384
6385         * converter.C (view): use boost::format
6386         (convert): ditto
6387         (move): ditto
6388         (scanLog): ditto
6389
6390         * bufferview_funcs.C (currentState): use boost::format
6391
6392         * bufferlist.C (emergencyWrite): use boost::format
6393
6394         * buffer.C (readLyXformat2): use boost::format
6395         (parseSingleLyXformat2Token): ditto
6396
6397         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6398
6399         * LaTeX.C (run): use boost::format
6400
6401         * Chktex.C (scanLogFile): use boost::format
6402
6403         * BufferView_pimpl.C (savePosition): use boost::format
6404         (restorePosition): ditto
6405         (MenuInsertLyXFile): ditto
6406
6407         * BoostFormat.h: help file for explicit instation.
6408
6409 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6410
6411         * tabular.C (latex): Support for block alignment in fixed width
6412         columns.
6413
6414 2002-11-17  John Levon  <levon@movementarian.org>
6415
6416         * BufferView_pimpl.C:
6417         * lyx_cb.C:
6418         * lyxfunc.C: split filedialog into open/save
6419
6420 2002-11-08  Juergen Vigna  <jug@sad.it>
6421
6422         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6423         by my last patch (hopefully).
6424
6425 2002-11-08  John Levon  <levon@movementarian.org>
6426
6427         * iterators.h:
6428         * iterators.C:
6429         * buffer.h:
6430         * buffer.C:
6431         * paragraph.h:
6432         * paragraph.C:
6433         * toc.h:
6434         * toc.C: ParConstIterator, and use it (from Lars)
6435
6436 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6437
6438         * lyxtextclass.[Ch]: revise and add doxygen comments
6439
6440 2002-11-07  John Levon  <levon@movementarian.org>
6441
6442         * text.C: fix progress value for spellchecker
6443
6444         * toc.C: fix navigate menu for insetwrap inside minipage
6445
6446         * paragraph_funcs.C: added FIXME for suspect code
6447
6448 2002-11-07  John Levon  <levon@movementarian.org>
6449
6450         * BufferView_pimpl.C: fix redrawing of insets
6451           on buffer switch
6452
6453 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6454
6455         * text2.C (updateCounters): fix bug 668
6456
6457 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6458
6459         * text3.C (dispatch): Do not make the buffer dirty when moving the
6460         cursor.
6461
6462 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * vc-backend.C: STRCONV
6465         (scanMaster): ditto
6466
6467         * text2.C (setCounter): STRCONV
6468
6469         * paragraph.C (asString): STRCONV
6470
6471         * lyxlength.C (asString): STRCONV
6472         (asLatexString): ditto
6473
6474         * lyxgluelength.C (asString): STRCONV
6475         (asLatexString): ditto
6476
6477         * lyxfunc.C (dispatch): STRCONV
6478         (open): ditto
6479
6480         * lyxfont.C (stateText): STRCONV
6481
6482         * importer.C (Import): STRCONV
6483
6484         * counters.C (labelItem): STRCONV
6485         (numberLabel): ditto
6486         (numberLabel): remove unused ostringstream o
6487
6488         * chset.C: STRCONV
6489         (loadFile): ditto
6490
6491         * bufferview_funcs.C (currentState): STRCONV
6492
6493         * buffer.C (readFile): STRCONV
6494         (asciiParagraph): ditto
6495         (makeLaTeXFile): ditto
6496
6497         * Spacing.C (writeEnvirBegin): STRCONV
6498
6499         * LaTeXFeatures.C (getLanguages): STRCONV
6500         (getPackages): ditto
6501         (getMacros): ditto
6502         (getBabelOptions): ditto
6503         (getTClassPreamble): ditto
6504         (getLyXSGMLEntities): ditto
6505         (getIncludedFiles): ditto
6506
6507         * LaTeX.C: STRCONV
6508         (run): ditto
6509         (scanAuxFile): ditto
6510         (deplog): ditto
6511
6512         * LString.h: add the STRCONV macros
6513
6514         * BufferView_pimpl.C (savePosition): STRCONV
6515         (restorePosition): ditto
6516         (MenuInsertLyXFile): ditto
6517
6518         * vc-backend.C (scanMaster): change from submatch[...] to
6519         submatch.str(...)
6520
6521         * funcrequest.C: include config.h
6522
6523         * factory.C: include config.h
6524
6525         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6526
6527         * box.C: include config.h
6528
6529         * LaTeX.C (scanAuxFile): change from submatch[...] to
6530         submatch.str(...)
6531         (deplog): ditto
6532
6533 2002-10-25  Angus Leeming  <leeming@lyx.org>
6534
6535         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6536
6537         * ispell.[Ch] (setError): new method.
6538         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6539         Use setError() insetead of goto END.
6540
6541         * lyx_cb.C (AutoSave): move out child process into new class
6542         AutoSaveBuffer.
6543
6544 2002-10-30  John Levon  <levon@movementarian.org>
6545
6546         * text3.C: make start appendix undoable
6547
6548 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6549
6550         * lyxlength.C (inPixels): Fix returned value.
6551
6552         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6553         environment.
6554
6555 2002-10-24  Angus Leeming  <leeming@lyx.org>
6556
6557         * lyxgluelength.h: no need to forward declare BufferParams
6558         or BufferView, so don't.
6559
6560 2002-10-21  John Levon  <levon@movementarian.org>
6561
6562         * BufferView.C: menuUndo ->undo, redo
6563
6564         * BufferView.h: document, remove dead, make some methods private
6565
6566         * paragraph_funcs.h:
6567         * paragraph_funcs.C:
6568         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6569
6570         * buffer.h:
6571         * buffer.C:
6572         * sgml.h:
6573         * sgml.C: move sgml open/close tag into sgml.C
6574
6575         * bufferview_funcs.h: unused prototype
6576
6577         * lyxfunc.h:
6578         * lyxfunc.C: remove unused
6579
6580         * lyxtext.h:
6581         * text.C: remove unused
6582
6583 2002-10-21  John Levon  <levon@movementarian.org>
6584
6585         * BufferView.h:
6586         * BufferView.C:
6587         * BufferView_pimpl.h:
6588         * BufferView_pimpl.C: fix mouse wheel handling based on
6589           patch from Darren Freeman
6590
6591 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6592
6593         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6594
6595 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6596
6597         * lyxlength.C (inPixels): Fix hanfling of negative length.
6598         Fix LyXLength::MU case.
6599
6600 2002-10-16  John Levon  <levon@movementarian.org>
6601
6602         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6603
6604 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6605
6606         * converter.C (view): add support for $$i (file name) and $$p
6607         (file path) for the viewer command. If $$i is not specified, then
6608         it is appended to the command (for compatibility with old syntax)
6609
6610 2002-10-14  Juergen Vigna  <jug@sad.it>
6611
6612         * undo_funcs.C (textHandleUndo): alter the order in which the
6613         new undopar is added to the LyXText, as we have to set first
6614         the right prev/next and then add it as otherwise the rebuild of
6615         LyXText is not correct. Also reset the cursor to the right paragraph,
6616         with this IMO we could remove the hack in "redoParagraphs()".
6617
6618 2002-10-09  Angus Leeming  <leeming@lyx.org>
6619
6620         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6621         to turn off an optimisation if a new inset is to be inserted.
6622
6623 2002-10-11 André Pönitz <poenitz@gmx.net>
6624
6625         * lyxtext.h: make some functions public to allow access
6626         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6627
6628 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6629
6630         * text3.C (dispatch): when changing layout, avoid an infinite loop
6631         [bug #652]
6632
6633 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6634
6635         * lyxrc.C (read): treat a viewer or converter command of "none" as
6636         if it were empty.
6637
6638         * MenuBackend.C (expandFormats): for an update, also allow the
6639         formats that are not viewable
6640
6641         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6642         script if it is newer than the lyxrc.defaults in user directory
6643
6644 2002-10-07 André Pönitz <poenitz@gmx.net>
6645
6646         * text.C: Vitaly Lipatov's small i18n fix
6647
6648 2002-09-25  Angus Leeming  <leeming@lyx.org>
6649
6650         * ispell.h: doxygen fix.
6651
6652 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6653
6654         * buffer.h (readFile): Add a new argument to the method, to allow
6655         reading of old-format templates.
6656
6657 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6658
6659         * toc.C (getTocList): Get TOC from InsetWrap.
6660
6661 2002-09-16  John Levon  <levon@movementarian.org>
6662
6663         * lyxfunc.C: check tabular for cut/copy too
6664
6665 2002-09-12  John Levon  <levon@movementarian.org>
6666
6667         * LyXAction.C: tidy
6668
6669         * factory.h:
6670         * factory.C: add header
6671
6672         * paragraph_funcs.h:
6673         * paragraph_funcs.C: cleanup
6674
6675 2002-09-11  John Levon  <levon@movementarian.org>
6676
6677         * PrinterParams.h: odd/even default to true
6678
6679 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6680
6681         * PrinterParams.h: update printer parameters for new xforms dialog
6682
6683 2002-09-11  Angus Leeming  <leeming@lyx.org>
6684
6685         * lyxserver.C (read_ready): re-write to make it more transparent
6686         and to make it work in coherent fashion under Tru64 Unix.
6687
6688 2002-09-11  André Pönitz <poenitz@gmx.net>
6689
6690         * commandtags.h:
6691         * LyXAction.C:
6692         * text3.C: implement LFUN_WORDSEL
6693
6694 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6697         make floatlist_ a boost::shared_ptr<FloatList>
6698
6699         * lyxtextclass.C: include FloatList.h
6700         (LyXTextClass): initialize floatlist_
6701         (TextClassTags): add TC_NOFLOAT
6702         (Read): match "nofloat" to TC_NOFLOAT and use it.
6703         (readFloat): modify call to floatlist_
6704         (floats): ditto
6705         (floats): ditto
6706
6707         * FloatList.[Ch] (FloatList): remove commented out float
6708         initialization.
6709         (erase): new function
6710
6711 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6712
6713         * MenuBackend.C (expandToc): fix crash when there is no document
6714         open
6715
6716 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6717
6718         * many files: Add insetwrap.
6719
6720 2002-09-09  John Levon  <levon@movementarian.org>
6721
6722         * text2.C: remove confusing and awkward depth wraparound
6723
6724 2002-09-09  John Levon  <levon@movementarian.org>
6725
6726         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6727
6728         * buffer.h:
6729         * buffer.C: remove getIncludeonlyList()
6730
6731         * paragraph.C:
6732         * lyxfunc.C: remove headers
6733
6734 2002-09-09  Juergen Vigna  <jug@sad.it>
6735
6736         * text.C (getColumnNearX): fix form Michael this is most
6737         probably a cut&paste bug.
6738
6739 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6742
6743         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6744         references, ws changes.
6745
6746         * text2.C (init): update counters after init
6747         (insertParagraph): no need to set counter on idividual paragraphs.
6748         (setCounter): access the counters object in the textclass object
6749         on in the buffer object.
6750         (updateCounters): ditto
6751
6752         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6753         shared_ptr<Counters> to avoid loading counters.h in all
6754         compilation units.
6755         (LyXTextClass): initialize ctrs_
6756         (TextClassTags): add TC_COUNTER, and ...
6757         (Read): use it here.
6758         (CounterTags): new tags
6759         (readCounter): new function
6760         (counters): new funtion
6761         (defaultLayoutName): return a const reference
6762
6763         * counters.C (Counters): remove contructor
6764         (newCounter): remove a couple of unneeded statements.
6765         (newCounter): simplify a bit.
6766         (numberLabel): some small formatting changes.
6767
6768         * buffer.[Ch]: remove all traces of counters, move the Counters
6769         object to the LyXTextClass.
6770
6771 2002-09-06  Alain Castera  <castera@in2p3.fr>
6772
6773         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6774         package to set the horizontal alignment on fixed width columns.
6775
6776         * lyx_sty.C:
6777         * lyx_sty.h: added tabularnewline macro def.
6778
6779         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6780
6781 2002-09-06  John Levon  <levon@movementarian.org>
6782
6783         * LyXAction.C: tooltips for sub/superscript
6784
6785         * MenuBackend.C: a bit more verbose
6786
6787         * lyxfunc.C: tiny clean
6788
6789         * undo_funcs.C: document undo_frozen
6790
6791 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * counters.C (Counters): add missing algorithm counter.
6794
6795         * text2.C (setCounter): lookup the counter with layouts latexname
6796         instead of by section number.
6797         (setCounter): use a hackish way to lookup the correct enum
6798         counter.
6799         a float name->type change
6800         reset enum couners with counter name directly instead of depth value.
6801
6802         * counters.C (Counters): remove the push_backs, change to use the
6803         float type not the float name.
6804         (labelItem): remove unused string, float name->type change
6805
6806         * counters.h: don't include vector, loose the enums and sects vectors
6807
6808 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6811         (Read): add float->TC_FLOAT to textclassTags
6812         (Read): and handle it in the switch
6813         (readFloat): new function
6814
6815         * FloatList.C (FloatList): comment out the hardcoded float
6816         definitions.
6817
6818         * lyxlayout.h: ws change.
6819
6820 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6821
6822         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6823
6824 2002-09-03  Angus Leeming  <leeming@lyx.org>
6825
6826         * BufferView_pimpl.h: qualified name is not allowed in member
6827         declaration: WorkArea & Pimpl::workarea() const;
6828
6829         * factory.C: added using std::endl directive.
6830
6831         * text3.C: added using std::find and std::vector directives.
6832
6833 2002-08-29  André Pönitz <poenitz@gmx.net>
6834
6835         * lyxtext.h:
6836         * text2.C: remove unused member number_of_rows
6837
6838         * Makefile.am:
6839         * BufferView2.C: remove file, move contents to...
6840         * BufferView.C: ... here
6841
6842         * BufferView_pimpl.C:
6843         * factory.C: move more inset creation to factory
6844
6845         * vspace.C: avoid direct usage of LyXText, ws changes
6846
6847         * BufferView.[Ch]:
6848                 don't provide direct access to WorkArea, use two simple
6849                 acessors haveSelction() and workHeight() instead
6850
6851
6852 2002-08-29  John Levon  <levon@movementarian.org>
6853
6854         * BufferView_pimpl.C (dispatch): do not continue when
6855           no buffer
6856
6857 2002-08-28  André Pönitz <poenitz@gmx.net>
6858
6859         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6860
6861         * BufferView.h:
6862         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6863
6864 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6865
6866         * buffer.C: increment LYX_FORMAT to 221
6867
6868         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6869         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6870
6871         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6872
6873         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6874
6875 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6876
6877         * factory.C (createInset): use LyXTextClass::floats
6878
6879         * MenuBackend.C (expandFloatListInsert):
6880         (expandFloatInsert):
6881         (expandToc):
6882
6883         * text2.C (setCounter):
6884
6885         * LaTeXFeatures.C (useFloat):
6886         (getFloatDefinitions):
6887
6888         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6889
6890         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6891         floatlist_, with accessor floats().
6892
6893         * FloatList.h: remove global FloatList
6894
6895 2002-08-26  André Pönitz <poenitz@gmx.net>
6896
6897         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6898
6899         * BufferView.h:
6900         * BufferView2.C:
6901         * BufferView_pimpl.C:
6902         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6903
6904 2002-08-25  John Levon  <levon@movementarian.org>
6905
6906         * LyXAction.C: fix margin note description
6907
6908 2002-08-24  John Levon  <levon@movementarian.org>
6909
6910         * buffer.C:
6911         * bufferlist.C:
6912         * bufferview_funcs.C:
6913         * lyxfont.C:
6914         * undo_funcs.C: cleanups
6915
6916         * lyxfunc.C: disable CUT/COPY when no selection
6917
6918 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6919
6920         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6921         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6922
6923         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6924         Add backward compatibility to "mono", "gray" and "no".
6925
6926 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6927
6928         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6929         (and file_format >= 200).
6930
6931 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6932
6933         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6934
6935 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6936
6937         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6938
6939 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6940
6941         * BufferView_pimpl.C:
6942         * LyXAction.C:
6943         * buffer.C:
6944         * commandtags.h:
6945         * lyxfunc.C:
6946         * paragraph.[Ch]:
6947         * text2.C:
6948         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6949         inset and code to make it  work with the paragraph code. The inset
6950         can be anywhere in the paragraph, but will only do the expected
6951         thing in LaTeX if the layout file contains the parameter line
6952                         OptionalArgs    1
6953         (or more generally, a nonzero value) for that layout.
6954
6955 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6956
6957         * paragraph.h: remove the declaration of undefined counters class
6958         function.
6959
6960 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6961
6962         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6963         Dr. Richard Hawkins.
6964
6965 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6966
6967         * paragraph_funcs.h: remove some unneeded includes
6968
6969         * text.C (backspace): pasteParagraph now in global scipe
6970
6971         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6972         (pasteSelection): ditto
6973
6974         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6975         * paragraph_funcs.C (pasteParagraph): ... here
6976
6977 2002-08-20  André Pönitz <poenitz@gmx.net>
6978
6979         * commandtags.h: new LFUNs for swapping/copying table row/colums
6980
6981         * LyXAction.C:
6982         * lyxfunc.C: support for new lfuns
6983
6984 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * tabular.C:
6987         * buffer.[Ch]: remove NO_COMPABILITY stuff
6988
6989 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * boost.C (throw_exception): new file, with helper function for
6992         boost compiled without exceptions.
6993
6994         * paragraph.h:
6995         * lyxlength.C:
6996         * buffer.C:
6997         * ParameterStruct.h:
6998         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6999
7000         * bufferlist.C (emergencyWriteAll): use boost bind
7001
7002         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7003
7004         * text.C: include paragraph_funcs.h
7005         (breakParagraph): breakParagraph is now in global scope
7006
7007         * paragraph_funcs.[Ch]: new files
7008
7009         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7010         global scope
7011
7012         * buffer.C: include paragraph_funcs.h
7013         (insertStringAsLines): breakParagraph is now in global scope
7014
7015         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7016         paragraph_funcs.C
7017
7018         * CutAndPaste.C: include paragraph_funcs.h
7019         (cutSelection): breakParagraphConservative is now in global scope
7020         (pasteSelection): ditto
7021
7022         * buffer.h: declare oprator== and operator!= for
7023         Buffer::inset_iterator
7024
7025         * bufferlist.C (emergencyWrite): don't use fmt(...)
7026
7027         * text3.C: add using std::endl
7028
7029         * BufferView.C (moveCursorUpdate): remove default arg
7030
7031 2002-08-20  André Pönitz <poenitz@gmx.net>
7032
7033         * buffer.[Ch]: move inline functions to .C
7034
7035         * BufferView2.C:
7036         * BufferView_pimpl.C:
7037         * text.C:
7038         * buffer.[Ch]: use improved inset_iterator
7039
7040         * buffer.C:
7041         * paragraph.[Ch]: write one paragraph at a time
7042
7043 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7046         style if style is not specified.
7047
7048 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7049
7050         * text2.C (setCounter): when searching for right label for a
7051         caption, make sure to recurse to parent insets (so that a caption
7052         in a minipage in a figure float works) (bug #568)
7053
7054 2002-08-20  André Pönitz <poenitz@gmx.net>
7055
7056         * text3.C: new file for LyXText::dispatch() and helpers
7057
7058         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7059
7060         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7061
7062 2002-08-19  André Pönitz <poenitz@gmx.net>
7063
7064         * lyxtext.h:
7065         * text.C: new LyXText::dispatch()
7066
7067         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7068
7069 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7070
7071         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7072
7073         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7074         Hebrew text.
7075
7076 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7077
7078         * Makefile.am: use $(variables) instead of @substitutions@
7079
7080 2002-08-15  André Pönitz <poenitz@gmx.net>
7081
7082         * lyxfunc.C:
7083         * BufferView_pimpl.C: streamlining mathed <-> outer world
7084         interaction
7085
7086         * commandtags.h:
7087         * LyXAction.C: remove unused LFUN_MATH
7088
7089 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7092
7093 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * paragraph.C (Paragraph): reformat a bit
7096         (cutIntoMinibuffer): use builtin InsetList function instad of
7097         doing it manually.
7098         (getInset): ditto
7099
7100         * buffer.C: include boost/bind.hpp, add using std::for_each
7101         (writeFileAscii): use ParagraphList iterators
7102         (validate): use for_each for validate traversal of paragraphs
7103         (getBibkeyList): use ParagraphList iterators
7104         (resizeInsets): use for_each to resizeInsetsLyXText for all
7105         paragraphs.
7106         (getParFromID): use ParagraphList iterators
7107
7108         * BufferView2.C (lockInset): use paragraph list and iterators
7109
7110 2002-08-14  John Levon  <levon@movementarian.org>
7111
7112         * lyxserver.C: remove spurious xforms include
7113
7114 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7115
7116         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7117
7118 2002-08-13  André Pönitz <poenitz@gmx.net>
7119
7120         * LyXAction.[Ch]:
7121         * lyxfunc.C: further cleaning
7122
7123 2002-08-13  André Pönitz <poenitz@gmx.net>
7124
7125         * funcrequest.h: new constructor
7126
7127         * funcrequest.C: move stuff here from .h
7128
7129         * Makefile.am:
7130         * BufferView_pimpl.C:
7131         * LyXAction.C:
7132         * toc.C:
7133         * lyxfunc.C: subsequent changes
7134
7135         * lyxfunc.h: new view() member function
7136
7137         * lyxfunc.C: subsequent changes
7138
7139 2002-08-13  Angus Leeming  <leeming@lyx.org>
7140
7141         * BufferView2.C:
7142         * BufferView_pimpl.C:
7143         * buffer.C:
7144         * converter.C:
7145         * importer.C:
7146         * lyxfunc.C:
7147         * lyxvc.C:
7148         * toc.C:
7149         * vc-backend.C:
7150         changes due to the changed LyXView interface that now returns references
7151         to member variables not pointers.
7152
7153 2002-08-13  Angus Leeming  <leeming@lyx.org>
7154
7155         * WordLangTuple (word, lang_code): return references to strings,
7156         not strings.
7157
7158         * BufferView.h:
7159         * SpellBase.h:
7160         * lyxtext.h: forward-declare WordLangTuple.
7161
7162         * BufferView2.C:
7163         * ispell.C:
7164         * pspell.C:
7165         * text.C: #include "WordLangTuple.h".
7166
7167         * lyxtext.h:
7168         * text.C: (selectNextWordToSpellcheck): constify return type.
7169
7170 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7171
7172         * buffer.C:
7173         * buffer.h:
7174         * lyxtext.h:
7175         * paragraph.C:
7176         * paragraph_pimpl.h:
7177         * text.C:
7178         * text2.C:
7179         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7180         suggested by Angus.
7181         Made updateCounter always count from start of buffer, and removed
7182         second argument (par).
7183         Reverted floats number display to '#'. Perhaps I'll try again when the
7184         code base is sanitized a bit.
7185
7186 2002-08-12  Angus Leeming  <leeming@lyx.org>
7187
7188         * buffer.[Ch] (getLabelList): constify.
7189
7190 2002-08-07  André Pönitz <poenitz@gmx.net>
7191
7192         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7193
7194         * funcrequest.h: extension to keep mouse (x,y) position
7195
7196 2002-08-12  Juergen Vigna  <jug@sad.it>
7197
7198         * BufferView2.C (insertErrors): forbid undo when inserting error
7199         insets.
7200
7201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7202
7203 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * ParagraphList.[Ch]: new files
7206
7207         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7208
7209         * BufferView2.C (lockInset): ParagraphList changes
7210         * toc.C: ditto
7211         * text2.C: ditto
7212         * bufferlist.C: ditto
7213         * buffer.h: ditto
7214         * buffer.C: ditto
7215
7216 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7219         unused class variable counter_,
7220
7221         * paragraph.[Ch] (getFirstCounter): delete unused function
7222
7223         * counters.C: include LAssert.h
7224         (reset): add a new function with no arg, change other version to
7225         not have def. arg and to not allow empty arg.
7226
7227         * text2.C (setCounter): remove empty arg from call to Counters::reset
7228
7229 2002-08-11  John Levon  <levon@movementarian.org>
7230
7231         * Makefile.am: add WordLangTuple.h
7232
7233 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7236         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7237
7238         * insets/insettext.C: InsetList changes
7239
7240         * graphics/GraphicsSupport.C (operator()): InsetList changes
7241
7242         * toc.C (getTocList): InsetList changes
7243
7244         * paragraph_pimpl.[Ch]: InsetList changes
7245
7246         * paragraph.[Ch]: InsetList changes
7247
7248         * buffer.C (inset_iterator): InsetList changes
7249         (setParagraph): ditto
7250         * buffer.h (inset_iterator): ditto
7251         * iterators.C (operator++): ditto
7252         * iterators.h: ditto
7253
7254         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7255
7256         * InsetList.[Ch]: new files, most InsetList handling moved out of
7257         paragraph.C.
7258
7259         * BufferView2.C (removeAutoInsets): InsetList changes
7260         (lockInset): ditto
7261         (ChangeInsets): ditto
7262
7263 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * paragraph_pimpl.h (empty): new function
7266
7267         * paragraph.[Ch] (empty): new function
7268
7269         * other files: use the new Paragraph::empty function
7270
7271 2002-08-09  John Levon  <levon@movementarian.org>
7272
7273         * lyxtext.h: remove unused refresh_height
7274
7275 2002-08-09  John Levon  <levon@movementarian.org>
7276
7277         * Makefile.am:
7278         * sgml.h:
7279         * sgml.C:
7280         * buffer.C:
7281         * paragraph.h:
7282         * paragraph.C: move sgml char escaping out of paragraph
7283
7284         * paragraph.h:
7285         * paragraph.C: remove id setter
7286
7287         * buffer.C:
7288         * paragraph.C:
7289         * paragraph_pimpl.C: remove dead tex_code_break_column
7290
7291         * bufferview_funcs.C: small cleanup
7292
7293         * lyxfunc.C: remove dead proto
7294
7295         * lyxtext.h: make some stuff private. Remove some dead stuff.
7296
7297         * lyxgluelength.C: make as[LyX]String() readable
7298
7299 2002-08-08  John Levon  <levon@movementarian.org>
7300
7301         * LyXAction.h:
7302         * LyXAction.C:
7303         * MenuBackend.C:
7304         * ToolbarDefaults.C:
7305         * lyxfunc.C:
7306         * lyxrc.C:
7307         * toc.C: lyxaction cleanup
7308
7309 2002-08-08  John Levon  <levon@movementarian.org>
7310
7311         * BufferView2.C: small cleanup
7312
7313         * lyxfind.h:
7314         * lyxfind.C: move unnecessary header into the .C
7315
7316 2002-08-08  John Levon  <levon@movementarian.org>
7317
7318         * funcrequest.h: just tedious nonsense
7319
7320         * lyx_main.h:
7321         * lyx_main.C: cleanups
7322
7323         * buffer.C:
7324         * vspace.C: remove dead header lyx_main.h
7325
7326 2002-08-07  Angus Leeming  <leeming@lyx.org>
7327
7328         * Paragraph.[Ch]:
7329         * paragraph_pimpl.h:
7330         Forward declare class Counters in paragraph.h by moving the ctrs member
7331         variable into Paragraph::Pimpl.
7332         (counters): new method, returning a reference to pimpl_->ctrs.
7333
7334         * text2.C: ensuing changes.
7335
7336 2002-08-07  John Levon  <levon@movementarian.org>
7337
7338         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7339
7340         * BufferView_pimpl.C: announce X selection on double/triple
7341           click
7342
7343         * lyx_main.C: use correct bool in batch dispatch
7344
7345         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7346
7347 2002-08-07  André Pönitz <poenitz@gmx.net>
7348
7349         * funcrequest.h: new class to wrap a kb_action and its argument
7350
7351         * BufferView.[Ch]:
7352         * BufferView_pimpl[Ch]:
7353         * LaTeX.C:
7354         * LyXAction.[Ch]:
7355         * lyxfunc.[Ch]:
7356         * lyxrc.C: subsequent changes
7357
7358
7359 2002-08-07  John Levon  <levon@movementarian.org>
7360
7361         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7362           document options change.
7363
7364 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7365
7366         * counters.[Ch]
7367         * text2.C
7368         * paragraph.[Ch]
7369         * makefile.am: move counters functionality over from
7370         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7371
7372 2002-08-06  John Levon  <levon@movementarian.org>
7373
7374         * WordLangTuple.h: new file for word + language code tuple
7375
7376         * SpellBase.h:
7377         * pspell.h:
7378         * pspell.C:
7379         * ispell.h:
7380         * ispell.C:
7381         * lyxtext.h:
7382         * text.C:
7383         * text2.C:
7384         * BufferView.h:
7385         * BufferView2.C: use WordLangTuple
7386
7387         * layout.h:
7388         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7389
7390 2002-08-06  John Levon  <levon@movementarian.org>
7391
7392         * lyx_main.C: fix cmdline batch handling
7393
7394 2002-08-06  André Pönitz <poenitz@gmx.net>
7395
7396         * lyxrc.C: set default for show_banner to true
7397
7398 2002-08-06  John Levon  <levon@movementarian.org>
7399
7400         * pspell.C: fix a crash, and allow new aspell to work
7401
7402 2002-08-06  John Levon  <levon@movementarian.org>
7403
7404         * lyxfunc.C:
7405         * kbmap.C: small cleanup
7406
7407         * vspace.h:
7408         * vspace.C: add const
7409
7410 2002-08-05  John Levon  <levon@movementarian.org>
7411
7412         * LyXAction.C: back to tabular-insert
7413
7414 2002-08-04  John Levon  <levon@movementarian.org>
7415
7416         * BufferView.h:
7417         * BufferView.C: cosmetic change
7418
7419         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7420
7421         * bufferlist.C:
7422         * buffer.h:
7423         * buffer.C:
7424         * lyxcb.h:
7425         * lyxcb.C:
7426         * lyxserver.C:
7427         * lyxvc.C:
7428         * vc-backend.C:
7429         * BufferView2.C: purge all "Lyx" not "LyX" strings
7430
7431         * lyxcursor.h:
7432         * lyxcursor.C: attempt to add some documentation
7433
7434         * lyxfunc.C:
7435         * commandtags.h:
7436         * LyXAction.C:
7437         * ToolbarDefaults.C:
7438         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7439           merge with LFUN_TABULAR_INSERT
7440
7441         * Makefile.am:
7442         * SpellBase.h:
7443         * ispell.h:
7444         * ispell.C:
7445         * pspell.h:
7446         * pspell.C: split up i/pspell implementations into separate
7447           files, many cleanups
7448
7449         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7450
7451         * text2.C: some cleanup
7452
7453         * lyxfunc.C: don't check for isp_command == "none" any more, it
7454           didn't make any sense
7455
7456 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7457
7458         * counters.[Ch]
7459         * text2.C
7460         * paragraph.[Ch]
7461         * makefile.am: move counters functionality over
7462         from text2.C/paragraph.[Ch] to counters.[Ch], and
7463         make proper C++.
7464 2002-08-02  John Levon  <levon@movementarian.org>
7465
7466         * buffer.C: s/lyxconvert/lyx2lyx/
7467
7468 2002-08-02  Angus Leeming  <leeming@lyx.org>
7469
7470         * lyxlex.C: revert John's change as it breaks reading of the user
7471         preamble.
7472
7473 2002-08-02  Angus Leeming  <leeming@lyx.org>
7474
7475         * importer.C (Import):
7476         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7477         changes due to LyXView::view() now returning a boost::shared_ptr.
7478
7479 2002-08-02  John Levon  <levon@movementarian.org>
7480
7481         * lyxlex.C: small cleanup
7482
7483 2002-08-02  John Levon  <levon@movementarian.org>
7484
7485         * text2.C (status): small cleanup, no logic change
7486
7487 2002-08-01  John Levon  <levon@movementarian.org>
7488
7489         * buffer.h:
7490         * buffer.C (writeFile): don't output alerts, caller
7491           handles this
7492
7493         * bufferlist.C:
7494         * lyx_cb.C: from above
7495
7496         * lyxfunc.C: allow to open non-existent files
7497
7498 2002-07-31  John Levon  <levon@movementarian.org>
7499
7500         * lyxserver.C: don't let incidental errors get
7501           in the way (errno)
7502
7503 2002-07-30  John Levon  <levon@movementarian.org>
7504
7505         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7506
7507 2002-07-30  John Levon  <levon@movementarian.org>
7508
7509         * lyxserver.h:
7510         * lyxserver.C: remove I/O callback too
7511
7512 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7513
7514         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7515         log.
7516
7517 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * many files: strip,frontStrip -> trim,ltrim,rtrim
7520
7521 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * PrinterParams.h: remove extern containsOnly, and include
7524         support/lstrings.h instead.
7525
7526         * LaTeX.C (scanAuxFile): modify because of strip changes
7527         (deplog): ditto
7528         * buffer.C (makeLaTeXFile): ditto
7529         * bufferparams.C (writeFile): ditt
7530         * lyxfont.C (stateText): ditto
7531         * lyxserver.C (read_ready): ditto
7532         * vc-backend.C (scanMaster): ditto
7533
7534         * BufferView_pimpl.h: ws changes
7535
7536         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7537
7538 2002-07-26  André Pönitz <poenitz@gmx.net>
7539
7540         * kb_sequence.C: remove unnedred usings
7541
7542 2002-07-26  Juergen Vigna  <jug@sad.it>
7543
7544         * lyxfind.C (LyXReplace): we have to check better if the returned
7545         text is not of theLockingInset()->getLockingInset().
7546
7547 2002-07-25  Juergen Vigna  <jug@sad.it>
7548
7549         * lyxfind.C (LyXReplace): don't replace if we don't get the
7550         right LyXText.
7551
7552         * undo_funcs.C (createUndo): remove debugging code.
7553
7554 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7555
7556         * buffer.C (parseSingleLyXformat2Token): Use default placement
7557         when reading old floats.
7558
7559         * FloatList.C (FloatList): Change the default placement of figure
7560         and tables to "tbp".
7561
7562 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7563
7564         * MenuBackend.C: using std::max
7565
7566 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * MenuBackend.C (expandToc):
7569         (expandToc2): code moved from xforms menu frontend. It is now
7570         generic and TOCs are transparent to menu frontends.
7571
7572 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7573
7574         * toc.C (getTocList): protect against buf=0
7575
7576         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7577         Menu as first parameter. Now, this calls itself recursively to
7578         expand a whole tree (this will be useful for TOC handling)
7579         (expandFloatInsert): remove 'wide' version of floats
7580
7581         * MenuBackend.h (submenuname): returns the name of the submenu.
7582         (submenu): returns the submenu itself, provided it has been
7583         created by MenuBackend::expand
7584
7585 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7586
7587         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7588         insets which have noFontChange == true. (bug #172)
7589
7590 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7591
7592         * BufferView_pimpl.C: add connection objects and use them...
7593         (Pimpl): here.
7594
7595 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7596
7597         * MenuBackend.C (expandLastfiles):
7598         (expandDocuments):
7599         (expandFormats):
7600         (expandFloatListInsert):
7601         (expandFloatInsert):
7602         (expand): split expand in parts
7603
7604 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7605
7606         * lyx_gui.C: use lyx_gui::exit()
7607
7608 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * LyXAction.C: show the failing pseudo action
7611
7612 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7613
7614         * buffer.C (readFile): Run the lyxconvert script in order to read
7615         old files.
7616
7617 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * LyXAction.C:
7620         * commandtags.h:
7621         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7622
7623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * LyXAction.C:
7626         * commandtags.h:
7627         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7628
7629 2002-07-22  Herbert Voss  <voss@lyx.org>
7630
7631         * lengthcommon.C:
7632         * lyxlength.[Ch]: add support for the vertical lengths
7633
7634 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7635
7636         * toc.[Ch]: std:: fixes
7637
7638 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7639
7640         * lyxrc.C: do not include lyx_main.h
7641
7642         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7643         for layouts
7644
7645         * lyxrc.C:
7646         * encoding.C:
7647         * bufferlist.C:
7648         * BufferView2.C: include "lyxlex.h"
7649
7650         * tabular.h:
7651         * bufferparams.h: do not #include "lyxlex.h"
7652
7653         * lyxtextclasslist.C (Add): remove method
7654         (classlist): renamed to classlist_
7655
7656         * paragraph_pimpl.C:
7657         * paragraph.C:
7658         * text2.C:
7659         * CutAndPaste.C:
7660         * bufferview_funcs.C:
7661         * bufferlist.C:
7662         * text.C:
7663         * LaTeXFeatures.C:
7664         * buffer.C:
7665         * toc.C (getTocList): use BufferParams::getLyXTextClass
7666
7667         * toc.C (getTocList): use InsetFloat::addToToc
7668
7669         * toc.[Ch]: new files, containing helper functions to handle table
7670         of contents
7671
7672         * lyxfunc.C (dispatch): no need to remove spaces around command
7673         given as a string
7674         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7675         first command of the sequence; it is not very clever, but I do not
7676         have a better idea, actually
7677
7678         * LyXAction.C (LookupFunc): make sure to remove space at the
7679         beginning and end of the command
7680
7681 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7682
7683         * MenuBackend.C (getMenubar): new method: return the menubar of
7684         this menu set
7685         (read): treat differently reading of menu and menubar (in
7686         particular, the menubar has no name now)
7687         (Menu::menubar): remove
7688
7689         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7690         saving is finished
7691
7692 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7693
7694         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7695         a bibitem inset in a RTL paragraph.
7696
7697 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7698
7699         * paragraph_pimpl.C: constify
7700
7701         * BufferView_pimpl.C:
7702         * LaTeX.C:
7703         * lyxfunc.C: fix dispatch in a nicer way
7704
7705 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7706
7707         * lyxfunc.C (dispatch):
7708         * BufferView_pimpl.C:
7709         * BufferView_pimpl.h:
7710         * BufferView.C:
7711         * BufferView.h: rename Dispatch() to dispatch()
7712
7713         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7714
7715         * lyxlayout.C (Read): honor DependsOn tag
7716
7717         * lyxlayout.[Ch] (depends_on): new method
7718
7719         * version.C.in: update lyx_docversion
7720
7721         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7722
7723         * paragraph.C (validate): remove from here...
7724         * paragraph_pimpl.C (validate): ... and move here
7725         (isTextAt): make it const
7726
7727         * buffer.C (getLists): ws cleanup
7728
7729 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7730
7731         * language.C (read): Use iso8859-1 encoding in latex_lang
7732         (this prevents LyX from crashing when using iso10646-1 encoding).
7733
7734 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7735
7736         * text2.C (toggleInset): if cursor is inside an inset, close the
7737         inset and leave cursor _after_ it
7738
7739 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7740
7741         * lyxfunc.C: move minibuffer completion handling out of here
7742
7743 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7744
7745         * BufferView_pimpl.C:
7746         * LaTeX.C: fix dispatch calls
7747
7748 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7749
7750         * text.C (drawChars): Fix Arabic text rendering.
7751
7752 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7753
7754         * LyXAction.C:
7755         * commandtags.h:
7756         * lyxfunc.C: remove message-push/pop
7757
7758         * lyxserver.C:
7759         * lyxfunc.h:
7760         * lyxfunc.C: rationalise some code by removing verboseDispatch
7761           in favour of a bool argument to dispatch()
7762
7763 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7764
7765         * lyx_main.C (init): make sure to read symlinks as absolute paths
7766
7767 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7768
7769         * lyxfunc.h:
7770         * lyxfunc.C: no need for commandshortcut to be a member
7771
7772 2002-07-15  André Pönitz <poenitz@gmx.net>
7773
7774         * converter.C: add support for $$s (scripts from lib/scripts dir)
7775         * lyx_main.C: white space
7776
7777 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7778
7779         * bufferlist.C:
7780         * lyxrc.h:
7781         * lyxrc.C: remove second exit confirmation
7782
7783 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7784
7785         * BufferView.h:
7786         * BufferView.C:
7787         * BufferView2.C:
7788         * BufferView_pimpl.h:
7789         * BufferView_pimpl.C:
7790         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7791
7792 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7793
7794         * MenuBackend.C (expand): add numeric shortcuts to document menu
7795
7796         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7797
7798 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7799
7800         * lyxfont.C (setLyXFamily):
7801         (setLyXSeries):
7802         (setLyXShape):
7803         (setLyXSize):
7804         (setLyXMisc):
7805         (lyxRead):
7806         * debug.C (value):
7807         * buffer.C (asciiParagraph): use ascii_lowercase
7808
7809 2002-07-15  Mike Fabian  <mfabian@suse.de>
7810
7811         * lyxlex_pimpl.C (search_kw):
7812         * lyxlex.C (getLongString):
7813         * converter.h (operator<):
7814         * converter.C (operator<):
7815         * buffer.C (parseSingleLyXformat2Token):
7816         (asciiParagraph):
7817         * ToolbarDefaults.C (read):
7818         * MenuBackend.C (checkShortcuts):
7819         (read):
7820         * LColor.C (getFromGUIName):
7821         (getFromLyXName): use the compare_ascii_no_case instead of
7822         compare_no_case, because in turkish, 'i' is not the lowercase
7823         version of 'I', and thus turkish locale breaks parsing of tags.
7824
7825 2002-07-16  Angus Leeming  <leeming@lyx.org>
7826
7827         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7828         now takes a Buffer const & argument.
7829
7830 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7831
7832         * BufferView.C (resize): check there's a buffer to resize
7833
7834 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7835
7836         * lyxfunc.C: remove dead code
7837
7838         * lyxserver.h:
7839         * lyxserver.C: use lyx_guii::set_read_callback
7840
7841 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7842
7843         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7844         an inset in a RTL paragraph.
7845
7846 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * lyxfunc.C: repaint after a font size update
7849
7850 2002-07-15  André Pönitz <poenitz@gmx.net>
7851
7852         * lyxlength.C: inBP should be able to return negative values
7853
7854 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * lyxfunc.C: use lyx_gui::update_fonts()
7857
7858 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * lyxfunc.C: use lyx_gui::update_color()
7861
7862 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7863
7864         * bufferlist.C:
7865         * lyxfunc.h:
7866         * lyxfunc.C:
7867         * lyxrc.h:
7868         * lyxrc.C: remove file->new asks for name option, and let
7869           buffer-new take an argument
7870
7871 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7872
7873         * BufferView_pimpl.C: remove unneeded extra repaint()
7874
7875 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7876
7877         * LyXAction.C: allow command-sequence with NoBuffer
7878
7879         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7880
7881 2002-07-10  Angus Leeming  <leeming@lyx.org>
7882
7883         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7884
7885 2002-07-09  Angus Leeming  <leeming@lyx.org>
7886
7887         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7888
7889 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7890
7891         * lengthcommon.h: whitespace
7892
7893         * lyxfunc.C: update scrollbar after goto paragraph
7894
7895         * lyxtext.h: factor out page break drawing, and fix it so
7896           page break/added space paints as selected nicely
7897
7898 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7899
7900         * BufferView_pimpl.C: add FIXMEs, clean up a little
7901
7902 2002-07-09  André Pönitz <poenitz@gmx.net>
7903
7904         * lyxfont.[Ch]: support for wasy symbols
7905
7906 2002-07-08  André Pönitz <poenitz@gmx.net>
7907
7908         * BufferView_pimpl.C: apply John's patch for #93.
7909
7910 2002-07-05  Angus Leeming  <leeming@lyx.org>
7911
7912         * BufferView_pimpl.C (buffer): generate previews if desired.
7913
7914         * LColor.h: add "preview" to the color enum.
7915
7916         * LColor.C (LColor): add a corresponding entry to the items array.
7917
7918         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7919         with this buffer.
7920
7921 2002-07-05  Angus Leeming  <leeming@lyx.org>
7922
7923         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7924         The body of the code is now in the method that is passed an ostream &
7925         rather than a file name.
7926         Pass an additional only_preamble parameter, useful for the forthcoming
7927         preview stuff.
7928
7929 2002-07-03  André Pönitz <poenitz@gmx.net>
7930
7931         * lyxfunc.C: simplify getStatus() a bit for math stuff
7932
7933 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7934
7935         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7936
7937 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7938
7939         * text.C (changeRegionCase): do not change case of all the
7940         document when region ends at paragraph end (bug #461)
7941
7942 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7943
7944         * paragraph.C (startTeXParParams):
7945         (endTeXParParams): add \protect when necessary
7946
7947 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7948
7949         * BufferView_pimpl.C (workAreaExpose): remove warning
7950
7951 2002-06-27  Angus Leeming  <leeming@lyx.org>
7952
7953         * Makefile.am: add lyxlayout_ptr_fwd.h.
7954
7955 2002-06-26  André Pönitz <poenitz@gmx.net>
7956
7957         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7958
7959 2002-06-25  Angus Leeming  <leeming@lyx.org>
7960
7961         * lyxfunc.C (dispatch): Comment out the call to
7962         grfx::GCache::changeDisplay. The method no longer exists now that the
7963         pixmap generation part of the graphics loader has been moved into
7964         InsetGraphics.
7965
7966 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7967
7968         * text2.C: layout as layout
7969
7970         * text.C: layout as layout
7971
7972         * tabular.C (OldFormatRead): layout as layout
7973
7974         * paragraph_pimpl.C (TeXDeeper): layout as layout
7975         (realizeFont): layout as layout
7976
7977         * paragraph.C (writeFile): layout as layout
7978         (validate): layout as layout
7979         (getFont): layout as layout
7980         (getLabelFont): layout as layout
7981         (getLayoutFont): layout as layout
7982         (breakParagraph): layout as layout
7983         (stripLeadingSpaces): layout as layout
7984         (getEndLabel): layout as layout
7985         (getMaxDepthAfter): layout as layout
7986         (applyLayout): layout as layout
7987         (TeXOnePar): layout as layout
7988         (simpleTeXOnePar): layout as layout
7989         (TeXEnvironment): layout as layout
7990         (layout): layout as layout
7991         (layout): layout as layout
7992
7993         * lyxtextclass.C (compare_name): new functor to work with
7994         shared_ptr, layout as layout
7995         (Read): layout as layout
7996         (hasLayout): layout as layout
7997         (operator): layout as layout
7998         (delete_layout): layout as layout
7999         (defaultLayout): layout as layout
8000
8001         * lyxlayout_ptr_fwd.h: new file
8002
8003         * lyxlayout.C (Read): layout as layout
8004
8005         * lyx_cb.C (MenuInsertLabel): layout as layout
8006
8007         * bufferlist.C (newFile): layout as layout
8008
8009         * buffer.C (readLyXformat2): layout as layout
8010         (parseSingleLyXformat2Token): layout as layout
8011         (insertStringAsLines): layout as layout
8012         (asciiParagraph): layout as layout
8013         (latexParagraphs): layout as layout
8014         (makeLinuxDocFile): layout as layout
8015         (simpleLinuxDocOnePar): layout as layout
8016         (makeDocBookFile): layout as layout
8017         (simpleDocBookOnePar): layout as layout
8018         (getLists): layout as layout
8019
8020         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8021
8022         * CutAndPaste.C (cutSelection): layout as layout
8023         (pasteSelection): layout as layout
8024         (SwitchLayoutsBetweenClasses): layout as layout
8025
8026         * BufferView_pimpl.C (Dispatch): layout as layout
8027         (smartQuote): layout as layout
8028
8029         * BufferView2.C (unlockInset): layout as layout
8030
8031 2002-06-24  André Pönitz <poenitz@gmx.net>
8032
8033         * lyxfunc.C: fix #487
8034
8035 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8036
8037         * lyxrc.h:
8038         * lyxrc.C:
8039         * lyxfunc.C: remove display_shortcuts, show_banner
8040
8041 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * Buffer_pimpl.C: oops, update on resize
8044
8045 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * buffer.C:
8048         * converter.C:
8049         * exporter.C:
8050         * lyxfunc.C:
8051         * BufferView.h:
8052         * BufferView.C: use repaint()
8053
8054         * BufferView_pimpl.h:
8055         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8056           as it's a clearer description. Remove superfluous
8057           redraws.
8058
8059 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * text.C: fix bug 488. Not ideal, but getting
8062           getWord() to work properly for the insets that
8063           matter is more difficult ...
8064
8065 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * BufferView_pimpl.C:
8068         * LyXAction.C:
8069         * commandtags.h:
8070         * lyxfunc.C: remove the six million index lyxfuncs to just
8071           one, and DTRT (bug 458)
8072
8073 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8074
8075         * BufferView.h:
8076         * BufferView.C:
8077         * BufferView_pimpl.h:
8078         * BufferView_pimpl.C: clean up resize() stuff,
8079           and unnecessary updateScreen()s
8080
8081 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8082
8083         * BufferView.h:
8084         * BufferView.C:
8085         * BufferView_pimpl.h:
8086         * BufferView_pimpl.C:
8087         * lyxfind.h:
8088         * lyxfind.C:
8089         * minibuffer.C: remove focus management of workarea,
8090           not needed. Use screen's greyOut()
8091
8092 2002-06-17  Herbert Voss  <voss@lyx.org>
8093
8094         * converter.C: (convert) do not post a message, when converting
8095         fails, let the calling function decide what to do in this case
8096
8097 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8098
8099         * lyxfunc.C: tidy up a little
8100
8101 2002-06-16    <alstrup@diku.dk>
8102
8103         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8104         Got rid of FORMS_H_LOCATION include. Now we are
8105         GUII.
8106
8107 2002-06-15  LyX Development team  <lyx@rilke>
8108
8109         * buffer.[Ch] (sgmlOpenTag):
8110         (sgmlCloseTag): Added support for avoiding pernicious mixed
8111         content. Return number of lines written.
8112
8113         (makeLinuxDocFile):
8114         (makeDocBookFile): Fixed calls to sgml*Tag.
8115         Simple white space clean.
8116
8117         (simpleDocBookOnePar): Simple white space clean.
8118
8119         * tabular.[Ch] (docBook): Renamed to docbook and got another
8120         argument to related with the pernicious mixed content.
8121
8122         (docbookRow): Fixed calls for docbook inset method.
8123
8124 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8125
8126         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8127         so it's X11 independent.
8128
8129         * kb*.[Ch]: ditto.
8130
8131         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8132
8133 2002-06-15  Lyx Development team  <lyx@electronia>
8134
8135         * intl.h: Renamed getTrans to getTransManager.
8136
8137 2002-06-14  Angus Leeming  <leeming@lyx.org>
8138
8139         * Makefile.am: nuke forgotten stl_string_fwd.h.
8140
8141 2002-06-12  Angus Leeming  <leeming@lyx.org>
8142
8143         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8144
8145 2002-06-13  Angus Leeming  <leeming@lyx.org>
8146
8147         * LaTeX.C:
8148         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8149
8150 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8151
8152         * kbmap.C (getiso): add support for cyrillic and greek
8153
8154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * BufferView.h:
8157         * BufferView.C:
8158         * BufferView_pimpl.h:
8159         * BufferView_pimpl.C: move bogus scrolling logic
8160           to xforms
8161
8162 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * lyxfunc.C:
8165         * BufferView_pimpl.C: view->resize() change
8166
8167 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * BufferView_pimpl.C: topCursorVisible
8170           prototype change
8171
8172 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * Makefile.am:
8175         * lyx_gui.h:
8176         * lyx_gui.C: move to frontends/
8177
8178         * main.C:
8179         * lyx_main.h:
8180         * lyx_main.C: changes from above
8181
8182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * intl.C:
8185         * intl.h:
8186         * kbmap.C:
8187         * kbsequence.C:
8188         * lyx_cb.C:
8189         * lyx_main.C: minor tidy
8190
8191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8192
8193         * BufferView_pimpl.h:
8194         * BufferView_pimpl.C:
8195         * BufferView.h:
8196         * BufferView.C: make painter() const,
8197           remove dead code
8198
8199         * BufferView2.C: use screen() accessor
8200
8201         * lyx_main.h:
8202         * lyx_main.C: some minor cleanup
8203
8204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * BufferView_pimpl.h:
8207         * BufferView_pimpl.C: remove enter/leaveView,
8208           use workHeight()
8209
8210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * BufferView.h:
8213         * BufferView.C:
8214         * BufferView2.C:
8215         * BufferView_pimpl.h:
8216         * BufferView_pimpl.C: only construct screen once,
8217           rename
8218
8219         * lyxrc.C: remove pointless comment
8220
8221 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8222
8223         * BufferView.h:
8224         * BufferView.C: remove active() and belowMouse()
8225
8226         * BufferView_pimpl.h:
8227         * BufferView_pimpl.C: use workarea() not workarea_,
8228           and make it use a scoped_ptr instead
8229
8230 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * lyx_gui.C: add debug message on BadWindow
8233
8234 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8235
8236         * sp_spell.C: fdopen is not part of the C++ standard.
8237
8238         * paragraph.C (InsetIterator): use >= instead of ==
8239
8240 2002-06-07  Angus Leeming  <leeming@lyx.org>
8241
8242         Fixes needed to compile with Compaq cxx 6.5.
8243         * BufferView_pimpl.C:
8244         * DepTable.C:
8245         * buffer.C:
8246         * converter.C:
8247         * encoding.C:
8248         * lyx_gui.C:
8249         * lyx_main.C:
8250         * lyxtextclasslist.C:
8251         * minibuffer.C:
8252         * sp_spell.C:
8253         * tabular_funcs.C:
8254         * vc-backend.C:
8255         all c-library variables have been moved into namespace std. Wrap
8256         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8257
8258         * lyxlength.C:
8259         * tabular-old.C:
8260         * tabular.C:
8261         Add a using std::abs declaration.
8262
8263         * kbmap.h (modifier_pair):
8264         * paragraph.h (InsetTable, InsetList):
8265         * lyxfont.h (FontBits):
8266         type definition made public.
8267
8268         * bufferlist.C (emergencyWriteAll): the compiler complains that
8269         there is more than one possible lyx::class_fun template to choose from.
8270         I re-named the void specialisation as lyx::void_class_fun.
8271
8272         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8273
8274         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8275         the compiler is is unable to find tostr in write_attribute.
8276
8277 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8278
8279         * buffer.C (sgmlError): hide #warning
8280
8281 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8282
8283         * xtl/*: get rid of xtl, which is not in use anyway
8284
8285         * LyXAction.C (init):
8286         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8287         were unimplemented xtl experimentation
8288
8289 2002-06-04  André Pönitz <poenitz@gmx.net>
8290
8291         * lyxfunc.C: disable array operation on simple formulae
8292
8293 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8294
8295         * converter.C: constify a bit
8296
8297 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8298
8299         * lyx_gui.C: check xforms version correctly
8300
8301 2002-04-30  Herbert Voss  <voss@lyx.org>
8302
8303         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8304         "keep" option
8305
8306 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8309           attempt to register it with a VCS)
8310
8311 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * lyx_main.C (init): honor variables LYX_DIR_13x and
8314         LYX_USERDIR_13x
8315
8316 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8317
8318         * buffer.h:
8319         * buffer.C:
8320         * lyx_main.C: fix a crash on bad command line,
8321           and give a useful exit status on error
8322
8323         * lyxfunc.C (doImport): allow -i lyx to work
8324
8325 2002-03-30  André Pönitz <poenitz@gmx.net>
8326
8327         * lyxfunc.C: mathed font changes
8328
8329 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * LaTeX.C:
8332         * importer.h:
8333         * importer.C:
8334         * lyx_sty.h:
8335         * lyx_sty.C:
8336         * lyxlex.C:
8337         * lyxrow.h:
8338         * lyxtext.h:
8339         * paragraph.h:
8340         * paragraph.C:
8341         * texrow.h:
8342         * texrow.C:
8343         * text.C:
8344         * trans_mgr.h: srcdocs, and some minor cleanups
8345
8346 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8349         call getFont all the time)
8350
8351 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8352
8353         * switch from SigC signals to boost::signals
8354
8355 2002-05-29  André Pönitz <poenitz@gmx.net>
8356
8357         * paragraph_pimpl.C (getChar): don't call size() too often...
8358
8359 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8360
8361         * paragraph_pimpl.C (insertChar): do not try to update tables when
8362         appending (pos == size())
8363
8364         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8365         in order to reduce drastically the number of comparisons needed to
8366         parse a large document
8367
8368 2002-05-29  André Pönitz <poenitz@gmx.net>
8369
8370         * text.C:
8371         * text2.C:
8372         * lyxtextclass.C:
8373         * sp_pspell.h:
8374         * textclasslist.[Ch]:
8375         * sp_ispell.h: whitespace change
8376
8377 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8378
8379         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8380         lyxaction directly now.
8381
8382 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8383
8384         * trans.C:
8385         * lyxfont.C:
8386         * lyxvc.C: remove unused headers
8387
8388 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8389
8390         * Makefile.am:
8391         * buffer.h:
8392         * undostack.h:
8393         * undostack.C:
8394         * undo_funcs.h:
8395         * undo_funcs.C: some cleanups. Use shared_ptr
8396           and a template for the undo stacks.
8397
8398 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * BufferView_pimpl.h:
8401         * BufferView_pimpl.C:
8402         * kbmap.h:
8403         * kbmap.C:
8404         * kbsequence.h:
8405         * kbsequence.C:
8406         * lyxfunc.h:
8407         * lyxfunc.C:
8408         * text2.C: use key_state/mouse_state
8409
8410 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8411
8412         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8413         and LSubstring
8414
8415         * chset.C: change include order
8416         (loadFile): use boost regex and get rid of LRegex and LSubstring
8417
8418         * Makefile.am (BOOST_LIBS): new variable
8419         (lyx_LDADD): use it
8420
8421         * LaTeX.C: change include order.
8422         (scanAuxFile): use boost regex and get rid of LRegex and
8423         LSubstring
8424         (deplog): ditto
8425
8426 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8427
8428         * ColorHandler.h:
8429         * ColorHandler.C:
8430         * FontInfo.h:
8431         * FontInfo.C: moved to frontends/xforms/
8432
8433         * FontLoader.h:
8434         * FontLoader.C: moved into frontends for GUIIzation
8435
8436         * Makefile.am:
8437         * lyx_gui.C:
8438         * lyxfont.C:
8439         * lyxfunc.C: changes from above
8440
8441 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * LColor.C: remove spurious X include
8444
8445         * BufferView_pimpl.C:
8446         * Makefile.am:
8447         * font.h:
8448         * font.C:
8449         * text.C:
8450         * text2.C: move font metrics to frontends/
8451
8452 2002-05-24  Juergen Vigna  <jug@sad.it>
8453
8454         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8455         setting the undo_cursor.
8456
8457         * ParagraphParameters.h: include local includes first.
8458
8459 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * BufferView_pimpl.C:
8462         * BufferView_pimpl.h:
8463         * Makefile.am:
8464         * WorkArea.h:
8465         * WorkArea.C:
8466         * screen.C: move WorkArea into frontends/
8467
8468         * lyxscreen.h:
8469         * screen.C:
8470         * text.C:
8471         * BufferView.C:
8472         * BufferView2.C: move LyXScreen into frontends/
8473
8474         * lyxlookup.h:
8475         * lyxlookup.C:
8476         * lyx_gui.C: move lyxlookup into frontends/xforms/
8477
8478 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * BufferView2.C:
8481         * BufferView_pimpl.C:
8482         * FontLoader.C:
8483         * LyXView.h:
8484         * LyXView.C:
8485         * Makefile.am:
8486         * WorkArea.C:
8487         * XFormsView.h:
8488         * XFormsView.C:
8489         * buffer.C:
8490         * bufferlist.C:
8491         * bufferview_funcs.C:
8492         * converter.C:
8493         * importer.C:
8494         * lyx_cb.C:
8495         * lyx_gui.C:
8496         * lyx_main.C:
8497         * lyx_find.C:
8498         * lyxfunc.C:
8499         * lyxvc.C:
8500         * minibuffer.C:
8501         * text.C:
8502         * text2.C:
8503         * trans.C:
8504         * vc-backend.C: move LyX/XFormsView into frontends/
8505
8506 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8507
8508         * Makefile.am:
8509         * PainterBase.C:
8510         * PainterBase.h:
8511         * Painter.C:
8512         * Painter.h:
8513         * WorkArea.C:
8514         * WorkArea.h:
8515         * screen.C:
8516         * tabular.C:
8517         * text.C:
8518         * text2.C: move Painter to frontends/
8519
8520 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8521
8522         * buffer.C: comment out some some code that depend upon lyx_format
8523         < 220
8524
8525         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8526         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8527
8528         * buffer.h (NO_COMPABILITY): turn off compability
8529
8530         * ColorHandler.C: include scoped_array.hpp
8531
8532         * font.C: Use more specific smart_ptr header.
8533         * Painter.C: ditto
8534         * gettext.C: ditto
8535         * ShareContainer.h: ditto
8536         * lyx_main.h: ditto
8537         * kbmap.h: ditto
8538         * FontInfo.h: ditto
8539         * BufferView_pimpl.h: ditto
8540         * ColorHandler.h: ditto
8541
8542         * kbmap.C (defkey): change call to shared_ptr::reset
8543
8544 2002-05-21  Juergen Vigna  <jug@sad.it>
8545
8546         * buffer.C (insertErtContents): fix to insert ert asis if it is
8547         non empty. Skip it completely if it contains only whitespaces.
8548
8549 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * BufferView_pimpl.C:
8552         * BufferView2.C: clear selection on paste (bug 393)
8553
8554 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8555
8556         * DepTable.C: include ctime
8557
8558 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8559
8560         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8561
8562 2002-05-14  Juergen Vigna  <jug@sad.it>
8563
8564         * text.C (breakParagraph): fixed function to honor the keepempty
8565         layout in the right maner and also to permit the right breaking
8566         algorithm on empty or non empyt keepempty paragraphs.
8567
8568         * paragraph.C (breakParagraph): we have to check also if the par
8569         is really empty (!size()) for isempty otherwise we do the wrong
8570         paragraph break.
8571
8572 2002-05-10  Juergen Vigna  <jug@sad.it>
8573
8574         * buffer.[Ch] : The following are only changes to the ert
8575         compatibility read reading old LaTeX layout and font stuff and
8576         convert it to ERTInsets.
8577
8578         * buffer.h: added isErtInset().
8579
8580         * buffer.C (struct ErtComp): add a fromlayout bool to check
8581         if we're inside a LaTeX layout.
8582         (isErtInset): new helper function.
8583         (insertErtContents): look for other ert insets before this one
8584         and insert the contents there, so that we don't have subsequent
8585         ERT insets with nothing between them. This way we create only one
8586         inset with multiple paragraphs. Also check if we don't insert only
8587         spaces ' ' as they are ignored anyway afterwards in the .tex file
8588         so if we have only spaces we will ignore this latex part in the
8589         new file.
8590         (parseSingleLyXformat2Token \\layout): better compatibility when
8591         reading layout-latex stuff.
8592         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8593         language tag.
8594         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8595         stuff after reading the inset only get the information back from
8596         the stack.
8597
8598 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8599
8600         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8601
8602         * LaTeXFeatures.C (getBabelOptions): New method.
8603
8604 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8605
8606         * BufferView_pimpl.C (Dispatch): work around missing argument for
8607         'layout'
8608
8609 2002-05-08  Juergen Vigna  <jug@sad.it>
8610
8611         * text.C (leftMargin): handle paragraph leftindent.
8612
8613         * paragraph.C (writeFile): write the new \\leftindent tag.
8614         (validate): handle leftindent code.
8615         (TeXEnvironment): handle paragraphleftindent code again.
8616
8617         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8618
8619         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8620         for paragrap_extra indent code and new token \\leftindent.
8621         (latexParagraphs): handle the leftindent as environment.
8622
8623         * ParameterStruct.h: added leftindent support.
8624
8625         * ParagraphParameters.C (leftIndent): added support functions for
8626         the paragraph left indent.
8627
8628         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8629         more appropriate.
8630
8631 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8632
8633         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8634         inside insetERT.
8635
8636         * text.C (computeBidiTables): No bidi in insetERT.
8637
8638         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8639         in RTL documents.
8640
8641 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8642
8643         * version.C.in: pre 5
8644
8645 2002-05-02  José Matos  <jamatos@fep.up.pt>
8646         * buffer.C (makeDocBookFile): white space changes, add newline to
8647         command styles.
8648         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8649
8650         * tabular.C (docBook): fix typo.
8651
8652 2002-05-03  Juergen Vigna  <jug@sad.it>
8653
8654         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8655         change in LyXText as we can not be sure it was not freed.
8656         (drawOneRow): remove unused code.
8657
8658         * text.C (drawInset): redo the calculation of the need_break_row as
8659         it could have a row which was already freed.
8660         (draw): look at the return value of drawInset and return false if
8661         it also returned false.
8662         (paintRowText): look at the return value of draw and return false if
8663         it also returned false.
8664
8665         * lyxtext.h: added bool return type to drawInset() and draw() so that
8666         if we have a change in the row so that the rowbreak has to be redone
8667         we abort drawing as it will be called again.
8668
8669 2002-05-02  Juergen Vigna  <jug@sad.it>
8670
8671         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8672         a change in the maintext also if we're inside an inset.
8673         (Dispatch): set the cursor again after a break line and after the
8674         screen has been updated as it could be we're in a different row.
8675
8676         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8677         to set the cursor behind the pargraph with > size().
8678         (setCursor): check also for the same paragraph when checking where
8679         to put the cursor if we have a NFR inset.
8680
8681         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8682         parts of layout read further up as it still was in the wrong
8683         position.
8684
8685 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * screen.C (drawFromTo): change sine fullRebreak always return
8688         true.
8689
8690         * buffer.C (parseSingleLyXformat2Token): reindent some
8691
8692         * BufferView_pimpl.C (update): change since fullRebreak always
8693         return true.
8694         (Dispatch): git rid of the last hardcoded "Standard"s.
8695
8696 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8697
8698         * text2.[Ch] (fullRebreak): make it return void now that we always
8699         returned true.
8700
8701 2002-04-30  Juergen Vigna  <jug@sad.it>
8702
8703         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8704         ert compatibility check for "latex" layout.
8705
8706 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8707
8708         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8709         minipages: use col% instead of p%, and also use the current font.
8710         (makeLaTeXFile): Fix use babel condition.
8711         (parseSingleLyXformat2Token): Correct font when reading old floats.
8712
8713 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8716         inserting list of floats.
8717
8718 2002-04-25  Herbert Voss  <voss@lyx.org>
8719
8720         * MenuBackend.C (expand): don't add the graphics extensions to the
8721         export menu
8722
8723 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8724
8725         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8726         non-existing layout, do not complain if it was the default layout
8727         of the original class (bug #342)
8728
8729 2002-04-24  Juergen Vigna  <jug@sad.it>
8730
8731         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8732         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8733
8734 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8735
8736         * buffer.C (getBibkeyList): If using \bibliography, return the
8737         option field with the reference itself. Enables us to provide natbib
8738         support when using \bibliography.
8739
8740 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8741
8742         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8743
8744         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8745         natbib is provided by the LaTeX class.
8746
8747 2002-04-23  Juergen Vigna  <jug@sad.it>
8748
8749         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8750         Wakeup functions.
8751
8752         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8753
8754 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8757
8758         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8759         ensuremath around textordmasculine, textordfeminine and
8760         textdegree.
8761
8762 2002-04-19  Juergen Vigna  <jug@sad.it>
8763
8764         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8765         reinitializing the buffer otherwise row-dimensions may be wrong.
8766         (update): reset also the selection cursors if they do exits otherwise
8767         their x/y positions may be wrong.
8768
8769         * text2.C (cursorDown): don't enter the inset if we came from a row
8770         above and are one row over the inset.
8771
8772         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8773         really leaving an inset.
8774
8775 2002-04-18  Juergen Vigna  <jug@sad.it>
8776
8777         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8778         of the selected paragraph does not have the selected layout also if
8779         the last one had!
8780
8781         * text2.C (setLayout): fixed bug which did not change last selected
8782         paragraph.
8783
8784         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8785         changed the read and substituted \\end_float with \\end_inset!
8786
8787         * BufferView_pimpl.C (cursorPrevious):
8788         (cursorNext): fixed to make it work with rows heigher than the work
8789         area without moving the cursor only the draw of the row.
8790         (workAreaMotionNotify): fix jumping over high rows.
8791
8792 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8793
8794         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8795         Ressler.
8796
8797 2002-04-16  Juergen Vigna  <jug@sad.it>
8798
8799         * text2.C (setCursor): set also the irow().
8800         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8801         (cursorUp):
8802         (cursorDown): support for locking an inset if the x_fix value goes
8803         inside it. That way I can transverse insets too with cursor up/down.
8804
8805         * lyxrow.h: added irow helper function same as other (i) functions.
8806
8807         * BufferView_pimpl.C (cursorPrevious):
8808         (cursorNext): fixed for insets!
8809
8810 2002-04-15  Juergen Vigna  <jug@sad.it>
8811
8812         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8813         position otherwise it is wrong in some cases.
8814
8815         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8816         inside the inset before the call.
8817
8818 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8819
8820         * buffer.[Ch] (getBibkeyList): make it const.
8821
8822 2002-04-12  Juergen Vigna  <jug@sad.it>
8823
8824         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8825
8826         * text2.C (getCursorX): new helper function
8827         (setCursor): compute also ix_
8828         (setCursorFromCoordinates): set also ix.
8829
8830         * lyxcursor.h: added ix_ and helper functions.
8831
8832         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8833
8834         * buffer.C (insertStringAsLines): dont break paragraph if the this
8835         paragraph is inside an inset which does not permit it!
8836
8837         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8838         also with no chars on this paragraph.
8839         (paintRowText): only paint stuff if it's inside the workarea!
8840
8841         * paragraph.C (breakParagraph): honor keepempty flag and break the
8842         paragraph always below not above.
8843
8844         * BufferView2.C (unlockInset): update the paragraph layout on inset
8845         unlock as we changed paragraph in such a case.
8846
8847         * lyxfind.C (LyXFind): clear the former selection if not found!
8848
8849         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8850         again called in insertChar().
8851
8852         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8853         an inset which uses the whole row!
8854         (rightMargin): ditto.
8855         (insertChar): force a rebreak if we inserted an inset!
8856
8857 2002-03-28  Herbert Voss  <voss@lyx.org>
8858
8859         * lyxlength.[Ch]: add inBP() to get the right PS-point
8860         units (BigPoint). With inPixels we have rounding errors
8861
8862 2002-04-11  Juergen Vigna  <jug@sad.it>
8863
8864         * text2.C (setCursorFromCoordinates): set iy to the right value.
8865         (setCursor): add check if row->previous exists!
8866
8867         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8868         an old float_type as this was the case in the old code!
8869
8870         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8871
8872         * BufferView2.C (showLockedInsetCursor): use iy
8873         (fitLockedInsetCursor): ditto
8874
8875         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8876         locked insets as there we have the right value now.
8877
8878         * lyxcursor.C: added iy_ variable and iy functions to set to the
8879         baseline of cursor-y of the locked inset.
8880
8881         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8882         (setCursor): fixed for insets which need a full row.
8883
8884         * text.C (rowLastPrintable): don't ignore the last space when before
8885         an inset which needs a full row.
8886         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8887         as last character of a row when before a inset which needs a full row.
8888
8889 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8890
8891         * version.C.in: update date
8892
8893         * text2.C (fullRebreak): try to always return true and see what
8894         happens...
8895
8896 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * MenuBackend.C (expand): use Floating::listName
8899
8900         * FloatList.C (FloatList): add listName argument to the built-in
8901         floats
8902
8903         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8904         text associated with the float.
8905
8906 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8909
8910 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * ShareContainer.h: add a couple of missing typenames.
8913
8914 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8915
8916         * lyxrc.C (getDescription): use _() correctly rather than N_().
8917
8918 2002-03-28  Herbert Voss  <voss@lyx.org>
8919
8920         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8921         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8922
8923 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8926         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8927
8928 2002-03-29  Juergen Vigna  <jug@sad.it>
8929
8930         * lyxfunc.C (dispatch): add a missing fitCursor call.
8931
8932         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8933         it was scrolled by a cursor move, so return the bool status.
8934
8935         * BufferView.C (fitCursor): return the bool flag also to the outside
8936         world as this is needed.
8937
8938         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8939
8940         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8941         call the edit() as it is not needed (and wrong) IMO.
8942         (workAreaButtonPress): set the screen_first variable before evt.
8943         unlock the inset as this may change screen_first and then we have
8944         a wrong y position for the click!
8945
8946 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8947
8948         * MenuBackend.C (expand): another translation that I missed
8949
8950 2002-03-28  Juergen Vigna  <jug@sad.it>
8951
8952         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8953
8954         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8955
8956 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8957
8958         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8959
8960         * MenuBackend.C (expand): fix export/view/update when there is no
8961         document open.
8962
8963 2002-03-27  Herbert Voss  <voss@lyx.org>
8964
8965         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8966         and text%
8967
8968 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * bufferview_funcs.C (currentState): only show paragraph number
8971         for is DEVEL_VERSION is set.
8972
8973         * lyxfunc.C (dispatch): put warning in INFO channel
8974
8975         * MenuBackend.C (expand): translate the name of floats
8976
8977         * FloatList.C (FloatList): mark the float names for translation
8978
8979         * converter.C (convert): use LibScriptSearch
8980
8981 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * MenuBackend.C (defaults): fix default menu (we might as well get
8984         rid of it...)
8985
8986 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8987
8988         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8989         directory.
8990
8991 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * lyxvc.C: reorder includes.
8994
8995 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8996
8997         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8998           properly
8999
9000 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * CutAndPaste.C: change layouts earlier on paste
9003           to avoid crashing when calling getFont()
9004
9005 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9006
9007         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9008         irritating #error.
9009
9010 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9011
9012         * WorkArea.C: remove 'Pending' debug message.
9013
9014         * most files: ws cleanup
9015
9016         * buffer.[Ch]: ws changes
9017
9018         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9019
9020 2002-03-21  Juergen Vigna  <jug@sad.it>
9021
9022         * tabular.C (SetMultiColumn): collapse also the contents of the
9023         cells and set the last border right. Added a Buffer const * param.
9024
9025 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9028         linking or not.
9029
9030 2002-03-19  Juergen Vigna  <jug@sad.it>
9031
9032         * text2.C (clearSelection): reset also xsel_cache.
9033
9034         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9035         where it needs to be called (John tells us to do so too :)
9036         (selectionLost): reset sel_cache.
9037
9038         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9039
9040 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9041
9042         * text2.C (setCursorIntern): put debuging code in INSETS channel
9043
9044 2002-03-19  André Pönitz <poenitz@gmx.net>
9045
9046         * lyxfunc.C: tiny whitespace change
9047
9048 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9049
9050         * ToolbarDefaults.C (init):
9051         * LyXAction.C (init):
9052         * commandtags.h:
9053         * BufferView_pimpl.C (Dispatch):
9054         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9055
9056 2002-03-19  Allan Rae  <rae@lyx.org>
9057
9058         * exporter.C (Export): removeAutoInsets before doing anything else.
9059         While I've just introduced a dependency on BufferView this really is
9060         the best place to clean the buffer otherwise you need to cleanup in
9061         a dozen places before calling export or cleanup in a dozen functions
9062         that export calls.
9063
9064         * converter.C (runLaTeX):
9065         (scanLog): Better handling of removeAutoInsets and screen updates.
9066
9067         * lyxfunc.C (dispatch): small whitespace changes
9068
9069 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9070
9071         * WorkArea.C (C_WorkAreaEvent): return a value.
9072         (event_cb): return 1 if we handled the event, 0 otherwise.
9073
9074         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9075
9076 2002-03-18  Juergen Vigna  <jug@sad.it>
9077
9078         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9079         (GetAdditionalWidth): ditto.
9080         (RightLine): ditto.
9081         (LeftLine): ditto.
9082
9083         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9084         inset if we're there actually (probably not used right now but this
9085         is the direction to go for unifying code).
9086         (paste): disable code to clear the selection.
9087
9088         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9089         inside an InsetText and move the check further up as it is in the
9090         wrong place.
9091
9092         * text2.C (pasteSelection): set a selection over the pasted text.
9093
9094 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9095
9096         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9097         and libgraphics to build on Cygwin.
9098
9099 2002-03-15  Juergen Vigna  <jug@sad.it>
9100
9101         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9102         inserting an Inset into the paragraph. I know this is not the best
9103         fix but we already use current_view in CutAndPaste so we will remove
9104         all of it's using at the same time.
9105
9106         * buffer.C (sgmlError): deactivated function till it is rewritten in
9107         the right mode, now it can create problems.
9108
9109         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9110         before accessing it.
9111
9112 2002-03-14  Juergen Vigna  <jug@sad.it>
9113
9114         * undo_funcs.C (textHandleUndo): do the right thing when updating
9115         the inset after the undo/redo.
9116
9117         * text2.C (setCursor): just some testcode for #44 not ready yet.
9118
9119         * undo_funcs.C (textHandleUndo): set the next() and previous()
9120         pointers of the paragraph to 0 before deleting otherwise we have
9121         problems with the Paragraph::[destructor].
9122
9123         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9124         on a paragraph insertion.
9125
9126 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * buffer.C (asciiParagraph): use += operator for char append to
9129         string.
9130
9131         * paragraph.C (getFontSettings): compare >= not just >
9132         (highestFontInRange): ditto
9133         (setFont): ditto
9134
9135 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * paragraph.C: change several algorithm to be more appripriate for
9138         the problem domain. This is lookip in FontList and in the InsetList.
9139
9140 2002-03-13  André Pönitz <poenitz@gmx.net>
9141
9142         * commandtags.h:
9143         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9144
9145 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * commandtags.h:
9148         * LyXAction.C:
9149         * lyxfunc.C:
9150         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9151
9152 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * Painter.C (display): anon helper function, adjust code for this
9155         change.
9156         (pixmap): remove function.
9157
9158         * Painter.h: remove private display variable.
9159
9160         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9161
9162 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9163
9164         * WorkArea.[Ch]: remove figinset_canvas cruft.
9165
9166 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9167
9168         * lyxtextclass.C (operator): add one item cache optimization.
9169
9170         * bufferlist.h: doxy changes
9171
9172         * bufferlist.C: ws changes
9173
9174         * DepTable.[Ch] (ext_exist): place const in the right spot.
9175
9176         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9177         call resizeInsets.
9178         (workAreaExpose): call resizeInsets when the with BufferView changes.
9179         (Dispatch): adjust for protectedBlank removal
9180         (specialChar): call updateInset if the insert went ok.
9181
9182         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9183         specialChar instead.
9184
9185         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9186
9187         * BufferView.h: doxy change
9188
9189         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9190
9191         * lyxtextclass.C (operator[]): remove non-const version
9192         (defaultLayout): remove non-const version
9193
9194 2002-03-12  Juergen Vigna  <jug@sad.it>
9195
9196         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9197         did resize the LyXText too.
9198
9199         * buffer.C (readLyXformat2): set layout information on newly allocated
9200         paragraphs.
9201
9202         * tabular.C (OldFormatRead): set layout information on the paragraph.
9203
9204 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9205
9206         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9207
9208 2002-03-11  Juergen Vigna  <jug@sad.it>
9209
9210         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9211         plainly wrong.
9212         (resizeCurrentBuffer): force also the insets to resize themselfes.
9213         (moveCursorUpdate): fixed up for InsetText.
9214
9215 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9216
9217         * commandtags.h:
9218         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9219         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9220         value of Dialogs::tooltipsEnabled().
9221         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9222
9223 2002-03-08  Juergen Vigna  <jug@sad.it>
9224
9225         * BufferView_pimpl.C (updateInset): update inset inside inset also
9226         if it isn't inside theLockingInset().
9227
9228 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9229
9230         * buffer.C (asciiParagraph): redo some of the word and line length
9231         handling.
9232         (getLists): look for Caption instead of caption.
9233
9234 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * buffer.C (Buffer): initialize niceFile to true
9237         (makeLaTeXFile):
9238         (makeLinuxDocFile):
9239         (makeDocBookFile): make sure niceFile is true on exit
9240
9241 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9244
9245 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9246
9247         * LyXSendto.C: remove.
9248         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9249         * lyx_gui.C: remove now-redundant comment.
9250         * ColorHandler.h: remove forward declaration of class WorkArea.
9251         * lyxfunc.C: remove #include "WorkArea.h".
9252
9253 2002-03-07  Juergen Vigna  <jug@sad.it>
9254
9255         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9256         got moved away with the DEPM and also set the inset_owner always
9257         right which before could have been omitted.
9258
9259 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9260
9261         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9262         wanted layout is not found.
9263
9264 2002-03-07  Juergen Vigna  <jug@sad.it>
9265
9266         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9267
9268 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9269
9270         * paragraph.C (breakParagraph): use default layout not layout of
9271         prev paragraph.
9272         (Paragraph): clear ParagraphParameters.
9273
9274 2002-03-06  Juergen Vigna  <jug@sad.it>
9275
9276         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9277         otherwise it would not be a valid lenght. Fixed a special case in
9278         the minipage compatibility read where we end the document with a
9279         minipage.
9280
9281         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9282         was set as it could be 0 for InsetTexts first entry.
9283
9284 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9285
9286         * paragraph.C (writeFile): if layout is empty write out
9287         defaultLayoutName().
9288
9289         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9290         file without named layout we set layout to defaultLayoutName().
9291
9292 2002-03-06  Juergen Vigna  <jug@sad.it>
9293
9294         * CutAndPaste.C (copySelection): set layout for new paragraph.
9295
9296         * text.C (prepareToPrint): leave ERT inset left aligned
9297         (leftMargin): don't indent paragraphs inside ERT insets
9298
9299 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9300
9301         * paragraph.C (breakParagraph): dont call clear do the work manually
9302
9303         * paragraph.[Ch] (clear): remove function
9304
9305 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9306
9307         * paragraph.C (Paragraph): dont call clear, the work has already
9308         been done.
9309
9310         * lyxtextclass.C (operator): assert if n is empty
9311
9312         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9313         work manually instead.
9314
9315 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * BufferView_pimpl.C: protect selectionLost against text == 0
9318
9319 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9320
9321         * text.C (breakParagraph): fix a setting layout to '0' problem.
9322
9323 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9324
9325         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9326         final location of file, for the included files, and graphics.
9327
9328 2002-03-05  Juergen Vigna  <jug@sad.it>
9329
9330         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9331
9332 2002-03-04  Juergen Vigna  <jug@sad.it>
9333
9334         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9335
9336         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9337         last column of multicolumn cells.
9338         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9339
9340 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9341
9342         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9343         file if it doesn't go to a temporary file.
9344
9345         * buffer.C (sgmlOpenTag):
9346         (sgmlCloseTag):  remove extra newline insertion.
9347
9348 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9349
9350         * text.C (getRowNearY): comment out debug msg
9351
9352 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * text2.C: first -> first_y
9355
9356         * text.C (getRowNearY): add some attemts at a possible
9357         optimization, not working.
9358
9359         * tabular.[Ch]: add BufferParams to several function so that newly
9360         created paragraph can be initialized to he default layotu for the
9361         buffers textclass.
9362
9363         * tabular-old.C (ReadOld): add buf->params to call of Init
9364
9365         * screen.C: rename text->first to text->first_y
9366
9367         * paragraph.C (breakParagraph): always set layout in the broken
9368         paragraph
9369
9370         * lyxtextclass.C (Read): remove lowercase
9371         (hasLayout): ditto
9372         (operator): ditto
9373         (delete_layout): ditto
9374
9375         * lyxtext.h: rename first -> first_y
9376
9377         * lyxlayout.C (Read): remove lowercase
9378         (name): ditto
9379         (setName): ditto
9380         (obsoleted_by): ditto
9381
9382         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9383
9384         * buffer.C (insertErtContents): add params are to InsetERT
9385         (parseSingleLyXformat2Token): add code to check if a paragraphs
9386         layout really exist.
9387         (parseSingleLyXformat2Token): add params to several inset
9388         constructors
9389         (asciiParagraph): remove lowercase, do the layout comparisons with
9390         no_case
9391
9392         * BufferView_pimpl.C (cursorNext): first -> first_y
9393         (resizeCurrentBuffer): first -> first_y
9394         (updateScrollbar): first -> first_y
9395         (scrollCB): first -> first_y
9396         (workAreaMotionNotify): first -> first_y
9397         (workAreaButtonPress): first -> first_y
9398         (checkInsetHit): first -> first_y
9399         (cursorPrevious): first -> first_y
9400         (cursorNext): first -> first_y
9401         (Dispatch): add buffer_->params to severl inset contructors
9402
9403 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9404
9405         * lyxlayout.C (Read): remove some debug info that I forgot.
9406
9407         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9408         clean up the code slightly.
9409         (makeLinuxDocFile): ditto
9410         (makeDocBookFile): ditto
9411
9412         * text2.C: layout as string
9413
9414         * text.C: layout as string
9415
9416         * paragraph_pimpl.C: layout as string
9417
9418         * paragraph.[Ch]: layout as string
9419
9420         * lyxtextclasslist.[Ch]: layout as string
9421
9422         * lyxtextclass.[Ch]: layout as string
9423
9424         * lyxtext.h: layout as string
9425
9426         * lyxlayout.[Ch]: layout as string
9427
9428         * lyx_cb.C: layout as string
9429
9430         * bufferview_funcs.C: layout as string
9431
9432         * bufferparams.C: layout as string
9433
9434         * buffer.C: layout as string
9435
9436         * LyXView.[Ch]: layout as string
9437
9438         * LaTeXFeatures.[Ch]: layout as string
9439
9440         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9441
9442         * BufferView_pimpl.C: change current_layout to string, remove
9443         lyx::layout_type.
9444         (Dispatch):
9445         (smartQuote):
9446         (insertInset):
9447         (workAreaButtonRelease): layout as string
9448
9449         * BufferView2.C (unlockInset): adjust
9450
9451         * vspace.C (asLatexCommand): use an explict temp variable.
9452
9453 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9454
9455         * Makefile.am: use FRONTEND_*
9456
9457 2002-03-01  Juergen Vigna  <jug@sad.it>
9458
9459         * tabular.C (SetWidthOfMulticolCell): changed to something better
9460         I hope but still work in progress.
9461         (recalculateMulticolumnsOfColumn): renamed function from
9462         recalculateMulticolCells as it is more appropriate now.
9463         (SetWidthOfCell): calculate multicols better.
9464
9465 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9468
9469         * lyxfunc.C (processKeySym): print sequence also if it is
9470         `deleted' (complete)
9471
9472         * kbsequence.C (print): print sequence even if it is deleted
9473         (complete would be a better word, actually).
9474
9475         * lyxfunc.C (dispatch): print complete options after a prefix key
9476
9477         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9478
9479 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9480
9481         * text2.C (setCharFont): eliminate setCharFont code duplication.
9482
9483 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9486         LFUN_TABULAR_FEATURE (bug #177)
9487
9488 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9489
9490         * Makefile.am: remove figure.h
9491
9492 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9493
9494         * Bufferview_pimpl.C:
9495         * CutAndPasteC:
9496         * LaTeX.C:
9497         * LyXSendto.C:
9498         * buffer.C:
9499         * bufferlist.C:
9500         * converter.C:
9501         * language.C:
9502         * lyxfunc.C:
9503         * lyxvc.C:
9504         * paragraph.C:
9505         * text.C:
9506         * text2.C: remove #include "lyx_gui_misc.h".
9507
9508         * LaTeX.C: added #include <cstdio>
9509
9510 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9511
9512         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9513         that the paragraph following this one can have.
9514
9515         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9516
9517         * vspace.C (asLatexCommand): fix bogus gcc warning
9518
9519         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9520
9521 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9522
9523         * text2.C (setLayout): get rid of redundant code
9524
9525 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9526
9527         * text2.C (incDepth): make sure depth cannot be increased beyond
9528         reasonable values.
9529
9530 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9531
9532         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9533         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9534
9535         * PainterBase.h (image):
9536         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9537         a LyXImage const *.
9538
9539 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * BufferView.C:
9542         * BufferView.h:
9543         * BufferView_pimpl.C:
9544         * BufferView_pimpl.h:
9545         * LaTeXFeatures.C:
9546         * LyXAction.C:
9547         * LyXView.C:
9548         * Makefile.am:
9549         * UpdateList.h:
9550         * UpdateList.C:
9551         * buffer.C:
9552         * figure.h:
9553         * figureForm.C:
9554         * figureForm.h:
9555         * figure_form.C:
9556         * figure_form.h:
9557         * lyx_cb.C:
9558         * lyx_gui.C:
9559         * lyx_gui_misc.C:
9560         * lyxfunc.C:
9561         * sp_base.h:
9562         * sp_ispell.h:
9563         * sp_pspell.h:
9564         * sp_spell.C: remove fig inset, and the crap house of
9565           cards that follows it
9566
9567 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * Makefile.am:
9570         * lyxserver.C:
9571         * os2_defines.h:
9572         * os2_errortable.h:
9573         * nt_defines.h: move .h into support/
9574
9575         * vms_defines.h: remove
9576
9577         * WorkArea.C: add space in debug output
9578
9579         * text2.C:
9580         * paragraph.C:
9581         * buffer.C: add WITH_WARNINGS
9582
9583         * vc-backend.h:
9584         * vc-backend.C:
9585         * bufferlist.C: s/retrive/retrieve/, add docs
9586
9587         * vspace.h:
9588         * vspace.C:
9589         * kbmap.h:
9590         * lyxlength.h:
9591         * lyxgluelength.h:
9592         * length_common.h:
9593         * chset.h:
9594         * chset.C: add docs
9595
9596         * lyxgui.C: add ID to X error handler
9597
9598         * lyxtestclass.c: fix typo
9599
9600 2002-02-26  Juergen Vigna  <jug@sad.it>
9601
9602         * tabular_funcs.C (write_attribute): changed so that some default
9603         attributes are not written at all.
9604         (getTokenValue): set default values before trying to read the
9605         value so we have the return value always set as default if we don't
9606         find the token we search for.
9607
9608         * tabular.C (Write): write bools as bools not as strings!
9609
9610 2002-02-22  Juergen Vigna  <jug@sad.it>
9611
9612         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9613         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9614
9615         * text.C (leftMargin): don't add an indent for paragraphs inside
9616         tabular cells (fix #208).
9617
9618 2002-02-21  José Matos  <jamatos@fep.up.pt>
9619
9620         * tabular.C (docBook): fixed support for long tables.
9621
9622 2002-02-20  Juergen Vigna  <jug@sad.it>
9623
9624         * text2.C (getFont): get the drawing font of the Inset if this
9625         paragraph is inside an inset (only important for InsetERT for now).
9626
9627         * buffer.C (insertErtContents): use new lanugage params in ERT
9628         constructor.
9629
9630         * CutAndPaste.C: commenting out seemingly uneeded code.
9631
9632 2002-02-19  Allan Rae  <rae@lyx.org>
9633
9634         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9635         Iterators might be simple to use but they also get invalidated.
9636         (removeAutoInsets): renamed saved cursor tracking variables and added
9637         some comments to clarify what everything does.
9638
9639 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9640
9641         * Chktex.C:
9642         * LaTeX.C:
9643         * LyXSendto.C:
9644         * converter.C:
9645         * lyx_cb.C:
9646         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9647         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9648
9649         * lyxfunc.C:
9650         * vc-backend.h: remove #include "support/syscall.h"
9651
9652         * LaTeX.C:
9653         * LyXSendto.C:
9654         * converter.C: rearrange #includes in Lars' approved fashion.
9655
9656         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9657         forward declare class Timeout in the header file.
9658
9659         * XFormsView.C: changes due to the above.
9660
9661         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9662         similar to LyXView.
9663
9664         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9665         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9666
9667 2002-02-18  José Matos  <jamatos@fep.up.pt>
9668
9669         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9670         insets contents.
9671
9672 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9673
9674         * a lot of small ws changes
9675         * add a lot of using std::XXX
9676         * use std construcs some places where approp.
9677         * use some exisint stuff from lyxfunctional where approp.
9678         * Make file changes to use partial linking (lets test this now...)
9679
9680 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9681
9682         * Chktex.C:
9683         * buffer.C:
9684         remove #include "support/syscontr.h" as it's redundant. Always has been.
9685
9686         * Chktex.C:
9687         * LaTeX.C:
9688         * LyXSendto.C:
9689         * converter.C:
9690         * lyx_cb.C:
9691         * vc-backend.C:
9692         change Systemcalls::System to Systemcalls::Wait and
9693         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9694         No change of functionality, just reflects the stripped down Systemcalls
9695         class.
9696
9697 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9698
9699         * debug.[Ch]: add a GRAPHICS type to the enum.
9700
9701 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9702
9703         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9704
9705         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9706         there is an inset.
9707
9708 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9711         match the changes below.
9712
9713         * text2.C (toggleInset): if there is not editable inset at cursor
9714         position, try to see if cursor is _inside_ a collapsable inset
9715         and close it.
9716
9717 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9720         document menu has a nice checkbox
9721
9722 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * lyxlength.C (asLatexString): change PW to output as percent of
9725         \textwidth.
9726
9727         * lengthcommon.C: change '%' to 't%'
9728
9729         * lyxfunc.C (dispatch): a few comments from Martin
9730
9731 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * WorkArea.h:
9734         * WorkArea.C:
9735         * BufferView_pimpl.h:
9736         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9737           the X selection.
9738
9739 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9740
9741         * vspace.C (inPixels): fix compiler warning
9742
9743 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * lyxfunc.C (getStatus): fix status message for disabled commands.
9746
9747 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * BufferView_pimpl.C: fix crash on close buffer
9750         during selection (#227)
9751
9752 2002-01-27  Herbert Voss  <voss@lyx.org>
9753
9754         * buffer.C: link old Figure to new graphic inset
9755
9756 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * FontLoader.C (getFontinfo): Change the latex font names in order
9759         to match the names of type1inst.
9760
9761 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9764
9765         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9766         (extchanged): ditto
9767         (ext_exist): ditto
9768         (remove_files_with_extension): ditto
9769         (remove_file): ditto
9770         (write): ditto
9771
9772         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9773         document is smaller than the work area height. Do not initialize
9774         static variables to 0.
9775
9776 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9779
9780         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9781         LFUN_LAYOUT_PARAGRAPHS.
9782
9783         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9784         tabular. It is possible to provide a possible cell, which will
9785         typically be the actcell from the corresponding insettabular
9786
9787         * lyxfunc.C (getStatus): small cleanup; disable
9788         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9789         true
9790
9791 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9794
9795         * paragraph.C (startTeXParParams):
9796         (endTeXParParams): new methods. The LaTeX code to
9797         start/end paragraph formatting
9798         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9799         empty (fixes bug #200)
9800
9801         * vspace.C (inPixels): adapt to the change below
9802         (inPixels): [later] more cleanups (remove unused variables)
9803
9804         * lyxlength.C (inPixels): change to use a width and a height as
9805         parameter.
9806
9807 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9810         Replaced with \paperwidth
9811
9812         * DepTable.C (insert): add std:: qualifier
9813
9814 2002-01-18  Allan Rae  <rae@lyx.org>
9815
9816         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9817         updated also?
9818
9819         * text.C (drawInset): Turned out I didn't know enough about how
9820         rebreaking worked.  This fixes most of the redraw problems.  I see
9821         an occasional cursor trail when a line is broken now and the cursor
9822         placement can seem out by a few pixels also after a rebreak.
9823
9824 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * buffer.C (parseSingleLyXformat2Token): update because minipage
9827         width is now a LyXLength
9828
9829         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9830
9831         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9832         math insets
9833
9834 2002-01-17  Juergen Vigna  <jug@sad.it>
9835
9836         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9837
9838         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9839         is set correctly and the inset is updated correctly.
9840
9841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9844         the beginning of the loop.
9845
9846 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * lyxrc.C: improve help for use_scalable_fonts
9849
9850 2002-01-17  Allan Rae  <rae@lyx.org>
9851
9852         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9853
9854 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9857         make sure to set their inset_owner to the right value (bug #171)
9858
9859 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9860
9861         * DepTable.h
9862         * DepTable.C: Implement mtime checking to reduce time spent doing
9863         CRCs.
9864
9865 2002-01-16  Juergen Vigna  <jug@sad.it>
9866
9867         * tabular.C (GetAdditionalHeight): one of error fixed.
9868
9869         * lyxrc.C (output): small fix in writing use_pspell.
9870
9871 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9872
9873         * sp_base.h: #include LString.h
9874
9875 2002-01-16  Allan Rae  <rae@lyx.org>
9876
9877         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9878         Can someone check this please?
9879
9880         * text.C (drawInset): It was possible that p.row would be removed by
9881         breakAgainOneRow upsetting a few other settings.  There may be another
9882         small tweak possible by setting need_break_row = 0 when p.row has been
9883         removed but I don't know enough about the logic here.
9884
9885 2002-01-15  Allan Rae  <rae@lyx.org>
9886
9887         * text.C (insertChar): removed conditional truism.
9888
9889         * BufferView2.C (removeAutoInsets): More tweaks.
9890         cur_par_prev could be a stray pointer.  Check for trailing empty line
9891         in case last line was cur_par and only had an error inset on it.
9892
9893 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9894
9895         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9896         absolute
9897
9898         * vc-backend.C (most methods):
9899         * exporter.C (Export):
9900         * converter.C (convert):
9901         (runLaTeX):
9902         * LyXSendto.C (SendtoApplyCB):
9903         * lyxfunc.C (dispatch):
9904         (menuNew):
9905         (open):
9906         (doImport):
9907         * lyx_cb.C (AutoSave):
9908         (InsertAsciiFile):
9909         * BufferView_pimpl.C (MenuInsertLyXFile):
9910         * buffer.C (runChktex): use Buffer::filePath().
9911
9912         * buffer.h: rename filename to filename_; rename filepath to
9913         filepath_ and make it private
9914         (filePath): new method
9915
9916         * buffer.C (writeFile): use fileName()
9917         (getLatexName):
9918
9919         * lyx_main.C (init): fix starting  of LyX when the binary is a
9920         link from so,ewhere else.
9921
9922         * minibuffer.C: include <cctype> for isprint
9923
9924 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9925
9926         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9927         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9928         name clash with InsetCollapsable's width function.
9929
9930 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9931
9932         * lastfiles.C: include <iterator>
9933
9934 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9935
9936         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9937         std::count.
9938
9939         * buffer.C (makeLaTeXFile): ditto.
9940         Also make loop operation more transparent.
9941
9942 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9943
9944         * ToolbarDefaults.C: remove trailing comma closing namespace.
9945
9946         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9947
9948         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9949         as in WorkArea.
9950
9951         * trans.C (Load): comment out unused variable, allowed.
9952
9953 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9954
9955         * minibuffer.[Ch] (append_char): new method to recieve input from the
9956         drop-down completion browser. If a key was pressed, then recieve this
9957         char and append it to the existing string.
9958         (peek_event): modify the positioning data passed to the completion
9959         browser so that it can be placed above the minibuffer rather than below.
9960 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9961
9962         * LyXAction.C (init): alloe error-next for readonly documents.
9963
9964         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9965         count.
9966
9967 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9968
9969         * bufferlist.C (readFile): create the buffer _after_ checking that
9970         the file exists.
9971
9972         * lyxfunc.C (verboseDispatch): fix handling of arguments
9973
9974         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9975
9976         * lyxrc.C: use string::erase() instead of initializing to "".
9977
9978
9979 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * BufferView_pimpl.h:
9982         * BufferView_pimpl.C:
9983         * WorkArea.h:
9984         * WorkArea.C:
9985         * text2.C: tell X when we have made a selection for copying
9986
9987 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * BufferView_pimpl.C (MenuInsertLyXFile):
9990         * lyxfunc.C (menuNew):
9991         (open):
9992         (doImport): add shortcuts to directory buttons
9993
9994         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9995         open a float)
9996
9997         * lyxfunc.C (setStatusMessage):
9998         (getStatusMessage): new methods
9999         (getStatus):use setStatusMessage instead of setErrorMessage
10000         (dispatch): when function is disabled, set error message here
10001         [instead of in getStatus previously]
10002
10003         * BufferView_pimpl.C (workAreaButtonRelease): update
10004         toolbar/menubar here too.
10005
10006 2002-01-13  Allan Rae  <rae@lyx.org>
10007
10008         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10009         Now seems indestructible.  Remaining task is to audit all other
10010         code affected by deleteEmptyParagraphMechanism.  One small quirk
10011         left is that an empty document with an error in the preamble can
10012         be made to report an error but no error box appears.  I don't know
10013         where it goes.
10014         (removeAutoInsets): Improved comments.
10015
10016 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * Thesaurus.h:
10019         * Thesaurus.C: update for Aiksaurus 0.14
10020
10021 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10022
10023         * text2.C (firstParagraph): removed member function, all uses
10024         replaces with ownerParagraph
10025         (redoParagraphs): here
10026         (updateInset): here
10027         (toggleAppendix): here
10028         * BufferView2.C (insertErrors): here
10029         (setCursorFromRow): here
10030
10031 2002-01-13  Allan Rae  <rae@lyx.org>
10032
10033         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10034         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10035         There is still a way to segfault this although you may have to do this
10036         multiple times: Have an InsetERT with an unknown command in it.
10037         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10038         <down-arrow>, <Enter> again, View->DVI, BANG!
10039
10040         * text2.C (setCursor):
10041         (deleteEmptyParagraphMechanism):
10042         * lyxtext.h (setCursor):
10043         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10044         Making use of the return value may help fix other bugs.
10045
10046 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10049
10050         * LyXView.C (updateMenubar): call MenuBar::update here
10051         (updateToolbar): but not here
10052         (showState): do not update toolbar/menubar
10053
10054         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10055         should need to care about that.
10056
10057         * lyxfunc.C (verboseDispatch): simplify a bit
10058         (getStatus): have a version which takes a pseudoaction, and
10059         another which requires a (kb_action,string).
10060
10061         * LyXAction.C (retrieveActionArg): make it work also when action
10062         is not a pseudo-action.
10063         (getActionName): simplify a bit
10064         (helpText):
10065
10066 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10067
10068         * lyxfunc.C (verboseDispatch): new families of methods with
10069         several ways to specify a command and a bool to indicate whether
10070         the command name and shortcut should be displayed in minibuffer
10071         (eventually, we could extend that to a finer bitmask like
10072         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10073         (dispatch): the pristine dispatch command which just, well,
10074         dispatchs! Note it still sets its result to minibuffer; I'm not
10075         sure we want that.
10076
10077         * lyxfunc.h: remove setHintMessage
10078
10079         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10080
10081 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * BufferView_pimpl.C (specialChar): delete new inset if we have
10084         not been able to insert it.
10085
10086         * kbmap.C: revert to using int instead of kb_action, since all we
10087         are dealing with is pseudo-actions.
10088
10089         * LyXAction.C (searchActionArg): change to return int instead of
10090         kb_action, since the result is a pseudoaction.
10091
10092 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * buffer.C (insertErtContents): Fix (partially) the font bug.
10095
10096 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10097
10098         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10099         as the other one is broken on my machine!
10100
10101 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10102
10103         * commandtags.h:
10104         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10105
10106 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10107
10108         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10109         reflect their actual use. Provide compatibility code for older lyxrc
10110         files.
10111
10112         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10113         FL_NORMAL_STYLE.
10114         change names of popup font variables in line with the changes to lyxrc.C
10115
10116 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * buffer.C (asciiParagraph): avoid outputing a word twice after
10119         an inset.
10120
10121         * lyxrc.C (getDescription): document that document_path and
10122         template_path can be empty.
10123
10124 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10125
10126         * LaTeXFeatures.C (getMacros):
10127         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10128
10129         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10130
10131         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10132         getPackages.
10133         (getPackages): rename feature "floats" to "float". Use an array to
10134         iterate over 'simple' features (i.e. just a \usepackage). Add
10135         handling of "amsmath" (renamed from "amsstyle").
10136
10137 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10138
10139         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10140         features list.
10141
10142 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10143
10144         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10145         FuncStaus::FuncStatus & FuncStaus::some_method().
10146
10147 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10148
10149         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10150         of the func_satus stuff. Edited and massaged in various ways by
10151         JMarc.
10152
10153         * lyxfunc.C (getStatus): use FuncStatus
10154
10155 2002-01-08  Juergen Vigna  <jug@sad.it>
10156
10157         * text.C (nextBreakPoint): use function Inset::isChar().
10158
10159         * paragraph.C (TeXOnePar): use function
10160         Inset::forceDefaultParagraphs.
10161
10162         * buffer.C (latexParagraphs): use function
10163         Inset::forceDefaultParagraphs.
10164
10165 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10166
10167         * lyx_gui.C (init): set the style of the menu popups to
10168         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10169
10170 2002-01-07  Juergen Vigna  <jug@sad.it>
10171
10172         * text.C (setHeightOfRow): small fix
10173         (prepareToPrint): don't look at alignment if we don't have the place
10174         for doing it.
10175
10176 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10177
10178         * box.C: New file. Move the Box methods and functions out of box.h,
10179         following Lars' suggestion.
10180
10181 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10182
10183         * box.h: #include "support/LOstream.h", needed for inlined function.
10184
10185         * lyxtextclass.C:
10186         * lyxtextclasslist.C: added some using std declarations.
10187
10188 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * box.h: make signed dimensions to allow insets wider than
10191           the screen (bug #162)
10192
10193         * BufferView_pimpl.C: add some insetHit debug
10194
10195 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * vc-backend.C: add FIXME
10198
10199 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10200
10201         * lyxfunc.C (getStatus): enable code for showing math font status
10202         in toolbar/menu.
10203
10204 2002-01-07  Juergen Vigna  <jug@sad.it>
10205
10206         * text.C (nextBreakPoint): removed debug output not needed anymore.
10207
10208 2002-01-06  Juergen Vigna  <jug@sad.it>
10209
10210         * text.C (nextBreakPoint): fixed up this function we had this bug
10211         since ever but now hopefully we break row better.
10212         (insertChar): we have to check if an inset is the next char as it
10213         could now happen that a large inset is causing a break.
10214
10215 2002-01-05  Juergen Vigna  <jug@sad.it>
10216
10217         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10218         if it doesn't like to be drawed.
10219
10220 2002-01-04  Juergen Vigna  <jug@sad.it>
10221
10222         * BufferView2.C (lockInset): forgot to set a cursor.
10223
10224         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10225
10226 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10227
10228         * FormMathsPanel.C:
10229         * FormMathsPanel.h
10230         * MathsSymbols.C:
10231         * form_maths_panel.C:
10232         * form_maths_panel.h:
10233         * form_maths_panel.fd: implemented sub- and super- buttons in math
10234         panel.
10235
10236         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10237         (or ^ space) to be used as in TeX (req'd by André).
10238
10239         * lyxfunc.C: Allow ^ and _ again to be used both as
10240         super/subscript (mathed) and as themselves (in text).
10241
10242 2002-01-03  Allan Rae  <rae@lyx.org>
10243
10244         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10245         "LyX" or the filename of the current buffer if it has one.  This is a
10246         modified form of John Levon's patch.
10247
10248         * XFormsView.C (setWindowTitle): also set icon title.
10249
10250         * LyXView.h (setWindowTitle): signature changed.
10251         * XFormsView.h (setWindowTitle): ditto.
10252
10253 2002-01-02  Juergen Vigna  <jug@sad.it>
10254
10255         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10256
10257 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * screen.C (topCursorVisible): introduce a temp var for
10260         text->cursor.row(), handle the case where this row is null. (kindo
10261         hachish)
10262
10263         * text2.C (setCursor): add a couple of asserts.
10264
10265         * paragraph.h (inset_iterator): add -> operator
10266
10267         * paragraph.[Ch] (autoDeleteInsets): remove member function
10268
10269         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10270         cursor pos correctly and handle inset deletion by itself.
10271         (insertErrors): move iterator declaration out of for expression
10272
10273         * lyxtextclass.C: add <algorithm>
10274
10275         * Makefile.am: added the new files to sources, removed layout.C
10276
10277         * layout.C: removed file
10278
10279         * layout.h: remove LYX_DUMMY_LAYOUT
10280
10281         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10282         layout.
10283
10284         * lyxlayout.[Ch]:
10285         * lyxtextclass.[Ch]:
10286         * lyxtextclasslist.[Ch]: new files
10287
10288         * include order changes to a lot of files, also changes because of
10289         the six new files.
10290
10291 2001-12-27  Juergen Vigna  <jug@sad.it>
10292
10293         * buffer.C (asciiParagraph): more fixes.
10294
10295         * tabular.C (ascii): make ascii export support export of only the
10296         data separated by a column-delimiter.
10297         (ascii): better support for ascii export.
10298
10299         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10300
10301 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * tabular_funcs.C: use a "using std::getline" instead of the
10304         previous fix from Angus (necessary for cxx + lyxstring)
10305
10306 2001-12-24  Juergen Vigna  <jug@sad.it>
10307
10308         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10309
10310         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10311         problems. First check a minipage also if we have some ert-contents
10312         (not only on par->size(), second set the right depth of the paragraph
10313         on the relink to the root-paragraph-list!
10314
10315         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10316         which then did not anymore update the main paragraphs on undo/redo!
10317
10318 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10321         code. Support all font-changing funcs (even those which are not in
10322         menu currently). Support for reporting font settings in
10323         mathed (disabled until Andre provides a function on mathed's side).
10324
10325         * func_status.h (toggle): small helper function to set toggle
10326         state on a flag.
10327
10328 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10329
10330         * tabular_funcs.C: getline -> std::getline
10331
10332 2001-12-21  Juergen Vigna  <jug@sad.it>
10333
10334         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10335         accessed and could be 0 (I couldn't generate this but it seems
10336         Michael could!).
10337
10338 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10339
10340         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10341         * tabular_funcs.h: here and include iosfwd
10342
10343 2001-12-20  Juergen Vigna  <jug@sad.it>
10344
10345         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10346         inside inset but undo_par was.
10347
10348 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * Thesaurus.C: always include <config.h> in sources.
10351
10352         * Painter.h:
10353         * lyxlookup.h:
10354         * box.h: do not include <config.h> in header files
10355
10356         * text.C (paintLastRow): remove unused variable
10357
10358         * text.C (transformChar):
10359         (insertChar):
10360         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10361
10362         * Painter.C (text):
10363         * font.C (width): rewrite to use uppercase() instead of
10364         islower/toupper.
10365
10366         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10367
10368 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * lyxfind.C: clean up of find failure position change
10371
10372 2001-12-20  Juergen Vigna  <jug@sad.it>
10373
10374         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10375
10376         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10377         (TeXRow): added to LaTeX a single tabular row.
10378         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10379         (Latex): simplified and finally good LT-h/f support.
10380         (various_functions): just small adaptions for LT-h/f support.
10381
10382         * tabular_funcs.[hC]: added and moved here all not classfunctions
10383         of LyXTabular.
10384
10385 2001-12-19  Juergen Vigna  <jug@sad.it>
10386
10387         * tabular.[Ch]: better support for longtabular options (not finished
10388         yet!)
10389
10390 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * text.C (paintLastRow): use the label font instead of the font of
10393         the last character to compute the size of *_BOX. This makes more
10394         sense and avoids a crash with empty paragraphs.
10395         Use Painter::rectangle to draw EMPTY_BOX.
10396
10397 2001-12-19  Juergen Vigna  <jug@sad.it>
10398
10399         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10400         the paragraphs if the replaced paragraph is not the first one!
10401         Tried to delete not used paragraphs but does not work yet so for
10402         now it's inside #ifdef's and by default off!
10403
10404 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10405
10406         * MenuBackend.C: include "lyx_main.h" instead of declaring
10407         lastfiles (actually was declared as LastFiles* instead of a
10408         scoped_ptr).
10409
10410 2001-12-17  Juergen Vigna  <jug@sad.it>
10411
10412         * tabular.C (AppendColumn): applied John's fix
10413
10414 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * BufferView.h:
10417         * BufferView.C:
10418         * BufferView_pimpl.h:
10419         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10420
10421         * Makefile.am:
10422         * box.h: new start of class for above
10423
10424         * lyxfunc.C: ignore space-only minibuffer dispatches.
10425           Show the command name when it doesn't exist
10426
10427         * minibuffer.C: don't add empty lines to the history
10428
10429         * minibuffer.C: add a space on dropdown completion
10430
10431 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * text.C: fix line above/below drawing in insets
10434
10435 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10436
10437         * lyxlength.C (LyXLength): Initialize private variables.
10438
10439 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10440
10441         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10442         when inserting error insets.
10443
10444 2001-12-13  Juergen Vigna  <jug@sad.it>
10445
10446         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10447         actually sometimes the before-paragraph.
10448         (setUndo): don't clear the redostack if we're not actually undoing!
10449
10450 2001-12-06  Juergen Vigna  <jug@sad.it>
10451
10452         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10453         and fixed redoing of main paragraph, so we can use it now ;)
10454
10455         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10456
10457 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10460         Juergen's request
10461
10462 2001-12-13  André Pönitz <poenitz@gmx.net>
10463
10464         * undostack.[Ch]:
10465         * undo_func.C: minor cleanup
10466
10467 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10470         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10471         font in urw-fonts package which is marked as -urw-fontspecific and
10472         does not work (incidentally, changing the encoding in the
10473         fonts.dir of this package to -adobe-fontspecific fixes the
10474         problem).
10475
10476         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10477         is a crash when undoing first paragraph (Juergen, please take a
10478         look). THis does not mean the undo fix is wrong, just that it
10479         uncovers problems.
10480
10481         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10482         the (Paragraph*) version when needed instead of duplicating the
10483         code.
10484
10485         * text.C (workWidth): use Inset::parOwner to find out where the
10486         inset has been inserted. This is a huge performance gain for large
10487         documents with lots of insets. If Inset::parOwner is not set, fall
10488         back on the brute force method
10489
10490         * paragraph_pimpl.C (insertInset):
10491         * paragraph.C (Paragraph):
10492         (cutIntoMinibuffer): set parOwner of insets when
10493         inserting/removing them
10494
10495         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10496
10497 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10498
10499         * commandtags.h:
10500         * LyXAction.C:
10501         * lyx_main.C:
10502         * lyxfunc.C:
10503         * mathed/formulabase.C:
10504         * mathed/math_cursor.[Ch]:
10505         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10506
10507
10508 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * lyxlength.[Ch] (operator!=): new function
10511
10512 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * text.C (workWidth): use Inset::parOwner to find out where the
10515         inset has been inserted. This is a huge performance gain for large
10516         documents with lots of insets. If Inset::parOwner is not set, fall
10517         back on the brute force method
10518
10519         * paragraph_pimpl.C (insertInset):
10520         * paragraph.C (Paragraph):
10521         (cutIntoMinibuffer): set parOwner of insets when
10522         inserting/removing them
10523
10524         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10525
10526 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * tabular-old.C (getTokenValue):
10529         * tabular.C (getTokenValue):
10530         (write_attribute): new versions for LyXLength
10531         (everywhere): adjust the use of widths
10532
10533         * tabular.h: change the type of widths from string to LyXLength
10534
10535 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10536
10537         * paragraph.C: fixed missing line number count when exporting
10538         Environments to LaTeX file
10539
10540         * buffer.C: added informational message for checking line numbers.
10541
10542 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10545         paragraph, do the 'double space' part, but not the 'empty
10546         paragraph' one.
10547
10548         * text.C (workWidth): small optimization
10549         (getLengthMarkerHeight): use minimal size for negative lengths.
10550
10551 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10552
10553         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10554
10555         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10556
10557 2001-12-11  André Pönitz <poenitz@gmx.net>
10558
10559         * FontLoader.C:
10560         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10561
10562 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * text2.C: keep selection on a setFont()
10565
10566 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * lyx_cb.C: another bv->text misuse, from insert label
10569
10570 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * kbsequence.h:
10573         * kbsequence.C: re-instate nmodifier mask
10574
10575 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10576
10577         * lyx_main.h: make lyxGUI private.
10578
10579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * lyxfind.C: place the cursor correctly on failed search
10582
10583 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10584
10585         * text.C (getLengthMarkerHeight): for small heights, the arrows
10586         are not always on top/bottom of the text
10587         (drawLengthMarker): smaller arrows; take the left margin in
10588         account; draw also vfills.
10589         (paintFirstRow):
10590         (paintLastRow): remove special code for vfill and standard spaces,
10591         since everything is handled in drawLengthMarker now.
10592
10593 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * buffer.C (insertErtContents): try to handle font and language
10596         interaction a bit better.g
10597
10598         * ColorHandler.C (updateColor): change the hash to cover the whole
10599         LColor enum, ws cleanup
10600         (getGCLinepars): ditto
10601         (getGCLinepars): only lookup in the linecache once.
10602
10603 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * iterators.C (operator++): Make the iterator more robust
10606
10607         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10608         (John's patch)
10609         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10610
10611 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * lyxtext.h:
10614         * text.C: better added space drawing
10615
10616 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * LyXView.C:
10619         * BufferView2.C: fix layout combo update on inset unlock
10620
10621 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * Makefile.am: don't compile unused files
10624
10625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * lyxfunc.C:
10628         * commandtags.h:
10629         * LyXAction.C: remove old LFUN_LAYOUTNO
10630
10631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * paragraph_pimpl.h:
10634         * paragraph_pimpl.C: isTextAt() doesn't need font param
10635
10636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * lyxlex.h:
10639         * lyxlex.C: little cleanup
10640
10641 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * BufferView_pimpl.C: fix insertAscii for insets
10644
10645 2001-12-05  Juergen Vigna  <jug@sad.it>
10646
10647         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10648         set the right font on the "multi" paragraph paste!
10649
10650 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * trans_decl.h:
10653         * trans_mgr.[Ch]:
10654         * trans.[Ch]:
10655         * lyxgluelength.C:
10656         * lyxlength.C: remove out-commented code.
10657
10658         * BufferView_pimpl:
10659         * CutAndPaste.C:
10660         * DepTable.C:
10661         * buffer.C:
10662         * chset.C:
10663         * lastfiles.C:
10664         * lyxlex.C:
10665         * lyxlex_pimpl.C:
10666         * lyxserver.C:
10667         * screen.C:
10668         * tabular-old.C:
10669         * tabular.C:
10670         * text.C:
10671         * trans_mgr.C:
10672         * vc-backend.C: change "while(" to "while ("
10673
10674         * lyxlength.[Ch]: add zero function to check if length is zero or
10675         not
10676         * lyxgluelength.C: use it
10677
10678 2001-12-05  Allan Rae  <rae@lyx.org>
10679
10680         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10681         Works for 2.95.3, from what I understand of Garst's reports this should
10682         work for other g++ versions.  We're screwed if the abs(int) definition
10683         changed between bugfix releases of gcc.
10684
10685 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * text.C: fix chapter label offset !
10688
10689 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * lyxtext.h:
10692         * text.C: fix hfill at end of line, clean up
10693
10694 2001-12-04  Juergen Vigna  <jug@sad.it>
10695
10696         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10697         that we force an update of the inset and it's owners if neccessary.
10698
10699 2001-12-03  Juergen Vigna  <jug@sad.it>
10700
10701         * text.C (rowLast): simplified code
10702
10703 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * lyxfunc.C: fix show options on timeout
10706
10707 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * screen.C (topCursorVisible): scroll half a page when the cursor
10710         reached top of bottom of screen
10711
10712 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * minibuffer.C: deactivate on loss of focus
10715
10716 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * vspace.[Ch] (operator!=): add operator.
10719
10720 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * BufferView_pimpl.C: refuse to open an inset when
10723         there's a selection.
10724
10725 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * BufferView_pimpl.C: allow to click on RHS of full row insets
10728
10729 2001-11-30  Juergen Vigna  <jug@sad.it>
10730
10731         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10732         insets for undo reasons.
10733
10734 2001-11-28  André Pönitz <poenitz@gmx.net>
10735
10736         * vspace.[Ch]: cosmetical changes
10737
10738 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * LyXAction.h:
10741         * LyXAction.C:
10742         * lyxfunc.h:
10743         * lyxfunc.C:
10744         * kbmap.h:
10745         * kbmap.C:
10746         * lyxrc.C:
10747         * kbsequence.h:
10748         * kbsequence.C: part re-write of old kb code
10749
10750         * Painter.C:
10751         * WorkArea.C: remove Lgb_bug_find_hack
10752
10753 2001-11-30  José Matos <jamatos@fep.up.pt>
10754
10755         * buffer.C (makeDocBookFile): add a comment to point a hack.
10756         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10757         Fixed a double write of labels.
10758
10759 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10760
10761         * LaTeX.C:
10762         * LaTeX.h Fixed bug in LaTeX class where it would not
10763         re-run latex if no depfiles were changed, but the .dvi was removed.
10764
10765 2001-11-28  André Pönitz <poenitz@gmx.net>
10766
10767         * all the files from the change on 2001/11/26:
10768         use lyx::layout_type instead of LyXTextClass::size_type
10769         use lyx::textclass_type instead of LyXTextClassList::size_type
10770
10771 2001-11-29  Juergen Vigna  <jug@sad.it>
10772
10773         * text.C: added support for paragraph::isFreeSpacing()
10774
10775         * buffer.C: same as above
10776
10777         * paragraph.h: inserted isFreeSpacing() function to enable
10778         FreeSpacing inside InsetERT.
10779
10780         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10781         of the paragraph's in the cut/copy buffer to 0!
10782
10783         * text2.C (removeRow): remove the assert as it can!
10784
10785         * lyxtext.h: added helper function firstRow returning firstrow and
10786         made firstrow private again.
10787
10788         * BufferView2.C (lockInset): don't relock if we're already locked!
10789
10790         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10791         the only paragraph.
10792         (removeRow): added Assert::(firstrow)
10793
10794         * debug.C: forgot to add INSETTEXT here.
10795
10796 2001-11-28  Juergen Vigna  <jug@sad.it>
10797
10798         * sp_spell.C (initialize): changed error text to more general
10799         spellchecker command use (not only ispell!)
10800
10801         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10802
10803         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10804
10805 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * vspace.C: initialise lyxgluelength on failure
10808
10809 2001-11-28  Allan Rae  <rae@lyx.org>
10810
10811         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10812         declaration & definition that looks like a function declaration.
10813
10814 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10815
10816         * BufferView2.C (copy):
10817         (copyEnvironment): do not clear the selection when doing a copy.
10818
10819         * text.C (paintFirstRow): compilation fix
10820
10821 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10822
10823         * tabular.C (Latex): correct line count when writing latex.
10824
10825 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * paragraph_pimpl.h:
10828         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10829           bug a bit
10830
10831 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * text.C:
10834         * LColor.h:
10835         * LColor.C: change vfillline->added_space
10836
10837         * text.C: add markers and text for added space
10838
10839         * vspace.C: fix comment
10840
10841 2001-11-28  André Pönitz <poenitz@gmx.net>
10842
10843         * paragraph.C: whitespace changes
10844         * all the other files from the change on 2001/11/26:
10845         change *::pos_type into lyx::pos_type
10846
10847 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10848
10849         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10850         language of the document when inserting error insets.
10851
10852 2001-11-26  André Pönitz <poenitz@gmx.net>
10853
10854         * BufferView_pimpl.[Ch]:
10855         *       CutAndPaste.C:
10856         * buffer.[Ch]:
10857         * lyxcursor.[Ch]:
10858         * lyxfind.C:
10859         * lyxfunc.C:
10860         * lyxrow.[Ch]:
10861         * paragraph.[Ch]:
10862         * paragraph_pimpl.[Ch]:
10863         * sp_spell.C:
10864         * text.C:
10865         * text2.C: reduce header dependencies, introduce type for positions
10866
10867 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * <various>: change to use Alert.h
10870
10871 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10872
10873         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10874         when encountering an unknown token.
10875         (readLyXformat2): Show an error message if there were unknown tokens.
10876
10877 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * BufferView2.C:
10880         * BufferView_pimpl.C:
10881         * buffer.C:
10882         * paragraph.h:
10883         * text.C:
10884         * text2.C: use par->isInset()
10885
10886 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * paragraph_pimpl.h:
10889         * paragraph_pimpl.C: cleanup
10890
10891 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10892
10893         * text2.C (removeRow):
10894         * text.C (setHeightOfRow): remove useless (and costly) call to
10895         getRow.
10896
10897 2001-11-20  Allan Rae  <rae@lyx.org>
10898
10899         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10900         Now need Inset*::checkInsertChar() to return true for appropriate
10901         cases so that the characters in the minibuffer will actually be
10902         inserted.
10903
10904 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * text.C: change the order of the includes.
10907         (workWidth): initialize it at once.
10908         (workWidth): make maxw unsigned
10909         (setHeightOfRow): remove unused variable (inset)
10910         (selectSelectedWord): remove unused variable (inset)
10911         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10912
10913 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10916         server is not running.
10917         (openConnection):
10918         (closeConnection): add debug info when server is disabled.
10919
10920         * ColorHandler.C (getGCForeground): send debug message to GUI
10921         channel.
10922
10923         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10924
10925         * kbmap.C (bind): modify because return conventions of
10926         kb_sequence::parse have changed.
10927
10928         * kbsequence.C (parse): only ignore spaces and not any stupid
10929         control character. This avoids tests like s[i] <= ' ', which are
10930         guaranteed to fail with 8bit characters and signed chars.
10931         Change return code to string::npos when there have been no error
10932         (0 was a bad idea when error is at first character)
10933
10934 2001-11-14  José Matos  <jamatos@fep.up.pt>
10935
10936         * buffer.h:
10937         * buffer.C (simpleDocBookOnePar): removed unused argument.
10938
10939 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10940
10941         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10942         insets which are part of a word. Paragraph::isLetter takes care of
10943         that now. Use Paragraph::isInset to identify insets.
10944         (selectSelectedWord): do not test for hyphenation break.
10945
10946         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10947         that protected spaces are considered as spaces.
10948
10949         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10950         Inset::isLetter.
10951
10952 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * lyxserver.h:
10955         * lyxserver.C: fix it. and small cleanup.
10956
10957 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * BufferView_pimpl.C: use inline helpers
10960
10961         * LaTeXFeatures.h:
10962         * LaTeXFeatures.C: fix typos
10963
10964         * Spacing.h:
10965         * Spacing.C: move spacing_string into class
10966
10967         * ToolbarDefaults.C: move stuff into namespace anon
10968
10969         * layout.h: update enum
10970
10971         * lyxfunc.C: use better debug
10972
10973         * minibuffer.h: fix typo
10974
10975         * debug.h:
10976         * debug.C:
10977         * WorkArea.C: add and use Debug::WORKAREA
10978
10979         * lyxtext.h:
10980         * text.C:
10981         * text2.C: code re-organisation, inline helpers
10982
10983 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10984
10985         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10986         std::vector.empty().
10987
10988 2001-11-09  Allan Rae  <rae@lyx.org>
10989
10990         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10991         '\n's after tables.  Tabular and ERT inset work now makes this no
10992         longer necessary.
10993
10994 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * minibuffer.h:
10997         * minibuffer.C: fix crash, improve drop-down completion
10998
10999 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * lyxserver.h:
11002         * lyxserver.C: invalidate fd's when doing endPipe()
11003
11004 2001-11-08  José Matos  <jamatos@fep.up.pt>
11005
11006         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11007         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11008
11009         * paragraph.h:
11010         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11011
11012 2001-11-07  José Matos  <jamatos@fep.up.pt>
11013
11014         * buffer.h:
11015         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11016         const qualifier.
11017
11018         * buffer.C (sgmlOpenTag):
11019         * buffer.C (sgmlCloseTag): removed debug info.
11020
11021         * buffer.h (sgmlOpenTag):
11022         * buffer.h (sgmlCloseTag): made public.
11023
11024 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11025
11026         * buffer.C (saveParamsAsDefaults):
11027         * lyx_cb.C (MenuLayoutSave): remove
11028
11029         * LyXAction.C (init):
11030         * commandtags.h:
11031         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11032
11033 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * buffer.C (setPaperStuff): removed from here...
11036
11037         * bufferparams.C (setPaperStuff): ... and moved there.
11038
11039 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * minibuffer.h:
11042         * minibuffer.C:
11043         * XFormsView.C: add support for drop-down completion
11044
11045 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11046
11047         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11048         commands.
11049
11050 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11051
11052         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11053         disabled.
11054
11055 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * lyx_main.C: change ref to known bugs
11058
11059 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11060
11061         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11062         to work around older babel problems.
11063
11064 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11065
11066         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11067
11068 2001-10-24  Juergen Vigna  <jug@sad.it>
11069
11070         * tabular-old.C (ReadOld): below variable changes reflected.
11071
11072         * tabular.[Ch]: added ltType struct for longtable header/footer
11073         defines and changed all instances where they are used. Added
11074         future support for double top/bottom rows.
11075
11076 2001-10-24  José Matos  <jamatos@fep.up.pt>
11077
11078         * buffer.h (docbookHandleCaption):
11079         * buffer.C (docbookHandleCaption): removed unused function.
11080         (makeDocBookFile): moved docbook supported version to v4.1.
11081
11082 2001-10-24  José Matos  <jamatos@fep.up.pt>
11083
11084         * tabular.h:
11085         * tabular.C (docbookRow): new function to export docbook code of a row.
11086         (DocBook): now honors the longtable flags.
11087
11088 2001-10-23  José Matos  <jamatos@fep.up.pt>
11089
11090         * LaTeXFeatures.h:
11091         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11092         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11093
11094         * buffer.C (makeLinuxDocFile):
11095         (makeDocBookFile): reworked the preamble, more clean, and with
11096         support for lyx defined entities. Changed the document declaration
11097         to be more XML friendly.
11098
11099         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11100         if we need to output XML that should be done with a filter.
11101
11102 2001-10-22  Juergen Vigna  <jug@sad.it>
11103
11104         * sp_pspell.h (class PSpell): add alive function needed in the
11105         controller to see if the spellchecker could be started.
11106
11107 2001-10-22  Juergen Vigna  <jug@sad.it>
11108
11109         * buffer.C (insertStringAsLines): modify the font for inserting
11110         chars in certain conditions by calling checkInsertChar(font).
11111
11112 2001-10-19  Juergen Vigna  <jug@sad.it>
11113
11114         * text.C (workWidth): use getRow instead of wrong algorithm.
11115         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11116
11117 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * lyxserver.h:
11120         * lyxserver.C:
11121         * lyx_main.h:
11122         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11123
11124 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11125
11126         * text.C (workWidth): do not search for the exact row when
11127         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11128         optimization for big documents.
11129
11130 2001-10-18  Juergen Vigna  <jug@sad.it>
11131
11132         * text.C (workWidth): new function with added Inset * parameter.
11133
11134 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11135
11136         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11137
11138         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11139         change return type of getColumnNearX.
11140
11141
11142         * text.C (changeRegionCase): use uppercase/lowercase instead of
11143         toupper/tolower.
11144         (leftMargin):
11145         (rightMargin): simplify code by factoring out the uses of
11146         textclasslist.
11147         (labelFill):
11148         (numberOfHfills):
11149         (setHeightOfRow):
11150         (appendParagraph): use Paragraph::size_type
11151
11152 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * vspace.C (asLatexString): add a missing break
11155
11156 2001-10-15  Herbert Voss  <voss@perce.de>
11157
11158         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11159
11160 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11161
11162         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11163         is not available.
11164
11165 2001-10-10  André Pönitz <poenitz@gmx.net>
11166
11167         * lyxfunc.C: removed greek_kb_flag.
11168
11169 2001-10-10  Herbert Voss  <voss@perce.de>
11170
11171         * lyx_main.C: delete global string help_lyxdir.
11172
11173 2001-10-09  Herbert Voss  <voss@perce.de>
11174
11175         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11176
11177         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11178
11179         * lyx_main.C: added global string help_lyxdir.
11180
11181         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11182
11183 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11184
11185         * lyxrc.C (set_font_norm_type): support iso8859-4
11186
11187 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11188
11189         * LaTeX.C (deplog): add another regex for MikTeX
11190
11191 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11192
11193         * lyxrc.C (set_font_norm_type): support iso8859-3
11194
11195 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11196
11197         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11198
11199         * LaTeXFeatures.C: remove special case of french and index
11200
11201         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11202         before \begin{document}). This solves several incompatibilities.
11203
11204 2001-10-03  Garst Reese  <reese@isn.net>
11205
11206         * lyx_cb.C: change CheckTex error msg.
11207
11208 2001-10-03  José Matos  <jamatos@fep.up.pt>
11209
11210         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11211
11212 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11213
11214         * .cvsignore: update
11215
11216         * lyx_main.C (commandLineVersionInfo): use new style version info.
11217
11218         * buffer.C (writeFile):
11219         (makeLaTeXFile):
11220         (makeLinuxDocFile):
11221         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11222
11223         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11224
11225         * version.h: update to use stuff in version.C
11226
11227         * version.C.in: new file. Contains version information determined
11228         at compile time. This is a merging of version.h and
11229         version_info.h.in.
11230
11231 2001-10-03  Juergen Vigna  <jug@sad.it>
11232
11233         * BufferView_pimpl.C (update): don't change "dirty" status in
11234         updateInset call.
11235
11236 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * WorkArea.C (c-tor): re-position version string slightly.
11239
11240 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11241
11242         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11243         revert to previous code.
11244
11245         WorkArea.[Ch]: (show, destroySplash): methods removed.
11246
11247         WorkArea.C: rework code so that it's an amalgam of the codes before and
11248         after the splash screen was moved to WorkArea.
11249
11250 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11251
11252         * lyxrc.C (read):
11253         * vspace.C (inPixels):
11254         (lyx_advance):
11255         * kbmap.C (bind):
11256         * buffer.C (insertStringAsLines):
11257         (asciiParagraph): fix types to be large enough
11258
11259         * lyxlex_pimpl.h: change member status from short to int
11260
11261         * layout.h: fix type of endlabeltype
11262
11263         * kbmap.C (bind):
11264         * kbsequence.C (parse): change return type to string::size_type
11265
11266         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11267         variable
11268
11269         * Bullet.C (bulletSize):
11270         (bulletEntry): do not use short ints as parameters
11271
11272         * BufferView2.C (insertLyXFile): change a char to an int.
11273
11274         * WorkArea.C (WorkArea): remove unneeded floats in computation
11275
11276 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11277
11278         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11279
11280         * paragraph.C (asString): Do not ignore newline/hfill chars when
11281         copying to the clipboard.
11282
11283 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11284
11285         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11286         after a multi-line inset.
11287
11288 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11289
11290         * paragraph.C (validate): Set NeedLyXFootnoteCode
11291
11292 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11293
11294         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11295         and decrease-error to decrease.
11296
11297 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11298
11299         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11300         it more readable (should be equivalent)
11301
11302 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11303
11304         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11305
11306 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11309         of a cursor (row, etc.) after a character has been deleted
11310         (deleteEmptyParagraphMechanism): call the method above on _all_
11311         cursors held by the LyXText when a double space has been
11312         detected/deleted.
11313
11314 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11315
11316         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11317         pixmap.
11318         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11319
11320         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11321         background. Use greyOut() and the new show() methods to toggle between
11322         the foreground and background. Add code to remove the splash after
11323         its initial showing.
11324
11325         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11326         (create_forms): no longer call Dialogs::showSplash.
11327
11328 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * .cvsignore: add version_info.h
11331
11332 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11333
11334         * version_info.h.in: new file
11335
11336         * Makefile.am: add version_info.h.in
11337
11338         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11339         version_info.h instead of VERSION_INFO
11340
11341 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11344         The ERT inset now returns string().
11345
11346 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * lyxtext.h, text.C (selectNextWord): renamed as
11349         selectNextWordToSpellcheck.
11350
11351         * text.C (selectNextWordToSpellcheck): Modified to not select
11352         words inside an ERT inset.
11353
11354 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11355
11356         * lyx_cb.C (MenuLayoutSave): change a bit the question
11357
11358         * sp_base.h: include <sys/types.h>
11359
11360 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11361
11362         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11363
11364 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11365
11366         * several files: fix typos in user-visible strings
11367
11368 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11369
11370         * text2.C (pasteSelection): do not set the selection, since it
11371         will be cleared later. Actually, the intent was to fix the way the
11372         selection was set, but I figured rmoving the code was just as good.
11373
11374 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * FontLoader.C (available): Check if font is available without
11377         loading the font.
11378
11379 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11380
11381         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11382
11383 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11384
11385         * lyxrc.[Ch]: added display_graphics variable and associated code.
11386
11387 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11388
11389         * bufferparams.C (hasClassDefaults): new method. Returns true if
11390         the buffer parameters correspond to known class defaults
11391
11392 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * XFormsView.C (show): set minimum size to the main window.
11395
11396 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11397
11398         * text2.C (copySelection):
11399         (cutSelection):
11400         * lyxfind.C (LyXReplace):
11401         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11402         LyXText::selectionAsString.
11403
11404         * paragraph.C (asString): add "label" argument to the second form
11405
11406         * text2.C (selectionAsString): add "label" argument and pass it to
11407         Paragraph::asString.
11408
11409 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11410
11411         * lyx_main.C (commandLineHelp): remove version information
11412
11413 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11414
11415         * lyx_main.C: add -version commandline option
11416
11417 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * paragraph.h: make the optional constructor arg required instead.
11420         some modifications to other files because of this.
11421
11422         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11423
11424         * lyxserver.C (C_LyXComm_callback): make it static
11425
11426         * lyx_main.C (error_handler): make it static
11427
11428         * lyx_gui.C (LyX_XErrHandler): make it static
11429
11430         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11431
11432         * WorkArea.C: make the extern "C" methods static.
11433
11434         * Makefile.am (lyx_LDADD): simplify
11435
11436 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11437
11438         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11439         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11440
11441         * LyXAction.C (init):
11442         * lyxfunc.C (dispatch): associated code removal.
11443
11444 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * lyxfont.h (isSymbolFont): shut off warning
11447
11448         * text.C (setHeightOfRow):
11449         (getVisibleRow): fix crash with empty paragraphs which have a
11450         bottom line
11451
11452 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11453
11454         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11455         code.
11456
11457 2001-09-04  José Matos  <jamatos@fep.up.pt>
11458         * buffer.C
11459         * buffer.h
11460         * tabular.C (docbook): rename docBook method to docbook.
11461
11462 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11463
11464         * Makefile.am: add dependencies to main.o.
11465
11466 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11467
11468         * FontLoader.C (available): Return false if !lyxrc.use_gui
11469
11470 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11471
11472         * FontInfo.C (query):
11473         * converter.C (view):
11474         * importer.C (Import):
11475         * exporter.C (Export): Can not -> cannot.
11476
11477 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * BufferView_pimpl.C: allow to create index inset even if
11480           string is empty
11481
11482 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11483
11484         * buffer.C (getLists): replace boost::tie code with an explicit pair
11485         as boost::tie can break some compilers.
11486
11487         * iterators.h: Added a std:: declaration to the return type of
11488         ParIterator::size.
11489
11490 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11493           case.
11494
11495 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11496
11497         * iterators.[Ch]: New files. Provide paragraph iterators.
11498
11499         * buffer.C (changeLanguage): Use paragraph iterators.
11500         (isMultiLingual): ditto
11501
11502         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11503
11504 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11505
11506         * FontLoader.C: Support for cmr font.
11507
11508 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11511         (available): New method.
11512
11513         * FontInfo.C (getFontname): Use scalable fonts even when
11514         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11515         found.
11516
11517 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11518
11519         * converter.C (Formats::view): reverted! Incorrect fix.
11520
11521 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * converter.C (Formats::view): only output the -paper option
11524         if the dvi viewer is xdvi, thereby fixing bug #233429.
11525
11526 2001-08-23  Herbert Voss  <voss@perce>
11527
11528         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11529
11530 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11531
11532         * Spacing.h (Spacing): Set space to Default on in the default
11533         constructor.
11534
11535 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11536
11537         * vc-backend.h (RCS::versionString): add RCS to version
11538         (CVS::versionString): add CVS to version
11539
11540         * vc-backend.C (scanMaster): do not add CVS to version.
11541         (scanMaster): do not add RCS to version
11542
11543         * lyxvc.C (versionString): new method
11544
11545         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11546
11547 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * Spacing.C (set): initialize fval
11550
11551 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11552
11553         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11554         " or \.
11555
11556 2001-08-16  Juergen Vigna  <jug@sad.it>
11557
11558         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11559
11560 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * BufferView_pimpl.C:
11563         * figureForm.C:
11564         * lyxtext.h:
11565         * text2.C: setParagraph takes linespacing now
11566
11567 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * LyxAction.C: add internal LFUN_CITATION_INSERT
11570
11571         * LyXView.C: actually apply fix
11572
11573         * bufferlist.C: fix open non-existent file
11574
11575         * lyxfind.C: fix indentation
11576
11577         * lyxfunc.C: remove unneeded assert, fix typo
11578
11579 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * MenuBackend.C: use "Floatname List"
11582
11583 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11584
11585         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11586         when converting LaTeX layout to insetERT.
11587         Generate a non-collapsed float when reading old float
11588
11589 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11592         ERT insets.
11593
11594 2001-08-13  Juergen Vigna  <jug@sad.it>
11595
11596         * text.C (fill): return 0 instead of 20 as this seems to be the more
11597         correct value.
11598
11599 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11600
11601         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11602         lyxrc.font_norm.
11603
11604 2001-08-13  Juergen Vigna  <jug@sad.it>
11605
11606         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11607         casesensitive off.
11608         (SearchBackward): comment out the unlocking of the inset_owner this
11609         should not be needed!
11610
11611 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11612
11613         * Many files: Remove inherit_language, and add latex_language
11614
11615         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11616         collapsible insets.
11617
11618 2001-08-10  Juergen Vigna  <jug@sad.it>
11619
11620         * text.C (prepareToPrint): fixed hfill-width in draw!
11621
11622         * BufferView2.C (selectLastWord): save the selection cursor as this
11623         now is cleared in the function LyXText::clearSelection!
11624
11625 2001-08-08  Juergen Vigna  <jug@sad.it>
11626
11627         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11628         BACKSPACE type functions.
11629
11630         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11631         is only cutted from the document but not put in the cut-buffer, where
11632         still the old stuff should be.
11633
11634         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11635
11636         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11637
11638         * tabular.C (SetWidthOfCell): fixed special case where the width
11639         was not updated!
11640         (LeftLine): handle '|' in align_special.
11641         (RightLine): ditto
11642         (LeftAlreadyDrawed): ditto
11643         (SetWidthOfCell): ditto
11644
11645 2001-08-07  Juergen Vigna  <jug@sad.it>
11646
11647         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11648
11649 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11652         * lyxlex.[hC]: ditto
11653
11654 2001-08-06  Juergen Vigna  <jug@sad.it>
11655
11656         * text.C (getVisibleRow): fix up row clearing a bit.
11657
11658 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * minibuffer.C: make sure the X server sees the changes in the input.
11661
11662 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * paragraph.C (getFont): split into...
11665         (getLabelFont): this
11666         (getLayoutFont): and this
11667         * paragraph_pimpl.C (realizeFont): calling this
11668
11669         * text2.C (getFont): split into...
11670         (getLayoutFont): this
11671         (getLabelFont): and this
11672         (realizeFont): all three calling this
11673
11674         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11675         files where used.
11676
11677 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11678
11679         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11680
11681 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11682
11683         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11684         layouts from the Quote inset insertion.
11685
11686 2001-08-03  Juergen Vigna  <jug@sad.it>
11687
11688         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11689
11690         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11691         only if status not is already CHANGED_IN_DRAW (second level).
11692
11693         * text.C (draw): don't set the need_break_row when inside an
11694         InsetText LyXText.
11695
11696 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * buffer.C (parseSingleLyXformat2Token): handle more latex
11699         conversion cases.
11700
11701         * bufferview_funcs.[hC]: change function names to
11702         begin with small char, adjust other files.
11703
11704 2001-08-02  André Pönitz <poenitz@gmx.net>
11705
11706         * lyxfunc.C:
11707         BufferView_pimpl.C: remove broken special code for math-greek
11708
11709 2001-08-02  Juergen Vigna  <jug@sad.it>
11710
11711         * BufferView_pimpl.C (update): redone this function so that we
11712         update the text again if there was a CHANGE_IN_DRAW.
11713
11714         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11715         (drawFromTo): added a new internal bool which is used by draw() and
11716         redraw() function.
11717         (general): some cursor drawing problems fixed.
11718
11719 2001-08-01  Juergen Vigna  <jug@sad.it>
11720
11721         * lyxfind.C (LyXFind): fixed
11722         (SearchForward): ditto
11723         (SearchBackward): ditto
11724
11725         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11726         spurius drawing of the cursor in the main area.
11727
11728         * text2.C (status): small fix which could lead to a segfault!
11729         (clearSelection): remove unneeded BufferView param.
11730
11731 2001-08-01  André Pönitz <poenitz@gmx.net>
11732
11733         * lyxfunc.C: small change due to changed mathed interface
11734
11735 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11736
11737         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11738
11739 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * lyxfunc.c: fail gracefully if file doesn't exist
11742
11743         * LyXSendto.C:
11744         * buffer.C:
11745         * lyxfunc.C:
11746         * BufferView_pimpl.C: IsDirWriteable() proto changed
11747
11748         * LyXView.C: fix updateWindowTitle() to store the last title
11749
11750 2001-07-31  Juergen Vigna  <jug@sad.it>
11751
11752         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11753         the font (wrong since using of Paragraph::highestFontInRange).
11754
11755         * paragraph.C (highestFontInRange): added a default_size parameter.
11756
11757         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11758         (setHeightOfRow): reformat
11759
11760 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * converter.[hC] + affected files: move to (inital-char)lowercase
11763         function names.
11764
11765         * ParagraphParameters.C (ParagraphParameters): remove commented code
11766
11767         * PainterBase.[Ch]: remove commented code
11768
11769         * LaTeXFeatures.h: add "bool floats" for float.sty
11770
11771         * LaTeXFeatures.C (LaTeXFeatures): init floats
11772         (require): handle float
11773         (getPackages): do it with floats
11774
11775 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11776
11777         * BufferView_pimpl.C (Dispatch): improve handling of
11778         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11779
11780         * commandtags.h: #include lyxfont.h here temporarily to avoid
11781         keybinding bug.
11782
11783         * bufferlist.h: include LString.h here.
11784
11785 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11786
11787         * text2.C (getStringToIndex): new method.
11788
11789 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11790
11791         * *: Reduced header file dependencies all over.
11792
11793 2001-07-30  Baruch Even  <baruch@lyx.org>
11794
11795         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11796
11797 2001-07-29  Baruch Even  <baruch@lyx.org>
11798
11799         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11800
11801 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * ParameterStruct.h (endif): add a default constructor to make
11804         sure that all variables is initialized.
11805
11806         * ParagraphParameters.C (ParagraphParameters): adjust
11807
11808 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11809
11810         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11811         index; also, check that there is something to index, and that it
11812         does not span over several paragraphs.
11813         (doubleClick): use WHOLE_WORD_STRICT for double click.
11814
11815         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11816
11817         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11818         scheme.
11819
11820 2001-07-26  Baruch Even  <baruch@lyx.org>
11821
11822         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11823         an InsetFig figure, backwards compatible reading of old figure code.
11824
11825 2001-07-27  Juergen Vigna  <jug@sad.it>
11826
11827         * text2.C: font.realize function adaption.
11828
11829         * text.C (draw): add a warnings lyxerr text if needed.
11830
11831         * layout.C: font.realize function adaption.
11832
11833         * language.C: add inherit_language and implement it's handlings
11834
11835         * bufferview_funcs.C (StyleReset): remove language parameter from
11836         font creation (should be language_inherit now).
11837
11838         * bufferparams.C (writeFile): handle ignore_language.
11839
11840         * paragraph.C (getFontSettings): the language has to be resolved
11841         otherwise we have problems in LyXFont!
11842
11843         * lyxfont.C (lyxWriteChanges): added document_language parameter
11844         (update): removed unneeded language parameter
11845
11846         * paragraph.C (validate): fixed wrong output of color-package when
11847         using interface colors for certain fonts in certain environments,
11848         which should not seen as that on the final output.
11849
11850 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView_pimpl.C:
11853         * Thesaurus.h:
11854         * Thesaurus.C:
11855         * Makefile.am:
11856         * commandtags.h:
11857         * LyXAction.C: add thesaurus support
11858
11859         * lyxfind.h:
11860         * lyxfind.C: add "once" parameter, for thesaurus, to not
11861           move to the next match
11862
11863 2001-07-26  Juergen Vigna  <jug@sad.it>
11864
11865         * lyxfont.C (realize): honor ignore_language too!
11866         (resolved): ditto.
11867
11868         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11869
11870         * text.C (draw): one place more for ignore_language to not draw
11871         itself!
11872
11873 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11876
11877 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11878
11879         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11880         the minipage conversion problem.
11881
11882 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11885         insert an inset.
11886
11887 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * BufferView.h: don't forward declare WorkArea
11890
11891         * BufferView.C: don't include WorkArea.h
11892
11893 2001-07-25  André Pönitz <poenitz@gmx.net>
11894
11895         * commandtags.h:
11896         * LyXAction.C:
11897         * lyxfunc.C:  new LFUN 'math-space'
11898
11899         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11900
11901 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * text2.C (toggleInset): call open/close
11904
11905 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * lyxfunc.C (dispatch): add debug for the disabled case
11908
11909         * font.C (buttonText): make similar to rectText
11910
11911         * buffer.C (readInset): comment out parsing of insetlist and
11912         insttheorem
11913
11914         * PainterBase.C (rectText): small correction
11915
11916         * BufferView_pimpl.C: comment out insettheorem and insetlist
11917         * LyXAction.C: ditto
11918         * commandtags.h: ditto
11919
11920 2001-07-24  Juergen Vigna  <jug@sad.it>
11921
11922         * text.C (draw): honor the ignore_language.
11923
11924         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11925
11926 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11929         char inset.
11930
11931 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11932
11933         * lyxtext.h: remove unused (and unimplemented) methods
11934
11935 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11936
11937         * text.C (getVisibleRow): honor background color
11938
11939         * PainterBase.h:
11940         * Painter.h: remove default color argument for fillRectangle
11941
11942         * text.C (backgroundColor): new method
11943
11944 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * text.C (getVisibleRow): adjust
11947
11948         * font.[Ch] (rectText): new method, metrics
11949         (buttonText): new method, metrics
11950
11951         * PainterBase.[hC]: make rectText and buttonText always draw and take
11952         fewer paramteres.
11953
11954 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11955
11956         * ToolbarDefaults.C (read):
11957         * MenuBackend.C (read): allow escaping in all strings
11958
11959         * BufferView_pimpl.C (insertAndEditInset): new method.
11960         (Dispatch): use insertAndEditInset whenever appropriate.
11961
11962         * BufferView_pimpl.C (insertNote): removed
11963
11964         * BufferView_pimpl.C (smartQuote): new method, moved from
11965         BufferView; if an insetquote cannot be inserted, insert a '"'
11966         character instead.
11967
11968         * BufferView2.C: remove insertCorrectQuote();
11969
11970         * lyxfunc.C (getStatus): Add support for all remaingin
11971         inset-insert lfuns.
11972
11973         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11974
11975         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11976         command (necessary to pass " as parameter of self-insert.
11977
11978         * text.C (selectWordWhenUnderCursor):
11979         (selectWord): add word_location parameter
11980         (selectWordWhenUnderCursor): same + remove special code for word
11981         boundary.
11982         (selectNextWord): use kind() to guess type of insetspecialchar,
11983         not latex().
11984
11985         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11986         (insertErtContents): create ert insets as collapsed.
11987         (readInset): better compatibility code for Info inset.
11988
11989 2001-07-20  Juergen Vigna  <jug@sad.it>
11990
11991         * lyxfunc.C (dispatch): use always LyXFind now!
11992
11993         * text2.C (init): add a reinit flag so that the LyXText can be
11994         reinited instead of deleted and reallocated (used in InsetText).
11995
11996         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11997
11998         * text.C: ditto
11999
12000         * text2.C: ditto
12001
12002 2001-07-18  Juergen Vigna  <jug@sad.it>
12003
12004         * text.C (selectNextWord): handle insets inside inset by calling
12005         always the bv->text functions so that we can go up the_locking_inset!
12006
12007         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12008         in strange locations when inside an inset!
12009
12010         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12011         handling to include insets.
12012
12013         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12014
12015 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12016
12017         * LyXAction.C (init):
12018         * commandtags.h:
12019         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12020         LIGATURE_BREAK, since the name is so stupid.
12021
12022 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12023
12024         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12025         InsetInfos.
12026
12027         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12028
12029         * sp_form.[Ch]: remove.
12030
12031         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12032
12033         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12034         InsetInfo.
12035
12036         * src/buffer.C (readInset): ditto.
12037
12038 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12039
12040         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12041         menuSeparator(), endOfSentenceDot(), ldots() and
12042         hyphenationPoint(), which are therefore removed.
12043         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12044
12045         * LyXAction.C (init):
12046         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12047
12048         * paragraph.C (getWord): removed.
12049
12050         * BufferView_pimpl.C (Dispatch): use last word or selection for
12051         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12052
12053         * lyx_main.C (queryUserLyXDir): do not ask before creating
12054         user_dir, except if it has been named explicitely.
12055
12056 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12059         a document of zero size.
12060
12061 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12064         approriately in the c-tor and in require().
12065         (getPackages): output the appropriate LaTeX for natbib support.
12066
12067         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12068         variables "use_natbib" and "use_numerical_citations" when reading the
12069         LyX file.
12070         (readInset): read the various natbib cite commands.
12071         (validate): white-space change.
12072
12073         * bufferparams.[Ch]: new variables "bool use_natbib" and
12074         "bool use_numerical_citations".
12075         (writeFile): output them in the LyX file.
12076
12077 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12078
12079         * lyxfunc.C (getStatus): add support for all the inset insertion
12080         commands.
12081
12082         * text2.C (insertInset):
12083         * paragraph.C (insetAllowed):
12084         * BufferView_pimpl.C (insertInset): update to take in account the
12085         renaming of insertInsetAllowed
12086
12087         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12088
12089         * text2.C (getInset): new method. returns inset at cursor position.
12090
12091         * BufferView_pimpl.C (Dispatch): changes because of this.
12092
12093         * LyXAction.C (init): rename open-stuff to inset-toggle.
12094
12095         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12096
12097         * text2.C (toggleInset): renamed from openStuff; use
12098         Inset::open().
12099
12100 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12101
12102         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12103
12104         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12105
12106 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12107
12108         * buffer.C (readLyXformat2): Add filename to the error dialog
12109
12110 2001-07-18  Juergen Vigna  <jug@sad.it>
12111
12112         * tabular.C (GetCellNumber): put an assert here instead of the check!
12113
12114 2001-07-17  Juergen Vigna  <jug@sad.it>
12115
12116         * BufferView_pimpl.C (toggleSelection): adapted too.
12117
12118         * text.C (selectNextWord): adapted for use with insets.
12119         (selectSelectedWord): ditto
12120
12121 2001-07-17  Juergen Vigna  <jug@sad.it>
12122
12123         * sp_spell.C (PSpell): fix initialitation order.
12124
12125 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * paragraph.C: spacing
12128
12129 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12130
12131         * sp_spell.C: repair language selection for pspell
12132
12133 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * lyxfunc.h: change more methods to begin with lower char.
12136
12137 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12138
12139         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12140         for unknown layouts.
12141
12142 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12143
12144         * buffer.C (readLyXformat2): Generate an error dialog if there are
12145         unknown layouts.
12146
12147 2001-07-16  Juergen Vigna  <jug@sad.it>
12148
12149         * sp_spell.C: always compile ISpell part.
12150
12151         * lyxrc.C: added use_pspell entry and it's handling.
12152
12153 2001-07-13  Juergen Vigna  <jug@sad.it>
12154
12155         * sp_spell.C: removed double includes.
12156
12157 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         Consistent use of Lsstream.h:
12160         * Lsstream.h: added using std::stringstream for consistencies sake.
12161
12162         * buffer.C: removed using std::stringstream
12163
12164         * lyxfont.C (stateText):
12165         * paragraph.C (asString):
12166         * text.C (selectNextWord, selectSelectedWord):
12167         * text2.C (setCounter):
12168         * vspace.C (asString, asLatexString):
12169         std::ostringstream -> ostringstream.
12170
12171 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12172
12173         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12174         * commandtags.h: add LFUN_HELP_ABOUTLYX
12175         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12176
12177 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12178
12179         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12180         cursorToggle()
12181         * lyx_gui_misc.C: remove spellchecker
12182         * lyxfunc.C: showSpellchecker
12183         * sp_base.h: added
12184         * sp_ispell.h: added
12185         * sp_pspell.h: added
12186         * sp_spell.C: added
12187         * sp_form.[Ch]: removed
12188         * spellchecker.[Ch]: removed
12189
12190 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12191
12192         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12193         is set.
12194         (simpleTeXSpecialChars): Simply print the input character without
12195         any special translation if pass_thru is set.
12196
12197         * layout.h: Added bool pass_thru to layout class for being able to
12198         implement pass through of a paragraph for Literate Programming.
12199
12200         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12201         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12202         * layout.C (Read): add "passthru" to list of layout tags and add
12203         code to set the pass_thru boolean when it is read.
12204
12205 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * trans_decl.h: remove allowed from KmodInfo
12208
12209         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12210         remove allowed code
12211         (Load): adjust
12212
12213         * paragraph_pimpl.C (erase): use boost::prior
12214
12215         * Painter.C (text): use data() instead of c_str() when length is
12216         also provided.
12217         * WorkArea.C (putClipboard): ditto
12218         * font.h (width): ditto
12219
12220         * BufferView2.C: use it-> instead of (*it). for iterators
12221         * texrow.C: ditto
12222         * paragraph_pimpl.C: ditto
12223         * paragraph.C: ditto
12224         * minibuffer.C: ditto
12225         * language.C: ditto
12226         * kbmap.C: ditto
12227         * encoding.C: ditto
12228         * counters.C: ditto
12229         * converter.C: ditto
12230         * chset.C: ditto
12231         * Variables.C: ditto
12232         * TextCache.C: ditto
12233         * MenuBackend.C: ditto
12234         * LyXAction.C: ditto
12235         * LColor.C: ditto
12236         * FloatList.C: ditto
12237         * DepTable.C: ditto
12238         * ColorHandler.C (LyXColorHandler): ditto
12239
12240 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12241
12242         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12243
12244         * text2.C (openStuff): reintroduce this method (which had been
12245         nuked in NEW_INSETS frenzy).
12246
12247         * lyxfunc.C (Dispatch): when an action has not been handled, use
12248         its name in the error message, not its number.
12249
12250         * paragraph.C (inInset): change method name to begin with lowercase.
12251
12252         * undo_funcs.C:
12253         * text2.C: updates because of this.
12254
12255 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * ToolbarDefaults.C (add): add spaces in error message
12258
12259 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12262         (readLyXformat2): rename return_par to first_par, use lyxlex's
12263         pushToken and remove the manual push handling.
12264         (parseSingleLyXformat2Token): add another ert comp. variable:
12265         in_tabular, rename return_par to first_par. handle newlines better
12266
12267 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12268
12269         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12270
12271 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * text2.C (getParFromID): removed
12274
12275         * buffer.C (getParFromID): new method moved form lyxtext.
12276         * BufferView2.C (insertErrors): adjust
12277         (setCursorFromRow): adjust
12278         * BufferView_pimpl.C (restorePosition): adjust
12279         * lyxfunc.C (Dispatch): adjust
12280         * undo_funcs.C (textUndo): adjust
12281         (textRedo): adjust
12282         (textHandleUndo): adjust
12283         (textHandleUndo): adjust
12284
12285 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * buffer.C: up' the LYX_FORMAT
12288
12289         * lyxfont.h: turn NO_LATEX on as default
12290
12291         * buffer.C (insertErtContents): new methods of tex style compability.
12292         (parseSingleLyXformat2Token): use it several places.
12293         * tabular.C (OldFormatRead): and here
12294
12295 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * text2.C: remove some commented code.
12298         reindent file.
12299
12300         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12301         * trans.C: changes because of the above.
12302
12303 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12304
12305         * text2.C (setCounter): Fix counters bug with bibliography layout.
12306
12307 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12310         own member functions
12311         (simpleTeXSpecialChars): ditto
12312
12313 2001-07-06  Juergen Vigna  <jug@sad.it>
12314
12315         * a lot of files: changed the access to LyXText::status and the
12316         call of undo-functions.
12317
12318         * undo.[Ch]: added a inset_id to the undo informations.
12319
12320         * undo_funcs.[Ch]: added and moved here all undo functions.
12321
12322         * lyxtext.h: give the status enum a weight, made status_ a private
12323         variable and made accessor functions for it, removed the whole bunch
12324         of undo-functions as they are now in their own file, make some
12325         functions publically available. Added function ownerParagraph with
12326         int parameter.
12327
12328         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12329         made InInset() a const function, added getParFromID() function.
12330
12331         * buffer.[Ch]: added const version for inset_iterator functions,
12332         added getInsetFromID() function.
12333
12334         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12335         changed undo functions for new version.
12336
12337 2001-07-05  Juergen Vigna  <jug@sad.it>
12338
12339         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12340         unknow mechanism does not call the proper constructor but only this
12341         one also if I request the other!?
12342
12343 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12346
12347         * text2.C (LyXText): use initialization lists.
12348
12349         * lyxtext.h (Selection): initialize set_ and mark_
12350         (init): remove method
12351
12352 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12353
12354         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12355
12356 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * screen.[Ch]: change method names to begin with lowercase
12359
12360         * BufferView_pimpl.C (updateScrollbar): simplify further and
12361         hopefully make it a bit faster.
12362
12363 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12366         calling directly xforms functions.
12367
12368         * Painter.C (Painter):
12369         * lyx_cb.C (MenuWrite):
12370         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12371         fl_display.
12372
12373         * lyx_gui.C: remove bogus guiruntime extern declaration.
12374
12375 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12378         in NEW_INSETS
12379         (redoDrawingOfParagraph): ditto
12380         (redoParagraphs): ditto
12381         (cutSelection): don't create a object for CutAndPaste use the
12382         static method directly
12383         (pasteSelection): ditto
12384
12385         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12386         LyXview (+ rename)
12387
12388 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * modifications to some other files because of this.
12391
12392         * Makefile.am (lyx_SOURCES): add XFormsView
12393
12394         * XFormsView.[Ch]: new files
12395
12396         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12397         the main window. Move the gui dependent stuff to XFormsView
12398
12399 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12400
12401         * tabular.C (GetCellInset): update cur_cell also in the row/col
12402         version of this function.
12403
12404         * lyxfunc.C: no need to include figure_form.h here.
12405
12406         * FontLoader.h:
12407         * lyxfunc.h:
12408         * lyxscreen.h:
12409         * text2.C:
12410         * lyxvc.C: no need to include forms.h here.
12411
12412 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12413
12414         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12415
12416         * lyxfunc.C (Dispatch):
12417         * Spacing.C (set):
12418         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12419         constructor argument.
12420
12421 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * paragraph.C (Paragraph): dont't clear, and just set layout.
12424         (makeSameLayout): use params's copy contructor.
12425
12426         * ParagraphParameters.[Ch] (makeSame): delete method
12427
12428 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * Variables.[Ch]: fix indentation, rename set to isSet
12431
12432 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * lyxfunc.C (Dispatch): fix typo
12435
12436 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12437
12438         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12439         upper_bound.
12440
12441         * bufferlist.C: include assert.h for emergencyWrite().
12442
12443 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12446           give up at last (bug #425202) !
12447
12448 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * lyx_gui_misc.C:
12451         * sp_form.h:
12452         * sp_form.C:
12453         * spellchecker.h:
12454         * spellchecker.C: strip spellchecker options and bring up
12455           preferences tab instead
12456
12457 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12460         the istringstream constructor
12461
12462 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12463
12464         * paragraph.C (getLayout): fix return value
12465
12466         * paragraph.h: do not declare getLayout as inline.
12467
12468         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12469
12470 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12471
12472         * lyxcursor.h (operator<): new func
12473         (operator>): new func
12474         (operator>=): new func
12475         (operator<=): new func
12476
12477         * text.C (changeCase): use selection.start and selection.end
12478         (changeRegionCase): require from to be <= to. Require par to be a
12479         valid paragraph.
12480
12481         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12482
12483 2001-06-27  Juergen Vigna  <jug@sad.it>
12484
12485         * text.C (cursorLeftOneWord): changed to return the cursor and added
12486         overlay with BufferView * parameter which calls this one.
12487         (getWord): added
12488         (selectWord): use new getWord function.
12489         (changeCase): renamed from changeWordCase as and extended to work
12490         also on selections.
12491
12492         * lyxtext.h: added enum word_location
12493
12494         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12495         changeCase as this operates now also on selections.
12496
12497 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12498
12499         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12500
12501         * many files: send debug output to Debug::INFO instead of
12502         Debug::ANY.
12503
12504         * converter.C (View):
12505         (Convert):
12506         (Move): send debug output to Debug::FILES instead of console.
12507
12508 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12509
12510         * lyxfunc.C (getStatus): use func_status
12511
12512         * func_status.h: new header, describing the results of
12513         LyXFunc::getStatus;
12514
12515         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12516         LFUN_MATH_HALIGN.
12517
12518 2001-06-25  The LyX Project  <jug@sad.it>
12519
12520         * buffer.C (sgmlOpenTag):
12521         (sgmlCloseTag):
12522         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12523
12524 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * text2.C: remove some dead code
12527
12528         * tabular.C (GetCellInset): store the last cell checked (gotten)
12529
12530         * tabular.h: add the helper for the speedup
12531
12532         * lyxtext.h: remove some dead code
12533
12534 2001-06-26  The LyX Project  <Asger>
12535
12536         * paragraph.C: Change export to LaTeX of alignment to
12537         \begin{center} and family for better roundtrip work with reLyX.
12538
12539         * Tune the math drawing a bit.
12540
12541 2001-06-25  The LyX Project  <Asger>
12542
12543         * LColor.C (LColor): New color for math background. New color
12544         for buttons.
12545
12546 2001-06-25  The LyX Project  <jug@sad.it>
12547
12548         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12549
12550         * lyxfunc.C (Open):
12551         * bufferlist.C (newFile): do not restrict to files ending with
12552         .lyx
12553
12554         * BufferView_pimpl.C (MenuInsertLyXFile):
12555
12556 2001-06-24  The LyX Project  <jug@sad.it>
12557
12558         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12559         of compare_no_case
12560
12561 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxtext.h: rename most methods to begin with a small char.
12564         Lots of changes because of this.
12565
12566         * paragraph.C (Paragraph): do not call fitToSize
12567         (erase): call Pimpl::erase
12568         (insertChar): call Pimpl::insertChar
12569         (insertInset): call Pipl::insertInset
12570         (breakParagraph): do not call fitToSize
12571         (breakParagraphConservative): do not call fitToSize
12572         (fitToSize): remove method
12573
12574         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12575
12576 2001-06-24  The LyX Project  <Asger>
12577
12578         * Fix Qt compilation^2
12579
12580 2001-06-24  The LyX Project  <jug@sad.it>
12581
12582         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12583         depthHook(getDepth()-1).
12584
12585         * paragraph.h:
12586         * ParagraphParameters.h:
12587         * ParameterStruct.h: change type of depth to unsigned int ==
12588         depth_type. Many adaptations to other files before of that.
12589
12590 2001-06-24  The LyX Project  <Asger>
12591
12592         * Fix Qt compilation.
12593
12594 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * paragraph.h: renamed several methods to begin with small letter.
12597         several changes to many parts of the code because of this.
12598
12599 2001-06-23  The LyX Project  <jug@sad.it>
12600
12601         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12602         rewritten to discard all double spaces when KeepEmpty is off
12603         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12604         to only handle newlines but not fiddle with spaces and friends.
12605
12606         * lyxfunc.C (MenuNew): when doing 'new from template', use
12607         template_path as default directory
12608
12609 2001-06-23  The LyX Project  <Asger>
12610
12611         * Clean-up of header file includes all over
12612         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12613
12614 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12615
12616         * paragraph.h: renamed from lyxparagraph.h
12617
12618 2001-06-23  Asger  <lyx@violet.home.sad.it>
12619
12620         * Buffer.h: Removed Buffer::resize
12621         * BufferList.h: Removed BufferList::resize
12622         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12623         the document lazily when we change the width, or the font settings.
12624
12625 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12628
12629 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * buffer.h: remove out of date comment
12632
12633 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * lyxscreen.h:
12636         * screen.C: fix "theoretical" GC leak
12637
12638 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * LaTeX.C (scanAuxFile):
12641         (deplog): remove trailing \r when reading stream (useful under
12642         win32)
12643
12644 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12647         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12648         and BufferView::theLockingInset(Inset*), so should use them and not
12649         access bv_->text->the_locking_inset directly.
12650
12651         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12652
12653 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * Makefile.am:
12656         * tex-defs.h: remove old unused file
12657
12658 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * BufferView_pimpl.C: fix typo, remove minibuffer message
12661           when buffer has loaded
12662
12663 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * lyxfunc.C (Dispatch): use stringstream
12666         (MenuNew): use stringstream
12667         (Open): use stringstream
12668
12669         * importer.C (Import): use stringstream
12670
12671         * bufferview_funcs.C (CurrentState): use stringstream
12672
12673         * LaTeX.C (run): use stringstream
12674
12675         * BufferView_pimpl.C (savePosition): use stringstream
12676         (restorePosition): use stringstream
12677         (MenuInsertLyXFile): use stringstream
12678
12679 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * BufferView.C:
12682         * Bullet.C:
12683         * ColorHandler.C:
12684         * FontInfo.C:
12685         * FontLoader.C:
12686         * LColor.C:
12687         * LaTeXFeatures.C:
12688         * Painter.C:
12689         * gettext.C:
12690         * lyx_gui_misc.C:
12691         * lyxserver.C:
12692         * vspace.C: removed // -*- C++ -*- as first line.
12693
12694         * lyxfind.h:
12695         * version.h: added // -*- C++ -*- as first line.
12696
12697 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12700
12701         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12702         of string
12703
12704 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12707         of floats.
12708
12709 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710
12711         * gettext.C: include LString.h even when --disable-nls is on.
12712
12713 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * converter.h (Get): changed argument type from int to
12716         FormatList::size_type to avoid unnecessary conversion.
12717
12718         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12719         before using it.
12720
12721 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * gettext.h: include LString.h even when --disable-nls is on.
12724
12725 2001-06-07  Juergen Vigna  <jug@sad.it>
12726
12727         * text.C (BreakAgain): subst spaces with tabs.
12728
12729         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12730         (resizeInsetsLyXText): set force on resizeLyXText.
12731
12732 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12733
12734         * gettext.h (gettext_init):
12735         (locale_init): use a real definition instead of a macro
12736
12737 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12738
12739         * Bufferview_pimpl.C:
12740         * LColor.h:
12741         * LColor.C: further lcolor tidies
12742
12743 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * BufferView_pimpl.C (updateScrollbar): simplify.
12746
12747         * BufferView2.C: don't include insets/insetinfo.h, change
12748         prototype for insertInset and call the Pimpl version. let
12749         updateInset call Pimpl version.
12750
12751         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12752         gotoInset to BufferView::Pimpl
12753
12754 2001-06-01  Juergen Vigna  <jug@sad.it>
12755
12756         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12757         inside a LockingInset (is the update needed at all?).
12758
12759 2001-05-31  Juergen Vigna  <jug@sad.it>
12760
12761         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12762         here not the old one otherwise how should we compare it afterwards
12763         if it's the same!
12764
12765 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12766
12767         * lyxfont.C:
12768         * tabular.C:
12769         * tabular-old.C:
12770         * FontInfo.C: bring C functions into global namespace when
12771         necessary
12772
12773 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12774
12775         * LString.h: make sure config.h has been loaded before LString.h.
12776
12777         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12778         (one for each char read by EatLine!).
12779
12780         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12781         variables.
12782
12783 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12786         to the same as the par we break from
12787
12788 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12791
12792         * MenuBackend.C (expand): also create menu entries for wide
12793         versions of the floats.
12794
12795         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12796
12797         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12798
12799         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12800         frontends/Makefile.am
12801
12802         * text2.C: adjust
12803         * text.C: adjust
12804
12805
12806         * tabular.C (getTokenValue): add std::
12807
12808         * tabular-old.C (getTokenValue): add std::
12809         (getTokenValue): ditto
12810         (getTokenValue): ditto
12811
12812         * screen.C (ToggleSelection): adjust
12813
12814         * lyxtext.h: put selection cursors inside a Selection struct.
12815
12816         * lyxfunc.C (moveCursorUpdate): adjust
12817
12818         * lyxfont.C (latexWriteStartChanges): add std::
12819
12820         * lyxfind.C: adjust
12821
12822         * font.h: delete with(char const *, LyXFont const &)
12823
12824         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12825
12826         * FontInfo.C (getFontname): add std::
12827
12828         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12829         (workAreaButtonPress): adjust
12830         (tripleClick): adjust
12831         (update): adjust
12832         (moveCursorUpdate): adjust
12833         (Dispatch): adjust
12834
12835         * BufferView2.C (gotoInset): adjust
12836
12837 2001-05-30  Juergen Vigna  <jug@sad.it>
12838
12839         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12840         to check pspell I add this as default as I now have new pspell
12841         libraries and they seem to use this.
12842
12843 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * text2.C (CutSelection): make the cursor valid before the call to
12846         ClearSelection.
12847
12848 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12851         relied on 0 terminated strings and other horrors. Bug found due to
12852         the new assert in lyxstring!
12853
12854         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12855         KP_ keys.
12856
12857 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12860         to latinkeys.bind.
12861
12862         * lyxfunc.C (processKeySym): change method of getting to the
12863         self-insert char.
12864
12865         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12866         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12867         * BufferView_pimpl.[Ch]: here as private methods.
12868
12869 2001-05-28  Juergen Vigna  <jug@sad.it>
12870
12871         * text.C (SetHeightOfRow): added the update() call again as it is
12872         needed to initialize inset dimensions!
12873
12874 2001-05-16  Juergen Vigna  <jug@sad.it>
12875
12876         * text2.C (SetCharFont): Add new function with BufferView * and
12877         bool toggleall parameters for setting insets internal fonts.
12878         (SetFont): Freeze the undo as we may change fonts in Insets and
12879         all this change should be inside only one Undo!
12880
12881         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12882         setting font's in insets as for them we have the SetFont function!
12883
12884 2001-05-15  Juergen Vigna  <jug@sad.it>
12885
12886         * text2.C (ClearSelection): to be sure we REALLY don't have any
12887         selection anymore!
12888
12889         * tabular.C (TeXCellPreamble): fixed the left border problem for
12890         multicolumn cells.
12891
12892 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12893
12894         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12895         dependancy file
12896
12897 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12900         LFUN_BREAKPARAGRAPH.
12901
12902         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12903         help test to "internal only", similar for LFUN_INSERT_URL
12904
12905         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12906         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12907         auto_region_delete and deadkeys.
12908
12909 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * LColor.h:
12912         * LColor.C: remove some dead entries, tidy a little
12913
12914 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12917         commented code.
12918         (Dispatch): implement LFUN_ESCAPE
12919
12920         * commandtags.h: add LFUN_ESCAPE
12921
12922         * LyXAction.C (init): add entry for LFUN_ESCAPE
12923
12924         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12925         Remove commented code.
12926         (insertNote): moved here
12927         (open_new_inset): moved here
12928
12929         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12930         BufferView_pimpl
12931
12932 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * kbmap.C (findbinding): clean it up and make it work correctly.
12935
12936         * lyx_main.C (init): do not pass argc and argv as parameters
12937
12938 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12939
12940         * buffer.C: fix path for OS/2 & Win32
12941
12942         * lyx_gui.C:
12943         * lyx_main:
12944         * lyx_main.C: Added os:: class.
12945
12946         * os2_defines.h: update
12947
12948 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12951         better by trying again with reduced state.
12952
12953 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12954
12955         * lyxrc.C (read): print error about invalid key sequence only when
12956         debugging (because not all latinX keysyms are known to some X
12957         servers)
12958
12959         * kbsequence.C (getiso): add a few std:: qualifiers
12960         (getiso): comment out extra return statement.
12961
12962 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12965         handling.
12966         (Dispatch): enhance the accent inset a bit. (not perfect)
12967
12968 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12971
12972 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * bufferlist.C (emergencyWrite): fix assert() call
12975
12976 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12977
12978         * text.C (InsertChar): Added trivial patch to only send the "you
12979         can not do multiple spaces this way" message once during a
12980         session.
12981
12982 2001-05-08  Baruch Even  <baruch@lyx.org>
12983
12984         * Makefile.am: Changed order of libraries to get LyX to link properly
12985         with the gnome frontend.
12986
12987 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * LaTeXFeatures.h: add a std:: qualifier
12990
12991 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * paragraph.C (String): use stringstream
12994
12995 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12996
12997         * paragraph.C (writeFile): remove footflag arg
12998
12999         * buffer.C (makeLaTeXFile): use stringstream
13000         (latexParagraphs): remove footnot gurba
13001
13002         * LaTeXFeatures.C (getPackages): use stringstream
13003         (getMacros): likewise
13004         (getTClassPreamble): likewise
13005         (getFloatDefinitions): new method
13006
13007         * paragraph.C (writeFile): reindent
13008         (Erase): reindent
13009
13010         * WorkArea.h: revert the xpos + etc changes.
13011
13012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13013
13014         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13015
13016         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13017         (pasteSelection): likewise
13018         * text2.C (CreateUndo): likewise
13019
13020 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * minibuffer.C (peek_event): temporarily reduce the functionality
13023         of the minibuffer (to allow args on lfuns)
13024
13025         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13026         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13027
13028         * buffer.C (readInset): add compability reading of old float
13029         lists, add reading of new style float list.
13030         (readInset): avoid reevaluation of inscmd.getCmdName()
13031         (getLists): reindent
13032
13033         * MenuBackend.C (MenuItem): implement parsing of
13034         md_floatlistinsert and md_floatinsert.
13035         (expand::LastFiles): move initalizaton of iterators out of loop,
13036         avoid reevaluation.
13037         (expand::Documents): introduce typdedef vector<string> Strings,
13038         and use it.
13039         (expand::ExportFormats): introduce typedef vector<Format const *>
13040         Formats, and use it.
13041         (expand): implement FloatListInsert and FloatInsert.
13042
13043         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13044         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13045         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13046
13047         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13048         handling.
13049         (Dispatch::LFUN_FLOAT_LIST): implement
13050
13051 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13052
13053         * LaTeX.C (run): Fix problem with --export code.
13054
13055 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * BufferView.[Ch] (workarea): removed.
13058         (getClipboard) new method; wrapper for workarea()->getClipboard()
13059
13060         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13061         bug.
13062
13063         * WorkArea.h (width, height, xpos, ypos): These methods all
13064         returned the dimensions of the work_area sub-area of WorkArea,
13065         resulting in a position error if the WorkArea were resized. Now
13066         return the dimensions of the entire WorkArea.
13067
13068         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13069
13070 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * LaTeX.C (deplog): correct the syntax of regex reg1
13073
13074 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * undo.C: remove !NEW_INSETS cruft
13077
13078 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * text2.C: remove !NEW_INSETS cruft
13081
13082         * text.C: remove !NEW_INSETS cruft
13083
13084         * tabular.C: remove !NEW_INSETS cruft
13085
13086         * spellchecker.C: remove !NEW_INSETS cruft
13087
13088         * lyxtext.h: remove !NEW_INSETS cruft
13089
13090         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13091
13092         * lyxfunc.C: remove !NEW_INSETS cruft
13093
13094         * lyxfind.C: remove !NEW_INSETS cruft
13095
13096         * lyx_cb.C: remove !NEW_INSETS cruft
13097
13098         * figureForm.C: remove  !NEW_INSETS cruft
13099
13100         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13101
13102         * buffer.[Ch]: remove !NEW_INSETS cruft
13103
13104         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13105
13106         * CutAndPaste.C: remove !NEW_INSETS cruft
13107
13108         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13109
13110         * BufferView2.C: remove !NEW_INSETS cruft
13111
13112         * BufferView.h: remove !NEW_INSETS cruft
13113
13114 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * Lsstream.h: include LString.h before the sstream headers to
13117         fix problem with gcc 2.95.3 and lyxstring
13118
13119 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13120
13121         * lyx_main.C: add using directives when needed for C functions
13122         declared in std:: namespace.
13123
13124 2001-04-27  Juergen Vigna  <jug@sad.it>
13125
13126         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13127         (SetHeightOfRow): comment out the update call should not be needed!
13128
13129 2001-04-13  Juergen Vigna  <jug@sad.it>
13130
13131         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13132         (LyXTabular): tried to minimize operator= operations (and realized
13133         hopfully Lars wish).
13134
13135 2001-04-27  Juergen Vigna  <jug@sad.it>
13136
13137         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13138
13139 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13142
13143         * buffer.C (readInset): hack to make listof algorithm work
13144
13145         * BufferView_pimpl.C: hack to make listof algorithm work
13146
13147 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * LyXAction.C: removed all !NEW_INSETS cruft
13150         (init): moved lfun_item in method
13151
13152         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13153
13154 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13155
13156         * BufferView2.C (theLockingInset): white space.
13157
13158 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * minibuffer.C: include <iostream>
13161
13162         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13163
13164         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13165
13166         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13167
13168         * text.[Ch] (TransposeChars): new method
13169
13170 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * call message directly through LyXView instead of through LyXFunc
13173         * BufferView2.C: adjust
13174         * BufferView_pimpl.C: adjust
13175         * FontLoader.C: adjust
13176         * buffer.C: adjust
13177         * bufferview_funcs.C: adjust
13178         * converter.C: adjust
13179         * figureForm.C: adjust
13180         * importer.C: adjust
13181         * lyx_cb.C: adjust
13182         * lyx_gui_misc.C: adjust
13183         * lyxfunc.C: adjust
13184         * lyxvc.C: adjust
13185         * text2.C: adjust
13186         + more files in subdirs
13187
13188         * lyxparagraph.h (size): move up int file
13189         (GetLayout): ditto
13190
13191         * adjust all uses of Assert to lyx::Assert.
13192
13193         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13194         lyxfunctional in namespace lyx
13195         * layout.C (hasLayout): ditto
13196         (GetLayout): ditto
13197         (GetLayout): ditto
13198         (delete_layout): ditto
13199         (NumberOfClass): ditto
13200         * converter.C (GetFormat): ditto
13201         (GetNumber): ditto
13202         (Add): ditto
13203         (Delete): ditto
13204         (SetViewer): ditto
13205         * bufferlist.C (getFileNames): ditto
13206         (emergencyWriteAll): ditto
13207         (exists): ditto
13208         (getBuffer): ditto
13209         * MenuBackend.C (hasSubmenu): ditto
13210         (hasMenu): ditto
13211         (getMenu): ditto
13212         * BufferView_pimpl.C (getInsetByCode): ditto
13213
13214 2001-04-18  Juergen Vigna  <jug@sad.it>
13215
13216         * vspace.C (asLatexString): fixed the 100% problem.
13217
13218 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * lyxfunc.C (Dispatch):
13221         * minibuffer.C:
13222         * minibuffer.h: add a few std:: qualifiers
13223
13224 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13225
13226         * minibuffer.[Ch]: reimplement so that commands is initiated and
13227         run from lyxfunc, simplified som handling, and made the completion
13228         and history code for complete. wip.
13229
13230         * lyxfunc.C (processKeySym): call message
13231         (miniDispatch): new temporary method
13232         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13233         (LFUN_MESSAGE): implement
13234         (LFUN_MESSAGE_PUSH): implement
13235         (LFUN_MESSAGE_POP): implement
13236         (initMiniBuffer): the initial/defualt minibuffer message.
13237
13238         * lyxfont.[Ch]: inline some more getters
13239
13240         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13241
13242         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13243
13244         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13245         (AutoSave): use LFUN_MESSAGE
13246         (Reconfigure): ditto
13247
13248         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13249
13250         * figureForm.C: use LFUN_MESSAGE
13251
13252         * converter.C (runLaTeX): use LFUN_MESSAGE
13253
13254         * bufferview_funcs.C: use LFUN_MESSAGE
13255         (Melt): ditto
13256         (changeDepth): ditto
13257
13258         * bufferparams.h: use boost::
13259
13260         * bufferlist.h: inherit privately from noncopyable
13261
13262         * bufferlist.C (loadLyXFile): remove some commented code.
13263
13264         * buffer.C (runChktex): use LFUN_MESSAGE
13265
13266         * ShareContainer.h: inherit privately from noncopyable
13267
13268         * ParagraphParameters.[hC] (depth): inline it.
13269
13270         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13271         methods.
13272         (message): new method
13273         (messagePush): ditto
13274         (messagePop): ditto
13275         (show): init minibuffer
13276         (showState): direct call
13277
13278         * LaTeX.[Ch]: inherit privately from noncopyable
13279         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13280         instead of WriteStatus.
13281
13282         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13283
13284         * BufferView_pimpl.C (buffer): don't init minibuffer
13285         (workAreaButtonPress): use LFUN_MESSAGE
13286         (workAreaButtonRelease): ditto
13287         (savePosition): ditto
13288         (restorePosition): ditto
13289         (MenuInsertLyXFile): ditto
13290         (workAreaExpose): don't init minibuffer
13291         (update): remove commented code, simplify
13292
13293         * BufferView2.C (openStuff): use LFUN_MESSAGE
13294         (toggleFloat): ditto
13295         (menuUndo): ditto
13296         (menuRedo): ditto
13297         (copyEnvironment): ditto
13298         (pasteEnvironment): ditto
13299         (copy): ditto
13300         (cut): ditto
13301         (paste): ditto
13302         (gotoInset): ditto
13303         (updateInset): remove some commented code
13304
13305         * lastfiles.h: inherit privately from noncopyable
13306         * layout.h: ditto
13307         * lyx_gui.h: ditto
13308         * lyx_main.h: ditto
13309         * lyxlex.h: ditto
13310         * lyxlex_pimpl.h: ditto
13311
13312         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13313         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13314         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13315
13316         * LyXAction.h: inherit privately from noncopyable, add methods
13317         func_begin, func_end, returning iterators to the func map.
13318
13319         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13320         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13321         (func_begin): new method
13322         (func_end): new method
13323
13324         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13325         and not)
13326         (copySelection): ditto
13327         (pasteSelection): ditto
13328
13329         * BufferView.C: whitespace change
13330         * BufferView.h: inherit privately from noncopyable
13331
13332 2001-04-16  Allan Rae  <rae@lyx.org>
13333
13334         * tabular-old.C (l_getline):
13335         * spellchecker.C (sc_check_word):
13336         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13337         an unrecognised preprocessor directive.  So ensure they're wrapped.
13338
13339 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * src/exporter.C (Export): Give an error message when path to file
13342         contains spaces.
13343
13344 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * LaTeX.C (deplog): Always check that foundfile exists.
13347
13348 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * lyx_main.h:
13351         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13352
13353 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * tabular.[Ch] (getLabelList): implement new method
13356
13357         * minibuffer.h: comment ouf setTiimer
13358
13359         * minibuffer.C (ExecutingCB): constify res
13360         (peek_event): constify s
13361         (Set): constify ntext
13362         (Init): constify nicename
13363
13364         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13365
13366         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13367         (savePosition): use two params to Minibuffer::Set
13368         (restorePosition): ditto
13369
13370 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13371
13372         * lyx_main.C: include language.h
13373
13374         * Makefile.am (lyx_main.o): add language.h
13375
13376 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * exporter.C:
13379         * paragraph.C:
13380         * screen.C:
13381         * tabular.C:
13382         * CutAndPaste.C: include gettext.h
13383
13384         * lyxfont.h: remove old hack with ON and OFF.
13385
13386         * lyxparagraph.h:
13387         * lyxfont.h: do not include language.h...
13388
13389         * BufferView2.C:
13390         * LaTeXFeatures.C:
13391         * Painter.C:
13392         * bufferview_funcs.C:
13393         * font.C:
13394         * lyxfont.C:
13395         * text.C:
13396         * text2.C:
13397         * trans_mgr.C:
13398         * paragraph.C: ... but do it here instead
13399
13400 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13403
13404         * tabular.C: small reformat
13405
13406         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13407         NEW_INSETS version
13408         (GetChar): ditto
13409         (BreakParagraph): ditto
13410         (SetOnlyLayout): ditto
13411         (SetLayout): ditto
13412
13413         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13414         with one arg less.
13415
13416         * lastfiles.C: removed most using decl, add std:: where needed
13417
13418         * buffer.C: ws changes
13419
13420         * MenuBackend.C (class compare_format): put into anon namespace
13421         (expand): constify label, names, action, action2
13422         (expand):
13423
13424         * text.C (SingleWidth): constify font
13425         (IsBoundary): constify rtl2
13426         (GetVisibleRow): constify ww
13427
13428         * LaTeX.C (deplog): constify logfile
13429
13430         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13431         start_x, end_x
13432         (workAreaExpose): constify widthChange, heightChange
13433
13434         * lyxrow.C (par): moved
13435         (height): moved
13436         (next): moved
13437         * lyxrow.h: as inlines here
13438
13439         * lyxfont.h (shape): moved from lyxfont.C
13440         (emph): moved from lyxfont.C
13441
13442         * lyxfont.C (LyXFont): use initialization list for all
13443         constructors
13444         (shape): move to lyxfont.h as inline
13445         (emph): move to lyxfont.h as inline
13446
13447
13448 2001-04-04  Juergen Vigna  <jug@sad.it>
13449
13450         * vspace.C: had to include stdio.h for use of sscanf
13451
13452 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * BufferView.h:
13455         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13456         independent of xforms.
13457
13458 2001-04-02  Juergen Vigna  <jug@sad.it>
13459
13460         * spellchecker.C: fixed namespace placing!
13461
13462 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13463
13464         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13465         the LyXParagraph * is 0.
13466
13467 2001-03-29  Juergen Vigna  <jug@sad.it>
13468
13469         * vspace.C: added support for %, c%, p%, l%.
13470         (stringFromUnit): added helper function.
13471         (asLatexString): changed to give right results for the %-values.
13472
13473         * buffer.C: convert the widthp in a width%.
13474
13475 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13476
13477         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13478         figureForm.[Ch].
13479
13480         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13481         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13482
13483         * lyx_cb.[Ch]: see above.
13484
13485         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13486         form1.[Ch].
13487
13488         * form1.[Ch]:
13489         * lyx.[Ch]: replaced by figure_form.[Ch].
13490
13491         * lyx_gui.C:
13492         * lyx_gui_misc.C:
13493         * lyxfunc.C: changed headers associated with above changes.
13494
13495 2001-03-27  Juergen Vigna  <jug@sad.it>
13496
13497         * BufferView_pimpl.C: set the temporary cursor right!
13498
13499 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13502
13503 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13504
13505         * LString.h: removed "using std::getline"!
13506
13507         * BufferView_pimpl.C (Dispatch): changes due to changes in
13508         InsetInclude::Params.
13509
13510         * buffer.C (tag_name): removed redundant break statements as they were
13511         producing lots of warnings with my compiler.
13512
13513 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * LString.h: add "using std::getline" when using the real <string>.
13516
13517 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13518
13519         * buffer.C: removed bitset usage.
13520         PAR_TAG moved to an anonymous name space.
13521         (tag_name): new funtion, also in the anonymous namespace.
13522         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13523         (makeDocBookFile): clean code. Completed transition from string arrays
13524         to string vectors.
13525         (SimpleDocBookOnePar): code clean.
13526
13527 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13528
13529         * tabular.C: add some comments.
13530
13531 2001-03-22  Juergen Vigna  <jug@sad.it>
13532
13533         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13534         compatibility read a bit and fixed bug with minipage in different
13535         depth.
13536
13537 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13538
13539         * buffer.C (pop_tag): removed.
13540         (push_tag): removed.
13541         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13542         array replaced with vector. Added support for CDATA sections.
13543         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13544         at any nest level.
13545         (makeDocBookFile): XML conformant declaration of CDATA section,
13546         fixed bug related to <emphasis> in the first paragraph char.
13547         (sgmlOpenTag): exclude empty tags.
13548         (sgmlCloseTag): ditto.
13549
13550         * buffer.h (pop_tag): removed.
13551         (push_tag): removed.
13552
13553 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13554
13555         * language.h (Languages): added size_type and size().
13556
13557 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13558
13559         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13560         response on compability reading of minipages. One probliem is that
13561         the old usage of minipages was «flertydig»
13562
13563         * several files here and in subdirs: don't use static at file
13564         scope use anon namespaces instead.
13565
13566 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13567
13568         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13569         LaTeX output. This is necessary for Literate document
13570         processing.
13571
13572 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13573
13574         * buffer.C: insert hfill when needed.
13575
13576         * tabular.C (l_getline): use string::erase, small whitespace change.
13577
13578         * BufferView_pimpl.C: try the anon namespace.
13579         * WorkArea.C: ditto
13580
13581 2001-03-16  Juergen Vigna  <jug@sad.it>
13582
13583         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13584         otherwise it won't open options-dialogs.
13585
13586         * buffer.C: honor pextraWidth(p) on converting minipages.
13587
13588         * tabular.C (l_getline): changed the functions to strip trailing \r.
13589
13590 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * BufferView_pimpl.C:
13593         * minibuffer..C: added "using SigC::slot" declaration.
13594
13595 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13596
13597         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13598
13599         * text2.C: ditto
13600
13601         * text.C: ditto
13602
13603         * paragraph.C: ditto
13604
13605         * lyxtext.h: NO_PEXTRA
13606
13607         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13608
13609         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13610         * ParameterStruct.h: ditto
13611         * ParagraphParameters.h: ditto
13612         * lyxparagraph.h: ditto
13613
13614 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13615
13616         * buffer.C: add compability for minipage alignment.
13617         (latexParagraphs): remove unwanted pextra check.
13618
13619         * several files: remove CXX_WORKING_NAMESPACES
13620
13621         * buffer.C (pop_tag): tie is in namespace boost
13622
13623         * BufferView.h: noncopyable is in namespace boost
13624         * lyxlex.h: ditto
13625         * lyx_main.h: ditto
13626         * lyx_gui.h: ditto
13627         * layout.h: ditto
13628         * lastfiles.h: ditto
13629         * bufferlist.h: ditto
13630         * ShareContainer.h: ditto
13631         * LyXView.h: ditto
13632         * LyXAction.h: ditto
13633         * LaTeX.h: ditto
13634
13635 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13636
13637         * Merging changes from BRANCH_MVC back into HEAD.
13638
13639         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13640
13641 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13642
13643         * BufferView_pimpl.C: change from intl.C
13644
13645         * combox.h:
13646         * combox.C:
13647         * Makefile.am: move combox.*
13648
13649         * form1.h:
13650         * form1.C:
13651         * lyx_gui.C:
13652         * intl.h:
13653         * intl.C: remove dialog (covered by prefs)
13654
13655 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * lyxfunc.C (Dispatch): removed redundant break statement.
13658
13659 2001-03-14  Juergen Vigna  <jug@sad.it>
13660
13661         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13662
13663 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13664
13665         * buffer.C: add hack to fix compability reading of minipages.
13666
13667 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * buffer.C (getLists): Cleanup.
13670
13671 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13672
13673         * lyxfont.C (update): don't honor toggleall on font size.
13674
13675 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * bmtable.c:
13678         * bmtable.h:
13679         * Makefile.am: moved to frontends/xforms/
13680
13681         * lyx_gui_misc.C:
13682         * lyxfunc.C:
13683         * BufferView_pimpl.C: changes for moved mathpanel
13684
13685 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * gettext.h: fix gettext_init() in --disable-nls
13688
13689 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13692
13693 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * lyx.C:
13696         * lyx.h: strip external form
13697
13698 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * BufferView_pimpl.C: add comment, destroySplash()
13701
13702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * BufferView_pimpl.C:
13705         * LyXAction.C:
13706         * buffer.C:
13707         * commandtags.h:
13708         * lyxfunc.C: use re-worked insetinclude
13709
13710 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13711
13712         * buffer.C: add using std::stringstream.
13713
13714         * lyx_cb.C: readd using std::ios.
13715
13716         * buffer.C: add using std::map.
13717
13718         * BufferView_pimpl.C: add using std::vector.
13719
13720         * ShareContainer.h: add std:: to swap.
13721
13722         * buffer.h: add some typedefs
13723         * buffer.C (getLists): use them
13724         (getLists): renamed from getTocList.
13725         add a counter for the different float types and use it in the
13726         generated string.
13727         (getLists): use the same counter for the NEW_INSETS and the "non"
13728         NEW_INSETS
13729
13730         * lyx_cb.h: remove unused items, includes, using etc.
13731
13732         * ShareContainer.h: remove some commented code, add more comments
13733         and "documentation".
13734
13735 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13736
13737         * buffer.C (getTocList): make the list also when NEW_INSETS is
13738         defined.
13739
13740         * buffer.h: remove TocType
13741
13742         * buffer.C (getTocList): change to return a map<string,
13743         vector<TocItem> >, implement for dynamic number of list.
13744
13745         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13746         * text2.C (PasteSelection): adjust
13747         * CutAndPaste.C (pasteSelection): adjust
13748
13749         * FloatList.C (FloatList): update from the new_insets branch.
13750         * Floating.[Ch]: ditto
13751         * LaTeXFeatures.C: ditto
13752         * buffer.C: ditto
13753         * lyxlex_pimpl.C: ditto
13754
13755         * paragraph.C (Last): remove when NEW_INSETS is defined.
13756
13757         * other file: changes because of the above.
13758
13759 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13760
13761         * lyxparagraph.h: rename next to next_, previous to previous_,
13762         make them private for NEW_INSETS. Rename Next() to next(),
13763         Previous() to previous().
13764
13765         * other files: changes because of the above.
13766
13767 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * BufferView.h:
13770         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13771         problem.
13772
13773 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * main.C (main): pass lyx_localedir to gettext_init().
13776
13777         * gettext.h: remove locale_init and gettext_init macros
13778
13779         * gettext.C (locale_init): new function
13780         (gettext_init): new function
13781
13782         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13783         setlocale().
13784
13785 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13786
13787         * Moved credits to frontends:
13788         * credits.[Ch]: removed
13789         * credits_form.[Ch]: removed
13790         * lyx_gui_misc.C: remove credits stuff
13791         * Makefile.am:
13792
13793 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13794
13795         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13796
13797         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13798         unneeded destructor.
13799
13800         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13801         a standalone pointer again.
13802
13803         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13804
13805 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13806
13807         * Makefile.am:
13808         * filedlg.h:
13809         * filedlg.C:
13810         * LyXAction.C:
13811         * ToolbarDefaults.C:
13812         * bufferlist.C:
13813         * commandtags.h:
13814         * form1.C:
13815         * form1.h:
13816         * lyx_cb.C:
13817         * lyx_cb.h:
13818         * lyxfunc.h:
13819         * lyxfunc.C:
13820         * BufferView_pimpl.C: use new file dialog in GUII
13821
13822         * lyx_cb.h:
13823         * lyx_cb.C: remove LayoutsCB to Toolbar
13824
13825 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * ShareContainer.h (get): add std:: qualifier
13828
13829 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * ShareContainer.h: define a proper ShareContainer::value_type
13832         type (and use typename to please compaq cxx)
13833
13834 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13835
13836         * lyxparagraph.h: move serveral local vars to
13837         ParameterStruct/ParagraphParameters., use ShareContainer in
13838         FontTable., make vars in FontTable private and add getter and
13839         setter.
13840
13841         * paragraph.C: changes because of the above.
13842
13843         * lyxfont.h: remove copy constructor and copy assignment. (the
13844         default ones is ok), move number inside FontBits. move inlines to
13845         lyxfont.C
13846
13847         * lyxfont.C: add number to initializaton of statics, move several
13848         inlines here. constify several local vars. some whitespace
13849         cleanup. Dont hide outerscope variables.
13850
13851         * Spacing.h: add two new constructors to match the set methods.
13852
13853         * ShareContainer.h: new file, will perhaps be moved to support
13854
13855         * ParameterStruct.h: new file
13856
13857         * ParagraphParameters.h: new file
13858
13859         * ParagraphParameters.C: new file
13860
13861         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13862         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13863
13864         * BufferView_pimpl.C: ParagraphParameter changes.
13865         * buffer.C: Likewise.
13866         * bufferview_funcs.C: Likewise.
13867         * text.C: Likewise.
13868         * text2.C: Likewise.
13869
13870 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * lyxfind.C (LyXReplace): do not redefine default argument in
13873         implementation.
13874         (IsStringInText): ditto
13875         (SearchForward): ditto
13876         (SearchBackward): ditto
13877
13878 2001-03-06  Juergen Vigna  <jug@sad.it>
13879
13880         * lyxfind.C (IsStringInText): put parentes around expressions.
13881
13882 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13883
13884         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13885
13886 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13889
13890         * stl_string_fwd.h: add comment
13891
13892         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13893
13894         * tabular.h:
13895         * tabular.C: remove unused DocBook methods
13896
13897         * intl.C:
13898         * language.C:
13899         * paragraph.C:
13900         * buffer.C:
13901         killed DO_USE_DEFAULT_LANGUAGE
13902
13903 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13904
13905         * lyx_gui.C: do not include language.h.
13906
13907         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13908         arguments in function implementation.
13909
13910 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13911
13912         * BufferView_pimpl.C: add <ctime>
13913
13914 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13915
13916         * BufferView_pimpl.C: add using std::find_if
13917
13918 2001-02-27  José Matos  <jamatos@fep.up.pt>
13919
13920         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13921         by OnlyPath.
13922
13923 2001-02-11  José Matos  <jamatos@fep.up.pt>
13924
13925         * buffer.C (makeDocBookFile): command styles now have a parameter as
13926         "title" by default.
13927
13928 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13929
13930         * layout_forms.[Ch]: removed
13931         * lyx_cb.[Ch]: out character
13932         * lyx_gui.C: out character
13933         * lyx_gui_misc.C: out character
13934         * bufferview_funcs.C: : out character,
13935         added toggleall as parameter in ToggleAndShow
13936
13937 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13938
13939         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13940
13941         * text2.C (SetCurrentFont): Disable number property at boundary.
13942
13943 2001-02-26  Juergen Vigna  <jug@sad.it>
13944
13945         * lyxfunc.C (getStatus): added a string argument override function so
13946         that this is correctly called from LyXFunc::Dispatch if it contains a
13947         do_not_use_argument which is used!
13948         (Dispatch): added check for "custom" export and call appropriate func.
13949
13950 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * lyxrc.C: Add language_command_local, language_use_babel and
13953         language_global_options.
13954
13955         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13956
13957         * buffer.C (makeLaTeXFile): Use language_use_babel and
13958         language_global_options.
13959
13960 2001-02-23  Juergen Vigna  <jug@sad.it>
13961
13962         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13963         which works with LyXText and putted it inside BufferView. Here now we
13964         only call for that part the BufferView::Dispatch() function.
13965
13966         * BufferView.C (Dispatch): added.
13967
13968         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13969         functions which needs to use a LyXText over from LyXFunc.
13970         (MenuInsertLyXFile): added
13971         (getInsetByCode): added
13972         (moveCursorUpdate): added
13973         (static TEXT): added
13974
13975 2001-02-22  Juergen Vigna  <jug@sad.it>
13976
13977         * BufferView_pimpl.C (update): call a status update to see if LyXText
13978         needs it.
13979
13980 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13981
13982         * vc-backend.C (revert): implement for CVS
13983         (getLog): implement for CVS
13984
13985 2001-02-20  Juergen Vigna  <jug@sad.it>
13986
13987         * text2.C (ClearSelection): added BufferView param for inset_owner call
13988
13989         * lyxfunc.C (TEXT): added this function and use it instead of
13990         directly owner->view()-text of getLyXText().
13991
13992 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13993
13994         * src/layout_forms.C: out preamble
13995         * src/layout_forms.h: out preamble
13996         * src/lyx_cb.C: out preamble
13997         * src/lyx_cb.h: out preamble
13998         * src/lyx_gui.C: out preamble
13999         * src/lyx_gui_misc.C: out preamble
14000         * src/lyxfunc.C: connect with guii preamble
14001
14002 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14003
14004         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14005
14006 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14007
14008         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14009         whether to run bibtex.
14010
14011 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14012
14013         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14014
14015 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14016
14017         * Makefile.am (lyx_SOURCES): removed bibforms.h
14018
14019         * vspace.h: doxygen
14020
14021         * text.C (GetVisibleRow): make several local vars const
14022
14023         * tabular.C: small cleanup.
14024
14025         * lyxserver.C (callback): use compare instead of strncmp
14026
14027         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14028         inlines to after class or to paragraph.C
14029
14030         * lyxfont.h: remove friend operator!=
14031
14032         * converter.h: move friend bool operator< to non friend and after
14033         class def.
14034
14035         * combox.h: small cleanup
14036
14037         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14038         to inlines after class def.
14039
14040         * buffer.C (pop_tag): use string operations instead of strcmp
14041
14042         * bmtable.c: doxygen, small cleanup
14043
14044         * LaTeX.h: remove friend operator==
14045
14046 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14047
14048         * screen.C:
14049         * lyxrc.[Ch]:
14050         * lyxfunc.C:
14051         * lyxfont.[Ch]:
14052         * lyx_cb.C:
14053         * intl.[Ch]:
14054         * commandtags.h:
14055         * buffer.C:
14056         * WorkArea.[Ch]:
14057         * LyXAction.C:
14058         * BufferView_pimpl.C:
14059         * BufferView.[Ch]: remove cruft
14060
14061 2001-02-14  Juergen Vigna  <jug@sad.it>
14062
14063         * lyxfunc.C: removed #if 0 unused code
14064
14065         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14066
14067         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14068
14069         * text2.C (SetSelection): added a BufferView * parameter
14070
14071 2001-02-13  Juergen Vigna  <jug@sad.it>
14072
14073         * lyxfunc.C (Dispatch): fixed protected blank problem.
14074         * BufferView2.C (protectedBlank): added LyxText * parameter.
14075
14076         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14077         (AppendColumn): same as above for column_info.
14078
14079         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14080         (moveCursorUpdate): use a LyXText param for support of InsetText.
14081
14082         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14083         (tripleClick): ditto
14084
14085         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14086
14087         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14088
14089         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14090
14091         * text2.C (SetSelection): set correct update status if inset_owner
14092         (ToggleFree): ditto
14093
14094 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14095
14096         * tabular.C: remove some commented code.
14097
14098 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * BufferView_pimpl.C: call hideSplash()
14101
14102         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14103
14104         * include_form.h:
14105         * bibforms.h: remove
14106
14107         * lyxfunc.C:
14108         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14109           add LFUN_CHILD_CREATE
14110
14111         * counters.h: fix tiny typo
14112
14113         * lyx_cb.C:
14114         * lyx.h:
14115         * lyx_gui.C:
14116         * lyx.C: move splash to frontends/xforms/
14117
14118         * lyx_gui_misc.C: move Include and Bibform to frontends
14119
14120         * lyxvc.h: clarify comment
14121
14122         * vspace.C: tiny housekeeping
14123
14124 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14125
14126         * text.C (PrepareToPrint): RTL Fix.
14127
14128         * paragraph.C (GetUChar): New method.
14129         (String):  Use GetUChar.
14130
14131         * buffer.C (asciiParagraph): Use GetUChar.
14132
14133 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14134
14135         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14136
14137 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * buffer.h:
14140         * buffer.C: rename to getLogName(), handle
14141           build log / latex log nicely
14142
14143 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14144
14145         * MenuBackend.C:
14146         * MenuBackend.h: remove support for reference menuitem type.
14147
14148 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14149
14150         * BufferView_pimpl.C: housekeeping
14151         * BufferView_pimpl.h:
14152         * LyXView.h:
14153         * Makefile.am:
14154         * Timeout.C:
14155         * Timeout.h:
14156         * minibuffer.h: move Timeout GUI-I
14157
14158 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * lyxrc.C (read): Update converters data-structures.
14161
14162 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14163
14164         * LaTeX.h (operator!=): add operator != for Aux_Info
14165
14166 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14169
14170         * LaTeXLog.C: deleted, useful code moved to Buffer
14171
14172         * buffer.h:
14173         * buffer.C: new function getLatexLogName()
14174
14175         * lyx_gui_misc.C:
14176         * lyx_gui.C:
14177         * lyxvc.C:
14178         * lyxvc.h:
14179         * lyxfunc.C: use frontends for LaTeX and VC logs
14180
14181 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14182
14183         * LaTeX.h: yet another std:: that Allan forgot.
14184
14185         * Variables.C (set): renamed from isset(), because this clashes
14186         with some HP-UX macros (grr).
14187
14188 2001-02-06  Allan Rae  <rae@lyx.org>
14189
14190         * LaTeX.h: Another bug fix.  Missing std:: this time.
14191
14192 2001-02-04  Allan Rae  <rae@lyx.org>
14193
14194         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14195         floats problem. I've left it commented out because it's not quite
14196         correct.  It should also test that the current object is a table or
14197         figure inset.  But I haven't gotten around to figuring out how to do
14198         that.  I *think* it'll be something like: "table" == inset.type()
14199
14200         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14201         bool.
14202
14203 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14204
14205         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14206         all the citation/databases/styles in the auxilary file.
14207         (run): Rerun latex if there was a babel language error.
14208
14209 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * text.C (Backspace): Preserve the font when changing newline char
14212         with a space.
14213         (BreakParagraph): If the cursor is before a space, delete the space.
14214
14215         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14216
14217 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14218
14219         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14220         new argument (code).
14221         (ChangeCitationsIfUnique): New method.
14222
14223         * paragraph.C (GetPositionOfInset): Handle bibkey.
14224
14225 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14226
14227         * BufferView_pimpl.h: change type of Position::par_pos to
14228         LyXParagraph::size_type.
14229
14230 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14231
14232         * BufferView_pimpl.C (savePosition, restorePosition): Write
14233         messages to minibuffer.
14234
14235 2001-01-28  José Matos  <jamatos@fep.up.pt>
14236
14237         * buffer.C (makeDocBookFile): adds support for document language.
14238         A silly restriction on the name of LatexCommand types where removed.
14239         Added support for CDATA sections, allows to chars unescaped, used
14240         among others in code, to avoid escape < and >.
14241
14242 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14245         saved positions instrad of a stack. Furthermore, a position is
14246         stored using paragraph id/paragraph position.
14247
14248         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14249         Remove LFUN_REF_BACK.
14250
14251 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * converter.C (dvipdfm_options): New method.
14254
14255 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14256
14257         * vspace.C (isValidLength): Fix for empty input string.
14258
14259 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * LyXAction.C (init): change description of LFUN_FIGURE to
14262         "Insert Graphics"
14263
14264 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14265
14266         * LaTeX.C: add using directive
14267
14268 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14269
14270         * MenuBackend.C (expand): Fix the sorting of the formats.
14271
14272 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * lyx_main.C: tiny error message fix
14275
14276 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14279         calling fl_initialize(). This fixes the problem with ',' as
14280         decimal separator in text files.
14281
14282 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * trans.C (process): Fix the keymap bug.
14285
14286 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14287
14288         * LaTeX.C (scanAuxFiles): New method. Provides support for
14289         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14290         (scanLogFile) Scan for "run BibTeX" messages.
14291
14292         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14293         OT1 font encoding. Also, load the aecompl package if the ae
14294         package is loaded.
14295
14296         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14297
14298 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * texrow.C (increasePos): turn two error messages into debug
14301         messages.
14302
14303 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14304
14305         * LaTeX.C (scanAux): Handle the \@input macro.
14306         (runBibTeX): Use scanAux().
14307
14308         * language.C (latex_options_): New field.
14309
14310         * LaTeXFeatures.C (getMacros): Add language macros.
14311
14312         * buffer.C (makeLaTeXFile): Small fix.
14313
14314 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14317
14318         * text2.C: add a using directive.
14319
14320 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * BufferView2.C:
14323         * lyx_gui_misc.h:
14324         * lyxfr1.C:
14325         * lyxfunc.C: kill LyXBell.
14326
14327 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14328
14329         * text.C (IsBoundary): Remove the error message
14330
14331         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14332
14333         * lyxrc.C (setDefaults): Correct initialization value for
14334         font_norm_type.
14335
14336 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14339         gotoError().
14340
14341         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14342         and GotoNextNote().
14343
14344         * src/LyXAction.C: Added reference-next.
14345
14346         * text.C (InsertChar): Use contains instead of strchr.
14347
14348         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14349
14350 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14351
14352         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14353         alignment commands (when needed).
14354
14355         * text.C (InsertChar): Add ':' to number separator chars.