]> git.lyx.org Git - features.git/blob - src/ChangeLog
adb10d34f57b7e154e1b9391b6c381a68fb22e0a
[features.git] / src / ChangeLog
1 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4         SameName and match.
5         (add): replace a finding loop with std::find_if.
6
7 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * output_docbook.C: moving LatexParam functionality into
10         .layout files
11
12 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13
14         * buffer.C: increment format to 229.
15
16 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
17
18         * LaTeXFeatures.C:
19         * lyx_sty.[Ch]: remove minipageindent_def
20
21         * LyXAction.C:
22         * factory.C:
23         * lfuns.h:
24         * lyxfunc.C:
25         * text3.C: remove LFUN_INSET_MINIPAGE
26
27 2003-12-28  Angus Leeming  <leeming@lyx.org>
28
29         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
30
31 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
32
33         * text2.C (setParagraph): fix off-by-one crash
34
35 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
36
37         * output_docbook.C: header stuff for AGU
38
39 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
40
41         * text2.C (redoCursor): remove
42         * text.C:
43         * text3.C:
44         * BufferView_pimpl.C: remove calls to redoCursor and
45         setCursor(cursor.par(), cursor.pos()) all around
46
47 2003-12-15  Angus Leeming  <leeming@lyx.org>
48
49         * buffer.C: up the format to 228.
50
51 2003-12-15  André Pönitz  <poenitz@gmx.net>
52
53         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
54         slices
55
56         * Makefile.am:
57
58         * BufferView_pimpl.C:
59         * cursor.[Ch]:
60         * lyxcursor.[Ch]:
61         * rowpainter.[Ch]:
62         * lyxtext.h:
63         * text.C:
64         * text2.C:
65         * text3.C: adjust
66
67 2003-12-15  Angus Leeming  <leeming@lyx.org>
68
69         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
70         than getFromGUIName to manipulate the color.
71
72 2003-12-14  Angus Leeming  <leeming@lyx.org>
73
74         * BranchList.[Ch]: minimize the API.
75         (Branch::getBranch, getColor): now return a 'const &'.
76         (Branch::setSelected) now returns a bool set to true if the
77         selection status changes.
78         (BranchList::clear, size, getColor, setColor, setSelected,
79         allBranches, allSelected, separator): removed.
80         (BranchList::find): new functions, returning the Branch with
81         the given name.
82         (BranchList::add, remove): return a bool indicating that
83         the operation was successful.
84
85         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
86         new InsetBranch::isBranchSlected member function.
87
88         * LColor.[Ch]: mimimize the API.
89         (fill): renamed as addColor and made private.
90         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
91         versions of these functions taking a string arg have been removed.
92
93         * bufferparams.C (readToken):
94         * lyxfunc.C (dispatch):
95         * lyxrc.C (read): changes due to the altered BranchList and
96         LColor APIs.
97
98         * factory.C (createInset, readInset): changes due to altered
99         InsetBranch c-tor.
100
101 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
102
103         * factory.C:
104         * lyxfunc.C: remove insetminipage. "minipage-insert"
105         now produces a frameless minipage box inset.
106
107 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
108
109         * textcursor.[Ch] (selStart,selEnd): add new methods
110         remove selection::start, end, use LyXCursor::operator<
111         * lyxcursor.[Ch] (operator<): add
112         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
113         * BufferView.[Ch] (unsetXSel): add
114         * text2.C (clearSelection): use unsetXSel,adjust
115         * text.C: adjust
116         * text3.C: adjust
117         * rowpainter.C: adjust
118         * bufferview_funcs.C (put_selection_at): adjust
119
120 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * BufferView_pimpl.C: small coord. correction
123
124 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
125
126         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
127         dragging over the splash screen.
128
129 2003-12-11  Angus Leeming  <leeming@lyx.org>
130
131         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
132         as it is now handled in LyXText::dispatch.
133
134         * text3.C (doInsertInset): remove a level of nesting.
135
136 2003-12-11  Angus Leeming  <leeming@lyx.org>
137
138         * factory.C (createInset): changes due to the changed interface to
139         InsetCommandMailer::string2params.
140
141 2003-12-10  Angus Leeming  <leeming@lyx.org>
142
143         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
144         'dialog-show-new-inset <inset name>'
145
146 2003-12-10  Angus Leeming  <leeming@lyx.org>
147
148         * buffer.C: up the format to 227.
149
150         * factory.C: the box inset is now identified simply by 'Box'.
151
152 2003-12-10  Angus Leeming  <leeming@lyx.org>
153
154         * buffer.C: up the format to 226.
155
156         * factory.C: the note inset is now identified simply by 'Note'.
157
158 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
159
160         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
161         when a pit is enough. Standarize a couple of loops.
162
163 2003-12-05  Angus Leeming  <leeming@lyx.org>
164
165         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
166         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
167         data to the re-worked "log" dialog.
168
169 2003-12-03  André Pönitz  <poenitz@gmx.net>
170
171         * PosIterator.C:
172         * iterators.C:
173         * lyxtext.h:
174         * output_latex.C:
175         * paragraph_funcs.C:
176         * text.C:
177         * text2.C: use Inset::getText instead of Inset::getParagraph
178
179 2003-12-03  André Pönitz  <poenitz@gmx.net>
180
181         * buffer.[Ch]:
182         * lyxtext.h:
183         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
184         InsetText::read() as LyXText::read()
185
186 2003-12-02  Angus Leeming  <leeming@lyx.org>
187
188         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
189         type. Add a comment in the implementation that the function uses
190         the stream's bad() function rather than fail() as the std::streams
191         would do.
192
193 2003-12-02  André Pönitz  <poenitz@gmx.net>
194
195         * lyxlex.[Ch]: make interface more similar to std::stream
196
197         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
198
199 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
202
203 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
204
205         * vspace.[Ch]: remove VSpace::NONE
206
207 2003-12-01  André Pönitz  <poenitz@gmx.net>
208
209         * buffer.[Ch]:
210         * lyxtext.h: move ParagraphList member to LyXText
211         rename LyXText::ownerParagraphs to LyXText::paragraph
212
213         * CutAndPaste.C:
214         * bufferview_funcs.C:
215         * iterators.[Ch]:
216         * lyx_cb.C:
217         * paragraph.C:
218         * rowpainter.C:
219         * tabular.C:
220         * text.C:
221         * text2.C:
222         * text3.C: adjust
223
224         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
225
226         * undo.C: fix cursor positioning
227
228 2003-12-01  John Levon  <levon@movementarian.org>
229
230         * BufferView_pimpl.C: fix a crash on exit with
231         a buffer open
232
233 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
234
235         * BranchList.C: fix setSelected() method.
236
237 2003-11-28  André Pönitz  <poenitz@gmx.net>
238
239         * ParagraphParameters.[Ch]:
240         * ParameterStruct.h: remove space above/below from Paragraph to
241          InsetVSpace
242
243         * BufferView_pimpl.C:
244         * factory.C:
245         * lyxfunc.C:
246         * lyxtext.h:
247         * output_latex.C:
248         * paragraph.C:
249         * paragraph_funcs.C:
250         * rowpainter.[Ch]:
251         * text.C:
252         * text2.C:
253         * text3.C: adjust
254
255 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * factory.C: Syntax change for CharStyles
258
259 2003-11-28  André Pönitz  <poenitz@gmx.net>
260
261         * BufferView.[Ch]:
262         * BufferView.[Ch]:
263         * buffer.[Ch]:
264         * buffer.[Ch]: move LyXText member
265
266 2003-11-28  André Pönitz  <poenitz@gmx.net>
267
268         * BufferView.[Ch]: make LyXText * text a private member
269
270         * BufferView_pimpl.C:
271         * cursor.C:
272         * iterators.C:
273         * lyx_cb.C:
274         * lyxfind.C:
275         * lyxtext.h:
276         * rowpainter.[Ch]:
277         * text.C:
278         * text2.C:
279         * undo.C: adjust
280
281         * output_plaintext.C: cleanup
282
283 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * buffer.C:
286         * lyxtextclass.[Ch]: parametrize SGML document header
287
288 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * converter.[Ch]:
291         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
292         getFlavor().
293
294 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
295
296         * text2.C (setFont): rework using PosIterator (no more recursive)
297         (setCharFont): no more needed
298         (setLayout): no more selection cursors fiddling (done by redoCursor)
299         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
300         destroy remaining ones)
301
302 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
305         * lyxtext.h: ditto
306         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
307         selection cursors
308         * lyxfunc.C: adjust
309         * text3.C: adjust + re-allow multi par depth changes
310         * textcursor.C: simplify a bit
311
312 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * src/buffer.C:
315         * src/lyxlayout.C:
316         * src/lyxlayout.h:
317         * src/lyxtext.h:
318         * src/output_docbook.C:
319         * src/output_latex.C:
320         * src/paragraph.C:
321         * src/paragraph.h:
322         * src/sgml.C:
323         * src/sgml.h:
324         * src/text2.C: Introducing a number of tags parametrizing various
325         XML formats that we may want to support
326
327 2003-11-25  André Pönitz  <poenitz@gmx.net>
328
329         * InsetList.[Ch] (begein, end): inline as suggested by profiler
330
331         * lyxtext.h (leftMargin/rightMargin): simplify interface
332
333         * rowpainter.C:
334         * text.C:
335         * text2.C:
336         * text3.C: adjust
337
338 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
339
340         * lyxfunc.C (dispatch): propogate the bibtex databases from the
341         master file to any child files. Fixes bug 546.
342
343 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
344
345         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
346
347 2003-11-24  André Pönitz  <poenitz@gmx.net>
348
349         * rowpainter.C: simplification
350
351         * text2.C (updateCounters): remove call to redoParagraph on
352         changed labels as this is far too expensive.
353
354 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * converter.C (convert): fix a crash: this function gets
357         called with buffer == 0 from importer code.
358
359 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
360
361         * text3.C (cursorPrevious): make sure that we do not compare
362         iterators form different containers.
363         (cursorNext): ditto
364
365         * rowpainter.C (paintSelection): make sure that we do not compare
366         iterators from different containers.
367
368         * text3.C (dispatch): [PRIOR] make sure that we do not compare
369         iterators from different ParagraphList containers.
370         [NEXT] ditto
371
372         * text2.C (LyXText): change order of initialization slightly
373         (operator=): new function. copy all variables except cache_par_
374         (moveUp): make sure that we do not compare iterators from
375         different ParagraphList constainers.
376         (moveDown): ditto
377
378         * text.C (firstPar): new function
379         (lastPar): new function
380         (endPar): new function
381
382         * lyxtext.h: move things around and group public functions, public
383         variables, private functions, private variables
384
385 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
386
387         * factory.C: change call to InsetERT constructor to avoid
388         additional invocation of method status
389         * text2.C (toggleInset): remove redundant update() call
390         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
391         instead of a Bufferview pointer
392
393 2003-11-21  André Pönitz  <poenitz@gmx.net>
394
395         * rowpainter.C: simplification
396
397 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * text3.C (dispatch): make possible to extend a word/row selection
400         with the mouse
401
402 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * lyxtext.h: x0_,y0_ -> xo_,yo_
405         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
406         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
407         * rowpainter.C (paintRows): paint full paragraphs
408
409 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
410
411         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
412         screen coordinates)
413
414 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * lyxtext.h: add x0_, y0_
417         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
418         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
419
420 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * text2.C (setCursorIntern): move the x_target update here *
423         * text3.C: change some bv() to true/false in calls to
424         cursorUp/Down/Right/Left
425         * cursor.C: use helper function.
426
427 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
428
429         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
430         * paragraph_funcs.[Ch]: correct comment
431         * rowpainter.C: do not paint selections away from bv->cursor()
432         Fix a long standing selection painting bug.
433         * text3.C: generalize mouse-selection code to LyXTexts other that
434         top one
435         * textcursor.C: do not use y coords if we can use par offsets
436
437 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
440         cursor position after e.g. inset insert)
441
442 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
443
444         * lyxfind.C (replace): adjust to locking removal + some
445         code simplification
446
447 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
448
449         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
450         of the path
451
452 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * lyxlayout.[Ch]:
455         * output_docbook.C: XML sanitation: new layout
456         parameters InnerTag and CommandDepth
457
458 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
459
460         * BufferView_pimpl.C:
461         * factory.C:
462         * text3.C: Fix the insertion and modification of button-style
463         insets
464
465 2003-11-13  André Pönitz  <poenitz@gmx.net>
466
467         * InsetList.[Ch]: remove deleteLyXText
468
469         * paragraph.[Ch]: cache beginOfBody position
470
471         * Bidi.C:
472         * text.C:
473         * text2.C:
474         * text3.C: remove superfluous update() calls
475
476         * vspace.C: cleanup
477
478 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
481         * BufferView.C (fitLockedInsetCursor): remove
482         * cursor.[Ch] (getDim): add
483         * text.C (getRowNearY): add faster version
484         * text3.C: remove some update calls
485
486 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
487
488         * LaTeXFeatures.C:
489         * LyXAction.C:
490         * MenuBackend.C:
491         * MenuBackend.h:
492         * dispatchresult.h:
493         * factory.C:
494         * lfuns.h:
495         * lyxfunc.C:
496         * lyxtextclass.C:
497         * lyxtextclass.h:
498         * text3.C: The Character Style /XML short element patch.
499
500 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
501
502         * text3.C:
503         * factory.C: Small step to solving 'unable to insert some insets'
504         problem
505
506 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * cursor.[Ch] (updatePos): new function for updating the y
509         position of the tip inset
510         * bufferview_funcs.C (put_selection_at):
511         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
512
513 2003-11-11  André Pönitz  <poenitz@gmx.net>
514
515         * text.C: remove big comment on invalid Paragraph pointers as it is
516         not valid anymore
517
518 2003-11-11  André Pönitz  <poenitz@gmx.net>
519
520         * text_funcs.[Ch]: merge with ...
521
522         * text.C: ... this
523
524         * lyxtext.h:
525         * text2.C:
526         * text3.C: adjust
527
528         * Makefile.am: remove text_funcs.[Ch]
529
530 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
531
532         * cursor.C (getPos): return absolute cached y coord
533
534         * BufferView_pimpl.C (fitCursor): new simplistic code
535         (workAreaDispatch): add a fitCursor call
536
537 2003-11-10  André Pönitz  <poenitz@gmx.net>
538
539         * BufferView.[Ch]:
540         * BufferView_pimpl.[Ch]: merge update() and updateInset()
541
542 2003-11-10  André Pönitz  <poenitz@gmx.net>
543
544         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
545         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
546         indicate that the cursor needs to leave an inset
547
548         * lyxtext.h: remove inset locking
549
550         * cursor.[Ch]: re-implement functionality provided by inset locking
551
552         * BufferView.[Ch]:
553         * BufferView_pimpl.[Ch]:
554         * LyXAction.C:
555         * bufferview_funcs.[Ch]:
556         * factory.C:
557         * funcrequest.[Ch]:
558         * iterators.C:
559         * lyx_cb.C:
560         * lyxfind.C:
561         * lyxfunc.C:
562         * text.C:
563         * text2.C:
564         * text3.C:
565         * undo.C: adjust
566
567 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
568
569         * PosIterator.[Ch]: replace the stack with a vector, add inset
570         accesor
571         * iterators.[C]: adjust
572
573 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
574
575         * lyxfind.C (replaceAll): mark the buffer dirty if something was
576         replaced
577         * paragraph_funcs.C (readParToken): put the correct id in the
578         error item, not the id of the top paragraph
579
580 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
581
582         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
583         * bufferview_funcs.C (put_selection_at): use the above
584
585 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
586
587         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
588
589 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * output_linuxdoc.h:
592         * output_plaintext.h:
593         * output.h:
594         * output_docbook.h: add #include statements
595
596 2003-11-05  José Matos  <jamatos@lyx.org>
597
598         * output_docbook.[Ch]:
599         * output_latex.[Ch]:
600         * output_linuxdoc.[Ch]:
601         * output_plaintext.[Ch]: New files for output formats.
602         * output.[Ch]: New file for helper functions.
603
604         * buffer.[Ch]:
605         * paragraph_funcs.[Ch]: output functions moved to new files.
606
607         * outputparams.h: rename of latexrunparams.h
608
609         * LaTeX.[Ch]:
610         * buffer.[Ch]:
611         * bufferlist.[Ch]:
612         * converter.[Ch]:
613         * exporter.C:
614         * paragraph.[Ch]:
615         * paragraph_funcs.[Ch]:
616         * paragraph_pimpl.[Ch]:
617         * tabular.[Ch]: rename ascii to plaintext
618         and LatexRunParams to OutputParams.
619
620 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
621
622         * iterators.[Ch] (text): require bv argument
623         * undo.C (recordUndo):
624         * lyxfunc.C (dispatch):
625         * bufferview_funcs.C (put_selection_at): adjust
626
627 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
628
629         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
630
631 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
632
633         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
634         nestings
635
636 2003-11-04  André Pönitz  <poenitz@gmx.net>
637
638         * cursor.[Ch]: restructure
639
640         * BufferView.[Ch]:
641         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
642
643         * iterators.[Ch] (asCursor): remove
644
645         * lfuns.h: remove LFUN_INSET_EDIT
646
647         * lyxfunc.C:
648         * tabular.C:
649         * text.C:
650         * text2.C:
651         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
652
653 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
654
655         * lyxfind.[Ch]: complete overhaul
656         * BufferView_pimpl.C:
657         * lyxfunc.C: adjust
658         * paragraph.[Ch] (insert): add
659
660 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
661
662         * BufferView.[Ch]:
663         * lyxtext.h:
664         * text.C: remove dead spellcheck code
665
666 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
667
668         * dispatchresult.h: add a val setter
669
670         * cursor.C (dispatch): use a tempvar for data_[i]
671
672 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
673
674         * PosIterator.[Ch]: compile fix
675
676 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
677
678         * text.C (cursorPar): deactivate the cursor cache
679
680 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
681
682         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
683
684 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
685
686         * text3.C (dispatch): adjust for new DisptchResult semantics.
687
688         * lyxfunc.C (dispatch): handle update when return from
689         Cursor::dispatch, adjust for new DispatchResult semantics.
690
691         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
692         DispatchResult(true) mean to not update. Add class functions for
693         setting dispatched and update, as well as reading.
694
695         * cursor.C (dispatch): don't handle update here
696
697 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
698
699         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
700         * trans_mgr.C: adjust
701
702         * paragraph_funcs.C (readParToken): exception safety
703
704         * lyxvc.h: store the vcs pointer in a scoped_ptr
705         * lyxvc.C: adjust
706
707         * lyxsocket.C (serverCallback): exception safety
708
709         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
710
711         * ispell.C (clone): make it return a auto_ptr
712
713         * factory.C (createInset): exception safety
714         (readInset): exception safety
715
716         * bufferlist.C (newBuffer): exception safety
717
718         * Thesaurus.C (Thesaurus): use initialization for aik_
719
720         * MenuBackend.C (expandToc): exception safety.
721
722 2003-11-03  André Pönitz  <poenitz@gmx.net>
723
724         * buffer.C:
725         * buffer.h:
726         * bufferview_funcs.C: remove getInsetFromId()
727
728         * lyxcursor.[Ch]:
729         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
730
731         * lyxfunc.C:
732         * text2.C:
733         * text3.C: adjust
734
735 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
736
737         * PosIterator.C (distance, advance): new
738         * bufferview_funcs.[Ch] (put_selection_at): new
739         * iterators.[Ch] (lockPath): new
740
741 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
742
743         * iterators.[Ch] (asPosIterator): added
744         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
745         * PosIterator.[Ch]: added
746
747 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
748
749         * text3.C:
750         * lyxfunc.C:
751         * cursor.C (dispatch):
752         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
753
754         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
755         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
756         contructor, add a class function dispatched. Remove operator>=
757
758 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
759
760         * debug.C: only use the default constructor for debugstream
761         (lyxerr) here.
762
763         * main.C (main): include debug.h and setup the lyxerr streambuf
764         here.
765
766 2003-10-31  José Matos  <jamatos@lyx.org>
767
768         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
769
770         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
771         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
772         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
773         * paragraph_pimpl.C (simpleTeXSpecialC):
774         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
775         add LatexRunParams argument.
776
777         * exporter.C (Export): change call accordingly.
778
779         * latexrunparams.h: add new member to take care of the other backends.
780 2003-10-30  José Matos  <jamatos@lyx.org>
781
782         * buffer.C (makeLinuxDocFile, makeDocBookFile):
783         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
784         factorise code for paragraph output.
785         * buffer.[Ch]:
786         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
787         move functions.
788
789 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
790
791         * text3.C (dispatch):
792         * lyxfunc.C (dispatch):
793         * cursor.C (dispatch):
794         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
795
796         * dispatchresult.h: make the dispatch_result_t ctor explicit
797
798 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * sgml.[Ch]:
801         * buffer.C: small refactoring of docbook stuff
802
803 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
804
805         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
806         meaning.
807
808 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
811         operator dispatch_result_t, and operators for == != and >=
812
813         * cursor.C (dispatch): adjust for operator dispatch_result_t
814         removal. comment out call to update
815
816         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
817
818 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
819
820         * text3.C:
821         * text2.C:
822         * text.C:
823         * lyxtext.h:
824         * lyxfunc.C:
825         * cursor.C:
826         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
827         (dispatch):
828
829         * dispatchresult.h: new file, DispatchResult broken out of
830         insets/insetbase.h
831
832         * Makefile.am (lyx_SOURCES): add dispatchresult.h
833
834 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
835
836         * text.C (rowBreakPoint): put a hack inside #if 0
837
838 2003-10-28  André Pönitz  <poenitz@gmx.net>
839
840         * lyxtext.h:
841         * metricsinfo.C:
842         * paragraph_funcs.C:
843         * rowpainter.C:
844         * text.C:
845         * text2.C: general cleanup (lots of small stuff)
846
847 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
848
849         * text2.C (cursorEnd): simple fix to the "end key goes to one
850         before the end on last row" bug
851
852 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
853
854         * text.C (backspace): fix the "zombie characters"
855
856 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
857
858         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
859
860 2003-10-27  André Pönitz  <poenitz@gmx.net>
861
862         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
863
864         * factory.C: handle new InsetPagebreak, InsetLine
865
866         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
867         and move handling into new InsetPagebreak, InsetLine
868
869         * BufferView_pimpl.C:
870         * LyXAction.C:
871         * ParagraphParameters.C:
872         * ParameterStruct.h:
873         * lyxfunc.C:
874         * lyxtext.h:
875         * paragraph.C:
876         * paragraph.h:
877         * paragraph_funcs.C:
878         * paragraph_pimpl.C:
879         * rowpainter.C:
880         * text.C:
881         * text2.C:
882         * text3.C: adjust
883
884 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
885
886         * text.C:
887         * lyxrow_funcs.[Ch]:
888         * Bidi.C:
889         * paragraph.C:
890         * lyxtext.h:
891         * rowpainter.C:
892         * text2.C:
893         * text3.C: remove lastPos uses in favour of Row::endpos
894
895 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
896
897         * undo.C (performUndoOrRedo): fix two crashes by setting a
898         cursor by hand and reordering some calls. Use bv->lockInset instead
899         of inset->edit because the latter loses cursor information
900
901 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
902
903         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
904         by Martin
905         (rowBreakPoint): fix width. change point to point + 1.
906         Add a missing check.
907
908 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
909
910         * MenuBackend.C:
911         * lyxfunc.C: fix (at least partly) the problems
912         with the Nav menu and headers inside branch insets
913         reported by Kayvan
914
915 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
916
917         * paragraph.C (getChar): add strong asserts
918
919         * lyxrow_funcs.C (lastPos): remove hideous hack
920
921         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
922         (fill): adjust to that (avoid an infinite loop)
923
924 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
925
926         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
927
928 2003-10-23  André Pönitz  <poenitz@gmx.net>
929
930         * RowList_fwd.h: change list<> to vector<> to gain speed
931         after suggestion from Alfredo
932
933 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
934
935         * lyxtext.h: move the bidi stuff from here...
936         * text.C: and here
937         * text2.C: and here
938         * Bidi.[Ch]: ... to here
939
940 2003-10-23  André Pönitz  <poenitz@gmx.net>
941
942         * lyxtext.h:
943         * text.C (isLastRow, isFirstRow): new functions
944
945         * paragraph.h: new width cache member
946
947         * rowpainter.C: replace RowList::iterator with Row & where possible
948
949         * lyxfunc.C: replace several view()->text with a single call
950
951         * toc.C: fix 'unused' warning
952
953 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
954
955         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
956         when woring with stream::pos_type
957         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
958
959 2003-10-22  André Pönitz  <poenitz@gmx.net>
960
961         * lyxtext.h:
962         * text.C: use Row & instead of RowList::iterator
963
964         * lyxrow.h: rename end() to endpos()
965
966         * rowpainter.C:
967         * text.C:
968         * text2.C: adjust
969
970 2003-10-22  Angus Leeming  <leeming@lyx.org>
971
972         * buffer.[Ch] (fully_loaded): new member function, returning true
973         only when the file has been loaded fully.
974         Used to prevent the premature generation of previews and by the
975         citation inset to prevent computation of the natbib-style label.
976
977         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
978         templates are all set up.
979
980         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
981
982 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
983
984         * text.C: fixed an "oops" in the "is a bit silly"
985         bug fix
986
987 2003-10-21  André Pönitz  <poenitz@gmx.net>
988
989         * FuncStatus.[Ch]: small stuff, whitespace
990
991         * lyxfont.[Ch]: operator<<() for debug reasons
992
993         * lyxfunc.C:
994         * lyxrow_funcs.C:
995         * lyxtext.h: whitespace, spelling
996
997         * paragraph.C: naming of variables
998
999         * text.C:
1000         * text2.C: small stuff
1001
1002
1003 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * text.C: (1) finish off the inset display() work;
1006         (2) fix the "is a bit silly" bug (accessing char
1007         past end of par).
1008
1009 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1010
1011         * text.C: re-introduce display() for insets, fixing the
1012         various bugs (stretch of line above, math inset
1013         positioning, ...)
1014
1015 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * text.C (rightMargin): remove spurious semicolon
1018
1019         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1020         1415)
1021
1022 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1023
1024         * text3.C: fix one crash due to wrong cursor def
1025
1026 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1027
1028         * vc-backend.C (scanMaster): make the regex static
1029
1030         * LaTeX.C (scanAuxFile): make the regexs static
1031
1032         * text3.C (doInsertInset, dispatch, dispatch):
1033         * text2.C (cursorUp, cursorDown):
1034         * text.C (selectNextWordToSpellcheck):
1035         * BufferView_pimpl.C (dispatch):
1036         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1037
1038 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * lyxsocket.C: include <cerrno>
1041
1042 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1043
1044         * lyxfunc.C (dispatch): remove textcache stuff
1045
1046         * bufferlist.C (release): remove textcache stuff
1047         (closeAll): ditto
1048
1049         * TextCache.C: delete file
1050         * TextCache.h: delete file
1051
1052         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1053
1054         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1055         delete of the bv_->text.
1056         (resizeCurrentBuffer): remove texcache stuff
1057         (workAreaResize): ditto
1058
1059 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1060
1061         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1062         action.
1063
1064 2003-10-16  André Pönitz  <poenitz@gmx.net>
1065
1066         * lyxrow.[Ch]:
1067         * paragraph.h:
1068         * rowpainter.C:
1069         * text.C:
1070         * text2.C:
1071         * text3.C: speed up by storing y positions per paragraph plus per-row
1072         offset instead of having a 'full' y position in the row.
1073
1074 2003-10-15  André Pönitz  <poenitz@gmx.net>
1075
1076         * iterators.[Ch]:
1077         * iterators.[Ch]:
1078         * undo.[Ch]: make undo aware of inner insets
1079
1080 2003-10-14  Angus Leeming  <leeming@lyx.org>
1081
1082         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1083         static member functions LyX::ref() and LyX::cref.
1084         (lastfiles): new accessor functions for the new lastfiles_ member var.
1085         (addLyXView, views_): add a new LyXView to the list of views_.
1086         (updateInset): loop over all LyXViews to call their own updateInset
1087         member function, returning a pointer to the Buffer owning the inset.
1088
1089         * BufferView_pimpl.C (loadLyXFile):
1090         * MenuBackend.C (expandLastfiles):
1091         * bufferlist.C (MenuWrite, QuitLyX):
1092         lastfiles is no longer a global variable.
1093         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1094
1095         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1096         static function. Access through LyX::cref().emergencyCleanup().
1097
1098 2003-10-14  André Pönitz  <poenitz@gmx.net>
1099
1100         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1101
1102         * undo.[Ch]: restoring part of 'undo in insets'
1103
1104         * Makefile.am:
1105         * undo_funcs.[Ch]: merge with undo.[Ch]
1106
1107         * tabular.C: small cleansing stuff
1108
1109 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1110
1111         * paragraph_funcs.C (readParToken): report unknown insets as error
1112         boxes. Use the outer paragraph as location (also for unknown
1113         tokens).
1114
1115         * factory.C (readInset): do not abort on reading an unknown inset.
1116         Eat it and return 0.
1117
1118 2003-10-13  Angus Leeming  <leeming@lyx.org>
1119
1120         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1121
1122         * lyxrc.C: displayTranslator is now a function,
1123         declared in GraphicsTypes.h.
1124
1125 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1126
1127         * format.C: new placeholder $$a to pass the socket address.
1128
1129         * bufferlist.[Ch]: new function getBufferFromTmp.
1130
1131         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1132           files in the temporary dir.
1133
1134 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1135
1136         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1137
1138         * Makefile.am: add lyxsocket.[Ch].
1139
1140         * lyx_main.C (error_handler): handle SIGPIPE.
1141
1142 2003-10-13  André Pönitz  <poenitz@gmx.net>
1143
1144         * BufferView_pimpl.C:
1145         * lyxtext.h:
1146         * text.C:
1147         * text2.C:
1148         * text3.C:
1149         * undo_funcs.[Ch]: use paroffset_type instead of
1150           ParagraphList::iterators to prevent multiple conversion
1151           (and get a more robust interface)
1152
1153 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1156         * lyxtext.h: ditto
1157         * text3.C (dispatch): ditto
1158
1159 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1160
1161         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1162         move the onlyfile, use onlyfile instead of foundfile in a couple
1163         of places.
1164
1165         * DepTable.C (update): flush the error stream a bit more
1166
1167 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1168
1169         * lyxserver.C (callback): adjust
1170
1171         * lyxfunc.C (getStatus): add a missing brace in commented code
1172         (ensureBufferClean): reindent
1173         (dispatch): delete version taking a string
1174
1175 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1176
1177         * LaTeX.C (deplog): move found file handlig from here...
1178         (handleFoundFile): .. to new function here.
1179         (deplog): make sure to discover several files mentioned on the
1180         same log line.
1181
1182 2003-10-10  André Pönitz  <poenitz@gmx.net>
1183
1184         * lyxfunc.C:
1185         * lyxtext.h:
1186         * tabular.C:
1187         * text.C:
1188         * text2.C:
1189         * text3.C: fix some of the tabular crashes
1190
1191 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1192
1193         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1194
1195         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1196
1197 2003-10-09  André Pönitz  <poenitz@gmx.net>
1198
1199         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1200
1201         * BufferView.C:
1202         * BufferView_pimpl.C:
1203         * bufferview_funcs.C:
1204         * lyx_cb.C:
1205         * lyxcursor.C:
1206         * lyxfind.C:
1207         * lyxfunc.C:
1208         * lyxtext.h:
1209         * text.C:
1210         * text2.C:
1211         * text3.C:
1212         * text_funcs.[Ch]:
1213         * textcursor.[Ch]:
1214         * undo_funcs.C: adjust
1215
1216 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1217
1218         * text2.C (incrementItemDepth): new function, use a backtracking
1219         algorithm to discover the correct item depth.
1220         (resetEnumCounterIfNeeded): new function, use a backtracking
1221         algorithm to discover if counter reset is needed.
1222         (setCounter): use them. Simplify a bit. Add different labels for
1223         different item depths for itemize.
1224
1225         * paragraph.C (Paragraph): remove initialization of enumdepth
1226         (operator=): ditto
1227
1228         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1229         enumerate and itemize. Change the type of itemdepth to signed char.
1230
1231 2003-10-08  André Pönitz  <poenitz@gmx.net>
1232
1233         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1234           thing assignable.
1235         * text.C:
1236         * text2.C: adjust
1237
1238         * tabular.[Ch]: fix crash after 'row-insert'
1239
1240 2003-10-08  Angus Leeming  <leeming@lyx.org>
1241
1242         Fix doxygen warnings.
1243
1244         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1245         Remove CutAndPaste:: prefix from header file declaration.
1246
1247         * LColor.h (fill): remove LColor:: prefix from declaration.
1248
1249         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1250         use lyx::depth_type rather than Paragraph::depth_type so that
1251         header file and .C file match.
1252
1253         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1254
1255         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1256         * aspell.C: \file aspell_local.C -> \file aspell.C
1257         * gettext.C: \file gettext.C -> \file src/gettext.C
1258         * gettext.h: \file gettext.h -> \file src/gettext.h
1259         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1260         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1261         * text.C: \file text.C -> \file src/text.C
1262
1263         * toc.C: move comment so that doxygen is not confused.
1264
1265 2003-10-07  Angus Leeming  <leeming@lyx.org>
1266
1267         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1268
1269 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1270
1271         * aspell.C:
1272         * aspell_local.h: add forgotten std::string's.
1273
1274 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1275
1276         * LaTeXFeatures.C:
1277         * LyXAction.C:
1278         * factory.C:
1279         * lfuns.h:
1280         * lyxfunc.C:
1281         * text3.C: The Box patch. Fancybox support, minipage, parbox
1282
1283 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1284
1285         * CutAndPaste.h:
1286         * DepTable.h:
1287         * FloatList.h:
1288         * LaTeXFeatures.h:
1289         * ParagraphParameters.h:
1290         * TextCache.h:
1291         * Thesaurus.h:
1292         * bufferlist.h:
1293         * exporter.h:
1294         * importer.h:
1295         * lastfiles.h:
1296         * lyxfind.h:
1297         * lyxfont.h:
1298         * lyxlex.h:
1299         * lyxtextclasslist.h:
1300         * messages.h:
1301         * paragraph.h:
1302         * paragraph_pimpl.C:
1303         * textcursor.h: add <string> and other small fixes to make Lars'
1304         std::string patch compile with STLport.
1305
1306 2003-10-06  Angus Leeming  <leeming@lyx.org>
1307
1308         * LColor.h: Add missing #include <string>.
1309
1310 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1311
1312         * All most all file in all subdirs: Make <string> be the prefered
1313         way of getting to std::string, add using declarations.
1314
1315 2003-10-06  André Pönitz  <poenitz@gmx.net>
1316
1317         * metricsinfo.C: initialize LyXFont before changing attribute.
1318         (fixes the 'math in \emph is upright' bug)
1319
1320 2003-10-06  André Pönitz  <poenitz@gmx.net>
1321
1322         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1323
1324 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * graph.C:
1327         * paragraph_pimpl.C: Small fixes to build using STLport
1328
1329 2003-10-02  André Pönitz  <poenitz@gmx.net>
1330
1331         * lyxfunc.C:
1332         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1333
1334 2003-10-01  André Pönitz  <poenitz@gmx.net>
1335
1336         * factory.C: assert early
1337
1338 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1339
1340         * lyx_main.C: remove the global debug object
1341
1342         * debug.h: adjust for new debugstream
1343
1344         * debug.C: adjust for new debugstream and keep the global debug
1345         object here.
1346
1347 2003-09-22  Angus Leeming  <leeming@lyx.org>
1348
1349         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1350         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1351         an incomplete class LyXFont.
1352
1353 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * factory.C: bug fix in branches
1356
1357 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1358
1359         * lyxfunc.C (processKeySym): adjust
1360         (dispatch): adjust
1361         (dispatch): change arg name from ev to func, adjust
1362         (sendDispatchMessage): ditto
1363
1364         * lyx_main.C (defaultKeyBindings): adjust keybindings
1365         (deadKeyBindings): ditto
1366
1367         * kbsequence.C (addkey): return a FuncRequest
1368
1369         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1370
1371         * kbmap.C (bind): take a FuncRequest as arg, adjust
1372         (read): adjust
1373         (lookup): adjust
1374         (defkey): change to take a FuncRequest as arg, adjust
1375         (findbinding): take a FuncRequest as arg, adjust.
1376
1377         * funcrequest.h (operator=): added
1378
1379         * funcrequest.C (FuncRequest): default kb_action changed from
1380         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1381
1382         * buffer.C (dispatch): simplify
1383         (dispatch): adjust to take a FuncRequest as arg, adjust
1384
1385         * boost.C (assertion_failed): change assertion message slightly
1386
1387         * ToolbarBackend.C (read): simplify
1388
1389         * MenuBackend.C (binding): adjust call to findbinding, add a
1390         message if no binding is found.
1391         (read): simplify
1392         (expandToc): correct by adding a empty FuncRequest
1393
1394         * LyXAction.C: include <boost/assert.hpp>
1395         (isPseudoAction): delete function
1396         (LookupFunc): change name to...
1397         (lookupFunc): this. change return type to FuncRequest.
1398         (getActionName): take kb_action as arg, simplify
1399         (funcHasFlag): add an assert, simplify.
1400
1401 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1402
1403         * toc.C (action): return a FuncRequest, simplify
1404
1405         * lyxfunc.C (processKeySym): adjust
1406         (getStatus): delete version that takes an int.
1407         (getStatus): adjust
1408         (dispatch): delete version that takes action as int
1409         (dispatch): adjust
1410         (sendDispatchMessage): simplify and adjust
1411
1412         * funcrequest.C (getArg): take unsigned int as arg
1413
1414         * ToolbarBackend.C (read): adjust
1415         (add): delete version that takes func as a string.
1416         (getIton): take a FuncRequest as arg
1417
1418         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1419         action.
1420
1421         * MenuBackend.C (MenuItem): add a new construct that only takes a
1422         Kind, simplify the constructor use for submenus.
1423         (add): adjust
1424         (expandLastfiles): adjust
1425         (expandDocuments): adjust
1426         (expandFormats): adjust
1427         (expandFloatListInsert): adjust
1428         (expandFloatInsert): adjust
1429         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1430
1431         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1432         Remove class variables lyx_pseudo_map and lyx_arg_map
1433
1434         * LyXAction.C (searchActionArg): delete function
1435         (getPseudoAction): delete function
1436         (retrieveActionArg): delete function
1437         (LookupFunc): make it return kb_action, simplify.
1438         (getActionName): simplify
1439
1440         * factory.C (createInset): fix new bug
1441
1442 2003-09-19  Angus Leeming  <leeming@lyx.org>
1443
1444         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1445         masterFilename_ parameter in the include inset.
1446
1447         * factory.C (createInset): changes due to the changes to InsetInclude.
1448
1449 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1450
1451         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1452
1453 2003-09-18  Angus Leeming  <leeming@lyx.org>
1454
1455         * buffer.C:
1456         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1457         Inset::fillWithBibKeys.
1458         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1459
1460 2003-09-18  Angus Leeming  <leeming@lyx.org>
1461
1462         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1463         variables.
1464         (ctor): pass and store a 'Buffer const &'
1465         (buffer): new member function.
1466
1467         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1468         '*this' to the LaTeXFeatures ctor.
1469
1470 2003-09-18  Angus Leeming  <leeming@lyx.org>
1471
1472         * LColor.h:
1473         * lyxfont.C:
1474         * lyxfont.h:
1475         * lyxtext.h:
1476         * text.C: rename EnumLColor as LColor_color.
1477
1478 2003-09-18  Angus Leeming  <leeming@lyx.org>
1479
1480         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1481         remove #include "insets/insetbase.h" from cursor.h.
1482
1483 2003-09-18  Angus Leeming  <leeming@lyx.org>
1484
1485         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1486         InsetOld_code to remove #include "inset.h".
1487
1488         * iterators.C: add #include "insets/inset.h"
1489
1490 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1491
1492         * BufferView.C: remove more locking stuff that apparently doesn't
1493         do anything sensible.
1494
1495 2003-09-16  André Pönitz  <poenitz@gmx.net>
1496
1497         * paragraph.[Ch]:
1498         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1499           performance boost.
1500
1501 2003-09-16  Angus Leeming  <leeming@lyx.org>
1502
1503         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1504
1505         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1506         arg/return type.
1507
1508         * paragraph.h: remove #include "lyxfont.h". Forward declare
1509         LyXFont_size.
1510
1511 2003-09-16  Angus Leeming  <leeming@lyx.org>
1512
1513         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1514         of support/textutils.h.
1515         (isWord): move the contents of support/textutils.h's IsWordChar here.
1516
1517         * buffer.C:
1518         * lyxfind.C:
1519         * rowpainter.C:
1520         * text.C:
1521         * text2.C: add #include "paragraph.h".
1522
1523         * rowpainter.C:
1524         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1525
1526 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1527
1528         * main.C:
1529         * lyx_main.C:
1530         * lyx_cb.C:
1531         * buffer.C:
1532         * LaTeX.C: use namespace alias for lyx::support::os
1533
1534 2003-09-16  Angus Leeming  <leeming@lyx.org>
1535
1536         * bufferparams.C:
1537         * bufferview_funcs.C:
1538         * factory.C:
1539         * lyxfunc.C:
1540         * paragraph_pimpl.C:
1541         * rowpainter.C:
1542         * text.C: add #include "LColor.h".
1543
1544 2003-09-16  Angus Leeming  <leeming@lyx.org>
1545
1546         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1547         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1548         return LyXFont &.
1549         Store the FontBits::color variable as an int rather than as an
1550         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1551         file.
1552
1553         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1554         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1555         string calls together.
1556
1557         * lyxrc.C: add #include "LColor.h".
1558
1559 2003-09-15  Angus Leeming  <leeming@lyx.org>
1560
1561         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1562         a cow_ptr.
1563
1564 2003-09-15  Angus Leeming  <leeming@lyx.org>
1565
1566         * LColor.h: add an EnumLColor wrapper for LColor::color.
1567
1568         * lyxfont.[Ch] (color, setColor, realColor):
1569         * lyxtext.h, text.C (backgroundColor):
1570         pass EnumLColor args to/from the functions, rather than LColor::color
1571         ones.
1572
1573         * lyxfont.h:
1574         * lyxtext.h: forward declare EnumLColor.
1575
1576         * lyx_main.C: add #include "LColor.h".
1577
1578 2003-09-15  Angus Leeming  <leeming@lyx.org>
1579
1580         * .cvsignore: add lyx-gtk.
1581
1582 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1583
1584         * Chktex.C
1585         * LaTeX.C
1586         * LaTeXFeatures.C
1587         * ParagraphParameters.C
1588         * Spacing.C
1589         * buffer.C
1590         * bufferparams.C
1591         * bufferview_funcs.C
1592         * chset.C
1593         * counters.C
1594         * funcrequest.C
1595         * lyxfont.C
1596         * lyxgluelength.C
1597         * lyxlength.C
1598         * paragraph.C
1599         * paragraph_funcs.C
1600         * text3.C
1601         * vc-backend.C: remove usage of STRCONV
1602
1603 2003-09-15  Angus Leeming  <leeming@lyx.org>
1604
1605         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1606         explicitly define the color passed to the painter.
1607
1608 2003-09-15  Angus Leeming  <leeming@lyx.org>
1609
1610         * bufferparams.C (BufferParams): reorder member initializers to avoid
1611         compiler warning.
1612
1613 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1616         * text.C (updateRowPositions): remove an unusual nop
1617
1618 2003-09-12  André Pönitz  <poenitz@gmx.net>
1619
1620         * BufferView_pimpl.C:
1621         * Bullet.C:
1622         * layout.h:
1623         * lyxfunc.C:
1624         * lyxlayout.[Ch]:
1625         * lyxtextclass.C:
1626         * rowpainter.C:
1627         * text.C:
1628         * text2.C:
1629         * Counters.[Ch]: finish the 'automatic counters' job
1630
1631 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1632
1633         * aspell.C: include <boost/assert.cpp> (compile fix)
1634
1635 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1636
1637         * boost.C (assertion_failed): use lyx::support::abort instead of
1638         assert.
1639
1640 2003-09-10  Angus Leeming  <leeming@lyx.org>
1641
1642         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1643         with their _fwd progeny.
1644
1645 2003-09-09  Angus Leeming  <leeming@lyx.org>
1646
1647         134 files throughtout the source tree: replace 'using namespace abc;'
1648         directives with the appropriate 'using abc::xyz;' declarations.
1649
1650 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1651
1652         * boost.C (emergencyCleanup): moved here from LAssert.c
1653         (assertion_failed): new function, called by BOOST_ASSERT
1654
1655         * several files: change Assert to BOOST_ASSERT
1656
1657 2003-09-09  Angus Leeming  <leeming@lyx.org>
1658
1659         * buffer.[Ch]: Add an Impl class and move Buffer's member
1660         variables into it. As a result move several header files out of
1661         buffer.h.
1662
1663         Add header files to lots of .C files all over the tree as a result.
1664
1665 2003-09-09  Angus Leeming  <leeming@lyx.org>
1666
1667         * buffer.[Ch]: make Buffer's member variables private. Add
1668         accessor functions.
1669
1670         Lots of changes all over the tree as a result.
1671
1672 2003-09-08  Angus Leeming  <leeming@lyx.org>
1673
1674         * graph.C: #include <config.h>.
1675
1676 2003-09-08  Angus Leeming  <leeming@lyx.org>
1677
1678         * BranchList.C:
1679         * BufferView.C:
1680         * BufferView_pimpl.C:
1681         * CutAndPaste.C:
1682         * DepTable.C:
1683         * LaTeX.C:
1684         * LaTeXFeatures.C:
1685         * LyXAction.C:
1686         * MenuBackend.C:
1687         * TextCache.C:
1688         * aspell.C:
1689         * buffer.C:
1690         * bufferlist.C:
1691         * changes.C:
1692         * chset.C:
1693         * converter.C:
1694         * counters.C:
1695         * debug.C:
1696         * graph.C:
1697         * ispell.C:
1698         * lyx_cb.C:
1699         * lyxfind.C:
1700         * lyxfunc.C:
1701         * lyxlex_pimpl.C:
1702         * lyxrc.C:
1703         * lyxrow.C:
1704         * paragraph.C:
1705         * rowpainter.C:
1706         * texrow.C:
1707         * text.C:
1708         * text2.C:
1709         * toc.C: remove redundant using directives.
1710
1711 2003-09-07  Angus Leeming  <leeming@lyx.org>
1712
1713         * LaTeXFeatures.h: remove #include "support/types.h".
1714         * ToolbarBackend.h: remove #include <algorithm>.
1715         * changes.h: remove #include <ctime>.
1716         * debug.h: remove #include <iosfwd>.
1717         * graph.h: remove #include "support/std_string.h".
1718         * lyx_main.h: remove #include <csignal>.
1719         * lyxlex_pimpl.h: remove #include <fstream>.
1720         * sgml.h: remove #include <algorithm>, <utility>.
1721         * toc.h: remove #include "support/std_ostream.h".
1722         Add #include <iosfwd>.
1723
1724 2003-09-07  Angus Leeming  <leeming@lyx.org>
1725
1726         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1727
1728         * converter.h: forward declare LatexRunParams.
1729         * encoding.h: remove #include "lyxrc.h".
1730         * lyxtext.h: remove #include "LColor.h".
1731         * lyxtextclass.h: remove #include "support/types.h".
1732         * trans.h: remove #include "tex-accent.h".
1733         * trans_mgr.h: remove #include "tex-accent.h".
1734         * insets/inset.h: remove #include "support/types.h", <vector>.
1735         * insets/insetcollapsable.h: remove #include "LColor.h".
1736         * insets/insetinclude.h: remove #include "dimension.h".
1737         * insets/insetlatexaccent.h: remove #include "dimension.h".
1738         * insets/insetoptarg.h:: remove #include "insettext.h".
1739         * insets/insettext.h: remove #include "dimension.h",
1740         <boost/shared_ptr.hpp>
1741
1742         * insets/renderers.h: add #include "dimension.h".
1743         * insets/updatableinset.h: add #include "support/types.h".
1744
1745         * many .C files: Associated changes.
1746
1747 2003-09-06  Angus Leeming  <leeming@lyx.org>
1748
1749         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1750         one, inside testInvariant.
1751
1752         * PrinterParams.C: new file.
1753         * PrinterParams.[Ch]: move the function bodies out of line.
1754
1755 2003-09-06  Angus Leeming  <leeming@lyx.org>
1756
1757         * ParagraphParameters.h: forward declare ParameterStruct rather than
1758         including its header file.
1759         (depth): moved out-of-line.
1760
1761 2003-09-06  Angus Leeming  <leeming@lyx.org>
1762
1763         * BufferView_pimpl.h:
1764         * kbmap.h:
1765         * kbsequence.h:
1766         * lyxfunc.h: forward declare LyXKeySym rather than
1767         #include "frontends/LyXKeySym.h".
1768
1769         * BufferView_pimpl.C:
1770         * kbmap.C:
1771         * kbsequence.C:
1772         * lyxfunc.C: associated changes.
1773
1774 2003-09-06  Angus Leeming  <leeming@lyx.org>
1775
1776         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1777         As a result, can remove the #include "insets/inset.h" from BufferView.h
1778
1779 2003-09-06  Angus Leeming  <leeming@lyx.org>
1780
1781         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1782         As a result, can remove the #include "insets/inset.h" from BufferView.h
1783
1784 2003-09-06  Angus Leeming  <leeming@lyx.org>
1785
1786         * buffer_funcs.C:
1787         * buffer.h:
1788         * bufferlist.C:
1789         * BufferView.C:
1790         * bufferview_funcs.C:
1791         * BufferView_pimpl.C:
1792         * CutAndPaste.C:
1793         * lyx_cb.C:
1794         * lyxfunc.C:
1795         * paragraph.h:
1796         * ParagraphParameters.C:
1797         * tabular.C:
1798         * text3.C:
1799         * toc.C:
1800         * undo_funcs.C:
1801         * frontends/controllers/ControlDocument.C:
1802         * insets/insetcaption.C: rearrange the #includes into some sort of
1803         coherent order.
1804
1805         * buffer.h: remove #includes ErrorList.h, undo.h
1806
1807 2003-09-06  Angus Leeming  <leeming@lyx.org>
1808
1809         * support/types.h: add a 'depth_type' typedef, used to store the
1810         nesting depth of a paragraph.
1811
1812         * paragraph.h:
1813         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1814         defining explicitly.
1815
1816         * buffer.h:
1817         * paragraph_funcs.h:
1818         * ParagraphParameters.h:
1819         * sgml.h: use lyx::depth_type rather than Paragraph or
1820         ParameterStruct's depth_type.
1821
1822         * buffer.h
1823         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1824
1825         * BufferView.C:
1826         * BufferView_pimpl.C:
1827         * CutAndPaste.C:
1828         * ParagraphParameters.C:
1829         * buffer_funcs.C:
1830         * bufferlist.C:
1831         * bufferview_funcs.C:
1832         * lyx_cb.C:
1833         * lyxfunc.C:
1834         * tabular.C:
1835         * text3.C:
1836         * toc.C:
1837         * undo_funcs.C:
1838         * frontends/LyXView.C:
1839         * frontends/controllers/ControlDocument.C:
1840         * frontends/controllers/ControlErrorList.C:
1841         * insets/insetbibitem.C:
1842         * insets/insetbranch.C:
1843         * insets/insetcaption.C:
1844         * insets/insetcollapsable.C:
1845         * insets/insetenv.C:
1846         * insets/insetert.C:
1847         * insets/insetfloat.C:
1848         * insets/insetfoot.C:
1849         * insets/insetfootlike.C:
1850         * insets/insetnewline.C:
1851         * insets/insetquotes.C:
1852         * insets/insettabular.C:
1853         * insets/insettext.C:
1854         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1855
1856         * frontends/controllers/ControlChanges.C: #include "changes.h".
1857
1858 2003-09-06  Angus Leeming  <leeming@lyx.org>
1859
1860         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1861         than #including paragraph.h.
1862
1863         * ParagraphList.h:
1864         * RowList.h: deleted. Superfluous.
1865
1866         * CutAndPaste.h:
1867         * iterators.h:
1868         * lyxcursor.h:
1869         * lyxtext.h:
1870         * text_funcs.h:
1871         * undo.h:
1872         * undo_funcs.h:
1873         * insets/inset.h:
1874         * insets/insettext.h: use ParagraphList_fwd.h rather than
1875         ParagraphList.h.
1876
1877         * paragraph.h: don't forward declare ParagraphList.
1878
1879         * buffer.h:
1880         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1881         rather than ParagraphList.h. paragraph.h is still needed for the
1882         Paragraph::depth_type parameters.
1883
1884         * textcursor.h: enable it to compile stand-alone in light of the
1885         above changes.
1886
1887         * bufferview_funcs.C:
1888         * iterators.C:
1889         * lyxfunc.C:
1890         * lyxrow_funcs.C:
1891         * paragraph.C:
1892         * rowpainter.C:
1893         * text.C:
1894         * text2.C:
1895         * text3.C:
1896         * text_funcs.C:
1897         * textcursor.C:
1898         * undo.C:
1899         * frontends/controllers/ControlParagraph.C:
1900         * frontends/controllers/ControlTabular.C:
1901         * insets/insetmarginal.C:
1902         * insets/insetminipage.C:
1903         * insets/insetnote.C:
1904         * insets/insetoptarg.C: add header files needed to compile again.
1905
1906 2003-09-06  Angus Leeming  <leeming@lyx.org>
1907
1908         * RowList_fwd.h: new file, forward-declaring Row rather than
1909         #including lyxrow.h.
1910
1911         * lyxrow_funcs.h:
1912         * lyxtext.h:
1913         * paragraph.h:
1914         * insets/insettext.h: use it instead of RowList.h
1915
1916         * bufferview_funcs.C:
1917         * lyxfunc.C:
1918         * lyxrow_funcs.C:
1919         * paragraph.C:
1920         * rowpainter.C:
1921         * text.C:
1922         * text2.C:
1923         * text3.C: #include "RowList.h".
1924
1925 2003-09-05  Angus Leeming  <leeming@lyx.org>
1926
1927         * factory.C (createInset):
1928         * vspace.C (c-tor): replace sscanf call with an istringstream.
1929         * ispell.C: re-add missing HP/UX headers.
1930         * lyxserver.C: re-add missing  os2 headers.
1931
1932 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1933
1934         * BranchList.C:
1935         * graph.C:
1936         * ispell.C:
1937         * lastfiles.C:
1938         * lyx_cb.C:
1939         * lyxserver.C:
1940         * texrow.C:
1941         * text3.C: re-add missing system headers, needed for 2.95.2.
1942
1943 2003-09-05  Angus Leeming  <leeming@lyx.org>
1944
1945         Changes most place everywhere due to the removal of using directives
1946         from support/std_sstream.h.
1947
1948 2003-09-05  Angus Leeming  <leeming@lyx.org>
1949
1950         Replace LString.h with support/std_string.h,
1951         Lsstream.h with support/std_sstream.h,
1952         support/LIstream.h with support/std_istream.h,
1953         support/LOstream.h with support/std_ostream.h.
1954
1955         Changes resulting throughout the tree.
1956
1957 2003-09-05  Angus Leeming  <leeming@lyx.org>
1958
1959         * sgml.h: ensure that the header file can be compiled stand-alone.
1960         * *.C: strip out redundant #includes. (320 in total.)
1961
1962 2003-09-04  Angus Leeming  <leeming@lyx.org>
1963
1964         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1965         here (from getPackages).
1966
1967         * debug.[Ch]: add a new EXTERNAL tag.
1968
1969 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1970
1971         * text2.C (cursorEnd): simplify
1972         (setCursor): adjust
1973         (getColumnNearX): adjust
1974
1975         * text.C (computeBidiTables): adjust
1976         (fill): adjust
1977
1978         * rowpainter.C (paintChars): adjust
1979         (paintSelection): adjust
1980         (paintChangeBar): adjust
1981         (paintText): adjust
1982
1983         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1984         lastPos instead.
1985         (numberOfSeparators): adjust
1986
1987 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1988
1989         * LyXAction.C:
1990         * box.[Ch]:
1991         * lfuns.h:
1992         * lyxfunc.C:
1993         * text3.C: Restricts the mouse click functionality
1994         of insets like bibtex, include, toc and floatlist to the visible
1995         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1996         up the dialogs. Cursor has to be in front of the inset (i.e.
1997         start of row) for this to function.
1998
1999 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2000
2001         * bufferview_funcs.C (currentState): output row information
2002
2003 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2004
2005         * bufferview_funcs.C (currentState): output paragraph position
2006
2007 2003-09-04  Angus Leeming  <leeming@lyx.org>
2008
2009         * FloatList.h: move out #include "Floating.h".
2010         * LaTeX.h: move out #include "DepTable.h".
2011         * LyXAction.h: move out #include "funcrequest.h".
2012         * buffer.h: move out #include "author.h", "iterators.h".
2013         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2014         * lyx_main.h: move out #include "errorlist.h".
2015         * lyxfunc.h: move out #include "FuncStatus.h".
2016         * lyxtext: move out #include "lyxcursor.h".
2017         * paragraph_pimpl.h: move out #include "counters.h".
2018
2019 2003-09-03  Angus Leeming  <leeming@lyx.org>
2020
2021         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2022         preamble_snippets list, enabling us to add snippets to the preamble
2023         only if the snippet was not there already.
2024
2025 2003-09-04  Angus Leeming  <leeming@lyx.org>
2026
2027         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2028
2029 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2030
2031         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2032         update
2033
2034 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2035
2036         * BranchList.C: point fix, earlier forgotten
2037
2038 2003-09-02  Angus Leeming  <leeming@lyx.org>
2039
2040         * box.C (contains): renamed from 'contained' after a fantastic
2041         amount of hot air.
2042
2043 2003-09-02  John Levon  <levon@movementarian.org>
2044
2045         * BufferView.C:
2046         * lyxcursor.h:
2047         * lyxcursor.C:
2048         * lyxfunc.C:
2049         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2050
2051 2003-09-02  John Levon  <levon@movementarian.org>
2052
2053         * text2.C: simplification of cursorEnd(), including partial
2054         fix for bug 1376
2055
2056 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * buffer.C (readFile): add a space
2059
2060 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2061
2062         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2063
2064 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2065
2066         * buffer.C (readFile): new function, take a filename and a
2067         ParagraphList::iterator
2068         (readFile): adjust
2069         (readFile): adjust, make it private. don't use setStream, make
2070         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2071         always contain the filename.
2072
2073         * BufferView.C (insertLyXFile): simplify and make it work for
2074         gzipped files.
2075
2076 2003-08-30  John Levon  <levon@movementarian.org>
2077
2078         * Makefile.am: fix dist (from Kayvan)
2079
2080 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * most files: change to use const Buffer refs
2083
2084 2003-08-27  André Pönitz  <poenitz@gmx.net>
2085
2086         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2087         on top of ownerPar().
2088
2089 2003-08-27  John Levon  <levon@movementarian.org>
2090
2091         * funcrequest.C: properly initialise POD members
2092
2093 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2094
2095         * lyxtext.h (top_y): move top_y from here
2096         * text.C:
2097         * text2.C:
2098         * text3.C:
2099         * BufferView.[Ch]:
2100         * BufferView_pimpl.[Ch]: to here
2101         * frontends/screen.C:
2102         * insets/insettabular.C:
2103         * insets/insettext.C: adjust
2104         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2105
2106 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2107
2108         * BufferView.[Ch]:
2109         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2110
2111 2003-08-26  André Pönitz  <poenitz@gmx.net>
2112
2113         * paragraph_func.[Ch] (outerPar): new function
2114
2115         * paragraph.C:
2116         * paragraph_funcs.C:
2117         * paragraph_funcs.h:
2118         * paragraph_pimpl.C:
2119         * text2.C: remove Inset::par_owner
2120
2121 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2122
2123         * lyxrow_funcs.C:
2124         * lyxtext.h:
2125         * text.C:
2126         * text2.C: eliminates the needFullRow/display() stuff
2127         altogether, putting the logic in metrics/draw in the insets.
2128
2129 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2130
2131         * text2.C (redoParagraphInternal, redoParagraphs):
2132         * text.C (redoParagraph): add a call to updateRowPositions at the
2133         end of each 'metrics-like' call. Remove all others.
2134         (getRow): remove the 'y-computing' version.
2135         (getRowNearY): do not compute nor return the real y. Solve the
2136         'y < 0' problem and simplify.
2137
2138 2003-08-22  Angus Leeming  <leeming@lyx.org>
2139
2140         * *.[Ch]: clean-up of licence and author blurbs.
2141         Also move config.h out of a few .h files and into a few .C files.
2142
2143 2003-08-22  André Pönitz  <poenitz@gmx.net>
2144
2145         * lyxrow.[Ch]: add x_ and *fill_ members
2146
2147         * lyxtext.h:
2148         * text.C:
2149         * rowpainter.C:
2150         * text2.C: adjust/remove prepareToPrint() calls
2151
2152 2003-08-22  André Pönitz  <poenitz@gmx.net>
2153
2154         * lyxrow.[Ch]: add  end_ member
2155
2156         * lyxrow_funcs.C: use LyXRow::end_
2157
2158         * lyxtext.h (singleWidth): add LyXFont parameter
2159
2160         * rowpainter.C:
2161         * text2.C: adjust LyXText::singleWidth() calls
2162
2163         * text.C (redoParagraph): simplify row breaking logic
2164
2165
2166 2003-08-19  André Pönitz  <poenitz@gmx.net>
2167
2168         * funcrequest.C: initialize button_ member
2169
2170         * text3.C:
2171         * rowpainter.[Ch]: interface consolidation
2172
2173 2003-08-18  André Pönitz  <poenitz@gmx.net>
2174
2175         * BufferView.C:
2176         * BufferView_pimpl.C:
2177         * lyxfind.C:
2178         * paragraph_funcs.C:
2179         * rowpainter.C:
2180         * text3.C: remove LyXScreen::draw() and fitCursor calls
2181
2182         * BranchList.h: remove spurious semicolons
2183
2184         * MenuBackend.C: fix branchlist related crash
2185
2186 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2187
2188         * BranchList.[Ch]:
2189         * InsetList.[Ch]:
2190         * LColor.[Ch]:
2191         * LyXAction.C:
2192         * Makefile.am:
2193         * MenuBackend.[Ch]:
2194         * bufferparams.[Ch]:
2195         * factory.C:
2196         * lfuns.h:
2197         * lyxfunc.C:
2198         * text3.C: implements the 'branch inset'
2199         idea. This allows the output of various versions of a document
2200         from a single source version, selectively outputing or suppressing
2201         output of parts of the text.
2202         This implementation contains a 'branch list editor' in a separate
2203         tab of the document settings dialog. Branches are user definable
2204         and have a "display colour" to distinguish them on-screen.
2205
2206         ColorHandler was somewhat cleaned up.
2207         (1) make possible a dynamically growing LColor list by allowing
2208         the graphic context cache to grow along (vector);
2209         (2) eliminate an IMHO unnecessary step in colour allocation.
2210
2211 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2212
2213         * BufferView_pimpl.C: compile fix
2214
2215 2003-08-15  André Pönitz  <poenitz@gmx.net>
2216
2217         * rowpainter.C: remove extra metrics calls
2218
2219         * lyxtext.h: merge the two constructors into a single one,
2220           pass reference to owner's par list
2221
2222         * BufferView_pimpl.C:
2223         * text.C:
2224         * text2.C: adjust
2225
2226 2003-08-15  André Pönitz  <poenitz@gmx.net>
2227
2228         * lyxrow_funcs.[Ch]:
2229         * lyxtext.h:
2230         * paragraph.h:
2231         * paragraph_funcs.C:
2232         * rowpainter.C:
2233         * text.C:
2234         * text2.C:
2235         * text3.C:
2236         * text_funcs.C: split LyXText::rowlist_ into individual
2237         Paragraph::rows_ chunks
2238
2239         * BufferView.[Ch]:
2240         * BufferView_pimpl.[Ch]:
2241         * lyxfind.C:
2242         * lyxtext.h:
2243         * text3.C: remove toggleSelection()
2244
2245 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2246
2247         * bufferlist.C: beautify two alerts (shorter text of buttons)
2248         * buffer.C: Remove redundant ' ' from message
2249         * tabular.h:
2250         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2251         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2252         rename VALIGN_CENTER to VALIGN_MIDDLE
2253
2254 2003-08-11  André Pönitz  <poenitz@gmx.net>
2255
2256         * lyxtext.h (getPar):
2257         * text.C: new function
2258
2259 2003-08-11  André Pönitz  <poenitz@gmx.net>
2260
2261         * Makefile.am:
2262         * tracer.[Ch]: remove unneeded files
2263
2264         * InsetList.[Ch]: remove resizeInsetsLyXText()
2265
2266         * lyxtext.h:
2267         * text.C:
2268         * text2.C:
2269         * text3.C: merge insertParagraphs() and appendParagraph()
2270         remove breakAgain(), update()
2271
2272         * BufferView_pimpl.[Ch]:
2273         * bufferview_funcs.[Ch]:
2274         * lyxfunc.C:
2275         * paragraph.[Ch]:
2276         * rowpainter.C:
2277         * tabular.C: adjust after text & InsetList changes.
2278
2279 2003-08-08  André Pönitz  <poenitz@gmx.net>
2280
2281         * text.C (insertChar, backspace): replace rowlist fiddling
2282         with rebreak of full par
2283
2284         * lyxtext.h:
2285         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2286         checkParagraph, updateInset): removed
2287
2288 2003-08-07  André Pönitz  <poenitz@gmx.net>
2289
2290         * paragraph.C:
2291         * text3.C: merge some LFUN handlers, remove dead code
2292
2293 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2294
2295         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2296
2297 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2298
2299         * text2.C (DEPM): fix part of bug 1255 and 1256
2300
2301 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2302
2303         * BufferView_pimpl.C (workAreaDispatch): change to use
2304         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2305         that are no mouse related.
2306
2307 2003-08-05  André Pönitz  <poenitz@gmx.net>
2308
2309         * BufferView.[Ch]:
2310         * BufferView_pimpl.[Ch]:
2311         * bufferview_funcs.C:
2312         * text2.C:
2313         * text3.C: rip out "deep update"
2314
2315         * textcursor.[Ch] (last_sel_cursor): remove unused member
2316
2317 2003-08-04  André Pönitz  <poenitz@gmx.net>
2318
2319         * BufferView.[Ch]:
2320         * BufferView_pimpl.[Ch]:
2321         * ParagraphParameters.C:
2322         * bufferview_funcs.C:
2323         * lyx_cb.C:
2324         * lyxfind.C:
2325         * lyxfunc.C:
2326         * text.C:
2327         * text2.C:
2328         * text3.C: replace "complicated" BufferView::update(...) calls with
2329         simpler ones.
2330
2331         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2332
2333 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2334
2335         * Makefile.am (lyx_SOURCES): add paper.h
2336
2337 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2338
2339         * Makefile.am: move things around so that both lyx-qt and
2340         lyx-xforms can be built (according to --with-frontend). Then lyx
2341         is a symbolic link to lyx-[firstfrontend]
2342
2343 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2344
2345         * Always use std::endl with lyxerr
2346
2347 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2348
2349         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2350
2351 2003-08-01  André Pönitz  <poenitz@gmx.net>
2352
2353         * BufferView.[Ch]:
2354         * BufferView_pimpl.[Ch]:
2355         * lyxfunc.C:
2356         * text3.C: merge BufferView::repaint() and BufferView::update()
2357
2358 2003-08-01  José Matos  <jamatos@lyx.org>
2359
2360         * buffer.[Ch]: file_format is no longer a buffer data element.
2361
2362 2003-08-01  André Pönitz  <poenitz@gmx.net>
2363
2364         * BufferView.C:
2365         * lyxtext.h:
2366         * text.C:
2367         * text2.C: make redoParagraph more independent of current cursor
2368
2369         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2370         * text.C:
2371         * text2.C: remove unneeded members
2372
2373 2003-07-30  André Pönitz  <poenitz@gmx.net>
2374
2375         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2376
2377         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2378           create a single function...
2379
2380         * paragraph_funcs.C (moveItem): ... here.
2381
2382         * text.C:
2383           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2384
2385 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2386
2387         * LColor.[Ch]: Add comment and greyedout logical colors.
2388
2389 2003-07-30  André Pönitz  <poenitz@gmx.net>
2390
2391         * tabular.C: don't use Assert too heavily. This crashes where it
2392           shouldn't
2393
2394 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2395
2396         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2397         is disabled (bug 1232)
2398
2399 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2400
2401         * factory.C: limited 'arg' scope
2402
2403 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * factory.C: fixed Note submenu issues
2406
2407 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2408
2409         * factory.C: submenu for Note/Comment/Greyedout
2410
2411 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * lyx_main.C (LyX):
2414         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2415
2416 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * LaTeXFeatures.C:
2419         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2420         greyedout. Patch provided by Jürgen Spitzmüller.
2421
2422 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * kbmap.C (read): fix error message when reading bind files
2425
2426 2003-07-29  Angus Leeming  <leeming@lyx.org>
2427
2428         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2429         certainly does not do what it purports to do. I am doing it, and
2430         us, a favour by killing it.
2431
2432 2003-07-28  José Matos  <jamatos@lyx.org>
2433
2434         * buffer.C (readBody, do_writeFile):
2435         * paragraph.C(readParagraph): \end_document replaces \the_end.
2436
2437 2003-07-29  André Pönitz  <poenitz@gmx.net>
2438
2439         * BufferView.[Ch]:
2440         * BufferView_pimpl.[Ch]:
2441         * lyxfunc.C:
2442         * text2.C:
2443         * text3.C:
2444         * textcursor.[Ch]: remove toggleToggle & Co
2445
2446 2003-07-28  José Matos  <jamatos@fep.up.pt>
2447
2448         * buffer.C (readParagraph):
2449         * params_func (readParToken, readParagraph):
2450         * paragraph.C (write): \layout -> \begin_layout.
2451
2452 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * lyxlex_pimpl.C (setFile): clean up slightly.
2455
2456         * bufferparams.h: add compressed var
2457
2458         * buffer_funcs.C (readFile): adjust for LyXLex change
2459         (newFile): ditto + simplify
2460
2461         * buffer.C (writeFile): handle writing of compressed files
2462
2463         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2464         Check if the file is compressed and set a bufferparm if so.
2465
2466         * Makefile.am (lyx_LDADD): remove explicit -lz
2467
2468 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2471         makeDocBookFile): put the real LyX version in the first line of
2472         the file
2473
2474         * version.h:
2475         * version.C.in: remove lyx_docversion
2476
2477         * tabular.C (write_attribute): add a template-based version to
2478         write enums properly
2479
2480 2003-07-28  André Pönitz  <poenitz@gmx.net>
2481
2482         * lyxtext.h:
2483         * text.C:
2484         * text2.C:
2485         * text3.C: use doubles again for x-coordinates. They are needed.
2486
2487 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * messages.C (getLocaleDir): use lyx_localedir()
2490
2491         * lyxlex_pimpl.C (setFile): compress stuff
2492
2493         * buffer.C (writeFile): add some compression stuff
2494         (do_writeFile): new func, dont call expliti close... will this
2495         breake anything?
2496
2497         * Makefile.am (lyx_LDADD): add -lz
2498
2499 2003-07-28  José Matos  <jamatos@fep.up.pt>
2500
2501         * buffer.C: increment file format.
2502         * paragraph_funcs (readParagraph, readParToken):
2503         * paragraph.C (readParagraph): add \end_layout.
2504
2505 2003-07-27  Angus Leeming  <leeming@lyx.org>
2506
2507         * Makefile.am: remove special casing for configure-time setting of
2508         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2509
2510         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2511         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2512
2513 2003-07-26  André Pönitz  <poenitz@gmx.net>
2514
2515         * paragraph_func.[Ch]:
2516         * paragraph.C (realizeFont): inline it whereever it is used
2517
2518         * rowpainter.C:
2519         * text.C:
2520         * text2.C:
2521         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2522
2523
2524 2003-07-26  André Pönitz  <poenitz@gmx.net>
2525
2526         *       lyxtext.h:
2527         * text.C:
2528         * text2.C: get rid of LyXText::need_break_row
2529
2530 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * toc.[Ch]: put namespace toc inside namespace lyx
2533
2534         * MenuBackend.C (expandToc2): adjust for lyx::toc
2535         (expandToc): ditto
2536
2537         * lyxfunc.C (dispatch): adjust for lyx::find
2538
2539         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2540         lyx::find instead. Reorganize a bit.
2541         (LyXReplace): rename to replace
2542         (LyXFind): rename to find
2543
2544         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2545         (dispatch): ditto
2546
2547 2003-07-26  André Pönitz  <poenitz@gmx.net>
2548
2549         * text.C (setHeightOfRow): restrict scope of temporary variable
2550
2551         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2552           code (never has been used?)
2553
2554 2003-07-27  Asger Alstrup  <alstrup@local>
2555
2556         * text.C (fill): Optimise algorithm to exploit that we can reuse
2557         the LyXFont for many characters.
2558         (setHeightOfRow): Same thing.
2559         (rowBreakPoint): Same thing.
2560
2561 2003-07-26  Asger Alstrup  <alstrup@local>
2562
2563         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2564
2565         * text.C (singleWidth): Spurious font copying in hot-spot
2566         singleWidth avoided. Reorder tests for arabic for efficiency.
2567
2568         * text.C (fill): handle empty paragraphs better.
2569
2570 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2571
2572         * ispell.C:
2573         * encoding.h: add includes
2574
2575         * lyxrc.C: remove reading of bind files
2576
2577         * lyx_main.C (init): setup bindings and menus only if we have a
2578         gui.
2579
2580         * kbmap.C (read): new method. Do the actual reading of bind
2581         files.
2582
2583         * converter.C (dvipdfm_options):
2584         * bufferparams.C:
2585         * lyxrc.C (read):
2586         (output): adapt PAPER_* enums.
2587
2588         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2589
2590         * bufferparams.h: remove paper-related enums from there
2591
2592         * paper.h: New file. A trivial header file to hold paper-related
2593         enums. It should later expand to contain many paper-related
2594         horrors access.
2595
2596         * lyxrc.C: declare extern displayTranslator
2597
2598 2003-07-27  José Matos  <jamatos@fep.up.pt>
2599
2600         * tabular.[Ch] (linuxdoc): add support for tables and figures
2601         (linuxdoc).
2602
2603 2003-07-27  José Matos  <jamatos@fep.up.pt>
2604
2605         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2606         consistency in both functions.
2607         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2608
2609 2003-07-26  Asger Alstrup  <alstrup@local>
2610
2611         * rowpainter.C (paintRows): Change algorithm to work directly on
2612         the insets rather than asking every character in the document
2613         whether its an inset.
2614
2615 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * buffer.C (openFileWrite): factorize some code
2618
2619 2003-07-26  Angus Leeming  <leeming@lyx.org>
2620
2621         * lyx_cb.C:
2622         * lyx_main.[Ch]: replace occurances of system_tempdir with
2623         os::getTmpDir().
2624
2625 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * rename Inset to InsetOld
2628
2629 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2630
2631         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2632         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2633         which I think is a bit clearer. EDIT is gone, since it was
2634         premature optimisation, and broken for mathed anyway.
2635         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2636         with cursor positioning in insets as well (math insets still do not
2637         work, but that's a different story anyway.) It mysteriously
2638         crashes sometimes with undo in the first paragraph, but I'm fairly
2639         confident that this is a compiler bug.
2640
2641 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * paragraph.C (Paragraph): adjust for new clone return type
2644         (operator==): ditto
2645         (copyIntoMinibuffer): ditto
2646
2647 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2648
2649         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2650         by not having a special case, and always doing a full rebreak of
2651         the document after undo.
2652
2653 2003-07-23  Angus Leeming  <leeming@lyx.org>
2654
2655         * factory.C (createInset): InsetExternal::setParams now takes a
2656         Buffer const * arg.
2657
2658 2003-07-23  Angus Leeming  <leeming@lyx.org>
2659
2660         * factory.C (createInset): changed interface to the external and
2661         graphics mailers' string2params functions.
2662
2663 2003-07-23  Angus Leeming  <leeming@lyx.org>
2664
2665         * factory.C (createInset): pass a
2666         Buffer const * parameter to InsetExternalMailer's string2params.
2667
2668 2003-07-22  John Levon  <levon@movementarian.org>
2669
2670         * Thesaurus.h: include the right aiksaurus header
2671
2672 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2673
2674         * MenuBackend.C (expand): check menu shortcuts unconditionally
2675
2676 2003-07-21  Angus Leeming  <leeming@lyx.org>
2677
2678         * factory.C (createInset): pass a
2679         buffer_path parameter to InsetGraphicsMailer's string2params.
2680
2681 2003-07-21  Angus Leeming  <leeming@lyx.org>
2682
2683         * BufferView_pimpl.C (buffer):
2684         * buffer.C (d-tor):
2685         * lyx_main.C (LyX):
2686         * lyxfunc.C (dispatch):
2687         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2688         rather than the grfx shortcut.
2689
2690 2003-07-21  André Pönitz  <poenitz@gmx.net>
2691
2692         * rowpainter.C: remove unused variables
2693
2694         * tabular_funcs.C:
2695         * tabular_funcs.h: move to tabular.C
2696         * Makefile.am: adjust
2697
2698         * tabular.[Ch]: basic optical cleaning
2699
2700         * author.h: pass references, not values
2701
2702 2003-07-18  André Pönitz  <poenitz@gmx.net>
2703
2704         * lyxtext.h:
2705         * metricsinfo.C:
2706         * metricsinfo.h:
2707         * rowpainter.C:
2708         * text.C:
2709         * text2.C:
2710         * text3.C: two-phase drawing for InsetText and InsetTabular
2711         some float -> int changes.
2712
2713 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2714
2715         * lyx_main.C: fix the fix
2716
2717 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2718
2719         * lyx_main.C: fix a crash in batch mode if no files specified
2720         * converter.C: ws
2721
2722 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * format.[Ch] (papersize): moved to BufferParams
2725         * converter.[Ch] (dvips_options): moved to BufferParams
2726         (dvipdfm_options): moved to anon namespace
2727         * bufferparams.[Ch]: added above functions.
2728
2729 2003-07-17  André Pönitz  <poenitz@gmx.net>
2730
2731         * lyxtext.h:
2732         * rowpainter.C:
2733         * text2.C: don't call inset->update() anymore
2734
2735         * metricsinfo.[Ch]: add convenience constructor
2736
2737 2003-07-16  André Pönitz  <poenitz@gmx.net>
2738
2739         * lyxcursor.[Ch]:
2740         * lyxfunc.[Ch]:
2741         * text.C:
2742         * text2.C: replace the LyXCursor::irow_ member with
2743          on-demand computation of the value
2744
2745 2003-07-16  John Levon  <levon@movementarian.org>
2746
2747         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2748
2749 2003-07-15  André Pönitz  <poenitz@gmx.net>
2750
2751         * text.C:
2752         * text2.C: remove no more needed refresh_row
2753
2754 2003-07-15  André Pönitz  <poenitz@gmx.net>
2755
2756         * lyxtext.h:
2757         * rowpainter.C:
2758         * text2.C:
2759         * text3.C: refresh_status tristate -> need_update bool
2760
2761 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2762
2763         * lyxtext.h (init): remove reinit argument (act as if always true)
2764         * text2.C: adjust to that
2765
2766 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2767
2768         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2769         * text3.C: use it to delete selections in some cases
2770         (bugs 441, 673, 702, 954).
2771
2772 2003-07-14  André Pönitz  <poenitz@gmx.net>
2773
2774         * rowpainter.[Ch]: reduce interface
2775
2776 2003-07-14  André Pönitz  <poenitz@gmx.net>
2777
2778         * BufferView_pimpl.C:
2779         * text2.C: adjust after removing unused BufferView * argument
2780
2781 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * text2.C (init): fix a crash fired on resize
2784
2785 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * buffer.[Ch]: added new closing signal
2788         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2789         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2790         BufferView::Pimpl via the closing the signal
2791
2792 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * buffer.[Ch]: take out all bv-related from buffer
2795         * BufferView.C:
2796         * BufferView_pimpl.[Ch]: connect to new signals
2797         * CutAndPaste.C: removed useless asserts
2798         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2799         * lyxvc.[Ch]:
2800         * vc-backend.[Ch]:
2801         * lyxfunc.C: moved view-related funciontality from vc here
2802         * paragraph.C: removed outdated comments
2803         * text.C: ws
2804
2805 2003-07-10  André Pönitz  <poenitz@gmx.net>
2806
2807         * BufferView_pimpl.C:
2808         * tabular.h:
2809         * tabular_funcs.C:
2810         * text.C:
2811         * text2.C: remove InsetText::InnerCache, clean up consequences
2812
2813 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2814
2815         * ispell.C: fix two typos in error messages
2816
2817 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * Extend Note inset to other forms of annotation like Comment
2820         and Greyedout. Right button click gives dialog.
2821
2822         Files modified or added (+):
2823
2824         * insetnote.[Ch]
2825         * FormNote.[Ch]      +
2826         * ControlNote.[Ch]   +
2827         * form_note.fd       +
2828         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2829         frontends/controllers
2830         * xforms/Dialogs.C
2831         * factory.C
2832
2833 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2834
2835         * aspell.C: add missing namespace lyx::support
2836
2837 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2838
2839         * BufferView.[Ch] (newFile): Add
2840         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2841         * LaTeX.[Ch] (message): added this signal and use it
2842         * buffer.[Ch] (busy, message): added these signals and use them
2843         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2844         * converter.C:
2845         * exporter.C:
2846         * format.C:
2847         * importer.C: use buffer signals instead of direct bv calling
2848         * lyx_cb.[Ch] (ShowMessage): removed
2849         * lyx_main.C:
2850         * lyxfunc.C:
2851         * paragraph_funcs.C:
2852         * text2.C: use buffer signals
2853
2854 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * introduce namespace lyx::graphics
2857
2858 2003-07-02  André Pönitz  <poenitz@gmx.net>
2859
2860         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2861
2862 2003-07-01  André Pönitz  <poenitz@gmx.net>
2863
2864         * text.C:
2865         * text2.C:
2866         * text3.C:
2867         * text_funcs.[Ch]:
2868         * textcursor.h:
2869         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2870           text*.C to text_func.C
2871
2872 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * introduce namespace lyx::support
2875
2876 2003-06-30  André Pönitz  <poenitz@gmx.net>
2877
2878         * Chktex.C:
2879         * funcrequest.C:
2880         * lyxtext.h:
2881         * text.C: re-enable --with-included-string
2882
2883 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * textcursor.C: add <config.h>
2886
2887         * text.C (getWord): remove const from word_location arg
2888
2889         * lyxvc.C (getLogFile): fix const type order
2890
2891         * lyxtext.h: remove const from word_location arg, add arg name
2892
2893         * lyxlayout.h: currect type on labeltype.
2894
2895         * importer.C: correct \file
2896
2897         * converter.C (intToFormat): use std:: on ret val, ws changes
2898
2899         * bufferlist.h: correct \file
2900
2901         * buffer.C (makeLinuxDocFile): fix const type order
2902         (makeDocBookFile): ditto
2903         (fillWithBibKeys): use std:: on stdlib args.
2904
2905         * CutAndPaste.C: fix authors.
2906         (availableSelections): use std:: on return vector
2907
2908 2003-06-27  André Pönitz  <poenitz@gmx.net>
2909
2910         * BufferView_pimpl.C:
2911         * bufferview_funcs.C:
2912         * lyxcursor.C:
2913         * lyxcursor.h:
2914         * lyxfunc.C:
2915         * lyxtext.h:
2916         * rowpainter.C:
2917         * text.C:
2918         * text2.C:
2919         * text3.C: remove LyXCursor::row_ member
2920
2921         * lyxtext.h:
2922         * text.C: rename fullRebreak() to partialRebreak() and implement
2923           a fullRebreak() that really bereks fully
2924
2925         * textcursor.h: new struct for cursor-related data
2926
2927 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * lyx_main.C (LyX): get full path of document loaded on the
2930         command line
2931
2932 2003-06-26  André Pönitz  <poenitz@gmx.net>
2933
2934         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2935           remove unused/broken operator>,<,>=.
2936
2937         *       text.C: remove only use of broken operator<= in an Assert().
2938
2939 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2942         moved errorlist_.clear to showErrorList
2943
2944 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2945
2946         * converter.C (scanLog, runLaTeX):
2947         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2948         move the bv->showErrorList call to the callers
2949         * lyxfunc.C: i.e. here...
2950         * text2.C: and here
2951         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2952         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2953         namespace, the second to...
2954         * buffer_funcs (BufferFormat, parseErrors): added
2955         * errorlist.C (ErrorList(TeXErrors const &)): removed
2956
2957 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2958
2959         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2960
2961 2003-06-24  "Garst R. Reese" <reese@isn.net>
2962
2963         * debug.C: fix typo
2964
2965 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2966
2967         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2968
2969         * version.C.in: change docversion to 1.4
2970
2971 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * buffer.C: fix a bug just introduced
2974
2975 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * buffer.[Ch]: added the parseError signal and use it, removed
2978         sgmlError
2979         * BufferView.[Ch] (addError): moved to ...
2980         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2981         to the Buffer::parseError signal to catch (guess what) parse errors
2982         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2983
2984 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2985
2986         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2987         ability to create a buffer and to return an existing one from
2988         the list. Moved these functions to...
2989         * buffer_funcs.[Ch]: added
2990         * BufferView.[Ch] (loadLyXFile): added
2991         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2992         job removed from bufferlist::loadLyXFile.
2993         * buffer.C (setReadOnly): make it work without view
2994         (i.e added an if (users))
2995
2996 2003-06-19  Angus Leeming  <leeming@lyx.org>
2997
2998         * lfuns.h:
2999         * LyXAction.C (init):
3000         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3001         with LFUN_DIALOG_SHOW <name> <data>.
3002
3003 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3004
3005         * CutAndPaste.C (availableSelections): small compilation fix for
3006         ancient (gcc 2.9x) compilers
3007
3008 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * text3.C (cursorNext): add tmp var
3011
3012         * text2.C (updateCounters): for function calling out of for clause
3013         (replaceSelectionWithString): ditto
3014         (insertStringAsParagraphs): ditto
3015         (getColumnNearX): add tmp var
3016         (setCursorFromCoordinates): add tmp var
3017         (cursorDownParagraph): add tmp var
3018         (deleteEmptyParagraphMechanism): add tmp var
3019
3020         * text.C (insertChar): add tmp var
3021
3022         * rowpainter.C (paintDepthBar): add tmp var
3023
3024         * CutAndPaste.C (availableSelections): potentially check all
3025         paragraphs in a cut to fill the shown strings.
3026
3027 2003-06-18  André Pönitz  <poenitz@gmx.net>
3028
3029         * kbmap.[Ch]: use vector<> instead of list<>
3030
3031 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3032
3033         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3034         pasteSelection with index
3035
3036         * text2.C (pasteSelection): modify, call pasteSelection with index
3037
3038         * paragraph.C (asString): reimplement version with no interval to
3039         call the one with interval.
3040
3041         * lyxtext.h: add index arg to pasteSelection
3042
3043         * MenuBackend.C (MenuItem): handle PasteRecent
3044         (Menu::read::Menutags): add md_pasterecent
3045         (read): handle it
3046         (expandPasteRecent): new function
3047         (expand): use it
3048
3049         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3050
3051         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3052         the limited stack
3053         (availableSelections): new function
3054
3055 2003-06-17  Angus Leeming  <leeming@lyx.org>
3056
3057         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3058
3059 2003-06-17  Angus Leeming  <leeming@lyx.org>
3060
3061         * lfuns.h:
3062         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3063
3064         * lyxfunc.C (dispatch): invoke it.
3065
3066 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3067
3068         * iterators.C (operator++, ParPosition): reintroduce some
3069         const_cast for the benefit of older compilers.
3070
3071 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3072
3073         * text3.C (dispatch): do not modify clipboard when doing
3074         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3075         LFUN_DELETE_SKIP on a selection selection
3076
3077 2003-06-16  André Pönitz  <poenitz@gmx.net>
3078
3079         * BufferView.C:
3080         * buffer.C:
3081         * buffer.h:
3082         * paragraph.C:
3083         * tabular.[Ch]: IU of clone() and getLabelList();
3084
3085 2003-06-13  André Pönitz  <poenitz@gmx.net>
3086
3087         * tabular.h: compactification
3088
3089 2003-06-12  André Pönitz  <poenitz@gmx.net>
3090
3091         * tabular.C:
3092         * tabular.h:
3093         * tabular_funcs.h: some renaming plus whitespace
3094
3095 2003-06-12  André Pönitz  <poenitz@gmx.net>
3096
3097         * BufferView.C:
3098         * BufferView_pimpl.C:
3099         * CutAndPaste.C:
3100         * buffer.C:
3101         * iterators.[Ch]:
3102         * lyxfunc.C:
3103         * text.C:
3104         * toc.C: Return a Paragraph & for ParIterator::operator*()
3105
3106 2003-06-11  John Levon  <levon@movementarian.org>
3107
3108         * lyx_main.C:
3109         * ToolbarBackend.h:
3110         * ToolbarBackend.C: add "Toolbars" section and
3111         put the flags there
3112
3113 2003-06-10  Angus Leeming  <leeming@lyx.org>
3114
3115         * lfuns.h:
3116         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3117
3118         * lyxfunc.C (dispatch): invoke it.
3119
3120 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * main.C: protect <ios> with HAVE_IOS
3123         (main): protect sync_with_stdio with HAVE_IOS
3124
3125 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3126
3127         * text2.C (cutSelection): adjust
3128         (pasteSelection): adjust
3129
3130         * messages.C: handle get of empty string
3131
3132         * main.C (main): use sync_with_stdio(false)
3133
3134         * lyxfunc.C (dispatch): adjust
3135
3136         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3137         (WriteAs): remove unneeded BufferView arg.
3138
3139         * bufferparams.h: use correct types on papersize, papersize2 and
3140         paperpackage.
3141
3142         * bufferparams.C (readToken): adjust for type
3143         (writeLaTeX): add missing cases to switch.
3144
3145         * bufferlist.C (quitWriteBuffer): adjust
3146         (close): adjust
3147
3148         * buffer.C (asciiParagraph): remove some commented code.
3149
3150         * CutAndPaste.C: remove current_view extern variable.
3151         (cutSelection): add BufferParams arg.
3152         (eraseSelection): add BufferParams arg.
3153         (pasteSelection): add Buffer const & arg
3154
3155 2003-06-07  John Levon  <levon@movementarian.org>
3156
3157         * buffer.C:
3158         * paragraph_funcs.C:
3159         * paragraph_pimpl.C:
3160         * text.C:
3161         * text2.C:
3162         * paragraph.h:
3163         * paragraph.C: allow InsetERT to freely space lines,
3164         and some consolidation of code
3165
3166 2003-06-06  José Matos  <jamatos@fep.up.pt>
3167
3168         * buffer.C (makeDocBookFile): fix bug #821
3169
3170 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3173
3174 2003-06-04  Angus Leeming  <leeming@lyx.org>
3175
3176         * buffer.C: bump format to 224.
3177
3178 2003-06-05  André Pönitz  <poenitz@gmx.net>
3179
3180         * text2.C (redoParagraphs): remove two const_cast<>
3181
3182 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3183
3184         * ParagraphList.h: remove last remnants of NO_STD_LIST
3185
3186 2003-06-03  Angus Leeming  <leeming@lyx.org>
3187
3188         * factory.C (createInset): small change to the way InsetExternal's params
3189         are set.
3190
3191 2003-06-04  André Pönitz  <poenitz@gmx.net>
3192
3193         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3194
3195         * paragraph_pimpl.h:
3196         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3197
3198         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3199
3200         * undo_funcs.C: make some simple cases of undo work again
3201
3202 2003-06-03  John Levon  <levon@movementarian.org>
3203
3204         * ispell.C: HPUX doesn't have sys/select.h
3205         (from Albert Chin)
3206
3207 2003-06-03  John Levon  <levon@movementarian.org>
3208
3209         * CutAndPaste.C: update tabular and include inset
3210         buffer references
3211
3212         * buffer.h:
3213         * paragraph.h:
3214         * paragraph.C: remove owningBuffer(), don't pass Buffer
3215         to clone()
3216
3217         * factory.C: insetGraphicsParams changed
3218
3219 2003-06-02  John Levon  <levon@movementarian.org>
3220
3221         * LyXAction.C:
3222         * factory.C:
3223         * lfuns.h:
3224         * lyxfunc.C:
3225         * text3.C: remove insetparent
3226
3227 2003-06-02  John Levon  <levon@movementarian.org>
3228
3229         * buffer.h:
3230         * buffer.C: fix inset_iterator.end(), move out of line
3231         (bug 1149)
3232
3233 2003-06-01  John Levon  <levon@movementarian.org>
3234
3235         * text3.C: use a proper cut/paste when doing inset
3236         insert (from Jürgen Spitzmüller)
3237
3238 2003-06-01  John Levon  <levon@movementarian.org>
3239
3240         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3241
3242 2003-05-30  André Pönitz  <poenitz@gmx.net>
3243
3244         * rowpainter.C: unify second drawing phase
3245
3246 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * trans_mgr.C: remove one case of current_view
3249
3250         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3251
3252         * paragraph_funcs.h: remove paragraph.h include
3253
3254         * paragraph.h: delete NO_STD_LIST stuff
3255
3256         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3257
3258         * buffer.h: remove paragraph.h include
3259
3260         * ParagraphList.C: delete file
3261
3262         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3263
3264         * toc.C (getTocList): adjust
3265
3266         * paragraph_pimpl.C (validate): adjust
3267
3268         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3269
3270         * paragraph.C (Paragraph): adjust
3271         (getPositionOfInset): use const_iterator, adjust
3272         (bibitem): use const_iterator, adjust
3273         (setInsetOwner): adjust
3274
3275         * iterators.C (operator++): adjust
3276
3277         * InsetList.[Ch]: Replace selfmade iterator with standard
3278         vector::iterator also introduce const_iterator. Remove getPos,
3279         getInset and setInset from InsetTable. Adjust accordingly.
3280
3281         * BufferView.C (lockInset): adjust
3282         (ChangeInsets): adjust
3283
3284         * tabular.[Ch]: delete commented same_id functions
3285
3286 2003-05-28  John Levon  <levon@movementarian.org>
3287
3288         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3289
3290 2003-05-28  André Pönitz  <poenitz@gmx.net>
3291
3292         * metricsinfo.[Ch]: remove 'fullredraw' member
3293
3294 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3295
3296         * lyxtextclass.C (operator): remove caching.
3297
3298 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3299
3300         * text3.C: adjust
3301
3302         * text2.C (cursorBottom): adjust
3303         (setCounter): use ParagraphList::find, adjust
3304
3305         * text.C (workWidth): use ParagraphList::find, adjust
3306
3307         * lyxcursor.C (LyXCursor): adjust
3308
3309         * buffer.C (inset_iterator): adjust
3310
3311         * ParagraphList.h: make iterator(value_type) private, make
3312         ParagraphList a friend of iterator.
3313
3314         * ParagraphList.C (find): new function
3315
3316         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3317
3318 2003-05-27  André Pönitz  <poenitz@gmx.net>
3319
3320         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3321
3322 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3323
3324         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3325
3326 2003-05-26  John Levon  <levon@movementarian.org>
3327
3328         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3329
3330 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * remove same_id from function signatures, adjust.
3333
3334 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3337
3338         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3339
3340         * paragraph.C (Paragraph): get rid of same_ids parameter
3341
3342         * ParagraphList.C (insert): adjust
3343         (push_back): adjust
3344
3345 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * paragraph_funcs.C (breakParagraph): adjust
3348         (breakParagraphConservative): adjust
3349
3350         * buffer.C (readParagraph): adjust
3351
3352         * ParagraphList.C (insert): take a reference instead of a pointer
3353         (insert): adjust
3354
3355         * paragraph.[Ch] (id): new function
3356
3357         * bufferlist.C (newFile): adjust
3358
3359         * ParagraphList.C (ParagraphList): adjust
3360         (assign): adjust
3361         (push_back): take a reference instead of a pointer.
3362
3363         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3364
3365         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3366         instead.
3367
3368         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3369         set else use old code.
3370
3371         * ParagraphList.C: remove all NO_NEXT code and only compile this
3372         code of NO_STD_LIST is set.
3373
3374 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * BufferView_pimpl.C:
3377         * TextCache.C:
3378         * TextCache.h:
3379         * bufferlist.C:
3380         * errorlist.h:
3381         * format.C:
3382         * format.h:
3383         * graph.C:
3384         * lyxfunc.C:
3385         * lyxrc.C:
3386         * graphics/GraphicsConverter.C:
3387         * graphics/PreviewLoader.C: header adjustment
3388
3389 2003-05-23  Angus Leeming  <leeming@lyx.org>
3390
3391         * LaTeXFeatures.[Ch] (useBabel): new method.
3392         * bufferparams.C (writeLaTeX): use it.
3393
3394 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * ParagraphList.h (set): remove unused function.
3397
3398 2003-05-23  André Pönitz  <poenitz@gmx.net>
3399
3400         * BufferView.C:
3401         * BufferView_pimpl.C:
3402         * buffer.C:
3403         * buffer.h:
3404         * lyxfunc.C:
3405         * undo_funcs.C: setUndo reworked
3406
3407         * iterators.[Ch]: add access to topmost ParagraphList
3408
3409         * lyxtext.[Ch] (workWidth): add a const
3410
3411 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3412
3413         * texrow.[Ch] (increasePos): remove function
3414         * exporter.C (export): removed unused var and outdated comment
3415
3416 2003-05-23  Angus Leeming  <leeming@lyx.org>
3417
3418         * latexrunparams.h: rename fragile as moving_arg.
3419         * paragraph.C (simpleTeXOnePar): ditto.
3420         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3421
3422 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3425         (createUndo): ditto
3426         (textUndoOrRedo): comment out a currently unused var.
3427
3428         * paragraph.h (NO_NEXT): enable NO_NEXT
3429
3430         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3431
3432         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3433
3434         * exporter.C (Export): adjust for removeAutoInsets removal.
3435
3436         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3437
3438         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3439
3440         * BufferView.[Ch] (removeAutoInsets): delete function
3441
3442 2003-05-22  Angus Leeming  <leeming@lyx.org>
3443
3444         * latexrunparams.h: add a free_spacing variable.
3445
3446         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3447         to pass moving_arg, as the data is stored in runparams.fragile.
3448
3449         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3450         to Inset::latexOptional or to simpleTeXOnePar.
3451
3452         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3453         free_spacing arg to Inset::latexOptional.
3454
3455         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3456         free_spacing arg.
3457
3458 2003-05-22  Angus Leeming  <leeming@lyx.org>
3459
3460         * latexrunparams.h: add fragile and use_babel variables.
3461
3462         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3463         * buffer.C (makeLaTeXFile): store this returned value in
3464         runparams.use_babel, thus passing it to the inset::latex methods.
3465
3466         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3467         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3468
3469         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3470         longer has a fragile arg, as it is stored in runparams.fragile.
3471
3472         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3473         moving_arg parameter as the data is stored in runparams.fragile.
3474
3475         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3476         a fragile parameter as the data is stored in runparams.fragile.
3477
3478 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3481
3482 2003-05-22  Angus Leeming  <leeming@lyx.org>
3483
3484         * latexrunparams.h: add a 'bool nice' which defaults to false.
3485
3486         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3487         now encapsulated within runparams.
3488
3489         * bufferlist.C (updateIncludedTeXfiles):
3490         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3491
3492 2003-05-22  Angus Leeming  <leeming@lyx.org>
3493
3494         * latexrunparams.h: new file containing struct LatexRunParams.
3495         * Makefile.am: add new file.
3496
3497         * LaTeX.[Ch] (c-tor, run):
3498         * buffer.[Ch] (makeLaTeXFile):
3499         * bufferlist.[Ch] (updateIncludedTeXfiles):
3500         * converter.C (convert, scanLog):
3501         * converter.[Ch] (runLaTeX):
3502         * exporter.C (Export):
3503         * paragraph.[Ch] (simpleTeXOnePar):
3504         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3505         * paragraph_funcs.[Ch] (latexParagraphs):
3506         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3507         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3508         pass around a LatexRunParams parameter.
3509
3510 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3511
3512         * paragraph.[Ch]: remove unused constructor
3513
3514         * ParagraphList.C (erase): new function, taking two iterators
3515
3516 2003-05-22  André Pönitz  <poenitz@gmx.net>
3517
3518         * undo_funcs.C: remove duplicated code
3519
3520         * iterator.[Ch]: operator=
3521
3522 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * tabular.C (SetMultiColumn): ws changes
3525
3526         * rowpainter.C (paintFirst): get rid of a ->previous
3527
3528         * lyx_cb.C (getPossibleLabel): parlist simplification
3529
3530         * BufferView.C (ChangeInsets): simplify slightly.
3531
3532 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3533
3534         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3535         * lfuns.h: new LFUN_SPACE
3536         * lyxfunc.C: protected space has a new lfun
3537         * paragraph_funcs.C: read new space insets
3538         * text3.C:
3539         * factory.C: handle new space insets
3540
3541 2003-05-22  André Pönitz  <poenitz@gmx.net>
3542
3543         * BufferView.C:
3544         * BufferView_pimpl.C:
3545         * buffer.[Ch]:
3546         * lyxfunc.C:
3547         * undo_funcs.C: return a ParIterator from getParFromID.
3548
3549         * iterators.[Ch]: add two const's
3550
3551 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3552
3553         * toc.C (getTocList): adjust
3554
3555         * iterators.[Ch]: rework for parlist
3556
3557         * buffer.C (par_iterator_begin): adjust
3558         (par_iterator_end): adjust
3559
3560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3561
3562         * BufferView.C (removeAutoInsets): adjust
3563         (ChangeInsets): adjust
3564
3565 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * text.C (top_y): fix bug 1110
3568
3569 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3570
3571         * errorlist.[Ch]: added
3572         * buffer.C:
3573         * BufferView.[Ch]:
3574         * BufferView_pimpl.C:
3575         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3576         instead
3577
3578 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * Makefile.am: ensure that lyx is relinked upon changes to the
3581         various "convenience" libs.
3582
3583 2003-05-20  Angus Leeming  <leeming@lyx.org>
3584
3585         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3586         files are compiled in alphabetical order again.
3587
3588         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3589
3590 2003-05-19  Angus Leeming  <leeming@lyx.org>
3591
3592         * gettext.[Ch]: remove "char const * _(char const *)".
3593
3594 2003-05-19  André Pönitz  <poenitz@gmx.net>
3595
3596         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3597
3598         * Makefile.am:
3599         * BufferView.C:
3600         * DepTable.h:
3601         * LaTeXFeatures.C:
3602         * buffer.C:
3603         * lyxfont.C:
3604         * lyxlex.h:
3605         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3606
3607 2003-05-19  André Pönitz  <poenitz@gmx.net>
3608
3609         * buffer.C:
3610         * lyxlayout.[Ch]:
3611         * lyxtextclass.[Ch]:
3612         * paragraph.C:
3613         * paragraph_funcs.[Ch]:
3614         * text2.C:
3615         * text3.C: more insetenv work
3616
3617 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * ParagraphParameters.C (params2string): small bug fixed
3620
3621 2003-05-16  André Pönitz  <poenitz@gmx.net>
3622
3623         * debug.C:
3624         * bufferview_funcs.C: patch from Kornel Benko to prevent
3625           crash when _(...) is called twice in a statement
3626
3627 2003-05-16  André Pönitz  <poenitz@gmx.net>
3628
3629         * BufferView.C:
3630         * lyxfunc.C:
3631         * text.C:
3632         * text2.C:
3633         * text3.C:
3634         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3635
3636 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * lyx_main.C (init): remove spurious static_cast
3639
3640 2003-05-14  André Pönitz  <poenitz@gmx.net>
3641
3642         * BufferView.C: fix format string
3643
3644 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * BufferView.[Ch] (insertErrors): removed
3647         * BufferView.[Ch] (showErrorList): added
3648         * buffer.C (runChkTeX):
3649         * converter.C (scanLog): call showErrorList instead of inserterrors
3650
3651 2003-05-13  André Pönitz  <poenitz@gmx.net>
3652
3653         * BufferView_pimpl.C:
3654         * buffer.C:
3655         * bufferview_func.C:
3656         * MenuBackend.C:
3657         * lyxfunc.C:
3658         * lyxrc.C:
3659         * tex-accent.C:
3660         * text3.C:
3661         * toc.C:
3662         * tabular_funcs.h: tostr() from its own header
3663
3664         * ParagraphParameters.C:
3665         * ToolbarBackend.C:
3666         * bufferparams.C:
3667         * format.C:
3668         * lyxlex_pimpl.C:
3669         * text3.C: STRCONV()
3670
3671 2003-05-12  André Pönitz  <poenitz@gmx.net>
3672
3673         * BufferView.C:
3674         * BufferView_pimpl.C:
3675         * CutAndPaste.C:
3676         * LaTeX.C:
3677         * LaTeXFeatures.C:
3678         * ParagraphParameters.C:
3679         * buffer.C:
3680         * bufferlist.C:
3681         * bufferparams.C:
3682         * bufferview_funcs.C:
3683         * converter.C:
3684         * counters.C:
3685         * debug.C:
3686         * exporter.C:
3687         * format.C:
3688         * importer.C:
3689         * lyx_cb.C:
3690         * lyx_main.C:
3691         * lyxfont.C:
3692         * lyxfunc.C:
3693         * lyxvc.C:
3694         * paragraph.C:
3695         * paragraph_funcs.C:
3696         * tabular.C:
3697         * tabular_funcs.C:
3698         * text2.C:
3699         * text3.C:  boost::format -> bformat  all over the place
3700
3701
3702 2003-05-09  André Pönitz  <poenitz@gmx.net>
3703
3704         * LColor.[Ch]: Pimpl the #include <map> away
3705
3706 2003-05-09  John Levon  <levon@movementarian.org>
3707
3708         * bufferlist.C: never remove emergency saves
3709
3710 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * Makefile.am: better lib building
3713
3714 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3717         instead.
3718         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3719         (simpleTeXSpecialChars): adjust
3720         (simpleTeXSpecialChars): adjust
3721         * paragraph.C (simpleTeXOnePar): adjust
3722         * buffer.C (makeLaTeXFile): adjust
3723
3724         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3725
3726         * text2.C (changeDepth): parlist cleanup
3727         (getColumnNearX): ditto
3728
3729         * rowpainter.C (getLabelFont): parlist cleanup
3730
3731         * bufferlist.C (newFile): parlist cleanup
3732
3733         * CutAndPaste.C (eraseSelection): parlist cleanup
3734
3735         * BufferView_pimpl.C (trackChanges): parlist cleanup
3736         (dispatch): ditto
3737
3738         * BufferView.C (lockInset): parlist cleanup.
3739         (ChangeInsets): ditto
3740
3741 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * CutAndPaste.h: Update file header.
3744
3745         * CutAndPaste.C: Update file header.
3746         Store the parts cut out of the Document in a limited_stack.
3747         (copySelection): adjust
3748         (pasteSelection): new function, takes the index in the limited stack.
3749         (nrOfParagraphs): adjust
3750         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3751         simplify error inset insertion.
3752         (checkPastePossible): adjust
3753
3754 2003-05-06  John Levon  <levon@movementarian.org>
3755
3756         * text2.C: don't cast wrap inset to float
3757
3758 2003-05-05  André Pönitz  <poenitz@gmx.net>
3759
3760         * iterator.C:
3761         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3762
3763         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3764           few naked Paragraph *.
3765
3766 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3767
3768         * bufferparams.C: Output warning if a document with missing
3769         TeX document class is loaded
3770         * exporter.C: Disable TeX exports if the document class is missing
3771         * lyxtextclass.C:
3772         * lyxtextclass.h:
3773         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3774         isTeXClassAvailable()
3775
3776 2003-05-03  John Levon  <levon@movementarian.org>
3777
3778         * BufferView.h:
3779         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3780         explicit cursor show/hide
3781
3782         * BufferView_pimpl.h:
3783         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3784         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3785
3786         * lyxfunc.C: hide cursor before dispatching.
3787
3788         * lyx_cb.C:
3789         * lyxfind.C:
3790         * text.C:
3791         * text3.C: remove explicit cursor hides
3792
3793 2003-05-02  André Pönitz  <poenitz@gmx.net>
3794
3795         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3796
3797         * undo_funcs.C:
3798         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3799           linked lists
3800
3801         * text2.C: tiny whitespace
3802
3803 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * undo_funcs.C: almost only ws changes.
3806
3807         * ParagraphList.C (splice): just return if pl is empty.
3808
3809 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * ParagraphList.C (splice): new function.
3812
3813         * CutAndPaste.C (pasteSelection): use it
3814
3815 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * CutAndPaste.C (pasteSelection): remove the last next and
3818         previous from this file.
3819
3820 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * CutAndPaste.C (pasteSelection): more clean up, user proper
3823         ParagraphList functions for pasteing.
3824
3825         * ParagraphList.C (insert): new function, three arg insert
3826
3827 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * ParagraphList.C (insert): new function, three arg insert
3830
3831         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3832         not on paragraphs.
3833
3834 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3835
3836         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3837
3838 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3841
3842 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3845         (copySelection): clean up a bit.
3846         (pasteSelection): use make_pair
3847
3848         * ParagraphList.C (ParagraphList): implement copy constructor
3849         (operator=): implement, base on copy constructor.
3850         (assign): new func
3851
3852         * paragraph.C (erase): return a bool
3853
3854         * paragraph_pimpl.C (erasePos): remove function, move contents...
3855         (erase): ... here. Return a bool.
3856         (erase): call erase instead of erasePos.
3857
3858 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * ParagraphList.h: define PitPosPair
3861         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3862         ParagraphList, fix a bug on pasting multiple pars
3863         * text2.C: change interface to C&P
3864
3865 2003-04-30  André Pönitz  <poenitz@gmx.net>
3866
3867         * undo_func.C: revert part of yesterday's patch 2
3868
3869 2003-04-30  John Levon  <levon@movementarian.org>
3870
3871         * LColor.C: s/tabular/table/
3872
3873 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * text3.C (dispatch): do not convert iterator -> pointer
3876         * undo_funcs.C (setCursorParUndo): ditto
3877         * text_funcs.C (transposeChars): ditto
3878
3879         * text2.C (setLayout): ws changes only
3880
3881         * text.C (breakParagraph): do not convert iterator -> pointer
3882         (insertChar): ditto
3883         (acceptChange): ditto
3884         (rejectChange): ditto
3885         (changeCase): ditto
3886         (Delete): ditto
3887         (backspace): ditto
3888
3889         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3890         pointer
3891
3892 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3893
3894         * text3.C (gotoInset): YABG (yet another bad getChar)
3895
3896 2003-04-29  André Pönitz  <poenitz@gmx.net>
3897
3898         * paragraph.h: make operator= private unimplemented as long as
3899           it is unusable
3900
3901         * ParagraphList.C: whitespace
3902
3903         * paragraph.[Ch]:
3904         * paragraph_pimpl.[Ch]:
3905         * paragraph_funcs.C:
3906         * CutAndPaste.C:
3907         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3908
3909         * text2.C:
3910           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3911
3912 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3913
3914         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3915         * paragraph.[Ch] (erase):
3916         * paragraph_pimpl.[Ch] (erase): change return type and value
3917         * text2.C (cutSelection): some rework
3918
3919 2003-04-28  John Levon  <levon@movementarian.org>
3920
3921         * bufferlist.C: changes for unsaved changes dialog
3922
3923 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * bufferlist.C (newFile): set language (messages_) for new
3926         documents also.
3927
3928         * buffer.C (readFile): ws changes only.
3929
3930 2003-04-28  André Pönitz  <poenitz@gmx.net>
3931
3932         * undo_funcs.C:
3933         * lyxfunc.C:
3934         * buffer.[Ch]:
3935         * BufferView_pimpl.C:
3936         * BufferView.C: getParFromID related ParagraphList::iterator changes
3937
3938 2003-04-28  André Pönitz  <poenitz@gmx.net>
3939
3940         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3941           Changes
3942
3943 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * messages.C: remove one more localedir class variable.
3946
3947 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * messages.C (getLocaleDir): singleton generation function
3950         (Pimpl): use it.
3951         (Messages): add a default constructor.
3952
3953         * main.C (main): do not setup localedir here, do not call
3954         gettext_init.
3955
3956         * gettext.C (_): use it.
3957         (gettext_init): delete funciton
3958
3959 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * gettext.C (getLyXMessages): new singleton generating function.
3962
3963         * buffer.C (updateDocLang): adjust
3964
3965         * Makefile.am (messages.o): add target
3966         (main.o): remove target
3967
3968 2003-04-27  John Levon  <levon@movementarian.org>
3969
3970         * bufferlist.C:
3971         * lyx_cb.C:
3972         * lyxfunc.C:
3973         * lyxvc.C: specify cancel button in Alert::prompt
3974
3975 2003-04-26  John Levon  <levon@movementarian.org>
3976
3977         * text3.C:
3978         * lyxfunc.C:
3979         * lfuns.h:
3980         * LyXAction.C: add LFUN_INSET_SETTINGS
3981
3982         * lyxfunc.C: don't enable tabular-feature when there's
3983         just any locking inset
3984
3985 2003-04-26  John Levon  <levon@movementarian.org>
3986
3987         * bufferlist.C: re-add Cancel to buffer close question
3988
3989         * lyxfunc.C: fix import UI a bit
3990
3991 2003-04-25  John Levon  <levon@movementarian.org>
3992
3993         * gettext.C: remove the broken asserts for now
3994
3995 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * messages.C: make case where setlocale cannot comply work better.
3998
3999         * buffer.C (updateDocLang): new function
4000         (changeLanguage): use it
4001         (readFile): use it
4002
4003         * text2.C (setCounter): use B_ a bit.
4004
4005         * lyxlayout.C (Read): be sure to trim the label strings.
4006
4007         * messages.C (Messages): fix typo in comment
4008
4009         * buffer.C (readFile): set message_ after file is loaded.
4010         (makeDocBookFile): remove double return
4011         (changeLanguage): reset message_ upon language change.
4012         (B_): new func, use this to get translated buffer strings.
4013
4014         * main.C: add myself and Jean Marc as authors.
4015
4016 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * messages.[hC]: pimplify Messages, and three different pimpls to be
4019         used in different circumstances.
4020
4021         * gettext.[Ch]: change for use with new message code.
4022
4023 2003-04-24 André Pönitz <poenitz@gmx.net>
4024
4025         * factory.C: support for eqref
4026
4027 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * messages.[Ch]: add missing char
4030
4031         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4032
4033         * messages.[Ch]: New files
4034
4035 2003-04-18  John Levon  <levon@movementarian.org>
4036
4037         * BufferView.h:
4038         * BufferView.C:
4039         * BufferView_pimpl.C:
4040         * lfuns.h:
4041         * LyXAction.C:
4042         * lyxtext.h:
4043         * text2.C: remove layout-copy/paste (bug 778)
4044
4045 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4046
4047         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4048
4049 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4050
4051         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4052         if they succeed. Act accordingly.
4053
4054 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * text2.C (setCharFont): adjust
4057         (setCounter): adjust
4058         (insertStringAsLines): adjust
4059
4060         * text.C (leftMargin): adjust
4061         (setHeightOfRow): adjust
4062
4063         * rowpainter.C (paintFirst): adjust
4064         (paintLast): adjust
4065
4066         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4067         (outerHook): ditto
4068         (isFirstInSequence): ditto
4069         (getEndLabel): ditto
4070         (outerFont): adjust
4071
4072         * paragraph.C (getParLanguage): comment out some hard stuff.
4073
4074         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4075         (sgmlError): ditto
4076         (simpleDocBookOnePar): ditto
4077         (makeDocBookFile): use ParagraphList::iterator
4078
4079         * CutAndPaste.C (pasteSelection): adjust
4080
4081 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * text2.C (getFont): adjust
4084         (getLayoutFont): adjust
4085         (getLabelFont): adjust
4086
4087         * paragraph_funcs.C (TeXOnePar): adjust
4088
4089         * buffer.C (simpleLinuxDocOnePar): adjust
4090         (simpleDocBookOnePar): adjust
4091
4092         * CutAndPaste.C (pasteSelection): adjust
4093
4094         * BufferView.C (getEncoding): adjust
4095
4096         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4097
4098 2003-04-16  John Levon  <levon@movementarian.org>
4099
4100         * lyxfind.C: use parlist stuff for search/changes
4101
4102 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4105
4106         * text2.C (deleteEmptyParagraphMechanism): adjust
4107
4108         * text2.[Ch] (ownerParagraph): delete func (both of them
4109
4110 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4111
4112         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4113
4114 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * ParagraphList.C: prepare for NO_NEXT
4117
4118 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * text2.C (getFont): adjust
4121         (getLayoutFont): adjust
4122         (getLabelFont): adjust
4123
4124         * paragraph.C (getFont): adjust
4125         (getLabelFont): adjust
4126         (getLayoutFont): adjust
4127
4128         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4129
4130 2003-04-15  John Levon  <levon@movementarian.org>
4131
4132         From Angus Leeming
4133
4134         * lyx_main.C: handle Include in .ui files
4135
4136 2003-04-15  John Levon  <levon@movementarian.org>
4137
4138         * MenuBackend.C: make the doc files length shorter
4139
4140         * ToolbarBackend.h:
4141         * ToolbarBackend.C: handle toolbar placement flags,
4142         Minibuffer
4143
4144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4147         adjust
4148
4149         * paragraph_funcs.C (TeXOnePar): adjust
4150
4151         * paragraph.C (getLabelFont): add outerfont arg, adjust
4152         (getLayoutFont): ditto
4153         (simpleTeXOnePar): adjust
4154
4155         * paragraph_pimpl.C (realizeFont): delete func
4156
4157 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4160         row argument, constify cur argument.
4161
4162 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * text2.C (getFont): adjust
4165         (getLayoutFont): adjust
4166         (getLabelFont): adjust
4167
4168         * paragraph_funcs.C (TeXOnePar): adjust
4169         (outerFont): new func...
4170         (realizeFont): ...moved out from here, changed this to facilitate
4171         transition
4172
4173         * paragraph.C (getFont): take outerfont as arg, adjust
4174         (simpleTeXOnePar): add outerfont arg, adjust
4175
4176         * buffer.C (simpleLinuxDocOnePar): adjust
4177         (simpleDocBookOnePar): adjust
4178
4179         * CutAndPaste.C (pasteSelection): adjust
4180
4181         * BufferView.C (getEncoding): adjust
4182
4183 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * text2.C (setCharFont): adjust
4186         (setCounter): adjust
4187
4188         * text.C (leftMargin): adjust
4189         (setHeightOfRow): adjust
4190
4191         * rowpainter.C (paintFirst): adjust
4192         (paintLast): adjust
4193
4194         * paragraph_pimpl.C (realizeFont): adjust
4195
4196         * paragraph.C (isFirstInSequence): move from here...
4197         * paragraph_funcs.C (isFirstInSequence): ...to here
4198
4199         * paragraph.C (outerHook): move from here...
4200         * paragraph_funcs.C (outerHook): ...to here
4201
4202         * paragraph.C (depthHook): move from here...
4203         * paragraph_funcs.C (depthHook): ...to here
4204
4205         * paragraph.C (getEndLabel): move from here...
4206         * paragraph_funcs.C (getEndLabel): ...to here
4207
4208         * text2.C (realizeFont): move from here...
4209         * paragraph_funcs.C (realizeFont): ...to here
4210
4211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4212
4213         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4214
4215 2003-04-14  Angus Leeming  <leeming@lyx.org>
4216
4217         * LColor.[Ch]: scrap LColor mathcursor.
4218
4219 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * lyxlex.[Ch] (text): delete function
4222         * trans.C (Load): adjust
4223         * paragraph_funcs.C (readParToken): adjust
4224
4225 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4228         vector<char> instead of a char[].
4229
4230         * lyxlex_pimpl.C (getString): adjust
4231         (next): adjust
4232         (lex): use getString
4233         (eatLine): adjust
4234         (nextToken): adjust
4235
4236         * lyxlex.C (text): use pimpl_->getString()
4237         (getBool): ditto
4238         (findToken): ditto
4239
4240 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4243         (makeFontEntriesLayoutSpecific): temp var for par.size()
4244         (setLayout): temp var for ownerParagraphs().end()
4245         (fullRebreak): temp var for rows().end()
4246         (selectionAsString): temp var for boost::next(startpit), realize
4247         that the while really is a regular for loop.
4248         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4249         setCursor in one place.
4250         (setParagraph): temp vr for ownerParagraphs().end()
4251         (updateCounters): make the while loop a for loop
4252         (cutSelection): temp var for ownerParagraphs().end()
4253         (updateInset): make the do {} while() a regular for loop
4254         (getCursorX): use temp vars
4255         (setCurrentFont): use temp vars
4256         (getColumnNearX): use temp vars
4257
4258 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * text.C (transformChar): use temp var for getChar
4261         (computeBidiTables): use temp var for row->par()
4262         (fill): move temp vars for row->par() and pit->layout() earlier in
4263         the function.
4264         (labelFill): use temp var for row->par()
4265         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4266         asc and desc, realize that pit never changes and that firstpit is
4267         just a duplicate and not needed. Exchange rit->par() with pit in a
4268         lot of places.
4269         (breakAgain): use a temp var for boost::next(rit)
4270         (breakAgainOneRow): ditto
4271         (breakParagraph): use a temp var for rows().begin()
4272         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4273         (cursorRightOneWord): use temp var for cursor.par() and
4274         cursor.pos(), remove usage of tmpcursor.
4275         (cursorLeftOneWord): use temp var for cursor.par() and
4276         cursor.pos() only set cur at end of function.
4277
4278 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * text.C, text2.C: exchange all usage of Paragraph::next with
4281         boost::next(ParagraphList::iterator)
4282
4283         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4284
4285         * text2.C (cursorTop): simplify implementation
4286         (cursorBottom): ditto
4287         (setParagraph): use ParagraphList::iterator
4288         (setCurrentFont): adjust
4289         (getColumnNearX): adjust
4290         (cursorRight): adjust
4291         (cursorLeft): remove usage of Paragraph::previous
4292         (cursorUpParagraph): ditto
4293         (deleteEmptyParagraphMechanism): slight cleanup
4294
4295         * text.C (isBoundary): take a Paragraph const & instead of a
4296         pointer as arg.
4297         (addressBreakPoint): ditto
4298         (leftMargin): remove usage of Paragraph::previous.
4299         (setHeightOfRow): ditto
4300         (cursorLeftOneWord): ditto
4301         (selectNextWordToSpellcheck): ditto
4302         (Delete): ditto
4303         (backspace): ditto
4304         (breakParagraph): remove one usage of Paragraph::next
4305         (redoParagraph): ditto
4306         (acceptChange): ditto
4307         (insertChar): adjust
4308         (rowBreakPoint): adjust
4309
4310         * bufferview_funcs.C (toggleAndShow): adjust
4311
4312 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4315         methods to access it.
4316         * lyxtext.h:
4317         * text.C: Added updateRowPositions to compute all row positions.
4318         Make top_y and getRowNearY() to use the cached y position
4319
4320 2003-04-11  John Levon  <levon@movementarian.org>
4321
4322         * text.C (rowBreakPoint): reintroduce the labelEnd
4323         checks, code copied from the row fill stuff. Deep voodoo.
4324
4325         * text.C (fill): add a comment and debugging for the
4326         next poor soul.
4327
4328 2003-04-11  John Levon  <levon@movementarian.org>
4329
4330         * text.C: make sure fullrow insets get wrapped to the next line,
4331         even when they're in a manual label
4332
4333 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * text2.C (insertParagraph): make it take ParagraphList::iterator
4336         as arg.
4337         (setLayout): make it return ParagraphList::iterator
4338         (redoParagraphs): ditto
4339         (setCounter): ditto
4340         (checkParagraph): ditto
4341
4342         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4343
4344         * text2.C: adjust several funcs.
4345         (realizeFont): take a ParagraphList::iterator as arg.
4346         (getLayoutFont): ditto
4347         (getLabelFont): ditto
4348         (setCharFont): ditto
4349
4350         * text.C: adjust several funcs.
4351
4352 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * text.C (selectNextWordToSpellcheck): don't accidentally
4355         skip insets
4356
4357 2003-04-10  John Levon  <levon@movementarian.org>
4358
4359         * ToolbarBackend.C (getIcon): special handling for
4360         LFUN_MATH_DELIM
4361
4362 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4363
4364         * text2.C (cursorRight): a getChar assert fixed
4365
4366 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * text2.C (getFont): change to take a ParagraphList::iterator
4369         instead of Paragraph*
4370         Adjust several functions.
4371
4372         * text.C (transformChar): change to take a ParagraphList::iterator
4373         instead of Paragraph*
4374         (singleWidth): ditto
4375         Adjust several functions.
4376
4377         * rowpainter.C: adjust several functions
4378         * rowpainter.h:store a ParagraphList::iterator and not a
4379         Paragraph&.
4380
4381
4382 2003-04-09  John Levon  <levon@movementarian.org>
4383
4384         * lyxfunc.C:
4385         * lfuns.h:
4386         * LyXAction.h:
4387         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4388         and the "help" bits as well
4389
4390 2003-04-09  John Levon  <levon@movementarian.org>
4391
4392         * ToolbarBackend.h:
4393         * ToolbarBackend.C: allow multiple toolbars
4394
4395 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * undo_funcs.C (setCursorParUndo): adjust
4398
4399         * text_funcs.C (transposeChars): adjust
4400
4401         * text3.C (gotoNextInset): adjust
4402         (dispatch): adjust
4403
4404         * text2.C (setLayout): adjust
4405         (changeDepth): adjust
4406         (setFont): adjust
4407         (redoParagraphs): adjust
4408         (selectionAsString): adjust
4409         (setParagraph): adjust
4410         (insertInset): adjust
4411         (cutSelection): adjust
4412         (copySelection): adjust
4413         (pasteSelection): adjust
4414         (insertStringAsLines): adjust
4415         (updateInset): adjust
4416         (setCursor): change to take a ParagraphList::iterator parameter
4417         (setCursorIntern): change to take a ParagraphList::iterator parameter
4418         (setCurrentFont): adjust
4419         (cursorLeft): adjust
4420         (cursorRight): adjust
4421         (deleteEmptyParagraphMechanism): adjust
4422
4423         * text.C (breakParagraph): adjust
4424         (insertChar): adjust
4425         (acceptChange): adjust
4426         (rejectChange): adjust
4427         (selectNextWordToSpellcheck): adjust
4428         (changeCase): adjust
4429         (Delete): adjust
4430         (backspace): adjust
4431
4432         * lyxfind.C (SearchForward): adjust
4433         (SearchBackward): adjust
4434         (nextChange): adjust
4435
4436         * lyxcursor.C (par): adjust
4437
4438         * lyxcursor.h: store a ParagraphList::iterator instead of a
4439         Paragraph*
4440
4441         * lyx_cb.C (getPossibleLabel): adjust
4442
4443         * bufferview_funcs.C (toggleAndShow): adjust
4444
4445         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4446         (dispatch): adjust
4447
4448         * BufferView.C (removeAutoInsets): adjust
4449         (lockedInsetStoreUndo): adjust
4450
4451 2003-04-09  John Levon  <levon@movementarian.org>
4452
4453         * ToolbarBackend.C: try icon without argument
4454         if with argument fails
4455
4456 2003-04-08  John Levon  <levon@movementarian.org>
4457
4458         * ToolbarBackend.h:
4459         * ToolbarBackend.C: add getIcon(), handle tooltip,
4460         and change from "Icon" to "Item".
4461
4462 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * BufferView.C (lockInset): another bad getchar crunched
4465
4466 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4467
4468         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4469         again)
4470
4471 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4472
4473         * lyxfind.C (searchForward, searchBackwards): bug 782
4474
4475 2003-04-07  John Levon  <levon@movementarian.org>
4476
4477         * paragraph.C: remove dead comment
4478
4479         * text.C: remove troublesome depth-fiddling code
4480         in leftMargin() and rightMargin() (bug 1017)
4481
4482         * text.C: fix breaking of rows in nested lists
4483         (bug 1004)
4484
4485         * text2.C (updateCounters): fix up depth values
4486         (bug 1013)
4487
4488 2003-04-07  John Levon  <levon@movementarian.org>
4489
4490         * BufferView_pimpl.C: clear message when doc finishes resizing,
4491         and after a mouse event
4492
4493         * lyxfunc.C: clear message after exiting inset
4494
4495 2003-04-07  John Levon  <levon@movementarian.org>
4496
4497         * bufferview_funcs.C: show math status not outside
4498         status in the statusbar
4499
4500 2003-04-07  John Levon  <levon@movementarian.org>
4501
4502         * lyxfunc.C: note status changed after a depth change
4503
4504 2003-04-04  Angus Leeming  <leeming@lyx.org>
4505
4506         * LaTeX.h: move AuxInfo operator==, != out of line.
4507         Remove LaTeX virtual destructor; nothing derives from it.
4508         Move operator()() out of public area and rename it startscript().
4509         Change protected for private.
4510
4511 2003-04-04  Angus Leeming  <leeming@lyx.org>
4512
4513         * lyxfunc.C:
4514         * text2.C: remove unneeded #includes.
4515
4516 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * text2.C (dEPM): fix the heigth of the next row
4519
4520 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * text.C: squashed an invalid getChar requester + some ws changes
4523
4524 2003-04-03  John Levon  <levon@movementarian.org>
4525
4526         * bufferview_funcs.h:
4527         * bufferview_funcs.C:
4528         * lyxfunc.C:
4529         * lyxtext.h:
4530         * text2.C: make getStatus work for the env depth lfuns
4531
4532 2003-04-03  John Levon  <levon@movementarian.org>
4533
4534         * bufferview_funcs.h:
4535         * bufferview_funcs.C:
4536         * lyxfunc.C:
4537         * lyxtext.h:
4538         * text2.C: parlistize decDepth(), by merging it with incDepth()
4539
4540 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * lyxrow.h: store a ParagraphList::iterator instead of a
4543         Paragraph* and adjust other class functions to suit.
4544
4545         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4546         above.
4547
4548 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * text2.C (setCursor): do not anchor to cursor row for the time being
4551
4552 2003-04-02  John Levon  <levon@movementarian.org>
4553
4554         * LyXAction.C:
4555         * lfuns.h:
4556         * lyx_main.C:
4557         * lyxtext.h:
4558         * text.C:
4559         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4560
4561 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * paragraph.h: make ParagraphList and ParagraphList::iterator
4564         friends of Paragraph.
4565
4566         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4567
4568         * ParagraphList.C: Use the private next_ and previous_ from
4569         Paragraph.
4570
4571 2003-04-01  John Levon  <levon@movementarian.org>
4572
4573         * ToolbarBackend.h:
4574         * ToolbarBackend.C:
4575         * Makefile.am: rename, remove defaults gunk
4576
4577         * MenuBackend.h:
4578         * MenuBackend.C: remove defaults gunk
4579
4580         * Languages.h:
4581         * Languages.C: remove defaults gunk
4582
4583         * lyx_main.h:
4584         * lyx_main.C: error out if files couldn't be found.
4585
4586 2003-04-02  John Levon  <levon@movementarian.org>
4587
4588         * text2.C: make incDepth() use parlist
4589
4590 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * undo_funcs.C (firstUndoParagraph): adjust
4593
4594         * text3.C (gotoInset): adjust
4595         (dispatch): adjust, and rewrite loop.
4596
4597         * text2.C (init): adjust, and rewrite loop.
4598         (redoParagraphs): adjust
4599         (updateInset): adjust, and rewrite loop.
4600         (deleteEmptyParagraphMechanism): adjust
4601
4602         * tabular.C (LyXTabular): adjust
4603         (SetMultiColumn): adjust
4604         (TeXRow): adjust
4605
4606         * lyxtext.[Ch] (ownerParagraph): delete function
4607         (ownerParagraphs): new function returns a ParagraphList.
4608
4609         * BufferView.C (removeAutoInsets): adjust
4610         (insertErrors): adjust
4611         (setCursorFromRow): adjust
4612
4613 2003-04-01  Angus Leeming  <leeming@lyx.org>
4614
4615         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4616         in the frontends.
4617
4618 2003-04-02  John Levon  <levon@movementarian.org>
4619
4620         * lyxtext.h:
4621         * text.C:
4622         * Makefile.am:
4623         * text_funcs.h:
4624         * text_funcs.C: make transposeChars a free function
4625
4626         * lyxrow_funcs.C: remove wrong comment
4627
4628 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * lyxtext.h: adjust
4631         * rowpainter.C: adjust
4632         * text.C: adjust
4633         * text2.C: adjust
4634         * text3.C: adjust
4635
4636         * lyxrow_funcs. [Ch]: new files
4637
4638         * lyxrow.[Ch]: remove next and previous pointers
4639         (next,previous): remove accessor functions
4640         (isParEnd): move to lyxrow_funcs
4641         (lastPos): move to lyxrow_funcs
4642         (nextRowIsAllInset): move to lyxrow_funcs
4643         (lastPrintablePos): move to lyxrow_funcs
4644         (numberOfSeparators): move to lyxrow_funcs
4645         (numberOfHfills): move to lyxrow_funcs
4646         (numberOfLabelHfills): move to lyxrow_funcs
4647         (hfillExpansion): move to lyxrow_funcs
4648
4649         * lyxfunc.C: adjust
4650
4651         * bufferview_funcs.C (toggleAndShow): adjust
4652
4653         * RowList.h: Remove class RowList from file leave just a
4654         std::list<Row>.
4655
4656         * RowList.C: delete file
4657
4658         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4659         and lyxrow_funcs.h
4660
4661 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * text3.C (cursorPrevious): adjust
4664         (cursorNext): adjust
4665         (dispatch): adjust
4666
4667         * text2.C (redoHeightOfParagraph): adjust
4668         (redoDrawingOfParagraph): adjust
4669         (setCursor): adjust
4670
4671         * text.C (breakParagraph): adjust
4672         (insertChar): adjust
4673         (backspace): adjust
4674
4675         * rowpainter.C (RowPainter): adjust
4676         (leftMargin): simplify and adjust
4677         (most rowpainter functions): adjust.
4678
4679         * rowpainter.h: store the row as RowList::iterator not as Row*
4680
4681         * lyxcursor.C (row): taka RowList::iterator as arg
4682         (irow): ditto
4683
4684         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4685         of Row*.
4686
4687 2003-04-01  Angus Leeming  <leeming@lyx.org>
4688
4689         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4690         stuff like bool Bool.
4691
4692 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4695         rewrite a loop
4696
4697 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4700         RowList::iterator.
4701
4702         * lyxtext.h (rows): drop one version and leve a const variant that
4703         returns a RowList::iterator.
4704
4705 2003-03-31  Angus Leeming  <leeming@lyx.org>
4706
4707         * text.C (fill): ensure that the signature is the same as that in the
4708         header file.
4709
4710 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * text2.C (redoParagraphs): adjust
4713         (updateCounters): adjust
4714         (checkParagraph): adjust
4715         (getColumnNearX): adjust and reformat a bit.
4716
4717         * text.C (top_y): adjust
4718         (workWidth): adjust
4719         (leftMargin): adjust
4720         (prepareToPrint): adjust
4721         (getRow): adjust
4722         (getRowNearY): adjust
4723
4724         * lyxtext.h: make rowlist_ mutable.
4725
4726         * RowList.h: add const_iterator
4727         * RowList.C: adjust for RowList::const_iterator.
4728
4729         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4730         adjust.
4731
4732 2003-03-31  John Levon  <levon@movementarian.org>
4733
4734         * lyxrc.h:
4735         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4736
4737         * lyx_main.C: set default fonts from using lyx_gui funcs
4738
4739         * exporter.C: pdf_mode moved from lyxrc
4740
4741         * lyx_cb.C:
4742         * lyxfunc.C: changes from above
4743
4744 2003-03-31  John Levon  <levon@movementarian.org>
4745
4746         * lyx_main.C: fix to the last fix
4747
4748 2003-03-31  John Levon  <levon@movementarian.org>
4749
4750         * bufferlist.C: "Load original" -> "Load Original"
4751
4752         * converter.C:
4753         * exporter.C:
4754         * importer.C:
4755         * lyx_main.C:
4756         * format.C: more Alert cleanups
4757
4758 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * text2.C (removeParagraph): make it take a RowList::iterator as
4761         arg, adjust.
4762         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4763         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4764
4765         * text.C (anchor_row): make it take a RowList::iterator as arg,
4766         adjust.
4767         (computeBidiTables): make it take a const reference to Row instead
4768         of Row pointer, adjust.
4769         (leftMargin): make it take a RowList::iterator as arg, adjust.
4770         (rowBreakPoint): adjust
4771         (breakAgainOneRow): make it take a RowList::iterator as arg,
4772         adjust.
4773         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4774
4775         * bufferview_funcs.C (toggleAndShow): adjust
4776
4777 2003-03-30  John Levon  <levon@movementarian.org>
4778
4779         * Makefile.am:
4780         * BoostFormat.h:
4781         * boost-inst.C: moved to support
4782
4783         * several files: changes as a result
4784
4785 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * text2.C (LyXText): adjust.
4788         (init): adjust
4789         (removeRow): make it take a RowList::iterator as arg, adjust.
4790         (fullRebreak): adjust
4791         (deleteEmptyParagraphMechanism): adjust
4792         (clearPaint): adjust
4793         (postPaint): adjust
4794
4795         * text.C (top_y): adjust
4796         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4797         (breakAgain): make it take a RowList::iterator as arg, adjust.
4798         (breakParagraph): adjust
4799         (insertChar): adjust
4800         (backspace): adjust
4801
4802         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4803         need_break_row, and refresh_row.
4804
4805         * text3.C (dispatch): adjust
4806
4807         * text2.C (checkParagraph): adjust
4808         (setCursor): adjust
4809         (setCursorFromCoordinates): adjust
4810
4811         * text.C (top_y): adjust
4812         (workWidth): adjust
4813         (getRow): make it return a RowList::iterator, adjust
4814         (getRowNearY): make it return a RowList::iterator, adjust
4815
4816         * text2.C (init): adjust
4817         (insertRow): remove function
4818         (insertParagraph): adjust
4819         (redoParagraphs): adjust
4820         (fullRebreak): adjust
4821         (updateCounters): adjust
4822
4823         * text.C (top_y): rewrite to use RowList iterators.
4824         (top_y): adjust
4825         (setHeightOfRow): rewrite to sue RowList iterators.
4826         (appendParagraph): adjust
4827         (breakAgain): adjust
4828         (breakAgainOneRow): adjust
4829         (breakParagraph): adjust
4830         (getRow): adjust
4831         (getRowNearY): adjust, and remove commented code.
4832
4833         * lyxtext.h (firstRow): delete function
4834         (lastRow): delete function
4835         (rows): new function (const and non-const versions.)
4836         (insertRow): delete function
4837
4838         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4839
4840 2003-03-29  John Levon  <levon@movementarian.org>
4841
4842         * BufferView_pimpl.C: always update scrollbar top
4843         because pasting text when we're anchored could mean we
4844         miss an update altogether
4845
4846 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * text2.C (init): use rowlist_.end() and not 0.
4849         (insertRow): change to take a RowList::iterator as arg, adjust
4850         for this.
4851         (insertParagraph): change to take a RowList::iterator as arg,
4852         adjust for this.
4853         (redoParagraphs): remove some debug msgs.
4854
4855         * text.C (appendParagraph): change to take a RowList::iterator
4856         arg, adjust for this.
4857         (breakAgain): add an assert
4858         (breakAgainOneRow): ditto
4859
4860 2003-03-29  John Levon  <levon@movementarian.org>
4861
4862         * text2.C: do not clear selection after inc/decDepth
4863         (bug 550)
4864
4865 2003-03-29  John Levon  <levon@movementarian.org>
4866
4867         * BufferView.C:
4868         * buffer.C: fix broken strerrors according to Lars
4869
4870 2003-03-29  John Levon  <levon@movementarian.org>
4871
4872         * converters.C: more Alert cleanups
4873
4874 2003-03-29  John Levon  <levon@movementarian.org>
4875
4876         * bufferview_funcs.C: remove pointless Alert
4877
4878         * buffer.C: fix confusing error message when
4879         a template is chmoded 000
4880
4881 2003-03-29  John Levon  <levon@movementarian.org>
4882
4883         * BufferView.C:
4884         * BufferView.h:
4885         * BufferView_pimpl.C: Alert fixes
4886
4887         * Makefile.am:
4888         * tabular.C:
4889         * tabular-old.C: remove unused table compat reading
4890
4891 2003-03-29  John Levon  <levon@movementarian.org>
4892
4893         * BufferView.C:
4894         * buffer.C:
4895         * lyx_cb.h:
4896         * lyx_cb.C: more Alert cleanups
4897
4898         * lyxfunc.C: don't allow chktex if not latex document
4899
4900 2003-03-29  John Levon  <levon@movementarian.org>
4901
4902         * lyx_cb.C:
4903         * BufferView.C:
4904         * buffer.C: warnings pushed down from support/,
4905         kill err_alert
4906
4907 2003-03-29  John Levon  <levon@movementarian.org>
4908
4909         * lyxfunc.C: safety check for C-r (revert)
4910
4911 2003-03-29  John Levon  <levon@movementarian.org>
4912
4913         * bufferlist.h:
4914         * bufferlist.C: several UI fixes using Alert::prompt.
4915         Fix the pointless looping quit code. Fix stupid revert
4916         behaviour (bug 938)
4917
4918         * lyxvc.h:
4919         * lyxvc.C:
4920         * lyx_cb.C: use Alert::prompt
4921
4922         * lyx_main.C: remove a silly question
4923
4924         * lyxfunc.C: remove a couple of silly questions,
4925         use Alert::prompt
4926
4927 2003-03-28  John Levon  <levon@movementarian.org>
4928
4929         * text2.C: fix bug 974 (End on empty par)
4930
4931 2003-03-28  John Levon  <levon@movementarian.org>
4932
4933         * BufferView_pimpl.C:
4934         * LyXAction.C:
4935         * lfuns.h: remove do-nothing math greek lfuns
4936
4937 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * lyxgluelength.h (isValidGlueLength): add default arg on
4940         parameter 2. Remove default arg from friend in class.
4941
4942         * lyxlength.h (isValidLength): add default arg on parameter 2.
4943         Remove default arg from friend in class.
4944
4945         * text2.C (LyXText): adjust, initialize refresh_row.
4946         (init): adjust
4947         (removeRow): adjust
4948         (insertRow): adjust
4949         (insertParagraph): adjst
4950         (redoParagraphs): adjust
4951         (fullRebreak): adjust
4952         (updateCounters): adjust
4953         (deleteEmptyParagraphMechanism): first attempt at fixing a
4954         crashing bug.
4955
4956         * text.C (top_y): adjust
4957         (setHeightOfRow): adjust
4958         (getRow): adjust
4959         (getRowNearY): adjust
4960
4961         * lyxtext.h: include RowList.h
4962         (~LyXText): not needed anymore, deleted.
4963         (firstRow): modify for RowList
4964         (lastRow): new function
4965         Delete firstrow and lastrow class variables, add a Rowlist
4966         rowlist_ class variable.
4967
4968         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4969         paragraph is empty.
4970
4971         * RowList.C (insert): fix case where it == begin().
4972
4973 2003-03-26  Angus Leeming  <leeming@lyx.org>
4974
4975         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4976         the thesaurus dialog.
4977
4978 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4981
4982         * RowList.[Ch]: new files
4983
4984         * ParagraphList.C (erase): handle the case where it == begin
4985         correctly.
4986
4987 2003-03-25  John Levon  <levon@movementarian.org>
4988
4989         * Makefile.am:
4990         * aspell_local.h:
4991         * aspell.C: add new aspell support
4992
4993         * lyxrc.h:
4994         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4995         have it accessible.
4996
4997 2003-03-25  Angus Leeming  <leeming@lyx.org>
4998
4999         * lfuns.h:
5000         * LyXAction.C (init): new LFUN_INSET_INSERT.
5001
5002         * BufferView_pimpl.C (dispatch): split out part of the
5003         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5004
5005         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5006         LFUN_INSET_APPLY.
5007
5008 2003-03-25  Angus Leeming  <leeming@lyx.org>
5009
5010         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5011
5012 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * text2.C:
5015         * text3.C: remove useless row->height(0)
5016
5017 2003-03-25  John Levon  <levon@movementarian.org>
5018
5019         * lyxtext.h:
5020         * text2.C:
5021         * text3.C: rename the refreshing stuff to better names
5022
5023 2003-03-24  John Levon  <levon@movementarian.org>
5024
5025         * BufferView_pimpl.h:
5026         * BufferView_pimpl.C: update layout choice on a mouse
5027         press/release
5028
5029 2003-03-23  John Levon  <levon@movementarian.org>
5030
5031         * Makefile.am: fix commandtags.h reference
5032
5033 2003-03-22  John Levon  <levon@movementarian.org>
5034
5035         * BufferView_pimpl.C:
5036         * lyxtext.h:
5037         * rowpainter.C:
5038         * rowpainter.h:
5039         * text.C:
5040         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5041
5042 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * lyxtext.h:
5045         * text.C: take the rtl methods out of line
5046
5047 2003-03-21 André Pönitz <poenitz@gmx.net>
5048
5049         * metricsinfo.[Ch]: new files containing structures to be passed around
5050         during the two-phase-drawing...
5051
5052 2003-03-21 André Pönitz <poenitz@gmx.net>
5053
5054         * lyxtextclass.C: read 'environment' tag.
5055
5056 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * text2.C (removeRow): fix bug 964
5059
5060 2003-03-20  John Levon  <levon@movementarian.org>
5061
5062         * rowpainter.C:
5063         * text.C:
5064         * text2.C: paint cleanups. Inset::update() dropped font
5065         parameter
5066
5067 2003-03-19  John Levon  <levon@movementarian.org>
5068
5069         * lyxfunc.C: only fitcursor/markDirty if available()
5070
5071 2003-03-19  John Levon  <levon@movementarian.org>
5072
5073         * commandtags.h: rename to ...
5074
5075         * lfuns.h: ... this, and renumber / cleanup
5076
5077 2003-03-19  John Levon  <levon@movementarian.org>
5078
5079         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5080         fit the cursor after an lfun
5081
5082         * BufferView.h:
5083         * BufferView.C:
5084         * BufferView_pimpl.h:
5085         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5086
5087         * LyXAction.C: layout-character should have ReadOnly
5088
5089         * ParagraphParameters.C:
5090         * buffer.C:
5091         * bufferview_funcs.C:
5092         * lyx_cb.C:
5093         * lyxfind.C:
5094         * lyxtext.h:
5095         * text.C:
5096         * text2.C:
5097         * text3.C:
5098         * undo_funcs.C: changes from above
5099
5100 2003-03-18  John Levon  <levon@movementarian.org>
5101
5102         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5103         remove it from update()
5104
5105         * lyxfunc.C: update layout choice after an lfun
5106
5107         * text3.C: remove extra updateLayoutChoice()s
5108
5109 2003-03-18  John Levon  <levon@movementarian.org>
5110
5111         * text.C: top_y change means full repaint, fix
5112         a drawing bug with cursor movement
5113
5114 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * lyxtext.h:
5117         * text.C:
5118         * text2.C: anchor row on setCursor
5119
5120 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * lyxtext.h: remove almost all mutable keywords
5123         * text.C:
5124         * text2.C:
5125         * text3.C: remove const keywords accordingly
5126
5127 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5130         anon namespace
5131         (TeXEnvironment): ditto
5132         (TeXOnePar): ditto
5133
5134 2003-03-17  John Levon  <levon@movementarian.org>
5135
5136         * text.C (rowBreakPoint): remove attempt to fix displayed
5137         math insets inside a manual label
5138
5139 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * lyxtext.h: remove BufferView* as first arg from almost all class
5142         functions.
5143         * other files: adjust.
5144
5145 2003-03-17  John Levon  <levon@movementarian.org>
5146
5147         * lyxtext.h:
5148         * undo_funcs.C:
5149         * text2.C: more paint cleanups
5150
5151         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5152
5153         * rowpainter.h:
5154         * rowpainter.C: remove "smart" background painting code
5155
5156 2003-03-16  John Levon  <levon@movementarian.org>
5157
5158         * lyxtext.h:
5159         * text.C:
5160         * text2.C:
5161         * text3.C: add helper functions for setting refresh_row/y
5162
5163 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5164
5165         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5166         newline inset which *can* get inserted in the pass_thru layouts.
5167         This is primarily for literate documents.
5168
5169 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5170
5171         * buffer.C: increment LYX_FORMAT to 223
5172
5173 2003-03-14 André Pönitz <poenitz@gmx.net>
5174
5175         * textclass.h: prepare for environment handling, ws changes
5176         * lyxlayout.C: read latexheader and latexfooter tags
5177
5178 2003-03-14  John Levon  <levon@movementarian.org>
5179
5180         * text2.C: rewrite ::status() a bit
5181
5182 2003-03-13  John Levon  <levon@movementarian.org>
5183
5184         * lyxtext.h: add some docs
5185
5186 2003-03-13  John Levon  <levon@movementarian.org>
5187
5188         * lyxtext.h:
5189         * text.C:
5190         * text2.C:
5191         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5192
5193 2003-03-13  John Levon  <levon@movementarian.org>
5194
5195         * text3.C: fix appendix redrawing
5196
5197 2003-03-13  John Levon  <levon@movementarian.org>
5198
5199         * text.C (setHeightOfRow):
5200         * rowpainter.h:
5201         * rowpainter.C: make appendix mark have the text
5202           "Appendix" so the user knows what it is
5203
5204         * LColor.h:
5205         * LColor.C: s/appendixline/appendix/ from above
5206
5207 2003-03-13  John Levon  <levon@movementarian.org>
5208
5209         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5210
5211         * text.C: fix a getChar(pos) bug properly
5212
5213 2003-03-13  Angus Leeming  <leeming@lyx.org>
5214
5215         * commandtags.h:
5216         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5217         Probably only temporary. Let's see how things pan out.
5218
5219         * BufferView.C (unlockInset):
5220         * BufferView_pimpl.C (fitCursor):
5221         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5222
5223         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5224         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5225
5226         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5227         new functions that convert ParagraphParameters to and from a string.
5228
5229         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5230         BufferView::Pimpl's dispatch.
5231         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5232
5233 2003-03-13 André Pönitz <poenitz@gmx.net>
5234
5235         * lyxfunc.C:
5236         * text3.C:
5237         * factory.C: make it aware of InsetEnv
5238
5239 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5240
5241         * text2.C (setCursor): never ask for one past last
5242         (setCursor): add some debugging messages.
5243
5244         * text.C (singleWidth): never ask for one past last
5245         (singleWidth): ditto
5246         (leftMargin): ditto
5247         (rightMargin): ditto
5248         (rowBreakPoint): ditto
5249         (setHeightOfRow): ditto
5250         (prepareToPrint): ditto
5251
5252         * rowpainter.C (paintBackground): never ask for one past last
5253         (paintText): never ask for one past last
5254
5255         * paragraph_pimpl.C (getChar): make the assert stricter, never
5256         allow the one past last pos to be taken
5257
5258         * paragraph.C (getChar): ws changes only
5259
5260         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5261         (numberOfSeparators): ditto
5262         (numberOfHfills): ditto
5263
5264 2003-03-12  John Levon  <levon@movementarian.org>
5265
5266         * author.h:
5267         * author.C:
5268         * bufferparams.h:
5269         * bufferparams.C:
5270         * paragraph_funcs.C: fix per-buffer authorlists
5271
5272 2003-03-12  John Levon  <levon@movementarian.org>
5273
5274         * text.C: fix newline in right address
5275
5276 2003-03-12  Angus Leeming  <leeming@lyx.org>
5277
5278         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5279         duplicate those in LyXFunc::dispatch.
5280
5281         * commandtags.h:
5282         * LyXAction.C:
5283         * ToolbarDefaults.C:
5284         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5285         Add LFUN_FONTFREE_UPDATE.
5286
5287         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5288         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5289
5290         * bufferview_func.[Ch]: several new functions to facilliate
5291         transfer of data to and from the character dialog.
5292
5293 2003-03-12  John Levon  <levon@movementarian.org>
5294
5295         * buffer.C:
5296         * paragraph.h:
5297         * paragraph.C:
5298         * paragraph_funcs.C:
5299         * paragraph_pimpl.C:
5300         * sgml.C:
5301         * tabular.C:
5302         * text.C:
5303         * text3.C: remove META_NEWLINE in favour of an inset
5304
5305         * rowpainter.h:
5306         * rowpainter.C: remove paintNewline (done by inset)
5307
5308 2003-03-12  John Levon  <levon@movementarian.org>
5309
5310         * paragraph_pimpl.C: complain about bad getChar()s
5311         for a while at least
5312
5313 2003-03-12  John Levon  <levon@movementarian.org>
5314
5315         * buffer.h:
5316         * buffer.C: move paragraph read into a separate function,
5317         a little renaming to reflect that.
5318
5319         * bufferparams.h:
5320         * bufferparams.C: remove the author_ids map, not necessary now
5321
5322         * factory.h:
5323         * factory.C: moved Buffer::readInset to here
5324
5325         * paragraph_funcs.h:
5326         * paragraph_funcs.C: readParagraph free function moved from
5327         buffer.C
5328
5329         * tabular.C: name change
5330
5331 2003-03-12  John Levon  <levon@movementarian.org>
5332
5333         * buffer.C:
5334         * ParagraphParameters.C: move par params input to
5335         a read() method
5336
5337         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5338         behave like a normal read from the stream wrt reading
5339         a line vs. a \\token
5340
5341 2003-03-12  John Levon  <levon@movementarian.org>
5342
5343         * paragraph.C:
5344         * ParagraphParameters.h:
5345         * ParagraphParameters.C: move output code to a
5346         ::write() method
5347
5348 2003-03-12  John Levon  <levon@movementarian.org>
5349
5350         * BufferView.C (insertLyXFile):
5351         * buffer.h:
5352         * buffer.C:
5353         * tabular.C: use a parlist iterator for creating the
5354           document.
5355
5356 2003-03-12  John Levon  <levon@movementarian.org>
5357
5358         * buffer.C: make current_change static local not
5359           static file-scope
5360
5361 2003-03-12  John Levon  <levon@movementarian.org>
5362
5363         * buffer.C: fix insertStringAsLines for change tracking
5364
5365 2003-03-12  John Levon  <levon@movementarian.org>
5366
5367         * BufferView.C:
5368         * tabular.C:
5369         * buffer.h:
5370         * buffer.C:
5371         * bufferparams.h:
5372         * bufferparams.C: move author list into params. Rename some
5373           functions. Move the header reading into a separate token
5374           loop. Move the header token reading into BufferParams.
5375
5376 2003-03-12  John Levon  <levon@movementarian.org>
5377
5378         * changes.C: put debug inside lyxerr.debugging() checks
5379
5380 2003-03-11 André Pönitz <poenitz@gmx.net>
5381
5382         * factory.C: make it aware of InsetHFill
5383
5384 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5385
5386         * buffer.C (latexParagraphs): move function from here...
5387         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5388         args.
5389
5390 2003-03-10  Angus Leeming  <leeming@lyx.org>
5391
5392         * LyXAction.C (init): fix bug in poplating array with multiple entries
5393         with the same LFUN (spotted by JMarc).
5394
5395 2003-03-10  John Levon  <levon@movementarian.org>
5396
5397         * text.C:
5398         * text2.C: move getColumnNearX() near its
5399         only call site
5400
5401 2003-03-10  John Levon  <levon@movementarian.org>
5402
5403         * text.C: fix break before a minipage
5404
5405 2003-03-10  John Levon  <levon@movementarian.org>
5406
5407         * text.C: fix the last commit
5408
5409 2003-03-09  John Levon  <levon@movementarian.org>
5410
5411         * lyxtext.h:
5412         * text.C:
5413         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5414         bug 365 (don't break before insets unless needed). Don't
5415         return a value > last under any circumstances.
5416
5417 2003-03-09  Angus Leeming  <leeming@lyx.org>
5418
5419         * BufferView_pimpl.C (trackChanges, dispatch): call
5420         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5421
5422 2003-03-09  Angus Leeming  <leeming@lyx.org>
5423
5424         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5425         than Dialogs::showAboutlyx().
5426
5427 2003-03-09  Angus Leeming  <leeming@lyx.org>
5428
5429         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5430         than Dialogs::showTabularCreate().
5431
5432 2003-03-09  John Levon  <levon@movementarian.org>
5433
5434         * lyxtext.h:
5435         * text.C:
5436         * text2.C: 3rd arg to nextBreakPoint was always the same.
5437           Use references.
5438
5439 2003-03-08  John Levon  <levon@movementarian.org>
5440
5441         * lyxrow.C:
5442         * paragraph.C:
5443         * paragraph.h:
5444         * rowpainter.C:
5445         * text.C:
5446         * text2.C: Remove the "main" bit from the "main body"
5447           notion.
5448
5449 2003-03-08  John Levon  <levon@movementarian.org>
5450
5451         * text.C (leftMargin): The left margin of an empty
5452         manual label paragraph should not include the label width
5453         string length.
5454
5455         * text.C (prepareToPrint): don't attempt to measure hfills
5456         for empty manual label paragraphs - the answer should be 0
5457
5458 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * CutAndPaste.C: remove commented code and reindent.
5461
5462 2003-03-08  John Levon  <levon@movementarian.org>
5463
5464         * lyxfunc.h:
5465         * lyxfunc.C: move reloadBuffer()
5466
5467         * BufferView.h:
5468         * BufferView.C: to here
5469
5470         * lyxvc.C: add comment
5471
5472         * vc-backend.h:
5473         * vc-backend.C: call bv->reload() to avoid
5474           getStatus() check on MENURELOAD
5475
5476 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5477
5478         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5479         to an old format .dep file.
5480
5481 2003-03-07  Angus Leeming  <leeming@lyx.org>
5482
5483         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5484         when the LFUN_MOUSE_RELEASE should have been handled by
5485         inset->localDispatch.
5486
5487 2003-03-07  Angus Leeming  <leeming@lyx.org>
5488
5489         * BufferView_pimpl.C (dispatch):
5490         * LyXAction.C (init):
5491         * ToolbarDefaults.C (init):
5492         * commandtags.h:
5493         * lyxfunc.C (getStatus):
5494         remove LFUN_INSET_GRAPHICS.
5495
5496         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5497
5498 2003-03-07  Angus Leeming  <leeming@lyx.org>
5499
5500         * commandtags.h:
5501         * LyXAction.C (init):
5502         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5503
5504         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5505
5506         * commandtags.h:
5507         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5508
5509         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5510         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5511
5512 2003-03-07  Angus Leeming  <leeming@lyx.org>
5513
5514         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5515         remove "ert".
5516
5517 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * ParagraphList.C (front): new function
5520         (back): implement
5521
5522 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5525         and top_row_offset_. removed var first_y.
5526         * text.C (top_y):
5527         * text2.C (LyXText, removeRow):
5528         * text3.C:
5529         * BufferView_pimpl.C:
5530         use these methods instead of using first_y
5531
5532 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * text2.C (pasteSelection): adjust for checkPastePossible
5535
5536         * CutAndPaste.C: remove Paragraph * buf and replace with
5537         ParagraphList paragraphs.
5538         (DeleteBuffer): delete
5539         (cutSelection): change the tc type to textclass_type
5540         (copySelection): change the tc type to textclass_type
5541         (copySelection): adjust for ParagraphList
5542         (pasteSelection): change the tc type to textclass_type
5543         (pasteSelection): adjust for Paragraphlist
5544         (nrOfParagraphs): simplify for ParagraphList
5545         (checkPastePossible): simplify for ParagraphList
5546         (checkPastePossible): remove unused arg
5547
5548         * ParagraphList.C (insert): handle the case where there are no
5549         paragraphs yet.
5550
5551         * CutAndPaste.h: make CutAndPaste a namespace.
5552
5553         * text3.C (dispatch): adjust
5554
5555         * text.C (breakParagraph): add a ParagraphList as arg
5556
5557         * paragraph_funcs.C (breakParagraph): change to take a
5558         BufferParams and a ParagraphList as args.
5559         (breakParagraphConservative): ditto
5560         (mergeParagraph): ditto
5561         (TeXDeeper): add a ParagraphList arg
5562         (TeXEnvironment): ditto
5563         (TeXOnePar): ditto
5564
5565         * buffer.C (readLyXformat2): adjust
5566         (insertStringAsLines): adjust
5567         (latexParagraphs): adjust
5568
5569         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5570         (cutSelection): adjust
5571         (pasteSelection): adjust
5572
5573         * BufferView_pimpl.C (insertInset): adjust
5574
5575 2003-03-05  Angus Leeming  <leeming@lyx.org>
5576
5577         * commandtags.h:
5578         * LyXAction.C (init):
5579         * BufferView_pimpl.C (dispatch):
5580         * lyxfunc.C (getStatus):
5581         remove LFUN_CHILD_INSERT.
5582
5583         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5584
5585 2003-03-05  Angus Leeming  <leeming@lyx.org>
5586
5587         * commandtags.h:
5588         * LyXAction.C (init):
5589         * src/factory.C (createInset):
5590         * lyxfunc.C (getStatus):
5591         * text3.C (dispatch):
5592         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5593
5594         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5595
5596 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * ParagraphList.C (insert): handle insert right before end()
5599         (erase): fix cases where it can be first or last paragraph.
5600
5601 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5604         Paragraph::next and Paragraph::previous
5605         (TeXOnePar): ditto
5606
5607         * text.C (breakParagraph): adjust
5608
5609         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5610         BufferParams& as arg.
5611         (breakParagraph): use ParagraphList::insert
5612         (breakParagraphConservative): take a Buffer* instead of a
5613         BufferParams& as arg.
5614         (breakParagraphConservative): use ParagraphList::insert.
5615
5616         * buffer.C (insertStringAsLines): un-const it
5617         (insertStringAsLines): adjust
5618
5619         * ParagraphList.C (insert): new function
5620
5621         * CutAndPaste.C (pasteSelection): adjust
5622
5623         * text.C (backspace): adjust
5624
5625         * tabular.C (SetMultiColumn): adjust
5626
5627         * CutAndPaste.C (cutSelection): adjust
5628         (pasteSelection): adjust
5629
5630         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5631         Buffer const * as arg
5632
5633         * ParagraphList.C (erase): new function
5634         * paragraph_funcs.C (mergeParagraph): use it
5635         (mergeParagraph): make it take a Buffer* instead of a
5636         BufferParams* as arg
5637
5638         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5639         as arg
5640         (breakParagraphConservative): ditto
5641
5642         * paragraph.h: remove the breakParagraph friend
5643
5644         * paragraph.C (eraseIntern): new function
5645         (setChange): new function
5646
5647         * paragraph_funcs.C (mergeParagraph): make it take a
5648         ParagraphList::iterator instead of a Paragraph *, adjust
5649         accordingly.
5650
5651         * paragraph.h: move an #endif so that the change tracking stuff
5652         also works in the NO_NEXT case.
5653
5654 2003-03-04  Angus Leeming  <leeming@lyx.org>
5655
5656         * commandtags.h:
5657         * LyXAction.C: new LFUN_INSET_MODIFY.
5658
5659         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5660         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5661
5662 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * several files: ws changes only
5665
5666         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5667         (TeXEnvironment): ditto
5668         (TeXDeeper): ditto
5669
5670         * buffer.C (makeLaTeXFile): adjust
5671         (latexParagraphs): make it take ParagraphList::iterator as args
5672
5673 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * buffer.C (latexParagraphs): adjust
5676
5677         * paragraph.C (TeXOnePar): move function...
5678         (optArgInset): move function...
5679         (TeXEnvironment): move function...
5680         * paragraph_pimpl.C (TeXDeeper): move function...
5681         * paragraph_funcs.C: ...here
5682
5683         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5684
5685 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * buffer.C (readInset): remove compability code for old Figure and
5688         InsetInfo insets
5689
5690 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * buffer.C: ws changes
5693         (readInset):
5694
5695         * BufferView_pimpl.C: ditto
5696         * author.C: ditto
5697         * buffer.h: ditto
5698         * bufferlist.h: ditto
5699         * changes.h: ditto
5700         * lyxfunc.C: ditto
5701
5702 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5703
5704         * converter.[Ch]: split into itself +
5705         * graph.[Ch]
5706         * format.[Ch]
5707         * Makefile.am: += graph.[Ch] + format.[Ch]
5708         * MenuBackend.C
5709         * buffer.C
5710         * exporter.C
5711         * importer.C
5712         * lyx_main.C
5713         * lyxfunc.C
5714         * lyxrc.C: added #include "format.h"
5715
5716 2003-02-27  Angus Leeming  <leeming@lyx.org>
5717
5718         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5719           a label.
5720
5721         * factory.C (createInset): add "label" to the factory.
5722
5723         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5724           string and do no more.
5725
5726 2003-02-27  Angus Leeming  <leeming@lyx.org>
5727
5728         * commandtags.h:
5729         * LyXAction.C (init):
5730         * factory.C (createInset):
5731         * BufferView_pimpl.C (dispatch):
5732           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5733
5734         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5735
5736         * lyxfunc.C (dispatch):
5737         * text3.C (dispatch): pass name to params2string.
5738
5739 2003-02-26  Angus Leeming  <leeming@lyx.org>
5740
5741         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5742           blocks together.
5743           Rearrange the ~includes. Strip out the unnecessary ones.
5744
5745         * factory.C (createInset): reformat.
5746           create new insets for the various LFUN_XYZ_APPLY lfuns.
5747
5748 2003-02-26  John Levon  <levon@movementarian.org>
5749
5750         * lyxrow.h:
5751         * lyxrow.C: add isParStart,isParEnd helpers
5752
5753         * paragraph.h: make isInserted/DeletedText take refs
5754
5755         * paragraph_funcs.h:
5756         * paragraph_funcs.C: remove #if 0'd code
5757
5758         * lyxtext.h:
5759         * text3.C:
5760         * text2.C:
5761         * text.C: use lyxrow helpers above.
5762           Move draw and paint routines to RowPainter.
5763           Make several methods use refs not pointers.
5764           Make backgroundColor() const.
5765           Add markChangeInDraw(), isInInset().
5766           Merge changeRegionCase into changeCase.
5767           Make workWidth() shouldn't-happen code into an Assert.
5768
5769         * rowpainter.h:
5770         * rowpainter.C: new class for painting a row.
5771
5772         * vspace.h:
5773         * vspace.C: make inPixels take a ref
5774
5775 2003-02-26  Angus Leeming  <leeming@lyx.org>
5776
5777         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5778         LFUN_REF_APPLY.
5779
5780 2003-02-25  John Levon  <levon@movementarian.org>
5781
5782         * ispell.C: give the forked command a more accurate name
5783
5784 2003-02-22  John Levon  <levon@movementarian.org>
5785
5786         * toc.h:
5787         * toc.C: make TocItem store an id not a Paragraph *
5788           (bug #913)
5789
5790 2003-02-21  Angus Leeming  <leeming@lyx.org>
5791
5792         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5793           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5794           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5795           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5796           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5797           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5798
5799         * BufferView_pimpl.C (dispatch):
5800         * LyXAction.C (init):
5801         * factory.C (createInset):
5802         * lyxfunc.C (getStatus, dispatch):
5803         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5804
5805 2003-02-21  Angus Leeming  <leeming@lyx.org>
5806
5807         * BufferView_pimpl.C (MenuInsertLyXFile):
5808         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5809         * lyxfunc.C (menuNew, open, doImport):
5810           no longer pass a LyXView & to fileDlg.
5811
5812 2003-02-21  Angus Leeming  <leeming@lyx.org>
5813
5814         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5815         * LyXAction.C: change, BIBKEY to BIBITEM.
5816         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5817         Change InsetBibKey to InsetBibitem.
5818         Change BIBKEY_CODE to BIBITEM_CODE.
5819         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5820         * factory.C: replace insetbib.h with insetbibitem.h.
5821         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5822         * paragraph.C: replace insetbib.h with insetbibitem.h.
5823         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5824         Change bibkey() to bibitem().
5825         * text.C: remove insetbib.h.
5826         * text2.C: replace insetbib.h with insetbibitem.h.
5827         change bibkey() to bibitem().
5828         * text3.C: remove insetbib.h.
5829         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5830
5831 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5832
5833         * lyxrc.C (output): enclose user email in quotes (in case there are
5834         several words)
5835
5836 2003-02-18  John Levon  <levon@movementarian.org>
5837
5838         * buffer.h: add std::
5839
5840 2003-02-17  John Levon  <levon@movementarian.org>
5841
5842         * SpellBase.h:
5843         * ispell.h:
5844         * ispell.C:
5845         * pspell.h:
5846         * pspell.C: reworking. Especially in ispell, a large
5847           number of clean ups and bug fixes.
5848
5849         * lyxfunc.C: fix revert to behave sensibly
5850
5851 2003-02-17 André Pönitz <poenitz@gmx.net>
5852
5853         * LyXAction.C:
5854         * commandtags.h: new LFUN_INSERT_BIBKEY
5855
5856         * layout.h:
5857         * lyxlayout.C:
5858         * buffer.C:
5859         * factory.C:
5860         * text.C:
5861         * text2.C:
5862         * text3.C:
5863         * paragraph.[Ch]:
5864         * paragraph_func.C: remove special bibkey handling
5865
5866 2003-02-17  John Levon  <levon@movementarian.org>
5867
5868         * text.C (Delete): fix case where delete at the end of
5869           the very first paragraph would not merge the pars
5870
5871 2003-02-17  John Levon  <levon@movementarian.org>
5872
5873         * lyxrow.C: fix lastPrintablePos()
5874
5875 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5876
5877         * bufferparams.C (writeLaTeX): add a std:here
5878
5879         * buffer.C: and remove a using directive there
5880
5881 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5882
5883         * buffer.C (makeLaTeXFile): move the code that generates the
5884           preamble...
5885
5886         * bufferparams.C (writeLaTeX): ... in this new method
5887
5888         * LaTeXFeatures.C (getEncodingSet): make const
5889           (getLanguages): make const
5890
5891         * MenuBackend.C (binding): returns the binding associated to this
5892           action
5893           (add): sets the status of each item by calling getStatus. Adds
5894           some intelligence.
5895           (read): add support for OptSubMenu
5896           (expand): remove extra separator at the end of expanded menu
5897
5898 2003-02-15  John Levon  <levon@movementarian.org>
5899
5900         * BufferView.C:
5901         * BufferView_pimpl.C:
5902         * bufferlist.h:
5903         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5904           inset code that had no actual effect. Remove unneeded status
5905           code.
5906
5907 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5908
5909         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5910           in preamble
5911
5912 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5913
5914         * text.C (drawLengthMarker): also draw an arrow marker for
5915           symbolic lengths (medskip...)
5916
5917 2003-02-14  John Levon  <levon@movementarian.org>
5918
5919         * tabular.h:
5920         * tabular.C: better method names
5921
5922 2003-02-14  John Levon  <levon@movementarian.org>
5923
5924         * BufferView_pimpl.C:
5925         * bufferlist.C:
5926         * buffer.C:
5927         * converter.C:
5928         * lyx_cb.C:
5929         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5930           it's a more accurate name. Remove some pointless uses.
5931
5932 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5933
5934         * text2.C (LyXText): change order of initilizers to shut off
5935           warnings
5936
5937 2003-02-14  John Levon  <levon@movementarian.org>
5938
5939         * buffer.C: use ParIterator for getParFromID()
5940
5941         * paragraph.h:
5942         * paragraph.C:
5943         * paragraph_pimpl.h:
5944         * paragraph_pimpl.C: remove unused getParFromID()
5945
5946 2003-02-14  John Levon  <levon@movementarian.org>
5947
5948         * buffer.C: remove some very old #if 0'd parse code
5949
5950 2003-02-13  John Levon  <levon@movementarian.org>
5951
5952         * text.h:
5953         * text.C:
5954         * text2.C: move hfillExpansion(), numberOfSeparators(),
5955           rowLast(), rowLastPrintable(), numberofHfills(),
5956           numberOfLabelHfills() ...
5957
5958         * lyxrow.h:
5959         * lyxrow.C: ... to member functions here.
5960
5961         * paragraph.h:
5962         * paragraph.C:
5963         * lyxtext.h:
5964         * text.C: remove LyXText::beginningOfMainBody(), and call
5965           p->beginningOfMainBody() directly. Move the check for
5966           LABEL_MANUAL into the latter.
5967
5968         * text.h:
5969         * text.C:
5970         * text2.C:
5971         * vspace.C:
5972         * BufferView.h:
5973         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5974
5975         * text.h:
5976         * text.C:
5977         * text2.C:
5978         * text3.C:
5979         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5980           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5981
5982 2003-02-13  John Levon  <levon@movementarian.org>
5983
5984         * CutAndPaste.C: remove debug
5985
5986 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5987
5988         * paragraph.C (asString): remove two unused variables
5989
5990         * lyxtextclass.C (readTitleType):
5991           (Read):
5992           (LyXTextClass): handle new members titletype_ and titlename_
5993
5994         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5995
5996 2003-02-09  John Levon  <levon@movementarian.org>
5997
5998         * buffer.h:
5999         * buffer.C: replace hand-coded list with a map for the dep clean
6000
6001 2003-02-08  John Levon  <levon@movementarian.org>
6002
6003         * LaTeX.C: consolidate code into showRunMessage() helper
6004
6005 2003-02-08  John Levon  <levon@movementarian.org>
6006
6007         * lyxfind.C:
6008         * lyxtext.h:
6009         * text2.C:
6010         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6011           and pass the size in explicitly
6012
6013         * BufferView_pimpl.h:
6014         * BufferView_pimpl.C:
6015         * BufferView.h:
6016         * BufferView.C: add getCurrentChange()
6017
6018         * BufferView_pimpl.h:
6019         * BufferView_pimpl.C: handle change lfuns
6020
6021         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6022           for changes. Mark pasted paragraphs as new.
6023
6024         * support/lyxtime.h:
6025         * support/lyxtime.C:
6026         * DepTable.C: abstract time_t as lyx::time_type
6027
6028         * LColor.h:
6029         * LColor.C: add colours for new text, deleted text, changebars
6030
6031         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6032           package use "usenames" option.
6033
6034         * commandtags.h:
6035         * lyxfunc.C:
6036         * LyXAction.C: add change lfuns
6037
6038         * Makefile.am:
6039         * author.h:
6040         * author.C: author handling
6041
6042         * buffer.h:
6043         * buffer.C: add a per-buffer author list, with first entry as
6044           current author. Handle new .lyx tokens for change tracking. Output
6045           author list to .lyx file. Output dvipost stuff to .tex preamble.
6046           Bump lyx format to 222.
6047
6048         * bufferlist.h:
6049         * bufferlist.C: add setCurrentAuthor() to reset current author details
6050           in all buffers.
6051
6052         * bufferparams.h:
6053         * bufferparams.C: add param for tracking
6054
6055         * bufferview_funcs.C: output change info in minibuffer
6056
6057         * Makefile.am:
6058         * changes.h:
6059         * changes.C: add change-tracking structure
6060
6061         * debug.h:
6062         * debug.C: add CHANGES debug flag
6063
6064         * lyxfind.h:
6065         * lyxfind.C: add code for finding the next change piece
6066
6067         * lyxrc.h:
6068         * lyxrc.C: add user_name and user_email
6069
6070         * lyxrow.h:
6071         * lyxrow.C: add a metric for the top of the text line
6072
6073         * lyxtext.h:
6074         * text.C: implement accept/rejectChange()
6075
6076         * lyxtext.h:
6077         * text.C: paint changebars. Paint new/deleted text in the chosen
6078         colours. Strike through deleted text.
6079
6080         * paragraph.h:
6081         * paragraph.C:
6082         * paragraph_pimpl.h:
6083         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6084           in the current change to the insert functions. Rework erase to
6085           mark text as deleted, adding an eraseIntern() and a range-based
6086           erase(). Implement per-paragraph change lookup and
6087           accept/reject.
6088
6089         * paragraph_funcs.C: Fixup paste for change tracking.
6090
6091         * tabular.C: mark added row/columns as new.
6092
6093         * text.C: fix rowLast() to never return -1. Don't allow
6094           spellchecking of deleted text. Track transpose changes. Don't
6095           allow paragraph break or merge where appropriate.
6096
6097         * text2.C: leave cursor at end of selection after a cut.
6098
6099 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6100
6101         * text.C (getLengthMarkerHeight):
6102         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6103         visible on screen too.
6104
6105 2003-02-07  John Levon  <levon@movementarian.org>
6106
6107         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6108
6109 2003-02-05  Angus Leeming  <leeming@lyx.org>
6110
6111         * lyxserver.C (read_ready): revert my patch of 11 September last year
6112         as it sends PC cpu through the roof. Presumably this means that
6113         the lyxserver will no longer run on an Alpha...
6114
6115 2003-01-30  Angus Leeming  <leeming@lyx.org>
6116
6117         * factory.C (createInset): create an InsetCommandParam of type "index"
6118         and use it to 'do the right thing'.
6119
6120         * text2.C (getStringToIndex): ensure that cursor position is always
6121         reset to the reset_cursor position.
6122
6123 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6124
6125         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6126         disabled.
6127
6128 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6129
6130         * bufferview.C:
6131         * lyxcb.C:
6132         * lyxfunc.C: Output messages with identical spelling, punctuation,
6133         and spaces
6134
6135 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6136
6137         * MenuBackend.C (expandFormats): List only viewable export formats
6138         in "View" menu
6139
6140         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6141         message
6142
6143         * lyxfunc.C (getStatus): Make sure that formats other than
6144         "fax" can also be disabled
6145
6146 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6147
6148         * text3.C (dispatch): put the lfuns that insert insets in 3
6149         groups, and call doInsertInset with appropriate arguments.
6150         (doInsertInset): new function, that creates an inset and inserts
6151         it according to some boolean parameters.
6152
6153 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * buffer.C (readFile): remember to pass on 'par' when calling
6156         readFile recursively.
6157
6158 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6159
6160         * MenuBackend.C (expandFormats): add "..." to import formats.
6161
6162 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6163
6164         * paragraph.C (asString): Remove XForms RTL hacks.
6165
6166 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6167         * buffer.C: fix typo
6168
6169 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * Makefile.am (LIBS): delete var
6172         (lyx_LDADD): add @LIBS@ here instead.
6173
6174 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6175
6176         * Clarify the meaning of "wheel mouse jump"
6177
6178 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6179
6180         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6181         tabular in a float
6182
6183 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6184
6185         * importer.C (Loaders): do not preallocate 3 elements in the
6186         vector, since one ends up with 6 elements otherwise
6187
6188 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6189
6190         * DepTable.C (write): write the file name as last element of the
6191         .dep file (because it may contain spaces)
6192         (read): read info in the right order
6193
6194 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6195
6196         * paragraph_pimpl.C (simpleTeXBlanks):
6197         (simpleTeXSpecialChars):
6198         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6199
6200         * tabular.C (latex): add some missing case statements. Reindent.
6201
6202         * MenuBackend.C (expandToc): remove unused variable.
6203
6204 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6205
6206         * LColor.C:
6207         * LaTeX.C:
6208         * LyXAction.C:
6209         * MenuBackend.C:
6210         * buffer.C:
6211         * exporter.C:
6212         * lyxfunc.C:
6213         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6214         and the like.
6215
6216 2003-01-05  John Levon  <levon@movementarian.org>
6217
6218         * BufferView.h:
6219         * BufferView.C: add getEncoding()
6220
6221         * kbsequence.h:
6222         * kbsequence.C: do not store last keypress
6223
6224         * lyxfunc.h:
6225         * lyxfunc.C: store last keypress here instead. Pass encoding
6226           to getISOEncoded()
6227
6228 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6229
6230         * lyx_main.C (init): remove annoying error message when following
6231         symbolic links (bug #780)
6232
6233 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6234
6235         * text.C (insertChar):
6236         * lyxrc.C (getDescription): remove extra spaces
6237
6238 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6239
6240         * lyxrc.C (getDescription): remove extra spaces
6241
6242 2002-12-20  John Levon  <levon@movementarian.org>
6243
6244         * text3.C: hack fix for page up/down across tall rows
6245
6246 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6247
6248         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6249         not been invoked
6250
6251 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6252
6253         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6254         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6255         thesaurus is not compiled in
6256
6257 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6258
6259         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6260
6261 2002-12-16  Angus Leeming  <leeming@lyx.org>
6262
6263         * lyxrc.[Ch]:
6264         * lyx_main.C (init): remove override_x_deadkeys stuff.
6265
6266 2002-12-12  John Levon  <levon@movementarian.org>
6267
6268         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6269           insert. Only remove shift modifier under strict
6270           circumstances.
6271
6272 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6273
6274         * MenuBackend.C (expandToc): fix crash.
6275
6276 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * MenuBackend.C (expandToc): gettext on float names.
6279
6280 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6281
6282         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6283         implement bool empty() [bug 490]
6284
6285 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6288
6289 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * several files: ws changes
6292
6293 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * text2.C (setCounter): clean up a bit, use boost.format.
6296         (updateCounters): initialize par upon declaration.
6297
6298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6299         if the layout exists. We do not just store the layout any more.
6300         (SwitchLayoutsBetweenClasses): use boost.format
6301
6302 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6303
6304         * converter.C (convert): if from and to files are the same, use a
6305         temporary files as intermediary
6306
6307 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6308
6309         * commandtags.h:
6310         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6311
6312 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6313
6314         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6315
6316 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * tabular.C (asciiPrintCell): use string(size, char) instead of
6319         explicit loop.
6320
6321         * sgml.C (openTag): fix order of arguments to string constructor
6322         (closeTag): ditto
6323
6324         * lyxfunc.C (dispatch): use boost.format
6325
6326         * lots of files: change "c" -> 'c'
6327
6328 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6329
6330         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6331
6332 2002-11-25  Angus Leeming  <leeming@lyx.org>
6333
6334         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6335
6336         * lyx_main.C (init): compile fix.
6337
6338 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * lyx_cb.C (start): boost.formatify
6341         do not include <iostream>
6342
6343         * lengthcommon.C: ws only
6344
6345         * boost-inst.C,BoostFormat.h: add more explict instantations
6346
6347 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * lots of files: handle USE_BOOST_FORMAT
6350
6351 2002-11-21  John Levon  <levon@movementarian.org>
6352
6353         * pspell.C: fix compile
6354
6355 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6356
6357         * lyxfunc.C (dispatch): use boost::format
6358         (open): ditto
6359         (doImport): ditto
6360
6361         * lyxfont.C (stateText): use boost::format
6362
6363         * lyx_main.C (LyX): use boost::format
6364         (init): ditto
6365         (queryUserLyXDir): ditto
6366         (readRcFile): ditto
6367         (parse_dbg): ditto
6368         (typedef boost::function): use the recommened syntax.
6369
6370         * importer.C (Import): use boost::format
6371
6372         * debug.C (showLevel): use boost::format
6373
6374         * converter.C (view): use boost::format
6375         (convert): ditto
6376         (move): ditto
6377         (scanLog): ditto
6378
6379         * bufferview_funcs.C (currentState): use boost::format
6380
6381         * bufferlist.C (emergencyWrite): use boost::format
6382
6383         * buffer.C (readLyXformat2): use boost::format
6384         (parseSingleLyXformat2Token): ditto
6385
6386         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6387
6388         * LaTeX.C (run): use boost::format
6389
6390         * Chktex.C (scanLogFile): use boost::format
6391
6392         * BufferView_pimpl.C (savePosition): use boost::format
6393         (restorePosition): ditto
6394         (MenuInsertLyXFile): ditto
6395
6396         * BoostFormat.h: help file for explicit instation.
6397
6398 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6399
6400         * tabular.C (latex): Support for block alignment in fixed width
6401         columns.
6402
6403 2002-11-17  John Levon  <levon@movementarian.org>
6404
6405         * BufferView_pimpl.C:
6406         * lyx_cb.C:
6407         * lyxfunc.C: split filedialog into open/save
6408
6409 2002-11-08  Juergen Vigna  <jug@sad.it>
6410
6411         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6412         by my last patch (hopefully).
6413
6414 2002-11-08  John Levon  <levon@movementarian.org>
6415
6416         * iterators.h:
6417         * iterators.C:
6418         * buffer.h:
6419         * buffer.C:
6420         * paragraph.h:
6421         * paragraph.C:
6422         * toc.h:
6423         * toc.C: ParConstIterator, and use it (from Lars)
6424
6425 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6426
6427         * lyxtextclass.[Ch]: revise and add doxygen comments
6428
6429 2002-11-07  John Levon  <levon@movementarian.org>
6430
6431         * text.C: fix progress value for spellchecker
6432
6433         * toc.C: fix navigate menu for insetwrap inside minipage
6434
6435         * paragraph_funcs.C: added FIXME for suspect code
6436
6437 2002-11-07  John Levon  <levon@movementarian.org>
6438
6439         * BufferView_pimpl.C: fix redrawing of insets
6440           on buffer switch
6441
6442 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6443
6444         * text2.C (updateCounters): fix bug 668
6445
6446 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6447
6448         * text3.C (dispatch): Do not make the buffer dirty when moving the
6449         cursor.
6450
6451 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * vc-backend.C: STRCONV
6454         (scanMaster): ditto
6455
6456         * text2.C (setCounter): STRCONV
6457
6458         * paragraph.C (asString): STRCONV
6459
6460         * lyxlength.C (asString): STRCONV
6461         (asLatexString): ditto
6462
6463         * lyxgluelength.C (asString): STRCONV
6464         (asLatexString): ditto
6465
6466         * lyxfunc.C (dispatch): STRCONV
6467         (open): ditto
6468
6469         * lyxfont.C (stateText): STRCONV
6470
6471         * importer.C (Import): STRCONV
6472
6473         * counters.C (labelItem): STRCONV
6474         (numberLabel): ditto
6475         (numberLabel): remove unused ostringstream o
6476
6477         * chset.C: STRCONV
6478         (loadFile): ditto
6479
6480         * bufferview_funcs.C (currentState): STRCONV
6481
6482         * buffer.C (readFile): STRCONV
6483         (asciiParagraph): ditto
6484         (makeLaTeXFile): ditto
6485
6486         * Spacing.C (writeEnvirBegin): STRCONV
6487
6488         * LaTeXFeatures.C (getLanguages): STRCONV
6489         (getPackages): ditto
6490         (getMacros): ditto
6491         (getBabelOptions): ditto
6492         (getTClassPreamble): ditto
6493         (getLyXSGMLEntities): ditto
6494         (getIncludedFiles): ditto
6495
6496         * LaTeX.C: STRCONV
6497         (run): ditto
6498         (scanAuxFile): ditto
6499         (deplog): ditto
6500
6501         * LString.h: add the STRCONV macros
6502
6503         * BufferView_pimpl.C (savePosition): STRCONV
6504         (restorePosition): ditto
6505         (MenuInsertLyXFile): ditto
6506
6507         * vc-backend.C (scanMaster): change from submatch[...] to
6508         submatch.str(...)
6509
6510         * funcrequest.C: include config.h
6511
6512         * factory.C: include config.h
6513
6514         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6515
6516         * box.C: include config.h
6517
6518         * LaTeX.C (scanAuxFile): change from submatch[...] to
6519         submatch.str(...)
6520         (deplog): ditto
6521
6522 2002-10-25  Angus Leeming  <leeming@lyx.org>
6523
6524         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6525
6526         * ispell.[Ch] (setError): new method.
6527         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6528         Use setError() insetead of goto END.
6529
6530         * lyx_cb.C (AutoSave): move out child process into new class
6531         AutoSaveBuffer.
6532
6533 2002-10-30  John Levon  <levon@movementarian.org>
6534
6535         * text3.C: make start appendix undoable
6536
6537 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6538
6539         * lyxlength.C (inPixels): Fix returned value.
6540
6541         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6542         environment.
6543
6544 2002-10-24  Angus Leeming  <leeming@lyx.org>
6545
6546         * lyxgluelength.h: no need to forward declare BufferParams
6547         or BufferView, so don't.
6548
6549 2002-10-21  John Levon  <levon@movementarian.org>
6550
6551         * BufferView.C: menuUndo ->undo, redo
6552
6553         * BufferView.h: document, remove dead, make some methods private
6554
6555         * paragraph_funcs.h:
6556         * paragraph_funcs.C:
6557         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6558
6559         * buffer.h:
6560         * buffer.C:
6561         * sgml.h:
6562         * sgml.C: move sgml open/close tag into sgml.C
6563
6564         * bufferview_funcs.h: unused prototype
6565
6566         * lyxfunc.h:
6567         * lyxfunc.C: remove unused
6568
6569         * lyxtext.h:
6570         * text.C: remove unused
6571
6572 2002-10-21  John Levon  <levon@movementarian.org>
6573
6574         * BufferView.h:
6575         * BufferView.C:
6576         * BufferView_pimpl.h:
6577         * BufferView_pimpl.C: fix mouse wheel handling based on
6578           patch from Darren Freeman
6579
6580 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6581
6582         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6583
6584 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6585
6586         * lyxlength.C (inPixels): Fix hanfling of negative length.
6587         Fix LyXLength::MU case.
6588
6589 2002-10-16  John Levon  <levon@movementarian.org>
6590
6591         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6592
6593 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6594
6595         * converter.C (view): add support for $$i (file name) and $$p
6596         (file path) for the viewer command. If $$i is not specified, then
6597         it is appended to the command (for compatibility with old syntax)
6598
6599 2002-10-14  Juergen Vigna  <jug@sad.it>
6600
6601         * undo_funcs.C (textHandleUndo): alter the order in which the
6602         new undopar is added to the LyXText, as we have to set first
6603         the right prev/next and then add it as otherwise the rebuild of
6604         LyXText is not correct. Also reset the cursor to the right paragraph,
6605         with this IMO we could remove the hack in "redoParagraphs()".
6606
6607 2002-10-09  Angus Leeming  <leeming@lyx.org>
6608
6609         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6610         to turn off an optimisation if a new inset is to be inserted.
6611
6612 2002-10-11 André Pönitz <poenitz@gmx.net>
6613
6614         * lyxtext.h: make some functions public to allow access
6615         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6616
6617 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6618
6619         * text3.C (dispatch): when changing layout, avoid an infinite loop
6620         [bug #652]
6621
6622 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6623
6624         * lyxrc.C (read): treat a viewer or converter command of "none" as
6625         if it were empty.
6626
6627         * MenuBackend.C (expandFormats): for an update, also allow the
6628         formats that are not viewable
6629
6630         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6631         script if it is newer than the lyxrc.defaults in user directory
6632
6633 2002-10-07 André Pönitz <poenitz@gmx.net>
6634
6635         * text.C: Vitaly Lipatov's small i18n fix
6636
6637 2002-09-25  Angus Leeming  <leeming@lyx.org>
6638
6639         * ispell.h: doxygen fix.
6640
6641 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6642
6643         * buffer.h (readFile): Add a new argument to the method, to allow
6644         reading of old-format templates.
6645
6646 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6647
6648         * toc.C (getTocList): Get TOC from InsetWrap.
6649
6650 2002-09-16  John Levon  <levon@movementarian.org>
6651
6652         * lyxfunc.C: check tabular for cut/copy too
6653
6654 2002-09-12  John Levon  <levon@movementarian.org>
6655
6656         * LyXAction.C: tidy
6657
6658         * factory.h:
6659         * factory.C: add header
6660
6661         * paragraph_funcs.h:
6662         * paragraph_funcs.C: cleanup
6663
6664 2002-09-11  John Levon  <levon@movementarian.org>
6665
6666         * PrinterParams.h: odd/even default to true
6667
6668 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6669
6670         * PrinterParams.h: update printer parameters for new xforms dialog
6671
6672 2002-09-11  Angus Leeming  <leeming@lyx.org>
6673
6674         * lyxserver.C (read_ready): re-write to make it more transparent
6675         and to make it work in coherent fashion under Tru64 Unix.
6676
6677 2002-09-11  André Pönitz <poenitz@gmx.net>
6678
6679         * commandtags.h:
6680         * LyXAction.C:
6681         * text3.C: implement LFUN_WORDSEL
6682
6683 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6686         make floatlist_ a boost::shared_ptr<FloatList>
6687
6688         * lyxtextclass.C: include FloatList.h
6689         (LyXTextClass): initialize floatlist_
6690         (TextClassTags): add TC_NOFLOAT
6691         (Read): match "nofloat" to TC_NOFLOAT and use it.
6692         (readFloat): modify call to floatlist_
6693         (floats): ditto
6694         (floats): ditto
6695
6696         * FloatList.[Ch] (FloatList): remove commented out float
6697         initialization.
6698         (erase): new function
6699
6700 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6701
6702         * MenuBackend.C (expandToc): fix crash when there is no document
6703         open
6704
6705 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6706
6707         * many files: Add insetwrap.
6708
6709 2002-09-09  John Levon  <levon@movementarian.org>
6710
6711         * text2.C: remove confusing and awkward depth wraparound
6712
6713 2002-09-09  John Levon  <levon@movementarian.org>
6714
6715         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6716
6717         * buffer.h:
6718         * buffer.C: remove getIncludeonlyList()
6719
6720         * paragraph.C:
6721         * lyxfunc.C: remove headers
6722
6723 2002-09-09  Juergen Vigna  <jug@sad.it>
6724
6725         * text.C (getColumnNearX): fix form Michael this is most
6726         probably a cut&paste bug.
6727
6728 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6731
6732         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6733         references, ws changes.
6734
6735         * text2.C (init): update counters after init
6736         (insertParagraph): no need to set counter on idividual paragraphs.
6737         (setCounter): access the counters object in the textclass object
6738         on in the buffer object.
6739         (updateCounters): ditto
6740
6741         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6742         shared_ptr<Counters> to avoid loading counters.h in all
6743         compilation units.
6744         (LyXTextClass): initialize ctrs_
6745         (TextClassTags): add TC_COUNTER, and ...
6746         (Read): use it here.
6747         (CounterTags): new tags
6748         (readCounter): new function
6749         (counters): new funtion
6750         (defaultLayoutName): return a const reference
6751
6752         * counters.C (Counters): remove contructor
6753         (newCounter): remove a couple of unneeded statements.
6754         (newCounter): simplify a bit.
6755         (numberLabel): some small formatting changes.
6756
6757         * buffer.[Ch]: remove all traces of counters, move the Counters
6758         object to the LyXTextClass.
6759
6760 2002-09-06  Alain Castera  <castera@in2p3.fr>
6761
6762         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6763         package to set the horizontal alignment on fixed width columns.
6764
6765         * lyx_sty.C:
6766         * lyx_sty.h: added tabularnewline macro def.
6767
6768         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6769
6770 2002-09-06  John Levon  <levon@movementarian.org>
6771
6772         * LyXAction.C: tooltips for sub/superscript
6773
6774         * MenuBackend.C: a bit more verbose
6775
6776         * lyxfunc.C: tiny clean
6777
6778         * undo_funcs.C: document undo_frozen
6779
6780 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * counters.C (Counters): add missing algorithm counter.
6783
6784         * text2.C (setCounter): lookup the counter with layouts latexname
6785         instead of by section number.
6786         (setCounter): use a hackish way to lookup the correct enum
6787         counter.
6788         a float name->type change
6789         reset enum couners with counter name directly instead of depth value.
6790
6791         * counters.C (Counters): remove the push_backs, change to use the
6792         float type not the float name.
6793         (labelItem): remove unused string, float name->type change
6794
6795         * counters.h: don't include vector, loose the enums and sects vectors
6796
6797 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6800         (Read): add float->TC_FLOAT to textclassTags
6801         (Read): and handle it in the switch
6802         (readFloat): new function
6803
6804         * FloatList.C (FloatList): comment out the hardcoded float
6805         definitions.
6806
6807         * lyxlayout.h: ws change.
6808
6809 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6810
6811         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6812
6813 2002-09-03  Angus Leeming  <leeming@lyx.org>
6814
6815         * BufferView_pimpl.h: qualified name is not allowed in member
6816         declaration: WorkArea & Pimpl::workarea() const;
6817
6818         * factory.C: added using std::endl directive.
6819
6820         * text3.C: added using std::find and std::vector directives.
6821
6822 2002-08-29  André Pönitz <poenitz@gmx.net>
6823
6824         * lyxtext.h:
6825         * text2.C: remove unused member number_of_rows
6826
6827         * Makefile.am:
6828         * BufferView2.C: remove file, move contents to...
6829         * BufferView.C: ... here
6830
6831         * BufferView_pimpl.C:
6832         * factory.C: move more inset creation to factory
6833
6834         * vspace.C: avoid direct usage of LyXText, ws changes
6835
6836         * BufferView.[Ch]:
6837                 don't provide direct access to WorkArea, use two simple
6838                 acessors haveSelction() and workHeight() instead
6839
6840
6841 2002-08-29  John Levon  <levon@movementarian.org>
6842
6843         * BufferView_pimpl.C (dispatch): do not continue when
6844           no buffer
6845
6846 2002-08-28  André Pönitz <poenitz@gmx.net>
6847
6848         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6849
6850         * BufferView.h:
6851         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6852
6853 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6854
6855         * buffer.C: increment LYX_FORMAT to 221
6856
6857         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6858         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6859
6860         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6861
6862         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6863
6864 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6865
6866         * factory.C (createInset): use LyXTextClass::floats
6867
6868         * MenuBackend.C (expandFloatListInsert):
6869         (expandFloatInsert):
6870         (expandToc):
6871
6872         * text2.C (setCounter):
6873
6874         * LaTeXFeatures.C (useFloat):
6875         (getFloatDefinitions):
6876
6877         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6878
6879         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6880         floatlist_, with accessor floats().
6881
6882         * FloatList.h: remove global FloatList
6883
6884 2002-08-26  André Pönitz <poenitz@gmx.net>
6885
6886         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6887
6888         * BufferView.h:
6889         * BufferView2.C:
6890         * BufferView_pimpl.C:
6891         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6892
6893 2002-08-25  John Levon  <levon@movementarian.org>
6894
6895         * LyXAction.C: fix margin note description
6896
6897 2002-08-24  John Levon  <levon@movementarian.org>
6898
6899         * buffer.C:
6900         * bufferlist.C:
6901         * bufferview_funcs.C:
6902         * lyxfont.C:
6903         * undo_funcs.C: cleanups
6904
6905         * lyxfunc.C: disable CUT/COPY when no selection
6906
6907 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6908
6909         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6910         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6911
6912         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6913         Add backward compatibility to "mono", "gray" and "no".
6914
6915 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6916
6917         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6918         (and file_format >= 200).
6919
6920 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6921
6922         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6923
6924 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6925
6926         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6927
6928 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6929
6930         * BufferView_pimpl.C:
6931         * LyXAction.C:
6932         * buffer.C:
6933         * commandtags.h:
6934         * lyxfunc.C:
6935         * paragraph.[Ch]:
6936         * text2.C:
6937         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6938         inset and code to make it  work with the paragraph code. The inset
6939         can be anywhere in the paragraph, but will only do the expected
6940         thing in LaTeX if the layout file contains the parameter line
6941                         OptionalArgs    1
6942         (or more generally, a nonzero value) for that layout.
6943
6944 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * paragraph.h: remove the declaration of undefined counters class
6947         function.
6948
6949 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6950
6951         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6952         Dr. Richard Hawkins.
6953
6954 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6955
6956         * paragraph_funcs.h: remove some unneeded includes
6957
6958         * text.C (backspace): pasteParagraph now in global scipe
6959
6960         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6961         (pasteSelection): ditto
6962
6963         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6964         * paragraph_funcs.C (pasteParagraph): ... here
6965
6966 2002-08-20  André Pönitz <poenitz@gmx.net>
6967
6968         * commandtags.h: new LFUNs for swapping/copying table row/colums
6969
6970         * LyXAction.C:
6971         * lyxfunc.C: support for new lfuns
6972
6973 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * tabular.C:
6976         * buffer.[Ch]: remove NO_COMPABILITY stuff
6977
6978 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * boost.C (throw_exception): new file, with helper function for
6981         boost compiled without exceptions.
6982
6983         * paragraph.h:
6984         * lyxlength.C:
6985         * buffer.C:
6986         * ParameterStruct.h:
6987         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6988
6989         * bufferlist.C (emergencyWriteAll): use boost bind
6990
6991         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6992
6993         * text.C: include paragraph_funcs.h
6994         (breakParagraph): breakParagraph is now in global scope
6995
6996         * paragraph_funcs.[Ch]: new files
6997
6998         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6999         global scope
7000
7001         * buffer.C: include paragraph_funcs.h
7002         (insertStringAsLines): breakParagraph is now in global scope
7003
7004         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7005         paragraph_funcs.C
7006
7007         * CutAndPaste.C: include paragraph_funcs.h
7008         (cutSelection): breakParagraphConservative is now in global scope
7009         (pasteSelection): ditto
7010
7011         * buffer.h: declare oprator== and operator!= for
7012         Buffer::inset_iterator
7013
7014         * bufferlist.C (emergencyWrite): don't use fmt(...)
7015
7016         * text3.C: add using std::endl
7017
7018         * BufferView.C (moveCursorUpdate): remove default arg
7019
7020 2002-08-20  André Pönitz <poenitz@gmx.net>
7021
7022         * buffer.[Ch]: move inline functions to .C
7023
7024         * BufferView2.C:
7025         * BufferView_pimpl.C:
7026         * text.C:
7027         * buffer.[Ch]: use improved inset_iterator
7028
7029         * buffer.C:
7030         * paragraph.[Ch]: write one paragraph at a time
7031
7032 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7033
7034         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7035         style if style is not specified.
7036
7037 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7038
7039         * text2.C (setCounter): when searching for right label for a
7040         caption, make sure to recurse to parent insets (so that a caption
7041         in a minipage in a figure float works) (bug #568)
7042
7043 2002-08-20  André Pönitz <poenitz@gmx.net>
7044
7045         * text3.C: new file for LyXText::dispatch() and helpers
7046
7047         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7048
7049         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7050
7051 2002-08-19  André Pönitz <poenitz@gmx.net>
7052
7053         * lyxtext.h:
7054         * text.C: new LyXText::dispatch()
7055
7056         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7057
7058 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7059
7060         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7061
7062         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7063         Hebrew text.
7064
7065 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7066
7067         * Makefile.am: use $(variables) instead of @substitutions@
7068
7069 2002-08-15  André Pönitz <poenitz@gmx.net>
7070
7071         * lyxfunc.C:
7072         * BufferView_pimpl.C: streamlining mathed <-> outer world
7073         interaction
7074
7075         * commandtags.h:
7076         * LyXAction.C: remove unused LFUN_MATH
7077
7078 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7081
7082 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * paragraph.C (Paragraph): reformat a bit
7085         (cutIntoMinibuffer): use builtin InsetList function instad of
7086         doing it manually.
7087         (getInset): ditto
7088
7089         * buffer.C: include boost/bind.hpp, add using std::for_each
7090         (writeFileAscii): use ParagraphList iterators
7091         (validate): use for_each for validate traversal of paragraphs
7092         (getBibkeyList): use ParagraphList iterators
7093         (resizeInsets): use for_each to resizeInsetsLyXText for all
7094         paragraphs.
7095         (getParFromID): use ParagraphList iterators
7096
7097         * BufferView2.C (lockInset): use paragraph list and iterators
7098
7099 2002-08-14  John Levon  <levon@movementarian.org>
7100
7101         * lyxserver.C: remove spurious xforms include
7102
7103 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7104
7105         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7106
7107 2002-08-13  André Pönitz <poenitz@gmx.net>
7108
7109         * LyXAction.[Ch]:
7110         * lyxfunc.C: further cleaning
7111
7112 2002-08-13  André Pönitz <poenitz@gmx.net>
7113
7114         * funcrequest.h: new constructor
7115
7116         * funcrequest.C: move stuff here from .h
7117
7118         * Makefile.am:
7119         * BufferView_pimpl.C:
7120         * LyXAction.C:
7121         * toc.C:
7122         * lyxfunc.C: subsequent changes
7123
7124         * lyxfunc.h: new view() member function
7125
7126         * lyxfunc.C: subsequent changes
7127
7128 2002-08-13  Angus Leeming  <leeming@lyx.org>
7129
7130         * BufferView2.C:
7131         * BufferView_pimpl.C:
7132         * buffer.C:
7133         * converter.C:
7134         * importer.C:
7135         * lyxfunc.C:
7136         * lyxvc.C:
7137         * toc.C:
7138         * vc-backend.C:
7139         changes due to the changed LyXView interface that now returns references
7140         to member variables not pointers.
7141
7142 2002-08-13  Angus Leeming  <leeming@lyx.org>
7143
7144         * WordLangTuple (word, lang_code): return references to strings,
7145         not strings.
7146
7147         * BufferView.h:
7148         * SpellBase.h:
7149         * lyxtext.h: forward-declare WordLangTuple.
7150
7151         * BufferView2.C:
7152         * ispell.C:
7153         * pspell.C:
7154         * text.C: #include "WordLangTuple.h".
7155
7156         * lyxtext.h:
7157         * text.C: (selectNextWordToSpellcheck): constify return type.
7158
7159 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7160
7161         * buffer.C:
7162         * buffer.h:
7163         * lyxtext.h:
7164         * paragraph.C:
7165         * paragraph_pimpl.h:
7166         * text.C:
7167         * text2.C:
7168         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7169         suggested by Angus.
7170         Made updateCounter always count from start of buffer, and removed
7171         second argument (par).
7172         Reverted floats number display to '#'. Perhaps I'll try again when the
7173         code base is sanitized a bit.
7174
7175 2002-08-12  Angus Leeming  <leeming@lyx.org>
7176
7177         * buffer.[Ch] (getLabelList): constify.
7178
7179 2002-08-07  André Pönitz <poenitz@gmx.net>
7180
7181         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7182
7183         * funcrequest.h: extension to keep mouse (x,y) position
7184
7185 2002-08-12  Juergen Vigna  <jug@sad.it>
7186
7187         * BufferView2.C (insertErrors): forbid undo when inserting error
7188         insets.
7189
7190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7191
7192 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7193
7194         * ParagraphList.[Ch]: new files
7195
7196         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7197
7198         * BufferView2.C (lockInset): ParagraphList changes
7199         * toc.C: ditto
7200         * text2.C: ditto
7201         * bufferlist.C: ditto
7202         * buffer.h: ditto
7203         * buffer.C: ditto
7204
7205 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7208         unused class variable counter_,
7209
7210         * paragraph.[Ch] (getFirstCounter): delete unused function
7211
7212         * counters.C: include LAssert.h
7213         (reset): add a new function with no arg, change other version to
7214         not have def. arg and to not allow empty arg.
7215
7216         * text2.C (setCounter): remove empty arg from call to Counters::reset
7217
7218 2002-08-11  John Levon  <levon@movementarian.org>
7219
7220         * Makefile.am: add WordLangTuple.h
7221
7222 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7225         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7226
7227         * insets/insettext.C: InsetList changes
7228
7229         * graphics/GraphicsSupport.C (operator()): InsetList changes
7230
7231         * toc.C (getTocList): InsetList changes
7232
7233         * paragraph_pimpl.[Ch]: InsetList changes
7234
7235         * paragraph.[Ch]: InsetList changes
7236
7237         * buffer.C (inset_iterator): InsetList changes
7238         (setParagraph): ditto
7239         * buffer.h (inset_iterator): ditto
7240         * iterators.C (operator++): ditto
7241         * iterators.h: ditto
7242
7243         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7244
7245         * InsetList.[Ch]: new files, most InsetList handling moved out of
7246         paragraph.C.
7247
7248         * BufferView2.C (removeAutoInsets): InsetList changes
7249         (lockInset): ditto
7250         (ChangeInsets): ditto
7251
7252 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * paragraph_pimpl.h (empty): new function
7255
7256         * paragraph.[Ch] (empty): new function
7257
7258         * other files: use the new Paragraph::empty function
7259
7260 2002-08-09  John Levon  <levon@movementarian.org>
7261
7262         * lyxtext.h: remove unused refresh_height
7263
7264 2002-08-09  John Levon  <levon@movementarian.org>
7265
7266         * Makefile.am:
7267         * sgml.h:
7268         * sgml.C:
7269         * buffer.C:
7270         * paragraph.h:
7271         * paragraph.C: move sgml char escaping out of paragraph
7272
7273         * paragraph.h:
7274         * paragraph.C: remove id setter
7275
7276         * buffer.C:
7277         * paragraph.C:
7278         * paragraph_pimpl.C: remove dead tex_code_break_column
7279
7280         * bufferview_funcs.C: small cleanup
7281
7282         * lyxfunc.C: remove dead proto
7283
7284         * lyxtext.h: make some stuff private. Remove some dead stuff.
7285
7286         * lyxgluelength.C: make as[LyX]String() readable
7287
7288 2002-08-08  John Levon  <levon@movementarian.org>
7289
7290         * LyXAction.h:
7291         * LyXAction.C:
7292         * MenuBackend.C:
7293         * ToolbarDefaults.C:
7294         * lyxfunc.C:
7295         * lyxrc.C:
7296         * toc.C: lyxaction cleanup
7297
7298 2002-08-08  John Levon  <levon@movementarian.org>
7299
7300         * BufferView2.C: small cleanup
7301
7302         * lyxfind.h:
7303         * lyxfind.C: move unnecessary header into the .C
7304
7305 2002-08-08  John Levon  <levon@movementarian.org>
7306
7307         * funcrequest.h: just tedious nonsense
7308
7309         * lyx_main.h:
7310         * lyx_main.C: cleanups
7311
7312         * buffer.C:
7313         * vspace.C: remove dead header lyx_main.h
7314
7315 2002-08-07  Angus Leeming  <leeming@lyx.org>
7316
7317         * Paragraph.[Ch]:
7318         * paragraph_pimpl.h:
7319         Forward declare class Counters in paragraph.h by moving the ctrs member
7320         variable into Paragraph::Pimpl.
7321         (counters): new method, returning a reference to pimpl_->ctrs.
7322
7323         * text2.C: ensuing changes.
7324
7325 2002-08-07  John Levon  <levon@movementarian.org>
7326
7327         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7328
7329         * BufferView_pimpl.C: announce X selection on double/triple
7330           click
7331
7332         * lyx_main.C: use correct bool in batch dispatch
7333
7334         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7335
7336 2002-08-07  André Pönitz <poenitz@gmx.net>
7337
7338         * funcrequest.h: new class to wrap a kb_action and its argument
7339
7340         * BufferView.[Ch]:
7341         * BufferView_pimpl[Ch]:
7342         * LaTeX.C:
7343         * LyXAction.[Ch]:
7344         * lyxfunc.[Ch]:
7345         * lyxrc.C: subsequent changes
7346
7347
7348 2002-08-07  John Levon  <levon@movementarian.org>
7349
7350         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7351           document options change.
7352
7353 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7354
7355         * counters.[Ch]
7356         * text2.C
7357         * paragraph.[Ch]
7358         * makefile.am: move counters functionality over from
7359         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7360
7361 2002-08-06  John Levon  <levon@movementarian.org>
7362
7363         * WordLangTuple.h: new file for word + language code tuple
7364
7365         * SpellBase.h:
7366         * pspell.h:
7367         * pspell.C:
7368         * ispell.h:
7369         * ispell.C:
7370         * lyxtext.h:
7371         * text.C:
7372         * text2.C:
7373         * BufferView.h:
7374         * BufferView2.C: use WordLangTuple
7375
7376         * layout.h:
7377         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7378
7379 2002-08-06  John Levon  <levon@movementarian.org>
7380
7381         * lyx_main.C: fix cmdline batch handling
7382
7383 2002-08-06  André Pönitz <poenitz@gmx.net>
7384
7385         * lyxrc.C: set default for show_banner to true
7386
7387 2002-08-06  John Levon  <levon@movementarian.org>
7388
7389         * pspell.C: fix a crash, and allow new aspell to work
7390
7391 2002-08-06  John Levon  <levon@movementarian.org>
7392
7393         * lyxfunc.C:
7394         * kbmap.C: small cleanup
7395
7396         * vspace.h:
7397         * vspace.C: add const
7398
7399 2002-08-05  John Levon  <levon@movementarian.org>
7400
7401         * LyXAction.C: back to tabular-insert
7402
7403 2002-08-04  John Levon  <levon@movementarian.org>
7404
7405         * BufferView.h:
7406         * BufferView.C: cosmetic change
7407
7408         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7409
7410         * bufferlist.C:
7411         * buffer.h:
7412         * buffer.C:
7413         * lyxcb.h:
7414         * lyxcb.C:
7415         * lyxserver.C:
7416         * lyxvc.C:
7417         * vc-backend.C:
7418         * BufferView2.C: purge all "Lyx" not "LyX" strings
7419
7420         * lyxcursor.h:
7421         * lyxcursor.C: attempt to add some documentation
7422
7423         * lyxfunc.C:
7424         * commandtags.h:
7425         * LyXAction.C:
7426         * ToolbarDefaults.C:
7427         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7428           merge with LFUN_TABULAR_INSERT
7429
7430         * Makefile.am:
7431         * SpellBase.h:
7432         * ispell.h:
7433         * ispell.C:
7434         * pspell.h:
7435         * pspell.C: split up i/pspell implementations into separate
7436           files, many cleanups
7437
7438         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7439
7440         * text2.C: some cleanup
7441
7442         * lyxfunc.C: don't check for isp_command == "none" any more, it
7443           didn't make any sense
7444
7445 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7446
7447         * counters.[Ch]
7448         * text2.C
7449         * paragraph.[Ch]
7450         * makefile.am: move counters functionality over
7451         from text2.C/paragraph.[Ch] to counters.[Ch], and
7452         make proper C++.
7453 2002-08-02  John Levon  <levon@movementarian.org>
7454
7455         * buffer.C: s/lyxconvert/lyx2lyx/
7456
7457 2002-08-02  Angus Leeming  <leeming@lyx.org>
7458
7459         * lyxlex.C: revert John's change as it breaks reading of the user
7460         preamble.
7461
7462 2002-08-02  Angus Leeming  <leeming@lyx.org>
7463
7464         * importer.C (Import):
7465         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7466         changes due to LyXView::view() now returning a boost::shared_ptr.
7467
7468 2002-08-02  John Levon  <levon@movementarian.org>
7469
7470         * lyxlex.C: small cleanup
7471
7472 2002-08-02  John Levon  <levon@movementarian.org>
7473
7474         * text2.C (status): small cleanup, no logic change
7475
7476 2002-08-01  John Levon  <levon@movementarian.org>
7477
7478         * buffer.h:
7479         * buffer.C (writeFile): don't output alerts, caller
7480           handles this
7481
7482         * bufferlist.C:
7483         * lyx_cb.C: from above
7484
7485         * lyxfunc.C: allow to open non-existent files
7486
7487 2002-07-31  John Levon  <levon@movementarian.org>
7488
7489         * lyxserver.C: don't let incidental errors get
7490           in the way (errno)
7491
7492 2002-07-30  John Levon  <levon@movementarian.org>
7493
7494         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7495
7496 2002-07-30  John Levon  <levon@movementarian.org>
7497
7498         * lyxserver.h:
7499         * lyxserver.C: remove I/O callback too
7500
7501 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7502
7503         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7504         log.
7505
7506 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * many files: strip,frontStrip -> trim,ltrim,rtrim
7509
7510 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * PrinterParams.h: remove extern containsOnly, and include
7513         support/lstrings.h instead.
7514
7515         * LaTeX.C (scanAuxFile): modify because of strip changes
7516         (deplog): ditto
7517         * buffer.C (makeLaTeXFile): ditto
7518         * bufferparams.C (writeFile): ditt
7519         * lyxfont.C (stateText): ditto
7520         * lyxserver.C (read_ready): ditto
7521         * vc-backend.C (scanMaster): ditto
7522
7523         * BufferView_pimpl.h: ws changes
7524
7525         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7526
7527 2002-07-26  André Pönitz <poenitz@gmx.net>
7528
7529         * kb_sequence.C: remove unnedred usings
7530
7531 2002-07-26  Juergen Vigna  <jug@sad.it>
7532
7533         * lyxfind.C (LyXReplace): we have to check better if the returned
7534         text is not of theLockingInset()->getLockingInset().
7535
7536 2002-07-25  Juergen Vigna  <jug@sad.it>
7537
7538         * lyxfind.C (LyXReplace): don't replace if we don't get the
7539         right LyXText.
7540
7541         * undo_funcs.C (createUndo): remove debugging code.
7542
7543 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7544
7545         * buffer.C (parseSingleLyXformat2Token): Use default placement
7546         when reading old floats.
7547
7548         * FloatList.C (FloatList): Change the default placement of figure
7549         and tables to "tbp".
7550
7551 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * MenuBackend.C: using std::max
7554
7555 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7556
7557         * MenuBackend.C (expandToc):
7558         (expandToc2): code moved from xforms menu frontend. It is now
7559         generic and TOCs are transparent to menu frontends.
7560
7561 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7562
7563         * toc.C (getTocList): protect against buf=0
7564
7565         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7566         Menu as first parameter. Now, this calls itself recursively to
7567         expand a whole tree (this will be useful for TOC handling)
7568         (expandFloatInsert): remove 'wide' version of floats
7569
7570         * MenuBackend.h (submenuname): returns the name of the submenu.
7571         (submenu): returns the submenu itself, provided it has been
7572         created by MenuBackend::expand
7573
7574 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7575
7576         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7577         insets which have noFontChange == true. (bug #172)
7578
7579 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7580
7581         * BufferView_pimpl.C: add connection objects and use them...
7582         (Pimpl): here.
7583
7584 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7585
7586         * MenuBackend.C (expandLastfiles):
7587         (expandDocuments):
7588         (expandFormats):
7589         (expandFloatListInsert):
7590         (expandFloatInsert):
7591         (expand): split expand in parts
7592
7593 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7594
7595         * lyx_gui.C: use lyx_gui::exit()
7596
7597 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7598
7599         * LyXAction.C: show the failing pseudo action
7600
7601 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7602
7603         * buffer.C (readFile): Run the lyxconvert script in order to read
7604         old files.
7605
7606 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7607
7608         * LyXAction.C:
7609         * commandtags.h:
7610         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7611
7612 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * LyXAction.C:
7615         * commandtags.h:
7616         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7617
7618 2002-07-22  Herbert Voss  <voss@lyx.org>
7619
7620         * lengthcommon.C:
7621         * lyxlength.[Ch]: add support for the vertical lengths
7622
7623 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7624
7625         * toc.[Ch]: std:: fixes
7626
7627 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7628
7629         * lyxrc.C: do not include lyx_main.h
7630
7631         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7632         for layouts
7633
7634         * lyxrc.C:
7635         * encoding.C:
7636         * bufferlist.C:
7637         * BufferView2.C: include "lyxlex.h"
7638
7639         * tabular.h:
7640         * bufferparams.h: do not #include "lyxlex.h"
7641
7642         * lyxtextclasslist.C (Add): remove method
7643         (classlist): renamed to classlist_
7644
7645         * paragraph_pimpl.C:
7646         * paragraph.C:
7647         * text2.C:
7648         * CutAndPaste.C:
7649         * bufferview_funcs.C:
7650         * bufferlist.C:
7651         * text.C:
7652         * LaTeXFeatures.C:
7653         * buffer.C:
7654         * toc.C (getTocList): use BufferParams::getLyXTextClass
7655
7656         * toc.C (getTocList): use InsetFloat::addToToc
7657
7658         * toc.[Ch]: new files, containing helper functions to handle table
7659         of contents
7660
7661         * lyxfunc.C (dispatch): no need to remove spaces around command
7662         given as a string
7663         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7664         first command of the sequence; it is not very clever, but I do not
7665         have a better idea, actually
7666
7667         * LyXAction.C (LookupFunc): make sure to remove space at the
7668         beginning and end of the command
7669
7670 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7671
7672         * MenuBackend.C (getMenubar): new method: return the menubar of
7673         this menu set
7674         (read): treat differently reading of menu and menubar (in
7675         particular, the menubar has no name now)
7676         (Menu::menubar): remove
7677
7678         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7679         saving is finished
7680
7681 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7682
7683         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7684         a bibitem inset in a RTL paragraph.
7685
7686 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7687
7688         * paragraph_pimpl.C: constify
7689
7690         * BufferView_pimpl.C:
7691         * LaTeX.C:
7692         * lyxfunc.C: fix dispatch in a nicer way
7693
7694 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7695
7696         * lyxfunc.C (dispatch):
7697         * BufferView_pimpl.C:
7698         * BufferView_pimpl.h:
7699         * BufferView.C:
7700         * BufferView.h: rename Dispatch() to dispatch()
7701
7702         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7703
7704         * lyxlayout.C (Read): honor DependsOn tag
7705
7706         * lyxlayout.[Ch] (depends_on): new method
7707
7708         * version.C.in: update lyx_docversion
7709
7710         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7711
7712         * paragraph.C (validate): remove from here...
7713         * paragraph_pimpl.C (validate): ... and move here
7714         (isTextAt): make it const
7715
7716         * buffer.C (getLists): ws cleanup
7717
7718 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7719
7720         * language.C (read): Use iso8859-1 encoding in latex_lang
7721         (this prevents LyX from crashing when using iso10646-1 encoding).
7722
7723 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * text2.C (toggleInset): if cursor is inside an inset, close the
7726         inset and leave cursor _after_ it
7727
7728 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * lyxfunc.C: move minibuffer completion handling out of here
7731
7732 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7733
7734         * BufferView_pimpl.C:
7735         * LaTeX.C: fix dispatch calls
7736
7737 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7738
7739         * text.C (drawChars): Fix Arabic text rendering.
7740
7741 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * LyXAction.C:
7744         * commandtags.h:
7745         * lyxfunc.C: remove message-push/pop
7746
7747         * lyxserver.C:
7748         * lyxfunc.h:
7749         * lyxfunc.C: rationalise some code by removing verboseDispatch
7750           in favour of a bool argument to dispatch()
7751
7752 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * lyx_main.C (init): make sure to read symlinks as absolute paths
7755
7756 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7757
7758         * lyxfunc.h:
7759         * lyxfunc.C: no need for commandshortcut to be a member
7760
7761 2002-07-15  André Pönitz <poenitz@gmx.net>
7762
7763         * converter.C: add support for $$s (scripts from lib/scripts dir)
7764         * lyx_main.C: white space
7765
7766 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7767
7768         * bufferlist.C:
7769         * lyxrc.h:
7770         * lyxrc.C: remove second exit confirmation
7771
7772 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7773
7774         * BufferView.h:
7775         * BufferView.C:
7776         * BufferView2.C:
7777         * BufferView_pimpl.h:
7778         * BufferView_pimpl.C:
7779         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7780
7781 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7782
7783         * MenuBackend.C (expand): add numeric shortcuts to document menu
7784
7785         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7786
7787 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7788
7789         * lyxfont.C (setLyXFamily):
7790         (setLyXSeries):
7791         (setLyXShape):
7792         (setLyXSize):
7793         (setLyXMisc):
7794         (lyxRead):
7795         * debug.C (value):
7796         * buffer.C (asciiParagraph): use ascii_lowercase
7797
7798 2002-07-15  Mike Fabian  <mfabian@suse.de>
7799
7800         * lyxlex_pimpl.C (search_kw):
7801         * lyxlex.C (getLongString):
7802         * converter.h (operator<):
7803         * converter.C (operator<):
7804         * buffer.C (parseSingleLyXformat2Token):
7805         (asciiParagraph):
7806         * ToolbarDefaults.C (read):
7807         * MenuBackend.C (checkShortcuts):
7808         (read):
7809         * LColor.C (getFromGUIName):
7810         (getFromLyXName): use the compare_ascii_no_case instead of
7811         compare_no_case, because in turkish, 'i' is not the lowercase
7812         version of 'I', and thus turkish locale breaks parsing of tags.
7813
7814 2002-07-16  Angus Leeming  <leeming@lyx.org>
7815
7816         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7817         now takes a Buffer const & argument.
7818
7819 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * BufferView.C (resize): check there's a buffer to resize
7822
7823 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7824
7825         * lyxfunc.C: remove dead code
7826
7827         * lyxserver.h:
7828         * lyxserver.C: use lyx_guii::set_read_callback
7829
7830 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7833         an inset in a RTL paragraph.
7834
7835 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * lyxfunc.C: repaint after a font size update
7838
7839 2002-07-15  André Pönitz <poenitz@gmx.net>
7840
7841         * lyxlength.C: inBP should be able to return negative values
7842
7843 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * lyxfunc.C: use lyx_gui::update_fonts()
7846
7847 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7848
7849         * lyxfunc.C: use lyx_gui::update_color()
7850
7851 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * bufferlist.C:
7854         * lyxfunc.h:
7855         * lyxfunc.C:
7856         * lyxrc.h:
7857         * lyxrc.C: remove file->new asks for name option, and let
7858           buffer-new take an argument
7859
7860 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * BufferView_pimpl.C: remove unneeded extra repaint()
7863
7864 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7865
7866         * LyXAction.C: allow command-sequence with NoBuffer
7867
7868         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7869
7870 2002-07-10  Angus Leeming  <leeming@lyx.org>
7871
7872         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7873
7874 2002-07-09  Angus Leeming  <leeming@lyx.org>
7875
7876         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7877
7878 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7879
7880         * lengthcommon.h: whitespace
7881
7882         * lyxfunc.C: update scrollbar after goto paragraph
7883
7884         * lyxtext.h: factor out page break drawing, and fix it so
7885           page break/added space paints as selected nicely
7886
7887 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7888
7889         * BufferView_pimpl.C: add FIXMEs, clean up a little
7890
7891 2002-07-09  André Pönitz <poenitz@gmx.net>
7892
7893         * lyxfont.[Ch]: support for wasy symbols
7894
7895 2002-07-08  André Pönitz <poenitz@gmx.net>
7896
7897         * BufferView_pimpl.C: apply John's patch for #93.
7898
7899 2002-07-05  Angus Leeming  <leeming@lyx.org>
7900
7901         * BufferView_pimpl.C (buffer): generate previews if desired.
7902
7903         * LColor.h: add "preview" to the color enum.
7904
7905         * LColor.C (LColor): add a corresponding entry to the items array.
7906
7907         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7908         with this buffer.
7909
7910 2002-07-05  Angus Leeming  <leeming@lyx.org>
7911
7912         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7913         The body of the code is now in the method that is passed an ostream &
7914         rather than a file name.
7915         Pass an additional only_preamble parameter, useful for the forthcoming
7916         preview stuff.
7917
7918 2002-07-03  André Pönitz <poenitz@gmx.net>
7919
7920         * lyxfunc.C: simplify getStatus() a bit for math stuff
7921
7922 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7925
7926 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7927
7928         * text.C (changeRegionCase): do not change case of all the
7929         document when region ends at paragraph end (bug #461)
7930
7931 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7932
7933         * paragraph.C (startTeXParParams):
7934         (endTeXParParams): add \protect when necessary
7935
7936 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7937
7938         * BufferView_pimpl.C (workAreaExpose): remove warning
7939
7940 2002-06-27  Angus Leeming  <leeming@lyx.org>
7941
7942         * Makefile.am: add lyxlayout_ptr_fwd.h.
7943
7944 2002-06-26  André Pönitz <poenitz@gmx.net>
7945
7946         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7947
7948 2002-06-25  Angus Leeming  <leeming@lyx.org>
7949
7950         * lyxfunc.C (dispatch): Comment out the call to
7951         grfx::GCache::changeDisplay. The method no longer exists now that the
7952         pixmap generation part of the graphics loader has been moved into
7953         InsetGraphics.
7954
7955 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7956
7957         * text2.C: layout as layout
7958
7959         * text.C: layout as layout
7960
7961         * tabular.C (OldFormatRead): layout as layout
7962
7963         * paragraph_pimpl.C (TeXDeeper): layout as layout
7964         (realizeFont): layout as layout
7965
7966         * paragraph.C (writeFile): layout as layout
7967         (validate): layout as layout
7968         (getFont): layout as layout
7969         (getLabelFont): layout as layout
7970         (getLayoutFont): layout as layout
7971         (breakParagraph): layout as layout
7972         (stripLeadingSpaces): layout as layout
7973         (getEndLabel): layout as layout
7974         (getMaxDepthAfter): layout as layout
7975         (applyLayout): layout as layout
7976         (TeXOnePar): layout as layout
7977         (simpleTeXOnePar): layout as layout
7978         (TeXEnvironment): layout as layout
7979         (layout): layout as layout
7980         (layout): layout as layout
7981
7982         * lyxtextclass.C (compare_name): new functor to work with
7983         shared_ptr, layout as layout
7984         (Read): layout as layout
7985         (hasLayout): layout as layout
7986         (operator): layout as layout
7987         (delete_layout): layout as layout
7988         (defaultLayout): layout as layout
7989
7990         * lyxlayout_ptr_fwd.h: new file
7991
7992         * lyxlayout.C (Read): layout as layout
7993
7994         * lyx_cb.C (MenuInsertLabel): layout as layout
7995
7996         * bufferlist.C (newFile): layout as layout
7997
7998         * buffer.C (readLyXformat2): layout as layout
7999         (parseSingleLyXformat2Token): layout as layout
8000         (insertStringAsLines): layout as layout
8001         (asciiParagraph): layout as layout
8002         (latexParagraphs): layout as layout
8003         (makeLinuxDocFile): layout as layout
8004         (simpleLinuxDocOnePar): layout as layout
8005         (makeDocBookFile): layout as layout
8006         (simpleDocBookOnePar): layout as layout
8007         (getLists): layout as layout
8008
8009         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8010
8011         * CutAndPaste.C (cutSelection): layout as layout
8012         (pasteSelection): layout as layout
8013         (SwitchLayoutsBetweenClasses): layout as layout
8014
8015         * BufferView_pimpl.C (Dispatch): layout as layout
8016         (smartQuote): layout as layout
8017
8018         * BufferView2.C (unlockInset): layout as layout
8019
8020 2002-06-24  André Pönitz <poenitz@gmx.net>
8021
8022         * lyxfunc.C: fix #487
8023
8024 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * lyxrc.h:
8027         * lyxrc.C:
8028         * lyxfunc.C: remove display_shortcuts, show_banner
8029
8030 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8031
8032         * Buffer_pimpl.C: oops, update on resize
8033
8034 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8035
8036         * buffer.C:
8037         * converter.C:
8038         * exporter.C:
8039         * lyxfunc.C:
8040         * BufferView.h:
8041         * BufferView.C: use repaint()
8042
8043         * BufferView_pimpl.h:
8044         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8045           as it's a clearer description. Remove superfluous
8046           redraws.
8047
8048 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * text.C: fix bug 488. Not ideal, but getting
8051           getWord() to work properly for the insets that
8052           matter is more difficult ...
8053
8054 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * BufferView_pimpl.C:
8057         * LyXAction.C:
8058         * commandtags.h:
8059         * lyxfunc.C: remove the six million index lyxfuncs to just
8060           one, and DTRT (bug 458)
8061
8062 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * BufferView.h:
8065         * BufferView.C:
8066         * BufferView_pimpl.h:
8067         * BufferView_pimpl.C: clean up resize() stuff,
8068           and unnecessary updateScreen()s
8069
8070 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * BufferView.h:
8073         * BufferView.C:
8074         * BufferView_pimpl.h:
8075         * BufferView_pimpl.C:
8076         * lyxfind.h:
8077         * lyxfind.C:
8078         * minibuffer.C: remove focus management of workarea,
8079           not needed. Use screen's greyOut()
8080
8081 2002-06-17  Herbert Voss  <voss@lyx.org>
8082
8083         * converter.C: (convert) do not post a message, when converting
8084         fails, let the calling function decide what to do in this case
8085
8086 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * lyxfunc.C: tidy up a little
8089
8090 2002-06-16    <alstrup@diku.dk>
8091
8092         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8093         Got rid of FORMS_H_LOCATION include. Now we are
8094         GUII.
8095
8096 2002-06-15  LyX Development team  <lyx@rilke>
8097
8098         * buffer.[Ch] (sgmlOpenTag):
8099         (sgmlCloseTag): Added support for avoiding pernicious mixed
8100         content. Return number of lines written.
8101
8102         (makeLinuxDocFile):
8103         (makeDocBookFile): Fixed calls to sgml*Tag.
8104         Simple white space clean.
8105
8106         (simpleDocBookOnePar): Simple white space clean.
8107
8108         * tabular.[Ch] (docBook): Renamed to docbook and got another
8109         argument to related with the pernicious mixed content.
8110
8111         (docbookRow): Fixed calls for docbook inset method.
8112
8113 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8114
8115         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8116         so it's X11 independent.
8117
8118         * kb*.[Ch]: ditto.
8119
8120         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8121
8122 2002-06-15  Lyx Development team  <lyx@electronia>
8123
8124         * intl.h: Renamed getTrans to getTransManager.
8125
8126 2002-06-14  Angus Leeming  <leeming@lyx.org>
8127
8128         * Makefile.am: nuke forgotten stl_string_fwd.h.
8129
8130 2002-06-12  Angus Leeming  <leeming@lyx.org>
8131
8132         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8133
8134 2002-06-13  Angus Leeming  <leeming@lyx.org>
8135
8136         * LaTeX.C:
8137         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8138
8139 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8140
8141         * kbmap.C (getiso): add support for cyrillic and greek
8142
8143 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * BufferView.h:
8146         * BufferView.C:
8147         * BufferView_pimpl.h:
8148         * BufferView_pimpl.C: move bogus scrolling logic
8149           to xforms
8150
8151 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * lyxfunc.C:
8154         * BufferView_pimpl.C: view->resize() change
8155
8156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * BufferView_pimpl.C: topCursorVisible
8159           prototype change
8160
8161 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8162
8163         * Makefile.am:
8164         * lyx_gui.h:
8165         * lyx_gui.C: move to frontends/
8166
8167         * main.C:
8168         * lyx_main.h:
8169         * lyx_main.C: changes from above
8170
8171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * intl.C:
8174         * intl.h:
8175         * kbmap.C:
8176         * kbsequence.C:
8177         * lyx_cb.C:
8178         * lyx_main.C: minor tidy
8179
8180 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * BufferView_pimpl.h:
8183         * BufferView_pimpl.C:
8184         * BufferView.h:
8185         * BufferView.C: make painter() const,
8186           remove dead code
8187
8188         * BufferView2.C: use screen() accessor
8189
8190         * lyx_main.h:
8191         * lyx_main.C: some minor cleanup
8192
8193 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * BufferView_pimpl.h:
8196         * BufferView_pimpl.C: remove enter/leaveView,
8197           use workHeight()
8198
8199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8200
8201         * BufferView.h:
8202         * BufferView.C:
8203         * BufferView2.C:
8204         * BufferView_pimpl.h:
8205         * BufferView_pimpl.C: only construct screen once,
8206           rename
8207
8208         * lyxrc.C: remove pointless comment
8209
8210 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * BufferView.h:
8213         * BufferView.C: remove active() and belowMouse()
8214
8215         * BufferView_pimpl.h:
8216         * BufferView_pimpl.C: use workarea() not workarea_,
8217           and make it use a scoped_ptr instead
8218
8219 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * lyx_gui.C: add debug message on BadWindow
8222
8223 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * sp_spell.C: fdopen is not part of the C++ standard.
8226
8227         * paragraph.C (InsetIterator): use >= instead of ==
8228
8229 2002-06-07  Angus Leeming  <leeming@lyx.org>
8230
8231         Fixes needed to compile with Compaq cxx 6.5.
8232         * BufferView_pimpl.C:
8233         * DepTable.C:
8234         * buffer.C:
8235         * converter.C:
8236         * encoding.C:
8237         * lyx_gui.C:
8238         * lyx_main.C:
8239         * lyxtextclasslist.C:
8240         * minibuffer.C:
8241         * sp_spell.C:
8242         * tabular_funcs.C:
8243         * vc-backend.C:
8244         all c-library variables have been moved into namespace std. Wrap
8245         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8246
8247         * lyxlength.C:
8248         * tabular-old.C:
8249         * tabular.C:
8250         Add a using std::abs declaration.
8251
8252         * kbmap.h (modifier_pair):
8253         * paragraph.h (InsetTable, InsetList):
8254         * lyxfont.h (FontBits):
8255         type definition made public.
8256
8257         * bufferlist.C (emergencyWriteAll): the compiler complains that
8258         there is more than one possible lyx::class_fun template to choose from.
8259         I re-named the void specialisation as lyx::void_class_fun.
8260
8261         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8262
8263         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8264         the compiler is is unable to find tostr in write_attribute.
8265
8266 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * buffer.C (sgmlError): hide #warning
8269
8270 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * xtl/*: get rid of xtl, which is not in use anyway
8273
8274         * LyXAction.C (init):
8275         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8276         were unimplemented xtl experimentation
8277
8278 2002-06-04  André Pönitz <poenitz@gmx.net>
8279
8280         * lyxfunc.C: disable array operation on simple formulae
8281
8282 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * converter.C: constify a bit
8285
8286 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8287
8288         * lyx_gui.C: check xforms version correctly
8289
8290 2002-04-30  Herbert Voss  <voss@lyx.org>
8291
8292         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8293         "keep" option
8294
8295 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8296
8297         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8298           attempt to register it with a VCS)
8299
8300 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8301
8302         * lyx_main.C (init): honor variables LYX_DIR_13x and
8303         LYX_USERDIR_13x
8304
8305 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8306
8307         * buffer.h:
8308         * buffer.C:
8309         * lyx_main.C: fix a crash on bad command line,
8310           and give a useful exit status on error
8311
8312         * lyxfunc.C (doImport): allow -i lyx to work
8313
8314 2002-03-30  André Pönitz <poenitz@gmx.net>
8315
8316         * lyxfunc.C: mathed font changes
8317
8318 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * LaTeX.C:
8321         * importer.h:
8322         * importer.C:
8323         * lyx_sty.h:
8324         * lyx_sty.C:
8325         * lyxlex.C:
8326         * lyxrow.h:
8327         * lyxtext.h:
8328         * paragraph.h:
8329         * paragraph.C:
8330         * texrow.h:
8331         * texrow.C:
8332         * text.C:
8333         * trans_mgr.h: srcdocs, and some minor cleanups
8334
8335 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8336
8337         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8338         call getFont all the time)
8339
8340 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8341
8342         * switch from SigC signals to boost::signals
8343
8344 2002-05-29  André Pönitz <poenitz@gmx.net>
8345
8346         * paragraph_pimpl.C (getChar): don't call size() too often...
8347
8348 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8349
8350         * paragraph_pimpl.C (insertChar): do not try to update tables when
8351         appending (pos == size())
8352
8353         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8354         in order to reduce drastically the number of comparisons needed to
8355         parse a large document
8356
8357 2002-05-29  André Pönitz <poenitz@gmx.net>
8358
8359         * text.C:
8360         * text2.C:
8361         * lyxtextclass.C:
8362         * sp_pspell.h:
8363         * textclasslist.[Ch]:
8364         * sp_ispell.h: whitespace change
8365
8366 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8367
8368         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8369         lyxaction directly now.
8370
8371 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * trans.C:
8374         * lyxfont.C:
8375         * lyxvc.C: remove unused headers
8376
8377 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8378
8379         * Makefile.am:
8380         * buffer.h:
8381         * undostack.h:
8382         * undostack.C:
8383         * undo_funcs.h:
8384         * undo_funcs.C: some cleanups. Use shared_ptr
8385           and a template for the undo stacks.
8386
8387 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8388
8389         * BufferView_pimpl.h:
8390         * BufferView_pimpl.C:
8391         * kbmap.h:
8392         * kbmap.C:
8393         * kbsequence.h:
8394         * kbsequence.C:
8395         * lyxfunc.h:
8396         * lyxfunc.C:
8397         * text2.C: use key_state/mouse_state
8398
8399 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8400
8401         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8402         and LSubstring
8403
8404         * chset.C: change include order
8405         (loadFile): use boost regex and get rid of LRegex and LSubstring
8406
8407         * Makefile.am (BOOST_LIBS): new variable
8408         (lyx_LDADD): use it
8409
8410         * LaTeX.C: change include order.
8411         (scanAuxFile): use boost regex and get rid of LRegex and
8412         LSubstring
8413         (deplog): ditto
8414
8415 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * ColorHandler.h:
8418         * ColorHandler.C:
8419         * FontInfo.h:
8420         * FontInfo.C: moved to frontends/xforms/
8421
8422         * FontLoader.h:
8423         * FontLoader.C: moved into frontends for GUIIzation
8424
8425         * Makefile.am:
8426         * lyx_gui.C:
8427         * lyxfont.C:
8428         * lyxfunc.C: changes from above
8429
8430 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * LColor.C: remove spurious X include
8433
8434         * BufferView_pimpl.C:
8435         * Makefile.am:
8436         * font.h:
8437         * font.C:
8438         * text.C:
8439         * text2.C: move font metrics to frontends/
8440
8441 2002-05-24  Juergen Vigna  <jug@sad.it>
8442
8443         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8444         setting the undo_cursor.
8445
8446         * ParagraphParameters.h: include local includes first.
8447
8448 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * BufferView_pimpl.C:
8451         * BufferView_pimpl.h:
8452         * Makefile.am:
8453         * WorkArea.h:
8454         * WorkArea.C:
8455         * screen.C: move WorkArea into frontends/
8456
8457         * lyxscreen.h:
8458         * screen.C:
8459         * text.C:
8460         * BufferView.C:
8461         * BufferView2.C: move LyXScreen into frontends/
8462
8463         * lyxlookup.h:
8464         * lyxlookup.C:
8465         * lyx_gui.C: move lyxlookup into frontends/xforms/
8466
8467 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8468
8469         * BufferView2.C:
8470         * BufferView_pimpl.C:
8471         * FontLoader.C:
8472         * LyXView.h:
8473         * LyXView.C:
8474         * Makefile.am:
8475         * WorkArea.C:
8476         * XFormsView.h:
8477         * XFormsView.C:
8478         * buffer.C:
8479         * bufferlist.C:
8480         * bufferview_funcs.C:
8481         * converter.C:
8482         * importer.C:
8483         * lyx_cb.C:
8484         * lyx_gui.C:
8485         * lyx_main.C:
8486         * lyx_find.C:
8487         * lyxfunc.C:
8488         * lyxvc.C:
8489         * minibuffer.C:
8490         * text.C:
8491         * text2.C:
8492         * trans.C:
8493         * vc-backend.C: move LyX/XFormsView into frontends/
8494
8495 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8496
8497         * Makefile.am:
8498         * PainterBase.C:
8499         * PainterBase.h:
8500         * Painter.C:
8501         * Painter.h:
8502         * WorkArea.C:
8503         * WorkArea.h:
8504         * screen.C:
8505         * tabular.C:
8506         * text.C:
8507         * text2.C: move Painter to frontends/
8508
8509 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * buffer.C: comment out some some code that depend upon lyx_format
8512         < 220
8513
8514         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8515         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8516
8517         * buffer.h (NO_COMPABILITY): turn off compability
8518
8519         * ColorHandler.C: include scoped_array.hpp
8520
8521         * font.C: Use more specific smart_ptr header.
8522         * Painter.C: ditto
8523         * gettext.C: ditto
8524         * ShareContainer.h: ditto
8525         * lyx_main.h: ditto
8526         * kbmap.h: ditto
8527         * FontInfo.h: ditto
8528         * BufferView_pimpl.h: ditto
8529         * ColorHandler.h: ditto
8530
8531         * kbmap.C (defkey): change call to shared_ptr::reset
8532
8533 2002-05-21  Juergen Vigna  <jug@sad.it>
8534
8535         * buffer.C (insertErtContents): fix to insert ert asis if it is
8536         non empty. Skip it completely if it contains only whitespaces.
8537
8538 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8539
8540         * BufferView_pimpl.C:
8541         * BufferView2.C: clear selection on paste (bug 393)
8542
8543 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8544
8545         * DepTable.C: include ctime
8546
8547 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8548
8549         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8550
8551 2002-05-14  Juergen Vigna  <jug@sad.it>
8552
8553         * text.C (breakParagraph): fixed function to honor the keepempty
8554         layout in the right maner and also to permit the right breaking
8555         algorithm on empty or non empyt keepempty paragraphs.
8556
8557         * paragraph.C (breakParagraph): we have to check also if the par
8558         is really empty (!size()) for isempty otherwise we do the wrong
8559         paragraph break.
8560
8561 2002-05-10  Juergen Vigna  <jug@sad.it>
8562
8563         * buffer.[Ch] : The following are only changes to the ert
8564         compatibility read reading old LaTeX layout and font stuff and
8565         convert it to ERTInsets.
8566
8567         * buffer.h: added isErtInset().
8568
8569         * buffer.C (struct ErtComp): add a fromlayout bool to check
8570         if we're inside a LaTeX layout.
8571         (isErtInset): new helper function.
8572         (insertErtContents): look for other ert insets before this one
8573         and insert the contents there, so that we don't have subsequent
8574         ERT insets with nothing between them. This way we create only one
8575         inset with multiple paragraphs. Also check if we don't insert only
8576         spaces ' ' as they are ignored anyway afterwards in the .tex file
8577         so if we have only spaces we will ignore this latex part in the
8578         new file.
8579         (parseSingleLyXformat2Token \\layout): better compatibility when
8580         reading layout-latex stuff.
8581         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8582         language tag.
8583         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8584         stuff after reading the inset only get the information back from
8585         the stack.
8586
8587 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8588
8589         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8590
8591         * LaTeXFeatures.C (getBabelOptions): New method.
8592
8593 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8594
8595         * BufferView_pimpl.C (Dispatch): work around missing argument for
8596         'layout'
8597
8598 2002-05-08  Juergen Vigna  <jug@sad.it>
8599
8600         * text.C (leftMargin): handle paragraph leftindent.
8601
8602         * paragraph.C (writeFile): write the new \\leftindent tag.
8603         (validate): handle leftindent code.
8604         (TeXEnvironment): handle paragraphleftindent code again.
8605
8606         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8607
8608         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8609         for paragrap_extra indent code and new token \\leftindent.
8610         (latexParagraphs): handle the leftindent as environment.
8611
8612         * ParameterStruct.h: added leftindent support.
8613
8614         * ParagraphParameters.C (leftIndent): added support functions for
8615         the paragraph left indent.
8616
8617         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8618         more appropriate.
8619
8620 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8621
8622         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8623         inside insetERT.
8624
8625         * text.C (computeBidiTables): No bidi in insetERT.
8626
8627         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8628         in RTL documents.
8629
8630 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8631
8632         * version.C.in: pre 5
8633
8634 2002-05-02  José Matos  <jamatos@fep.up.pt>
8635         * buffer.C (makeDocBookFile): white space changes, add newline to
8636         command styles.
8637         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8638
8639         * tabular.C (docBook): fix typo.
8640
8641 2002-05-03  Juergen Vigna  <jug@sad.it>
8642
8643         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8644         change in LyXText as we can not be sure it was not freed.
8645         (drawOneRow): remove unused code.
8646
8647         * text.C (drawInset): redo the calculation of the need_break_row as
8648         it could have a row which was already freed.
8649         (draw): look at the return value of drawInset and return false if
8650         it also returned false.
8651         (paintRowText): look at the return value of draw and return false if
8652         it also returned false.
8653
8654         * lyxtext.h: added bool return type to drawInset() and draw() so that
8655         if we have a change in the row so that the rowbreak has to be redone
8656         we abort drawing as it will be called again.
8657
8658 2002-05-02  Juergen Vigna  <jug@sad.it>
8659
8660         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8661         a change in the maintext also if we're inside an inset.
8662         (Dispatch): set the cursor again after a break line and after the
8663         screen has been updated as it could be we're in a different row.
8664
8665         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8666         to set the cursor behind the pargraph with > size().
8667         (setCursor): check also for the same paragraph when checking where
8668         to put the cursor if we have a NFR inset.
8669
8670         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8671         parts of layout read further up as it still was in the wrong
8672         position.
8673
8674 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8675
8676         * screen.C (drawFromTo): change sine fullRebreak always return
8677         true.
8678
8679         * buffer.C (parseSingleLyXformat2Token): reindent some
8680
8681         * BufferView_pimpl.C (update): change since fullRebreak always
8682         return true.
8683         (Dispatch): git rid of the last hardcoded "Standard"s.
8684
8685 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8686
8687         * text2.[Ch] (fullRebreak): make it return void now that we always
8688         returned true.
8689
8690 2002-04-30  Juergen Vigna  <jug@sad.it>
8691
8692         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8693         ert compatibility check for "latex" layout.
8694
8695 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8696
8697         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8698         minipages: use col% instead of p%, and also use the current font.
8699         (makeLaTeXFile): Fix use babel condition.
8700         (parseSingleLyXformat2Token): Correct font when reading old floats.
8701
8702 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8703
8704         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8705         inserting list of floats.
8706
8707 2002-04-25  Herbert Voss  <voss@lyx.org>
8708
8709         * MenuBackend.C (expand): don't add the graphics extensions to the
8710         export menu
8711
8712 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8713
8714         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8715         non-existing layout, do not complain if it was the default layout
8716         of the original class (bug #342)
8717
8718 2002-04-24  Juergen Vigna  <jug@sad.it>
8719
8720         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8721         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8722
8723 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8724
8725         * buffer.C (getBibkeyList): If using \bibliography, return the
8726         option field with the reference itself. Enables us to provide natbib
8727         support when using \bibliography.
8728
8729 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8730
8731         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8732
8733         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8734         natbib is provided by the LaTeX class.
8735
8736 2002-04-23  Juergen Vigna  <jug@sad.it>
8737
8738         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8739         Wakeup functions.
8740
8741         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8742
8743 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8746
8747         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8748         ensuremath around textordmasculine, textordfeminine and
8749         textdegree.
8750
8751 2002-04-19  Juergen Vigna  <jug@sad.it>
8752
8753         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8754         reinitializing the buffer otherwise row-dimensions may be wrong.
8755         (update): reset also the selection cursors if they do exits otherwise
8756         their x/y positions may be wrong.
8757
8758         * text2.C (cursorDown): don't enter the inset if we came from a row
8759         above and are one row over the inset.
8760
8761         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8762         really leaving an inset.
8763
8764 2002-04-18  Juergen Vigna  <jug@sad.it>
8765
8766         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8767         of the selected paragraph does not have the selected layout also if
8768         the last one had!
8769
8770         * text2.C (setLayout): fixed bug which did not change last selected
8771         paragraph.
8772
8773         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8774         changed the read and substituted \\end_float with \\end_inset!
8775
8776         * BufferView_pimpl.C (cursorPrevious):
8777         (cursorNext): fixed to make it work with rows heigher than the work
8778         area without moving the cursor only the draw of the row.
8779         (workAreaMotionNotify): fix jumping over high rows.
8780
8781 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8784         Ressler.
8785
8786 2002-04-16  Juergen Vigna  <jug@sad.it>
8787
8788         * text2.C (setCursor): set also the irow().
8789         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8790         (cursorUp):
8791         (cursorDown): support for locking an inset if the x_fix value goes
8792         inside it. That way I can transverse insets too with cursor up/down.
8793
8794         * lyxrow.h: added irow helper function same as other (i) functions.
8795
8796         * BufferView_pimpl.C (cursorPrevious):
8797         (cursorNext): fixed for insets!
8798
8799 2002-04-15  Juergen Vigna  <jug@sad.it>
8800
8801         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8802         position otherwise it is wrong in some cases.
8803
8804         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8805         inside the inset before the call.
8806
8807 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8808
8809         * buffer.[Ch] (getBibkeyList): make it const.
8810
8811 2002-04-12  Juergen Vigna  <jug@sad.it>
8812
8813         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8814
8815         * text2.C (getCursorX): new helper function
8816         (setCursor): compute also ix_
8817         (setCursorFromCoordinates): set also ix.
8818
8819         * lyxcursor.h: added ix_ and helper functions.
8820
8821         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8822
8823         * buffer.C (insertStringAsLines): dont break paragraph if the this
8824         paragraph is inside an inset which does not permit it!
8825
8826         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8827         also with no chars on this paragraph.
8828         (paintRowText): only paint stuff if it's inside the workarea!
8829
8830         * paragraph.C (breakParagraph): honor keepempty flag and break the
8831         paragraph always below not above.
8832
8833         * BufferView2.C (unlockInset): update the paragraph layout on inset
8834         unlock as we changed paragraph in such a case.
8835
8836         * lyxfind.C (LyXFind): clear the former selection if not found!
8837
8838         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8839         again called in insertChar().
8840
8841         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8842         an inset which uses the whole row!
8843         (rightMargin): ditto.
8844         (insertChar): force a rebreak if we inserted an inset!
8845
8846 2002-03-28  Herbert Voss  <voss@lyx.org>
8847
8848         * lyxlength.[Ch]: add inBP() to get the right PS-point
8849         units (BigPoint). With inPixels we have rounding errors
8850
8851 2002-04-11  Juergen Vigna  <jug@sad.it>
8852
8853         * text2.C (setCursorFromCoordinates): set iy to the right value.
8854         (setCursor): add check if row->previous exists!
8855
8856         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8857         an old float_type as this was the case in the old code!
8858
8859         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8860
8861         * BufferView2.C (showLockedInsetCursor): use iy
8862         (fitLockedInsetCursor): ditto
8863
8864         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8865         locked insets as there we have the right value now.
8866
8867         * lyxcursor.C: added iy_ variable and iy functions to set to the
8868         baseline of cursor-y of the locked inset.
8869
8870         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8871         (setCursor): fixed for insets which need a full row.
8872
8873         * text.C (rowLastPrintable): don't ignore the last space when before
8874         an inset which needs a full row.
8875         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8876         as last character of a row when before a inset which needs a full row.
8877
8878 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8879
8880         * version.C.in: update date
8881
8882         * text2.C (fullRebreak): try to always return true and see what
8883         happens...
8884
8885 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * MenuBackend.C (expand): use Floating::listName
8888
8889         * FloatList.C (FloatList): add listName argument to the built-in
8890         floats
8891
8892         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8893         text associated with the float.
8894
8895 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8898
8899 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8900
8901         * ShareContainer.h: add a couple of missing typenames.
8902
8903 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8904
8905         * lyxrc.C (getDescription): use _() correctly rather than N_().
8906
8907 2002-03-28  Herbert Voss  <voss@lyx.org>
8908
8909         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8910         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8911
8912 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8915         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8916
8917 2002-03-29  Juergen Vigna  <jug@sad.it>
8918
8919         * lyxfunc.C (dispatch): add a missing fitCursor call.
8920
8921         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8922         it was scrolled by a cursor move, so return the bool status.
8923
8924         * BufferView.C (fitCursor): return the bool flag also to the outside
8925         world as this is needed.
8926
8927         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8928
8929         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8930         call the edit() as it is not needed (and wrong) IMO.
8931         (workAreaButtonPress): set the screen_first variable before evt.
8932         unlock the inset as this may change screen_first and then we have
8933         a wrong y position for the click!
8934
8935 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8936
8937         * MenuBackend.C (expand): another translation that I missed
8938
8939 2002-03-28  Juergen Vigna  <jug@sad.it>
8940
8941         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8942
8943         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8944
8945 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8948
8949         * MenuBackend.C (expand): fix export/view/update when there is no
8950         document open.
8951
8952 2002-03-27  Herbert Voss  <voss@lyx.org>
8953
8954         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8955         and text%
8956
8957 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8958
8959         * bufferview_funcs.C (currentState): only show paragraph number
8960         for is DEVEL_VERSION is set.
8961
8962         * lyxfunc.C (dispatch): put warning in INFO channel
8963
8964         * MenuBackend.C (expand): translate the name of floats
8965
8966         * FloatList.C (FloatList): mark the float names for translation
8967
8968         * converter.C (convert): use LibScriptSearch
8969
8970 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * MenuBackend.C (defaults): fix default menu (we might as well get
8973         rid of it...)
8974
8975 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8976
8977         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8978         directory.
8979
8980 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8981
8982         * lyxvc.C: reorder includes.
8983
8984 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8987           properly
8988
8989 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * CutAndPaste.C: change layouts earlier on paste
8992           to avoid crashing when calling getFont()
8993
8994 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8995
8996         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8997         irritating #error.
8998
8999 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9000
9001         * WorkArea.C: remove 'Pending' debug message.
9002
9003         * most files: ws cleanup
9004
9005         * buffer.[Ch]: ws changes
9006
9007         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9008
9009 2002-03-21  Juergen Vigna  <jug@sad.it>
9010
9011         * tabular.C (SetMultiColumn): collapse also the contents of the
9012         cells and set the last border right. Added a Buffer const * param.
9013
9014 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9015
9016         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9017         linking or not.
9018
9019 2002-03-19  Juergen Vigna  <jug@sad.it>
9020
9021         * text2.C (clearSelection): reset also xsel_cache.
9022
9023         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9024         where it needs to be called (John tells us to do so too :)
9025         (selectionLost): reset sel_cache.
9026
9027         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9028
9029 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9030
9031         * text2.C (setCursorIntern): put debuging code in INSETS channel
9032
9033 2002-03-19  André Pönitz <poenitz@gmx.net>
9034
9035         * lyxfunc.C: tiny whitespace change
9036
9037 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * ToolbarDefaults.C (init):
9040         * LyXAction.C (init):
9041         * commandtags.h:
9042         * BufferView_pimpl.C (Dispatch):
9043         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9044
9045 2002-03-19  Allan Rae  <rae@lyx.org>
9046
9047         * exporter.C (Export): removeAutoInsets before doing anything else.
9048         While I've just introduced a dependency on BufferView this really is
9049         the best place to clean the buffer otherwise you need to cleanup in
9050         a dozen places before calling export or cleanup in a dozen functions
9051         that export calls.
9052
9053         * converter.C (runLaTeX):
9054         (scanLog): Better handling of removeAutoInsets and screen updates.
9055
9056         * lyxfunc.C (dispatch): small whitespace changes
9057
9058 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9059
9060         * WorkArea.C (C_WorkAreaEvent): return a value.
9061         (event_cb): return 1 if we handled the event, 0 otherwise.
9062
9063         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9064
9065 2002-03-18  Juergen Vigna  <jug@sad.it>
9066
9067         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9068         (GetAdditionalWidth): ditto.
9069         (RightLine): ditto.
9070         (LeftLine): ditto.
9071
9072         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9073         inset if we're there actually (probably not used right now but this
9074         is the direction to go for unifying code).
9075         (paste): disable code to clear the selection.
9076
9077         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9078         inside an InsetText and move the check further up as it is in the
9079         wrong place.
9080
9081         * text2.C (pasteSelection): set a selection over the pasted text.
9082
9083 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9084
9085         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9086         and libgraphics to build on Cygwin.
9087
9088 2002-03-15  Juergen Vigna  <jug@sad.it>
9089
9090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9091         inserting an Inset into the paragraph. I know this is not the best
9092         fix but we already use current_view in CutAndPaste so we will remove
9093         all of it's using at the same time.
9094
9095         * buffer.C (sgmlError): deactivated function till it is rewritten in
9096         the right mode, now it can create problems.
9097
9098         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9099         before accessing it.
9100
9101 2002-03-14  Juergen Vigna  <jug@sad.it>
9102
9103         * undo_funcs.C (textHandleUndo): do the right thing when updating
9104         the inset after the undo/redo.
9105
9106         * text2.C (setCursor): just some testcode for #44 not ready yet.
9107
9108         * undo_funcs.C (textHandleUndo): set the next() and previous()
9109         pointers of the paragraph to 0 before deleting otherwise we have
9110         problems with the Paragraph::[destructor].
9111
9112         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9113         on a paragraph insertion.
9114
9115 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * buffer.C (asciiParagraph): use += operator for char append to
9118         string.
9119
9120         * paragraph.C (getFontSettings): compare >= not just >
9121         (highestFontInRange): ditto
9122         (setFont): ditto
9123
9124 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9125
9126         * paragraph.C: change several algorithm to be more appripriate for
9127         the problem domain. This is lookip in FontList and in the InsetList.
9128
9129 2002-03-13  André Pönitz <poenitz@gmx.net>
9130
9131         * commandtags.h:
9132         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9133
9134 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * commandtags.h:
9137         * LyXAction.C:
9138         * lyxfunc.C:
9139         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9140
9141 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * Painter.C (display): anon helper function, adjust code for this
9144         change.
9145         (pixmap): remove function.
9146
9147         * Painter.h: remove private display variable.
9148
9149         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9150
9151 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9152
9153         * WorkArea.[Ch]: remove figinset_canvas cruft.
9154
9155 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9156
9157         * lyxtextclass.C (operator): add one item cache optimization.
9158
9159         * bufferlist.h: doxy changes
9160
9161         * bufferlist.C: ws changes
9162
9163         * DepTable.[Ch] (ext_exist): place const in the right spot.
9164
9165         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9166         call resizeInsets.
9167         (workAreaExpose): call resizeInsets when the with BufferView changes.
9168         (Dispatch): adjust for protectedBlank removal
9169         (specialChar): call updateInset if the insert went ok.
9170
9171         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9172         specialChar instead.
9173
9174         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9175
9176         * BufferView.h: doxy change
9177
9178         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9179
9180         * lyxtextclass.C (operator[]): remove non-const version
9181         (defaultLayout): remove non-const version
9182
9183 2002-03-12  Juergen Vigna  <jug@sad.it>
9184
9185         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9186         did resize the LyXText too.
9187
9188         * buffer.C (readLyXformat2): set layout information on newly allocated
9189         paragraphs.
9190
9191         * tabular.C (OldFormatRead): set layout information on the paragraph.
9192
9193 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9194
9195         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9196
9197 2002-03-11  Juergen Vigna  <jug@sad.it>
9198
9199         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9200         plainly wrong.
9201         (resizeCurrentBuffer): force also the insets to resize themselfes.
9202         (moveCursorUpdate): fixed up for InsetText.
9203
9204 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9205
9206         * commandtags.h:
9207         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9208         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9209         value of Dialogs::tooltipsEnabled().
9210         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9211
9212 2002-03-08  Juergen Vigna  <jug@sad.it>
9213
9214         * BufferView_pimpl.C (updateInset): update inset inside inset also
9215         if it isn't inside theLockingInset().
9216
9217 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9218
9219         * buffer.C (asciiParagraph): redo some of the word and line length
9220         handling.
9221         (getLists): look for Caption instead of caption.
9222
9223 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * buffer.C (Buffer): initialize niceFile to true
9226         (makeLaTeXFile):
9227         (makeLinuxDocFile):
9228         (makeDocBookFile): make sure niceFile is true on exit
9229
9230 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9233
9234 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9235
9236         * LyXSendto.C: remove.
9237         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9238         * lyx_gui.C: remove now-redundant comment.
9239         * ColorHandler.h: remove forward declaration of class WorkArea.
9240         * lyxfunc.C: remove #include "WorkArea.h".
9241
9242 2002-03-07  Juergen Vigna  <jug@sad.it>
9243
9244         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9245         got moved away with the DEPM and also set the inset_owner always
9246         right which before could have been omitted.
9247
9248 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9251         wanted layout is not found.
9252
9253 2002-03-07  Juergen Vigna  <jug@sad.it>
9254
9255         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9256
9257 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9258
9259         * paragraph.C (breakParagraph): use default layout not layout of
9260         prev paragraph.
9261         (Paragraph): clear ParagraphParameters.
9262
9263 2002-03-06  Juergen Vigna  <jug@sad.it>
9264
9265         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9266         otherwise it would not be a valid lenght. Fixed a special case in
9267         the minipage compatibility read where we end the document with a
9268         minipage.
9269
9270         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9271         was set as it could be 0 for InsetTexts first entry.
9272
9273 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * paragraph.C (writeFile): if layout is empty write out
9276         defaultLayoutName().
9277
9278         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9279         file without named layout we set layout to defaultLayoutName().
9280
9281 2002-03-06  Juergen Vigna  <jug@sad.it>
9282
9283         * CutAndPaste.C (copySelection): set layout for new paragraph.
9284
9285         * text.C (prepareToPrint): leave ERT inset left aligned
9286         (leftMargin): don't indent paragraphs inside ERT insets
9287
9288 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * paragraph.C (breakParagraph): dont call clear do the work manually
9291
9292         * paragraph.[Ch] (clear): remove function
9293
9294 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9295
9296         * paragraph.C (Paragraph): dont call clear, the work has already
9297         been done.
9298
9299         * lyxtextclass.C (operator): assert if n is empty
9300
9301         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9302         work manually instead.
9303
9304 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * BufferView_pimpl.C: protect selectionLost against text == 0
9307
9308 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * text.C (breakParagraph): fix a setting layout to '0' problem.
9311
9312 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9313
9314         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9315         final location of file, for the included files, and graphics.
9316
9317 2002-03-05  Juergen Vigna  <jug@sad.it>
9318
9319         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9320
9321 2002-03-04  Juergen Vigna  <jug@sad.it>
9322
9323         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9324
9325         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9326         last column of multicolumn cells.
9327         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9328
9329 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9330
9331         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9332         file if it doesn't go to a temporary file.
9333
9334         * buffer.C (sgmlOpenTag):
9335         (sgmlCloseTag):  remove extra newline insertion.
9336
9337 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9338
9339         * text.C (getRowNearY): comment out debug msg
9340
9341 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * text2.C: first -> first_y
9344
9345         * text.C (getRowNearY): add some attemts at a possible
9346         optimization, not working.
9347
9348         * tabular.[Ch]: add BufferParams to several function so that newly
9349         created paragraph can be initialized to he default layotu for the
9350         buffers textclass.
9351
9352         * tabular-old.C (ReadOld): add buf->params to call of Init
9353
9354         * screen.C: rename text->first to text->first_y
9355
9356         * paragraph.C (breakParagraph): always set layout in the broken
9357         paragraph
9358
9359         * lyxtextclass.C (Read): remove lowercase
9360         (hasLayout): ditto
9361         (operator): ditto
9362         (delete_layout): ditto
9363
9364         * lyxtext.h: rename first -> first_y
9365
9366         * lyxlayout.C (Read): remove lowercase
9367         (name): ditto
9368         (setName): ditto
9369         (obsoleted_by): ditto
9370
9371         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9372
9373         * buffer.C (insertErtContents): add params are to InsetERT
9374         (parseSingleLyXformat2Token): add code to check if a paragraphs
9375         layout really exist.
9376         (parseSingleLyXformat2Token): add params to several inset
9377         constructors
9378         (asciiParagraph): remove lowercase, do the layout comparisons with
9379         no_case
9380
9381         * BufferView_pimpl.C (cursorNext): first -> first_y
9382         (resizeCurrentBuffer): first -> first_y
9383         (updateScrollbar): first -> first_y
9384         (scrollCB): first -> first_y
9385         (workAreaMotionNotify): first -> first_y
9386         (workAreaButtonPress): first -> first_y
9387         (checkInsetHit): first -> first_y
9388         (cursorPrevious): first -> first_y
9389         (cursorNext): first -> first_y
9390         (Dispatch): add buffer_->params to severl inset contructors
9391
9392 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * lyxlayout.C (Read): remove some debug info that I forgot.
9395
9396         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9397         clean up the code slightly.
9398         (makeLinuxDocFile): ditto
9399         (makeDocBookFile): ditto
9400
9401         * text2.C: layout as string
9402
9403         * text.C: layout as string
9404
9405         * paragraph_pimpl.C: layout as string
9406
9407         * paragraph.[Ch]: layout as string
9408
9409         * lyxtextclasslist.[Ch]: layout as string
9410
9411         * lyxtextclass.[Ch]: layout as string
9412
9413         * lyxtext.h: layout as string
9414
9415         * lyxlayout.[Ch]: layout as string
9416
9417         * lyx_cb.C: layout as string
9418
9419         * bufferview_funcs.C: layout as string
9420
9421         * bufferparams.C: layout as string
9422
9423         * buffer.C: layout as string
9424
9425         * LyXView.[Ch]: layout as string
9426
9427         * LaTeXFeatures.[Ch]: layout as string
9428
9429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9430
9431         * BufferView_pimpl.C: change current_layout to string, remove
9432         lyx::layout_type.
9433         (Dispatch):
9434         (smartQuote):
9435         (insertInset):
9436         (workAreaButtonRelease): layout as string
9437
9438         * BufferView2.C (unlockInset): adjust
9439
9440         * vspace.C (asLatexCommand): use an explict temp variable.
9441
9442 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9443
9444         * Makefile.am: use FRONTEND_*
9445
9446 2002-03-01  Juergen Vigna  <jug@sad.it>
9447
9448         * tabular.C (SetWidthOfMulticolCell): changed to something better
9449         I hope but still work in progress.
9450         (recalculateMulticolumnsOfColumn): renamed function from
9451         recalculateMulticolCells as it is more appropriate now.
9452         (SetWidthOfCell): calculate multicols better.
9453
9454 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9457
9458         * lyxfunc.C (processKeySym): print sequence also if it is
9459         `deleted' (complete)
9460
9461         * kbsequence.C (print): print sequence even if it is deleted
9462         (complete would be a better word, actually).
9463
9464         * lyxfunc.C (dispatch): print complete options after a prefix key
9465
9466         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9467
9468 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9469
9470         * text2.C (setCharFont): eliminate setCharFont code duplication.
9471
9472 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9475         LFUN_TABULAR_FEATURE (bug #177)
9476
9477 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9478
9479         * Makefile.am: remove figure.h
9480
9481 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9482
9483         * Bufferview_pimpl.C:
9484         * CutAndPasteC:
9485         * LaTeX.C:
9486         * LyXSendto.C:
9487         * buffer.C:
9488         * bufferlist.C:
9489         * converter.C:
9490         * language.C:
9491         * lyxfunc.C:
9492         * lyxvc.C:
9493         * paragraph.C:
9494         * text.C:
9495         * text2.C: remove #include "lyx_gui_misc.h".
9496
9497         * LaTeX.C: added #include <cstdio>
9498
9499 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9502         that the paragraph following this one can have.
9503
9504         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9505
9506         * vspace.C (asLatexCommand): fix bogus gcc warning
9507
9508         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9509
9510 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9511
9512         * text2.C (setLayout): get rid of redundant code
9513
9514 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9515
9516         * text2.C (incDepth): make sure depth cannot be increased beyond
9517         reasonable values.
9518
9519 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9520
9521         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9522         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9523
9524         * PainterBase.h (image):
9525         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9526         a LyXImage const *.
9527
9528 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * BufferView.C:
9531         * BufferView.h:
9532         * BufferView_pimpl.C:
9533         * BufferView_pimpl.h:
9534         * LaTeXFeatures.C:
9535         * LyXAction.C:
9536         * LyXView.C:
9537         * Makefile.am:
9538         * UpdateList.h:
9539         * UpdateList.C:
9540         * buffer.C:
9541         * figure.h:
9542         * figureForm.C:
9543         * figureForm.h:
9544         * figure_form.C:
9545         * figure_form.h:
9546         * lyx_cb.C:
9547         * lyx_gui.C:
9548         * lyx_gui_misc.C:
9549         * lyxfunc.C:
9550         * sp_base.h:
9551         * sp_ispell.h:
9552         * sp_pspell.h:
9553         * sp_spell.C: remove fig inset, and the crap house of
9554           cards that follows it
9555
9556 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * Makefile.am:
9559         * lyxserver.C:
9560         * os2_defines.h:
9561         * os2_errortable.h:
9562         * nt_defines.h: move .h into support/
9563
9564         * vms_defines.h: remove
9565
9566         * WorkArea.C: add space in debug output
9567
9568         * text2.C:
9569         * paragraph.C:
9570         * buffer.C: add WITH_WARNINGS
9571
9572         * vc-backend.h:
9573         * vc-backend.C:
9574         * bufferlist.C: s/retrive/retrieve/, add docs
9575
9576         * vspace.h:
9577         * vspace.C:
9578         * kbmap.h:
9579         * lyxlength.h:
9580         * lyxgluelength.h:
9581         * length_common.h:
9582         * chset.h:
9583         * chset.C: add docs
9584
9585         * lyxgui.C: add ID to X error handler
9586
9587         * lyxtestclass.c: fix typo
9588
9589 2002-02-26  Juergen Vigna  <jug@sad.it>
9590
9591         * tabular_funcs.C (write_attribute): changed so that some default
9592         attributes are not written at all.
9593         (getTokenValue): set default values before trying to read the
9594         value so we have the return value always set as default if we don't
9595         find the token we search for.
9596
9597         * tabular.C (Write): write bools as bools not as strings!
9598
9599 2002-02-22  Juergen Vigna  <jug@sad.it>
9600
9601         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9602         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9603
9604         * text.C (leftMargin): don't add an indent for paragraphs inside
9605         tabular cells (fix #208).
9606
9607 2002-02-21  José Matos  <jamatos@fep.up.pt>
9608
9609         * tabular.C (docBook): fixed support for long tables.
9610
9611 2002-02-20  Juergen Vigna  <jug@sad.it>
9612
9613         * text2.C (getFont): get the drawing font of the Inset if this
9614         paragraph is inside an inset (only important for InsetERT for now).
9615
9616         * buffer.C (insertErtContents): use new lanugage params in ERT
9617         constructor.
9618
9619         * CutAndPaste.C: commenting out seemingly uneeded code.
9620
9621 2002-02-19  Allan Rae  <rae@lyx.org>
9622
9623         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9624         Iterators might be simple to use but they also get invalidated.
9625         (removeAutoInsets): renamed saved cursor tracking variables and added
9626         some comments to clarify what everything does.
9627
9628 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9629
9630         * Chktex.C:
9631         * LaTeX.C:
9632         * LyXSendto.C:
9633         * converter.C:
9634         * lyx_cb.C:
9635         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9636         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9637
9638         * lyxfunc.C:
9639         * vc-backend.h: remove #include "support/syscall.h"
9640
9641         * LaTeX.C:
9642         * LyXSendto.C:
9643         * converter.C: rearrange #includes in Lars' approved fashion.
9644
9645         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9646         forward declare class Timeout in the header file.
9647
9648         * XFormsView.C: changes due to the above.
9649
9650         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9651         similar to LyXView.
9652
9653         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9654         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9655
9656 2002-02-18  José Matos  <jamatos@fep.up.pt>
9657
9658         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9659         insets contents.
9660
9661 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9662
9663         * a lot of small ws changes
9664         * add a lot of using std::XXX
9665         * use std construcs some places where approp.
9666         * use some exisint stuff from lyxfunctional where approp.
9667         * Make file changes to use partial linking (lets test this now...)
9668
9669 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9670
9671         * Chktex.C:
9672         * buffer.C:
9673         remove #include "support/syscontr.h" as it's redundant. Always has been.
9674
9675         * Chktex.C:
9676         * LaTeX.C:
9677         * LyXSendto.C:
9678         * converter.C:
9679         * lyx_cb.C:
9680         * vc-backend.C:
9681         change Systemcalls::System to Systemcalls::Wait and
9682         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9683         No change of functionality, just reflects the stripped down Systemcalls
9684         class.
9685
9686 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9687
9688         * debug.[Ch]: add a GRAPHICS type to the enum.
9689
9690 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9693
9694         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9695         there is an inset.
9696
9697 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9700         match the changes below.
9701
9702         * text2.C (toggleInset): if there is not editable inset at cursor
9703         position, try to see if cursor is _inside_ a collapsable inset
9704         and close it.
9705
9706 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9709         document menu has a nice checkbox
9710
9711 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * lyxlength.C (asLatexString): change PW to output as percent of
9714         \textwidth.
9715
9716         * lengthcommon.C: change '%' to 't%'
9717
9718         * lyxfunc.C (dispatch): a few comments from Martin
9719
9720 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * WorkArea.h:
9723         * WorkArea.C:
9724         * BufferView_pimpl.h:
9725         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9726           the X selection.
9727
9728 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * vspace.C (inPixels): fix compiler warning
9731
9732 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * lyxfunc.C (getStatus): fix status message for disabled commands.
9735
9736 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * BufferView_pimpl.C: fix crash on close buffer
9739         during selection (#227)
9740
9741 2002-01-27  Herbert Voss  <voss@lyx.org>
9742
9743         * buffer.C: link old Figure to new graphic inset
9744
9745 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9746
9747         * FontLoader.C (getFontinfo): Change the latex font names in order
9748         to match the names of type1inst.
9749
9750 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9751
9752         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9753
9754         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9755         (extchanged): ditto
9756         (ext_exist): ditto
9757         (remove_files_with_extension): ditto
9758         (remove_file): ditto
9759         (write): ditto
9760
9761         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9762         document is smaller than the work area height. Do not initialize
9763         static variables to 0.
9764
9765 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9766
9767         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9768
9769         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9770         LFUN_LAYOUT_PARAGRAPHS.
9771
9772         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9773         tabular. It is possible to provide a possible cell, which will
9774         typically be the actcell from the corresponding insettabular
9775
9776         * lyxfunc.C (getStatus): small cleanup; disable
9777         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9778         true
9779
9780 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9783
9784         * paragraph.C (startTeXParParams):
9785         (endTeXParParams): new methods. The LaTeX code to
9786         start/end paragraph formatting
9787         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9788         empty (fixes bug #200)
9789
9790         * vspace.C (inPixels): adapt to the change below
9791         (inPixels): [later] more cleanups (remove unused variables)
9792
9793         * lyxlength.C (inPixels): change to use a width and a height as
9794         parameter.
9795
9796 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9799         Replaced with \paperwidth
9800
9801         * DepTable.C (insert): add std:: qualifier
9802
9803 2002-01-18  Allan Rae  <rae@lyx.org>
9804
9805         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9806         updated also?
9807
9808         * text.C (drawInset): Turned out I didn't know enough about how
9809         rebreaking worked.  This fixes most of the redraw problems.  I see
9810         an occasional cursor trail when a line is broken now and the cursor
9811         placement can seem out by a few pixels also after a rebreak.
9812
9813 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * buffer.C (parseSingleLyXformat2Token): update because minipage
9816         width is now a LyXLength
9817
9818         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9819
9820         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9821         math insets
9822
9823 2002-01-17  Juergen Vigna  <jug@sad.it>
9824
9825         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9826
9827         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9828         is set correctly and the inset is updated correctly.
9829
9830 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9833         the beginning of the loop.
9834
9835 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * lyxrc.C: improve help for use_scalable_fonts
9838
9839 2002-01-17  Allan Rae  <rae@lyx.org>
9840
9841         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9842
9843 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9844
9845         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9846         make sure to set their inset_owner to the right value (bug #171)
9847
9848 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9849
9850         * DepTable.h
9851         * DepTable.C: Implement mtime checking to reduce time spent doing
9852         CRCs.
9853
9854 2002-01-16  Juergen Vigna  <jug@sad.it>
9855
9856         * tabular.C (GetAdditionalHeight): one of error fixed.
9857
9858         * lyxrc.C (output): small fix in writing use_pspell.
9859
9860 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9861
9862         * sp_base.h: #include LString.h
9863
9864 2002-01-16  Allan Rae  <rae@lyx.org>
9865
9866         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9867         Can someone check this please?
9868
9869         * text.C (drawInset): It was possible that p.row would be removed by
9870         breakAgainOneRow upsetting a few other settings.  There may be another
9871         small tweak possible by setting need_break_row = 0 when p.row has been
9872         removed but I don't know enough about the logic here.
9873
9874 2002-01-15  Allan Rae  <rae@lyx.org>
9875
9876         * text.C (insertChar): removed conditional truism.
9877
9878         * BufferView2.C (removeAutoInsets): More tweaks.
9879         cur_par_prev could be a stray pointer.  Check for trailing empty line
9880         in case last line was cur_par and only had an error inset on it.
9881
9882 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9885         absolute
9886
9887         * vc-backend.C (most methods):
9888         * exporter.C (Export):
9889         * converter.C (convert):
9890         (runLaTeX):
9891         * LyXSendto.C (SendtoApplyCB):
9892         * lyxfunc.C (dispatch):
9893         (menuNew):
9894         (open):
9895         (doImport):
9896         * lyx_cb.C (AutoSave):
9897         (InsertAsciiFile):
9898         * BufferView_pimpl.C (MenuInsertLyXFile):
9899         * buffer.C (runChktex): use Buffer::filePath().
9900
9901         * buffer.h: rename filename to filename_; rename filepath to
9902         filepath_ and make it private
9903         (filePath): new method
9904
9905         * buffer.C (writeFile): use fileName()
9906         (getLatexName):
9907
9908         * lyx_main.C (init): fix starting  of LyX when the binary is a
9909         link from so,ewhere else.
9910
9911         * minibuffer.C: include <cctype> for isprint
9912
9913 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9914
9915         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9916         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9917         name clash with InsetCollapsable's width function.
9918
9919 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920
9921         * lastfiles.C: include <iterator>
9922
9923 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9924
9925         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9926         std::count.
9927
9928         * buffer.C (makeLaTeXFile): ditto.
9929         Also make loop operation more transparent.
9930
9931 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9932
9933         * ToolbarDefaults.C: remove trailing comma closing namespace.
9934
9935         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9936
9937         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9938         as in WorkArea.
9939
9940         * trans.C (Load): comment out unused variable, allowed.
9941
9942 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9943
9944         * minibuffer.[Ch] (append_char): new method to recieve input from the
9945         drop-down completion browser. If a key was pressed, then recieve this
9946         char and append it to the existing string.
9947         (peek_event): modify the positioning data passed to the completion
9948         browser so that it can be placed above the minibuffer rather than below.
9949 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * LyXAction.C (init): alloe error-next for readonly documents.
9952
9953         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9954         count.
9955
9956 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9957
9958         * bufferlist.C (readFile): create the buffer _after_ checking that
9959         the file exists.
9960
9961         * lyxfunc.C (verboseDispatch): fix handling of arguments
9962
9963         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9964
9965         * lyxrc.C: use string::erase() instead of initializing to "".
9966
9967
9968 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * BufferView_pimpl.h:
9971         * BufferView_pimpl.C:
9972         * WorkArea.h:
9973         * WorkArea.C:
9974         * text2.C: tell X when we have made a selection for copying
9975
9976 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * BufferView_pimpl.C (MenuInsertLyXFile):
9979         * lyxfunc.C (menuNew):
9980         (open):
9981         (doImport): add shortcuts to directory buttons
9982
9983         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9984         open a float)
9985
9986         * lyxfunc.C (setStatusMessage):
9987         (getStatusMessage): new methods
9988         (getStatus):use setStatusMessage instead of setErrorMessage
9989         (dispatch): when function is disabled, set error message here
9990         [instead of in getStatus previously]
9991
9992         * BufferView_pimpl.C (workAreaButtonRelease): update
9993         toolbar/menubar here too.
9994
9995 2002-01-13  Allan Rae  <rae@lyx.org>
9996
9997         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9998         Now seems indestructible.  Remaining task is to audit all other
9999         code affected by deleteEmptyParagraphMechanism.  One small quirk
10000         left is that an empty document with an error in the preamble can
10001         be made to report an error but no error box appears.  I don't know
10002         where it goes.
10003         (removeAutoInsets): Improved comments.
10004
10005 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10006
10007         * Thesaurus.h:
10008         * Thesaurus.C: update for Aiksaurus 0.14
10009
10010 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * text2.C (firstParagraph): removed member function, all uses
10013         replaces with ownerParagraph
10014         (redoParagraphs): here
10015         (updateInset): here
10016         (toggleAppendix): here
10017         * BufferView2.C (insertErrors): here
10018         (setCursorFromRow): here
10019
10020 2002-01-13  Allan Rae  <rae@lyx.org>
10021
10022         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10023         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10024         There is still a way to segfault this although you may have to do this
10025         multiple times: Have an InsetERT with an unknown command in it.
10026         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10027         <down-arrow>, <Enter> again, View->DVI, BANG!
10028
10029         * text2.C (setCursor):
10030         (deleteEmptyParagraphMechanism):
10031         * lyxtext.h (setCursor):
10032         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10033         Making use of the return value may help fix other bugs.
10034
10035 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10038
10039         * LyXView.C (updateMenubar): call MenuBar::update here
10040         (updateToolbar): but not here
10041         (showState): do not update toolbar/menubar
10042
10043         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10044         should need to care about that.
10045
10046         * lyxfunc.C (verboseDispatch): simplify a bit
10047         (getStatus): have a version which takes a pseudoaction, and
10048         another which requires a (kb_action,string).
10049
10050         * LyXAction.C (retrieveActionArg): make it work also when action
10051         is not a pseudo-action.
10052         (getActionName): simplify a bit
10053         (helpText):
10054
10055 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * lyxfunc.C (verboseDispatch): new families of methods with
10058         several ways to specify a command and a bool to indicate whether
10059         the command name and shortcut should be displayed in minibuffer
10060         (eventually, we could extend that to a finer bitmask like
10061         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10062         (dispatch): the pristine dispatch command which just, well,
10063         dispatchs! Note it still sets its result to minibuffer; I'm not
10064         sure we want that.
10065
10066         * lyxfunc.h: remove setHintMessage
10067
10068         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10069
10070 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10071
10072         * BufferView_pimpl.C (specialChar): delete new inset if we have
10073         not been able to insert it.
10074
10075         * kbmap.C: revert to using int instead of kb_action, since all we
10076         are dealing with is pseudo-actions.
10077
10078         * LyXAction.C (searchActionArg): change to return int instead of
10079         kb_action, since the result is a pseudoaction.
10080
10081 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * buffer.C (insertErtContents): Fix (partially) the font bug.
10084
10085 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10088         as the other one is broken on my machine!
10089
10090 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10091
10092         * commandtags.h:
10093         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10094
10095 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10096
10097         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10098         reflect their actual use. Provide compatibility code for older lyxrc
10099         files.
10100
10101         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10102         FL_NORMAL_STYLE.
10103         change names of popup font variables in line with the changes to lyxrc.C
10104
10105 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * buffer.C (asciiParagraph): avoid outputing a word twice after
10108         an inset.
10109
10110         * lyxrc.C (getDescription): document that document_path and
10111         template_path can be empty.
10112
10113 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10114
10115         * LaTeXFeatures.C (getMacros):
10116         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10117
10118         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10119
10120         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10121         getPackages.
10122         (getPackages): rename feature "floats" to "float". Use an array to
10123         iterate over 'simple' features (i.e. just a \usepackage). Add
10124         handling of "amsmath" (renamed from "amsstyle").
10125
10126 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10127
10128         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10129         features list.
10130
10131 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10132
10133         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10134         FuncStaus::FuncStatus & FuncStaus::some_method().
10135
10136 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10137
10138         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10139         of the func_satus stuff. Edited and massaged in various ways by
10140         JMarc.
10141
10142         * lyxfunc.C (getStatus): use FuncStatus
10143
10144 2002-01-08  Juergen Vigna  <jug@sad.it>
10145
10146         * text.C (nextBreakPoint): use function Inset::isChar().
10147
10148         * paragraph.C (TeXOnePar): use function
10149         Inset::forceDefaultParagraphs.
10150
10151         * buffer.C (latexParagraphs): use function
10152         Inset::forceDefaultParagraphs.
10153
10154 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10155
10156         * lyx_gui.C (init): set the style of the menu popups to
10157         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10158
10159 2002-01-07  Juergen Vigna  <jug@sad.it>
10160
10161         * text.C (setHeightOfRow): small fix
10162         (prepareToPrint): don't look at alignment if we don't have the place
10163         for doing it.
10164
10165 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10166
10167         * box.C: New file. Move the Box methods and functions out of box.h,
10168         following Lars' suggestion.
10169
10170 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10171
10172         * box.h: #include "support/LOstream.h", needed for inlined function.
10173
10174         * lyxtextclass.C:
10175         * lyxtextclasslist.C: added some using std declarations.
10176
10177 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10178
10179         * box.h: make signed dimensions to allow insets wider than
10180           the screen (bug #162)
10181
10182         * BufferView_pimpl.C: add some insetHit debug
10183
10184 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * vc-backend.C: add FIXME
10187
10188 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * lyxfunc.C (getStatus): enable code for showing math font status
10191         in toolbar/menu.
10192
10193 2002-01-07  Juergen Vigna  <jug@sad.it>
10194
10195         * text.C (nextBreakPoint): removed debug output not needed anymore.
10196
10197 2002-01-06  Juergen Vigna  <jug@sad.it>
10198
10199         * text.C (nextBreakPoint): fixed up this function we had this bug
10200         since ever but now hopefully we break row better.
10201         (insertChar): we have to check if an inset is the next char as it
10202         could now happen that a large inset is causing a break.
10203
10204 2002-01-05  Juergen Vigna  <jug@sad.it>
10205
10206         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10207         if it doesn't like to be drawed.
10208
10209 2002-01-04  Juergen Vigna  <jug@sad.it>
10210
10211         * BufferView2.C (lockInset): forgot to set a cursor.
10212
10213         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10214
10215 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10216
10217         * FormMathsPanel.C:
10218         * FormMathsPanel.h
10219         * MathsSymbols.C:
10220         * form_maths_panel.C:
10221         * form_maths_panel.h:
10222         * form_maths_panel.fd: implemented sub- and super- buttons in math
10223         panel.
10224
10225         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10226         (or ^ space) to be used as in TeX (req'd by André).
10227
10228         * lyxfunc.C: Allow ^ and _ again to be used both as
10229         super/subscript (mathed) and as themselves (in text).
10230
10231 2002-01-03  Allan Rae  <rae@lyx.org>
10232
10233         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10234         "LyX" or the filename of the current buffer if it has one.  This is a
10235         modified form of John Levon's patch.
10236
10237         * XFormsView.C (setWindowTitle): also set icon title.
10238
10239         * LyXView.h (setWindowTitle): signature changed.
10240         * XFormsView.h (setWindowTitle): ditto.
10241
10242 2002-01-02  Juergen Vigna  <jug@sad.it>
10243
10244         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10245
10246 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10247
10248         * screen.C (topCursorVisible): introduce a temp var for
10249         text->cursor.row(), handle the case where this row is null. (kindo
10250         hachish)
10251
10252         * text2.C (setCursor): add a couple of asserts.
10253
10254         * paragraph.h (inset_iterator): add -> operator
10255
10256         * paragraph.[Ch] (autoDeleteInsets): remove member function
10257
10258         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10259         cursor pos correctly and handle inset deletion by itself.
10260         (insertErrors): move iterator declaration out of for expression
10261
10262         * lyxtextclass.C: add <algorithm>
10263
10264         * Makefile.am: added the new files to sources, removed layout.C
10265
10266         * layout.C: removed file
10267
10268         * layout.h: remove LYX_DUMMY_LAYOUT
10269
10270         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10271         layout.
10272
10273         * lyxlayout.[Ch]:
10274         * lyxtextclass.[Ch]:
10275         * lyxtextclasslist.[Ch]: new files
10276
10277         * include order changes to a lot of files, also changes because of
10278         the six new files.
10279
10280 2001-12-27  Juergen Vigna  <jug@sad.it>
10281
10282         * buffer.C (asciiParagraph): more fixes.
10283
10284         * tabular.C (ascii): make ascii export support export of only the
10285         data separated by a column-delimiter.
10286         (ascii): better support for ascii export.
10287
10288         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10289
10290 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10291
10292         * tabular_funcs.C: use a "using std::getline" instead of the
10293         previous fix from Angus (necessary for cxx + lyxstring)
10294
10295 2001-12-24  Juergen Vigna  <jug@sad.it>
10296
10297         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10298
10299         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10300         problems. First check a minipage also if we have some ert-contents
10301         (not only on par->size(), second set the right depth of the paragraph
10302         on the relink to the root-paragraph-list!
10303
10304         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10305         which then did not anymore update the main paragraphs on undo/redo!
10306
10307 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10310         code. Support all font-changing funcs (even those which are not in
10311         menu currently). Support for reporting font settings in
10312         mathed (disabled until Andre provides a function on mathed's side).
10313
10314         * func_status.h (toggle): small helper function to set toggle
10315         state on a flag.
10316
10317 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10318
10319         * tabular_funcs.C: getline -> std::getline
10320
10321 2001-12-21  Juergen Vigna  <jug@sad.it>
10322
10323         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10324         accessed and could be 0 (I couldn't generate this but it seems
10325         Michael could!).
10326
10327 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10330         * tabular_funcs.h: here and include iosfwd
10331
10332 2001-12-20  Juergen Vigna  <jug@sad.it>
10333
10334         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10335         inside inset but undo_par was.
10336
10337 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * Thesaurus.C: always include <config.h> in sources.
10340
10341         * Painter.h:
10342         * lyxlookup.h:
10343         * box.h: do not include <config.h> in header files
10344
10345         * text.C (paintLastRow): remove unused variable
10346
10347         * text.C (transformChar):
10348         (insertChar):
10349         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10350
10351         * Painter.C (text):
10352         * font.C (width): rewrite to use uppercase() instead of
10353         islower/toupper.
10354
10355         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10356
10357 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * lyxfind.C: clean up of find failure position change
10360
10361 2001-12-20  Juergen Vigna  <jug@sad.it>
10362
10363         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10364
10365         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10366         (TeXRow): added to LaTeX a single tabular row.
10367         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10368         (Latex): simplified and finally good LT-h/f support.
10369         (various_functions): just small adaptions for LT-h/f support.
10370
10371         * tabular_funcs.[hC]: added and moved here all not classfunctions
10372         of LyXTabular.
10373
10374 2001-12-19  Juergen Vigna  <jug@sad.it>
10375
10376         * tabular.[Ch]: better support for longtabular options (not finished
10377         yet!)
10378
10379 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * text.C (paintLastRow): use the label font instead of the font of
10382         the last character to compute the size of *_BOX. This makes more
10383         sense and avoids a crash with empty paragraphs.
10384         Use Painter::rectangle to draw EMPTY_BOX.
10385
10386 2001-12-19  Juergen Vigna  <jug@sad.it>
10387
10388         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10389         the paragraphs if the replaced paragraph is not the first one!
10390         Tried to delete not used paragraphs but does not work yet so for
10391         now it's inside #ifdef's and by default off!
10392
10393 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * MenuBackend.C: include "lyx_main.h" instead of declaring
10396         lastfiles (actually was declared as LastFiles* instead of a
10397         scoped_ptr).
10398
10399 2001-12-17  Juergen Vigna  <jug@sad.it>
10400
10401         * tabular.C (AppendColumn): applied John's fix
10402
10403 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView.h:
10406         * BufferView.C:
10407         * BufferView_pimpl.h:
10408         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10409
10410         * Makefile.am:
10411         * box.h: new start of class for above
10412
10413         * lyxfunc.C: ignore space-only minibuffer dispatches.
10414           Show the command name when it doesn't exist
10415
10416         * minibuffer.C: don't add empty lines to the history
10417
10418         * minibuffer.C: add a space on dropdown completion
10419
10420 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * text.C: fix line above/below drawing in insets
10423
10424 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10425
10426         * lyxlength.C (LyXLength): Initialize private variables.
10427
10428 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10429
10430         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10431         when inserting error insets.
10432
10433 2001-12-13  Juergen Vigna  <jug@sad.it>
10434
10435         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10436         actually sometimes the before-paragraph.
10437         (setUndo): don't clear the redostack if we're not actually undoing!
10438
10439 2001-12-06  Juergen Vigna  <jug@sad.it>
10440
10441         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10442         and fixed redoing of main paragraph, so we can use it now ;)
10443
10444         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10445
10446 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10449         Juergen's request
10450
10451 2001-12-13  André Pönitz <poenitz@gmx.net>
10452
10453         * undostack.[Ch]:
10454         * undo_func.C: minor cleanup
10455
10456 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10459         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10460         font in urw-fonts package which is marked as -urw-fontspecific and
10461         does not work (incidentally, changing the encoding in the
10462         fonts.dir of this package to -adobe-fontspecific fixes the
10463         problem).
10464
10465         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10466         is a crash when undoing first paragraph (Juergen, please take a
10467         look). THis does not mean the undo fix is wrong, just that it
10468         uncovers problems.
10469
10470         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10471         the (Paragraph*) version when needed instead of duplicating the
10472         code.
10473
10474         * text.C (workWidth): use Inset::parOwner to find out where the
10475         inset has been inserted. This is a huge performance gain for large
10476         documents with lots of insets. If Inset::parOwner is not set, fall
10477         back on the brute force method
10478
10479         * paragraph_pimpl.C (insertInset):
10480         * paragraph.C (Paragraph):
10481         (cutIntoMinibuffer): set parOwner of insets when
10482         inserting/removing them
10483
10484         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10485
10486 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10487
10488         * commandtags.h:
10489         * LyXAction.C:
10490         * lyx_main.C:
10491         * lyxfunc.C:
10492         * mathed/formulabase.C:
10493         * mathed/math_cursor.[Ch]:
10494         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10495
10496
10497 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * lyxlength.[Ch] (operator!=): new function
10500
10501 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * text.C (workWidth): use Inset::parOwner to find out where the
10504         inset has been inserted. This is a huge performance gain for large
10505         documents with lots of insets. If Inset::parOwner is not set, fall
10506         back on the brute force method
10507
10508         * paragraph_pimpl.C (insertInset):
10509         * paragraph.C (Paragraph):
10510         (cutIntoMinibuffer): set parOwner of insets when
10511         inserting/removing them
10512
10513         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10514
10515 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * tabular-old.C (getTokenValue):
10518         * tabular.C (getTokenValue):
10519         (write_attribute): new versions for LyXLength
10520         (everywhere): adjust the use of widths
10521
10522         * tabular.h: change the type of widths from string to LyXLength
10523
10524 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10525
10526         * paragraph.C: fixed missing line number count when exporting
10527         Environments to LaTeX file
10528
10529         * buffer.C: added informational message for checking line numbers.
10530
10531 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10534         paragraph, do the 'double space' part, but not the 'empty
10535         paragraph' one.
10536
10537         * text.C (workWidth): small optimization
10538         (getLengthMarkerHeight): use minimal size for negative lengths.
10539
10540 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10541
10542         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10543
10544         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10545
10546 2001-12-11  André Pönitz <poenitz@gmx.net>
10547
10548         * FontLoader.C:
10549         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10550
10551 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * text2.C: keep selection on a setFont()
10554
10555 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * lyx_cb.C: another bv->text misuse, from insert label
10558
10559 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * kbsequence.h:
10562         * kbsequence.C: re-instate nmodifier mask
10563
10564 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10565
10566         * lyx_main.h: make lyxGUI private.
10567
10568 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * lyxfind.C: place the cursor correctly on failed search
10571
10572 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10573
10574         * text.C (getLengthMarkerHeight): for small heights, the arrows
10575         are not always on top/bottom of the text
10576         (drawLengthMarker): smaller arrows; take the left margin in
10577         account; draw also vfills.
10578         (paintFirstRow):
10579         (paintLastRow): remove special code for vfill and standard spaces,
10580         since everything is handled in drawLengthMarker now.
10581
10582 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * buffer.C (insertErtContents): try to handle font and language
10585         interaction a bit better.g
10586
10587         * ColorHandler.C (updateColor): change the hash to cover the whole
10588         LColor enum, ws cleanup
10589         (getGCLinepars): ditto
10590         (getGCLinepars): only lookup in the linecache once.
10591
10592 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * iterators.C (operator++): Make the iterator more robust
10595
10596         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10597         (John's patch)
10598         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10599
10600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * lyxtext.h:
10603         * text.C: better added space drawing
10604
10605 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * LyXView.C:
10608         * BufferView2.C: fix layout combo update on inset unlock
10609
10610 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * Makefile.am: don't compile unused files
10613
10614 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * lyxfunc.C:
10617         * commandtags.h:
10618         * LyXAction.C: remove old LFUN_LAYOUTNO
10619
10620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * paragraph_pimpl.h:
10623         * paragraph_pimpl.C: isTextAt() doesn't need font param
10624
10625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * lyxlex.h:
10628         * lyxlex.C: little cleanup
10629
10630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.C: fix insertAscii for insets
10633
10634 2001-12-05  Juergen Vigna  <jug@sad.it>
10635
10636         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10637         set the right font on the "multi" paragraph paste!
10638
10639 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10640
10641         * trans_decl.h:
10642         * trans_mgr.[Ch]:
10643         * trans.[Ch]:
10644         * lyxgluelength.C:
10645         * lyxlength.C: remove out-commented code.
10646
10647         * BufferView_pimpl:
10648         * CutAndPaste.C:
10649         * DepTable.C:
10650         * buffer.C:
10651         * chset.C:
10652         * lastfiles.C:
10653         * lyxlex.C:
10654         * lyxlex_pimpl.C:
10655         * lyxserver.C:
10656         * screen.C:
10657         * tabular-old.C:
10658         * tabular.C:
10659         * text.C:
10660         * trans_mgr.C:
10661         * vc-backend.C: change "while(" to "while ("
10662
10663         * lyxlength.[Ch]: add zero function to check if length is zero or
10664         not
10665         * lyxgluelength.C: use it
10666
10667 2001-12-05  Allan Rae  <rae@lyx.org>
10668
10669         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10670         Works for 2.95.3, from what I understand of Garst's reports this should
10671         work for other g++ versions.  We're screwed if the abs(int) definition
10672         changed between bugfix releases of gcc.
10673
10674 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * text.C: fix chapter label offset !
10677
10678 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * lyxtext.h:
10681         * text.C: fix hfill at end of line, clean up
10682
10683 2001-12-04  Juergen Vigna  <jug@sad.it>
10684
10685         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10686         that we force an update of the inset and it's owners if neccessary.
10687
10688 2001-12-03  Juergen Vigna  <jug@sad.it>
10689
10690         * text.C (rowLast): simplified code
10691
10692 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * lyxfunc.C: fix show options on timeout
10695
10696 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * screen.C (topCursorVisible): scroll half a page when the cursor
10699         reached top of bottom of screen
10700
10701 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * minibuffer.C: deactivate on loss of focus
10704
10705 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10706
10707         * vspace.[Ch] (operator!=): add operator.
10708
10709 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView_pimpl.C: refuse to open an inset when
10712         there's a selection.
10713
10714 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * BufferView_pimpl.C: allow to click on RHS of full row insets
10717
10718 2001-11-30  Juergen Vigna  <jug@sad.it>
10719
10720         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10721         insets for undo reasons.
10722
10723 2001-11-28  André Pönitz <poenitz@gmx.net>
10724
10725         * vspace.[Ch]: cosmetical changes
10726
10727 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * LyXAction.h:
10730         * LyXAction.C:
10731         * lyxfunc.h:
10732         * lyxfunc.C:
10733         * kbmap.h:
10734         * kbmap.C:
10735         * lyxrc.C:
10736         * kbsequence.h:
10737         * kbsequence.C: part re-write of old kb code
10738
10739         * Painter.C:
10740         * WorkArea.C: remove Lgb_bug_find_hack
10741
10742 2001-11-30  José Matos <jamatos@fep.up.pt>
10743
10744         * buffer.C (makeDocBookFile): add a comment to point a hack.
10745         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10746         Fixed a double write of labels.
10747
10748 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10749
10750         * LaTeX.C:
10751         * LaTeX.h Fixed bug in LaTeX class where it would not
10752         re-run latex if no depfiles were changed, but the .dvi was removed.
10753
10754 2001-11-28  André Pönitz <poenitz@gmx.net>
10755
10756         * all the files from the change on 2001/11/26:
10757         use lyx::layout_type instead of LyXTextClass::size_type
10758         use lyx::textclass_type instead of LyXTextClassList::size_type
10759
10760 2001-11-29  Juergen Vigna  <jug@sad.it>
10761
10762         * text.C: added support for paragraph::isFreeSpacing()
10763
10764         * buffer.C: same as above
10765
10766         * paragraph.h: inserted isFreeSpacing() function to enable
10767         FreeSpacing inside InsetERT.
10768
10769         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10770         of the paragraph's in the cut/copy buffer to 0!
10771
10772         * text2.C (removeRow): remove the assert as it can!
10773
10774         * lyxtext.h: added helper function firstRow returning firstrow and
10775         made firstrow private again.
10776
10777         * BufferView2.C (lockInset): don't relock if we're already locked!
10778
10779         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10780         the only paragraph.
10781         (removeRow): added Assert::(firstrow)
10782
10783         * debug.C: forgot to add INSETTEXT here.
10784
10785 2001-11-28  Juergen Vigna  <jug@sad.it>
10786
10787         * sp_spell.C (initialize): changed error text to more general
10788         spellchecker command use (not only ispell!)
10789
10790         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10791
10792         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10793
10794 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * vspace.C: initialise lyxgluelength on failure
10797
10798 2001-11-28  Allan Rae  <rae@lyx.org>
10799
10800         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10801         declaration & definition that looks like a function declaration.
10802
10803 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10804
10805         * BufferView2.C (copy):
10806         (copyEnvironment): do not clear the selection when doing a copy.
10807
10808         * text.C (paintFirstRow): compilation fix
10809
10810 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10811
10812         * tabular.C (Latex): correct line count when writing latex.
10813
10814 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * paragraph_pimpl.h:
10817         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10818           bug a bit
10819
10820 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * text.C:
10823         * LColor.h:
10824         * LColor.C: change vfillline->added_space
10825
10826         * text.C: add markers and text for added space
10827
10828         * vspace.C: fix comment
10829
10830 2001-11-28  André Pönitz <poenitz@gmx.net>
10831
10832         * paragraph.C: whitespace changes
10833         * all the other files from the change on 2001/11/26:
10834         change *::pos_type into lyx::pos_type
10835
10836 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10837
10838         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10839         language of the document when inserting error insets.
10840
10841 2001-11-26  André Pönitz <poenitz@gmx.net>
10842
10843         * BufferView_pimpl.[Ch]:
10844         *       CutAndPaste.C:
10845         * buffer.[Ch]:
10846         * lyxcursor.[Ch]:
10847         * lyxfind.C:
10848         * lyxfunc.C:
10849         * lyxrow.[Ch]:
10850         * paragraph.[Ch]:
10851         * paragraph_pimpl.[Ch]:
10852         * sp_spell.C:
10853         * text.C:
10854         * text2.C: reduce header dependencies, introduce type for positions
10855
10856 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * <various>: change to use Alert.h
10859
10860 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10861
10862         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10863         when encountering an unknown token.
10864         (readLyXformat2): Show an error message if there were unknown tokens.
10865
10866 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * BufferView2.C:
10869         * BufferView_pimpl.C:
10870         * buffer.C:
10871         * paragraph.h:
10872         * text.C:
10873         * text2.C: use par->isInset()
10874
10875 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * paragraph_pimpl.h:
10878         * paragraph_pimpl.C: cleanup
10879
10880 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10881
10882         * text2.C (removeRow):
10883         * text.C (setHeightOfRow): remove useless (and costly) call to
10884         getRow.
10885
10886 2001-11-20  Allan Rae  <rae@lyx.org>
10887
10888         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10889         Now need Inset*::checkInsertChar() to return true for appropriate
10890         cases so that the characters in the minibuffer will actually be
10891         inserted.
10892
10893 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * text.C: change the order of the includes.
10896         (workWidth): initialize it at once.
10897         (workWidth): make maxw unsigned
10898         (setHeightOfRow): remove unused variable (inset)
10899         (selectSelectedWord): remove unused variable (inset)
10900         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10901
10902 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10903
10904         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10905         server is not running.
10906         (openConnection):
10907         (closeConnection): add debug info when server is disabled.
10908
10909         * ColorHandler.C (getGCForeground): send debug message to GUI
10910         channel.
10911
10912         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10913
10914         * kbmap.C (bind): modify because return conventions of
10915         kb_sequence::parse have changed.
10916
10917         * kbsequence.C (parse): only ignore spaces and not any stupid
10918         control character. This avoids tests like s[i] <= ' ', which are
10919         guaranteed to fail with 8bit characters and signed chars.
10920         Change return code to string::npos when there have been no error
10921         (0 was a bad idea when error is at first character)
10922
10923 2001-11-14  José Matos  <jamatos@fep.up.pt>
10924
10925         * buffer.h:
10926         * buffer.C (simpleDocBookOnePar): removed unused argument.
10927
10928 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10929
10930         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10931         insets which are part of a word. Paragraph::isLetter takes care of
10932         that now. Use Paragraph::isInset to identify insets.
10933         (selectSelectedWord): do not test for hyphenation break.
10934
10935         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10936         that protected spaces are considered as spaces.
10937
10938         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10939         Inset::isLetter.
10940
10941 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * lyxserver.h:
10944         * lyxserver.C: fix it. and small cleanup.
10945
10946 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * BufferView_pimpl.C: use inline helpers
10949
10950         * LaTeXFeatures.h:
10951         * LaTeXFeatures.C: fix typos
10952
10953         * Spacing.h:
10954         * Spacing.C: move spacing_string into class
10955
10956         * ToolbarDefaults.C: move stuff into namespace anon
10957
10958         * layout.h: update enum
10959
10960         * lyxfunc.C: use better debug
10961
10962         * minibuffer.h: fix typo
10963
10964         * debug.h:
10965         * debug.C:
10966         * WorkArea.C: add and use Debug::WORKAREA
10967
10968         * lyxtext.h:
10969         * text.C:
10970         * text2.C: code re-organisation, inline helpers
10971
10972 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10973
10974         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10975         std::vector.empty().
10976
10977 2001-11-09  Allan Rae  <rae@lyx.org>
10978
10979         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10980         '\n's after tables.  Tabular and ERT inset work now makes this no
10981         longer necessary.
10982
10983 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * minibuffer.h:
10986         * minibuffer.C: fix crash, improve drop-down completion
10987
10988 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * lyxserver.h:
10991         * lyxserver.C: invalidate fd's when doing endPipe()
10992
10993 2001-11-08  José Matos  <jamatos@fep.up.pt>
10994
10995         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10996         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10997
10998         * paragraph.h:
10999         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11000
11001 2001-11-07  José Matos  <jamatos@fep.up.pt>
11002
11003         * buffer.h:
11004         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11005         const qualifier.
11006
11007         * buffer.C (sgmlOpenTag):
11008         * buffer.C (sgmlCloseTag): removed debug info.
11009
11010         * buffer.h (sgmlOpenTag):
11011         * buffer.h (sgmlCloseTag): made public.
11012
11013 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11014
11015         * buffer.C (saveParamsAsDefaults):
11016         * lyx_cb.C (MenuLayoutSave): remove
11017
11018         * LyXAction.C (init):
11019         * commandtags.h:
11020         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11021
11022 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * buffer.C (setPaperStuff): removed from here...
11025
11026         * bufferparams.C (setPaperStuff): ... and moved there.
11027
11028 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * minibuffer.h:
11031         * minibuffer.C:
11032         * XFormsView.C: add support for drop-down completion
11033
11034 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11035
11036         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11037         commands.
11038
11039 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11042         disabled.
11043
11044 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * lyx_main.C: change ref to known bugs
11047
11048 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11049
11050         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11051         to work around older babel problems.
11052
11053 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11054
11055         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11056
11057 2001-10-24  Juergen Vigna  <jug@sad.it>
11058
11059         * tabular-old.C (ReadOld): below variable changes reflected.
11060
11061         * tabular.[Ch]: added ltType struct for longtable header/footer
11062         defines and changed all instances where they are used. Added
11063         future support for double top/bottom rows.
11064
11065 2001-10-24  José Matos  <jamatos@fep.up.pt>
11066
11067         * buffer.h (docbookHandleCaption):
11068         * buffer.C (docbookHandleCaption): removed unused function.
11069         (makeDocBookFile): moved docbook supported version to v4.1.
11070
11071 2001-10-24  José Matos  <jamatos@fep.up.pt>
11072
11073         * tabular.h:
11074         * tabular.C (docbookRow): new function to export docbook code of a row.
11075         (DocBook): now honors the longtable flags.
11076
11077 2001-10-23  José Matos  <jamatos@fep.up.pt>
11078
11079         * LaTeXFeatures.h:
11080         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11081         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11082
11083         * buffer.C (makeLinuxDocFile):
11084         (makeDocBookFile): reworked the preamble, more clean, and with
11085         support for lyx defined entities. Changed the document declaration
11086         to be more XML friendly.
11087
11088         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11089         if we need to output XML that should be done with a filter.
11090
11091 2001-10-22  Juergen Vigna  <jug@sad.it>
11092
11093         * sp_pspell.h (class PSpell): add alive function needed in the
11094         controller to see if the spellchecker could be started.
11095
11096 2001-10-22  Juergen Vigna  <jug@sad.it>
11097
11098         * buffer.C (insertStringAsLines): modify the font for inserting
11099         chars in certain conditions by calling checkInsertChar(font).
11100
11101 2001-10-19  Juergen Vigna  <jug@sad.it>
11102
11103         * text.C (workWidth): use getRow instead of wrong algorithm.
11104         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11105
11106 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * lyxserver.h:
11109         * lyxserver.C:
11110         * lyx_main.h:
11111         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11112
11113 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11114
11115         * text.C (workWidth): do not search for the exact row when
11116         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11117         optimization for big documents.
11118
11119 2001-10-18  Juergen Vigna  <jug@sad.it>
11120
11121         * text.C (workWidth): new function with added Inset * parameter.
11122
11123 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11126
11127         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11128         change return type of getColumnNearX.
11129
11130
11131         * text.C (changeRegionCase): use uppercase/lowercase instead of
11132         toupper/tolower.
11133         (leftMargin):
11134         (rightMargin): simplify code by factoring out the uses of
11135         textclasslist.
11136         (labelFill):
11137         (numberOfHfills):
11138         (setHeightOfRow):
11139         (appendParagraph): use Paragraph::size_type
11140
11141 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * vspace.C (asLatexString): add a missing break
11144
11145 2001-10-15  Herbert Voss  <voss@perce.de>
11146
11147         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11148
11149 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11150
11151         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11152         is not available.
11153
11154 2001-10-10  André Pönitz <poenitz@gmx.net>
11155
11156         * lyxfunc.C: removed greek_kb_flag.
11157
11158 2001-10-10  Herbert Voss  <voss@perce.de>
11159
11160         * lyx_main.C: delete global string help_lyxdir.
11161
11162 2001-10-09  Herbert Voss  <voss@perce.de>
11163
11164         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11165
11166         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11167
11168         * lyx_main.C: added global string help_lyxdir.
11169
11170         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11171
11172 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11173
11174         * lyxrc.C (set_font_norm_type): support iso8859-4
11175
11176 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11177
11178         * LaTeX.C (deplog): add another regex for MikTeX
11179
11180 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11181
11182         * lyxrc.C (set_font_norm_type): support iso8859-3
11183
11184 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11185
11186         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11187
11188         * LaTeXFeatures.C: remove special case of french and index
11189
11190         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11191         before \begin{document}). This solves several incompatibilities.
11192
11193 2001-10-03  Garst Reese  <reese@isn.net>
11194
11195         * lyx_cb.C: change CheckTex error msg.
11196
11197 2001-10-03  José Matos  <jamatos@fep.up.pt>
11198
11199         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11200
11201 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11202
11203         * .cvsignore: update
11204
11205         * lyx_main.C (commandLineVersionInfo): use new style version info.
11206
11207         * buffer.C (writeFile):
11208         (makeLaTeXFile):
11209         (makeLinuxDocFile):
11210         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11211
11212         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11213
11214         * version.h: update to use stuff in version.C
11215
11216         * version.C.in: new file. Contains version information determined
11217         at compile time. This is a merging of version.h and
11218         version_info.h.in.
11219
11220 2001-10-03  Juergen Vigna  <jug@sad.it>
11221
11222         * BufferView_pimpl.C (update): don't change "dirty" status in
11223         updateInset call.
11224
11225 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11226
11227         * WorkArea.C (c-tor): re-position version string slightly.
11228
11229 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11230
11231         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11232         revert to previous code.
11233
11234         WorkArea.[Ch]: (show, destroySplash): methods removed.
11235
11236         WorkArea.C: rework code so that it's an amalgam of the codes before and
11237         after the splash screen was moved to WorkArea.
11238
11239 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11240
11241         * lyxrc.C (read):
11242         * vspace.C (inPixels):
11243         (lyx_advance):
11244         * kbmap.C (bind):
11245         * buffer.C (insertStringAsLines):
11246         (asciiParagraph): fix types to be large enough
11247
11248         * lyxlex_pimpl.h: change member status from short to int
11249
11250         * layout.h: fix type of endlabeltype
11251
11252         * kbmap.C (bind):
11253         * kbsequence.C (parse): change return type to string::size_type
11254
11255         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11256         variable
11257
11258         * Bullet.C (bulletSize):
11259         (bulletEntry): do not use short ints as parameters
11260
11261         * BufferView2.C (insertLyXFile): change a char to an int.
11262
11263         * WorkArea.C (WorkArea): remove unneeded floats in computation
11264
11265 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11266
11267         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11268
11269         * paragraph.C (asString): Do not ignore newline/hfill chars when
11270         copying to the clipboard.
11271
11272 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11273
11274         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11275         after a multi-line inset.
11276
11277 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11278
11279         * paragraph.C (validate): Set NeedLyXFootnoteCode
11280
11281 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11282
11283         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11284         and decrease-error to decrease.
11285
11286 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11287
11288         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11289         it more readable (should be equivalent)
11290
11291 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11292
11293         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11294
11295 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11296
11297         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11298         of a cursor (row, etc.) after a character has been deleted
11299         (deleteEmptyParagraphMechanism): call the method above on _all_
11300         cursors held by the LyXText when a double space has been
11301         detected/deleted.
11302
11303 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11304
11305         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11306         pixmap.
11307         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11308
11309         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11310         background. Use greyOut() and the new show() methods to toggle between
11311         the foreground and background. Add code to remove the splash after
11312         its initial showing.
11313
11314         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11315         (create_forms): no longer call Dialogs::showSplash.
11316
11317 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11318
11319         * .cvsignore: add version_info.h
11320
11321 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11322
11323         * version_info.h.in: new file
11324
11325         * Makefile.am: add version_info.h.in
11326
11327         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11328         version_info.h instead of VERSION_INFO
11329
11330 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11331
11332         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11333         The ERT inset now returns string().
11334
11335 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11336
11337         * lyxtext.h, text.C (selectNextWord): renamed as
11338         selectNextWordToSpellcheck.
11339
11340         * text.C (selectNextWordToSpellcheck): Modified to not select
11341         words inside an ERT inset.
11342
11343 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * lyx_cb.C (MenuLayoutSave): change a bit the question
11346
11347         * sp_base.h: include <sys/types.h>
11348
11349 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11352
11353 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11354
11355         * several files: fix typos in user-visible strings
11356
11357 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11358
11359         * text2.C (pasteSelection): do not set the selection, since it
11360         will be cleared later. Actually, the intent was to fix the way the
11361         selection was set, but I figured rmoving the code was just as good.
11362
11363 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11364
11365         * FontLoader.C (available): Check if font is available without
11366         loading the font.
11367
11368 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11369
11370         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11371
11372 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11373
11374         * lyxrc.[Ch]: added display_graphics variable and associated code.
11375
11376 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11377
11378         * bufferparams.C (hasClassDefaults): new method. Returns true if
11379         the buffer parameters correspond to known class defaults
11380
11381 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11382
11383         * XFormsView.C (show): set minimum size to the main window.
11384
11385 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11386
11387         * text2.C (copySelection):
11388         (cutSelection):
11389         * lyxfind.C (LyXReplace):
11390         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11391         LyXText::selectionAsString.
11392
11393         * paragraph.C (asString): add "label" argument to the second form
11394
11395         * text2.C (selectionAsString): add "label" argument and pass it to
11396         Paragraph::asString.
11397
11398 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11399
11400         * lyx_main.C (commandLineHelp): remove version information
11401
11402 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11403
11404         * lyx_main.C: add -version commandline option
11405
11406 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11407
11408         * paragraph.h: make the optional constructor arg required instead.
11409         some modifications to other files because of this.
11410
11411         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11412
11413         * lyxserver.C (C_LyXComm_callback): make it static
11414
11415         * lyx_main.C (error_handler): make it static
11416
11417         * lyx_gui.C (LyX_XErrHandler): make it static
11418
11419         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11420
11421         * WorkArea.C: make the extern "C" methods static.
11422
11423         * Makefile.am (lyx_LDADD): simplify
11424
11425 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11426
11427         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11428         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11429
11430         * LyXAction.C (init):
11431         * lyxfunc.C (dispatch): associated code removal.
11432
11433 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11434
11435         * lyxfont.h (isSymbolFont): shut off warning
11436
11437         * text.C (setHeightOfRow):
11438         (getVisibleRow): fix crash with empty paragraphs which have a
11439         bottom line
11440
11441 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11442
11443         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11444         code.
11445
11446 2001-09-04  José Matos  <jamatos@fep.up.pt>
11447         * buffer.C
11448         * buffer.h
11449         * tabular.C (docbook): rename docBook method to docbook.
11450
11451 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11452
11453         * Makefile.am: add dependencies to main.o.
11454
11455 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * FontLoader.C (available): Return false if !lyxrc.use_gui
11458
11459 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11460
11461         * FontInfo.C (query):
11462         * converter.C (view):
11463         * importer.C (Import):
11464         * exporter.C (Export): Can not -> cannot.
11465
11466 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * BufferView_pimpl.C: allow to create index inset even if
11469           string is empty
11470
11471 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11472
11473         * buffer.C (getLists): replace boost::tie code with an explicit pair
11474         as boost::tie can break some compilers.
11475
11476         * iterators.h: Added a std:: declaration to the return type of
11477         ParIterator::size.
11478
11479 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11482           case.
11483
11484 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11485
11486         * iterators.[Ch]: New files. Provide paragraph iterators.
11487
11488         * buffer.C (changeLanguage): Use paragraph iterators.
11489         (isMultiLingual): ditto
11490
11491         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11492
11493 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11494
11495         * FontLoader.C: Support for cmr font.
11496
11497 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11498
11499         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11500         (available): New method.
11501
11502         * FontInfo.C (getFontname): Use scalable fonts even when
11503         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11504         found.
11505
11506 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * converter.C (Formats::view): reverted! Incorrect fix.
11509
11510 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * converter.C (Formats::view): only output the -paper option
11513         if the dvi viewer is xdvi, thereby fixing bug #233429.
11514
11515 2001-08-23  Herbert Voss  <voss@perce>
11516
11517         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11518
11519 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11520
11521         * Spacing.h (Spacing): Set space to Default on in the default
11522         constructor.
11523
11524 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * vc-backend.h (RCS::versionString): add RCS to version
11527         (CVS::versionString): add CVS to version
11528
11529         * vc-backend.C (scanMaster): do not add CVS to version.
11530         (scanMaster): do not add RCS to version
11531
11532         * lyxvc.C (versionString): new method
11533
11534         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11535
11536 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * Spacing.C (set): initialize fval
11539
11540 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11541
11542         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11543         " or \.
11544
11545 2001-08-16  Juergen Vigna  <jug@sad.it>
11546
11547         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11548
11549 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * BufferView_pimpl.C:
11552         * figureForm.C:
11553         * lyxtext.h:
11554         * text2.C: setParagraph takes linespacing now
11555
11556 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * LyxAction.C: add internal LFUN_CITATION_INSERT
11559
11560         * LyXView.C: actually apply fix
11561
11562         * bufferlist.C: fix open non-existent file
11563
11564         * lyxfind.C: fix indentation
11565
11566         * lyxfunc.C: remove unneeded assert, fix typo
11567
11568 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * MenuBackend.C: use "Floatname List"
11571
11572 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11575         when converting LaTeX layout to insetERT.
11576         Generate a non-collapsed float when reading old float
11577
11578 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11581         ERT insets.
11582
11583 2001-08-13  Juergen Vigna  <jug@sad.it>
11584
11585         * text.C (fill): return 0 instead of 20 as this seems to be the more
11586         correct value.
11587
11588 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11589
11590         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11591         lyxrc.font_norm.
11592
11593 2001-08-13  Juergen Vigna  <jug@sad.it>
11594
11595         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11596         casesensitive off.
11597         (SearchBackward): comment out the unlocking of the inset_owner this
11598         should not be needed!
11599
11600 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11601
11602         * Many files: Remove inherit_language, and add latex_language
11603
11604         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11605         collapsible insets.
11606
11607 2001-08-10  Juergen Vigna  <jug@sad.it>
11608
11609         * text.C (prepareToPrint): fixed hfill-width in draw!
11610
11611         * BufferView2.C (selectLastWord): save the selection cursor as this
11612         now is cleared in the function LyXText::clearSelection!
11613
11614 2001-08-08  Juergen Vigna  <jug@sad.it>
11615
11616         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11617         BACKSPACE type functions.
11618
11619         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11620         is only cutted from the document but not put in the cut-buffer, where
11621         still the old stuff should be.
11622
11623         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11624
11625         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11626
11627         * tabular.C (SetWidthOfCell): fixed special case where the width
11628         was not updated!
11629         (LeftLine): handle '|' in align_special.
11630         (RightLine): ditto
11631         (LeftAlreadyDrawed): ditto
11632         (SetWidthOfCell): ditto
11633
11634 2001-08-07  Juergen Vigna  <jug@sad.it>
11635
11636         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11637
11638 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11641         * lyxlex.[hC]: ditto
11642
11643 2001-08-06  Juergen Vigna  <jug@sad.it>
11644
11645         * text.C (getVisibleRow): fix up row clearing a bit.
11646
11647 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11648
11649         * minibuffer.C: make sure the X server sees the changes in the input.
11650
11651 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * paragraph.C (getFont): split into...
11654         (getLabelFont): this
11655         (getLayoutFont): and this
11656         * paragraph_pimpl.C (realizeFont): calling this
11657
11658         * text2.C (getFont): split into...
11659         (getLayoutFont): this
11660         (getLabelFont): and this
11661         (realizeFont): all three calling this
11662
11663         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11664         files where used.
11665
11666 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11667
11668         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11669
11670 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11671
11672         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11673         layouts from the Quote inset insertion.
11674
11675 2001-08-03  Juergen Vigna  <jug@sad.it>
11676
11677         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11678
11679         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11680         only if status not is already CHANGED_IN_DRAW (second level).
11681
11682         * text.C (draw): don't set the need_break_row when inside an
11683         InsetText LyXText.
11684
11685 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * buffer.C (parseSingleLyXformat2Token): handle more latex
11688         conversion cases.
11689
11690         * bufferview_funcs.[hC]: change function names to
11691         begin with small char, adjust other files.
11692
11693 2001-08-02  André Pönitz <poenitz@gmx.net>
11694
11695         * lyxfunc.C:
11696         BufferView_pimpl.C: remove broken special code for math-greek
11697
11698 2001-08-02  Juergen Vigna  <jug@sad.it>
11699
11700         * BufferView_pimpl.C (update): redone this function so that we
11701         update the text again if there was a CHANGE_IN_DRAW.
11702
11703         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11704         (drawFromTo): added a new internal bool which is used by draw() and
11705         redraw() function.
11706         (general): some cursor drawing problems fixed.
11707
11708 2001-08-01  Juergen Vigna  <jug@sad.it>
11709
11710         * lyxfind.C (LyXFind): fixed
11711         (SearchForward): ditto
11712         (SearchBackward): ditto
11713
11714         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11715         spurius drawing of the cursor in the main area.
11716
11717         * text2.C (status): small fix which could lead to a segfault!
11718         (clearSelection): remove unneeded BufferView param.
11719
11720 2001-08-01  André Pönitz <poenitz@gmx.net>
11721
11722         * lyxfunc.C: small change due to changed mathed interface
11723
11724 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11725
11726         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11727
11728 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * lyxfunc.c: fail gracefully if file doesn't exist
11731
11732         * LyXSendto.C:
11733         * buffer.C:
11734         * lyxfunc.C:
11735         * BufferView_pimpl.C: IsDirWriteable() proto changed
11736
11737         * LyXView.C: fix updateWindowTitle() to store the last title
11738
11739 2001-07-31  Juergen Vigna  <jug@sad.it>
11740
11741         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11742         the font (wrong since using of Paragraph::highestFontInRange).
11743
11744         * paragraph.C (highestFontInRange): added a default_size parameter.
11745
11746         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11747         (setHeightOfRow): reformat
11748
11749 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * converter.[hC] + affected files: move to (inital-char)lowercase
11752         function names.
11753
11754         * ParagraphParameters.C (ParagraphParameters): remove commented code
11755
11756         * PainterBase.[Ch]: remove commented code
11757
11758         * LaTeXFeatures.h: add "bool floats" for float.sty
11759
11760         * LaTeXFeatures.C (LaTeXFeatures): init floats
11761         (require): handle float
11762         (getPackages): do it with floats
11763
11764 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11765
11766         * BufferView_pimpl.C (Dispatch): improve handling of
11767         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11768
11769         * commandtags.h: #include lyxfont.h here temporarily to avoid
11770         keybinding bug.
11771
11772         * bufferlist.h: include LString.h here.
11773
11774 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11775
11776         * text2.C (getStringToIndex): new method.
11777
11778 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11779
11780         * *: Reduced header file dependencies all over.
11781
11782 2001-07-30  Baruch Even  <baruch@lyx.org>
11783
11784         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11785
11786 2001-07-29  Baruch Even  <baruch@lyx.org>
11787
11788         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11789
11790 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * ParameterStruct.h (endif): add a default constructor to make
11793         sure that all variables is initialized.
11794
11795         * ParagraphParameters.C (ParagraphParameters): adjust
11796
11797 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11800         index; also, check that there is something to index, and that it
11801         does not span over several paragraphs.
11802         (doubleClick): use WHOLE_WORD_STRICT for double click.
11803
11804         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11805
11806         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11807         scheme.
11808
11809 2001-07-26  Baruch Even  <baruch@lyx.org>
11810
11811         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11812         an InsetFig figure, backwards compatible reading of old figure code.
11813
11814 2001-07-27  Juergen Vigna  <jug@sad.it>
11815
11816         * text2.C: font.realize function adaption.
11817
11818         * text.C (draw): add a warnings lyxerr text if needed.
11819
11820         * layout.C: font.realize function adaption.
11821
11822         * language.C: add inherit_language and implement it's handlings
11823
11824         * bufferview_funcs.C (StyleReset): remove language parameter from
11825         font creation (should be language_inherit now).
11826
11827         * bufferparams.C (writeFile): handle ignore_language.
11828
11829         * paragraph.C (getFontSettings): the language has to be resolved
11830         otherwise we have problems in LyXFont!
11831
11832         * lyxfont.C (lyxWriteChanges): added document_language parameter
11833         (update): removed unneeded language parameter
11834
11835         * paragraph.C (validate): fixed wrong output of color-package when
11836         using interface colors for certain fonts in certain environments,
11837         which should not seen as that on the final output.
11838
11839 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * BufferView_pimpl.C:
11842         * Thesaurus.h:
11843         * Thesaurus.C:
11844         * Makefile.am:
11845         * commandtags.h:
11846         * LyXAction.C: add thesaurus support
11847
11848         * lyxfind.h:
11849         * lyxfind.C: add "once" parameter, for thesaurus, to not
11850           move to the next match
11851
11852 2001-07-26  Juergen Vigna  <jug@sad.it>
11853
11854         * lyxfont.C (realize): honor ignore_language too!
11855         (resolved): ditto.
11856
11857         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11858
11859         * text.C (draw): one place more for ignore_language to not draw
11860         itself!
11861
11862 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11863
11864         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11865
11866 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11869         the minipage conversion problem.
11870
11871 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11874         insert an inset.
11875
11876 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * BufferView.h: don't forward declare WorkArea
11879
11880         * BufferView.C: don't include WorkArea.h
11881
11882 2001-07-25  André Pönitz <poenitz@gmx.net>
11883
11884         * commandtags.h:
11885         * LyXAction.C:
11886         * lyxfunc.C:  new LFUN 'math-space'
11887
11888         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11889
11890 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * text2.C (toggleInset): call open/close
11893
11894 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * lyxfunc.C (dispatch): add debug for the disabled case
11897
11898         * font.C (buttonText): make similar to rectText
11899
11900         * buffer.C (readInset): comment out parsing of insetlist and
11901         insttheorem
11902
11903         * PainterBase.C (rectText): small correction
11904
11905         * BufferView_pimpl.C: comment out insettheorem and insetlist
11906         * LyXAction.C: ditto
11907         * commandtags.h: ditto
11908
11909 2001-07-24  Juergen Vigna  <jug@sad.it>
11910
11911         * text.C (draw): honor the ignore_language.
11912
11913         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11914
11915 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11916
11917         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11918         char inset.
11919
11920 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11921
11922         * lyxtext.h: remove unused (and unimplemented) methods
11923
11924 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11925
11926         * text.C (getVisibleRow): honor background color
11927
11928         * PainterBase.h:
11929         * Painter.h: remove default color argument for fillRectangle
11930
11931         * text.C (backgroundColor): new method
11932
11933 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11934
11935         * text.C (getVisibleRow): adjust
11936
11937         * font.[Ch] (rectText): new method, metrics
11938         (buttonText): new method, metrics
11939
11940         * PainterBase.[hC]: make rectText and buttonText always draw and take
11941         fewer paramteres.
11942
11943 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11944
11945         * ToolbarDefaults.C (read):
11946         * MenuBackend.C (read): allow escaping in all strings
11947
11948         * BufferView_pimpl.C (insertAndEditInset): new method.
11949         (Dispatch): use insertAndEditInset whenever appropriate.
11950
11951         * BufferView_pimpl.C (insertNote): removed
11952
11953         * BufferView_pimpl.C (smartQuote): new method, moved from
11954         BufferView; if an insetquote cannot be inserted, insert a '"'
11955         character instead.
11956
11957         * BufferView2.C: remove insertCorrectQuote();
11958
11959         * lyxfunc.C (getStatus): Add support for all remaingin
11960         inset-insert lfuns.
11961
11962         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11963
11964         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11965         command (necessary to pass " as parameter of self-insert.
11966
11967         * text.C (selectWordWhenUnderCursor):
11968         (selectWord): add word_location parameter
11969         (selectWordWhenUnderCursor): same + remove special code for word
11970         boundary.
11971         (selectNextWord): use kind() to guess type of insetspecialchar,
11972         not latex().
11973
11974         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11975         (insertErtContents): create ert insets as collapsed.
11976         (readInset): better compatibility code for Info inset.
11977
11978 2001-07-20  Juergen Vigna  <jug@sad.it>
11979
11980         * lyxfunc.C (dispatch): use always LyXFind now!
11981
11982         * text2.C (init): add a reinit flag so that the LyXText can be
11983         reinited instead of deleted and reallocated (used in InsetText).
11984
11985         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11986
11987         * text.C: ditto
11988
11989         * text2.C: ditto
11990
11991 2001-07-18  Juergen Vigna  <jug@sad.it>
11992
11993         * text.C (selectNextWord): handle insets inside inset by calling
11994         always the bv->text functions so that we can go up the_locking_inset!
11995
11996         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11997         in strange locations when inside an inset!
11998
11999         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12000         handling to include insets.
12001
12002         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12003
12004 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * LyXAction.C (init):
12007         * commandtags.h:
12008         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12009         LIGATURE_BREAK, since the name is so stupid.
12010
12011 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12012
12013         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12014         InsetInfos.
12015
12016         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12017
12018         * sp_form.[Ch]: remove.
12019
12020         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12021
12022         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12023         InsetInfo.
12024
12025         * src/buffer.C (readInset): ditto.
12026
12027 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12028
12029         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12030         menuSeparator(), endOfSentenceDot(), ldots() and
12031         hyphenationPoint(), which are therefore removed.
12032         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12033
12034         * LyXAction.C (init):
12035         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12036
12037         * paragraph.C (getWord): removed.
12038
12039         * BufferView_pimpl.C (Dispatch): use last word or selection for
12040         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12041
12042         * lyx_main.C (queryUserLyXDir): do not ask before creating
12043         user_dir, except if it has been named explicitely.
12044
12045 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12046
12047         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12048         a document of zero size.
12049
12050 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12053         approriately in the c-tor and in require().
12054         (getPackages): output the appropriate LaTeX for natbib support.
12055
12056         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12057         variables "use_natbib" and "use_numerical_citations" when reading the
12058         LyX file.
12059         (readInset): read the various natbib cite commands.
12060         (validate): white-space change.
12061
12062         * bufferparams.[Ch]: new variables "bool use_natbib" and
12063         "bool use_numerical_citations".
12064         (writeFile): output them in the LyX file.
12065
12066 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12067
12068         * lyxfunc.C (getStatus): add support for all the inset insertion
12069         commands.
12070
12071         * text2.C (insertInset):
12072         * paragraph.C (insetAllowed):
12073         * BufferView_pimpl.C (insertInset): update to take in account the
12074         renaming of insertInsetAllowed
12075
12076         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12077
12078         * text2.C (getInset): new method. returns inset at cursor position.
12079
12080         * BufferView_pimpl.C (Dispatch): changes because of this.
12081
12082         * LyXAction.C (init): rename open-stuff to inset-toggle.
12083
12084         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12085
12086         * text2.C (toggleInset): renamed from openStuff; use
12087         Inset::open().
12088
12089 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12090
12091         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12092
12093         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12094
12095 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * buffer.C (readLyXformat2): Add filename to the error dialog
12098
12099 2001-07-18  Juergen Vigna  <jug@sad.it>
12100
12101         * tabular.C (GetCellNumber): put an assert here instead of the check!
12102
12103 2001-07-17  Juergen Vigna  <jug@sad.it>
12104
12105         * BufferView_pimpl.C (toggleSelection): adapted too.
12106
12107         * text.C (selectNextWord): adapted for use with insets.
12108         (selectSelectedWord): ditto
12109
12110 2001-07-17  Juergen Vigna  <jug@sad.it>
12111
12112         * sp_spell.C (PSpell): fix initialitation order.
12113
12114 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * paragraph.C: spacing
12117
12118 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12119
12120         * sp_spell.C: repair language selection for pspell
12121
12122 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * lyxfunc.h: change more methods to begin with lower char.
12125
12126 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12127
12128         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12129         for unknown layouts.
12130
12131 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12132
12133         * buffer.C (readLyXformat2): Generate an error dialog if there are
12134         unknown layouts.
12135
12136 2001-07-16  Juergen Vigna  <jug@sad.it>
12137
12138         * sp_spell.C: always compile ISpell part.
12139
12140         * lyxrc.C: added use_pspell entry and it's handling.
12141
12142 2001-07-13  Juergen Vigna  <jug@sad.it>
12143
12144         * sp_spell.C: removed double includes.
12145
12146 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         Consistent use of Lsstream.h:
12149         * Lsstream.h: added using std::stringstream for consistencies sake.
12150
12151         * buffer.C: removed using std::stringstream
12152
12153         * lyxfont.C (stateText):
12154         * paragraph.C (asString):
12155         * text.C (selectNextWord, selectSelectedWord):
12156         * text2.C (setCounter):
12157         * vspace.C (asString, asLatexString):
12158         std::ostringstream -> ostringstream.
12159
12160 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12161
12162         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12163         * commandtags.h: add LFUN_HELP_ABOUTLYX
12164         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12165
12166 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12167
12168         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12169         cursorToggle()
12170         * lyx_gui_misc.C: remove spellchecker
12171         * lyxfunc.C: showSpellchecker
12172         * sp_base.h: added
12173         * sp_ispell.h: added
12174         * sp_pspell.h: added
12175         * sp_spell.C: added
12176         * sp_form.[Ch]: removed
12177         * spellchecker.[Ch]: removed
12178
12179 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12180
12181         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12182         is set.
12183         (simpleTeXSpecialChars): Simply print the input character without
12184         any special translation if pass_thru is set.
12185
12186         * layout.h: Added bool pass_thru to layout class for being able to
12187         implement pass through of a paragraph for Literate Programming.
12188
12189         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12190         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12191         * layout.C (Read): add "passthru" to list of layout tags and add
12192         code to set the pass_thru boolean when it is read.
12193
12194 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * trans_decl.h: remove allowed from KmodInfo
12197
12198         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12199         remove allowed code
12200         (Load): adjust
12201
12202         * paragraph_pimpl.C (erase): use boost::prior
12203
12204         * Painter.C (text): use data() instead of c_str() when length is
12205         also provided.
12206         * WorkArea.C (putClipboard): ditto
12207         * font.h (width): ditto
12208
12209         * BufferView2.C: use it-> instead of (*it). for iterators
12210         * texrow.C: ditto
12211         * paragraph_pimpl.C: ditto
12212         * paragraph.C: ditto
12213         * minibuffer.C: ditto
12214         * language.C: ditto
12215         * kbmap.C: ditto
12216         * encoding.C: ditto
12217         * counters.C: ditto
12218         * converter.C: ditto
12219         * chset.C: ditto
12220         * Variables.C: ditto
12221         * TextCache.C: ditto
12222         * MenuBackend.C: ditto
12223         * LyXAction.C: ditto
12224         * LColor.C: ditto
12225         * FloatList.C: ditto
12226         * DepTable.C: ditto
12227         * ColorHandler.C (LyXColorHandler): ditto
12228
12229 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12232
12233         * text2.C (openStuff): reintroduce this method (which had been
12234         nuked in NEW_INSETS frenzy).
12235
12236         * lyxfunc.C (Dispatch): when an action has not been handled, use
12237         its name in the error message, not its number.
12238
12239         * paragraph.C (inInset): change method name to begin with lowercase.
12240
12241         * undo_funcs.C:
12242         * text2.C: updates because of this.
12243
12244 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * ToolbarDefaults.C (add): add spaces in error message
12247
12248 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12251         (readLyXformat2): rename return_par to first_par, use lyxlex's
12252         pushToken and remove the manual push handling.
12253         (parseSingleLyXformat2Token): add another ert comp. variable:
12254         in_tabular, rename return_par to first_par. handle newlines better
12255
12256 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12257
12258         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12259
12260 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * text2.C (getParFromID): removed
12263
12264         * buffer.C (getParFromID): new method moved form lyxtext.
12265         * BufferView2.C (insertErrors): adjust
12266         (setCursorFromRow): adjust
12267         * BufferView_pimpl.C (restorePosition): adjust
12268         * lyxfunc.C (Dispatch): adjust
12269         * undo_funcs.C (textUndo): adjust
12270         (textRedo): adjust
12271         (textHandleUndo): adjust
12272         (textHandleUndo): adjust
12273
12274 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * buffer.C: up' the LYX_FORMAT
12277
12278         * lyxfont.h: turn NO_LATEX on as default
12279
12280         * buffer.C (insertErtContents): new methods of tex style compability.
12281         (parseSingleLyXformat2Token): use it several places.
12282         * tabular.C (OldFormatRead): and here
12283
12284 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12285
12286         * text2.C: remove some commented code.
12287         reindent file.
12288
12289         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12290         * trans.C: changes because of the above.
12291
12292 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12293
12294         * text2.C (setCounter): Fix counters bug with bibliography layout.
12295
12296 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12299         own member functions
12300         (simpleTeXSpecialChars): ditto
12301
12302 2001-07-06  Juergen Vigna  <jug@sad.it>
12303
12304         * a lot of files: changed the access to LyXText::status and the
12305         call of undo-functions.
12306
12307         * undo.[Ch]: added a inset_id to the undo informations.
12308
12309         * undo_funcs.[Ch]: added and moved here all undo functions.
12310
12311         * lyxtext.h: give the status enum a weight, made status_ a private
12312         variable and made accessor functions for it, removed the whole bunch
12313         of undo-functions as they are now in their own file, make some
12314         functions publically available. Added function ownerParagraph with
12315         int parameter.
12316
12317         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12318         made InInset() a const function, added getParFromID() function.
12319
12320         * buffer.[Ch]: added const version for inset_iterator functions,
12321         added getInsetFromID() function.
12322
12323         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12324         changed undo functions for new version.
12325
12326 2001-07-05  Juergen Vigna  <jug@sad.it>
12327
12328         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12329         unknow mechanism does not call the proper constructor but only this
12330         one also if I request the other!?
12331
12332 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12335
12336         * text2.C (LyXText): use initialization lists.
12337
12338         * lyxtext.h (Selection): initialize set_ and mark_
12339         (init): remove method
12340
12341 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12342
12343         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12344
12345 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * screen.[Ch]: change method names to begin with lowercase
12348
12349         * BufferView_pimpl.C (updateScrollbar): simplify further and
12350         hopefully make it a bit faster.
12351
12352 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12355         calling directly xforms functions.
12356
12357         * Painter.C (Painter):
12358         * lyx_cb.C (MenuWrite):
12359         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12360         fl_display.
12361
12362         * lyx_gui.C: remove bogus guiruntime extern declaration.
12363
12364 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12367         in NEW_INSETS
12368         (redoDrawingOfParagraph): ditto
12369         (redoParagraphs): ditto
12370         (cutSelection): don't create a object for CutAndPaste use the
12371         static method directly
12372         (pasteSelection): ditto
12373
12374         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12375         LyXview (+ rename)
12376
12377 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * modifications to some other files because of this.
12380
12381         * Makefile.am (lyx_SOURCES): add XFormsView
12382
12383         * XFormsView.[Ch]: new files
12384
12385         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12386         the main window. Move the gui dependent stuff to XFormsView
12387
12388 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12389
12390         * tabular.C (GetCellInset): update cur_cell also in the row/col
12391         version of this function.
12392
12393         * lyxfunc.C: no need to include figure_form.h here.
12394
12395         * FontLoader.h:
12396         * lyxfunc.h:
12397         * lyxscreen.h:
12398         * text2.C:
12399         * lyxvc.C: no need to include forms.h here.
12400
12401 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12404
12405         * lyxfunc.C (Dispatch):
12406         * Spacing.C (set):
12407         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12408         constructor argument.
12409
12410 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * paragraph.C (Paragraph): dont't clear, and just set layout.
12413         (makeSameLayout): use params's copy contructor.
12414
12415         * ParagraphParameters.[Ch] (makeSame): delete method
12416
12417 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * Variables.[Ch]: fix indentation, rename set to isSet
12420
12421 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * lyxfunc.C (Dispatch): fix typo
12424
12425 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12428         upper_bound.
12429
12430         * bufferlist.C: include assert.h for emergencyWrite().
12431
12432 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12435           give up at last (bug #425202) !
12436
12437 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * lyx_gui_misc.C:
12440         * sp_form.h:
12441         * sp_form.C:
12442         * spellchecker.h:
12443         * spellchecker.C: strip spellchecker options and bring up
12444           preferences tab instead
12445
12446 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12447
12448         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12449         the istringstream constructor
12450
12451 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * paragraph.C (getLayout): fix return value
12454
12455         * paragraph.h: do not declare getLayout as inline.
12456
12457         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12458
12459 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * lyxcursor.h (operator<): new func
12462         (operator>): new func
12463         (operator>=): new func
12464         (operator<=): new func
12465
12466         * text.C (changeCase): use selection.start and selection.end
12467         (changeRegionCase): require from to be <= to. Require par to be a
12468         valid paragraph.
12469
12470         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12471
12472 2001-06-27  Juergen Vigna  <jug@sad.it>
12473
12474         * text.C (cursorLeftOneWord): changed to return the cursor and added
12475         overlay with BufferView * parameter which calls this one.
12476         (getWord): added
12477         (selectWord): use new getWord function.
12478         (changeCase): renamed from changeWordCase as and extended to work
12479         also on selections.
12480
12481         * lyxtext.h: added enum word_location
12482
12483         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12484         changeCase as this operates now also on selections.
12485
12486 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12487
12488         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12489
12490         * many files: send debug output to Debug::INFO instead of
12491         Debug::ANY.
12492
12493         * converter.C (View):
12494         (Convert):
12495         (Move): send debug output to Debug::FILES instead of console.
12496
12497 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12498
12499         * lyxfunc.C (getStatus): use func_status
12500
12501         * func_status.h: new header, describing the results of
12502         LyXFunc::getStatus;
12503
12504         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12505         LFUN_MATH_HALIGN.
12506
12507 2001-06-25  The LyX Project  <jug@sad.it>
12508
12509         * buffer.C (sgmlOpenTag):
12510         (sgmlCloseTag):
12511         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12512
12513 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * text2.C: remove some dead code
12516
12517         * tabular.C (GetCellInset): store the last cell checked (gotten)
12518
12519         * tabular.h: add the helper for the speedup
12520
12521         * lyxtext.h: remove some dead code
12522
12523 2001-06-26  The LyX Project  <Asger>
12524
12525         * paragraph.C: Change export to LaTeX of alignment to
12526         \begin{center} and family for better roundtrip work with reLyX.
12527
12528         * Tune the math drawing a bit.
12529
12530 2001-06-25  The LyX Project  <Asger>
12531
12532         * LColor.C (LColor): New color for math background. New color
12533         for buttons.
12534
12535 2001-06-25  The LyX Project  <jug@sad.it>
12536
12537         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12538
12539         * lyxfunc.C (Open):
12540         * bufferlist.C (newFile): do not restrict to files ending with
12541         .lyx
12542
12543         * BufferView_pimpl.C (MenuInsertLyXFile):
12544
12545 2001-06-24  The LyX Project  <jug@sad.it>
12546
12547         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12548         of compare_no_case
12549
12550 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12551
12552         * lyxtext.h: rename most methods to begin with a small char.
12553         Lots of changes because of this.
12554
12555         * paragraph.C (Paragraph): do not call fitToSize
12556         (erase): call Pimpl::erase
12557         (insertChar): call Pimpl::insertChar
12558         (insertInset): call Pipl::insertInset
12559         (breakParagraph): do not call fitToSize
12560         (breakParagraphConservative): do not call fitToSize
12561         (fitToSize): remove method
12562
12563         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12564
12565 2001-06-24  The LyX Project  <Asger>
12566
12567         * Fix Qt compilation^2
12568
12569 2001-06-24  The LyX Project  <jug@sad.it>
12570
12571         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12572         depthHook(getDepth()-1).
12573
12574         * paragraph.h:
12575         * ParagraphParameters.h:
12576         * ParameterStruct.h: change type of depth to unsigned int ==
12577         depth_type. Many adaptations to other files before of that.
12578
12579 2001-06-24  The LyX Project  <Asger>
12580
12581         * Fix Qt compilation.
12582
12583 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * paragraph.h: renamed several methods to begin with small letter.
12586         several changes to many parts of the code because of this.
12587
12588 2001-06-23  The LyX Project  <jug@sad.it>
12589
12590         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12591         rewritten to discard all double spaces when KeepEmpty is off
12592         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12593         to only handle newlines but not fiddle with spaces and friends.
12594
12595         * lyxfunc.C (MenuNew): when doing 'new from template', use
12596         template_path as default directory
12597
12598 2001-06-23  The LyX Project  <Asger>
12599
12600         * Clean-up of header file includes all over
12601         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12602
12603 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * paragraph.h: renamed from lyxparagraph.h
12606
12607 2001-06-23  Asger  <lyx@violet.home.sad.it>
12608
12609         * Buffer.h: Removed Buffer::resize
12610         * BufferList.h: Removed BufferList::resize
12611         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12612         the document lazily when we change the width, or the font settings.
12613
12614 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12617
12618 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * buffer.h: remove out of date comment
12621
12622 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * lyxscreen.h:
12625         * screen.C: fix "theoretical" GC leak
12626
12627 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12628
12629         * LaTeX.C (scanAuxFile):
12630         (deplog): remove trailing \r when reading stream (useful under
12631         win32)
12632
12633 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12634
12635         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12636         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12637         and BufferView::theLockingInset(Inset*), so should use them and not
12638         access bv_->text->the_locking_inset directly.
12639
12640         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12641
12642 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * Makefile.am:
12645         * tex-defs.h: remove old unused file
12646
12647 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * BufferView_pimpl.C: fix typo, remove minibuffer message
12650           when buffer has loaded
12651
12652 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * lyxfunc.C (Dispatch): use stringstream
12655         (MenuNew): use stringstream
12656         (Open): use stringstream
12657
12658         * importer.C (Import): use stringstream
12659
12660         * bufferview_funcs.C (CurrentState): use stringstream
12661
12662         * LaTeX.C (run): use stringstream
12663
12664         * BufferView_pimpl.C (savePosition): use stringstream
12665         (restorePosition): use stringstream
12666         (MenuInsertLyXFile): use stringstream
12667
12668 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12669
12670         * BufferView.C:
12671         * Bullet.C:
12672         * ColorHandler.C:
12673         * FontInfo.C:
12674         * FontLoader.C:
12675         * LColor.C:
12676         * LaTeXFeatures.C:
12677         * Painter.C:
12678         * gettext.C:
12679         * lyx_gui_misc.C:
12680         * lyxserver.C:
12681         * vspace.C: removed // -*- C++ -*- as first line.
12682
12683         * lyxfind.h:
12684         * version.h: added // -*- C++ -*- as first line.
12685
12686 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12689
12690         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12691         of string
12692
12693 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12696         of floats.
12697
12698 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12699
12700         * gettext.C: include LString.h even when --disable-nls is on.
12701
12702 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * converter.h (Get): changed argument type from int to
12705         FormatList::size_type to avoid unnecessary conversion.
12706
12707         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12708         before using it.
12709
12710 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * gettext.h: include LString.h even when --disable-nls is on.
12713
12714 2001-06-07  Juergen Vigna  <jug@sad.it>
12715
12716         * text.C (BreakAgain): subst spaces with tabs.
12717
12718         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12719         (resizeInsetsLyXText): set force on resizeLyXText.
12720
12721 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * gettext.h (gettext_init):
12724         (locale_init): use a real definition instead of a macro
12725
12726 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * Bufferview_pimpl.C:
12729         * LColor.h:
12730         * LColor.C: further lcolor tidies
12731
12732 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * BufferView_pimpl.C (updateScrollbar): simplify.
12735
12736         * BufferView2.C: don't include insets/insetinfo.h, change
12737         prototype for insertInset and call the Pimpl version. let
12738         updateInset call Pimpl version.
12739
12740         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12741         gotoInset to BufferView::Pimpl
12742
12743 2001-06-01  Juergen Vigna  <jug@sad.it>
12744
12745         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12746         inside a LockingInset (is the update needed at all?).
12747
12748 2001-05-31  Juergen Vigna  <jug@sad.it>
12749
12750         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12751         here not the old one otherwise how should we compare it afterwards
12752         if it's the same!
12753
12754 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12755
12756         * lyxfont.C:
12757         * tabular.C:
12758         * tabular-old.C:
12759         * FontInfo.C: bring C functions into global namespace when
12760         necessary
12761
12762 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12763
12764         * LString.h: make sure config.h has been loaded before LString.h.
12765
12766         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12767         (one for each char read by EatLine!).
12768
12769         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12770         variables.
12771
12772 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12775         to the same as the par we break from
12776
12777 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12780
12781         * MenuBackend.C (expand): also create menu entries for wide
12782         versions of the floats.
12783
12784         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12785
12786         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12787
12788         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12789         frontends/Makefile.am
12790
12791         * text2.C: adjust
12792         * text.C: adjust
12793
12794
12795         * tabular.C (getTokenValue): add std::
12796
12797         * tabular-old.C (getTokenValue): add std::
12798         (getTokenValue): ditto
12799         (getTokenValue): ditto
12800
12801         * screen.C (ToggleSelection): adjust
12802
12803         * lyxtext.h: put selection cursors inside a Selection struct.
12804
12805         * lyxfunc.C (moveCursorUpdate): adjust
12806
12807         * lyxfont.C (latexWriteStartChanges): add std::
12808
12809         * lyxfind.C: adjust
12810
12811         * font.h: delete with(char const *, LyXFont const &)
12812
12813         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12814
12815         * FontInfo.C (getFontname): add std::
12816
12817         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12818         (workAreaButtonPress): adjust
12819         (tripleClick): adjust
12820         (update): adjust
12821         (moveCursorUpdate): adjust
12822         (Dispatch): adjust
12823
12824         * BufferView2.C (gotoInset): adjust
12825
12826 2001-05-30  Juergen Vigna  <jug@sad.it>
12827
12828         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12829         to check pspell I add this as default as I now have new pspell
12830         libraries and they seem to use this.
12831
12832 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * text2.C (CutSelection): make the cursor valid before the call to
12835         ClearSelection.
12836
12837 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12840         relied on 0 terminated strings and other horrors. Bug found due to
12841         the new assert in lyxstring!
12842
12843         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12844         KP_ keys.
12845
12846 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12849         to latinkeys.bind.
12850
12851         * lyxfunc.C (processKeySym): change method of getting to the
12852         self-insert char.
12853
12854         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12855         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12856         * BufferView_pimpl.[Ch]: here as private methods.
12857
12858 2001-05-28  Juergen Vigna  <jug@sad.it>
12859
12860         * text.C (SetHeightOfRow): added the update() call again as it is
12861         needed to initialize inset dimensions!
12862
12863 2001-05-16  Juergen Vigna  <jug@sad.it>
12864
12865         * text2.C (SetCharFont): Add new function with BufferView * and
12866         bool toggleall parameters for setting insets internal fonts.
12867         (SetFont): Freeze the undo as we may change fonts in Insets and
12868         all this change should be inside only one Undo!
12869
12870         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12871         setting font's in insets as for them we have the SetFont function!
12872
12873 2001-05-15  Juergen Vigna  <jug@sad.it>
12874
12875         * text2.C (ClearSelection): to be sure we REALLY don't have any
12876         selection anymore!
12877
12878         * tabular.C (TeXCellPreamble): fixed the left border problem for
12879         multicolumn cells.
12880
12881 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12884         dependancy file
12885
12886 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12889         LFUN_BREAKPARAGRAPH.
12890
12891         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12892         help test to "internal only", similar for LFUN_INSERT_URL
12893
12894         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12895         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12896         auto_region_delete and deadkeys.
12897
12898 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * LColor.h:
12901         * LColor.C: remove some dead entries, tidy a little
12902
12903 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12906         commented code.
12907         (Dispatch): implement LFUN_ESCAPE
12908
12909         * commandtags.h: add LFUN_ESCAPE
12910
12911         * LyXAction.C (init): add entry for LFUN_ESCAPE
12912
12913         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12914         Remove commented code.
12915         (insertNote): moved here
12916         (open_new_inset): moved here
12917
12918         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12919         BufferView_pimpl
12920
12921 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12922
12923         * kbmap.C (findbinding): clean it up and make it work correctly.
12924
12925         * lyx_main.C (init): do not pass argc and argv as parameters
12926
12927 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12928
12929         * buffer.C: fix path for OS/2 & Win32
12930
12931         * lyx_gui.C:
12932         * lyx_main:
12933         * lyx_main.C: Added os:: class.
12934
12935         * os2_defines.h: update
12936
12937 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12940         better by trying again with reduced state.
12941
12942 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * lyxrc.C (read): print error about invalid key sequence only when
12945         debugging (because not all latinX keysyms are known to some X
12946         servers)
12947
12948         * kbsequence.C (getiso): add a few std:: qualifiers
12949         (getiso): comment out extra return statement.
12950
12951 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12954         handling.
12955         (Dispatch): enhance the accent inset a bit. (not perfect)
12956
12957 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12960
12961 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * bufferlist.C (emergencyWrite): fix assert() call
12964
12965 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12966
12967         * text.C (InsertChar): Added trivial patch to only send the "you
12968         can not do multiple spaces this way" message once during a
12969         session.
12970
12971 2001-05-08  Baruch Even  <baruch@lyx.org>
12972
12973         * Makefile.am: Changed order of libraries to get LyX to link properly
12974         with the gnome frontend.
12975
12976 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * LaTeXFeatures.h: add a std:: qualifier
12979
12980 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * paragraph.C (String): use stringstream
12983
12984 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12985
12986         * paragraph.C (writeFile): remove footflag arg
12987
12988         * buffer.C (makeLaTeXFile): use stringstream
12989         (latexParagraphs): remove footnot gurba
12990
12991         * LaTeXFeatures.C (getPackages): use stringstream
12992         (getMacros): likewise
12993         (getTClassPreamble): likewise
12994         (getFloatDefinitions): new method
12995
12996         * paragraph.C (writeFile): reindent
12997         (Erase): reindent
12998
12999         * WorkArea.h: revert the xpos + etc changes.
13000
13001         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13002
13003         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13004
13005         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13006         (pasteSelection): likewise
13007         * text2.C (CreateUndo): likewise
13008
13009 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * minibuffer.C (peek_event): temporarily reduce the functionality
13012         of the minibuffer (to allow args on lfuns)
13013
13014         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13015         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13016
13017         * buffer.C (readInset): add compability reading of old float
13018         lists, add reading of new style float list.
13019         (readInset): avoid reevaluation of inscmd.getCmdName()
13020         (getLists): reindent
13021
13022         * MenuBackend.C (MenuItem): implement parsing of
13023         md_floatlistinsert and md_floatinsert.
13024         (expand::LastFiles): move initalizaton of iterators out of loop,
13025         avoid reevaluation.
13026         (expand::Documents): introduce typdedef vector<string> Strings,
13027         and use it.
13028         (expand::ExportFormats): introduce typedef vector<Format const *>
13029         Formats, and use it.
13030         (expand): implement FloatListInsert and FloatInsert.
13031
13032         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13033         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13034         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13035
13036         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13037         handling.
13038         (Dispatch::LFUN_FLOAT_LIST): implement
13039
13040 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13041
13042         * LaTeX.C (run): Fix problem with --export code.
13043
13044 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * BufferView.[Ch] (workarea): removed.
13047         (getClipboard) new method; wrapper for workarea()->getClipboard()
13048
13049         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13050         bug.
13051
13052         * WorkArea.h (width, height, xpos, ypos): These methods all
13053         returned the dimensions of the work_area sub-area of WorkArea,
13054         resulting in a position error if the WorkArea were resized. Now
13055         return the dimensions of the entire WorkArea.
13056
13057         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13058
13059 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * LaTeX.C (deplog): correct the syntax of regex reg1
13062
13063 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * undo.C: remove !NEW_INSETS cruft
13066
13067 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13068
13069         * text2.C: remove !NEW_INSETS cruft
13070
13071         * text.C: remove !NEW_INSETS cruft
13072
13073         * tabular.C: remove !NEW_INSETS cruft
13074
13075         * spellchecker.C: remove !NEW_INSETS cruft
13076
13077         * lyxtext.h: remove !NEW_INSETS cruft
13078
13079         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13080
13081         * lyxfunc.C: remove !NEW_INSETS cruft
13082
13083         * lyxfind.C: remove !NEW_INSETS cruft
13084
13085         * lyx_cb.C: remove !NEW_INSETS cruft
13086
13087         * figureForm.C: remove  !NEW_INSETS cruft
13088
13089         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13090
13091         * buffer.[Ch]: remove !NEW_INSETS cruft
13092
13093         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13094
13095         * CutAndPaste.C: remove !NEW_INSETS cruft
13096
13097         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13098
13099         * BufferView2.C: remove !NEW_INSETS cruft
13100
13101         * BufferView.h: remove !NEW_INSETS cruft
13102
13103 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13104
13105         * Lsstream.h: include LString.h before the sstream headers to
13106         fix problem with gcc 2.95.3 and lyxstring
13107
13108 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * lyx_main.C: add using directives when needed for C functions
13111         declared in std:: namespace.
13112
13113 2001-04-27  Juergen Vigna  <jug@sad.it>
13114
13115         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13116         (SetHeightOfRow): comment out the update call should not be needed!
13117
13118 2001-04-13  Juergen Vigna  <jug@sad.it>
13119
13120         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13121         (LyXTabular): tried to minimize operator= operations (and realized
13122         hopfully Lars wish).
13123
13124 2001-04-27  Juergen Vigna  <jug@sad.it>
13125
13126         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13127
13128 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13129
13130         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13131
13132         * buffer.C (readInset): hack to make listof algorithm work
13133
13134         * BufferView_pimpl.C: hack to make listof algorithm work
13135
13136 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * LyXAction.C: removed all !NEW_INSETS cruft
13139         (init): moved lfun_item in method
13140
13141         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13142
13143 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13144
13145         * BufferView2.C (theLockingInset): white space.
13146
13147 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * minibuffer.C: include <iostream>
13150
13151         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13152
13153         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13154
13155         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13156
13157         * text.[Ch] (TransposeChars): new method
13158
13159 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * call message directly through LyXView instead of through LyXFunc
13162         * BufferView2.C: adjust
13163         * BufferView_pimpl.C: adjust
13164         * FontLoader.C: adjust
13165         * buffer.C: adjust
13166         * bufferview_funcs.C: adjust
13167         * converter.C: adjust
13168         * figureForm.C: adjust
13169         * importer.C: adjust
13170         * lyx_cb.C: adjust
13171         * lyx_gui_misc.C: adjust
13172         * lyxfunc.C: adjust
13173         * lyxvc.C: adjust
13174         * text2.C: adjust
13175         + more files in subdirs
13176
13177         * lyxparagraph.h (size): move up int file
13178         (GetLayout): ditto
13179
13180         * adjust all uses of Assert to lyx::Assert.
13181
13182         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13183         lyxfunctional in namespace lyx
13184         * layout.C (hasLayout): ditto
13185         (GetLayout): ditto
13186         (GetLayout): ditto
13187         (delete_layout): ditto
13188         (NumberOfClass): ditto
13189         * converter.C (GetFormat): ditto
13190         (GetNumber): ditto
13191         (Add): ditto
13192         (Delete): ditto
13193         (SetViewer): ditto
13194         * bufferlist.C (getFileNames): ditto
13195         (emergencyWriteAll): ditto
13196         (exists): ditto
13197         (getBuffer): ditto
13198         * MenuBackend.C (hasSubmenu): ditto
13199         (hasMenu): ditto
13200         (getMenu): ditto
13201         * BufferView_pimpl.C (getInsetByCode): ditto
13202
13203 2001-04-18  Juergen Vigna  <jug@sad.it>
13204
13205         * vspace.C (asLatexString): fixed the 100% problem.
13206
13207 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * lyxfunc.C (Dispatch):
13210         * minibuffer.C:
13211         * minibuffer.h: add a few std:: qualifiers
13212
13213 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * minibuffer.[Ch]: reimplement so that commands is initiated and
13216         run from lyxfunc, simplified som handling, and made the completion
13217         and history code for complete. wip.
13218
13219         * lyxfunc.C (processKeySym): call message
13220         (miniDispatch): new temporary method
13221         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13222         (LFUN_MESSAGE): implement
13223         (LFUN_MESSAGE_PUSH): implement
13224         (LFUN_MESSAGE_POP): implement
13225         (initMiniBuffer): the initial/defualt minibuffer message.
13226
13227         * lyxfont.[Ch]: inline some more getters
13228
13229         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13230
13231         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13232
13233         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13234         (AutoSave): use LFUN_MESSAGE
13235         (Reconfigure): ditto
13236
13237         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13238
13239         * figureForm.C: use LFUN_MESSAGE
13240
13241         * converter.C (runLaTeX): use LFUN_MESSAGE
13242
13243         * bufferview_funcs.C: use LFUN_MESSAGE
13244         (Melt): ditto
13245         (changeDepth): ditto
13246
13247         * bufferparams.h: use boost::
13248
13249         * bufferlist.h: inherit privately from noncopyable
13250
13251         * bufferlist.C (loadLyXFile): remove some commented code.
13252
13253         * buffer.C (runChktex): use LFUN_MESSAGE
13254
13255         * ShareContainer.h: inherit privately from noncopyable
13256
13257         * ParagraphParameters.[hC] (depth): inline it.
13258
13259         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13260         methods.
13261         (message): new method
13262         (messagePush): ditto
13263         (messagePop): ditto
13264         (show): init minibuffer
13265         (showState): direct call
13266
13267         * LaTeX.[Ch]: inherit privately from noncopyable
13268         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13269         instead of WriteStatus.
13270
13271         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13272
13273         * BufferView_pimpl.C (buffer): don't init minibuffer
13274         (workAreaButtonPress): use LFUN_MESSAGE
13275         (workAreaButtonRelease): ditto
13276         (savePosition): ditto
13277         (restorePosition): ditto
13278         (MenuInsertLyXFile): ditto
13279         (workAreaExpose): don't init minibuffer
13280         (update): remove commented code, simplify
13281
13282         * BufferView2.C (openStuff): use LFUN_MESSAGE
13283         (toggleFloat): ditto
13284         (menuUndo): ditto
13285         (menuRedo): ditto
13286         (copyEnvironment): ditto
13287         (pasteEnvironment): ditto
13288         (copy): ditto
13289         (cut): ditto
13290         (paste): ditto
13291         (gotoInset): ditto
13292         (updateInset): remove some commented code
13293
13294         * lastfiles.h: inherit privately from noncopyable
13295         * layout.h: ditto
13296         * lyx_gui.h: ditto
13297         * lyx_main.h: ditto
13298         * lyxlex.h: ditto
13299         * lyxlex_pimpl.h: ditto
13300
13301         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13302         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13303         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13304
13305         * LyXAction.h: inherit privately from noncopyable, add methods
13306         func_begin, func_end, returning iterators to the func map.
13307
13308         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13309         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13310         (func_begin): new method
13311         (func_end): new method
13312
13313         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13314         and not)
13315         (copySelection): ditto
13316         (pasteSelection): ditto
13317
13318         * BufferView.C: whitespace change
13319         * BufferView.h: inherit privately from noncopyable
13320
13321 2001-04-16  Allan Rae  <rae@lyx.org>
13322
13323         * tabular-old.C (l_getline):
13324         * spellchecker.C (sc_check_word):
13325         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13326         an unrecognised preprocessor directive.  So ensure they're wrapped.
13327
13328 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13329
13330         * src/exporter.C (Export): Give an error message when path to file
13331         contains spaces.
13332
13333 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * LaTeX.C (deplog): Always check that foundfile exists.
13336
13337 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13338
13339         * lyx_main.h:
13340         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13341
13342 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * tabular.[Ch] (getLabelList): implement new method
13345
13346         * minibuffer.h: comment ouf setTiimer
13347
13348         * minibuffer.C (ExecutingCB): constify res
13349         (peek_event): constify s
13350         (Set): constify ntext
13351         (Init): constify nicename
13352
13353         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13354
13355         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13356         (savePosition): use two params to Minibuffer::Set
13357         (restorePosition): ditto
13358
13359 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13360
13361         * lyx_main.C: include language.h
13362
13363         * Makefile.am (lyx_main.o): add language.h
13364
13365 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * exporter.C:
13368         * paragraph.C:
13369         * screen.C:
13370         * tabular.C:
13371         * CutAndPaste.C: include gettext.h
13372
13373         * lyxfont.h: remove old hack with ON and OFF.
13374
13375         * lyxparagraph.h:
13376         * lyxfont.h: do not include language.h...
13377
13378         * BufferView2.C:
13379         * LaTeXFeatures.C:
13380         * Painter.C:
13381         * bufferview_funcs.C:
13382         * font.C:
13383         * lyxfont.C:
13384         * text.C:
13385         * text2.C:
13386         * trans_mgr.C:
13387         * paragraph.C: ... but do it here instead
13388
13389 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13392
13393         * tabular.C: small reformat
13394
13395         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13396         NEW_INSETS version
13397         (GetChar): ditto
13398         (BreakParagraph): ditto
13399         (SetOnlyLayout): ditto
13400         (SetLayout): ditto
13401
13402         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13403         with one arg less.
13404
13405         * lastfiles.C: removed most using decl, add std:: where needed
13406
13407         * buffer.C: ws changes
13408
13409         * MenuBackend.C (class compare_format): put into anon namespace
13410         (expand): constify label, names, action, action2
13411         (expand):
13412
13413         * text.C (SingleWidth): constify font
13414         (IsBoundary): constify rtl2
13415         (GetVisibleRow): constify ww
13416
13417         * LaTeX.C (deplog): constify logfile
13418
13419         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13420         start_x, end_x
13421         (workAreaExpose): constify widthChange, heightChange
13422
13423         * lyxrow.C (par): moved
13424         (height): moved
13425         (next): moved
13426         * lyxrow.h: as inlines here
13427
13428         * lyxfont.h (shape): moved from lyxfont.C
13429         (emph): moved from lyxfont.C
13430
13431         * lyxfont.C (LyXFont): use initialization list for all
13432         constructors
13433         (shape): move to lyxfont.h as inline
13434         (emph): move to lyxfont.h as inline
13435
13436
13437 2001-04-04  Juergen Vigna  <jug@sad.it>
13438
13439         * vspace.C: had to include stdio.h for use of sscanf
13440
13441 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * BufferView.h:
13444         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13445         independent of xforms.
13446
13447 2001-04-02  Juergen Vigna  <jug@sad.it>
13448
13449         * spellchecker.C: fixed namespace placing!
13450
13451 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13454         the LyXParagraph * is 0.
13455
13456 2001-03-29  Juergen Vigna  <jug@sad.it>
13457
13458         * vspace.C: added support for %, c%, p%, l%.
13459         (stringFromUnit): added helper function.
13460         (asLatexString): changed to give right results for the %-values.
13461
13462         * buffer.C: convert the widthp in a width%.
13463
13464 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13465
13466         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13467         figureForm.[Ch].
13468
13469         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13470         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13471
13472         * lyx_cb.[Ch]: see above.
13473
13474         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13475         form1.[Ch].
13476
13477         * form1.[Ch]:
13478         * lyx.[Ch]: replaced by figure_form.[Ch].
13479
13480         * lyx_gui.C:
13481         * lyx_gui_misc.C:
13482         * lyxfunc.C: changed headers associated with above changes.
13483
13484 2001-03-27  Juergen Vigna  <jug@sad.it>
13485
13486         * BufferView_pimpl.C: set the temporary cursor right!
13487
13488 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13489
13490         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13491
13492 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * LString.h: removed "using std::getline"!
13495
13496         * BufferView_pimpl.C (Dispatch): changes due to changes in
13497         InsetInclude::Params.
13498
13499         * buffer.C (tag_name): removed redundant break statements as they were
13500         producing lots of warnings with my compiler.
13501
13502 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * LString.h: add "using std::getline" when using the real <string>.
13505
13506 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13507
13508         * buffer.C: removed bitset usage.
13509         PAR_TAG moved to an anonymous name space.
13510         (tag_name): new funtion, also in the anonymous namespace.
13511         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13512         (makeDocBookFile): clean code. Completed transition from string arrays
13513         to string vectors.
13514         (SimpleDocBookOnePar): code clean.
13515
13516 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13517
13518         * tabular.C: add some comments.
13519
13520 2001-03-22  Juergen Vigna  <jug@sad.it>
13521
13522         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13523         compatibility read a bit and fixed bug with minipage in different
13524         depth.
13525
13526 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13527
13528         * buffer.C (pop_tag): removed.
13529         (push_tag): removed.
13530         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13531         array replaced with vector. Added support for CDATA sections.
13532         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13533         at any nest level.
13534         (makeDocBookFile): XML conformant declaration of CDATA section,
13535         fixed bug related to <emphasis> in the first paragraph char.
13536         (sgmlOpenTag): exclude empty tags.
13537         (sgmlCloseTag): ditto.
13538
13539         * buffer.h (pop_tag): removed.
13540         (push_tag): removed.
13541
13542 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * language.h (Languages): added size_type and size().
13545
13546 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13549         response on compability reading of minipages. One probliem is that
13550         the old usage of minipages was «flertydig»
13551
13552         * several files here and in subdirs: don't use static at file
13553         scope use anon namespaces instead.
13554
13555 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13556
13557         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13558         LaTeX output. This is necessary for Literate document
13559         processing.
13560
13561 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13562
13563         * buffer.C: insert hfill when needed.
13564
13565         * tabular.C (l_getline): use string::erase, small whitespace change.
13566
13567         * BufferView_pimpl.C: try the anon namespace.
13568         * WorkArea.C: ditto
13569
13570 2001-03-16  Juergen Vigna  <jug@sad.it>
13571
13572         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13573         otherwise it won't open options-dialogs.
13574
13575         * buffer.C: honor pextraWidth(p) on converting minipages.
13576
13577         * tabular.C (l_getline): changed the functions to strip trailing \r.
13578
13579 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * BufferView_pimpl.C:
13582         * minibuffer..C: added "using SigC::slot" declaration.
13583
13584 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13585
13586         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13587
13588         * text2.C: ditto
13589
13590         * text.C: ditto
13591
13592         * paragraph.C: ditto
13593
13594         * lyxtext.h: NO_PEXTRA
13595
13596         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13597
13598         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13599         * ParameterStruct.h: ditto
13600         * ParagraphParameters.h: ditto
13601         * lyxparagraph.h: ditto
13602
13603 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13604
13605         * buffer.C: add compability for minipage alignment.
13606         (latexParagraphs): remove unwanted pextra check.
13607
13608         * several files: remove CXX_WORKING_NAMESPACES
13609
13610         * buffer.C (pop_tag): tie is in namespace boost
13611
13612         * BufferView.h: noncopyable is in namespace boost
13613         * lyxlex.h: ditto
13614         * lyx_main.h: ditto
13615         * lyx_gui.h: ditto
13616         * layout.h: ditto
13617         * lastfiles.h: ditto
13618         * bufferlist.h: ditto
13619         * ShareContainer.h: ditto
13620         * LyXView.h: ditto
13621         * LyXAction.h: ditto
13622         * LaTeX.h: ditto
13623
13624 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * Merging changes from BRANCH_MVC back into HEAD.
13627
13628         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13629
13630 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * BufferView_pimpl.C: change from intl.C
13633
13634         * combox.h:
13635         * combox.C:
13636         * Makefile.am: move combox.*
13637
13638         * form1.h:
13639         * form1.C:
13640         * lyx_gui.C:
13641         * intl.h:
13642         * intl.C: remove dialog (covered by prefs)
13643
13644 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * lyxfunc.C (Dispatch): removed redundant break statement.
13647
13648 2001-03-14  Juergen Vigna  <jug@sad.it>
13649
13650         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13651
13652 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13653
13654         * buffer.C: add hack to fix compability reading of minipages.
13655
13656 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13657
13658         * buffer.C (getLists): Cleanup.
13659
13660 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * lyxfont.C (update): don't honor toggleall on font size.
13663
13664 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * bmtable.c:
13667         * bmtable.h:
13668         * Makefile.am: moved to frontends/xforms/
13669
13670         * lyx_gui_misc.C:
13671         * lyxfunc.C:
13672         * BufferView_pimpl.C: changes for moved mathpanel
13673
13674 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * gettext.h: fix gettext_init() in --disable-nls
13677
13678 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13681
13682 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * lyx.C:
13685         * lyx.h: strip external form
13686
13687 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * BufferView_pimpl.C: add comment, destroySplash()
13690
13691 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * BufferView_pimpl.C:
13694         * LyXAction.C:
13695         * buffer.C:
13696         * commandtags.h:
13697         * lyxfunc.C: use re-worked insetinclude
13698
13699 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13700
13701         * buffer.C: add using std::stringstream.
13702
13703         * lyx_cb.C: readd using std::ios.
13704
13705         * buffer.C: add using std::map.
13706
13707         * BufferView_pimpl.C: add using std::vector.
13708
13709         * ShareContainer.h: add std:: to swap.
13710
13711         * buffer.h: add some typedefs
13712         * buffer.C (getLists): use them
13713         (getLists): renamed from getTocList.
13714         add a counter for the different float types and use it in the
13715         generated string.
13716         (getLists): use the same counter for the NEW_INSETS and the "non"
13717         NEW_INSETS
13718
13719         * lyx_cb.h: remove unused items, includes, using etc.
13720
13721         * ShareContainer.h: remove some commented code, add more comments
13722         and "documentation".
13723
13724 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13725
13726         * buffer.C (getTocList): make the list also when NEW_INSETS is
13727         defined.
13728
13729         * buffer.h: remove TocType
13730
13731         * buffer.C (getTocList): change to return a map<string,
13732         vector<TocItem> >, implement for dynamic number of list.
13733
13734         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13735         * text2.C (PasteSelection): adjust
13736         * CutAndPaste.C (pasteSelection): adjust
13737
13738         * FloatList.C (FloatList): update from the new_insets branch.
13739         * Floating.[Ch]: ditto
13740         * LaTeXFeatures.C: ditto
13741         * buffer.C: ditto
13742         * lyxlex_pimpl.C: ditto
13743
13744         * paragraph.C (Last): remove when NEW_INSETS is defined.
13745
13746         * other file: changes because of the above.
13747
13748 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13749
13750         * lyxparagraph.h: rename next to next_, previous to previous_,
13751         make them private for NEW_INSETS. Rename Next() to next(),
13752         Previous() to previous().
13753
13754         * other files: changes because of the above.
13755
13756 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * BufferView.h:
13759         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13760         problem.
13761
13762 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13763
13764         * main.C (main): pass lyx_localedir to gettext_init().
13765
13766         * gettext.h: remove locale_init and gettext_init macros
13767
13768         * gettext.C (locale_init): new function
13769         (gettext_init): new function
13770
13771         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13772         setlocale().
13773
13774 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13775
13776         * Moved credits to frontends:
13777         * credits.[Ch]: removed
13778         * credits_form.[Ch]: removed
13779         * lyx_gui_misc.C: remove credits stuff
13780         * Makefile.am:
13781
13782 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13783
13784         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13785
13786         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13787         unneeded destructor.
13788
13789         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13790         a standalone pointer again.
13791
13792         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13793
13794 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * Makefile.am:
13797         * filedlg.h:
13798         * filedlg.C:
13799         * LyXAction.C:
13800         * ToolbarDefaults.C:
13801         * bufferlist.C:
13802         * commandtags.h:
13803         * form1.C:
13804         * form1.h:
13805         * lyx_cb.C:
13806         * lyx_cb.h:
13807         * lyxfunc.h:
13808         * lyxfunc.C:
13809         * BufferView_pimpl.C: use new file dialog in GUII
13810
13811         * lyx_cb.h:
13812         * lyx_cb.C: remove LayoutsCB to Toolbar
13813
13814 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * ShareContainer.h (get): add std:: qualifier
13817
13818 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * ShareContainer.h: define a proper ShareContainer::value_type
13821         type (and use typename to please compaq cxx)
13822
13823 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13824
13825         * lyxparagraph.h: move serveral local vars to
13826         ParameterStruct/ParagraphParameters., use ShareContainer in
13827         FontTable., make vars in FontTable private and add getter and
13828         setter.
13829
13830         * paragraph.C: changes because of the above.
13831
13832         * lyxfont.h: remove copy constructor and copy assignment. (the
13833         default ones is ok), move number inside FontBits. move inlines to
13834         lyxfont.C
13835
13836         * lyxfont.C: add number to initializaton of statics, move several
13837         inlines here. constify several local vars. some whitespace
13838         cleanup. Dont hide outerscope variables.
13839
13840         * Spacing.h: add two new constructors to match the set methods.
13841
13842         * ShareContainer.h: new file, will perhaps be moved to support
13843
13844         * ParameterStruct.h: new file
13845
13846         * ParagraphParameters.h: new file
13847
13848         * ParagraphParameters.C: new file
13849
13850         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13851         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13852
13853         * BufferView_pimpl.C: ParagraphParameter changes.
13854         * buffer.C: Likewise.
13855         * bufferview_funcs.C: Likewise.
13856         * text.C: Likewise.
13857         * text2.C: Likewise.
13858
13859 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * lyxfind.C (LyXReplace): do not redefine default argument in
13862         implementation.
13863         (IsStringInText): ditto
13864         (SearchForward): ditto
13865         (SearchBackward): ditto
13866
13867 2001-03-06  Juergen Vigna  <jug@sad.it>
13868
13869         * lyxfind.C (IsStringInText): put parentes around expressions.
13870
13871 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13872
13873         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13874
13875 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13878
13879         * stl_string_fwd.h: add comment
13880
13881         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13882
13883         * tabular.h:
13884         * tabular.C: remove unused DocBook methods
13885
13886         * intl.C:
13887         * language.C:
13888         * paragraph.C:
13889         * buffer.C:
13890         killed DO_USE_DEFAULT_LANGUAGE
13891
13892 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * lyx_gui.C: do not include language.h.
13895
13896         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13897         arguments in function implementation.
13898
13899 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13900
13901         * BufferView_pimpl.C: add <ctime>
13902
13903 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13904
13905         * BufferView_pimpl.C: add using std::find_if
13906
13907 2001-02-27  José Matos  <jamatos@fep.up.pt>
13908
13909         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13910         by OnlyPath.
13911
13912 2001-02-11  José Matos  <jamatos@fep.up.pt>
13913
13914         * buffer.C (makeDocBookFile): command styles now have a parameter as
13915         "title" by default.
13916
13917 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13918
13919         * layout_forms.[Ch]: removed
13920         * lyx_cb.[Ch]: out character
13921         * lyx_gui.C: out character
13922         * lyx_gui_misc.C: out character
13923         * bufferview_funcs.C: : out character,
13924         added toggleall as parameter in ToggleAndShow
13925
13926 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13927
13928         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13929
13930         * text2.C (SetCurrentFont): Disable number property at boundary.
13931
13932 2001-02-26  Juergen Vigna  <jug@sad.it>
13933
13934         * lyxfunc.C (getStatus): added a string argument override function so
13935         that this is correctly called from LyXFunc::Dispatch if it contains a
13936         do_not_use_argument which is used!
13937         (Dispatch): added check for "custom" export and call appropriate func.
13938
13939 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * lyxrc.C: Add language_command_local, language_use_babel and
13942         language_global_options.
13943
13944         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13945
13946         * buffer.C (makeLaTeXFile): Use language_use_babel and
13947         language_global_options.
13948
13949 2001-02-23  Juergen Vigna  <jug@sad.it>
13950
13951         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13952         which works with LyXText and putted it inside BufferView. Here now we
13953         only call for that part the BufferView::Dispatch() function.
13954
13955         * BufferView.C (Dispatch): added.
13956
13957         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13958         functions which needs to use a LyXText over from LyXFunc.
13959         (MenuInsertLyXFile): added
13960         (getInsetByCode): added
13961         (moveCursorUpdate): added
13962         (static TEXT): added
13963
13964 2001-02-22  Juergen Vigna  <jug@sad.it>
13965
13966         * BufferView_pimpl.C (update): call a status update to see if LyXText
13967         needs it.
13968
13969 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13970
13971         * vc-backend.C (revert): implement for CVS
13972         (getLog): implement for CVS
13973
13974 2001-02-20  Juergen Vigna  <jug@sad.it>
13975
13976         * text2.C (ClearSelection): added BufferView param for inset_owner call
13977
13978         * lyxfunc.C (TEXT): added this function and use it instead of
13979         directly owner->view()-text of getLyXText().
13980
13981 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13982
13983         * src/layout_forms.C: out preamble
13984         * src/layout_forms.h: out preamble
13985         * src/lyx_cb.C: out preamble
13986         * src/lyx_cb.h: out preamble
13987         * src/lyx_gui.C: out preamble
13988         * src/lyx_gui_misc.C: out preamble
13989         * src/lyxfunc.C: connect with guii preamble
13990
13991 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13994
13995 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13996
13997         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13998         whether to run bibtex.
13999
14000 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14003
14004 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14005
14006         * Makefile.am (lyx_SOURCES): removed bibforms.h
14007
14008         * vspace.h: doxygen
14009
14010         * text.C (GetVisibleRow): make several local vars const
14011
14012         * tabular.C: small cleanup.
14013
14014         * lyxserver.C (callback): use compare instead of strncmp
14015
14016         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14017         inlines to after class or to paragraph.C
14018
14019         * lyxfont.h: remove friend operator!=
14020
14021         * converter.h: move friend bool operator< to non friend and after
14022         class def.
14023
14024         * combox.h: small cleanup
14025
14026         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14027         to inlines after class def.
14028
14029         * buffer.C (pop_tag): use string operations instead of strcmp
14030
14031         * bmtable.c: doxygen, small cleanup
14032
14033         * LaTeX.h: remove friend operator==
14034
14035 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14036
14037         * screen.C:
14038         * lyxrc.[Ch]:
14039         * lyxfunc.C:
14040         * lyxfont.[Ch]:
14041         * lyx_cb.C:
14042         * intl.[Ch]:
14043         * commandtags.h:
14044         * buffer.C:
14045         * WorkArea.[Ch]:
14046         * LyXAction.C:
14047         * BufferView_pimpl.C:
14048         * BufferView.[Ch]: remove cruft
14049
14050 2001-02-14  Juergen Vigna  <jug@sad.it>
14051
14052         * lyxfunc.C: removed #if 0 unused code
14053
14054         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14055
14056         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14057
14058         * text2.C (SetSelection): added a BufferView * parameter
14059
14060 2001-02-13  Juergen Vigna  <jug@sad.it>
14061
14062         * lyxfunc.C (Dispatch): fixed protected blank problem.
14063         * BufferView2.C (protectedBlank): added LyxText * parameter.
14064
14065         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14066         (AppendColumn): same as above for column_info.
14067
14068         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14069         (moveCursorUpdate): use a LyXText param for support of InsetText.
14070
14071         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14072         (tripleClick): ditto
14073
14074         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14075
14076         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14077
14078         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14079
14080         * text2.C (SetSelection): set correct update status if inset_owner
14081         (ToggleFree): ditto
14082
14083 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14084
14085         * tabular.C: remove some commented code.
14086
14087 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14088
14089         * BufferView_pimpl.C: call hideSplash()
14090
14091         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14092
14093         * include_form.h:
14094         * bibforms.h: remove
14095
14096         * lyxfunc.C:
14097         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14098           add LFUN_CHILD_CREATE
14099
14100         * counters.h: fix tiny typo
14101
14102         * lyx_cb.C:
14103         * lyx.h:
14104         * lyx_gui.C:
14105         * lyx.C: move splash to frontends/xforms/
14106
14107         * lyx_gui_misc.C: move Include and Bibform to frontends
14108
14109         * lyxvc.h: clarify comment
14110
14111         * vspace.C: tiny housekeeping
14112
14113 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * text.C (PrepareToPrint): RTL Fix.
14116
14117         * paragraph.C (GetUChar): New method.
14118         (String):  Use GetUChar.
14119
14120         * buffer.C (asciiParagraph): Use GetUChar.
14121
14122 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14123
14124         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14125
14126 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * buffer.h:
14129         * buffer.C: rename to getLogName(), handle
14130           build log / latex log nicely
14131
14132 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * MenuBackend.C:
14135         * MenuBackend.h: remove support for reference menuitem type.
14136
14137 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * BufferView_pimpl.C: housekeeping
14140         * BufferView_pimpl.h:
14141         * LyXView.h:
14142         * Makefile.am:
14143         * Timeout.C:
14144         * Timeout.h:
14145         * minibuffer.h: move Timeout GUI-I
14146
14147 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14148
14149         * lyxrc.C (read): Update converters data-structures.
14150
14151 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14152
14153         * LaTeX.h (operator!=): add operator != for Aux_Info
14154
14155 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14158
14159         * LaTeXLog.C: deleted, useful code moved to Buffer
14160
14161         * buffer.h:
14162         * buffer.C: new function getLatexLogName()
14163
14164         * lyx_gui_misc.C:
14165         * lyx_gui.C:
14166         * lyxvc.C:
14167         * lyxvc.h:
14168         * lyxfunc.C: use frontends for LaTeX and VC logs
14169
14170 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14171
14172         * LaTeX.h: yet another std:: that Allan forgot.
14173
14174         * Variables.C (set): renamed from isset(), because this clashes
14175         with some HP-UX macros (grr).
14176
14177 2001-02-06  Allan Rae  <rae@lyx.org>
14178
14179         * LaTeX.h: Another bug fix.  Missing std:: this time.
14180
14181 2001-02-04  Allan Rae  <rae@lyx.org>
14182
14183         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14184         floats problem. I've left it commented out because it's not quite
14185         correct.  It should also test that the current object is a table or
14186         figure inset.  But I haven't gotten around to figuring out how to do
14187         that.  I *think* it'll be something like: "table" == inset.type()
14188
14189         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14190         bool.
14191
14192 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14195         all the citation/databases/styles in the auxilary file.
14196         (run): Rerun latex if there was a babel language error.
14197
14198 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14199
14200         * text.C (Backspace): Preserve the font when changing newline char
14201         with a space.
14202         (BreakParagraph): If the cursor is before a space, delete the space.
14203
14204         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14205
14206 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14209         new argument (code).
14210         (ChangeCitationsIfUnique): New method.
14211
14212         * paragraph.C (GetPositionOfInset): Handle bibkey.
14213
14214 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14215
14216         * BufferView_pimpl.h: change type of Position::par_pos to
14217         LyXParagraph::size_type.
14218
14219 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * BufferView_pimpl.C (savePosition, restorePosition): Write
14222         messages to minibuffer.
14223
14224 2001-01-28  José Matos  <jamatos@fep.up.pt>
14225
14226         * buffer.C (makeDocBookFile): adds support for document language.
14227         A silly restriction on the name of LatexCommand types where removed.
14228         Added support for CDATA sections, allows to chars unescaped, used
14229         among others in code, to avoid escape < and >.
14230
14231 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14232
14233         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14234         saved positions instrad of a stack. Furthermore, a position is
14235         stored using paragraph id/paragraph position.
14236
14237         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14238         Remove LFUN_REF_BACK.
14239
14240 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14241
14242         * converter.C (dvipdfm_options): New method.
14243
14244 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14245
14246         * vspace.C (isValidLength): Fix for empty input string.
14247
14248 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * LyXAction.C (init): change description of LFUN_FIGURE to
14251         "Insert Graphics"
14252
14253 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * LaTeX.C: add using directive
14256
14257 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * MenuBackend.C (expand): Fix the sorting of the formats.
14260
14261 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * lyx_main.C: tiny error message fix
14264
14265 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14268         calling fl_initialize(). This fixes the problem with ',' as
14269         decimal separator in text files.
14270
14271 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * trans.C (process): Fix the keymap bug.
14274
14275 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * LaTeX.C (scanAuxFiles): New method. Provides support for
14278         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14279         (scanLogFile) Scan for "run BibTeX" messages.
14280
14281         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14282         OT1 font encoding. Also, load the aecompl package if the ae
14283         package is loaded.
14284
14285         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14286
14287 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * texrow.C (increasePos): turn two error messages into debug
14290         messages.
14291
14292 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14293
14294         * LaTeX.C (scanAux): Handle the \@input macro.
14295         (runBibTeX): Use scanAux().
14296
14297         * language.C (latex_options_): New field.
14298
14299         * LaTeXFeatures.C (getMacros): Add language macros.
14300
14301         * buffer.C (makeLaTeXFile): Small fix.
14302
14303 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14306
14307         * text2.C: add a using directive.
14308
14309 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * BufferView2.C:
14312         * lyx_gui_misc.h:
14313         * lyxfr1.C:
14314         * lyxfunc.C: kill LyXBell.
14315
14316 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * text.C (IsBoundary): Remove the error message
14319
14320         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14321
14322         * lyxrc.C (setDefaults): Correct initialization value for
14323         font_norm_type.
14324
14325 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14326
14327         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14328         gotoError().
14329
14330         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14331         and GotoNextNote().
14332
14333         * src/LyXAction.C: Added reference-next.
14334
14335         * text.C (InsertChar): Use contains instead of strchr.
14336
14337         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14338
14339 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14340
14341         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14342         alignment commands (when needed).
14343
14344         * text.C (InsertChar): Add ':' to number separator chars.