]> git.lyx.org Git - features.git/blob - src/ChangeLog
reenable clicks in collapsables on the second+ page
[features.git] / src / ChangeLog
1 2003-12-12  Alfredo Braunstein  <abraunst@libero.it>
2
3         * BufferView_pimpl.C: small coord. correction
4
5 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
8         dragging over the splash screen.
9
10 2003-12-11  Angus Leeming  <leeming@lyx.org>
11
12         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
13         as it is now handled in LyXText::dispatch.
14
15         * text3.C (doInsertInset): remove a level of nesting.
16
17 2003-12-11  Angus Leeming  <leeming@lyx.org>
18
19         * factory.C (createInset): changes due to the changed interface to
20         InsetCommandMailer::string2params.
21
22 2003-12-10  Angus Leeming  <leeming@lyx.org>
23
24         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
25         'dialog-show-new-inset <inset name>'
26
27 2003-12-10  Angus Leeming  <leeming@lyx.org>
28
29         * buffer.C: up the format to 227.
30
31         * factory.C: the box inset is now identified simply by 'Box'.
32
33 2003-12-10  Angus Leeming  <leeming@lyx.org>
34
35         * buffer.C: up the format to 226.
36
37         * factory.C: the note inset is now identified simply by 'Note'.
38
39 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
40
41         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
42         when a pit is enough. Standarize a couple of loops. 
43
44 2003-12-05  Angus Leeming  <leeming@lyx.org>
45
46         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
47         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
48         data to the re-worked "log" dialog.
49
50 2003-12-03  André Pönitz  <poenitz@gmx.net>
51
52         * PosIterator.C:
53         * iterators.C:
54         * lyxtext.h:
55         * output_latex.C:
56         * paragraph_funcs.C:
57         * text.C:
58         * text2.C: use Inset::getText instead of Inset::getParagraph
59
60 2003-12-03  André Pönitz  <poenitz@gmx.net>
61
62         * buffer.[Ch]:
63         * lyxtext.h:
64         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
65         InsetText::read() as LyXText::read()
66         
67 2003-12-02  Angus Leeming  <leeming@lyx.org>
68
69         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
70         type. Add a comment in the implementation that the function uses
71         the stream's bad() function rather than fail() as the std::streams
72         would do.
73
74 2003-12-02  André Pönitz  <poenitz@gmx.net>
75
76         * lyxlex.[Ch]: make interface more similar to std::stream
77
78         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
79
80 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
81
82         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
83
84 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
85
86         * vspace.[Ch]: remove VSpace::NONE
87
88 2003-12-01  André Pönitz  <poenitz@gmx.net>
89
90         * buffer.[Ch]:
91         * lyxtext.h: move ParagraphList member to LyXText
92         rename LyXText::ownerParagraphs to LyXText::paragraph
93
94         * CutAndPaste.C:
95         * bufferview_funcs.C:
96         * iterators.[Ch]:
97         * lyx_cb.C:
98         * paragraph.C:
99         * rowpainter.C:
100         * tabular.C:
101         * text.C:
102         * text2.C:
103         * text3.C: adjust
104
105         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
106
107         * undo.C: fix cursor positioning 
108
109 2003-12-01  John Levon  <levon@movementarian.org>
110
111         * BufferView_pimpl.C: fix a crash on exit with
112         a buffer open
113
114 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
115
116         * BranchList.C: fix setSelected() method.
117
118 2003-11-28  André Pönitz  <poenitz@gmx.net>
119
120         * ParagraphParameters.[Ch]:
121         * ParameterStruct.h: remove space above/below from Paragraph to
122          InsetVSpace
123
124         * BufferView_pimpl.C:
125         * factory.C:
126         * lyxfunc.C:
127         * lyxtext.h:
128         * output_latex.C:
129         * paragraph.C:
130         * paragraph_funcs.C:
131         * rowpainter.[Ch]:
132         * text.C:
133         * text2.C:
134         * text3.C: adjust
135
136 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * factory.C: Syntax change for CharStyles
139
140 2003-11-28  André Pönitz  <poenitz@gmx.net>
141
142         * BufferView.[Ch]:
143         * BufferView.[Ch]:
144         * buffer.[Ch]:
145         * buffer.[Ch]: move LyXText member
146
147 2003-11-28  André Pönitz  <poenitz@gmx.net>
148
149         * BufferView.[Ch]: make LyXText * text a private member
150
151         * BufferView_pimpl.C:
152         * cursor.C:
153         * iterators.C:
154         * lyx_cb.C:
155         * lyxfind.C:
156         * lyxtext.h:
157         * rowpainter.[Ch]:
158         * text.C:
159         * text2.C:
160         * undo.C: adjust
161
162         * output_plaintext.C: cleanup
163
164 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
165
166         * buffer.C: 
167         * lyxtextclass.[Ch]: parametrize SGML document header
168
169 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
170
171         * converter.[Ch]:
172         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
173         getFlavor().
174
175 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
176
177         * text2.C (setFont): rework using PosIterator (no more recursive)
178         (setCharFont): no more needed 
179         (setLayout): no more selection cursors fiddling (done by redoCursor)
180         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
181         destroy remaining ones)
182
183 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
186         * lyxtext.h: ditto
187         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
188         selection cursors
189         * lyxfunc.C: adjust
190         * text3.C: adjust + re-allow multi par depth changes
191         * textcursor.C: simplify a bit
192
193 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * src/buffer.C:
196         * src/lyxlayout.C:
197         * src/lyxlayout.h:
198         * src/lyxtext.h:
199         * src/output_docbook.C:
200         * src/output_latex.C:
201         * src/paragraph.C:
202         * src/paragraph.h:
203         * src/sgml.C:
204         * src/sgml.h:
205         * src/text2.C: Introducing a number of tags parametrizing various
206         XML formats that we may want to support
207
208 2003-11-25  André Pönitz  <poenitz@gmx.net>
209
210         * InsetList.[Ch] (begein, end): inline as suggested by profiler
211
212         * lyxtext.h (leftMargin/rightMargin): simplify interface
213
214         * rowpainter.C:
215         * text.C:
216         * text2.C:
217         * text3.C: adjust
218
219 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * lyxfunc.C (dispatch): propogate the bibtex databases from the
222         master file to any child files. Fixes bug 546.
223
224 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
227
228 2003-11-24  André Pönitz  <poenitz@gmx.net>
229
230         * rowpainter.C: simplification
231
232         * text2.C (updateCounters): remove call to redoParagraph on 
233         changed labels as this is far too expensive.
234
235 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * converter.C (convert): fix a crash: this function gets
238         called with buffer == 0 from importer code.
239
240 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
241
242         * text3.C (cursorPrevious): make sure that we do not compare
243         iterators form different containers.
244         (cursorNext): ditto
245
246         * rowpainter.C (paintSelection): make sure that we do not compare
247         iterators from different containers.
248
249         * text3.C (dispatch): [PRIOR] make sure that we do not compare
250         iterators from different ParagraphList containers.
251         [NEXT] ditto
252
253         * text2.C (LyXText): change order of initialization slightly
254         (operator=): new function. copy all variables except cache_par_
255         (moveUp): make sure that we do not compare iterators from
256         different ParagraphList constainers.
257         (moveDown): ditto
258
259         * text.C (firstPar): new function
260         (lastPar): new function
261         (endPar): new function
262
263         * lyxtext.h: move things around and group public functions, public
264         variables, private functions, private variables
265
266 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
267
268         * factory.C: change call to InsetERT constructor to avoid
269         additional invocation of method status
270         * text2.C (toggleInset): remove redundant update() call
271         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
272         instead of a Bufferview pointer
273
274 2003-11-21  André Pönitz  <poenitz@gmx.net>
275
276         * rowpainter.C: simplification
277
278 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * text3.C (dispatch): make possible to extend a word/row selection
281         with the mouse
282
283 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * lyxtext.h: x0_,y0_ -> xo_,yo_
286         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
287         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
288         * rowpainter.C (paintRows): paint full paragraphs
289
290 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
291
292         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
293         screen coordinates)
294
295 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
296
297         * lyxtext.h: add x0_, y0_
298         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
299         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
300
301 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * text2.C (setCursorIntern): move the x_target update here *
304         * text3.C: change some bv() to true/false in calls to
305         cursorUp/Down/Right/Left
306         * cursor.C: use helper function.
307
308 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
311         * paragraph_funcs.[Ch]: correct comment
312         * rowpainter.C: do not paint selections away from bv->cursor()
313         Fix a long standing selection painting bug.
314         * text3.C: generalize mouse-selection code to LyXTexts other that
315         top one
316         * textcursor.C: do not use y coords if we can use par offsets
317
318 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
319
320         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
321         cursor position after e.g. inset insert)
322
323 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
324
325         * lyxfind.C (replace): adjust to locking removal + some
326         code simplification
327
328 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
331         of the path
332
333 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * lyxlayout.[Ch]:
336         * output_docbook.C: XML sanitation: new layout
337         parameters InnerTag and CommandDepth
338
339 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * BufferView_pimpl.C:
342         * factory.C:
343         * text3.C: Fix the insertion and modification of button-style
344         insets
345
346 2003-11-13  André Pönitz  <poenitz@gmx.net>
347
348         * InsetList.[Ch]: remove deleteLyXText
349
350         * paragraph.[Ch]: cache beginOfBody position
351
352         * Bidi.C:
353         * text.C:
354         * text2.C:
355         * text3.C: remove superfluous update() calls
356
357         * vspace.C: cleanup
358
359 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
362         * BufferView.C (fitLockedInsetCursor): remove
363         * cursor.[Ch] (getDim): add
364         * text.C (getRowNearY): add faster version
365         * text3.C: remove some update calls
366
367 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * LaTeXFeatures.C:
370         * LyXAction.C:
371         * MenuBackend.C:
372         * MenuBackend.h:
373         * dispatchresult.h:
374         * factory.C:
375         * lfuns.h:
376         * lyxfunc.C:
377         * lyxtextclass.C:
378         * lyxtextclass.h:
379         * text3.C: The Character Style /XML short element patch.
380
381 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * text3.C:
384         * factory.C: Small step to solving 'unable to insert some insets'
385         problem
386
387 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * cursor.[Ch] (updatePos): new function for updating the y
390         position of the tip inset
391         * bufferview_funcs.C (put_selection_at):
392         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
393
394 2003-11-11  André Pönitz  <poenitz@gmx.net>
395
396         * text.C: remove big comment on invalid Paragraph pointers as it is
397         not valid anymore
398
399 2003-11-11  André Pönitz  <poenitz@gmx.net>
400
401         * text_funcs.[Ch]: merge with ...
402
403         * text.C: ... this
404
405         * lyxtext.h:
406         * text2.C:
407         * text3.C: adjust
408
409         * Makefile.am: remove text_funcs.[Ch]
410
411 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
412
413         * cursor.C (getPos): return absolute cached y coord
414
415         * BufferView_pimpl.C (fitCursor): new simplistic code
416         (workAreaDispatch): add a fitCursor call
417
418 2003-11-10  André Pönitz  <poenitz@gmx.net>
419
420         * BufferView.[Ch]:
421         * BufferView_pimpl.[Ch]: merge update() and updateInset()
422
423 2003-11-10  André Pönitz  <poenitz@gmx.net>
424
425         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
426         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
427         indicate that the cursor needs to leave an inset
428
429         * lyxtext.h: remove inset locking
430
431         * cursor.[Ch]: re-implement functionality provided by inset locking
432
433         * BufferView.[Ch]:
434         * BufferView_pimpl.[Ch]:
435         * LyXAction.C:
436         * bufferview_funcs.[Ch]:
437         * factory.C:
438         * funcrequest.[Ch]:
439         * iterators.C:
440         * lyx_cb.C:
441         * lyxfind.C:
442         * lyxfunc.C:
443         * text.C:
444         * text2.C:
445         * text3.C:
446         * undo.C: adjust
447
448 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
449
450         * PosIterator.[Ch]: replace the stack with a vector, add inset
451         accesor
452         * iterators.[C]: adjust
453
454 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
455
456         * lyxfind.C (replaceAll): mark the buffer dirty if something was
457         replaced
458         * paragraph_funcs.C (readParToken): put the correct id in the
459         error item, not the id of the top paragraph
460
461 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
462
463         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
464         * bufferview_funcs.C (put_selection_at): use the above
465
466 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
467
468         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
469
470 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * output_linuxdoc.h:
473         * output_plaintext.h:
474         * output.h:
475         * output_docbook.h: add #include statements
476
477 2003-11-05  José Matos  <jamatos@lyx.org>
478
479         * output_docbook.[Ch]:
480         * output_latex.[Ch]:
481         * output_linuxdoc.[Ch]:
482         * output_plaintext.[Ch]: New files for output formats.
483         * output.[Ch]: New file for helper functions.
484
485         * buffer.[Ch]:
486         * paragraph_funcs.[Ch]: output functions moved to new files.
487
488         * outputparams.h: rename of latexrunparams.h
489
490         * LaTeX.[Ch]:
491         * buffer.[Ch]:
492         * bufferlist.[Ch]:
493         * converter.[Ch]:
494         * exporter.C:
495         * paragraph.[Ch]:
496         * paragraph_funcs.[Ch]:
497         * paragraph_pimpl.[Ch]:
498         * tabular.[Ch]: rename ascii to plaintext
499         and LatexRunParams to OutputParams.
500
501 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
502
503         * iterators.[Ch] (text): require bv argument
504         * undo.C (recordUndo):
505         * lyxfunc.C (dispatch):
506         * bufferview_funcs.C (put_selection_at): adjust
507
508 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
509
510         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
511
512 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
513
514         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
515         nestings
516
517 2003-11-04  André Pönitz  <poenitz@gmx.net>
518
519         * cursor.[Ch]: restructure
520
521         * BufferView.[Ch]:
522         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
523
524         * iterators.[Ch] (asCursor): remove
525
526         * lfuns.h: remove LFUN_INSET_EDIT
527
528         * lyxfunc.C:
529         * tabular.C:
530         * text.C:
531         * text2.C:
532         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
533
534 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
535
536         * lyxfind.[Ch]: complete overhaul
537         * BufferView_pimpl.C:
538         * lyxfunc.C: adjust
539         * paragraph.[Ch] (insert): add
540
541 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
542
543         * BufferView.[Ch]:
544         * lyxtext.h:
545         * text.C: remove dead spellcheck code
546
547 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
548
549         * dispatchresult.h: add a val setter
550
551         * cursor.C (dispatch): use a tempvar for data_[i]
552
553 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
554
555         * PosIterator.[Ch]: compile fix
556
557 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
558
559         * text.C (cursorPar): deactivate the cursor cache
560
561 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
562
563         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
564
565 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
566
567         * text3.C (dispatch): adjust for new DisptchResult semantics.
568
569         * lyxfunc.C (dispatch): handle update when return from
570         Cursor::dispatch, adjust for new DispatchResult semantics.
571
572         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
573         DispatchResult(true) mean to not update. Add class functions for
574         setting dispatched and update, as well as reading.
575
576         * cursor.C (dispatch): don't handle update here
577
578 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
579
580         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
581         * trans_mgr.C: adjust
582
583         * paragraph_funcs.C (readParToken): exception safety
584
585         * lyxvc.h: store the vcs pointer in a scoped_ptr
586         * lyxvc.C: adjust
587
588         * lyxsocket.C (serverCallback): exception safety
589
590         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
591
592         * ispell.C (clone): make it return a auto_ptr
593
594         * factory.C (createInset): exception safety
595         (readInset): exception safety
596
597         * bufferlist.C (newBuffer): exception safety
598
599         * Thesaurus.C (Thesaurus): use initialization for aik_
600
601         * MenuBackend.C (expandToc): exception safety.
602
603 2003-11-03  André Pönitz  <poenitz@gmx.net>
604
605         * buffer.C:
606         * buffer.h:
607         * bufferview_funcs.C: remove getInsetFromId()
608
609         * lyxcursor.[Ch]:
610         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
611
612         * lyxfunc.C:
613         * text2.C:
614         * text3.C: adjust
615
616 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
617
618         * PosIterator.C (distance, advance): new
619         * bufferview_funcs.[Ch] (put_selection_at): new
620         * iterators.[Ch] (lockPath): new
621
622 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
623
624         * iterators.[Ch] (asPosIterator): added
625         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
626         * PosIterator.[Ch]: added
627
628 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
629
630         * text3.C:
631         * lyxfunc.C:
632         * cursor.C (dispatch):
633         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
634
635         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
636         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
637         contructor, add a class function dispatched. Remove operator>=
638
639 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
640
641         * debug.C: only use the default constructor for debugstream
642         (lyxerr) here.
643
644         * main.C (main): include debug.h and setup the lyxerr streambuf
645         here.
646
647 2003-10-31  José Matos  <jamatos@lyx.org>
648
649         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
650
651         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
652         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
653         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
654         * paragraph_pimpl.C (simpleTeXSpecialC):
655         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
656         add LatexRunParams argument.
657
658         * exporter.C (Export): change call accordingly.
659
660         * latexrunparams.h: add new member to take care of the other backends.
661 2003-10-30  José Matos  <jamatos@lyx.org>
662
663         * buffer.C (makeLinuxDocFile, makeDocBookFile):
664         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
665         factorise code for paragraph output.
666         * buffer.[Ch]:
667         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
668         move functions.
669
670 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
671
672         * text3.C (dispatch):
673         * lyxfunc.C (dispatch):
674         * cursor.C (dispatch):
675         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
676
677         * dispatchresult.h: make the dispatch_result_t ctor explicit
678
679 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
680
681         * sgml.[Ch]:
682         * buffer.C: small refactoring of docbook stuff
683
684 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
685
686         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
687         meaning.
688
689 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
690
691         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
692         operator dispatch_result_t, and operators for == != and >=
693
694         * cursor.C (dispatch): adjust for operator dispatch_result_t
695         removal. comment out call to update
696
697         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
698
699 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
700
701         * text3.C:
702         * text2.C:
703         * text.C:
704         * lyxtext.h:
705         * lyxfunc.C:
706         * cursor.C:
707         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
708         (dispatch):
709
710         * dispatchresult.h: new file, DispatchResult broken out of
711         insets/insetbase.h
712
713         * Makefile.am (lyx_SOURCES): add dispatchresult.h
714
715 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
716
717         * text.C (rowBreakPoint): put a hack inside #if 0
718
719 2003-10-28  André Pönitz  <poenitz@gmx.net>
720
721         * lyxtext.h:
722         * metricsinfo.C:
723         * paragraph_funcs.C:
724         * rowpainter.C:
725         * text.C:
726         * text2.C: general cleanup (lots of small stuff)
727
728 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
729
730         * text2.C (cursorEnd): simple fix to the "end key goes to one
731         before the end on last row" bug
732
733 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
734
735         * text.C (backspace): fix the "zombie characters"
736
737 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
738
739         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
740
741 2003-10-27  André Pönitz  <poenitz@gmx.net>
742
743         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
744
745         * factory.C: handle new InsetPagebreak, InsetLine
746
747         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
748         and move handling into new InsetPagebreak, InsetLine
749
750         * BufferView_pimpl.C:
751         * LyXAction.C:
752         * ParagraphParameters.C:
753         * ParameterStruct.h:
754         * lyxfunc.C:
755         * lyxtext.h:
756         * paragraph.C:
757         * paragraph.h:
758         * paragraph_funcs.C:
759         * paragraph_pimpl.C:
760         * rowpainter.C:
761         * text.C:
762         * text2.C:
763         * text3.C: adjust
764
765 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
766
767         * text.C:
768         * lyxrow_funcs.[Ch]:
769         * Bidi.C:
770         * paragraph.C:
771         * lyxtext.h:
772         * rowpainter.C:
773         * text2.C:
774         * text3.C: remove lastPos uses in favour of Row::endpos
775
776 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
777
778         * undo.C (performUndoOrRedo): fix two crashes by setting a
779         cursor by hand and reordering some calls. Use bv->lockInset instead
780         of inset->edit because the latter loses cursor information
781
782 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
783
784         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
785         by Martin
786         (rowBreakPoint): fix width. change point to point + 1.
787         Add a missing check.
788
789 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * MenuBackend.C:
792         * lyxfunc.C: fix (at least partly) the problems
793         with the Nav menu and headers inside branch insets
794         reported by Kayvan
795
796 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
797
798         * paragraph.C (getChar): add strong asserts
799
800         * lyxrow_funcs.C (lastPos): remove hideous hack
801
802         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
803         (fill): adjust to that (avoid an infinite loop)
804
805 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
806
807         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
808
809 2003-10-23  André Pönitz  <poenitz@gmx.net>
810
811         * RowList_fwd.h: change list<> to vector<> to gain speed
812         after suggestion from Alfredo
813
814 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
815
816         * lyxtext.h: move the bidi stuff from here...
817         * text.C: and here
818         * text2.C: and here
819         * Bidi.[Ch]: ... to here
820
821 2003-10-23  André Pönitz  <poenitz@gmx.net>
822
823         * lyxtext.h:
824         * text.C (isLastRow, isFirstRow): new functions
825
826         * paragraph.h: new width cache member
827
828         * rowpainter.C: replace RowList::iterator with Row & where possible
829
830         * lyxfunc.C: replace several view()->text with a single call
831
832         * toc.C: fix 'unused' warning
833
834 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
835
836         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
837         when woring with stream::pos_type
838         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
839
840 2003-10-22  André Pönitz  <poenitz@gmx.net>
841
842         * lyxtext.h:
843         * text.C: use Row & instead of RowList::iterator
844
845         * lyxrow.h: rename end() to endpos()
846
847         * rowpainter.C:
848         * text.C:
849         * text2.C: adjust
850
851 2003-10-22  Angus Leeming  <leeming@lyx.org>
852
853         * buffer.[Ch] (fully_loaded): new member function, returning true
854         only when the file has been loaded fully.
855         Used to prevent the premature generation of previews and by the
856         citation inset to prevent computation of the natbib-style label.
857
858         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
859         templates are all set up.
860
861         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
862
863 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
864
865         * text.C: fixed an "oops" in the "is a bit silly"
866         bug fix
867
868 2003-10-21  André Pönitz  <poenitz@gmx.net>
869
870         * FuncStatus.[Ch]: small stuff, whitespace
871
872         * lyxfont.[Ch]: operator<<() for debug reasons
873
874         * lyxfunc.C:
875         * lyxrow_funcs.C:
876         * lyxtext.h: whitespace, spelling
877
878         * paragraph.C: naming of variables
879
880         * text.C:
881         * text2.C: small stuff
882
883
884 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
885
886         * text.C: (1) finish off the inset display() work;
887         (2) fix the "is a bit silly" bug (accessing char
888         past end of par).
889
890 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * text.C: re-introduce display() for insets, fixing the
893         various bugs (stretch of line above, math inset
894         positioning, ...)
895
896 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * text.C (rightMargin): remove spurious semicolon
899
900         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
901         1415)
902
903 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * text3.C: fix one crash due to wrong cursor def
906
907 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
908
909         * vc-backend.C (scanMaster): make the regex static
910
911         * LaTeX.C (scanAuxFile): make the regexs static
912
913         * text3.C (doInsertInset, dispatch, dispatch):
914         * text2.C (cursorUp, cursorDown):
915         * text.C (selectNextWordToSpellcheck):
916         * BufferView_pimpl.C (dispatch):
917         * lyxfunc.C (dispatch):  localDispatch -> dispatch
918
919 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
920
921         * lyxsocket.C: include <cerrno>
922
923 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
924
925         * lyxfunc.C (dispatch): remove textcache stuff
926
927         * bufferlist.C (release): remove textcache stuff
928         (closeAll): ditto
929
930         * TextCache.C: delete file
931         * TextCache.h: delete file
932
933         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
934
935         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
936         delete of the bv_->text.
937         (resizeCurrentBuffer): remove texcache stuff
938         (workAreaResize): ditto
939
940 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
943         action.
944
945 2003-10-16  André Pönitz  <poenitz@gmx.net>
946
947         * lyxrow.[Ch]:
948         * paragraph.h:
949         * rowpainter.C:
950         * text.C:
951         * text2.C:
952         * text3.C: speed up by storing y positions per paragraph plus per-row
953         offset instead of having a 'full' y position in the row.
954
955 2003-10-15  André Pönitz  <poenitz@gmx.net>
956
957         * iterators.[Ch]:
958         * iterators.[Ch]:
959         * undo.[Ch]: make undo aware of inner insets
960
961 2003-10-14  Angus Leeming  <leeming@lyx.org>
962
963         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
964         static member functions LyX::ref() and LyX::cref.
965         (lastfiles): new accessor functions for the new lastfiles_ member var.
966         (addLyXView, views_): add a new LyXView to the list of views_.
967         (updateInset): loop over all LyXViews to call their own updateInset
968         member function, returning a pointer to the Buffer owning the inset.
969
970         * BufferView_pimpl.C (loadLyXFile):
971         * MenuBackend.C (expandLastfiles):
972         * bufferlist.C (MenuWrite, QuitLyX):
973         lastfiles is no longer a global variable.
974         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
975
976         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
977         static function. Access through LyX::cref().emergencyCleanup().
978
979 2003-10-14  André Pönitz  <poenitz@gmx.net>
980
981         * iterators.[Ch]: new direct access to innermost LyXText and Inset
982
983         * undo.[Ch]: restoring part of 'undo in insets'
984
985         * Makefile.am:
986         * undo_funcs.[Ch]: merge with undo.[Ch]
987
988         * tabular.C: small cleansing stuff
989
990 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
991
992         * paragraph_funcs.C (readParToken): report unknown insets as error
993         boxes. Use the outer paragraph as location (also for unknown
994         tokens).
995
996         * factory.C (readInset): do not abort on reading an unknown inset.
997         Eat it and return 0.
998
999 2003-10-13  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1002
1003         * lyxrc.C: displayTranslator is now a function,
1004         declared in GraphicsTypes.h.
1005
1006 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1007
1008         * format.C: new placeholder $$a to pass the socket address.
1009
1010         * bufferlist.[Ch]: new function getBufferFromTmp.
1011
1012         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1013           files in the temporary dir.
1014
1015 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1016
1017         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1018
1019         * Makefile.am: add lyxsocket.[Ch].
1020
1021         * lyx_main.C (error_handler): handle SIGPIPE.
1022
1023 2003-10-13  André Pönitz  <poenitz@gmx.net>
1024
1025         * BufferView_pimpl.C:
1026         * lyxtext.h:
1027         * text.C:
1028         * text2.C:
1029         * text3.C:
1030         * undo_funcs.[Ch]: use paroffset_type instead of
1031           ParagraphList::iterators to prevent multiple conversion
1032           (and get a more robust interface)
1033
1034 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1035
1036         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1037         * lyxtext.h: ditto
1038         * text3.C (dispatch): ditto
1039
1040 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1041
1042         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1043         move the onlyfile, use onlyfile instead of foundfile in a couple
1044         of places.
1045
1046         * DepTable.C (update): flush the error stream a bit more
1047
1048 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * lyxserver.C (callback): adjust
1051
1052         * lyxfunc.C (getStatus): add a missing brace in commented code
1053         (ensureBufferClean): reindent
1054         (dispatch): delete version taking a string
1055
1056 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1057
1058         * LaTeX.C (deplog): move found file handlig from here...
1059         (handleFoundFile): .. to new function here.
1060         (deplog): make sure to discover several files mentioned on the
1061         same log line.
1062
1063 2003-10-10  André Pönitz  <poenitz@gmx.net>
1064
1065         * lyxfunc.C:
1066         * lyxtext.h:
1067         * tabular.C:
1068         * text.C:
1069         * text2.C:
1070         * text3.C: fix some of the tabular crashes
1071
1072 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1073
1074         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1075
1076         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1077
1078 2003-10-09  André Pönitz  <poenitz@gmx.net>
1079
1080         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1081
1082         * BufferView.C:
1083         * BufferView_pimpl.C:
1084         * bufferview_funcs.C:
1085         * lyx_cb.C:
1086         * lyxcursor.C:
1087         * lyxfind.C:
1088         * lyxfunc.C:
1089         * lyxtext.h:
1090         * text.C:
1091         * text2.C:
1092         * text3.C:
1093         * text_funcs.[Ch]:
1094         * textcursor.[Ch]:
1095         * undo_funcs.C: adjust
1096
1097 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1098
1099         * text2.C (incrementItemDepth): new function, use a backtracking
1100         algorithm to discover the correct item depth.
1101         (resetEnumCounterIfNeeded): new function, use a backtracking
1102         algorithm to discover if counter reset is needed.
1103         (setCounter): use them. Simplify a bit. Add different labels for
1104         different item depths for itemize.
1105
1106         * paragraph.C (Paragraph): remove initialization of enumdepth
1107         (operator=): ditto
1108
1109         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1110         enumerate and itemize. Change the type of itemdepth to signed char.
1111
1112 2003-10-08  André Pönitz  <poenitz@gmx.net>
1113
1114         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1115           thing assignable.
1116         * text.C:
1117         * text2.C: adjust
1118
1119         * tabular.[Ch]: fix crash after 'row-insert'
1120
1121 2003-10-08  Angus Leeming  <leeming@lyx.org>
1122
1123         Fix doxygen warnings.
1124
1125         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1126         Remove CutAndPaste:: prefix from header file declaration.
1127
1128         * LColor.h (fill): remove LColor:: prefix from declaration.
1129
1130         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1131         use lyx::depth_type rather than Paragraph::depth_type so that
1132         header file and .C file match.
1133
1134         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1135
1136         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1137         * aspell.C: \file aspell_local.C -> \file aspell.C
1138         * gettext.C: \file gettext.C -> \file src/gettext.C
1139         * gettext.h: \file gettext.h -> \file src/gettext.h
1140         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1141         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1142         * text.C: \file text.C -> \file src/text.C
1143
1144         * toc.C: move comment so that doxygen is not confused.
1145
1146 2003-10-07  Angus Leeming  <leeming@lyx.org>
1147
1148         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1149
1150 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1151
1152         * aspell.C:
1153         * aspell_local.h: add forgotten std::string's.
1154
1155 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1156
1157         * LaTeXFeatures.C:
1158         * LyXAction.C:
1159         * factory.C:
1160         * lfuns.h:
1161         * lyxfunc.C:
1162         * text3.C: The Box patch. Fancybox support, minipage, parbox
1163
1164 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1165
1166         * CutAndPaste.h:
1167         * DepTable.h:
1168         * FloatList.h:
1169         * LaTeXFeatures.h:
1170         * ParagraphParameters.h:
1171         * TextCache.h:
1172         * Thesaurus.h:
1173         * bufferlist.h:
1174         * exporter.h:
1175         * importer.h:
1176         * lastfiles.h:
1177         * lyxfind.h:
1178         * lyxfont.h:
1179         * lyxlex.h:
1180         * lyxtextclasslist.h:
1181         * messages.h:
1182         * paragraph.h:
1183         * paragraph_pimpl.C:
1184         * textcursor.h: add <string> and other small fixes to make Lars'
1185         std::string patch compile with STLport.
1186
1187 2003-10-06  Angus Leeming  <leeming@lyx.org>
1188
1189         * LColor.h: Add missing #include <string>.
1190
1191 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1192
1193         * All most all file in all subdirs: Make <string> be the prefered
1194         way of getting to std::string, add using declarations.
1195
1196 2003-10-06  André Pönitz  <poenitz@gmx.net>
1197
1198         * metricsinfo.C: initialize LyXFont before changing attribute.
1199         (fixes the 'math in \emph is upright' bug)
1200
1201 2003-10-06  André Pönitz  <poenitz@gmx.net>
1202
1203         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1204
1205 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1206
1207         * graph.C:
1208         * paragraph_pimpl.C: Small fixes to build using STLport
1209
1210 2003-10-02  André Pönitz  <poenitz@gmx.net>
1211
1212         * lyxfunc.C:
1213         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1214
1215 2003-10-01  André Pönitz  <poenitz@gmx.net>
1216
1217         * factory.C: assert early
1218
1219 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1220
1221         * lyx_main.C: remove the global debug object
1222
1223         * debug.h: adjust for new debugstream
1224
1225         * debug.C: adjust for new debugstream and keep the global debug
1226         object here.
1227
1228 2003-09-22  Angus Leeming  <leeming@lyx.org>
1229
1230         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1231         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1232         an incomplete class LyXFont.
1233
1234 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1235
1236         * factory.C: bug fix in branches
1237
1238 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1239
1240         * lyxfunc.C (processKeySym): adjust
1241         (dispatch): adjust
1242         (dispatch): change arg name from ev to func, adjust
1243         (sendDispatchMessage): ditto
1244
1245         * lyx_main.C (defaultKeyBindings): adjust keybindings
1246         (deadKeyBindings): ditto
1247
1248         * kbsequence.C (addkey): return a FuncRequest
1249
1250         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1251
1252         * kbmap.C (bind): take a FuncRequest as arg, adjust
1253         (read): adjust
1254         (lookup): adjust
1255         (defkey): change to take a FuncRequest as arg, adjust
1256         (findbinding): take a FuncRequest as arg, adjust.
1257
1258         * funcrequest.h (operator=): added
1259
1260         * funcrequest.C (FuncRequest): default kb_action changed from
1261         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1262
1263         * buffer.C (dispatch): simplify
1264         (dispatch): adjust to take a FuncRequest as arg, adjust
1265
1266         * boost.C (assertion_failed): change assertion message slightly
1267
1268         * ToolbarBackend.C (read): simplify
1269
1270         * MenuBackend.C (binding): adjust call to findbinding, add a
1271         message if no binding is found.
1272         (read): simplify
1273         (expandToc): correct by adding a empty FuncRequest
1274
1275         * LyXAction.C: include <boost/assert.hpp>
1276         (isPseudoAction): delete function
1277         (LookupFunc): change name to...
1278         (lookupFunc): this. change return type to FuncRequest.
1279         (getActionName): take kb_action as arg, simplify
1280         (funcHasFlag): add an assert, simplify.
1281
1282 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1283
1284         * toc.C (action): return a FuncRequest, simplify
1285
1286         * lyxfunc.C (processKeySym): adjust
1287         (getStatus): delete version that takes an int.
1288         (getStatus): adjust
1289         (dispatch): delete version that takes action as int
1290         (dispatch): adjust
1291         (sendDispatchMessage): simplify and adjust
1292
1293         * funcrequest.C (getArg): take unsigned int as arg
1294
1295         * ToolbarBackend.C (read): adjust
1296         (add): delete version that takes func as a string.
1297         (getIton): take a FuncRequest as arg
1298
1299         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1300         action.
1301
1302         * MenuBackend.C (MenuItem): add a new construct that only takes a
1303         Kind, simplify the constructor use for submenus.
1304         (add): adjust
1305         (expandLastfiles): adjust
1306         (expandDocuments): adjust
1307         (expandFormats): adjust
1308         (expandFloatListInsert): adjust
1309         (expandFloatInsert): adjust
1310         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1311
1312         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1313         Remove class variables lyx_pseudo_map and lyx_arg_map
1314
1315         * LyXAction.C (searchActionArg): delete function
1316         (getPseudoAction): delete function
1317         (retrieveActionArg): delete function
1318         (LookupFunc): make it return kb_action, simplify.
1319         (getActionName): simplify
1320
1321         * factory.C (createInset): fix new bug
1322
1323 2003-09-19  Angus Leeming  <leeming@lyx.org>
1324
1325         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1326         masterFilename_ parameter in the include inset.
1327
1328         * factory.C (createInset): changes due to the changes to InsetInclude.
1329
1330 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1331
1332         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1333
1334 2003-09-18  Angus Leeming  <leeming@lyx.org>
1335
1336         * buffer.C:
1337         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1338         Inset::fillWithBibKeys.
1339         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1340
1341 2003-09-18  Angus Leeming  <leeming@lyx.org>
1342
1343         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1344         variables.
1345         (ctor): pass and store a 'Buffer const &'
1346         (buffer): new member function.
1347
1348         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1349         '*this' to the LaTeXFeatures ctor.
1350
1351 2003-09-18  Angus Leeming  <leeming@lyx.org>
1352
1353         * LColor.h:
1354         * lyxfont.C:
1355         * lyxfont.h:
1356         * lyxtext.h:
1357         * text.C: rename EnumLColor as LColor_color.
1358
1359 2003-09-18  Angus Leeming  <leeming@lyx.org>
1360
1361         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1362         remove #include "insets/insetbase.h" from cursor.h.
1363
1364 2003-09-18  Angus Leeming  <leeming@lyx.org>
1365
1366         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1367         InsetOld_code to remove #include "inset.h".
1368
1369         * iterators.C: add #include "insets/inset.h"
1370
1371 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1372
1373         * BufferView.C: remove more locking stuff that apparently doesn't
1374         do anything sensible.
1375
1376 2003-09-16  André Pönitz  <poenitz@gmx.net>
1377
1378         * paragraph.[Ch]:
1379         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1380           performance boost.
1381
1382 2003-09-16  Angus Leeming  <leeming@lyx.org>
1383
1384         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1385
1386         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1387         arg/return type.
1388
1389         * paragraph.h: remove #include "lyxfont.h". Forward declare
1390         LyXFont_size.
1391
1392 2003-09-16  Angus Leeming  <leeming@lyx.org>
1393
1394         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1395         of support/textutils.h.
1396         (isWord): move the contents of support/textutils.h's IsWordChar here.
1397
1398         * buffer.C:
1399         * lyxfind.C:
1400         * rowpainter.C:
1401         * text.C:
1402         * text2.C: add #include "paragraph.h".
1403
1404         * rowpainter.C:
1405         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1406
1407 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1408
1409         * main.C:
1410         * lyx_main.C:
1411         * lyx_cb.C:
1412         * buffer.C:
1413         * LaTeX.C: use namespace alias for lyx::support::os
1414
1415 2003-09-16  Angus Leeming  <leeming@lyx.org>
1416
1417         * bufferparams.C:
1418         * bufferview_funcs.C:
1419         * factory.C:
1420         * lyxfunc.C:
1421         * paragraph_pimpl.C:
1422         * rowpainter.C:
1423         * text.C: add #include "LColor.h".
1424
1425 2003-09-16  Angus Leeming  <leeming@lyx.org>
1426
1427         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1428         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1429         return LyXFont &.
1430         Store the FontBits::color variable as an int rather than as an
1431         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1432         file.
1433
1434         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1435         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1436         string calls together.
1437
1438         * lyxrc.C: add #include "LColor.h".
1439
1440 2003-09-15  Angus Leeming  <leeming@lyx.org>
1441
1442         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1443         a cow_ptr.
1444
1445 2003-09-15  Angus Leeming  <leeming@lyx.org>
1446
1447         * LColor.h: add an EnumLColor wrapper for LColor::color.
1448
1449         * lyxfont.[Ch] (color, setColor, realColor):
1450         * lyxtext.h, text.C (backgroundColor):
1451         pass EnumLColor args to/from the functions, rather than LColor::color
1452         ones.
1453
1454         * lyxfont.h:
1455         * lyxtext.h: forward declare EnumLColor.
1456
1457         * lyx_main.C: add #include "LColor.h".
1458
1459 2003-09-15  Angus Leeming  <leeming@lyx.org>
1460
1461         * .cvsignore: add lyx-gtk.
1462
1463 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1464
1465         * Chktex.C
1466         * LaTeX.C
1467         * LaTeXFeatures.C
1468         * ParagraphParameters.C
1469         * Spacing.C
1470         * buffer.C
1471         * bufferparams.C
1472         * bufferview_funcs.C
1473         * chset.C
1474         * counters.C
1475         * funcrequest.C
1476         * lyxfont.C
1477         * lyxgluelength.C
1478         * lyxlength.C
1479         * paragraph.C
1480         * paragraph_funcs.C
1481         * text3.C
1482         * vc-backend.C: remove usage of STRCONV
1483
1484 2003-09-15  Angus Leeming  <leeming@lyx.org>
1485
1486         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1487         explicitly define the color passed to the painter.
1488
1489 2003-09-15  Angus Leeming  <leeming@lyx.org>
1490
1491         * bufferparams.C (BufferParams): reorder member initializers to avoid
1492         compiler warning.
1493
1494 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1497         * text.C (updateRowPositions): remove an unusual nop
1498
1499 2003-09-12  André Pönitz  <poenitz@gmx.net>
1500
1501         * BufferView_pimpl.C:
1502         * Bullet.C:
1503         * layout.h:
1504         * lyxfunc.C:
1505         * lyxlayout.[Ch]:
1506         * lyxtextclass.C:
1507         * rowpainter.C:
1508         * text.C:
1509         * text2.C:
1510         * Counters.[Ch]: finish the 'automatic counters' job
1511
1512 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1513
1514         * aspell.C: include <boost/assert.cpp> (compile fix)
1515
1516 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1517
1518         * boost.C (assertion_failed): use lyx::support::abort instead of
1519         assert.
1520
1521 2003-09-10  Angus Leeming  <leeming@lyx.org>
1522
1523         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1524         with their _fwd progeny.
1525
1526 2003-09-09  Angus Leeming  <leeming@lyx.org>
1527
1528         134 files throughtout the source tree: replace 'using namespace abc;'
1529         directives with the appropriate 'using abc::xyz;' declarations.
1530
1531 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1532
1533         * boost.C (emergencyCleanup): moved here from LAssert.c
1534         (assertion_failed): new function, called by BOOST_ASSERT
1535
1536         * several files: change Assert to BOOST_ASSERT
1537
1538 2003-09-09  Angus Leeming  <leeming@lyx.org>
1539
1540         * buffer.[Ch]: Add an Impl class and move Buffer's member
1541         variables into it. As a result move several header files out of
1542         buffer.h.
1543
1544         Add header files to lots of .C files all over the tree as a result.
1545
1546 2003-09-09  Angus Leeming  <leeming@lyx.org>
1547
1548         * buffer.[Ch]: make Buffer's member variables private. Add
1549         accessor functions.
1550
1551         Lots of changes all over the tree as a result.
1552
1553 2003-09-08  Angus Leeming  <leeming@lyx.org>
1554
1555         * graph.C: #include <config.h>.
1556
1557 2003-09-08  Angus Leeming  <leeming@lyx.org>
1558
1559         * BranchList.C:
1560         * BufferView.C:
1561         * BufferView_pimpl.C:
1562         * CutAndPaste.C:
1563         * DepTable.C:
1564         * LaTeX.C:
1565         * LaTeXFeatures.C:
1566         * LyXAction.C:
1567         * MenuBackend.C:
1568         * TextCache.C:
1569         * aspell.C:
1570         * buffer.C:
1571         * bufferlist.C:
1572         * changes.C:
1573         * chset.C:
1574         * converter.C:
1575         * counters.C:
1576         * debug.C:
1577         * graph.C:
1578         * ispell.C:
1579         * lyx_cb.C:
1580         * lyxfind.C:
1581         * lyxfunc.C:
1582         * lyxlex_pimpl.C:
1583         * lyxrc.C:
1584         * lyxrow.C:
1585         * paragraph.C:
1586         * rowpainter.C:
1587         * texrow.C:
1588         * text.C:
1589         * text2.C:
1590         * toc.C: remove redundant using directives.
1591
1592 2003-09-07  Angus Leeming  <leeming@lyx.org>
1593
1594         * LaTeXFeatures.h: remove #include "support/types.h".
1595         * ToolbarBackend.h: remove #include <algorithm>.
1596         * changes.h: remove #include <ctime>.
1597         * debug.h: remove #include <iosfwd>.
1598         * graph.h: remove #include "support/std_string.h".
1599         * lyx_main.h: remove #include <csignal>.
1600         * lyxlex_pimpl.h: remove #include <fstream>.
1601         * sgml.h: remove #include <algorithm>, <utility>.
1602         * toc.h: remove #include "support/std_ostream.h".
1603         Add #include <iosfwd>.
1604
1605 2003-09-07  Angus Leeming  <leeming@lyx.org>
1606
1607         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1608
1609         * converter.h: forward declare LatexRunParams.
1610         * encoding.h: remove #include "lyxrc.h".
1611         * lyxtext.h: remove #include "LColor.h".
1612         * lyxtextclass.h: remove #include "support/types.h".
1613         * trans.h: remove #include "tex-accent.h".
1614         * trans_mgr.h: remove #include "tex-accent.h".
1615         * insets/inset.h: remove #include "support/types.h", <vector>.
1616         * insets/insetcollapsable.h: remove #include "LColor.h".
1617         * insets/insetinclude.h: remove #include "dimension.h".
1618         * insets/insetlatexaccent.h: remove #include "dimension.h".
1619         * insets/insetoptarg.h:: remove #include "insettext.h".
1620         * insets/insettext.h: remove #include "dimension.h",
1621         <boost/shared_ptr.hpp>
1622
1623         * insets/renderers.h: add #include "dimension.h".
1624         * insets/updatableinset.h: add #include "support/types.h".
1625
1626         * many .C files: Associated changes.
1627
1628 2003-09-06  Angus Leeming  <leeming@lyx.org>
1629
1630         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1631         one, inside testInvariant.
1632
1633         * PrinterParams.C: new file.
1634         * PrinterParams.[Ch]: move the function bodies out of line.
1635
1636 2003-09-06  Angus Leeming  <leeming@lyx.org>
1637
1638         * ParagraphParameters.h: forward declare ParameterStruct rather than
1639         including its header file.
1640         (depth): moved out-of-line.
1641
1642 2003-09-06  Angus Leeming  <leeming@lyx.org>
1643
1644         * BufferView_pimpl.h:
1645         * kbmap.h:
1646         * kbsequence.h:
1647         * lyxfunc.h: forward declare LyXKeySym rather than
1648         #include "frontends/LyXKeySym.h".
1649
1650         * BufferView_pimpl.C:
1651         * kbmap.C:
1652         * kbsequence.C:
1653         * lyxfunc.C: associated changes.
1654
1655 2003-09-06  Angus Leeming  <leeming@lyx.org>
1656
1657         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1658         As a result, can remove the #include "insets/inset.h" from BufferView.h
1659
1660 2003-09-06  Angus Leeming  <leeming@lyx.org>
1661
1662         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1663         As a result, can remove the #include "insets/inset.h" from BufferView.h
1664
1665 2003-09-06  Angus Leeming  <leeming@lyx.org>
1666
1667         * buffer_funcs.C:
1668         * buffer.h:
1669         * bufferlist.C:
1670         * BufferView.C:
1671         * bufferview_funcs.C:
1672         * BufferView_pimpl.C:
1673         * CutAndPaste.C:
1674         * lyx_cb.C:
1675         * lyxfunc.C:
1676         * paragraph.h:
1677         * ParagraphParameters.C:
1678         * tabular.C:
1679         * text3.C:
1680         * toc.C:
1681         * undo_funcs.C:
1682         * frontends/controllers/ControlDocument.C:
1683         * insets/insetcaption.C: rearrange the #includes into some sort of
1684         coherent order.
1685
1686         * buffer.h: remove #includes ErrorList.h, undo.h
1687
1688 2003-09-06  Angus Leeming  <leeming@lyx.org>
1689
1690         * support/types.h: add a 'depth_type' typedef, used to store the
1691         nesting depth of a paragraph.
1692
1693         * paragraph.h:
1694         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1695         defining explicitly.
1696
1697         * buffer.h:
1698         * paragraph_funcs.h:
1699         * ParagraphParameters.h:
1700         * sgml.h: use lyx::depth_type rather than Paragraph or
1701         ParameterStruct's depth_type.
1702
1703         * buffer.h
1704         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1705
1706         * BufferView.C:
1707         * BufferView_pimpl.C:
1708         * CutAndPaste.C:
1709         * ParagraphParameters.C:
1710         * buffer_funcs.C:
1711         * bufferlist.C:
1712         * bufferview_funcs.C:
1713         * lyx_cb.C:
1714         * lyxfunc.C:
1715         * tabular.C:
1716         * text3.C:
1717         * toc.C:
1718         * undo_funcs.C:
1719         * frontends/LyXView.C:
1720         * frontends/controllers/ControlDocument.C:
1721         * frontends/controllers/ControlErrorList.C:
1722         * insets/insetbibitem.C:
1723         * insets/insetbranch.C:
1724         * insets/insetcaption.C:
1725         * insets/insetcollapsable.C:
1726         * insets/insetenv.C:
1727         * insets/insetert.C:
1728         * insets/insetfloat.C:
1729         * insets/insetfoot.C:
1730         * insets/insetfootlike.C:
1731         * insets/insetnewline.C:
1732         * insets/insetquotes.C:
1733         * insets/insettabular.C:
1734         * insets/insettext.C:
1735         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1736
1737         * frontends/controllers/ControlChanges.C: #include "changes.h".
1738
1739 2003-09-06  Angus Leeming  <leeming@lyx.org>
1740
1741         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1742         than #including paragraph.h.
1743
1744         * ParagraphList.h:
1745         * RowList.h: deleted. Superfluous.
1746
1747         * CutAndPaste.h:
1748         * iterators.h:
1749         * lyxcursor.h:
1750         * lyxtext.h:
1751         * text_funcs.h:
1752         * undo.h:
1753         * undo_funcs.h:
1754         * insets/inset.h:
1755         * insets/insettext.h: use ParagraphList_fwd.h rather than
1756         ParagraphList.h.
1757
1758         * paragraph.h: don't forward declare ParagraphList.
1759
1760         * buffer.h:
1761         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1762         rather than ParagraphList.h. paragraph.h is still needed for the
1763         Paragraph::depth_type parameters.
1764
1765         * textcursor.h: enable it to compile stand-alone in light of the
1766         above changes.
1767
1768         * bufferview_funcs.C:
1769         * iterators.C:
1770         * lyxfunc.C:
1771         * lyxrow_funcs.C:
1772         * paragraph.C:
1773         * rowpainter.C:
1774         * text.C:
1775         * text2.C:
1776         * text3.C:
1777         * text_funcs.C:
1778         * textcursor.C:
1779         * undo.C:
1780         * frontends/controllers/ControlParagraph.C:
1781         * frontends/controllers/ControlTabular.C:
1782         * insets/insetmarginal.C:
1783         * insets/insetminipage.C:
1784         * insets/insetnote.C:
1785         * insets/insetoptarg.C: add header files needed to compile again.
1786
1787 2003-09-06  Angus Leeming  <leeming@lyx.org>
1788
1789         * RowList_fwd.h: new file, forward-declaring Row rather than
1790         #including lyxrow.h.
1791
1792         * lyxrow_funcs.h:
1793         * lyxtext.h:
1794         * paragraph.h:
1795         * insets/insettext.h: use it instead of RowList.h
1796
1797         * bufferview_funcs.C:
1798         * lyxfunc.C:
1799         * lyxrow_funcs.C:
1800         * paragraph.C:
1801         * rowpainter.C:
1802         * text.C:
1803         * text2.C:
1804         * text3.C: #include "RowList.h".
1805
1806 2003-09-05  Angus Leeming  <leeming@lyx.org>
1807
1808         * factory.C (createInset):
1809         * vspace.C (c-tor): replace sscanf call with an istringstream.
1810         * ispell.C: re-add missing HP/UX headers.
1811         * lyxserver.C: re-add missing  os2 headers.
1812
1813 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1814
1815         * BranchList.C:
1816         * graph.C:
1817         * ispell.C:
1818         * lastfiles.C:
1819         * lyx_cb.C:
1820         * lyxserver.C:
1821         * texrow.C:
1822         * text3.C: re-add missing system headers, needed for 2.95.2.
1823
1824 2003-09-05  Angus Leeming  <leeming@lyx.org>
1825
1826         Changes most place everywhere due to the removal of using directives
1827         from support/std_sstream.h.
1828
1829 2003-09-05  Angus Leeming  <leeming@lyx.org>
1830
1831         Replace LString.h with support/std_string.h,
1832         Lsstream.h with support/std_sstream.h,
1833         support/LIstream.h with support/std_istream.h,
1834         support/LOstream.h with support/std_ostream.h.
1835
1836         Changes resulting throughout the tree.
1837
1838 2003-09-05  Angus Leeming  <leeming@lyx.org>
1839
1840         * sgml.h: ensure that the header file can be compiled stand-alone.
1841         * *.C: strip out redundant #includes. (320 in total.)
1842
1843 2003-09-04  Angus Leeming  <leeming@lyx.org>
1844
1845         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1846         here (from getPackages).
1847
1848         * debug.[Ch]: add a new EXTERNAL tag.
1849
1850 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1851
1852         * text2.C (cursorEnd): simplify
1853         (setCursor): adjust
1854         (getColumnNearX): adjust
1855
1856         * text.C (computeBidiTables): adjust
1857         (fill): adjust
1858
1859         * rowpainter.C (paintChars): adjust
1860         (paintSelection): adjust
1861         (paintChangeBar): adjust
1862         (paintText): adjust
1863
1864         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1865         lastPos instead.
1866         (numberOfSeparators): adjust
1867
1868 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * LyXAction.C:
1871         * box.[Ch]:
1872         * lfuns.h:
1873         * lyxfunc.C:
1874         * text3.C: Restricts the mouse click functionality
1875         of insets like bibtex, include, toc and floatlist to the visible
1876         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1877         up the dialogs. Cursor has to be in front of the inset (i.e.
1878         start of row) for this to function.
1879
1880 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1881
1882         * bufferview_funcs.C (currentState): output row information
1883
1884 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1885
1886         * bufferview_funcs.C (currentState): output paragraph position
1887
1888 2003-09-04  Angus Leeming  <leeming@lyx.org>
1889
1890         * FloatList.h: move out #include "Floating.h".
1891         * LaTeX.h: move out #include "DepTable.h".
1892         * LyXAction.h: move out #include "funcrequest.h".
1893         * buffer.h: move out #include "author.h", "iterators.h".
1894         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1895         * lyx_main.h: move out #include "errorlist.h".
1896         * lyxfunc.h: move out #include "FuncStatus.h".
1897         * lyxtext: move out #include "lyxcursor.h".
1898         * paragraph_pimpl.h: move out #include "counters.h".
1899
1900 2003-09-03  Angus Leeming  <leeming@lyx.org>
1901
1902         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1903         preamble_snippets list, enabling us to add snippets to the preamble
1904         only if the snippet was not there already.
1905
1906 2003-09-04  Angus Leeming  <leeming@lyx.org>
1907
1908         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1909
1910 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1911
1912         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1913         update
1914
1915 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1916
1917         * BranchList.C: point fix, earlier forgotten
1918
1919 2003-09-02  Angus Leeming  <leeming@lyx.org>
1920
1921         * box.C (contains): renamed from 'contained' after a fantastic
1922         amount of hot air.
1923
1924 2003-09-02  John Levon  <levon@movementarian.org>
1925
1926         * BufferView.C:
1927         * lyxcursor.h:
1928         * lyxcursor.C:
1929         * lyxfunc.C:
1930         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1931
1932 2003-09-02  John Levon  <levon@movementarian.org>
1933
1934         * text2.C: simplification of cursorEnd(), including partial
1935         fix for bug 1376
1936
1937 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1938
1939         * buffer.C (readFile): add a space
1940
1941 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1942
1943         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1944
1945 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * buffer.C (readFile): new function, take a filename and a
1948         ParagraphList::iterator
1949         (readFile): adjust
1950         (readFile): adjust, make it private. don't use setStream, make
1951         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1952         always contain the filename.
1953
1954         * BufferView.C (insertLyXFile): simplify and make it work for
1955         gzipped files.
1956
1957 2003-08-30  John Levon  <levon@movementarian.org>
1958
1959         * Makefile.am: fix dist (from Kayvan)
1960
1961 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * most files: change to use const Buffer refs
1964
1965 2003-08-27  André Pönitz  <poenitz@gmx.net>
1966
1967         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1968         on top of ownerPar().
1969
1970 2003-08-27  John Levon  <levon@movementarian.org>
1971
1972         * funcrequest.C: properly initialise POD members
1973
1974 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * lyxtext.h (top_y): move top_y from here
1977         * text.C:
1978         * text2.C:
1979         * text3.C:
1980         * BufferView.[Ch]:
1981         * BufferView_pimpl.[Ch]: to here
1982         * frontends/screen.C:
1983         * insets/insettabular.C:
1984         * insets/insettext.C: adjust
1985         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1986
1987 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1988
1989         * BufferView.[Ch]:
1990         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1991
1992 2003-08-26  André Pönitz  <poenitz@gmx.net>
1993
1994         * paragraph_func.[Ch] (outerPar): new function
1995
1996         * paragraph.C:
1997         * paragraph_funcs.C:
1998         * paragraph_funcs.h:
1999         * paragraph_pimpl.C:
2000         * text2.C: remove Inset::par_owner
2001
2002 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2003
2004         * lyxrow_funcs.C:
2005         * lyxtext.h:
2006         * text.C:
2007         * text2.C: eliminates the needFullRow/display() stuff
2008         altogether, putting the logic in metrics/draw in the insets.
2009
2010 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * text2.C (redoParagraphInternal, redoParagraphs):
2013         * text.C (redoParagraph): add a call to updateRowPositions at the
2014         end of each 'metrics-like' call. Remove all others.
2015         (getRow): remove the 'y-computing' version.
2016         (getRowNearY): do not compute nor return the real y. Solve the
2017         'y < 0' problem and simplify.
2018
2019 2003-08-22  Angus Leeming  <leeming@lyx.org>
2020
2021         * *.[Ch]: clean-up of licence and author blurbs.
2022         Also move config.h out of a few .h files and into a few .C files.
2023
2024 2003-08-22  André Pönitz  <poenitz@gmx.net>
2025
2026         * lyxrow.[Ch]: add x_ and *fill_ members
2027
2028         * lyxtext.h:
2029         * text.C:
2030         * rowpainter.C:
2031         * text2.C: adjust/remove prepareToPrint() calls
2032
2033 2003-08-22  André Pönitz  <poenitz@gmx.net>
2034
2035         * lyxrow.[Ch]: add  end_ member
2036
2037         * lyxrow_funcs.C: use LyXRow::end_
2038
2039         * lyxtext.h (singleWidth): add LyXFont parameter
2040
2041         * rowpainter.C:
2042         * text2.C: adjust LyXText::singleWidth() calls
2043
2044         * text.C (redoParagraph): simplify row breaking logic
2045
2046
2047 2003-08-19  André Pönitz  <poenitz@gmx.net>
2048
2049         * funcrequest.C: initialize button_ member
2050
2051         * text3.C:
2052         * rowpainter.[Ch]: interface consolidation
2053
2054 2003-08-18  André Pönitz  <poenitz@gmx.net>
2055
2056         * BufferView.C:
2057         * BufferView_pimpl.C:
2058         * lyxfind.C:
2059         * paragraph_funcs.C:
2060         * rowpainter.C:
2061         * text3.C: remove LyXScreen::draw() and fitCursor calls
2062
2063         * BranchList.h: remove spurious semicolons
2064
2065         * MenuBackend.C: fix branchlist related crash
2066
2067 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2068
2069         * BranchList.[Ch]:
2070         * InsetList.[Ch]:
2071         * LColor.[Ch]:
2072         * LyXAction.C:
2073         * Makefile.am:
2074         * MenuBackend.[Ch]:
2075         * bufferparams.[Ch]:
2076         * factory.C:
2077         * lfuns.h:
2078         * lyxfunc.C:
2079         * text3.C: implements the 'branch inset'
2080         idea. This allows the output of various versions of a document
2081         from a single source version, selectively outputing or suppressing
2082         output of parts of the text.
2083         This implementation contains a 'branch list editor' in a separate
2084         tab of the document settings dialog. Branches are user definable
2085         and have a "display colour" to distinguish them on-screen.
2086
2087         ColorHandler was somewhat cleaned up.
2088         (1) make possible a dynamically growing LColor list by allowing
2089         the graphic context cache to grow along (vector);
2090         (2) eliminate an IMHO unnecessary step in colour allocation.
2091
2092 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2093
2094         * BufferView_pimpl.C: compile fix
2095
2096 2003-08-15  André Pönitz  <poenitz@gmx.net>
2097
2098         * rowpainter.C: remove extra metrics calls
2099
2100         * lyxtext.h: merge the two constructors into a single one,
2101           pass reference to owner's par list
2102
2103         * BufferView_pimpl.C:
2104         * text.C:
2105         * text2.C: adjust
2106
2107 2003-08-15  André Pönitz  <poenitz@gmx.net>
2108
2109         * lyxrow_funcs.[Ch]:
2110         * lyxtext.h:
2111         * paragraph.h:
2112         * paragraph_funcs.C:
2113         * rowpainter.C:
2114         * text.C:
2115         * text2.C:
2116         * text3.C:
2117         * text_funcs.C: split LyXText::rowlist_ into individual
2118         Paragraph::rows_ chunks
2119
2120         * BufferView.[Ch]:
2121         * BufferView_pimpl.[Ch]:
2122         * lyxfind.C:
2123         * lyxtext.h:
2124         * text3.C: remove toggleSelection()
2125
2126 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2127
2128         * bufferlist.C: beautify two alerts (shorter text of buttons)
2129         * buffer.C: Remove redundant ' ' from message
2130         * tabular.h:
2131         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2132         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2133         rename VALIGN_CENTER to VALIGN_MIDDLE
2134
2135 2003-08-11  André Pönitz  <poenitz@gmx.net>
2136
2137         * lyxtext.h (getPar):
2138         * text.C: new function
2139
2140 2003-08-11  André Pönitz  <poenitz@gmx.net>
2141
2142         * Makefile.am:
2143         * tracer.[Ch]: remove unneeded files
2144
2145         * InsetList.[Ch]: remove resizeInsetsLyXText()
2146
2147         * lyxtext.h:
2148         * text.C:
2149         * text2.C:
2150         * text3.C: merge insertParagraphs() and appendParagraph()
2151         remove breakAgain(), update()
2152
2153         * BufferView_pimpl.[Ch]:
2154         * bufferview_funcs.[Ch]:
2155         * lyxfunc.C:
2156         * paragraph.[Ch]:
2157         * rowpainter.C:
2158         * tabular.C: adjust after text & InsetList changes.
2159
2160 2003-08-08  André Pönitz  <poenitz@gmx.net>
2161
2162         * text.C (insertChar, backspace): replace rowlist fiddling
2163         with rebreak of full par
2164
2165         * lyxtext.h:
2166         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2167         checkParagraph, updateInset): removed
2168
2169 2003-08-07  André Pönitz  <poenitz@gmx.net>
2170
2171         * paragraph.C:
2172         * text3.C: merge some LFUN handlers, remove dead code
2173
2174 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2177
2178 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * text2.C (DEPM): fix part of bug 1255 and 1256
2181
2182 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2183
2184         * BufferView_pimpl.C (workAreaDispatch): change to use
2185         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2186         that are no mouse related.
2187
2188 2003-08-05  André Pönitz  <poenitz@gmx.net>
2189
2190         * BufferView.[Ch]:
2191         * BufferView_pimpl.[Ch]:
2192         * bufferview_funcs.C:
2193         * text2.C:
2194         * text3.C: rip out "deep update"
2195
2196         * textcursor.[Ch] (last_sel_cursor): remove unused member
2197
2198 2003-08-04  André Pönitz  <poenitz@gmx.net>
2199
2200         * BufferView.[Ch]:
2201         * BufferView_pimpl.[Ch]:
2202         * ParagraphParameters.C:
2203         * bufferview_funcs.C:
2204         * lyx_cb.C:
2205         * lyxfind.C:
2206         * lyxfunc.C:
2207         * text.C:
2208         * text2.C:
2209         * text3.C: replace "complicated" BufferView::update(...) calls with
2210         simpler ones.
2211
2212         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2213
2214 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2215
2216         * Makefile.am (lyx_SOURCES): add paper.h
2217
2218 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2219
2220         * Makefile.am: move things around so that both lyx-qt and
2221         lyx-xforms can be built (according to --with-frontend). Then lyx
2222         is a symbolic link to lyx-[firstfrontend]
2223
2224 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2225
2226         * Always use std::endl with lyxerr
2227
2228 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2229
2230         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2231
2232 2003-08-01  André Pönitz  <poenitz@gmx.net>
2233
2234         * BufferView.[Ch]:
2235         * BufferView_pimpl.[Ch]:
2236         * lyxfunc.C:
2237         * text3.C: merge BufferView::repaint() and BufferView::update()
2238
2239 2003-08-01  José Matos  <jamatos@lyx.org>
2240
2241         * buffer.[Ch]: file_format is no longer a buffer data element.
2242
2243 2003-08-01  André Pönitz  <poenitz@gmx.net>
2244
2245         * BufferView.C:
2246         * lyxtext.h:
2247         * text.C:
2248         * text2.C: make redoParagraph more independent of current cursor
2249
2250         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2251         * text.C:
2252         * text2.C: remove unneeded members
2253
2254 2003-07-30  André Pönitz  <poenitz@gmx.net>
2255
2256         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2257
2258         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2259           create a single function...
2260
2261         * paragraph_funcs.C (moveItem): ... here.
2262
2263         * text.C:
2264           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2265
2266 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2267
2268         * LColor.[Ch]: Add comment and greyedout logical colors.
2269
2270 2003-07-30  André Pönitz  <poenitz@gmx.net>
2271
2272         * tabular.C: don't use Assert too heavily. This crashes where it
2273           shouldn't
2274
2275 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2278         is disabled (bug 1232)
2279
2280 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2281
2282         * factory.C: limited 'arg' scope
2283
2284 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2285
2286         * factory.C: fixed Note submenu issues
2287
2288 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2289
2290         * factory.C: submenu for Note/Comment/Greyedout
2291
2292 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2293
2294         * lyx_main.C (LyX):
2295         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2296
2297 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2298
2299         * LaTeXFeatures.C:
2300         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2301         greyedout. Patch provided by Jürgen Spitzmüller.
2302
2303 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2304
2305         * kbmap.C (read): fix error message when reading bind files
2306
2307 2003-07-29  Angus Leeming  <leeming@lyx.org>
2308
2309         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2310         certainly does not do what it purports to do. I am doing it, and
2311         us, a favour by killing it.
2312
2313 2003-07-28  José Matos  <jamatos@lyx.org>
2314
2315         * buffer.C (readBody, do_writeFile):
2316         * paragraph.C(readParagraph): \end_document replaces \the_end.
2317
2318 2003-07-29  André Pönitz  <poenitz@gmx.net>
2319
2320         * BufferView.[Ch]:
2321         * BufferView_pimpl.[Ch]:
2322         * lyxfunc.C:
2323         * text2.C:
2324         * text3.C:
2325         * textcursor.[Ch]: remove toggleToggle & Co
2326
2327 2003-07-28  José Matos  <jamatos@fep.up.pt>
2328
2329         * buffer.C (readParagraph):
2330         * params_func (readParToken, readParagraph):
2331         * paragraph.C (write): \layout -> \begin_layout.
2332
2333 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * lyxlex_pimpl.C (setFile): clean up slightly.
2336
2337         * bufferparams.h: add compressed var
2338
2339         * buffer_funcs.C (readFile): adjust for LyXLex change
2340         (newFile): ditto + simplify
2341
2342         * buffer.C (writeFile): handle writing of compressed files
2343
2344         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2345         Check if the file is compressed and set a bufferparm if so.
2346
2347         * Makefile.am (lyx_LDADD): remove explicit -lz
2348
2349 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2352         makeDocBookFile): put the real LyX version in the first line of
2353         the file
2354
2355         * version.h:
2356         * version.C.in: remove lyx_docversion
2357
2358         * tabular.C (write_attribute): add a template-based version to
2359         write enums properly
2360
2361 2003-07-28  André Pönitz  <poenitz@gmx.net>
2362
2363         * lyxtext.h:
2364         * text.C:
2365         * text2.C:
2366         * text3.C: use doubles again for x-coordinates. They are needed.
2367
2368 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * messages.C (getLocaleDir): use lyx_localedir()
2371
2372         * lyxlex_pimpl.C (setFile): compress stuff
2373
2374         * buffer.C (writeFile): add some compression stuff
2375         (do_writeFile): new func, dont call expliti close... will this
2376         breake anything?
2377
2378         * Makefile.am (lyx_LDADD): add -lz
2379
2380 2003-07-28  José Matos  <jamatos@fep.up.pt>
2381
2382         * buffer.C: increment file format.
2383         * paragraph_funcs (readParagraph, readParToken):
2384         * paragraph.C (readParagraph): add \end_layout.
2385
2386 2003-07-27  Angus Leeming  <leeming@lyx.org>
2387
2388         * Makefile.am: remove special casing for configure-time setting of
2389         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2390
2391         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2392         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2393
2394 2003-07-26  André Pönitz  <poenitz@gmx.net>
2395
2396         * paragraph_func.[Ch]:
2397         * paragraph.C (realizeFont): inline it whereever it is used
2398
2399         * rowpainter.C:
2400         * text.C:
2401         * text2.C:
2402         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2403
2404
2405 2003-07-26  André Pönitz  <poenitz@gmx.net>
2406
2407         *       lyxtext.h:
2408         * text.C:
2409         * text2.C: get rid of LyXText::need_break_row
2410
2411 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * toc.[Ch]: put namespace toc inside namespace lyx
2414
2415         * MenuBackend.C (expandToc2): adjust for lyx::toc
2416         (expandToc): ditto
2417
2418         * lyxfunc.C (dispatch): adjust for lyx::find
2419
2420         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2421         lyx::find instead. Reorganize a bit.
2422         (LyXReplace): rename to replace
2423         (LyXFind): rename to find
2424
2425         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2426         (dispatch): ditto
2427
2428 2003-07-26  André Pönitz  <poenitz@gmx.net>
2429
2430         * text.C (setHeightOfRow): restrict scope of temporary variable
2431
2432         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2433           code (never has been used?)
2434
2435 2003-07-27  Asger Alstrup  <alstrup@local>
2436
2437         * text.C (fill): Optimise algorithm to exploit that we can reuse
2438         the LyXFont for many characters.
2439         (setHeightOfRow): Same thing.
2440         (rowBreakPoint): Same thing.
2441
2442 2003-07-26  Asger Alstrup  <alstrup@local>
2443
2444         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2445
2446         * text.C (singleWidth): Spurious font copying in hot-spot
2447         singleWidth avoided. Reorder tests for arabic for efficiency.
2448
2449         * text.C (fill): handle empty paragraphs better.
2450
2451 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2452
2453         * ispell.C:
2454         * encoding.h: add includes
2455
2456         * lyxrc.C: remove reading of bind files
2457
2458         * lyx_main.C (init): setup bindings and menus only if we have a
2459         gui.
2460
2461         * kbmap.C (read): new method. Do the actual reading of bind
2462         files.
2463
2464         * converter.C (dvipdfm_options):
2465         * bufferparams.C:
2466         * lyxrc.C (read):
2467         (output): adapt PAPER_* enums.
2468
2469         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2470
2471         * bufferparams.h: remove paper-related enums from there
2472
2473         * paper.h: New file. A trivial header file to hold paper-related
2474         enums. It should later expand to contain many paper-related
2475         horrors access.
2476
2477         * lyxrc.C: declare extern displayTranslator
2478
2479 2003-07-27  José Matos  <jamatos@fep.up.pt>
2480
2481         * tabular.[Ch] (linuxdoc): add support for tables and figures
2482         (linuxdoc).
2483
2484 2003-07-27  José Matos  <jamatos@fep.up.pt>
2485
2486         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2487         consistency in both functions.
2488         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2489
2490 2003-07-26  Asger Alstrup  <alstrup@local>
2491
2492         * rowpainter.C (paintRows): Change algorithm to work directly on
2493         the insets rather than asking every character in the document
2494         whether its an inset.
2495
2496 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2497
2498         * buffer.C (openFileWrite): factorize some code
2499
2500 2003-07-26  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyx_cb.C:
2503         * lyx_main.[Ch]: replace occurances of system_tempdir with
2504         os::getTmpDir().
2505
2506 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * rename Inset to InsetOld
2509
2510 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2511
2512         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2513         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2514         which I think is a bit clearer. EDIT is gone, since it was
2515         premature optimisation, and broken for mathed anyway.
2516         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2517         with cursor positioning in insets as well (math insets still do not
2518         work, but that's a different story anyway.) It mysteriously
2519         crashes sometimes with undo in the first paragraph, but I'm fairly
2520         confident that this is a compiler bug.
2521
2522 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * paragraph.C (Paragraph): adjust for new clone return type
2525         (operator==): ditto
2526         (copyIntoMinibuffer): ditto
2527
2528 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2529
2530         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2531         by not having a special case, and always doing a full rebreak of
2532         the document after undo.
2533
2534 2003-07-23  Angus Leeming  <leeming@lyx.org>
2535
2536         * factory.C (createInset): InsetExternal::setParams now takes a
2537         Buffer const * arg.
2538
2539 2003-07-23  Angus Leeming  <leeming@lyx.org>
2540
2541         * factory.C (createInset): changed interface to the external and
2542         graphics mailers' string2params functions.
2543
2544 2003-07-23  Angus Leeming  <leeming@lyx.org>
2545
2546         * factory.C (createInset): pass a
2547         Buffer const * parameter to InsetExternalMailer's string2params.
2548
2549 2003-07-22  John Levon  <levon@movementarian.org>
2550
2551         * Thesaurus.h: include the right aiksaurus header
2552
2553 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * MenuBackend.C (expand): check menu shortcuts unconditionally
2556
2557 2003-07-21  Angus Leeming  <leeming@lyx.org>
2558
2559         * factory.C (createInset): pass a
2560         buffer_path parameter to InsetGraphicsMailer's string2params.
2561
2562 2003-07-21  Angus Leeming  <leeming@lyx.org>
2563
2564         * BufferView_pimpl.C (buffer):
2565         * buffer.C (d-tor):
2566         * lyx_main.C (LyX):
2567         * lyxfunc.C (dispatch):
2568         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2569         rather than the grfx shortcut.
2570
2571 2003-07-21  André Pönitz  <poenitz@gmx.net>
2572
2573         * rowpainter.C: remove unused variables
2574
2575         * tabular_funcs.C:
2576         * tabular_funcs.h: move to tabular.C
2577         * Makefile.am: adjust
2578
2579         * tabular.[Ch]: basic optical cleaning
2580
2581         * author.h: pass references, not values
2582
2583 2003-07-18  André Pönitz  <poenitz@gmx.net>
2584
2585         * lyxtext.h:
2586         * metricsinfo.C:
2587         * metricsinfo.h:
2588         * rowpainter.C:
2589         * text.C:
2590         * text2.C:
2591         * text3.C: two-phase drawing for InsetText and InsetTabular
2592         some float -> int changes.
2593
2594 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * lyx_main.C: fix the fix
2597
2598 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2599
2600         * lyx_main.C: fix a crash in batch mode if no files specified
2601         * converter.C: ws
2602
2603 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2604
2605         * format.[Ch] (papersize): moved to BufferParams
2606         * converter.[Ch] (dvips_options): moved to BufferParams
2607         (dvipdfm_options): moved to anon namespace
2608         * bufferparams.[Ch]: added above functions.
2609
2610 2003-07-17  André Pönitz  <poenitz@gmx.net>
2611
2612         * lyxtext.h:
2613         * rowpainter.C:
2614         * text2.C: don't call inset->update() anymore
2615
2616         * metricsinfo.[Ch]: add convenience constructor
2617
2618 2003-07-16  André Pönitz  <poenitz@gmx.net>
2619
2620         * lyxcursor.[Ch]:
2621         * lyxfunc.[Ch]:
2622         * text.C:
2623         * text2.C: replace the LyXCursor::irow_ member with
2624          on-demand computation of the value
2625
2626 2003-07-16  John Levon  <levon@movementarian.org>
2627
2628         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2629
2630 2003-07-15  André Pönitz  <poenitz@gmx.net>
2631
2632         * text.C:
2633         * text2.C: remove no more needed refresh_row
2634
2635 2003-07-15  André Pönitz  <poenitz@gmx.net>
2636
2637         * lyxtext.h:
2638         * rowpainter.C:
2639         * text2.C:
2640         * text3.C: refresh_status tristate -> need_update bool
2641
2642 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * lyxtext.h (init): remove reinit argument (act as if always true)
2645         * text2.C: adjust to that
2646
2647 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2648
2649         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2650         * text3.C: use it to delete selections in some cases
2651         (bugs 441, 673, 702, 954).
2652
2653 2003-07-14  André Pönitz  <poenitz@gmx.net>
2654
2655         * rowpainter.[Ch]: reduce interface
2656
2657 2003-07-14  André Pönitz  <poenitz@gmx.net>
2658
2659         * BufferView_pimpl.C:
2660         * text2.C: adjust after removing unused BufferView * argument
2661
2662 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2663
2664         * text2.C (init): fix a crash fired on resize
2665
2666 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2667
2668         * buffer.[Ch]: added new closing signal
2669         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2670         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2671         BufferView::Pimpl via the closing the signal
2672
2673 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2674
2675         * buffer.[Ch]: take out all bv-related from buffer
2676         * BufferView.C:
2677         * BufferView_pimpl.[Ch]: connect to new signals
2678         * CutAndPaste.C: removed useless asserts
2679         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2680         * lyxvc.[Ch]:
2681         * vc-backend.[Ch]:
2682         * lyxfunc.C: moved view-related funciontality from vc here
2683         * paragraph.C: removed outdated comments
2684         * text.C: ws
2685
2686 2003-07-10  André Pönitz  <poenitz@gmx.net>
2687
2688         * BufferView_pimpl.C:
2689         * tabular.h:
2690         * tabular_funcs.C:
2691         * text.C:
2692         * text2.C: remove InsetText::InnerCache, clean up consequences
2693
2694 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2695
2696         * ispell.C: fix two typos in error messages
2697
2698 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2699
2700         * Extend Note inset to other forms of annotation like Comment
2701         and Greyedout. Right button click gives dialog.
2702
2703         Files modified or added (+):
2704
2705         * insetnote.[Ch]
2706         * FormNote.[Ch]      +
2707         * ControlNote.[Ch]   +
2708         * form_note.fd       +
2709         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2710         frontends/controllers
2711         * xforms/Dialogs.C
2712         * factory.C
2713
2714 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2715
2716         * aspell.C: add missing namespace lyx::support
2717
2718 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2719
2720         * BufferView.[Ch] (newFile): Add
2721         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2722         * LaTeX.[Ch] (message): added this signal and use it
2723         * buffer.[Ch] (busy, message): added these signals and use them
2724         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2725         * converter.C:
2726         * exporter.C:
2727         * format.C:
2728         * importer.C: use buffer signals instead of direct bv calling
2729         * lyx_cb.[Ch] (ShowMessage): removed
2730         * lyx_main.C:
2731         * lyxfunc.C:
2732         * paragraph_funcs.C:
2733         * text2.C: use buffer signals
2734
2735 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * introduce namespace lyx::graphics
2738
2739 2003-07-02  André Pönitz  <poenitz@gmx.net>
2740
2741         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2742
2743 2003-07-01  André Pönitz  <poenitz@gmx.net>
2744
2745         * text.C:
2746         * text2.C:
2747         * text3.C:
2748         * text_funcs.[Ch]:
2749         * textcursor.h:
2750         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2751           text*.C to text_func.C
2752
2753 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * introduce namespace lyx::support
2756
2757 2003-06-30  André Pönitz  <poenitz@gmx.net>
2758
2759         * Chktex.C:
2760         * funcrequest.C:
2761         * lyxtext.h:
2762         * text.C: re-enable --with-included-string
2763
2764 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * textcursor.C: add <config.h>
2767
2768         * text.C (getWord): remove const from word_location arg
2769
2770         * lyxvc.C (getLogFile): fix const type order
2771
2772         * lyxtext.h: remove const from word_location arg, add arg name
2773
2774         * lyxlayout.h: currect type on labeltype.
2775
2776         * importer.C: correct \file
2777
2778         * converter.C (intToFormat): use std:: on ret val, ws changes
2779
2780         * bufferlist.h: correct \file
2781
2782         * buffer.C (makeLinuxDocFile): fix const type order
2783         (makeDocBookFile): ditto
2784         (fillWithBibKeys): use std:: on stdlib args.
2785
2786         * CutAndPaste.C: fix authors.
2787         (availableSelections): use std:: on return vector
2788
2789 2003-06-27  André Pönitz  <poenitz@gmx.net>
2790
2791         * BufferView_pimpl.C:
2792         * bufferview_funcs.C:
2793         * lyxcursor.C:
2794         * lyxcursor.h:
2795         * lyxfunc.C:
2796         * lyxtext.h:
2797         * rowpainter.C:
2798         * text.C:
2799         * text2.C:
2800         * text3.C: remove LyXCursor::row_ member
2801
2802         * lyxtext.h:
2803         * text.C: rename fullRebreak() to partialRebreak() and implement
2804           a fullRebreak() that really bereks fully
2805
2806         * textcursor.h: new struct for cursor-related data
2807
2808 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2809
2810         * lyx_main.C (LyX): get full path of document loaded on the
2811         command line
2812
2813 2003-06-26  André Pönitz  <poenitz@gmx.net>
2814
2815         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2816           remove unused/broken operator>,<,>=.
2817
2818         *       text.C: remove only use of broken operator<= in an Assert().
2819
2820 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2821
2822         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2823         moved errorlist_.clear to showErrorList
2824
2825 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2826
2827         * converter.C (scanLog, runLaTeX):
2828         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2829         move the bv->showErrorList call to the callers
2830         * lyxfunc.C: i.e. here...
2831         * text2.C: and here
2832         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2833         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2834         namespace, the second to...
2835         * buffer_funcs (BufferFormat, parseErrors): added
2836         * errorlist.C (ErrorList(TeXErrors const &)): removed
2837
2838 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2839
2840         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2841
2842 2003-06-24  "Garst R. Reese" <reese@isn.net>
2843
2844         * debug.C: fix typo
2845
2846 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2847
2848         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2849
2850         * version.C.in: change docversion to 1.4
2851
2852 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * buffer.C: fix a bug just introduced
2855
2856 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * buffer.[Ch]: added the parseError signal and use it, removed
2859         sgmlError
2860         * BufferView.[Ch] (addError): moved to ...
2861         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2862         to the Buffer::parseError signal to catch (guess what) parse errors
2863         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2864
2865 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2868         ability to create a buffer and to return an existing one from
2869         the list. Moved these functions to...
2870         * buffer_funcs.[Ch]: added
2871         * BufferView.[Ch] (loadLyXFile): added
2872         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2873         job removed from bufferlist::loadLyXFile.
2874         * buffer.C (setReadOnly): make it work without view
2875         (i.e added an if (users))
2876
2877 2003-06-19  Angus Leeming  <leeming@lyx.org>
2878
2879         * lfuns.h:
2880         * LyXAction.C (init):
2881         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2882         with LFUN_DIALOG_SHOW <name> <data>.
2883
2884 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2885
2886         * CutAndPaste.C (availableSelections): small compilation fix for
2887         ancient (gcc 2.9x) compilers
2888
2889 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * text3.C (cursorNext): add tmp var
2892
2893         * text2.C (updateCounters): for function calling out of for clause
2894         (replaceSelectionWithString): ditto
2895         (insertStringAsParagraphs): ditto
2896         (getColumnNearX): add tmp var
2897         (setCursorFromCoordinates): add tmp var
2898         (cursorDownParagraph): add tmp var
2899         (deleteEmptyParagraphMechanism): add tmp var
2900
2901         * text.C (insertChar): add tmp var
2902
2903         * rowpainter.C (paintDepthBar): add tmp var
2904
2905         * CutAndPaste.C (availableSelections): potentially check all
2906         paragraphs in a cut to fill the shown strings.
2907
2908 2003-06-18  André Pönitz  <poenitz@gmx.net>
2909
2910         * kbmap.[Ch]: use vector<> instead of list<>
2911
2912 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2913
2914         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2915         pasteSelection with index
2916
2917         * text2.C (pasteSelection): modify, call pasteSelection with index
2918
2919         * paragraph.C (asString): reimplement version with no interval to
2920         call the one with interval.
2921
2922         * lyxtext.h: add index arg to pasteSelection
2923
2924         * MenuBackend.C (MenuItem): handle PasteRecent
2925         (Menu::read::Menutags): add md_pasterecent
2926         (read): handle it
2927         (expandPasteRecent): new function
2928         (expand): use it
2929
2930         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2931
2932         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2933         the limited stack
2934         (availableSelections): new function
2935
2936 2003-06-17  Angus Leeming  <leeming@lyx.org>
2937
2938         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2939
2940 2003-06-17  Angus Leeming  <leeming@lyx.org>
2941
2942         * lfuns.h:
2943         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2944
2945         * lyxfunc.C (dispatch): invoke it.
2946
2947 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2948
2949         * iterators.C (operator++, ParPosition): reintroduce some
2950         const_cast for the benefit of older compilers.
2951
2952 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2953
2954         * text3.C (dispatch): do not modify clipboard when doing
2955         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2956         LFUN_DELETE_SKIP on a selection selection
2957
2958 2003-06-16  André Pönitz  <poenitz@gmx.net>
2959
2960         * BufferView.C:
2961         * buffer.C:
2962         * buffer.h:
2963         * paragraph.C:
2964         * tabular.[Ch]: IU of clone() and getLabelList();
2965
2966 2003-06-13  André Pönitz  <poenitz@gmx.net>
2967
2968         * tabular.h: compactification
2969
2970 2003-06-12  André Pönitz  <poenitz@gmx.net>
2971
2972         * tabular.C:
2973         * tabular.h:
2974         * tabular_funcs.h: some renaming plus whitespace
2975
2976 2003-06-12  André Pönitz  <poenitz@gmx.net>
2977
2978         * BufferView.C:
2979         * BufferView_pimpl.C:
2980         * CutAndPaste.C:
2981         * buffer.C:
2982         * iterators.[Ch]:
2983         * lyxfunc.C:
2984         * text.C:
2985         * toc.C: Return a Paragraph & for ParIterator::operator*()
2986
2987 2003-06-11  John Levon  <levon@movementarian.org>
2988
2989         * lyx_main.C:
2990         * ToolbarBackend.h:
2991         * ToolbarBackend.C: add "Toolbars" section and
2992         put the flags there
2993
2994 2003-06-10  Angus Leeming  <leeming@lyx.org>
2995
2996         * lfuns.h:
2997         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2998
2999         * lyxfunc.C (dispatch): invoke it.
3000
3001 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * main.C: protect <ios> with HAVE_IOS
3004         (main): protect sync_with_stdio with HAVE_IOS
3005
3006 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3007
3008         * text2.C (cutSelection): adjust
3009         (pasteSelection): adjust
3010
3011         * messages.C: handle get of empty string
3012
3013         * main.C (main): use sync_with_stdio(false)
3014
3015         * lyxfunc.C (dispatch): adjust
3016
3017         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3018         (WriteAs): remove unneeded BufferView arg.
3019
3020         * bufferparams.h: use correct types on papersize, papersize2 and
3021         paperpackage.
3022
3023         * bufferparams.C (readToken): adjust for type
3024         (writeLaTeX): add missing cases to switch.
3025
3026         * bufferlist.C (quitWriteBuffer): adjust
3027         (close): adjust
3028
3029         * buffer.C (asciiParagraph): remove some commented code.
3030
3031         * CutAndPaste.C: remove current_view extern variable.
3032         (cutSelection): add BufferParams arg.
3033         (eraseSelection): add BufferParams arg.
3034         (pasteSelection): add Buffer const & arg
3035
3036 2003-06-07  John Levon  <levon@movementarian.org>
3037
3038         * buffer.C:
3039         * paragraph_funcs.C:
3040         * paragraph_pimpl.C:
3041         * text.C:
3042         * text2.C:
3043         * paragraph.h:
3044         * paragraph.C: allow InsetERT to freely space lines,
3045         and some consolidation of code
3046
3047 2003-06-06  José Matos  <jamatos@fep.up.pt>
3048
3049         * buffer.C (makeDocBookFile): fix bug #821
3050
3051 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3054
3055 2003-06-04  Angus Leeming  <leeming@lyx.org>
3056
3057         * buffer.C: bump format to 224.
3058
3059 2003-06-05  André Pönitz  <poenitz@gmx.net>
3060
3061         * text2.C (redoParagraphs): remove two const_cast<>
3062
3063 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3064
3065         * ParagraphList.h: remove last remnants of NO_STD_LIST
3066
3067 2003-06-03  Angus Leeming  <leeming@lyx.org>
3068
3069         * factory.C (createInset): small change to the way InsetExternal's params
3070         are set.
3071
3072 2003-06-04  André Pönitz  <poenitz@gmx.net>
3073
3074         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3075
3076         * paragraph_pimpl.h:
3077         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3078
3079         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3080
3081         * undo_funcs.C: make some simple cases of undo work again
3082
3083 2003-06-03  John Levon  <levon@movementarian.org>
3084
3085         * ispell.C: HPUX doesn't have sys/select.h
3086         (from Albert Chin)
3087
3088 2003-06-03  John Levon  <levon@movementarian.org>
3089
3090         * CutAndPaste.C: update tabular and include inset
3091         buffer references
3092
3093         * buffer.h:
3094         * paragraph.h:
3095         * paragraph.C: remove owningBuffer(), don't pass Buffer
3096         to clone()
3097
3098         * factory.C: insetGraphicsParams changed
3099
3100 2003-06-02  John Levon  <levon@movementarian.org>
3101
3102         * LyXAction.C:
3103         * factory.C:
3104         * lfuns.h:
3105         * lyxfunc.C:
3106         * text3.C: remove insetparent
3107
3108 2003-06-02  John Levon  <levon@movementarian.org>
3109
3110         * buffer.h:
3111         * buffer.C: fix inset_iterator.end(), move out of line
3112         (bug 1149)
3113
3114 2003-06-01  John Levon  <levon@movementarian.org>
3115
3116         * text3.C: use a proper cut/paste when doing inset
3117         insert (from Jürgen Spitzmüller)
3118
3119 2003-06-01  John Levon  <levon@movementarian.org>
3120
3121         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3122
3123 2003-05-30  André Pönitz  <poenitz@gmx.net>
3124
3125         * rowpainter.C: unify second drawing phase
3126
3127 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * trans_mgr.C: remove one case of current_view
3130
3131         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3132
3133         * paragraph_funcs.h: remove paragraph.h include
3134
3135         * paragraph.h: delete NO_STD_LIST stuff
3136
3137         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3138
3139         * buffer.h: remove paragraph.h include
3140
3141         * ParagraphList.C: delete file
3142
3143         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3144
3145         * toc.C (getTocList): adjust
3146
3147         * paragraph_pimpl.C (validate): adjust
3148
3149         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3150
3151         * paragraph.C (Paragraph): adjust
3152         (getPositionOfInset): use const_iterator, adjust
3153         (bibitem): use const_iterator, adjust
3154         (setInsetOwner): adjust
3155
3156         * iterators.C (operator++): adjust
3157
3158         * InsetList.[Ch]: Replace selfmade iterator with standard
3159         vector::iterator also introduce const_iterator. Remove getPos,
3160         getInset and setInset from InsetTable. Adjust accordingly.
3161
3162         * BufferView.C (lockInset): adjust
3163         (ChangeInsets): adjust
3164
3165         * tabular.[Ch]: delete commented same_id functions
3166
3167 2003-05-28  John Levon  <levon@movementarian.org>
3168
3169         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3170
3171 2003-05-28  André Pönitz  <poenitz@gmx.net>
3172
3173         * metricsinfo.[Ch]: remove 'fullredraw' member
3174
3175 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3176
3177         * lyxtextclass.C (operator): remove caching.
3178
3179 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * text3.C: adjust
3182
3183         * text2.C (cursorBottom): adjust
3184         (setCounter): use ParagraphList::find, adjust
3185
3186         * text.C (workWidth): use ParagraphList::find, adjust
3187
3188         * lyxcursor.C (LyXCursor): adjust
3189
3190         * buffer.C (inset_iterator): adjust
3191
3192         * ParagraphList.h: make iterator(value_type) private, make
3193         ParagraphList a friend of iterator.
3194
3195         * ParagraphList.C (find): new function
3196
3197         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3198
3199 2003-05-27  André Pönitz  <poenitz@gmx.net>
3200
3201         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3202
3203 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3204
3205         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3206
3207 2003-05-26  John Levon  <levon@movementarian.org>
3208
3209         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3210
3211 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * remove same_id from function signatures, adjust.
3214
3215 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3218
3219         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3220
3221         * paragraph.C (Paragraph): get rid of same_ids parameter
3222
3223         * ParagraphList.C (insert): adjust
3224         (push_back): adjust
3225
3226 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * paragraph_funcs.C (breakParagraph): adjust
3229         (breakParagraphConservative): adjust
3230
3231         * buffer.C (readParagraph): adjust
3232
3233         * ParagraphList.C (insert): take a reference instead of a pointer
3234         (insert): adjust
3235
3236         * paragraph.[Ch] (id): new function
3237
3238         * bufferlist.C (newFile): adjust
3239
3240         * ParagraphList.C (ParagraphList): adjust
3241         (assign): adjust
3242         (push_back): take a reference instead of a pointer.
3243
3244         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3245
3246         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3247         instead.
3248
3249         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3250         set else use old code.
3251
3252         * ParagraphList.C: remove all NO_NEXT code and only compile this
3253         code of NO_STD_LIST is set.
3254
3255 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * BufferView_pimpl.C:
3258         * TextCache.C:
3259         * TextCache.h:
3260         * bufferlist.C:
3261         * errorlist.h:
3262         * format.C:
3263         * format.h:
3264         * graph.C:
3265         * lyxfunc.C:
3266         * lyxrc.C:
3267         * graphics/GraphicsConverter.C:
3268         * graphics/PreviewLoader.C: header adjustment
3269
3270 2003-05-23  Angus Leeming  <leeming@lyx.org>
3271
3272         * LaTeXFeatures.[Ch] (useBabel): new method.
3273         * bufferparams.C (writeLaTeX): use it.
3274
3275 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * ParagraphList.h (set): remove unused function.
3278
3279 2003-05-23  André Pönitz  <poenitz@gmx.net>
3280
3281         * BufferView.C:
3282         * BufferView_pimpl.C:
3283         * buffer.C:
3284         * buffer.h:
3285         * lyxfunc.C:
3286         * undo_funcs.C: setUndo reworked
3287
3288         * iterators.[Ch]: add access to topmost ParagraphList
3289
3290         * lyxtext.[Ch] (workWidth): add a const
3291
3292 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * texrow.[Ch] (increasePos): remove function
3295         * exporter.C (export): removed unused var and outdated comment
3296
3297 2003-05-23  Angus Leeming  <leeming@lyx.org>
3298
3299         * latexrunparams.h: rename fragile as moving_arg.
3300         * paragraph.C (simpleTeXOnePar): ditto.
3301         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3302
3303 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3306         (createUndo): ditto
3307         (textUndoOrRedo): comment out a currently unused var.
3308
3309         * paragraph.h (NO_NEXT): enable NO_NEXT
3310
3311         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3312
3313         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3314
3315         * exporter.C (Export): adjust for removeAutoInsets removal.
3316
3317         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3318
3319         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3320
3321         * BufferView.[Ch] (removeAutoInsets): delete function
3322
3323 2003-05-22  Angus Leeming  <leeming@lyx.org>
3324
3325         * latexrunparams.h: add a free_spacing variable.
3326
3327         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3328         to pass moving_arg, as the data is stored in runparams.fragile.
3329
3330         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3331         to Inset::latexOptional or to simpleTeXOnePar.
3332
3333         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3334         free_spacing arg to Inset::latexOptional.
3335
3336         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3337         free_spacing arg.
3338
3339 2003-05-22  Angus Leeming  <leeming@lyx.org>
3340
3341         * latexrunparams.h: add fragile and use_babel variables.
3342
3343         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3344         * buffer.C (makeLaTeXFile): store this returned value in
3345         runparams.use_babel, thus passing it to the inset::latex methods.
3346
3347         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3348         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3349
3350         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3351         longer has a fragile arg, as it is stored in runparams.fragile.
3352
3353         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3354         moving_arg parameter as the data is stored in runparams.fragile.
3355
3356         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3357         a fragile parameter as the data is stored in runparams.fragile.
3358
3359 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3362
3363 2003-05-22  Angus Leeming  <leeming@lyx.org>
3364
3365         * latexrunparams.h: add a 'bool nice' which defaults to false.
3366
3367         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3368         now encapsulated within runparams.
3369
3370         * bufferlist.C (updateIncludedTeXfiles):
3371         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3372
3373 2003-05-22  Angus Leeming  <leeming@lyx.org>
3374
3375         * latexrunparams.h: new file containing struct LatexRunParams.
3376         * Makefile.am: add new file.
3377
3378         * LaTeX.[Ch] (c-tor, run):
3379         * buffer.[Ch] (makeLaTeXFile):
3380         * bufferlist.[Ch] (updateIncludedTeXfiles):
3381         * converter.C (convert, scanLog):
3382         * converter.[Ch] (runLaTeX):
3383         * exporter.C (Export):
3384         * paragraph.[Ch] (simpleTeXOnePar):
3385         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3386         * paragraph_funcs.[Ch] (latexParagraphs):
3387         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3388         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3389         pass around a LatexRunParams parameter.
3390
3391 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * paragraph.[Ch]: remove unused constructor
3394
3395         * ParagraphList.C (erase): new function, taking two iterators
3396
3397 2003-05-22  André Pönitz  <poenitz@gmx.net>
3398
3399         * undo_funcs.C: remove duplicated code
3400
3401         * iterator.[Ch]: operator=
3402
3403 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3404
3405         * tabular.C (SetMultiColumn): ws changes
3406
3407         * rowpainter.C (paintFirst): get rid of a ->previous
3408
3409         * lyx_cb.C (getPossibleLabel): parlist simplification
3410
3411         * BufferView.C (ChangeInsets): simplify slightly.
3412
3413 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3414
3415         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3416         * lfuns.h: new LFUN_SPACE
3417         * lyxfunc.C: protected space has a new lfun
3418         * paragraph_funcs.C: read new space insets
3419         * text3.C:
3420         * factory.C: handle new space insets
3421
3422 2003-05-22  André Pönitz  <poenitz@gmx.net>
3423
3424         * BufferView.C:
3425         * BufferView_pimpl.C:
3426         * buffer.[Ch]:
3427         * lyxfunc.C:
3428         * undo_funcs.C: return a ParIterator from getParFromID.
3429
3430         * iterators.[Ch]: add two const's
3431
3432 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3433
3434         * toc.C (getTocList): adjust
3435
3436         * iterators.[Ch]: rework for parlist
3437
3438         * buffer.C (par_iterator_begin): adjust
3439         (par_iterator_end): adjust
3440
3441         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3442
3443         * BufferView.C (removeAutoInsets): adjust
3444         (ChangeInsets): adjust
3445
3446 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * text.C (top_y): fix bug 1110
3449
3450 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * errorlist.[Ch]: added
3453         * buffer.C:
3454         * BufferView.[Ch]:
3455         * BufferView_pimpl.C:
3456         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3457         instead
3458
3459 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * Makefile.am: ensure that lyx is relinked upon changes to the
3462         various "convenience" libs.
3463
3464 2003-05-20  Angus Leeming  <leeming@lyx.org>
3465
3466         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3467         files are compiled in alphabetical order again.
3468
3469         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3470
3471 2003-05-19  Angus Leeming  <leeming@lyx.org>
3472
3473         * gettext.[Ch]: remove "char const * _(char const *)".
3474
3475 2003-05-19  André Pönitz  <poenitz@gmx.net>
3476
3477         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3478
3479         * Makefile.am:
3480         * BufferView.C:
3481         * DepTable.h:
3482         * LaTeXFeatures.C:
3483         * buffer.C:
3484         * lyxfont.C:
3485         * lyxlex.h:
3486         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3487
3488 2003-05-19  André Pönitz  <poenitz@gmx.net>
3489
3490         * buffer.C:
3491         * lyxlayout.[Ch]:
3492         * lyxtextclass.[Ch]:
3493         * paragraph.C:
3494         * paragraph_funcs.[Ch]:
3495         * text2.C:
3496         * text3.C: more insetenv work
3497
3498 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3499
3500         * ParagraphParameters.C (params2string): small bug fixed
3501
3502 2003-05-16  André Pönitz  <poenitz@gmx.net>
3503
3504         * debug.C:
3505         * bufferview_funcs.C: patch from Kornel Benko to prevent
3506           crash when _(...) is called twice in a statement
3507
3508 2003-05-16  André Pönitz  <poenitz@gmx.net>
3509
3510         * BufferView.C:
3511         * lyxfunc.C:
3512         * text.C:
3513         * text2.C:
3514         * text3.C:
3515         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3516
3517 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * lyx_main.C (init): remove spurious static_cast
3520
3521 2003-05-14  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView.C: fix format string
3524
3525 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3526
3527         * BufferView.[Ch] (insertErrors): removed
3528         * BufferView.[Ch] (showErrorList): added
3529         * buffer.C (runChkTeX):
3530         * converter.C (scanLog): call showErrorList instead of inserterrors
3531
3532 2003-05-13  André Pönitz  <poenitz@gmx.net>
3533
3534         * BufferView_pimpl.C:
3535         * buffer.C:
3536         * bufferview_func.C:
3537         * MenuBackend.C:
3538         * lyxfunc.C:
3539         * lyxrc.C:
3540         * tex-accent.C:
3541         * text3.C:
3542         * toc.C:
3543         * tabular_funcs.h: tostr() from its own header
3544
3545         * ParagraphParameters.C:
3546         * ToolbarBackend.C:
3547         * bufferparams.C:
3548         * format.C:
3549         * lyxlex_pimpl.C:
3550         * text3.C: STRCONV()
3551
3552 2003-05-12  André Pönitz  <poenitz@gmx.net>
3553
3554         * BufferView.C:
3555         * BufferView_pimpl.C:
3556         * CutAndPaste.C:
3557         * LaTeX.C:
3558         * LaTeXFeatures.C:
3559         * ParagraphParameters.C:
3560         * buffer.C:
3561         * bufferlist.C:
3562         * bufferparams.C:
3563         * bufferview_funcs.C:
3564         * converter.C:
3565         * counters.C:
3566         * debug.C:
3567         * exporter.C:
3568         * format.C:
3569         * importer.C:
3570         * lyx_cb.C:
3571         * lyx_main.C:
3572         * lyxfont.C:
3573         * lyxfunc.C:
3574         * lyxvc.C:
3575         * paragraph.C:
3576         * paragraph_funcs.C:
3577         * tabular.C:
3578         * tabular_funcs.C:
3579         * text2.C:
3580         * text3.C:  boost::format -> bformat  all over the place
3581
3582
3583 2003-05-09  André Pönitz  <poenitz@gmx.net>
3584
3585         * LColor.[Ch]: Pimpl the #include <map> away
3586
3587 2003-05-09  John Levon  <levon@movementarian.org>
3588
3589         * bufferlist.C: never remove emergency saves
3590
3591 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * Makefile.am: better lib building
3594
3595 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3598         instead.
3599         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3600         (simpleTeXSpecialChars): adjust
3601         (simpleTeXSpecialChars): adjust
3602         * paragraph.C (simpleTeXOnePar): adjust
3603         * buffer.C (makeLaTeXFile): adjust
3604
3605         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3606
3607         * text2.C (changeDepth): parlist cleanup
3608         (getColumnNearX): ditto
3609
3610         * rowpainter.C (getLabelFont): parlist cleanup
3611
3612         * bufferlist.C (newFile): parlist cleanup
3613
3614         * CutAndPaste.C (eraseSelection): parlist cleanup
3615
3616         * BufferView_pimpl.C (trackChanges): parlist cleanup
3617         (dispatch): ditto
3618
3619         * BufferView.C (lockInset): parlist cleanup.
3620         (ChangeInsets): ditto
3621
3622 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * CutAndPaste.h: Update file header.
3625
3626         * CutAndPaste.C: Update file header.
3627         Store the parts cut out of the Document in a limited_stack.
3628         (copySelection): adjust
3629         (pasteSelection): new function, takes the index in the limited stack.
3630         (nrOfParagraphs): adjust
3631         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3632         simplify error inset insertion.
3633         (checkPastePossible): adjust
3634
3635 2003-05-06  John Levon  <levon@movementarian.org>
3636
3637         * text2.C: don't cast wrap inset to float
3638
3639 2003-05-05  André Pönitz  <poenitz@gmx.net>
3640
3641         * iterator.C:
3642         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3643
3644         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3645           few naked Paragraph *.
3646
3647 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3648
3649         * bufferparams.C: Output warning if a document with missing
3650         TeX document class is loaded
3651         * exporter.C: Disable TeX exports if the document class is missing
3652         * lyxtextclass.C:
3653         * lyxtextclass.h:
3654         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3655         isTeXClassAvailable()
3656
3657 2003-05-03  John Levon  <levon@movementarian.org>
3658
3659         * BufferView.h:
3660         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3661         explicit cursor show/hide
3662
3663         * BufferView_pimpl.h:
3664         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3665         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3666
3667         * lyxfunc.C: hide cursor before dispatching.
3668
3669         * lyx_cb.C:
3670         * lyxfind.C:
3671         * text.C:
3672         * text3.C: remove explicit cursor hides
3673
3674 2003-05-02  André Pönitz  <poenitz@gmx.net>
3675
3676         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3677
3678         * undo_funcs.C:
3679         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3680           linked lists
3681
3682         * text2.C: tiny whitespace
3683
3684 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * undo_funcs.C: almost only ws changes.
3687
3688         * ParagraphList.C (splice): just return if pl is empty.
3689
3690 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * ParagraphList.C (splice): new function.
3693
3694         * CutAndPaste.C (pasteSelection): use it
3695
3696 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * CutAndPaste.C (pasteSelection): remove the last next and
3699         previous from this file.
3700
3701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * CutAndPaste.C (pasteSelection): more clean up, user proper
3704         ParagraphList functions for pasteing.
3705
3706         * ParagraphList.C (insert): new function, three arg insert
3707
3708 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * ParagraphList.C (insert): new function, three arg insert
3711
3712         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3713         not on paragraphs.
3714
3715 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3718
3719 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3720
3721         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3722
3723 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3726         (copySelection): clean up a bit.
3727         (pasteSelection): use make_pair
3728
3729         * ParagraphList.C (ParagraphList): implement copy constructor
3730         (operator=): implement, base on copy constructor.
3731         (assign): new func
3732
3733         * paragraph.C (erase): return a bool
3734
3735         * paragraph_pimpl.C (erasePos): remove function, move contents...
3736         (erase): ... here. Return a bool.
3737         (erase): call erase instead of erasePos.
3738
3739 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3740
3741         * ParagraphList.h: define PitPosPair
3742         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3743         ParagraphList, fix a bug on pasting multiple pars
3744         * text2.C: change interface to C&P
3745
3746 2003-04-30  André Pönitz  <poenitz@gmx.net>
3747
3748         * undo_func.C: revert part of yesterday's patch 2
3749
3750 2003-04-30  John Levon  <levon@movementarian.org>
3751
3752         * LColor.C: s/tabular/table/
3753
3754 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * text3.C (dispatch): do not convert iterator -> pointer
3757         * undo_funcs.C (setCursorParUndo): ditto
3758         * text_funcs.C (transposeChars): ditto
3759
3760         * text2.C (setLayout): ws changes only
3761
3762         * text.C (breakParagraph): do not convert iterator -> pointer
3763         (insertChar): ditto
3764         (acceptChange): ditto
3765         (rejectChange): ditto
3766         (changeCase): ditto
3767         (Delete): ditto
3768         (backspace): ditto
3769
3770         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3771         pointer
3772
3773 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3774
3775         * text3.C (gotoInset): YABG (yet another bad getChar)
3776
3777 2003-04-29  André Pönitz  <poenitz@gmx.net>
3778
3779         * paragraph.h: make operator= private unimplemented as long as
3780           it is unusable
3781
3782         * ParagraphList.C: whitespace
3783
3784         * paragraph.[Ch]:
3785         * paragraph_pimpl.[Ch]:
3786         * paragraph_funcs.C:
3787         * CutAndPaste.C:
3788         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3789
3790         * text2.C:
3791           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3792
3793 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3796         * paragraph.[Ch] (erase):
3797         * paragraph_pimpl.[Ch] (erase): change return type and value
3798         * text2.C (cutSelection): some rework
3799
3800 2003-04-28  John Levon  <levon@movementarian.org>
3801
3802         * bufferlist.C: changes for unsaved changes dialog
3803
3804 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * bufferlist.C (newFile): set language (messages_) for new
3807         documents also.
3808
3809         * buffer.C (readFile): ws changes only.
3810
3811 2003-04-28  André Pönitz  <poenitz@gmx.net>
3812
3813         * undo_funcs.C:
3814         * lyxfunc.C:
3815         * buffer.[Ch]:
3816         * BufferView_pimpl.C:
3817         * BufferView.C: getParFromID related ParagraphList::iterator changes
3818
3819 2003-04-28  André Pönitz  <poenitz@gmx.net>
3820
3821         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3822           Changes
3823
3824 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * messages.C: remove one more localedir class variable.
3827
3828 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * messages.C (getLocaleDir): singleton generation function
3831         (Pimpl): use it.
3832         (Messages): add a default constructor.
3833
3834         * main.C (main): do not setup localedir here, do not call
3835         gettext_init.
3836
3837         * gettext.C (_): use it.
3838         (gettext_init): delete funciton
3839
3840 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * gettext.C (getLyXMessages): new singleton generating function.
3843
3844         * buffer.C (updateDocLang): adjust
3845
3846         * Makefile.am (messages.o): add target
3847         (main.o): remove target
3848
3849 2003-04-27  John Levon  <levon@movementarian.org>
3850
3851         * bufferlist.C:
3852         * lyx_cb.C:
3853         * lyxfunc.C:
3854         * lyxvc.C: specify cancel button in Alert::prompt
3855
3856 2003-04-26  John Levon  <levon@movementarian.org>
3857
3858         * text3.C:
3859         * lyxfunc.C:
3860         * lfuns.h:
3861         * LyXAction.C: add LFUN_INSET_SETTINGS
3862
3863         * lyxfunc.C: don't enable tabular-feature when there's
3864         just any locking inset
3865
3866 2003-04-26  John Levon  <levon@movementarian.org>
3867
3868         * bufferlist.C: re-add Cancel to buffer close question
3869
3870         * lyxfunc.C: fix import UI a bit
3871
3872 2003-04-25  John Levon  <levon@movementarian.org>
3873
3874         * gettext.C: remove the broken asserts for now
3875
3876 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * messages.C: make case where setlocale cannot comply work better.
3879
3880         * buffer.C (updateDocLang): new function
3881         (changeLanguage): use it
3882         (readFile): use it
3883
3884         * text2.C (setCounter): use B_ a bit.
3885
3886         * lyxlayout.C (Read): be sure to trim the label strings.
3887
3888         * messages.C (Messages): fix typo in comment
3889
3890         * buffer.C (readFile): set message_ after file is loaded.
3891         (makeDocBookFile): remove double return
3892         (changeLanguage): reset message_ upon language change.
3893         (B_): new func, use this to get translated buffer strings.
3894
3895         * main.C: add myself and Jean Marc as authors.
3896
3897 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * messages.[hC]: pimplify Messages, and three different pimpls to be
3900         used in different circumstances.
3901
3902         * gettext.[Ch]: change for use with new message code.
3903
3904 2003-04-24 André Pönitz <poenitz@gmx.net>
3905
3906         * factory.C: support for eqref
3907
3908 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * messages.[Ch]: add missing char
3911
3912         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3913
3914         * messages.[Ch]: New files
3915
3916 2003-04-18  John Levon  <levon@movementarian.org>
3917
3918         * BufferView.h:
3919         * BufferView.C:
3920         * BufferView_pimpl.C:
3921         * lfuns.h:
3922         * LyXAction.C:
3923         * lyxtext.h:
3924         * text2.C: remove layout-copy/paste (bug 778)
3925
3926 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3929
3930 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3933         if they succeed. Act accordingly.
3934
3935 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * text2.C (setCharFont): adjust
3938         (setCounter): adjust
3939         (insertStringAsLines): adjust
3940
3941         * text.C (leftMargin): adjust
3942         (setHeightOfRow): adjust
3943
3944         * rowpainter.C (paintFirst): adjust
3945         (paintLast): adjust
3946
3947         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3948         (outerHook): ditto
3949         (isFirstInSequence): ditto
3950         (getEndLabel): ditto
3951         (outerFont): adjust
3952
3953         * paragraph.C (getParLanguage): comment out some hard stuff.
3954
3955         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3956         (sgmlError): ditto
3957         (simpleDocBookOnePar): ditto
3958         (makeDocBookFile): use ParagraphList::iterator
3959
3960         * CutAndPaste.C (pasteSelection): adjust
3961
3962 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3963
3964         * text2.C (getFont): adjust
3965         (getLayoutFont): adjust
3966         (getLabelFont): adjust
3967
3968         * paragraph_funcs.C (TeXOnePar): adjust
3969
3970         * buffer.C (simpleLinuxDocOnePar): adjust
3971         (simpleDocBookOnePar): adjust
3972
3973         * CutAndPaste.C (pasteSelection): adjust
3974
3975         * BufferView.C (getEncoding): adjust
3976
3977         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3978
3979 2003-04-16  John Levon  <levon@movementarian.org>
3980
3981         * lyxfind.C: use parlist stuff for search/changes
3982
3983 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3986
3987         * text2.C (deleteEmptyParagraphMechanism): adjust
3988
3989         * text2.[Ch] (ownerParagraph): delete func (both of them
3990
3991 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3994
3995 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * ParagraphList.C: prepare for NO_NEXT
3998
3999 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * text2.C (getFont): adjust
4002         (getLayoutFont): adjust
4003         (getLabelFont): adjust
4004
4005         * paragraph.C (getFont): adjust
4006         (getLabelFont): adjust
4007         (getLayoutFont): adjust
4008
4009         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4010
4011 2003-04-15  John Levon  <levon@movementarian.org>
4012
4013         From Angus Leeming
4014
4015         * lyx_main.C: handle Include in .ui files
4016
4017 2003-04-15  John Levon  <levon@movementarian.org>
4018
4019         * MenuBackend.C: make the doc files length shorter
4020
4021         * ToolbarBackend.h:
4022         * ToolbarBackend.C: handle toolbar placement flags,
4023         Minibuffer
4024
4025 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4028         adjust
4029
4030         * paragraph_funcs.C (TeXOnePar): adjust
4031
4032         * paragraph.C (getLabelFont): add outerfont arg, adjust
4033         (getLayoutFont): ditto
4034         (simpleTeXOnePar): adjust
4035
4036         * paragraph_pimpl.C (realizeFont): delete func
4037
4038 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4039
4040         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4041         row argument, constify cur argument.
4042
4043 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * text2.C (getFont): adjust
4046         (getLayoutFont): adjust
4047         (getLabelFont): adjust
4048
4049         * paragraph_funcs.C (TeXOnePar): adjust
4050         (outerFont): new func...
4051         (realizeFont): ...moved out from here, changed this to facilitate
4052         transition
4053
4054         * paragraph.C (getFont): take outerfont as arg, adjust
4055         (simpleTeXOnePar): add outerfont arg, adjust
4056
4057         * buffer.C (simpleLinuxDocOnePar): adjust
4058         (simpleDocBookOnePar): adjust
4059
4060         * CutAndPaste.C (pasteSelection): adjust
4061
4062         * BufferView.C (getEncoding): adjust
4063
4064 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * text2.C (setCharFont): adjust
4067         (setCounter): adjust
4068
4069         * text.C (leftMargin): adjust
4070         (setHeightOfRow): adjust
4071
4072         * rowpainter.C (paintFirst): adjust
4073         (paintLast): adjust
4074
4075         * paragraph_pimpl.C (realizeFont): adjust
4076
4077         * paragraph.C (isFirstInSequence): move from here...
4078         * paragraph_funcs.C (isFirstInSequence): ...to here
4079
4080         * paragraph.C (outerHook): move from here...
4081         * paragraph_funcs.C (outerHook): ...to here
4082
4083         * paragraph.C (depthHook): move from here...
4084         * paragraph_funcs.C (depthHook): ...to here
4085
4086         * paragraph.C (getEndLabel): move from here...
4087         * paragraph_funcs.C (getEndLabel): ...to here
4088
4089         * text2.C (realizeFont): move from here...
4090         * paragraph_funcs.C (realizeFont): ...to here
4091
4092 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4095
4096 2003-04-14  Angus Leeming  <leeming@lyx.org>
4097
4098         * LColor.[Ch]: scrap LColor mathcursor.
4099
4100 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * lyxlex.[Ch] (text): delete function
4103         * trans.C (Load): adjust
4104         * paragraph_funcs.C (readParToken): adjust
4105
4106 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4109         vector<char> instead of a char[].
4110
4111         * lyxlex_pimpl.C (getString): adjust
4112         (next): adjust
4113         (lex): use getString
4114         (eatLine): adjust
4115         (nextToken): adjust
4116
4117         * lyxlex.C (text): use pimpl_->getString()
4118         (getBool): ditto
4119         (findToken): ditto
4120
4121 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4124         (makeFontEntriesLayoutSpecific): temp var for par.size()
4125         (setLayout): temp var for ownerParagraphs().end()
4126         (fullRebreak): temp var for rows().end()
4127         (selectionAsString): temp var for boost::next(startpit), realize
4128         that the while really is a regular for loop.
4129         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4130         setCursor in one place.
4131         (setParagraph): temp vr for ownerParagraphs().end()
4132         (updateCounters): make the while loop a for loop
4133         (cutSelection): temp var for ownerParagraphs().end()
4134         (updateInset): make the do {} while() a regular for loop
4135         (getCursorX): use temp vars
4136         (setCurrentFont): use temp vars
4137         (getColumnNearX): use temp vars
4138
4139 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * text.C (transformChar): use temp var for getChar
4142         (computeBidiTables): use temp var for row->par()
4143         (fill): move temp vars for row->par() and pit->layout() earlier in
4144         the function.
4145         (labelFill): use temp var for row->par()
4146         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4147         asc and desc, realize that pit never changes and that firstpit is
4148         just a duplicate and not needed. Exchange rit->par() with pit in a
4149         lot of places.
4150         (breakAgain): use a temp var for boost::next(rit)
4151         (breakAgainOneRow): ditto
4152         (breakParagraph): use a temp var for rows().begin()
4153         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4154         (cursorRightOneWord): use temp var for cursor.par() and
4155         cursor.pos(), remove usage of tmpcursor.
4156         (cursorLeftOneWord): use temp var for cursor.par() and
4157         cursor.pos() only set cur at end of function.
4158
4159 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * text.C, text2.C: exchange all usage of Paragraph::next with
4162         boost::next(ParagraphList::iterator)
4163
4164         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4165
4166         * text2.C (cursorTop): simplify implementation
4167         (cursorBottom): ditto
4168         (setParagraph): use ParagraphList::iterator
4169         (setCurrentFont): adjust
4170         (getColumnNearX): adjust
4171         (cursorRight): adjust
4172         (cursorLeft): remove usage of Paragraph::previous
4173         (cursorUpParagraph): ditto
4174         (deleteEmptyParagraphMechanism): slight cleanup
4175
4176         * text.C (isBoundary): take a Paragraph const & instead of a
4177         pointer as arg.
4178         (addressBreakPoint): ditto
4179         (leftMargin): remove usage of Paragraph::previous.
4180         (setHeightOfRow): ditto
4181         (cursorLeftOneWord): ditto
4182         (selectNextWordToSpellcheck): ditto
4183         (Delete): ditto
4184         (backspace): ditto
4185         (breakParagraph): remove one usage of Paragraph::next
4186         (redoParagraph): ditto
4187         (acceptChange): ditto
4188         (insertChar): adjust
4189         (rowBreakPoint): adjust
4190
4191         * bufferview_funcs.C (toggleAndShow): adjust
4192
4193 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4196         methods to access it.
4197         * lyxtext.h:
4198         * text.C: Added updateRowPositions to compute all row positions.
4199         Make top_y and getRowNearY() to use the cached y position
4200
4201 2003-04-11  John Levon  <levon@movementarian.org>
4202
4203         * text.C (rowBreakPoint): reintroduce the labelEnd
4204         checks, code copied from the row fill stuff. Deep voodoo.
4205
4206         * text.C (fill): add a comment and debugging for the
4207         next poor soul.
4208
4209 2003-04-11  John Levon  <levon@movementarian.org>
4210
4211         * text.C: make sure fullrow insets get wrapped to the next line,
4212         even when they're in a manual label
4213
4214 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * text2.C (insertParagraph): make it take ParagraphList::iterator
4217         as arg.
4218         (setLayout): make it return ParagraphList::iterator
4219         (redoParagraphs): ditto
4220         (setCounter): ditto
4221         (checkParagraph): ditto
4222
4223         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4224
4225         * text2.C: adjust several funcs.
4226         (realizeFont): take a ParagraphList::iterator as arg.
4227         (getLayoutFont): ditto
4228         (getLabelFont): ditto
4229         (setCharFont): ditto
4230
4231         * text.C: adjust several funcs.
4232
4233 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * text.C (selectNextWordToSpellcheck): don't accidentally
4236         skip insets
4237
4238 2003-04-10  John Levon  <levon@movementarian.org>
4239
4240         * ToolbarBackend.C (getIcon): special handling for
4241         LFUN_MATH_DELIM
4242
4243 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * text2.C (cursorRight): a getChar assert fixed
4246
4247 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * text2.C (getFont): change to take a ParagraphList::iterator
4250         instead of Paragraph*
4251         Adjust several functions.
4252
4253         * text.C (transformChar): change to take a ParagraphList::iterator
4254         instead of Paragraph*
4255         (singleWidth): ditto
4256         Adjust several functions.
4257
4258         * rowpainter.C: adjust several functions
4259         * rowpainter.h:store a ParagraphList::iterator and not a
4260         Paragraph&.
4261
4262
4263 2003-04-09  John Levon  <levon@movementarian.org>
4264
4265         * lyxfunc.C:
4266         * lfuns.h:
4267         * LyXAction.h:
4268         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4269         and the "help" bits as well
4270
4271 2003-04-09  John Levon  <levon@movementarian.org>
4272
4273         * ToolbarBackend.h:
4274         * ToolbarBackend.C: allow multiple toolbars
4275
4276 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * undo_funcs.C (setCursorParUndo): adjust
4279
4280         * text_funcs.C (transposeChars): adjust
4281
4282         * text3.C (gotoNextInset): adjust
4283         (dispatch): adjust
4284
4285         * text2.C (setLayout): adjust
4286         (changeDepth): adjust
4287         (setFont): adjust
4288         (redoParagraphs): adjust
4289         (selectionAsString): adjust
4290         (setParagraph): adjust
4291         (insertInset): adjust
4292         (cutSelection): adjust
4293         (copySelection): adjust
4294         (pasteSelection): adjust
4295         (insertStringAsLines): adjust
4296         (updateInset): adjust
4297         (setCursor): change to take a ParagraphList::iterator parameter
4298         (setCursorIntern): change to take a ParagraphList::iterator parameter
4299         (setCurrentFont): adjust
4300         (cursorLeft): adjust
4301         (cursorRight): adjust
4302         (deleteEmptyParagraphMechanism): adjust
4303
4304         * text.C (breakParagraph): adjust
4305         (insertChar): adjust
4306         (acceptChange): adjust
4307         (rejectChange): adjust
4308         (selectNextWordToSpellcheck): adjust
4309         (changeCase): adjust
4310         (Delete): adjust
4311         (backspace): adjust
4312
4313         * lyxfind.C (SearchForward): adjust
4314         (SearchBackward): adjust
4315         (nextChange): adjust
4316
4317         * lyxcursor.C (par): adjust
4318
4319         * lyxcursor.h: store a ParagraphList::iterator instead of a
4320         Paragraph*
4321
4322         * lyx_cb.C (getPossibleLabel): adjust
4323
4324         * bufferview_funcs.C (toggleAndShow): adjust
4325
4326         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4327         (dispatch): adjust
4328
4329         * BufferView.C (removeAutoInsets): adjust
4330         (lockedInsetStoreUndo): adjust
4331
4332 2003-04-09  John Levon  <levon@movementarian.org>
4333
4334         * ToolbarBackend.C: try icon without argument
4335         if with argument fails
4336
4337 2003-04-08  John Levon  <levon@movementarian.org>
4338
4339         * ToolbarBackend.h:
4340         * ToolbarBackend.C: add getIcon(), handle tooltip,
4341         and change from "Icon" to "Item".
4342
4343 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * BufferView.C (lockInset): another bad getchar crunched
4346
4347 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4350         again)
4351
4352 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4353
4354         * lyxfind.C (searchForward, searchBackwards): bug 782
4355
4356 2003-04-07  John Levon  <levon@movementarian.org>
4357
4358         * paragraph.C: remove dead comment
4359
4360         * text.C: remove troublesome depth-fiddling code
4361         in leftMargin() and rightMargin() (bug 1017)
4362
4363         * text.C: fix breaking of rows in nested lists
4364         (bug 1004)
4365
4366         * text2.C (updateCounters): fix up depth values
4367         (bug 1013)
4368
4369 2003-04-07  John Levon  <levon@movementarian.org>
4370
4371         * BufferView_pimpl.C: clear message when doc finishes resizing,
4372         and after a mouse event
4373
4374         * lyxfunc.C: clear message after exiting inset
4375
4376 2003-04-07  John Levon  <levon@movementarian.org>
4377
4378         * bufferview_funcs.C: show math status not outside
4379         status in the statusbar
4380
4381 2003-04-07  John Levon  <levon@movementarian.org>
4382
4383         * lyxfunc.C: note status changed after a depth change
4384
4385 2003-04-04  Angus Leeming  <leeming@lyx.org>
4386
4387         * LaTeX.h: move AuxInfo operator==, != out of line.
4388         Remove LaTeX virtual destructor; nothing derives from it.
4389         Move operator()() out of public area and rename it startscript().
4390         Change protected for private.
4391
4392 2003-04-04  Angus Leeming  <leeming@lyx.org>
4393
4394         * lyxfunc.C:
4395         * text2.C: remove unneeded #includes.
4396
4397 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * text2.C (dEPM): fix the heigth of the next row
4400
4401 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * text.C: squashed an invalid getChar requester + some ws changes
4404
4405 2003-04-03  John Levon  <levon@movementarian.org>
4406
4407         * bufferview_funcs.h:
4408         * bufferview_funcs.C:
4409         * lyxfunc.C:
4410         * lyxtext.h:
4411         * text2.C: make getStatus work for the env depth lfuns
4412
4413 2003-04-03  John Levon  <levon@movementarian.org>
4414
4415         * bufferview_funcs.h:
4416         * bufferview_funcs.C:
4417         * lyxfunc.C:
4418         * lyxtext.h:
4419         * text2.C: parlistize decDepth(), by merging it with incDepth()
4420
4421 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * lyxrow.h: store a ParagraphList::iterator instead of a
4424         Paragraph* and adjust other class functions to suit.
4425
4426         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4427         above.
4428
4429 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * text2.C (setCursor): do not anchor to cursor row for the time being
4432
4433 2003-04-02  John Levon  <levon@movementarian.org>
4434
4435         * LyXAction.C:
4436         * lfuns.h:
4437         * lyx_main.C:
4438         * lyxtext.h:
4439         * text.C:
4440         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4441
4442 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * paragraph.h: make ParagraphList and ParagraphList::iterator
4445         friends of Paragraph.
4446
4447         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4448
4449         * ParagraphList.C: Use the private next_ and previous_ from
4450         Paragraph.
4451
4452 2003-04-01  John Levon  <levon@movementarian.org>
4453
4454         * ToolbarBackend.h:
4455         * ToolbarBackend.C:
4456         * Makefile.am: rename, remove defaults gunk
4457
4458         * MenuBackend.h:
4459         * MenuBackend.C: remove defaults gunk
4460
4461         * Languages.h:
4462         * Languages.C: remove defaults gunk
4463
4464         * lyx_main.h:
4465         * lyx_main.C: error out if files couldn't be found.
4466
4467 2003-04-02  John Levon  <levon@movementarian.org>
4468
4469         * text2.C: make incDepth() use parlist
4470
4471 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * undo_funcs.C (firstUndoParagraph): adjust
4474
4475         * text3.C (gotoInset): adjust
4476         (dispatch): adjust, and rewrite loop.
4477
4478         * text2.C (init): adjust, and rewrite loop.
4479         (redoParagraphs): adjust
4480         (updateInset): adjust, and rewrite loop.
4481         (deleteEmptyParagraphMechanism): adjust
4482
4483         * tabular.C (LyXTabular): adjust
4484         (SetMultiColumn): adjust
4485         (TeXRow): adjust
4486
4487         * lyxtext.[Ch] (ownerParagraph): delete function
4488         (ownerParagraphs): new function returns a ParagraphList.
4489
4490         * BufferView.C (removeAutoInsets): adjust
4491         (insertErrors): adjust
4492         (setCursorFromRow): adjust
4493
4494 2003-04-01  Angus Leeming  <leeming@lyx.org>
4495
4496         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4497         in the frontends.
4498
4499 2003-04-02  John Levon  <levon@movementarian.org>
4500
4501         * lyxtext.h:
4502         * text.C:
4503         * Makefile.am:
4504         * text_funcs.h:
4505         * text_funcs.C: make transposeChars a free function
4506
4507         * lyxrow_funcs.C: remove wrong comment
4508
4509 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * lyxtext.h: adjust
4512         * rowpainter.C: adjust
4513         * text.C: adjust
4514         * text2.C: adjust
4515         * text3.C: adjust
4516
4517         * lyxrow_funcs. [Ch]: new files
4518
4519         * lyxrow.[Ch]: remove next and previous pointers
4520         (next,previous): remove accessor functions
4521         (isParEnd): move to lyxrow_funcs
4522         (lastPos): move to lyxrow_funcs
4523         (nextRowIsAllInset): move to lyxrow_funcs
4524         (lastPrintablePos): move to lyxrow_funcs
4525         (numberOfSeparators): move to lyxrow_funcs
4526         (numberOfHfills): move to lyxrow_funcs
4527         (numberOfLabelHfills): move to lyxrow_funcs
4528         (hfillExpansion): move to lyxrow_funcs
4529
4530         * lyxfunc.C: adjust
4531
4532         * bufferview_funcs.C (toggleAndShow): adjust
4533
4534         * RowList.h: Remove class RowList from file leave just a
4535         std::list<Row>.
4536
4537         * RowList.C: delete file
4538
4539         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4540         and lyxrow_funcs.h
4541
4542 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * text3.C (cursorPrevious): adjust
4545         (cursorNext): adjust
4546         (dispatch): adjust
4547
4548         * text2.C (redoHeightOfParagraph): adjust
4549         (redoDrawingOfParagraph): adjust
4550         (setCursor): adjust
4551
4552         * text.C (breakParagraph): adjust
4553         (insertChar): adjust
4554         (backspace): adjust
4555
4556         * rowpainter.C (RowPainter): adjust
4557         (leftMargin): simplify and adjust
4558         (most rowpainter functions): adjust.
4559
4560         * rowpainter.h: store the row as RowList::iterator not as Row*
4561
4562         * lyxcursor.C (row): taka RowList::iterator as arg
4563         (irow): ditto
4564
4565         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4566         of Row*.
4567
4568 2003-04-01  Angus Leeming  <leeming@lyx.org>
4569
4570         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4571         stuff like bool Bool.
4572
4573 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4574
4575         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4576         rewrite a loop
4577
4578 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4581         RowList::iterator.
4582
4583         * lyxtext.h (rows): drop one version and leve a const variant that
4584         returns a RowList::iterator.
4585
4586 2003-03-31  Angus Leeming  <leeming@lyx.org>
4587
4588         * text.C (fill): ensure that the signature is the same as that in the
4589         header file.
4590
4591 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text2.C (redoParagraphs): adjust
4594         (updateCounters): adjust
4595         (checkParagraph): adjust
4596         (getColumnNearX): adjust and reformat a bit.
4597
4598         * text.C (top_y): adjust
4599         (workWidth): adjust
4600         (leftMargin): adjust
4601         (prepareToPrint): adjust
4602         (getRow): adjust
4603         (getRowNearY): adjust
4604
4605         * lyxtext.h: make rowlist_ mutable.
4606
4607         * RowList.h: add const_iterator
4608         * RowList.C: adjust for RowList::const_iterator.
4609
4610         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4611         adjust.
4612
4613 2003-03-31  John Levon  <levon@movementarian.org>
4614
4615         * lyxrc.h:
4616         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4617
4618         * lyx_main.C: set default fonts from using lyx_gui funcs
4619
4620         * exporter.C: pdf_mode moved from lyxrc
4621
4622         * lyx_cb.C:
4623         * lyxfunc.C: changes from above
4624
4625 2003-03-31  John Levon  <levon@movementarian.org>
4626
4627         * lyx_main.C: fix to the last fix
4628
4629 2003-03-31  John Levon  <levon@movementarian.org>
4630
4631         * bufferlist.C: "Load original" -> "Load Original"
4632
4633         * converter.C:
4634         * exporter.C:
4635         * importer.C:
4636         * lyx_main.C:
4637         * format.C: more Alert cleanups
4638
4639 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * text2.C (removeParagraph): make it take a RowList::iterator as
4642         arg, adjust.
4643         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4644         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4645
4646         * text.C (anchor_row): make it take a RowList::iterator as arg,
4647         adjust.
4648         (computeBidiTables): make it take a const reference to Row instead
4649         of Row pointer, adjust.
4650         (leftMargin): make it take a RowList::iterator as arg, adjust.
4651         (rowBreakPoint): adjust
4652         (breakAgainOneRow): make it take a RowList::iterator as arg,
4653         adjust.
4654         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4655
4656         * bufferview_funcs.C (toggleAndShow): adjust
4657
4658 2003-03-30  John Levon  <levon@movementarian.org>
4659
4660         * Makefile.am:
4661         * BoostFormat.h:
4662         * boost-inst.C: moved to support
4663
4664         * several files: changes as a result
4665
4666 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * text2.C (LyXText): adjust.
4669         (init): adjust
4670         (removeRow): make it take a RowList::iterator as arg, adjust.
4671         (fullRebreak): adjust
4672         (deleteEmptyParagraphMechanism): adjust
4673         (clearPaint): adjust
4674         (postPaint): adjust
4675
4676         * text.C (top_y): adjust
4677         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4678         (breakAgain): make it take a RowList::iterator as arg, adjust.
4679         (breakParagraph): adjust
4680         (insertChar): adjust
4681         (backspace): adjust
4682
4683         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4684         need_break_row, and refresh_row.
4685
4686         * text3.C (dispatch): adjust
4687
4688         * text2.C (checkParagraph): adjust
4689         (setCursor): adjust
4690         (setCursorFromCoordinates): adjust
4691
4692         * text.C (top_y): adjust
4693         (workWidth): adjust
4694         (getRow): make it return a RowList::iterator, adjust
4695         (getRowNearY): make it return a RowList::iterator, adjust
4696
4697         * text2.C (init): adjust
4698         (insertRow): remove function
4699         (insertParagraph): adjust
4700         (redoParagraphs): adjust
4701         (fullRebreak): adjust
4702         (updateCounters): adjust
4703
4704         * text.C (top_y): rewrite to use RowList iterators.
4705         (top_y): adjust
4706         (setHeightOfRow): rewrite to sue RowList iterators.
4707         (appendParagraph): adjust
4708         (breakAgain): adjust
4709         (breakAgainOneRow): adjust
4710         (breakParagraph): adjust
4711         (getRow): adjust
4712         (getRowNearY): adjust, and remove commented code.
4713
4714         * lyxtext.h (firstRow): delete function
4715         (lastRow): delete function
4716         (rows): new function (const and non-const versions.)
4717         (insertRow): delete function
4718
4719         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4720
4721 2003-03-29  John Levon  <levon@movementarian.org>
4722
4723         * BufferView_pimpl.C: always update scrollbar top
4724         because pasting text when we're anchored could mean we
4725         miss an update altogether
4726
4727 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * text2.C (init): use rowlist_.end() and not 0.
4730         (insertRow): change to take a RowList::iterator as arg, adjust
4731         for this.
4732         (insertParagraph): change to take a RowList::iterator as arg,
4733         adjust for this.
4734         (redoParagraphs): remove some debug msgs.
4735
4736         * text.C (appendParagraph): change to take a RowList::iterator
4737         arg, adjust for this.
4738         (breakAgain): add an assert
4739         (breakAgainOneRow): ditto
4740
4741 2003-03-29  John Levon  <levon@movementarian.org>
4742
4743         * text2.C: do not clear selection after inc/decDepth
4744         (bug 550)
4745
4746 2003-03-29  John Levon  <levon@movementarian.org>
4747
4748         * BufferView.C:
4749         * buffer.C: fix broken strerrors according to Lars
4750
4751 2003-03-29  John Levon  <levon@movementarian.org>
4752
4753         * converters.C: more Alert cleanups
4754
4755 2003-03-29  John Levon  <levon@movementarian.org>
4756
4757         * bufferview_funcs.C: remove pointless Alert
4758
4759         * buffer.C: fix confusing error message when
4760         a template is chmoded 000
4761
4762 2003-03-29  John Levon  <levon@movementarian.org>
4763
4764         * BufferView.C:
4765         * BufferView.h:
4766         * BufferView_pimpl.C: Alert fixes
4767
4768         * Makefile.am:
4769         * tabular.C:
4770         * tabular-old.C: remove unused table compat reading
4771
4772 2003-03-29  John Levon  <levon@movementarian.org>
4773
4774         * BufferView.C:
4775         * buffer.C:
4776         * lyx_cb.h:
4777         * lyx_cb.C: more Alert cleanups
4778
4779         * lyxfunc.C: don't allow chktex if not latex document
4780
4781 2003-03-29  John Levon  <levon@movementarian.org>
4782
4783         * lyx_cb.C:
4784         * BufferView.C:
4785         * buffer.C: warnings pushed down from support/,
4786         kill err_alert
4787
4788 2003-03-29  John Levon  <levon@movementarian.org>
4789
4790         * lyxfunc.C: safety check for C-r (revert)
4791
4792 2003-03-29  John Levon  <levon@movementarian.org>
4793
4794         * bufferlist.h:
4795         * bufferlist.C: several UI fixes using Alert::prompt.
4796         Fix the pointless looping quit code. Fix stupid revert
4797         behaviour (bug 938)
4798
4799         * lyxvc.h:
4800         * lyxvc.C:
4801         * lyx_cb.C: use Alert::prompt
4802
4803         * lyx_main.C: remove a silly question
4804
4805         * lyxfunc.C: remove a couple of silly questions,
4806         use Alert::prompt
4807
4808 2003-03-28  John Levon  <levon@movementarian.org>
4809
4810         * text2.C: fix bug 974 (End on empty par)
4811
4812 2003-03-28  John Levon  <levon@movementarian.org>
4813
4814         * BufferView_pimpl.C:
4815         * LyXAction.C:
4816         * lfuns.h: remove do-nothing math greek lfuns
4817
4818 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * lyxgluelength.h (isValidGlueLength): add default arg on
4821         parameter 2. Remove default arg from friend in class.
4822
4823         * lyxlength.h (isValidLength): add default arg on parameter 2.
4824         Remove default arg from friend in class.
4825
4826         * text2.C (LyXText): adjust, initialize refresh_row.
4827         (init): adjust
4828         (removeRow): adjust
4829         (insertRow): adjust
4830         (insertParagraph): adjst
4831         (redoParagraphs): adjust
4832         (fullRebreak): adjust
4833         (updateCounters): adjust
4834         (deleteEmptyParagraphMechanism): first attempt at fixing a
4835         crashing bug.
4836
4837         * text.C (top_y): adjust
4838         (setHeightOfRow): adjust
4839         (getRow): adjust
4840         (getRowNearY): adjust
4841
4842         * lyxtext.h: include RowList.h
4843         (~LyXText): not needed anymore, deleted.
4844         (firstRow): modify for RowList
4845         (lastRow): new function
4846         Delete firstrow and lastrow class variables, add a Rowlist
4847         rowlist_ class variable.
4848
4849         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4850         paragraph is empty.
4851
4852         * RowList.C (insert): fix case where it == begin().
4853
4854 2003-03-26  Angus Leeming  <leeming@lyx.org>
4855
4856         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4857         the thesaurus dialog.
4858
4859 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4862
4863         * RowList.[Ch]: new files
4864
4865         * ParagraphList.C (erase): handle the case where it == begin
4866         correctly.
4867
4868 2003-03-25  John Levon  <levon@movementarian.org>
4869
4870         * Makefile.am:
4871         * aspell_local.h:
4872         * aspell.C: add new aspell support
4873
4874         * lyxrc.h:
4875         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4876         have it accessible.
4877
4878 2003-03-25  Angus Leeming  <leeming@lyx.org>
4879
4880         * lfuns.h:
4881         * LyXAction.C (init): new LFUN_INSET_INSERT.
4882
4883         * BufferView_pimpl.C (dispatch): split out part of the
4884         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4885
4886         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4887         LFUN_INSET_APPLY.
4888
4889 2003-03-25  Angus Leeming  <leeming@lyx.org>
4890
4891         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4892
4893 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * text2.C:
4896         * text3.C: remove useless row->height(0)
4897
4898 2003-03-25  John Levon  <levon@movementarian.org>
4899
4900         * lyxtext.h:
4901         * text2.C:
4902         * text3.C: rename the refreshing stuff to better names
4903
4904 2003-03-24  John Levon  <levon@movementarian.org>
4905
4906         * BufferView_pimpl.h:
4907         * BufferView_pimpl.C: update layout choice on a mouse
4908         press/release
4909
4910 2003-03-23  John Levon  <levon@movementarian.org>
4911
4912         * Makefile.am: fix commandtags.h reference
4913
4914 2003-03-22  John Levon  <levon@movementarian.org>
4915
4916         * BufferView_pimpl.C:
4917         * lyxtext.h:
4918         * rowpainter.C:
4919         * rowpainter.h:
4920         * text.C:
4921         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4922
4923 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4924
4925         * lyxtext.h:
4926         * text.C: take the rtl methods out of line
4927
4928 2003-03-21 André Pönitz <poenitz@gmx.net>
4929
4930         * metricsinfo.[Ch]: new files containing structures to be passed around
4931         during the two-phase-drawing...
4932
4933 2003-03-21 André Pönitz <poenitz@gmx.net>
4934
4935         * lyxtextclass.C: read 'environment' tag.
4936
4937 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * text2.C (removeRow): fix bug 964
4940
4941 2003-03-20  John Levon  <levon@movementarian.org>
4942
4943         * rowpainter.C:
4944         * text.C:
4945         * text2.C: paint cleanups. Inset::update() dropped font
4946         parameter
4947
4948 2003-03-19  John Levon  <levon@movementarian.org>
4949
4950         * lyxfunc.C: only fitcursor/markDirty if available()
4951
4952 2003-03-19  John Levon  <levon@movementarian.org>
4953
4954         * commandtags.h: rename to ...
4955
4956         * lfuns.h: ... this, and renumber / cleanup
4957
4958 2003-03-19  John Levon  <levon@movementarian.org>
4959
4960         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4961         fit the cursor after an lfun
4962
4963         * BufferView.h:
4964         * BufferView.C:
4965         * BufferView_pimpl.h:
4966         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4967
4968         * LyXAction.C: layout-character should have ReadOnly
4969
4970         * ParagraphParameters.C:
4971         * buffer.C:
4972         * bufferview_funcs.C:
4973         * lyx_cb.C:
4974         * lyxfind.C:
4975         * lyxtext.h:
4976         * text.C:
4977         * text2.C:
4978         * text3.C:
4979         * undo_funcs.C: changes from above
4980
4981 2003-03-18  John Levon  <levon@movementarian.org>
4982
4983         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4984         remove it from update()
4985
4986         * lyxfunc.C: update layout choice after an lfun
4987
4988         * text3.C: remove extra updateLayoutChoice()s
4989
4990 2003-03-18  John Levon  <levon@movementarian.org>
4991
4992         * text.C: top_y change means full repaint, fix
4993         a drawing bug with cursor movement
4994
4995 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * lyxtext.h:
4998         * text.C:
4999         * text2.C: anchor row on setCursor
5000
5001 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * lyxtext.h: remove almost all mutable keywords
5004         * text.C:
5005         * text2.C:
5006         * text3.C: remove const keywords accordingly
5007
5008 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5011         anon namespace
5012         (TeXEnvironment): ditto
5013         (TeXOnePar): ditto
5014
5015 2003-03-17  John Levon  <levon@movementarian.org>
5016
5017         * text.C (rowBreakPoint): remove attempt to fix displayed
5018         math insets inside a manual label
5019
5020 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * lyxtext.h: remove BufferView* as first arg from almost all class
5023         functions.
5024         * other files: adjust.
5025
5026 2003-03-17  John Levon  <levon@movementarian.org>
5027
5028         * lyxtext.h:
5029         * undo_funcs.C:
5030         * text2.C: more paint cleanups
5031
5032         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5033
5034         * rowpainter.h:
5035         * rowpainter.C: remove "smart" background painting code
5036
5037 2003-03-16  John Levon  <levon@movementarian.org>
5038
5039         * lyxtext.h:
5040         * text.C:
5041         * text2.C:
5042         * text3.C: add helper functions for setting refresh_row/y
5043
5044 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5045
5046         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5047         newline inset which *can* get inserted in the pass_thru layouts.
5048         This is primarily for literate documents.
5049
5050 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5051
5052         * buffer.C: increment LYX_FORMAT to 223
5053
5054 2003-03-14 André Pönitz <poenitz@gmx.net>
5055
5056         * textclass.h: prepare for environment handling, ws changes
5057         * lyxlayout.C: read latexheader and latexfooter tags
5058
5059 2003-03-14  John Levon  <levon@movementarian.org>
5060
5061         * text2.C: rewrite ::status() a bit
5062
5063 2003-03-13  John Levon  <levon@movementarian.org>
5064
5065         * lyxtext.h: add some docs
5066
5067 2003-03-13  John Levon  <levon@movementarian.org>
5068
5069         * lyxtext.h:
5070         * text.C:
5071         * text2.C:
5072         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5073
5074 2003-03-13  John Levon  <levon@movementarian.org>
5075
5076         * text3.C: fix appendix redrawing
5077
5078 2003-03-13  John Levon  <levon@movementarian.org>
5079
5080         * text.C (setHeightOfRow):
5081         * rowpainter.h:
5082         * rowpainter.C: make appendix mark have the text
5083           "Appendix" so the user knows what it is
5084
5085         * LColor.h:
5086         * LColor.C: s/appendixline/appendix/ from above
5087
5088 2003-03-13  John Levon  <levon@movementarian.org>
5089
5090         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5091
5092         * text.C: fix a getChar(pos) bug properly
5093
5094 2003-03-13  Angus Leeming  <leeming@lyx.org>
5095
5096         * commandtags.h:
5097         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5098         Probably only temporary. Let's see how things pan out.
5099
5100         * BufferView.C (unlockInset):
5101         * BufferView_pimpl.C (fitCursor):
5102         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5103
5104         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5105         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5106
5107         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5108         new functions that convert ParagraphParameters to and from a string.
5109
5110         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5111         BufferView::Pimpl's dispatch.
5112         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5113
5114 2003-03-13 André Pönitz <poenitz@gmx.net>
5115
5116         * lyxfunc.C:
5117         * text3.C:
5118         * factory.C: make it aware of InsetEnv
5119
5120 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * text2.C (setCursor): never ask for one past last
5123         (setCursor): add some debugging messages.
5124
5125         * text.C (singleWidth): never ask for one past last
5126         (singleWidth): ditto
5127         (leftMargin): ditto
5128         (rightMargin): ditto
5129         (rowBreakPoint): ditto
5130         (setHeightOfRow): ditto
5131         (prepareToPrint): ditto
5132
5133         * rowpainter.C (paintBackground): never ask for one past last
5134         (paintText): never ask for one past last
5135
5136         * paragraph_pimpl.C (getChar): make the assert stricter, never
5137         allow the one past last pos to be taken
5138
5139         * paragraph.C (getChar): ws changes only
5140
5141         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5142         (numberOfSeparators): ditto
5143         (numberOfHfills): ditto
5144
5145 2003-03-12  John Levon  <levon@movementarian.org>
5146
5147         * author.h:
5148         * author.C:
5149         * bufferparams.h:
5150         * bufferparams.C:
5151         * paragraph_funcs.C: fix per-buffer authorlists
5152
5153 2003-03-12  John Levon  <levon@movementarian.org>
5154
5155         * text.C: fix newline in right address
5156
5157 2003-03-12  Angus Leeming  <leeming@lyx.org>
5158
5159         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5160         duplicate those in LyXFunc::dispatch.
5161
5162         * commandtags.h:
5163         * LyXAction.C:
5164         * ToolbarDefaults.C:
5165         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5166         Add LFUN_FONTFREE_UPDATE.
5167
5168         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5169         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5170
5171         * bufferview_func.[Ch]: several new functions to facilliate
5172         transfer of data to and from the character dialog.
5173
5174 2003-03-12  John Levon  <levon@movementarian.org>
5175
5176         * buffer.C:
5177         * paragraph.h:
5178         * paragraph.C:
5179         * paragraph_funcs.C:
5180         * paragraph_pimpl.C:
5181         * sgml.C:
5182         * tabular.C:
5183         * text.C:
5184         * text3.C: remove META_NEWLINE in favour of an inset
5185
5186         * rowpainter.h:
5187         * rowpainter.C: remove paintNewline (done by inset)
5188
5189 2003-03-12  John Levon  <levon@movementarian.org>
5190
5191         * paragraph_pimpl.C: complain about bad getChar()s
5192         for a while at least
5193
5194 2003-03-12  John Levon  <levon@movementarian.org>
5195
5196         * buffer.h:
5197         * buffer.C: move paragraph read into a separate function,
5198         a little renaming to reflect that.
5199
5200         * bufferparams.h:
5201         * bufferparams.C: remove the author_ids map, not necessary now
5202
5203         * factory.h:
5204         * factory.C: moved Buffer::readInset to here
5205
5206         * paragraph_funcs.h:
5207         * paragraph_funcs.C: readParagraph free function moved from
5208         buffer.C
5209
5210         * tabular.C: name change
5211
5212 2003-03-12  John Levon  <levon@movementarian.org>
5213
5214         * buffer.C:
5215         * ParagraphParameters.C: move par params input to
5216         a read() method
5217
5218         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5219         behave like a normal read from the stream wrt reading
5220         a line vs. a \\token
5221
5222 2003-03-12  John Levon  <levon@movementarian.org>
5223
5224         * paragraph.C:
5225         * ParagraphParameters.h:
5226         * ParagraphParameters.C: move output code to a
5227         ::write() method
5228
5229 2003-03-12  John Levon  <levon@movementarian.org>
5230
5231         * BufferView.C (insertLyXFile):
5232         * buffer.h:
5233         * buffer.C:
5234         * tabular.C: use a parlist iterator for creating the
5235           document.
5236
5237 2003-03-12  John Levon  <levon@movementarian.org>
5238
5239         * buffer.C: make current_change static local not
5240           static file-scope
5241
5242 2003-03-12  John Levon  <levon@movementarian.org>
5243
5244         * buffer.C: fix insertStringAsLines for change tracking
5245
5246 2003-03-12  John Levon  <levon@movementarian.org>
5247
5248         * BufferView.C:
5249         * tabular.C:
5250         * buffer.h:
5251         * buffer.C:
5252         * bufferparams.h:
5253         * bufferparams.C: move author list into params. Rename some
5254           functions. Move the header reading into a separate token
5255           loop. Move the header token reading into BufferParams.
5256
5257 2003-03-12  John Levon  <levon@movementarian.org>
5258
5259         * changes.C: put debug inside lyxerr.debugging() checks
5260
5261 2003-03-11 André Pönitz <poenitz@gmx.net>
5262
5263         * factory.C: make it aware of InsetHFill
5264
5265 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5266
5267         * buffer.C (latexParagraphs): move function from here...
5268         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5269         args.
5270
5271 2003-03-10  Angus Leeming  <leeming@lyx.org>
5272
5273         * LyXAction.C (init): fix bug in poplating array with multiple entries
5274         with the same LFUN (spotted by JMarc).
5275
5276 2003-03-10  John Levon  <levon@movementarian.org>
5277
5278         * text.C:
5279         * text2.C: move getColumnNearX() near its
5280         only call site
5281
5282 2003-03-10  John Levon  <levon@movementarian.org>
5283
5284         * text.C: fix break before a minipage
5285
5286 2003-03-10  John Levon  <levon@movementarian.org>
5287
5288         * text.C: fix the last commit
5289
5290 2003-03-09  John Levon  <levon@movementarian.org>
5291
5292         * lyxtext.h:
5293         * text.C:
5294         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5295         bug 365 (don't break before insets unless needed). Don't
5296         return a value > last under any circumstances.
5297
5298 2003-03-09  Angus Leeming  <leeming@lyx.org>
5299
5300         * BufferView_pimpl.C (trackChanges, dispatch): call
5301         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5302
5303 2003-03-09  Angus Leeming  <leeming@lyx.org>
5304
5305         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5306         than Dialogs::showAboutlyx().
5307
5308 2003-03-09  Angus Leeming  <leeming@lyx.org>
5309
5310         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5311         than Dialogs::showTabularCreate().
5312
5313 2003-03-09  John Levon  <levon@movementarian.org>
5314
5315         * lyxtext.h:
5316         * text.C:
5317         * text2.C: 3rd arg to nextBreakPoint was always the same.
5318           Use references.
5319
5320 2003-03-08  John Levon  <levon@movementarian.org>
5321
5322         * lyxrow.C:
5323         * paragraph.C:
5324         * paragraph.h:
5325         * rowpainter.C:
5326         * text.C:
5327         * text2.C: Remove the "main" bit from the "main body"
5328           notion.
5329
5330 2003-03-08  John Levon  <levon@movementarian.org>
5331
5332         * text.C (leftMargin): The left margin of an empty
5333         manual label paragraph should not include the label width
5334         string length.
5335
5336         * text.C (prepareToPrint): don't attempt to measure hfills
5337         for empty manual label paragraphs - the answer should be 0
5338
5339 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * CutAndPaste.C: remove commented code and reindent.
5342
5343 2003-03-08  John Levon  <levon@movementarian.org>
5344
5345         * lyxfunc.h:
5346         * lyxfunc.C: move reloadBuffer()
5347
5348         * BufferView.h:
5349         * BufferView.C: to here
5350
5351         * lyxvc.C: add comment
5352
5353         * vc-backend.h:
5354         * vc-backend.C: call bv->reload() to avoid
5355           getStatus() check on MENURELOAD
5356
5357 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5358
5359         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5360         to an old format .dep file.
5361
5362 2003-03-07  Angus Leeming  <leeming@lyx.org>
5363
5364         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5365         when the LFUN_MOUSE_RELEASE should have been handled by
5366         inset->localDispatch.
5367
5368 2003-03-07  Angus Leeming  <leeming@lyx.org>
5369
5370         * BufferView_pimpl.C (dispatch):
5371         * LyXAction.C (init):
5372         * ToolbarDefaults.C (init):
5373         * commandtags.h:
5374         * lyxfunc.C (getStatus):
5375         remove LFUN_INSET_GRAPHICS.
5376
5377         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5378
5379 2003-03-07  Angus Leeming  <leeming@lyx.org>
5380
5381         * commandtags.h:
5382         * LyXAction.C (init):
5383         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5384
5385         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5386
5387         * commandtags.h:
5388         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5389
5390         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5391         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5392
5393 2003-03-07  Angus Leeming  <leeming@lyx.org>
5394
5395         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5396         remove "ert".
5397
5398 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * ParagraphList.C (front): new function
5401         (back): implement
5402
5403 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5404
5405         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5406         and top_row_offset_. removed var first_y.
5407         * text.C (top_y):
5408         * text2.C (LyXText, removeRow):
5409         * text3.C:
5410         * BufferView_pimpl.C:
5411         use these methods instead of using first_y
5412
5413 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * text2.C (pasteSelection): adjust for checkPastePossible
5416
5417         * CutAndPaste.C: remove Paragraph * buf and replace with
5418         ParagraphList paragraphs.
5419         (DeleteBuffer): delete
5420         (cutSelection): change the tc type to textclass_type
5421         (copySelection): change the tc type to textclass_type
5422         (copySelection): adjust for ParagraphList
5423         (pasteSelection): change the tc type to textclass_type
5424         (pasteSelection): adjust for Paragraphlist
5425         (nrOfParagraphs): simplify for ParagraphList
5426         (checkPastePossible): simplify for ParagraphList
5427         (checkPastePossible): remove unused arg
5428
5429         * ParagraphList.C (insert): handle the case where there are no
5430         paragraphs yet.
5431
5432         * CutAndPaste.h: make CutAndPaste a namespace.
5433
5434         * text3.C (dispatch): adjust
5435
5436         * text.C (breakParagraph): add a ParagraphList as arg
5437
5438         * paragraph_funcs.C (breakParagraph): change to take a
5439         BufferParams and a ParagraphList as args.
5440         (breakParagraphConservative): ditto
5441         (mergeParagraph): ditto
5442         (TeXDeeper): add a ParagraphList arg
5443         (TeXEnvironment): ditto
5444         (TeXOnePar): ditto
5445
5446         * buffer.C (readLyXformat2): adjust
5447         (insertStringAsLines): adjust
5448         (latexParagraphs): adjust
5449
5450         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5451         (cutSelection): adjust
5452         (pasteSelection): adjust
5453
5454         * BufferView_pimpl.C (insertInset): adjust
5455
5456 2003-03-05  Angus Leeming  <leeming@lyx.org>
5457
5458         * commandtags.h:
5459         * LyXAction.C (init):
5460         * BufferView_pimpl.C (dispatch):
5461         * lyxfunc.C (getStatus):
5462         remove LFUN_CHILD_INSERT.
5463
5464         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5465
5466 2003-03-05  Angus Leeming  <leeming@lyx.org>
5467
5468         * commandtags.h:
5469         * LyXAction.C (init):
5470         * src/factory.C (createInset):
5471         * lyxfunc.C (getStatus):
5472         * text3.C (dispatch):
5473         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5474
5475         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5476
5477 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * ParagraphList.C (insert): handle insert right before end()
5480         (erase): fix cases where it can be first or last paragraph.
5481
5482 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5485         Paragraph::next and Paragraph::previous
5486         (TeXOnePar): ditto
5487
5488         * text.C (breakParagraph): adjust
5489
5490         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5491         BufferParams& as arg.
5492         (breakParagraph): use ParagraphList::insert
5493         (breakParagraphConservative): take a Buffer* instead of a
5494         BufferParams& as arg.
5495         (breakParagraphConservative): use ParagraphList::insert.
5496
5497         * buffer.C (insertStringAsLines): un-const it
5498         (insertStringAsLines): adjust
5499
5500         * ParagraphList.C (insert): new function
5501
5502         * CutAndPaste.C (pasteSelection): adjust
5503
5504         * text.C (backspace): adjust
5505
5506         * tabular.C (SetMultiColumn): adjust
5507
5508         * CutAndPaste.C (cutSelection): adjust
5509         (pasteSelection): adjust
5510
5511         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5512         Buffer const * as arg
5513
5514         * ParagraphList.C (erase): new function
5515         * paragraph_funcs.C (mergeParagraph): use it
5516         (mergeParagraph): make it take a Buffer* instead of a
5517         BufferParams* as arg
5518
5519         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5520         as arg
5521         (breakParagraphConservative): ditto
5522
5523         * paragraph.h: remove the breakParagraph friend
5524
5525         * paragraph.C (eraseIntern): new function
5526         (setChange): new function
5527
5528         * paragraph_funcs.C (mergeParagraph): make it take a
5529         ParagraphList::iterator instead of a Paragraph *, adjust
5530         accordingly.
5531
5532         * paragraph.h: move an #endif so that the change tracking stuff
5533         also works in the NO_NEXT case.
5534
5535 2003-03-04  Angus Leeming  <leeming@lyx.org>
5536
5537         * commandtags.h:
5538         * LyXAction.C: new LFUN_INSET_MODIFY.
5539
5540         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5541         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5542
5543 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * several files: ws changes only
5546
5547         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5548         (TeXEnvironment): ditto
5549         (TeXDeeper): ditto
5550
5551         * buffer.C (makeLaTeXFile): adjust
5552         (latexParagraphs): make it take ParagraphList::iterator as args
5553
5554 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * buffer.C (latexParagraphs): adjust
5557
5558         * paragraph.C (TeXOnePar): move function...
5559         (optArgInset): move function...
5560         (TeXEnvironment): move function...
5561         * paragraph_pimpl.C (TeXDeeper): move function...
5562         * paragraph_funcs.C: ...here
5563
5564         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5565
5566 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * buffer.C (readInset): remove compability code for old Figure and
5569         InsetInfo insets
5570
5571 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * buffer.C: ws changes
5574         (readInset):
5575
5576         * BufferView_pimpl.C: ditto
5577         * author.C: ditto
5578         * buffer.h: ditto
5579         * bufferlist.h: ditto
5580         * changes.h: ditto
5581         * lyxfunc.C: ditto
5582
5583 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5584
5585         * converter.[Ch]: split into itself +
5586         * graph.[Ch]
5587         * format.[Ch]
5588         * Makefile.am: += graph.[Ch] + format.[Ch]
5589         * MenuBackend.C
5590         * buffer.C
5591         * exporter.C
5592         * importer.C
5593         * lyx_main.C
5594         * lyxfunc.C
5595         * lyxrc.C: added #include "format.h"
5596
5597 2003-02-27  Angus Leeming  <leeming@lyx.org>
5598
5599         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5600           a label.
5601
5602         * factory.C (createInset): add "label" to the factory.
5603
5604         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5605           string and do no more.
5606
5607 2003-02-27  Angus Leeming  <leeming@lyx.org>
5608
5609         * commandtags.h:
5610         * LyXAction.C (init):
5611         * factory.C (createInset):
5612         * BufferView_pimpl.C (dispatch):
5613           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5614
5615         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5616
5617         * lyxfunc.C (dispatch):
5618         * text3.C (dispatch): pass name to params2string.
5619
5620 2003-02-26  Angus Leeming  <leeming@lyx.org>
5621
5622         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5623           blocks together.
5624           Rearrange the ~includes. Strip out the unnecessary ones.
5625
5626         * factory.C (createInset): reformat.
5627           create new insets for the various LFUN_XYZ_APPLY lfuns.
5628
5629 2003-02-26  John Levon  <levon@movementarian.org>
5630
5631         * lyxrow.h:
5632         * lyxrow.C: add isParStart,isParEnd helpers
5633
5634         * paragraph.h: make isInserted/DeletedText take refs
5635
5636         * paragraph_funcs.h:
5637         * paragraph_funcs.C: remove #if 0'd code
5638
5639         * lyxtext.h:
5640         * text3.C:
5641         * text2.C:
5642         * text.C: use lyxrow helpers above.
5643           Move draw and paint routines to RowPainter.
5644           Make several methods use refs not pointers.
5645           Make backgroundColor() const.
5646           Add markChangeInDraw(), isInInset().
5647           Merge changeRegionCase into changeCase.
5648           Make workWidth() shouldn't-happen code into an Assert.
5649
5650         * rowpainter.h:
5651         * rowpainter.C: new class for painting a row.
5652
5653         * vspace.h:
5654         * vspace.C: make inPixels take a ref
5655
5656 2003-02-26  Angus Leeming  <leeming@lyx.org>
5657
5658         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5659         LFUN_REF_APPLY.
5660
5661 2003-02-25  John Levon  <levon@movementarian.org>
5662
5663         * ispell.C: give the forked command a more accurate name
5664
5665 2003-02-22  John Levon  <levon@movementarian.org>
5666
5667         * toc.h:
5668         * toc.C: make TocItem store an id not a Paragraph *
5669           (bug #913)
5670
5671 2003-02-21  Angus Leeming  <leeming@lyx.org>
5672
5673         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5674           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5675           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5676           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5677           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5678           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5679
5680         * BufferView_pimpl.C (dispatch):
5681         * LyXAction.C (init):
5682         * factory.C (createInset):
5683         * lyxfunc.C (getStatus, dispatch):
5684         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5685
5686 2003-02-21  Angus Leeming  <leeming@lyx.org>
5687
5688         * BufferView_pimpl.C (MenuInsertLyXFile):
5689         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5690         * lyxfunc.C (menuNew, open, doImport):
5691           no longer pass a LyXView & to fileDlg.
5692
5693 2003-02-21  Angus Leeming  <leeming@lyx.org>
5694
5695         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5696         * LyXAction.C: change, BIBKEY to BIBITEM.
5697         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5698         Change InsetBibKey to InsetBibitem.
5699         Change BIBKEY_CODE to BIBITEM_CODE.
5700         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5701         * factory.C: replace insetbib.h with insetbibitem.h.
5702         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5703         * paragraph.C: replace insetbib.h with insetbibitem.h.
5704         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5705         Change bibkey() to bibitem().
5706         * text.C: remove insetbib.h.
5707         * text2.C: replace insetbib.h with insetbibitem.h.
5708         change bibkey() to bibitem().
5709         * text3.C: remove insetbib.h.
5710         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5711
5712 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5713
5714         * lyxrc.C (output): enclose user email in quotes (in case there are
5715         several words)
5716
5717 2003-02-18  John Levon  <levon@movementarian.org>
5718
5719         * buffer.h: add std::
5720
5721 2003-02-17  John Levon  <levon@movementarian.org>
5722
5723         * SpellBase.h:
5724         * ispell.h:
5725         * ispell.C:
5726         * pspell.h:
5727         * pspell.C: reworking. Especially in ispell, a large
5728           number of clean ups and bug fixes.
5729
5730         * lyxfunc.C: fix revert to behave sensibly
5731
5732 2003-02-17 André Pönitz <poenitz@gmx.net>
5733
5734         * LyXAction.C:
5735         * commandtags.h: new LFUN_INSERT_BIBKEY
5736
5737         * layout.h:
5738         * lyxlayout.C:
5739         * buffer.C:
5740         * factory.C:
5741         * text.C:
5742         * text2.C:
5743         * text3.C:
5744         * paragraph.[Ch]:
5745         * paragraph_func.C: remove special bibkey handling
5746
5747 2003-02-17  John Levon  <levon@movementarian.org>
5748
5749         * text.C (Delete): fix case where delete at the end of
5750           the very first paragraph would not merge the pars
5751
5752 2003-02-17  John Levon  <levon@movementarian.org>
5753
5754         * lyxrow.C: fix lastPrintablePos()
5755
5756 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5757
5758         * bufferparams.C (writeLaTeX): add a std:here
5759
5760         * buffer.C: and remove a using directive there
5761
5762 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5763
5764         * buffer.C (makeLaTeXFile): move the code that generates the
5765           preamble...
5766
5767         * bufferparams.C (writeLaTeX): ... in this new method
5768
5769         * LaTeXFeatures.C (getEncodingSet): make const
5770           (getLanguages): make const
5771
5772         * MenuBackend.C (binding): returns the binding associated to this
5773           action
5774           (add): sets the status of each item by calling getStatus. Adds
5775           some intelligence.
5776           (read): add support for OptSubMenu
5777           (expand): remove extra separator at the end of expanded menu
5778
5779 2003-02-15  John Levon  <levon@movementarian.org>
5780
5781         * BufferView.C:
5782         * BufferView_pimpl.C:
5783         * bufferlist.h:
5784         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5785           inset code that had no actual effect. Remove unneeded status
5786           code.
5787
5788 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5789
5790         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5791           in preamble
5792
5793 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5794
5795         * text.C (drawLengthMarker): also draw an arrow marker for
5796           symbolic lengths (medskip...)
5797
5798 2003-02-14  John Levon  <levon@movementarian.org>
5799
5800         * tabular.h:
5801         * tabular.C: better method names
5802
5803 2003-02-14  John Levon  <levon@movementarian.org>
5804
5805         * BufferView_pimpl.C:
5806         * bufferlist.C:
5807         * buffer.C:
5808         * converter.C:
5809         * lyx_cb.C:
5810         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5811           it's a more accurate name. Remove some pointless uses.
5812
5813 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5814
5815         * text2.C (LyXText): change order of initilizers to shut off
5816           warnings
5817
5818 2003-02-14  John Levon  <levon@movementarian.org>
5819
5820         * buffer.C: use ParIterator for getParFromID()
5821
5822         * paragraph.h:
5823         * paragraph.C:
5824         * paragraph_pimpl.h:
5825         * paragraph_pimpl.C: remove unused getParFromID()
5826
5827 2003-02-14  John Levon  <levon@movementarian.org>
5828
5829         * buffer.C: remove some very old #if 0'd parse code
5830
5831 2003-02-13  John Levon  <levon@movementarian.org>
5832
5833         * text.h:
5834         * text.C:
5835         * text2.C: move hfillExpansion(), numberOfSeparators(),
5836           rowLast(), rowLastPrintable(), numberofHfills(),
5837           numberOfLabelHfills() ...
5838
5839         * lyxrow.h:
5840         * lyxrow.C: ... to member functions here.
5841
5842         * paragraph.h:
5843         * paragraph.C:
5844         * lyxtext.h:
5845         * text.C: remove LyXText::beginningOfMainBody(), and call
5846           p->beginningOfMainBody() directly. Move the check for
5847           LABEL_MANUAL into the latter.
5848
5849         * text.h:
5850         * text.C:
5851         * text2.C:
5852         * vspace.C:
5853         * BufferView.h:
5854         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5855
5856         * text.h:
5857         * text.C:
5858         * text2.C:
5859         * text3.C:
5860         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5861           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5862
5863 2003-02-13  John Levon  <levon@movementarian.org>
5864
5865         * CutAndPaste.C: remove debug
5866
5867 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5868
5869         * paragraph.C (asString): remove two unused variables
5870
5871         * lyxtextclass.C (readTitleType):
5872           (Read):
5873           (LyXTextClass): handle new members titletype_ and titlename_
5874
5875         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5876
5877 2003-02-09  John Levon  <levon@movementarian.org>
5878
5879         * buffer.h:
5880         * buffer.C: replace hand-coded list with a map for the dep clean
5881
5882 2003-02-08  John Levon  <levon@movementarian.org>
5883
5884         * LaTeX.C: consolidate code into showRunMessage() helper
5885
5886 2003-02-08  John Levon  <levon@movementarian.org>
5887
5888         * lyxfind.C:
5889         * lyxtext.h:
5890         * text2.C:
5891         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5892           and pass the size in explicitly
5893
5894         * BufferView_pimpl.h:
5895         * BufferView_pimpl.C:
5896         * BufferView.h:
5897         * BufferView.C: add getCurrentChange()
5898
5899         * BufferView_pimpl.h:
5900         * BufferView_pimpl.C: handle change lfuns
5901
5902         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5903           for changes. Mark pasted paragraphs as new.
5904
5905         * support/lyxtime.h:
5906         * support/lyxtime.C:
5907         * DepTable.C: abstract time_t as lyx::time_type
5908
5909         * LColor.h:
5910         * LColor.C: add colours for new text, deleted text, changebars
5911
5912         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5913           package use "usenames" option.
5914
5915         * commandtags.h:
5916         * lyxfunc.C:
5917         * LyXAction.C: add change lfuns
5918
5919         * Makefile.am:
5920         * author.h:
5921         * author.C: author handling
5922
5923         * buffer.h:
5924         * buffer.C: add a per-buffer author list, with first entry as
5925           current author. Handle new .lyx tokens for change tracking. Output
5926           author list to .lyx file. Output dvipost stuff to .tex preamble.
5927           Bump lyx format to 222.
5928
5929         * bufferlist.h:
5930         * bufferlist.C: add setCurrentAuthor() to reset current author details
5931           in all buffers.
5932
5933         * bufferparams.h:
5934         * bufferparams.C: add param for tracking
5935
5936         * bufferview_funcs.C: output change info in minibuffer
5937
5938         * Makefile.am:
5939         * changes.h:
5940         * changes.C: add change-tracking structure
5941
5942         * debug.h:
5943         * debug.C: add CHANGES debug flag
5944
5945         * lyxfind.h:
5946         * lyxfind.C: add code for finding the next change piece
5947
5948         * lyxrc.h:
5949         * lyxrc.C: add user_name and user_email
5950
5951         * lyxrow.h:
5952         * lyxrow.C: add a metric for the top of the text line
5953
5954         * lyxtext.h:
5955         * text.C: implement accept/rejectChange()
5956
5957         * lyxtext.h:
5958         * text.C: paint changebars. Paint new/deleted text in the chosen
5959         colours. Strike through deleted text.
5960
5961         * paragraph.h:
5962         * paragraph.C:
5963         * paragraph_pimpl.h:
5964         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5965           in the current change to the insert functions. Rework erase to
5966           mark text as deleted, adding an eraseIntern() and a range-based
5967           erase(). Implement per-paragraph change lookup and
5968           accept/reject.
5969
5970         * paragraph_funcs.C: Fixup paste for change tracking.
5971
5972         * tabular.C: mark added row/columns as new.
5973
5974         * text.C: fix rowLast() to never return -1. Don't allow
5975           spellchecking of deleted text. Track transpose changes. Don't
5976           allow paragraph break or merge where appropriate.
5977
5978         * text2.C: leave cursor at end of selection after a cut.
5979
5980 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5981
5982         * text.C (getLengthMarkerHeight):
5983         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5984         visible on screen too.
5985
5986 2003-02-07  John Levon  <levon@movementarian.org>
5987
5988         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5989
5990 2003-02-05  Angus Leeming  <leeming@lyx.org>
5991
5992         * lyxserver.C (read_ready): revert my patch of 11 September last year
5993         as it sends PC cpu through the roof. Presumably this means that
5994         the lyxserver will no longer run on an Alpha...
5995
5996 2003-01-30  Angus Leeming  <leeming@lyx.org>
5997
5998         * factory.C (createInset): create an InsetCommandParam of type "index"
5999         and use it to 'do the right thing'.
6000
6001         * text2.C (getStringToIndex): ensure that cursor position is always
6002         reset to the reset_cursor position.
6003
6004 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6005
6006         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6007         disabled.
6008
6009 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6010
6011         * bufferview.C:
6012         * lyxcb.C:
6013         * lyxfunc.C: Output messages with identical spelling, punctuation,
6014         and spaces
6015
6016 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6017
6018         * MenuBackend.C (expandFormats): List only viewable export formats
6019         in "View" menu
6020
6021         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6022         message
6023
6024         * lyxfunc.C (getStatus): Make sure that formats other than
6025         "fax" can also be disabled
6026
6027 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * text3.C (dispatch): put the lfuns that insert insets in 3
6030         groups, and call doInsertInset with appropriate arguments.
6031         (doInsertInset): new function, that creates an inset and inserts
6032         it according to some boolean parameters.
6033
6034 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * buffer.C (readFile): remember to pass on 'par' when calling
6037         readFile recursively.
6038
6039 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6040
6041         * MenuBackend.C (expandFormats): add "..." to import formats.
6042
6043 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6044
6045         * paragraph.C (asString): Remove XForms RTL hacks.
6046
6047 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6048         * buffer.C: fix typo
6049
6050 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * Makefile.am (LIBS): delete var
6053         (lyx_LDADD): add @LIBS@ here instead.
6054
6055 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6056
6057         * Clarify the meaning of "wheel mouse jump"
6058
6059 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6060
6061         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6062         tabular in a float
6063
6064 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6065
6066         * importer.C (Loaders): do not preallocate 3 elements in the
6067         vector, since one ends up with 6 elements otherwise
6068
6069 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6070
6071         * DepTable.C (write): write the file name as last element of the
6072         .dep file (because it may contain spaces)
6073         (read): read info in the right order
6074
6075 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6076
6077         * paragraph_pimpl.C (simpleTeXBlanks):
6078         (simpleTeXSpecialChars):
6079         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6080
6081         * tabular.C (latex): add some missing case statements. Reindent.
6082
6083         * MenuBackend.C (expandToc): remove unused variable.
6084
6085 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6086
6087         * LColor.C:
6088         * LaTeX.C:
6089         * LyXAction.C:
6090         * MenuBackend.C:
6091         * buffer.C:
6092         * exporter.C:
6093         * lyxfunc.C:
6094         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6095         and the like.
6096
6097 2003-01-05  John Levon  <levon@movementarian.org>
6098
6099         * BufferView.h:
6100         * BufferView.C: add getEncoding()
6101
6102         * kbsequence.h:
6103         * kbsequence.C: do not store last keypress
6104
6105         * lyxfunc.h:
6106         * lyxfunc.C: store last keypress here instead. Pass encoding
6107           to getISOEncoded()
6108
6109 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6110
6111         * lyx_main.C (init): remove annoying error message when following
6112         symbolic links (bug #780)
6113
6114 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6115
6116         * text.C (insertChar):
6117         * lyxrc.C (getDescription): remove extra spaces
6118
6119 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6120
6121         * lyxrc.C (getDescription): remove extra spaces
6122
6123 2002-12-20  John Levon  <levon@movementarian.org>
6124
6125         * text3.C: hack fix for page up/down across tall rows
6126
6127 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6128
6129         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6130         not been invoked
6131
6132 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6133
6134         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6135         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6136         thesaurus is not compiled in
6137
6138 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6139
6140         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6141
6142 2002-12-16  Angus Leeming  <leeming@lyx.org>
6143
6144         * lyxrc.[Ch]:
6145         * lyx_main.C (init): remove override_x_deadkeys stuff.
6146
6147 2002-12-12  John Levon  <levon@movementarian.org>
6148
6149         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6150           insert. Only remove shift modifier under strict
6151           circumstances.
6152
6153 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * MenuBackend.C (expandToc): fix crash.
6156
6157 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6158
6159         * MenuBackend.C (expandToc): gettext on float names.
6160
6161 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6162
6163         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6164         implement bool empty() [bug 490]
6165
6166 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6169
6170 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * several files: ws changes
6173
6174 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6175
6176         * text2.C (setCounter): clean up a bit, use boost.format.
6177         (updateCounters): initialize par upon declaration.
6178
6179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6180         if the layout exists. We do not just store the layout any more.
6181         (SwitchLayoutsBetweenClasses): use boost.format
6182
6183 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6184
6185         * converter.C (convert): if from and to files are the same, use a
6186         temporary files as intermediary
6187
6188 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6189
6190         * commandtags.h:
6191         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6192
6193 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6196
6197 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * tabular.C (asciiPrintCell): use string(size, char) instead of
6200         explicit loop.
6201
6202         * sgml.C (openTag): fix order of arguments to string constructor
6203         (closeTag): ditto
6204
6205         * lyxfunc.C (dispatch): use boost.format
6206
6207         * lots of files: change "c" -> 'c'
6208
6209 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6210
6211         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6212
6213 2002-11-25  Angus Leeming  <leeming@lyx.org>
6214
6215         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6216
6217         * lyx_main.C (init): compile fix.
6218
6219 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * lyx_cb.C (start): boost.formatify
6222         do not include <iostream>
6223
6224         * lengthcommon.C: ws only
6225
6226         * boost-inst.C,BoostFormat.h: add more explict instantations
6227
6228 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * lots of files: handle USE_BOOST_FORMAT
6231
6232 2002-11-21  John Levon  <levon@movementarian.org>
6233
6234         * pspell.C: fix compile
6235
6236 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6237
6238         * lyxfunc.C (dispatch): use boost::format
6239         (open): ditto
6240         (doImport): ditto
6241
6242         * lyxfont.C (stateText): use boost::format
6243
6244         * lyx_main.C (LyX): use boost::format
6245         (init): ditto
6246         (queryUserLyXDir): ditto
6247         (readRcFile): ditto
6248         (parse_dbg): ditto
6249         (typedef boost::function): use the recommened syntax.
6250
6251         * importer.C (Import): use boost::format
6252
6253         * debug.C (showLevel): use boost::format
6254
6255         * converter.C (view): use boost::format
6256         (convert): ditto
6257         (move): ditto
6258         (scanLog): ditto
6259
6260         * bufferview_funcs.C (currentState): use boost::format
6261
6262         * bufferlist.C (emergencyWrite): use boost::format
6263
6264         * buffer.C (readLyXformat2): use boost::format
6265         (parseSingleLyXformat2Token): ditto
6266
6267         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6268
6269         * LaTeX.C (run): use boost::format
6270
6271         * Chktex.C (scanLogFile): use boost::format
6272
6273         * BufferView_pimpl.C (savePosition): use boost::format
6274         (restorePosition): ditto
6275         (MenuInsertLyXFile): ditto
6276
6277         * BoostFormat.h: help file for explicit instation.
6278
6279 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6280
6281         * tabular.C (latex): Support for block alignment in fixed width
6282         columns.
6283
6284 2002-11-17  John Levon  <levon@movementarian.org>
6285
6286         * BufferView_pimpl.C:
6287         * lyx_cb.C:
6288         * lyxfunc.C: split filedialog into open/save
6289
6290 2002-11-08  Juergen Vigna  <jug@sad.it>
6291
6292         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6293         by my last patch (hopefully).
6294
6295 2002-11-08  John Levon  <levon@movementarian.org>
6296
6297         * iterators.h:
6298         * iterators.C:
6299         * buffer.h:
6300         * buffer.C:
6301         * paragraph.h:
6302         * paragraph.C:
6303         * toc.h:
6304         * toc.C: ParConstIterator, and use it (from Lars)
6305
6306 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6307
6308         * lyxtextclass.[Ch]: revise and add doxygen comments
6309
6310 2002-11-07  John Levon  <levon@movementarian.org>
6311
6312         * text.C: fix progress value for spellchecker
6313
6314         * toc.C: fix navigate menu for insetwrap inside minipage
6315
6316         * paragraph_funcs.C: added FIXME for suspect code
6317
6318 2002-11-07  John Levon  <levon@movementarian.org>
6319
6320         * BufferView_pimpl.C: fix redrawing of insets
6321           on buffer switch
6322
6323 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6324
6325         * text2.C (updateCounters): fix bug 668
6326
6327 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6328
6329         * text3.C (dispatch): Do not make the buffer dirty when moving the
6330         cursor.
6331
6332 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * vc-backend.C: STRCONV
6335         (scanMaster): ditto
6336
6337         * text2.C (setCounter): STRCONV
6338
6339         * paragraph.C (asString): STRCONV
6340
6341         * lyxlength.C (asString): STRCONV
6342         (asLatexString): ditto
6343
6344         * lyxgluelength.C (asString): STRCONV
6345         (asLatexString): ditto
6346
6347         * lyxfunc.C (dispatch): STRCONV
6348         (open): ditto
6349
6350         * lyxfont.C (stateText): STRCONV
6351
6352         * importer.C (Import): STRCONV
6353
6354         * counters.C (labelItem): STRCONV
6355         (numberLabel): ditto
6356         (numberLabel): remove unused ostringstream o
6357
6358         * chset.C: STRCONV
6359         (loadFile): ditto
6360
6361         * bufferview_funcs.C (currentState): STRCONV
6362
6363         * buffer.C (readFile): STRCONV
6364         (asciiParagraph): ditto
6365         (makeLaTeXFile): ditto
6366
6367         * Spacing.C (writeEnvirBegin): STRCONV
6368
6369         * LaTeXFeatures.C (getLanguages): STRCONV
6370         (getPackages): ditto
6371         (getMacros): ditto
6372         (getBabelOptions): ditto
6373         (getTClassPreamble): ditto
6374         (getLyXSGMLEntities): ditto
6375         (getIncludedFiles): ditto
6376
6377         * LaTeX.C: STRCONV
6378         (run): ditto
6379         (scanAuxFile): ditto
6380         (deplog): ditto
6381
6382         * LString.h: add the STRCONV macros
6383
6384         * BufferView_pimpl.C (savePosition): STRCONV
6385         (restorePosition): ditto
6386         (MenuInsertLyXFile): ditto
6387
6388         * vc-backend.C (scanMaster): change from submatch[...] to
6389         submatch.str(...)
6390
6391         * funcrequest.C: include config.h
6392
6393         * factory.C: include config.h
6394
6395         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6396
6397         * box.C: include config.h
6398
6399         * LaTeX.C (scanAuxFile): change from submatch[...] to
6400         submatch.str(...)
6401         (deplog): ditto
6402
6403 2002-10-25  Angus Leeming  <leeming@lyx.org>
6404
6405         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6406
6407         * ispell.[Ch] (setError): new method.
6408         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6409         Use setError() insetead of goto END.
6410
6411         * lyx_cb.C (AutoSave): move out child process into new class
6412         AutoSaveBuffer.
6413
6414 2002-10-30  John Levon  <levon@movementarian.org>
6415
6416         * text3.C: make start appendix undoable
6417
6418 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6419
6420         * lyxlength.C (inPixels): Fix returned value.
6421
6422         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6423         environment.
6424
6425 2002-10-24  Angus Leeming  <leeming@lyx.org>
6426
6427         * lyxgluelength.h: no need to forward declare BufferParams
6428         or BufferView, so don't.
6429
6430 2002-10-21  John Levon  <levon@movementarian.org>
6431
6432         * BufferView.C: menuUndo ->undo, redo
6433
6434         * BufferView.h: document, remove dead, make some methods private
6435
6436         * paragraph_funcs.h:
6437         * paragraph_funcs.C:
6438         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6439
6440         * buffer.h:
6441         * buffer.C:
6442         * sgml.h:
6443         * sgml.C: move sgml open/close tag into sgml.C
6444
6445         * bufferview_funcs.h: unused prototype
6446
6447         * lyxfunc.h:
6448         * lyxfunc.C: remove unused
6449
6450         * lyxtext.h:
6451         * text.C: remove unused
6452
6453 2002-10-21  John Levon  <levon@movementarian.org>
6454
6455         * BufferView.h:
6456         * BufferView.C:
6457         * BufferView_pimpl.h:
6458         * BufferView_pimpl.C: fix mouse wheel handling based on
6459           patch from Darren Freeman
6460
6461 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6462
6463         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6464
6465 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6466
6467         * lyxlength.C (inPixels): Fix hanfling of negative length.
6468         Fix LyXLength::MU case.
6469
6470 2002-10-16  John Levon  <levon@movementarian.org>
6471
6472         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6473
6474 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6475
6476         * converter.C (view): add support for $$i (file name) and $$p
6477         (file path) for the viewer command. If $$i is not specified, then
6478         it is appended to the command (for compatibility with old syntax)
6479
6480 2002-10-14  Juergen Vigna  <jug@sad.it>
6481
6482         * undo_funcs.C (textHandleUndo): alter the order in which the
6483         new undopar is added to the LyXText, as we have to set first
6484         the right prev/next and then add it as otherwise the rebuild of
6485         LyXText is not correct. Also reset the cursor to the right paragraph,
6486         with this IMO we could remove the hack in "redoParagraphs()".
6487
6488 2002-10-09  Angus Leeming  <leeming@lyx.org>
6489
6490         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6491         to turn off an optimisation if a new inset is to be inserted.
6492
6493 2002-10-11 André Pönitz <poenitz@gmx.net>
6494
6495         * lyxtext.h: make some functions public to allow access
6496         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6497
6498 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6499
6500         * text3.C (dispatch): when changing layout, avoid an infinite loop
6501         [bug #652]
6502
6503 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6504
6505         * lyxrc.C (read): treat a viewer or converter command of "none" as
6506         if it were empty.
6507
6508         * MenuBackend.C (expandFormats): for an update, also allow the
6509         formats that are not viewable
6510
6511         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6512         script if it is newer than the lyxrc.defaults in user directory
6513
6514 2002-10-07 André Pönitz <poenitz@gmx.net>
6515
6516         * text.C: Vitaly Lipatov's small i18n fix
6517
6518 2002-09-25  Angus Leeming  <leeming@lyx.org>
6519
6520         * ispell.h: doxygen fix.
6521
6522 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6523
6524         * buffer.h (readFile): Add a new argument to the method, to allow
6525         reading of old-format templates.
6526
6527 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6528
6529         * toc.C (getTocList): Get TOC from InsetWrap.
6530
6531 2002-09-16  John Levon  <levon@movementarian.org>
6532
6533         * lyxfunc.C: check tabular for cut/copy too
6534
6535 2002-09-12  John Levon  <levon@movementarian.org>
6536
6537         * LyXAction.C: tidy
6538
6539         * factory.h:
6540         * factory.C: add header
6541
6542         * paragraph_funcs.h:
6543         * paragraph_funcs.C: cleanup
6544
6545 2002-09-11  John Levon  <levon@movementarian.org>
6546
6547         * PrinterParams.h: odd/even default to true
6548
6549 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6550
6551         * PrinterParams.h: update printer parameters for new xforms dialog
6552
6553 2002-09-11  Angus Leeming  <leeming@lyx.org>
6554
6555         * lyxserver.C (read_ready): re-write to make it more transparent
6556         and to make it work in coherent fashion under Tru64 Unix.
6557
6558 2002-09-11  André Pönitz <poenitz@gmx.net>
6559
6560         * commandtags.h:
6561         * LyXAction.C:
6562         * text3.C: implement LFUN_WORDSEL
6563
6564 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6567         make floatlist_ a boost::shared_ptr<FloatList>
6568
6569         * lyxtextclass.C: include FloatList.h
6570         (LyXTextClass): initialize floatlist_
6571         (TextClassTags): add TC_NOFLOAT
6572         (Read): match "nofloat" to TC_NOFLOAT and use it.
6573         (readFloat): modify call to floatlist_
6574         (floats): ditto
6575         (floats): ditto
6576
6577         * FloatList.[Ch] (FloatList): remove commented out float
6578         initialization.
6579         (erase): new function
6580
6581 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6582
6583         * MenuBackend.C (expandToc): fix crash when there is no document
6584         open
6585
6586 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6587
6588         * many files: Add insetwrap.
6589
6590 2002-09-09  John Levon  <levon@movementarian.org>
6591
6592         * text2.C: remove confusing and awkward depth wraparound
6593
6594 2002-09-09  John Levon  <levon@movementarian.org>
6595
6596         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6597
6598         * buffer.h:
6599         * buffer.C: remove getIncludeonlyList()
6600
6601         * paragraph.C:
6602         * lyxfunc.C: remove headers
6603
6604 2002-09-09  Juergen Vigna  <jug@sad.it>
6605
6606         * text.C (getColumnNearX): fix form Michael this is most
6607         probably a cut&paste bug.
6608
6609 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6610
6611         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6612
6613         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6614         references, ws changes.
6615
6616         * text2.C (init): update counters after init
6617         (insertParagraph): no need to set counter on idividual paragraphs.
6618         (setCounter): access the counters object in the textclass object
6619         on in the buffer object.
6620         (updateCounters): ditto
6621
6622         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6623         shared_ptr<Counters> to avoid loading counters.h in all
6624         compilation units.
6625         (LyXTextClass): initialize ctrs_
6626         (TextClassTags): add TC_COUNTER, and ...
6627         (Read): use it here.
6628         (CounterTags): new tags
6629         (readCounter): new function
6630         (counters): new funtion
6631         (defaultLayoutName): return a const reference
6632
6633         * counters.C (Counters): remove contructor
6634         (newCounter): remove a couple of unneeded statements.
6635         (newCounter): simplify a bit.
6636         (numberLabel): some small formatting changes.
6637
6638         * buffer.[Ch]: remove all traces of counters, move the Counters
6639         object to the LyXTextClass.
6640
6641 2002-09-06  Alain Castera  <castera@in2p3.fr>
6642
6643         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6644         package to set the horizontal alignment on fixed width columns.
6645
6646         * lyx_sty.C:
6647         * lyx_sty.h: added tabularnewline macro def.
6648
6649         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6650
6651 2002-09-06  John Levon  <levon@movementarian.org>
6652
6653         * LyXAction.C: tooltips for sub/superscript
6654
6655         * MenuBackend.C: a bit more verbose
6656
6657         * lyxfunc.C: tiny clean
6658
6659         * undo_funcs.C: document undo_frozen
6660
6661 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * counters.C (Counters): add missing algorithm counter.
6664
6665         * text2.C (setCounter): lookup the counter with layouts latexname
6666         instead of by section number.
6667         (setCounter): use a hackish way to lookup the correct enum
6668         counter.
6669         a float name->type change
6670         reset enum couners with counter name directly instead of depth value.
6671
6672         * counters.C (Counters): remove the push_backs, change to use the
6673         float type not the float name.
6674         (labelItem): remove unused string, float name->type change
6675
6676         * counters.h: don't include vector, loose the enums and sects vectors
6677
6678 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6681         (Read): add float->TC_FLOAT to textclassTags
6682         (Read): and handle it in the switch
6683         (readFloat): new function
6684
6685         * FloatList.C (FloatList): comment out the hardcoded float
6686         definitions.
6687
6688         * lyxlayout.h: ws change.
6689
6690 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6691
6692         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6693
6694 2002-09-03  Angus Leeming  <leeming@lyx.org>
6695
6696         * BufferView_pimpl.h: qualified name is not allowed in member
6697         declaration: WorkArea & Pimpl::workarea() const;
6698
6699         * factory.C: added using std::endl directive.
6700
6701         * text3.C: added using std::find and std::vector directives.
6702
6703 2002-08-29  André Pönitz <poenitz@gmx.net>
6704
6705         * lyxtext.h:
6706         * text2.C: remove unused member number_of_rows
6707
6708         * Makefile.am:
6709         * BufferView2.C: remove file, move contents to...
6710         * BufferView.C: ... here
6711
6712         * BufferView_pimpl.C:
6713         * factory.C: move more inset creation to factory
6714
6715         * vspace.C: avoid direct usage of LyXText, ws changes
6716
6717         * BufferView.[Ch]:
6718                 don't provide direct access to WorkArea, use two simple
6719                 acessors haveSelction() and workHeight() instead
6720
6721
6722 2002-08-29  John Levon  <levon@movementarian.org>
6723
6724         * BufferView_pimpl.C (dispatch): do not continue when
6725           no buffer
6726
6727 2002-08-28  André Pönitz <poenitz@gmx.net>
6728
6729         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6730
6731         * BufferView.h:
6732         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6733
6734 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6735
6736         * buffer.C: increment LYX_FORMAT to 221
6737
6738         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6739         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6740
6741         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6742
6743         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6744
6745 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6746
6747         * factory.C (createInset): use LyXTextClass::floats
6748
6749         * MenuBackend.C (expandFloatListInsert):
6750         (expandFloatInsert):
6751         (expandToc):
6752
6753         * text2.C (setCounter):
6754
6755         * LaTeXFeatures.C (useFloat):
6756         (getFloatDefinitions):
6757
6758         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6759
6760         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6761         floatlist_, with accessor floats().
6762
6763         * FloatList.h: remove global FloatList
6764
6765 2002-08-26  André Pönitz <poenitz@gmx.net>
6766
6767         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6768
6769         * BufferView.h:
6770         * BufferView2.C:
6771         * BufferView_pimpl.C:
6772         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6773
6774 2002-08-25  John Levon  <levon@movementarian.org>
6775
6776         * LyXAction.C: fix margin note description
6777
6778 2002-08-24  John Levon  <levon@movementarian.org>
6779
6780         * buffer.C:
6781         * bufferlist.C:
6782         * bufferview_funcs.C:
6783         * lyxfont.C:
6784         * undo_funcs.C: cleanups
6785
6786         * lyxfunc.C: disable CUT/COPY when no selection
6787
6788 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6789
6790         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6791         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6792
6793         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6794         Add backward compatibility to "mono", "gray" and "no".
6795
6796 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6797
6798         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6799         (and file_format >= 200).
6800
6801 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6802
6803         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6804
6805 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6806
6807         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6808
6809 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6810
6811         * BufferView_pimpl.C:
6812         * LyXAction.C:
6813         * buffer.C:
6814         * commandtags.h:
6815         * lyxfunc.C:
6816         * paragraph.[Ch]:
6817         * text2.C:
6818         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6819         inset and code to make it  work with the paragraph code. The inset
6820         can be anywhere in the paragraph, but will only do the expected
6821         thing in LaTeX if the layout file contains the parameter line
6822                         OptionalArgs    1
6823         (or more generally, a nonzero value) for that layout.
6824
6825 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * paragraph.h: remove the declaration of undefined counters class
6828         function.
6829
6830 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6831
6832         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6833         Dr. Richard Hawkins.
6834
6835 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6836
6837         * paragraph_funcs.h: remove some unneeded includes
6838
6839         * text.C (backspace): pasteParagraph now in global scipe
6840
6841         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6842         (pasteSelection): ditto
6843
6844         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6845         * paragraph_funcs.C (pasteParagraph): ... here
6846
6847 2002-08-20  André Pönitz <poenitz@gmx.net>
6848
6849         * commandtags.h: new LFUNs for swapping/copying table row/colums
6850
6851         * LyXAction.C:
6852         * lyxfunc.C: support for new lfuns
6853
6854 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * tabular.C:
6857         * buffer.[Ch]: remove NO_COMPABILITY stuff
6858
6859 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * boost.C (throw_exception): new file, with helper function for
6862         boost compiled without exceptions.
6863
6864         * paragraph.h:
6865         * lyxlength.C:
6866         * buffer.C:
6867         * ParameterStruct.h:
6868         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6869
6870         * bufferlist.C (emergencyWriteAll): use boost bind
6871
6872         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6873
6874         * text.C: include paragraph_funcs.h
6875         (breakParagraph): breakParagraph is now in global scope
6876
6877         * paragraph_funcs.[Ch]: new files
6878
6879         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6880         global scope
6881
6882         * buffer.C: include paragraph_funcs.h
6883         (insertStringAsLines): breakParagraph is now in global scope
6884
6885         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6886         paragraph_funcs.C
6887
6888         * CutAndPaste.C: include paragraph_funcs.h
6889         (cutSelection): breakParagraphConservative is now in global scope
6890         (pasteSelection): ditto
6891
6892         * buffer.h: declare oprator== and operator!= for
6893         Buffer::inset_iterator
6894
6895         * bufferlist.C (emergencyWrite): don't use fmt(...)
6896
6897         * text3.C: add using std::endl
6898
6899         * BufferView.C (moveCursorUpdate): remove default arg
6900
6901 2002-08-20  André Pönitz <poenitz@gmx.net>
6902
6903         * buffer.[Ch]: move inline functions to .C
6904
6905         * BufferView2.C:
6906         * BufferView_pimpl.C:
6907         * text.C:
6908         * buffer.[Ch]: use improved inset_iterator
6909
6910         * buffer.C:
6911         * paragraph.[Ch]: write one paragraph at a time
6912
6913 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6914
6915         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6916         style if style is not specified.
6917
6918 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6919
6920         * text2.C (setCounter): when searching for right label for a
6921         caption, make sure to recurse to parent insets (so that a caption
6922         in a minipage in a figure float works) (bug #568)
6923
6924 2002-08-20  André Pönitz <poenitz@gmx.net>
6925
6926         * text3.C: new file for LyXText::dispatch() and helpers
6927
6928         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6929
6930         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6931
6932 2002-08-19  André Pönitz <poenitz@gmx.net>
6933
6934         * lyxtext.h:
6935         * text.C: new LyXText::dispatch()
6936
6937         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6938
6939 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6940
6941         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6942
6943         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6944         Hebrew text.
6945
6946 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6947
6948         * Makefile.am: use $(variables) instead of @substitutions@
6949
6950 2002-08-15  André Pönitz <poenitz@gmx.net>
6951
6952         * lyxfunc.C:
6953         * BufferView_pimpl.C: streamlining mathed <-> outer world
6954         interaction
6955
6956         * commandtags.h:
6957         * LyXAction.C: remove unused LFUN_MATH
6958
6959 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6960
6961         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6962
6963 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * paragraph.C (Paragraph): reformat a bit
6966         (cutIntoMinibuffer): use builtin InsetList function instad of
6967         doing it manually.
6968         (getInset): ditto
6969
6970         * buffer.C: include boost/bind.hpp, add using std::for_each
6971         (writeFileAscii): use ParagraphList iterators
6972         (validate): use for_each for validate traversal of paragraphs
6973         (getBibkeyList): use ParagraphList iterators
6974         (resizeInsets): use for_each to resizeInsetsLyXText for all
6975         paragraphs.
6976         (getParFromID): use ParagraphList iterators
6977
6978         * BufferView2.C (lockInset): use paragraph list and iterators
6979
6980 2002-08-14  John Levon  <levon@movementarian.org>
6981
6982         * lyxserver.C: remove spurious xforms include
6983
6984 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6985
6986         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6987
6988 2002-08-13  André Pönitz <poenitz@gmx.net>
6989
6990         * LyXAction.[Ch]:
6991         * lyxfunc.C: further cleaning
6992
6993 2002-08-13  André Pönitz <poenitz@gmx.net>
6994
6995         * funcrequest.h: new constructor
6996
6997         * funcrequest.C: move stuff here from .h
6998
6999         * Makefile.am:
7000         * BufferView_pimpl.C:
7001         * LyXAction.C:
7002         * toc.C:
7003         * lyxfunc.C: subsequent changes
7004
7005         * lyxfunc.h: new view() member function
7006
7007         * lyxfunc.C: subsequent changes
7008
7009 2002-08-13  Angus Leeming  <leeming@lyx.org>
7010
7011         * BufferView2.C:
7012         * BufferView_pimpl.C:
7013         * buffer.C:
7014         * converter.C:
7015         * importer.C:
7016         * lyxfunc.C:
7017         * lyxvc.C:
7018         * toc.C:
7019         * vc-backend.C:
7020         changes due to the changed LyXView interface that now returns references
7021         to member variables not pointers.
7022
7023 2002-08-13  Angus Leeming  <leeming@lyx.org>
7024
7025         * WordLangTuple (word, lang_code): return references to strings,
7026         not strings.
7027
7028         * BufferView.h:
7029         * SpellBase.h:
7030         * lyxtext.h: forward-declare WordLangTuple.
7031
7032         * BufferView2.C:
7033         * ispell.C:
7034         * pspell.C:
7035         * text.C: #include "WordLangTuple.h".
7036
7037         * lyxtext.h:
7038         * text.C: (selectNextWordToSpellcheck): constify return type.
7039
7040 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7041
7042         * buffer.C:
7043         * buffer.h:
7044         * lyxtext.h:
7045         * paragraph.C:
7046         * paragraph_pimpl.h:
7047         * text.C:
7048         * text2.C:
7049         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7050         suggested by Angus.
7051         Made updateCounter always count from start of buffer, and removed
7052         second argument (par).
7053         Reverted floats number display to '#'. Perhaps I'll try again when the
7054         code base is sanitized a bit.
7055
7056 2002-08-12  Angus Leeming  <leeming@lyx.org>
7057
7058         * buffer.[Ch] (getLabelList): constify.
7059
7060 2002-08-07  André Pönitz <poenitz@gmx.net>
7061
7062         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7063
7064         * funcrequest.h: extension to keep mouse (x,y) position
7065
7066 2002-08-12  Juergen Vigna  <jug@sad.it>
7067
7068         * BufferView2.C (insertErrors): forbid undo when inserting error
7069         insets.
7070
7071         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7072
7073 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7074
7075         * ParagraphList.[Ch]: new files
7076
7077         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7078
7079         * BufferView2.C (lockInset): ParagraphList changes
7080         * toc.C: ditto
7081         * text2.C: ditto
7082         * bufferlist.C: ditto
7083         * buffer.h: ditto
7084         * buffer.C: ditto
7085
7086 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7087
7088         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7089         unused class variable counter_,
7090
7091         * paragraph.[Ch] (getFirstCounter): delete unused function
7092
7093         * counters.C: include LAssert.h
7094         (reset): add a new function with no arg, change other version to
7095         not have def. arg and to not allow empty arg.
7096
7097         * text2.C (setCounter): remove empty arg from call to Counters::reset
7098
7099 2002-08-11  John Levon  <levon@movementarian.org>
7100
7101         * Makefile.am: add WordLangTuple.h
7102
7103 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7106         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7107
7108         * insets/insettext.C: InsetList changes
7109
7110         * graphics/GraphicsSupport.C (operator()): InsetList changes
7111
7112         * toc.C (getTocList): InsetList changes
7113
7114         * paragraph_pimpl.[Ch]: InsetList changes
7115
7116         * paragraph.[Ch]: InsetList changes
7117
7118         * buffer.C (inset_iterator): InsetList changes
7119         (setParagraph): ditto
7120         * buffer.h (inset_iterator): ditto
7121         * iterators.C (operator++): ditto
7122         * iterators.h: ditto
7123
7124         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7125
7126         * InsetList.[Ch]: new files, most InsetList handling moved out of
7127         paragraph.C.
7128
7129         * BufferView2.C (removeAutoInsets): InsetList changes
7130         (lockInset): ditto
7131         (ChangeInsets): ditto
7132
7133 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7134
7135         * paragraph_pimpl.h (empty): new function
7136
7137         * paragraph.[Ch] (empty): new function
7138
7139         * other files: use the new Paragraph::empty function
7140
7141 2002-08-09  John Levon  <levon@movementarian.org>
7142
7143         * lyxtext.h: remove unused refresh_height
7144
7145 2002-08-09  John Levon  <levon@movementarian.org>
7146
7147         * Makefile.am:
7148         * sgml.h:
7149         * sgml.C:
7150         * buffer.C:
7151         * paragraph.h:
7152         * paragraph.C: move sgml char escaping out of paragraph
7153
7154         * paragraph.h:
7155         * paragraph.C: remove id setter
7156
7157         * buffer.C:
7158         * paragraph.C:
7159         * paragraph_pimpl.C: remove dead tex_code_break_column
7160
7161         * bufferview_funcs.C: small cleanup
7162
7163         * lyxfunc.C: remove dead proto
7164
7165         * lyxtext.h: make some stuff private. Remove some dead stuff.
7166
7167         * lyxgluelength.C: make as[LyX]String() readable
7168
7169 2002-08-08  John Levon  <levon@movementarian.org>
7170
7171         * LyXAction.h:
7172         * LyXAction.C:
7173         * MenuBackend.C:
7174         * ToolbarDefaults.C:
7175         * lyxfunc.C:
7176         * lyxrc.C:
7177         * toc.C: lyxaction cleanup
7178
7179 2002-08-08  John Levon  <levon@movementarian.org>
7180
7181         * BufferView2.C: small cleanup
7182
7183         * lyxfind.h:
7184         * lyxfind.C: move unnecessary header into the .C
7185
7186 2002-08-08  John Levon  <levon@movementarian.org>
7187
7188         * funcrequest.h: just tedious nonsense
7189
7190         * lyx_main.h:
7191         * lyx_main.C: cleanups
7192
7193         * buffer.C:
7194         * vspace.C: remove dead header lyx_main.h
7195
7196 2002-08-07  Angus Leeming  <leeming@lyx.org>
7197
7198         * Paragraph.[Ch]:
7199         * paragraph_pimpl.h:
7200         Forward declare class Counters in paragraph.h by moving the ctrs member
7201         variable into Paragraph::Pimpl.
7202         (counters): new method, returning a reference to pimpl_->ctrs.
7203
7204         * text2.C: ensuing changes.
7205
7206 2002-08-07  John Levon  <levon@movementarian.org>
7207
7208         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7209
7210         * BufferView_pimpl.C: announce X selection on double/triple
7211           click
7212
7213         * lyx_main.C: use correct bool in batch dispatch
7214
7215         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7216
7217 2002-08-07  André Pönitz <poenitz@gmx.net>
7218
7219         * funcrequest.h: new class to wrap a kb_action and its argument
7220
7221         * BufferView.[Ch]:
7222         * BufferView_pimpl[Ch]:
7223         * LaTeX.C:
7224         * LyXAction.[Ch]:
7225         * lyxfunc.[Ch]:
7226         * lyxrc.C: subsequent changes
7227
7228
7229 2002-08-07  John Levon  <levon@movementarian.org>
7230
7231         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7232           document options change.
7233
7234 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7235
7236         * counters.[Ch]
7237         * text2.C
7238         * paragraph.[Ch]
7239         * makefile.am: move counters functionality over from
7240         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7241
7242 2002-08-06  John Levon  <levon@movementarian.org>
7243
7244         * WordLangTuple.h: new file for word + language code tuple
7245
7246         * SpellBase.h:
7247         * pspell.h:
7248         * pspell.C:
7249         * ispell.h:
7250         * ispell.C:
7251         * lyxtext.h:
7252         * text.C:
7253         * text2.C:
7254         * BufferView.h:
7255         * BufferView2.C: use WordLangTuple
7256
7257         * layout.h:
7258         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7259
7260 2002-08-06  John Levon  <levon@movementarian.org>
7261
7262         * lyx_main.C: fix cmdline batch handling
7263
7264 2002-08-06  André Pönitz <poenitz@gmx.net>
7265
7266         * lyxrc.C: set default for show_banner to true
7267
7268 2002-08-06  John Levon  <levon@movementarian.org>
7269
7270         * pspell.C: fix a crash, and allow new aspell to work
7271
7272 2002-08-06  John Levon  <levon@movementarian.org>
7273
7274         * lyxfunc.C:
7275         * kbmap.C: small cleanup
7276
7277         * vspace.h:
7278         * vspace.C: add const
7279
7280 2002-08-05  John Levon  <levon@movementarian.org>
7281
7282         * LyXAction.C: back to tabular-insert
7283
7284 2002-08-04  John Levon  <levon@movementarian.org>
7285
7286         * BufferView.h:
7287         * BufferView.C: cosmetic change
7288
7289         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7290
7291         * bufferlist.C:
7292         * buffer.h:
7293         * buffer.C:
7294         * lyxcb.h:
7295         * lyxcb.C:
7296         * lyxserver.C:
7297         * lyxvc.C:
7298         * vc-backend.C:
7299         * BufferView2.C: purge all "Lyx" not "LyX" strings
7300
7301         * lyxcursor.h:
7302         * lyxcursor.C: attempt to add some documentation
7303
7304         * lyxfunc.C:
7305         * commandtags.h:
7306         * LyXAction.C:
7307         * ToolbarDefaults.C:
7308         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7309           merge with LFUN_TABULAR_INSERT
7310
7311         * Makefile.am:
7312         * SpellBase.h:
7313         * ispell.h:
7314         * ispell.C:
7315         * pspell.h:
7316         * pspell.C: split up i/pspell implementations into separate
7317           files, many cleanups
7318
7319         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7320
7321         * text2.C: some cleanup
7322
7323         * lyxfunc.C: don't check for isp_command == "none" any more, it
7324           didn't make any sense
7325
7326 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7327
7328         * counters.[Ch]
7329         * text2.C
7330         * paragraph.[Ch]
7331         * makefile.am: move counters functionality over
7332         from text2.C/paragraph.[Ch] to counters.[Ch], and
7333         make proper C++.
7334 2002-08-02  John Levon  <levon@movementarian.org>
7335
7336         * buffer.C: s/lyxconvert/lyx2lyx/
7337
7338 2002-08-02  Angus Leeming  <leeming@lyx.org>
7339
7340         * lyxlex.C: revert John's change as it breaks reading of the user
7341         preamble.
7342
7343 2002-08-02  Angus Leeming  <leeming@lyx.org>
7344
7345         * importer.C (Import):
7346         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7347         changes due to LyXView::view() now returning a boost::shared_ptr.
7348
7349 2002-08-02  John Levon  <levon@movementarian.org>
7350
7351         * lyxlex.C: small cleanup
7352
7353 2002-08-02  John Levon  <levon@movementarian.org>
7354
7355         * text2.C (status): small cleanup, no logic change
7356
7357 2002-08-01  John Levon  <levon@movementarian.org>
7358
7359         * buffer.h:
7360         * buffer.C (writeFile): don't output alerts, caller
7361           handles this
7362
7363         * bufferlist.C:
7364         * lyx_cb.C: from above
7365
7366         * lyxfunc.C: allow to open non-existent files
7367
7368 2002-07-31  John Levon  <levon@movementarian.org>
7369
7370         * lyxserver.C: don't let incidental errors get
7371           in the way (errno)
7372
7373 2002-07-30  John Levon  <levon@movementarian.org>
7374
7375         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7376
7377 2002-07-30  John Levon  <levon@movementarian.org>
7378
7379         * lyxserver.h:
7380         * lyxserver.C: remove I/O callback too
7381
7382 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7383
7384         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7385         log.
7386
7387 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * many files: strip,frontStrip -> trim,ltrim,rtrim
7390
7391 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * PrinterParams.h: remove extern containsOnly, and include
7394         support/lstrings.h instead.
7395
7396         * LaTeX.C (scanAuxFile): modify because of strip changes
7397         (deplog): ditto
7398         * buffer.C (makeLaTeXFile): ditto
7399         * bufferparams.C (writeFile): ditt
7400         * lyxfont.C (stateText): ditto
7401         * lyxserver.C (read_ready): ditto
7402         * vc-backend.C (scanMaster): ditto
7403
7404         * BufferView_pimpl.h: ws changes
7405
7406         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7407
7408 2002-07-26  André Pönitz <poenitz@gmx.net>
7409
7410         * kb_sequence.C: remove unnedred usings
7411
7412 2002-07-26  Juergen Vigna  <jug@sad.it>
7413
7414         * lyxfind.C (LyXReplace): we have to check better if the returned
7415         text is not of theLockingInset()->getLockingInset().
7416
7417 2002-07-25  Juergen Vigna  <jug@sad.it>
7418
7419         * lyxfind.C (LyXReplace): don't replace if we don't get the
7420         right LyXText.
7421
7422         * undo_funcs.C (createUndo): remove debugging code.
7423
7424 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7425
7426         * buffer.C (parseSingleLyXformat2Token): Use default placement
7427         when reading old floats.
7428
7429         * FloatList.C (FloatList): Change the default placement of figure
7430         and tables to "tbp".
7431
7432 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7433
7434         * MenuBackend.C: using std::max
7435
7436 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7437
7438         * MenuBackend.C (expandToc):
7439         (expandToc2): code moved from xforms menu frontend. It is now
7440         generic and TOCs are transparent to menu frontends.
7441
7442 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7443
7444         * toc.C (getTocList): protect against buf=0
7445
7446         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7447         Menu as first parameter. Now, this calls itself recursively to
7448         expand a whole tree (this will be useful for TOC handling)
7449         (expandFloatInsert): remove 'wide' version of floats
7450
7451         * MenuBackend.h (submenuname): returns the name of the submenu.
7452         (submenu): returns the submenu itself, provided it has been
7453         created by MenuBackend::expand
7454
7455 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7456
7457         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7458         insets which have noFontChange == true. (bug #172)
7459
7460 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7461
7462         * BufferView_pimpl.C: add connection objects and use them...
7463         (Pimpl): here.
7464
7465 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * MenuBackend.C (expandLastfiles):
7468         (expandDocuments):
7469         (expandFormats):
7470         (expandFloatListInsert):
7471         (expandFloatInsert):
7472         (expand): split expand in parts
7473
7474 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7475
7476         * lyx_gui.C: use lyx_gui::exit()
7477
7478 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7479
7480         * LyXAction.C: show the failing pseudo action
7481
7482 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7483
7484         * buffer.C (readFile): Run the lyxconvert script in order to read
7485         old files.
7486
7487 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7488
7489         * LyXAction.C:
7490         * commandtags.h:
7491         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7492
7493 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * LyXAction.C:
7496         * commandtags.h:
7497         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7498
7499 2002-07-22  Herbert Voss  <voss@lyx.org>
7500
7501         * lengthcommon.C:
7502         * lyxlength.[Ch]: add support for the vertical lengths
7503
7504 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7505
7506         * toc.[Ch]: std:: fixes
7507
7508 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7509
7510         * lyxrc.C: do not include lyx_main.h
7511
7512         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7513         for layouts
7514
7515         * lyxrc.C:
7516         * encoding.C:
7517         * bufferlist.C:
7518         * BufferView2.C: include "lyxlex.h"
7519
7520         * tabular.h:
7521         * bufferparams.h: do not #include "lyxlex.h"
7522
7523         * lyxtextclasslist.C (Add): remove method
7524         (classlist): renamed to classlist_
7525
7526         * paragraph_pimpl.C:
7527         * paragraph.C:
7528         * text2.C:
7529         * CutAndPaste.C:
7530         * bufferview_funcs.C:
7531         * bufferlist.C:
7532         * text.C:
7533         * LaTeXFeatures.C:
7534         * buffer.C:
7535         * toc.C (getTocList): use BufferParams::getLyXTextClass
7536
7537         * toc.C (getTocList): use InsetFloat::addToToc
7538
7539         * toc.[Ch]: new files, containing helper functions to handle table
7540         of contents
7541
7542         * lyxfunc.C (dispatch): no need to remove spaces around command
7543         given as a string
7544         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7545         first command of the sequence; it is not very clever, but I do not
7546         have a better idea, actually
7547
7548         * LyXAction.C (LookupFunc): make sure to remove space at the
7549         beginning and end of the command
7550
7551 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7552
7553         * MenuBackend.C (getMenubar): new method: return the menubar of
7554         this menu set
7555         (read): treat differently reading of menu and menubar (in
7556         particular, the menubar has no name now)
7557         (Menu::menubar): remove
7558
7559         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7560         saving is finished
7561
7562 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7565         a bibitem inset in a RTL paragraph.
7566
7567 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7568
7569         * paragraph_pimpl.C: constify
7570
7571         * BufferView_pimpl.C:
7572         * LaTeX.C:
7573         * lyxfunc.C: fix dispatch in a nicer way
7574
7575 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7576
7577         * lyxfunc.C (dispatch):
7578         * BufferView_pimpl.C:
7579         * BufferView_pimpl.h:
7580         * BufferView.C:
7581         * BufferView.h: rename Dispatch() to dispatch()
7582
7583         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7584
7585         * lyxlayout.C (Read): honor DependsOn tag
7586
7587         * lyxlayout.[Ch] (depends_on): new method
7588
7589         * version.C.in: update lyx_docversion
7590
7591         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7592
7593         * paragraph.C (validate): remove from here...
7594         * paragraph_pimpl.C (validate): ... and move here
7595         (isTextAt): make it const
7596
7597         * buffer.C (getLists): ws cleanup
7598
7599 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7600
7601         * language.C (read): Use iso8859-1 encoding in latex_lang
7602         (this prevents LyX from crashing when using iso10646-1 encoding).
7603
7604 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7605
7606         * text2.C (toggleInset): if cursor is inside an inset, close the
7607         inset and leave cursor _after_ it
7608
7609 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7610
7611         * lyxfunc.C: move minibuffer completion handling out of here
7612
7613 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7614
7615         * BufferView_pimpl.C:
7616         * LaTeX.C: fix dispatch calls
7617
7618 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * text.C (drawChars): Fix Arabic text rendering.
7621
7622 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7623
7624         * LyXAction.C:
7625         * commandtags.h:
7626         * lyxfunc.C: remove message-push/pop
7627
7628         * lyxserver.C:
7629         * lyxfunc.h:
7630         * lyxfunc.C: rationalise some code by removing verboseDispatch
7631           in favour of a bool argument to dispatch()
7632
7633 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7634
7635         * lyx_main.C (init): make sure to read symlinks as absolute paths
7636
7637 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7638
7639         * lyxfunc.h:
7640         * lyxfunc.C: no need for commandshortcut to be a member
7641
7642 2002-07-15  André Pönitz <poenitz@gmx.net>
7643
7644         * converter.C: add support for $$s (scripts from lib/scripts dir)
7645         * lyx_main.C: white space
7646
7647 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7648
7649         * bufferlist.C:
7650         * lyxrc.h:
7651         * lyxrc.C: remove second exit confirmation
7652
7653 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7654
7655         * BufferView.h:
7656         * BufferView.C:
7657         * BufferView2.C:
7658         * BufferView_pimpl.h:
7659         * BufferView_pimpl.C:
7660         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7661
7662 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7663
7664         * MenuBackend.C (expand): add numeric shortcuts to document menu
7665
7666         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7667
7668 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7669
7670         * lyxfont.C (setLyXFamily):
7671         (setLyXSeries):
7672         (setLyXShape):
7673         (setLyXSize):
7674         (setLyXMisc):
7675         (lyxRead):
7676         * debug.C (value):
7677         * buffer.C (asciiParagraph): use ascii_lowercase
7678
7679 2002-07-15  Mike Fabian  <mfabian@suse.de>
7680
7681         * lyxlex_pimpl.C (search_kw):
7682         * lyxlex.C (getLongString):
7683         * converter.h (operator<):
7684         * converter.C (operator<):
7685         * buffer.C (parseSingleLyXformat2Token):
7686         (asciiParagraph):
7687         * ToolbarDefaults.C (read):
7688         * MenuBackend.C (checkShortcuts):
7689         (read):
7690         * LColor.C (getFromGUIName):
7691         (getFromLyXName): use the compare_ascii_no_case instead of
7692         compare_no_case, because in turkish, 'i' is not the lowercase
7693         version of 'I', and thus turkish locale breaks parsing of tags.
7694
7695 2002-07-16  Angus Leeming  <leeming@lyx.org>
7696
7697         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7698         now takes a Buffer const & argument.
7699
7700 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7701
7702         * BufferView.C (resize): check there's a buffer to resize
7703
7704 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7705
7706         * lyxfunc.C: remove dead code
7707
7708         * lyxserver.h:
7709         * lyxserver.C: use lyx_guii::set_read_callback
7710
7711 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7712
7713         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7714         an inset in a RTL paragraph.
7715
7716 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7717
7718         * lyxfunc.C: repaint after a font size update
7719
7720 2002-07-15  André Pönitz <poenitz@gmx.net>
7721
7722         * lyxlength.C: inBP should be able to return negative values
7723
7724 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7725
7726         * lyxfunc.C: use lyx_gui::update_fonts()
7727
7728 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7729
7730         * lyxfunc.C: use lyx_gui::update_color()
7731
7732 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7733
7734         * bufferlist.C:
7735         * lyxfunc.h:
7736         * lyxfunc.C:
7737         * lyxrc.h:
7738         * lyxrc.C: remove file->new asks for name option, and let
7739           buffer-new take an argument
7740
7741 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7742
7743         * BufferView_pimpl.C: remove unneeded extra repaint()
7744
7745 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7746
7747         * LyXAction.C: allow command-sequence with NoBuffer
7748
7749         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7750
7751 2002-07-10  Angus Leeming  <leeming@lyx.org>
7752
7753         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7754
7755 2002-07-09  Angus Leeming  <leeming@lyx.org>
7756
7757         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7758
7759 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7760
7761         * lengthcommon.h: whitespace
7762
7763         * lyxfunc.C: update scrollbar after goto paragraph
7764
7765         * lyxtext.h: factor out page break drawing, and fix it so
7766           page break/added space paints as selected nicely
7767
7768 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7769
7770         * BufferView_pimpl.C: add FIXMEs, clean up a little
7771
7772 2002-07-09  André Pönitz <poenitz@gmx.net>
7773
7774         * lyxfont.[Ch]: support for wasy symbols
7775
7776 2002-07-08  André Pönitz <poenitz@gmx.net>
7777
7778         * BufferView_pimpl.C: apply John's patch for #93.
7779
7780 2002-07-05  Angus Leeming  <leeming@lyx.org>
7781
7782         * BufferView_pimpl.C (buffer): generate previews if desired.
7783
7784         * LColor.h: add "preview" to the color enum.
7785
7786         * LColor.C (LColor): add a corresponding entry to the items array.
7787
7788         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7789         with this buffer.
7790
7791 2002-07-05  Angus Leeming  <leeming@lyx.org>
7792
7793         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7794         The body of the code is now in the method that is passed an ostream &
7795         rather than a file name.
7796         Pass an additional only_preamble parameter, useful for the forthcoming
7797         preview stuff.
7798
7799 2002-07-03  André Pönitz <poenitz@gmx.net>
7800
7801         * lyxfunc.C: simplify getStatus() a bit for math stuff
7802
7803 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7804
7805         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7806
7807 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * text.C (changeRegionCase): do not change case of all the
7810         document when region ends at paragraph end (bug #461)
7811
7812 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7813
7814         * paragraph.C (startTeXParParams):
7815         (endTeXParParams): add \protect when necessary
7816
7817 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7818
7819         * BufferView_pimpl.C (workAreaExpose): remove warning
7820
7821 2002-06-27  Angus Leeming  <leeming@lyx.org>
7822
7823         * Makefile.am: add lyxlayout_ptr_fwd.h.
7824
7825 2002-06-26  André Pönitz <poenitz@gmx.net>
7826
7827         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7828
7829 2002-06-25  Angus Leeming  <leeming@lyx.org>
7830
7831         * lyxfunc.C (dispatch): Comment out the call to
7832         grfx::GCache::changeDisplay. The method no longer exists now that the
7833         pixmap generation part of the graphics loader has been moved into
7834         InsetGraphics.
7835
7836 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7837
7838         * text2.C: layout as layout
7839
7840         * text.C: layout as layout
7841
7842         * tabular.C (OldFormatRead): layout as layout
7843
7844         * paragraph_pimpl.C (TeXDeeper): layout as layout
7845         (realizeFont): layout as layout
7846
7847         * paragraph.C (writeFile): layout as layout
7848         (validate): layout as layout
7849         (getFont): layout as layout
7850         (getLabelFont): layout as layout
7851         (getLayoutFont): layout as layout
7852         (breakParagraph): layout as layout
7853         (stripLeadingSpaces): layout as layout
7854         (getEndLabel): layout as layout
7855         (getMaxDepthAfter): layout as layout
7856         (applyLayout): layout as layout
7857         (TeXOnePar): layout as layout
7858         (simpleTeXOnePar): layout as layout
7859         (TeXEnvironment): layout as layout
7860         (layout): layout as layout
7861         (layout): layout as layout
7862
7863         * lyxtextclass.C (compare_name): new functor to work with
7864         shared_ptr, layout as layout
7865         (Read): layout as layout
7866         (hasLayout): layout as layout
7867         (operator): layout as layout
7868         (delete_layout): layout as layout
7869         (defaultLayout): layout as layout
7870
7871         * lyxlayout_ptr_fwd.h: new file
7872
7873         * lyxlayout.C (Read): layout as layout
7874
7875         * lyx_cb.C (MenuInsertLabel): layout as layout
7876
7877         * bufferlist.C (newFile): layout as layout
7878
7879         * buffer.C (readLyXformat2): layout as layout
7880         (parseSingleLyXformat2Token): layout as layout
7881         (insertStringAsLines): layout as layout
7882         (asciiParagraph): layout as layout
7883         (latexParagraphs): layout as layout
7884         (makeLinuxDocFile): layout as layout
7885         (simpleLinuxDocOnePar): layout as layout
7886         (makeDocBookFile): layout as layout
7887         (simpleDocBookOnePar): layout as layout
7888         (getLists): layout as layout
7889
7890         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7891
7892         * CutAndPaste.C (cutSelection): layout as layout
7893         (pasteSelection): layout as layout
7894         (SwitchLayoutsBetweenClasses): layout as layout
7895
7896         * BufferView_pimpl.C (Dispatch): layout as layout
7897         (smartQuote): layout as layout
7898
7899         * BufferView2.C (unlockInset): layout as layout
7900
7901 2002-06-24  André Pönitz <poenitz@gmx.net>
7902
7903         * lyxfunc.C: fix #487
7904
7905 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * lyxrc.h:
7908         * lyxrc.C:
7909         * lyxfunc.C: remove display_shortcuts, show_banner
7910
7911 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * Buffer_pimpl.C: oops, update on resize
7914
7915 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7916
7917         * buffer.C:
7918         * converter.C:
7919         * exporter.C:
7920         * lyxfunc.C:
7921         * BufferView.h:
7922         * BufferView.C: use repaint()
7923
7924         * BufferView_pimpl.h:
7925         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7926           as it's a clearer description. Remove superfluous
7927           redraws.
7928
7929 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7930
7931         * text.C: fix bug 488. Not ideal, but getting
7932           getWord() to work properly for the insets that
7933           matter is more difficult ...
7934
7935 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7936
7937         * BufferView_pimpl.C:
7938         * LyXAction.C:
7939         * commandtags.h:
7940         * lyxfunc.C: remove the six million index lyxfuncs to just
7941           one, and DTRT (bug 458)
7942
7943 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7944
7945         * BufferView.h:
7946         * BufferView.C:
7947         * BufferView_pimpl.h:
7948         * BufferView_pimpl.C: clean up resize() stuff,
7949           and unnecessary updateScreen()s
7950
7951 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * BufferView.h:
7954         * BufferView.C:
7955         * BufferView_pimpl.h:
7956         * BufferView_pimpl.C:
7957         * lyxfind.h:
7958         * lyxfind.C:
7959         * minibuffer.C: remove focus management of workarea,
7960           not needed. Use screen's greyOut()
7961
7962 2002-06-17  Herbert Voss  <voss@lyx.org>
7963
7964         * converter.C: (convert) do not post a message, when converting
7965         fails, let the calling function decide what to do in this case
7966
7967 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7968
7969         * lyxfunc.C: tidy up a little
7970
7971 2002-06-16    <alstrup@diku.dk>
7972
7973         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7974         Got rid of FORMS_H_LOCATION include. Now we are
7975         GUII.
7976
7977 2002-06-15  LyX Development team  <lyx@rilke>
7978
7979         * buffer.[Ch] (sgmlOpenTag):
7980         (sgmlCloseTag): Added support for avoiding pernicious mixed
7981         content. Return number of lines written.
7982
7983         (makeLinuxDocFile):
7984         (makeDocBookFile): Fixed calls to sgml*Tag.
7985         Simple white space clean.
7986
7987         (simpleDocBookOnePar): Simple white space clean.
7988
7989         * tabular.[Ch] (docBook): Renamed to docbook and got another
7990         argument to related with the pernicious mixed content.
7991
7992         (docbookRow): Fixed calls for docbook inset method.
7993
7994 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7995
7996         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7997         so it's X11 independent.
7998
7999         * kb*.[Ch]: ditto.
8000
8001         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8002
8003 2002-06-15  Lyx Development team  <lyx@electronia>
8004
8005         * intl.h: Renamed getTrans to getTransManager.
8006
8007 2002-06-14  Angus Leeming  <leeming@lyx.org>
8008
8009         * Makefile.am: nuke forgotten stl_string_fwd.h.
8010
8011 2002-06-12  Angus Leeming  <leeming@lyx.org>
8012
8013         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8014
8015 2002-06-13  Angus Leeming  <leeming@lyx.org>
8016
8017         * LaTeX.C:
8018         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8019
8020 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8021
8022         * kbmap.C (getiso): add support for cyrillic and greek
8023
8024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8025
8026         * BufferView.h:
8027         * BufferView.C:
8028         * BufferView_pimpl.h:
8029         * BufferView_pimpl.C: move bogus scrolling logic
8030           to xforms
8031
8032 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * lyxfunc.C:
8035         * BufferView_pimpl.C: view->resize() change
8036
8037 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8038
8039         * BufferView_pimpl.C: topCursorVisible
8040           prototype change
8041
8042 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * Makefile.am:
8045         * lyx_gui.h:
8046         * lyx_gui.C: move to frontends/
8047
8048         * main.C:
8049         * lyx_main.h:
8050         * lyx_main.C: changes from above
8051
8052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * intl.C:
8055         * intl.h:
8056         * kbmap.C:
8057         * kbsequence.C:
8058         * lyx_cb.C:
8059         * lyx_main.C: minor tidy
8060
8061 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8062
8063         * BufferView_pimpl.h:
8064         * BufferView_pimpl.C:
8065         * BufferView.h:
8066         * BufferView.C: make painter() const,
8067           remove dead code
8068
8069         * BufferView2.C: use screen() accessor
8070
8071         * lyx_main.h:
8072         * lyx_main.C: some minor cleanup
8073
8074 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * BufferView_pimpl.h:
8077         * BufferView_pimpl.C: remove enter/leaveView,
8078           use workHeight()
8079
8080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * BufferView.h:
8083         * BufferView.C:
8084         * BufferView2.C:
8085         * BufferView_pimpl.h:
8086         * BufferView_pimpl.C: only construct screen once,
8087           rename
8088
8089         * lyxrc.C: remove pointless comment
8090
8091 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8092
8093         * BufferView.h:
8094         * BufferView.C: remove active() and belowMouse()
8095
8096         * BufferView_pimpl.h:
8097         * BufferView_pimpl.C: use workarea() not workarea_,
8098           and make it use a scoped_ptr instead
8099
8100 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * lyx_gui.C: add debug message on BadWindow
8103
8104 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8105
8106         * sp_spell.C: fdopen is not part of the C++ standard.
8107
8108         * paragraph.C (InsetIterator): use >= instead of ==
8109
8110 2002-06-07  Angus Leeming  <leeming@lyx.org>
8111
8112         Fixes needed to compile with Compaq cxx 6.5.
8113         * BufferView_pimpl.C:
8114         * DepTable.C:
8115         * buffer.C:
8116         * converter.C:
8117         * encoding.C:
8118         * lyx_gui.C:
8119         * lyx_main.C:
8120         * lyxtextclasslist.C:
8121         * minibuffer.C:
8122         * sp_spell.C:
8123         * tabular_funcs.C:
8124         * vc-backend.C:
8125         all c-library variables have been moved into namespace std. Wrap
8126         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8127
8128         * lyxlength.C:
8129         * tabular-old.C:
8130         * tabular.C:
8131         Add a using std::abs declaration.
8132
8133         * kbmap.h (modifier_pair):
8134         * paragraph.h (InsetTable, InsetList):
8135         * lyxfont.h (FontBits):
8136         type definition made public.
8137
8138         * bufferlist.C (emergencyWriteAll): the compiler complains that
8139         there is more than one possible lyx::class_fun template to choose from.
8140         I re-named the void specialisation as lyx::void_class_fun.
8141
8142         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8143
8144         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8145         the compiler is is unable to find tostr in write_attribute.
8146
8147 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8148
8149         * buffer.C (sgmlError): hide #warning
8150
8151 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8152
8153         * xtl/*: get rid of xtl, which is not in use anyway
8154
8155         * LyXAction.C (init):
8156         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8157         were unimplemented xtl experimentation
8158
8159 2002-06-04  André Pönitz <poenitz@gmx.net>
8160
8161         * lyxfunc.C: disable array operation on simple formulae
8162
8163 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * converter.C: constify a bit
8166
8167 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * lyx_gui.C: check xforms version correctly
8170
8171 2002-04-30  Herbert Voss  <voss@lyx.org>
8172
8173         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8174         "keep" option
8175
8176 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8179           attempt to register it with a VCS)
8180
8181 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * lyx_main.C (init): honor variables LYX_DIR_13x and
8184         LYX_USERDIR_13x
8185
8186 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8187
8188         * buffer.h:
8189         * buffer.C:
8190         * lyx_main.C: fix a crash on bad command line,
8191           and give a useful exit status on error
8192
8193         * lyxfunc.C (doImport): allow -i lyx to work
8194
8195 2002-03-30  André Pönitz <poenitz@gmx.net>
8196
8197         * lyxfunc.C: mathed font changes
8198
8199 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8200
8201         * LaTeX.C:
8202         * importer.h:
8203         * importer.C:
8204         * lyx_sty.h:
8205         * lyx_sty.C:
8206         * lyxlex.C:
8207         * lyxrow.h:
8208         * lyxtext.h:
8209         * paragraph.h:
8210         * paragraph.C:
8211         * texrow.h:
8212         * texrow.C:
8213         * text.C:
8214         * trans_mgr.h: srcdocs, and some minor cleanups
8215
8216 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8217
8218         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8219         call getFont all the time)
8220
8221 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8222
8223         * switch from SigC signals to boost::signals
8224
8225 2002-05-29  André Pönitz <poenitz@gmx.net>
8226
8227         * paragraph_pimpl.C (getChar): don't call size() too often...
8228
8229 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * paragraph_pimpl.C (insertChar): do not try to update tables when
8232         appending (pos == size())
8233
8234         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8235         in order to reduce drastically the number of comparisons needed to
8236         parse a large document
8237
8238 2002-05-29  André Pönitz <poenitz@gmx.net>
8239
8240         * text.C:
8241         * text2.C:
8242         * lyxtextclass.C:
8243         * sp_pspell.h:
8244         * textclasslist.[Ch]:
8245         * sp_ispell.h: whitespace change
8246
8247 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8248
8249         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8250         lyxaction directly now.
8251
8252 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * trans.C:
8255         * lyxfont.C:
8256         * lyxvc.C: remove unused headers
8257
8258 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8259
8260         * Makefile.am:
8261         * buffer.h:
8262         * undostack.h:
8263         * undostack.C:
8264         * undo_funcs.h:
8265         * undo_funcs.C: some cleanups. Use shared_ptr
8266           and a template for the undo stacks.
8267
8268 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8269
8270         * BufferView_pimpl.h:
8271         * BufferView_pimpl.C:
8272         * kbmap.h:
8273         * kbmap.C:
8274         * kbsequence.h:
8275         * kbsequence.C:
8276         * lyxfunc.h:
8277         * lyxfunc.C:
8278         * text2.C: use key_state/mouse_state
8279
8280 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8281
8282         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8283         and LSubstring
8284
8285         * chset.C: change include order
8286         (loadFile): use boost regex and get rid of LRegex and LSubstring
8287
8288         * Makefile.am (BOOST_LIBS): new variable
8289         (lyx_LDADD): use it
8290
8291         * LaTeX.C: change include order.
8292         (scanAuxFile): use boost regex and get rid of LRegex and
8293         LSubstring
8294         (deplog): ditto
8295
8296 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8297
8298         * ColorHandler.h:
8299         * ColorHandler.C:
8300         * FontInfo.h:
8301         * FontInfo.C: moved to frontends/xforms/
8302
8303         * FontLoader.h:
8304         * FontLoader.C: moved into frontends for GUIIzation
8305
8306         * Makefile.am:
8307         * lyx_gui.C:
8308         * lyxfont.C:
8309         * lyxfunc.C: changes from above
8310
8311 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * LColor.C: remove spurious X include
8314
8315         * BufferView_pimpl.C:
8316         * Makefile.am:
8317         * font.h:
8318         * font.C:
8319         * text.C:
8320         * text2.C: move font metrics to frontends/
8321
8322 2002-05-24  Juergen Vigna  <jug@sad.it>
8323
8324         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8325         setting the undo_cursor.
8326
8327         * ParagraphParameters.h: include local includes first.
8328
8329 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * BufferView_pimpl.C:
8332         * BufferView_pimpl.h:
8333         * Makefile.am:
8334         * WorkArea.h:
8335         * WorkArea.C:
8336         * screen.C: move WorkArea into frontends/
8337
8338         * lyxscreen.h:
8339         * screen.C:
8340         * text.C:
8341         * BufferView.C:
8342         * BufferView2.C: move LyXScreen into frontends/
8343
8344         * lyxlookup.h:
8345         * lyxlookup.C:
8346         * lyx_gui.C: move lyxlookup into frontends/xforms/
8347
8348 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * BufferView2.C:
8351         * BufferView_pimpl.C:
8352         * FontLoader.C:
8353         * LyXView.h:
8354         * LyXView.C:
8355         * Makefile.am:
8356         * WorkArea.C:
8357         * XFormsView.h:
8358         * XFormsView.C:
8359         * buffer.C:
8360         * bufferlist.C:
8361         * bufferview_funcs.C:
8362         * converter.C:
8363         * importer.C:
8364         * lyx_cb.C:
8365         * lyx_gui.C:
8366         * lyx_main.C:
8367         * lyx_find.C:
8368         * lyxfunc.C:
8369         * lyxvc.C:
8370         * minibuffer.C:
8371         * text.C:
8372         * text2.C:
8373         * trans.C:
8374         * vc-backend.C: move LyX/XFormsView into frontends/
8375
8376 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8377
8378         * Makefile.am:
8379         * PainterBase.C:
8380         * PainterBase.h:
8381         * Painter.C:
8382         * Painter.h:
8383         * WorkArea.C:
8384         * WorkArea.h:
8385         * screen.C:
8386         * tabular.C:
8387         * text.C:
8388         * text2.C: move Painter to frontends/
8389
8390 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8391
8392         * buffer.C: comment out some some code that depend upon lyx_format
8393         < 220
8394
8395         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8396         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8397
8398         * buffer.h (NO_COMPABILITY): turn off compability
8399
8400         * ColorHandler.C: include scoped_array.hpp
8401
8402         * font.C: Use more specific smart_ptr header.
8403         * Painter.C: ditto
8404         * gettext.C: ditto
8405         * ShareContainer.h: ditto
8406         * lyx_main.h: ditto
8407         * kbmap.h: ditto
8408         * FontInfo.h: ditto
8409         * BufferView_pimpl.h: ditto
8410         * ColorHandler.h: ditto
8411
8412         * kbmap.C (defkey): change call to shared_ptr::reset
8413
8414 2002-05-21  Juergen Vigna  <jug@sad.it>
8415
8416         * buffer.C (insertErtContents): fix to insert ert asis if it is
8417         non empty. Skip it completely if it contains only whitespaces.
8418
8419 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * BufferView_pimpl.C:
8422         * BufferView2.C: clear selection on paste (bug 393)
8423
8424 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8425
8426         * DepTable.C: include ctime
8427
8428 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8429
8430         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8431
8432 2002-05-14  Juergen Vigna  <jug@sad.it>
8433
8434         * text.C (breakParagraph): fixed function to honor the keepempty
8435         layout in the right maner and also to permit the right breaking
8436         algorithm on empty or non empyt keepempty paragraphs.
8437
8438         * paragraph.C (breakParagraph): we have to check also if the par
8439         is really empty (!size()) for isempty otherwise we do the wrong
8440         paragraph break.
8441
8442 2002-05-10  Juergen Vigna  <jug@sad.it>
8443
8444         * buffer.[Ch] : The following are only changes to the ert
8445         compatibility read reading old LaTeX layout and font stuff and
8446         convert it to ERTInsets.
8447
8448         * buffer.h: added isErtInset().
8449
8450         * buffer.C (struct ErtComp): add a fromlayout bool to check
8451         if we're inside a LaTeX layout.
8452         (isErtInset): new helper function.
8453         (insertErtContents): look for other ert insets before this one
8454         and insert the contents there, so that we don't have subsequent
8455         ERT insets with nothing between them. This way we create only one
8456         inset with multiple paragraphs. Also check if we don't insert only
8457         spaces ' ' as they are ignored anyway afterwards in the .tex file
8458         so if we have only spaces we will ignore this latex part in the
8459         new file.
8460         (parseSingleLyXformat2Token \\layout): better compatibility when
8461         reading layout-latex stuff.
8462         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8463         language tag.
8464         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8465         stuff after reading the inset only get the information back from
8466         the stack.
8467
8468 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8471
8472         * LaTeXFeatures.C (getBabelOptions): New method.
8473
8474 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8475
8476         * BufferView_pimpl.C (Dispatch): work around missing argument for
8477         'layout'
8478
8479 2002-05-08  Juergen Vigna  <jug@sad.it>
8480
8481         * text.C (leftMargin): handle paragraph leftindent.
8482
8483         * paragraph.C (writeFile): write the new \\leftindent tag.
8484         (validate): handle leftindent code.
8485         (TeXEnvironment): handle paragraphleftindent code again.
8486
8487         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8488
8489         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8490         for paragrap_extra indent code and new token \\leftindent.
8491         (latexParagraphs): handle the leftindent as environment.
8492
8493         * ParameterStruct.h: added leftindent support.
8494
8495         * ParagraphParameters.C (leftIndent): added support functions for
8496         the paragraph left indent.
8497
8498         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8499         more appropriate.
8500
8501 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8502
8503         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8504         inside insetERT.
8505
8506         * text.C (computeBidiTables): No bidi in insetERT.
8507
8508         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8509         in RTL documents.
8510
8511 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8512
8513         * version.C.in: pre 5
8514
8515 2002-05-02  José Matos  <jamatos@fep.up.pt>
8516         * buffer.C (makeDocBookFile): white space changes, add newline to
8517         command styles.
8518         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8519
8520         * tabular.C (docBook): fix typo.
8521
8522 2002-05-03  Juergen Vigna  <jug@sad.it>
8523
8524         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8525         change in LyXText as we can not be sure it was not freed.
8526         (drawOneRow): remove unused code.
8527
8528         * text.C (drawInset): redo the calculation of the need_break_row as
8529         it could have a row which was already freed.
8530         (draw): look at the return value of drawInset and return false if
8531         it also returned false.
8532         (paintRowText): look at the return value of draw and return false if
8533         it also returned false.
8534
8535         * lyxtext.h: added bool return type to drawInset() and draw() so that
8536         if we have a change in the row so that the rowbreak has to be redone
8537         we abort drawing as it will be called again.
8538
8539 2002-05-02  Juergen Vigna  <jug@sad.it>
8540
8541         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8542         a change in the maintext also if we're inside an inset.
8543         (Dispatch): set the cursor again after a break line and after the
8544         screen has been updated as it could be we're in a different row.
8545
8546         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8547         to set the cursor behind the pargraph with > size().
8548         (setCursor): check also for the same paragraph when checking where
8549         to put the cursor if we have a NFR inset.
8550
8551         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8552         parts of layout read further up as it still was in the wrong
8553         position.
8554
8555 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8556
8557         * screen.C (drawFromTo): change sine fullRebreak always return
8558         true.
8559
8560         * buffer.C (parseSingleLyXformat2Token): reindent some
8561
8562         * BufferView_pimpl.C (update): change since fullRebreak always
8563         return true.
8564         (Dispatch): git rid of the last hardcoded "Standard"s.
8565
8566 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8567
8568         * text2.[Ch] (fullRebreak): make it return void now that we always
8569         returned true.
8570
8571 2002-04-30  Juergen Vigna  <jug@sad.it>
8572
8573         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8574         ert compatibility check for "latex" layout.
8575
8576 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8577
8578         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8579         minipages: use col% instead of p%, and also use the current font.
8580         (makeLaTeXFile): Fix use babel condition.
8581         (parseSingleLyXformat2Token): Correct font when reading old floats.
8582
8583 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8586         inserting list of floats.
8587
8588 2002-04-25  Herbert Voss  <voss@lyx.org>
8589
8590         * MenuBackend.C (expand): don't add the graphics extensions to the
8591         export menu
8592
8593 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8594
8595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8596         non-existing layout, do not complain if it was the default layout
8597         of the original class (bug #342)
8598
8599 2002-04-24  Juergen Vigna  <jug@sad.it>
8600
8601         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8602         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8603
8604 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8605
8606         * buffer.C (getBibkeyList): If using \bibliography, return the
8607         option field with the reference itself. Enables us to provide natbib
8608         support when using \bibliography.
8609
8610 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8611
8612         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8613
8614         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8615         natbib is provided by the LaTeX class.
8616
8617 2002-04-23  Juergen Vigna  <jug@sad.it>
8618
8619         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8620         Wakeup functions.
8621
8622         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8623
8624 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8625
8626         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8627
8628         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8629         ensuremath around textordmasculine, textordfeminine and
8630         textdegree.
8631
8632 2002-04-19  Juergen Vigna  <jug@sad.it>
8633
8634         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8635         reinitializing the buffer otherwise row-dimensions may be wrong.
8636         (update): reset also the selection cursors if they do exits otherwise
8637         their x/y positions may be wrong.
8638
8639         * text2.C (cursorDown): don't enter the inset if we came from a row
8640         above and are one row over the inset.
8641
8642         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8643         really leaving an inset.
8644
8645 2002-04-18  Juergen Vigna  <jug@sad.it>
8646
8647         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8648         of the selected paragraph does not have the selected layout also if
8649         the last one had!
8650
8651         * text2.C (setLayout): fixed bug which did not change last selected
8652         paragraph.
8653
8654         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8655         changed the read and substituted \\end_float with \\end_inset!
8656
8657         * BufferView_pimpl.C (cursorPrevious):
8658         (cursorNext): fixed to make it work with rows heigher than the work
8659         area without moving the cursor only the draw of the row.
8660         (workAreaMotionNotify): fix jumping over high rows.
8661
8662 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8663
8664         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8665         Ressler.
8666
8667 2002-04-16  Juergen Vigna  <jug@sad.it>
8668
8669         * text2.C (setCursor): set also the irow().
8670         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8671         (cursorUp):
8672         (cursorDown): support for locking an inset if the x_fix value goes
8673         inside it. That way I can transverse insets too with cursor up/down.
8674
8675         * lyxrow.h: added irow helper function same as other (i) functions.
8676
8677         * BufferView_pimpl.C (cursorPrevious):
8678         (cursorNext): fixed for insets!
8679
8680 2002-04-15  Juergen Vigna  <jug@sad.it>
8681
8682         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8683         position otherwise it is wrong in some cases.
8684
8685         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8686         inside the inset before the call.
8687
8688 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8689
8690         * buffer.[Ch] (getBibkeyList): make it const.
8691
8692 2002-04-12  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8695
8696         * text2.C (getCursorX): new helper function
8697         (setCursor): compute also ix_
8698         (setCursorFromCoordinates): set also ix.
8699
8700         * lyxcursor.h: added ix_ and helper functions.
8701
8702         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8703
8704         * buffer.C (insertStringAsLines): dont break paragraph if the this
8705         paragraph is inside an inset which does not permit it!
8706
8707         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8708         also with no chars on this paragraph.
8709         (paintRowText): only paint stuff if it's inside the workarea!
8710
8711         * paragraph.C (breakParagraph): honor keepempty flag and break the
8712         paragraph always below not above.
8713
8714         * BufferView2.C (unlockInset): update the paragraph layout on inset
8715         unlock as we changed paragraph in such a case.
8716
8717         * lyxfind.C (LyXFind): clear the former selection if not found!
8718
8719         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8720         again called in insertChar().
8721
8722         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8723         an inset which uses the whole row!
8724         (rightMargin): ditto.
8725         (insertChar): force a rebreak if we inserted an inset!
8726
8727 2002-03-28  Herbert Voss  <voss@lyx.org>
8728
8729         * lyxlength.[Ch]: add inBP() to get the right PS-point
8730         units (BigPoint). With inPixels we have rounding errors
8731
8732 2002-04-11  Juergen Vigna  <jug@sad.it>
8733
8734         * text2.C (setCursorFromCoordinates): set iy to the right value.
8735         (setCursor): add check if row->previous exists!
8736
8737         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8738         an old float_type as this was the case in the old code!
8739
8740         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8741
8742         * BufferView2.C (showLockedInsetCursor): use iy
8743         (fitLockedInsetCursor): ditto
8744
8745         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8746         locked insets as there we have the right value now.
8747
8748         * lyxcursor.C: added iy_ variable and iy functions to set to the
8749         baseline of cursor-y of the locked inset.
8750
8751         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8752         (setCursor): fixed for insets which need a full row.
8753
8754         * text.C (rowLastPrintable): don't ignore the last space when before
8755         an inset which needs a full row.
8756         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8757         as last character of a row when before a inset which needs a full row.
8758
8759 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8760
8761         * version.C.in: update date
8762
8763         * text2.C (fullRebreak): try to always return true and see what
8764         happens...
8765
8766 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8767
8768         * MenuBackend.C (expand): use Floating::listName
8769
8770         * FloatList.C (FloatList): add listName argument to the built-in
8771         floats
8772
8773         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8774         text associated with the float.
8775
8776 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8779
8780 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8781
8782         * ShareContainer.h: add a couple of missing typenames.
8783
8784 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8785
8786         * lyxrc.C (getDescription): use _() correctly rather than N_().
8787
8788 2002-03-28  Herbert Voss  <voss@lyx.org>
8789
8790         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8791         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8792
8793 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8796         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8797
8798 2002-03-29  Juergen Vigna  <jug@sad.it>
8799
8800         * lyxfunc.C (dispatch): add a missing fitCursor call.
8801
8802         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8803         it was scrolled by a cursor move, so return the bool status.
8804
8805         * BufferView.C (fitCursor): return the bool flag also to the outside
8806         world as this is needed.
8807
8808         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8809
8810         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8811         call the edit() as it is not needed (and wrong) IMO.
8812         (workAreaButtonPress): set the screen_first variable before evt.
8813         unlock the inset as this may change screen_first and then we have
8814         a wrong y position for the click!
8815
8816 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8817
8818         * MenuBackend.C (expand): another translation that I missed
8819
8820 2002-03-28  Juergen Vigna  <jug@sad.it>
8821
8822         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8823
8824         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8825
8826 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8827
8828         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8829
8830         * MenuBackend.C (expand): fix export/view/update when there is no
8831         document open.
8832
8833 2002-03-27  Herbert Voss  <voss@lyx.org>
8834
8835         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8836         and text%
8837
8838 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8839
8840         * bufferview_funcs.C (currentState): only show paragraph number
8841         for is DEVEL_VERSION is set.
8842
8843         * lyxfunc.C (dispatch): put warning in INFO channel
8844
8845         * MenuBackend.C (expand): translate the name of floats
8846
8847         * FloatList.C (FloatList): mark the float names for translation
8848
8849         * converter.C (convert): use LibScriptSearch
8850
8851 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * MenuBackend.C (defaults): fix default menu (we might as well get
8854         rid of it...)
8855
8856 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8859         directory.
8860
8861 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8862
8863         * lyxvc.C: reorder includes.
8864
8865 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8866
8867         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8868           properly
8869
8870 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * CutAndPaste.C: change layouts earlier on paste
8873           to avoid crashing when calling getFont()
8874
8875 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8876
8877         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8878         irritating #error.
8879
8880 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8881
8882         * WorkArea.C: remove 'Pending' debug message.
8883
8884         * most files: ws cleanup
8885
8886         * buffer.[Ch]: ws changes
8887
8888         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8889
8890 2002-03-21  Juergen Vigna  <jug@sad.it>
8891
8892         * tabular.C (SetMultiColumn): collapse also the contents of the
8893         cells and set the last border right. Added a Buffer const * param.
8894
8895 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8898         linking or not.
8899
8900 2002-03-19  Juergen Vigna  <jug@sad.it>
8901
8902         * text2.C (clearSelection): reset also xsel_cache.
8903
8904         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8905         where it needs to be called (John tells us to do so too :)
8906         (selectionLost): reset sel_cache.
8907
8908         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8909
8910 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * text2.C (setCursorIntern): put debuging code in INSETS channel
8913
8914 2002-03-19  André Pönitz <poenitz@gmx.net>
8915
8916         * lyxfunc.C: tiny whitespace change
8917
8918 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8919
8920         * ToolbarDefaults.C (init):
8921         * LyXAction.C (init):
8922         * commandtags.h:
8923         * BufferView_pimpl.C (Dispatch):
8924         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8925
8926 2002-03-19  Allan Rae  <rae@lyx.org>
8927
8928         * exporter.C (Export): removeAutoInsets before doing anything else.
8929         While I've just introduced a dependency on BufferView this really is
8930         the best place to clean the buffer otherwise you need to cleanup in
8931         a dozen places before calling export or cleanup in a dozen functions
8932         that export calls.
8933
8934         * converter.C (runLaTeX):
8935         (scanLog): Better handling of removeAutoInsets and screen updates.
8936
8937         * lyxfunc.C (dispatch): small whitespace changes
8938
8939 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8940
8941         * WorkArea.C (C_WorkAreaEvent): return a value.
8942         (event_cb): return 1 if we handled the event, 0 otherwise.
8943
8944         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8945
8946 2002-03-18  Juergen Vigna  <jug@sad.it>
8947
8948         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8949         (GetAdditionalWidth): ditto.
8950         (RightLine): ditto.
8951         (LeftLine): ditto.
8952
8953         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8954         inset if we're there actually (probably not used right now but this
8955         is the direction to go for unifying code).
8956         (paste): disable code to clear the selection.
8957
8958         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8959         inside an InsetText and move the check further up as it is in the
8960         wrong place.
8961
8962         * text2.C (pasteSelection): set a selection over the pasted text.
8963
8964 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8965
8966         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8967         and libgraphics to build on Cygwin.
8968
8969 2002-03-15  Juergen Vigna  <jug@sad.it>
8970
8971         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8972         inserting an Inset into the paragraph. I know this is not the best
8973         fix but we already use current_view in CutAndPaste so we will remove
8974         all of it's using at the same time.
8975
8976         * buffer.C (sgmlError): deactivated function till it is rewritten in
8977         the right mode, now it can create problems.
8978
8979         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8980         before accessing it.
8981
8982 2002-03-14  Juergen Vigna  <jug@sad.it>
8983
8984         * undo_funcs.C (textHandleUndo): do the right thing when updating
8985         the inset after the undo/redo.
8986
8987         * text2.C (setCursor): just some testcode for #44 not ready yet.
8988
8989         * undo_funcs.C (textHandleUndo): set the next() and previous()
8990         pointers of the paragraph to 0 before deleting otherwise we have
8991         problems with the Paragraph::[destructor].
8992
8993         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8994         on a paragraph insertion.
8995
8996 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * buffer.C (asciiParagraph): use += operator for char append to
8999         string.
9000
9001         * paragraph.C (getFontSettings): compare >= not just >
9002         (highestFontInRange): ditto
9003         (setFont): ditto
9004
9005 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9006
9007         * paragraph.C: change several algorithm to be more appripriate for
9008         the problem domain. This is lookip in FontList and in the InsetList.
9009
9010 2002-03-13  André Pönitz <poenitz@gmx.net>
9011
9012         * commandtags.h:
9013         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9014
9015 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * commandtags.h:
9018         * LyXAction.C:
9019         * lyxfunc.C:
9020         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9021
9022 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9023
9024         * Painter.C (display): anon helper function, adjust code for this
9025         change.
9026         (pixmap): remove function.
9027
9028         * Painter.h: remove private display variable.
9029
9030         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9031
9032 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9033
9034         * WorkArea.[Ch]: remove figinset_canvas cruft.
9035
9036 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9037
9038         * lyxtextclass.C (operator): add one item cache optimization.
9039
9040         * bufferlist.h: doxy changes
9041
9042         * bufferlist.C: ws changes
9043
9044         * DepTable.[Ch] (ext_exist): place const in the right spot.
9045
9046         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9047         call resizeInsets.
9048         (workAreaExpose): call resizeInsets when the with BufferView changes.
9049         (Dispatch): adjust for protectedBlank removal
9050         (specialChar): call updateInset if the insert went ok.
9051
9052         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9053         specialChar instead.
9054
9055         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9056
9057         * BufferView.h: doxy change
9058
9059         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9060
9061         * lyxtextclass.C (operator[]): remove non-const version
9062         (defaultLayout): remove non-const version
9063
9064 2002-03-12  Juergen Vigna  <jug@sad.it>
9065
9066         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9067         did resize the LyXText too.
9068
9069         * buffer.C (readLyXformat2): set layout information on newly allocated
9070         paragraphs.
9071
9072         * tabular.C (OldFormatRead): set layout information on the paragraph.
9073
9074 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9075
9076         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9077
9078 2002-03-11  Juergen Vigna  <jug@sad.it>
9079
9080         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9081         plainly wrong.
9082         (resizeCurrentBuffer): force also the insets to resize themselfes.
9083         (moveCursorUpdate): fixed up for InsetText.
9084
9085 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9086
9087         * commandtags.h:
9088         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9089         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9090         value of Dialogs::tooltipsEnabled().
9091         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9092
9093 2002-03-08  Juergen Vigna  <jug@sad.it>
9094
9095         * BufferView_pimpl.C (updateInset): update inset inside inset also
9096         if it isn't inside theLockingInset().
9097
9098 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9099
9100         * buffer.C (asciiParagraph): redo some of the word and line length
9101         handling.
9102         (getLists): look for Caption instead of caption.
9103
9104 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9105
9106         * buffer.C (Buffer): initialize niceFile to true
9107         (makeLaTeXFile):
9108         (makeLinuxDocFile):
9109         (makeDocBookFile): make sure niceFile is true on exit
9110
9111 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9112
9113         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9114
9115 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9116
9117         * LyXSendto.C: remove.
9118         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9119         * lyx_gui.C: remove now-redundant comment.
9120         * ColorHandler.h: remove forward declaration of class WorkArea.
9121         * lyxfunc.C: remove #include "WorkArea.h".
9122
9123 2002-03-07  Juergen Vigna  <jug@sad.it>
9124
9125         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9126         got moved away with the DEPM and also set the inset_owner always
9127         right which before could have been omitted.
9128
9129 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9132         wanted layout is not found.
9133
9134 2002-03-07  Juergen Vigna  <jug@sad.it>
9135
9136         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9137
9138 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9139
9140         * paragraph.C (breakParagraph): use default layout not layout of
9141         prev paragraph.
9142         (Paragraph): clear ParagraphParameters.
9143
9144 2002-03-06  Juergen Vigna  <jug@sad.it>
9145
9146         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9147         otherwise it would not be a valid lenght. Fixed a special case in
9148         the minipage compatibility read where we end the document with a
9149         minipage.
9150
9151         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9152         was set as it could be 0 for InsetTexts first entry.
9153
9154 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9155
9156         * paragraph.C (writeFile): if layout is empty write out
9157         defaultLayoutName().
9158
9159         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9160         file without named layout we set layout to defaultLayoutName().
9161
9162 2002-03-06  Juergen Vigna  <jug@sad.it>
9163
9164         * CutAndPaste.C (copySelection): set layout for new paragraph.
9165
9166         * text.C (prepareToPrint): leave ERT inset left aligned
9167         (leftMargin): don't indent paragraphs inside ERT insets
9168
9169 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9170
9171         * paragraph.C (breakParagraph): dont call clear do the work manually
9172
9173         * paragraph.[Ch] (clear): remove function
9174
9175 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9176
9177         * paragraph.C (Paragraph): dont call clear, the work has already
9178         been done.
9179
9180         * lyxtextclass.C (operator): assert if n is empty
9181
9182         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9183         work manually instead.
9184
9185 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * BufferView_pimpl.C: protect selectionLost against text == 0
9188
9189 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9190
9191         * text.C (breakParagraph): fix a setting layout to '0' problem.
9192
9193 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9194
9195         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9196         final location of file, for the included files, and graphics.
9197
9198 2002-03-05  Juergen Vigna  <jug@sad.it>
9199
9200         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9201
9202 2002-03-04  Juergen Vigna  <jug@sad.it>
9203
9204         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9205
9206         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9207         last column of multicolumn cells.
9208         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9209
9210 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9211
9212         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9213         file if it doesn't go to a temporary file.
9214
9215         * buffer.C (sgmlOpenTag):
9216         (sgmlCloseTag):  remove extra newline insertion.
9217
9218 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9219
9220         * text.C (getRowNearY): comment out debug msg
9221
9222 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9223
9224         * text2.C: first -> first_y
9225
9226         * text.C (getRowNearY): add some attemts at a possible
9227         optimization, not working.
9228
9229         * tabular.[Ch]: add BufferParams to several function so that newly
9230         created paragraph can be initialized to he default layotu for the
9231         buffers textclass.
9232
9233         * tabular-old.C (ReadOld): add buf->params to call of Init
9234
9235         * screen.C: rename text->first to text->first_y
9236
9237         * paragraph.C (breakParagraph): always set layout in the broken
9238         paragraph
9239
9240         * lyxtextclass.C (Read): remove lowercase
9241         (hasLayout): ditto
9242         (operator): ditto
9243         (delete_layout): ditto
9244
9245         * lyxtext.h: rename first -> first_y
9246
9247         * lyxlayout.C (Read): remove lowercase
9248         (name): ditto
9249         (setName): ditto
9250         (obsoleted_by): ditto
9251
9252         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9253
9254         * buffer.C (insertErtContents): add params are to InsetERT
9255         (parseSingleLyXformat2Token): add code to check if a paragraphs
9256         layout really exist.
9257         (parseSingleLyXformat2Token): add params to several inset
9258         constructors
9259         (asciiParagraph): remove lowercase, do the layout comparisons with
9260         no_case
9261
9262         * BufferView_pimpl.C (cursorNext): first -> first_y
9263         (resizeCurrentBuffer): first -> first_y
9264         (updateScrollbar): first -> first_y
9265         (scrollCB): first -> first_y
9266         (workAreaMotionNotify): first -> first_y
9267         (workAreaButtonPress): first -> first_y
9268         (checkInsetHit): first -> first_y
9269         (cursorPrevious): first -> first_y
9270         (cursorNext): first -> first_y
9271         (Dispatch): add buffer_->params to severl inset contructors
9272
9273 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9274
9275         * lyxlayout.C (Read): remove some debug info that I forgot.
9276
9277         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9278         clean up the code slightly.
9279         (makeLinuxDocFile): ditto
9280         (makeDocBookFile): ditto
9281
9282         * text2.C: layout as string
9283
9284         * text.C: layout as string
9285
9286         * paragraph_pimpl.C: layout as string
9287
9288         * paragraph.[Ch]: layout as string
9289
9290         * lyxtextclasslist.[Ch]: layout as string
9291
9292         * lyxtextclass.[Ch]: layout as string
9293
9294         * lyxtext.h: layout as string
9295
9296         * lyxlayout.[Ch]: layout as string
9297
9298         * lyx_cb.C: layout as string
9299
9300         * bufferview_funcs.C: layout as string
9301
9302         * bufferparams.C: layout as string
9303
9304         * buffer.C: layout as string
9305
9306         * LyXView.[Ch]: layout as string
9307
9308         * LaTeXFeatures.[Ch]: layout as string
9309
9310         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9311
9312         * BufferView_pimpl.C: change current_layout to string, remove
9313         lyx::layout_type.
9314         (Dispatch):
9315         (smartQuote):
9316         (insertInset):
9317         (workAreaButtonRelease): layout as string
9318
9319         * BufferView2.C (unlockInset): adjust
9320
9321         * vspace.C (asLatexCommand): use an explict temp variable.
9322
9323 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * Makefile.am: use FRONTEND_*
9326
9327 2002-03-01  Juergen Vigna  <jug@sad.it>
9328
9329         * tabular.C (SetWidthOfMulticolCell): changed to something better
9330         I hope but still work in progress.
9331         (recalculateMulticolumnsOfColumn): renamed function from
9332         recalculateMulticolCells as it is more appropriate now.
9333         (SetWidthOfCell): calculate multicols better.
9334
9335 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9338
9339         * lyxfunc.C (processKeySym): print sequence also if it is
9340         `deleted' (complete)
9341
9342         * kbsequence.C (print): print sequence even if it is deleted
9343         (complete would be a better word, actually).
9344
9345         * lyxfunc.C (dispatch): print complete options after a prefix key
9346
9347         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9348
9349 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9350
9351         * text2.C (setCharFont): eliminate setCharFont code duplication.
9352
9353 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9354
9355         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9356         LFUN_TABULAR_FEATURE (bug #177)
9357
9358 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9359
9360         * Makefile.am: remove figure.h
9361
9362 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9363
9364         * Bufferview_pimpl.C:
9365         * CutAndPasteC:
9366         * LaTeX.C:
9367         * LyXSendto.C:
9368         * buffer.C:
9369         * bufferlist.C:
9370         * converter.C:
9371         * language.C:
9372         * lyxfunc.C:
9373         * lyxvc.C:
9374         * paragraph.C:
9375         * text.C:
9376         * text2.C: remove #include "lyx_gui_misc.h".
9377
9378         * LaTeX.C: added #include <cstdio>
9379
9380 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9383         that the paragraph following this one can have.
9384
9385         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9386
9387         * vspace.C (asLatexCommand): fix bogus gcc warning
9388
9389         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9390
9391 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9392
9393         * text2.C (setLayout): get rid of redundant code
9394
9395 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9396
9397         * text2.C (incDepth): make sure depth cannot be increased beyond
9398         reasonable values.
9399
9400 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9401
9402         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9403         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9404
9405         * PainterBase.h (image):
9406         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9407         a LyXImage const *.
9408
9409 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * BufferView.C:
9412         * BufferView.h:
9413         * BufferView_pimpl.C:
9414         * BufferView_pimpl.h:
9415         * LaTeXFeatures.C:
9416         * LyXAction.C:
9417         * LyXView.C:
9418         * Makefile.am:
9419         * UpdateList.h:
9420         * UpdateList.C:
9421         * buffer.C:
9422         * figure.h:
9423         * figureForm.C:
9424         * figureForm.h:
9425         * figure_form.C:
9426         * figure_form.h:
9427         * lyx_cb.C:
9428         * lyx_gui.C:
9429         * lyx_gui_misc.C:
9430         * lyxfunc.C:
9431         * sp_base.h:
9432         * sp_ispell.h:
9433         * sp_pspell.h:
9434         * sp_spell.C: remove fig inset, and the crap house of
9435           cards that follows it
9436
9437 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * Makefile.am:
9440         * lyxserver.C:
9441         * os2_defines.h:
9442         * os2_errortable.h:
9443         * nt_defines.h: move .h into support/
9444
9445         * vms_defines.h: remove
9446
9447         * WorkArea.C: add space in debug output
9448
9449         * text2.C:
9450         * paragraph.C:
9451         * buffer.C: add WITH_WARNINGS
9452
9453         * vc-backend.h:
9454         * vc-backend.C:
9455         * bufferlist.C: s/retrive/retrieve/, add docs
9456
9457         * vspace.h:
9458         * vspace.C:
9459         * kbmap.h:
9460         * lyxlength.h:
9461         * lyxgluelength.h:
9462         * length_common.h:
9463         * chset.h:
9464         * chset.C: add docs
9465
9466         * lyxgui.C: add ID to X error handler
9467
9468         * lyxtestclass.c: fix typo
9469
9470 2002-02-26  Juergen Vigna  <jug@sad.it>
9471
9472         * tabular_funcs.C (write_attribute): changed so that some default
9473         attributes are not written at all.
9474         (getTokenValue): set default values before trying to read the
9475         value so we have the return value always set as default if we don't
9476         find the token we search for.
9477
9478         * tabular.C (Write): write bools as bools not as strings!
9479
9480 2002-02-22  Juergen Vigna  <jug@sad.it>
9481
9482         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9483         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9484
9485         * text.C (leftMargin): don't add an indent for paragraphs inside
9486         tabular cells (fix #208).
9487
9488 2002-02-21  José Matos  <jamatos@fep.up.pt>
9489
9490         * tabular.C (docBook): fixed support for long tables.
9491
9492 2002-02-20  Juergen Vigna  <jug@sad.it>
9493
9494         * text2.C (getFont): get the drawing font of the Inset if this
9495         paragraph is inside an inset (only important for InsetERT for now).
9496
9497         * buffer.C (insertErtContents): use new lanugage params in ERT
9498         constructor.
9499
9500         * CutAndPaste.C: commenting out seemingly uneeded code.
9501
9502 2002-02-19  Allan Rae  <rae@lyx.org>
9503
9504         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9505         Iterators might be simple to use but they also get invalidated.
9506         (removeAutoInsets): renamed saved cursor tracking variables and added
9507         some comments to clarify what everything does.
9508
9509 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9510
9511         * Chktex.C:
9512         * LaTeX.C:
9513         * LyXSendto.C:
9514         * converter.C:
9515         * lyx_cb.C:
9516         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9517         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9518
9519         * lyxfunc.C:
9520         * vc-backend.h: remove #include "support/syscall.h"
9521
9522         * LaTeX.C:
9523         * LyXSendto.C:
9524         * converter.C: rearrange #includes in Lars' approved fashion.
9525
9526         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9527         forward declare class Timeout in the header file.
9528
9529         * XFormsView.C: changes due to the above.
9530
9531         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9532         similar to LyXView.
9533
9534         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9535         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9536
9537 2002-02-18  José Matos  <jamatos@fep.up.pt>
9538
9539         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9540         insets contents.
9541
9542 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9543
9544         * a lot of small ws changes
9545         * add a lot of using std::XXX
9546         * use std construcs some places where approp.
9547         * use some exisint stuff from lyxfunctional where approp.
9548         * Make file changes to use partial linking (lets test this now...)
9549
9550 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9551
9552         * Chktex.C:
9553         * buffer.C:
9554         remove #include "support/syscontr.h" as it's redundant. Always has been.
9555
9556         * Chktex.C:
9557         * LaTeX.C:
9558         * LyXSendto.C:
9559         * converter.C:
9560         * lyx_cb.C:
9561         * vc-backend.C:
9562         change Systemcalls::System to Systemcalls::Wait and
9563         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9564         No change of functionality, just reflects the stripped down Systemcalls
9565         class.
9566
9567 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9568
9569         * debug.[Ch]: add a GRAPHICS type to the enum.
9570
9571 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9574
9575         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9576         there is an inset.
9577
9578 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9581         match the changes below.
9582
9583         * text2.C (toggleInset): if there is not editable inset at cursor
9584         position, try to see if cursor is _inside_ a collapsable inset
9585         and close it.
9586
9587 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9590         document menu has a nice checkbox
9591
9592 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * lyxlength.C (asLatexString): change PW to output as percent of
9595         \textwidth.
9596
9597         * lengthcommon.C: change '%' to 't%'
9598
9599         * lyxfunc.C (dispatch): a few comments from Martin
9600
9601 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * WorkArea.h:
9604         * WorkArea.C:
9605         * BufferView_pimpl.h:
9606         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9607           the X selection.
9608
9609 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9610
9611         * vspace.C (inPixels): fix compiler warning
9612
9613 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * lyxfunc.C (getStatus): fix status message for disabled commands.
9616
9617 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9618
9619         * BufferView_pimpl.C: fix crash on close buffer
9620         during selection (#227)
9621
9622 2002-01-27  Herbert Voss  <voss@lyx.org>
9623
9624         * buffer.C: link old Figure to new graphic inset
9625
9626 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * FontLoader.C (getFontinfo): Change the latex font names in order
9629         to match the names of type1inst.
9630
9631 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9632
9633         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9634
9635         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9636         (extchanged): ditto
9637         (ext_exist): ditto
9638         (remove_files_with_extension): ditto
9639         (remove_file): ditto
9640         (write): ditto
9641
9642         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9643         document is smaller than the work area height. Do not initialize
9644         static variables to 0.
9645
9646 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9649
9650         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9651         LFUN_LAYOUT_PARAGRAPHS.
9652
9653         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9654         tabular. It is possible to provide a possible cell, which will
9655         typically be the actcell from the corresponding insettabular
9656
9657         * lyxfunc.C (getStatus): small cleanup; disable
9658         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9659         true
9660
9661 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9664
9665         * paragraph.C (startTeXParParams):
9666         (endTeXParParams): new methods. The LaTeX code to
9667         start/end paragraph formatting
9668         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9669         empty (fixes bug #200)
9670
9671         * vspace.C (inPixels): adapt to the change below
9672         (inPixels): [later] more cleanups (remove unused variables)
9673
9674         * lyxlength.C (inPixels): change to use a width and a height as
9675         parameter.
9676
9677 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9680         Replaced with \paperwidth
9681
9682         * DepTable.C (insert): add std:: qualifier
9683
9684 2002-01-18  Allan Rae  <rae@lyx.org>
9685
9686         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9687         updated also?
9688
9689         * text.C (drawInset): Turned out I didn't know enough about how
9690         rebreaking worked.  This fixes most of the redraw problems.  I see
9691         an occasional cursor trail when a line is broken now and the cursor
9692         placement can seem out by a few pixels also after a rebreak.
9693
9694 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * buffer.C (parseSingleLyXformat2Token): update because minipage
9697         width is now a LyXLength
9698
9699         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9700
9701         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9702         math insets
9703
9704 2002-01-17  Juergen Vigna  <jug@sad.it>
9705
9706         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9707
9708         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9709         is set correctly and the inset is updated correctly.
9710
9711 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9714         the beginning of the loop.
9715
9716 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * lyxrc.C: improve help for use_scalable_fonts
9719
9720 2002-01-17  Allan Rae  <rae@lyx.org>
9721
9722         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9723
9724 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9727         make sure to set their inset_owner to the right value (bug #171)
9728
9729 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9730
9731         * DepTable.h
9732         * DepTable.C: Implement mtime checking to reduce time spent doing
9733         CRCs.
9734
9735 2002-01-16  Juergen Vigna  <jug@sad.it>
9736
9737         * tabular.C (GetAdditionalHeight): one of error fixed.
9738
9739         * lyxrc.C (output): small fix in writing use_pspell.
9740
9741 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         * sp_base.h: #include LString.h
9744
9745 2002-01-16  Allan Rae  <rae@lyx.org>
9746
9747         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9748         Can someone check this please?
9749
9750         * text.C (drawInset): It was possible that p.row would be removed by
9751         breakAgainOneRow upsetting a few other settings.  There may be another
9752         small tweak possible by setting need_break_row = 0 when p.row has been
9753         removed but I don't know enough about the logic here.
9754
9755 2002-01-15  Allan Rae  <rae@lyx.org>
9756
9757         * text.C (insertChar): removed conditional truism.
9758
9759         * BufferView2.C (removeAutoInsets): More tweaks.
9760         cur_par_prev could be a stray pointer.  Check for trailing empty line
9761         in case last line was cur_par and only had an error inset on it.
9762
9763 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9766         absolute
9767
9768         * vc-backend.C (most methods):
9769         * exporter.C (Export):
9770         * converter.C (convert):
9771         (runLaTeX):
9772         * LyXSendto.C (SendtoApplyCB):
9773         * lyxfunc.C (dispatch):
9774         (menuNew):
9775         (open):
9776         (doImport):
9777         * lyx_cb.C (AutoSave):
9778         (InsertAsciiFile):
9779         * BufferView_pimpl.C (MenuInsertLyXFile):
9780         * buffer.C (runChktex): use Buffer::filePath().
9781
9782         * buffer.h: rename filename to filename_; rename filepath to
9783         filepath_ and make it private
9784         (filePath): new method
9785
9786         * buffer.C (writeFile): use fileName()
9787         (getLatexName):
9788
9789         * lyx_main.C (init): fix starting  of LyX when the binary is a
9790         link from so,ewhere else.
9791
9792         * minibuffer.C: include <cctype> for isprint
9793
9794 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9797         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9798         name clash with InsetCollapsable's width function.
9799
9800 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9801
9802         * lastfiles.C: include <iterator>
9803
9804 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9805
9806         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9807         std::count.
9808
9809         * buffer.C (makeLaTeXFile): ditto.
9810         Also make loop operation more transparent.
9811
9812 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9813
9814         * ToolbarDefaults.C: remove trailing comma closing namespace.
9815
9816         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9817
9818         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9819         as in WorkArea.
9820
9821         * trans.C (Load): comment out unused variable, allowed.
9822
9823 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9824
9825         * minibuffer.[Ch] (append_char): new method to recieve input from the
9826         drop-down completion browser. If a key was pressed, then recieve this
9827         char and append it to the existing string.
9828         (peek_event): modify the positioning data passed to the completion
9829         browser so that it can be placed above the minibuffer rather than below.
9830 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9831
9832         * LyXAction.C (init): alloe error-next for readonly documents.
9833
9834         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9835         count.
9836
9837 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9838
9839         * bufferlist.C (readFile): create the buffer _after_ checking that
9840         the file exists.
9841
9842         * lyxfunc.C (verboseDispatch): fix handling of arguments
9843
9844         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9845
9846         * lyxrc.C: use string::erase() instead of initializing to "".
9847
9848
9849 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * BufferView_pimpl.h:
9852         * BufferView_pimpl.C:
9853         * WorkArea.h:
9854         * WorkArea.C:
9855         * text2.C: tell X when we have made a selection for copying
9856
9857 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * BufferView_pimpl.C (MenuInsertLyXFile):
9860         * lyxfunc.C (menuNew):
9861         (open):
9862         (doImport): add shortcuts to directory buttons
9863
9864         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9865         open a float)
9866
9867         * lyxfunc.C (setStatusMessage):
9868         (getStatusMessage): new methods
9869         (getStatus):use setStatusMessage instead of setErrorMessage
9870         (dispatch): when function is disabled, set error message here
9871         [instead of in getStatus previously]
9872
9873         * BufferView_pimpl.C (workAreaButtonRelease): update
9874         toolbar/menubar here too.
9875
9876 2002-01-13  Allan Rae  <rae@lyx.org>
9877
9878         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9879         Now seems indestructible.  Remaining task is to audit all other
9880         code affected by deleteEmptyParagraphMechanism.  One small quirk
9881         left is that an empty document with an error in the preamble can
9882         be made to report an error but no error box appears.  I don't know
9883         where it goes.
9884         (removeAutoInsets): Improved comments.
9885
9886 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9887
9888         * Thesaurus.h:
9889         * Thesaurus.C: update for Aiksaurus 0.14
9890
9891 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * text2.C (firstParagraph): removed member function, all uses
9894         replaces with ownerParagraph
9895         (redoParagraphs): here
9896         (updateInset): here
9897         (toggleAppendix): here
9898         * BufferView2.C (insertErrors): here
9899         (setCursorFromRow): here
9900
9901 2002-01-13  Allan Rae  <rae@lyx.org>
9902
9903         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9904         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9905         There is still a way to segfault this although you may have to do this
9906         multiple times: Have an InsetERT with an unknown command in it.
9907         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9908         <down-arrow>, <Enter> again, View->DVI, BANG!
9909
9910         * text2.C (setCursor):
9911         (deleteEmptyParagraphMechanism):
9912         * lyxtext.h (setCursor):
9913         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9914         Making use of the return value may help fix other bugs.
9915
9916 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9917
9918         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9919
9920         * LyXView.C (updateMenubar): call MenuBar::update here
9921         (updateToolbar): but not here
9922         (showState): do not update toolbar/menubar
9923
9924         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9925         should need to care about that.
9926
9927         * lyxfunc.C (verboseDispatch): simplify a bit
9928         (getStatus): have a version which takes a pseudoaction, and
9929         another which requires a (kb_action,string).
9930
9931         * LyXAction.C (retrieveActionArg): make it work also when action
9932         is not a pseudo-action.
9933         (getActionName): simplify a bit
9934         (helpText):
9935
9936 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * lyxfunc.C (verboseDispatch): new families of methods with
9939         several ways to specify a command and a bool to indicate whether
9940         the command name and shortcut should be displayed in minibuffer
9941         (eventually, we could extend that to a finer bitmask like
9942         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9943         (dispatch): the pristine dispatch command which just, well,
9944         dispatchs! Note it still sets its result to minibuffer; I'm not
9945         sure we want that.
9946
9947         * lyxfunc.h: remove setHintMessage
9948
9949         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9950
9951 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9952
9953         * BufferView_pimpl.C (specialChar): delete new inset if we have
9954         not been able to insert it.
9955
9956         * kbmap.C: revert to using int instead of kb_action, since all we
9957         are dealing with is pseudo-actions.
9958
9959         * LyXAction.C (searchActionArg): change to return int instead of
9960         kb_action, since the result is a pseudoaction.
9961
9962 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * buffer.C (insertErtContents): Fix (partially) the font bug.
9965
9966 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9969         as the other one is broken on my machine!
9970
9971 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9972
9973         * commandtags.h:
9974         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9975
9976 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9977
9978         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9979         reflect their actual use. Provide compatibility code for older lyxrc
9980         files.
9981
9982         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9983         FL_NORMAL_STYLE.
9984         change names of popup font variables in line with the changes to lyxrc.C
9985
9986 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * buffer.C (asciiParagraph): avoid outputing a word twice after
9989         an inset.
9990
9991         * lyxrc.C (getDescription): document that document_path and
9992         template_path can be empty.
9993
9994 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * LaTeXFeatures.C (getMacros):
9997         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9998
9999         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10000
10001         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10002         getPackages.
10003         (getPackages): rename feature "floats" to "float". Use an array to
10004         iterate over 'simple' features (i.e. just a \usepackage). Add
10005         handling of "amsmath" (renamed from "amsstyle").
10006
10007 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10008
10009         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10010         features list.
10011
10012 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10013
10014         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10015         FuncStaus::FuncStatus & FuncStaus::some_method().
10016
10017 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10018
10019         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10020         of the func_satus stuff. Edited and massaged in various ways by
10021         JMarc.
10022
10023         * lyxfunc.C (getStatus): use FuncStatus
10024
10025 2002-01-08  Juergen Vigna  <jug@sad.it>
10026
10027         * text.C (nextBreakPoint): use function Inset::isChar().
10028
10029         * paragraph.C (TeXOnePar): use function
10030         Inset::forceDefaultParagraphs.
10031
10032         * buffer.C (latexParagraphs): use function
10033         Inset::forceDefaultParagraphs.
10034
10035 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10036
10037         * lyx_gui.C (init): set the style of the menu popups to
10038         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10039
10040 2002-01-07  Juergen Vigna  <jug@sad.it>
10041
10042         * text.C (setHeightOfRow): small fix
10043         (prepareToPrint): don't look at alignment if we don't have the place
10044         for doing it.
10045
10046 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10047
10048         * box.C: New file. Move the Box methods and functions out of box.h,
10049         following Lars' suggestion.
10050
10051 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * box.h: #include "support/LOstream.h", needed for inlined function.
10054
10055         * lyxtextclass.C:
10056         * lyxtextclasslist.C: added some using std declarations.
10057
10058 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * box.h: make signed dimensions to allow insets wider than
10061           the screen (bug #162)
10062
10063         * BufferView_pimpl.C: add some insetHit debug
10064
10065 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * vc-backend.C: add FIXME
10068
10069 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * lyxfunc.C (getStatus): enable code for showing math font status
10072         in toolbar/menu.
10073
10074 2002-01-07  Juergen Vigna  <jug@sad.it>
10075
10076         * text.C (nextBreakPoint): removed debug output not needed anymore.
10077
10078 2002-01-06  Juergen Vigna  <jug@sad.it>
10079
10080         * text.C (nextBreakPoint): fixed up this function we had this bug
10081         since ever but now hopefully we break row better.
10082         (insertChar): we have to check if an inset is the next char as it
10083         could now happen that a large inset is causing a break.
10084
10085 2002-01-05  Juergen Vigna  <jug@sad.it>
10086
10087         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10088         if it doesn't like to be drawed.
10089
10090 2002-01-04  Juergen Vigna  <jug@sad.it>
10091
10092         * BufferView2.C (lockInset): forgot to set a cursor.
10093
10094         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10095
10096 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10097
10098         * FormMathsPanel.C:
10099         * FormMathsPanel.h
10100         * MathsSymbols.C:
10101         * form_maths_panel.C:
10102         * form_maths_panel.h:
10103         * form_maths_panel.fd: implemented sub- and super- buttons in math
10104         panel.
10105
10106         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10107         (or ^ space) to be used as in TeX (req'd by André).
10108
10109         * lyxfunc.C: Allow ^ and _ again to be used both as
10110         super/subscript (mathed) and as themselves (in text).
10111
10112 2002-01-03  Allan Rae  <rae@lyx.org>
10113
10114         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10115         "LyX" or the filename of the current buffer if it has one.  This is a
10116         modified form of John Levon's patch.
10117
10118         * XFormsView.C (setWindowTitle): also set icon title.
10119
10120         * LyXView.h (setWindowTitle): signature changed.
10121         * XFormsView.h (setWindowTitle): ditto.
10122
10123 2002-01-02  Juergen Vigna  <jug@sad.it>
10124
10125         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10126
10127 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10128
10129         * screen.C (topCursorVisible): introduce a temp var for
10130         text->cursor.row(), handle the case where this row is null. (kindo
10131         hachish)
10132
10133         * text2.C (setCursor): add a couple of asserts.
10134
10135         * paragraph.h (inset_iterator): add -> operator
10136
10137         * paragraph.[Ch] (autoDeleteInsets): remove member function
10138
10139         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10140         cursor pos correctly and handle inset deletion by itself.
10141         (insertErrors): move iterator declaration out of for expression
10142
10143         * lyxtextclass.C: add <algorithm>
10144
10145         * Makefile.am: added the new files to sources, removed layout.C
10146
10147         * layout.C: removed file
10148
10149         * layout.h: remove LYX_DUMMY_LAYOUT
10150
10151         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10152         layout.
10153
10154         * lyxlayout.[Ch]:
10155         * lyxtextclass.[Ch]:
10156         * lyxtextclasslist.[Ch]: new files
10157
10158         * include order changes to a lot of files, also changes because of
10159         the six new files.
10160
10161 2001-12-27  Juergen Vigna  <jug@sad.it>
10162
10163         * buffer.C (asciiParagraph): more fixes.
10164
10165         * tabular.C (ascii): make ascii export support export of only the
10166         data separated by a column-delimiter.
10167         (ascii): better support for ascii export.
10168
10169         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10170
10171 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10172
10173         * tabular_funcs.C: use a "using std::getline" instead of the
10174         previous fix from Angus (necessary for cxx + lyxstring)
10175
10176 2001-12-24  Juergen Vigna  <jug@sad.it>
10177
10178         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10179
10180         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10181         problems. First check a minipage also if we have some ert-contents
10182         (not only on par->size(), second set the right depth of the paragraph
10183         on the relink to the root-paragraph-list!
10184
10185         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10186         which then did not anymore update the main paragraphs on undo/redo!
10187
10188 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10191         code. Support all font-changing funcs (even those which are not in
10192         menu currently). Support for reporting font settings in
10193         mathed (disabled until Andre provides a function on mathed's side).
10194
10195         * func_status.h (toggle): small helper function to set toggle
10196         state on a flag.
10197
10198 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10199
10200         * tabular_funcs.C: getline -> std::getline
10201
10202 2001-12-21  Juergen Vigna  <jug@sad.it>
10203
10204         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10205         accessed and could be 0 (I couldn't generate this but it seems
10206         Michael could!).
10207
10208 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10211         * tabular_funcs.h: here and include iosfwd
10212
10213 2001-12-20  Juergen Vigna  <jug@sad.it>
10214
10215         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10216         inside inset but undo_par was.
10217
10218 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * Thesaurus.C: always include <config.h> in sources.
10221
10222         * Painter.h:
10223         * lyxlookup.h:
10224         * box.h: do not include <config.h> in header files
10225
10226         * text.C (paintLastRow): remove unused variable
10227
10228         * text.C (transformChar):
10229         (insertChar):
10230         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10231
10232         * Painter.C (text):
10233         * font.C (width): rewrite to use uppercase() instead of
10234         islower/toupper.
10235
10236         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10237
10238 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfind.C: clean up of find failure position change
10241
10242 2001-12-20  Juergen Vigna  <jug@sad.it>
10243
10244         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10245
10246         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10247         (TeXRow): added to LaTeX a single tabular row.
10248         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10249         (Latex): simplified and finally good LT-h/f support.
10250         (various_functions): just small adaptions for LT-h/f support.
10251
10252         * tabular_funcs.[hC]: added and moved here all not classfunctions
10253         of LyXTabular.
10254
10255 2001-12-19  Juergen Vigna  <jug@sad.it>
10256
10257         * tabular.[Ch]: better support for longtabular options (not finished
10258         yet!)
10259
10260 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10261
10262         * text.C (paintLastRow): use the label font instead of the font of
10263         the last character to compute the size of *_BOX. This makes more
10264         sense and avoids a crash with empty paragraphs.
10265         Use Painter::rectangle to draw EMPTY_BOX.
10266
10267 2001-12-19  Juergen Vigna  <jug@sad.it>
10268
10269         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10270         the paragraphs if the replaced paragraph is not the first one!
10271         Tried to delete not used paragraphs but does not work yet so for
10272         now it's inside #ifdef's and by default off!
10273
10274 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10275
10276         * MenuBackend.C: include "lyx_main.h" instead of declaring
10277         lastfiles (actually was declared as LastFiles* instead of a
10278         scoped_ptr).
10279
10280 2001-12-17  Juergen Vigna  <jug@sad.it>
10281
10282         * tabular.C (AppendColumn): applied John's fix
10283
10284 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * BufferView.h:
10287         * BufferView.C:
10288         * BufferView_pimpl.h:
10289         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10290
10291         * Makefile.am:
10292         * box.h: new start of class for above
10293
10294         * lyxfunc.C: ignore space-only minibuffer dispatches.
10295           Show the command name when it doesn't exist
10296
10297         * minibuffer.C: don't add empty lines to the history
10298
10299         * minibuffer.C: add a space on dropdown completion
10300
10301 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * text.C: fix line above/below drawing in insets
10304
10305 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * lyxlength.C (LyXLength): Initialize private variables.
10308
10309 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10310
10311         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10312         when inserting error insets.
10313
10314 2001-12-13  Juergen Vigna  <jug@sad.it>
10315
10316         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10317         actually sometimes the before-paragraph.
10318         (setUndo): don't clear the redostack if we're not actually undoing!
10319
10320 2001-12-06  Juergen Vigna  <jug@sad.it>
10321
10322         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10323         and fixed redoing of main paragraph, so we can use it now ;)
10324
10325         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10326
10327 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10330         Juergen's request
10331
10332 2001-12-13  André Pönitz <poenitz@gmx.net>
10333
10334         * undostack.[Ch]:
10335         * undo_func.C: minor cleanup
10336
10337 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10340         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10341         font in urw-fonts package which is marked as -urw-fontspecific and
10342         does not work (incidentally, changing the encoding in the
10343         fonts.dir of this package to -adobe-fontspecific fixes the
10344         problem).
10345
10346         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10347         is a crash when undoing first paragraph (Juergen, please take a
10348         look). THis does not mean the undo fix is wrong, just that it
10349         uncovers problems.
10350
10351         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10352         the (Paragraph*) version when needed instead of duplicating the
10353         code.
10354
10355         * text.C (workWidth): use Inset::parOwner to find out where the
10356         inset has been inserted. This is a huge performance gain for large
10357         documents with lots of insets. If Inset::parOwner is not set, fall
10358         back on the brute force method
10359
10360         * paragraph_pimpl.C (insertInset):
10361         * paragraph.C (Paragraph):
10362         (cutIntoMinibuffer): set parOwner of insets when
10363         inserting/removing them
10364
10365         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10366
10367 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10368
10369         * commandtags.h:
10370         * LyXAction.C:
10371         * lyx_main.C:
10372         * lyxfunc.C:
10373         * mathed/formulabase.C:
10374         * mathed/math_cursor.[Ch]:
10375         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10376
10377
10378 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10379
10380         * lyxlength.[Ch] (operator!=): new function
10381
10382 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * text.C (workWidth): use Inset::parOwner to find out where the
10385         inset has been inserted. This is a huge performance gain for large
10386         documents with lots of insets. If Inset::parOwner is not set, fall
10387         back on the brute force method
10388
10389         * paragraph_pimpl.C (insertInset):
10390         * paragraph.C (Paragraph):
10391         (cutIntoMinibuffer): set parOwner of insets when
10392         inserting/removing them
10393
10394         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10395
10396 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * tabular-old.C (getTokenValue):
10399         * tabular.C (getTokenValue):
10400         (write_attribute): new versions for LyXLength
10401         (everywhere): adjust the use of widths
10402
10403         * tabular.h: change the type of widths from string to LyXLength
10404
10405 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10406
10407         * paragraph.C: fixed missing line number count when exporting
10408         Environments to LaTeX file
10409
10410         * buffer.C: added informational message for checking line numbers.
10411
10412 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10413
10414         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10415         paragraph, do the 'double space' part, but not the 'empty
10416         paragraph' one.
10417
10418         * text.C (workWidth): small optimization
10419         (getLengthMarkerHeight): use minimal size for negative lengths.
10420
10421 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10424
10425         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10426
10427 2001-12-11  André Pönitz <poenitz@gmx.net>
10428
10429         * FontLoader.C:
10430         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10431
10432 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * text2.C: keep selection on a setFont()
10435
10436 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * lyx_cb.C: another bv->text misuse, from insert label
10439
10440 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * kbsequence.h:
10443         * kbsequence.C: re-instate nmodifier mask
10444
10445 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10446
10447         * lyx_main.h: make lyxGUI private.
10448
10449 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * lyxfind.C: place the cursor correctly on failed search
10452
10453 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10454
10455         * text.C (getLengthMarkerHeight): for small heights, the arrows
10456         are not always on top/bottom of the text
10457         (drawLengthMarker): smaller arrows; take the left margin in
10458         account; draw also vfills.
10459         (paintFirstRow):
10460         (paintLastRow): remove special code for vfill and standard spaces,
10461         since everything is handled in drawLengthMarker now.
10462
10463 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * buffer.C (insertErtContents): try to handle font and language
10466         interaction a bit better.g
10467
10468         * ColorHandler.C (updateColor): change the hash to cover the whole
10469         LColor enum, ws cleanup
10470         (getGCLinepars): ditto
10471         (getGCLinepars): only lookup in the linecache once.
10472
10473 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10474
10475         * iterators.C (operator++): Make the iterator more robust
10476
10477         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10478         (John's patch)
10479         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10480
10481 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * lyxtext.h:
10484         * text.C: better added space drawing
10485
10486 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10487
10488         * LyXView.C:
10489         * BufferView2.C: fix layout combo update on inset unlock
10490
10491 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * Makefile.am: don't compile unused files
10494
10495 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * lyxfunc.C:
10498         * commandtags.h:
10499         * LyXAction.C: remove old LFUN_LAYOUTNO
10500
10501 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * paragraph_pimpl.h:
10504         * paragraph_pimpl.C: isTextAt() doesn't need font param
10505
10506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * lyxlex.h:
10509         * lyxlex.C: little cleanup
10510
10511 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * BufferView_pimpl.C: fix insertAscii for insets
10514
10515 2001-12-05  Juergen Vigna  <jug@sad.it>
10516
10517         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10518         set the right font on the "multi" paragraph paste!
10519
10520 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * trans_decl.h:
10523         * trans_mgr.[Ch]:
10524         * trans.[Ch]:
10525         * lyxgluelength.C:
10526         * lyxlength.C: remove out-commented code.
10527
10528         * BufferView_pimpl:
10529         * CutAndPaste.C:
10530         * DepTable.C:
10531         * buffer.C:
10532         * chset.C:
10533         * lastfiles.C:
10534         * lyxlex.C:
10535         * lyxlex_pimpl.C:
10536         * lyxserver.C:
10537         * screen.C:
10538         * tabular-old.C:
10539         * tabular.C:
10540         * text.C:
10541         * trans_mgr.C:
10542         * vc-backend.C: change "while(" to "while ("
10543
10544         * lyxlength.[Ch]: add zero function to check if length is zero or
10545         not
10546         * lyxgluelength.C: use it
10547
10548 2001-12-05  Allan Rae  <rae@lyx.org>
10549
10550         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10551         Works for 2.95.3, from what I understand of Garst's reports this should
10552         work for other g++ versions.  We're screwed if the abs(int) definition
10553         changed between bugfix releases of gcc.
10554
10555 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * text.C: fix chapter label offset !
10558
10559 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * lyxtext.h:
10562         * text.C: fix hfill at end of line, clean up
10563
10564 2001-12-04  Juergen Vigna  <jug@sad.it>
10565
10566         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10567         that we force an update of the inset and it's owners if neccessary.
10568
10569 2001-12-03  Juergen Vigna  <jug@sad.it>
10570
10571         * text.C (rowLast): simplified code
10572
10573 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * lyxfunc.C: fix show options on timeout
10576
10577 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * screen.C (topCursorVisible): scroll half a page when the cursor
10580         reached top of bottom of screen
10581
10582 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * minibuffer.C: deactivate on loss of focus
10585
10586 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * vspace.[Ch] (operator!=): add operator.
10589
10590 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * BufferView_pimpl.C: refuse to open an inset when
10593         there's a selection.
10594
10595 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * BufferView_pimpl.C: allow to click on RHS of full row insets
10598
10599 2001-11-30  Juergen Vigna  <jug@sad.it>
10600
10601         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10602         insets for undo reasons.
10603
10604 2001-11-28  André Pönitz <poenitz@gmx.net>
10605
10606         * vspace.[Ch]: cosmetical changes
10607
10608 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * LyXAction.h:
10611         * LyXAction.C:
10612         * lyxfunc.h:
10613         * lyxfunc.C:
10614         * kbmap.h:
10615         * kbmap.C:
10616         * lyxrc.C:
10617         * kbsequence.h:
10618         * kbsequence.C: part re-write of old kb code
10619
10620         * Painter.C:
10621         * WorkArea.C: remove Lgb_bug_find_hack
10622
10623 2001-11-30  José Matos <jamatos@fep.up.pt>
10624
10625         * buffer.C (makeDocBookFile): add a comment to point a hack.
10626         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10627         Fixed a double write of labels.
10628
10629 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10630
10631         * LaTeX.C:
10632         * LaTeX.h Fixed bug in LaTeX class where it would not
10633         re-run latex if no depfiles were changed, but the .dvi was removed.
10634
10635 2001-11-28  André Pönitz <poenitz@gmx.net>
10636
10637         * all the files from the change on 2001/11/26:
10638         use lyx::layout_type instead of LyXTextClass::size_type
10639         use lyx::textclass_type instead of LyXTextClassList::size_type
10640
10641 2001-11-29  Juergen Vigna  <jug@sad.it>
10642
10643         * text.C: added support for paragraph::isFreeSpacing()
10644
10645         * buffer.C: same as above
10646
10647         * paragraph.h: inserted isFreeSpacing() function to enable
10648         FreeSpacing inside InsetERT.
10649
10650         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10651         of the paragraph's in the cut/copy buffer to 0!
10652
10653         * text2.C (removeRow): remove the assert as it can!
10654
10655         * lyxtext.h: added helper function firstRow returning firstrow and
10656         made firstrow private again.
10657
10658         * BufferView2.C (lockInset): don't relock if we're already locked!
10659
10660         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10661         the only paragraph.
10662         (removeRow): added Assert::(firstrow)
10663
10664         * debug.C: forgot to add INSETTEXT here.
10665
10666 2001-11-28  Juergen Vigna  <jug@sad.it>
10667
10668         * sp_spell.C (initialize): changed error text to more general
10669         spellchecker command use (not only ispell!)
10670
10671         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10672
10673         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10674
10675 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * vspace.C: initialise lyxgluelength on failure
10678
10679 2001-11-28  Allan Rae  <rae@lyx.org>
10680
10681         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10682         declaration & definition that looks like a function declaration.
10683
10684 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10685
10686         * BufferView2.C (copy):
10687         (copyEnvironment): do not clear the selection when doing a copy.
10688
10689         * text.C (paintFirstRow): compilation fix
10690
10691 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10692
10693         * tabular.C (Latex): correct line count when writing latex.
10694
10695 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * paragraph_pimpl.h:
10698         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10699           bug a bit
10700
10701 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * text.C:
10704         * LColor.h:
10705         * LColor.C: change vfillline->added_space
10706
10707         * text.C: add markers and text for added space
10708
10709         * vspace.C: fix comment
10710
10711 2001-11-28  André Pönitz <poenitz@gmx.net>
10712
10713         * paragraph.C: whitespace changes
10714         * all the other files from the change on 2001/11/26:
10715         change *::pos_type into lyx::pos_type
10716
10717 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10720         language of the document when inserting error insets.
10721
10722 2001-11-26  André Pönitz <poenitz@gmx.net>
10723
10724         * BufferView_pimpl.[Ch]:
10725         *       CutAndPaste.C:
10726         * buffer.[Ch]:
10727         * lyxcursor.[Ch]:
10728         * lyxfind.C:
10729         * lyxfunc.C:
10730         * lyxrow.[Ch]:
10731         * paragraph.[Ch]:
10732         * paragraph_pimpl.[Ch]:
10733         * sp_spell.C:
10734         * text.C:
10735         * text2.C: reduce header dependencies, introduce type for positions
10736
10737 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * <various>: change to use Alert.h
10740
10741 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10744         when encountering an unknown token.
10745         (readLyXformat2): Show an error message if there were unknown tokens.
10746
10747 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView2.C:
10750         * BufferView_pimpl.C:
10751         * buffer.C:
10752         * paragraph.h:
10753         * text.C:
10754         * text2.C: use par->isInset()
10755
10756 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * paragraph_pimpl.h:
10759         * paragraph_pimpl.C: cleanup
10760
10761 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10762
10763         * text2.C (removeRow):
10764         * text.C (setHeightOfRow): remove useless (and costly) call to
10765         getRow.
10766
10767 2001-11-20  Allan Rae  <rae@lyx.org>
10768
10769         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10770         Now need Inset*::checkInsertChar() to return true for appropriate
10771         cases so that the characters in the minibuffer will actually be
10772         inserted.
10773
10774 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10775
10776         * text.C: change the order of the includes.
10777         (workWidth): initialize it at once.
10778         (workWidth): make maxw unsigned
10779         (setHeightOfRow): remove unused variable (inset)
10780         (selectSelectedWord): remove unused variable (inset)
10781         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10782
10783 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10786         server is not running.
10787         (openConnection):
10788         (closeConnection): add debug info when server is disabled.
10789
10790         * ColorHandler.C (getGCForeground): send debug message to GUI
10791         channel.
10792
10793         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10794
10795         * kbmap.C (bind): modify because return conventions of
10796         kb_sequence::parse have changed.
10797
10798         * kbsequence.C (parse): only ignore spaces and not any stupid
10799         control character. This avoids tests like s[i] <= ' ', which are
10800         guaranteed to fail with 8bit characters and signed chars.
10801         Change return code to string::npos when there have been no error
10802         (0 was a bad idea when error is at first character)
10803
10804 2001-11-14  José Matos  <jamatos@fep.up.pt>
10805
10806         * buffer.h:
10807         * buffer.C (simpleDocBookOnePar): removed unused argument.
10808
10809 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10810
10811         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10812         insets which are part of a word. Paragraph::isLetter takes care of
10813         that now. Use Paragraph::isInset to identify insets.
10814         (selectSelectedWord): do not test for hyphenation break.
10815
10816         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10817         that protected spaces are considered as spaces.
10818
10819         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10820         Inset::isLetter.
10821
10822 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * lyxserver.h:
10825         * lyxserver.C: fix it. and small cleanup.
10826
10827 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * BufferView_pimpl.C: use inline helpers
10830
10831         * LaTeXFeatures.h:
10832         * LaTeXFeatures.C: fix typos
10833
10834         * Spacing.h:
10835         * Spacing.C: move spacing_string into class
10836
10837         * ToolbarDefaults.C: move stuff into namespace anon
10838
10839         * layout.h: update enum
10840
10841         * lyxfunc.C: use better debug
10842
10843         * minibuffer.h: fix typo
10844
10845         * debug.h:
10846         * debug.C:
10847         * WorkArea.C: add and use Debug::WORKAREA
10848
10849         * lyxtext.h:
10850         * text.C:
10851         * text2.C: code re-organisation, inline helpers
10852
10853 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10854
10855         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10856         std::vector.empty().
10857
10858 2001-11-09  Allan Rae  <rae@lyx.org>
10859
10860         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10861         '\n's after tables.  Tabular and ERT inset work now makes this no
10862         longer necessary.
10863
10864 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * minibuffer.h:
10867         * minibuffer.C: fix crash, improve drop-down completion
10868
10869 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxserver.h:
10872         * lyxserver.C: invalidate fd's when doing endPipe()
10873
10874 2001-11-08  José Matos  <jamatos@fep.up.pt>
10875
10876         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10877         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10878
10879         * paragraph.h:
10880         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10881
10882 2001-11-07  José Matos  <jamatos@fep.up.pt>
10883
10884         * buffer.h:
10885         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10886         const qualifier.
10887
10888         * buffer.C (sgmlOpenTag):
10889         * buffer.C (sgmlCloseTag): removed debug info.
10890
10891         * buffer.h (sgmlOpenTag):
10892         * buffer.h (sgmlCloseTag): made public.
10893
10894 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * buffer.C (saveParamsAsDefaults):
10897         * lyx_cb.C (MenuLayoutSave): remove
10898
10899         * LyXAction.C (init):
10900         * commandtags.h:
10901         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10902
10903 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10904
10905         * buffer.C (setPaperStuff): removed from here...
10906
10907         * bufferparams.C (setPaperStuff): ... and moved there.
10908
10909 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * minibuffer.h:
10912         * minibuffer.C:
10913         * XFormsView.C: add support for drop-down completion
10914
10915 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10916
10917         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10918         commands.
10919
10920 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10921
10922         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10923         disabled.
10924
10925 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * lyx_main.C: change ref to known bugs
10928
10929 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10930
10931         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10932         to work around older babel problems.
10933
10934 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10935
10936         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10937
10938 2001-10-24  Juergen Vigna  <jug@sad.it>
10939
10940         * tabular-old.C (ReadOld): below variable changes reflected.
10941
10942         * tabular.[Ch]: added ltType struct for longtable header/footer
10943         defines and changed all instances where they are used. Added
10944         future support for double top/bottom rows.
10945
10946 2001-10-24  José Matos  <jamatos@fep.up.pt>
10947
10948         * buffer.h (docbookHandleCaption):
10949         * buffer.C (docbookHandleCaption): removed unused function.
10950         (makeDocBookFile): moved docbook supported version to v4.1.
10951
10952 2001-10-24  José Matos  <jamatos@fep.up.pt>
10953
10954         * tabular.h:
10955         * tabular.C (docbookRow): new function to export docbook code of a row.
10956         (DocBook): now honors the longtable flags.
10957
10958 2001-10-23  José Matos  <jamatos@fep.up.pt>
10959
10960         * LaTeXFeatures.h:
10961         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10962         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10963
10964         * buffer.C (makeLinuxDocFile):
10965         (makeDocBookFile): reworked the preamble, more clean, and with
10966         support for lyx defined entities. Changed the document declaration
10967         to be more XML friendly.
10968
10969         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10970         if we need to output XML that should be done with a filter.
10971
10972 2001-10-22  Juergen Vigna  <jug@sad.it>
10973
10974         * sp_pspell.h (class PSpell): add alive function needed in the
10975         controller to see if the spellchecker could be started.
10976
10977 2001-10-22  Juergen Vigna  <jug@sad.it>
10978
10979         * buffer.C (insertStringAsLines): modify the font for inserting
10980         chars in certain conditions by calling checkInsertChar(font).
10981
10982 2001-10-19  Juergen Vigna  <jug@sad.it>
10983
10984         * text.C (workWidth): use getRow instead of wrong algorithm.
10985         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10986
10987 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10988
10989         * lyxserver.h:
10990         * lyxserver.C:
10991         * lyx_main.h:
10992         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10993
10994 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10995
10996         * text.C (workWidth): do not search for the exact row when
10997         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10998         optimization for big documents.
10999
11000 2001-10-18  Juergen Vigna  <jug@sad.it>
11001
11002         * text.C (workWidth): new function with added Inset * parameter.
11003
11004 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11005
11006         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11007
11008         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11009         change return type of getColumnNearX.
11010
11011
11012         * text.C (changeRegionCase): use uppercase/lowercase instead of
11013         toupper/tolower.
11014         (leftMargin):
11015         (rightMargin): simplify code by factoring out the uses of
11016         textclasslist.
11017         (labelFill):
11018         (numberOfHfills):
11019         (setHeightOfRow):
11020         (appendParagraph): use Paragraph::size_type
11021
11022 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11023
11024         * vspace.C (asLatexString): add a missing break
11025
11026 2001-10-15  Herbert Voss  <voss@perce.de>
11027
11028         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11029
11030 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11031
11032         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11033         is not available.
11034
11035 2001-10-10  André Pönitz <poenitz@gmx.net>
11036
11037         * lyxfunc.C: removed greek_kb_flag.
11038
11039 2001-10-10  Herbert Voss  <voss@perce.de>
11040
11041         * lyx_main.C: delete global string help_lyxdir.
11042
11043 2001-10-09  Herbert Voss  <voss@perce.de>
11044
11045         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11046
11047         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11048
11049         * lyx_main.C: added global string help_lyxdir.
11050
11051         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11052
11053 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11054
11055         * lyxrc.C (set_font_norm_type): support iso8859-4
11056
11057 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11058
11059         * LaTeX.C (deplog): add another regex for MikTeX
11060
11061 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11062
11063         * lyxrc.C (set_font_norm_type): support iso8859-3
11064
11065 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11066
11067         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11068
11069         * LaTeXFeatures.C: remove special case of french and index
11070
11071         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11072         before \begin{document}). This solves several incompatibilities.
11073
11074 2001-10-03  Garst Reese  <reese@isn.net>
11075
11076         * lyx_cb.C: change CheckTex error msg.
11077
11078 2001-10-03  José Matos  <jamatos@fep.up.pt>
11079
11080         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11081
11082 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * .cvsignore: update
11085
11086         * lyx_main.C (commandLineVersionInfo): use new style version info.
11087
11088         * buffer.C (writeFile):
11089         (makeLaTeXFile):
11090         (makeLinuxDocFile):
11091         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11092
11093         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11094
11095         * version.h: update to use stuff in version.C
11096
11097         * version.C.in: new file. Contains version information determined
11098         at compile time. This is a merging of version.h and
11099         version_info.h.in.
11100
11101 2001-10-03  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (update): don't change "dirty" status in
11104         updateInset call.
11105
11106 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11107
11108         * WorkArea.C (c-tor): re-position version string slightly.
11109
11110 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11113         revert to previous code.
11114
11115         WorkArea.[Ch]: (show, destroySplash): methods removed.
11116
11117         WorkArea.C: rework code so that it's an amalgam of the codes before and
11118         after the splash screen was moved to WorkArea.
11119
11120 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11121
11122         * lyxrc.C (read):
11123         * vspace.C (inPixels):
11124         (lyx_advance):
11125         * kbmap.C (bind):
11126         * buffer.C (insertStringAsLines):
11127         (asciiParagraph): fix types to be large enough
11128
11129         * lyxlex_pimpl.h: change member status from short to int
11130
11131         * layout.h: fix type of endlabeltype
11132
11133         * kbmap.C (bind):
11134         * kbsequence.C (parse): change return type to string::size_type
11135
11136         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11137         variable
11138
11139         * Bullet.C (bulletSize):
11140         (bulletEntry): do not use short ints as parameters
11141
11142         * BufferView2.C (insertLyXFile): change a char to an int.
11143
11144         * WorkArea.C (WorkArea): remove unneeded floats in computation
11145
11146 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11149
11150         * paragraph.C (asString): Do not ignore newline/hfill chars when
11151         copying to the clipboard.
11152
11153 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11154
11155         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11156         after a multi-line inset.
11157
11158 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11159
11160         * paragraph.C (validate): Set NeedLyXFootnoteCode
11161
11162 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11165         and decrease-error to decrease.
11166
11167 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11168
11169         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11170         it more readable (should be equivalent)
11171
11172 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11173
11174         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11175
11176 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11177
11178         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11179         of a cursor (row, etc.) after a character has been deleted
11180         (deleteEmptyParagraphMechanism): call the method above on _all_
11181         cursors held by the LyXText when a double space has been
11182         detected/deleted.
11183
11184 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11185
11186         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11187         pixmap.
11188         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11189
11190         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11191         background. Use greyOut() and the new show() methods to toggle between
11192         the foreground and background. Add code to remove the splash after
11193         its initial showing.
11194
11195         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11196         (create_forms): no longer call Dialogs::showSplash.
11197
11198 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * .cvsignore: add version_info.h
11201
11202 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11203
11204         * version_info.h.in: new file
11205
11206         * Makefile.am: add version_info.h.in
11207
11208         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11209         version_info.h instead of VERSION_INFO
11210
11211 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11212
11213         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11214         The ERT inset now returns string().
11215
11216 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11217
11218         * lyxtext.h, text.C (selectNextWord): renamed as
11219         selectNextWordToSpellcheck.
11220
11221         * text.C (selectNextWordToSpellcheck): Modified to not select
11222         words inside an ERT inset.
11223
11224 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11225
11226         * lyx_cb.C (MenuLayoutSave): change a bit the question
11227
11228         * sp_base.h: include <sys/types.h>
11229
11230 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11231
11232         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11233
11234 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11235
11236         * several files: fix typos in user-visible strings
11237
11238 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11239
11240         * text2.C (pasteSelection): do not set the selection, since it
11241         will be cleared later. Actually, the intent was to fix the way the
11242         selection was set, but I figured rmoving the code was just as good.
11243
11244 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * FontLoader.C (available): Check if font is available without
11247         loading the font.
11248
11249 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11250
11251         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11252
11253 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * lyxrc.[Ch]: added display_graphics variable and associated code.
11256
11257 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * bufferparams.C (hasClassDefaults): new method. Returns true if
11260         the buffer parameters correspond to known class defaults
11261
11262 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11263
11264         * XFormsView.C (show): set minimum size to the main window.
11265
11266 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11267
11268         * text2.C (copySelection):
11269         (cutSelection):
11270         * lyxfind.C (LyXReplace):
11271         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11272         LyXText::selectionAsString.
11273
11274         * paragraph.C (asString): add "label" argument to the second form
11275
11276         * text2.C (selectionAsString): add "label" argument and pass it to
11277         Paragraph::asString.
11278
11279 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11280
11281         * lyx_main.C (commandLineHelp): remove version information
11282
11283 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11284
11285         * lyx_main.C: add -version commandline option
11286
11287 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * paragraph.h: make the optional constructor arg required instead.
11290         some modifications to other files because of this.
11291
11292         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11293
11294         * lyxserver.C (C_LyXComm_callback): make it static
11295
11296         * lyx_main.C (error_handler): make it static
11297
11298         * lyx_gui.C (LyX_XErrHandler): make it static
11299
11300         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11301
11302         * WorkArea.C: make the extern "C" methods static.
11303
11304         * Makefile.am (lyx_LDADD): simplify
11305
11306 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11309         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11310
11311         * LyXAction.C (init):
11312         * lyxfunc.C (dispatch): associated code removal.
11313
11314 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * lyxfont.h (isSymbolFont): shut off warning
11317
11318         * text.C (setHeightOfRow):
11319         (getVisibleRow): fix crash with empty paragraphs which have a
11320         bottom line
11321
11322 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11323
11324         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11325         code.
11326
11327 2001-09-04  José Matos  <jamatos@fep.up.pt>
11328         * buffer.C
11329         * buffer.h
11330         * tabular.C (docbook): rename docBook method to docbook.
11331
11332 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11333
11334         * Makefile.am: add dependencies to main.o.
11335
11336 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11337
11338         * FontLoader.C (available): Return false if !lyxrc.use_gui
11339
11340 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11341
11342         * FontInfo.C (query):
11343         * converter.C (view):
11344         * importer.C (Import):
11345         * exporter.C (Export): Can not -> cannot.
11346
11347 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * BufferView_pimpl.C: allow to create index inset even if
11350           string is empty
11351
11352 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * buffer.C (getLists): replace boost::tie code with an explicit pair
11355         as boost::tie can break some compilers.
11356
11357         * iterators.h: Added a std:: declaration to the return type of
11358         ParIterator::size.
11359
11360 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11363           case.
11364
11365 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11366
11367         * iterators.[Ch]: New files. Provide paragraph iterators.
11368
11369         * buffer.C (changeLanguage): Use paragraph iterators.
11370         (isMultiLingual): ditto
11371
11372         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11373
11374 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * FontLoader.C: Support for cmr font.
11377
11378 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11381         (available): New method.
11382
11383         * FontInfo.C (getFontname): Use scalable fonts even when
11384         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11385         found.
11386
11387 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * converter.C (Formats::view): reverted! Incorrect fix.
11390
11391 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11392
11393         * converter.C (Formats::view): only output the -paper option
11394         if the dvi viewer is xdvi, thereby fixing bug #233429.
11395
11396 2001-08-23  Herbert Voss  <voss@perce>
11397
11398         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11399
11400 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11401
11402         * Spacing.h (Spacing): Set space to Default on in the default
11403         constructor.
11404
11405 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * vc-backend.h (RCS::versionString): add RCS to version
11408         (CVS::versionString): add CVS to version
11409
11410         * vc-backend.C (scanMaster): do not add CVS to version.
11411         (scanMaster): do not add RCS to version
11412
11413         * lyxvc.C (versionString): new method
11414
11415         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11416
11417 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * Spacing.C (set): initialize fval
11420
11421 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11424         " or \.
11425
11426 2001-08-16  Juergen Vigna  <jug@sad.it>
11427
11428         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11429
11430 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * BufferView_pimpl.C:
11433         * figureForm.C:
11434         * lyxtext.h:
11435         * text2.C: setParagraph takes linespacing now
11436
11437 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * LyxAction.C: add internal LFUN_CITATION_INSERT
11440
11441         * LyXView.C: actually apply fix
11442
11443         * bufferlist.C: fix open non-existent file
11444
11445         * lyxfind.C: fix indentation
11446
11447         * lyxfunc.C: remove unneeded assert, fix typo
11448
11449 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * MenuBackend.C: use "Floatname List"
11452
11453 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11454
11455         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11456         when converting LaTeX layout to insetERT.
11457         Generate a non-collapsed float when reading old float
11458
11459 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11460
11461         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11462         ERT insets.
11463
11464 2001-08-13  Juergen Vigna  <jug@sad.it>
11465
11466         * text.C (fill): return 0 instead of 20 as this seems to be the more
11467         correct value.
11468
11469 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11472         lyxrc.font_norm.
11473
11474 2001-08-13  Juergen Vigna  <jug@sad.it>
11475
11476         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11477         casesensitive off.
11478         (SearchBackward): comment out the unlocking of the inset_owner this
11479         should not be needed!
11480
11481 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11482
11483         * Many files: Remove inherit_language, and add latex_language
11484
11485         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11486         collapsible insets.
11487
11488 2001-08-10  Juergen Vigna  <jug@sad.it>
11489
11490         * text.C (prepareToPrint): fixed hfill-width in draw!
11491
11492         * BufferView2.C (selectLastWord): save the selection cursor as this
11493         now is cleared in the function LyXText::clearSelection!
11494
11495 2001-08-08  Juergen Vigna  <jug@sad.it>
11496
11497         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11498         BACKSPACE type functions.
11499
11500         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11501         is only cutted from the document but not put in the cut-buffer, where
11502         still the old stuff should be.
11503
11504         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11505
11506         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11507
11508         * tabular.C (SetWidthOfCell): fixed special case where the width
11509         was not updated!
11510         (LeftLine): handle '|' in align_special.
11511         (RightLine): ditto
11512         (LeftAlreadyDrawed): ditto
11513         (SetWidthOfCell): ditto
11514
11515 2001-08-07  Juergen Vigna  <jug@sad.it>
11516
11517         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11518
11519 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11522         * lyxlex.[hC]: ditto
11523
11524 2001-08-06  Juergen Vigna  <jug@sad.it>
11525
11526         * text.C (getVisibleRow): fix up row clearing a bit.
11527
11528 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * minibuffer.C: make sure the X server sees the changes in the input.
11531
11532 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * paragraph.C (getFont): split into...
11535         (getLabelFont): this
11536         (getLayoutFont): and this
11537         * paragraph_pimpl.C (realizeFont): calling this
11538
11539         * text2.C (getFont): split into...
11540         (getLayoutFont): this
11541         (getLabelFont): and this
11542         (realizeFont): all three calling this
11543
11544         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11545         files where used.
11546
11547 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11548
11549         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11550
11551 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11552
11553         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11554         layouts from the Quote inset insertion.
11555
11556 2001-08-03  Juergen Vigna  <jug@sad.it>
11557
11558         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11559
11560         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11561         only if status not is already CHANGED_IN_DRAW (second level).
11562
11563         * text.C (draw): don't set the need_break_row when inside an
11564         InsetText LyXText.
11565
11566 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * buffer.C (parseSingleLyXformat2Token): handle more latex
11569         conversion cases.
11570
11571         * bufferview_funcs.[hC]: change function names to
11572         begin with small char, adjust other files.
11573
11574 2001-08-02  André Pönitz <poenitz@gmx.net>
11575
11576         * lyxfunc.C:
11577         BufferView_pimpl.C: remove broken special code for math-greek
11578
11579 2001-08-02  Juergen Vigna  <jug@sad.it>
11580
11581         * BufferView_pimpl.C (update): redone this function so that we
11582         update the text again if there was a CHANGE_IN_DRAW.
11583
11584         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11585         (drawFromTo): added a new internal bool which is used by draw() and
11586         redraw() function.
11587         (general): some cursor drawing problems fixed.
11588
11589 2001-08-01  Juergen Vigna  <jug@sad.it>
11590
11591         * lyxfind.C (LyXFind): fixed
11592         (SearchForward): ditto
11593         (SearchBackward): ditto
11594
11595         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11596         spurius drawing of the cursor in the main area.
11597
11598         * text2.C (status): small fix which could lead to a segfault!
11599         (clearSelection): remove unneeded BufferView param.
11600
11601 2001-08-01  André Pönitz <poenitz@gmx.net>
11602
11603         * lyxfunc.C: small change due to changed mathed interface
11604
11605 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11608
11609 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * lyxfunc.c: fail gracefully if file doesn't exist
11612
11613         * LyXSendto.C:
11614         * buffer.C:
11615         * lyxfunc.C:
11616         * BufferView_pimpl.C: IsDirWriteable() proto changed
11617
11618         * LyXView.C: fix updateWindowTitle() to store the last title
11619
11620 2001-07-31  Juergen Vigna  <jug@sad.it>
11621
11622         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11623         the font (wrong since using of Paragraph::highestFontInRange).
11624
11625         * paragraph.C (highestFontInRange): added a default_size parameter.
11626
11627         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11628         (setHeightOfRow): reformat
11629
11630 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * converter.[hC] + affected files: move to (inital-char)lowercase
11633         function names.
11634
11635         * ParagraphParameters.C (ParagraphParameters): remove commented code
11636
11637         * PainterBase.[Ch]: remove commented code
11638
11639         * LaTeXFeatures.h: add "bool floats" for float.sty
11640
11641         * LaTeXFeatures.C (LaTeXFeatures): init floats
11642         (require): handle float
11643         (getPackages): do it with floats
11644
11645 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11646
11647         * BufferView_pimpl.C (Dispatch): improve handling of
11648         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11649
11650         * commandtags.h: #include lyxfont.h here temporarily to avoid
11651         keybinding bug.
11652
11653         * bufferlist.h: include LString.h here.
11654
11655 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * text2.C (getStringToIndex): new method.
11658
11659 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11660
11661         * *: Reduced header file dependencies all over.
11662
11663 2001-07-30  Baruch Even  <baruch@lyx.org>
11664
11665         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11666
11667 2001-07-29  Baruch Even  <baruch@lyx.org>
11668
11669         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11670
11671 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * ParameterStruct.h (endif): add a default constructor to make
11674         sure that all variables is initialized.
11675
11676         * ParagraphParameters.C (ParagraphParameters): adjust
11677
11678 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11679
11680         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11681         index; also, check that there is something to index, and that it
11682         does not span over several paragraphs.
11683         (doubleClick): use WHOLE_WORD_STRICT for double click.
11684
11685         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11686
11687         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11688         scheme.
11689
11690 2001-07-26  Baruch Even  <baruch@lyx.org>
11691
11692         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11693         an InsetFig figure, backwards compatible reading of old figure code.
11694
11695 2001-07-27  Juergen Vigna  <jug@sad.it>
11696
11697         * text2.C: font.realize function adaption.
11698
11699         * text.C (draw): add a warnings lyxerr text if needed.
11700
11701         * layout.C: font.realize function adaption.
11702
11703         * language.C: add inherit_language and implement it's handlings
11704
11705         * bufferview_funcs.C (StyleReset): remove language parameter from
11706         font creation (should be language_inherit now).
11707
11708         * bufferparams.C (writeFile): handle ignore_language.
11709
11710         * paragraph.C (getFontSettings): the language has to be resolved
11711         otherwise we have problems in LyXFont!
11712
11713         * lyxfont.C (lyxWriteChanges): added document_language parameter
11714         (update): removed unneeded language parameter
11715
11716         * paragraph.C (validate): fixed wrong output of color-package when
11717         using interface colors for certain fonts in certain environments,
11718         which should not seen as that on the final output.
11719
11720 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * BufferView_pimpl.C:
11723         * Thesaurus.h:
11724         * Thesaurus.C:
11725         * Makefile.am:
11726         * commandtags.h:
11727         * LyXAction.C: add thesaurus support
11728
11729         * lyxfind.h:
11730         * lyxfind.C: add "once" parameter, for thesaurus, to not
11731           move to the next match
11732
11733 2001-07-26  Juergen Vigna  <jug@sad.it>
11734
11735         * lyxfont.C (realize): honor ignore_language too!
11736         (resolved): ditto.
11737
11738         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11739
11740         * text.C (draw): one place more for ignore_language to not draw
11741         itself!
11742
11743 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11744
11745         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11746
11747 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11750         the minipage conversion problem.
11751
11752 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11755         insert an inset.
11756
11757 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * BufferView.h: don't forward declare WorkArea
11760
11761         * BufferView.C: don't include WorkArea.h
11762
11763 2001-07-25  André Pönitz <poenitz@gmx.net>
11764
11765         * commandtags.h:
11766         * LyXAction.C:
11767         * lyxfunc.C:  new LFUN 'math-space'
11768
11769         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11770
11771 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * text2.C (toggleInset): call open/close
11774
11775 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * lyxfunc.C (dispatch): add debug for the disabled case
11778
11779         * font.C (buttonText): make similar to rectText
11780
11781         * buffer.C (readInset): comment out parsing of insetlist and
11782         insttheorem
11783
11784         * PainterBase.C (rectText): small correction
11785
11786         * BufferView_pimpl.C: comment out insettheorem and insetlist
11787         * LyXAction.C: ditto
11788         * commandtags.h: ditto
11789
11790 2001-07-24  Juergen Vigna  <jug@sad.it>
11791
11792         * text.C (draw): honor the ignore_language.
11793
11794         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11795
11796 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11797
11798         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11799         char inset.
11800
11801 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11802
11803         * lyxtext.h: remove unused (and unimplemented) methods
11804
11805 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11806
11807         * text.C (getVisibleRow): honor background color
11808
11809         * PainterBase.h:
11810         * Painter.h: remove default color argument for fillRectangle
11811
11812         * text.C (backgroundColor): new method
11813
11814 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * text.C (getVisibleRow): adjust
11817
11818         * font.[Ch] (rectText): new method, metrics
11819         (buttonText): new method, metrics
11820
11821         * PainterBase.[hC]: make rectText and buttonText always draw and take
11822         fewer paramteres.
11823
11824 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11825
11826         * ToolbarDefaults.C (read):
11827         * MenuBackend.C (read): allow escaping in all strings
11828
11829         * BufferView_pimpl.C (insertAndEditInset): new method.
11830         (Dispatch): use insertAndEditInset whenever appropriate.
11831
11832         * BufferView_pimpl.C (insertNote): removed
11833
11834         * BufferView_pimpl.C (smartQuote): new method, moved from
11835         BufferView; if an insetquote cannot be inserted, insert a '"'
11836         character instead.
11837
11838         * BufferView2.C: remove insertCorrectQuote();
11839
11840         * lyxfunc.C (getStatus): Add support for all remaingin
11841         inset-insert lfuns.
11842
11843         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11844
11845         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11846         command (necessary to pass " as parameter of self-insert.
11847
11848         * text.C (selectWordWhenUnderCursor):
11849         (selectWord): add word_location parameter
11850         (selectWordWhenUnderCursor): same + remove special code for word
11851         boundary.
11852         (selectNextWord): use kind() to guess type of insetspecialchar,
11853         not latex().
11854
11855         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11856         (insertErtContents): create ert insets as collapsed.
11857         (readInset): better compatibility code for Info inset.
11858
11859 2001-07-20  Juergen Vigna  <jug@sad.it>
11860
11861         * lyxfunc.C (dispatch): use always LyXFind now!
11862
11863         * text2.C (init): add a reinit flag so that the LyXText can be
11864         reinited instead of deleted and reallocated (used in InsetText).
11865
11866         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11867
11868         * text.C: ditto
11869
11870         * text2.C: ditto
11871
11872 2001-07-18  Juergen Vigna  <jug@sad.it>
11873
11874         * text.C (selectNextWord): handle insets inside inset by calling
11875         always the bv->text functions so that we can go up the_locking_inset!
11876
11877         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11878         in strange locations when inside an inset!
11879
11880         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11881         handling to include insets.
11882
11883         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11884
11885 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * LyXAction.C (init):
11888         * commandtags.h:
11889         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11890         LIGATURE_BREAK, since the name is so stupid.
11891
11892 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11893
11894         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11895         InsetInfos.
11896
11897         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11898
11899         * sp_form.[Ch]: remove.
11900
11901         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11902
11903         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11904         InsetInfo.
11905
11906         * src/buffer.C (readInset): ditto.
11907
11908 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11909
11910         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11911         menuSeparator(), endOfSentenceDot(), ldots() and
11912         hyphenationPoint(), which are therefore removed.
11913         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11914
11915         * LyXAction.C (init):
11916         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11917
11918         * paragraph.C (getWord): removed.
11919
11920         * BufferView_pimpl.C (Dispatch): use last word or selection for
11921         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11922
11923         * lyx_main.C (queryUserLyXDir): do not ask before creating
11924         user_dir, except if it has been named explicitely.
11925
11926 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11927
11928         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11929         a document of zero size.
11930
11931 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11932
11933         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11934         approriately in the c-tor and in require().
11935         (getPackages): output the appropriate LaTeX for natbib support.
11936
11937         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11938         variables "use_natbib" and "use_numerical_citations" when reading the
11939         LyX file.
11940         (readInset): read the various natbib cite commands.
11941         (validate): white-space change.
11942
11943         * bufferparams.[Ch]: new variables "bool use_natbib" and
11944         "bool use_numerical_citations".
11945         (writeFile): output them in the LyX file.
11946
11947 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11948
11949         * lyxfunc.C (getStatus): add support for all the inset insertion
11950         commands.
11951
11952         * text2.C (insertInset):
11953         * paragraph.C (insetAllowed):
11954         * BufferView_pimpl.C (insertInset): update to take in account the
11955         renaming of insertInsetAllowed
11956
11957         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11958
11959         * text2.C (getInset): new method. returns inset at cursor position.
11960
11961         * BufferView_pimpl.C (Dispatch): changes because of this.
11962
11963         * LyXAction.C (init): rename open-stuff to inset-toggle.
11964
11965         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11966
11967         * text2.C (toggleInset): renamed from openStuff; use
11968         Inset::open().
11969
11970 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11971
11972         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11973
11974         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11975
11976 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11977
11978         * buffer.C (readLyXformat2): Add filename to the error dialog
11979
11980 2001-07-18  Juergen Vigna  <jug@sad.it>
11981
11982         * tabular.C (GetCellNumber): put an assert here instead of the check!
11983
11984 2001-07-17  Juergen Vigna  <jug@sad.it>
11985
11986         * BufferView_pimpl.C (toggleSelection): adapted too.
11987
11988         * text.C (selectNextWord): adapted for use with insets.
11989         (selectSelectedWord): ditto
11990
11991 2001-07-17  Juergen Vigna  <jug@sad.it>
11992
11993         * sp_spell.C (PSpell): fix initialitation order.
11994
11995 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * paragraph.C: spacing
11998
11999 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12000
12001         * sp_spell.C: repair language selection for pspell
12002
12003 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * lyxfunc.h: change more methods to begin with lower char.
12006
12007 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12008
12009         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12010         for unknown layouts.
12011
12012 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * buffer.C (readLyXformat2): Generate an error dialog if there are
12015         unknown layouts.
12016
12017 2001-07-16  Juergen Vigna  <jug@sad.it>
12018
12019         * sp_spell.C: always compile ISpell part.
12020
12021         * lyxrc.C: added use_pspell entry and it's handling.
12022
12023 2001-07-13  Juergen Vigna  <jug@sad.it>
12024
12025         * sp_spell.C: removed double includes.
12026
12027 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12028
12029         Consistent use of Lsstream.h:
12030         * Lsstream.h: added using std::stringstream for consistencies sake.
12031
12032         * buffer.C: removed using std::stringstream
12033
12034         * lyxfont.C (stateText):
12035         * paragraph.C (asString):
12036         * text.C (selectNextWord, selectSelectedWord):
12037         * text2.C (setCounter):
12038         * vspace.C (asString, asLatexString):
12039         std::ostringstream -> ostringstream.
12040
12041 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12042
12043         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12044         * commandtags.h: add LFUN_HELP_ABOUTLYX
12045         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12046
12047 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12048
12049         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12050         cursorToggle()
12051         * lyx_gui_misc.C: remove spellchecker
12052         * lyxfunc.C: showSpellchecker
12053         * sp_base.h: added
12054         * sp_ispell.h: added
12055         * sp_pspell.h: added
12056         * sp_spell.C: added
12057         * sp_form.[Ch]: removed
12058         * spellchecker.[Ch]: removed
12059
12060 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12061
12062         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12063         is set.
12064         (simpleTeXSpecialChars): Simply print the input character without
12065         any special translation if pass_thru is set.
12066
12067         * layout.h: Added bool pass_thru to layout class for being able to
12068         implement pass through of a paragraph for Literate Programming.
12069
12070         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12071         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12072         * layout.C (Read): add "passthru" to list of layout tags and add
12073         code to set the pass_thru boolean when it is read.
12074
12075 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * trans_decl.h: remove allowed from KmodInfo
12078
12079         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12080         remove allowed code
12081         (Load): adjust
12082
12083         * paragraph_pimpl.C (erase): use boost::prior
12084
12085         * Painter.C (text): use data() instead of c_str() when length is
12086         also provided.
12087         * WorkArea.C (putClipboard): ditto
12088         * font.h (width): ditto
12089
12090         * BufferView2.C: use it-> instead of (*it). for iterators
12091         * texrow.C: ditto
12092         * paragraph_pimpl.C: ditto
12093         * paragraph.C: ditto
12094         * minibuffer.C: ditto
12095         * language.C: ditto
12096         * kbmap.C: ditto
12097         * encoding.C: ditto
12098         * counters.C: ditto
12099         * converter.C: ditto
12100         * chset.C: ditto
12101         * Variables.C: ditto
12102         * TextCache.C: ditto
12103         * MenuBackend.C: ditto
12104         * LyXAction.C: ditto
12105         * LColor.C: ditto
12106         * FloatList.C: ditto
12107         * DepTable.C: ditto
12108         * ColorHandler.C (LyXColorHandler): ditto
12109
12110 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12113
12114         * text2.C (openStuff): reintroduce this method (which had been
12115         nuked in NEW_INSETS frenzy).
12116
12117         * lyxfunc.C (Dispatch): when an action has not been handled, use
12118         its name in the error message, not its number.
12119
12120         * paragraph.C (inInset): change method name to begin with lowercase.
12121
12122         * undo_funcs.C:
12123         * text2.C: updates because of this.
12124
12125 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * ToolbarDefaults.C (add): add spaces in error message
12128
12129 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12132         (readLyXformat2): rename return_par to first_par, use lyxlex's
12133         pushToken and remove the manual push handling.
12134         (parseSingleLyXformat2Token): add another ert comp. variable:
12135         in_tabular, rename return_par to first_par. handle newlines better
12136
12137 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12138
12139         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12140
12141 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * text2.C (getParFromID): removed
12144
12145         * buffer.C (getParFromID): new method moved form lyxtext.
12146         * BufferView2.C (insertErrors): adjust
12147         (setCursorFromRow): adjust
12148         * BufferView_pimpl.C (restorePosition): adjust
12149         * lyxfunc.C (Dispatch): adjust
12150         * undo_funcs.C (textUndo): adjust
12151         (textRedo): adjust
12152         (textHandleUndo): adjust
12153         (textHandleUndo): adjust
12154
12155 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * buffer.C: up' the LYX_FORMAT
12158
12159         * lyxfont.h: turn NO_LATEX on as default
12160
12161         * buffer.C (insertErtContents): new methods of tex style compability.
12162         (parseSingleLyXformat2Token): use it several places.
12163         * tabular.C (OldFormatRead): and here
12164
12165 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * text2.C: remove some commented code.
12168         reindent file.
12169
12170         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12171         * trans.C: changes because of the above.
12172
12173 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * text2.C (setCounter): Fix counters bug with bibliography layout.
12176
12177 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12178
12179         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12180         own member functions
12181         (simpleTeXSpecialChars): ditto
12182
12183 2001-07-06  Juergen Vigna  <jug@sad.it>
12184
12185         * a lot of files: changed the access to LyXText::status and the
12186         call of undo-functions.
12187
12188         * undo.[Ch]: added a inset_id to the undo informations.
12189
12190         * undo_funcs.[Ch]: added and moved here all undo functions.
12191
12192         * lyxtext.h: give the status enum a weight, made status_ a private
12193         variable and made accessor functions for it, removed the whole bunch
12194         of undo-functions as they are now in their own file, make some
12195         functions publically available. Added function ownerParagraph with
12196         int parameter.
12197
12198         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12199         made InInset() a const function, added getParFromID() function.
12200
12201         * buffer.[Ch]: added const version for inset_iterator functions,
12202         added getInsetFromID() function.
12203
12204         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12205         changed undo functions for new version.
12206
12207 2001-07-05  Juergen Vigna  <jug@sad.it>
12208
12209         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12210         unknow mechanism does not call the proper constructor but only this
12211         one also if I request the other!?
12212
12213 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12216
12217         * text2.C (LyXText): use initialization lists.
12218
12219         * lyxtext.h (Selection): initialize set_ and mark_
12220         (init): remove method
12221
12222 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12223
12224         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12225
12226 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * screen.[Ch]: change method names to begin with lowercase
12229
12230         * BufferView_pimpl.C (updateScrollbar): simplify further and
12231         hopefully make it a bit faster.
12232
12233 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12234
12235         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12236         calling directly xforms functions.
12237
12238         * Painter.C (Painter):
12239         * lyx_cb.C (MenuWrite):
12240         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12241         fl_display.
12242
12243         * lyx_gui.C: remove bogus guiruntime extern declaration.
12244
12245 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12248         in NEW_INSETS
12249         (redoDrawingOfParagraph): ditto
12250         (redoParagraphs): ditto
12251         (cutSelection): don't create a object for CutAndPaste use the
12252         static method directly
12253         (pasteSelection): ditto
12254
12255         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12256         LyXview (+ rename)
12257
12258 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * modifications to some other files because of this.
12261
12262         * Makefile.am (lyx_SOURCES): add XFormsView
12263
12264         * XFormsView.[Ch]: new files
12265
12266         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12267         the main window. Move the gui dependent stuff to XFormsView
12268
12269 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * tabular.C (GetCellInset): update cur_cell also in the row/col
12272         version of this function.
12273
12274         * lyxfunc.C: no need to include figure_form.h here.
12275
12276         * FontLoader.h:
12277         * lyxfunc.h:
12278         * lyxscreen.h:
12279         * text2.C:
12280         * lyxvc.C: no need to include forms.h here.
12281
12282 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12285
12286         * lyxfunc.C (Dispatch):
12287         * Spacing.C (set):
12288         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12289         constructor argument.
12290
12291 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * paragraph.C (Paragraph): dont't clear, and just set layout.
12294         (makeSameLayout): use params's copy contructor.
12295
12296         * ParagraphParameters.[Ch] (makeSame): delete method
12297
12298 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * Variables.[Ch]: fix indentation, rename set to isSet
12301
12302 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * lyxfunc.C (Dispatch): fix typo
12305
12306 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12309         upper_bound.
12310
12311         * bufferlist.C: include assert.h for emergencyWrite().
12312
12313 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12316           give up at last (bug #425202) !
12317
12318 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * lyx_gui_misc.C:
12321         * sp_form.h:
12322         * sp_form.C:
12323         * spellchecker.h:
12324         * spellchecker.C: strip spellchecker options and bring up
12325           preferences tab instead
12326
12327 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12330         the istringstream constructor
12331
12332 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12333
12334         * paragraph.C (getLayout): fix return value
12335
12336         * paragraph.h: do not declare getLayout as inline.
12337
12338         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12339
12340 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * lyxcursor.h (operator<): new func
12343         (operator>): new func
12344         (operator>=): new func
12345         (operator<=): new func
12346
12347         * text.C (changeCase): use selection.start and selection.end
12348         (changeRegionCase): require from to be <= to. Require par to be a
12349         valid paragraph.
12350
12351         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12352
12353 2001-06-27  Juergen Vigna  <jug@sad.it>
12354
12355         * text.C (cursorLeftOneWord): changed to return the cursor and added
12356         overlay with BufferView * parameter which calls this one.
12357         (getWord): added
12358         (selectWord): use new getWord function.
12359         (changeCase): renamed from changeWordCase as and extended to work
12360         also on selections.
12361
12362         * lyxtext.h: added enum word_location
12363
12364         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12365         changeCase as this operates now also on selections.
12366
12367 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12368
12369         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12370
12371         * many files: send debug output to Debug::INFO instead of
12372         Debug::ANY.
12373
12374         * converter.C (View):
12375         (Convert):
12376         (Move): send debug output to Debug::FILES instead of console.
12377
12378 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12379
12380         * lyxfunc.C (getStatus): use func_status
12381
12382         * func_status.h: new header, describing the results of
12383         LyXFunc::getStatus;
12384
12385         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12386         LFUN_MATH_HALIGN.
12387
12388 2001-06-25  The LyX Project  <jug@sad.it>
12389
12390         * buffer.C (sgmlOpenTag):
12391         (sgmlCloseTag):
12392         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12393
12394 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12395
12396         * text2.C: remove some dead code
12397
12398         * tabular.C (GetCellInset): store the last cell checked (gotten)
12399
12400         * tabular.h: add the helper for the speedup
12401
12402         * lyxtext.h: remove some dead code
12403
12404 2001-06-26  The LyX Project  <Asger>
12405
12406         * paragraph.C: Change export to LaTeX of alignment to
12407         \begin{center} and family for better roundtrip work with reLyX.
12408
12409         * Tune the math drawing a bit.
12410
12411 2001-06-25  The LyX Project  <Asger>
12412
12413         * LColor.C (LColor): New color for math background. New color
12414         for buttons.
12415
12416 2001-06-25  The LyX Project  <jug@sad.it>
12417
12418         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12419
12420         * lyxfunc.C (Open):
12421         * bufferlist.C (newFile): do not restrict to files ending with
12422         .lyx
12423
12424         * BufferView_pimpl.C (MenuInsertLyXFile):
12425
12426 2001-06-24  The LyX Project  <jug@sad.it>
12427
12428         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12429         of compare_no_case
12430
12431 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * lyxtext.h: rename most methods to begin with a small char.
12434         Lots of changes because of this.
12435
12436         * paragraph.C (Paragraph): do not call fitToSize
12437         (erase): call Pimpl::erase
12438         (insertChar): call Pimpl::insertChar
12439         (insertInset): call Pipl::insertInset
12440         (breakParagraph): do not call fitToSize
12441         (breakParagraphConservative): do not call fitToSize
12442         (fitToSize): remove method
12443
12444         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12445
12446 2001-06-24  The LyX Project  <Asger>
12447
12448         * Fix Qt compilation^2
12449
12450 2001-06-24  The LyX Project  <jug@sad.it>
12451
12452         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12453         depthHook(getDepth()-1).
12454
12455         * paragraph.h:
12456         * ParagraphParameters.h:
12457         * ParameterStruct.h: change type of depth to unsigned int ==
12458         depth_type. Many adaptations to other files before of that.
12459
12460 2001-06-24  The LyX Project  <Asger>
12461
12462         * Fix Qt compilation.
12463
12464 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * paragraph.h: renamed several methods to begin with small letter.
12467         several changes to many parts of the code because of this.
12468
12469 2001-06-23  The LyX Project  <jug@sad.it>
12470
12471         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12472         rewritten to discard all double spaces when KeepEmpty is off
12473         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12474         to only handle newlines but not fiddle with spaces and friends.
12475
12476         * lyxfunc.C (MenuNew): when doing 'new from template', use
12477         template_path as default directory
12478
12479 2001-06-23  The LyX Project  <Asger>
12480
12481         * Clean-up of header file includes all over
12482         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12483
12484 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * paragraph.h: renamed from lyxparagraph.h
12487
12488 2001-06-23  Asger  <lyx@violet.home.sad.it>
12489
12490         * Buffer.h: Removed Buffer::resize
12491         * BufferList.h: Removed BufferList::resize
12492         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12493         the document lazily when we change the width, or the font settings.
12494
12495 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12498
12499 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * buffer.h: remove out of date comment
12502
12503 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * lyxscreen.h:
12506         * screen.C: fix "theoretical" GC leak
12507
12508 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12509
12510         * LaTeX.C (scanAuxFile):
12511         (deplog): remove trailing \r when reading stream (useful under
12512         win32)
12513
12514 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12517         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12518         and BufferView::theLockingInset(Inset*), so should use them and not
12519         access bv_->text->the_locking_inset directly.
12520
12521         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12522
12523 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * Makefile.am:
12526         * tex-defs.h: remove old unused file
12527
12528 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * BufferView_pimpl.C: fix typo, remove minibuffer message
12531           when buffer has loaded
12532
12533 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * lyxfunc.C (Dispatch): use stringstream
12536         (MenuNew): use stringstream
12537         (Open): use stringstream
12538
12539         * importer.C (Import): use stringstream
12540
12541         * bufferview_funcs.C (CurrentState): use stringstream
12542
12543         * LaTeX.C (run): use stringstream
12544
12545         * BufferView_pimpl.C (savePosition): use stringstream
12546         (restorePosition): use stringstream
12547         (MenuInsertLyXFile): use stringstream
12548
12549 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * BufferView.C:
12552         * Bullet.C:
12553         * ColorHandler.C:
12554         * FontInfo.C:
12555         * FontLoader.C:
12556         * LColor.C:
12557         * LaTeXFeatures.C:
12558         * Painter.C:
12559         * gettext.C:
12560         * lyx_gui_misc.C:
12561         * lyxserver.C:
12562         * vspace.C: removed // -*- C++ -*- as first line.
12563
12564         * lyxfind.h:
12565         * version.h: added // -*- C++ -*- as first line.
12566
12567 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12568
12569         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12570
12571         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12572         of string
12573
12574 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12577         of floats.
12578
12579 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12580
12581         * gettext.C: include LString.h even when --disable-nls is on.
12582
12583 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * converter.h (Get): changed argument type from int to
12586         FormatList::size_type to avoid unnecessary conversion.
12587
12588         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12589         before using it.
12590
12591 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * gettext.h: include LString.h even when --disable-nls is on.
12594
12595 2001-06-07  Juergen Vigna  <jug@sad.it>
12596
12597         * text.C (BreakAgain): subst spaces with tabs.
12598
12599         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12600         (resizeInsetsLyXText): set force on resizeLyXText.
12601
12602 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * gettext.h (gettext_init):
12605         (locale_init): use a real definition instead of a macro
12606
12607 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * Bufferview_pimpl.C:
12610         * LColor.h:
12611         * LColor.C: further lcolor tidies
12612
12613 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12614
12615         * BufferView_pimpl.C (updateScrollbar): simplify.
12616
12617         * BufferView2.C: don't include insets/insetinfo.h, change
12618         prototype for insertInset and call the Pimpl version. let
12619         updateInset call Pimpl version.
12620
12621         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12622         gotoInset to BufferView::Pimpl
12623
12624 2001-06-01  Juergen Vigna  <jug@sad.it>
12625
12626         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12627         inside a LockingInset (is the update needed at all?).
12628
12629 2001-05-31  Juergen Vigna  <jug@sad.it>
12630
12631         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12632         here not the old one otherwise how should we compare it afterwards
12633         if it's the same!
12634
12635 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * lyxfont.C:
12638         * tabular.C:
12639         * tabular-old.C:
12640         * FontInfo.C: bring C functions into global namespace when
12641         necessary
12642
12643 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * LString.h: make sure config.h has been loaded before LString.h.
12646
12647         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12648         (one for each char read by EatLine!).
12649
12650         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12651         variables.
12652
12653 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12656         to the same as the par we break from
12657
12658 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12661
12662         * MenuBackend.C (expand): also create menu entries for wide
12663         versions of the floats.
12664
12665         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12666
12667         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12668
12669         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12670         frontends/Makefile.am
12671
12672         * text2.C: adjust
12673         * text.C: adjust
12674
12675
12676         * tabular.C (getTokenValue): add std::
12677
12678         * tabular-old.C (getTokenValue): add std::
12679         (getTokenValue): ditto
12680         (getTokenValue): ditto
12681
12682         * screen.C (ToggleSelection): adjust
12683
12684         * lyxtext.h: put selection cursors inside a Selection struct.
12685
12686         * lyxfunc.C (moveCursorUpdate): adjust
12687
12688         * lyxfont.C (latexWriteStartChanges): add std::
12689
12690         * lyxfind.C: adjust
12691
12692         * font.h: delete with(char const *, LyXFont const &)
12693
12694         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12695
12696         * FontInfo.C (getFontname): add std::
12697
12698         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12699         (workAreaButtonPress): adjust
12700         (tripleClick): adjust
12701         (update): adjust
12702         (moveCursorUpdate): adjust
12703         (Dispatch): adjust
12704
12705         * BufferView2.C (gotoInset): adjust
12706
12707 2001-05-30  Juergen Vigna  <jug@sad.it>
12708
12709         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12710         to check pspell I add this as default as I now have new pspell
12711         libraries and they seem to use this.
12712
12713 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * text2.C (CutSelection): make the cursor valid before the call to
12716         ClearSelection.
12717
12718 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12721         relied on 0 terminated strings and other horrors. Bug found due to
12722         the new assert in lyxstring!
12723
12724         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12725         KP_ keys.
12726
12727 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12730         to latinkeys.bind.
12731
12732         * lyxfunc.C (processKeySym): change method of getting to the
12733         self-insert char.
12734
12735         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12736         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12737         * BufferView_pimpl.[Ch]: here as private methods.
12738
12739 2001-05-28  Juergen Vigna  <jug@sad.it>
12740
12741         * text.C (SetHeightOfRow): added the update() call again as it is
12742         needed to initialize inset dimensions!
12743
12744 2001-05-16  Juergen Vigna  <jug@sad.it>
12745
12746         * text2.C (SetCharFont): Add new function with BufferView * and
12747         bool toggleall parameters for setting insets internal fonts.
12748         (SetFont): Freeze the undo as we may change fonts in Insets and
12749         all this change should be inside only one Undo!
12750
12751         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12752         setting font's in insets as for them we have the SetFont function!
12753
12754 2001-05-15  Juergen Vigna  <jug@sad.it>
12755
12756         * text2.C (ClearSelection): to be sure we REALLY don't have any
12757         selection anymore!
12758
12759         * tabular.C (TeXCellPreamble): fixed the left border problem for
12760         multicolumn cells.
12761
12762 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12763
12764         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12765         dependancy file
12766
12767 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12770         LFUN_BREAKPARAGRAPH.
12771
12772         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12773         help test to "internal only", similar for LFUN_INSERT_URL
12774
12775         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12776         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12777         auto_region_delete and deadkeys.
12778
12779 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * LColor.h:
12782         * LColor.C: remove some dead entries, tidy a little
12783
12784 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12787         commented code.
12788         (Dispatch): implement LFUN_ESCAPE
12789
12790         * commandtags.h: add LFUN_ESCAPE
12791
12792         * LyXAction.C (init): add entry for LFUN_ESCAPE
12793
12794         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12795         Remove commented code.
12796         (insertNote): moved here
12797         (open_new_inset): moved here
12798
12799         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12800         BufferView_pimpl
12801
12802 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * kbmap.C (findbinding): clean it up and make it work correctly.
12805
12806         * lyx_main.C (init): do not pass argc and argv as parameters
12807
12808 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12809
12810         * buffer.C: fix path for OS/2 & Win32
12811
12812         * lyx_gui.C:
12813         * lyx_main:
12814         * lyx_main.C: Added os:: class.
12815
12816         * os2_defines.h: update
12817
12818 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12821         better by trying again with reduced state.
12822
12823 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12824
12825         * lyxrc.C (read): print error about invalid key sequence only when
12826         debugging (because not all latinX keysyms are known to some X
12827         servers)
12828
12829         * kbsequence.C (getiso): add a few std:: qualifiers
12830         (getiso): comment out extra return statement.
12831
12832 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12835         handling.
12836         (Dispatch): enhance the accent inset a bit. (not perfect)
12837
12838 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12841
12842 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * bufferlist.C (emergencyWrite): fix assert() call
12845
12846 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12847
12848         * text.C (InsertChar): Added trivial patch to only send the "you
12849         can not do multiple spaces this way" message once during a
12850         session.
12851
12852 2001-05-08  Baruch Even  <baruch@lyx.org>
12853
12854         * Makefile.am: Changed order of libraries to get LyX to link properly
12855         with the gnome frontend.
12856
12857 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * LaTeXFeatures.h: add a std:: qualifier
12860
12861 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * paragraph.C (String): use stringstream
12864
12865 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * paragraph.C (writeFile): remove footflag arg
12868
12869         * buffer.C (makeLaTeXFile): use stringstream
12870         (latexParagraphs): remove footnot gurba
12871
12872         * LaTeXFeatures.C (getPackages): use stringstream
12873         (getMacros): likewise
12874         (getTClassPreamble): likewise
12875         (getFloatDefinitions): new method
12876
12877         * paragraph.C (writeFile): reindent
12878         (Erase): reindent
12879
12880         * WorkArea.h: revert the xpos + etc changes.
12881
12882         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12883
12884         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12885
12886         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12887         (pasteSelection): likewise
12888         * text2.C (CreateUndo): likewise
12889
12890 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * minibuffer.C (peek_event): temporarily reduce the functionality
12893         of the minibuffer (to allow args on lfuns)
12894
12895         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12896         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12897
12898         * buffer.C (readInset): add compability reading of old float
12899         lists, add reading of new style float list.
12900         (readInset): avoid reevaluation of inscmd.getCmdName()
12901         (getLists): reindent
12902
12903         * MenuBackend.C (MenuItem): implement parsing of
12904         md_floatlistinsert and md_floatinsert.
12905         (expand::LastFiles): move initalizaton of iterators out of loop,
12906         avoid reevaluation.
12907         (expand::Documents): introduce typdedef vector<string> Strings,
12908         and use it.
12909         (expand::ExportFormats): introduce typedef vector<Format const *>
12910         Formats, and use it.
12911         (expand): implement FloatListInsert and FloatInsert.
12912
12913         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12914         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12915         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12916
12917         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12918         handling.
12919         (Dispatch::LFUN_FLOAT_LIST): implement
12920
12921 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12922
12923         * LaTeX.C (run): Fix problem with --export code.
12924
12925 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * BufferView.[Ch] (workarea): removed.
12928         (getClipboard) new method; wrapper for workarea()->getClipboard()
12929
12930         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12931         bug.
12932
12933         * WorkArea.h (width, height, xpos, ypos): These methods all
12934         returned the dimensions of the work_area sub-area of WorkArea,
12935         resulting in a position error if the WorkArea were resized. Now
12936         return the dimensions of the entire WorkArea.
12937
12938         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12939
12940 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * LaTeX.C (deplog): correct the syntax of regex reg1
12943
12944 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * undo.C: remove !NEW_INSETS cruft
12947
12948 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * text2.C: remove !NEW_INSETS cruft
12951
12952         * text.C: remove !NEW_INSETS cruft
12953
12954         * tabular.C: remove !NEW_INSETS cruft
12955
12956         * spellchecker.C: remove !NEW_INSETS cruft
12957
12958         * lyxtext.h: remove !NEW_INSETS cruft
12959
12960         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12961
12962         * lyxfunc.C: remove !NEW_INSETS cruft
12963
12964         * lyxfind.C: remove !NEW_INSETS cruft
12965
12966         * lyx_cb.C: remove !NEW_INSETS cruft
12967
12968         * figureForm.C: remove  !NEW_INSETS cruft
12969
12970         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12971
12972         * buffer.[Ch]: remove !NEW_INSETS cruft
12973
12974         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12975
12976         * CutAndPaste.C: remove !NEW_INSETS cruft
12977
12978         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12979
12980         * BufferView2.C: remove !NEW_INSETS cruft
12981
12982         * BufferView.h: remove !NEW_INSETS cruft
12983
12984 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * Lsstream.h: include LString.h before the sstream headers to
12987         fix problem with gcc 2.95.3 and lyxstring
12988
12989 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * lyx_main.C: add using directives when needed for C functions
12992         declared in std:: namespace.
12993
12994 2001-04-27  Juergen Vigna  <jug@sad.it>
12995
12996         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12997         (SetHeightOfRow): comment out the update call should not be needed!
12998
12999 2001-04-13  Juergen Vigna  <jug@sad.it>
13000
13001         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13002         (LyXTabular): tried to minimize operator= operations (and realized
13003         hopfully Lars wish).
13004
13005 2001-04-27  Juergen Vigna  <jug@sad.it>
13006
13007         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13008
13009 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13012
13013         * buffer.C (readInset): hack to make listof algorithm work
13014
13015         * BufferView_pimpl.C: hack to make listof algorithm work
13016
13017 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * LyXAction.C: removed all !NEW_INSETS cruft
13020         (init): moved lfun_item in method
13021
13022         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13023
13024 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13025
13026         * BufferView2.C (theLockingInset): white space.
13027
13028 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * minibuffer.C: include <iostream>
13031
13032         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13033
13034         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13035
13036         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13037
13038         * text.[Ch] (TransposeChars): new method
13039
13040 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * call message directly through LyXView instead of through LyXFunc
13043         * BufferView2.C: adjust
13044         * BufferView_pimpl.C: adjust
13045         * FontLoader.C: adjust
13046         * buffer.C: adjust
13047         * bufferview_funcs.C: adjust
13048         * converter.C: adjust
13049         * figureForm.C: adjust
13050         * importer.C: adjust
13051         * lyx_cb.C: adjust
13052         * lyx_gui_misc.C: adjust
13053         * lyxfunc.C: adjust
13054         * lyxvc.C: adjust
13055         * text2.C: adjust
13056         + more files in subdirs
13057
13058         * lyxparagraph.h (size): move up int file
13059         (GetLayout): ditto
13060
13061         * adjust all uses of Assert to lyx::Assert.
13062
13063         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13064         lyxfunctional in namespace lyx
13065         * layout.C (hasLayout): ditto
13066         (GetLayout): ditto
13067         (GetLayout): ditto
13068         (delete_layout): ditto
13069         (NumberOfClass): ditto
13070         * converter.C (GetFormat): ditto
13071         (GetNumber): ditto
13072         (Add): ditto
13073         (Delete): ditto
13074         (SetViewer): ditto
13075         * bufferlist.C (getFileNames): ditto
13076         (emergencyWriteAll): ditto
13077         (exists): ditto
13078         (getBuffer): ditto
13079         * MenuBackend.C (hasSubmenu): ditto
13080         (hasMenu): ditto
13081         (getMenu): ditto
13082         * BufferView_pimpl.C (getInsetByCode): ditto
13083
13084 2001-04-18  Juergen Vigna  <jug@sad.it>
13085
13086         * vspace.C (asLatexString): fixed the 100% problem.
13087
13088 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * lyxfunc.C (Dispatch):
13091         * minibuffer.C:
13092         * minibuffer.h: add a few std:: qualifiers
13093
13094 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * minibuffer.[Ch]: reimplement so that commands is initiated and
13097         run from lyxfunc, simplified som handling, and made the completion
13098         and history code for complete. wip.
13099
13100         * lyxfunc.C (processKeySym): call message
13101         (miniDispatch): new temporary method
13102         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13103         (LFUN_MESSAGE): implement
13104         (LFUN_MESSAGE_PUSH): implement
13105         (LFUN_MESSAGE_POP): implement
13106         (initMiniBuffer): the initial/defualt minibuffer message.
13107
13108         * lyxfont.[Ch]: inline some more getters
13109
13110         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13111
13112         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13113
13114         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13115         (AutoSave): use LFUN_MESSAGE
13116         (Reconfigure): ditto
13117
13118         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13119
13120         * figureForm.C: use LFUN_MESSAGE
13121
13122         * converter.C (runLaTeX): use LFUN_MESSAGE
13123
13124         * bufferview_funcs.C: use LFUN_MESSAGE
13125         (Melt): ditto
13126         (changeDepth): ditto
13127
13128         * bufferparams.h: use boost::
13129
13130         * bufferlist.h: inherit privately from noncopyable
13131
13132         * bufferlist.C (loadLyXFile): remove some commented code.
13133
13134         * buffer.C (runChktex): use LFUN_MESSAGE
13135
13136         * ShareContainer.h: inherit privately from noncopyable
13137
13138         * ParagraphParameters.[hC] (depth): inline it.
13139
13140         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13141         methods.
13142         (message): new method
13143         (messagePush): ditto
13144         (messagePop): ditto
13145         (show): init minibuffer
13146         (showState): direct call
13147
13148         * LaTeX.[Ch]: inherit privately from noncopyable
13149         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13150         instead of WriteStatus.
13151
13152         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13153
13154         * BufferView_pimpl.C (buffer): don't init minibuffer
13155         (workAreaButtonPress): use LFUN_MESSAGE
13156         (workAreaButtonRelease): ditto
13157         (savePosition): ditto
13158         (restorePosition): ditto
13159         (MenuInsertLyXFile): ditto
13160         (workAreaExpose): don't init minibuffer
13161         (update): remove commented code, simplify
13162
13163         * BufferView2.C (openStuff): use LFUN_MESSAGE
13164         (toggleFloat): ditto
13165         (menuUndo): ditto
13166         (menuRedo): ditto
13167         (copyEnvironment): ditto
13168         (pasteEnvironment): ditto
13169         (copy): ditto
13170         (cut): ditto
13171         (paste): ditto
13172         (gotoInset): ditto
13173         (updateInset): remove some commented code
13174
13175         * lastfiles.h: inherit privately from noncopyable
13176         * layout.h: ditto
13177         * lyx_gui.h: ditto
13178         * lyx_main.h: ditto
13179         * lyxlex.h: ditto
13180         * lyxlex_pimpl.h: ditto
13181
13182         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13183         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13184         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13185
13186         * LyXAction.h: inherit privately from noncopyable, add methods
13187         func_begin, func_end, returning iterators to the func map.
13188
13189         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13190         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13191         (func_begin): new method
13192         (func_end): new method
13193
13194         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13195         and not)
13196         (copySelection): ditto
13197         (pasteSelection): ditto
13198
13199         * BufferView.C: whitespace change
13200         * BufferView.h: inherit privately from noncopyable
13201
13202 2001-04-16  Allan Rae  <rae@lyx.org>
13203
13204         * tabular-old.C (l_getline):
13205         * spellchecker.C (sc_check_word):
13206         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13207         an unrecognised preprocessor directive.  So ensure they're wrapped.
13208
13209 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13210
13211         * src/exporter.C (Export): Give an error message when path to file
13212         contains spaces.
13213
13214 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13215
13216         * LaTeX.C (deplog): Always check that foundfile exists.
13217
13218 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * lyx_main.h:
13221         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13222
13223 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * tabular.[Ch] (getLabelList): implement new method
13226
13227         * minibuffer.h: comment ouf setTiimer
13228
13229         * minibuffer.C (ExecutingCB): constify res
13230         (peek_event): constify s
13231         (Set): constify ntext
13232         (Init): constify nicename
13233
13234         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13235
13236         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13237         (savePosition): use two params to Minibuffer::Set
13238         (restorePosition): ditto
13239
13240 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * lyx_main.C: include language.h
13243
13244         * Makefile.am (lyx_main.o): add language.h
13245
13246 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * exporter.C:
13249         * paragraph.C:
13250         * screen.C:
13251         * tabular.C:
13252         * CutAndPaste.C: include gettext.h
13253
13254         * lyxfont.h: remove old hack with ON and OFF.
13255
13256         * lyxparagraph.h:
13257         * lyxfont.h: do not include language.h...
13258
13259         * BufferView2.C:
13260         * LaTeXFeatures.C:
13261         * Painter.C:
13262         * bufferview_funcs.C:
13263         * font.C:
13264         * lyxfont.C:
13265         * text.C:
13266         * text2.C:
13267         * trans_mgr.C:
13268         * paragraph.C: ... but do it here instead
13269
13270 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13273
13274         * tabular.C: small reformat
13275
13276         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13277         NEW_INSETS version
13278         (GetChar): ditto
13279         (BreakParagraph): ditto
13280         (SetOnlyLayout): ditto
13281         (SetLayout): ditto
13282
13283         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13284         with one arg less.
13285
13286         * lastfiles.C: removed most using decl, add std:: where needed
13287
13288         * buffer.C: ws changes
13289
13290         * MenuBackend.C (class compare_format): put into anon namespace
13291         (expand): constify label, names, action, action2
13292         (expand):
13293
13294         * text.C (SingleWidth): constify font
13295         (IsBoundary): constify rtl2
13296         (GetVisibleRow): constify ww
13297
13298         * LaTeX.C (deplog): constify logfile
13299
13300         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13301         start_x, end_x
13302         (workAreaExpose): constify widthChange, heightChange
13303
13304         * lyxrow.C (par): moved
13305         (height): moved
13306         (next): moved
13307         * lyxrow.h: as inlines here
13308
13309         * lyxfont.h (shape): moved from lyxfont.C
13310         (emph): moved from lyxfont.C
13311
13312         * lyxfont.C (LyXFont): use initialization list for all
13313         constructors
13314         (shape): move to lyxfont.h as inline
13315         (emph): move to lyxfont.h as inline
13316
13317
13318 2001-04-04  Juergen Vigna  <jug@sad.it>
13319
13320         * vspace.C: had to include stdio.h for use of sscanf
13321
13322 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13323
13324         * BufferView.h:
13325         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13326         independent of xforms.
13327
13328 2001-04-02  Juergen Vigna  <jug@sad.it>
13329
13330         * spellchecker.C: fixed namespace placing!
13331
13332 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13335         the LyXParagraph * is 0.
13336
13337 2001-03-29  Juergen Vigna  <jug@sad.it>
13338
13339         * vspace.C: added support for %, c%, p%, l%.
13340         (stringFromUnit): added helper function.
13341         (asLatexString): changed to give right results for the %-values.
13342
13343         * buffer.C: convert the widthp in a width%.
13344
13345 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13346
13347         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13348         figureForm.[Ch].
13349
13350         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13351         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13352
13353         * lyx_cb.[Ch]: see above.
13354
13355         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13356         form1.[Ch].
13357
13358         * form1.[Ch]:
13359         * lyx.[Ch]: replaced by figure_form.[Ch].
13360
13361         * lyx_gui.C:
13362         * lyx_gui_misc.C:
13363         * lyxfunc.C: changed headers associated with above changes.
13364
13365 2001-03-27  Juergen Vigna  <jug@sad.it>
13366
13367         * BufferView_pimpl.C: set the temporary cursor right!
13368
13369 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13372
13373 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13374
13375         * LString.h: removed "using std::getline"!
13376
13377         * BufferView_pimpl.C (Dispatch): changes due to changes in
13378         InsetInclude::Params.
13379
13380         * buffer.C (tag_name): removed redundant break statements as they were
13381         producing lots of warnings with my compiler.
13382
13383 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13384
13385         * LString.h: add "using std::getline" when using the real <string>.
13386
13387 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13388
13389         * buffer.C: removed bitset usage.
13390         PAR_TAG moved to an anonymous name space.
13391         (tag_name): new funtion, also in the anonymous namespace.
13392         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13393         (makeDocBookFile): clean code. Completed transition from string arrays
13394         to string vectors.
13395         (SimpleDocBookOnePar): code clean.
13396
13397 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13398
13399         * tabular.C: add some comments.
13400
13401 2001-03-22  Juergen Vigna  <jug@sad.it>
13402
13403         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13404         compatibility read a bit and fixed bug with minipage in different
13405         depth.
13406
13407 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13408
13409         * buffer.C (pop_tag): removed.
13410         (push_tag): removed.
13411         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13412         array replaced with vector. Added support for CDATA sections.
13413         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13414         at any nest level.
13415         (makeDocBookFile): XML conformant declaration of CDATA section,
13416         fixed bug related to <emphasis> in the first paragraph char.
13417         (sgmlOpenTag): exclude empty tags.
13418         (sgmlCloseTag): ditto.
13419
13420         * buffer.h (pop_tag): removed.
13421         (push_tag): removed.
13422
13423 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13424
13425         * language.h (Languages): added size_type and size().
13426
13427 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13428
13429         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13430         response on compability reading of minipages. One probliem is that
13431         the old usage of minipages was «flertydig»
13432
13433         * several files here and in subdirs: don't use static at file
13434         scope use anon namespaces instead.
13435
13436 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13437
13438         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13439         LaTeX output. This is necessary for Literate document
13440         processing.
13441
13442 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13443
13444         * buffer.C: insert hfill when needed.
13445
13446         * tabular.C (l_getline): use string::erase, small whitespace change.
13447
13448         * BufferView_pimpl.C: try the anon namespace.
13449         * WorkArea.C: ditto
13450
13451 2001-03-16  Juergen Vigna  <jug@sad.it>
13452
13453         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13454         otherwise it won't open options-dialogs.
13455
13456         * buffer.C: honor pextraWidth(p) on converting minipages.
13457
13458         * tabular.C (l_getline): changed the functions to strip trailing \r.
13459
13460 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * BufferView_pimpl.C:
13463         * minibuffer..C: added "using SigC::slot" declaration.
13464
13465 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13466
13467         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13468
13469         * text2.C: ditto
13470
13471         * text.C: ditto
13472
13473         * paragraph.C: ditto
13474
13475         * lyxtext.h: NO_PEXTRA
13476
13477         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13478
13479         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13480         * ParameterStruct.h: ditto
13481         * ParagraphParameters.h: ditto
13482         * lyxparagraph.h: ditto
13483
13484 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13485
13486         * buffer.C: add compability for minipage alignment.
13487         (latexParagraphs): remove unwanted pextra check.
13488
13489         * several files: remove CXX_WORKING_NAMESPACES
13490
13491         * buffer.C (pop_tag): tie is in namespace boost
13492
13493         * BufferView.h: noncopyable is in namespace boost
13494         * lyxlex.h: ditto
13495         * lyx_main.h: ditto
13496         * lyx_gui.h: ditto
13497         * layout.h: ditto
13498         * lastfiles.h: ditto
13499         * bufferlist.h: ditto
13500         * ShareContainer.h: ditto
13501         * LyXView.h: ditto
13502         * LyXAction.h: ditto
13503         * LaTeX.h: ditto
13504
13505 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * Merging changes from BRANCH_MVC back into HEAD.
13508
13509         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13510
13511 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13512
13513         * BufferView_pimpl.C: change from intl.C
13514
13515         * combox.h:
13516         * combox.C:
13517         * Makefile.am: move combox.*
13518
13519         * form1.h:
13520         * form1.C:
13521         * lyx_gui.C:
13522         * intl.h:
13523         * intl.C: remove dialog (covered by prefs)
13524
13525 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * lyxfunc.C (Dispatch): removed redundant break statement.
13528
13529 2001-03-14  Juergen Vigna  <jug@sad.it>
13530
13531         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13532
13533 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13534
13535         * buffer.C: add hack to fix compability reading of minipages.
13536
13537 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * buffer.C (getLists): Cleanup.
13540
13541 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13542
13543         * lyxfont.C (update): don't honor toggleall on font size.
13544
13545 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * bmtable.c:
13548         * bmtable.h:
13549         * Makefile.am: moved to frontends/xforms/
13550
13551         * lyx_gui_misc.C:
13552         * lyxfunc.C:
13553         * BufferView_pimpl.C: changes for moved mathpanel
13554
13555 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * gettext.h: fix gettext_init() in --disable-nls
13558
13559 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13560
13561         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13562
13563 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * lyx.C:
13566         * lyx.h: strip external form
13567
13568 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * BufferView_pimpl.C: add comment, destroySplash()
13571
13572 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * BufferView_pimpl.C:
13575         * LyXAction.C:
13576         * buffer.C:
13577         * commandtags.h:
13578         * lyxfunc.C: use re-worked insetinclude
13579
13580 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13581
13582         * buffer.C: add using std::stringstream.
13583
13584         * lyx_cb.C: readd using std::ios.
13585
13586         * buffer.C: add using std::map.
13587
13588         * BufferView_pimpl.C: add using std::vector.
13589
13590         * ShareContainer.h: add std:: to swap.
13591
13592         * buffer.h: add some typedefs
13593         * buffer.C (getLists): use them
13594         (getLists): renamed from getTocList.
13595         add a counter for the different float types and use it in the
13596         generated string.
13597         (getLists): use the same counter for the NEW_INSETS and the "non"
13598         NEW_INSETS
13599
13600         * lyx_cb.h: remove unused items, includes, using etc.
13601
13602         * ShareContainer.h: remove some commented code, add more comments
13603         and "documentation".
13604
13605 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13606
13607         * buffer.C (getTocList): make the list also when NEW_INSETS is
13608         defined.
13609
13610         * buffer.h: remove TocType
13611
13612         * buffer.C (getTocList): change to return a map<string,
13613         vector<TocItem> >, implement for dynamic number of list.
13614
13615         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13616         * text2.C (PasteSelection): adjust
13617         * CutAndPaste.C (pasteSelection): adjust
13618
13619         * FloatList.C (FloatList): update from the new_insets branch.
13620         * Floating.[Ch]: ditto
13621         * LaTeXFeatures.C: ditto
13622         * buffer.C: ditto
13623         * lyxlex_pimpl.C: ditto
13624
13625         * paragraph.C (Last): remove when NEW_INSETS is defined.
13626
13627         * other file: changes because of the above.
13628
13629 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13630
13631         * lyxparagraph.h: rename next to next_, previous to previous_,
13632         make them private for NEW_INSETS. Rename Next() to next(),
13633         Previous() to previous().
13634
13635         * other files: changes because of the above.
13636
13637 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13638
13639         * BufferView.h:
13640         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13641         problem.
13642
13643 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13644
13645         * main.C (main): pass lyx_localedir to gettext_init().
13646
13647         * gettext.h: remove locale_init and gettext_init macros
13648
13649         * gettext.C (locale_init): new function
13650         (gettext_init): new function
13651
13652         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13653         setlocale().
13654
13655 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13656
13657         * Moved credits to frontends:
13658         * credits.[Ch]: removed
13659         * credits_form.[Ch]: removed
13660         * lyx_gui_misc.C: remove credits stuff
13661         * Makefile.am:
13662
13663 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13664
13665         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13666
13667         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13668         unneeded destructor.
13669
13670         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13671         a standalone pointer again.
13672
13673         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13674
13675 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * Makefile.am:
13678         * filedlg.h:
13679         * filedlg.C:
13680         * LyXAction.C:
13681         * ToolbarDefaults.C:
13682         * bufferlist.C:
13683         * commandtags.h:
13684         * form1.C:
13685         * form1.h:
13686         * lyx_cb.C:
13687         * lyx_cb.h:
13688         * lyxfunc.h:
13689         * lyxfunc.C:
13690         * BufferView_pimpl.C: use new file dialog in GUII
13691
13692         * lyx_cb.h:
13693         * lyx_cb.C: remove LayoutsCB to Toolbar
13694
13695 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * ShareContainer.h (get): add std:: qualifier
13698
13699 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * ShareContainer.h: define a proper ShareContainer::value_type
13702         type (and use typename to please compaq cxx)
13703
13704 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13705
13706         * lyxparagraph.h: move serveral local vars to
13707         ParameterStruct/ParagraphParameters., use ShareContainer in
13708         FontTable., make vars in FontTable private and add getter and
13709         setter.
13710
13711         * paragraph.C: changes because of the above.
13712
13713         * lyxfont.h: remove copy constructor and copy assignment. (the
13714         default ones is ok), move number inside FontBits. move inlines to
13715         lyxfont.C
13716
13717         * lyxfont.C: add number to initializaton of statics, move several
13718         inlines here. constify several local vars. some whitespace
13719         cleanup. Dont hide outerscope variables.
13720
13721         * Spacing.h: add two new constructors to match the set methods.
13722
13723         * ShareContainer.h: new file, will perhaps be moved to support
13724
13725         * ParameterStruct.h: new file
13726
13727         * ParagraphParameters.h: new file
13728
13729         * ParagraphParameters.C: new file
13730
13731         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13732         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13733
13734         * BufferView_pimpl.C: ParagraphParameter changes.
13735         * buffer.C: Likewise.
13736         * bufferview_funcs.C: Likewise.
13737         * text.C: Likewise.
13738         * text2.C: Likewise.
13739
13740 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * lyxfind.C (LyXReplace): do not redefine default argument in
13743         implementation.
13744         (IsStringInText): ditto
13745         (SearchForward): ditto
13746         (SearchBackward): ditto
13747
13748 2001-03-06  Juergen Vigna  <jug@sad.it>
13749
13750         * lyxfind.C (IsStringInText): put parentes around expressions.
13751
13752 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13753
13754         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13755
13756 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13759
13760         * stl_string_fwd.h: add comment
13761
13762         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13763
13764         * tabular.h:
13765         * tabular.C: remove unused DocBook methods
13766
13767         * intl.C:
13768         * language.C:
13769         * paragraph.C:
13770         * buffer.C:
13771         killed DO_USE_DEFAULT_LANGUAGE
13772
13773 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * lyx_gui.C: do not include language.h.
13776
13777         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13778         arguments in function implementation.
13779
13780 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13781
13782         * BufferView_pimpl.C: add <ctime>
13783
13784 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13785
13786         * BufferView_pimpl.C: add using std::find_if
13787
13788 2001-02-27  José Matos  <jamatos@fep.up.pt>
13789
13790         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13791         by OnlyPath.
13792
13793 2001-02-11  José Matos  <jamatos@fep.up.pt>
13794
13795         * buffer.C (makeDocBookFile): command styles now have a parameter as
13796         "title" by default.
13797
13798 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13799
13800         * layout_forms.[Ch]: removed
13801         * lyx_cb.[Ch]: out character
13802         * lyx_gui.C: out character
13803         * lyx_gui_misc.C: out character
13804         * bufferview_funcs.C: : out character,
13805         added toggleall as parameter in ToggleAndShow
13806
13807 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13808
13809         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13810
13811         * text2.C (SetCurrentFont): Disable number property at boundary.
13812
13813 2001-02-26  Juergen Vigna  <jug@sad.it>
13814
13815         * lyxfunc.C (getStatus): added a string argument override function so
13816         that this is correctly called from LyXFunc::Dispatch if it contains a
13817         do_not_use_argument which is used!
13818         (Dispatch): added check for "custom" export and call appropriate func.
13819
13820 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * lyxrc.C: Add language_command_local, language_use_babel and
13823         language_global_options.
13824
13825         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13826
13827         * buffer.C (makeLaTeXFile): Use language_use_babel and
13828         language_global_options.
13829
13830 2001-02-23  Juergen Vigna  <jug@sad.it>
13831
13832         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13833         which works with LyXText and putted it inside BufferView. Here now we
13834         only call for that part the BufferView::Dispatch() function.
13835
13836         * BufferView.C (Dispatch): added.
13837
13838         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13839         functions which needs to use a LyXText over from LyXFunc.
13840         (MenuInsertLyXFile): added
13841         (getInsetByCode): added
13842         (moveCursorUpdate): added
13843         (static TEXT): added
13844
13845 2001-02-22  Juergen Vigna  <jug@sad.it>
13846
13847         * BufferView_pimpl.C (update): call a status update to see if LyXText
13848         needs it.
13849
13850 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13851
13852         * vc-backend.C (revert): implement for CVS
13853         (getLog): implement for CVS
13854
13855 2001-02-20  Juergen Vigna  <jug@sad.it>
13856
13857         * text2.C (ClearSelection): added BufferView param for inset_owner call
13858
13859         * lyxfunc.C (TEXT): added this function and use it instead of
13860         directly owner->view()-text of getLyXText().
13861
13862 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13863
13864         * src/layout_forms.C: out preamble
13865         * src/layout_forms.h: out preamble
13866         * src/lyx_cb.C: out preamble
13867         * src/lyx_cb.h: out preamble
13868         * src/lyx_gui.C: out preamble
13869         * src/lyx_gui_misc.C: out preamble
13870         * src/lyxfunc.C: connect with guii preamble
13871
13872 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13875
13876 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13877
13878         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13879         whether to run bibtex.
13880
13881 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13882
13883         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13884
13885 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13886
13887         * Makefile.am (lyx_SOURCES): removed bibforms.h
13888
13889         * vspace.h: doxygen
13890
13891         * text.C (GetVisibleRow): make several local vars const
13892
13893         * tabular.C: small cleanup.
13894
13895         * lyxserver.C (callback): use compare instead of strncmp
13896
13897         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13898         inlines to after class or to paragraph.C
13899
13900         * lyxfont.h: remove friend operator!=
13901
13902         * converter.h: move friend bool operator< to non friend and after
13903         class def.
13904
13905         * combox.h: small cleanup
13906
13907         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13908         to inlines after class def.
13909
13910         * buffer.C (pop_tag): use string operations instead of strcmp
13911
13912         * bmtable.c: doxygen, small cleanup
13913
13914         * LaTeX.h: remove friend operator==
13915
13916 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13917
13918         * screen.C:
13919         * lyxrc.[Ch]:
13920         * lyxfunc.C:
13921         * lyxfont.[Ch]:
13922         * lyx_cb.C:
13923         * intl.[Ch]:
13924         * commandtags.h:
13925         * buffer.C:
13926         * WorkArea.[Ch]:
13927         * LyXAction.C:
13928         * BufferView_pimpl.C:
13929         * BufferView.[Ch]: remove cruft
13930
13931 2001-02-14  Juergen Vigna  <jug@sad.it>
13932
13933         * lyxfunc.C: removed #if 0 unused code
13934
13935         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13936
13937         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13938
13939         * text2.C (SetSelection): added a BufferView * parameter
13940
13941 2001-02-13  Juergen Vigna  <jug@sad.it>
13942
13943         * lyxfunc.C (Dispatch): fixed protected blank problem.
13944         * BufferView2.C (protectedBlank): added LyxText * parameter.
13945
13946         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13947         (AppendColumn): same as above for column_info.
13948
13949         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13950         (moveCursorUpdate): use a LyXText param for support of InsetText.
13951
13952         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13953         (tripleClick): ditto
13954
13955         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13956
13957         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13958
13959         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13960
13961         * text2.C (SetSelection): set correct update status if inset_owner
13962         (ToggleFree): ditto
13963
13964 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13965
13966         * tabular.C: remove some commented code.
13967
13968 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * BufferView_pimpl.C: call hideSplash()
13971
13972         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13973
13974         * include_form.h:
13975         * bibforms.h: remove
13976
13977         * lyxfunc.C:
13978         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13979           add LFUN_CHILD_CREATE
13980
13981         * counters.h: fix tiny typo
13982
13983         * lyx_cb.C:
13984         * lyx.h:
13985         * lyx_gui.C:
13986         * lyx.C: move splash to frontends/xforms/
13987
13988         * lyx_gui_misc.C: move Include and Bibform to frontends
13989
13990         * lyxvc.h: clarify comment
13991
13992         * vspace.C: tiny housekeeping
13993
13994 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13995
13996         * text.C (PrepareToPrint): RTL Fix.
13997
13998         * paragraph.C (GetUChar): New method.
13999         (String):  Use GetUChar.
14000
14001         * buffer.C (asciiParagraph): Use GetUChar.
14002
14003 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14004
14005         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14006
14007 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * buffer.h:
14010         * buffer.C: rename to getLogName(), handle
14011           build log / latex log nicely
14012
14013 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * MenuBackend.C:
14016         * MenuBackend.h: remove support for reference menuitem type.
14017
14018 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14019
14020         * BufferView_pimpl.C: housekeeping
14021         * BufferView_pimpl.h:
14022         * LyXView.h:
14023         * Makefile.am:
14024         * Timeout.C:
14025         * Timeout.h:
14026         * minibuffer.h: move Timeout GUI-I
14027
14028 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14029
14030         * lyxrc.C (read): Update converters data-structures.
14031
14032 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14033
14034         * LaTeX.h (operator!=): add operator != for Aux_Info
14035
14036 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14037
14038         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14039
14040         * LaTeXLog.C: deleted, useful code moved to Buffer
14041
14042         * buffer.h:
14043         * buffer.C: new function getLatexLogName()
14044
14045         * lyx_gui_misc.C:
14046         * lyx_gui.C:
14047         * lyxvc.C:
14048         * lyxvc.h:
14049         * lyxfunc.C: use frontends for LaTeX and VC logs
14050
14051 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * LaTeX.h: yet another std:: that Allan forgot.
14054
14055         * Variables.C (set): renamed from isset(), because this clashes
14056         with some HP-UX macros (grr).
14057
14058 2001-02-06  Allan Rae  <rae@lyx.org>
14059
14060         * LaTeX.h: Another bug fix.  Missing std:: this time.
14061
14062 2001-02-04  Allan Rae  <rae@lyx.org>
14063
14064         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14065         floats problem. I've left it commented out because it's not quite
14066         correct.  It should also test that the current object is a table or
14067         figure inset.  But I haven't gotten around to figuring out how to do
14068         that.  I *think* it'll be something like: "table" == inset.type()
14069
14070         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14071         bool.
14072
14073 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14076         all the citation/databases/styles in the auxilary file.
14077         (run): Rerun latex if there was a babel language error.
14078
14079 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14080
14081         * text.C (Backspace): Preserve the font when changing newline char
14082         with a space.
14083         (BreakParagraph): If the cursor is before a space, delete the space.
14084
14085         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14086
14087 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14090         new argument (code).
14091         (ChangeCitationsIfUnique): New method.
14092
14093         * paragraph.C (GetPositionOfInset): Handle bibkey.
14094
14095 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * BufferView_pimpl.h: change type of Position::par_pos to
14098         LyXParagraph::size_type.
14099
14100 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14101
14102         * BufferView_pimpl.C (savePosition, restorePosition): Write
14103         messages to minibuffer.
14104
14105 2001-01-28  José Matos  <jamatos@fep.up.pt>
14106
14107         * buffer.C (makeDocBookFile): adds support for document language.
14108         A silly restriction on the name of LatexCommand types where removed.
14109         Added support for CDATA sections, allows to chars unescaped, used
14110         among others in code, to avoid escape < and >.
14111
14112 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14113
14114         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14115         saved positions instrad of a stack. Furthermore, a position is
14116         stored using paragraph id/paragraph position.
14117
14118         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14119         Remove LFUN_REF_BACK.
14120
14121 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14122
14123         * converter.C (dvipdfm_options): New method.
14124
14125 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * vspace.C (isValidLength): Fix for empty input string.
14128
14129 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * LyXAction.C (init): change description of LFUN_FIGURE to
14132         "Insert Graphics"
14133
14134 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * LaTeX.C: add using directive
14137
14138 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14139
14140         * MenuBackend.C (expand): Fix the sorting of the formats.
14141
14142 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * lyx_main.C: tiny error message fix
14145
14146 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14149         calling fl_initialize(). This fixes the problem with ',' as
14150         decimal separator in text files.
14151
14152 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * trans.C (process): Fix the keymap bug.
14155
14156 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14157
14158         * LaTeX.C (scanAuxFiles): New method. Provides support for
14159         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14160         (scanLogFile) Scan for "run BibTeX" messages.
14161
14162         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14163         OT1 font encoding. Also, load the aecompl package if the ae
14164         package is loaded.
14165
14166         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14167
14168 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * texrow.C (increasePos): turn two error messages into debug
14171         messages.
14172
14173 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * LaTeX.C (scanAux): Handle the \@input macro.
14176         (runBibTeX): Use scanAux().
14177
14178         * language.C (latex_options_): New field.
14179
14180         * LaTeXFeatures.C (getMacros): Add language macros.
14181
14182         * buffer.C (makeLaTeXFile): Small fix.
14183
14184 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14185
14186         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14187
14188         * text2.C: add a using directive.
14189
14190 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14191
14192         * BufferView2.C:
14193         * lyx_gui_misc.h:
14194         * lyxfr1.C:
14195         * lyxfunc.C: kill LyXBell.
14196
14197 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14198
14199         * text.C (IsBoundary): Remove the error message
14200
14201         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14202
14203         * lyxrc.C (setDefaults): Correct initialization value for
14204         font_norm_type.
14205
14206 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14209         gotoError().
14210
14211         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14212         and GotoNextNote().
14213
14214         * src/LyXAction.C: Added reference-next.
14215
14216         * text.C (InsertChar): Use contains instead of strchr.
14217
14218         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14219
14220 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14221
14222         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14223         alignment commands (when needed).
14224
14225         * text.C (InsertChar): Add ':' to number separator chars.