]> git.lyx.org Git - features.git/blob - src/ChangeLog
635b2ee51e820e123d65ca66f6d8d8e7323f6eba
[features.git] / src / ChangeLog
1 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * output_docbook.C: moving LatexParam functionality into 
4         .layout files
5
6 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * buffer.C: increment format to 229.
9
10 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
11
12         * LaTeXFeatures.C:
13         * lyx_sty.[Ch]: remove minipageindent_def
14
15         * LyXAction.C:
16         * factory.C:
17         * lfuns.h:
18         * lyxfunc.C:
19         * text3.C: remove LFUN_INSET_MINIPAGE
20
21 2003-12-28  Angus Leeming  <leeming@lyx.org>
22
23         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
24
25 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * text2.C (setParagraph): fix off-by-one crash
28
29 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
30
31         * output_docbook.C: header stuff for AGU
32
33 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * text2.C (redoCursor): remove
36         * text.C:
37         * text3.C:
38         * BufferView_pimpl.C: remove calls to redoCursor and
39         setCursor(cursor.par(), cursor.pos()) all around
40
41 2003-12-15  Angus Leeming  <leeming@lyx.org>
42
43         * buffer.C: up the format to 228.
44
45 2003-12-15  André Pönitz  <poenitz@gmx.net>
46
47         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
48         slices
49
50         * Makefile.am:
51
52         * BufferView_pimpl.C:
53         * cursor.[Ch]:
54         * lyxcursor.[Ch]:
55         * rowpainter.[Ch]:
56         * lyxtext.h:
57         * text.C:
58         * text2.C:
59         * text3.C: adjust
60
61 2003-12-15  Angus Leeming  <leeming@lyx.org>
62
63         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
64         than getFromGUIName to manipulate the color.
65
66 2003-12-14  Angus Leeming  <leeming@lyx.org>
67
68         * BranchList.[Ch]: minimize the API.
69         (Branch::getBranch, getColor): now return a 'const &'.
70         (Branch::setSelected) now returns a bool set to true if the
71         selection status changes.
72         (BranchList::clear, size, getColor, setColor, setSelected,
73         allBranches, allSelected, separator): removed.
74         (BranchList::find): new functions, returning the Branch with
75         the given name.
76         (BranchList::add, remove): return a bool indicating that
77         the operation was successful.
78
79         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
80         new InsetBranch::isBranchSlected member function.
81
82         * LColor.[Ch]: mimimize the API.
83         (fill): renamed as addColor and made private.
84         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
85         versions of these functions taking a string arg have been removed.
86
87         * bufferparams.C (readToken):
88         * lyxfunc.C (dispatch):
89         * lyxrc.C (read): changes due to the altered BranchList and
90         LColor APIs.
91
92         * factory.C (createInset, readInset): changes due to altered
93         InsetBranch c-tor.
94
95 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
96
97         * factory.C: 
98         * lyxfunc.C: remove insetminipage. "minipage-insert"
99         now produces a frameless minipage box inset.
100
101 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
102
103         * textcursor.[Ch] (selStart,selEnd): add new methods 
104         remove selection::start, end, use LyXCursor::operator<
105         * lyxcursor.[Ch] (operator<): add
106         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
107         * BufferView.[Ch] (unsetXSel): add
108         * text2.C (clearSelection): use unsetXSel,adjust
109         * text.C: adjust
110         * text3.C: adjust
111         * rowpainter.C: adjust
112         * bufferview_funcs.C (put_selection_at): adjust
113
114 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * BufferView_pimpl.C: small coord. correction
117
118 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
121         dragging over the splash screen.
122
123 2003-12-11  Angus Leeming  <leeming@lyx.org>
124
125         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
126         as it is now handled in LyXText::dispatch.
127
128         * text3.C (doInsertInset): remove a level of nesting.
129
130 2003-12-11  Angus Leeming  <leeming@lyx.org>
131
132         * factory.C (createInset): changes due to the changed interface to
133         InsetCommandMailer::string2params.
134
135 2003-12-10  Angus Leeming  <leeming@lyx.org>
136
137         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
138         'dialog-show-new-inset <inset name>'
139
140 2003-12-10  Angus Leeming  <leeming@lyx.org>
141
142         * buffer.C: up the format to 227.
143
144         * factory.C: the box inset is now identified simply by 'Box'.
145
146 2003-12-10  Angus Leeming  <leeming@lyx.org>
147
148         * buffer.C: up the format to 226.
149
150         * factory.C: the note inset is now identified simply by 'Note'.
151
152 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
153
154         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
155         when a pit is enough. Standarize a couple of loops. 
156
157 2003-12-05  Angus Leeming  <leeming@lyx.org>
158
159         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
160         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
161         data to the re-worked "log" dialog.
162
163 2003-12-03  André Pönitz  <poenitz@gmx.net>
164
165         * PosIterator.C:
166         * iterators.C:
167         * lyxtext.h:
168         * output_latex.C:
169         * paragraph_funcs.C:
170         * text.C:
171         * text2.C: use Inset::getText instead of Inset::getParagraph
172
173 2003-12-03  André Pönitz  <poenitz@gmx.net>
174
175         * buffer.[Ch]:
176         * lyxtext.h:
177         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
178         InsetText::read() as LyXText::read()
179         
180 2003-12-02  Angus Leeming  <leeming@lyx.org>
181
182         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
183         type. Add a comment in the implementation that the function uses
184         the stream's bad() function rather than fail() as the std::streams
185         would do.
186
187 2003-12-02  André Pönitz  <poenitz@gmx.net>
188
189         * lyxlex.[Ch]: make interface more similar to std::stream
190
191         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
192
193 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
196
197 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
198
199         * vspace.[Ch]: remove VSpace::NONE
200
201 2003-12-01  André Pönitz  <poenitz@gmx.net>
202
203         * buffer.[Ch]:
204         * lyxtext.h: move ParagraphList member to LyXText
205         rename LyXText::ownerParagraphs to LyXText::paragraph
206
207         * CutAndPaste.C:
208         * bufferview_funcs.C:
209         * iterators.[Ch]:
210         * lyx_cb.C:
211         * paragraph.C:
212         * rowpainter.C:
213         * tabular.C:
214         * text.C:
215         * text2.C:
216         * text3.C: adjust
217
218         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
219
220         * undo.C: fix cursor positioning 
221
222 2003-12-01  John Levon  <levon@movementarian.org>
223
224         * BufferView_pimpl.C: fix a crash on exit with
225         a buffer open
226
227 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
228
229         * BranchList.C: fix setSelected() method.
230
231 2003-11-28  André Pönitz  <poenitz@gmx.net>
232
233         * ParagraphParameters.[Ch]:
234         * ParameterStruct.h: remove space above/below from Paragraph to
235          InsetVSpace
236
237         * BufferView_pimpl.C:
238         * factory.C:
239         * lyxfunc.C:
240         * lyxtext.h:
241         * output_latex.C:
242         * paragraph.C:
243         * paragraph_funcs.C:
244         * rowpainter.[Ch]:
245         * text.C:
246         * text2.C:
247         * text3.C: adjust
248
249 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
250
251         * factory.C: Syntax change for CharStyles
252
253 2003-11-28  André Pönitz  <poenitz@gmx.net>
254
255         * BufferView.[Ch]:
256         * BufferView.[Ch]:
257         * buffer.[Ch]:
258         * buffer.[Ch]: move LyXText member
259
260 2003-11-28  André Pönitz  <poenitz@gmx.net>
261
262         * BufferView.[Ch]: make LyXText * text a private member
263
264         * BufferView_pimpl.C:
265         * cursor.C:
266         * iterators.C:
267         * lyx_cb.C:
268         * lyxfind.C:
269         * lyxtext.h:
270         * rowpainter.[Ch]:
271         * text.C:
272         * text2.C:
273         * undo.C: adjust
274
275         * output_plaintext.C: cleanup
276
277 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * buffer.C: 
280         * lyxtextclass.[Ch]: parametrize SGML document header
281
282 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * converter.[Ch]:
285         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
286         getFlavor().
287
288 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * text2.C (setFont): rework using PosIterator (no more recursive)
291         (setCharFont): no more needed 
292         (setLayout): no more selection cursors fiddling (done by redoCursor)
293         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
294         destroy remaining ones)
295
296 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
299         * lyxtext.h: ditto
300         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
301         selection cursors
302         * lyxfunc.C: adjust
303         * text3.C: adjust + re-allow multi par depth changes
304         * textcursor.C: simplify a bit
305
306 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
307
308         * src/buffer.C:
309         * src/lyxlayout.C:
310         * src/lyxlayout.h:
311         * src/lyxtext.h:
312         * src/output_docbook.C:
313         * src/output_latex.C:
314         * src/paragraph.C:
315         * src/paragraph.h:
316         * src/sgml.C:
317         * src/sgml.h:
318         * src/text2.C: Introducing a number of tags parametrizing various
319         XML formats that we may want to support
320
321 2003-11-25  André Pönitz  <poenitz@gmx.net>
322
323         * InsetList.[Ch] (begein, end): inline as suggested by profiler
324
325         * lyxtext.h (leftMargin/rightMargin): simplify interface
326
327         * rowpainter.C:
328         * text.C:
329         * text2.C:
330         * text3.C: adjust
331
332 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
333
334         * lyxfunc.C (dispatch): propogate the bibtex databases from the
335         master file to any child files. Fixes bug 546.
336
337 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
338
339         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
340
341 2003-11-24  André Pönitz  <poenitz@gmx.net>
342
343         * rowpainter.C: simplification
344
345         * text2.C (updateCounters): remove call to redoParagraph on 
346         changed labels as this is far too expensive.
347
348 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
349
350         * converter.C (convert): fix a crash: this function gets
351         called with buffer == 0 from importer code.
352
353 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
354
355         * text3.C (cursorPrevious): make sure that we do not compare
356         iterators form different containers.
357         (cursorNext): ditto
358
359         * rowpainter.C (paintSelection): make sure that we do not compare
360         iterators from different containers.
361
362         * text3.C (dispatch): [PRIOR] make sure that we do not compare
363         iterators from different ParagraphList containers.
364         [NEXT] ditto
365
366         * text2.C (LyXText): change order of initialization slightly
367         (operator=): new function. copy all variables except cache_par_
368         (moveUp): make sure that we do not compare iterators from
369         different ParagraphList constainers.
370         (moveDown): ditto
371
372         * text.C (firstPar): new function
373         (lastPar): new function
374         (endPar): new function
375
376         * lyxtext.h: move things around and group public functions, public
377         variables, private functions, private variables
378
379 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
380
381         * factory.C: change call to InsetERT constructor to avoid
382         additional invocation of method status
383         * text2.C (toggleInset): remove redundant update() call
384         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
385         instead of a Bufferview pointer
386
387 2003-11-21  André Pönitz  <poenitz@gmx.net>
388
389         * rowpainter.C: simplification
390
391 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * text3.C (dispatch): make possible to extend a word/row selection
394         with the mouse
395
396 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * lyxtext.h: x0_,y0_ -> xo_,yo_
399         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
400         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
401         * rowpainter.C (paintRows): paint full paragraphs
402
403 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
404
405         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
406         screen coordinates)
407
408 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * lyxtext.h: add x0_, y0_
411         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
412         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
413
414 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
415
416         * text2.C (setCursorIntern): move the x_target update here *
417         * text3.C: change some bv() to true/false in calls to
418         cursorUp/Down/Right/Left
419         * cursor.C: use helper function.
420
421 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
424         * paragraph_funcs.[Ch]: correct comment
425         * rowpainter.C: do not paint selections away from bv->cursor()
426         Fix a long standing selection painting bug.
427         * text3.C: generalize mouse-selection code to LyXTexts other that
428         top one
429         * textcursor.C: do not use y coords if we can use par offsets
430
431 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
432
433         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
434         cursor position after e.g. inset insert)
435
436 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
437
438         * lyxfind.C (replace): adjust to locking removal + some
439         code simplification
440
441 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
444         of the path
445
446 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * lyxlayout.[Ch]:
449         * output_docbook.C: XML sanitation: new layout
450         parameters InnerTag and CommandDepth
451
452 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * BufferView_pimpl.C:
455         * factory.C:
456         * text3.C: Fix the insertion and modification of button-style
457         insets
458
459 2003-11-13  André Pönitz  <poenitz@gmx.net>
460
461         * InsetList.[Ch]: remove deleteLyXText
462
463         * paragraph.[Ch]: cache beginOfBody position
464
465         * Bidi.C:
466         * text.C:
467         * text2.C:
468         * text3.C: remove superfluous update() calls
469
470         * vspace.C: cleanup
471
472 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
475         * BufferView.C (fitLockedInsetCursor): remove
476         * cursor.[Ch] (getDim): add
477         * text.C (getRowNearY): add faster version
478         * text3.C: remove some update calls
479
480 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
481
482         * LaTeXFeatures.C:
483         * LyXAction.C:
484         * MenuBackend.C:
485         * MenuBackend.h:
486         * dispatchresult.h:
487         * factory.C:
488         * lfuns.h:
489         * lyxfunc.C:
490         * lyxtextclass.C:
491         * lyxtextclass.h:
492         * text3.C: The Character Style /XML short element patch.
493
494 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * text3.C:
497         * factory.C: Small step to solving 'unable to insert some insets'
498         problem
499
500 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * cursor.[Ch] (updatePos): new function for updating the y
503         position of the tip inset
504         * bufferview_funcs.C (put_selection_at):
505         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
506
507 2003-11-11  André Pönitz  <poenitz@gmx.net>
508
509         * text.C: remove big comment on invalid Paragraph pointers as it is
510         not valid anymore
511
512 2003-11-11  André Pönitz  <poenitz@gmx.net>
513
514         * text_funcs.[Ch]: merge with ...
515
516         * text.C: ... this
517
518         * lyxtext.h:
519         * text2.C:
520         * text3.C: adjust
521
522         * Makefile.am: remove text_funcs.[Ch]
523
524 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
525
526         * cursor.C (getPos): return absolute cached y coord
527
528         * BufferView_pimpl.C (fitCursor): new simplistic code
529         (workAreaDispatch): add a fitCursor call
530
531 2003-11-10  André Pönitz  <poenitz@gmx.net>
532
533         * BufferView.[Ch]:
534         * BufferView_pimpl.[Ch]: merge update() and updateInset()
535
536 2003-11-10  André Pönitz  <poenitz@gmx.net>
537
538         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
539         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
540         indicate that the cursor needs to leave an inset
541
542         * lyxtext.h: remove inset locking
543
544         * cursor.[Ch]: re-implement functionality provided by inset locking
545
546         * BufferView.[Ch]:
547         * BufferView_pimpl.[Ch]:
548         * LyXAction.C:
549         * bufferview_funcs.[Ch]:
550         * factory.C:
551         * funcrequest.[Ch]:
552         * iterators.C:
553         * lyx_cb.C:
554         * lyxfind.C:
555         * lyxfunc.C:
556         * text.C:
557         * text2.C:
558         * text3.C:
559         * undo.C: adjust
560
561 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
562
563         * PosIterator.[Ch]: replace the stack with a vector, add inset
564         accesor
565         * iterators.[C]: adjust
566
567 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
568
569         * lyxfind.C (replaceAll): mark the buffer dirty if something was
570         replaced
571         * paragraph_funcs.C (readParToken): put the correct id in the
572         error item, not the id of the top paragraph
573
574 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
575
576         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
577         * bufferview_funcs.C (put_selection_at): use the above
578
579 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
580
581         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
582
583 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * output_linuxdoc.h:
586         * output_plaintext.h:
587         * output.h:
588         * output_docbook.h: add #include statements
589
590 2003-11-05  José Matos  <jamatos@lyx.org>
591
592         * output_docbook.[Ch]:
593         * output_latex.[Ch]:
594         * output_linuxdoc.[Ch]:
595         * output_plaintext.[Ch]: New files for output formats.
596         * output.[Ch]: New file for helper functions.
597
598         * buffer.[Ch]:
599         * paragraph_funcs.[Ch]: output functions moved to new files.
600
601         * outputparams.h: rename of latexrunparams.h
602
603         * LaTeX.[Ch]:
604         * buffer.[Ch]:
605         * bufferlist.[Ch]:
606         * converter.[Ch]:
607         * exporter.C:
608         * paragraph.[Ch]:
609         * paragraph_funcs.[Ch]:
610         * paragraph_pimpl.[Ch]:
611         * tabular.[Ch]: rename ascii to plaintext
612         and LatexRunParams to OutputParams.
613
614 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
615
616         * iterators.[Ch] (text): require bv argument
617         * undo.C (recordUndo):
618         * lyxfunc.C (dispatch):
619         * bufferview_funcs.C (put_selection_at): adjust
620
621 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
622
623         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
624
625 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
626
627         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
628         nestings
629
630 2003-11-04  André Pönitz  <poenitz@gmx.net>
631
632         * cursor.[Ch]: restructure
633
634         * BufferView.[Ch]:
635         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
636
637         * iterators.[Ch] (asCursor): remove
638
639         * lfuns.h: remove LFUN_INSET_EDIT
640
641         * lyxfunc.C:
642         * tabular.C:
643         * text.C:
644         * text2.C:
645         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
646
647 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
648
649         * lyxfind.[Ch]: complete overhaul
650         * BufferView_pimpl.C:
651         * lyxfunc.C: adjust
652         * paragraph.[Ch] (insert): add
653
654 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
655
656         * BufferView.[Ch]:
657         * lyxtext.h:
658         * text.C: remove dead spellcheck code
659
660 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
661
662         * dispatchresult.h: add a val setter
663
664         * cursor.C (dispatch): use a tempvar for data_[i]
665
666 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
667
668         * PosIterator.[Ch]: compile fix
669
670 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
671
672         * text.C (cursorPar): deactivate the cursor cache
673
674 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
675
676         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
677
678 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
679
680         * text3.C (dispatch): adjust for new DisptchResult semantics.
681
682         * lyxfunc.C (dispatch): handle update when return from
683         Cursor::dispatch, adjust for new DispatchResult semantics.
684
685         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
686         DispatchResult(true) mean to not update. Add class functions for
687         setting dispatched and update, as well as reading.
688
689         * cursor.C (dispatch): don't handle update here
690
691 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
692
693         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
694         * trans_mgr.C: adjust
695
696         * paragraph_funcs.C (readParToken): exception safety
697
698         * lyxvc.h: store the vcs pointer in a scoped_ptr
699         * lyxvc.C: adjust
700
701         * lyxsocket.C (serverCallback): exception safety
702
703         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
704
705         * ispell.C (clone): make it return a auto_ptr
706
707         * factory.C (createInset): exception safety
708         (readInset): exception safety
709
710         * bufferlist.C (newBuffer): exception safety
711
712         * Thesaurus.C (Thesaurus): use initialization for aik_
713
714         * MenuBackend.C (expandToc): exception safety.
715
716 2003-11-03  André Pönitz  <poenitz@gmx.net>
717
718         * buffer.C:
719         * buffer.h:
720         * bufferview_funcs.C: remove getInsetFromId()
721
722         * lyxcursor.[Ch]:
723         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
724
725         * lyxfunc.C:
726         * text2.C:
727         * text3.C: adjust
728
729 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
730
731         * PosIterator.C (distance, advance): new
732         * bufferview_funcs.[Ch] (put_selection_at): new
733         * iterators.[Ch] (lockPath): new
734
735 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
736
737         * iterators.[Ch] (asPosIterator): added
738         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
739         * PosIterator.[Ch]: added
740
741 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
742
743         * text3.C:
744         * lyxfunc.C:
745         * cursor.C (dispatch):
746         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
747
748         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
749         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
750         contructor, add a class function dispatched. Remove operator>=
751
752 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
753
754         * debug.C: only use the default constructor for debugstream
755         (lyxerr) here.
756
757         * main.C (main): include debug.h and setup the lyxerr streambuf
758         here.
759
760 2003-10-31  José Matos  <jamatos@lyx.org>
761
762         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
763
764         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
765         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
766         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
767         * paragraph_pimpl.C (simpleTeXSpecialC):
768         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
769         add LatexRunParams argument.
770
771         * exporter.C (Export): change call accordingly.
772
773         * latexrunparams.h: add new member to take care of the other backends.
774 2003-10-30  José Matos  <jamatos@lyx.org>
775
776         * buffer.C (makeLinuxDocFile, makeDocBookFile):
777         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
778         factorise code for paragraph output.
779         * buffer.[Ch]:
780         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
781         move functions.
782
783 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
784
785         * text3.C (dispatch):
786         * lyxfunc.C (dispatch):
787         * cursor.C (dispatch):
788         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
789
790         * dispatchresult.h: make the dispatch_result_t ctor explicit
791
792 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
793
794         * sgml.[Ch]:
795         * buffer.C: small refactoring of docbook stuff
796
797 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
798
799         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
800         meaning.
801
802 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
803
804         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
805         operator dispatch_result_t, and operators for == != and >=
806
807         * cursor.C (dispatch): adjust for operator dispatch_result_t
808         removal. comment out call to update
809
810         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
811
812 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
813
814         * text3.C:
815         * text2.C:
816         * text.C:
817         * lyxtext.h:
818         * lyxfunc.C:
819         * cursor.C:
820         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
821         (dispatch):
822
823         * dispatchresult.h: new file, DispatchResult broken out of
824         insets/insetbase.h
825
826         * Makefile.am (lyx_SOURCES): add dispatchresult.h
827
828 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
829
830         * text.C (rowBreakPoint): put a hack inside #if 0
831
832 2003-10-28  André Pönitz  <poenitz@gmx.net>
833
834         * lyxtext.h:
835         * metricsinfo.C:
836         * paragraph_funcs.C:
837         * rowpainter.C:
838         * text.C:
839         * text2.C: general cleanup (lots of small stuff)
840
841 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
842
843         * text2.C (cursorEnd): simple fix to the "end key goes to one
844         before the end on last row" bug
845
846 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
847
848         * text.C (backspace): fix the "zombie characters"
849
850 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
851
852         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
853
854 2003-10-27  André Pönitz  <poenitz@gmx.net>
855
856         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
857
858         * factory.C: handle new InsetPagebreak, InsetLine
859
860         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
861         and move handling into new InsetPagebreak, InsetLine
862
863         * BufferView_pimpl.C:
864         * LyXAction.C:
865         * ParagraphParameters.C:
866         * ParameterStruct.h:
867         * lyxfunc.C:
868         * lyxtext.h:
869         * paragraph.C:
870         * paragraph.h:
871         * paragraph_funcs.C:
872         * paragraph_pimpl.C:
873         * rowpainter.C:
874         * text.C:
875         * text2.C:
876         * text3.C: adjust
877
878 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
879
880         * text.C:
881         * lyxrow_funcs.[Ch]:
882         * Bidi.C:
883         * paragraph.C:
884         * lyxtext.h:
885         * rowpainter.C:
886         * text2.C:
887         * text3.C: remove lastPos uses in favour of Row::endpos
888
889 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
890
891         * undo.C (performUndoOrRedo): fix two crashes by setting a
892         cursor by hand and reordering some calls. Use bv->lockInset instead
893         of inset->edit because the latter loses cursor information
894
895 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
896
897         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
898         by Martin
899         (rowBreakPoint): fix width. change point to point + 1.
900         Add a missing check.
901
902 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * MenuBackend.C:
905         * lyxfunc.C: fix (at least partly) the problems
906         with the Nav menu and headers inside branch insets
907         reported by Kayvan
908
909 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
910
911         * paragraph.C (getChar): add strong asserts
912
913         * lyxrow_funcs.C (lastPos): remove hideous hack
914
915         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
916         (fill): adjust to that (avoid an infinite loop)
917
918 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
919
920         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
921
922 2003-10-23  André Pönitz  <poenitz@gmx.net>
923
924         * RowList_fwd.h: change list<> to vector<> to gain speed
925         after suggestion from Alfredo
926
927 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
928
929         * lyxtext.h: move the bidi stuff from here...
930         * text.C: and here
931         * text2.C: and here
932         * Bidi.[Ch]: ... to here
933
934 2003-10-23  André Pönitz  <poenitz@gmx.net>
935
936         * lyxtext.h:
937         * text.C (isLastRow, isFirstRow): new functions
938
939         * paragraph.h: new width cache member
940
941         * rowpainter.C: replace RowList::iterator with Row & where possible
942
943         * lyxfunc.C: replace several view()->text with a single call
944
945         * toc.C: fix 'unused' warning
946
947 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
948
949         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
950         when woring with stream::pos_type
951         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
952
953 2003-10-22  André Pönitz  <poenitz@gmx.net>
954
955         * lyxtext.h:
956         * text.C: use Row & instead of RowList::iterator
957
958         * lyxrow.h: rename end() to endpos()
959
960         * rowpainter.C:
961         * text.C:
962         * text2.C: adjust
963
964 2003-10-22  Angus Leeming  <leeming@lyx.org>
965
966         * buffer.[Ch] (fully_loaded): new member function, returning true
967         only when the file has been loaded fully.
968         Used to prevent the premature generation of previews and by the
969         citation inset to prevent computation of the natbib-style label.
970
971         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
972         templates are all set up.
973
974         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
975
976 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * text.C: fixed an "oops" in the "is a bit silly"
979         bug fix
980
981 2003-10-21  André Pönitz  <poenitz@gmx.net>
982
983         * FuncStatus.[Ch]: small stuff, whitespace
984
985         * lyxfont.[Ch]: operator<<() for debug reasons
986
987         * lyxfunc.C:
988         * lyxrow_funcs.C:
989         * lyxtext.h: whitespace, spelling
990
991         * paragraph.C: naming of variables
992
993         * text.C:
994         * text2.C: small stuff
995
996
997 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * text.C: (1) finish off the inset display() work;
1000         (2) fix the "is a bit silly" bug (accessing char
1001         past end of par).
1002
1003 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * text.C: re-introduce display() for insets, fixing the
1006         various bugs (stretch of line above, math inset
1007         positioning, ...)
1008
1009 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * text.C (rightMargin): remove spurious semicolon
1012
1013         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1014         1415)
1015
1016 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * text3.C: fix one crash due to wrong cursor def
1019
1020 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1021
1022         * vc-backend.C (scanMaster): make the regex static
1023
1024         * LaTeX.C (scanAuxFile): make the regexs static
1025
1026         * text3.C (doInsertInset, dispatch, dispatch):
1027         * text2.C (cursorUp, cursorDown):
1028         * text.C (selectNextWordToSpellcheck):
1029         * BufferView_pimpl.C (dispatch):
1030         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1031
1032 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * lyxsocket.C: include <cerrno>
1035
1036 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1037
1038         * lyxfunc.C (dispatch): remove textcache stuff
1039
1040         * bufferlist.C (release): remove textcache stuff
1041         (closeAll): ditto
1042
1043         * TextCache.C: delete file
1044         * TextCache.h: delete file
1045
1046         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1047
1048         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1049         delete of the bv_->text.
1050         (resizeCurrentBuffer): remove texcache stuff
1051         (workAreaResize): ditto
1052
1053 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1054
1055         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1056         action.
1057
1058 2003-10-16  André Pönitz  <poenitz@gmx.net>
1059
1060         * lyxrow.[Ch]:
1061         * paragraph.h:
1062         * rowpainter.C:
1063         * text.C:
1064         * text2.C:
1065         * text3.C: speed up by storing y positions per paragraph plus per-row
1066         offset instead of having a 'full' y position in the row.
1067
1068 2003-10-15  André Pönitz  <poenitz@gmx.net>
1069
1070         * iterators.[Ch]:
1071         * iterators.[Ch]:
1072         * undo.[Ch]: make undo aware of inner insets
1073
1074 2003-10-14  Angus Leeming  <leeming@lyx.org>
1075
1076         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1077         static member functions LyX::ref() and LyX::cref.
1078         (lastfiles): new accessor functions for the new lastfiles_ member var.
1079         (addLyXView, views_): add a new LyXView to the list of views_.
1080         (updateInset): loop over all LyXViews to call their own updateInset
1081         member function, returning a pointer to the Buffer owning the inset.
1082
1083         * BufferView_pimpl.C (loadLyXFile):
1084         * MenuBackend.C (expandLastfiles):
1085         * bufferlist.C (MenuWrite, QuitLyX):
1086         lastfiles is no longer a global variable.
1087         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1088
1089         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1090         static function. Access through LyX::cref().emergencyCleanup().
1091
1092 2003-10-14  André Pönitz  <poenitz@gmx.net>
1093
1094         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1095
1096         * undo.[Ch]: restoring part of 'undo in insets'
1097
1098         * Makefile.am:
1099         * undo_funcs.[Ch]: merge with undo.[Ch]
1100
1101         * tabular.C: small cleansing stuff
1102
1103 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1104
1105         * paragraph_funcs.C (readParToken): report unknown insets as error
1106         boxes. Use the outer paragraph as location (also for unknown
1107         tokens).
1108
1109         * factory.C (readInset): do not abort on reading an unknown inset.
1110         Eat it and return 0.
1111
1112 2003-10-13  Angus Leeming  <leeming@lyx.org>
1113
1114         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1115
1116         * lyxrc.C: displayTranslator is now a function,
1117         declared in GraphicsTypes.h.
1118
1119 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1120
1121         * format.C: new placeholder $$a to pass the socket address.
1122
1123         * bufferlist.[Ch]: new function getBufferFromTmp.
1124
1125         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1126           files in the temporary dir.
1127
1128 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1129
1130         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1131
1132         * Makefile.am: add lyxsocket.[Ch].
1133
1134         * lyx_main.C (error_handler): handle SIGPIPE.
1135
1136 2003-10-13  André Pönitz  <poenitz@gmx.net>
1137
1138         * BufferView_pimpl.C:
1139         * lyxtext.h:
1140         * text.C:
1141         * text2.C:
1142         * text3.C:
1143         * undo_funcs.[Ch]: use paroffset_type instead of
1144           ParagraphList::iterators to prevent multiple conversion
1145           (and get a more robust interface)
1146
1147 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1148
1149         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1150         * lyxtext.h: ditto
1151         * text3.C (dispatch): ditto
1152
1153 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1154
1155         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1156         move the onlyfile, use onlyfile instead of foundfile in a couple
1157         of places.
1158
1159         * DepTable.C (update): flush the error stream a bit more
1160
1161 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1162
1163         * lyxserver.C (callback): adjust
1164
1165         * lyxfunc.C (getStatus): add a missing brace in commented code
1166         (ensureBufferClean): reindent
1167         (dispatch): delete version taking a string
1168
1169 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1170
1171         * LaTeX.C (deplog): move found file handlig from here...
1172         (handleFoundFile): .. to new function here.
1173         (deplog): make sure to discover several files mentioned on the
1174         same log line.
1175
1176 2003-10-10  André Pönitz  <poenitz@gmx.net>
1177
1178         * lyxfunc.C:
1179         * lyxtext.h:
1180         * tabular.C:
1181         * text.C:
1182         * text2.C:
1183         * text3.C: fix some of the tabular crashes
1184
1185 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1186
1187         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1188
1189         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1190
1191 2003-10-09  André Pönitz  <poenitz@gmx.net>
1192
1193         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1194
1195         * BufferView.C:
1196         * BufferView_pimpl.C:
1197         * bufferview_funcs.C:
1198         * lyx_cb.C:
1199         * lyxcursor.C:
1200         * lyxfind.C:
1201         * lyxfunc.C:
1202         * lyxtext.h:
1203         * text.C:
1204         * text2.C:
1205         * text3.C:
1206         * text_funcs.[Ch]:
1207         * textcursor.[Ch]:
1208         * undo_funcs.C: adjust
1209
1210 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * text2.C (incrementItemDepth): new function, use a backtracking
1213         algorithm to discover the correct item depth.
1214         (resetEnumCounterIfNeeded): new function, use a backtracking
1215         algorithm to discover if counter reset is needed.
1216         (setCounter): use them. Simplify a bit. Add different labels for
1217         different item depths for itemize.
1218
1219         * paragraph.C (Paragraph): remove initialization of enumdepth
1220         (operator=): ditto
1221
1222         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1223         enumerate and itemize. Change the type of itemdepth to signed char.
1224
1225 2003-10-08  André Pönitz  <poenitz@gmx.net>
1226
1227         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1228           thing assignable.
1229         * text.C:
1230         * text2.C: adjust
1231
1232         * tabular.[Ch]: fix crash after 'row-insert'
1233
1234 2003-10-08  Angus Leeming  <leeming@lyx.org>
1235
1236         Fix doxygen warnings.
1237
1238         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1239         Remove CutAndPaste:: prefix from header file declaration.
1240
1241         * LColor.h (fill): remove LColor:: prefix from declaration.
1242
1243         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1244         use lyx::depth_type rather than Paragraph::depth_type so that
1245         header file and .C file match.
1246
1247         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1248
1249         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1250         * aspell.C: \file aspell_local.C -> \file aspell.C
1251         * gettext.C: \file gettext.C -> \file src/gettext.C
1252         * gettext.h: \file gettext.h -> \file src/gettext.h
1253         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1254         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1255         * text.C: \file text.C -> \file src/text.C
1256
1257         * toc.C: move comment so that doxygen is not confused.
1258
1259 2003-10-07  Angus Leeming  <leeming@lyx.org>
1260
1261         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1262
1263 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1264
1265         * aspell.C:
1266         * aspell_local.h: add forgotten std::string's.
1267
1268 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1269
1270         * LaTeXFeatures.C:
1271         * LyXAction.C:
1272         * factory.C:
1273         * lfuns.h:
1274         * lyxfunc.C:
1275         * text3.C: The Box patch. Fancybox support, minipage, parbox
1276
1277 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1278
1279         * CutAndPaste.h:
1280         * DepTable.h:
1281         * FloatList.h:
1282         * LaTeXFeatures.h:
1283         * ParagraphParameters.h:
1284         * TextCache.h:
1285         * Thesaurus.h:
1286         * bufferlist.h:
1287         * exporter.h:
1288         * importer.h:
1289         * lastfiles.h:
1290         * lyxfind.h:
1291         * lyxfont.h:
1292         * lyxlex.h:
1293         * lyxtextclasslist.h:
1294         * messages.h:
1295         * paragraph.h:
1296         * paragraph_pimpl.C:
1297         * textcursor.h: add <string> and other small fixes to make Lars'
1298         std::string patch compile with STLport.
1299
1300 2003-10-06  Angus Leeming  <leeming@lyx.org>
1301
1302         * LColor.h: Add missing #include <string>.
1303
1304 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * All most all file in all subdirs: Make <string> be the prefered
1307         way of getting to std::string, add using declarations.
1308
1309 2003-10-06  André Pönitz  <poenitz@gmx.net>
1310
1311         * metricsinfo.C: initialize LyXFont before changing attribute.
1312         (fixes the 'math in \emph is upright' bug)
1313
1314 2003-10-06  André Pönitz  <poenitz@gmx.net>
1315
1316         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1317
1318 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1319
1320         * graph.C:
1321         * paragraph_pimpl.C: Small fixes to build using STLport
1322
1323 2003-10-02  André Pönitz  <poenitz@gmx.net>
1324
1325         * lyxfunc.C:
1326         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1327
1328 2003-10-01  André Pönitz  <poenitz@gmx.net>
1329
1330         * factory.C: assert early
1331
1332 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1333
1334         * lyx_main.C: remove the global debug object
1335
1336         * debug.h: adjust for new debugstream
1337
1338         * debug.C: adjust for new debugstream and keep the global debug
1339         object here.
1340
1341 2003-09-22  Angus Leeming  <leeming@lyx.org>
1342
1343         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1344         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1345         an incomplete class LyXFont.
1346
1347 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * factory.C: bug fix in branches
1350
1351 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1352
1353         * lyxfunc.C (processKeySym): adjust
1354         (dispatch): adjust
1355         (dispatch): change arg name from ev to func, adjust
1356         (sendDispatchMessage): ditto
1357
1358         * lyx_main.C (defaultKeyBindings): adjust keybindings
1359         (deadKeyBindings): ditto
1360
1361         * kbsequence.C (addkey): return a FuncRequest
1362
1363         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1364
1365         * kbmap.C (bind): take a FuncRequest as arg, adjust
1366         (read): adjust
1367         (lookup): adjust
1368         (defkey): change to take a FuncRequest as arg, adjust
1369         (findbinding): take a FuncRequest as arg, adjust.
1370
1371         * funcrequest.h (operator=): added
1372
1373         * funcrequest.C (FuncRequest): default kb_action changed from
1374         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1375
1376         * buffer.C (dispatch): simplify
1377         (dispatch): adjust to take a FuncRequest as arg, adjust
1378
1379         * boost.C (assertion_failed): change assertion message slightly
1380
1381         * ToolbarBackend.C (read): simplify
1382
1383         * MenuBackend.C (binding): adjust call to findbinding, add a
1384         message if no binding is found.
1385         (read): simplify
1386         (expandToc): correct by adding a empty FuncRequest
1387
1388         * LyXAction.C: include <boost/assert.hpp>
1389         (isPseudoAction): delete function
1390         (LookupFunc): change name to...
1391         (lookupFunc): this. change return type to FuncRequest.
1392         (getActionName): take kb_action as arg, simplify
1393         (funcHasFlag): add an assert, simplify.
1394
1395 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1396
1397         * toc.C (action): return a FuncRequest, simplify
1398
1399         * lyxfunc.C (processKeySym): adjust
1400         (getStatus): delete version that takes an int.
1401         (getStatus): adjust
1402         (dispatch): delete version that takes action as int
1403         (dispatch): adjust
1404         (sendDispatchMessage): simplify and adjust
1405
1406         * funcrequest.C (getArg): take unsigned int as arg
1407
1408         * ToolbarBackend.C (read): adjust
1409         (add): delete version that takes func as a string.
1410         (getIton): take a FuncRequest as arg
1411
1412         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1413         action.
1414
1415         * MenuBackend.C (MenuItem): add a new construct that only takes a
1416         Kind, simplify the constructor use for submenus.
1417         (add): adjust
1418         (expandLastfiles): adjust
1419         (expandDocuments): adjust
1420         (expandFormats): adjust
1421         (expandFloatListInsert): adjust
1422         (expandFloatInsert): adjust
1423         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1424
1425         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1426         Remove class variables lyx_pseudo_map and lyx_arg_map
1427
1428         * LyXAction.C (searchActionArg): delete function
1429         (getPseudoAction): delete function
1430         (retrieveActionArg): delete function
1431         (LookupFunc): make it return kb_action, simplify.
1432         (getActionName): simplify
1433
1434         * factory.C (createInset): fix new bug
1435
1436 2003-09-19  Angus Leeming  <leeming@lyx.org>
1437
1438         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1439         masterFilename_ parameter in the include inset.
1440
1441         * factory.C (createInset): changes due to the changes to InsetInclude.
1442
1443 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1444
1445         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1446
1447 2003-09-18  Angus Leeming  <leeming@lyx.org>
1448
1449         * buffer.C:
1450         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1451         Inset::fillWithBibKeys.
1452         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1453
1454 2003-09-18  Angus Leeming  <leeming@lyx.org>
1455
1456         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1457         variables.
1458         (ctor): pass and store a 'Buffer const &'
1459         (buffer): new member function.
1460
1461         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1462         '*this' to the LaTeXFeatures ctor.
1463
1464 2003-09-18  Angus Leeming  <leeming@lyx.org>
1465
1466         * LColor.h:
1467         * lyxfont.C:
1468         * lyxfont.h:
1469         * lyxtext.h:
1470         * text.C: rename EnumLColor as LColor_color.
1471
1472 2003-09-18  Angus Leeming  <leeming@lyx.org>
1473
1474         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1475         remove #include "insets/insetbase.h" from cursor.h.
1476
1477 2003-09-18  Angus Leeming  <leeming@lyx.org>
1478
1479         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1480         InsetOld_code to remove #include "inset.h".
1481
1482         * iterators.C: add #include "insets/inset.h"
1483
1484 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1485
1486         * BufferView.C: remove more locking stuff that apparently doesn't
1487         do anything sensible.
1488
1489 2003-09-16  André Pönitz  <poenitz@gmx.net>
1490
1491         * paragraph.[Ch]:
1492         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1493           performance boost.
1494
1495 2003-09-16  Angus Leeming  <leeming@lyx.org>
1496
1497         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1498
1499         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1500         arg/return type.
1501
1502         * paragraph.h: remove #include "lyxfont.h". Forward declare
1503         LyXFont_size.
1504
1505 2003-09-16  Angus Leeming  <leeming@lyx.org>
1506
1507         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1508         of support/textutils.h.
1509         (isWord): move the contents of support/textutils.h's IsWordChar here.
1510
1511         * buffer.C:
1512         * lyxfind.C:
1513         * rowpainter.C:
1514         * text.C:
1515         * text2.C: add #include "paragraph.h".
1516
1517         * rowpainter.C:
1518         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1519
1520 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1521
1522         * main.C:
1523         * lyx_main.C:
1524         * lyx_cb.C:
1525         * buffer.C:
1526         * LaTeX.C: use namespace alias for lyx::support::os
1527
1528 2003-09-16  Angus Leeming  <leeming@lyx.org>
1529
1530         * bufferparams.C:
1531         * bufferview_funcs.C:
1532         * factory.C:
1533         * lyxfunc.C:
1534         * paragraph_pimpl.C:
1535         * rowpainter.C:
1536         * text.C: add #include "LColor.h".
1537
1538 2003-09-16  Angus Leeming  <leeming@lyx.org>
1539
1540         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1541         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1542         return LyXFont &.
1543         Store the FontBits::color variable as an int rather than as an
1544         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1545         file.
1546
1547         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1548         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1549         string calls together.
1550
1551         * lyxrc.C: add #include "LColor.h".
1552
1553 2003-09-15  Angus Leeming  <leeming@lyx.org>
1554
1555         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1556         a cow_ptr.
1557
1558 2003-09-15  Angus Leeming  <leeming@lyx.org>
1559
1560         * LColor.h: add an EnumLColor wrapper for LColor::color.
1561
1562         * lyxfont.[Ch] (color, setColor, realColor):
1563         * lyxtext.h, text.C (backgroundColor):
1564         pass EnumLColor args to/from the functions, rather than LColor::color
1565         ones.
1566
1567         * lyxfont.h:
1568         * lyxtext.h: forward declare EnumLColor.
1569
1570         * lyx_main.C: add #include "LColor.h".
1571
1572 2003-09-15  Angus Leeming  <leeming@lyx.org>
1573
1574         * .cvsignore: add lyx-gtk.
1575
1576 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1577
1578         * Chktex.C
1579         * LaTeX.C
1580         * LaTeXFeatures.C
1581         * ParagraphParameters.C
1582         * Spacing.C
1583         * buffer.C
1584         * bufferparams.C
1585         * bufferview_funcs.C
1586         * chset.C
1587         * counters.C
1588         * funcrequest.C
1589         * lyxfont.C
1590         * lyxgluelength.C
1591         * lyxlength.C
1592         * paragraph.C
1593         * paragraph_funcs.C
1594         * text3.C
1595         * vc-backend.C: remove usage of STRCONV
1596
1597 2003-09-15  Angus Leeming  <leeming@lyx.org>
1598
1599         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1600         explicitly define the color passed to the painter.
1601
1602 2003-09-15  Angus Leeming  <leeming@lyx.org>
1603
1604         * bufferparams.C (BufferParams): reorder member initializers to avoid
1605         compiler warning.
1606
1607 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1608
1609         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1610         * text.C (updateRowPositions): remove an unusual nop
1611
1612 2003-09-12  André Pönitz  <poenitz@gmx.net>
1613
1614         * BufferView_pimpl.C:
1615         * Bullet.C:
1616         * layout.h:
1617         * lyxfunc.C:
1618         * lyxlayout.[Ch]:
1619         * lyxtextclass.C:
1620         * rowpainter.C:
1621         * text.C:
1622         * text2.C:
1623         * Counters.[Ch]: finish the 'automatic counters' job
1624
1625 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1626
1627         * aspell.C: include <boost/assert.cpp> (compile fix)
1628
1629 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1630
1631         * boost.C (assertion_failed): use lyx::support::abort instead of
1632         assert.
1633
1634 2003-09-10  Angus Leeming  <leeming@lyx.org>
1635
1636         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1637         with their _fwd progeny.
1638
1639 2003-09-09  Angus Leeming  <leeming@lyx.org>
1640
1641         134 files throughtout the source tree: replace 'using namespace abc;'
1642         directives with the appropriate 'using abc::xyz;' declarations.
1643
1644 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1645
1646         * boost.C (emergencyCleanup): moved here from LAssert.c
1647         (assertion_failed): new function, called by BOOST_ASSERT
1648
1649         * several files: change Assert to BOOST_ASSERT
1650
1651 2003-09-09  Angus Leeming  <leeming@lyx.org>
1652
1653         * buffer.[Ch]: Add an Impl class and move Buffer's member
1654         variables into it. As a result move several header files out of
1655         buffer.h.
1656
1657         Add header files to lots of .C files all over the tree as a result.
1658
1659 2003-09-09  Angus Leeming  <leeming@lyx.org>
1660
1661         * buffer.[Ch]: make Buffer's member variables private. Add
1662         accessor functions.
1663
1664         Lots of changes all over the tree as a result.
1665
1666 2003-09-08  Angus Leeming  <leeming@lyx.org>
1667
1668         * graph.C: #include <config.h>.
1669
1670 2003-09-08  Angus Leeming  <leeming@lyx.org>
1671
1672         * BranchList.C:
1673         * BufferView.C:
1674         * BufferView_pimpl.C:
1675         * CutAndPaste.C:
1676         * DepTable.C:
1677         * LaTeX.C:
1678         * LaTeXFeatures.C:
1679         * LyXAction.C:
1680         * MenuBackend.C:
1681         * TextCache.C:
1682         * aspell.C:
1683         * buffer.C:
1684         * bufferlist.C:
1685         * changes.C:
1686         * chset.C:
1687         * converter.C:
1688         * counters.C:
1689         * debug.C:
1690         * graph.C:
1691         * ispell.C:
1692         * lyx_cb.C:
1693         * lyxfind.C:
1694         * lyxfunc.C:
1695         * lyxlex_pimpl.C:
1696         * lyxrc.C:
1697         * lyxrow.C:
1698         * paragraph.C:
1699         * rowpainter.C:
1700         * texrow.C:
1701         * text.C:
1702         * text2.C:
1703         * toc.C: remove redundant using directives.
1704
1705 2003-09-07  Angus Leeming  <leeming@lyx.org>
1706
1707         * LaTeXFeatures.h: remove #include "support/types.h".
1708         * ToolbarBackend.h: remove #include <algorithm>.
1709         * changes.h: remove #include <ctime>.
1710         * debug.h: remove #include <iosfwd>.
1711         * graph.h: remove #include "support/std_string.h".
1712         * lyx_main.h: remove #include <csignal>.
1713         * lyxlex_pimpl.h: remove #include <fstream>.
1714         * sgml.h: remove #include <algorithm>, <utility>.
1715         * toc.h: remove #include "support/std_ostream.h".
1716         Add #include <iosfwd>.
1717
1718 2003-09-07  Angus Leeming  <leeming@lyx.org>
1719
1720         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1721
1722         * converter.h: forward declare LatexRunParams.
1723         * encoding.h: remove #include "lyxrc.h".
1724         * lyxtext.h: remove #include "LColor.h".
1725         * lyxtextclass.h: remove #include "support/types.h".
1726         * trans.h: remove #include "tex-accent.h".
1727         * trans_mgr.h: remove #include "tex-accent.h".
1728         * insets/inset.h: remove #include "support/types.h", <vector>.
1729         * insets/insetcollapsable.h: remove #include "LColor.h".
1730         * insets/insetinclude.h: remove #include "dimension.h".
1731         * insets/insetlatexaccent.h: remove #include "dimension.h".
1732         * insets/insetoptarg.h:: remove #include "insettext.h".
1733         * insets/insettext.h: remove #include "dimension.h",
1734         <boost/shared_ptr.hpp>
1735
1736         * insets/renderers.h: add #include "dimension.h".
1737         * insets/updatableinset.h: add #include "support/types.h".
1738
1739         * many .C files: Associated changes.
1740
1741 2003-09-06  Angus Leeming  <leeming@lyx.org>
1742
1743         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1744         one, inside testInvariant.
1745
1746         * PrinterParams.C: new file.
1747         * PrinterParams.[Ch]: move the function bodies out of line.
1748
1749 2003-09-06  Angus Leeming  <leeming@lyx.org>
1750
1751         * ParagraphParameters.h: forward declare ParameterStruct rather than
1752         including its header file.
1753         (depth): moved out-of-line.
1754
1755 2003-09-06  Angus Leeming  <leeming@lyx.org>
1756
1757         * BufferView_pimpl.h:
1758         * kbmap.h:
1759         * kbsequence.h:
1760         * lyxfunc.h: forward declare LyXKeySym rather than
1761         #include "frontends/LyXKeySym.h".
1762
1763         * BufferView_pimpl.C:
1764         * kbmap.C:
1765         * kbsequence.C:
1766         * lyxfunc.C: associated changes.
1767
1768 2003-09-06  Angus Leeming  <leeming@lyx.org>
1769
1770         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1771         As a result, can remove the #include "insets/inset.h" from BufferView.h
1772
1773 2003-09-06  Angus Leeming  <leeming@lyx.org>
1774
1775         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1776         As a result, can remove the #include "insets/inset.h" from BufferView.h
1777
1778 2003-09-06  Angus Leeming  <leeming@lyx.org>
1779
1780         * buffer_funcs.C:
1781         * buffer.h:
1782         * bufferlist.C:
1783         * BufferView.C:
1784         * bufferview_funcs.C:
1785         * BufferView_pimpl.C:
1786         * CutAndPaste.C:
1787         * lyx_cb.C:
1788         * lyxfunc.C:
1789         * paragraph.h:
1790         * ParagraphParameters.C:
1791         * tabular.C:
1792         * text3.C:
1793         * toc.C:
1794         * undo_funcs.C:
1795         * frontends/controllers/ControlDocument.C:
1796         * insets/insetcaption.C: rearrange the #includes into some sort of
1797         coherent order.
1798
1799         * buffer.h: remove #includes ErrorList.h, undo.h
1800
1801 2003-09-06  Angus Leeming  <leeming@lyx.org>
1802
1803         * support/types.h: add a 'depth_type' typedef, used to store the
1804         nesting depth of a paragraph.
1805
1806         * paragraph.h:
1807         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1808         defining explicitly.
1809
1810         * buffer.h:
1811         * paragraph_funcs.h:
1812         * ParagraphParameters.h:
1813         * sgml.h: use lyx::depth_type rather than Paragraph or
1814         ParameterStruct's depth_type.
1815
1816         * buffer.h
1817         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1818
1819         * BufferView.C:
1820         * BufferView_pimpl.C:
1821         * CutAndPaste.C:
1822         * ParagraphParameters.C:
1823         * buffer_funcs.C:
1824         * bufferlist.C:
1825         * bufferview_funcs.C:
1826         * lyx_cb.C:
1827         * lyxfunc.C:
1828         * tabular.C:
1829         * text3.C:
1830         * toc.C:
1831         * undo_funcs.C:
1832         * frontends/LyXView.C:
1833         * frontends/controllers/ControlDocument.C:
1834         * frontends/controllers/ControlErrorList.C:
1835         * insets/insetbibitem.C:
1836         * insets/insetbranch.C:
1837         * insets/insetcaption.C:
1838         * insets/insetcollapsable.C:
1839         * insets/insetenv.C:
1840         * insets/insetert.C:
1841         * insets/insetfloat.C:
1842         * insets/insetfoot.C:
1843         * insets/insetfootlike.C:
1844         * insets/insetnewline.C:
1845         * insets/insetquotes.C:
1846         * insets/insettabular.C:
1847         * insets/insettext.C:
1848         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1849
1850         * frontends/controllers/ControlChanges.C: #include "changes.h".
1851
1852 2003-09-06  Angus Leeming  <leeming@lyx.org>
1853
1854         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1855         than #including paragraph.h.
1856
1857         * ParagraphList.h:
1858         * RowList.h: deleted. Superfluous.
1859
1860         * CutAndPaste.h:
1861         * iterators.h:
1862         * lyxcursor.h:
1863         * lyxtext.h:
1864         * text_funcs.h:
1865         * undo.h:
1866         * undo_funcs.h:
1867         * insets/inset.h:
1868         * insets/insettext.h: use ParagraphList_fwd.h rather than
1869         ParagraphList.h.
1870
1871         * paragraph.h: don't forward declare ParagraphList.
1872
1873         * buffer.h:
1874         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1875         rather than ParagraphList.h. paragraph.h is still needed for the
1876         Paragraph::depth_type parameters.
1877
1878         * textcursor.h: enable it to compile stand-alone in light of the
1879         above changes.
1880
1881         * bufferview_funcs.C:
1882         * iterators.C:
1883         * lyxfunc.C:
1884         * lyxrow_funcs.C:
1885         * paragraph.C:
1886         * rowpainter.C:
1887         * text.C:
1888         * text2.C:
1889         * text3.C:
1890         * text_funcs.C:
1891         * textcursor.C:
1892         * undo.C:
1893         * frontends/controllers/ControlParagraph.C:
1894         * frontends/controllers/ControlTabular.C:
1895         * insets/insetmarginal.C:
1896         * insets/insetminipage.C:
1897         * insets/insetnote.C:
1898         * insets/insetoptarg.C: add header files needed to compile again.
1899
1900 2003-09-06  Angus Leeming  <leeming@lyx.org>
1901
1902         * RowList_fwd.h: new file, forward-declaring Row rather than
1903         #including lyxrow.h.
1904
1905         * lyxrow_funcs.h:
1906         * lyxtext.h:
1907         * paragraph.h:
1908         * insets/insettext.h: use it instead of RowList.h
1909
1910         * bufferview_funcs.C:
1911         * lyxfunc.C:
1912         * lyxrow_funcs.C:
1913         * paragraph.C:
1914         * rowpainter.C:
1915         * text.C:
1916         * text2.C:
1917         * text3.C: #include "RowList.h".
1918
1919 2003-09-05  Angus Leeming  <leeming@lyx.org>
1920
1921         * factory.C (createInset):
1922         * vspace.C (c-tor): replace sscanf call with an istringstream.
1923         * ispell.C: re-add missing HP/UX headers.
1924         * lyxserver.C: re-add missing  os2 headers.
1925
1926 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1927
1928         * BranchList.C:
1929         * graph.C:
1930         * ispell.C:
1931         * lastfiles.C:
1932         * lyx_cb.C:
1933         * lyxserver.C:
1934         * texrow.C:
1935         * text3.C: re-add missing system headers, needed for 2.95.2.
1936
1937 2003-09-05  Angus Leeming  <leeming@lyx.org>
1938
1939         Changes most place everywhere due to the removal of using directives
1940         from support/std_sstream.h.
1941
1942 2003-09-05  Angus Leeming  <leeming@lyx.org>
1943
1944         Replace LString.h with support/std_string.h,
1945         Lsstream.h with support/std_sstream.h,
1946         support/LIstream.h with support/std_istream.h,
1947         support/LOstream.h with support/std_ostream.h.
1948
1949         Changes resulting throughout the tree.
1950
1951 2003-09-05  Angus Leeming  <leeming@lyx.org>
1952
1953         * sgml.h: ensure that the header file can be compiled stand-alone.
1954         * *.C: strip out redundant #includes. (320 in total.)
1955
1956 2003-09-04  Angus Leeming  <leeming@lyx.org>
1957
1958         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1959         here (from getPackages).
1960
1961         * debug.[Ch]: add a new EXTERNAL tag.
1962
1963 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1964
1965         * text2.C (cursorEnd): simplify
1966         (setCursor): adjust
1967         (getColumnNearX): adjust
1968
1969         * text.C (computeBidiTables): adjust
1970         (fill): adjust
1971
1972         * rowpainter.C (paintChars): adjust
1973         (paintSelection): adjust
1974         (paintChangeBar): adjust
1975         (paintText): adjust
1976
1977         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1978         lastPos instead.
1979         (numberOfSeparators): adjust
1980
1981 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * LyXAction.C:
1984         * box.[Ch]:
1985         * lfuns.h:
1986         * lyxfunc.C:
1987         * text3.C: Restricts the mouse click functionality
1988         of insets like bibtex, include, toc and floatlist to the visible
1989         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1990         up the dialogs. Cursor has to be in front of the inset (i.e.
1991         start of row) for this to function.
1992
1993 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1994
1995         * bufferview_funcs.C (currentState): output row information
1996
1997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1998
1999         * bufferview_funcs.C (currentState): output paragraph position
2000
2001 2003-09-04  Angus Leeming  <leeming@lyx.org>
2002
2003         * FloatList.h: move out #include "Floating.h".
2004         * LaTeX.h: move out #include "DepTable.h".
2005         * LyXAction.h: move out #include "funcrequest.h".
2006         * buffer.h: move out #include "author.h", "iterators.h".
2007         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2008         * lyx_main.h: move out #include "errorlist.h".
2009         * lyxfunc.h: move out #include "FuncStatus.h".
2010         * lyxtext: move out #include "lyxcursor.h".
2011         * paragraph_pimpl.h: move out #include "counters.h".
2012
2013 2003-09-03  Angus Leeming  <leeming@lyx.org>
2014
2015         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2016         preamble_snippets list, enabling us to add snippets to the preamble
2017         only if the snippet was not there already.
2018
2019 2003-09-04  Angus Leeming  <leeming@lyx.org>
2020
2021         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2022
2023 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2026         update
2027
2028 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2029
2030         * BranchList.C: point fix, earlier forgotten
2031
2032 2003-09-02  Angus Leeming  <leeming@lyx.org>
2033
2034         * box.C (contains): renamed from 'contained' after a fantastic
2035         amount of hot air.
2036
2037 2003-09-02  John Levon  <levon@movementarian.org>
2038
2039         * BufferView.C:
2040         * lyxcursor.h:
2041         * lyxcursor.C:
2042         * lyxfunc.C:
2043         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2044
2045 2003-09-02  John Levon  <levon@movementarian.org>
2046
2047         * text2.C: simplification of cursorEnd(), including partial
2048         fix for bug 1376
2049
2050 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * buffer.C (readFile): add a space
2053
2054 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2055
2056         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2057
2058 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * buffer.C (readFile): new function, take a filename and a
2061         ParagraphList::iterator
2062         (readFile): adjust
2063         (readFile): adjust, make it private. don't use setStream, make
2064         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2065         always contain the filename.
2066
2067         * BufferView.C (insertLyXFile): simplify and make it work for
2068         gzipped files.
2069
2070 2003-08-30  John Levon  <levon@movementarian.org>
2071
2072         * Makefile.am: fix dist (from Kayvan)
2073
2074 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2075
2076         * most files: change to use const Buffer refs
2077
2078 2003-08-27  André Pönitz  <poenitz@gmx.net>
2079
2080         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2081         on top of ownerPar().
2082
2083 2003-08-27  John Levon  <levon@movementarian.org>
2084
2085         * funcrequest.C: properly initialise POD members
2086
2087 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2088
2089         * lyxtext.h (top_y): move top_y from here
2090         * text.C:
2091         * text2.C:
2092         * text3.C:
2093         * BufferView.[Ch]:
2094         * BufferView_pimpl.[Ch]: to here
2095         * frontends/screen.C:
2096         * insets/insettabular.C:
2097         * insets/insettext.C: adjust
2098         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2099
2100 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * BufferView.[Ch]:
2103         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2104
2105 2003-08-26  André Pönitz  <poenitz@gmx.net>
2106
2107         * paragraph_func.[Ch] (outerPar): new function
2108
2109         * paragraph.C:
2110         * paragraph_funcs.C:
2111         * paragraph_funcs.h:
2112         * paragraph_pimpl.C:
2113         * text2.C: remove Inset::par_owner
2114
2115 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2116
2117         * lyxrow_funcs.C:
2118         * lyxtext.h:
2119         * text.C:
2120         * text2.C: eliminates the needFullRow/display() stuff
2121         altogether, putting the logic in metrics/draw in the insets.
2122
2123 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2124
2125         * text2.C (redoParagraphInternal, redoParagraphs):
2126         * text.C (redoParagraph): add a call to updateRowPositions at the
2127         end of each 'metrics-like' call. Remove all others.
2128         (getRow): remove the 'y-computing' version.
2129         (getRowNearY): do not compute nor return the real y. Solve the
2130         'y < 0' problem and simplify.
2131
2132 2003-08-22  Angus Leeming  <leeming@lyx.org>
2133
2134         * *.[Ch]: clean-up of licence and author blurbs.
2135         Also move config.h out of a few .h files and into a few .C files.
2136
2137 2003-08-22  André Pönitz  <poenitz@gmx.net>
2138
2139         * lyxrow.[Ch]: add x_ and *fill_ members
2140
2141         * lyxtext.h:
2142         * text.C:
2143         * rowpainter.C:
2144         * text2.C: adjust/remove prepareToPrint() calls
2145
2146 2003-08-22  André Pönitz  <poenitz@gmx.net>
2147
2148         * lyxrow.[Ch]: add  end_ member
2149
2150         * lyxrow_funcs.C: use LyXRow::end_
2151
2152         * lyxtext.h (singleWidth): add LyXFont parameter
2153
2154         * rowpainter.C:
2155         * text2.C: adjust LyXText::singleWidth() calls
2156
2157         * text.C (redoParagraph): simplify row breaking logic
2158
2159
2160 2003-08-19  André Pönitz  <poenitz@gmx.net>
2161
2162         * funcrequest.C: initialize button_ member
2163
2164         * text3.C:
2165         * rowpainter.[Ch]: interface consolidation
2166
2167 2003-08-18  André Pönitz  <poenitz@gmx.net>
2168
2169         * BufferView.C:
2170         * BufferView_pimpl.C:
2171         * lyxfind.C:
2172         * paragraph_funcs.C:
2173         * rowpainter.C:
2174         * text3.C: remove LyXScreen::draw() and fitCursor calls
2175
2176         * BranchList.h: remove spurious semicolons
2177
2178         * MenuBackend.C: fix branchlist related crash
2179
2180 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2181
2182         * BranchList.[Ch]:
2183         * InsetList.[Ch]:
2184         * LColor.[Ch]:
2185         * LyXAction.C:
2186         * Makefile.am:
2187         * MenuBackend.[Ch]:
2188         * bufferparams.[Ch]:
2189         * factory.C:
2190         * lfuns.h:
2191         * lyxfunc.C:
2192         * text3.C: implements the 'branch inset'
2193         idea. This allows the output of various versions of a document
2194         from a single source version, selectively outputing or suppressing
2195         output of parts of the text.
2196         This implementation contains a 'branch list editor' in a separate
2197         tab of the document settings dialog. Branches are user definable
2198         and have a "display colour" to distinguish them on-screen.
2199
2200         ColorHandler was somewhat cleaned up.
2201         (1) make possible a dynamically growing LColor list by allowing
2202         the graphic context cache to grow along (vector);
2203         (2) eliminate an IMHO unnecessary step in colour allocation.
2204
2205 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2206
2207         * BufferView_pimpl.C: compile fix
2208
2209 2003-08-15  André Pönitz  <poenitz@gmx.net>
2210
2211         * rowpainter.C: remove extra metrics calls
2212
2213         * lyxtext.h: merge the two constructors into a single one,
2214           pass reference to owner's par list
2215
2216         * BufferView_pimpl.C:
2217         * text.C:
2218         * text2.C: adjust
2219
2220 2003-08-15  André Pönitz  <poenitz@gmx.net>
2221
2222         * lyxrow_funcs.[Ch]:
2223         * lyxtext.h:
2224         * paragraph.h:
2225         * paragraph_funcs.C:
2226         * rowpainter.C:
2227         * text.C:
2228         * text2.C:
2229         * text3.C:
2230         * text_funcs.C: split LyXText::rowlist_ into individual
2231         Paragraph::rows_ chunks
2232
2233         * BufferView.[Ch]:
2234         * BufferView_pimpl.[Ch]:
2235         * lyxfind.C:
2236         * lyxtext.h:
2237         * text3.C: remove toggleSelection()
2238
2239 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2240
2241         * bufferlist.C: beautify two alerts (shorter text of buttons)
2242         * buffer.C: Remove redundant ' ' from message
2243         * tabular.h:
2244         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2245         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2246         rename VALIGN_CENTER to VALIGN_MIDDLE
2247
2248 2003-08-11  André Pönitz  <poenitz@gmx.net>
2249
2250         * lyxtext.h (getPar):
2251         * text.C: new function
2252
2253 2003-08-11  André Pönitz  <poenitz@gmx.net>
2254
2255         * Makefile.am:
2256         * tracer.[Ch]: remove unneeded files
2257
2258         * InsetList.[Ch]: remove resizeInsetsLyXText()
2259
2260         * lyxtext.h:
2261         * text.C:
2262         * text2.C:
2263         * text3.C: merge insertParagraphs() and appendParagraph()
2264         remove breakAgain(), update()
2265
2266         * BufferView_pimpl.[Ch]:
2267         * bufferview_funcs.[Ch]:
2268         * lyxfunc.C:
2269         * paragraph.[Ch]:
2270         * rowpainter.C:
2271         * tabular.C: adjust after text & InsetList changes.
2272
2273 2003-08-08  André Pönitz  <poenitz@gmx.net>
2274
2275         * text.C (insertChar, backspace): replace rowlist fiddling
2276         with rebreak of full par
2277
2278         * lyxtext.h:
2279         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2280         checkParagraph, updateInset): removed
2281
2282 2003-08-07  André Pönitz  <poenitz@gmx.net>
2283
2284         * paragraph.C:
2285         * text3.C: merge some LFUN handlers, remove dead code
2286
2287 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2288
2289         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2290
2291 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2292
2293         * text2.C (DEPM): fix part of bug 1255 and 1256
2294
2295 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2296
2297         * BufferView_pimpl.C (workAreaDispatch): change to use
2298         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2299         that are no mouse related.
2300
2301 2003-08-05  André Pönitz  <poenitz@gmx.net>
2302
2303         * BufferView.[Ch]:
2304         * BufferView_pimpl.[Ch]:
2305         * bufferview_funcs.C:
2306         * text2.C:
2307         * text3.C: rip out "deep update"
2308
2309         * textcursor.[Ch] (last_sel_cursor): remove unused member
2310
2311 2003-08-04  André Pönitz  <poenitz@gmx.net>
2312
2313         * BufferView.[Ch]:
2314         * BufferView_pimpl.[Ch]:
2315         * ParagraphParameters.C:
2316         * bufferview_funcs.C:
2317         * lyx_cb.C:
2318         * lyxfind.C:
2319         * lyxfunc.C:
2320         * text.C:
2321         * text2.C:
2322         * text3.C: replace "complicated" BufferView::update(...) calls with
2323         simpler ones.
2324
2325         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2326
2327 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2328
2329         * Makefile.am (lyx_SOURCES): add paper.h
2330
2331 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2332
2333         * Makefile.am: move things around so that both lyx-qt and
2334         lyx-xforms can be built (according to --with-frontend). Then lyx
2335         is a symbolic link to lyx-[firstfrontend]
2336
2337 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2338
2339         * Always use std::endl with lyxerr
2340
2341 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2342
2343         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2344
2345 2003-08-01  André Pönitz  <poenitz@gmx.net>
2346
2347         * BufferView.[Ch]:
2348         * BufferView_pimpl.[Ch]:
2349         * lyxfunc.C:
2350         * text3.C: merge BufferView::repaint() and BufferView::update()
2351
2352 2003-08-01  José Matos  <jamatos@lyx.org>
2353
2354         * buffer.[Ch]: file_format is no longer a buffer data element.
2355
2356 2003-08-01  André Pönitz  <poenitz@gmx.net>
2357
2358         * BufferView.C:
2359         * lyxtext.h:
2360         * text.C:
2361         * text2.C: make redoParagraph more independent of current cursor
2362
2363         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2364         * text.C:
2365         * text2.C: remove unneeded members
2366
2367 2003-07-30  André Pönitz  <poenitz@gmx.net>
2368
2369         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2370
2371         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2372           create a single function...
2373
2374         * paragraph_funcs.C (moveItem): ... here.
2375
2376         * text.C:
2377           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2378
2379 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2380
2381         * LColor.[Ch]: Add comment and greyedout logical colors.
2382
2383 2003-07-30  André Pönitz  <poenitz@gmx.net>
2384
2385         * tabular.C: don't use Assert too heavily. This crashes where it
2386           shouldn't
2387
2388 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2391         is disabled (bug 1232)
2392
2393 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * factory.C: limited 'arg' scope
2396
2397 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2398
2399         * factory.C: fixed Note submenu issues
2400
2401 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2402
2403         * factory.C: submenu for Note/Comment/Greyedout
2404
2405 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * lyx_main.C (LyX):
2408         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2409
2410 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * LaTeXFeatures.C:
2413         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2414         greyedout. Patch provided by Jürgen Spitzmüller.
2415
2416 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * kbmap.C (read): fix error message when reading bind files
2419
2420 2003-07-29  Angus Leeming  <leeming@lyx.org>
2421
2422         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2423         certainly does not do what it purports to do. I am doing it, and
2424         us, a favour by killing it.
2425
2426 2003-07-28  José Matos  <jamatos@lyx.org>
2427
2428         * buffer.C (readBody, do_writeFile):
2429         * paragraph.C(readParagraph): \end_document replaces \the_end.
2430
2431 2003-07-29  André Pönitz  <poenitz@gmx.net>
2432
2433         * BufferView.[Ch]:
2434         * BufferView_pimpl.[Ch]:
2435         * lyxfunc.C:
2436         * text2.C:
2437         * text3.C:
2438         * textcursor.[Ch]: remove toggleToggle & Co
2439
2440 2003-07-28  José Matos  <jamatos@fep.up.pt>
2441
2442         * buffer.C (readParagraph):
2443         * params_func (readParToken, readParagraph):
2444         * paragraph.C (write): \layout -> \begin_layout.
2445
2446 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2447
2448         * lyxlex_pimpl.C (setFile): clean up slightly.
2449
2450         * bufferparams.h: add compressed var
2451
2452         * buffer_funcs.C (readFile): adjust for LyXLex change
2453         (newFile): ditto + simplify
2454
2455         * buffer.C (writeFile): handle writing of compressed files
2456
2457         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2458         Check if the file is compressed and set a bufferparm if so.
2459
2460         * Makefile.am (lyx_LDADD): remove explicit -lz
2461
2462 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2463
2464         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2465         makeDocBookFile): put the real LyX version in the first line of
2466         the file
2467
2468         * version.h:
2469         * version.C.in: remove lyx_docversion
2470
2471         * tabular.C (write_attribute): add a template-based version to
2472         write enums properly
2473
2474 2003-07-28  André Pönitz  <poenitz@gmx.net>
2475
2476         * lyxtext.h:
2477         * text.C:
2478         * text2.C:
2479         * text3.C: use doubles again for x-coordinates. They are needed.
2480
2481 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * messages.C (getLocaleDir): use lyx_localedir()
2484
2485         * lyxlex_pimpl.C (setFile): compress stuff
2486
2487         * buffer.C (writeFile): add some compression stuff
2488         (do_writeFile): new func, dont call expliti close... will this
2489         breake anything?
2490
2491         * Makefile.am (lyx_LDADD): add -lz
2492
2493 2003-07-28  José Matos  <jamatos@fep.up.pt>
2494
2495         * buffer.C: increment file format.
2496         * paragraph_funcs (readParagraph, readParToken):
2497         * paragraph.C (readParagraph): add \end_layout.
2498
2499 2003-07-27  Angus Leeming  <leeming@lyx.org>
2500
2501         * Makefile.am: remove special casing for configure-time setting of
2502         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2503
2504         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2505         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2506
2507 2003-07-26  André Pönitz  <poenitz@gmx.net>
2508
2509         * paragraph_func.[Ch]:
2510         * paragraph.C (realizeFont): inline it whereever it is used
2511
2512         * rowpainter.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2516
2517
2518 2003-07-26  André Pönitz  <poenitz@gmx.net>
2519
2520         *       lyxtext.h:
2521         * text.C:
2522         * text2.C: get rid of LyXText::need_break_row
2523
2524 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2525
2526         * toc.[Ch]: put namespace toc inside namespace lyx
2527
2528         * MenuBackend.C (expandToc2): adjust for lyx::toc
2529         (expandToc): ditto
2530
2531         * lyxfunc.C (dispatch): adjust for lyx::find
2532
2533         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2534         lyx::find instead. Reorganize a bit.
2535         (LyXReplace): rename to replace
2536         (LyXFind): rename to find
2537
2538         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2539         (dispatch): ditto
2540
2541 2003-07-26  André Pönitz  <poenitz@gmx.net>
2542
2543         * text.C (setHeightOfRow): restrict scope of temporary variable
2544
2545         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2546           code (never has been used?)
2547
2548 2003-07-27  Asger Alstrup  <alstrup@local>
2549
2550         * text.C (fill): Optimise algorithm to exploit that we can reuse
2551         the LyXFont for many characters.
2552         (setHeightOfRow): Same thing.
2553         (rowBreakPoint): Same thing.
2554
2555 2003-07-26  Asger Alstrup  <alstrup@local>
2556
2557         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2558
2559         * text.C (singleWidth): Spurious font copying in hot-spot
2560         singleWidth avoided. Reorder tests for arabic for efficiency.
2561
2562         * text.C (fill): handle empty paragraphs better.
2563
2564 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * ispell.C:
2567         * encoding.h: add includes
2568
2569         * lyxrc.C: remove reading of bind files
2570
2571         * lyx_main.C (init): setup bindings and menus only if we have a
2572         gui.
2573
2574         * kbmap.C (read): new method. Do the actual reading of bind
2575         files.
2576
2577         * converter.C (dvipdfm_options):
2578         * bufferparams.C:
2579         * lyxrc.C (read):
2580         (output): adapt PAPER_* enums.
2581
2582         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2583
2584         * bufferparams.h: remove paper-related enums from there
2585
2586         * paper.h: New file. A trivial header file to hold paper-related
2587         enums. It should later expand to contain many paper-related
2588         horrors access.
2589
2590         * lyxrc.C: declare extern displayTranslator
2591
2592 2003-07-27  José Matos  <jamatos@fep.up.pt>
2593
2594         * tabular.[Ch] (linuxdoc): add support for tables and figures
2595         (linuxdoc).
2596
2597 2003-07-27  José Matos  <jamatos@fep.up.pt>
2598
2599         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2600         consistency in both functions.
2601         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2602
2603 2003-07-26  Asger Alstrup  <alstrup@local>
2604
2605         * rowpainter.C (paintRows): Change algorithm to work directly on
2606         the insets rather than asking every character in the document
2607         whether its an inset.
2608
2609 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2610
2611         * buffer.C (openFileWrite): factorize some code
2612
2613 2003-07-26  Angus Leeming  <leeming@lyx.org>
2614
2615         * lyx_cb.C:
2616         * lyx_main.[Ch]: replace occurances of system_tempdir with
2617         os::getTmpDir().
2618
2619 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * rename Inset to InsetOld
2622
2623 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2624
2625         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2626         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2627         which I think is a bit clearer. EDIT is gone, since it was
2628         premature optimisation, and broken for mathed anyway.
2629         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2630         with cursor positioning in insets as well (math insets still do not
2631         work, but that's a different story anyway.) It mysteriously
2632         crashes sometimes with undo in the first paragraph, but I'm fairly
2633         confident that this is a compiler bug.
2634
2635 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * paragraph.C (Paragraph): adjust for new clone return type
2638         (operator==): ditto
2639         (copyIntoMinibuffer): ditto
2640
2641 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2642
2643         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2644         by not having a special case, and always doing a full rebreak of
2645         the document after undo.
2646
2647 2003-07-23  Angus Leeming  <leeming@lyx.org>
2648
2649         * factory.C (createInset): InsetExternal::setParams now takes a
2650         Buffer const * arg.
2651
2652 2003-07-23  Angus Leeming  <leeming@lyx.org>
2653
2654         * factory.C (createInset): changed interface to the external and
2655         graphics mailers' string2params functions.
2656
2657 2003-07-23  Angus Leeming  <leeming@lyx.org>
2658
2659         * factory.C (createInset): pass a
2660         Buffer const * parameter to InsetExternalMailer's string2params.
2661
2662 2003-07-22  John Levon  <levon@movementarian.org>
2663
2664         * Thesaurus.h: include the right aiksaurus header
2665
2666 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * MenuBackend.C (expand): check menu shortcuts unconditionally
2669
2670 2003-07-21  Angus Leeming  <leeming@lyx.org>
2671
2672         * factory.C (createInset): pass a
2673         buffer_path parameter to InsetGraphicsMailer's string2params.
2674
2675 2003-07-21  Angus Leeming  <leeming@lyx.org>
2676
2677         * BufferView_pimpl.C (buffer):
2678         * buffer.C (d-tor):
2679         * lyx_main.C (LyX):
2680         * lyxfunc.C (dispatch):
2681         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2682         rather than the grfx shortcut.
2683
2684 2003-07-21  André Pönitz  <poenitz@gmx.net>
2685
2686         * rowpainter.C: remove unused variables
2687
2688         * tabular_funcs.C:
2689         * tabular_funcs.h: move to tabular.C
2690         * Makefile.am: adjust
2691
2692         * tabular.[Ch]: basic optical cleaning
2693
2694         * author.h: pass references, not values
2695
2696 2003-07-18  André Pönitz  <poenitz@gmx.net>
2697
2698         * lyxtext.h:
2699         * metricsinfo.C:
2700         * metricsinfo.h:
2701         * rowpainter.C:
2702         * text.C:
2703         * text2.C:
2704         * text3.C: two-phase drawing for InsetText and InsetTabular
2705         some float -> int changes.
2706
2707 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2708
2709         * lyx_main.C: fix the fix
2710
2711 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * lyx_main.C: fix a crash in batch mode if no files specified
2714         * converter.C: ws
2715
2716 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * format.[Ch] (papersize): moved to BufferParams
2719         * converter.[Ch] (dvips_options): moved to BufferParams
2720         (dvipdfm_options): moved to anon namespace
2721         * bufferparams.[Ch]: added above functions.
2722
2723 2003-07-17  André Pönitz  <poenitz@gmx.net>
2724
2725         * lyxtext.h:
2726         * rowpainter.C:
2727         * text2.C: don't call inset->update() anymore
2728
2729         * metricsinfo.[Ch]: add convenience constructor
2730
2731 2003-07-16  André Pönitz  <poenitz@gmx.net>
2732
2733         * lyxcursor.[Ch]:
2734         * lyxfunc.[Ch]:
2735         * text.C:
2736         * text2.C: replace the LyXCursor::irow_ member with
2737          on-demand computation of the value
2738
2739 2003-07-16  John Levon  <levon@movementarian.org>
2740
2741         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2742
2743 2003-07-15  André Pönitz  <poenitz@gmx.net>
2744
2745         * text.C:
2746         * text2.C: remove no more needed refresh_row
2747
2748 2003-07-15  André Pönitz  <poenitz@gmx.net>
2749
2750         * lyxtext.h:
2751         * rowpainter.C:
2752         * text2.C:
2753         * text3.C: refresh_status tristate -> need_update bool
2754
2755 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * lyxtext.h (init): remove reinit argument (act as if always true)
2758         * text2.C: adjust to that
2759
2760 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2761
2762         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2763         * text3.C: use it to delete selections in some cases
2764         (bugs 441, 673, 702, 954).
2765
2766 2003-07-14  André Pönitz  <poenitz@gmx.net>
2767
2768         * rowpainter.[Ch]: reduce interface
2769
2770 2003-07-14  André Pönitz  <poenitz@gmx.net>
2771
2772         * BufferView_pimpl.C:
2773         * text2.C: adjust after removing unused BufferView * argument
2774
2775 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2776
2777         * text2.C (init): fix a crash fired on resize
2778
2779 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * buffer.[Ch]: added new closing signal
2782         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2783         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2784         BufferView::Pimpl via the closing the signal
2785
2786 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2787
2788         * buffer.[Ch]: take out all bv-related from buffer
2789         * BufferView.C:
2790         * BufferView_pimpl.[Ch]: connect to new signals
2791         * CutAndPaste.C: removed useless asserts
2792         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2793         * lyxvc.[Ch]:
2794         * vc-backend.[Ch]:
2795         * lyxfunc.C: moved view-related funciontality from vc here
2796         * paragraph.C: removed outdated comments
2797         * text.C: ws
2798
2799 2003-07-10  André Pönitz  <poenitz@gmx.net>
2800
2801         * BufferView_pimpl.C:
2802         * tabular.h:
2803         * tabular_funcs.C:
2804         * text.C:
2805         * text2.C: remove InsetText::InnerCache, clean up consequences
2806
2807 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2808
2809         * ispell.C: fix two typos in error messages
2810
2811 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * Extend Note inset to other forms of annotation like Comment
2814         and Greyedout. Right button click gives dialog.
2815
2816         Files modified or added (+):
2817
2818         * insetnote.[Ch]
2819         * FormNote.[Ch]      +
2820         * ControlNote.[Ch]   +
2821         * form_note.fd       +
2822         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2823         frontends/controllers
2824         * xforms/Dialogs.C
2825         * factory.C
2826
2827 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2828
2829         * aspell.C: add missing namespace lyx::support
2830
2831 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2832
2833         * BufferView.[Ch] (newFile): Add
2834         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2835         * LaTeX.[Ch] (message): added this signal and use it
2836         * buffer.[Ch] (busy, message): added these signals and use them
2837         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2838         * converter.C:
2839         * exporter.C:
2840         * format.C:
2841         * importer.C: use buffer signals instead of direct bv calling
2842         * lyx_cb.[Ch] (ShowMessage): removed
2843         * lyx_main.C:
2844         * lyxfunc.C:
2845         * paragraph_funcs.C:
2846         * text2.C: use buffer signals
2847
2848 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * introduce namespace lyx::graphics
2851
2852 2003-07-02  André Pönitz  <poenitz@gmx.net>
2853
2854         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2855
2856 2003-07-01  André Pönitz  <poenitz@gmx.net>
2857
2858         * text.C:
2859         * text2.C:
2860         * text3.C:
2861         * text_funcs.[Ch]:
2862         * textcursor.h:
2863         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2864           text*.C to text_func.C
2865
2866 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * introduce namespace lyx::support
2869
2870 2003-06-30  André Pönitz  <poenitz@gmx.net>
2871
2872         * Chktex.C:
2873         * funcrequest.C:
2874         * lyxtext.h:
2875         * text.C: re-enable --with-included-string
2876
2877 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * textcursor.C: add <config.h>
2880
2881         * text.C (getWord): remove const from word_location arg
2882
2883         * lyxvc.C (getLogFile): fix const type order
2884
2885         * lyxtext.h: remove const from word_location arg, add arg name
2886
2887         * lyxlayout.h: currect type on labeltype.
2888
2889         * importer.C: correct \file
2890
2891         * converter.C (intToFormat): use std:: on ret val, ws changes
2892
2893         * bufferlist.h: correct \file
2894
2895         * buffer.C (makeLinuxDocFile): fix const type order
2896         (makeDocBookFile): ditto
2897         (fillWithBibKeys): use std:: on stdlib args.
2898
2899         * CutAndPaste.C: fix authors.
2900         (availableSelections): use std:: on return vector
2901
2902 2003-06-27  André Pönitz  <poenitz@gmx.net>
2903
2904         * BufferView_pimpl.C:
2905         * bufferview_funcs.C:
2906         * lyxcursor.C:
2907         * lyxcursor.h:
2908         * lyxfunc.C:
2909         * lyxtext.h:
2910         * rowpainter.C:
2911         * text.C:
2912         * text2.C:
2913         * text3.C: remove LyXCursor::row_ member
2914
2915         * lyxtext.h:
2916         * text.C: rename fullRebreak() to partialRebreak() and implement
2917           a fullRebreak() that really bereks fully
2918
2919         * textcursor.h: new struct for cursor-related data
2920
2921 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * lyx_main.C (LyX): get full path of document loaded on the
2924         command line
2925
2926 2003-06-26  André Pönitz  <poenitz@gmx.net>
2927
2928         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2929           remove unused/broken operator>,<,>=.
2930
2931         *       text.C: remove only use of broken operator<= in an Assert().
2932
2933 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2934
2935         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2936         moved errorlist_.clear to showErrorList
2937
2938 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * converter.C (scanLog, runLaTeX):
2941         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2942         move the bv->showErrorList call to the callers
2943         * lyxfunc.C: i.e. here...
2944         * text2.C: and here
2945         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2946         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2947         namespace, the second to...
2948         * buffer_funcs (BufferFormat, parseErrors): added
2949         * errorlist.C (ErrorList(TeXErrors const &)): removed
2950
2951 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2952
2953         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2954
2955 2003-06-24  "Garst R. Reese" <reese@isn.net>
2956
2957         * debug.C: fix typo
2958
2959 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2962
2963         * version.C.in: change docversion to 1.4
2964
2965 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * buffer.C: fix a bug just introduced
2968
2969 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2970
2971         * buffer.[Ch]: added the parseError signal and use it, removed
2972         sgmlError
2973         * BufferView.[Ch] (addError): moved to ...
2974         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2975         to the Buffer::parseError signal to catch (guess what) parse errors
2976         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2977
2978 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2981         ability to create a buffer and to return an existing one from
2982         the list. Moved these functions to...
2983         * buffer_funcs.[Ch]: added
2984         * BufferView.[Ch] (loadLyXFile): added
2985         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2986         job removed from bufferlist::loadLyXFile.
2987         * buffer.C (setReadOnly): make it work without view
2988         (i.e added an if (users))
2989
2990 2003-06-19  Angus Leeming  <leeming@lyx.org>
2991
2992         * lfuns.h:
2993         * LyXAction.C (init):
2994         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2995         with LFUN_DIALOG_SHOW <name> <data>.
2996
2997 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * CutAndPaste.C (availableSelections): small compilation fix for
3000         ancient (gcc 2.9x) compilers
3001
3002 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * text3.C (cursorNext): add tmp var
3005
3006         * text2.C (updateCounters): for function calling out of for clause
3007         (replaceSelectionWithString): ditto
3008         (insertStringAsParagraphs): ditto
3009         (getColumnNearX): add tmp var
3010         (setCursorFromCoordinates): add tmp var
3011         (cursorDownParagraph): add tmp var
3012         (deleteEmptyParagraphMechanism): add tmp var
3013
3014         * text.C (insertChar): add tmp var
3015
3016         * rowpainter.C (paintDepthBar): add tmp var
3017
3018         * CutAndPaste.C (availableSelections): potentially check all
3019         paragraphs in a cut to fill the shown strings.
3020
3021 2003-06-18  André Pönitz  <poenitz@gmx.net>
3022
3023         * kbmap.[Ch]: use vector<> instead of list<>
3024
3025 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3026
3027         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3028         pasteSelection with index
3029
3030         * text2.C (pasteSelection): modify, call pasteSelection with index
3031
3032         * paragraph.C (asString): reimplement version with no interval to
3033         call the one with interval.
3034
3035         * lyxtext.h: add index arg to pasteSelection
3036
3037         * MenuBackend.C (MenuItem): handle PasteRecent
3038         (Menu::read::Menutags): add md_pasterecent
3039         (read): handle it
3040         (expandPasteRecent): new function
3041         (expand): use it
3042
3043         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3044
3045         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3046         the limited stack
3047         (availableSelections): new function
3048
3049 2003-06-17  Angus Leeming  <leeming@lyx.org>
3050
3051         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3052
3053 2003-06-17  Angus Leeming  <leeming@lyx.org>
3054
3055         * lfuns.h:
3056         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3057
3058         * lyxfunc.C (dispatch): invoke it.
3059
3060 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * iterators.C (operator++, ParPosition): reintroduce some
3063         const_cast for the benefit of older compilers.
3064
3065 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * text3.C (dispatch): do not modify clipboard when doing
3068         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3069         LFUN_DELETE_SKIP on a selection selection
3070
3071 2003-06-16  André Pönitz  <poenitz@gmx.net>
3072
3073         * BufferView.C:
3074         * buffer.C:
3075         * buffer.h:
3076         * paragraph.C:
3077         * tabular.[Ch]: IU of clone() and getLabelList();
3078
3079 2003-06-13  André Pönitz  <poenitz@gmx.net>
3080
3081         * tabular.h: compactification
3082
3083 2003-06-12  André Pönitz  <poenitz@gmx.net>
3084
3085         * tabular.C:
3086         * tabular.h:
3087         * tabular_funcs.h: some renaming plus whitespace
3088
3089 2003-06-12  André Pönitz  <poenitz@gmx.net>
3090
3091         * BufferView.C:
3092         * BufferView_pimpl.C:
3093         * CutAndPaste.C:
3094         * buffer.C:
3095         * iterators.[Ch]:
3096         * lyxfunc.C:
3097         * text.C:
3098         * toc.C: Return a Paragraph & for ParIterator::operator*()
3099
3100 2003-06-11  John Levon  <levon@movementarian.org>
3101
3102         * lyx_main.C:
3103         * ToolbarBackend.h:
3104         * ToolbarBackend.C: add "Toolbars" section and
3105         put the flags there
3106
3107 2003-06-10  Angus Leeming  <leeming@lyx.org>
3108
3109         * lfuns.h:
3110         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3111
3112         * lyxfunc.C (dispatch): invoke it.
3113
3114 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * main.C: protect <ios> with HAVE_IOS
3117         (main): protect sync_with_stdio with HAVE_IOS
3118
3119 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3120
3121         * text2.C (cutSelection): adjust
3122         (pasteSelection): adjust
3123
3124         * messages.C: handle get of empty string
3125
3126         * main.C (main): use sync_with_stdio(false)
3127
3128         * lyxfunc.C (dispatch): adjust
3129
3130         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3131         (WriteAs): remove unneeded BufferView arg.
3132
3133         * bufferparams.h: use correct types on papersize, papersize2 and
3134         paperpackage.
3135
3136         * bufferparams.C (readToken): adjust for type
3137         (writeLaTeX): add missing cases to switch.
3138
3139         * bufferlist.C (quitWriteBuffer): adjust
3140         (close): adjust
3141
3142         * buffer.C (asciiParagraph): remove some commented code.
3143
3144         * CutAndPaste.C: remove current_view extern variable.
3145         (cutSelection): add BufferParams arg.
3146         (eraseSelection): add BufferParams arg.
3147         (pasteSelection): add Buffer const & arg
3148
3149 2003-06-07  John Levon  <levon@movementarian.org>
3150
3151         * buffer.C:
3152         * paragraph_funcs.C:
3153         * paragraph_pimpl.C:
3154         * text.C:
3155         * text2.C:
3156         * paragraph.h:
3157         * paragraph.C: allow InsetERT to freely space lines,
3158         and some consolidation of code
3159
3160 2003-06-06  José Matos  <jamatos@fep.up.pt>
3161
3162         * buffer.C (makeDocBookFile): fix bug #821
3163
3164 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3165
3166         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3167
3168 2003-06-04  Angus Leeming  <leeming@lyx.org>
3169
3170         * buffer.C: bump format to 224.
3171
3172 2003-06-05  André Pönitz  <poenitz@gmx.net>
3173
3174         * text2.C (redoParagraphs): remove two const_cast<>
3175
3176 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3177
3178         * ParagraphList.h: remove last remnants of NO_STD_LIST
3179
3180 2003-06-03  Angus Leeming  <leeming@lyx.org>
3181
3182         * factory.C (createInset): small change to the way InsetExternal's params
3183         are set.
3184
3185 2003-06-04  André Pönitz  <poenitz@gmx.net>
3186
3187         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3188
3189         * paragraph_pimpl.h:
3190         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3191
3192         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3193
3194         * undo_funcs.C: make some simple cases of undo work again
3195
3196 2003-06-03  John Levon  <levon@movementarian.org>
3197
3198         * ispell.C: HPUX doesn't have sys/select.h
3199         (from Albert Chin)
3200
3201 2003-06-03  John Levon  <levon@movementarian.org>
3202
3203         * CutAndPaste.C: update tabular and include inset
3204         buffer references
3205
3206         * buffer.h:
3207         * paragraph.h:
3208         * paragraph.C: remove owningBuffer(), don't pass Buffer
3209         to clone()
3210
3211         * factory.C: insetGraphicsParams changed
3212
3213 2003-06-02  John Levon  <levon@movementarian.org>
3214
3215         * LyXAction.C:
3216         * factory.C:
3217         * lfuns.h:
3218         * lyxfunc.C:
3219         * text3.C: remove insetparent
3220
3221 2003-06-02  John Levon  <levon@movementarian.org>
3222
3223         * buffer.h:
3224         * buffer.C: fix inset_iterator.end(), move out of line
3225         (bug 1149)
3226
3227 2003-06-01  John Levon  <levon@movementarian.org>
3228
3229         * text3.C: use a proper cut/paste when doing inset
3230         insert (from Jürgen Spitzmüller)
3231
3232 2003-06-01  John Levon  <levon@movementarian.org>
3233
3234         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3235
3236 2003-05-30  André Pönitz  <poenitz@gmx.net>
3237
3238         * rowpainter.C: unify second drawing phase
3239
3240 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * trans_mgr.C: remove one case of current_view
3243
3244         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3245
3246         * paragraph_funcs.h: remove paragraph.h include
3247
3248         * paragraph.h: delete NO_STD_LIST stuff
3249
3250         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3251
3252         * buffer.h: remove paragraph.h include
3253
3254         * ParagraphList.C: delete file
3255
3256         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3257
3258         * toc.C (getTocList): adjust
3259
3260         * paragraph_pimpl.C (validate): adjust
3261
3262         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3263
3264         * paragraph.C (Paragraph): adjust
3265         (getPositionOfInset): use const_iterator, adjust
3266         (bibitem): use const_iterator, adjust
3267         (setInsetOwner): adjust
3268
3269         * iterators.C (operator++): adjust
3270
3271         * InsetList.[Ch]: Replace selfmade iterator with standard
3272         vector::iterator also introduce const_iterator. Remove getPos,
3273         getInset and setInset from InsetTable. Adjust accordingly.
3274
3275         * BufferView.C (lockInset): adjust
3276         (ChangeInsets): adjust
3277
3278         * tabular.[Ch]: delete commented same_id functions
3279
3280 2003-05-28  John Levon  <levon@movementarian.org>
3281
3282         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3283
3284 2003-05-28  André Pönitz  <poenitz@gmx.net>
3285
3286         * metricsinfo.[Ch]: remove 'fullredraw' member
3287
3288 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3289
3290         * lyxtextclass.C (operator): remove caching.
3291
3292 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3293
3294         * text3.C: adjust
3295
3296         * text2.C (cursorBottom): adjust
3297         (setCounter): use ParagraphList::find, adjust
3298
3299         * text.C (workWidth): use ParagraphList::find, adjust
3300
3301         * lyxcursor.C (LyXCursor): adjust
3302
3303         * buffer.C (inset_iterator): adjust
3304
3305         * ParagraphList.h: make iterator(value_type) private, make
3306         ParagraphList a friend of iterator.
3307
3308         * ParagraphList.C (find): new function
3309
3310         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3311
3312 2003-05-27  André Pönitz  <poenitz@gmx.net>
3313
3314         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3315
3316 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3317
3318         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3319
3320 2003-05-26  John Levon  <levon@movementarian.org>
3321
3322         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3323
3324 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * remove same_id from function signatures, adjust.
3327
3328 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3331
3332         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3333
3334         * paragraph.C (Paragraph): get rid of same_ids parameter
3335
3336         * ParagraphList.C (insert): adjust
3337         (push_back): adjust
3338
3339 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3340
3341         * paragraph_funcs.C (breakParagraph): adjust
3342         (breakParagraphConservative): adjust
3343
3344         * buffer.C (readParagraph): adjust
3345
3346         * ParagraphList.C (insert): take a reference instead of a pointer
3347         (insert): adjust
3348
3349         * paragraph.[Ch] (id): new function
3350
3351         * bufferlist.C (newFile): adjust
3352
3353         * ParagraphList.C (ParagraphList): adjust
3354         (assign): adjust
3355         (push_back): take a reference instead of a pointer.
3356
3357         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3358
3359         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3360         instead.
3361
3362         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3363         set else use old code.
3364
3365         * ParagraphList.C: remove all NO_NEXT code and only compile this
3366         code of NO_STD_LIST is set.
3367
3368 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * BufferView_pimpl.C:
3371         * TextCache.C:
3372         * TextCache.h:
3373         * bufferlist.C:
3374         * errorlist.h:
3375         * format.C:
3376         * format.h:
3377         * graph.C:
3378         * lyxfunc.C:
3379         * lyxrc.C:
3380         * graphics/GraphicsConverter.C:
3381         * graphics/PreviewLoader.C: header adjustment
3382
3383 2003-05-23  Angus Leeming  <leeming@lyx.org>
3384
3385         * LaTeXFeatures.[Ch] (useBabel): new method.
3386         * bufferparams.C (writeLaTeX): use it.
3387
3388 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3389
3390         * ParagraphList.h (set): remove unused function.
3391
3392 2003-05-23  André Pönitz  <poenitz@gmx.net>
3393
3394         * BufferView.C:
3395         * BufferView_pimpl.C:
3396         * buffer.C:
3397         * buffer.h:
3398         * lyxfunc.C:
3399         * undo_funcs.C: setUndo reworked
3400
3401         * iterators.[Ch]: add access to topmost ParagraphList
3402
3403         * lyxtext.[Ch] (workWidth): add a const
3404
3405 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * texrow.[Ch] (increasePos): remove function
3408         * exporter.C (export): removed unused var and outdated comment
3409
3410 2003-05-23  Angus Leeming  <leeming@lyx.org>
3411
3412         * latexrunparams.h: rename fragile as moving_arg.
3413         * paragraph.C (simpleTeXOnePar): ditto.
3414         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3415
3416 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3417
3418         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3419         (createUndo): ditto
3420         (textUndoOrRedo): comment out a currently unused var.
3421
3422         * paragraph.h (NO_NEXT): enable NO_NEXT
3423
3424         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3425
3426         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3427
3428         * exporter.C (Export): adjust for removeAutoInsets removal.
3429
3430         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3431
3432         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3433
3434         * BufferView.[Ch] (removeAutoInsets): delete function
3435
3436 2003-05-22  Angus Leeming  <leeming@lyx.org>
3437
3438         * latexrunparams.h: add a free_spacing variable.
3439
3440         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3441         to pass moving_arg, as the data is stored in runparams.fragile.
3442
3443         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3444         to Inset::latexOptional or to simpleTeXOnePar.
3445
3446         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3447         free_spacing arg to Inset::latexOptional.
3448
3449         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3450         free_spacing arg.
3451
3452 2003-05-22  Angus Leeming  <leeming@lyx.org>
3453
3454         * latexrunparams.h: add fragile and use_babel variables.
3455
3456         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3457         * buffer.C (makeLaTeXFile): store this returned value in
3458         runparams.use_babel, thus passing it to the inset::latex methods.
3459
3460         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3461         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3462
3463         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3464         longer has a fragile arg, as it is stored in runparams.fragile.
3465
3466         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3467         moving_arg parameter as the data is stored in runparams.fragile.
3468
3469         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3470         a fragile parameter as the data is stored in runparams.fragile.
3471
3472 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3473
3474         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3475
3476 2003-05-22  Angus Leeming  <leeming@lyx.org>
3477
3478         * latexrunparams.h: add a 'bool nice' which defaults to false.
3479
3480         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3481         now encapsulated within runparams.
3482
3483         * bufferlist.C (updateIncludedTeXfiles):
3484         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3485
3486 2003-05-22  Angus Leeming  <leeming@lyx.org>
3487
3488         * latexrunparams.h: new file containing struct LatexRunParams.
3489         * Makefile.am: add new file.
3490
3491         * LaTeX.[Ch] (c-tor, run):
3492         * buffer.[Ch] (makeLaTeXFile):
3493         * bufferlist.[Ch] (updateIncludedTeXfiles):
3494         * converter.C (convert, scanLog):
3495         * converter.[Ch] (runLaTeX):
3496         * exporter.C (Export):
3497         * paragraph.[Ch] (simpleTeXOnePar):
3498         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3499         * paragraph_funcs.[Ch] (latexParagraphs):
3500         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3501         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3502         pass around a LatexRunParams parameter.
3503
3504 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3505
3506         * paragraph.[Ch]: remove unused constructor
3507
3508         * ParagraphList.C (erase): new function, taking two iterators
3509
3510 2003-05-22  André Pönitz  <poenitz@gmx.net>
3511
3512         * undo_funcs.C: remove duplicated code
3513
3514         * iterator.[Ch]: operator=
3515
3516 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3517
3518         * tabular.C (SetMultiColumn): ws changes
3519
3520         * rowpainter.C (paintFirst): get rid of a ->previous
3521
3522         * lyx_cb.C (getPossibleLabel): parlist simplification
3523
3524         * BufferView.C (ChangeInsets): simplify slightly.
3525
3526 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3527
3528         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3529         * lfuns.h: new LFUN_SPACE
3530         * lyxfunc.C: protected space has a new lfun
3531         * paragraph_funcs.C: read new space insets
3532         * text3.C:
3533         * factory.C: handle new space insets
3534
3535 2003-05-22  André Pönitz  <poenitz@gmx.net>
3536
3537         * BufferView.C:
3538         * BufferView_pimpl.C:
3539         * buffer.[Ch]:
3540         * lyxfunc.C:
3541         * undo_funcs.C: return a ParIterator from getParFromID.
3542
3543         * iterators.[Ch]: add two const's
3544
3545 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * toc.C (getTocList): adjust
3548
3549         * iterators.[Ch]: rework for parlist
3550
3551         * buffer.C (par_iterator_begin): adjust
3552         (par_iterator_end): adjust
3553
3554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3555
3556         * BufferView.C (removeAutoInsets): adjust
3557         (ChangeInsets): adjust
3558
3559 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text.C (top_y): fix bug 1110
3562
3563 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * errorlist.[Ch]: added
3566         * buffer.C:
3567         * BufferView.[Ch]:
3568         * BufferView_pimpl.C:
3569         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3570         instead
3571
3572 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3573
3574         * Makefile.am: ensure that lyx is relinked upon changes to the
3575         various "convenience" libs.
3576
3577 2003-05-20  Angus Leeming  <leeming@lyx.org>
3578
3579         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3580         files are compiled in alphabetical order again.
3581
3582         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3583
3584 2003-05-19  Angus Leeming  <leeming@lyx.org>
3585
3586         * gettext.[Ch]: remove "char const * _(char const *)".
3587
3588 2003-05-19  André Pönitz  <poenitz@gmx.net>
3589
3590         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3591
3592         * Makefile.am:
3593         * BufferView.C:
3594         * DepTable.h:
3595         * LaTeXFeatures.C:
3596         * buffer.C:
3597         * lyxfont.C:
3598         * lyxlex.h:
3599         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3600
3601 2003-05-19  André Pönitz  <poenitz@gmx.net>
3602
3603         * buffer.C:
3604         * lyxlayout.[Ch]:
3605         * lyxtextclass.[Ch]:
3606         * paragraph.C:
3607         * paragraph_funcs.[Ch]:
3608         * text2.C:
3609         * text3.C: more insetenv work
3610
3611 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * ParagraphParameters.C (params2string): small bug fixed
3614
3615 2003-05-16  André Pönitz  <poenitz@gmx.net>
3616
3617         * debug.C:
3618         * bufferview_funcs.C: patch from Kornel Benko to prevent
3619           crash when _(...) is called twice in a statement
3620
3621 2003-05-16  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView.C:
3624         * lyxfunc.C:
3625         * text.C:
3626         * text2.C:
3627         * text3.C:
3628         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3629
3630 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * lyx_main.C (init): remove spurious static_cast
3633
3634 2003-05-14  André Pönitz  <poenitz@gmx.net>
3635
3636         * BufferView.C: fix format string
3637
3638 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * BufferView.[Ch] (insertErrors): removed
3641         * BufferView.[Ch] (showErrorList): added
3642         * buffer.C (runChkTeX):
3643         * converter.C (scanLog): call showErrorList instead of inserterrors
3644
3645 2003-05-13  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView_pimpl.C:
3648         * buffer.C:
3649         * bufferview_func.C:
3650         * MenuBackend.C:
3651         * lyxfunc.C:
3652         * lyxrc.C:
3653         * tex-accent.C:
3654         * text3.C:
3655         * toc.C:
3656         * tabular_funcs.h: tostr() from its own header
3657
3658         * ParagraphParameters.C:
3659         * ToolbarBackend.C:
3660         * bufferparams.C:
3661         * format.C:
3662         * lyxlex_pimpl.C:
3663         * text3.C: STRCONV()
3664
3665 2003-05-12  André Pönitz  <poenitz@gmx.net>
3666
3667         * BufferView.C:
3668         * BufferView_pimpl.C:
3669         * CutAndPaste.C:
3670         * LaTeX.C:
3671         * LaTeXFeatures.C:
3672         * ParagraphParameters.C:
3673         * buffer.C:
3674         * bufferlist.C:
3675         * bufferparams.C:
3676         * bufferview_funcs.C:
3677         * converter.C:
3678         * counters.C:
3679         * debug.C:
3680         * exporter.C:
3681         * format.C:
3682         * importer.C:
3683         * lyx_cb.C:
3684         * lyx_main.C:
3685         * lyxfont.C:
3686         * lyxfunc.C:
3687         * lyxvc.C:
3688         * paragraph.C:
3689         * paragraph_funcs.C:
3690         * tabular.C:
3691         * tabular_funcs.C:
3692         * text2.C:
3693         * text3.C:  boost::format -> bformat  all over the place
3694
3695
3696 2003-05-09  André Pönitz  <poenitz@gmx.net>
3697
3698         * LColor.[Ch]: Pimpl the #include <map> away
3699
3700 2003-05-09  John Levon  <levon@movementarian.org>
3701
3702         * bufferlist.C: never remove emergency saves
3703
3704 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * Makefile.am: better lib building
3707
3708 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3711         instead.
3712         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3713         (simpleTeXSpecialChars): adjust
3714         (simpleTeXSpecialChars): adjust
3715         * paragraph.C (simpleTeXOnePar): adjust
3716         * buffer.C (makeLaTeXFile): adjust
3717
3718         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3719
3720         * text2.C (changeDepth): parlist cleanup
3721         (getColumnNearX): ditto
3722
3723         * rowpainter.C (getLabelFont): parlist cleanup
3724
3725         * bufferlist.C (newFile): parlist cleanup
3726
3727         * CutAndPaste.C (eraseSelection): parlist cleanup
3728
3729         * BufferView_pimpl.C (trackChanges): parlist cleanup
3730         (dispatch): ditto
3731
3732         * BufferView.C (lockInset): parlist cleanup.
3733         (ChangeInsets): ditto
3734
3735 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * CutAndPaste.h: Update file header.
3738
3739         * CutAndPaste.C: Update file header.
3740         Store the parts cut out of the Document in a limited_stack.
3741         (copySelection): adjust
3742         (pasteSelection): new function, takes the index in the limited stack.
3743         (nrOfParagraphs): adjust
3744         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3745         simplify error inset insertion.
3746         (checkPastePossible): adjust
3747
3748 2003-05-06  John Levon  <levon@movementarian.org>
3749
3750         * text2.C: don't cast wrap inset to float
3751
3752 2003-05-05  André Pönitz  <poenitz@gmx.net>
3753
3754         * iterator.C:
3755         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3756
3757         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3758           few naked Paragraph *.
3759
3760 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3761
3762         * bufferparams.C: Output warning if a document with missing
3763         TeX document class is loaded
3764         * exporter.C: Disable TeX exports if the document class is missing
3765         * lyxtextclass.C:
3766         * lyxtextclass.h:
3767         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3768         isTeXClassAvailable()
3769
3770 2003-05-03  John Levon  <levon@movementarian.org>
3771
3772         * BufferView.h:
3773         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3774         explicit cursor show/hide
3775
3776         * BufferView_pimpl.h:
3777         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3778         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3779
3780         * lyxfunc.C: hide cursor before dispatching.
3781
3782         * lyx_cb.C:
3783         * lyxfind.C:
3784         * text.C:
3785         * text3.C: remove explicit cursor hides
3786
3787 2003-05-02  André Pönitz  <poenitz@gmx.net>
3788
3789         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3790
3791         * undo_funcs.C:
3792         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3793           linked lists
3794
3795         * text2.C: tiny whitespace
3796
3797 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * undo_funcs.C: almost only ws changes.
3800
3801         * ParagraphList.C (splice): just return if pl is empty.
3802
3803 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3804
3805         * ParagraphList.C (splice): new function.
3806
3807         * CutAndPaste.C (pasteSelection): use it
3808
3809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * CutAndPaste.C (pasteSelection): remove the last next and
3812         previous from this file.
3813
3814 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * CutAndPaste.C (pasteSelection): more clean up, user proper
3817         ParagraphList functions for pasteing.
3818
3819         * ParagraphList.C (insert): new function, three arg insert
3820
3821 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * ParagraphList.C (insert): new function, three arg insert
3824
3825         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3826         not on paragraphs.
3827
3828 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3831
3832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3835
3836 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3839         (copySelection): clean up a bit.
3840         (pasteSelection): use make_pair
3841
3842         * ParagraphList.C (ParagraphList): implement copy constructor
3843         (operator=): implement, base on copy constructor.
3844         (assign): new func
3845
3846         * paragraph.C (erase): return a bool
3847
3848         * paragraph_pimpl.C (erasePos): remove function, move contents...
3849         (erase): ... here. Return a bool.
3850         (erase): call erase instead of erasePos.
3851
3852 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * ParagraphList.h: define PitPosPair
3855         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3856         ParagraphList, fix a bug on pasting multiple pars
3857         * text2.C: change interface to C&P
3858
3859 2003-04-30  André Pönitz  <poenitz@gmx.net>
3860
3861         * undo_func.C: revert part of yesterday's patch 2
3862
3863 2003-04-30  John Levon  <levon@movementarian.org>
3864
3865         * LColor.C: s/tabular/table/
3866
3867 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * text3.C (dispatch): do not convert iterator -> pointer
3870         * undo_funcs.C (setCursorParUndo): ditto
3871         * text_funcs.C (transposeChars): ditto
3872
3873         * text2.C (setLayout): ws changes only
3874
3875         * text.C (breakParagraph): do not convert iterator -> pointer
3876         (insertChar): ditto
3877         (acceptChange): ditto
3878         (rejectChange): ditto
3879         (changeCase): ditto
3880         (Delete): ditto
3881         (backspace): ditto
3882
3883         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3884         pointer
3885
3886 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * text3.C (gotoInset): YABG (yet another bad getChar)
3889
3890 2003-04-29  André Pönitz  <poenitz@gmx.net>
3891
3892         * paragraph.h: make operator= private unimplemented as long as
3893           it is unusable
3894
3895         * ParagraphList.C: whitespace
3896
3897         * paragraph.[Ch]:
3898         * paragraph_pimpl.[Ch]:
3899         * paragraph_funcs.C:
3900         * CutAndPaste.C:
3901         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3902
3903         * text2.C:
3904           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3905
3906 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3907
3908         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3909         * paragraph.[Ch] (erase):
3910         * paragraph_pimpl.[Ch] (erase): change return type and value
3911         * text2.C (cutSelection): some rework
3912
3913 2003-04-28  John Levon  <levon@movementarian.org>
3914
3915         * bufferlist.C: changes for unsaved changes dialog
3916
3917 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * bufferlist.C (newFile): set language (messages_) for new
3920         documents also.
3921
3922         * buffer.C (readFile): ws changes only.
3923
3924 2003-04-28  André Pönitz  <poenitz@gmx.net>
3925
3926         * undo_funcs.C:
3927         * lyxfunc.C:
3928         * buffer.[Ch]:
3929         * BufferView_pimpl.C:
3930         * BufferView.C: getParFromID related ParagraphList::iterator changes
3931
3932 2003-04-28  André Pönitz  <poenitz@gmx.net>
3933
3934         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3935           Changes
3936
3937 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * messages.C: remove one more localedir class variable.
3940
3941 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * messages.C (getLocaleDir): singleton generation function
3944         (Pimpl): use it.
3945         (Messages): add a default constructor.
3946
3947         * main.C (main): do not setup localedir here, do not call
3948         gettext_init.
3949
3950         * gettext.C (_): use it.
3951         (gettext_init): delete funciton
3952
3953 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * gettext.C (getLyXMessages): new singleton generating function.
3956
3957         * buffer.C (updateDocLang): adjust
3958
3959         * Makefile.am (messages.o): add target
3960         (main.o): remove target
3961
3962 2003-04-27  John Levon  <levon@movementarian.org>
3963
3964         * bufferlist.C:
3965         * lyx_cb.C:
3966         * lyxfunc.C:
3967         * lyxvc.C: specify cancel button in Alert::prompt
3968
3969 2003-04-26  John Levon  <levon@movementarian.org>
3970
3971         * text3.C:
3972         * lyxfunc.C:
3973         * lfuns.h:
3974         * LyXAction.C: add LFUN_INSET_SETTINGS
3975
3976         * lyxfunc.C: don't enable tabular-feature when there's
3977         just any locking inset
3978
3979 2003-04-26  John Levon  <levon@movementarian.org>
3980
3981         * bufferlist.C: re-add Cancel to buffer close question
3982
3983         * lyxfunc.C: fix import UI a bit
3984
3985 2003-04-25  John Levon  <levon@movementarian.org>
3986
3987         * gettext.C: remove the broken asserts for now
3988
3989 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * messages.C: make case where setlocale cannot comply work better.
3992
3993         * buffer.C (updateDocLang): new function
3994         (changeLanguage): use it
3995         (readFile): use it
3996
3997         * text2.C (setCounter): use B_ a bit.
3998
3999         * lyxlayout.C (Read): be sure to trim the label strings.
4000
4001         * messages.C (Messages): fix typo in comment
4002
4003         * buffer.C (readFile): set message_ after file is loaded.
4004         (makeDocBookFile): remove double return
4005         (changeLanguage): reset message_ upon language change.
4006         (B_): new func, use this to get translated buffer strings.
4007
4008         * main.C: add myself and Jean Marc as authors.
4009
4010 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * messages.[hC]: pimplify Messages, and three different pimpls to be
4013         used in different circumstances.
4014
4015         * gettext.[Ch]: change for use with new message code.
4016
4017 2003-04-24 André Pönitz <poenitz@gmx.net>
4018
4019         * factory.C: support for eqref
4020
4021 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * messages.[Ch]: add missing char
4024
4025         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4026
4027         * messages.[Ch]: New files
4028
4029 2003-04-18  John Levon  <levon@movementarian.org>
4030
4031         * BufferView.h:
4032         * BufferView.C:
4033         * BufferView_pimpl.C:
4034         * lfuns.h:
4035         * LyXAction.C:
4036         * lyxtext.h:
4037         * text2.C: remove layout-copy/paste (bug 778)
4038
4039 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4040
4041         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4042
4043 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4046         if they succeed. Act accordingly.
4047
4048 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * text2.C (setCharFont): adjust
4051         (setCounter): adjust
4052         (insertStringAsLines): adjust
4053
4054         * text.C (leftMargin): adjust
4055         (setHeightOfRow): adjust
4056
4057         * rowpainter.C (paintFirst): adjust
4058         (paintLast): adjust
4059
4060         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4061         (outerHook): ditto
4062         (isFirstInSequence): ditto
4063         (getEndLabel): ditto
4064         (outerFont): adjust
4065
4066         * paragraph.C (getParLanguage): comment out some hard stuff.
4067
4068         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4069         (sgmlError): ditto
4070         (simpleDocBookOnePar): ditto
4071         (makeDocBookFile): use ParagraphList::iterator
4072
4073         * CutAndPaste.C (pasteSelection): adjust
4074
4075 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * text2.C (getFont): adjust
4078         (getLayoutFont): adjust
4079         (getLabelFont): adjust
4080
4081         * paragraph_funcs.C (TeXOnePar): adjust
4082
4083         * buffer.C (simpleLinuxDocOnePar): adjust
4084         (simpleDocBookOnePar): adjust
4085
4086         * CutAndPaste.C (pasteSelection): adjust
4087
4088         * BufferView.C (getEncoding): adjust
4089
4090         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4091
4092 2003-04-16  John Levon  <levon@movementarian.org>
4093
4094         * lyxfind.C: use parlist stuff for search/changes
4095
4096 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4099
4100         * text2.C (deleteEmptyParagraphMechanism): adjust
4101
4102         * text2.[Ch] (ownerParagraph): delete func (both of them
4103
4104 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4107
4108 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * ParagraphList.C: prepare for NO_NEXT
4111
4112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (getFont): adjust
4115         (getLayoutFont): adjust
4116         (getLabelFont): adjust
4117
4118         * paragraph.C (getFont): adjust
4119         (getLabelFont): adjust
4120         (getLayoutFont): adjust
4121
4122         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4123
4124 2003-04-15  John Levon  <levon@movementarian.org>
4125
4126         From Angus Leeming
4127
4128         * lyx_main.C: handle Include in .ui files
4129
4130 2003-04-15  John Levon  <levon@movementarian.org>
4131
4132         * MenuBackend.C: make the doc files length shorter
4133
4134         * ToolbarBackend.h:
4135         * ToolbarBackend.C: handle toolbar placement flags,
4136         Minibuffer
4137
4138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4141         adjust
4142
4143         * paragraph_funcs.C (TeXOnePar): adjust
4144
4145         * paragraph.C (getLabelFont): add outerfont arg, adjust
4146         (getLayoutFont): ditto
4147         (simpleTeXOnePar): adjust
4148
4149         * paragraph_pimpl.C (realizeFont): delete func
4150
4151 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4154         row argument, constify cur argument.
4155
4156 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * text2.C (getFont): adjust
4159         (getLayoutFont): adjust
4160         (getLabelFont): adjust
4161
4162         * paragraph_funcs.C (TeXOnePar): adjust
4163         (outerFont): new func...
4164         (realizeFont): ...moved out from here, changed this to facilitate
4165         transition
4166
4167         * paragraph.C (getFont): take outerfont as arg, adjust
4168         (simpleTeXOnePar): add outerfont arg, adjust
4169
4170         * buffer.C (simpleLinuxDocOnePar): adjust
4171         (simpleDocBookOnePar): adjust
4172
4173         * CutAndPaste.C (pasteSelection): adjust
4174
4175         * BufferView.C (getEncoding): adjust
4176
4177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * text2.C (setCharFont): adjust
4180         (setCounter): adjust
4181
4182         * text.C (leftMargin): adjust
4183         (setHeightOfRow): adjust
4184
4185         * rowpainter.C (paintFirst): adjust
4186         (paintLast): adjust
4187
4188         * paragraph_pimpl.C (realizeFont): adjust
4189
4190         * paragraph.C (isFirstInSequence): move from here...
4191         * paragraph_funcs.C (isFirstInSequence): ...to here
4192
4193         * paragraph.C (outerHook): move from here...
4194         * paragraph_funcs.C (outerHook): ...to here
4195
4196         * paragraph.C (depthHook): move from here...
4197         * paragraph_funcs.C (depthHook): ...to here
4198
4199         * paragraph.C (getEndLabel): move from here...
4200         * paragraph_funcs.C (getEndLabel): ...to here
4201
4202         * text2.C (realizeFont): move from here...
4203         * paragraph_funcs.C (realizeFont): ...to here
4204
4205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4208
4209 2003-04-14  Angus Leeming  <leeming@lyx.org>
4210
4211         * LColor.[Ch]: scrap LColor mathcursor.
4212
4213 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4214
4215         * lyxlex.[Ch] (text): delete function
4216         * trans.C (Load): adjust
4217         * paragraph_funcs.C (readParToken): adjust
4218
4219 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4222         vector<char> instead of a char[].
4223
4224         * lyxlex_pimpl.C (getString): adjust
4225         (next): adjust
4226         (lex): use getString
4227         (eatLine): adjust
4228         (nextToken): adjust
4229
4230         * lyxlex.C (text): use pimpl_->getString()
4231         (getBool): ditto
4232         (findToken): ditto
4233
4234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4237         (makeFontEntriesLayoutSpecific): temp var for par.size()
4238         (setLayout): temp var for ownerParagraphs().end()
4239         (fullRebreak): temp var for rows().end()
4240         (selectionAsString): temp var for boost::next(startpit), realize
4241         that the while really is a regular for loop.
4242         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4243         setCursor in one place.
4244         (setParagraph): temp vr for ownerParagraphs().end()
4245         (updateCounters): make the while loop a for loop
4246         (cutSelection): temp var for ownerParagraphs().end()
4247         (updateInset): make the do {} while() a regular for loop
4248         (getCursorX): use temp vars
4249         (setCurrentFont): use temp vars
4250         (getColumnNearX): use temp vars
4251
4252 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * text.C (transformChar): use temp var for getChar
4255         (computeBidiTables): use temp var for row->par()
4256         (fill): move temp vars for row->par() and pit->layout() earlier in
4257         the function.
4258         (labelFill): use temp var for row->par()
4259         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4260         asc and desc, realize that pit never changes and that firstpit is
4261         just a duplicate and not needed. Exchange rit->par() with pit in a
4262         lot of places.
4263         (breakAgain): use a temp var for boost::next(rit)
4264         (breakAgainOneRow): ditto
4265         (breakParagraph): use a temp var for rows().begin()
4266         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4267         (cursorRightOneWord): use temp var for cursor.par() and
4268         cursor.pos(), remove usage of tmpcursor.
4269         (cursorLeftOneWord): use temp var for cursor.par() and
4270         cursor.pos() only set cur at end of function.
4271
4272 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * text.C, text2.C: exchange all usage of Paragraph::next with
4275         boost::next(ParagraphList::iterator)
4276
4277         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4278
4279         * text2.C (cursorTop): simplify implementation
4280         (cursorBottom): ditto
4281         (setParagraph): use ParagraphList::iterator
4282         (setCurrentFont): adjust
4283         (getColumnNearX): adjust
4284         (cursorRight): adjust
4285         (cursorLeft): remove usage of Paragraph::previous
4286         (cursorUpParagraph): ditto
4287         (deleteEmptyParagraphMechanism): slight cleanup
4288
4289         * text.C (isBoundary): take a Paragraph const & instead of a
4290         pointer as arg.
4291         (addressBreakPoint): ditto
4292         (leftMargin): remove usage of Paragraph::previous.
4293         (setHeightOfRow): ditto
4294         (cursorLeftOneWord): ditto
4295         (selectNextWordToSpellcheck): ditto
4296         (Delete): ditto
4297         (backspace): ditto
4298         (breakParagraph): remove one usage of Paragraph::next
4299         (redoParagraph): ditto
4300         (acceptChange): ditto
4301         (insertChar): adjust
4302         (rowBreakPoint): adjust
4303
4304         * bufferview_funcs.C (toggleAndShow): adjust
4305
4306 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4309         methods to access it.
4310         * lyxtext.h:
4311         * text.C: Added updateRowPositions to compute all row positions.
4312         Make top_y and getRowNearY() to use the cached y position
4313
4314 2003-04-11  John Levon  <levon@movementarian.org>
4315
4316         * text.C (rowBreakPoint): reintroduce the labelEnd
4317         checks, code copied from the row fill stuff. Deep voodoo.
4318
4319         * text.C (fill): add a comment and debugging for the
4320         next poor soul.
4321
4322 2003-04-11  John Levon  <levon@movementarian.org>
4323
4324         * text.C: make sure fullrow insets get wrapped to the next line,
4325         even when they're in a manual label
4326
4327 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * text2.C (insertParagraph): make it take ParagraphList::iterator
4330         as arg.
4331         (setLayout): make it return ParagraphList::iterator
4332         (redoParagraphs): ditto
4333         (setCounter): ditto
4334         (checkParagraph): ditto
4335
4336         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4337
4338         * text2.C: adjust several funcs.
4339         (realizeFont): take a ParagraphList::iterator as arg.
4340         (getLayoutFont): ditto
4341         (getLabelFont): ditto
4342         (setCharFont): ditto
4343
4344         * text.C: adjust several funcs.
4345
4346 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * text.C (selectNextWordToSpellcheck): don't accidentally
4349         skip insets
4350
4351 2003-04-10  John Levon  <levon@movementarian.org>
4352
4353         * ToolbarBackend.C (getIcon): special handling for
4354         LFUN_MATH_DELIM
4355
4356 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * text2.C (cursorRight): a getChar assert fixed
4359
4360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * text2.C (getFont): change to take a ParagraphList::iterator
4363         instead of Paragraph*
4364         Adjust several functions.
4365
4366         * text.C (transformChar): change to take a ParagraphList::iterator
4367         instead of Paragraph*
4368         (singleWidth): ditto
4369         Adjust several functions.
4370
4371         * rowpainter.C: adjust several functions
4372         * rowpainter.h:store a ParagraphList::iterator and not a
4373         Paragraph&.
4374
4375
4376 2003-04-09  John Levon  <levon@movementarian.org>
4377
4378         * lyxfunc.C:
4379         * lfuns.h:
4380         * LyXAction.h:
4381         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4382         and the "help" bits as well
4383
4384 2003-04-09  John Levon  <levon@movementarian.org>
4385
4386         * ToolbarBackend.h:
4387         * ToolbarBackend.C: allow multiple toolbars
4388
4389 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * undo_funcs.C (setCursorParUndo): adjust
4392
4393         * text_funcs.C (transposeChars): adjust
4394
4395         * text3.C (gotoNextInset): adjust
4396         (dispatch): adjust
4397
4398         * text2.C (setLayout): adjust
4399         (changeDepth): adjust
4400         (setFont): adjust
4401         (redoParagraphs): adjust
4402         (selectionAsString): adjust
4403         (setParagraph): adjust
4404         (insertInset): adjust
4405         (cutSelection): adjust
4406         (copySelection): adjust
4407         (pasteSelection): adjust
4408         (insertStringAsLines): adjust
4409         (updateInset): adjust
4410         (setCursor): change to take a ParagraphList::iterator parameter
4411         (setCursorIntern): change to take a ParagraphList::iterator parameter
4412         (setCurrentFont): adjust
4413         (cursorLeft): adjust
4414         (cursorRight): adjust
4415         (deleteEmptyParagraphMechanism): adjust
4416
4417         * text.C (breakParagraph): adjust
4418         (insertChar): adjust
4419         (acceptChange): adjust
4420         (rejectChange): adjust
4421         (selectNextWordToSpellcheck): adjust
4422         (changeCase): adjust
4423         (Delete): adjust
4424         (backspace): adjust
4425
4426         * lyxfind.C (SearchForward): adjust
4427         (SearchBackward): adjust
4428         (nextChange): adjust
4429
4430         * lyxcursor.C (par): adjust
4431
4432         * lyxcursor.h: store a ParagraphList::iterator instead of a
4433         Paragraph*
4434
4435         * lyx_cb.C (getPossibleLabel): adjust
4436
4437         * bufferview_funcs.C (toggleAndShow): adjust
4438
4439         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4440         (dispatch): adjust
4441
4442         * BufferView.C (removeAutoInsets): adjust
4443         (lockedInsetStoreUndo): adjust
4444
4445 2003-04-09  John Levon  <levon@movementarian.org>
4446
4447         * ToolbarBackend.C: try icon without argument
4448         if with argument fails
4449
4450 2003-04-08  John Levon  <levon@movementarian.org>
4451
4452         * ToolbarBackend.h:
4453         * ToolbarBackend.C: add getIcon(), handle tooltip,
4454         and change from "Icon" to "Item".
4455
4456 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * BufferView.C (lockInset): another bad getchar crunched
4459
4460 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4463         again)
4464
4465 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * lyxfind.C (searchForward, searchBackwards): bug 782
4468
4469 2003-04-07  John Levon  <levon@movementarian.org>
4470
4471         * paragraph.C: remove dead comment
4472
4473         * text.C: remove troublesome depth-fiddling code
4474         in leftMargin() and rightMargin() (bug 1017)
4475
4476         * text.C: fix breaking of rows in nested lists
4477         (bug 1004)
4478
4479         * text2.C (updateCounters): fix up depth values
4480         (bug 1013)
4481
4482 2003-04-07  John Levon  <levon@movementarian.org>
4483
4484         * BufferView_pimpl.C: clear message when doc finishes resizing,
4485         and after a mouse event
4486
4487         * lyxfunc.C: clear message after exiting inset
4488
4489 2003-04-07  John Levon  <levon@movementarian.org>
4490
4491         * bufferview_funcs.C: show math status not outside
4492         status in the statusbar
4493
4494 2003-04-07  John Levon  <levon@movementarian.org>
4495
4496         * lyxfunc.C: note status changed after a depth change
4497
4498 2003-04-04  Angus Leeming  <leeming@lyx.org>
4499
4500         * LaTeX.h: move AuxInfo operator==, != out of line.
4501         Remove LaTeX virtual destructor; nothing derives from it.
4502         Move operator()() out of public area and rename it startscript().
4503         Change protected for private.
4504
4505 2003-04-04  Angus Leeming  <leeming@lyx.org>
4506
4507         * lyxfunc.C:
4508         * text2.C: remove unneeded #includes.
4509
4510 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * text2.C (dEPM): fix the heigth of the next row
4513
4514 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * text.C: squashed an invalid getChar requester + some ws changes
4517
4518 2003-04-03  John Levon  <levon@movementarian.org>
4519
4520         * bufferview_funcs.h:
4521         * bufferview_funcs.C:
4522         * lyxfunc.C:
4523         * lyxtext.h:
4524         * text2.C: make getStatus work for the env depth lfuns
4525
4526 2003-04-03  John Levon  <levon@movementarian.org>
4527
4528         * bufferview_funcs.h:
4529         * bufferview_funcs.C:
4530         * lyxfunc.C:
4531         * lyxtext.h:
4532         * text2.C: parlistize decDepth(), by merging it with incDepth()
4533
4534 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * lyxrow.h: store a ParagraphList::iterator instead of a
4537         Paragraph* and adjust other class functions to suit.
4538
4539         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4540         above.
4541
4542 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4543
4544         * text2.C (setCursor): do not anchor to cursor row for the time being
4545
4546 2003-04-02  John Levon  <levon@movementarian.org>
4547
4548         * LyXAction.C:
4549         * lfuns.h:
4550         * lyx_main.C:
4551         * lyxtext.h:
4552         * text.C:
4553         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4554
4555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * paragraph.h: make ParagraphList and ParagraphList::iterator
4558         friends of Paragraph.
4559
4560         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4561
4562         * ParagraphList.C: Use the private next_ and previous_ from
4563         Paragraph.
4564
4565 2003-04-01  John Levon  <levon@movementarian.org>
4566
4567         * ToolbarBackend.h:
4568         * ToolbarBackend.C:
4569         * Makefile.am: rename, remove defaults gunk
4570
4571         * MenuBackend.h:
4572         * MenuBackend.C: remove defaults gunk
4573
4574         * Languages.h:
4575         * Languages.C: remove defaults gunk
4576
4577         * lyx_main.h:
4578         * lyx_main.C: error out if files couldn't be found.
4579
4580 2003-04-02  John Levon  <levon@movementarian.org>
4581
4582         * text2.C: make incDepth() use parlist
4583
4584 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * undo_funcs.C (firstUndoParagraph): adjust
4587
4588         * text3.C (gotoInset): adjust
4589         (dispatch): adjust, and rewrite loop.
4590
4591         * text2.C (init): adjust, and rewrite loop.
4592         (redoParagraphs): adjust
4593         (updateInset): adjust, and rewrite loop.
4594         (deleteEmptyParagraphMechanism): adjust
4595
4596         * tabular.C (LyXTabular): adjust
4597         (SetMultiColumn): adjust
4598         (TeXRow): adjust
4599
4600         * lyxtext.[Ch] (ownerParagraph): delete function
4601         (ownerParagraphs): new function returns a ParagraphList.
4602
4603         * BufferView.C (removeAutoInsets): adjust
4604         (insertErrors): adjust
4605         (setCursorFromRow): adjust
4606
4607 2003-04-01  Angus Leeming  <leeming@lyx.org>
4608
4609         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4610         in the frontends.
4611
4612 2003-04-02  John Levon  <levon@movementarian.org>
4613
4614         * lyxtext.h:
4615         * text.C:
4616         * Makefile.am:
4617         * text_funcs.h:
4618         * text_funcs.C: make transposeChars a free function
4619
4620         * lyxrow_funcs.C: remove wrong comment
4621
4622 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * lyxtext.h: adjust
4625         * rowpainter.C: adjust
4626         * text.C: adjust
4627         * text2.C: adjust
4628         * text3.C: adjust
4629
4630         * lyxrow_funcs. [Ch]: new files
4631
4632         * lyxrow.[Ch]: remove next and previous pointers
4633         (next,previous): remove accessor functions
4634         (isParEnd): move to lyxrow_funcs
4635         (lastPos): move to lyxrow_funcs
4636         (nextRowIsAllInset): move to lyxrow_funcs
4637         (lastPrintablePos): move to lyxrow_funcs
4638         (numberOfSeparators): move to lyxrow_funcs
4639         (numberOfHfills): move to lyxrow_funcs
4640         (numberOfLabelHfills): move to lyxrow_funcs
4641         (hfillExpansion): move to lyxrow_funcs
4642
4643         * lyxfunc.C: adjust
4644
4645         * bufferview_funcs.C (toggleAndShow): adjust
4646
4647         * RowList.h: Remove class RowList from file leave just a
4648         std::list<Row>.
4649
4650         * RowList.C: delete file
4651
4652         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4653         and lyxrow_funcs.h
4654
4655 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * text3.C (cursorPrevious): adjust
4658         (cursorNext): adjust
4659         (dispatch): adjust
4660
4661         * text2.C (redoHeightOfParagraph): adjust
4662         (redoDrawingOfParagraph): adjust
4663         (setCursor): adjust
4664
4665         * text.C (breakParagraph): adjust
4666         (insertChar): adjust
4667         (backspace): adjust
4668
4669         * rowpainter.C (RowPainter): adjust
4670         (leftMargin): simplify and adjust
4671         (most rowpainter functions): adjust.
4672
4673         * rowpainter.h: store the row as RowList::iterator not as Row*
4674
4675         * lyxcursor.C (row): taka RowList::iterator as arg
4676         (irow): ditto
4677
4678         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4679         of Row*.
4680
4681 2003-04-01  Angus Leeming  <leeming@lyx.org>
4682
4683         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4684         stuff like bool Bool.
4685
4686 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4689         rewrite a loop
4690
4691 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4694         RowList::iterator.
4695
4696         * lyxtext.h (rows): drop one version and leve a const variant that
4697         returns a RowList::iterator.
4698
4699 2003-03-31  Angus Leeming  <leeming@lyx.org>
4700
4701         * text.C (fill): ensure that the signature is the same as that in the
4702         header file.
4703
4704 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * text2.C (redoParagraphs): adjust
4707         (updateCounters): adjust
4708         (checkParagraph): adjust
4709         (getColumnNearX): adjust and reformat a bit.
4710
4711         * text.C (top_y): adjust
4712         (workWidth): adjust
4713         (leftMargin): adjust
4714         (prepareToPrint): adjust
4715         (getRow): adjust
4716         (getRowNearY): adjust
4717
4718         * lyxtext.h: make rowlist_ mutable.
4719
4720         * RowList.h: add const_iterator
4721         * RowList.C: adjust for RowList::const_iterator.
4722
4723         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4724         adjust.
4725
4726 2003-03-31  John Levon  <levon@movementarian.org>
4727
4728         * lyxrc.h:
4729         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4730
4731         * lyx_main.C: set default fonts from using lyx_gui funcs
4732
4733         * exporter.C: pdf_mode moved from lyxrc
4734
4735         * lyx_cb.C:
4736         * lyxfunc.C: changes from above
4737
4738 2003-03-31  John Levon  <levon@movementarian.org>
4739
4740         * lyx_main.C: fix to the last fix
4741
4742 2003-03-31  John Levon  <levon@movementarian.org>
4743
4744         * bufferlist.C: "Load original" -> "Load Original"
4745
4746         * converter.C:
4747         * exporter.C:
4748         * importer.C:
4749         * lyx_main.C:
4750         * format.C: more Alert cleanups
4751
4752 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * text2.C (removeParagraph): make it take a RowList::iterator as
4755         arg, adjust.
4756         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4757         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4758
4759         * text.C (anchor_row): make it take a RowList::iterator as arg,
4760         adjust.
4761         (computeBidiTables): make it take a const reference to Row instead
4762         of Row pointer, adjust.
4763         (leftMargin): make it take a RowList::iterator as arg, adjust.
4764         (rowBreakPoint): adjust
4765         (breakAgainOneRow): make it take a RowList::iterator as arg,
4766         adjust.
4767         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4768
4769         * bufferview_funcs.C (toggleAndShow): adjust
4770
4771 2003-03-30  John Levon  <levon@movementarian.org>
4772
4773         * Makefile.am:
4774         * BoostFormat.h:
4775         * boost-inst.C: moved to support
4776
4777         * several files: changes as a result
4778
4779 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * text2.C (LyXText): adjust.
4782         (init): adjust
4783         (removeRow): make it take a RowList::iterator as arg, adjust.
4784         (fullRebreak): adjust
4785         (deleteEmptyParagraphMechanism): adjust
4786         (clearPaint): adjust
4787         (postPaint): adjust
4788
4789         * text.C (top_y): adjust
4790         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4791         (breakAgain): make it take a RowList::iterator as arg, adjust.
4792         (breakParagraph): adjust
4793         (insertChar): adjust
4794         (backspace): adjust
4795
4796         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4797         need_break_row, and refresh_row.
4798
4799         * text3.C (dispatch): adjust
4800
4801         * text2.C (checkParagraph): adjust
4802         (setCursor): adjust
4803         (setCursorFromCoordinates): adjust
4804
4805         * text.C (top_y): adjust
4806         (workWidth): adjust
4807         (getRow): make it return a RowList::iterator, adjust
4808         (getRowNearY): make it return a RowList::iterator, adjust
4809
4810         * text2.C (init): adjust
4811         (insertRow): remove function
4812         (insertParagraph): adjust
4813         (redoParagraphs): adjust
4814         (fullRebreak): adjust
4815         (updateCounters): adjust
4816
4817         * text.C (top_y): rewrite to use RowList iterators.
4818         (top_y): adjust
4819         (setHeightOfRow): rewrite to sue RowList iterators.
4820         (appendParagraph): adjust
4821         (breakAgain): adjust
4822         (breakAgainOneRow): adjust
4823         (breakParagraph): adjust
4824         (getRow): adjust
4825         (getRowNearY): adjust, and remove commented code.
4826
4827         * lyxtext.h (firstRow): delete function
4828         (lastRow): delete function
4829         (rows): new function (const and non-const versions.)
4830         (insertRow): delete function
4831
4832         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4833
4834 2003-03-29  John Levon  <levon@movementarian.org>
4835
4836         * BufferView_pimpl.C: always update scrollbar top
4837         because pasting text when we're anchored could mean we
4838         miss an update altogether
4839
4840 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * text2.C (init): use rowlist_.end() and not 0.
4843         (insertRow): change to take a RowList::iterator as arg, adjust
4844         for this.
4845         (insertParagraph): change to take a RowList::iterator as arg,
4846         adjust for this.
4847         (redoParagraphs): remove some debug msgs.
4848
4849         * text.C (appendParagraph): change to take a RowList::iterator
4850         arg, adjust for this.
4851         (breakAgain): add an assert
4852         (breakAgainOneRow): ditto
4853
4854 2003-03-29  John Levon  <levon@movementarian.org>
4855
4856         * text2.C: do not clear selection after inc/decDepth
4857         (bug 550)
4858
4859 2003-03-29  John Levon  <levon@movementarian.org>
4860
4861         * BufferView.C:
4862         * buffer.C: fix broken strerrors according to Lars
4863
4864 2003-03-29  John Levon  <levon@movementarian.org>
4865
4866         * converters.C: more Alert cleanups
4867
4868 2003-03-29  John Levon  <levon@movementarian.org>
4869
4870         * bufferview_funcs.C: remove pointless Alert
4871
4872         * buffer.C: fix confusing error message when
4873         a template is chmoded 000
4874
4875 2003-03-29  John Levon  <levon@movementarian.org>
4876
4877         * BufferView.C:
4878         * BufferView.h:
4879         * BufferView_pimpl.C: Alert fixes
4880
4881         * Makefile.am:
4882         * tabular.C:
4883         * tabular-old.C: remove unused table compat reading
4884
4885 2003-03-29  John Levon  <levon@movementarian.org>
4886
4887         * BufferView.C:
4888         * buffer.C:
4889         * lyx_cb.h:
4890         * lyx_cb.C: more Alert cleanups
4891
4892         * lyxfunc.C: don't allow chktex if not latex document
4893
4894 2003-03-29  John Levon  <levon@movementarian.org>
4895
4896         * lyx_cb.C:
4897         * BufferView.C:
4898         * buffer.C: warnings pushed down from support/,
4899         kill err_alert
4900
4901 2003-03-29  John Levon  <levon@movementarian.org>
4902
4903         * lyxfunc.C: safety check for C-r (revert)
4904
4905 2003-03-29  John Levon  <levon@movementarian.org>
4906
4907         * bufferlist.h:
4908         * bufferlist.C: several UI fixes using Alert::prompt.
4909         Fix the pointless looping quit code. Fix stupid revert
4910         behaviour (bug 938)
4911
4912         * lyxvc.h:
4913         * lyxvc.C:
4914         * lyx_cb.C: use Alert::prompt
4915
4916         * lyx_main.C: remove a silly question
4917
4918         * lyxfunc.C: remove a couple of silly questions,
4919         use Alert::prompt
4920
4921 2003-03-28  John Levon  <levon@movementarian.org>
4922
4923         * text2.C: fix bug 974 (End on empty par)
4924
4925 2003-03-28  John Levon  <levon@movementarian.org>
4926
4927         * BufferView_pimpl.C:
4928         * LyXAction.C:
4929         * lfuns.h: remove do-nothing math greek lfuns
4930
4931 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * lyxgluelength.h (isValidGlueLength): add default arg on
4934         parameter 2. Remove default arg from friend in class.
4935
4936         * lyxlength.h (isValidLength): add default arg on parameter 2.
4937         Remove default arg from friend in class.
4938
4939         * text2.C (LyXText): adjust, initialize refresh_row.
4940         (init): adjust
4941         (removeRow): adjust
4942         (insertRow): adjust
4943         (insertParagraph): adjst
4944         (redoParagraphs): adjust
4945         (fullRebreak): adjust
4946         (updateCounters): adjust
4947         (deleteEmptyParagraphMechanism): first attempt at fixing a
4948         crashing bug.
4949
4950         * text.C (top_y): adjust
4951         (setHeightOfRow): adjust
4952         (getRow): adjust
4953         (getRowNearY): adjust
4954
4955         * lyxtext.h: include RowList.h
4956         (~LyXText): not needed anymore, deleted.
4957         (firstRow): modify for RowList
4958         (lastRow): new function
4959         Delete firstrow and lastrow class variables, add a Rowlist
4960         rowlist_ class variable.
4961
4962         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4963         paragraph is empty.
4964
4965         * RowList.C (insert): fix case where it == begin().
4966
4967 2003-03-26  Angus Leeming  <leeming@lyx.org>
4968
4969         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4970         the thesaurus dialog.
4971
4972 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4975
4976         * RowList.[Ch]: new files
4977
4978         * ParagraphList.C (erase): handle the case where it == begin
4979         correctly.
4980
4981 2003-03-25  John Levon  <levon@movementarian.org>
4982
4983         * Makefile.am:
4984         * aspell_local.h:
4985         * aspell.C: add new aspell support
4986
4987         * lyxrc.h:
4988         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4989         have it accessible.
4990
4991 2003-03-25  Angus Leeming  <leeming@lyx.org>
4992
4993         * lfuns.h:
4994         * LyXAction.C (init): new LFUN_INSET_INSERT.
4995
4996         * BufferView_pimpl.C (dispatch): split out part of the
4997         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4998
4999         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5000         LFUN_INSET_APPLY.
5001
5002 2003-03-25  Angus Leeming  <leeming@lyx.org>
5003
5004         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5005
5006 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * text2.C:
5009         * text3.C: remove useless row->height(0)
5010
5011 2003-03-25  John Levon  <levon@movementarian.org>
5012
5013         * lyxtext.h:
5014         * text2.C:
5015         * text3.C: rename the refreshing stuff to better names
5016
5017 2003-03-24  John Levon  <levon@movementarian.org>
5018
5019         * BufferView_pimpl.h:
5020         * BufferView_pimpl.C: update layout choice on a mouse
5021         press/release
5022
5023 2003-03-23  John Levon  <levon@movementarian.org>
5024
5025         * Makefile.am: fix commandtags.h reference
5026
5027 2003-03-22  John Levon  <levon@movementarian.org>
5028
5029         * BufferView_pimpl.C:
5030         * lyxtext.h:
5031         * rowpainter.C:
5032         * rowpainter.h:
5033         * text.C:
5034         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5035
5036 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * lyxtext.h:
5039         * text.C: take the rtl methods out of line
5040
5041 2003-03-21 André Pönitz <poenitz@gmx.net>
5042
5043         * metricsinfo.[Ch]: new files containing structures to be passed around
5044         during the two-phase-drawing...
5045
5046 2003-03-21 André Pönitz <poenitz@gmx.net>
5047
5048         * lyxtextclass.C: read 'environment' tag.
5049
5050 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * text2.C (removeRow): fix bug 964
5053
5054 2003-03-20  John Levon  <levon@movementarian.org>
5055
5056         * rowpainter.C:
5057         * text.C:
5058         * text2.C: paint cleanups. Inset::update() dropped font
5059         parameter
5060
5061 2003-03-19  John Levon  <levon@movementarian.org>
5062
5063         * lyxfunc.C: only fitcursor/markDirty if available()
5064
5065 2003-03-19  John Levon  <levon@movementarian.org>
5066
5067         * commandtags.h: rename to ...
5068
5069         * lfuns.h: ... this, and renumber / cleanup
5070
5071 2003-03-19  John Levon  <levon@movementarian.org>
5072
5073         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5074         fit the cursor after an lfun
5075
5076         * BufferView.h:
5077         * BufferView.C:
5078         * BufferView_pimpl.h:
5079         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5080
5081         * LyXAction.C: layout-character should have ReadOnly
5082
5083         * ParagraphParameters.C:
5084         * buffer.C:
5085         * bufferview_funcs.C:
5086         * lyx_cb.C:
5087         * lyxfind.C:
5088         * lyxtext.h:
5089         * text.C:
5090         * text2.C:
5091         * text3.C:
5092         * undo_funcs.C: changes from above
5093
5094 2003-03-18  John Levon  <levon@movementarian.org>
5095
5096         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5097         remove it from update()
5098
5099         * lyxfunc.C: update layout choice after an lfun
5100
5101         * text3.C: remove extra updateLayoutChoice()s
5102
5103 2003-03-18  John Levon  <levon@movementarian.org>
5104
5105         * text.C: top_y change means full repaint, fix
5106         a drawing bug with cursor movement
5107
5108 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * lyxtext.h:
5111         * text.C:
5112         * text2.C: anchor row on setCursor
5113
5114 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * lyxtext.h: remove almost all mutable keywords
5117         * text.C:
5118         * text2.C:
5119         * text3.C: remove const keywords accordingly
5120
5121 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5124         anon namespace
5125         (TeXEnvironment): ditto
5126         (TeXOnePar): ditto
5127
5128 2003-03-17  John Levon  <levon@movementarian.org>
5129
5130         * text.C (rowBreakPoint): remove attempt to fix displayed
5131         math insets inside a manual label
5132
5133 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * lyxtext.h: remove BufferView* as first arg from almost all class
5136         functions.
5137         * other files: adjust.
5138
5139 2003-03-17  John Levon  <levon@movementarian.org>
5140
5141         * lyxtext.h:
5142         * undo_funcs.C:
5143         * text2.C: more paint cleanups
5144
5145         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5146
5147         * rowpainter.h:
5148         * rowpainter.C: remove "smart" background painting code
5149
5150 2003-03-16  John Levon  <levon@movementarian.org>
5151
5152         * lyxtext.h:
5153         * text.C:
5154         * text2.C:
5155         * text3.C: add helper functions for setting refresh_row/y
5156
5157 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5158
5159         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5160         newline inset which *can* get inserted in the pass_thru layouts.
5161         This is primarily for literate documents.
5162
5163 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5164
5165         * buffer.C: increment LYX_FORMAT to 223
5166
5167 2003-03-14 André Pönitz <poenitz@gmx.net>
5168
5169         * textclass.h: prepare for environment handling, ws changes
5170         * lyxlayout.C: read latexheader and latexfooter tags
5171
5172 2003-03-14  John Levon  <levon@movementarian.org>
5173
5174         * text2.C: rewrite ::status() a bit
5175
5176 2003-03-13  John Levon  <levon@movementarian.org>
5177
5178         * lyxtext.h: add some docs
5179
5180 2003-03-13  John Levon  <levon@movementarian.org>
5181
5182         * lyxtext.h:
5183         * text.C:
5184         * text2.C:
5185         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5186
5187 2003-03-13  John Levon  <levon@movementarian.org>
5188
5189         * text3.C: fix appendix redrawing
5190
5191 2003-03-13  John Levon  <levon@movementarian.org>
5192
5193         * text.C (setHeightOfRow):
5194         * rowpainter.h:
5195         * rowpainter.C: make appendix mark have the text
5196           "Appendix" so the user knows what it is
5197
5198         * LColor.h:
5199         * LColor.C: s/appendixline/appendix/ from above
5200
5201 2003-03-13  John Levon  <levon@movementarian.org>
5202
5203         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5204
5205         * text.C: fix a getChar(pos) bug properly
5206
5207 2003-03-13  Angus Leeming  <leeming@lyx.org>
5208
5209         * commandtags.h:
5210         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5211         Probably only temporary. Let's see how things pan out.
5212
5213         * BufferView.C (unlockInset):
5214         * BufferView_pimpl.C (fitCursor):
5215         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5216
5217         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5218         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5219
5220         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5221         new functions that convert ParagraphParameters to and from a string.
5222
5223         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5224         BufferView::Pimpl's dispatch.
5225         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5226
5227 2003-03-13 André Pönitz <poenitz@gmx.net>
5228
5229         * lyxfunc.C:
5230         * text3.C:
5231         * factory.C: make it aware of InsetEnv
5232
5233 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text2.C (setCursor): never ask for one past last
5236         (setCursor): add some debugging messages.
5237
5238         * text.C (singleWidth): never ask for one past last
5239         (singleWidth): ditto
5240         (leftMargin): ditto
5241         (rightMargin): ditto
5242         (rowBreakPoint): ditto
5243         (setHeightOfRow): ditto
5244         (prepareToPrint): ditto
5245
5246         * rowpainter.C (paintBackground): never ask for one past last
5247         (paintText): never ask for one past last
5248
5249         * paragraph_pimpl.C (getChar): make the assert stricter, never
5250         allow the one past last pos to be taken
5251
5252         * paragraph.C (getChar): ws changes only
5253
5254         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5255         (numberOfSeparators): ditto
5256         (numberOfHfills): ditto
5257
5258 2003-03-12  John Levon  <levon@movementarian.org>
5259
5260         * author.h:
5261         * author.C:
5262         * bufferparams.h:
5263         * bufferparams.C:
5264         * paragraph_funcs.C: fix per-buffer authorlists
5265
5266 2003-03-12  John Levon  <levon@movementarian.org>
5267
5268         * text.C: fix newline in right address
5269
5270 2003-03-12  Angus Leeming  <leeming@lyx.org>
5271
5272         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5273         duplicate those in LyXFunc::dispatch.
5274
5275         * commandtags.h:
5276         * LyXAction.C:
5277         * ToolbarDefaults.C:
5278         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5279         Add LFUN_FONTFREE_UPDATE.
5280
5281         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5282         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5283
5284         * bufferview_func.[Ch]: several new functions to facilliate
5285         transfer of data to and from the character dialog.
5286
5287 2003-03-12  John Levon  <levon@movementarian.org>
5288
5289         * buffer.C:
5290         * paragraph.h:
5291         * paragraph.C:
5292         * paragraph_funcs.C:
5293         * paragraph_pimpl.C:
5294         * sgml.C:
5295         * tabular.C:
5296         * text.C:
5297         * text3.C: remove META_NEWLINE in favour of an inset
5298
5299         * rowpainter.h:
5300         * rowpainter.C: remove paintNewline (done by inset)
5301
5302 2003-03-12  John Levon  <levon@movementarian.org>
5303
5304         * paragraph_pimpl.C: complain about bad getChar()s
5305         for a while at least
5306
5307 2003-03-12  John Levon  <levon@movementarian.org>
5308
5309         * buffer.h:
5310         * buffer.C: move paragraph read into a separate function,
5311         a little renaming to reflect that.
5312
5313         * bufferparams.h:
5314         * bufferparams.C: remove the author_ids map, not necessary now
5315
5316         * factory.h:
5317         * factory.C: moved Buffer::readInset to here
5318
5319         * paragraph_funcs.h:
5320         * paragraph_funcs.C: readParagraph free function moved from
5321         buffer.C
5322
5323         * tabular.C: name change
5324
5325 2003-03-12  John Levon  <levon@movementarian.org>
5326
5327         * buffer.C:
5328         * ParagraphParameters.C: move par params input to
5329         a read() method
5330
5331         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5332         behave like a normal read from the stream wrt reading
5333         a line vs. a \\token
5334
5335 2003-03-12  John Levon  <levon@movementarian.org>
5336
5337         * paragraph.C:
5338         * ParagraphParameters.h:
5339         * ParagraphParameters.C: move output code to a
5340         ::write() method
5341
5342 2003-03-12  John Levon  <levon@movementarian.org>
5343
5344         * BufferView.C (insertLyXFile):
5345         * buffer.h:
5346         * buffer.C:
5347         * tabular.C: use a parlist iterator for creating the
5348           document.
5349
5350 2003-03-12  John Levon  <levon@movementarian.org>
5351
5352         * buffer.C: make current_change static local not
5353           static file-scope
5354
5355 2003-03-12  John Levon  <levon@movementarian.org>
5356
5357         * buffer.C: fix insertStringAsLines for change tracking
5358
5359 2003-03-12  John Levon  <levon@movementarian.org>
5360
5361         * BufferView.C:
5362         * tabular.C:
5363         * buffer.h:
5364         * buffer.C:
5365         * bufferparams.h:
5366         * bufferparams.C: move author list into params. Rename some
5367           functions. Move the header reading into a separate token
5368           loop. Move the header token reading into BufferParams.
5369
5370 2003-03-12  John Levon  <levon@movementarian.org>
5371
5372         * changes.C: put debug inside lyxerr.debugging() checks
5373
5374 2003-03-11 André Pönitz <poenitz@gmx.net>
5375
5376         * factory.C: make it aware of InsetHFill
5377
5378 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5379
5380         * buffer.C (latexParagraphs): move function from here...
5381         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5382         args.
5383
5384 2003-03-10  Angus Leeming  <leeming@lyx.org>
5385
5386         * LyXAction.C (init): fix bug in poplating array with multiple entries
5387         with the same LFUN (spotted by JMarc).
5388
5389 2003-03-10  John Levon  <levon@movementarian.org>
5390
5391         * text.C:
5392         * text2.C: move getColumnNearX() near its
5393         only call site
5394
5395 2003-03-10  John Levon  <levon@movementarian.org>
5396
5397         * text.C: fix break before a minipage
5398
5399 2003-03-10  John Levon  <levon@movementarian.org>
5400
5401         * text.C: fix the last commit
5402
5403 2003-03-09  John Levon  <levon@movementarian.org>
5404
5405         * lyxtext.h:
5406         * text.C:
5407         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5408         bug 365 (don't break before insets unless needed). Don't
5409         return a value > last under any circumstances.
5410
5411 2003-03-09  Angus Leeming  <leeming@lyx.org>
5412
5413         * BufferView_pimpl.C (trackChanges, dispatch): call
5414         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5415
5416 2003-03-09  Angus Leeming  <leeming@lyx.org>
5417
5418         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5419         than Dialogs::showAboutlyx().
5420
5421 2003-03-09  Angus Leeming  <leeming@lyx.org>
5422
5423         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5424         than Dialogs::showTabularCreate().
5425
5426 2003-03-09  John Levon  <levon@movementarian.org>
5427
5428         * lyxtext.h:
5429         * text.C:
5430         * text2.C: 3rd arg to nextBreakPoint was always the same.
5431           Use references.
5432
5433 2003-03-08  John Levon  <levon@movementarian.org>
5434
5435         * lyxrow.C:
5436         * paragraph.C:
5437         * paragraph.h:
5438         * rowpainter.C:
5439         * text.C:
5440         * text2.C: Remove the "main" bit from the "main body"
5441           notion.
5442
5443 2003-03-08  John Levon  <levon@movementarian.org>
5444
5445         * text.C (leftMargin): The left margin of an empty
5446         manual label paragraph should not include the label width
5447         string length.
5448
5449         * text.C (prepareToPrint): don't attempt to measure hfills
5450         for empty manual label paragraphs - the answer should be 0
5451
5452 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * CutAndPaste.C: remove commented code and reindent.
5455
5456 2003-03-08  John Levon  <levon@movementarian.org>
5457
5458         * lyxfunc.h:
5459         * lyxfunc.C: move reloadBuffer()
5460
5461         * BufferView.h:
5462         * BufferView.C: to here
5463
5464         * lyxvc.C: add comment
5465
5466         * vc-backend.h:
5467         * vc-backend.C: call bv->reload() to avoid
5468           getStatus() check on MENURELOAD
5469
5470 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5471
5472         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5473         to an old format .dep file.
5474
5475 2003-03-07  Angus Leeming  <leeming@lyx.org>
5476
5477         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5478         when the LFUN_MOUSE_RELEASE should have been handled by
5479         inset->localDispatch.
5480
5481 2003-03-07  Angus Leeming  <leeming@lyx.org>
5482
5483         * BufferView_pimpl.C (dispatch):
5484         * LyXAction.C (init):
5485         * ToolbarDefaults.C (init):
5486         * commandtags.h:
5487         * lyxfunc.C (getStatus):
5488         remove LFUN_INSET_GRAPHICS.
5489
5490         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5491
5492 2003-03-07  Angus Leeming  <leeming@lyx.org>
5493
5494         * commandtags.h:
5495         * LyXAction.C (init):
5496         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5497
5498         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5499
5500         * commandtags.h:
5501         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5502
5503         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5504         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5505
5506 2003-03-07  Angus Leeming  <leeming@lyx.org>
5507
5508         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5509         remove "ert".
5510
5511 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * ParagraphList.C (front): new function
5514         (back): implement
5515
5516 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5517
5518         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5519         and top_row_offset_. removed var first_y.
5520         * text.C (top_y):
5521         * text2.C (LyXText, removeRow):
5522         * text3.C:
5523         * BufferView_pimpl.C:
5524         use these methods instead of using first_y
5525
5526 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5527
5528         * text2.C (pasteSelection): adjust for checkPastePossible
5529
5530         * CutAndPaste.C: remove Paragraph * buf and replace with
5531         ParagraphList paragraphs.
5532         (DeleteBuffer): delete
5533         (cutSelection): change the tc type to textclass_type
5534         (copySelection): change the tc type to textclass_type
5535         (copySelection): adjust for ParagraphList
5536         (pasteSelection): change the tc type to textclass_type
5537         (pasteSelection): adjust for Paragraphlist
5538         (nrOfParagraphs): simplify for ParagraphList
5539         (checkPastePossible): simplify for ParagraphList
5540         (checkPastePossible): remove unused arg
5541
5542         * ParagraphList.C (insert): handle the case where there are no
5543         paragraphs yet.
5544
5545         * CutAndPaste.h: make CutAndPaste a namespace.
5546
5547         * text3.C (dispatch): adjust
5548
5549         * text.C (breakParagraph): add a ParagraphList as arg
5550
5551         * paragraph_funcs.C (breakParagraph): change to take a
5552         BufferParams and a ParagraphList as args.
5553         (breakParagraphConservative): ditto
5554         (mergeParagraph): ditto
5555         (TeXDeeper): add a ParagraphList arg
5556         (TeXEnvironment): ditto
5557         (TeXOnePar): ditto
5558
5559         * buffer.C (readLyXformat2): adjust
5560         (insertStringAsLines): adjust
5561         (latexParagraphs): adjust
5562
5563         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5564         (cutSelection): adjust
5565         (pasteSelection): adjust
5566
5567         * BufferView_pimpl.C (insertInset): adjust
5568
5569 2003-03-05  Angus Leeming  <leeming@lyx.org>
5570
5571         * commandtags.h:
5572         * LyXAction.C (init):
5573         * BufferView_pimpl.C (dispatch):
5574         * lyxfunc.C (getStatus):
5575         remove LFUN_CHILD_INSERT.
5576
5577         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5578
5579 2003-03-05  Angus Leeming  <leeming@lyx.org>
5580
5581         * commandtags.h:
5582         * LyXAction.C (init):
5583         * src/factory.C (createInset):
5584         * lyxfunc.C (getStatus):
5585         * text3.C (dispatch):
5586         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5587
5588         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5589
5590 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * ParagraphList.C (insert): handle insert right before end()
5593         (erase): fix cases where it can be first or last paragraph.
5594
5595 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5598         Paragraph::next and Paragraph::previous
5599         (TeXOnePar): ditto
5600
5601         * text.C (breakParagraph): adjust
5602
5603         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5604         BufferParams& as arg.
5605         (breakParagraph): use ParagraphList::insert
5606         (breakParagraphConservative): take a Buffer* instead of a
5607         BufferParams& as arg.
5608         (breakParagraphConservative): use ParagraphList::insert.
5609
5610         * buffer.C (insertStringAsLines): un-const it
5611         (insertStringAsLines): adjust
5612
5613         * ParagraphList.C (insert): new function
5614
5615         * CutAndPaste.C (pasteSelection): adjust
5616
5617         * text.C (backspace): adjust
5618
5619         * tabular.C (SetMultiColumn): adjust
5620
5621         * CutAndPaste.C (cutSelection): adjust
5622         (pasteSelection): adjust
5623
5624         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5625         Buffer const * as arg
5626
5627         * ParagraphList.C (erase): new function
5628         * paragraph_funcs.C (mergeParagraph): use it
5629         (mergeParagraph): make it take a Buffer* instead of a
5630         BufferParams* as arg
5631
5632         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5633         as arg
5634         (breakParagraphConservative): ditto
5635
5636         * paragraph.h: remove the breakParagraph friend
5637
5638         * paragraph.C (eraseIntern): new function
5639         (setChange): new function
5640
5641         * paragraph_funcs.C (mergeParagraph): make it take a
5642         ParagraphList::iterator instead of a Paragraph *, adjust
5643         accordingly.
5644
5645         * paragraph.h: move an #endif so that the change tracking stuff
5646         also works in the NO_NEXT case.
5647
5648 2003-03-04  Angus Leeming  <leeming@lyx.org>
5649
5650         * commandtags.h:
5651         * LyXAction.C: new LFUN_INSET_MODIFY.
5652
5653         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5654         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5655
5656 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * several files: ws changes only
5659
5660         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5661         (TeXEnvironment): ditto
5662         (TeXDeeper): ditto
5663
5664         * buffer.C (makeLaTeXFile): adjust
5665         (latexParagraphs): make it take ParagraphList::iterator as args
5666
5667 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * buffer.C (latexParagraphs): adjust
5670
5671         * paragraph.C (TeXOnePar): move function...
5672         (optArgInset): move function...
5673         (TeXEnvironment): move function...
5674         * paragraph_pimpl.C (TeXDeeper): move function...
5675         * paragraph_funcs.C: ...here
5676
5677         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5678
5679 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * buffer.C (readInset): remove compability code for old Figure and
5682         InsetInfo insets
5683
5684 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * buffer.C: ws changes
5687         (readInset):
5688
5689         * BufferView_pimpl.C: ditto
5690         * author.C: ditto
5691         * buffer.h: ditto
5692         * bufferlist.h: ditto
5693         * changes.h: ditto
5694         * lyxfunc.C: ditto
5695
5696 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5697
5698         * converter.[Ch]: split into itself +
5699         * graph.[Ch]
5700         * format.[Ch]
5701         * Makefile.am: += graph.[Ch] + format.[Ch]
5702         * MenuBackend.C
5703         * buffer.C
5704         * exporter.C
5705         * importer.C
5706         * lyx_main.C
5707         * lyxfunc.C
5708         * lyxrc.C: added #include "format.h"
5709
5710 2003-02-27  Angus Leeming  <leeming@lyx.org>
5711
5712         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5713           a label.
5714
5715         * factory.C (createInset): add "label" to the factory.
5716
5717         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5718           string and do no more.
5719
5720 2003-02-27  Angus Leeming  <leeming@lyx.org>
5721
5722         * commandtags.h:
5723         * LyXAction.C (init):
5724         * factory.C (createInset):
5725         * BufferView_pimpl.C (dispatch):
5726           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5727
5728         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5729
5730         * lyxfunc.C (dispatch):
5731         * text3.C (dispatch): pass name to params2string.
5732
5733 2003-02-26  Angus Leeming  <leeming@lyx.org>
5734
5735         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5736           blocks together.
5737           Rearrange the ~includes. Strip out the unnecessary ones.
5738
5739         * factory.C (createInset): reformat.
5740           create new insets for the various LFUN_XYZ_APPLY lfuns.
5741
5742 2003-02-26  John Levon  <levon@movementarian.org>
5743
5744         * lyxrow.h:
5745         * lyxrow.C: add isParStart,isParEnd helpers
5746
5747         * paragraph.h: make isInserted/DeletedText take refs
5748
5749         * paragraph_funcs.h:
5750         * paragraph_funcs.C: remove #if 0'd code
5751
5752         * lyxtext.h:
5753         * text3.C:
5754         * text2.C:
5755         * text.C: use lyxrow helpers above.
5756           Move draw and paint routines to RowPainter.
5757           Make several methods use refs not pointers.
5758           Make backgroundColor() const.
5759           Add markChangeInDraw(), isInInset().
5760           Merge changeRegionCase into changeCase.
5761           Make workWidth() shouldn't-happen code into an Assert.
5762
5763         * rowpainter.h:
5764         * rowpainter.C: new class for painting a row.
5765
5766         * vspace.h:
5767         * vspace.C: make inPixels take a ref
5768
5769 2003-02-26  Angus Leeming  <leeming@lyx.org>
5770
5771         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5772         LFUN_REF_APPLY.
5773
5774 2003-02-25  John Levon  <levon@movementarian.org>
5775
5776         * ispell.C: give the forked command a more accurate name
5777
5778 2003-02-22  John Levon  <levon@movementarian.org>
5779
5780         * toc.h:
5781         * toc.C: make TocItem store an id not a Paragraph *
5782           (bug #913)
5783
5784 2003-02-21  Angus Leeming  <leeming@lyx.org>
5785
5786         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5787           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5788           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5789           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5790           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5791           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5792
5793         * BufferView_pimpl.C (dispatch):
5794         * LyXAction.C (init):
5795         * factory.C (createInset):
5796         * lyxfunc.C (getStatus, dispatch):
5797         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5798
5799 2003-02-21  Angus Leeming  <leeming@lyx.org>
5800
5801         * BufferView_pimpl.C (MenuInsertLyXFile):
5802         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5803         * lyxfunc.C (menuNew, open, doImport):
5804           no longer pass a LyXView & to fileDlg.
5805
5806 2003-02-21  Angus Leeming  <leeming@lyx.org>
5807
5808         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5809         * LyXAction.C: change, BIBKEY to BIBITEM.
5810         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5811         Change InsetBibKey to InsetBibitem.
5812         Change BIBKEY_CODE to BIBITEM_CODE.
5813         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5814         * factory.C: replace insetbib.h with insetbibitem.h.
5815         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5816         * paragraph.C: replace insetbib.h with insetbibitem.h.
5817         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5818         Change bibkey() to bibitem().
5819         * text.C: remove insetbib.h.
5820         * text2.C: replace insetbib.h with insetbibitem.h.
5821         change bibkey() to bibitem().
5822         * text3.C: remove insetbib.h.
5823         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5824
5825 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5826
5827         * lyxrc.C (output): enclose user email in quotes (in case there are
5828         several words)
5829
5830 2003-02-18  John Levon  <levon@movementarian.org>
5831
5832         * buffer.h: add std::
5833
5834 2003-02-17  John Levon  <levon@movementarian.org>
5835
5836         * SpellBase.h:
5837         * ispell.h:
5838         * ispell.C:
5839         * pspell.h:
5840         * pspell.C: reworking. Especially in ispell, a large
5841           number of clean ups and bug fixes.
5842
5843         * lyxfunc.C: fix revert to behave sensibly
5844
5845 2003-02-17 André Pönitz <poenitz@gmx.net>
5846
5847         * LyXAction.C:
5848         * commandtags.h: new LFUN_INSERT_BIBKEY
5849
5850         * layout.h:
5851         * lyxlayout.C:
5852         * buffer.C:
5853         * factory.C:
5854         * text.C:
5855         * text2.C:
5856         * text3.C:
5857         * paragraph.[Ch]:
5858         * paragraph_func.C: remove special bibkey handling
5859
5860 2003-02-17  John Levon  <levon@movementarian.org>
5861
5862         * text.C (Delete): fix case where delete at the end of
5863           the very first paragraph would not merge the pars
5864
5865 2003-02-17  John Levon  <levon@movementarian.org>
5866
5867         * lyxrow.C: fix lastPrintablePos()
5868
5869 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5870
5871         * bufferparams.C (writeLaTeX): add a std:here
5872
5873         * buffer.C: and remove a using directive there
5874
5875 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5876
5877         * buffer.C (makeLaTeXFile): move the code that generates the
5878           preamble...
5879
5880         * bufferparams.C (writeLaTeX): ... in this new method
5881
5882         * LaTeXFeatures.C (getEncodingSet): make const
5883           (getLanguages): make const
5884
5885         * MenuBackend.C (binding): returns the binding associated to this
5886           action
5887           (add): sets the status of each item by calling getStatus. Adds
5888           some intelligence.
5889           (read): add support for OptSubMenu
5890           (expand): remove extra separator at the end of expanded menu
5891
5892 2003-02-15  John Levon  <levon@movementarian.org>
5893
5894         * BufferView.C:
5895         * BufferView_pimpl.C:
5896         * bufferlist.h:
5897         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5898           inset code that had no actual effect. Remove unneeded status
5899           code.
5900
5901 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5902
5903         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5904           in preamble
5905
5906 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5907
5908         * text.C (drawLengthMarker): also draw an arrow marker for
5909           symbolic lengths (medskip...)
5910
5911 2003-02-14  John Levon  <levon@movementarian.org>
5912
5913         * tabular.h:
5914         * tabular.C: better method names
5915
5916 2003-02-14  John Levon  <levon@movementarian.org>
5917
5918         * BufferView_pimpl.C:
5919         * bufferlist.C:
5920         * buffer.C:
5921         * converter.C:
5922         * lyx_cb.C:
5923         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5924           it's a more accurate name. Remove some pointless uses.
5925
5926 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5927
5928         * text2.C (LyXText): change order of initilizers to shut off
5929           warnings
5930
5931 2003-02-14  John Levon  <levon@movementarian.org>
5932
5933         * buffer.C: use ParIterator for getParFromID()
5934
5935         * paragraph.h:
5936         * paragraph.C:
5937         * paragraph_pimpl.h:
5938         * paragraph_pimpl.C: remove unused getParFromID()
5939
5940 2003-02-14  John Levon  <levon@movementarian.org>
5941
5942         * buffer.C: remove some very old #if 0'd parse code
5943
5944 2003-02-13  John Levon  <levon@movementarian.org>
5945
5946         * text.h:
5947         * text.C:
5948         * text2.C: move hfillExpansion(), numberOfSeparators(),
5949           rowLast(), rowLastPrintable(), numberofHfills(),
5950           numberOfLabelHfills() ...
5951
5952         * lyxrow.h:
5953         * lyxrow.C: ... to member functions here.
5954
5955         * paragraph.h:
5956         * paragraph.C:
5957         * lyxtext.h:
5958         * text.C: remove LyXText::beginningOfMainBody(), and call
5959           p->beginningOfMainBody() directly. Move the check for
5960           LABEL_MANUAL into the latter.
5961
5962         * text.h:
5963         * text.C:
5964         * text2.C:
5965         * vspace.C:
5966         * BufferView.h:
5967         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5968
5969         * text.h:
5970         * text.C:
5971         * text2.C:
5972         * text3.C:
5973         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5974           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5975
5976 2003-02-13  John Levon  <levon@movementarian.org>
5977
5978         * CutAndPaste.C: remove debug
5979
5980 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5981
5982         * paragraph.C (asString): remove two unused variables
5983
5984         * lyxtextclass.C (readTitleType):
5985           (Read):
5986           (LyXTextClass): handle new members titletype_ and titlename_
5987
5988         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5989
5990 2003-02-09  John Levon  <levon@movementarian.org>
5991
5992         * buffer.h:
5993         * buffer.C: replace hand-coded list with a map for the dep clean
5994
5995 2003-02-08  John Levon  <levon@movementarian.org>
5996
5997         * LaTeX.C: consolidate code into showRunMessage() helper
5998
5999 2003-02-08  John Levon  <levon@movementarian.org>
6000
6001         * lyxfind.C:
6002         * lyxtext.h:
6003         * text2.C:
6004         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6005           and pass the size in explicitly
6006
6007         * BufferView_pimpl.h:
6008         * BufferView_pimpl.C:
6009         * BufferView.h:
6010         * BufferView.C: add getCurrentChange()
6011
6012         * BufferView_pimpl.h:
6013         * BufferView_pimpl.C: handle change lfuns
6014
6015         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6016           for changes. Mark pasted paragraphs as new.
6017
6018         * support/lyxtime.h:
6019         * support/lyxtime.C:
6020         * DepTable.C: abstract time_t as lyx::time_type
6021
6022         * LColor.h:
6023         * LColor.C: add colours for new text, deleted text, changebars
6024
6025         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6026           package use "usenames" option.
6027
6028         * commandtags.h:
6029         * lyxfunc.C:
6030         * LyXAction.C: add change lfuns
6031
6032         * Makefile.am:
6033         * author.h:
6034         * author.C: author handling
6035
6036         * buffer.h:
6037         * buffer.C: add a per-buffer author list, with first entry as
6038           current author. Handle new .lyx tokens for change tracking. Output
6039           author list to .lyx file. Output dvipost stuff to .tex preamble.
6040           Bump lyx format to 222.
6041
6042         * bufferlist.h:
6043         * bufferlist.C: add setCurrentAuthor() to reset current author details
6044           in all buffers.
6045
6046         * bufferparams.h:
6047         * bufferparams.C: add param for tracking
6048
6049         * bufferview_funcs.C: output change info in minibuffer
6050
6051         * Makefile.am:
6052         * changes.h:
6053         * changes.C: add change-tracking structure
6054
6055         * debug.h:
6056         * debug.C: add CHANGES debug flag
6057
6058         * lyxfind.h:
6059         * lyxfind.C: add code for finding the next change piece
6060
6061         * lyxrc.h:
6062         * lyxrc.C: add user_name and user_email
6063
6064         * lyxrow.h:
6065         * lyxrow.C: add a metric for the top of the text line
6066
6067         * lyxtext.h:
6068         * text.C: implement accept/rejectChange()
6069
6070         * lyxtext.h:
6071         * text.C: paint changebars. Paint new/deleted text in the chosen
6072         colours. Strike through deleted text.
6073
6074         * paragraph.h:
6075         * paragraph.C:
6076         * paragraph_pimpl.h:
6077         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6078           in the current change to the insert functions. Rework erase to
6079           mark text as deleted, adding an eraseIntern() and a range-based
6080           erase(). Implement per-paragraph change lookup and
6081           accept/reject.
6082
6083         * paragraph_funcs.C: Fixup paste for change tracking.
6084
6085         * tabular.C: mark added row/columns as new.
6086
6087         * text.C: fix rowLast() to never return -1. Don't allow
6088           spellchecking of deleted text. Track transpose changes. Don't
6089           allow paragraph break or merge where appropriate.
6090
6091         * text2.C: leave cursor at end of selection after a cut.
6092
6093 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6094
6095         * text.C (getLengthMarkerHeight):
6096         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6097         visible on screen too.
6098
6099 2003-02-07  John Levon  <levon@movementarian.org>
6100
6101         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6102
6103 2003-02-05  Angus Leeming  <leeming@lyx.org>
6104
6105         * lyxserver.C (read_ready): revert my patch of 11 September last year
6106         as it sends PC cpu through the roof. Presumably this means that
6107         the lyxserver will no longer run on an Alpha...
6108
6109 2003-01-30  Angus Leeming  <leeming@lyx.org>
6110
6111         * factory.C (createInset): create an InsetCommandParam of type "index"
6112         and use it to 'do the right thing'.
6113
6114         * text2.C (getStringToIndex): ensure that cursor position is always
6115         reset to the reset_cursor position.
6116
6117 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6118
6119         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6120         disabled.
6121
6122 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6123
6124         * bufferview.C:
6125         * lyxcb.C:
6126         * lyxfunc.C: Output messages with identical spelling, punctuation,
6127         and spaces
6128
6129 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6130
6131         * MenuBackend.C (expandFormats): List only viewable export formats
6132         in "View" menu
6133
6134         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6135         message
6136
6137         * lyxfunc.C (getStatus): Make sure that formats other than
6138         "fax" can also be disabled
6139
6140 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * text3.C (dispatch): put the lfuns that insert insets in 3
6143         groups, and call doInsertInset with appropriate arguments.
6144         (doInsertInset): new function, that creates an inset and inserts
6145         it according to some boolean parameters.
6146
6147 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * buffer.C (readFile): remember to pass on 'par' when calling
6150         readFile recursively.
6151
6152 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6153
6154         * MenuBackend.C (expandFormats): add "..." to import formats.
6155
6156 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6157
6158         * paragraph.C (asString): Remove XForms RTL hacks.
6159
6160 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6161         * buffer.C: fix typo
6162
6163 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * Makefile.am (LIBS): delete var
6166         (lyx_LDADD): add @LIBS@ here instead.
6167
6168 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6169
6170         * Clarify the meaning of "wheel mouse jump"
6171
6172 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6173
6174         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6175         tabular in a float
6176
6177 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6178
6179         * importer.C (Loaders): do not preallocate 3 elements in the
6180         vector, since one ends up with 6 elements otherwise
6181
6182 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6183
6184         * DepTable.C (write): write the file name as last element of the
6185         .dep file (because it may contain spaces)
6186         (read): read info in the right order
6187
6188 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6189
6190         * paragraph_pimpl.C (simpleTeXBlanks):
6191         (simpleTeXSpecialChars):
6192         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6193
6194         * tabular.C (latex): add some missing case statements. Reindent.
6195
6196         * MenuBackend.C (expandToc): remove unused variable.
6197
6198 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6199
6200         * LColor.C:
6201         * LaTeX.C:
6202         * LyXAction.C:
6203         * MenuBackend.C:
6204         * buffer.C:
6205         * exporter.C:
6206         * lyxfunc.C:
6207         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6208         and the like.
6209
6210 2003-01-05  John Levon  <levon@movementarian.org>
6211
6212         * BufferView.h:
6213         * BufferView.C: add getEncoding()
6214
6215         * kbsequence.h:
6216         * kbsequence.C: do not store last keypress
6217
6218         * lyxfunc.h:
6219         * lyxfunc.C: store last keypress here instead. Pass encoding
6220           to getISOEncoded()
6221
6222 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6223
6224         * lyx_main.C (init): remove annoying error message when following
6225         symbolic links (bug #780)
6226
6227 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6228
6229         * text.C (insertChar):
6230         * lyxrc.C (getDescription): remove extra spaces
6231
6232 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6233
6234         * lyxrc.C (getDescription): remove extra spaces
6235
6236 2002-12-20  John Levon  <levon@movementarian.org>
6237
6238         * text3.C: hack fix for page up/down across tall rows
6239
6240 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6241
6242         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6243         not been invoked
6244
6245 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6246
6247         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6248         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6249         thesaurus is not compiled in
6250
6251 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6252
6253         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6254
6255 2002-12-16  Angus Leeming  <leeming@lyx.org>
6256
6257         * lyxrc.[Ch]:
6258         * lyx_main.C (init): remove override_x_deadkeys stuff.
6259
6260 2002-12-12  John Levon  <levon@movementarian.org>
6261
6262         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6263           insert. Only remove shift modifier under strict
6264           circumstances.
6265
6266 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * MenuBackend.C (expandToc): fix crash.
6269
6270 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * MenuBackend.C (expandToc): gettext on float names.
6273
6274 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6275
6276         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6277         implement bool empty() [bug 490]
6278
6279 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6282
6283 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * several files: ws changes
6286
6287 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * text2.C (setCounter): clean up a bit, use boost.format.
6290         (updateCounters): initialize par upon declaration.
6291
6292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6293         if the layout exists. We do not just store the layout any more.
6294         (SwitchLayoutsBetweenClasses): use boost.format
6295
6296 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6297
6298         * converter.C (convert): if from and to files are the same, use a
6299         temporary files as intermediary
6300
6301 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6302
6303         * commandtags.h:
6304         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6305
6306 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6307
6308         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6309
6310 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * tabular.C (asciiPrintCell): use string(size, char) instead of
6313         explicit loop.
6314
6315         * sgml.C (openTag): fix order of arguments to string constructor
6316         (closeTag): ditto
6317
6318         * lyxfunc.C (dispatch): use boost.format
6319
6320         * lots of files: change "c" -> 'c'
6321
6322 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6323
6324         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6325
6326 2002-11-25  Angus Leeming  <leeming@lyx.org>
6327
6328         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6329
6330         * lyx_main.C (init): compile fix.
6331
6332 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * lyx_cb.C (start): boost.formatify
6335         do not include <iostream>
6336
6337         * lengthcommon.C: ws only
6338
6339         * boost-inst.C,BoostFormat.h: add more explict instantations
6340
6341 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * lots of files: handle USE_BOOST_FORMAT
6344
6345 2002-11-21  John Levon  <levon@movementarian.org>
6346
6347         * pspell.C: fix compile
6348
6349 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6350
6351         * lyxfunc.C (dispatch): use boost::format
6352         (open): ditto
6353         (doImport): ditto
6354
6355         * lyxfont.C (stateText): use boost::format
6356
6357         * lyx_main.C (LyX): use boost::format
6358         (init): ditto
6359         (queryUserLyXDir): ditto
6360         (readRcFile): ditto
6361         (parse_dbg): ditto
6362         (typedef boost::function): use the recommened syntax.
6363
6364         * importer.C (Import): use boost::format
6365
6366         * debug.C (showLevel): use boost::format
6367
6368         * converter.C (view): use boost::format
6369         (convert): ditto
6370         (move): ditto
6371         (scanLog): ditto
6372
6373         * bufferview_funcs.C (currentState): use boost::format
6374
6375         * bufferlist.C (emergencyWrite): use boost::format
6376
6377         * buffer.C (readLyXformat2): use boost::format
6378         (parseSingleLyXformat2Token): ditto
6379
6380         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6381
6382         * LaTeX.C (run): use boost::format
6383
6384         * Chktex.C (scanLogFile): use boost::format
6385
6386         * BufferView_pimpl.C (savePosition): use boost::format
6387         (restorePosition): ditto
6388         (MenuInsertLyXFile): ditto
6389
6390         * BoostFormat.h: help file for explicit instation.
6391
6392 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6393
6394         * tabular.C (latex): Support for block alignment in fixed width
6395         columns.
6396
6397 2002-11-17  John Levon  <levon@movementarian.org>
6398
6399         * BufferView_pimpl.C:
6400         * lyx_cb.C:
6401         * lyxfunc.C: split filedialog into open/save
6402
6403 2002-11-08  Juergen Vigna  <jug@sad.it>
6404
6405         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6406         by my last patch (hopefully).
6407
6408 2002-11-08  John Levon  <levon@movementarian.org>
6409
6410         * iterators.h:
6411         * iterators.C:
6412         * buffer.h:
6413         * buffer.C:
6414         * paragraph.h:
6415         * paragraph.C:
6416         * toc.h:
6417         * toc.C: ParConstIterator, and use it (from Lars)
6418
6419 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6420
6421         * lyxtextclass.[Ch]: revise and add doxygen comments
6422
6423 2002-11-07  John Levon  <levon@movementarian.org>
6424
6425         * text.C: fix progress value for spellchecker
6426
6427         * toc.C: fix navigate menu for insetwrap inside minipage
6428
6429         * paragraph_funcs.C: added FIXME for suspect code
6430
6431 2002-11-07  John Levon  <levon@movementarian.org>
6432
6433         * BufferView_pimpl.C: fix redrawing of insets
6434           on buffer switch
6435
6436 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6437
6438         * text2.C (updateCounters): fix bug 668
6439
6440 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6441
6442         * text3.C (dispatch): Do not make the buffer dirty when moving the
6443         cursor.
6444
6445 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * vc-backend.C: STRCONV
6448         (scanMaster): ditto
6449
6450         * text2.C (setCounter): STRCONV
6451
6452         * paragraph.C (asString): STRCONV
6453
6454         * lyxlength.C (asString): STRCONV
6455         (asLatexString): ditto
6456
6457         * lyxgluelength.C (asString): STRCONV
6458         (asLatexString): ditto
6459
6460         * lyxfunc.C (dispatch): STRCONV
6461         (open): ditto
6462
6463         * lyxfont.C (stateText): STRCONV
6464
6465         * importer.C (Import): STRCONV
6466
6467         * counters.C (labelItem): STRCONV
6468         (numberLabel): ditto
6469         (numberLabel): remove unused ostringstream o
6470
6471         * chset.C: STRCONV
6472         (loadFile): ditto
6473
6474         * bufferview_funcs.C (currentState): STRCONV
6475
6476         * buffer.C (readFile): STRCONV
6477         (asciiParagraph): ditto
6478         (makeLaTeXFile): ditto
6479
6480         * Spacing.C (writeEnvirBegin): STRCONV
6481
6482         * LaTeXFeatures.C (getLanguages): STRCONV
6483         (getPackages): ditto
6484         (getMacros): ditto
6485         (getBabelOptions): ditto
6486         (getTClassPreamble): ditto
6487         (getLyXSGMLEntities): ditto
6488         (getIncludedFiles): ditto
6489
6490         * LaTeX.C: STRCONV
6491         (run): ditto
6492         (scanAuxFile): ditto
6493         (deplog): ditto
6494
6495         * LString.h: add the STRCONV macros
6496
6497         * BufferView_pimpl.C (savePosition): STRCONV
6498         (restorePosition): ditto
6499         (MenuInsertLyXFile): ditto
6500
6501         * vc-backend.C (scanMaster): change from submatch[...] to
6502         submatch.str(...)
6503
6504         * funcrequest.C: include config.h
6505
6506         * factory.C: include config.h
6507
6508         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6509
6510         * box.C: include config.h
6511
6512         * LaTeX.C (scanAuxFile): change from submatch[...] to
6513         submatch.str(...)
6514         (deplog): ditto
6515
6516 2002-10-25  Angus Leeming  <leeming@lyx.org>
6517
6518         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6519
6520         * ispell.[Ch] (setError): new method.
6521         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6522         Use setError() insetead of goto END.
6523
6524         * lyx_cb.C (AutoSave): move out child process into new class
6525         AutoSaveBuffer.
6526
6527 2002-10-30  John Levon  <levon@movementarian.org>
6528
6529         * text3.C: make start appendix undoable
6530
6531 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6532
6533         * lyxlength.C (inPixels): Fix returned value.
6534
6535         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6536         environment.
6537
6538 2002-10-24  Angus Leeming  <leeming@lyx.org>
6539
6540         * lyxgluelength.h: no need to forward declare BufferParams
6541         or BufferView, so don't.
6542
6543 2002-10-21  John Levon  <levon@movementarian.org>
6544
6545         * BufferView.C: menuUndo ->undo, redo
6546
6547         * BufferView.h: document, remove dead, make some methods private
6548
6549         * paragraph_funcs.h:
6550         * paragraph_funcs.C:
6551         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6552
6553         * buffer.h:
6554         * buffer.C:
6555         * sgml.h:
6556         * sgml.C: move sgml open/close tag into sgml.C
6557
6558         * bufferview_funcs.h: unused prototype
6559
6560         * lyxfunc.h:
6561         * lyxfunc.C: remove unused
6562
6563         * lyxtext.h:
6564         * text.C: remove unused
6565
6566 2002-10-21  John Levon  <levon@movementarian.org>
6567
6568         * BufferView.h:
6569         * BufferView.C:
6570         * BufferView_pimpl.h:
6571         * BufferView_pimpl.C: fix mouse wheel handling based on
6572           patch from Darren Freeman
6573
6574 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6575
6576         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6577
6578 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6579
6580         * lyxlength.C (inPixels): Fix hanfling of negative length.
6581         Fix LyXLength::MU case.
6582
6583 2002-10-16  John Levon  <levon@movementarian.org>
6584
6585         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6586
6587 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6588
6589         * converter.C (view): add support for $$i (file name) and $$p
6590         (file path) for the viewer command. If $$i is not specified, then
6591         it is appended to the command (for compatibility with old syntax)
6592
6593 2002-10-14  Juergen Vigna  <jug@sad.it>
6594
6595         * undo_funcs.C (textHandleUndo): alter the order in which the
6596         new undopar is added to the LyXText, as we have to set first
6597         the right prev/next and then add it as otherwise the rebuild of
6598         LyXText is not correct. Also reset the cursor to the right paragraph,
6599         with this IMO we could remove the hack in "redoParagraphs()".
6600
6601 2002-10-09  Angus Leeming  <leeming@lyx.org>
6602
6603         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6604         to turn off an optimisation if a new inset is to be inserted.
6605
6606 2002-10-11 André Pönitz <poenitz@gmx.net>
6607
6608         * lyxtext.h: make some functions public to allow access
6609         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6610
6611 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6612
6613         * text3.C (dispatch): when changing layout, avoid an infinite loop
6614         [bug #652]
6615
6616 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6617
6618         * lyxrc.C (read): treat a viewer or converter command of "none" as
6619         if it were empty.
6620
6621         * MenuBackend.C (expandFormats): for an update, also allow the
6622         formats that are not viewable
6623
6624         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6625         script if it is newer than the lyxrc.defaults in user directory
6626
6627 2002-10-07 André Pönitz <poenitz@gmx.net>
6628
6629         * text.C: Vitaly Lipatov's small i18n fix
6630
6631 2002-09-25  Angus Leeming  <leeming@lyx.org>
6632
6633         * ispell.h: doxygen fix.
6634
6635 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6636
6637         * buffer.h (readFile): Add a new argument to the method, to allow
6638         reading of old-format templates.
6639
6640 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6641
6642         * toc.C (getTocList): Get TOC from InsetWrap.
6643
6644 2002-09-16  John Levon  <levon@movementarian.org>
6645
6646         * lyxfunc.C: check tabular for cut/copy too
6647
6648 2002-09-12  John Levon  <levon@movementarian.org>
6649
6650         * LyXAction.C: tidy
6651
6652         * factory.h:
6653         * factory.C: add header
6654
6655         * paragraph_funcs.h:
6656         * paragraph_funcs.C: cleanup
6657
6658 2002-09-11  John Levon  <levon@movementarian.org>
6659
6660         * PrinterParams.h: odd/even default to true
6661
6662 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6663
6664         * PrinterParams.h: update printer parameters for new xforms dialog
6665
6666 2002-09-11  Angus Leeming  <leeming@lyx.org>
6667
6668         * lyxserver.C (read_ready): re-write to make it more transparent
6669         and to make it work in coherent fashion under Tru64 Unix.
6670
6671 2002-09-11  André Pönitz <poenitz@gmx.net>
6672
6673         * commandtags.h:
6674         * LyXAction.C:
6675         * text3.C: implement LFUN_WORDSEL
6676
6677 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6680         make floatlist_ a boost::shared_ptr<FloatList>
6681
6682         * lyxtextclass.C: include FloatList.h
6683         (LyXTextClass): initialize floatlist_
6684         (TextClassTags): add TC_NOFLOAT
6685         (Read): match "nofloat" to TC_NOFLOAT and use it.
6686         (readFloat): modify call to floatlist_
6687         (floats): ditto
6688         (floats): ditto
6689
6690         * FloatList.[Ch] (FloatList): remove commented out float
6691         initialization.
6692         (erase): new function
6693
6694 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6695
6696         * MenuBackend.C (expandToc): fix crash when there is no document
6697         open
6698
6699 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6700
6701         * many files: Add insetwrap.
6702
6703 2002-09-09  John Levon  <levon@movementarian.org>
6704
6705         * text2.C: remove confusing and awkward depth wraparound
6706
6707 2002-09-09  John Levon  <levon@movementarian.org>
6708
6709         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6710
6711         * buffer.h:
6712         * buffer.C: remove getIncludeonlyList()
6713
6714         * paragraph.C:
6715         * lyxfunc.C: remove headers
6716
6717 2002-09-09  Juergen Vigna  <jug@sad.it>
6718
6719         * text.C (getColumnNearX): fix form Michael this is most
6720         probably a cut&paste bug.
6721
6722 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6723
6724         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6725
6726         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6727         references, ws changes.
6728
6729         * text2.C (init): update counters after init
6730         (insertParagraph): no need to set counter on idividual paragraphs.
6731         (setCounter): access the counters object in the textclass object
6732         on in the buffer object.
6733         (updateCounters): ditto
6734
6735         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6736         shared_ptr<Counters> to avoid loading counters.h in all
6737         compilation units.
6738         (LyXTextClass): initialize ctrs_
6739         (TextClassTags): add TC_COUNTER, and ...
6740         (Read): use it here.
6741         (CounterTags): new tags
6742         (readCounter): new function
6743         (counters): new funtion
6744         (defaultLayoutName): return a const reference
6745
6746         * counters.C (Counters): remove contructor
6747         (newCounter): remove a couple of unneeded statements.
6748         (newCounter): simplify a bit.
6749         (numberLabel): some small formatting changes.
6750
6751         * buffer.[Ch]: remove all traces of counters, move the Counters
6752         object to the LyXTextClass.
6753
6754 2002-09-06  Alain Castera  <castera@in2p3.fr>
6755
6756         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6757         package to set the horizontal alignment on fixed width columns.
6758
6759         * lyx_sty.C:
6760         * lyx_sty.h: added tabularnewline macro def.
6761
6762         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6763
6764 2002-09-06  John Levon  <levon@movementarian.org>
6765
6766         * LyXAction.C: tooltips for sub/superscript
6767
6768         * MenuBackend.C: a bit more verbose
6769
6770         * lyxfunc.C: tiny clean
6771
6772         * undo_funcs.C: document undo_frozen
6773
6774 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6775
6776         * counters.C (Counters): add missing algorithm counter.
6777
6778         * text2.C (setCounter): lookup the counter with layouts latexname
6779         instead of by section number.
6780         (setCounter): use a hackish way to lookup the correct enum
6781         counter.
6782         a float name->type change
6783         reset enum couners with counter name directly instead of depth value.
6784
6785         * counters.C (Counters): remove the push_backs, change to use the
6786         float type not the float name.
6787         (labelItem): remove unused string, float name->type change
6788
6789         * counters.h: don't include vector, loose the enums and sects vectors
6790
6791 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6794         (Read): add float->TC_FLOAT to textclassTags
6795         (Read): and handle it in the switch
6796         (readFloat): new function
6797
6798         * FloatList.C (FloatList): comment out the hardcoded float
6799         definitions.
6800
6801         * lyxlayout.h: ws change.
6802
6803 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6804
6805         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6806
6807 2002-09-03  Angus Leeming  <leeming@lyx.org>
6808
6809         * BufferView_pimpl.h: qualified name is not allowed in member
6810         declaration: WorkArea & Pimpl::workarea() const;
6811
6812         * factory.C: added using std::endl directive.
6813
6814         * text3.C: added using std::find and std::vector directives.
6815
6816 2002-08-29  André Pönitz <poenitz@gmx.net>
6817
6818         * lyxtext.h:
6819         * text2.C: remove unused member number_of_rows
6820
6821         * Makefile.am:
6822         * BufferView2.C: remove file, move contents to...
6823         * BufferView.C: ... here
6824
6825         * BufferView_pimpl.C:
6826         * factory.C: move more inset creation to factory
6827
6828         * vspace.C: avoid direct usage of LyXText, ws changes
6829
6830         * BufferView.[Ch]:
6831                 don't provide direct access to WorkArea, use two simple
6832                 acessors haveSelction() and workHeight() instead
6833
6834
6835 2002-08-29  John Levon  <levon@movementarian.org>
6836
6837         * BufferView_pimpl.C (dispatch): do not continue when
6838           no buffer
6839
6840 2002-08-28  André Pönitz <poenitz@gmx.net>
6841
6842         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6843
6844         * BufferView.h:
6845         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6846
6847 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6848
6849         * buffer.C: increment LYX_FORMAT to 221
6850
6851         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6852         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6853
6854         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6855
6856         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6857
6858 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * factory.C (createInset): use LyXTextClass::floats
6861
6862         * MenuBackend.C (expandFloatListInsert):
6863         (expandFloatInsert):
6864         (expandToc):
6865
6866         * text2.C (setCounter):
6867
6868         * LaTeXFeatures.C (useFloat):
6869         (getFloatDefinitions):
6870
6871         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6872
6873         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6874         floatlist_, with accessor floats().
6875
6876         * FloatList.h: remove global FloatList
6877
6878 2002-08-26  André Pönitz <poenitz@gmx.net>
6879
6880         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6881
6882         * BufferView.h:
6883         * BufferView2.C:
6884         * BufferView_pimpl.C:
6885         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6886
6887 2002-08-25  John Levon  <levon@movementarian.org>
6888
6889         * LyXAction.C: fix margin note description
6890
6891 2002-08-24  John Levon  <levon@movementarian.org>
6892
6893         * buffer.C:
6894         * bufferlist.C:
6895         * bufferview_funcs.C:
6896         * lyxfont.C:
6897         * undo_funcs.C: cleanups
6898
6899         * lyxfunc.C: disable CUT/COPY when no selection
6900
6901 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6902
6903         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6904         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6905
6906         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6907         Add backward compatibility to "mono", "gray" and "no".
6908
6909 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6912         (and file_format >= 200).
6913
6914 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6917
6918 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6919
6920         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6921
6922 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6923
6924         * BufferView_pimpl.C:
6925         * LyXAction.C:
6926         * buffer.C:
6927         * commandtags.h:
6928         * lyxfunc.C:
6929         * paragraph.[Ch]:
6930         * text2.C:
6931         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6932         inset and code to make it  work with the paragraph code. The inset
6933         can be anywhere in the paragraph, but will only do the expected
6934         thing in LaTeX if the layout file contains the parameter line
6935                         OptionalArgs    1
6936         (or more generally, a nonzero value) for that layout.
6937
6938 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * paragraph.h: remove the declaration of undefined counters class
6941         function.
6942
6943 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6944
6945         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6946         Dr. Richard Hawkins.
6947
6948 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6949
6950         * paragraph_funcs.h: remove some unneeded includes
6951
6952         * text.C (backspace): pasteParagraph now in global scipe
6953
6954         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6955         (pasteSelection): ditto
6956
6957         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6958         * paragraph_funcs.C (pasteParagraph): ... here
6959
6960 2002-08-20  André Pönitz <poenitz@gmx.net>
6961
6962         * commandtags.h: new LFUNs for swapping/copying table row/colums
6963
6964         * LyXAction.C:
6965         * lyxfunc.C: support for new lfuns
6966
6967 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * tabular.C:
6970         * buffer.[Ch]: remove NO_COMPABILITY stuff
6971
6972 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * boost.C (throw_exception): new file, with helper function for
6975         boost compiled without exceptions.
6976
6977         * paragraph.h:
6978         * lyxlength.C:
6979         * buffer.C:
6980         * ParameterStruct.h:
6981         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6982
6983         * bufferlist.C (emergencyWriteAll): use boost bind
6984
6985         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6986
6987         * text.C: include paragraph_funcs.h
6988         (breakParagraph): breakParagraph is now in global scope
6989
6990         * paragraph_funcs.[Ch]: new files
6991
6992         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6993         global scope
6994
6995         * buffer.C: include paragraph_funcs.h
6996         (insertStringAsLines): breakParagraph is now in global scope
6997
6998         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6999         paragraph_funcs.C
7000
7001         * CutAndPaste.C: include paragraph_funcs.h
7002         (cutSelection): breakParagraphConservative is now in global scope
7003         (pasteSelection): ditto
7004
7005         * buffer.h: declare oprator== and operator!= for
7006         Buffer::inset_iterator
7007
7008         * bufferlist.C (emergencyWrite): don't use fmt(...)
7009
7010         * text3.C: add using std::endl
7011
7012         * BufferView.C (moveCursorUpdate): remove default arg
7013
7014 2002-08-20  André Pönitz <poenitz@gmx.net>
7015
7016         * buffer.[Ch]: move inline functions to .C
7017
7018         * BufferView2.C:
7019         * BufferView_pimpl.C:
7020         * text.C:
7021         * buffer.[Ch]: use improved inset_iterator
7022
7023         * buffer.C:
7024         * paragraph.[Ch]: write one paragraph at a time
7025
7026 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7027
7028         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7029         style if style is not specified.
7030
7031 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7032
7033         * text2.C (setCounter): when searching for right label for a
7034         caption, make sure to recurse to parent insets (so that a caption
7035         in a minipage in a figure float works) (bug #568)
7036
7037 2002-08-20  André Pönitz <poenitz@gmx.net>
7038
7039         * text3.C: new file for LyXText::dispatch() and helpers
7040
7041         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7042
7043         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7044
7045 2002-08-19  André Pönitz <poenitz@gmx.net>
7046
7047         * lyxtext.h:
7048         * text.C: new LyXText::dispatch()
7049
7050         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7051
7052 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7053
7054         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7055
7056         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7057         Hebrew text.
7058
7059 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7060
7061         * Makefile.am: use $(variables) instead of @substitutions@
7062
7063 2002-08-15  André Pönitz <poenitz@gmx.net>
7064
7065         * lyxfunc.C:
7066         * BufferView_pimpl.C: streamlining mathed <-> outer world
7067         interaction
7068
7069         * commandtags.h:
7070         * LyXAction.C: remove unused LFUN_MATH
7071
7072 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7075
7076 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * paragraph.C (Paragraph): reformat a bit
7079         (cutIntoMinibuffer): use builtin InsetList function instad of
7080         doing it manually.
7081         (getInset): ditto
7082
7083         * buffer.C: include boost/bind.hpp, add using std::for_each
7084         (writeFileAscii): use ParagraphList iterators
7085         (validate): use for_each for validate traversal of paragraphs
7086         (getBibkeyList): use ParagraphList iterators
7087         (resizeInsets): use for_each to resizeInsetsLyXText for all
7088         paragraphs.
7089         (getParFromID): use ParagraphList iterators
7090
7091         * BufferView2.C (lockInset): use paragraph list and iterators
7092
7093 2002-08-14  John Levon  <levon@movementarian.org>
7094
7095         * lyxserver.C: remove spurious xforms include
7096
7097 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7098
7099         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7100
7101 2002-08-13  André Pönitz <poenitz@gmx.net>
7102
7103         * LyXAction.[Ch]:
7104         * lyxfunc.C: further cleaning
7105
7106 2002-08-13  André Pönitz <poenitz@gmx.net>
7107
7108         * funcrequest.h: new constructor
7109
7110         * funcrequest.C: move stuff here from .h
7111
7112         * Makefile.am:
7113         * BufferView_pimpl.C:
7114         * LyXAction.C:
7115         * toc.C:
7116         * lyxfunc.C: subsequent changes
7117
7118         * lyxfunc.h: new view() member function
7119
7120         * lyxfunc.C: subsequent changes
7121
7122 2002-08-13  Angus Leeming  <leeming@lyx.org>
7123
7124         * BufferView2.C:
7125         * BufferView_pimpl.C:
7126         * buffer.C:
7127         * converter.C:
7128         * importer.C:
7129         * lyxfunc.C:
7130         * lyxvc.C:
7131         * toc.C:
7132         * vc-backend.C:
7133         changes due to the changed LyXView interface that now returns references
7134         to member variables not pointers.
7135
7136 2002-08-13  Angus Leeming  <leeming@lyx.org>
7137
7138         * WordLangTuple (word, lang_code): return references to strings,
7139         not strings.
7140
7141         * BufferView.h:
7142         * SpellBase.h:
7143         * lyxtext.h: forward-declare WordLangTuple.
7144
7145         * BufferView2.C:
7146         * ispell.C:
7147         * pspell.C:
7148         * text.C: #include "WordLangTuple.h".
7149
7150         * lyxtext.h:
7151         * text.C: (selectNextWordToSpellcheck): constify return type.
7152
7153 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7154
7155         * buffer.C:
7156         * buffer.h:
7157         * lyxtext.h:
7158         * paragraph.C:
7159         * paragraph_pimpl.h:
7160         * text.C:
7161         * text2.C:
7162         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7163         suggested by Angus.
7164         Made updateCounter always count from start of buffer, and removed
7165         second argument (par).
7166         Reverted floats number display to '#'. Perhaps I'll try again when the
7167         code base is sanitized a bit.
7168
7169 2002-08-12  Angus Leeming  <leeming@lyx.org>
7170
7171         * buffer.[Ch] (getLabelList): constify.
7172
7173 2002-08-07  André Pönitz <poenitz@gmx.net>
7174
7175         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7176
7177         * funcrequest.h: extension to keep mouse (x,y) position
7178
7179 2002-08-12  Juergen Vigna  <jug@sad.it>
7180
7181         * BufferView2.C (insertErrors): forbid undo when inserting error
7182         insets.
7183
7184         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7185
7186 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * ParagraphList.[Ch]: new files
7189
7190         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7191
7192         * BufferView2.C (lockInset): ParagraphList changes
7193         * toc.C: ditto
7194         * text2.C: ditto
7195         * bufferlist.C: ditto
7196         * buffer.h: ditto
7197         * buffer.C: ditto
7198
7199 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7202         unused class variable counter_,
7203
7204         * paragraph.[Ch] (getFirstCounter): delete unused function
7205
7206         * counters.C: include LAssert.h
7207         (reset): add a new function with no arg, change other version to
7208         not have def. arg and to not allow empty arg.
7209
7210         * text2.C (setCounter): remove empty arg from call to Counters::reset
7211
7212 2002-08-11  John Levon  <levon@movementarian.org>
7213
7214         * Makefile.am: add WordLangTuple.h
7215
7216 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7219         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7220
7221         * insets/insettext.C: InsetList changes
7222
7223         * graphics/GraphicsSupport.C (operator()): InsetList changes
7224
7225         * toc.C (getTocList): InsetList changes
7226
7227         * paragraph_pimpl.[Ch]: InsetList changes
7228
7229         * paragraph.[Ch]: InsetList changes
7230
7231         * buffer.C (inset_iterator): InsetList changes
7232         (setParagraph): ditto
7233         * buffer.h (inset_iterator): ditto
7234         * iterators.C (operator++): ditto
7235         * iterators.h: ditto
7236
7237         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7238
7239         * InsetList.[Ch]: new files, most InsetList handling moved out of
7240         paragraph.C.
7241
7242         * BufferView2.C (removeAutoInsets): InsetList changes
7243         (lockInset): ditto
7244         (ChangeInsets): ditto
7245
7246 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * paragraph_pimpl.h (empty): new function
7249
7250         * paragraph.[Ch] (empty): new function
7251
7252         * other files: use the new Paragraph::empty function
7253
7254 2002-08-09  John Levon  <levon@movementarian.org>
7255
7256         * lyxtext.h: remove unused refresh_height
7257
7258 2002-08-09  John Levon  <levon@movementarian.org>
7259
7260         * Makefile.am:
7261         * sgml.h:
7262         * sgml.C:
7263         * buffer.C:
7264         * paragraph.h:
7265         * paragraph.C: move sgml char escaping out of paragraph
7266
7267         * paragraph.h:
7268         * paragraph.C: remove id setter
7269
7270         * buffer.C:
7271         * paragraph.C:
7272         * paragraph_pimpl.C: remove dead tex_code_break_column
7273
7274         * bufferview_funcs.C: small cleanup
7275
7276         * lyxfunc.C: remove dead proto
7277
7278         * lyxtext.h: make some stuff private. Remove some dead stuff.
7279
7280         * lyxgluelength.C: make as[LyX]String() readable
7281
7282 2002-08-08  John Levon  <levon@movementarian.org>
7283
7284         * LyXAction.h:
7285         * LyXAction.C:
7286         * MenuBackend.C:
7287         * ToolbarDefaults.C:
7288         * lyxfunc.C:
7289         * lyxrc.C:
7290         * toc.C: lyxaction cleanup
7291
7292 2002-08-08  John Levon  <levon@movementarian.org>
7293
7294         * BufferView2.C: small cleanup
7295
7296         * lyxfind.h:
7297         * lyxfind.C: move unnecessary header into the .C
7298
7299 2002-08-08  John Levon  <levon@movementarian.org>
7300
7301         * funcrequest.h: just tedious nonsense
7302
7303         * lyx_main.h:
7304         * lyx_main.C: cleanups
7305
7306         * buffer.C:
7307         * vspace.C: remove dead header lyx_main.h
7308
7309 2002-08-07  Angus Leeming  <leeming@lyx.org>
7310
7311         * Paragraph.[Ch]:
7312         * paragraph_pimpl.h:
7313         Forward declare class Counters in paragraph.h by moving the ctrs member
7314         variable into Paragraph::Pimpl.
7315         (counters): new method, returning a reference to pimpl_->ctrs.
7316
7317         * text2.C: ensuing changes.
7318
7319 2002-08-07  John Levon  <levon@movementarian.org>
7320
7321         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7322
7323         * BufferView_pimpl.C: announce X selection on double/triple
7324           click
7325
7326         * lyx_main.C: use correct bool in batch dispatch
7327
7328         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7329
7330 2002-08-07  André Pönitz <poenitz@gmx.net>
7331
7332         * funcrequest.h: new class to wrap a kb_action and its argument
7333
7334         * BufferView.[Ch]:
7335         * BufferView_pimpl[Ch]:
7336         * LaTeX.C:
7337         * LyXAction.[Ch]:
7338         * lyxfunc.[Ch]:
7339         * lyxrc.C: subsequent changes
7340
7341
7342 2002-08-07  John Levon  <levon@movementarian.org>
7343
7344         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7345           document options change.
7346
7347 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7348
7349         * counters.[Ch]
7350         * text2.C
7351         * paragraph.[Ch]
7352         * makefile.am: move counters functionality over from
7353         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7354
7355 2002-08-06  John Levon  <levon@movementarian.org>
7356
7357         * WordLangTuple.h: new file for word + language code tuple
7358
7359         * SpellBase.h:
7360         * pspell.h:
7361         * pspell.C:
7362         * ispell.h:
7363         * ispell.C:
7364         * lyxtext.h:
7365         * text.C:
7366         * text2.C:
7367         * BufferView.h:
7368         * BufferView2.C: use WordLangTuple
7369
7370         * layout.h:
7371         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7372
7373 2002-08-06  John Levon  <levon@movementarian.org>
7374
7375         * lyx_main.C: fix cmdline batch handling
7376
7377 2002-08-06  André Pönitz <poenitz@gmx.net>
7378
7379         * lyxrc.C: set default for show_banner to true
7380
7381 2002-08-06  John Levon  <levon@movementarian.org>
7382
7383         * pspell.C: fix a crash, and allow new aspell to work
7384
7385 2002-08-06  John Levon  <levon@movementarian.org>
7386
7387         * lyxfunc.C:
7388         * kbmap.C: small cleanup
7389
7390         * vspace.h:
7391         * vspace.C: add const
7392
7393 2002-08-05  John Levon  <levon@movementarian.org>
7394
7395         * LyXAction.C: back to tabular-insert
7396
7397 2002-08-04  John Levon  <levon@movementarian.org>
7398
7399         * BufferView.h:
7400         * BufferView.C: cosmetic change
7401
7402         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7403
7404         * bufferlist.C:
7405         * buffer.h:
7406         * buffer.C:
7407         * lyxcb.h:
7408         * lyxcb.C:
7409         * lyxserver.C:
7410         * lyxvc.C:
7411         * vc-backend.C:
7412         * BufferView2.C: purge all "Lyx" not "LyX" strings
7413
7414         * lyxcursor.h:
7415         * lyxcursor.C: attempt to add some documentation
7416
7417         * lyxfunc.C:
7418         * commandtags.h:
7419         * LyXAction.C:
7420         * ToolbarDefaults.C:
7421         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7422           merge with LFUN_TABULAR_INSERT
7423
7424         * Makefile.am:
7425         * SpellBase.h:
7426         * ispell.h:
7427         * ispell.C:
7428         * pspell.h:
7429         * pspell.C: split up i/pspell implementations into separate
7430           files, many cleanups
7431
7432         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7433
7434         * text2.C: some cleanup
7435
7436         * lyxfunc.C: don't check for isp_command == "none" any more, it
7437           didn't make any sense
7438
7439 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7440
7441         * counters.[Ch]
7442         * text2.C
7443         * paragraph.[Ch]
7444         * makefile.am: move counters functionality over
7445         from text2.C/paragraph.[Ch] to counters.[Ch], and
7446         make proper C++.
7447 2002-08-02  John Levon  <levon@movementarian.org>
7448
7449         * buffer.C: s/lyxconvert/lyx2lyx/
7450
7451 2002-08-02  Angus Leeming  <leeming@lyx.org>
7452
7453         * lyxlex.C: revert John's change as it breaks reading of the user
7454         preamble.
7455
7456 2002-08-02  Angus Leeming  <leeming@lyx.org>
7457
7458         * importer.C (Import):
7459         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7460         changes due to LyXView::view() now returning a boost::shared_ptr.
7461
7462 2002-08-02  John Levon  <levon@movementarian.org>
7463
7464         * lyxlex.C: small cleanup
7465
7466 2002-08-02  John Levon  <levon@movementarian.org>
7467
7468         * text2.C (status): small cleanup, no logic change
7469
7470 2002-08-01  John Levon  <levon@movementarian.org>
7471
7472         * buffer.h:
7473         * buffer.C (writeFile): don't output alerts, caller
7474           handles this
7475
7476         * bufferlist.C:
7477         * lyx_cb.C: from above
7478
7479         * lyxfunc.C: allow to open non-existent files
7480
7481 2002-07-31  John Levon  <levon@movementarian.org>
7482
7483         * lyxserver.C: don't let incidental errors get
7484           in the way (errno)
7485
7486 2002-07-30  John Levon  <levon@movementarian.org>
7487
7488         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7489
7490 2002-07-30  John Levon  <levon@movementarian.org>
7491
7492         * lyxserver.h:
7493         * lyxserver.C: remove I/O callback too
7494
7495 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7496
7497         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7498         log.
7499
7500 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * many files: strip,frontStrip -> trim,ltrim,rtrim
7503
7504 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * PrinterParams.h: remove extern containsOnly, and include
7507         support/lstrings.h instead.
7508
7509         * LaTeX.C (scanAuxFile): modify because of strip changes
7510         (deplog): ditto
7511         * buffer.C (makeLaTeXFile): ditto
7512         * bufferparams.C (writeFile): ditt
7513         * lyxfont.C (stateText): ditto
7514         * lyxserver.C (read_ready): ditto
7515         * vc-backend.C (scanMaster): ditto
7516
7517         * BufferView_pimpl.h: ws changes
7518
7519         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7520
7521 2002-07-26  André Pönitz <poenitz@gmx.net>
7522
7523         * kb_sequence.C: remove unnedred usings
7524
7525 2002-07-26  Juergen Vigna  <jug@sad.it>
7526
7527         * lyxfind.C (LyXReplace): we have to check better if the returned
7528         text is not of theLockingInset()->getLockingInset().
7529
7530 2002-07-25  Juergen Vigna  <jug@sad.it>
7531
7532         * lyxfind.C (LyXReplace): don't replace if we don't get the
7533         right LyXText.
7534
7535         * undo_funcs.C (createUndo): remove debugging code.
7536
7537 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7538
7539         * buffer.C (parseSingleLyXformat2Token): Use default placement
7540         when reading old floats.
7541
7542         * FloatList.C (FloatList): Change the default placement of figure
7543         and tables to "tbp".
7544
7545 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7546
7547         * MenuBackend.C: using std::max
7548
7549 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * MenuBackend.C (expandToc):
7552         (expandToc2): code moved from xforms menu frontend. It is now
7553         generic and TOCs are transparent to menu frontends.
7554
7555 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7556
7557         * toc.C (getTocList): protect against buf=0
7558
7559         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7560         Menu as first parameter. Now, this calls itself recursively to
7561         expand a whole tree (this will be useful for TOC handling)
7562         (expandFloatInsert): remove 'wide' version of floats
7563
7564         * MenuBackend.h (submenuname): returns the name of the submenu.
7565         (submenu): returns the submenu itself, provided it has been
7566         created by MenuBackend::expand
7567
7568 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7569
7570         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7571         insets which have noFontChange == true. (bug #172)
7572
7573 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7574
7575         * BufferView_pimpl.C: add connection objects and use them...
7576         (Pimpl): here.
7577
7578 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * MenuBackend.C (expandLastfiles):
7581         (expandDocuments):
7582         (expandFormats):
7583         (expandFloatListInsert):
7584         (expandFloatInsert):
7585         (expand): split expand in parts
7586
7587 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * lyx_gui.C: use lyx_gui::exit()
7590
7591 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7592
7593         * LyXAction.C: show the failing pseudo action
7594
7595 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7596
7597         * buffer.C (readFile): Run the lyxconvert script in order to read
7598         old files.
7599
7600 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * LyXAction.C:
7603         * commandtags.h:
7604         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7605
7606 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7607
7608         * LyXAction.C:
7609         * commandtags.h:
7610         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7611
7612 2002-07-22  Herbert Voss  <voss@lyx.org>
7613
7614         * lengthcommon.C:
7615         * lyxlength.[Ch]: add support for the vertical lengths
7616
7617 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * toc.[Ch]: std:: fixes
7620
7621 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7622
7623         * lyxrc.C: do not include lyx_main.h
7624
7625         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7626         for layouts
7627
7628         * lyxrc.C:
7629         * encoding.C:
7630         * bufferlist.C:
7631         * BufferView2.C: include "lyxlex.h"
7632
7633         * tabular.h:
7634         * bufferparams.h: do not #include "lyxlex.h"
7635
7636         * lyxtextclasslist.C (Add): remove method
7637         (classlist): renamed to classlist_
7638
7639         * paragraph_pimpl.C:
7640         * paragraph.C:
7641         * text2.C:
7642         * CutAndPaste.C:
7643         * bufferview_funcs.C:
7644         * bufferlist.C:
7645         * text.C:
7646         * LaTeXFeatures.C:
7647         * buffer.C:
7648         * toc.C (getTocList): use BufferParams::getLyXTextClass
7649
7650         * toc.C (getTocList): use InsetFloat::addToToc
7651
7652         * toc.[Ch]: new files, containing helper functions to handle table
7653         of contents
7654
7655         * lyxfunc.C (dispatch): no need to remove spaces around command
7656         given as a string
7657         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7658         first command of the sequence; it is not very clever, but I do not
7659         have a better idea, actually
7660
7661         * LyXAction.C (LookupFunc): make sure to remove space at the
7662         beginning and end of the command
7663
7664 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7665
7666         * MenuBackend.C (getMenubar): new method: return the menubar of
7667         this menu set
7668         (read): treat differently reading of menu and menubar (in
7669         particular, the menubar has no name now)
7670         (Menu::menubar): remove
7671
7672         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7673         saving is finished
7674
7675 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7676
7677         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7678         a bibitem inset in a RTL paragraph.
7679
7680 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7681
7682         * paragraph_pimpl.C: constify
7683
7684         * BufferView_pimpl.C:
7685         * LaTeX.C:
7686         * lyxfunc.C: fix dispatch in a nicer way
7687
7688 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7689
7690         * lyxfunc.C (dispatch):
7691         * BufferView_pimpl.C:
7692         * BufferView_pimpl.h:
7693         * BufferView.C:
7694         * BufferView.h: rename Dispatch() to dispatch()
7695
7696         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7697
7698         * lyxlayout.C (Read): honor DependsOn tag
7699
7700         * lyxlayout.[Ch] (depends_on): new method
7701
7702         * version.C.in: update lyx_docversion
7703
7704         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7705
7706         * paragraph.C (validate): remove from here...
7707         * paragraph_pimpl.C (validate): ... and move here
7708         (isTextAt): make it const
7709
7710         * buffer.C (getLists): ws cleanup
7711
7712 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7713
7714         * language.C (read): Use iso8859-1 encoding in latex_lang
7715         (this prevents LyX from crashing when using iso10646-1 encoding).
7716
7717 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7718
7719         * text2.C (toggleInset): if cursor is inside an inset, close the
7720         inset and leave cursor _after_ it
7721
7722 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7723
7724         * lyxfunc.C: move minibuffer completion handling out of here
7725
7726 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7727
7728         * BufferView_pimpl.C:
7729         * LaTeX.C: fix dispatch calls
7730
7731 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7732
7733         * text.C (drawChars): Fix Arabic text rendering.
7734
7735 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7736
7737         * LyXAction.C:
7738         * commandtags.h:
7739         * lyxfunc.C: remove message-push/pop
7740
7741         * lyxserver.C:
7742         * lyxfunc.h:
7743         * lyxfunc.C: rationalise some code by removing verboseDispatch
7744           in favour of a bool argument to dispatch()
7745
7746 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7747
7748         * lyx_main.C (init): make sure to read symlinks as absolute paths
7749
7750 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7751
7752         * lyxfunc.h:
7753         * lyxfunc.C: no need for commandshortcut to be a member
7754
7755 2002-07-15  André Pönitz <poenitz@gmx.net>
7756
7757         * converter.C: add support for $$s (scripts from lib/scripts dir)
7758         * lyx_main.C: white space
7759
7760 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7761
7762         * bufferlist.C:
7763         * lyxrc.h:
7764         * lyxrc.C: remove second exit confirmation
7765
7766 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7767
7768         * BufferView.h:
7769         * BufferView.C:
7770         * BufferView2.C:
7771         * BufferView_pimpl.h:
7772         * BufferView_pimpl.C:
7773         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7774
7775 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7776
7777         * MenuBackend.C (expand): add numeric shortcuts to document menu
7778
7779         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7780
7781 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7782
7783         * lyxfont.C (setLyXFamily):
7784         (setLyXSeries):
7785         (setLyXShape):
7786         (setLyXSize):
7787         (setLyXMisc):
7788         (lyxRead):
7789         * debug.C (value):
7790         * buffer.C (asciiParagraph): use ascii_lowercase
7791
7792 2002-07-15  Mike Fabian  <mfabian@suse.de>
7793
7794         * lyxlex_pimpl.C (search_kw):
7795         * lyxlex.C (getLongString):
7796         * converter.h (operator<):
7797         * converter.C (operator<):
7798         * buffer.C (parseSingleLyXformat2Token):
7799         (asciiParagraph):
7800         * ToolbarDefaults.C (read):
7801         * MenuBackend.C (checkShortcuts):
7802         (read):
7803         * LColor.C (getFromGUIName):
7804         (getFromLyXName): use the compare_ascii_no_case instead of
7805         compare_no_case, because in turkish, 'i' is not the lowercase
7806         version of 'I', and thus turkish locale breaks parsing of tags.
7807
7808 2002-07-16  Angus Leeming  <leeming@lyx.org>
7809
7810         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7811         now takes a Buffer const & argument.
7812
7813 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * BufferView.C (resize): check there's a buffer to resize
7816
7817 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7818
7819         * lyxfunc.C: remove dead code
7820
7821         * lyxserver.h:
7822         * lyxserver.C: use lyx_guii::set_read_callback
7823
7824 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7825
7826         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7827         an inset in a RTL paragraph.
7828
7829 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7830
7831         * lyxfunc.C: repaint after a font size update
7832
7833 2002-07-15  André Pönitz <poenitz@gmx.net>
7834
7835         * lyxlength.C: inBP should be able to return negative values
7836
7837 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7838
7839         * lyxfunc.C: use lyx_gui::update_fonts()
7840
7841 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7842
7843         * lyxfunc.C: use lyx_gui::update_color()
7844
7845 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7846
7847         * bufferlist.C:
7848         * lyxfunc.h:
7849         * lyxfunc.C:
7850         * lyxrc.h:
7851         * lyxrc.C: remove file->new asks for name option, and let
7852           buffer-new take an argument
7853
7854 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7855
7856         * BufferView_pimpl.C: remove unneeded extra repaint()
7857
7858 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7859
7860         * LyXAction.C: allow command-sequence with NoBuffer
7861
7862         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7863
7864 2002-07-10  Angus Leeming  <leeming@lyx.org>
7865
7866         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7867
7868 2002-07-09  Angus Leeming  <leeming@lyx.org>
7869
7870         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7871
7872 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7873
7874         * lengthcommon.h: whitespace
7875
7876         * lyxfunc.C: update scrollbar after goto paragraph
7877
7878         * lyxtext.h: factor out page break drawing, and fix it so
7879           page break/added space paints as selected nicely
7880
7881 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * BufferView_pimpl.C: add FIXMEs, clean up a little
7884
7885 2002-07-09  André Pönitz <poenitz@gmx.net>
7886
7887         * lyxfont.[Ch]: support for wasy symbols
7888
7889 2002-07-08  André Pönitz <poenitz@gmx.net>
7890
7891         * BufferView_pimpl.C: apply John's patch for #93.
7892
7893 2002-07-05  Angus Leeming  <leeming@lyx.org>
7894
7895         * BufferView_pimpl.C (buffer): generate previews if desired.
7896
7897         * LColor.h: add "preview" to the color enum.
7898
7899         * LColor.C (LColor): add a corresponding entry to the items array.
7900
7901         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7902         with this buffer.
7903
7904 2002-07-05  Angus Leeming  <leeming@lyx.org>
7905
7906         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7907         The body of the code is now in the method that is passed an ostream &
7908         rather than a file name.
7909         Pass an additional only_preamble parameter, useful for the forthcoming
7910         preview stuff.
7911
7912 2002-07-03  André Pönitz <poenitz@gmx.net>
7913
7914         * lyxfunc.C: simplify getStatus() a bit for math stuff
7915
7916 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7917
7918         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7919
7920 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7921
7922         * text.C (changeRegionCase): do not change case of all the
7923         document when region ends at paragraph end (bug #461)
7924
7925 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * paragraph.C (startTeXParParams):
7928         (endTeXParParams): add \protect when necessary
7929
7930 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7931
7932         * BufferView_pimpl.C (workAreaExpose): remove warning
7933
7934 2002-06-27  Angus Leeming  <leeming@lyx.org>
7935
7936         * Makefile.am: add lyxlayout_ptr_fwd.h.
7937
7938 2002-06-26  André Pönitz <poenitz@gmx.net>
7939
7940         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7941
7942 2002-06-25  Angus Leeming  <leeming@lyx.org>
7943
7944         * lyxfunc.C (dispatch): Comment out the call to
7945         grfx::GCache::changeDisplay. The method no longer exists now that the
7946         pixmap generation part of the graphics loader has been moved into
7947         InsetGraphics.
7948
7949 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7950
7951         * text2.C: layout as layout
7952
7953         * text.C: layout as layout
7954
7955         * tabular.C (OldFormatRead): layout as layout
7956
7957         * paragraph_pimpl.C (TeXDeeper): layout as layout
7958         (realizeFont): layout as layout
7959
7960         * paragraph.C (writeFile): layout as layout
7961         (validate): layout as layout
7962         (getFont): layout as layout
7963         (getLabelFont): layout as layout
7964         (getLayoutFont): layout as layout
7965         (breakParagraph): layout as layout
7966         (stripLeadingSpaces): layout as layout
7967         (getEndLabel): layout as layout
7968         (getMaxDepthAfter): layout as layout
7969         (applyLayout): layout as layout
7970         (TeXOnePar): layout as layout
7971         (simpleTeXOnePar): layout as layout
7972         (TeXEnvironment): layout as layout
7973         (layout): layout as layout
7974         (layout): layout as layout
7975
7976         * lyxtextclass.C (compare_name): new functor to work with
7977         shared_ptr, layout as layout
7978         (Read): layout as layout
7979         (hasLayout): layout as layout
7980         (operator): layout as layout
7981         (delete_layout): layout as layout
7982         (defaultLayout): layout as layout
7983
7984         * lyxlayout_ptr_fwd.h: new file
7985
7986         * lyxlayout.C (Read): layout as layout
7987
7988         * lyx_cb.C (MenuInsertLabel): layout as layout
7989
7990         * bufferlist.C (newFile): layout as layout
7991
7992         * buffer.C (readLyXformat2): layout as layout
7993         (parseSingleLyXformat2Token): layout as layout
7994         (insertStringAsLines): layout as layout
7995         (asciiParagraph): layout as layout
7996         (latexParagraphs): layout as layout
7997         (makeLinuxDocFile): layout as layout
7998         (simpleLinuxDocOnePar): layout as layout
7999         (makeDocBookFile): layout as layout
8000         (simpleDocBookOnePar): layout as layout
8001         (getLists): layout as layout
8002
8003         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8004
8005         * CutAndPaste.C (cutSelection): layout as layout
8006         (pasteSelection): layout as layout
8007         (SwitchLayoutsBetweenClasses): layout as layout
8008
8009         * BufferView_pimpl.C (Dispatch): layout as layout
8010         (smartQuote): layout as layout
8011
8012         * BufferView2.C (unlockInset): layout as layout
8013
8014 2002-06-24  André Pönitz <poenitz@gmx.net>
8015
8016         * lyxfunc.C: fix #487
8017
8018 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * lyxrc.h:
8021         * lyxrc.C:
8022         * lyxfunc.C: remove display_shortcuts, show_banner
8023
8024 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * Buffer_pimpl.C: oops, update on resize
8027
8028 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8029
8030         * buffer.C:
8031         * converter.C:
8032         * exporter.C:
8033         * lyxfunc.C:
8034         * BufferView.h:
8035         * BufferView.C: use repaint()
8036
8037         * BufferView_pimpl.h:
8038         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8039           as it's a clearer description. Remove superfluous
8040           redraws.
8041
8042 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * text.C: fix bug 488. Not ideal, but getting
8045           getWord() to work properly for the insets that
8046           matter is more difficult ...
8047
8048 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * BufferView_pimpl.C:
8051         * LyXAction.C:
8052         * commandtags.h:
8053         * lyxfunc.C: remove the six million index lyxfuncs to just
8054           one, and DTRT (bug 458)
8055
8056 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8057
8058         * BufferView.h:
8059         * BufferView.C:
8060         * BufferView_pimpl.h:
8061         * BufferView_pimpl.C: clean up resize() stuff,
8062           and unnecessary updateScreen()s
8063
8064 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8065
8066         * BufferView.h:
8067         * BufferView.C:
8068         * BufferView_pimpl.h:
8069         * BufferView_pimpl.C:
8070         * lyxfind.h:
8071         * lyxfind.C:
8072         * minibuffer.C: remove focus management of workarea,
8073           not needed. Use screen's greyOut()
8074
8075 2002-06-17  Herbert Voss  <voss@lyx.org>
8076
8077         * converter.C: (convert) do not post a message, when converting
8078         fails, let the calling function decide what to do in this case
8079
8080 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * lyxfunc.C: tidy up a little
8083
8084 2002-06-16    <alstrup@diku.dk>
8085
8086         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8087         Got rid of FORMS_H_LOCATION include. Now we are
8088         GUII.
8089
8090 2002-06-15  LyX Development team  <lyx@rilke>
8091
8092         * buffer.[Ch] (sgmlOpenTag):
8093         (sgmlCloseTag): Added support for avoiding pernicious mixed
8094         content. Return number of lines written.
8095
8096         (makeLinuxDocFile):
8097         (makeDocBookFile): Fixed calls to sgml*Tag.
8098         Simple white space clean.
8099
8100         (simpleDocBookOnePar): Simple white space clean.
8101
8102         * tabular.[Ch] (docBook): Renamed to docbook and got another
8103         argument to related with the pernicious mixed content.
8104
8105         (docbookRow): Fixed calls for docbook inset method.
8106
8107 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8108
8109         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8110         so it's X11 independent.
8111
8112         * kb*.[Ch]: ditto.
8113
8114         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8115
8116 2002-06-15  Lyx Development team  <lyx@electronia>
8117
8118         * intl.h: Renamed getTrans to getTransManager.
8119
8120 2002-06-14  Angus Leeming  <leeming@lyx.org>
8121
8122         * Makefile.am: nuke forgotten stl_string_fwd.h.
8123
8124 2002-06-12  Angus Leeming  <leeming@lyx.org>
8125
8126         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8127
8128 2002-06-13  Angus Leeming  <leeming@lyx.org>
8129
8130         * LaTeX.C:
8131         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8132
8133 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8134
8135         * kbmap.C (getiso): add support for cyrillic and greek
8136
8137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * BufferView.h:
8140         * BufferView.C:
8141         * BufferView_pimpl.h:
8142         * BufferView_pimpl.C: move bogus scrolling logic
8143           to xforms
8144
8145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8146
8147         * lyxfunc.C:
8148         * BufferView_pimpl.C: view->resize() change
8149
8150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * BufferView_pimpl.C: topCursorVisible
8153           prototype change
8154
8155 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8156
8157         * Makefile.am:
8158         * lyx_gui.h:
8159         * lyx_gui.C: move to frontends/
8160
8161         * main.C:
8162         * lyx_main.h:
8163         * lyx_main.C: changes from above
8164
8165 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * intl.C:
8168         * intl.h:
8169         * kbmap.C:
8170         * kbsequence.C:
8171         * lyx_cb.C:
8172         * lyx_main.C: minor tidy
8173
8174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * BufferView_pimpl.h:
8177         * BufferView_pimpl.C:
8178         * BufferView.h:
8179         * BufferView.C: make painter() const,
8180           remove dead code
8181
8182         * BufferView2.C: use screen() accessor
8183
8184         * lyx_main.h:
8185         * lyx_main.C: some minor cleanup
8186
8187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * BufferView_pimpl.h:
8190         * BufferView_pimpl.C: remove enter/leaveView,
8191           use workHeight()
8192
8193 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * BufferView.h:
8196         * BufferView.C:
8197         * BufferView2.C:
8198         * BufferView_pimpl.h:
8199         * BufferView_pimpl.C: only construct screen once,
8200           rename
8201
8202         * lyxrc.C: remove pointless comment
8203
8204 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * BufferView.h:
8207         * BufferView.C: remove active() and belowMouse()
8208
8209         * BufferView_pimpl.h:
8210         * BufferView_pimpl.C: use workarea() not workarea_,
8211           and make it use a scoped_ptr instead
8212
8213 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * lyx_gui.C: add debug message on BadWindow
8216
8217 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8218
8219         * sp_spell.C: fdopen is not part of the C++ standard.
8220
8221         * paragraph.C (InsetIterator): use >= instead of ==
8222
8223 2002-06-07  Angus Leeming  <leeming@lyx.org>
8224
8225         Fixes needed to compile with Compaq cxx 6.5.
8226         * BufferView_pimpl.C:
8227         * DepTable.C:
8228         * buffer.C:
8229         * converter.C:
8230         * encoding.C:
8231         * lyx_gui.C:
8232         * lyx_main.C:
8233         * lyxtextclasslist.C:
8234         * minibuffer.C:
8235         * sp_spell.C:
8236         * tabular_funcs.C:
8237         * vc-backend.C:
8238         all c-library variables have been moved into namespace std. Wrap
8239         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8240
8241         * lyxlength.C:
8242         * tabular-old.C:
8243         * tabular.C:
8244         Add a using std::abs declaration.
8245
8246         * kbmap.h (modifier_pair):
8247         * paragraph.h (InsetTable, InsetList):
8248         * lyxfont.h (FontBits):
8249         type definition made public.
8250
8251         * bufferlist.C (emergencyWriteAll): the compiler complains that
8252         there is more than one possible lyx::class_fun template to choose from.
8253         I re-named the void specialisation as lyx::void_class_fun.
8254
8255         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8256
8257         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8258         the compiler is is unable to find tostr in write_attribute.
8259
8260 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * buffer.C (sgmlError): hide #warning
8263
8264 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * xtl/*: get rid of xtl, which is not in use anyway
8267
8268         * LyXAction.C (init):
8269         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8270         were unimplemented xtl experimentation
8271
8272 2002-06-04  André Pönitz <poenitz@gmx.net>
8273
8274         * lyxfunc.C: disable array operation on simple formulae
8275
8276 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * converter.C: constify a bit
8279
8280 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8281
8282         * lyx_gui.C: check xforms version correctly
8283
8284 2002-04-30  Herbert Voss  <voss@lyx.org>
8285
8286         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8287         "keep" option
8288
8289 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8290
8291         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8292           attempt to register it with a VCS)
8293
8294 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8295
8296         * lyx_main.C (init): honor variables LYX_DIR_13x and
8297         LYX_USERDIR_13x
8298
8299 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8300
8301         * buffer.h:
8302         * buffer.C:
8303         * lyx_main.C: fix a crash on bad command line,
8304           and give a useful exit status on error
8305
8306         * lyxfunc.C (doImport): allow -i lyx to work
8307
8308 2002-03-30  André Pönitz <poenitz@gmx.net>
8309
8310         * lyxfunc.C: mathed font changes
8311
8312 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * LaTeX.C:
8315         * importer.h:
8316         * importer.C:
8317         * lyx_sty.h:
8318         * lyx_sty.C:
8319         * lyxlex.C:
8320         * lyxrow.h:
8321         * lyxtext.h:
8322         * paragraph.h:
8323         * paragraph.C:
8324         * texrow.h:
8325         * texrow.C:
8326         * text.C:
8327         * trans_mgr.h: srcdocs, and some minor cleanups
8328
8329 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8332         call getFont all the time)
8333
8334 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * switch from SigC signals to boost::signals
8337
8338 2002-05-29  André Pönitz <poenitz@gmx.net>
8339
8340         * paragraph_pimpl.C (getChar): don't call size() too often...
8341
8342 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * paragraph_pimpl.C (insertChar): do not try to update tables when
8345         appending (pos == size())
8346
8347         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8348         in order to reduce drastically the number of comparisons needed to
8349         parse a large document
8350
8351 2002-05-29  André Pönitz <poenitz@gmx.net>
8352
8353         * text.C:
8354         * text2.C:
8355         * lyxtextclass.C:
8356         * sp_pspell.h:
8357         * textclasslist.[Ch]:
8358         * sp_ispell.h: whitespace change
8359
8360 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8361
8362         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8363         lyxaction directly now.
8364
8365 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8366
8367         * trans.C:
8368         * lyxfont.C:
8369         * lyxvc.C: remove unused headers
8370
8371 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * Makefile.am:
8374         * buffer.h:
8375         * undostack.h:
8376         * undostack.C:
8377         * undo_funcs.h:
8378         * undo_funcs.C: some cleanups. Use shared_ptr
8379           and a template for the undo stacks.
8380
8381 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8382
8383         * BufferView_pimpl.h:
8384         * BufferView_pimpl.C:
8385         * kbmap.h:
8386         * kbmap.C:
8387         * kbsequence.h:
8388         * kbsequence.C:
8389         * lyxfunc.h:
8390         * lyxfunc.C:
8391         * text2.C: use key_state/mouse_state
8392
8393 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8394
8395         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8396         and LSubstring
8397
8398         * chset.C: change include order
8399         (loadFile): use boost regex and get rid of LRegex and LSubstring
8400
8401         * Makefile.am (BOOST_LIBS): new variable
8402         (lyx_LDADD): use it
8403
8404         * LaTeX.C: change include order.
8405         (scanAuxFile): use boost regex and get rid of LRegex and
8406         LSubstring
8407         (deplog): ditto
8408
8409 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * ColorHandler.h:
8412         * ColorHandler.C:
8413         * FontInfo.h:
8414         * FontInfo.C: moved to frontends/xforms/
8415
8416         * FontLoader.h:
8417         * FontLoader.C: moved into frontends for GUIIzation
8418
8419         * Makefile.am:
8420         * lyx_gui.C:
8421         * lyxfont.C:
8422         * lyxfunc.C: changes from above
8423
8424 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * LColor.C: remove spurious X include
8427
8428         * BufferView_pimpl.C:
8429         * Makefile.am:
8430         * font.h:
8431         * font.C:
8432         * text.C:
8433         * text2.C: move font metrics to frontends/
8434
8435 2002-05-24  Juergen Vigna  <jug@sad.it>
8436
8437         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8438         setting the undo_cursor.
8439
8440         * ParagraphParameters.h: include local includes first.
8441
8442 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8443
8444         * BufferView_pimpl.C:
8445         * BufferView_pimpl.h:
8446         * Makefile.am:
8447         * WorkArea.h:
8448         * WorkArea.C:
8449         * screen.C: move WorkArea into frontends/
8450
8451         * lyxscreen.h:
8452         * screen.C:
8453         * text.C:
8454         * BufferView.C:
8455         * BufferView2.C: move LyXScreen into frontends/
8456
8457         * lyxlookup.h:
8458         * lyxlookup.C:
8459         * lyx_gui.C: move lyxlookup into frontends/xforms/
8460
8461 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * BufferView2.C:
8464         * BufferView_pimpl.C:
8465         * FontLoader.C:
8466         * LyXView.h:
8467         * LyXView.C:
8468         * Makefile.am:
8469         * WorkArea.C:
8470         * XFormsView.h:
8471         * XFormsView.C:
8472         * buffer.C:
8473         * bufferlist.C:
8474         * bufferview_funcs.C:
8475         * converter.C:
8476         * importer.C:
8477         * lyx_cb.C:
8478         * lyx_gui.C:
8479         * lyx_main.C:
8480         * lyx_find.C:
8481         * lyxfunc.C:
8482         * lyxvc.C:
8483         * minibuffer.C:
8484         * text.C:
8485         * text2.C:
8486         * trans.C:
8487         * vc-backend.C: move LyX/XFormsView into frontends/
8488
8489 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * Makefile.am:
8492         * PainterBase.C:
8493         * PainterBase.h:
8494         * Painter.C:
8495         * Painter.h:
8496         * WorkArea.C:
8497         * WorkArea.h:
8498         * screen.C:
8499         * tabular.C:
8500         * text.C:
8501         * text2.C: move Painter to frontends/
8502
8503 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8504
8505         * buffer.C: comment out some some code that depend upon lyx_format
8506         < 220
8507
8508         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8509         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8510
8511         * buffer.h (NO_COMPABILITY): turn off compability
8512
8513         * ColorHandler.C: include scoped_array.hpp
8514
8515         * font.C: Use more specific smart_ptr header.
8516         * Painter.C: ditto
8517         * gettext.C: ditto
8518         * ShareContainer.h: ditto
8519         * lyx_main.h: ditto
8520         * kbmap.h: ditto
8521         * FontInfo.h: ditto
8522         * BufferView_pimpl.h: ditto
8523         * ColorHandler.h: ditto
8524
8525         * kbmap.C (defkey): change call to shared_ptr::reset
8526
8527 2002-05-21  Juergen Vigna  <jug@sad.it>
8528
8529         * buffer.C (insertErtContents): fix to insert ert asis if it is
8530         non empty. Skip it completely if it contains only whitespaces.
8531
8532 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8533
8534         * BufferView_pimpl.C:
8535         * BufferView2.C: clear selection on paste (bug 393)
8536
8537 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8538
8539         * DepTable.C: include ctime
8540
8541 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8542
8543         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8544
8545 2002-05-14  Juergen Vigna  <jug@sad.it>
8546
8547         * text.C (breakParagraph): fixed function to honor the keepempty
8548         layout in the right maner and also to permit the right breaking
8549         algorithm on empty or non empyt keepempty paragraphs.
8550
8551         * paragraph.C (breakParagraph): we have to check also if the par
8552         is really empty (!size()) for isempty otherwise we do the wrong
8553         paragraph break.
8554
8555 2002-05-10  Juergen Vigna  <jug@sad.it>
8556
8557         * buffer.[Ch] : The following are only changes to the ert
8558         compatibility read reading old LaTeX layout and font stuff and
8559         convert it to ERTInsets.
8560
8561         * buffer.h: added isErtInset().
8562
8563         * buffer.C (struct ErtComp): add a fromlayout bool to check
8564         if we're inside a LaTeX layout.
8565         (isErtInset): new helper function.
8566         (insertErtContents): look for other ert insets before this one
8567         and insert the contents there, so that we don't have subsequent
8568         ERT insets with nothing between them. This way we create only one
8569         inset with multiple paragraphs. Also check if we don't insert only
8570         spaces ' ' as they are ignored anyway afterwards in the .tex file
8571         so if we have only spaces we will ignore this latex part in the
8572         new file.
8573         (parseSingleLyXformat2Token \\layout): better compatibility when
8574         reading layout-latex stuff.
8575         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8576         language tag.
8577         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8578         stuff after reading the inset only get the information back from
8579         the stack.
8580
8581 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8582
8583         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8584
8585         * LaTeXFeatures.C (getBabelOptions): New method.
8586
8587 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8588
8589         * BufferView_pimpl.C (Dispatch): work around missing argument for
8590         'layout'
8591
8592 2002-05-08  Juergen Vigna  <jug@sad.it>
8593
8594         * text.C (leftMargin): handle paragraph leftindent.
8595
8596         * paragraph.C (writeFile): write the new \\leftindent tag.
8597         (validate): handle leftindent code.
8598         (TeXEnvironment): handle paragraphleftindent code again.
8599
8600         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8601
8602         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8603         for paragrap_extra indent code and new token \\leftindent.
8604         (latexParagraphs): handle the leftindent as environment.
8605
8606         * ParameterStruct.h: added leftindent support.
8607
8608         * ParagraphParameters.C (leftIndent): added support functions for
8609         the paragraph left indent.
8610
8611         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8612         more appropriate.
8613
8614 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8617         inside insetERT.
8618
8619         * text.C (computeBidiTables): No bidi in insetERT.
8620
8621         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8622         in RTL documents.
8623
8624 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8625
8626         * version.C.in: pre 5
8627
8628 2002-05-02  José Matos  <jamatos@fep.up.pt>
8629         * buffer.C (makeDocBookFile): white space changes, add newline to
8630         command styles.
8631         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8632
8633         * tabular.C (docBook): fix typo.
8634
8635 2002-05-03  Juergen Vigna  <jug@sad.it>
8636
8637         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8638         change in LyXText as we can not be sure it was not freed.
8639         (drawOneRow): remove unused code.
8640
8641         * text.C (drawInset): redo the calculation of the need_break_row as
8642         it could have a row which was already freed.
8643         (draw): look at the return value of drawInset and return false if
8644         it also returned false.
8645         (paintRowText): look at the return value of draw and return false if
8646         it also returned false.
8647
8648         * lyxtext.h: added bool return type to drawInset() and draw() so that
8649         if we have a change in the row so that the rowbreak has to be redone
8650         we abort drawing as it will be called again.
8651
8652 2002-05-02  Juergen Vigna  <jug@sad.it>
8653
8654         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8655         a change in the maintext also if we're inside an inset.
8656         (Dispatch): set the cursor again after a break line and after the
8657         screen has been updated as it could be we're in a different row.
8658
8659         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8660         to set the cursor behind the pargraph with > size().
8661         (setCursor): check also for the same paragraph when checking where
8662         to put the cursor if we have a NFR inset.
8663
8664         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8665         parts of layout read further up as it still was in the wrong
8666         position.
8667
8668 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8669
8670         * screen.C (drawFromTo): change sine fullRebreak always return
8671         true.
8672
8673         * buffer.C (parseSingleLyXformat2Token): reindent some
8674
8675         * BufferView_pimpl.C (update): change since fullRebreak always
8676         return true.
8677         (Dispatch): git rid of the last hardcoded "Standard"s.
8678
8679 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8680
8681         * text2.[Ch] (fullRebreak): make it return void now that we always
8682         returned true.
8683
8684 2002-04-30  Juergen Vigna  <jug@sad.it>
8685
8686         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8687         ert compatibility check for "latex" layout.
8688
8689 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8690
8691         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8692         minipages: use col% instead of p%, and also use the current font.
8693         (makeLaTeXFile): Fix use babel condition.
8694         (parseSingleLyXformat2Token): Correct font when reading old floats.
8695
8696 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8697
8698         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8699         inserting list of floats.
8700
8701 2002-04-25  Herbert Voss  <voss@lyx.org>
8702
8703         * MenuBackend.C (expand): don't add the graphics extensions to the
8704         export menu
8705
8706 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8707
8708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8709         non-existing layout, do not complain if it was the default layout
8710         of the original class (bug #342)
8711
8712 2002-04-24  Juergen Vigna  <jug@sad.it>
8713
8714         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8715         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8716
8717 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8718
8719         * buffer.C (getBibkeyList): If using \bibliography, return the
8720         option field with the reference itself. Enables us to provide natbib
8721         support when using \bibliography.
8722
8723 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8724
8725         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8726
8727         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8728         natbib is provided by the LaTeX class.
8729
8730 2002-04-23  Juergen Vigna  <jug@sad.it>
8731
8732         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8733         Wakeup functions.
8734
8735         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8736
8737 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8740
8741         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8742         ensuremath around textordmasculine, textordfeminine and
8743         textdegree.
8744
8745 2002-04-19  Juergen Vigna  <jug@sad.it>
8746
8747         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8748         reinitializing the buffer otherwise row-dimensions may be wrong.
8749         (update): reset also the selection cursors if they do exits otherwise
8750         their x/y positions may be wrong.
8751
8752         * text2.C (cursorDown): don't enter the inset if we came from a row
8753         above and are one row over the inset.
8754
8755         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8756         really leaving an inset.
8757
8758 2002-04-18  Juergen Vigna  <jug@sad.it>
8759
8760         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8761         of the selected paragraph does not have the selected layout also if
8762         the last one had!
8763
8764         * text2.C (setLayout): fixed bug which did not change last selected
8765         paragraph.
8766
8767         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8768         changed the read and substituted \\end_float with \\end_inset!
8769
8770         * BufferView_pimpl.C (cursorPrevious):
8771         (cursorNext): fixed to make it work with rows heigher than the work
8772         area without moving the cursor only the draw of the row.
8773         (workAreaMotionNotify): fix jumping over high rows.
8774
8775 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8776
8777         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8778         Ressler.
8779
8780 2002-04-16  Juergen Vigna  <jug@sad.it>
8781
8782         * text2.C (setCursor): set also the irow().
8783         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8784         (cursorUp):
8785         (cursorDown): support for locking an inset if the x_fix value goes
8786         inside it. That way I can transverse insets too with cursor up/down.
8787
8788         * lyxrow.h: added irow helper function same as other (i) functions.
8789
8790         * BufferView_pimpl.C (cursorPrevious):
8791         (cursorNext): fixed for insets!
8792
8793 2002-04-15  Juergen Vigna  <jug@sad.it>
8794
8795         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8796         position otherwise it is wrong in some cases.
8797
8798         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8799         inside the inset before the call.
8800
8801 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8802
8803         * buffer.[Ch] (getBibkeyList): make it const.
8804
8805 2002-04-12  Juergen Vigna  <jug@sad.it>
8806
8807         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8808
8809         * text2.C (getCursorX): new helper function
8810         (setCursor): compute also ix_
8811         (setCursorFromCoordinates): set also ix.
8812
8813         * lyxcursor.h: added ix_ and helper functions.
8814
8815         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8816
8817         * buffer.C (insertStringAsLines): dont break paragraph if the this
8818         paragraph is inside an inset which does not permit it!
8819
8820         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8821         also with no chars on this paragraph.
8822         (paintRowText): only paint stuff if it's inside the workarea!
8823
8824         * paragraph.C (breakParagraph): honor keepempty flag and break the
8825         paragraph always below not above.
8826
8827         * BufferView2.C (unlockInset): update the paragraph layout on inset
8828         unlock as we changed paragraph in such a case.
8829
8830         * lyxfind.C (LyXFind): clear the former selection if not found!
8831
8832         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8833         again called in insertChar().
8834
8835         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8836         an inset which uses the whole row!
8837         (rightMargin): ditto.
8838         (insertChar): force a rebreak if we inserted an inset!
8839
8840 2002-03-28  Herbert Voss  <voss@lyx.org>
8841
8842         * lyxlength.[Ch]: add inBP() to get the right PS-point
8843         units (BigPoint). With inPixels we have rounding errors
8844
8845 2002-04-11  Juergen Vigna  <jug@sad.it>
8846
8847         * text2.C (setCursorFromCoordinates): set iy to the right value.
8848         (setCursor): add check if row->previous exists!
8849
8850         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8851         an old float_type as this was the case in the old code!
8852
8853         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8854
8855         * BufferView2.C (showLockedInsetCursor): use iy
8856         (fitLockedInsetCursor): ditto
8857
8858         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8859         locked insets as there we have the right value now.
8860
8861         * lyxcursor.C: added iy_ variable and iy functions to set to the
8862         baseline of cursor-y of the locked inset.
8863
8864         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8865         (setCursor): fixed for insets which need a full row.
8866
8867         * text.C (rowLastPrintable): don't ignore the last space when before
8868         an inset which needs a full row.
8869         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8870         as last character of a row when before a inset which needs a full row.
8871
8872 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8873
8874         * version.C.in: update date
8875
8876         * text2.C (fullRebreak): try to always return true and see what
8877         happens...
8878
8879 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * MenuBackend.C (expand): use Floating::listName
8882
8883         * FloatList.C (FloatList): add listName argument to the built-in
8884         floats
8885
8886         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8887         text associated with the float.
8888
8889 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8892
8893 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * ShareContainer.h: add a couple of missing typenames.
8896
8897 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8898
8899         * lyxrc.C (getDescription): use _() correctly rather than N_().
8900
8901 2002-03-28  Herbert Voss  <voss@lyx.org>
8902
8903         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8904         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8905
8906 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8909         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8910
8911 2002-03-29  Juergen Vigna  <jug@sad.it>
8912
8913         * lyxfunc.C (dispatch): add a missing fitCursor call.
8914
8915         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8916         it was scrolled by a cursor move, so return the bool status.
8917
8918         * BufferView.C (fitCursor): return the bool flag also to the outside
8919         world as this is needed.
8920
8921         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8922
8923         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8924         call the edit() as it is not needed (and wrong) IMO.
8925         (workAreaButtonPress): set the screen_first variable before evt.
8926         unlock the inset as this may change screen_first and then we have
8927         a wrong y position for the click!
8928
8929 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * MenuBackend.C (expand): another translation that I missed
8932
8933 2002-03-28  Juergen Vigna  <jug@sad.it>
8934
8935         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8936
8937         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8938
8939 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8942
8943         * MenuBackend.C (expand): fix export/view/update when there is no
8944         document open.
8945
8946 2002-03-27  Herbert Voss  <voss@lyx.org>
8947
8948         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8949         and text%
8950
8951 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * bufferview_funcs.C (currentState): only show paragraph number
8954         for is DEVEL_VERSION is set.
8955
8956         * lyxfunc.C (dispatch): put warning in INFO channel
8957
8958         * MenuBackend.C (expand): translate the name of floats
8959
8960         * FloatList.C (FloatList): mark the float names for translation
8961
8962         * converter.C (convert): use LibScriptSearch
8963
8964 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * MenuBackend.C (defaults): fix default menu (we might as well get
8967         rid of it...)
8968
8969 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8970
8971         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8972         directory.
8973
8974 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8975
8976         * lyxvc.C: reorder includes.
8977
8978 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8979
8980         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8981           properly
8982
8983 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8984
8985         * CutAndPaste.C: change layouts earlier on paste
8986           to avoid crashing when calling getFont()
8987
8988 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8989
8990         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8991         irritating #error.
8992
8993 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8994
8995         * WorkArea.C: remove 'Pending' debug message.
8996
8997         * most files: ws cleanup
8998
8999         * buffer.[Ch]: ws changes
9000
9001         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9002
9003 2002-03-21  Juergen Vigna  <jug@sad.it>
9004
9005         * tabular.C (SetMultiColumn): collapse also the contents of the
9006         cells and set the last border right. Added a Buffer const * param.
9007
9008 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9009
9010         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9011         linking or not.
9012
9013 2002-03-19  Juergen Vigna  <jug@sad.it>
9014
9015         * text2.C (clearSelection): reset also xsel_cache.
9016
9017         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9018         where it needs to be called (John tells us to do so too :)
9019         (selectionLost): reset sel_cache.
9020
9021         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9022
9023 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * text2.C (setCursorIntern): put debuging code in INSETS channel
9026
9027 2002-03-19  André Pönitz <poenitz@gmx.net>
9028
9029         * lyxfunc.C: tiny whitespace change
9030
9031 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9032
9033         * ToolbarDefaults.C (init):
9034         * LyXAction.C (init):
9035         * commandtags.h:
9036         * BufferView_pimpl.C (Dispatch):
9037         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9038
9039 2002-03-19  Allan Rae  <rae@lyx.org>
9040
9041         * exporter.C (Export): removeAutoInsets before doing anything else.
9042         While I've just introduced a dependency on BufferView this really is
9043         the best place to clean the buffer otherwise you need to cleanup in
9044         a dozen places before calling export or cleanup in a dozen functions
9045         that export calls.
9046
9047         * converter.C (runLaTeX):
9048         (scanLog): Better handling of removeAutoInsets and screen updates.
9049
9050         * lyxfunc.C (dispatch): small whitespace changes
9051
9052 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9053
9054         * WorkArea.C (C_WorkAreaEvent): return a value.
9055         (event_cb): return 1 if we handled the event, 0 otherwise.
9056
9057         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9058
9059 2002-03-18  Juergen Vigna  <jug@sad.it>
9060
9061         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9062         (GetAdditionalWidth): ditto.
9063         (RightLine): ditto.
9064         (LeftLine): ditto.
9065
9066         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9067         inset if we're there actually (probably not used right now but this
9068         is the direction to go for unifying code).
9069         (paste): disable code to clear the selection.
9070
9071         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9072         inside an InsetText and move the check further up as it is in the
9073         wrong place.
9074
9075         * text2.C (pasteSelection): set a selection over the pasted text.
9076
9077 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9078
9079         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9080         and libgraphics to build on Cygwin.
9081
9082 2002-03-15  Juergen Vigna  <jug@sad.it>
9083
9084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9085         inserting an Inset into the paragraph. I know this is not the best
9086         fix but we already use current_view in CutAndPaste so we will remove
9087         all of it's using at the same time.
9088
9089         * buffer.C (sgmlError): deactivated function till it is rewritten in
9090         the right mode, now it can create problems.
9091
9092         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9093         before accessing it.
9094
9095 2002-03-14  Juergen Vigna  <jug@sad.it>
9096
9097         * undo_funcs.C (textHandleUndo): do the right thing when updating
9098         the inset after the undo/redo.
9099
9100         * text2.C (setCursor): just some testcode for #44 not ready yet.
9101
9102         * undo_funcs.C (textHandleUndo): set the next() and previous()
9103         pointers of the paragraph to 0 before deleting otherwise we have
9104         problems with the Paragraph::[destructor].
9105
9106         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9107         on a paragraph insertion.
9108
9109 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9110
9111         * buffer.C (asciiParagraph): use += operator for char append to
9112         string.
9113
9114         * paragraph.C (getFontSettings): compare >= not just >
9115         (highestFontInRange): ditto
9116         (setFont): ditto
9117
9118 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9119
9120         * paragraph.C: change several algorithm to be more appripriate for
9121         the problem domain. This is lookip in FontList and in the InsetList.
9122
9123 2002-03-13  André Pönitz <poenitz@gmx.net>
9124
9125         * commandtags.h:
9126         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9127
9128 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9129
9130         * commandtags.h:
9131         * LyXAction.C:
9132         * lyxfunc.C:
9133         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9134
9135 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * Painter.C (display): anon helper function, adjust code for this
9138         change.
9139         (pixmap): remove function.
9140
9141         * Painter.h: remove private display variable.
9142
9143         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9144
9145 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9146
9147         * WorkArea.[Ch]: remove figinset_canvas cruft.
9148
9149 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9150
9151         * lyxtextclass.C (operator): add one item cache optimization.
9152
9153         * bufferlist.h: doxy changes
9154
9155         * bufferlist.C: ws changes
9156
9157         * DepTable.[Ch] (ext_exist): place const in the right spot.
9158
9159         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9160         call resizeInsets.
9161         (workAreaExpose): call resizeInsets when the with BufferView changes.
9162         (Dispatch): adjust for protectedBlank removal
9163         (specialChar): call updateInset if the insert went ok.
9164
9165         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9166         specialChar instead.
9167
9168         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9169
9170         * BufferView.h: doxy change
9171
9172         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9173
9174         * lyxtextclass.C (operator[]): remove non-const version
9175         (defaultLayout): remove non-const version
9176
9177 2002-03-12  Juergen Vigna  <jug@sad.it>
9178
9179         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9180         did resize the LyXText too.
9181
9182         * buffer.C (readLyXformat2): set layout information on newly allocated
9183         paragraphs.
9184
9185         * tabular.C (OldFormatRead): set layout information on the paragraph.
9186
9187 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9188
9189         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9190
9191 2002-03-11  Juergen Vigna  <jug@sad.it>
9192
9193         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9194         plainly wrong.
9195         (resizeCurrentBuffer): force also the insets to resize themselfes.
9196         (moveCursorUpdate): fixed up for InsetText.
9197
9198 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9199
9200         * commandtags.h:
9201         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9202         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9203         value of Dialogs::tooltipsEnabled().
9204         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9205
9206 2002-03-08  Juergen Vigna  <jug@sad.it>
9207
9208         * BufferView_pimpl.C (updateInset): update inset inside inset also
9209         if it isn't inside theLockingInset().
9210
9211 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9212
9213         * buffer.C (asciiParagraph): redo some of the word and line length
9214         handling.
9215         (getLists): look for Caption instead of caption.
9216
9217 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9218
9219         * buffer.C (Buffer): initialize niceFile to true
9220         (makeLaTeXFile):
9221         (makeLinuxDocFile):
9222         (makeDocBookFile): make sure niceFile is true on exit
9223
9224 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9225
9226         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9227
9228 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9229
9230         * LyXSendto.C: remove.
9231         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9232         * lyx_gui.C: remove now-redundant comment.
9233         * ColorHandler.h: remove forward declaration of class WorkArea.
9234         * lyxfunc.C: remove #include "WorkArea.h".
9235
9236 2002-03-07  Juergen Vigna  <jug@sad.it>
9237
9238         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9239         got moved away with the DEPM and also set the inset_owner always
9240         right which before could have been omitted.
9241
9242 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9243
9244         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9245         wanted layout is not found.
9246
9247 2002-03-07  Juergen Vigna  <jug@sad.it>
9248
9249         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9250
9251 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9252
9253         * paragraph.C (breakParagraph): use default layout not layout of
9254         prev paragraph.
9255         (Paragraph): clear ParagraphParameters.
9256
9257 2002-03-06  Juergen Vigna  <jug@sad.it>
9258
9259         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9260         otherwise it would not be a valid lenght. Fixed a special case in
9261         the minipage compatibility read where we end the document with a
9262         minipage.
9263
9264         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9265         was set as it could be 0 for InsetTexts first entry.
9266
9267 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9268
9269         * paragraph.C (writeFile): if layout is empty write out
9270         defaultLayoutName().
9271
9272         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9273         file without named layout we set layout to defaultLayoutName().
9274
9275 2002-03-06  Juergen Vigna  <jug@sad.it>
9276
9277         * CutAndPaste.C (copySelection): set layout for new paragraph.
9278
9279         * text.C (prepareToPrint): leave ERT inset left aligned
9280         (leftMargin): don't indent paragraphs inside ERT insets
9281
9282 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9283
9284         * paragraph.C (breakParagraph): dont call clear do the work manually
9285
9286         * paragraph.[Ch] (clear): remove function
9287
9288 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * paragraph.C (Paragraph): dont call clear, the work has already
9291         been done.
9292
9293         * lyxtextclass.C (operator): assert if n is empty
9294
9295         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9296         work manually instead.
9297
9298 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * BufferView_pimpl.C: protect selectionLost against text == 0
9301
9302 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9303
9304         * text.C (breakParagraph): fix a setting layout to '0' problem.
9305
9306 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9307
9308         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9309         final location of file, for the included files, and graphics.
9310
9311 2002-03-05  Juergen Vigna  <jug@sad.it>
9312
9313         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9314
9315 2002-03-04  Juergen Vigna  <jug@sad.it>
9316
9317         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9318
9319         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9320         last column of multicolumn cells.
9321         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9322
9323 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9324
9325         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9326         file if it doesn't go to a temporary file.
9327
9328         * buffer.C (sgmlOpenTag):
9329         (sgmlCloseTag):  remove extra newline insertion.
9330
9331 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * text.C (getRowNearY): comment out debug msg
9334
9335 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9336
9337         * text2.C: first -> first_y
9338
9339         * text.C (getRowNearY): add some attemts at a possible
9340         optimization, not working.
9341
9342         * tabular.[Ch]: add BufferParams to several function so that newly
9343         created paragraph can be initialized to he default layotu for the
9344         buffers textclass.
9345
9346         * tabular-old.C (ReadOld): add buf->params to call of Init
9347
9348         * screen.C: rename text->first to text->first_y
9349
9350         * paragraph.C (breakParagraph): always set layout in the broken
9351         paragraph
9352
9353         * lyxtextclass.C (Read): remove lowercase
9354         (hasLayout): ditto
9355         (operator): ditto
9356         (delete_layout): ditto
9357
9358         * lyxtext.h: rename first -> first_y
9359
9360         * lyxlayout.C (Read): remove lowercase
9361         (name): ditto
9362         (setName): ditto
9363         (obsoleted_by): ditto
9364
9365         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9366
9367         * buffer.C (insertErtContents): add params are to InsetERT
9368         (parseSingleLyXformat2Token): add code to check if a paragraphs
9369         layout really exist.
9370         (parseSingleLyXformat2Token): add params to several inset
9371         constructors
9372         (asciiParagraph): remove lowercase, do the layout comparisons with
9373         no_case
9374
9375         * BufferView_pimpl.C (cursorNext): first -> first_y
9376         (resizeCurrentBuffer): first -> first_y
9377         (updateScrollbar): first -> first_y
9378         (scrollCB): first -> first_y
9379         (workAreaMotionNotify): first -> first_y
9380         (workAreaButtonPress): first -> first_y
9381         (checkInsetHit): first -> first_y
9382         (cursorPrevious): first -> first_y
9383         (cursorNext): first -> first_y
9384         (Dispatch): add buffer_->params to severl inset contructors
9385
9386 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9387
9388         * lyxlayout.C (Read): remove some debug info that I forgot.
9389
9390         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9391         clean up the code slightly.
9392         (makeLinuxDocFile): ditto
9393         (makeDocBookFile): ditto
9394
9395         * text2.C: layout as string
9396
9397         * text.C: layout as string
9398
9399         * paragraph_pimpl.C: layout as string
9400
9401         * paragraph.[Ch]: layout as string
9402
9403         * lyxtextclasslist.[Ch]: layout as string
9404
9405         * lyxtextclass.[Ch]: layout as string
9406
9407         * lyxtext.h: layout as string
9408
9409         * lyxlayout.[Ch]: layout as string
9410
9411         * lyx_cb.C: layout as string
9412
9413         * bufferview_funcs.C: layout as string
9414
9415         * bufferparams.C: layout as string
9416
9417         * buffer.C: layout as string
9418
9419         * LyXView.[Ch]: layout as string
9420
9421         * LaTeXFeatures.[Ch]: layout as string
9422
9423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9424
9425         * BufferView_pimpl.C: change current_layout to string, remove
9426         lyx::layout_type.
9427         (Dispatch):
9428         (smartQuote):
9429         (insertInset):
9430         (workAreaButtonRelease): layout as string
9431
9432         * BufferView2.C (unlockInset): adjust
9433
9434         * vspace.C (asLatexCommand): use an explict temp variable.
9435
9436 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * Makefile.am: use FRONTEND_*
9439
9440 2002-03-01  Juergen Vigna  <jug@sad.it>
9441
9442         * tabular.C (SetWidthOfMulticolCell): changed to something better
9443         I hope but still work in progress.
9444         (recalculateMulticolumnsOfColumn): renamed function from
9445         recalculateMulticolCells as it is more appropriate now.
9446         (SetWidthOfCell): calculate multicols better.
9447
9448 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449
9450         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9451
9452         * lyxfunc.C (processKeySym): print sequence also if it is
9453         `deleted' (complete)
9454
9455         * kbsequence.C (print): print sequence even if it is deleted
9456         (complete would be a better word, actually).
9457
9458         * lyxfunc.C (dispatch): print complete options after a prefix key
9459
9460         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9461
9462 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9463
9464         * text2.C (setCharFont): eliminate setCharFont code duplication.
9465
9466 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9467
9468         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9469         LFUN_TABULAR_FEATURE (bug #177)
9470
9471 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9472
9473         * Makefile.am: remove figure.h
9474
9475 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9476
9477         * Bufferview_pimpl.C:
9478         * CutAndPasteC:
9479         * LaTeX.C:
9480         * LyXSendto.C:
9481         * buffer.C:
9482         * bufferlist.C:
9483         * converter.C:
9484         * language.C:
9485         * lyxfunc.C:
9486         * lyxvc.C:
9487         * paragraph.C:
9488         * text.C:
9489         * text2.C: remove #include "lyx_gui_misc.h".
9490
9491         * LaTeX.C: added #include <cstdio>
9492
9493 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9496         that the paragraph following this one can have.
9497
9498         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9499
9500         * vspace.C (asLatexCommand): fix bogus gcc warning
9501
9502         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9503
9504 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9505
9506         * text2.C (setLayout): get rid of redundant code
9507
9508 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9509
9510         * text2.C (incDepth): make sure depth cannot be increased beyond
9511         reasonable values.
9512
9513 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9514
9515         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9516         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9517
9518         * PainterBase.h (image):
9519         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9520         a LyXImage const *.
9521
9522 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * BufferView.C:
9525         * BufferView.h:
9526         * BufferView_pimpl.C:
9527         * BufferView_pimpl.h:
9528         * LaTeXFeatures.C:
9529         * LyXAction.C:
9530         * LyXView.C:
9531         * Makefile.am:
9532         * UpdateList.h:
9533         * UpdateList.C:
9534         * buffer.C:
9535         * figure.h:
9536         * figureForm.C:
9537         * figureForm.h:
9538         * figure_form.C:
9539         * figure_form.h:
9540         * lyx_cb.C:
9541         * lyx_gui.C:
9542         * lyx_gui_misc.C:
9543         * lyxfunc.C:
9544         * sp_base.h:
9545         * sp_ispell.h:
9546         * sp_pspell.h:
9547         * sp_spell.C: remove fig inset, and the crap house of
9548           cards that follows it
9549
9550 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * Makefile.am:
9553         * lyxserver.C:
9554         * os2_defines.h:
9555         * os2_errortable.h:
9556         * nt_defines.h: move .h into support/
9557
9558         * vms_defines.h: remove
9559
9560         * WorkArea.C: add space in debug output
9561
9562         * text2.C:
9563         * paragraph.C:
9564         * buffer.C: add WITH_WARNINGS
9565
9566         * vc-backend.h:
9567         * vc-backend.C:
9568         * bufferlist.C: s/retrive/retrieve/, add docs
9569
9570         * vspace.h:
9571         * vspace.C:
9572         * kbmap.h:
9573         * lyxlength.h:
9574         * lyxgluelength.h:
9575         * length_common.h:
9576         * chset.h:
9577         * chset.C: add docs
9578
9579         * lyxgui.C: add ID to X error handler
9580
9581         * lyxtestclass.c: fix typo
9582
9583 2002-02-26  Juergen Vigna  <jug@sad.it>
9584
9585         * tabular_funcs.C (write_attribute): changed so that some default
9586         attributes are not written at all.
9587         (getTokenValue): set default values before trying to read the
9588         value so we have the return value always set as default if we don't
9589         find the token we search for.
9590
9591         * tabular.C (Write): write bools as bools not as strings!
9592
9593 2002-02-22  Juergen Vigna  <jug@sad.it>
9594
9595         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9596         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9597
9598         * text.C (leftMargin): don't add an indent for paragraphs inside
9599         tabular cells (fix #208).
9600
9601 2002-02-21  José Matos  <jamatos@fep.up.pt>
9602
9603         * tabular.C (docBook): fixed support for long tables.
9604
9605 2002-02-20  Juergen Vigna  <jug@sad.it>
9606
9607         * text2.C (getFont): get the drawing font of the Inset if this
9608         paragraph is inside an inset (only important for InsetERT for now).
9609
9610         * buffer.C (insertErtContents): use new lanugage params in ERT
9611         constructor.
9612
9613         * CutAndPaste.C: commenting out seemingly uneeded code.
9614
9615 2002-02-19  Allan Rae  <rae@lyx.org>
9616
9617         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9618         Iterators might be simple to use but they also get invalidated.
9619         (removeAutoInsets): renamed saved cursor tracking variables and added
9620         some comments to clarify what everything does.
9621
9622 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9623
9624         * Chktex.C:
9625         * LaTeX.C:
9626         * LyXSendto.C:
9627         * converter.C:
9628         * lyx_cb.C:
9629         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9630         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9631
9632         * lyxfunc.C:
9633         * vc-backend.h: remove #include "support/syscall.h"
9634
9635         * LaTeX.C:
9636         * LyXSendto.C:
9637         * converter.C: rearrange #includes in Lars' approved fashion.
9638
9639         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9640         forward declare class Timeout in the header file.
9641
9642         * XFormsView.C: changes due to the above.
9643
9644         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9645         similar to LyXView.
9646
9647         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9648         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9649
9650 2002-02-18  José Matos  <jamatos@fep.up.pt>
9651
9652         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9653         insets contents.
9654
9655 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9656
9657         * a lot of small ws changes
9658         * add a lot of using std::XXX
9659         * use std construcs some places where approp.
9660         * use some exisint stuff from lyxfunctional where approp.
9661         * Make file changes to use partial linking (lets test this now...)
9662
9663 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9664
9665         * Chktex.C:
9666         * buffer.C:
9667         remove #include "support/syscontr.h" as it's redundant. Always has been.
9668
9669         * Chktex.C:
9670         * LaTeX.C:
9671         * LyXSendto.C:
9672         * converter.C:
9673         * lyx_cb.C:
9674         * vc-backend.C:
9675         change Systemcalls::System to Systemcalls::Wait and
9676         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9677         No change of functionality, just reflects the stripped down Systemcalls
9678         class.
9679
9680 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9681
9682         * debug.[Ch]: add a GRAPHICS type to the enum.
9683
9684 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9687
9688         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9689         there is an inset.
9690
9691 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9692
9693         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9694         match the changes below.
9695
9696         * text2.C (toggleInset): if there is not editable inset at cursor
9697         position, try to see if cursor is _inside_ a collapsable inset
9698         and close it.
9699
9700 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9701
9702         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9703         document menu has a nice checkbox
9704
9705 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9706
9707         * lyxlength.C (asLatexString): change PW to output as percent of
9708         \textwidth.
9709
9710         * lengthcommon.C: change '%' to 't%'
9711
9712         * lyxfunc.C (dispatch): a few comments from Martin
9713
9714 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * WorkArea.h:
9717         * WorkArea.C:
9718         * BufferView_pimpl.h:
9719         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9720           the X selection.
9721
9722 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * vspace.C (inPixels): fix compiler warning
9725
9726 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * lyxfunc.C (getStatus): fix status message for disabled commands.
9729
9730 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9731
9732         * BufferView_pimpl.C: fix crash on close buffer
9733         during selection (#227)
9734
9735 2002-01-27  Herbert Voss  <voss@lyx.org>
9736
9737         * buffer.C: link old Figure to new graphic inset
9738
9739 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * FontLoader.C (getFontinfo): Change the latex font names in order
9742         to match the names of type1inst.
9743
9744 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9747
9748         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9749         (extchanged): ditto
9750         (ext_exist): ditto
9751         (remove_files_with_extension): ditto
9752         (remove_file): ditto
9753         (write): ditto
9754
9755         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9756         document is smaller than the work area height. Do not initialize
9757         static variables to 0.
9758
9759 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9762
9763         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9764         LFUN_LAYOUT_PARAGRAPHS.
9765
9766         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9767         tabular. It is possible to provide a possible cell, which will
9768         typically be the actcell from the corresponding insettabular
9769
9770         * lyxfunc.C (getStatus): small cleanup; disable
9771         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9772         true
9773
9774 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9777
9778         * paragraph.C (startTeXParParams):
9779         (endTeXParParams): new methods. The LaTeX code to
9780         start/end paragraph formatting
9781         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9782         empty (fixes bug #200)
9783
9784         * vspace.C (inPixels): adapt to the change below
9785         (inPixels): [later] more cleanups (remove unused variables)
9786
9787         * lyxlength.C (inPixels): change to use a width and a height as
9788         parameter.
9789
9790 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9791
9792         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9793         Replaced with \paperwidth
9794
9795         * DepTable.C (insert): add std:: qualifier
9796
9797 2002-01-18  Allan Rae  <rae@lyx.org>
9798
9799         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9800         updated also?
9801
9802         * text.C (drawInset): Turned out I didn't know enough about how
9803         rebreaking worked.  This fixes most of the redraw problems.  I see
9804         an occasional cursor trail when a line is broken now and the cursor
9805         placement can seem out by a few pixels also after a rebreak.
9806
9807 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * buffer.C (parseSingleLyXformat2Token): update because minipage
9810         width is now a LyXLength
9811
9812         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9813
9814         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9815         math insets
9816
9817 2002-01-17  Juergen Vigna  <jug@sad.it>
9818
9819         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9820
9821         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9822         is set correctly and the inset is updated correctly.
9823
9824 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9827         the beginning of the loop.
9828
9829 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * lyxrc.C: improve help for use_scalable_fonts
9832
9833 2002-01-17  Allan Rae  <rae@lyx.org>
9834
9835         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9836
9837 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9840         make sure to set their inset_owner to the right value (bug #171)
9841
9842 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9843
9844         * DepTable.h
9845         * DepTable.C: Implement mtime checking to reduce time spent doing
9846         CRCs.
9847
9848 2002-01-16  Juergen Vigna  <jug@sad.it>
9849
9850         * tabular.C (GetAdditionalHeight): one of error fixed.
9851
9852         * lyxrc.C (output): small fix in writing use_pspell.
9853
9854 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9855
9856         * sp_base.h: #include LString.h
9857
9858 2002-01-16  Allan Rae  <rae@lyx.org>
9859
9860         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9861         Can someone check this please?
9862
9863         * text.C (drawInset): It was possible that p.row would be removed by
9864         breakAgainOneRow upsetting a few other settings.  There may be another
9865         small tweak possible by setting need_break_row = 0 when p.row has been
9866         removed but I don't know enough about the logic here.
9867
9868 2002-01-15  Allan Rae  <rae@lyx.org>
9869
9870         * text.C (insertChar): removed conditional truism.
9871
9872         * BufferView2.C (removeAutoInsets): More tweaks.
9873         cur_par_prev could be a stray pointer.  Check for trailing empty line
9874         in case last line was cur_par and only had an error inset on it.
9875
9876 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9877
9878         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9879         absolute
9880
9881         * vc-backend.C (most methods):
9882         * exporter.C (Export):
9883         * converter.C (convert):
9884         (runLaTeX):
9885         * LyXSendto.C (SendtoApplyCB):
9886         * lyxfunc.C (dispatch):
9887         (menuNew):
9888         (open):
9889         (doImport):
9890         * lyx_cb.C (AutoSave):
9891         (InsertAsciiFile):
9892         * BufferView_pimpl.C (MenuInsertLyXFile):
9893         * buffer.C (runChktex): use Buffer::filePath().
9894
9895         * buffer.h: rename filename to filename_; rename filepath to
9896         filepath_ and make it private
9897         (filePath): new method
9898
9899         * buffer.C (writeFile): use fileName()
9900         (getLatexName):
9901
9902         * lyx_main.C (init): fix starting  of LyX when the binary is a
9903         link from so,ewhere else.
9904
9905         * minibuffer.C: include <cctype> for isprint
9906
9907 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9908
9909         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9910         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9911         name clash with InsetCollapsable's width function.
9912
9913 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9914
9915         * lastfiles.C: include <iterator>
9916
9917 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9918
9919         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9920         std::count.
9921
9922         * buffer.C (makeLaTeXFile): ditto.
9923         Also make loop operation more transparent.
9924
9925 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9926
9927         * ToolbarDefaults.C: remove trailing comma closing namespace.
9928
9929         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9930
9931         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9932         as in WorkArea.
9933
9934         * trans.C (Load): comment out unused variable, allowed.
9935
9936 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9937
9938         * minibuffer.[Ch] (append_char): new method to recieve input from the
9939         drop-down completion browser. If a key was pressed, then recieve this
9940         char and append it to the existing string.
9941         (peek_event): modify the positioning data passed to the completion
9942         browser so that it can be placed above the minibuffer rather than below.
9943 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9944
9945         * LyXAction.C (init): alloe error-next for readonly documents.
9946
9947         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9948         count.
9949
9950 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9951
9952         * bufferlist.C (readFile): create the buffer _after_ checking that
9953         the file exists.
9954
9955         * lyxfunc.C (verboseDispatch): fix handling of arguments
9956
9957         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9958
9959         * lyxrc.C: use string::erase() instead of initializing to "".
9960
9961
9962 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * BufferView_pimpl.h:
9965         * BufferView_pimpl.C:
9966         * WorkArea.h:
9967         * WorkArea.C:
9968         * text2.C: tell X when we have made a selection for copying
9969
9970 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9971
9972         * BufferView_pimpl.C (MenuInsertLyXFile):
9973         * lyxfunc.C (menuNew):
9974         (open):
9975         (doImport): add shortcuts to directory buttons
9976
9977         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9978         open a float)
9979
9980         * lyxfunc.C (setStatusMessage):
9981         (getStatusMessage): new methods
9982         (getStatus):use setStatusMessage instead of setErrorMessage
9983         (dispatch): when function is disabled, set error message here
9984         [instead of in getStatus previously]
9985
9986         * BufferView_pimpl.C (workAreaButtonRelease): update
9987         toolbar/menubar here too.
9988
9989 2002-01-13  Allan Rae  <rae@lyx.org>
9990
9991         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9992         Now seems indestructible.  Remaining task is to audit all other
9993         code affected by deleteEmptyParagraphMechanism.  One small quirk
9994         left is that an empty document with an error in the preamble can
9995         be made to report an error but no error box appears.  I don't know
9996         where it goes.
9997         (removeAutoInsets): Improved comments.
9998
9999 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * Thesaurus.h:
10002         * Thesaurus.C: update for Aiksaurus 0.14
10003
10004 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10005
10006         * text2.C (firstParagraph): removed member function, all uses
10007         replaces with ownerParagraph
10008         (redoParagraphs): here
10009         (updateInset): here
10010         (toggleAppendix): here
10011         * BufferView2.C (insertErrors): here
10012         (setCursorFromRow): here
10013
10014 2002-01-13  Allan Rae  <rae@lyx.org>
10015
10016         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10017         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10018         There is still a way to segfault this although you may have to do this
10019         multiple times: Have an InsetERT with an unknown command in it.
10020         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10021         <down-arrow>, <Enter> again, View->DVI, BANG!
10022
10023         * text2.C (setCursor):
10024         (deleteEmptyParagraphMechanism):
10025         * lyxtext.h (setCursor):
10026         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10027         Making use of the return value may help fix other bugs.
10028
10029 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10032
10033         * LyXView.C (updateMenubar): call MenuBar::update here
10034         (updateToolbar): but not here
10035         (showState): do not update toolbar/menubar
10036
10037         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10038         should need to care about that.
10039
10040         * lyxfunc.C (verboseDispatch): simplify a bit
10041         (getStatus): have a version which takes a pseudoaction, and
10042         another which requires a (kb_action,string).
10043
10044         * LyXAction.C (retrieveActionArg): make it work also when action
10045         is not a pseudo-action.
10046         (getActionName): simplify a bit
10047         (helpText):
10048
10049 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * lyxfunc.C (verboseDispatch): new families of methods with
10052         several ways to specify a command and a bool to indicate whether
10053         the command name and shortcut should be displayed in minibuffer
10054         (eventually, we could extend that to a finer bitmask like
10055         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10056         (dispatch): the pristine dispatch command which just, well,
10057         dispatchs! Note it still sets its result to minibuffer; I'm not
10058         sure we want that.
10059
10060         * lyxfunc.h: remove setHintMessage
10061
10062         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10063
10064 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * BufferView_pimpl.C (specialChar): delete new inset if we have
10067         not been able to insert it.
10068
10069         * kbmap.C: revert to using int instead of kb_action, since all we
10070         are dealing with is pseudo-actions.
10071
10072         * LyXAction.C (searchActionArg): change to return int instead of
10073         kb_action, since the result is a pseudoaction.
10074
10075 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10076
10077         * buffer.C (insertErtContents): Fix (partially) the font bug.
10078
10079 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10080
10081         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10082         as the other one is broken on my machine!
10083
10084 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10085
10086         * commandtags.h:
10087         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10088
10089 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10090
10091         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10092         reflect their actual use. Provide compatibility code for older lyxrc
10093         files.
10094
10095         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10096         FL_NORMAL_STYLE.
10097         change names of popup font variables in line with the changes to lyxrc.C
10098
10099 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * buffer.C (asciiParagraph): avoid outputing a word twice after
10102         an inset.
10103
10104         * lyxrc.C (getDescription): document that document_path and
10105         template_path can be empty.
10106
10107 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10108
10109         * LaTeXFeatures.C (getMacros):
10110         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10111
10112         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10113
10114         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10115         getPackages.
10116         (getPackages): rename feature "floats" to "float". Use an array to
10117         iterate over 'simple' features (i.e. just a \usepackage). Add
10118         handling of "amsmath" (renamed from "amsstyle").
10119
10120 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10121
10122         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10123         features list.
10124
10125 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10126
10127         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10128         FuncStaus::FuncStatus & FuncStaus::some_method().
10129
10130 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10131
10132         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10133         of the func_satus stuff. Edited and massaged in various ways by
10134         JMarc.
10135
10136         * lyxfunc.C (getStatus): use FuncStatus
10137
10138 2002-01-08  Juergen Vigna  <jug@sad.it>
10139
10140         * text.C (nextBreakPoint): use function Inset::isChar().
10141
10142         * paragraph.C (TeXOnePar): use function
10143         Inset::forceDefaultParagraphs.
10144
10145         * buffer.C (latexParagraphs): use function
10146         Inset::forceDefaultParagraphs.
10147
10148 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10149
10150         * lyx_gui.C (init): set the style of the menu popups to
10151         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10152
10153 2002-01-07  Juergen Vigna  <jug@sad.it>
10154
10155         * text.C (setHeightOfRow): small fix
10156         (prepareToPrint): don't look at alignment if we don't have the place
10157         for doing it.
10158
10159 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10160
10161         * box.C: New file. Move the Box methods and functions out of box.h,
10162         following Lars' suggestion.
10163
10164 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * box.h: #include "support/LOstream.h", needed for inlined function.
10167
10168         * lyxtextclass.C:
10169         * lyxtextclasslist.C: added some using std declarations.
10170
10171 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10172
10173         * box.h: make signed dimensions to allow insets wider than
10174           the screen (bug #162)
10175
10176         * BufferView_pimpl.C: add some insetHit debug
10177
10178 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * vc-backend.C: add FIXME
10181
10182 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10183
10184         * lyxfunc.C (getStatus): enable code for showing math font status
10185         in toolbar/menu.
10186
10187 2002-01-07  Juergen Vigna  <jug@sad.it>
10188
10189         * text.C (nextBreakPoint): removed debug output not needed anymore.
10190
10191 2002-01-06  Juergen Vigna  <jug@sad.it>
10192
10193         * text.C (nextBreakPoint): fixed up this function we had this bug
10194         since ever but now hopefully we break row better.
10195         (insertChar): we have to check if an inset is the next char as it
10196         could now happen that a large inset is causing a break.
10197
10198 2002-01-05  Juergen Vigna  <jug@sad.it>
10199
10200         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10201         if it doesn't like to be drawed.
10202
10203 2002-01-04  Juergen Vigna  <jug@sad.it>
10204
10205         * BufferView2.C (lockInset): forgot to set a cursor.
10206
10207         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10208
10209 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10210
10211         * FormMathsPanel.C:
10212         * FormMathsPanel.h
10213         * MathsSymbols.C:
10214         * form_maths_panel.C:
10215         * form_maths_panel.h:
10216         * form_maths_panel.fd: implemented sub- and super- buttons in math
10217         panel.
10218
10219         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10220         (or ^ space) to be used as in TeX (req'd by André).
10221
10222         * lyxfunc.C: Allow ^ and _ again to be used both as
10223         super/subscript (mathed) and as themselves (in text).
10224
10225 2002-01-03  Allan Rae  <rae@lyx.org>
10226
10227         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10228         "LyX" or the filename of the current buffer if it has one.  This is a
10229         modified form of John Levon's patch.
10230
10231         * XFormsView.C (setWindowTitle): also set icon title.
10232
10233         * LyXView.h (setWindowTitle): signature changed.
10234         * XFormsView.h (setWindowTitle): ditto.
10235
10236 2002-01-02  Juergen Vigna  <jug@sad.it>
10237
10238         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10239
10240 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * screen.C (topCursorVisible): introduce a temp var for
10243         text->cursor.row(), handle the case where this row is null. (kindo
10244         hachish)
10245
10246         * text2.C (setCursor): add a couple of asserts.
10247
10248         * paragraph.h (inset_iterator): add -> operator
10249
10250         * paragraph.[Ch] (autoDeleteInsets): remove member function
10251
10252         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10253         cursor pos correctly and handle inset deletion by itself.
10254         (insertErrors): move iterator declaration out of for expression
10255
10256         * lyxtextclass.C: add <algorithm>
10257
10258         * Makefile.am: added the new files to sources, removed layout.C
10259
10260         * layout.C: removed file
10261
10262         * layout.h: remove LYX_DUMMY_LAYOUT
10263
10264         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10265         layout.
10266
10267         * lyxlayout.[Ch]:
10268         * lyxtextclass.[Ch]:
10269         * lyxtextclasslist.[Ch]: new files
10270
10271         * include order changes to a lot of files, also changes because of
10272         the six new files.
10273
10274 2001-12-27  Juergen Vigna  <jug@sad.it>
10275
10276         * buffer.C (asciiParagraph): more fixes.
10277
10278         * tabular.C (ascii): make ascii export support export of only the
10279         data separated by a column-delimiter.
10280         (ascii): better support for ascii export.
10281
10282         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10283
10284 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10285
10286         * tabular_funcs.C: use a "using std::getline" instead of the
10287         previous fix from Angus (necessary for cxx + lyxstring)
10288
10289 2001-12-24  Juergen Vigna  <jug@sad.it>
10290
10291         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10292
10293         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10294         problems. First check a minipage also if we have some ert-contents
10295         (not only on par->size(), second set the right depth of the paragraph
10296         on the relink to the root-paragraph-list!
10297
10298         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10299         which then did not anymore update the main paragraphs on undo/redo!
10300
10301 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10304         code. Support all font-changing funcs (even those which are not in
10305         menu currently). Support for reporting font settings in
10306         mathed (disabled until Andre provides a function on mathed's side).
10307
10308         * func_status.h (toggle): small helper function to set toggle
10309         state on a flag.
10310
10311 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10312
10313         * tabular_funcs.C: getline -> std::getline
10314
10315 2001-12-21  Juergen Vigna  <jug@sad.it>
10316
10317         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10318         accessed and could be 0 (I couldn't generate this but it seems
10319         Michael could!).
10320
10321 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10322
10323         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10324         * tabular_funcs.h: here and include iosfwd
10325
10326 2001-12-20  Juergen Vigna  <jug@sad.it>
10327
10328         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10329         inside inset but undo_par was.
10330
10331 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * Thesaurus.C: always include <config.h> in sources.
10334
10335         * Painter.h:
10336         * lyxlookup.h:
10337         * box.h: do not include <config.h> in header files
10338
10339         * text.C (paintLastRow): remove unused variable
10340
10341         * text.C (transformChar):
10342         (insertChar):
10343         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10344
10345         * Painter.C (text):
10346         * font.C (width): rewrite to use uppercase() instead of
10347         islower/toupper.
10348
10349         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10350
10351 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * lyxfind.C: clean up of find failure position change
10354
10355 2001-12-20  Juergen Vigna  <jug@sad.it>
10356
10357         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10358
10359         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10360         (TeXRow): added to LaTeX a single tabular row.
10361         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10362         (Latex): simplified and finally good LT-h/f support.
10363         (various_functions): just small adaptions for LT-h/f support.
10364
10365         * tabular_funcs.[hC]: added and moved here all not classfunctions
10366         of LyXTabular.
10367
10368 2001-12-19  Juergen Vigna  <jug@sad.it>
10369
10370         * tabular.[Ch]: better support for longtabular options (not finished
10371         yet!)
10372
10373 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * text.C (paintLastRow): use the label font instead of the font of
10376         the last character to compute the size of *_BOX. This makes more
10377         sense and avoids a crash with empty paragraphs.
10378         Use Painter::rectangle to draw EMPTY_BOX.
10379
10380 2001-12-19  Juergen Vigna  <jug@sad.it>
10381
10382         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10383         the paragraphs if the replaced paragraph is not the first one!
10384         Tried to delete not used paragraphs but does not work yet so for
10385         now it's inside #ifdef's and by default off!
10386
10387 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * MenuBackend.C: include "lyx_main.h" instead of declaring
10390         lastfiles (actually was declared as LastFiles* instead of a
10391         scoped_ptr).
10392
10393 2001-12-17  Juergen Vigna  <jug@sad.it>
10394
10395         * tabular.C (AppendColumn): applied John's fix
10396
10397 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * BufferView.h:
10400         * BufferView.C:
10401         * BufferView_pimpl.h:
10402         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10403
10404         * Makefile.am:
10405         * box.h: new start of class for above
10406
10407         * lyxfunc.C: ignore space-only minibuffer dispatches.
10408           Show the command name when it doesn't exist
10409
10410         * minibuffer.C: don't add empty lines to the history
10411
10412         * minibuffer.C: add a space on dropdown completion
10413
10414 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * text.C: fix line above/below drawing in insets
10417
10418 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * lyxlength.C (LyXLength): Initialize private variables.
10421
10422 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10423
10424         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10425         when inserting error insets.
10426
10427 2001-12-13  Juergen Vigna  <jug@sad.it>
10428
10429         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10430         actually sometimes the before-paragraph.
10431         (setUndo): don't clear the redostack if we're not actually undoing!
10432
10433 2001-12-06  Juergen Vigna  <jug@sad.it>
10434
10435         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10436         and fixed redoing of main paragraph, so we can use it now ;)
10437
10438         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10439
10440 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10443         Juergen's request
10444
10445 2001-12-13  André Pönitz <poenitz@gmx.net>
10446
10447         * undostack.[Ch]:
10448         * undo_func.C: minor cleanup
10449
10450 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10453         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10454         font in urw-fonts package which is marked as -urw-fontspecific and
10455         does not work (incidentally, changing the encoding in the
10456         fonts.dir of this package to -adobe-fontspecific fixes the
10457         problem).
10458
10459         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10460         is a crash when undoing first paragraph (Juergen, please take a
10461         look). THis does not mean the undo fix is wrong, just that it
10462         uncovers problems.
10463
10464         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10465         the (Paragraph*) version when needed instead of duplicating the
10466         code.
10467
10468         * text.C (workWidth): use Inset::parOwner to find out where the
10469         inset has been inserted. This is a huge performance gain for large
10470         documents with lots of insets. If Inset::parOwner is not set, fall
10471         back on the brute force method
10472
10473         * paragraph_pimpl.C (insertInset):
10474         * paragraph.C (Paragraph):
10475         (cutIntoMinibuffer): set parOwner of insets when
10476         inserting/removing them
10477
10478         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10479
10480 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10481
10482         * commandtags.h:
10483         * LyXAction.C:
10484         * lyx_main.C:
10485         * lyxfunc.C:
10486         * mathed/formulabase.C:
10487         * mathed/math_cursor.[Ch]:
10488         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10489
10490
10491 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10492
10493         * lyxlength.[Ch] (operator!=): new function
10494
10495 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * text.C (workWidth): use Inset::parOwner to find out where the
10498         inset has been inserted. This is a huge performance gain for large
10499         documents with lots of insets. If Inset::parOwner is not set, fall
10500         back on the brute force method
10501
10502         * paragraph_pimpl.C (insertInset):
10503         * paragraph.C (Paragraph):
10504         (cutIntoMinibuffer): set parOwner of insets when
10505         inserting/removing them
10506
10507         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10508
10509 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * tabular-old.C (getTokenValue):
10512         * tabular.C (getTokenValue):
10513         (write_attribute): new versions for LyXLength
10514         (everywhere): adjust the use of widths
10515
10516         * tabular.h: change the type of widths from string to LyXLength
10517
10518 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10519
10520         * paragraph.C: fixed missing line number count when exporting
10521         Environments to LaTeX file
10522
10523         * buffer.C: added informational message for checking line numbers.
10524
10525 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10528         paragraph, do the 'double space' part, but not the 'empty
10529         paragraph' one.
10530
10531         * text.C (workWidth): small optimization
10532         (getLengthMarkerHeight): use minimal size for negative lengths.
10533
10534 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10537
10538         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10539
10540 2001-12-11  André Pönitz <poenitz@gmx.net>
10541
10542         * FontLoader.C:
10543         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10544
10545 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * text2.C: keep selection on a setFont()
10548
10549 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * lyx_cb.C: another bv->text misuse, from insert label
10552
10553 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * kbsequence.h:
10556         * kbsequence.C: re-instate nmodifier mask
10557
10558 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10559
10560         * lyx_main.h: make lyxGUI private.
10561
10562 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * lyxfind.C: place the cursor correctly on failed search
10565
10566 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * text.C (getLengthMarkerHeight): for small heights, the arrows
10569         are not always on top/bottom of the text
10570         (drawLengthMarker): smaller arrows; take the left margin in
10571         account; draw also vfills.
10572         (paintFirstRow):
10573         (paintLastRow): remove special code for vfill and standard spaces,
10574         since everything is handled in drawLengthMarker now.
10575
10576 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * buffer.C (insertErtContents): try to handle font and language
10579         interaction a bit better.g
10580
10581         * ColorHandler.C (updateColor): change the hash to cover the whole
10582         LColor enum, ws cleanup
10583         (getGCLinepars): ditto
10584         (getGCLinepars): only lookup in the linecache once.
10585
10586 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10587
10588         * iterators.C (operator++): Make the iterator more robust
10589
10590         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10591         (John's patch)
10592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10593
10594 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10595
10596         * lyxtext.h:
10597         * text.C: better added space drawing
10598
10599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * LyXView.C:
10602         * BufferView2.C: fix layout combo update on inset unlock
10603
10604 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * Makefile.am: don't compile unused files
10607
10608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * lyxfunc.C:
10611         * commandtags.h:
10612         * LyXAction.C: remove old LFUN_LAYOUTNO
10613
10614 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * paragraph_pimpl.h:
10617         * paragraph_pimpl.C: isTextAt() doesn't need font param
10618
10619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * lyxlex.h:
10622         * lyxlex.C: little cleanup
10623
10624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * BufferView_pimpl.C: fix insertAscii for insets
10627
10628 2001-12-05  Juergen Vigna  <jug@sad.it>
10629
10630         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10631         set the right font on the "multi" paragraph paste!
10632
10633 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10634
10635         * trans_decl.h:
10636         * trans_mgr.[Ch]:
10637         * trans.[Ch]:
10638         * lyxgluelength.C:
10639         * lyxlength.C: remove out-commented code.
10640
10641         * BufferView_pimpl:
10642         * CutAndPaste.C:
10643         * DepTable.C:
10644         * buffer.C:
10645         * chset.C:
10646         * lastfiles.C:
10647         * lyxlex.C:
10648         * lyxlex_pimpl.C:
10649         * lyxserver.C:
10650         * screen.C:
10651         * tabular-old.C:
10652         * tabular.C:
10653         * text.C:
10654         * trans_mgr.C:
10655         * vc-backend.C: change "while(" to "while ("
10656
10657         * lyxlength.[Ch]: add zero function to check if length is zero or
10658         not
10659         * lyxgluelength.C: use it
10660
10661 2001-12-05  Allan Rae  <rae@lyx.org>
10662
10663         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10664         Works for 2.95.3, from what I understand of Garst's reports this should
10665         work for other g++ versions.  We're screwed if the abs(int) definition
10666         changed between bugfix releases of gcc.
10667
10668 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * text.C: fix chapter label offset !
10671
10672 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * lyxtext.h:
10675         * text.C: fix hfill at end of line, clean up
10676
10677 2001-12-04  Juergen Vigna  <jug@sad.it>
10678
10679         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10680         that we force an update of the inset and it's owners if neccessary.
10681
10682 2001-12-03  Juergen Vigna  <jug@sad.it>
10683
10684         * text.C (rowLast): simplified code
10685
10686 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * lyxfunc.C: fix show options on timeout
10689
10690 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * screen.C (topCursorVisible): scroll half a page when the cursor
10693         reached top of bottom of screen
10694
10695 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * minibuffer.C: deactivate on loss of focus
10698
10699 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * vspace.[Ch] (operator!=): add operator.
10702
10703 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * BufferView_pimpl.C: refuse to open an inset when
10706         there's a selection.
10707
10708 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * BufferView_pimpl.C: allow to click on RHS of full row insets
10711
10712 2001-11-30  Juergen Vigna  <jug@sad.it>
10713
10714         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10715         insets for undo reasons.
10716
10717 2001-11-28  André Pönitz <poenitz@gmx.net>
10718
10719         * vspace.[Ch]: cosmetical changes
10720
10721 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * LyXAction.h:
10724         * LyXAction.C:
10725         * lyxfunc.h:
10726         * lyxfunc.C:
10727         * kbmap.h:
10728         * kbmap.C:
10729         * lyxrc.C:
10730         * kbsequence.h:
10731         * kbsequence.C: part re-write of old kb code
10732
10733         * Painter.C:
10734         * WorkArea.C: remove Lgb_bug_find_hack
10735
10736 2001-11-30  José Matos <jamatos@fep.up.pt>
10737
10738         * buffer.C (makeDocBookFile): add a comment to point a hack.
10739         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10740         Fixed a double write of labels.
10741
10742 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10743
10744         * LaTeX.C:
10745         * LaTeX.h Fixed bug in LaTeX class where it would not
10746         re-run latex if no depfiles were changed, but the .dvi was removed.
10747
10748 2001-11-28  André Pönitz <poenitz@gmx.net>
10749
10750         * all the files from the change on 2001/11/26:
10751         use lyx::layout_type instead of LyXTextClass::size_type
10752         use lyx::textclass_type instead of LyXTextClassList::size_type
10753
10754 2001-11-29  Juergen Vigna  <jug@sad.it>
10755
10756         * text.C: added support for paragraph::isFreeSpacing()
10757
10758         * buffer.C: same as above
10759
10760         * paragraph.h: inserted isFreeSpacing() function to enable
10761         FreeSpacing inside InsetERT.
10762
10763         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10764         of the paragraph's in the cut/copy buffer to 0!
10765
10766         * text2.C (removeRow): remove the assert as it can!
10767
10768         * lyxtext.h: added helper function firstRow returning firstrow and
10769         made firstrow private again.
10770
10771         * BufferView2.C (lockInset): don't relock if we're already locked!
10772
10773         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10774         the only paragraph.
10775         (removeRow): added Assert::(firstrow)
10776
10777         * debug.C: forgot to add INSETTEXT here.
10778
10779 2001-11-28  Juergen Vigna  <jug@sad.it>
10780
10781         * sp_spell.C (initialize): changed error text to more general
10782         spellchecker command use (not only ispell!)
10783
10784         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10785
10786         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10787
10788 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * vspace.C: initialise lyxgluelength on failure
10791
10792 2001-11-28  Allan Rae  <rae@lyx.org>
10793
10794         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10795         declaration & definition that looks like a function declaration.
10796
10797 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10798
10799         * BufferView2.C (copy):
10800         (copyEnvironment): do not clear the selection when doing a copy.
10801
10802         * text.C (paintFirstRow): compilation fix
10803
10804 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10805
10806         * tabular.C (Latex): correct line count when writing latex.
10807
10808 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * paragraph_pimpl.h:
10811         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10812           bug a bit
10813
10814 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * text.C:
10817         * LColor.h:
10818         * LColor.C: change vfillline->added_space
10819
10820         * text.C: add markers and text for added space
10821
10822         * vspace.C: fix comment
10823
10824 2001-11-28  André Pönitz <poenitz@gmx.net>
10825
10826         * paragraph.C: whitespace changes
10827         * all the other files from the change on 2001/11/26:
10828         change *::pos_type into lyx::pos_type
10829
10830 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10831
10832         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10833         language of the document when inserting error insets.
10834
10835 2001-11-26  André Pönitz <poenitz@gmx.net>
10836
10837         * BufferView_pimpl.[Ch]:
10838         *       CutAndPaste.C:
10839         * buffer.[Ch]:
10840         * lyxcursor.[Ch]:
10841         * lyxfind.C:
10842         * lyxfunc.C:
10843         * lyxrow.[Ch]:
10844         * paragraph.[Ch]:
10845         * paragraph_pimpl.[Ch]:
10846         * sp_spell.C:
10847         * text.C:
10848         * text2.C: reduce header dependencies, introduce type for positions
10849
10850 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10851
10852         * <various>: change to use Alert.h
10853
10854 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10857         when encountering an unknown token.
10858         (readLyXformat2): Show an error message if there were unknown tokens.
10859
10860 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * BufferView2.C:
10863         * BufferView_pimpl.C:
10864         * buffer.C:
10865         * paragraph.h:
10866         * text.C:
10867         * text2.C: use par->isInset()
10868
10869 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * paragraph_pimpl.h:
10872         * paragraph_pimpl.C: cleanup
10873
10874 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10875
10876         * text2.C (removeRow):
10877         * text.C (setHeightOfRow): remove useless (and costly) call to
10878         getRow.
10879
10880 2001-11-20  Allan Rae  <rae@lyx.org>
10881
10882         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10883         Now need Inset*::checkInsertChar() to return true for appropriate
10884         cases so that the characters in the minibuffer will actually be
10885         inserted.
10886
10887 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * text.C: change the order of the includes.
10890         (workWidth): initialize it at once.
10891         (workWidth): make maxw unsigned
10892         (setHeightOfRow): remove unused variable (inset)
10893         (selectSelectedWord): remove unused variable (inset)
10894         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10895
10896 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10897
10898         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10899         server is not running.
10900         (openConnection):
10901         (closeConnection): add debug info when server is disabled.
10902
10903         * ColorHandler.C (getGCForeground): send debug message to GUI
10904         channel.
10905
10906         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10907
10908         * kbmap.C (bind): modify because return conventions of
10909         kb_sequence::parse have changed.
10910
10911         * kbsequence.C (parse): only ignore spaces and not any stupid
10912         control character. This avoids tests like s[i] <= ' ', which are
10913         guaranteed to fail with 8bit characters and signed chars.
10914         Change return code to string::npos when there have been no error
10915         (0 was a bad idea when error is at first character)
10916
10917 2001-11-14  José Matos  <jamatos@fep.up.pt>
10918
10919         * buffer.h:
10920         * buffer.C (simpleDocBookOnePar): removed unused argument.
10921
10922 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10925         insets which are part of a word. Paragraph::isLetter takes care of
10926         that now. Use Paragraph::isInset to identify insets.
10927         (selectSelectedWord): do not test for hyphenation break.
10928
10929         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10930         that protected spaces are considered as spaces.
10931
10932         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10933         Inset::isLetter.
10934
10935 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * lyxserver.h:
10938         * lyxserver.C: fix it. and small cleanup.
10939
10940 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * BufferView_pimpl.C: use inline helpers
10943
10944         * LaTeXFeatures.h:
10945         * LaTeXFeatures.C: fix typos
10946
10947         * Spacing.h:
10948         * Spacing.C: move spacing_string into class
10949
10950         * ToolbarDefaults.C: move stuff into namespace anon
10951
10952         * layout.h: update enum
10953
10954         * lyxfunc.C: use better debug
10955
10956         * minibuffer.h: fix typo
10957
10958         * debug.h:
10959         * debug.C:
10960         * WorkArea.C: add and use Debug::WORKAREA
10961
10962         * lyxtext.h:
10963         * text.C:
10964         * text2.C: code re-organisation, inline helpers
10965
10966 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10967
10968         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10969         std::vector.empty().
10970
10971 2001-11-09  Allan Rae  <rae@lyx.org>
10972
10973         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10974         '\n's after tables.  Tabular and ERT inset work now makes this no
10975         longer necessary.
10976
10977 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * minibuffer.h:
10980         * minibuffer.C: fix crash, improve drop-down completion
10981
10982 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * lyxserver.h:
10985         * lyxserver.C: invalidate fd's when doing endPipe()
10986
10987 2001-11-08  José Matos  <jamatos@fep.up.pt>
10988
10989         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10990         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10991
10992         * paragraph.h:
10993         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10994
10995 2001-11-07  José Matos  <jamatos@fep.up.pt>
10996
10997         * buffer.h:
10998         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10999         const qualifier.
11000
11001         * buffer.C (sgmlOpenTag):
11002         * buffer.C (sgmlCloseTag): removed debug info.
11003
11004         * buffer.h (sgmlOpenTag):
11005         * buffer.h (sgmlCloseTag): made public.
11006
11007 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11008
11009         * buffer.C (saveParamsAsDefaults):
11010         * lyx_cb.C (MenuLayoutSave): remove
11011
11012         * LyXAction.C (init):
11013         * commandtags.h:
11014         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11015
11016 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11017
11018         * buffer.C (setPaperStuff): removed from here...
11019
11020         * bufferparams.C (setPaperStuff): ... and moved there.
11021
11022 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * minibuffer.h:
11025         * minibuffer.C:
11026         * XFormsView.C: add support for drop-down completion
11027
11028 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11031         commands.
11032
11033 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11036         disabled.
11037
11038 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * lyx_main.C: change ref to known bugs
11041
11042 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11043
11044         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11045         to work around older babel problems.
11046
11047 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11048
11049         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11050
11051 2001-10-24  Juergen Vigna  <jug@sad.it>
11052
11053         * tabular-old.C (ReadOld): below variable changes reflected.
11054
11055         * tabular.[Ch]: added ltType struct for longtable header/footer
11056         defines and changed all instances where they are used. Added
11057         future support for double top/bottom rows.
11058
11059 2001-10-24  José Matos  <jamatos@fep.up.pt>
11060
11061         * buffer.h (docbookHandleCaption):
11062         * buffer.C (docbookHandleCaption): removed unused function.
11063         (makeDocBookFile): moved docbook supported version to v4.1.
11064
11065 2001-10-24  José Matos  <jamatos@fep.up.pt>
11066
11067         * tabular.h:
11068         * tabular.C (docbookRow): new function to export docbook code of a row.
11069         (DocBook): now honors the longtable flags.
11070
11071 2001-10-23  José Matos  <jamatos@fep.up.pt>
11072
11073         * LaTeXFeatures.h:
11074         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11075         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11076
11077         * buffer.C (makeLinuxDocFile):
11078         (makeDocBookFile): reworked the preamble, more clean, and with
11079         support for lyx defined entities. Changed the document declaration
11080         to be more XML friendly.
11081
11082         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11083         if we need to output XML that should be done with a filter.
11084
11085 2001-10-22  Juergen Vigna  <jug@sad.it>
11086
11087         * sp_pspell.h (class PSpell): add alive function needed in the
11088         controller to see if the spellchecker could be started.
11089
11090 2001-10-22  Juergen Vigna  <jug@sad.it>
11091
11092         * buffer.C (insertStringAsLines): modify the font for inserting
11093         chars in certain conditions by calling checkInsertChar(font).
11094
11095 2001-10-19  Juergen Vigna  <jug@sad.it>
11096
11097         * text.C (workWidth): use getRow instead of wrong algorithm.
11098         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11099
11100 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * lyxserver.h:
11103         * lyxserver.C:
11104         * lyx_main.h:
11105         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11106
11107 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11108
11109         * text.C (workWidth): do not search for the exact row when
11110         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11111         optimization for big documents.
11112
11113 2001-10-18  Juergen Vigna  <jug@sad.it>
11114
11115         * text.C (workWidth): new function with added Inset * parameter.
11116
11117 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11118
11119         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11120
11121         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11122         change return type of getColumnNearX.
11123
11124
11125         * text.C (changeRegionCase): use uppercase/lowercase instead of
11126         toupper/tolower.
11127         (leftMargin):
11128         (rightMargin): simplify code by factoring out the uses of
11129         textclasslist.
11130         (labelFill):
11131         (numberOfHfills):
11132         (setHeightOfRow):
11133         (appendParagraph): use Paragraph::size_type
11134
11135 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11136
11137         * vspace.C (asLatexString): add a missing break
11138
11139 2001-10-15  Herbert Voss  <voss@perce.de>
11140
11141         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11142
11143 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11144
11145         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11146         is not available.
11147
11148 2001-10-10  André Pönitz <poenitz@gmx.net>
11149
11150         * lyxfunc.C: removed greek_kb_flag.
11151
11152 2001-10-10  Herbert Voss  <voss@perce.de>
11153
11154         * lyx_main.C: delete global string help_lyxdir.
11155
11156 2001-10-09  Herbert Voss  <voss@perce.de>
11157
11158         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11159
11160         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11161
11162         * lyx_main.C: added global string help_lyxdir.
11163
11164         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11165
11166 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11167
11168         * lyxrc.C (set_font_norm_type): support iso8859-4
11169
11170 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11171
11172         * LaTeX.C (deplog): add another regex for MikTeX
11173
11174 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11175
11176         * lyxrc.C (set_font_norm_type): support iso8859-3
11177
11178 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11179
11180         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11181
11182         * LaTeXFeatures.C: remove special case of french and index
11183
11184         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11185         before \begin{document}). This solves several incompatibilities.
11186
11187 2001-10-03  Garst Reese  <reese@isn.net>
11188
11189         * lyx_cb.C: change CheckTex error msg.
11190
11191 2001-10-03  José Matos  <jamatos@fep.up.pt>
11192
11193         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11194
11195 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11196
11197         * .cvsignore: update
11198
11199         * lyx_main.C (commandLineVersionInfo): use new style version info.
11200
11201         * buffer.C (writeFile):
11202         (makeLaTeXFile):
11203         (makeLinuxDocFile):
11204         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11205
11206         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11207
11208         * version.h: update to use stuff in version.C
11209
11210         * version.C.in: new file. Contains version information determined
11211         at compile time. This is a merging of version.h and
11212         version_info.h.in.
11213
11214 2001-10-03  Juergen Vigna  <jug@sad.it>
11215
11216         * BufferView_pimpl.C (update): don't change "dirty" status in
11217         updateInset call.
11218
11219 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11220
11221         * WorkArea.C (c-tor): re-position version string slightly.
11222
11223 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11226         revert to previous code.
11227
11228         WorkArea.[Ch]: (show, destroySplash): methods removed.
11229
11230         WorkArea.C: rework code so that it's an amalgam of the codes before and
11231         after the splash screen was moved to WorkArea.
11232
11233 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11234
11235         * lyxrc.C (read):
11236         * vspace.C (inPixels):
11237         (lyx_advance):
11238         * kbmap.C (bind):
11239         * buffer.C (insertStringAsLines):
11240         (asciiParagraph): fix types to be large enough
11241
11242         * lyxlex_pimpl.h: change member status from short to int
11243
11244         * layout.h: fix type of endlabeltype
11245
11246         * kbmap.C (bind):
11247         * kbsequence.C (parse): change return type to string::size_type
11248
11249         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11250         variable
11251
11252         * Bullet.C (bulletSize):
11253         (bulletEntry): do not use short ints as parameters
11254
11255         * BufferView2.C (insertLyXFile): change a char to an int.
11256
11257         * WorkArea.C (WorkArea): remove unneeded floats in computation
11258
11259 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11262
11263         * paragraph.C (asString): Do not ignore newline/hfill chars when
11264         copying to the clipboard.
11265
11266 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11267
11268         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11269         after a multi-line inset.
11270
11271 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * paragraph.C (validate): Set NeedLyXFootnoteCode
11274
11275 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11276
11277         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11278         and decrease-error to decrease.
11279
11280 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11283         it more readable (should be equivalent)
11284
11285 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11286
11287         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11288
11289 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11290
11291         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11292         of a cursor (row, etc.) after a character has been deleted
11293         (deleteEmptyParagraphMechanism): call the method above on _all_
11294         cursors held by the LyXText when a double space has been
11295         detected/deleted.
11296
11297 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11298
11299         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11300         pixmap.
11301         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11302
11303         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11304         background. Use greyOut() and the new show() methods to toggle between
11305         the foreground and background. Add code to remove the splash after
11306         its initial showing.
11307
11308         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11309         (create_forms): no longer call Dialogs::showSplash.
11310
11311 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11312
11313         * .cvsignore: add version_info.h
11314
11315 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11316
11317         * version_info.h.in: new file
11318
11319         * Makefile.am: add version_info.h.in
11320
11321         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11322         version_info.h instead of VERSION_INFO
11323
11324 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11327         The ERT inset now returns string().
11328
11329 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * lyxtext.h, text.C (selectNextWord): renamed as
11332         selectNextWordToSpellcheck.
11333
11334         * text.C (selectNextWordToSpellcheck): Modified to not select
11335         words inside an ERT inset.
11336
11337 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11338
11339         * lyx_cb.C (MenuLayoutSave): change a bit the question
11340
11341         * sp_base.h: include <sys/types.h>
11342
11343 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11346
11347 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11348
11349         * several files: fix typos in user-visible strings
11350
11351 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11352
11353         * text2.C (pasteSelection): do not set the selection, since it
11354         will be cleared later. Actually, the intent was to fix the way the
11355         selection was set, but I figured rmoving the code was just as good.
11356
11357 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11358
11359         * FontLoader.C (available): Check if font is available without
11360         loading the font.
11361
11362 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11363
11364         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11365
11366 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11367
11368         * lyxrc.[Ch]: added display_graphics variable and associated code.
11369
11370 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11371
11372         * bufferparams.C (hasClassDefaults): new method. Returns true if
11373         the buffer parameters correspond to known class defaults
11374
11375 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11376
11377         * XFormsView.C (show): set minimum size to the main window.
11378
11379 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11380
11381         * text2.C (copySelection):
11382         (cutSelection):
11383         * lyxfind.C (LyXReplace):
11384         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11385         LyXText::selectionAsString.
11386
11387         * paragraph.C (asString): add "label" argument to the second form
11388
11389         * text2.C (selectionAsString): add "label" argument and pass it to
11390         Paragraph::asString.
11391
11392 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11393
11394         * lyx_main.C (commandLineHelp): remove version information
11395
11396 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11397
11398         * lyx_main.C: add -version commandline option
11399
11400 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * paragraph.h: make the optional constructor arg required instead.
11403         some modifications to other files because of this.
11404
11405         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11406
11407         * lyxserver.C (C_LyXComm_callback): make it static
11408
11409         * lyx_main.C (error_handler): make it static
11410
11411         * lyx_gui.C (LyX_XErrHandler): make it static
11412
11413         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11414
11415         * WorkArea.C: make the extern "C" methods static.
11416
11417         * Makefile.am (lyx_LDADD): simplify
11418
11419 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11420
11421         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11422         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11423
11424         * LyXAction.C (init):
11425         * lyxfunc.C (dispatch): associated code removal.
11426
11427 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11428
11429         * lyxfont.h (isSymbolFont): shut off warning
11430
11431         * text.C (setHeightOfRow):
11432         (getVisibleRow): fix crash with empty paragraphs which have a
11433         bottom line
11434
11435 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11436
11437         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11438         code.
11439
11440 2001-09-04  José Matos  <jamatos@fep.up.pt>
11441         * buffer.C
11442         * buffer.h
11443         * tabular.C (docbook): rename docBook method to docbook.
11444
11445 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * Makefile.am: add dependencies to main.o.
11448
11449 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * FontLoader.C (available): Return false if !lyxrc.use_gui
11452
11453 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11454
11455         * FontInfo.C (query):
11456         * converter.C (view):
11457         * importer.C (Import):
11458         * exporter.C (Export): Can not -> cannot.
11459
11460 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * BufferView_pimpl.C: allow to create index inset even if
11463           string is empty
11464
11465 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11466
11467         * buffer.C (getLists): replace boost::tie code with an explicit pair
11468         as boost::tie can break some compilers.
11469
11470         * iterators.h: Added a std:: declaration to the return type of
11471         ParIterator::size.
11472
11473 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11476           case.
11477
11478 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11479
11480         * iterators.[Ch]: New files. Provide paragraph iterators.
11481
11482         * buffer.C (changeLanguage): Use paragraph iterators.
11483         (isMultiLingual): ditto
11484
11485         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11486
11487 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * FontLoader.C: Support for cmr font.
11490
11491 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11492
11493         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11494         (available): New method.
11495
11496         * FontInfo.C (getFontname): Use scalable fonts even when
11497         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11498         found.
11499
11500 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * converter.C (Formats::view): reverted! Incorrect fix.
11503
11504 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11505
11506         * converter.C (Formats::view): only output the -paper option
11507         if the dvi viewer is xdvi, thereby fixing bug #233429.
11508
11509 2001-08-23  Herbert Voss  <voss@perce>
11510
11511         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11512
11513 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * Spacing.h (Spacing): Set space to Default on in the default
11516         constructor.
11517
11518 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * vc-backend.h (RCS::versionString): add RCS to version
11521         (CVS::versionString): add CVS to version
11522
11523         * vc-backend.C (scanMaster): do not add CVS to version.
11524         (scanMaster): do not add RCS to version
11525
11526         * lyxvc.C (versionString): new method
11527
11528         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11529
11530 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * Spacing.C (set): initialize fval
11533
11534 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11537         " or \.
11538
11539 2001-08-16  Juergen Vigna  <jug@sad.it>
11540
11541         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11542
11543 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * BufferView_pimpl.C:
11546         * figureForm.C:
11547         * lyxtext.h:
11548         * text2.C: setParagraph takes linespacing now
11549
11550 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * LyxAction.C: add internal LFUN_CITATION_INSERT
11553
11554         * LyXView.C: actually apply fix
11555
11556         * bufferlist.C: fix open non-existent file
11557
11558         * lyxfind.C: fix indentation
11559
11560         * lyxfunc.C: remove unneeded assert, fix typo
11561
11562 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * MenuBackend.C: use "Floatname List"
11565
11566 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11567
11568         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11569         when converting LaTeX layout to insetERT.
11570         Generate a non-collapsed float when reading old float
11571
11572 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11573
11574         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11575         ERT insets.
11576
11577 2001-08-13  Juergen Vigna  <jug@sad.it>
11578
11579         * text.C (fill): return 0 instead of 20 as this seems to be the more
11580         correct value.
11581
11582 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11583
11584         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11585         lyxrc.font_norm.
11586
11587 2001-08-13  Juergen Vigna  <jug@sad.it>
11588
11589         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11590         casesensitive off.
11591         (SearchBackward): comment out the unlocking of the inset_owner this
11592         should not be needed!
11593
11594 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11595
11596         * Many files: Remove inherit_language, and add latex_language
11597
11598         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11599         collapsible insets.
11600
11601 2001-08-10  Juergen Vigna  <jug@sad.it>
11602
11603         * text.C (prepareToPrint): fixed hfill-width in draw!
11604
11605         * BufferView2.C (selectLastWord): save the selection cursor as this
11606         now is cleared in the function LyXText::clearSelection!
11607
11608 2001-08-08  Juergen Vigna  <jug@sad.it>
11609
11610         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11611         BACKSPACE type functions.
11612
11613         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11614         is only cutted from the document but not put in the cut-buffer, where
11615         still the old stuff should be.
11616
11617         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11618
11619         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11620
11621         * tabular.C (SetWidthOfCell): fixed special case where the width
11622         was not updated!
11623         (LeftLine): handle '|' in align_special.
11624         (RightLine): ditto
11625         (LeftAlreadyDrawed): ditto
11626         (SetWidthOfCell): ditto
11627
11628 2001-08-07  Juergen Vigna  <jug@sad.it>
11629
11630         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11631
11632 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11635         * lyxlex.[hC]: ditto
11636
11637 2001-08-06  Juergen Vigna  <jug@sad.it>
11638
11639         * text.C (getVisibleRow): fix up row clearing a bit.
11640
11641 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * minibuffer.C: make sure the X server sees the changes in the input.
11644
11645 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * paragraph.C (getFont): split into...
11648         (getLabelFont): this
11649         (getLayoutFont): and this
11650         * paragraph_pimpl.C (realizeFont): calling this
11651
11652         * text2.C (getFont): split into...
11653         (getLayoutFont): this
11654         (getLabelFont): and this
11655         (realizeFont): all three calling this
11656
11657         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11658         files where used.
11659
11660 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11661
11662         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11663
11664 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11665
11666         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11667         layouts from the Quote inset insertion.
11668
11669 2001-08-03  Juergen Vigna  <jug@sad.it>
11670
11671         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11672
11673         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11674         only if status not is already CHANGED_IN_DRAW (second level).
11675
11676         * text.C (draw): don't set the need_break_row when inside an
11677         InsetText LyXText.
11678
11679 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * buffer.C (parseSingleLyXformat2Token): handle more latex
11682         conversion cases.
11683
11684         * bufferview_funcs.[hC]: change function names to
11685         begin with small char, adjust other files.
11686
11687 2001-08-02  André Pönitz <poenitz@gmx.net>
11688
11689         * lyxfunc.C:
11690         BufferView_pimpl.C: remove broken special code for math-greek
11691
11692 2001-08-02  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView_pimpl.C (update): redone this function so that we
11695         update the text again if there was a CHANGE_IN_DRAW.
11696
11697         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11698         (drawFromTo): added a new internal bool which is used by draw() and
11699         redraw() function.
11700         (general): some cursor drawing problems fixed.
11701
11702 2001-08-01  Juergen Vigna  <jug@sad.it>
11703
11704         * lyxfind.C (LyXFind): fixed
11705         (SearchForward): ditto
11706         (SearchBackward): ditto
11707
11708         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11709         spurius drawing of the cursor in the main area.
11710
11711         * text2.C (status): small fix which could lead to a segfault!
11712         (clearSelection): remove unneeded BufferView param.
11713
11714 2001-08-01  André Pönitz <poenitz@gmx.net>
11715
11716         * lyxfunc.C: small change due to changed mathed interface
11717
11718 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11719
11720         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11721
11722 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * lyxfunc.c: fail gracefully if file doesn't exist
11725
11726         * LyXSendto.C:
11727         * buffer.C:
11728         * lyxfunc.C:
11729         * BufferView_pimpl.C: IsDirWriteable() proto changed
11730
11731         * LyXView.C: fix updateWindowTitle() to store the last title
11732
11733 2001-07-31  Juergen Vigna  <jug@sad.it>
11734
11735         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11736         the font (wrong since using of Paragraph::highestFontInRange).
11737
11738         * paragraph.C (highestFontInRange): added a default_size parameter.
11739
11740         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11741         (setHeightOfRow): reformat
11742
11743 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * converter.[hC] + affected files: move to (inital-char)lowercase
11746         function names.
11747
11748         * ParagraphParameters.C (ParagraphParameters): remove commented code
11749
11750         * PainterBase.[Ch]: remove commented code
11751
11752         * LaTeXFeatures.h: add "bool floats" for float.sty
11753
11754         * LaTeXFeatures.C (LaTeXFeatures): init floats
11755         (require): handle float
11756         (getPackages): do it with floats
11757
11758 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * BufferView_pimpl.C (Dispatch): improve handling of
11761         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11762
11763         * commandtags.h: #include lyxfont.h here temporarily to avoid
11764         keybinding bug.
11765
11766         * bufferlist.h: include LString.h here.
11767
11768 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * text2.C (getStringToIndex): new method.
11771
11772 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11773
11774         * *: Reduced header file dependencies all over.
11775
11776 2001-07-30  Baruch Even  <baruch@lyx.org>
11777
11778         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11779
11780 2001-07-29  Baruch Even  <baruch@lyx.org>
11781
11782         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11783
11784 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * ParameterStruct.h (endif): add a default constructor to make
11787         sure that all variables is initialized.
11788
11789         * ParagraphParameters.C (ParagraphParameters): adjust
11790
11791 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11794         index; also, check that there is something to index, and that it
11795         does not span over several paragraphs.
11796         (doubleClick): use WHOLE_WORD_STRICT for double click.
11797
11798         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11799
11800         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11801         scheme.
11802
11803 2001-07-26  Baruch Even  <baruch@lyx.org>
11804
11805         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11806         an InsetFig figure, backwards compatible reading of old figure code.
11807
11808 2001-07-27  Juergen Vigna  <jug@sad.it>
11809
11810         * text2.C: font.realize function adaption.
11811
11812         * text.C (draw): add a warnings lyxerr text if needed.
11813
11814         * layout.C: font.realize function adaption.
11815
11816         * language.C: add inherit_language and implement it's handlings
11817
11818         * bufferview_funcs.C (StyleReset): remove language parameter from
11819         font creation (should be language_inherit now).
11820
11821         * bufferparams.C (writeFile): handle ignore_language.
11822
11823         * paragraph.C (getFontSettings): the language has to be resolved
11824         otherwise we have problems in LyXFont!
11825
11826         * lyxfont.C (lyxWriteChanges): added document_language parameter
11827         (update): removed unneeded language parameter
11828
11829         * paragraph.C (validate): fixed wrong output of color-package when
11830         using interface colors for certain fonts in certain environments,
11831         which should not seen as that on the final output.
11832
11833 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * BufferView_pimpl.C:
11836         * Thesaurus.h:
11837         * Thesaurus.C:
11838         * Makefile.am:
11839         * commandtags.h:
11840         * LyXAction.C: add thesaurus support
11841
11842         * lyxfind.h:
11843         * lyxfind.C: add "once" parameter, for thesaurus, to not
11844           move to the next match
11845
11846 2001-07-26  Juergen Vigna  <jug@sad.it>
11847
11848         * lyxfont.C (realize): honor ignore_language too!
11849         (resolved): ditto.
11850
11851         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11852
11853         * text.C (draw): one place more for ignore_language to not draw
11854         itself!
11855
11856 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11857
11858         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11859
11860 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11863         the minipage conversion problem.
11864
11865 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11868         insert an inset.
11869
11870 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * BufferView.h: don't forward declare WorkArea
11873
11874         * BufferView.C: don't include WorkArea.h
11875
11876 2001-07-25  André Pönitz <poenitz@gmx.net>
11877
11878         * commandtags.h:
11879         * LyXAction.C:
11880         * lyxfunc.C:  new LFUN 'math-space'
11881
11882         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11883
11884 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * text2.C (toggleInset): call open/close
11887
11888 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * lyxfunc.C (dispatch): add debug for the disabled case
11891
11892         * font.C (buttonText): make similar to rectText
11893
11894         * buffer.C (readInset): comment out parsing of insetlist and
11895         insttheorem
11896
11897         * PainterBase.C (rectText): small correction
11898
11899         * BufferView_pimpl.C: comment out insettheorem and insetlist
11900         * LyXAction.C: ditto
11901         * commandtags.h: ditto
11902
11903 2001-07-24  Juergen Vigna  <jug@sad.it>
11904
11905         * text.C (draw): honor the ignore_language.
11906
11907         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11908
11909 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11910
11911         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11912         char inset.
11913
11914 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11915
11916         * lyxtext.h: remove unused (and unimplemented) methods
11917
11918 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11919
11920         * text.C (getVisibleRow): honor background color
11921
11922         * PainterBase.h:
11923         * Painter.h: remove default color argument for fillRectangle
11924
11925         * text.C (backgroundColor): new method
11926
11927 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11928
11929         * text.C (getVisibleRow): adjust
11930
11931         * font.[Ch] (rectText): new method, metrics
11932         (buttonText): new method, metrics
11933
11934         * PainterBase.[hC]: make rectText and buttonText always draw and take
11935         fewer paramteres.
11936
11937 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11938
11939         * ToolbarDefaults.C (read):
11940         * MenuBackend.C (read): allow escaping in all strings
11941
11942         * BufferView_pimpl.C (insertAndEditInset): new method.
11943         (Dispatch): use insertAndEditInset whenever appropriate.
11944
11945         * BufferView_pimpl.C (insertNote): removed
11946
11947         * BufferView_pimpl.C (smartQuote): new method, moved from
11948         BufferView; if an insetquote cannot be inserted, insert a '"'
11949         character instead.
11950
11951         * BufferView2.C: remove insertCorrectQuote();
11952
11953         * lyxfunc.C (getStatus): Add support for all remaingin
11954         inset-insert lfuns.
11955
11956         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11957
11958         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11959         command (necessary to pass " as parameter of self-insert.
11960
11961         * text.C (selectWordWhenUnderCursor):
11962         (selectWord): add word_location parameter
11963         (selectWordWhenUnderCursor): same + remove special code for word
11964         boundary.
11965         (selectNextWord): use kind() to guess type of insetspecialchar,
11966         not latex().
11967
11968         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11969         (insertErtContents): create ert insets as collapsed.
11970         (readInset): better compatibility code for Info inset.
11971
11972 2001-07-20  Juergen Vigna  <jug@sad.it>
11973
11974         * lyxfunc.C (dispatch): use always LyXFind now!
11975
11976         * text2.C (init): add a reinit flag so that the LyXText can be
11977         reinited instead of deleted and reallocated (used in InsetText).
11978
11979         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11980
11981         * text.C: ditto
11982
11983         * text2.C: ditto
11984
11985 2001-07-18  Juergen Vigna  <jug@sad.it>
11986
11987         * text.C (selectNextWord): handle insets inside inset by calling
11988         always the bv->text functions so that we can go up the_locking_inset!
11989
11990         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11991         in strange locations when inside an inset!
11992
11993         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11994         handling to include insets.
11995
11996         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11997
11998 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11999
12000         * LyXAction.C (init):
12001         * commandtags.h:
12002         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12003         LIGATURE_BREAK, since the name is so stupid.
12004
12005 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12006
12007         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12008         InsetInfos.
12009
12010         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12011
12012         * sp_form.[Ch]: remove.
12013
12014         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12015
12016         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12017         InsetInfo.
12018
12019         * src/buffer.C (readInset): ditto.
12020
12021 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12022
12023         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12024         menuSeparator(), endOfSentenceDot(), ldots() and
12025         hyphenationPoint(), which are therefore removed.
12026         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12027
12028         * LyXAction.C (init):
12029         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12030
12031         * paragraph.C (getWord): removed.
12032
12033         * BufferView_pimpl.C (Dispatch): use last word or selection for
12034         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12035
12036         * lyx_main.C (queryUserLyXDir): do not ask before creating
12037         user_dir, except if it has been named explicitely.
12038
12039 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12042         a document of zero size.
12043
12044 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12047         approriately in the c-tor and in require().
12048         (getPackages): output the appropriate LaTeX for natbib support.
12049
12050         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12051         variables "use_natbib" and "use_numerical_citations" when reading the
12052         LyX file.
12053         (readInset): read the various natbib cite commands.
12054         (validate): white-space change.
12055
12056         * bufferparams.[Ch]: new variables "bool use_natbib" and
12057         "bool use_numerical_citations".
12058         (writeFile): output them in the LyX file.
12059
12060 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12061
12062         * lyxfunc.C (getStatus): add support for all the inset insertion
12063         commands.
12064
12065         * text2.C (insertInset):
12066         * paragraph.C (insetAllowed):
12067         * BufferView_pimpl.C (insertInset): update to take in account the
12068         renaming of insertInsetAllowed
12069
12070         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12071
12072         * text2.C (getInset): new method. returns inset at cursor position.
12073
12074         * BufferView_pimpl.C (Dispatch): changes because of this.
12075
12076         * LyXAction.C (init): rename open-stuff to inset-toggle.
12077
12078         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12079
12080         * text2.C (toggleInset): renamed from openStuff; use
12081         Inset::open().
12082
12083 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12084
12085         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12086
12087         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12088
12089 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * buffer.C (readLyXformat2): Add filename to the error dialog
12092
12093 2001-07-18  Juergen Vigna  <jug@sad.it>
12094
12095         * tabular.C (GetCellNumber): put an assert here instead of the check!
12096
12097 2001-07-17  Juergen Vigna  <jug@sad.it>
12098
12099         * BufferView_pimpl.C (toggleSelection): adapted too.
12100
12101         * text.C (selectNextWord): adapted for use with insets.
12102         (selectSelectedWord): ditto
12103
12104 2001-07-17  Juergen Vigna  <jug@sad.it>
12105
12106         * sp_spell.C (PSpell): fix initialitation order.
12107
12108 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12109
12110         * paragraph.C: spacing
12111
12112 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12113
12114         * sp_spell.C: repair language selection for pspell
12115
12116 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * lyxfunc.h: change more methods to begin with lower char.
12119
12120 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12121
12122         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12123         for unknown layouts.
12124
12125 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * buffer.C (readLyXformat2): Generate an error dialog if there are
12128         unknown layouts.
12129
12130 2001-07-16  Juergen Vigna  <jug@sad.it>
12131
12132         * sp_spell.C: always compile ISpell part.
12133
12134         * lyxrc.C: added use_pspell entry and it's handling.
12135
12136 2001-07-13  Juergen Vigna  <jug@sad.it>
12137
12138         * sp_spell.C: removed double includes.
12139
12140 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12141
12142         Consistent use of Lsstream.h:
12143         * Lsstream.h: added using std::stringstream for consistencies sake.
12144
12145         * buffer.C: removed using std::stringstream
12146
12147         * lyxfont.C (stateText):
12148         * paragraph.C (asString):
12149         * text.C (selectNextWord, selectSelectedWord):
12150         * text2.C (setCounter):
12151         * vspace.C (asString, asLatexString):
12152         std::ostringstream -> ostringstream.
12153
12154 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12155
12156         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12157         * commandtags.h: add LFUN_HELP_ABOUTLYX
12158         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12159
12160 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12161
12162         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12163         cursorToggle()
12164         * lyx_gui_misc.C: remove spellchecker
12165         * lyxfunc.C: showSpellchecker
12166         * sp_base.h: added
12167         * sp_ispell.h: added
12168         * sp_pspell.h: added
12169         * sp_spell.C: added
12170         * sp_form.[Ch]: removed
12171         * spellchecker.[Ch]: removed
12172
12173 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12174
12175         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12176         is set.
12177         (simpleTeXSpecialChars): Simply print the input character without
12178         any special translation if pass_thru is set.
12179
12180         * layout.h: Added bool pass_thru to layout class for being able to
12181         implement pass through of a paragraph for Literate Programming.
12182
12183         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12184         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12185         * layout.C (Read): add "passthru" to list of layout tags and add
12186         code to set the pass_thru boolean when it is read.
12187
12188 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * trans_decl.h: remove allowed from KmodInfo
12191
12192         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12193         remove allowed code
12194         (Load): adjust
12195
12196         * paragraph_pimpl.C (erase): use boost::prior
12197
12198         * Painter.C (text): use data() instead of c_str() when length is
12199         also provided.
12200         * WorkArea.C (putClipboard): ditto
12201         * font.h (width): ditto
12202
12203         * BufferView2.C: use it-> instead of (*it). for iterators
12204         * texrow.C: ditto
12205         * paragraph_pimpl.C: ditto
12206         * paragraph.C: ditto
12207         * minibuffer.C: ditto
12208         * language.C: ditto
12209         * kbmap.C: ditto
12210         * encoding.C: ditto
12211         * counters.C: ditto
12212         * converter.C: ditto
12213         * chset.C: ditto
12214         * Variables.C: ditto
12215         * TextCache.C: ditto
12216         * MenuBackend.C: ditto
12217         * LyXAction.C: ditto
12218         * LColor.C: ditto
12219         * FloatList.C: ditto
12220         * DepTable.C: ditto
12221         * ColorHandler.C (LyXColorHandler): ditto
12222
12223 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12226
12227         * text2.C (openStuff): reintroduce this method (which had been
12228         nuked in NEW_INSETS frenzy).
12229
12230         * lyxfunc.C (Dispatch): when an action has not been handled, use
12231         its name in the error message, not its number.
12232
12233         * paragraph.C (inInset): change method name to begin with lowercase.
12234
12235         * undo_funcs.C:
12236         * text2.C: updates because of this.
12237
12238 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * ToolbarDefaults.C (add): add spaces in error message
12241
12242 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12243
12244         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12245         (readLyXformat2): rename return_par to first_par, use lyxlex's
12246         pushToken and remove the manual push handling.
12247         (parseSingleLyXformat2Token): add another ert comp. variable:
12248         in_tabular, rename return_par to first_par. handle newlines better
12249
12250 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12253
12254 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * text2.C (getParFromID): removed
12257
12258         * buffer.C (getParFromID): new method moved form lyxtext.
12259         * BufferView2.C (insertErrors): adjust
12260         (setCursorFromRow): adjust
12261         * BufferView_pimpl.C (restorePosition): adjust
12262         * lyxfunc.C (Dispatch): adjust
12263         * undo_funcs.C (textUndo): adjust
12264         (textRedo): adjust
12265         (textHandleUndo): adjust
12266         (textHandleUndo): adjust
12267
12268 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * buffer.C: up' the LYX_FORMAT
12271
12272         * lyxfont.h: turn NO_LATEX on as default
12273
12274         * buffer.C (insertErtContents): new methods of tex style compability.
12275         (parseSingleLyXformat2Token): use it several places.
12276         * tabular.C (OldFormatRead): and here
12277
12278 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * text2.C: remove some commented code.
12281         reindent file.
12282
12283         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12284         * trans.C: changes because of the above.
12285
12286 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12287
12288         * text2.C (setCounter): Fix counters bug with bibliography layout.
12289
12290 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12293         own member functions
12294         (simpleTeXSpecialChars): ditto
12295
12296 2001-07-06  Juergen Vigna  <jug@sad.it>
12297
12298         * a lot of files: changed the access to LyXText::status and the
12299         call of undo-functions.
12300
12301         * undo.[Ch]: added a inset_id to the undo informations.
12302
12303         * undo_funcs.[Ch]: added and moved here all undo functions.
12304
12305         * lyxtext.h: give the status enum a weight, made status_ a private
12306         variable and made accessor functions for it, removed the whole bunch
12307         of undo-functions as they are now in their own file, make some
12308         functions publically available. Added function ownerParagraph with
12309         int parameter.
12310
12311         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12312         made InInset() a const function, added getParFromID() function.
12313
12314         * buffer.[Ch]: added const version for inset_iterator functions,
12315         added getInsetFromID() function.
12316
12317         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12318         changed undo functions for new version.
12319
12320 2001-07-05  Juergen Vigna  <jug@sad.it>
12321
12322         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12323         unknow mechanism does not call the proper constructor but only this
12324         one also if I request the other!?
12325
12326 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12329
12330         * text2.C (LyXText): use initialization lists.
12331
12332         * lyxtext.h (Selection): initialize set_ and mark_
12333         (init): remove method
12334
12335 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12336
12337         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12338
12339 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * screen.[Ch]: change method names to begin with lowercase
12342
12343         * BufferView_pimpl.C (updateScrollbar): simplify further and
12344         hopefully make it a bit faster.
12345
12346 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12349         calling directly xforms functions.
12350
12351         * Painter.C (Painter):
12352         * lyx_cb.C (MenuWrite):
12353         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12354         fl_display.
12355
12356         * lyx_gui.C: remove bogus guiruntime extern declaration.
12357
12358 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12361         in NEW_INSETS
12362         (redoDrawingOfParagraph): ditto
12363         (redoParagraphs): ditto
12364         (cutSelection): don't create a object for CutAndPaste use the
12365         static method directly
12366         (pasteSelection): ditto
12367
12368         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12369         LyXview (+ rename)
12370
12371 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * modifications to some other files because of this.
12374
12375         * Makefile.am (lyx_SOURCES): add XFormsView
12376
12377         * XFormsView.[Ch]: new files
12378
12379         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12380         the main window. Move the gui dependent stuff to XFormsView
12381
12382 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12383
12384         * tabular.C (GetCellInset): update cur_cell also in the row/col
12385         version of this function.
12386
12387         * lyxfunc.C: no need to include figure_form.h here.
12388
12389         * FontLoader.h:
12390         * lyxfunc.h:
12391         * lyxscreen.h:
12392         * text2.C:
12393         * lyxvc.C: no need to include forms.h here.
12394
12395 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12396
12397         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12398
12399         * lyxfunc.C (Dispatch):
12400         * Spacing.C (set):
12401         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12402         constructor argument.
12403
12404 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * paragraph.C (Paragraph): dont't clear, and just set layout.
12407         (makeSameLayout): use params's copy contructor.
12408
12409         * ParagraphParameters.[Ch] (makeSame): delete method
12410
12411 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * Variables.[Ch]: fix indentation, rename set to isSet
12414
12415 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12416
12417         * lyxfunc.C (Dispatch): fix typo
12418
12419 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12422         upper_bound.
12423
12424         * bufferlist.C: include assert.h for emergencyWrite().
12425
12426 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12429           give up at last (bug #425202) !
12430
12431 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * lyx_gui_misc.C:
12434         * sp_form.h:
12435         * sp_form.C:
12436         * spellchecker.h:
12437         * spellchecker.C: strip spellchecker options and bring up
12438           preferences tab instead
12439
12440 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12441
12442         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12443         the istringstream constructor
12444
12445 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * paragraph.C (getLayout): fix return value
12448
12449         * paragraph.h: do not declare getLayout as inline.
12450
12451         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12452
12453 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12454
12455         * lyxcursor.h (operator<): new func
12456         (operator>): new func
12457         (operator>=): new func
12458         (operator<=): new func
12459
12460         * text.C (changeCase): use selection.start and selection.end
12461         (changeRegionCase): require from to be <= to. Require par to be a
12462         valid paragraph.
12463
12464         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12465
12466 2001-06-27  Juergen Vigna  <jug@sad.it>
12467
12468         * text.C (cursorLeftOneWord): changed to return the cursor and added
12469         overlay with BufferView * parameter which calls this one.
12470         (getWord): added
12471         (selectWord): use new getWord function.
12472         (changeCase): renamed from changeWordCase as and extended to work
12473         also on selections.
12474
12475         * lyxtext.h: added enum word_location
12476
12477         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12478         changeCase as this operates now also on selections.
12479
12480 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12481
12482         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12483
12484         * many files: send debug output to Debug::INFO instead of
12485         Debug::ANY.
12486
12487         * converter.C (View):
12488         (Convert):
12489         (Move): send debug output to Debug::FILES instead of console.
12490
12491 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12492
12493         * lyxfunc.C (getStatus): use func_status
12494
12495         * func_status.h: new header, describing the results of
12496         LyXFunc::getStatus;
12497
12498         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12499         LFUN_MATH_HALIGN.
12500
12501 2001-06-25  The LyX Project  <jug@sad.it>
12502
12503         * buffer.C (sgmlOpenTag):
12504         (sgmlCloseTag):
12505         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12506
12507 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * text2.C: remove some dead code
12510
12511         * tabular.C (GetCellInset): store the last cell checked (gotten)
12512
12513         * tabular.h: add the helper for the speedup
12514
12515         * lyxtext.h: remove some dead code
12516
12517 2001-06-26  The LyX Project  <Asger>
12518
12519         * paragraph.C: Change export to LaTeX of alignment to
12520         \begin{center} and family for better roundtrip work with reLyX.
12521
12522         * Tune the math drawing a bit.
12523
12524 2001-06-25  The LyX Project  <Asger>
12525
12526         * LColor.C (LColor): New color for math background. New color
12527         for buttons.
12528
12529 2001-06-25  The LyX Project  <jug@sad.it>
12530
12531         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12532
12533         * lyxfunc.C (Open):
12534         * bufferlist.C (newFile): do not restrict to files ending with
12535         .lyx
12536
12537         * BufferView_pimpl.C (MenuInsertLyXFile):
12538
12539 2001-06-24  The LyX Project  <jug@sad.it>
12540
12541         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12542         of compare_no_case
12543
12544 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12545
12546         * lyxtext.h: rename most methods to begin with a small char.
12547         Lots of changes because of this.
12548
12549         * paragraph.C (Paragraph): do not call fitToSize
12550         (erase): call Pimpl::erase
12551         (insertChar): call Pimpl::insertChar
12552         (insertInset): call Pipl::insertInset
12553         (breakParagraph): do not call fitToSize
12554         (breakParagraphConservative): do not call fitToSize
12555         (fitToSize): remove method
12556
12557         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12558
12559 2001-06-24  The LyX Project  <Asger>
12560
12561         * Fix Qt compilation^2
12562
12563 2001-06-24  The LyX Project  <jug@sad.it>
12564
12565         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12566         depthHook(getDepth()-1).
12567
12568         * paragraph.h:
12569         * ParagraphParameters.h:
12570         * ParameterStruct.h: change type of depth to unsigned int ==
12571         depth_type. Many adaptations to other files before of that.
12572
12573 2001-06-24  The LyX Project  <Asger>
12574
12575         * Fix Qt compilation.
12576
12577 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * paragraph.h: renamed several methods to begin with small letter.
12580         several changes to many parts of the code because of this.
12581
12582 2001-06-23  The LyX Project  <jug@sad.it>
12583
12584         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12585         rewritten to discard all double spaces when KeepEmpty is off
12586         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12587         to only handle newlines but not fiddle with spaces and friends.
12588
12589         * lyxfunc.C (MenuNew): when doing 'new from template', use
12590         template_path as default directory
12591
12592 2001-06-23  The LyX Project  <Asger>
12593
12594         * Clean-up of header file includes all over
12595         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12596
12597 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12598
12599         * paragraph.h: renamed from lyxparagraph.h
12600
12601 2001-06-23  Asger  <lyx@violet.home.sad.it>
12602
12603         * Buffer.h: Removed Buffer::resize
12604         * BufferList.h: Removed BufferList::resize
12605         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12606         the document lazily when we change the width, or the font settings.
12607
12608 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12611
12612 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * buffer.h: remove out of date comment
12615
12616 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * lyxscreen.h:
12619         * screen.C: fix "theoretical" GC leak
12620
12621 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12622
12623         * LaTeX.C (scanAuxFile):
12624         (deplog): remove trailing \r when reading stream (useful under
12625         win32)
12626
12627 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12628
12629         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12630         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12631         and BufferView::theLockingInset(Inset*), so should use them and not
12632         access bv_->text->the_locking_inset directly.
12633
12634         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12635
12636 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * Makefile.am:
12639         * tex-defs.h: remove old unused file
12640
12641 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * BufferView_pimpl.C: fix typo, remove minibuffer message
12644           when buffer has loaded
12645
12646 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12647
12648         * lyxfunc.C (Dispatch): use stringstream
12649         (MenuNew): use stringstream
12650         (Open): use stringstream
12651
12652         * importer.C (Import): use stringstream
12653
12654         * bufferview_funcs.C (CurrentState): use stringstream
12655
12656         * LaTeX.C (run): use stringstream
12657
12658         * BufferView_pimpl.C (savePosition): use stringstream
12659         (restorePosition): use stringstream
12660         (MenuInsertLyXFile): use stringstream
12661
12662 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12663
12664         * BufferView.C:
12665         * Bullet.C:
12666         * ColorHandler.C:
12667         * FontInfo.C:
12668         * FontLoader.C:
12669         * LColor.C:
12670         * LaTeXFeatures.C:
12671         * Painter.C:
12672         * gettext.C:
12673         * lyx_gui_misc.C:
12674         * lyxserver.C:
12675         * vspace.C: removed // -*- C++ -*- as first line.
12676
12677         * lyxfind.h:
12678         * version.h: added // -*- C++ -*- as first line.
12679
12680 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12683
12684         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12685         of string
12686
12687 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12690         of floats.
12691
12692 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * gettext.C: include LString.h even when --disable-nls is on.
12695
12696 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * converter.h (Get): changed argument type from int to
12699         FormatList::size_type to avoid unnecessary conversion.
12700
12701         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12702         before using it.
12703
12704 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * gettext.h: include LString.h even when --disable-nls is on.
12707
12708 2001-06-07  Juergen Vigna  <jug@sad.it>
12709
12710         * text.C (BreakAgain): subst spaces with tabs.
12711
12712         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12713         (resizeInsetsLyXText): set force on resizeLyXText.
12714
12715 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12716
12717         * gettext.h (gettext_init):
12718         (locale_init): use a real definition instead of a macro
12719
12720 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * Bufferview_pimpl.C:
12723         * LColor.h:
12724         * LColor.C: further lcolor tidies
12725
12726 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12727
12728         * BufferView_pimpl.C (updateScrollbar): simplify.
12729
12730         * BufferView2.C: don't include insets/insetinfo.h, change
12731         prototype for insertInset and call the Pimpl version. let
12732         updateInset call Pimpl version.
12733
12734         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12735         gotoInset to BufferView::Pimpl
12736
12737 2001-06-01  Juergen Vigna  <jug@sad.it>
12738
12739         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12740         inside a LockingInset (is the update needed at all?).
12741
12742 2001-05-31  Juergen Vigna  <jug@sad.it>
12743
12744         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12745         here not the old one otherwise how should we compare it afterwards
12746         if it's the same!
12747
12748 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12749
12750         * lyxfont.C:
12751         * tabular.C:
12752         * tabular-old.C:
12753         * FontInfo.C: bring C functions into global namespace when
12754         necessary
12755
12756 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * LString.h: make sure config.h has been loaded before LString.h.
12759
12760         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12761         (one for each char read by EatLine!).
12762
12763         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12764         variables.
12765
12766 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12767
12768         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12769         to the same as the par we break from
12770
12771 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12774
12775         * MenuBackend.C (expand): also create menu entries for wide
12776         versions of the floats.
12777
12778         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12779
12780         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12781
12782         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12783         frontends/Makefile.am
12784
12785         * text2.C: adjust
12786         * text.C: adjust
12787
12788
12789         * tabular.C (getTokenValue): add std::
12790
12791         * tabular-old.C (getTokenValue): add std::
12792         (getTokenValue): ditto
12793         (getTokenValue): ditto
12794
12795         * screen.C (ToggleSelection): adjust
12796
12797         * lyxtext.h: put selection cursors inside a Selection struct.
12798
12799         * lyxfunc.C (moveCursorUpdate): adjust
12800
12801         * lyxfont.C (latexWriteStartChanges): add std::
12802
12803         * lyxfind.C: adjust
12804
12805         * font.h: delete with(char const *, LyXFont const &)
12806
12807         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12808
12809         * FontInfo.C (getFontname): add std::
12810
12811         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12812         (workAreaButtonPress): adjust
12813         (tripleClick): adjust
12814         (update): adjust
12815         (moveCursorUpdate): adjust
12816         (Dispatch): adjust
12817
12818         * BufferView2.C (gotoInset): adjust
12819
12820 2001-05-30  Juergen Vigna  <jug@sad.it>
12821
12822         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12823         to check pspell I add this as default as I now have new pspell
12824         libraries and they seem to use this.
12825
12826 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * text2.C (CutSelection): make the cursor valid before the call to
12829         ClearSelection.
12830
12831 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12834         relied on 0 terminated strings and other horrors. Bug found due to
12835         the new assert in lyxstring!
12836
12837         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12838         KP_ keys.
12839
12840 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12843         to latinkeys.bind.
12844
12845         * lyxfunc.C (processKeySym): change method of getting to the
12846         self-insert char.
12847
12848         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12849         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12850         * BufferView_pimpl.[Ch]: here as private methods.
12851
12852 2001-05-28  Juergen Vigna  <jug@sad.it>
12853
12854         * text.C (SetHeightOfRow): added the update() call again as it is
12855         needed to initialize inset dimensions!
12856
12857 2001-05-16  Juergen Vigna  <jug@sad.it>
12858
12859         * text2.C (SetCharFont): Add new function with BufferView * and
12860         bool toggleall parameters for setting insets internal fonts.
12861         (SetFont): Freeze the undo as we may change fonts in Insets and
12862         all this change should be inside only one Undo!
12863
12864         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12865         setting font's in insets as for them we have the SetFont function!
12866
12867 2001-05-15  Juergen Vigna  <jug@sad.it>
12868
12869         * text2.C (ClearSelection): to be sure we REALLY don't have any
12870         selection anymore!
12871
12872         * tabular.C (TeXCellPreamble): fixed the left border problem for
12873         multicolumn cells.
12874
12875 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12876
12877         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12878         dependancy file
12879
12880 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12883         LFUN_BREAKPARAGRAPH.
12884
12885         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12886         help test to "internal only", similar for LFUN_INSERT_URL
12887
12888         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12889         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12890         auto_region_delete and deadkeys.
12891
12892 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * LColor.h:
12895         * LColor.C: remove some dead entries, tidy a little
12896
12897 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12900         commented code.
12901         (Dispatch): implement LFUN_ESCAPE
12902
12903         * commandtags.h: add LFUN_ESCAPE
12904
12905         * LyXAction.C (init): add entry for LFUN_ESCAPE
12906
12907         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12908         Remove commented code.
12909         (insertNote): moved here
12910         (open_new_inset): moved here
12911
12912         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12913         BufferView_pimpl
12914
12915 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12916
12917         * kbmap.C (findbinding): clean it up and make it work correctly.
12918
12919         * lyx_main.C (init): do not pass argc and argv as parameters
12920
12921 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12922
12923         * buffer.C: fix path for OS/2 & Win32
12924
12925         * lyx_gui.C:
12926         * lyx_main:
12927         * lyx_main.C: Added os:: class.
12928
12929         * os2_defines.h: update
12930
12931 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12934         better by trying again with reduced state.
12935
12936 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * lyxrc.C (read): print error about invalid key sequence only when
12939         debugging (because not all latinX keysyms are known to some X
12940         servers)
12941
12942         * kbsequence.C (getiso): add a few std:: qualifiers
12943         (getiso): comment out extra return statement.
12944
12945 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12948         handling.
12949         (Dispatch): enhance the accent inset a bit. (not perfect)
12950
12951 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12954
12955 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12956
12957         * bufferlist.C (emergencyWrite): fix assert() call
12958
12959 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12960
12961         * text.C (InsertChar): Added trivial patch to only send the "you
12962         can not do multiple spaces this way" message once during a
12963         session.
12964
12965 2001-05-08  Baruch Even  <baruch@lyx.org>
12966
12967         * Makefile.am: Changed order of libraries to get LyX to link properly
12968         with the gnome frontend.
12969
12970 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12971
12972         * LaTeXFeatures.h: add a std:: qualifier
12973
12974 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * paragraph.C (String): use stringstream
12977
12978 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * paragraph.C (writeFile): remove footflag arg
12981
12982         * buffer.C (makeLaTeXFile): use stringstream
12983         (latexParagraphs): remove footnot gurba
12984
12985         * LaTeXFeatures.C (getPackages): use stringstream
12986         (getMacros): likewise
12987         (getTClassPreamble): likewise
12988         (getFloatDefinitions): new method
12989
12990         * paragraph.C (writeFile): reindent
12991         (Erase): reindent
12992
12993         * WorkArea.h: revert the xpos + etc changes.
12994
12995         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12996
12997         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12998
12999         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13000         (pasteSelection): likewise
13001         * text2.C (CreateUndo): likewise
13002
13003 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * minibuffer.C (peek_event): temporarily reduce the functionality
13006         of the minibuffer (to allow args on lfuns)
13007
13008         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13009         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13010
13011         * buffer.C (readInset): add compability reading of old float
13012         lists, add reading of new style float list.
13013         (readInset): avoid reevaluation of inscmd.getCmdName()
13014         (getLists): reindent
13015
13016         * MenuBackend.C (MenuItem): implement parsing of
13017         md_floatlistinsert and md_floatinsert.
13018         (expand::LastFiles): move initalizaton of iterators out of loop,
13019         avoid reevaluation.
13020         (expand::Documents): introduce typdedef vector<string> Strings,
13021         and use it.
13022         (expand::ExportFormats): introduce typedef vector<Format const *>
13023         Formats, and use it.
13024         (expand): implement FloatListInsert and FloatInsert.
13025
13026         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13027         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13028         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13029
13030         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13031         handling.
13032         (Dispatch::LFUN_FLOAT_LIST): implement
13033
13034 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13035
13036         * LaTeX.C (run): Fix problem with --export code.
13037
13038 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * BufferView.[Ch] (workarea): removed.
13041         (getClipboard) new method; wrapper for workarea()->getClipboard()
13042
13043         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13044         bug.
13045
13046         * WorkArea.h (width, height, xpos, ypos): These methods all
13047         returned the dimensions of the work_area sub-area of WorkArea,
13048         resulting in a position error if the WorkArea were resized. Now
13049         return the dimensions of the entire WorkArea.
13050
13051         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13052
13053 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * LaTeX.C (deplog): correct the syntax of regex reg1
13056
13057 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * undo.C: remove !NEW_INSETS cruft
13060
13061 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * text2.C: remove !NEW_INSETS cruft
13064
13065         * text.C: remove !NEW_INSETS cruft
13066
13067         * tabular.C: remove !NEW_INSETS cruft
13068
13069         * spellchecker.C: remove !NEW_INSETS cruft
13070
13071         * lyxtext.h: remove !NEW_INSETS cruft
13072
13073         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13074
13075         * lyxfunc.C: remove !NEW_INSETS cruft
13076
13077         * lyxfind.C: remove !NEW_INSETS cruft
13078
13079         * lyx_cb.C: remove !NEW_INSETS cruft
13080
13081         * figureForm.C: remove  !NEW_INSETS cruft
13082
13083         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13084
13085         * buffer.[Ch]: remove !NEW_INSETS cruft
13086
13087         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13088
13089         * CutAndPaste.C: remove !NEW_INSETS cruft
13090
13091         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13092
13093         * BufferView2.C: remove !NEW_INSETS cruft
13094
13095         * BufferView.h: remove !NEW_INSETS cruft
13096
13097 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * Lsstream.h: include LString.h before the sstream headers to
13100         fix problem with gcc 2.95.3 and lyxstring
13101
13102 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * lyx_main.C: add using directives when needed for C functions
13105         declared in std:: namespace.
13106
13107 2001-04-27  Juergen Vigna  <jug@sad.it>
13108
13109         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13110         (SetHeightOfRow): comment out the update call should not be needed!
13111
13112 2001-04-13  Juergen Vigna  <jug@sad.it>
13113
13114         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13115         (LyXTabular): tried to minimize operator= operations (and realized
13116         hopfully Lars wish).
13117
13118 2001-04-27  Juergen Vigna  <jug@sad.it>
13119
13120         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13121
13122 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13125
13126         * buffer.C (readInset): hack to make listof algorithm work
13127
13128         * BufferView_pimpl.C: hack to make listof algorithm work
13129
13130 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * LyXAction.C: removed all !NEW_INSETS cruft
13133         (init): moved lfun_item in method
13134
13135         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13136
13137 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         * BufferView2.C (theLockingInset): white space.
13140
13141 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * minibuffer.C: include <iostream>
13144
13145         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13146
13147         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13148
13149         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13150
13151         * text.[Ch] (TransposeChars): new method
13152
13153 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * call message directly through LyXView instead of through LyXFunc
13156         * BufferView2.C: adjust
13157         * BufferView_pimpl.C: adjust
13158         * FontLoader.C: adjust
13159         * buffer.C: adjust
13160         * bufferview_funcs.C: adjust
13161         * converter.C: adjust
13162         * figureForm.C: adjust
13163         * importer.C: adjust
13164         * lyx_cb.C: adjust
13165         * lyx_gui_misc.C: adjust
13166         * lyxfunc.C: adjust
13167         * lyxvc.C: adjust
13168         * text2.C: adjust
13169         + more files in subdirs
13170
13171         * lyxparagraph.h (size): move up int file
13172         (GetLayout): ditto
13173
13174         * adjust all uses of Assert to lyx::Assert.
13175
13176         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13177         lyxfunctional in namespace lyx
13178         * layout.C (hasLayout): ditto
13179         (GetLayout): ditto
13180         (GetLayout): ditto
13181         (delete_layout): ditto
13182         (NumberOfClass): ditto
13183         * converter.C (GetFormat): ditto
13184         (GetNumber): ditto
13185         (Add): ditto
13186         (Delete): ditto
13187         (SetViewer): ditto
13188         * bufferlist.C (getFileNames): ditto
13189         (emergencyWriteAll): ditto
13190         (exists): ditto
13191         (getBuffer): ditto
13192         * MenuBackend.C (hasSubmenu): ditto
13193         (hasMenu): ditto
13194         (getMenu): ditto
13195         * BufferView_pimpl.C (getInsetByCode): ditto
13196
13197 2001-04-18  Juergen Vigna  <jug@sad.it>
13198
13199         * vspace.C (asLatexString): fixed the 100% problem.
13200
13201 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * lyxfunc.C (Dispatch):
13204         * minibuffer.C:
13205         * minibuffer.h: add a few std:: qualifiers
13206
13207 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * minibuffer.[Ch]: reimplement so that commands is initiated and
13210         run from lyxfunc, simplified som handling, and made the completion
13211         and history code for complete. wip.
13212
13213         * lyxfunc.C (processKeySym): call message
13214         (miniDispatch): new temporary method
13215         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13216         (LFUN_MESSAGE): implement
13217         (LFUN_MESSAGE_PUSH): implement
13218         (LFUN_MESSAGE_POP): implement
13219         (initMiniBuffer): the initial/defualt minibuffer message.
13220
13221         * lyxfont.[Ch]: inline some more getters
13222
13223         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13224
13225         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13226
13227         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13228         (AutoSave): use LFUN_MESSAGE
13229         (Reconfigure): ditto
13230
13231         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13232
13233         * figureForm.C: use LFUN_MESSAGE
13234
13235         * converter.C (runLaTeX): use LFUN_MESSAGE
13236
13237         * bufferview_funcs.C: use LFUN_MESSAGE
13238         (Melt): ditto
13239         (changeDepth): ditto
13240
13241         * bufferparams.h: use boost::
13242
13243         * bufferlist.h: inherit privately from noncopyable
13244
13245         * bufferlist.C (loadLyXFile): remove some commented code.
13246
13247         * buffer.C (runChktex): use LFUN_MESSAGE
13248
13249         * ShareContainer.h: inherit privately from noncopyable
13250
13251         * ParagraphParameters.[hC] (depth): inline it.
13252
13253         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13254         methods.
13255         (message): new method
13256         (messagePush): ditto
13257         (messagePop): ditto
13258         (show): init minibuffer
13259         (showState): direct call
13260
13261         * LaTeX.[Ch]: inherit privately from noncopyable
13262         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13263         instead of WriteStatus.
13264
13265         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13266
13267         * BufferView_pimpl.C (buffer): don't init minibuffer
13268         (workAreaButtonPress): use LFUN_MESSAGE
13269         (workAreaButtonRelease): ditto
13270         (savePosition): ditto
13271         (restorePosition): ditto
13272         (MenuInsertLyXFile): ditto
13273         (workAreaExpose): don't init minibuffer
13274         (update): remove commented code, simplify
13275
13276         * BufferView2.C (openStuff): use LFUN_MESSAGE
13277         (toggleFloat): ditto
13278         (menuUndo): ditto
13279         (menuRedo): ditto
13280         (copyEnvironment): ditto
13281         (pasteEnvironment): ditto
13282         (copy): ditto
13283         (cut): ditto
13284         (paste): ditto
13285         (gotoInset): ditto
13286         (updateInset): remove some commented code
13287
13288         * lastfiles.h: inherit privately from noncopyable
13289         * layout.h: ditto
13290         * lyx_gui.h: ditto
13291         * lyx_main.h: ditto
13292         * lyxlex.h: ditto
13293         * lyxlex_pimpl.h: ditto
13294
13295         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13296         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13297         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13298
13299         * LyXAction.h: inherit privately from noncopyable, add methods
13300         func_begin, func_end, returning iterators to the func map.
13301
13302         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13303         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13304         (func_begin): new method
13305         (func_end): new method
13306
13307         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13308         and not)
13309         (copySelection): ditto
13310         (pasteSelection): ditto
13311
13312         * BufferView.C: whitespace change
13313         * BufferView.h: inherit privately from noncopyable
13314
13315 2001-04-16  Allan Rae  <rae@lyx.org>
13316
13317         * tabular-old.C (l_getline):
13318         * spellchecker.C (sc_check_word):
13319         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13320         an unrecognised preprocessor directive.  So ensure they're wrapped.
13321
13322 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * src/exporter.C (Export): Give an error message when path to file
13325         contains spaces.
13326
13327 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13328
13329         * LaTeX.C (deplog): Always check that foundfile exists.
13330
13331 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * lyx_main.h:
13334         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13335
13336 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * tabular.[Ch] (getLabelList): implement new method
13339
13340         * minibuffer.h: comment ouf setTiimer
13341
13342         * minibuffer.C (ExecutingCB): constify res
13343         (peek_event): constify s
13344         (Set): constify ntext
13345         (Init): constify nicename
13346
13347         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13348
13349         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13350         (savePosition): use two params to Minibuffer::Set
13351         (restorePosition): ditto
13352
13353 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * lyx_main.C: include language.h
13356
13357         * Makefile.am (lyx_main.o): add language.h
13358
13359 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13360
13361         * exporter.C:
13362         * paragraph.C:
13363         * screen.C:
13364         * tabular.C:
13365         * CutAndPaste.C: include gettext.h
13366
13367         * lyxfont.h: remove old hack with ON and OFF.
13368
13369         * lyxparagraph.h:
13370         * lyxfont.h: do not include language.h...
13371
13372         * BufferView2.C:
13373         * LaTeXFeatures.C:
13374         * Painter.C:
13375         * bufferview_funcs.C:
13376         * font.C:
13377         * lyxfont.C:
13378         * text.C:
13379         * text2.C:
13380         * trans_mgr.C:
13381         * paragraph.C: ... but do it here instead
13382
13383 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13386
13387         * tabular.C: small reformat
13388
13389         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13390         NEW_INSETS version
13391         (GetChar): ditto
13392         (BreakParagraph): ditto
13393         (SetOnlyLayout): ditto
13394         (SetLayout): ditto
13395
13396         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13397         with one arg less.
13398
13399         * lastfiles.C: removed most using decl, add std:: where needed
13400
13401         * buffer.C: ws changes
13402
13403         * MenuBackend.C (class compare_format): put into anon namespace
13404         (expand): constify label, names, action, action2
13405         (expand):
13406
13407         * text.C (SingleWidth): constify font
13408         (IsBoundary): constify rtl2
13409         (GetVisibleRow): constify ww
13410
13411         * LaTeX.C (deplog): constify logfile
13412
13413         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13414         start_x, end_x
13415         (workAreaExpose): constify widthChange, heightChange
13416
13417         * lyxrow.C (par): moved
13418         (height): moved
13419         (next): moved
13420         * lyxrow.h: as inlines here
13421
13422         * lyxfont.h (shape): moved from lyxfont.C
13423         (emph): moved from lyxfont.C
13424
13425         * lyxfont.C (LyXFont): use initialization list for all
13426         constructors
13427         (shape): move to lyxfont.h as inline
13428         (emph): move to lyxfont.h as inline
13429
13430
13431 2001-04-04  Juergen Vigna  <jug@sad.it>
13432
13433         * vspace.C: had to include stdio.h for use of sscanf
13434
13435 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13436
13437         * BufferView.h:
13438         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13439         independent of xforms.
13440
13441 2001-04-02  Juergen Vigna  <jug@sad.it>
13442
13443         * spellchecker.C: fixed namespace placing!
13444
13445 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13448         the LyXParagraph * is 0.
13449
13450 2001-03-29  Juergen Vigna  <jug@sad.it>
13451
13452         * vspace.C: added support for %, c%, p%, l%.
13453         (stringFromUnit): added helper function.
13454         (asLatexString): changed to give right results for the %-values.
13455
13456         * buffer.C: convert the widthp in a width%.
13457
13458 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13461         figureForm.[Ch].
13462
13463         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13464         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13465
13466         * lyx_cb.[Ch]: see above.
13467
13468         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13469         form1.[Ch].
13470
13471         * form1.[Ch]:
13472         * lyx.[Ch]: replaced by figure_form.[Ch].
13473
13474         * lyx_gui.C:
13475         * lyx_gui_misc.C:
13476         * lyxfunc.C: changed headers associated with above changes.
13477
13478 2001-03-27  Juergen Vigna  <jug@sad.it>
13479
13480         * BufferView_pimpl.C: set the temporary cursor right!
13481
13482 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13485
13486 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * LString.h: removed "using std::getline"!
13489
13490         * BufferView_pimpl.C (Dispatch): changes due to changes in
13491         InsetInclude::Params.
13492
13493         * buffer.C (tag_name): removed redundant break statements as they were
13494         producing lots of warnings with my compiler.
13495
13496 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * LString.h: add "using std::getline" when using the real <string>.
13499
13500 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13501
13502         * buffer.C: removed bitset usage.
13503         PAR_TAG moved to an anonymous name space.
13504         (tag_name): new funtion, also in the anonymous namespace.
13505         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13506         (makeDocBookFile): clean code. Completed transition from string arrays
13507         to string vectors.
13508         (SimpleDocBookOnePar): code clean.
13509
13510 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13511
13512         * tabular.C: add some comments.
13513
13514 2001-03-22  Juergen Vigna  <jug@sad.it>
13515
13516         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13517         compatibility read a bit and fixed bug with minipage in different
13518         depth.
13519
13520 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13521
13522         * buffer.C (pop_tag): removed.
13523         (push_tag): removed.
13524         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13525         array replaced with vector. Added support for CDATA sections.
13526         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13527         at any nest level.
13528         (makeDocBookFile): XML conformant declaration of CDATA section,
13529         fixed bug related to <emphasis> in the first paragraph char.
13530         (sgmlOpenTag): exclude empty tags.
13531         (sgmlCloseTag): ditto.
13532
13533         * buffer.h (pop_tag): removed.
13534         (push_tag): removed.
13535
13536 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * language.h (Languages): added size_type and size().
13539
13540 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13541
13542         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13543         response on compability reading of minipages. One probliem is that
13544         the old usage of minipages was «flertydig»
13545
13546         * several files here and in subdirs: don't use static at file
13547         scope use anon namespaces instead.
13548
13549 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13550
13551         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13552         LaTeX output. This is necessary for Literate document
13553         processing.
13554
13555 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13556
13557         * buffer.C: insert hfill when needed.
13558
13559         * tabular.C (l_getline): use string::erase, small whitespace change.
13560
13561         * BufferView_pimpl.C: try the anon namespace.
13562         * WorkArea.C: ditto
13563
13564 2001-03-16  Juergen Vigna  <jug@sad.it>
13565
13566         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13567         otherwise it won't open options-dialogs.
13568
13569         * buffer.C: honor pextraWidth(p) on converting minipages.
13570
13571         * tabular.C (l_getline): changed the functions to strip trailing \r.
13572
13573 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * BufferView_pimpl.C:
13576         * minibuffer..C: added "using SigC::slot" declaration.
13577
13578 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13579
13580         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13581
13582         * text2.C: ditto
13583
13584         * text.C: ditto
13585
13586         * paragraph.C: ditto
13587
13588         * lyxtext.h: NO_PEXTRA
13589
13590         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13591
13592         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13593         * ParameterStruct.h: ditto
13594         * ParagraphParameters.h: ditto
13595         * lyxparagraph.h: ditto
13596
13597 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13598
13599         * buffer.C: add compability for minipage alignment.
13600         (latexParagraphs): remove unwanted pextra check.
13601
13602         * several files: remove CXX_WORKING_NAMESPACES
13603
13604         * buffer.C (pop_tag): tie is in namespace boost
13605
13606         * BufferView.h: noncopyable is in namespace boost
13607         * lyxlex.h: ditto
13608         * lyx_main.h: ditto
13609         * lyx_gui.h: ditto
13610         * layout.h: ditto
13611         * lastfiles.h: ditto
13612         * bufferlist.h: ditto
13613         * ShareContainer.h: ditto
13614         * LyXView.h: ditto
13615         * LyXAction.h: ditto
13616         * LaTeX.h: ditto
13617
13618 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13619
13620         * Merging changes from BRANCH_MVC back into HEAD.
13621
13622         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13623
13624 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * BufferView_pimpl.C: change from intl.C
13627
13628         * combox.h:
13629         * combox.C:
13630         * Makefile.am: move combox.*
13631
13632         * form1.h:
13633         * form1.C:
13634         * lyx_gui.C:
13635         * intl.h:
13636         * intl.C: remove dialog (covered by prefs)
13637
13638 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * lyxfunc.C (Dispatch): removed redundant break statement.
13641
13642 2001-03-14  Juergen Vigna  <jug@sad.it>
13643
13644         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13645
13646 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13647
13648         * buffer.C: add hack to fix compability reading of minipages.
13649
13650 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * buffer.C (getLists): Cleanup.
13653
13654 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * lyxfont.C (update): don't honor toggleall on font size.
13657
13658 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * bmtable.c:
13661         * bmtable.h:
13662         * Makefile.am: moved to frontends/xforms/
13663
13664         * lyx_gui_misc.C:
13665         * lyxfunc.C:
13666         * BufferView_pimpl.C: changes for moved mathpanel
13667
13668 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * gettext.h: fix gettext_init() in --disable-nls
13671
13672 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13675
13676 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * lyx.C:
13679         * lyx.h: strip external form
13680
13681 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * BufferView_pimpl.C: add comment, destroySplash()
13684
13685 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * BufferView_pimpl.C:
13688         * LyXAction.C:
13689         * buffer.C:
13690         * commandtags.h:
13691         * lyxfunc.C: use re-worked insetinclude
13692
13693 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13694
13695         * buffer.C: add using std::stringstream.
13696
13697         * lyx_cb.C: readd using std::ios.
13698
13699         * buffer.C: add using std::map.
13700
13701         * BufferView_pimpl.C: add using std::vector.
13702
13703         * ShareContainer.h: add std:: to swap.
13704
13705         * buffer.h: add some typedefs
13706         * buffer.C (getLists): use them
13707         (getLists): renamed from getTocList.
13708         add a counter for the different float types and use it in the
13709         generated string.
13710         (getLists): use the same counter for the NEW_INSETS and the "non"
13711         NEW_INSETS
13712
13713         * lyx_cb.h: remove unused items, includes, using etc.
13714
13715         * ShareContainer.h: remove some commented code, add more comments
13716         and "documentation".
13717
13718 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13719
13720         * buffer.C (getTocList): make the list also when NEW_INSETS is
13721         defined.
13722
13723         * buffer.h: remove TocType
13724
13725         * buffer.C (getTocList): change to return a map<string,
13726         vector<TocItem> >, implement for dynamic number of list.
13727
13728         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13729         * text2.C (PasteSelection): adjust
13730         * CutAndPaste.C (pasteSelection): adjust
13731
13732         * FloatList.C (FloatList): update from the new_insets branch.
13733         * Floating.[Ch]: ditto
13734         * LaTeXFeatures.C: ditto
13735         * buffer.C: ditto
13736         * lyxlex_pimpl.C: ditto
13737
13738         * paragraph.C (Last): remove when NEW_INSETS is defined.
13739
13740         * other file: changes because of the above.
13741
13742 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13743
13744         * lyxparagraph.h: rename next to next_, previous to previous_,
13745         make them private for NEW_INSETS. Rename Next() to next(),
13746         Previous() to previous().
13747
13748         * other files: changes because of the above.
13749
13750 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * BufferView.h:
13753         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13754         problem.
13755
13756 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13757
13758         * main.C (main): pass lyx_localedir to gettext_init().
13759
13760         * gettext.h: remove locale_init and gettext_init macros
13761
13762         * gettext.C (locale_init): new function
13763         (gettext_init): new function
13764
13765         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13766         setlocale().
13767
13768 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13769
13770         * Moved credits to frontends:
13771         * credits.[Ch]: removed
13772         * credits_form.[Ch]: removed
13773         * lyx_gui_misc.C: remove credits stuff
13774         * Makefile.am:
13775
13776 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13777
13778         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13779
13780         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13781         unneeded destructor.
13782
13783         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13784         a standalone pointer again.
13785
13786         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13787
13788 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * Makefile.am:
13791         * filedlg.h:
13792         * filedlg.C:
13793         * LyXAction.C:
13794         * ToolbarDefaults.C:
13795         * bufferlist.C:
13796         * commandtags.h:
13797         * form1.C:
13798         * form1.h:
13799         * lyx_cb.C:
13800         * lyx_cb.h:
13801         * lyxfunc.h:
13802         * lyxfunc.C:
13803         * BufferView_pimpl.C: use new file dialog in GUII
13804
13805         * lyx_cb.h:
13806         * lyx_cb.C: remove LayoutsCB to Toolbar
13807
13808 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * ShareContainer.h (get): add std:: qualifier
13811
13812 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13813
13814         * ShareContainer.h: define a proper ShareContainer::value_type
13815         type (and use typename to please compaq cxx)
13816
13817 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13818
13819         * lyxparagraph.h: move serveral local vars to
13820         ParameterStruct/ParagraphParameters., use ShareContainer in
13821         FontTable., make vars in FontTable private and add getter and
13822         setter.
13823
13824         * paragraph.C: changes because of the above.
13825
13826         * lyxfont.h: remove copy constructor and copy assignment. (the
13827         default ones is ok), move number inside FontBits. move inlines to
13828         lyxfont.C
13829
13830         * lyxfont.C: add number to initializaton of statics, move several
13831         inlines here. constify several local vars. some whitespace
13832         cleanup. Dont hide outerscope variables.
13833
13834         * Spacing.h: add two new constructors to match the set methods.
13835
13836         * ShareContainer.h: new file, will perhaps be moved to support
13837
13838         * ParameterStruct.h: new file
13839
13840         * ParagraphParameters.h: new file
13841
13842         * ParagraphParameters.C: new file
13843
13844         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13845         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13846
13847         * BufferView_pimpl.C: ParagraphParameter changes.
13848         * buffer.C: Likewise.
13849         * bufferview_funcs.C: Likewise.
13850         * text.C: Likewise.
13851         * text2.C: Likewise.
13852
13853 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * lyxfind.C (LyXReplace): do not redefine default argument in
13856         implementation.
13857         (IsStringInText): ditto
13858         (SearchForward): ditto
13859         (SearchBackward): ditto
13860
13861 2001-03-06  Juergen Vigna  <jug@sad.it>
13862
13863         * lyxfind.C (IsStringInText): put parentes around expressions.
13864
13865 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13866
13867         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13868
13869 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13870
13871         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13872
13873         * stl_string_fwd.h: add comment
13874
13875         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13876
13877         * tabular.h:
13878         * tabular.C: remove unused DocBook methods
13879
13880         * intl.C:
13881         * language.C:
13882         * paragraph.C:
13883         * buffer.C:
13884         killed DO_USE_DEFAULT_LANGUAGE
13885
13886 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * lyx_gui.C: do not include language.h.
13889
13890         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13891         arguments in function implementation.
13892
13893 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13894
13895         * BufferView_pimpl.C: add <ctime>
13896
13897 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13898
13899         * BufferView_pimpl.C: add using std::find_if
13900
13901 2001-02-27  José Matos  <jamatos@fep.up.pt>
13902
13903         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13904         by OnlyPath.
13905
13906 2001-02-11  José Matos  <jamatos@fep.up.pt>
13907
13908         * buffer.C (makeDocBookFile): command styles now have a parameter as
13909         "title" by default.
13910
13911 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13912
13913         * layout_forms.[Ch]: removed
13914         * lyx_cb.[Ch]: out character
13915         * lyx_gui.C: out character
13916         * lyx_gui_misc.C: out character
13917         * bufferview_funcs.C: : out character,
13918         added toggleall as parameter in ToggleAndShow
13919
13920 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13923
13924         * text2.C (SetCurrentFont): Disable number property at boundary.
13925
13926 2001-02-26  Juergen Vigna  <jug@sad.it>
13927
13928         * lyxfunc.C (getStatus): added a string argument override function so
13929         that this is correctly called from LyXFunc::Dispatch if it contains a
13930         do_not_use_argument which is used!
13931         (Dispatch): added check for "custom" export and call appropriate func.
13932
13933 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * lyxrc.C: Add language_command_local, language_use_babel and
13936         language_global_options.
13937
13938         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13939
13940         * buffer.C (makeLaTeXFile): Use language_use_babel and
13941         language_global_options.
13942
13943 2001-02-23  Juergen Vigna  <jug@sad.it>
13944
13945         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13946         which works with LyXText and putted it inside BufferView. Here now we
13947         only call for that part the BufferView::Dispatch() function.
13948
13949         * BufferView.C (Dispatch): added.
13950
13951         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13952         functions which needs to use a LyXText over from LyXFunc.
13953         (MenuInsertLyXFile): added
13954         (getInsetByCode): added
13955         (moveCursorUpdate): added
13956         (static TEXT): added
13957
13958 2001-02-22  Juergen Vigna  <jug@sad.it>
13959
13960         * BufferView_pimpl.C (update): call a status update to see if LyXText
13961         needs it.
13962
13963 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13964
13965         * vc-backend.C (revert): implement for CVS
13966         (getLog): implement for CVS
13967
13968 2001-02-20  Juergen Vigna  <jug@sad.it>
13969
13970         * text2.C (ClearSelection): added BufferView param for inset_owner call
13971
13972         * lyxfunc.C (TEXT): added this function and use it instead of
13973         directly owner->view()-text of getLyXText().
13974
13975 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13976
13977         * src/layout_forms.C: out preamble
13978         * src/layout_forms.h: out preamble
13979         * src/lyx_cb.C: out preamble
13980         * src/lyx_cb.h: out preamble
13981         * src/lyx_gui.C: out preamble
13982         * src/lyx_gui_misc.C: out preamble
13983         * src/lyxfunc.C: connect with guii preamble
13984
13985 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13986
13987         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13988
13989 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13990
13991         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13992         whether to run bibtex.
13993
13994 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13995
13996         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13997
13998 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13999
14000         * Makefile.am (lyx_SOURCES): removed bibforms.h
14001
14002         * vspace.h: doxygen
14003
14004         * text.C (GetVisibleRow): make several local vars const
14005
14006         * tabular.C: small cleanup.
14007
14008         * lyxserver.C (callback): use compare instead of strncmp
14009
14010         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14011         inlines to after class or to paragraph.C
14012
14013         * lyxfont.h: remove friend operator!=
14014
14015         * converter.h: move friend bool operator< to non friend and after
14016         class def.
14017
14018         * combox.h: small cleanup
14019
14020         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14021         to inlines after class def.
14022
14023         * buffer.C (pop_tag): use string operations instead of strcmp
14024
14025         * bmtable.c: doxygen, small cleanup
14026
14027         * LaTeX.h: remove friend operator==
14028
14029 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14030
14031         * screen.C:
14032         * lyxrc.[Ch]:
14033         * lyxfunc.C:
14034         * lyxfont.[Ch]:
14035         * lyx_cb.C:
14036         * intl.[Ch]:
14037         * commandtags.h:
14038         * buffer.C:
14039         * WorkArea.[Ch]:
14040         * LyXAction.C:
14041         * BufferView_pimpl.C:
14042         * BufferView.[Ch]: remove cruft
14043
14044 2001-02-14  Juergen Vigna  <jug@sad.it>
14045
14046         * lyxfunc.C: removed #if 0 unused code
14047
14048         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14049
14050         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14051
14052         * text2.C (SetSelection): added a BufferView * parameter
14053
14054 2001-02-13  Juergen Vigna  <jug@sad.it>
14055
14056         * lyxfunc.C (Dispatch): fixed protected blank problem.
14057         * BufferView2.C (protectedBlank): added LyxText * parameter.
14058
14059         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14060         (AppendColumn): same as above for column_info.
14061
14062         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14063         (moveCursorUpdate): use a LyXText param for support of InsetText.
14064
14065         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14066         (tripleClick): ditto
14067
14068         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14069
14070         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14071
14072         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14073
14074         * text2.C (SetSelection): set correct update status if inset_owner
14075         (ToggleFree): ditto
14076
14077 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14078
14079         * tabular.C: remove some commented code.
14080
14081 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14082
14083         * BufferView_pimpl.C: call hideSplash()
14084
14085         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14086
14087         * include_form.h:
14088         * bibforms.h: remove
14089
14090         * lyxfunc.C:
14091         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14092           add LFUN_CHILD_CREATE
14093
14094         * counters.h: fix tiny typo
14095
14096         * lyx_cb.C:
14097         * lyx.h:
14098         * lyx_gui.C:
14099         * lyx.C: move splash to frontends/xforms/
14100
14101         * lyx_gui_misc.C: move Include and Bibform to frontends
14102
14103         * lyxvc.h: clarify comment
14104
14105         * vspace.C: tiny housekeeping
14106
14107 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * text.C (PrepareToPrint): RTL Fix.
14110
14111         * paragraph.C (GetUChar): New method.
14112         (String):  Use GetUChar.
14113
14114         * buffer.C (asciiParagraph): Use GetUChar.
14115
14116 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14119
14120 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * buffer.h:
14123         * buffer.C: rename to getLogName(), handle
14124           build log / latex log nicely
14125
14126 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * MenuBackend.C:
14129         * MenuBackend.h: remove support for reference menuitem type.
14130
14131 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * BufferView_pimpl.C: housekeeping
14134         * BufferView_pimpl.h:
14135         * LyXView.h:
14136         * Makefile.am:
14137         * Timeout.C:
14138         * Timeout.h:
14139         * minibuffer.h: move Timeout GUI-I
14140
14141 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14142
14143         * lyxrc.C (read): Update converters data-structures.
14144
14145 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14146
14147         * LaTeX.h (operator!=): add operator != for Aux_Info
14148
14149 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14152
14153         * LaTeXLog.C: deleted, useful code moved to Buffer
14154
14155         * buffer.h:
14156         * buffer.C: new function getLatexLogName()
14157
14158         * lyx_gui_misc.C:
14159         * lyx_gui.C:
14160         * lyxvc.C:
14161         * lyxvc.h:
14162         * lyxfunc.C: use frontends for LaTeX and VC logs
14163
14164 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * LaTeX.h: yet another std:: that Allan forgot.
14167
14168         * Variables.C (set): renamed from isset(), because this clashes
14169         with some HP-UX macros (grr).
14170
14171 2001-02-06  Allan Rae  <rae@lyx.org>
14172
14173         * LaTeX.h: Another bug fix.  Missing std:: this time.
14174
14175 2001-02-04  Allan Rae  <rae@lyx.org>
14176
14177         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14178         floats problem. I've left it commented out because it's not quite
14179         correct.  It should also test that the current object is a table or
14180         figure inset.  But I haven't gotten around to figuring out how to do
14181         that.  I *think* it'll be something like: "table" == inset.type()
14182
14183         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14184         bool.
14185
14186 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14189         all the citation/databases/styles in the auxilary file.
14190         (run): Rerun latex if there was a babel language error.
14191
14192 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14193
14194         * text.C (Backspace): Preserve the font when changing newline char
14195         with a space.
14196         (BreakParagraph): If the cursor is before a space, delete the space.
14197
14198         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14199
14200 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14203         new argument (code).
14204         (ChangeCitationsIfUnique): New method.
14205
14206         * paragraph.C (GetPositionOfInset): Handle bibkey.
14207
14208 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * BufferView_pimpl.h: change type of Position::par_pos to
14211         LyXParagraph::size_type.
14212
14213 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * BufferView_pimpl.C (savePosition, restorePosition): Write
14216         messages to minibuffer.
14217
14218 2001-01-28  José Matos  <jamatos@fep.up.pt>
14219
14220         * buffer.C (makeDocBookFile): adds support for document language.
14221         A silly restriction on the name of LatexCommand types where removed.
14222         Added support for CDATA sections, allows to chars unescaped, used
14223         among others in code, to avoid escape < and >.
14224
14225 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14226
14227         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14228         saved positions instrad of a stack. Furthermore, a position is
14229         stored using paragraph id/paragraph position.
14230
14231         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14232         Remove LFUN_REF_BACK.
14233
14234 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14235
14236         * converter.C (dvipdfm_options): New method.
14237
14238 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14239
14240         * vspace.C (isValidLength): Fix for empty input string.
14241
14242 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * LyXAction.C (init): change description of LFUN_FIGURE to
14245         "Insert Graphics"
14246
14247 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * LaTeX.C: add using directive
14250
14251 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14252
14253         * MenuBackend.C (expand): Fix the sorting of the formats.
14254
14255 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * lyx_main.C: tiny error message fix
14258
14259 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14262         calling fl_initialize(). This fixes the problem with ',' as
14263         decimal separator in text files.
14264
14265 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14266
14267         * trans.C (process): Fix the keymap bug.
14268
14269 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14270
14271         * LaTeX.C (scanAuxFiles): New method. Provides support for
14272         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14273         (scanLogFile) Scan for "run BibTeX" messages.
14274
14275         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14276         OT1 font encoding. Also, load the aecompl package if the ae
14277         package is loaded.
14278
14279         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14280
14281 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * texrow.C (increasePos): turn two error messages into debug
14284         messages.
14285
14286 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14287
14288         * LaTeX.C (scanAux): Handle the \@input macro.
14289         (runBibTeX): Use scanAux().
14290
14291         * language.C (latex_options_): New field.
14292
14293         * LaTeXFeatures.C (getMacros): Add language macros.
14294
14295         * buffer.C (makeLaTeXFile): Small fix.
14296
14297 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14298
14299         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14300
14301         * text2.C: add a using directive.
14302
14303 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * BufferView2.C:
14306         * lyx_gui_misc.h:
14307         * lyxfr1.C:
14308         * lyxfunc.C: kill LyXBell.
14309
14310 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14311
14312         * text.C (IsBoundary): Remove the error message
14313
14314         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14315
14316         * lyxrc.C (setDefaults): Correct initialization value for
14317         font_norm_type.
14318
14319 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14320
14321         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14322         gotoError().
14323
14324         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14325         and GotoNextNote().
14326
14327         * src/LyXAction.C: Added reference-next.
14328
14329         * text.C (InsertChar): Use contains instead of strchr.
14330
14331         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14332
14333 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14336         alignment commands (when needed).
14337
14338         * text.C (InsertChar): Add ':' to number separator chars.