]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
55f2d39015dd0998aab1ae2e1c5c6d716a8ccfcd
[lyx.git] / src / ChangeLog
1 2003-12-10  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C: up the format to 227.
4
5         * factory.C: the box inset is now identified simply by 'Box'.
6
7 2003-12-10  Angus Leeming  <leeming@lyx.org>
8
9         * buffer.C: up the format to 226.
10
11         * factory.C: the note inset is now identified simply by 'Note'.
12
13 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
14
15         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
16         when a pit is enough. Standarize a couple of loops. 
17
18 2003-12-05  Angus Leeming  <leeming@lyx.org>
19
20         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
21         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
22         data to the re-worked "log" dialog.
23
24 2003-12-03  André Pönitz  <poenitz@gmx.net>
25
26         * PosIterator.C:
27         * iterators.C:
28         * lyxtext.h:
29         * output_latex.C:
30         * paragraph_funcs.C:
31         * text.C:
32         * text2.C: use Inset::getText instead of Inset::getParagraph
33
34 2003-12-03  André Pönitz  <poenitz@gmx.net>
35
36         * buffer.[Ch]:
37         * lyxtext.h:
38         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
39         InsetText::read() as LyXText::read()
40         
41 2003-12-02  Angus Leeming  <leeming@lyx.org>
42
43         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
44         type. Add a comment in the implementation that the function uses
45         the stream's bad() function rather than fail() as the std::streams
46         would do.
47
48 2003-12-02  André Pönitz  <poenitz@gmx.net>
49
50         * lyxlex.[Ch]: make interface more similar to std::stream
51
52         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
53
54 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
55
56         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
57
58 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
59
60         * vspace.[Ch]: remove VSpace::NONE
61
62 2003-12-01  André Pönitz  <poenitz@gmx.net>
63
64         * buffer.[Ch]:
65         * lyxtext.h: move ParagraphList member to LyXText
66         rename LyXText::ownerParagraphs to LyXText::paragraph
67
68         * CutAndPaste.C:
69         * bufferview_funcs.C:
70         * iterators.[Ch]:
71         * lyx_cb.C:
72         * paragraph.C:
73         * rowpainter.C:
74         * tabular.C:
75         * text.C:
76         * text2.C:
77         * text3.C: adjust
78
79         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
80
81         * undo.C: fix cursor positioning 
82
83 2003-12-01  John Levon  <levon@movementarian.org>
84
85         * BufferView_pimpl.C: fix a crash on exit with
86         a buffer open
87
88 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * BranchList.C: fix setSelected() method.
91
92 2003-11-28  André Pönitz  <poenitz@gmx.net>
93
94         * ParagraphParameters.[Ch]:
95         * ParameterStruct.h: remove space above/below from Paragraph to
96          InsetVSpace
97
98         * BufferView_pimpl.C:
99         * factory.C:
100         * lyxfunc.C:
101         * lyxtext.h:
102         * output_latex.C:
103         * paragraph.C:
104         * paragraph_funcs.C:
105         * rowpainter.[Ch]:
106         * text.C:
107         * text2.C:
108         * text3.C: adjust
109
110 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * factory.C: Syntax change for CharStyles
113
114 2003-11-28  André Pönitz  <poenitz@gmx.net>
115
116         * BufferView.[Ch]:
117         * BufferView.[Ch]:
118         * buffer.[Ch]:
119         * buffer.[Ch]: move LyXText member
120
121 2003-11-28  André Pönitz  <poenitz@gmx.net>
122
123         * BufferView.[Ch]: make LyXText * text a private member
124
125         * BufferView_pimpl.C:
126         * cursor.C:
127         * iterators.C:
128         * lyx_cb.C:
129         * lyxfind.C:
130         * lyxtext.h:
131         * rowpainter.[Ch]:
132         * text.C:
133         * text2.C:
134         * undo.C: adjust
135
136         * output_plaintext.C: cleanup
137
138 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * buffer.C: 
141         * lyxtextclass.[Ch]: parametrize SGML document header
142
143 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * converter.[Ch]:
146         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
147         getFlavor().
148
149 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * text2.C (setFont): rework using PosIterator (no more recursive)
152         (setCharFont): no more needed 
153         (setLayout): no more selection cursors fiddling (done by redoCursor)
154         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
155         destroy remaining ones)
156
157 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
158
159         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
160         * lyxtext.h: ditto
161         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
162         selection cursors
163         * lyxfunc.C: adjust
164         * text3.C: adjust + re-allow multi par depth changes
165         * textcursor.C: simplify a bit
166
167 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
168
169         * src/buffer.C:
170         * src/lyxlayout.C:
171         * src/lyxlayout.h:
172         * src/lyxtext.h:
173         * src/output_docbook.C:
174         * src/output_latex.C:
175         * src/paragraph.C:
176         * src/paragraph.h:
177         * src/sgml.C:
178         * src/sgml.h:
179         * src/text2.C: Introducing a number of tags parametrizing various
180         XML formats that we may want to support
181
182 2003-11-25  André Pönitz  <poenitz@gmx.net>
183
184         * InsetList.[Ch] (begein, end): inline as suggested by profiler
185
186         * lyxtext.h (leftMargin/rightMargin): simplify interface
187
188         * rowpainter.C:
189         * text.C:
190         * text2.C:
191         * text3.C: adjust
192
193 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
194
195         * lyxfunc.C (dispatch): propogate the bibtex databases from the
196         master file to any child files. Fixes bug 546.
197
198 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
199
200         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
201
202 2003-11-24  André Pönitz  <poenitz@gmx.net>
203
204         * rowpainter.C: simplification
205
206         * text2.C (updateCounters): remove call to redoParagraph on 
207         changed labels as this is far too expensive.
208
209 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * converter.C (convert): fix a crash: this function gets
212         called with buffer == 0 from importer code.
213
214 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
215
216         * text3.C (cursorPrevious): make sure that we do not compare
217         iterators form different containers.
218         (cursorNext): ditto
219
220         * rowpainter.C (paintSelection): make sure that we do not compare
221         iterators from different containers.
222
223         * text3.C (dispatch): [PRIOR] make sure that we do not compare
224         iterators from different ParagraphList containers.
225         [NEXT] ditto
226
227         * text2.C (LyXText): change order of initialization slightly
228         (operator=): new function. copy all variables except cache_par_
229         (moveUp): make sure that we do not compare iterators from
230         different ParagraphList constainers.
231         (moveDown): ditto
232
233         * text.C (firstPar): new function
234         (lastPar): new function
235         (endPar): new function
236
237         * lyxtext.h: move things around and group public functions, public
238         variables, private functions, private variables
239
240 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
241
242         * factory.C: change call to InsetERT constructor to avoid
243         additional invocation of method status
244         * text2.C (toggleInset): remove redundant update() call
245         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
246         instead of a Bufferview pointer
247
248 2003-11-21  André Pönitz  <poenitz@gmx.net>
249
250         * rowpainter.C: simplification
251
252 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * text3.C (dispatch): make possible to extend a word/row selection
255         with the mouse
256
257 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * lyxtext.h: x0_,y0_ -> xo_,yo_
260         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
261         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
262         * rowpainter.C (paintRows): paint full paragraphs
263
264 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
267         screen coordinates)
268
269 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * lyxtext.h: add x0_, y0_
272         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
273         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
274
275 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
276
277         * text2.C (setCursorIntern): move the x_target update here *
278         * text3.C: change some bv() to true/false in calls to
279         cursorUp/Down/Right/Left
280         * cursor.C: use helper function.
281
282 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
283
284         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
285         * paragraph_funcs.[Ch]: correct comment
286         * rowpainter.C: do not paint selections away from bv->cursor()
287         Fix a long standing selection painting bug.
288         * text3.C: generalize mouse-selection code to LyXTexts other that
289         top one
290         * textcursor.C: do not use y coords if we can use par offsets
291
292 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
295         cursor position after e.g. inset insert)
296
297 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
298
299         * lyxfind.C (replace): adjust to locking removal + some
300         code simplification
301
302 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
305         of the path
306
307 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * lyxlayout.[Ch]:
310         * output_docbook.C: XML sanitation: new layout
311         parameters InnerTag and CommandDepth
312
313 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * BufferView_pimpl.C:
316         * factory.C:
317         * text3.C: Fix the insertion and modification of button-style
318         insets
319
320 2003-11-13  André Pönitz  <poenitz@gmx.net>
321
322         * InsetList.[Ch]: remove deleteLyXText
323
324         * paragraph.[Ch]: cache beginOfBody position
325
326         * Bidi.C:
327         * text.C:
328         * text2.C:
329         * text3.C: remove superfluous update() calls
330
331         * vspace.C: cleanup
332
333 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
336         * BufferView.C (fitLockedInsetCursor): remove
337         * cursor.[Ch] (getDim): add
338         * text.C (getRowNearY): add faster version
339         * text3.C: remove some update calls
340
341 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
342
343         * LaTeXFeatures.C:
344         * LyXAction.C:
345         * MenuBackend.C:
346         * MenuBackend.h:
347         * dispatchresult.h:
348         * factory.C:
349         * lfuns.h:
350         * lyxfunc.C:
351         * lyxtextclass.C:
352         * lyxtextclass.h:
353         * text3.C: The Character Style /XML short element patch.
354
355 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
356
357         * text3.C:
358         * factory.C: Small step to solving 'unable to insert some insets'
359         problem
360
361 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
362
363         * cursor.[Ch] (updatePos): new function for updating the y
364         position of the tip inset
365         * bufferview_funcs.C (put_selection_at):
366         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
367
368 2003-11-11  André Pönitz  <poenitz@gmx.net>
369
370         * text.C: remove big comment on invalid Paragraph pointers as it is
371         not valid anymore
372
373 2003-11-11  André Pönitz  <poenitz@gmx.net>
374
375         * text_funcs.[Ch]: merge with ...
376
377         * text.C: ... this
378
379         * lyxtext.h:
380         * text2.C:
381         * text3.C: adjust
382
383         * Makefile.am: remove text_funcs.[Ch]
384
385 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
386
387         * cursor.C (getPos): return absolute cached y coord
388
389         * BufferView_pimpl.C (fitCursor): new simplistic code
390         (workAreaDispatch): add a fitCursor call
391
392 2003-11-10  André Pönitz  <poenitz@gmx.net>
393
394         * BufferView.[Ch]:
395         * BufferView_pimpl.[Ch]: merge update() and updateInset()
396
397 2003-11-10  André Pönitz  <poenitz@gmx.net>
398
399         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
400         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
401         indicate that the cursor needs to leave an inset
402
403         * lyxtext.h: remove inset locking
404
405         * cursor.[Ch]: re-implement functionality provided by inset locking
406
407         * BufferView.[Ch]:
408         * BufferView_pimpl.[Ch]:
409         * LyXAction.C:
410         * bufferview_funcs.[Ch]:
411         * factory.C:
412         * funcrequest.[Ch]:
413         * iterators.C:
414         * lyx_cb.C:
415         * lyxfind.C:
416         * lyxfunc.C:
417         * text.C:
418         * text2.C:
419         * text3.C:
420         * undo.C: adjust
421
422 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
423
424         * PosIterator.[Ch]: replace the stack with a vector, add inset
425         accesor
426         * iterators.[C]: adjust
427
428 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
429
430         * lyxfind.C (replaceAll): mark the buffer dirty if something was
431         replaced
432         * paragraph_funcs.C (readParToken): put the correct id in the
433         error item, not the id of the top paragraph
434
435 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
436
437         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
438         * bufferview_funcs.C (put_selection_at): use the above
439
440 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
441
442         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
443
444 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * output_linuxdoc.h:
447         * output_plaintext.h:
448         * output.h:
449         * output_docbook.h: add #include statements
450
451 2003-11-05  José Matos  <jamatos@lyx.org>
452
453         * output_docbook.[Ch]:
454         * output_latex.[Ch]:
455         * output_linuxdoc.[Ch]:
456         * output_plaintext.[Ch]: New files for output formats.
457         * output.[Ch]: New file for helper functions.
458
459         * buffer.[Ch]:
460         * paragraph_funcs.[Ch]: output functions moved to new files.
461
462         * outputparams.h: rename of latexrunparams.h
463
464         * LaTeX.[Ch]:
465         * buffer.[Ch]:
466         * bufferlist.[Ch]:
467         * converter.[Ch]:
468         * exporter.C:
469         * paragraph.[Ch]:
470         * paragraph_funcs.[Ch]:
471         * paragraph_pimpl.[Ch]:
472         * tabular.[Ch]: rename ascii to plaintext
473         and LatexRunParams to OutputParams.
474
475 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
476
477         * iterators.[Ch] (text): require bv argument
478         * undo.C (recordUndo):
479         * lyxfunc.C (dispatch):
480         * bufferview_funcs.C (put_selection_at): adjust
481
482 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
483
484         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
485
486 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
487
488         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
489         nestings
490
491 2003-11-04  André Pönitz  <poenitz@gmx.net>
492
493         * cursor.[Ch]: restructure
494
495         * BufferView.[Ch]:
496         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
497
498         * iterators.[Ch] (asCursor): remove
499
500         * lfuns.h: remove LFUN_INSET_EDIT
501
502         * lyxfunc.C:
503         * tabular.C:
504         * text.C:
505         * text2.C:
506         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
507
508 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
509
510         * lyxfind.[Ch]: complete overhaul
511         * BufferView_pimpl.C:
512         * lyxfunc.C: adjust
513         * paragraph.[Ch] (insert): add
514
515 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
516
517         * BufferView.[Ch]:
518         * lyxtext.h:
519         * text.C: remove dead spellcheck code
520
521 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
522
523         * dispatchresult.h: add a val setter
524
525         * cursor.C (dispatch): use a tempvar for data_[i]
526
527 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
528
529         * PosIterator.[Ch]: compile fix
530
531 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
532
533         * text.C (cursorPar): deactivate the cursor cache
534
535 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
536
537         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
538
539 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
540
541         * text3.C (dispatch): adjust for new DisptchResult semantics.
542
543         * lyxfunc.C (dispatch): handle update when return from
544         Cursor::dispatch, adjust for new DispatchResult semantics.
545
546         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
547         DispatchResult(true) mean to not update. Add class functions for
548         setting dispatched and update, as well as reading.
549
550         * cursor.C (dispatch): don't handle update here
551
552 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
553
554         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
555         * trans_mgr.C: adjust
556
557         * paragraph_funcs.C (readParToken): exception safety
558
559         * lyxvc.h: store the vcs pointer in a scoped_ptr
560         * lyxvc.C: adjust
561
562         * lyxsocket.C (serverCallback): exception safety
563
564         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
565
566         * ispell.C (clone): make it return a auto_ptr
567
568         * factory.C (createInset): exception safety
569         (readInset): exception safety
570
571         * bufferlist.C (newBuffer): exception safety
572
573         * Thesaurus.C (Thesaurus): use initialization for aik_
574
575         * MenuBackend.C (expandToc): exception safety.
576
577 2003-11-03  André Pönitz  <poenitz@gmx.net>
578
579         * buffer.C:
580         * buffer.h:
581         * bufferview_funcs.C: remove getInsetFromId()
582
583         * lyxcursor.[Ch]:
584         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
585
586         * lyxfunc.C:
587         * text2.C:
588         * text3.C: adjust
589
590 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
591
592         * PosIterator.C (distance, advance): new
593         * bufferview_funcs.[Ch] (put_selection_at): new
594         * iterators.[Ch] (lockPath): new
595
596 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
597
598         * iterators.[Ch] (asPosIterator): added
599         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
600         * PosIterator.[Ch]: added
601
602 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
603
604         * text3.C:
605         * lyxfunc.C:
606         * cursor.C (dispatch):
607         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
608
609         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
610         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
611         contructor, add a class function dispatched. Remove operator>=
612
613 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
614
615         * debug.C: only use the default constructor for debugstream
616         (lyxerr) here.
617
618         * main.C (main): include debug.h and setup the lyxerr streambuf
619         here.
620
621 2003-10-31  José Matos  <jamatos@lyx.org>
622
623         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
624
625         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
626         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
627         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
628         * paragraph_pimpl.C (simpleTeXSpecialC):
629         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
630         add LatexRunParams argument.
631
632         * exporter.C (Export): change call accordingly.
633
634         * latexrunparams.h: add new member to take care of the other backends.
635 2003-10-30  José Matos  <jamatos@lyx.org>
636
637         * buffer.C (makeLinuxDocFile, makeDocBookFile):
638         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
639         factorise code for paragraph output.
640         * buffer.[Ch]:
641         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
642         move functions.
643
644 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
645
646         * text3.C (dispatch):
647         * lyxfunc.C (dispatch):
648         * cursor.C (dispatch):
649         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
650
651         * dispatchresult.h: make the dispatch_result_t ctor explicit
652
653 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
654
655         * sgml.[Ch]:
656         * buffer.C: small refactoring of docbook stuff
657
658 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
659
660         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
661         meaning.
662
663 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
664
665         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
666         operator dispatch_result_t, and operators for == != and >=
667
668         * cursor.C (dispatch): adjust for operator dispatch_result_t
669         removal. comment out call to update
670
671         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
672
673 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
674
675         * text3.C:
676         * text2.C:
677         * text.C:
678         * lyxtext.h:
679         * lyxfunc.C:
680         * cursor.C:
681         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
682         (dispatch):
683
684         * dispatchresult.h: new file, DispatchResult broken out of
685         insets/insetbase.h
686
687         * Makefile.am (lyx_SOURCES): add dispatchresult.h
688
689 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
690
691         * text.C (rowBreakPoint): put a hack inside #if 0
692
693 2003-10-28  André Pönitz  <poenitz@gmx.net>
694
695         * lyxtext.h:
696         * metricsinfo.C:
697         * paragraph_funcs.C:
698         * rowpainter.C:
699         * text.C:
700         * text2.C: general cleanup (lots of small stuff)
701
702 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
703
704         * text2.C (cursorEnd): simple fix to the "end key goes to one
705         before the end on last row" bug
706
707 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
708
709         * text.C (backspace): fix the "zombie characters"
710
711 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
712
713         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
714
715 2003-10-27  André Pönitz  <poenitz@gmx.net>
716
717         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
718
719         * factory.C: handle new InsetPagebreak, InsetLine
720
721         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
722         and move handling into new InsetPagebreak, InsetLine
723
724         * BufferView_pimpl.C:
725         * LyXAction.C:
726         * ParagraphParameters.C:
727         * ParameterStruct.h:
728         * lyxfunc.C:
729         * lyxtext.h:
730         * paragraph.C:
731         * paragraph.h:
732         * paragraph_funcs.C:
733         * paragraph_pimpl.C:
734         * rowpainter.C:
735         * text.C:
736         * text2.C:
737         * text3.C: adjust
738
739 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
740
741         * text.C:
742         * lyxrow_funcs.[Ch]:
743         * Bidi.C:
744         * paragraph.C:
745         * lyxtext.h:
746         * rowpainter.C:
747         * text2.C:
748         * text3.C: remove lastPos uses in favour of Row::endpos
749
750 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
751
752         * undo.C (performUndoOrRedo): fix two crashes by setting a
753         cursor by hand and reordering some calls. Use bv->lockInset instead
754         of inset->edit because the latter loses cursor information
755
756 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
757
758         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
759         by Martin
760         (rowBreakPoint): fix width. change point to point + 1.
761         Add a missing check.
762
763 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
764
765         * MenuBackend.C:
766         * lyxfunc.C: fix (at least partly) the problems
767         with the Nav menu and headers inside branch insets
768         reported by Kayvan
769
770 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
771
772         * paragraph.C (getChar): add strong asserts
773
774         * lyxrow_funcs.C (lastPos): remove hideous hack
775
776         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
777         (fill): adjust to that (avoid an infinite loop)
778
779 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
780
781         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
782
783 2003-10-23  André Pönitz  <poenitz@gmx.net>
784
785         * RowList_fwd.h: change list<> to vector<> to gain speed
786         after suggestion from Alfredo
787
788 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
789
790         * lyxtext.h: move the bidi stuff from here...
791         * text.C: and here
792         * text2.C: and here
793         * Bidi.[Ch]: ... to here
794
795 2003-10-23  André Pönitz  <poenitz@gmx.net>
796
797         * lyxtext.h:
798         * text.C (isLastRow, isFirstRow): new functions
799
800         * paragraph.h: new width cache member
801
802         * rowpainter.C: replace RowList::iterator with Row & where possible
803
804         * lyxfunc.C: replace several view()->text with a single call
805
806         * toc.C: fix 'unused' warning
807
808 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
811         when woring with stream::pos_type
812         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
813
814 2003-10-22  André Pönitz  <poenitz@gmx.net>
815
816         * lyxtext.h:
817         * text.C: use Row & instead of RowList::iterator
818
819         * lyxrow.h: rename end() to endpos()
820
821         * rowpainter.C:
822         * text.C:
823         * text2.C: adjust
824
825 2003-10-22  Angus Leeming  <leeming@lyx.org>
826
827         * buffer.[Ch] (fully_loaded): new member function, returning true
828         only when the file has been loaded fully.
829         Used to prevent the premature generation of previews and by the
830         citation inset to prevent computation of the natbib-style label.
831
832         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
833         templates are all set up.
834
835         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
836
837 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
838
839         * text.C: fixed an "oops" in the "is a bit silly"
840         bug fix
841
842 2003-10-21  André Pönitz  <poenitz@gmx.net>
843
844         * FuncStatus.[Ch]: small stuff, whitespace
845
846         * lyxfont.[Ch]: operator<<() for debug reasons
847
848         * lyxfunc.C:
849         * lyxrow_funcs.C:
850         * lyxtext.h: whitespace, spelling
851
852         * paragraph.C: naming of variables
853
854         * text.C:
855         * text2.C: small stuff
856
857
858 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
859
860         * text.C: (1) finish off the inset display() work;
861         (2) fix the "is a bit silly" bug (accessing char
862         past end of par).
863
864 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * text.C: re-introduce display() for insets, fixing the
867         various bugs (stretch of line above, math inset
868         positioning, ...)
869
870 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
871
872         * text.C (rightMargin): remove spurious semicolon
873
874         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
875         1415)
876
877 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
878
879         * text3.C: fix one crash due to wrong cursor def
880
881 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
882
883         * vc-backend.C (scanMaster): make the regex static
884
885         * LaTeX.C (scanAuxFile): make the regexs static
886
887         * text3.C (doInsertInset, dispatch, dispatch):
888         * text2.C (cursorUp, cursorDown):
889         * text.C (selectNextWordToSpellcheck):
890         * BufferView_pimpl.C (dispatch):
891         * lyxfunc.C (dispatch):  localDispatch -> dispatch
892
893 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * lyxsocket.C: include <cerrno>
896
897 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
898
899         * lyxfunc.C (dispatch): remove textcache stuff
900
901         * bufferlist.C (release): remove textcache stuff
902         (closeAll): ditto
903
904         * TextCache.C: delete file
905         * TextCache.h: delete file
906
907         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
908
909         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
910         delete of the bv_->text.
911         (resizeCurrentBuffer): remove texcache stuff
912         (workAreaResize): ditto
913
914 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
915
916         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
917         action.
918
919 2003-10-16  André Pönitz  <poenitz@gmx.net>
920
921         * lyxrow.[Ch]:
922         * paragraph.h:
923         * rowpainter.C:
924         * text.C:
925         * text2.C:
926         * text3.C: speed up by storing y positions per paragraph plus per-row
927         offset instead of having a 'full' y position in the row.
928
929 2003-10-15  André Pönitz  <poenitz@gmx.net>
930
931         * iterators.[Ch]:
932         * iterators.[Ch]:
933         * undo.[Ch]: make undo aware of inner insets
934
935 2003-10-14  Angus Leeming  <leeming@lyx.org>
936
937         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
938         static member functions LyX::ref() and LyX::cref.
939         (lastfiles): new accessor functions for the new lastfiles_ member var.
940         (addLyXView, views_): add a new LyXView to the list of views_.
941         (updateInset): loop over all LyXViews to call their own updateInset
942         member function, returning a pointer to the Buffer owning the inset.
943
944         * BufferView_pimpl.C (loadLyXFile):
945         * MenuBackend.C (expandLastfiles):
946         * bufferlist.C (MenuWrite, QuitLyX):
947         lastfiles is no longer a global variable.
948         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
949
950         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
951         static function. Access through LyX::cref().emergencyCleanup().
952
953 2003-10-14  André Pönitz  <poenitz@gmx.net>
954
955         * iterators.[Ch]: new direct access to innermost LyXText and Inset
956
957         * undo.[Ch]: restoring part of 'undo in insets'
958
959         * Makefile.am:
960         * undo_funcs.[Ch]: merge with undo.[Ch]
961
962         * tabular.C: small cleansing stuff
963
964 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
965
966         * paragraph_funcs.C (readParToken): report unknown insets as error
967         boxes. Use the outer paragraph as location (also for unknown
968         tokens).
969
970         * factory.C (readInset): do not abort on reading an unknown inset.
971         Eat it and return 0.
972
973 2003-10-13  Angus Leeming  <leeming@lyx.org>
974
975         * lyx_main.C (LyX): remove call to setDisplayTranslator().
976
977         * lyxrc.C: displayTranslator is now a function,
978         declared in GraphicsTypes.h.
979
980 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
981
982         * format.C: new placeholder $$a to pass the socket address.
983
984         * bufferlist.[Ch]: new function getBufferFromTmp.
985
986         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
987           files in the temporary dir.
988
989 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
990
991         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
992
993         * Makefile.am: add lyxsocket.[Ch].
994
995         * lyx_main.C (error_handler): handle SIGPIPE.
996
997 2003-10-13  André Pönitz  <poenitz@gmx.net>
998
999         * BufferView_pimpl.C:
1000         * lyxtext.h:
1001         * text.C:
1002         * text2.C:
1003         * text3.C:
1004         * undo_funcs.[Ch]: use paroffset_type instead of
1005           ParagraphList::iterators to prevent multiple conversion
1006           (and get a more robust interface)
1007
1008 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1011         * lyxtext.h: ditto
1012         * text3.C (dispatch): ditto
1013
1014 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1015
1016         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1017         move the onlyfile, use onlyfile instead of foundfile in a couple
1018         of places.
1019
1020         * DepTable.C (update): flush the error stream a bit more
1021
1022 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1023
1024         * lyxserver.C (callback): adjust
1025
1026         * lyxfunc.C (getStatus): add a missing brace in commented code
1027         (ensureBufferClean): reindent
1028         (dispatch): delete version taking a string
1029
1030 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * LaTeX.C (deplog): move found file handlig from here...
1033         (handleFoundFile): .. to new function here.
1034         (deplog): make sure to discover several files mentioned on the
1035         same log line.
1036
1037 2003-10-10  André Pönitz  <poenitz@gmx.net>
1038
1039         * lyxfunc.C:
1040         * lyxtext.h:
1041         * tabular.C:
1042         * text.C:
1043         * text2.C:
1044         * text3.C: fix some of the tabular crashes
1045
1046 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1047
1048         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1049
1050         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1051
1052 2003-10-09  André Pönitz  <poenitz@gmx.net>
1053
1054         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1055
1056         * BufferView.C:
1057         * BufferView_pimpl.C:
1058         * bufferview_funcs.C:
1059         * lyx_cb.C:
1060         * lyxcursor.C:
1061         * lyxfind.C:
1062         * lyxfunc.C:
1063         * lyxtext.h:
1064         * text.C:
1065         * text2.C:
1066         * text3.C:
1067         * text_funcs.[Ch]:
1068         * textcursor.[Ch]:
1069         * undo_funcs.C: adjust
1070
1071 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * text2.C (incrementItemDepth): new function, use a backtracking
1074         algorithm to discover the correct item depth.
1075         (resetEnumCounterIfNeeded): new function, use a backtracking
1076         algorithm to discover if counter reset is needed.
1077         (setCounter): use them. Simplify a bit. Add different labels for
1078         different item depths for itemize.
1079
1080         * paragraph.C (Paragraph): remove initialization of enumdepth
1081         (operator=): ditto
1082
1083         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1084         enumerate and itemize. Change the type of itemdepth to signed char.
1085
1086 2003-10-08  André Pönitz  <poenitz@gmx.net>
1087
1088         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1089           thing assignable.
1090         * text.C:
1091         * text2.C: adjust
1092
1093         * tabular.[Ch]: fix crash after 'row-insert'
1094
1095 2003-10-08  Angus Leeming  <leeming@lyx.org>
1096
1097         Fix doxygen warnings.
1098
1099         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1100         Remove CutAndPaste:: prefix from header file declaration.
1101
1102         * LColor.h (fill): remove LColor:: prefix from declaration.
1103
1104         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1105         use lyx::depth_type rather than Paragraph::depth_type so that
1106         header file and .C file match.
1107
1108         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1109
1110         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1111         * aspell.C: \file aspell_local.C -> \file aspell.C
1112         * gettext.C: \file gettext.C -> \file src/gettext.C
1113         * gettext.h: \file gettext.h -> \file src/gettext.h
1114         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1115         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1116         * text.C: \file text.C -> \file src/text.C
1117
1118         * toc.C: move comment so that doxygen is not confused.
1119
1120 2003-10-07  Angus Leeming  <leeming@lyx.org>
1121
1122         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1123
1124 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1125
1126         * aspell.C:
1127         * aspell_local.h: add forgotten std::string's.
1128
1129 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1130
1131         * LaTeXFeatures.C:
1132         * LyXAction.C:
1133         * factory.C:
1134         * lfuns.h:
1135         * lyxfunc.C:
1136         * text3.C: The Box patch. Fancybox support, minipage, parbox
1137
1138 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1139
1140         * CutAndPaste.h:
1141         * DepTable.h:
1142         * FloatList.h:
1143         * LaTeXFeatures.h:
1144         * ParagraphParameters.h:
1145         * TextCache.h:
1146         * Thesaurus.h:
1147         * bufferlist.h:
1148         * exporter.h:
1149         * importer.h:
1150         * lastfiles.h:
1151         * lyxfind.h:
1152         * lyxfont.h:
1153         * lyxlex.h:
1154         * lyxtextclasslist.h:
1155         * messages.h:
1156         * paragraph.h:
1157         * paragraph_pimpl.C:
1158         * textcursor.h: add <string> and other small fixes to make Lars'
1159         std::string patch compile with STLport.
1160
1161 2003-10-06  Angus Leeming  <leeming@lyx.org>
1162
1163         * LColor.h: Add missing #include <string>.
1164
1165 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1166
1167         * All most all file in all subdirs: Make <string> be the prefered
1168         way of getting to std::string, add using declarations.
1169
1170 2003-10-06  André Pönitz  <poenitz@gmx.net>
1171
1172         * metricsinfo.C: initialize LyXFont before changing attribute.
1173         (fixes the 'math in \emph is upright' bug)
1174
1175 2003-10-06  André Pönitz  <poenitz@gmx.net>
1176
1177         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1178
1179 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1180
1181         * graph.C:
1182         * paragraph_pimpl.C: Small fixes to build using STLport
1183
1184 2003-10-02  André Pönitz  <poenitz@gmx.net>
1185
1186         * lyxfunc.C:
1187         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1188
1189 2003-10-01  André Pönitz  <poenitz@gmx.net>
1190
1191         * factory.C: assert early
1192
1193 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * lyx_main.C: remove the global debug object
1196
1197         * debug.h: adjust for new debugstream
1198
1199         * debug.C: adjust for new debugstream and keep the global debug
1200         object here.
1201
1202 2003-09-22  Angus Leeming  <leeming@lyx.org>
1203
1204         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1205         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1206         an incomplete class LyXFont.
1207
1208 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1209
1210         * factory.C: bug fix in branches
1211
1212 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1213
1214         * lyxfunc.C (processKeySym): adjust
1215         (dispatch): adjust
1216         (dispatch): change arg name from ev to func, adjust
1217         (sendDispatchMessage): ditto
1218
1219         * lyx_main.C (defaultKeyBindings): adjust keybindings
1220         (deadKeyBindings): ditto
1221
1222         * kbsequence.C (addkey): return a FuncRequest
1223
1224         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1225
1226         * kbmap.C (bind): take a FuncRequest as arg, adjust
1227         (read): adjust
1228         (lookup): adjust
1229         (defkey): change to take a FuncRequest as arg, adjust
1230         (findbinding): take a FuncRequest as arg, adjust.
1231
1232         * funcrequest.h (operator=): added
1233
1234         * funcrequest.C (FuncRequest): default kb_action changed from
1235         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1236
1237         * buffer.C (dispatch): simplify
1238         (dispatch): adjust to take a FuncRequest as arg, adjust
1239
1240         * boost.C (assertion_failed): change assertion message slightly
1241
1242         * ToolbarBackend.C (read): simplify
1243
1244         * MenuBackend.C (binding): adjust call to findbinding, add a
1245         message if no binding is found.
1246         (read): simplify
1247         (expandToc): correct by adding a empty FuncRequest
1248
1249         * LyXAction.C: include <boost/assert.hpp>
1250         (isPseudoAction): delete function
1251         (LookupFunc): change name to...
1252         (lookupFunc): this. change return type to FuncRequest.
1253         (getActionName): take kb_action as arg, simplify
1254         (funcHasFlag): add an assert, simplify.
1255
1256 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1257
1258         * toc.C (action): return a FuncRequest, simplify
1259
1260         * lyxfunc.C (processKeySym): adjust
1261         (getStatus): delete version that takes an int.
1262         (getStatus): adjust
1263         (dispatch): delete version that takes action as int
1264         (dispatch): adjust
1265         (sendDispatchMessage): simplify and adjust
1266
1267         * funcrequest.C (getArg): take unsigned int as arg
1268
1269         * ToolbarBackend.C (read): adjust
1270         (add): delete version that takes func as a string.
1271         (getIton): take a FuncRequest as arg
1272
1273         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1274         action.
1275
1276         * MenuBackend.C (MenuItem): add a new construct that only takes a
1277         Kind, simplify the constructor use for submenus.
1278         (add): adjust
1279         (expandLastfiles): adjust
1280         (expandDocuments): adjust
1281         (expandFormats): adjust
1282         (expandFloatListInsert): adjust
1283         (expandFloatInsert): adjust
1284         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1285
1286         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1287         Remove class variables lyx_pseudo_map and lyx_arg_map
1288
1289         * LyXAction.C (searchActionArg): delete function
1290         (getPseudoAction): delete function
1291         (retrieveActionArg): delete function
1292         (LookupFunc): make it return kb_action, simplify.
1293         (getActionName): simplify
1294
1295         * factory.C (createInset): fix new bug
1296
1297 2003-09-19  Angus Leeming  <leeming@lyx.org>
1298
1299         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1300         masterFilename_ parameter in the include inset.
1301
1302         * factory.C (createInset): changes due to the changes to InsetInclude.
1303
1304 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1305
1306         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1307
1308 2003-09-18  Angus Leeming  <leeming@lyx.org>
1309
1310         * buffer.C:
1311         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1312         Inset::fillWithBibKeys.
1313         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1314
1315 2003-09-18  Angus Leeming  <leeming@lyx.org>
1316
1317         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1318         variables.
1319         (ctor): pass and store a 'Buffer const &'
1320         (buffer): new member function.
1321
1322         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1323         '*this' to the LaTeXFeatures ctor.
1324
1325 2003-09-18  Angus Leeming  <leeming@lyx.org>
1326
1327         * LColor.h:
1328         * lyxfont.C:
1329         * lyxfont.h:
1330         * lyxtext.h:
1331         * text.C: rename EnumLColor as LColor_color.
1332
1333 2003-09-18  Angus Leeming  <leeming@lyx.org>
1334
1335         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1336         remove #include "insets/insetbase.h" from cursor.h.
1337
1338 2003-09-18  Angus Leeming  <leeming@lyx.org>
1339
1340         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1341         InsetOld_code to remove #include "inset.h".
1342
1343         * iterators.C: add #include "insets/inset.h"
1344
1345 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1346
1347         * BufferView.C: remove more locking stuff that apparently doesn't
1348         do anything sensible.
1349
1350 2003-09-16  André Pönitz  <poenitz@gmx.net>
1351
1352         * paragraph.[Ch]:
1353         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1354           performance boost.
1355
1356 2003-09-16  Angus Leeming  <leeming@lyx.org>
1357
1358         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1359
1360         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1361         arg/return type.
1362
1363         * paragraph.h: remove #include "lyxfont.h". Forward declare
1364         LyXFont_size.
1365
1366 2003-09-16  Angus Leeming  <leeming@lyx.org>
1367
1368         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1369         of support/textutils.h.
1370         (isWord): move the contents of support/textutils.h's IsWordChar here.
1371
1372         * buffer.C:
1373         * lyxfind.C:
1374         * rowpainter.C:
1375         * text.C:
1376         * text2.C: add #include "paragraph.h".
1377
1378         * rowpainter.C:
1379         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1380
1381 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * main.C:
1384         * lyx_main.C:
1385         * lyx_cb.C:
1386         * buffer.C:
1387         * LaTeX.C: use namespace alias for lyx::support::os
1388
1389 2003-09-16  Angus Leeming  <leeming@lyx.org>
1390
1391         * bufferparams.C:
1392         * bufferview_funcs.C:
1393         * factory.C:
1394         * lyxfunc.C:
1395         * paragraph_pimpl.C:
1396         * rowpainter.C:
1397         * text.C: add #include "LColor.h".
1398
1399 2003-09-16  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1402         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1403         return LyXFont &.
1404         Store the FontBits::color variable as an int rather than as an
1405         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1406         file.
1407
1408         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1409         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1410         string calls together.
1411
1412         * lyxrc.C: add #include "LColor.h".
1413
1414 2003-09-15  Angus Leeming  <leeming@lyx.org>
1415
1416         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1417         a cow_ptr.
1418
1419 2003-09-15  Angus Leeming  <leeming@lyx.org>
1420
1421         * LColor.h: add an EnumLColor wrapper for LColor::color.
1422
1423         * lyxfont.[Ch] (color, setColor, realColor):
1424         * lyxtext.h, text.C (backgroundColor):
1425         pass EnumLColor args to/from the functions, rather than LColor::color
1426         ones.
1427
1428         * lyxfont.h:
1429         * lyxtext.h: forward declare EnumLColor.
1430
1431         * lyx_main.C: add #include "LColor.h".
1432
1433 2003-09-15  Angus Leeming  <leeming@lyx.org>
1434
1435         * .cvsignore: add lyx-gtk.
1436
1437 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1438
1439         * Chktex.C
1440         * LaTeX.C
1441         * LaTeXFeatures.C
1442         * ParagraphParameters.C
1443         * Spacing.C
1444         * buffer.C
1445         * bufferparams.C
1446         * bufferview_funcs.C
1447         * chset.C
1448         * counters.C
1449         * funcrequest.C
1450         * lyxfont.C
1451         * lyxgluelength.C
1452         * lyxlength.C
1453         * paragraph.C
1454         * paragraph_funcs.C
1455         * text3.C
1456         * vc-backend.C: remove usage of STRCONV
1457
1458 2003-09-15  Angus Leeming  <leeming@lyx.org>
1459
1460         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1461         explicitly define the color passed to the painter.
1462
1463 2003-09-15  Angus Leeming  <leeming@lyx.org>
1464
1465         * bufferparams.C (BufferParams): reorder member initializers to avoid
1466         compiler warning.
1467
1468 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1471         * text.C (updateRowPositions): remove an unusual nop
1472
1473 2003-09-12  André Pönitz  <poenitz@gmx.net>
1474
1475         * BufferView_pimpl.C:
1476         * Bullet.C:
1477         * layout.h:
1478         * lyxfunc.C:
1479         * lyxlayout.[Ch]:
1480         * lyxtextclass.C:
1481         * rowpainter.C:
1482         * text.C:
1483         * text2.C:
1484         * Counters.[Ch]: finish the 'automatic counters' job
1485
1486 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1487
1488         * aspell.C: include <boost/assert.cpp> (compile fix)
1489
1490 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1491
1492         * boost.C (assertion_failed): use lyx::support::abort instead of
1493         assert.
1494
1495 2003-09-10  Angus Leeming  <leeming@lyx.org>
1496
1497         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1498         with their _fwd progeny.
1499
1500 2003-09-09  Angus Leeming  <leeming@lyx.org>
1501
1502         134 files throughtout the source tree: replace 'using namespace abc;'
1503         directives with the appropriate 'using abc::xyz;' declarations.
1504
1505 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1506
1507         * boost.C (emergencyCleanup): moved here from LAssert.c
1508         (assertion_failed): new function, called by BOOST_ASSERT
1509
1510         * several files: change Assert to BOOST_ASSERT
1511
1512 2003-09-09  Angus Leeming  <leeming@lyx.org>
1513
1514         * buffer.[Ch]: Add an Impl class and move Buffer's member
1515         variables into it. As a result move several header files out of
1516         buffer.h.
1517
1518         Add header files to lots of .C files all over the tree as a result.
1519
1520 2003-09-09  Angus Leeming  <leeming@lyx.org>
1521
1522         * buffer.[Ch]: make Buffer's member variables private. Add
1523         accessor functions.
1524
1525         Lots of changes all over the tree as a result.
1526
1527 2003-09-08  Angus Leeming  <leeming@lyx.org>
1528
1529         * graph.C: #include <config.h>.
1530
1531 2003-09-08  Angus Leeming  <leeming@lyx.org>
1532
1533         * BranchList.C:
1534         * BufferView.C:
1535         * BufferView_pimpl.C:
1536         * CutAndPaste.C:
1537         * DepTable.C:
1538         * LaTeX.C:
1539         * LaTeXFeatures.C:
1540         * LyXAction.C:
1541         * MenuBackend.C:
1542         * TextCache.C:
1543         * aspell.C:
1544         * buffer.C:
1545         * bufferlist.C:
1546         * changes.C:
1547         * chset.C:
1548         * converter.C:
1549         * counters.C:
1550         * debug.C:
1551         * graph.C:
1552         * ispell.C:
1553         * lyx_cb.C:
1554         * lyxfind.C:
1555         * lyxfunc.C:
1556         * lyxlex_pimpl.C:
1557         * lyxrc.C:
1558         * lyxrow.C:
1559         * paragraph.C:
1560         * rowpainter.C:
1561         * texrow.C:
1562         * text.C:
1563         * text2.C:
1564         * toc.C: remove redundant using directives.
1565
1566 2003-09-07  Angus Leeming  <leeming@lyx.org>
1567
1568         * LaTeXFeatures.h: remove #include "support/types.h".
1569         * ToolbarBackend.h: remove #include <algorithm>.
1570         * changes.h: remove #include <ctime>.
1571         * debug.h: remove #include <iosfwd>.
1572         * graph.h: remove #include "support/std_string.h".
1573         * lyx_main.h: remove #include <csignal>.
1574         * lyxlex_pimpl.h: remove #include <fstream>.
1575         * sgml.h: remove #include <algorithm>, <utility>.
1576         * toc.h: remove #include "support/std_ostream.h".
1577         Add #include <iosfwd>.
1578
1579 2003-09-07  Angus Leeming  <leeming@lyx.org>
1580
1581         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1582
1583         * converter.h: forward declare LatexRunParams.
1584         * encoding.h: remove #include "lyxrc.h".
1585         * lyxtext.h: remove #include "LColor.h".
1586         * lyxtextclass.h: remove #include "support/types.h".
1587         * trans.h: remove #include "tex-accent.h".
1588         * trans_mgr.h: remove #include "tex-accent.h".
1589         * insets/inset.h: remove #include "support/types.h", <vector>.
1590         * insets/insetcollapsable.h: remove #include "LColor.h".
1591         * insets/insetinclude.h: remove #include "dimension.h".
1592         * insets/insetlatexaccent.h: remove #include "dimension.h".
1593         * insets/insetoptarg.h:: remove #include "insettext.h".
1594         * insets/insettext.h: remove #include "dimension.h",
1595         <boost/shared_ptr.hpp>
1596
1597         * insets/renderers.h: add #include "dimension.h".
1598         * insets/updatableinset.h: add #include "support/types.h".
1599
1600         * many .C files: Associated changes.
1601
1602 2003-09-06  Angus Leeming  <leeming@lyx.org>
1603
1604         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1605         one, inside testInvariant.
1606
1607         * PrinterParams.C: new file.
1608         * PrinterParams.[Ch]: move the function bodies out of line.
1609
1610 2003-09-06  Angus Leeming  <leeming@lyx.org>
1611
1612         * ParagraphParameters.h: forward declare ParameterStruct rather than
1613         including its header file.
1614         (depth): moved out-of-line.
1615
1616 2003-09-06  Angus Leeming  <leeming@lyx.org>
1617
1618         * BufferView_pimpl.h:
1619         * kbmap.h:
1620         * kbsequence.h:
1621         * lyxfunc.h: forward declare LyXKeySym rather than
1622         #include "frontends/LyXKeySym.h".
1623
1624         * BufferView_pimpl.C:
1625         * kbmap.C:
1626         * kbsequence.C:
1627         * lyxfunc.C: associated changes.
1628
1629 2003-09-06  Angus Leeming  <leeming@lyx.org>
1630
1631         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1632         As a result, can remove the #include "insets/inset.h" from BufferView.h
1633
1634 2003-09-06  Angus Leeming  <leeming@lyx.org>
1635
1636         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1637         As a result, can remove the #include "insets/inset.h" from BufferView.h
1638
1639 2003-09-06  Angus Leeming  <leeming@lyx.org>
1640
1641         * buffer_funcs.C:
1642         * buffer.h:
1643         * bufferlist.C:
1644         * BufferView.C:
1645         * bufferview_funcs.C:
1646         * BufferView_pimpl.C:
1647         * CutAndPaste.C:
1648         * lyx_cb.C:
1649         * lyxfunc.C:
1650         * paragraph.h:
1651         * ParagraphParameters.C:
1652         * tabular.C:
1653         * text3.C:
1654         * toc.C:
1655         * undo_funcs.C:
1656         * frontends/controllers/ControlDocument.C:
1657         * insets/insetcaption.C: rearrange the #includes into some sort of
1658         coherent order.
1659
1660         * buffer.h: remove #includes ErrorList.h, undo.h
1661
1662 2003-09-06  Angus Leeming  <leeming@lyx.org>
1663
1664         * support/types.h: add a 'depth_type' typedef, used to store the
1665         nesting depth of a paragraph.
1666
1667         * paragraph.h:
1668         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1669         defining explicitly.
1670
1671         * buffer.h:
1672         * paragraph_funcs.h:
1673         * ParagraphParameters.h:
1674         * sgml.h: use lyx::depth_type rather than Paragraph or
1675         ParameterStruct's depth_type.
1676
1677         * buffer.h
1678         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1679
1680         * BufferView.C:
1681         * BufferView_pimpl.C:
1682         * CutAndPaste.C:
1683         * ParagraphParameters.C:
1684         * buffer_funcs.C:
1685         * bufferlist.C:
1686         * bufferview_funcs.C:
1687         * lyx_cb.C:
1688         * lyxfunc.C:
1689         * tabular.C:
1690         * text3.C:
1691         * toc.C:
1692         * undo_funcs.C:
1693         * frontends/LyXView.C:
1694         * frontends/controllers/ControlDocument.C:
1695         * frontends/controllers/ControlErrorList.C:
1696         * insets/insetbibitem.C:
1697         * insets/insetbranch.C:
1698         * insets/insetcaption.C:
1699         * insets/insetcollapsable.C:
1700         * insets/insetenv.C:
1701         * insets/insetert.C:
1702         * insets/insetfloat.C:
1703         * insets/insetfoot.C:
1704         * insets/insetfootlike.C:
1705         * insets/insetnewline.C:
1706         * insets/insetquotes.C:
1707         * insets/insettabular.C:
1708         * insets/insettext.C:
1709         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1710
1711         * frontends/controllers/ControlChanges.C: #include "changes.h".
1712
1713 2003-09-06  Angus Leeming  <leeming@lyx.org>
1714
1715         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1716         than #including paragraph.h.
1717
1718         * ParagraphList.h:
1719         * RowList.h: deleted. Superfluous.
1720
1721         * CutAndPaste.h:
1722         * iterators.h:
1723         * lyxcursor.h:
1724         * lyxtext.h:
1725         * text_funcs.h:
1726         * undo.h:
1727         * undo_funcs.h:
1728         * insets/inset.h:
1729         * insets/insettext.h: use ParagraphList_fwd.h rather than
1730         ParagraphList.h.
1731
1732         * paragraph.h: don't forward declare ParagraphList.
1733
1734         * buffer.h:
1735         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1736         rather than ParagraphList.h. paragraph.h is still needed for the
1737         Paragraph::depth_type parameters.
1738
1739         * textcursor.h: enable it to compile stand-alone in light of the
1740         above changes.
1741
1742         * bufferview_funcs.C:
1743         * iterators.C:
1744         * lyxfunc.C:
1745         * lyxrow_funcs.C:
1746         * paragraph.C:
1747         * rowpainter.C:
1748         * text.C:
1749         * text2.C:
1750         * text3.C:
1751         * text_funcs.C:
1752         * textcursor.C:
1753         * undo.C:
1754         * frontends/controllers/ControlParagraph.C:
1755         * frontends/controllers/ControlTabular.C:
1756         * insets/insetmarginal.C:
1757         * insets/insetminipage.C:
1758         * insets/insetnote.C:
1759         * insets/insetoptarg.C: add header files needed to compile again.
1760
1761 2003-09-06  Angus Leeming  <leeming@lyx.org>
1762
1763         * RowList_fwd.h: new file, forward-declaring Row rather than
1764         #including lyxrow.h.
1765
1766         * lyxrow_funcs.h:
1767         * lyxtext.h:
1768         * paragraph.h:
1769         * insets/insettext.h: use it instead of RowList.h
1770
1771         * bufferview_funcs.C:
1772         * lyxfunc.C:
1773         * lyxrow_funcs.C:
1774         * paragraph.C:
1775         * rowpainter.C:
1776         * text.C:
1777         * text2.C:
1778         * text3.C: #include "RowList.h".
1779
1780 2003-09-05  Angus Leeming  <leeming@lyx.org>
1781
1782         * factory.C (createInset):
1783         * vspace.C (c-tor): replace sscanf call with an istringstream.
1784         * ispell.C: re-add missing HP/UX headers.
1785         * lyxserver.C: re-add missing  os2 headers.
1786
1787 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1788
1789         * BranchList.C:
1790         * graph.C:
1791         * ispell.C:
1792         * lastfiles.C:
1793         * lyx_cb.C:
1794         * lyxserver.C:
1795         * texrow.C:
1796         * text3.C: re-add missing system headers, needed for 2.95.2.
1797
1798 2003-09-05  Angus Leeming  <leeming@lyx.org>
1799
1800         Changes most place everywhere due to the removal of using directives
1801         from support/std_sstream.h.
1802
1803 2003-09-05  Angus Leeming  <leeming@lyx.org>
1804
1805         Replace LString.h with support/std_string.h,
1806         Lsstream.h with support/std_sstream.h,
1807         support/LIstream.h with support/std_istream.h,
1808         support/LOstream.h with support/std_ostream.h.
1809
1810         Changes resulting throughout the tree.
1811
1812 2003-09-05  Angus Leeming  <leeming@lyx.org>
1813
1814         * sgml.h: ensure that the header file can be compiled stand-alone.
1815         * *.C: strip out redundant #includes. (320 in total.)
1816
1817 2003-09-04  Angus Leeming  <leeming@lyx.org>
1818
1819         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1820         here (from getPackages).
1821
1822         * debug.[Ch]: add a new EXTERNAL tag.
1823
1824 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1825
1826         * text2.C (cursorEnd): simplify
1827         (setCursor): adjust
1828         (getColumnNearX): adjust
1829
1830         * text.C (computeBidiTables): adjust
1831         (fill): adjust
1832
1833         * rowpainter.C (paintChars): adjust
1834         (paintSelection): adjust
1835         (paintChangeBar): adjust
1836         (paintText): adjust
1837
1838         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1839         lastPos instead.
1840         (numberOfSeparators): adjust
1841
1842 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1843
1844         * LyXAction.C:
1845         * box.[Ch]:
1846         * lfuns.h:
1847         * lyxfunc.C:
1848         * text3.C: Restricts the mouse click functionality
1849         of insets like bibtex, include, toc and floatlist to the visible
1850         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1851         up the dialogs. Cursor has to be in front of the inset (i.e.
1852         start of row) for this to function.
1853
1854 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1855
1856         * bufferview_funcs.C (currentState): output row information
1857
1858 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1859
1860         * bufferview_funcs.C (currentState): output paragraph position
1861
1862 2003-09-04  Angus Leeming  <leeming@lyx.org>
1863
1864         * FloatList.h: move out #include "Floating.h".
1865         * LaTeX.h: move out #include "DepTable.h".
1866         * LyXAction.h: move out #include "funcrequest.h".
1867         * buffer.h: move out #include "author.h", "iterators.h".
1868         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1869         * lyx_main.h: move out #include "errorlist.h".
1870         * lyxfunc.h: move out #include "FuncStatus.h".
1871         * lyxtext: move out #include "lyxcursor.h".
1872         * paragraph_pimpl.h: move out #include "counters.h".
1873
1874 2003-09-03  Angus Leeming  <leeming@lyx.org>
1875
1876         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1877         preamble_snippets list, enabling us to add snippets to the preamble
1878         only if the snippet was not there already.
1879
1880 2003-09-04  Angus Leeming  <leeming@lyx.org>
1881
1882         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1883
1884 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1885
1886         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1887         update
1888
1889 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1890
1891         * BranchList.C: point fix, earlier forgotten
1892
1893 2003-09-02  Angus Leeming  <leeming@lyx.org>
1894
1895         * box.C (contains): renamed from 'contained' after a fantastic
1896         amount of hot air.
1897
1898 2003-09-02  John Levon  <levon@movementarian.org>
1899
1900         * BufferView.C:
1901         * lyxcursor.h:
1902         * lyxcursor.C:
1903         * lyxfunc.C:
1904         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1905
1906 2003-09-02  John Levon  <levon@movementarian.org>
1907
1908         * text2.C: simplification of cursorEnd(), including partial
1909         fix for bug 1376
1910
1911 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1912
1913         * buffer.C (readFile): add a space
1914
1915 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1918
1919 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1920
1921         * buffer.C (readFile): new function, take a filename and a
1922         ParagraphList::iterator
1923         (readFile): adjust
1924         (readFile): adjust, make it private. don't use setStream, make
1925         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1926         always contain the filename.
1927
1928         * BufferView.C (insertLyXFile): simplify and make it work for
1929         gzipped files.
1930
1931 2003-08-30  John Levon  <levon@movementarian.org>
1932
1933         * Makefile.am: fix dist (from Kayvan)
1934
1935 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1936
1937         * most files: change to use const Buffer refs
1938
1939 2003-08-27  André Pönitz  <poenitz@gmx.net>
1940
1941         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1942         on top of ownerPar().
1943
1944 2003-08-27  John Levon  <levon@movementarian.org>
1945
1946         * funcrequest.C: properly initialise POD members
1947
1948 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * lyxtext.h (top_y): move top_y from here
1951         * text.C:
1952         * text2.C:
1953         * text3.C:
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.[Ch]: to here
1956         * frontends/screen.C:
1957         * insets/insettabular.C:
1958         * insets/insettext.C: adjust
1959         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1960
1961 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1962
1963         * BufferView.[Ch]:
1964         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1965
1966 2003-08-26  André Pönitz  <poenitz@gmx.net>
1967
1968         * paragraph_func.[Ch] (outerPar): new function
1969
1970         * paragraph.C:
1971         * paragraph_funcs.C:
1972         * paragraph_funcs.h:
1973         * paragraph_pimpl.C:
1974         * text2.C: remove Inset::par_owner
1975
1976 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1977
1978         * lyxrow_funcs.C:
1979         * lyxtext.h:
1980         * text.C:
1981         * text2.C: eliminates the needFullRow/display() stuff
1982         altogether, putting the logic in metrics/draw in the insets.
1983
1984 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * text2.C (redoParagraphInternal, redoParagraphs):
1987         * text.C (redoParagraph): add a call to updateRowPositions at the
1988         end of each 'metrics-like' call. Remove all others.
1989         (getRow): remove the 'y-computing' version.
1990         (getRowNearY): do not compute nor return the real y. Solve the
1991         'y < 0' problem and simplify.
1992
1993 2003-08-22  Angus Leeming  <leeming@lyx.org>
1994
1995         * *.[Ch]: clean-up of licence and author blurbs.
1996         Also move config.h out of a few .h files and into a few .C files.
1997
1998 2003-08-22  André Pönitz  <poenitz@gmx.net>
1999
2000         * lyxrow.[Ch]: add x_ and *fill_ members
2001
2002         * lyxtext.h:
2003         * text.C:
2004         * rowpainter.C:
2005         * text2.C: adjust/remove prepareToPrint() calls
2006
2007 2003-08-22  André Pönitz  <poenitz@gmx.net>
2008
2009         * lyxrow.[Ch]: add  end_ member
2010
2011         * lyxrow_funcs.C: use LyXRow::end_
2012
2013         * lyxtext.h (singleWidth): add LyXFont parameter
2014
2015         * rowpainter.C:
2016         * text2.C: adjust LyXText::singleWidth() calls
2017
2018         * text.C (redoParagraph): simplify row breaking logic
2019
2020
2021 2003-08-19  André Pönitz  <poenitz@gmx.net>
2022
2023         * funcrequest.C: initialize button_ member
2024
2025         * text3.C:
2026         * rowpainter.[Ch]: interface consolidation
2027
2028 2003-08-18  André Pönitz  <poenitz@gmx.net>
2029
2030         * BufferView.C:
2031         * BufferView_pimpl.C:
2032         * lyxfind.C:
2033         * paragraph_funcs.C:
2034         * rowpainter.C:
2035         * text3.C: remove LyXScreen::draw() and fitCursor calls
2036
2037         * BranchList.h: remove spurious semicolons
2038
2039         * MenuBackend.C: fix branchlist related crash
2040
2041 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * BranchList.[Ch]:
2044         * InsetList.[Ch]:
2045         * LColor.[Ch]:
2046         * LyXAction.C:
2047         * Makefile.am:
2048         * MenuBackend.[Ch]:
2049         * bufferparams.[Ch]:
2050         * factory.C:
2051         * lfuns.h:
2052         * lyxfunc.C:
2053         * text3.C: implements the 'branch inset'
2054         idea. This allows the output of various versions of a document
2055         from a single source version, selectively outputing or suppressing
2056         output of parts of the text.
2057         This implementation contains a 'branch list editor' in a separate
2058         tab of the document settings dialog. Branches are user definable
2059         and have a "display colour" to distinguish them on-screen.
2060
2061         ColorHandler was somewhat cleaned up.
2062         (1) make possible a dynamically growing LColor list by allowing
2063         the graphic context cache to grow along (vector);
2064         (2) eliminate an IMHO unnecessary step in colour allocation.
2065
2066 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2067
2068         * BufferView_pimpl.C: compile fix
2069
2070 2003-08-15  André Pönitz  <poenitz@gmx.net>
2071
2072         * rowpainter.C: remove extra metrics calls
2073
2074         * lyxtext.h: merge the two constructors into a single one,
2075           pass reference to owner's par list
2076
2077         * BufferView_pimpl.C:
2078         * text.C:
2079         * text2.C: adjust
2080
2081 2003-08-15  André Pönitz  <poenitz@gmx.net>
2082
2083         * lyxrow_funcs.[Ch]:
2084         * lyxtext.h:
2085         * paragraph.h:
2086         * paragraph_funcs.C:
2087         * rowpainter.C:
2088         * text.C:
2089         * text2.C:
2090         * text3.C:
2091         * text_funcs.C: split LyXText::rowlist_ into individual
2092         Paragraph::rows_ chunks
2093
2094         * BufferView.[Ch]:
2095         * BufferView_pimpl.[Ch]:
2096         * lyxfind.C:
2097         * lyxtext.h:
2098         * text3.C: remove toggleSelection()
2099
2100 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2101
2102         * bufferlist.C: beautify two alerts (shorter text of buttons)
2103         * buffer.C: Remove redundant ' ' from message
2104         * tabular.h:
2105         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2106         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2107         rename VALIGN_CENTER to VALIGN_MIDDLE
2108
2109 2003-08-11  André Pönitz  <poenitz@gmx.net>
2110
2111         * lyxtext.h (getPar):
2112         * text.C: new function
2113
2114 2003-08-11  André Pönitz  <poenitz@gmx.net>
2115
2116         * Makefile.am:
2117         * tracer.[Ch]: remove unneeded files
2118
2119         * InsetList.[Ch]: remove resizeInsetsLyXText()
2120
2121         * lyxtext.h:
2122         * text.C:
2123         * text2.C:
2124         * text3.C: merge insertParagraphs() and appendParagraph()
2125         remove breakAgain(), update()
2126
2127         * BufferView_pimpl.[Ch]:
2128         * bufferview_funcs.[Ch]:
2129         * lyxfunc.C:
2130         * paragraph.[Ch]:
2131         * rowpainter.C:
2132         * tabular.C: adjust after text & InsetList changes.
2133
2134 2003-08-08  André Pönitz  <poenitz@gmx.net>
2135
2136         * text.C (insertChar, backspace): replace rowlist fiddling
2137         with rebreak of full par
2138
2139         * lyxtext.h:
2140         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2141         checkParagraph, updateInset): removed
2142
2143 2003-08-07  André Pönitz  <poenitz@gmx.net>
2144
2145         * paragraph.C:
2146         * text3.C: merge some LFUN handlers, remove dead code
2147
2148 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2149
2150         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2151
2152 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * text2.C (DEPM): fix part of bug 1255 and 1256
2155
2156 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * BufferView_pimpl.C (workAreaDispatch): change to use
2159         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2160         that are no mouse related.
2161
2162 2003-08-05  André Pönitz  <poenitz@gmx.net>
2163
2164         * BufferView.[Ch]:
2165         * BufferView_pimpl.[Ch]:
2166         * bufferview_funcs.C:
2167         * text2.C:
2168         * text3.C: rip out "deep update"
2169
2170         * textcursor.[Ch] (last_sel_cursor): remove unused member
2171
2172 2003-08-04  André Pönitz  <poenitz@gmx.net>
2173
2174         * BufferView.[Ch]:
2175         * BufferView_pimpl.[Ch]:
2176         * ParagraphParameters.C:
2177         * bufferview_funcs.C:
2178         * lyx_cb.C:
2179         * lyxfind.C:
2180         * lyxfunc.C:
2181         * text.C:
2182         * text2.C:
2183         * text3.C: replace "complicated" BufferView::update(...) calls with
2184         simpler ones.
2185
2186         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2187
2188 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2189
2190         * Makefile.am (lyx_SOURCES): add paper.h
2191
2192 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2193
2194         * Makefile.am: move things around so that both lyx-qt and
2195         lyx-xforms can be built (according to --with-frontend). Then lyx
2196         is a symbolic link to lyx-[firstfrontend]
2197
2198 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2199
2200         * Always use std::endl with lyxerr
2201
2202 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2203
2204         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2205
2206 2003-08-01  André Pönitz  <poenitz@gmx.net>
2207
2208         * BufferView.[Ch]:
2209         * BufferView_pimpl.[Ch]:
2210         * lyxfunc.C:
2211         * text3.C: merge BufferView::repaint() and BufferView::update()
2212
2213 2003-08-01  José Matos  <jamatos@lyx.org>
2214
2215         * buffer.[Ch]: file_format is no longer a buffer data element.
2216
2217 2003-08-01  André Pönitz  <poenitz@gmx.net>
2218
2219         * BufferView.C:
2220         * lyxtext.h:
2221         * text.C:
2222         * text2.C: make redoParagraph more independent of current cursor
2223
2224         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2225         * text.C:
2226         * text2.C: remove unneeded members
2227
2228 2003-07-30  André Pönitz  <poenitz@gmx.net>
2229
2230         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2231
2232         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2233           create a single function...
2234
2235         * paragraph_funcs.C (moveItem): ... here.
2236
2237         * text.C:
2238           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2239
2240 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2241
2242         * LColor.[Ch]: Add comment and greyedout logical colors.
2243
2244 2003-07-30  André Pönitz  <poenitz@gmx.net>
2245
2246         * tabular.C: don't use Assert too heavily. This crashes where it
2247           shouldn't
2248
2249 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2250
2251         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2252         is disabled (bug 1232)
2253
2254 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2255
2256         * factory.C: limited 'arg' scope
2257
2258 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2259
2260         * factory.C: fixed Note submenu issues
2261
2262 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * factory.C: submenu for Note/Comment/Greyedout
2265
2266 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * lyx_main.C (LyX):
2269         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2270
2271 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2272
2273         * LaTeXFeatures.C:
2274         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2275         greyedout. Patch provided by Jürgen Spitzmüller.
2276
2277 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * kbmap.C (read): fix error message when reading bind files
2280
2281 2003-07-29  Angus Leeming  <leeming@lyx.org>
2282
2283         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2284         certainly does not do what it purports to do. I am doing it, and
2285         us, a favour by killing it.
2286
2287 2003-07-28  José Matos  <jamatos@lyx.org>
2288
2289         * buffer.C (readBody, do_writeFile):
2290         * paragraph.C(readParagraph): \end_document replaces \the_end.
2291
2292 2003-07-29  André Pönitz  <poenitz@gmx.net>
2293
2294         * BufferView.[Ch]:
2295         * BufferView_pimpl.[Ch]:
2296         * lyxfunc.C:
2297         * text2.C:
2298         * text3.C:
2299         * textcursor.[Ch]: remove toggleToggle & Co
2300
2301 2003-07-28  José Matos  <jamatos@fep.up.pt>
2302
2303         * buffer.C (readParagraph):
2304         * params_func (readParToken, readParagraph):
2305         * paragraph.C (write): \layout -> \begin_layout.
2306
2307 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2308
2309         * lyxlex_pimpl.C (setFile): clean up slightly.
2310
2311         * bufferparams.h: add compressed var
2312
2313         * buffer_funcs.C (readFile): adjust for LyXLex change
2314         (newFile): ditto + simplify
2315
2316         * buffer.C (writeFile): handle writing of compressed files
2317
2318         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2319         Check if the file is compressed and set a bufferparm if so.
2320
2321         * Makefile.am (lyx_LDADD): remove explicit -lz
2322
2323 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2326         makeDocBookFile): put the real LyX version in the first line of
2327         the file
2328
2329         * version.h:
2330         * version.C.in: remove lyx_docversion
2331
2332         * tabular.C (write_attribute): add a template-based version to
2333         write enums properly
2334
2335 2003-07-28  André Pönitz  <poenitz@gmx.net>
2336
2337         * lyxtext.h:
2338         * text.C:
2339         * text2.C:
2340         * text3.C: use doubles again for x-coordinates. They are needed.
2341
2342 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * messages.C (getLocaleDir): use lyx_localedir()
2345
2346         * lyxlex_pimpl.C (setFile): compress stuff
2347
2348         * buffer.C (writeFile): add some compression stuff
2349         (do_writeFile): new func, dont call expliti close... will this
2350         breake anything?
2351
2352         * Makefile.am (lyx_LDADD): add -lz
2353
2354 2003-07-28  José Matos  <jamatos@fep.up.pt>
2355
2356         * buffer.C: increment file format.
2357         * paragraph_funcs (readParagraph, readParToken):
2358         * paragraph.C (readParagraph): add \end_layout.
2359
2360 2003-07-27  Angus Leeming  <leeming@lyx.org>
2361
2362         * Makefile.am: remove special casing for configure-time setting of
2363         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2364
2365         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2366         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2367
2368 2003-07-26  André Pönitz  <poenitz@gmx.net>
2369
2370         * paragraph_func.[Ch]:
2371         * paragraph.C (realizeFont): inline it whereever it is used
2372
2373         * rowpainter.C:
2374         * text.C:
2375         * text2.C:
2376         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2377
2378
2379 2003-07-26  André Pönitz  <poenitz@gmx.net>
2380
2381         *       lyxtext.h:
2382         * text.C:
2383         * text2.C: get rid of LyXText::need_break_row
2384
2385 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * toc.[Ch]: put namespace toc inside namespace lyx
2388
2389         * MenuBackend.C (expandToc2): adjust for lyx::toc
2390         (expandToc): ditto
2391
2392         * lyxfunc.C (dispatch): adjust for lyx::find
2393
2394         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2395         lyx::find instead. Reorganize a bit.
2396         (LyXReplace): rename to replace
2397         (LyXFind): rename to find
2398
2399         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2400         (dispatch): ditto
2401
2402 2003-07-26  André Pönitz  <poenitz@gmx.net>
2403
2404         * text.C (setHeightOfRow): restrict scope of temporary variable
2405
2406         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2407           code (never has been used?)
2408
2409 2003-07-27  Asger Alstrup  <alstrup@local>
2410
2411         * text.C (fill): Optimise algorithm to exploit that we can reuse
2412         the LyXFont for many characters.
2413         (setHeightOfRow): Same thing.
2414         (rowBreakPoint): Same thing.
2415
2416 2003-07-26  Asger Alstrup  <alstrup@local>
2417
2418         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2419
2420         * text.C (singleWidth): Spurious font copying in hot-spot
2421         singleWidth avoided. Reorder tests for arabic for efficiency.
2422
2423         * text.C (fill): handle empty paragraphs better.
2424
2425 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * ispell.C:
2428         * encoding.h: add includes
2429
2430         * lyxrc.C: remove reading of bind files
2431
2432         * lyx_main.C (init): setup bindings and menus only if we have a
2433         gui.
2434
2435         * kbmap.C (read): new method. Do the actual reading of bind
2436         files.
2437
2438         * converter.C (dvipdfm_options):
2439         * bufferparams.C:
2440         * lyxrc.C (read):
2441         (output): adapt PAPER_* enums.
2442
2443         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2444
2445         * bufferparams.h: remove paper-related enums from there
2446
2447         * paper.h: New file. A trivial header file to hold paper-related
2448         enums. It should later expand to contain many paper-related
2449         horrors access.
2450
2451         * lyxrc.C: declare extern displayTranslator
2452
2453 2003-07-27  José Matos  <jamatos@fep.up.pt>
2454
2455         * tabular.[Ch] (linuxdoc): add support for tables and figures
2456         (linuxdoc).
2457
2458 2003-07-27  José Matos  <jamatos@fep.up.pt>
2459
2460         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2461         consistency in both functions.
2462         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2463
2464 2003-07-26  Asger Alstrup  <alstrup@local>
2465
2466         * rowpainter.C (paintRows): Change algorithm to work directly on
2467         the insets rather than asking every character in the document
2468         whether its an inset.
2469
2470 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * buffer.C (openFileWrite): factorize some code
2473
2474 2003-07-26  Angus Leeming  <leeming@lyx.org>
2475
2476         * lyx_cb.C:
2477         * lyx_main.[Ch]: replace occurances of system_tempdir with
2478         os::getTmpDir().
2479
2480 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * rename Inset to InsetOld
2483
2484 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2485
2486         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2487         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2488         which I think is a bit clearer. EDIT is gone, since it was
2489         premature optimisation, and broken for mathed anyway.
2490         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2491         with cursor positioning in insets as well (math insets still do not
2492         work, but that's a different story anyway.) It mysteriously
2493         crashes sometimes with undo in the first paragraph, but I'm fairly
2494         confident that this is a compiler bug.
2495
2496 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * paragraph.C (Paragraph): adjust for new clone return type
2499         (operator==): ditto
2500         (copyIntoMinibuffer): ditto
2501
2502 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2503
2504         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2505         by not having a special case, and always doing a full rebreak of
2506         the document after undo.
2507
2508 2003-07-23  Angus Leeming  <leeming@lyx.org>
2509
2510         * factory.C (createInset): InsetExternal::setParams now takes a
2511         Buffer const * arg.
2512
2513 2003-07-23  Angus Leeming  <leeming@lyx.org>
2514
2515         * factory.C (createInset): changed interface to the external and
2516         graphics mailers' string2params functions.
2517
2518 2003-07-23  Angus Leeming  <leeming@lyx.org>
2519
2520         * factory.C (createInset): pass a
2521         Buffer const * parameter to InsetExternalMailer's string2params.
2522
2523 2003-07-22  John Levon  <levon@movementarian.org>
2524
2525         * Thesaurus.h: include the right aiksaurus header
2526
2527 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * MenuBackend.C (expand): check menu shortcuts unconditionally
2530
2531 2003-07-21  Angus Leeming  <leeming@lyx.org>
2532
2533         * factory.C (createInset): pass a
2534         buffer_path parameter to InsetGraphicsMailer's string2params.
2535
2536 2003-07-21  Angus Leeming  <leeming@lyx.org>
2537
2538         * BufferView_pimpl.C (buffer):
2539         * buffer.C (d-tor):
2540         * lyx_main.C (LyX):
2541         * lyxfunc.C (dispatch):
2542         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2543         rather than the grfx shortcut.
2544
2545 2003-07-21  André Pönitz  <poenitz@gmx.net>
2546
2547         * rowpainter.C: remove unused variables
2548
2549         * tabular_funcs.C:
2550         * tabular_funcs.h: move to tabular.C
2551         * Makefile.am: adjust
2552
2553         * tabular.[Ch]: basic optical cleaning
2554
2555         * author.h: pass references, not values
2556
2557 2003-07-18  André Pönitz  <poenitz@gmx.net>
2558
2559         * lyxtext.h:
2560         * metricsinfo.C:
2561         * metricsinfo.h:
2562         * rowpainter.C:
2563         * text.C:
2564         * text2.C:
2565         * text3.C: two-phase drawing for InsetText and InsetTabular
2566         some float -> int changes.
2567
2568 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2569
2570         * lyx_main.C: fix the fix
2571
2572 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2573
2574         * lyx_main.C: fix a crash in batch mode if no files specified
2575         * converter.C: ws
2576
2577 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * format.[Ch] (papersize): moved to BufferParams
2580         * converter.[Ch] (dvips_options): moved to BufferParams
2581         (dvipdfm_options): moved to anon namespace
2582         * bufferparams.[Ch]: added above functions.
2583
2584 2003-07-17  André Pönitz  <poenitz@gmx.net>
2585
2586         * lyxtext.h:
2587         * rowpainter.C:
2588         * text2.C: don't call inset->update() anymore
2589
2590         * metricsinfo.[Ch]: add convenience constructor
2591
2592 2003-07-16  André Pönitz  <poenitz@gmx.net>
2593
2594         * lyxcursor.[Ch]:
2595         * lyxfunc.[Ch]:
2596         * text.C:
2597         * text2.C: replace the LyXCursor::irow_ member with
2598          on-demand computation of the value
2599
2600 2003-07-16  John Levon  <levon@movementarian.org>
2601
2602         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2603
2604 2003-07-15  André Pönitz  <poenitz@gmx.net>
2605
2606         * text.C:
2607         * text2.C: remove no more needed refresh_row
2608
2609 2003-07-15  André Pönitz  <poenitz@gmx.net>
2610
2611         * lyxtext.h:
2612         * rowpainter.C:
2613         * text2.C:
2614         * text3.C: refresh_status tristate -> need_update bool
2615
2616 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * lyxtext.h (init): remove reinit argument (act as if always true)
2619         * text2.C: adjust to that
2620
2621 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2622
2623         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2624         * text3.C: use it to delete selections in some cases
2625         (bugs 441, 673, 702, 954).
2626
2627 2003-07-14  André Pönitz  <poenitz@gmx.net>
2628
2629         * rowpainter.[Ch]: reduce interface
2630
2631 2003-07-14  André Pönitz  <poenitz@gmx.net>
2632
2633         * BufferView_pimpl.C:
2634         * text2.C: adjust after removing unused BufferView * argument
2635
2636 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2637
2638         * text2.C (init): fix a crash fired on resize
2639
2640 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * buffer.[Ch]: added new closing signal
2643         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2644         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2645         BufferView::Pimpl via the closing the signal
2646
2647 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * buffer.[Ch]: take out all bv-related from buffer
2650         * BufferView.C:
2651         * BufferView_pimpl.[Ch]: connect to new signals
2652         * CutAndPaste.C: removed useless asserts
2653         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2654         * lyxvc.[Ch]:
2655         * vc-backend.[Ch]:
2656         * lyxfunc.C: moved view-related funciontality from vc here
2657         * paragraph.C: removed outdated comments
2658         * text.C: ws
2659
2660 2003-07-10  André Pönitz  <poenitz@gmx.net>
2661
2662         * BufferView_pimpl.C:
2663         * tabular.h:
2664         * tabular_funcs.C:
2665         * text.C:
2666         * text2.C: remove InsetText::InnerCache, clean up consequences
2667
2668 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2669
2670         * ispell.C: fix two typos in error messages
2671
2672 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2673
2674         * Extend Note inset to other forms of annotation like Comment
2675         and Greyedout. Right button click gives dialog.
2676
2677         Files modified or added (+):
2678
2679         * insetnote.[Ch]
2680         * FormNote.[Ch]      +
2681         * ControlNote.[Ch]   +
2682         * form_note.fd       +
2683         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2684         frontends/controllers
2685         * xforms/Dialogs.C
2686         * factory.C
2687
2688 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2689
2690         * aspell.C: add missing namespace lyx::support
2691
2692 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * BufferView.[Ch] (newFile): Add
2695         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2696         * LaTeX.[Ch] (message): added this signal and use it
2697         * buffer.[Ch] (busy, message): added these signals and use them
2698         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2699         * converter.C:
2700         * exporter.C:
2701         * format.C:
2702         * importer.C: use buffer signals instead of direct bv calling
2703         * lyx_cb.[Ch] (ShowMessage): removed
2704         * lyx_main.C:
2705         * lyxfunc.C:
2706         * paragraph_funcs.C:
2707         * text2.C: use buffer signals
2708
2709 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2710
2711         * introduce namespace lyx::graphics
2712
2713 2003-07-02  André Pönitz  <poenitz@gmx.net>
2714
2715         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2716
2717 2003-07-01  André Pönitz  <poenitz@gmx.net>
2718
2719         * text.C:
2720         * text2.C:
2721         * text3.C:
2722         * text_funcs.[Ch]:
2723         * textcursor.h:
2724         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2725           text*.C to text_func.C
2726
2727 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * introduce namespace lyx::support
2730
2731 2003-06-30  André Pönitz  <poenitz@gmx.net>
2732
2733         * Chktex.C:
2734         * funcrequest.C:
2735         * lyxtext.h:
2736         * text.C: re-enable --with-included-string
2737
2738 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739
2740         * textcursor.C: add <config.h>
2741
2742         * text.C (getWord): remove const from word_location arg
2743
2744         * lyxvc.C (getLogFile): fix const type order
2745
2746         * lyxtext.h: remove const from word_location arg, add arg name
2747
2748         * lyxlayout.h: currect type on labeltype.
2749
2750         * importer.C: correct \file
2751
2752         * converter.C (intToFormat): use std:: on ret val, ws changes
2753
2754         * bufferlist.h: correct \file
2755
2756         * buffer.C (makeLinuxDocFile): fix const type order
2757         (makeDocBookFile): ditto
2758         (fillWithBibKeys): use std:: on stdlib args.
2759
2760         * CutAndPaste.C: fix authors.
2761         (availableSelections): use std:: on return vector
2762
2763 2003-06-27  André Pönitz  <poenitz@gmx.net>
2764
2765         * BufferView_pimpl.C:
2766         * bufferview_funcs.C:
2767         * lyxcursor.C:
2768         * lyxcursor.h:
2769         * lyxfunc.C:
2770         * lyxtext.h:
2771         * rowpainter.C:
2772         * text.C:
2773         * text2.C:
2774         * text3.C: remove LyXCursor::row_ member
2775
2776         * lyxtext.h:
2777         * text.C: rename fullRebreak() to partialRebreak() and implement
2778           a fullRebreak() that really bereks fully
2779
2780         * textcursor.h: new struct for cursor-related data
2781
2782 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * lyx_main.C (LyX): get full path of document loaded on the
2785         command line
2786
2787 2003-06-26  André Pönitz  <poenitz@gmx.net>
2788
2789         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2790           remove unused/broken operator>,<,>=.
2791
2792         *       text.C: remove only use of broken operator<= in an Assert().
2793
2794 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2795
2796         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2797         moved errorlist_.clear to showErrorList
2798
2799 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * converter.C (scanLog, runLaTeX):
2802         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2803         move the bv->showErrorList call to the callers
2804         * lyxfunc.C: i.e. here...
2805         * text2.C: and here
2806         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2807         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2808         namespace, the second to...
2809         * buffer_funcs (BufferFormat, parseErrors): added
2810         * errorlist.C (ErrorList(TeXErrors const &)): removed
2811
2812 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2815
2816 2003-06-24  "Garst R. Reese" <reese@isn.net>
2817
2818         * debug.C: fix typo
2819
2820 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821
2822         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2823
2824         * version.C.in: change docversion to 1.4
2825
2826 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2827
2828         * buffer.C: fix a bug just introduced
2829
2830 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2831
2832         * buffer.[Ch]: added the parseError signal and use it, removed
2833         sgmlError
2834         * BufferView.[Ch] (addError): moved to ...
2835         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2836         to the Buffer::parseError signal to catch (guess what) parse errors
2837         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2838
2839 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2842         ability to create a buffer and to return an existing one from
2843         the list. Moved these functions to...
2844         * buffer_funcs.[Ch]: added
2845         * BufferView.[Ch] (loadLyXFile): added
2846         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2847         job removed from bufferlist::loadLyXFile.
2848         * buffer.C (setReadOnly): make it work without view
2849         (i.e added an if (users))
2850
2851 2003-06-19  Angus Leeming  <leeming@lyx.org>
2852
2853         * lfuns.h:
2854         * LyXAction.C (init):
2855         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2856         with LFUN_DIALOG_SHOW <name> <data>.
2857
2858 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2859
2860         * CutAndPaste.C (availableSelections): small compilation fix for
2861         ancient (gcc 2.9x) compilers
2862
2863 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2864
2865         * text3.C (cursorNext): add tmp var
2866
2867         * text2.C (updateCounters): for function calling out of for clause
2868         (replaceSelectionWithString): ditto
2869         (insertStringAsParagraphs): ditto
2870         (getColumnNearX): add tmp var
2871         (setCursorFromCoordinates): add tmp var
2872         (cursorDownParagraph): add tmp var
2873         (deleteEmptyParagraphMechanism): add tmp var
2874
2875         * text.C (insertChar): add tmp var
2876
2877         * rowpainter.C (paintDepthBar): add tmp var
2878
2879         * CutAndPaste.C (availableSelections): potentially check all
2880         paragraphs in a cut to fill the shown strings.
2881
2882 2003-06-18  André Pönitz  <poenitz@gmx.net>
2883
2884         * kbmap.[Ch]: use vector<> instead of list<>
2885
2886 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2887
2888         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2889         pasteSelection with index
2890
2891         * text2.C (pasteSelection): modify, call pasteSelection with index
2892
2893         * paragraph.C (asString): reimplement version with no interval to
2894         call the one with interval.
2895
2896         * lyxtext.h: add index arg to pasteSelection
2897
2898         * MenuBackend.C (MenuItem): handle PasteRecent
2899         (Menu::read::Menutags): add md_pasterecent
2900         (read): handle it
2901         (expandPasteRecent): new function
2902         (expand): use it
2903
2904         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2905
2906         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2907         the limited stack
2908         (availableSelections): new function
2909
2910 2003-06-17  Angus Leeming  <leeming@lyx.org>
2911
2912         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2913
2914 2003-06-17  Angus Leeming  <leeming@lyx.org>
2915
2916         * lfuns.h:
2917         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2918
2919         * lyxfunc.C (dispatch): invoke it.
2920
2921 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2922
2923         * iterators.C (operator++, ParPosition): reintroduce some
2924         const_cast for the benefit of older compilers.
2925
2926 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2927
2928         * text3.C (dispatch): do not modify clipboard when doing
2929         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2930         LFUN_DELETE_SKIP on a selection selection
2931
2932 2003-06-16  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView.C:
2935         * buffer.C:
2936         * buffer.h:
2937         * paragraph.C:
2938         * tabular.[Ch]: IU of clone() and getLabelList();
2939
2940 2003-06-13  André Pönitz  <poenitz@gmx.net>
2941
2942         * tabular.h: compactification
2943
2944 2003-06-12  André Pönitz  <poenitz@gmx.net>
2945
2946         * tabular.C:
2947         * tabular.h:
2948         * tabular_funcs.h: some renaming plus whitespace
2949
2950 2003-06-12  André Pönitz  <poenitz@gmx.net>
2951
2952         * BufferView.C:
2953         * BufferView_pimpl.C:
2954         * CutAndPaste.C:
2955         * buffer.C:
2956         * iterators.[Ch]:
2957         * lyxfunc.C:
2958         * text.C:
2959         * toc.C: Return a Paragraph & for ParIterator::operator*()
2960
2961 2003-06-11  John Levon  <levon@movementarian.org>
2962
2963         * lyx_main.C:
2964         * ToolbarBackend.h:
2965         * ToolbarBackend.C: add "Toolbars" section and
2966         put the flags there
2967
2968 2003-06-10  Angus Leeming  <leeming@lyx.org>
2969
2970         * lfuns.h:
2971         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2972
2973         * lyxfunc.C (dispatch): invoke it.
2974
2975 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * main.C: protect <ios> with HAVE_IOS
2978         (main): protect sync_with_stdio with HAVE_IOS
2979
2980 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2981
2982         * text2.C (cutSelection): adjust
2983         (pasteSelection): adjust
2984
2985         * messages.C: handle get of empty string
2986
2987         * main.C (main): use sync_with_stdio(false)
2988
2989         * lyxfunc.C (dispatch): adjust
2990
2991         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2992         (WriteAs): remove unneeded BufferView arg.
2993
2994         * bufferparams.h: use correct types on papersize, papersize2 and
2995         paperpackage.
2996
2997         * bufferparams.C (readToken): adjust for type
2998         (writeLaTeX): add missing cases to switch.
2999
3000         * bufferlist.C (quitWriteBuffer): adjust
3001         (close): adjust
3002
3003         * buffer.C (asciiParagraph): remove some commented code.
3004
3005         * CutAndPaste.C: remove current_view extern variable.
3006         (cutSelection): add BufferParams arg.
3007         (eraseSelection): add BufferParams arg.
3008         (pasteSelection): add Buffer const & arg
3009
3010 2003-06-07  John Levon  <levon@movementarian.org>
3011
3012         * buffer.C:
3013         * paragraph_funcs.C:
3014         * paragraph_pimpl.C:
3015         * text.C:
3016         * text2.C:
3017         * paragraph.h:
3018         * paragraph.C: allow InsetERT to freely space lines,
3019         and some consolidation of code
3020
3021 2003-06-06  José Matos  <jamatos@fep.up.pt>
3022
3023         * buffer.C (makeDocBookFile): fix bug #821
3024
3025 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3026
3027         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3028
3029 2003-06-04  Angus Leeming  <leeming@lyx.org>
3030
3031         * buffer.C: bump format to 224.
3032
3033 2003-06-05  André Pönitz  <poenitz@gmx.net>
3034
3035         * text2.C (redoParagraphs): remove two const_cast<>
3036
3037 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3038
3039         * ParagraphList.h: remove last remnants of NO_STD_LIST
3040
3041 2003-06-03  Angus Leeming  <leeming@lyx.org>
3042
3043         * factory.C (createInset): small change to the way InsetExternal's params
3044         are set.
3045
3046 2003-06-04  André Pönitz  <poenitz@gmx.net>
3047
3048         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3049
3050         * paragraph_pimpl.h:
3051         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3052
3053         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3054
3055         * undo_funcs.C: make some simple cases of undo work again
3056
3057 2003-06-03  John Levon  <levon@movementarian.org>
3058
3059         * ispell.C: HPUX doesn't have sys/select.h
3060         (from Albert Chin)
3061
3062 2003-06-03  John Levon  <levon@movementarian.org>
3063
3064         * CutAndPaste.C: update tabular and include inset
3065         buffer references
3066
3067         * buffer.h:
3068         * paragraph.h:
3069         * paragraph.C: remove owningBuffer(), don't pass Buffer
3070         to clone()
3071
3072         * factory.C: insetGraphicsParams changed
3073
3074 2003-06-02  John Levon  <levon@movementarian.org>
3075
3076         * LyXAction.C:
3077         * factory.C:
3078         * lfuns.h:
3079         * lyxfunc.C:
3080         * text3.C: remove insetparent
3081
3082 2003-06-02  John Levon  <levon@movementarian.org>
3083
3084         * buffer.h:
3085         * buffer.C: fix inset_iterator.end(), move out of line
3086         (bug 1149)
3087
3088 2003-06-01  John Levon  <levon@movementarian.org>
3089
3090         * text3.C: use a proper cut/paste when doing inset
3091         insert (from Jürgen Spitzmüller)
3092
3093 2003-06-01  John Levon  <levon@movementarian.org>
3094
3095         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3096
3097 2003-05-30  André Pönitz  <poenitz@gmx.net>
3098
3099         * rowpainter.C: unify second drawing phase
3100
3101 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3102
3103         * trans_mgr.C: remove one case of current_view
3104
3105         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3106
3107         * paragraph_funcs.h: remove paragraph.h include
3108
3109         * paragraph.h: delete NO_STD_LIST stuff
3110
3111         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3112
3113         * buffer.h: remove paragraph.h include
3114
3115         * ParagraphList.C: delete file
3116
3117         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3118
3119         * toc.C (getTocList): adjust
3120
3121         * paragraph_pimpl.C (validate): adjust
3122
3123         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3124
3125         * paragraph.C (Paragraph): adjust
3126         (getPositionOfInset): use const_iterator, adjust
3127         (bibitem): use const_iterator, adjust
3128         (setInsetOwner): adjust
3129
3130         * iterators.C (operator++): adjust
3131
3132         * InsetList.[Ch]: Replace selfmade iterator with standard
3133         vector::iterator also introduce const_iterator. Remove getPos,
3134         getInset and setInset from InsetTable. Adjust accordingly.
3135
3136         * BufferView.C (lockInset): adjust
3137         (ChangeInsets): adjust
3138
3139         * tabular.[Ch]: delete commented same_id functions
3140
3141 2003-05-28  John Levon  <levon@movementarian.org>
3142
3143         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3144
3145 2003-05-28  André Pönitz  <poenitz@gmx.net>
3146
3147         * metricsinfo.[Ch]: remove 'fullredraw' member
3148
3149 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3150
3151         * lyxtextclass.C (operator): remove caching.
3152
3153 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * text3.C: adjust
3156
3157         * text2.C (cursorBottom): adjust
3158         (setCounter): use ParagraphList::find, adjust
3159
3160         * text.C (workWidth): use ParagraphList::find, adjust
3161
3162         * lyxcursor.C (LyXCursor): adjust
3163
3164         * buffer.C (inset_iterator): adjust
3165
3166         * ParagraphList.h: make iterator(value_type) private, make
3167         ParagraphList a friend of iterator.
3168
3169         * ParagraphList.C (find): new function
3170
3171         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3172
3173 2003-05-27  André Pönitz  <poenitz@gmx.net>
3174
3175         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3176
3177 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3178
3179         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3180
3181 2003-05-26  John Levon  <levon@movementarian.org>
3182
3183         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3184
3185 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3186
3187         * remove same_id from function signatures, adjust.
3188
3189 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3192
3193         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3194
3195         * paragraph.C (Paragraph): get rid of same_ids parameter
3196
3197         * ParagraphList.C (insert): adjust
3198         (push_back): adjust
3199
3200 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * paragraph_funcs.C (breakParagraph): adjust
3203         (breakParagraphConservative): adjust
3204
3205         * buffer.C (readParagraph): adjust
3206
3207         * ParagraphList.C (insert): take a reference instead of a pointer
3208         (insert): adjust
3209
3210         * paragraph.[Ch] (id): new function
3211
3212         * bufferlist.C (newFile): adjust
3213
3214         * ParagraphList.C (ParagraphList): adjust
3215         (assign): adjust
3216         (push_back): take a reference instead of a pointer.
3217
3218         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3219
3220         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3221         instead.
3222
3223         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3224         set else use old code.
3225
3226         * ParagraphList.C: remove all NO_NEXT code and only compile this
3227         code of NO_STD_LIST is set.
3228
3229 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * BufferView_pimpl.C:
3232         * TextCache.C:
3233         * TextCache.h:
3234         * bufferlist.C:
3235         * errorlist.h:
3236         * format.C:
3237         * format.h:
3238         * graph.C:
3239         * lyxfunc.C:
3240         * lyxrc.C:
3241         * graphics/GraphicsConverter.C:
3242         * graphics/PreviewLoader.C: header adjustment
3243
3244 2003-05-23  Angus Leeming  <leeming@lyx.org>
3245
3246         * LaTeXFeatures.[Ch] (useBabel): new method.
3247         * bufferparams.C (writeLaTeX): use it.
3248
3249 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3250
3251         * ParagraphList.h (set): remove unused function.
3252
3253 2003-05-23  André Pönitz  <poenitz@gmx.net>
3254
3255         * BufferView.C:
3256         * BufferView_pimpl.C:
3257         * buffer.C:
3258         * buffer.h:
3259         * lyxfunc.C:
3260         * undo_funcs.C: setUndo reworked
3261
3262         * iterators.[Ch]: add access to topmost ParagraphList
3263
3264         * lyxtext.[Ch] (workWidth): add a const
3265
3266 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3267
3268         * texrow.[Ch] (increasePos): remove function
3269         * exporter.C (export): removed unused var and outdated comment
3270
3271 2003-05-23  Angus Leeming  <leeming@lyx.org>
3272
3273         * latexrunparams.h: rename fragile as moving_arg.
3274         * paragraph.C (simpleTeXOnePar): ditto.
3275         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3276
3277 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3280         (createUndo): ditto
3281         (textUndoOrRedo): comment out a currently unused var.
3282
3283         * paragraph.h (NO_NEXT): enable NO_NEXT
3284
3285         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3286
3287         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3288
3289         * exporter.C (Export): adjust for removeAutoInsets removal.
3290
3291         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3292
3293         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3294
3295         * BufferView.[Ch] (removeAutoInsets): delete function
3296
3297 2003-05-22  Angus Leeming  <leeming@lyx.org>
3298
3299         * latexrunparams.h: add a free_spacing variable.
3300
3301         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3302         to pass moving_arg, as the data is stored in runparams.fragile.
3303
3304         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3305         to Inset::latexOptional or to simpleTeXOnePar.
3306
3307         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3308         free_spacing arg to Inset::latexOptional.
3309
3310         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3311         free_spacing arg.
3312
3313 2003-05-22  Angus Leeming  <leeming@lyx.org>
3314
3315         * latexrunparams.h: add fragile and use_babel variables.
3316
3317         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3318         * buffer.C (makeLaTeXFile): store this returned value in
3319         runparams.use_babel, thus passing it to the inset::latex methods.
3320
3321         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3322         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3323
3324         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3325         longer has a fragile arg, as it is stored in runparams.fragile.
3326
3327         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3328         moving_arg parameter as the data is stored in runparams.fragile.
3329
3330         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3331         a fragile parameter as the data is stored in runparams.fragile.
3332
3333 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3336
3337 2003-05-22  Angus Leeming  <leeming@lyx.org>
3338
3339         * latexrunparams.h: add a 'bool nice' which defaults to false.
3340
3341         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3342         now encapsulated within runparams.
3343
3344         * bufferlist.C (updateIncludedTeXfiles):
3345         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3346
3347 2003-05-22  Angus Leeming  <leeming@lyx.org>
3348
3349         * latexrunparams.h: new file containing struct LatexRunParams.
3350         * Makefile.am: add new file.
3351
3352         * LaTeX.[Ch] (c-tor, run):
3353         * buffer.[Ch] (makeLaTeXFile):
3354         * bufferlist.[Ch] (updateIncludedTeXfiles):
3355         * converter.C (convert, scanLog):
3356         * converter.[Ch] (runLaTeX):
3357         * exporter.C (Export):
3358         * paragraph.[Ch] (simpleTeXOnePar):
3359         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3360         * paragraph_funcs.[Ch] (latexParagraphs):
3361         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3362         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3363         pass around a LatexRunParams parameter.
3364
3365 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * paragraph.[Ch]: remove unused constructor
3368
3369         * ParagraphList.C (erase): new function, taking two iterators
3370
3371 2003-05-22  André Pönitz  <poenitz@gmx.net>
3372
3373         * undo_funcs.C: remove duplicated code
3374
3375         * iterator.[Ch]: operator=
3376
3377 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * tabular.C (SetMultiColumn): ws changes
3380
3381         * rowpainter.C (paintFirst): get rid of a ->previous
3382
3383         * lyx_cb.C (getPossibleLabel): parlist simplification
3384
3385         * BufferView.C (ChangeInsets): simplify slightly.
3386
3387 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3388
3389         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3390         * lfuns.h: new LFUN_SPACE
3391         * lyxfunc.C: protected space has a new lfun
3392         * paragraph_funcs.C: read new space insets
3393         * text3.C:
3394         * factory.C: handle new space insets
3395
3396 2003-05-22  André Pönitz  <poenitz@gmx.net>
3397
3398         * BufferView.C:
3399         * BufferView_pimpl.C:
3400         * buffer.[Ch]:
3401         * lyxfunc.C:
3402         * undo_funcs.C: return a ParIterator from getParFromID.
3403
3404         * iterators.[Ch]: add two const's
3405
3406 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * toc.C (getTocList): adjust
3409
3410         * iterators.[Ch]: rework for parlist
3411
3412         * buffer.C (par_iterator_begin): adjust
3413         (par_iterator_end): adjust
3414
3415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3416
3417         * BufferView.C (removeAutoInsets): adjust
3418         (ChangeInsets): adjust
3419
3420 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * text.C (top_y): fix bug 1110
3423
3424 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * errorlist.[Ch]: added
3427         * buffer.C:
3428         * BufferView.[Ch]:
3429         * BufferView_pimpl.C:
3430         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3431         instead
3432
3433 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * Makefile.am: ensure that lyx is relinked upon changes to the
3436         various "convenience" libs.
3437
3438 2003-05-20  Angus Leeming  <leeming@lyx.org>
3439
3440         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3441         files are compiled in alphabetical order again.
3442
3443         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3444
3445 2003-05-19  Angus Leeming  <leeming@lyx.org>
3446
3447         * gettext.[Ch]: remove "char const * _(char const *)".
3448
3449 2003-05-19  André Pönitz  <poenitz@gmx.net>
3450
3451         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3452
3453         * Makefile.am:
3454         * BufferView.C:
3455         * DepTable.h:
3456         * LaTeXFeatures.C:
3457         * buffer.C:
3458         * lyxfont.C:
3459         * lyxlex.h:
3460         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3461
3462 2003-05-19  André Pönitz  <poenitz@gmx.net>
3463
3464         * buffer.C:
3465         * lyxlayout.[Ch]:
3466         * lyxtextclass.[Ch]:
3467         * paragraph.C:
3468         * paragraph_funcs.[Ch]:
3469         * text2.C:
3470         * text3.C: more insetenv work
3471
3472 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3473
3474         * ParagraphParameters.C (params2string): small bug fixed
3475
3476 2003-05-16  André Pönitz  <poenitz@gmx.net>
3477
3478         * debug.C:
3479         * bufferview_funcs.C: patch from Kornel Benko to prevent
3480           crash when _(...) is called twice in a statement
3481
3482 2003-05-16  André Pönitz  <poenitz@gmx.net>
3483
3484         * BufferView.C:
3485         * lyxfunc.C:
3486         * text.C:
3487         * text2.C:
3488         * text3.C:
3489         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3490
3491 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * lyx_main.C (init): remove spurious static_cast
3494
3495 2003-05-14  André Pönitz  <poenitz@gmx.net>
3496
3497         * BufferView.C: fix format string
3498
3499 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * BufferView.[Ch] (insertErrors): removed
3502         * BufferView.[Ch] (showErrorList): added
3503         * buffer.C (runChkTeX):
3504         * converter.C (scanLog): call showErrorList instead of inserterrors
3505
3506 2003-05-13  André Pönitz  <poenitz@gmx.net>
3507
3508         * BufferView_pimpl.C:
3509         * buffer.C:
3510         * bufferview_func.C:
3511         * MenuBackend.C:
3512         * lyxfunc.C:
3513         * lyxrc.C:
3514         * tex-accent.C:
3515         * text3.C:
3516         * toc.C:
3517         * tabular_funcs.h: tostr() from its own header
3518
3519         * ParagraphParameters.C:
3520         * ToolbarBackend.C:
3521         * bufferparams.C:
3522         * format.C:
3523         * lyxlex_pimpl.C:
3524         * text3.C: STRCONV()
3525
3526 2003-05-12  André Pönitz  <poenitz@gmx.net>
3527
3528         * BufferView.C:
3529         * BufferView_pimpl.C:
3530         * CutAndPaste.C:
3531         * LaTeX.C:
3532         * LaTeXFeatures.C:
3533         * ParagraphParameters.C:
3534         * buffer.C:
3535         * bufferlist.C:
3536         * bufferparams.C:
3537         * bufferview_funcs.C:
3538         * converter.C:
3539         * counters.C:
3540         * debug.C:
3541         * exporter.C:
3542         * format.C:
3543         * importer.C:
3544         * lyx_cb.C:
3545         * lyx_main.C:
3546         * lyxfont.C:
3547         * lyxfunc.C:
3548         * lyxvc.C:
3549         * paragraph.C:
3550         * paragraph_funcs.C:
3551         * tabular.C:
3552         * tabular_funcs.C:
3553         * text2.C:
3554         * text3.C:  boost::format -> bformat  all over the place
3555
3556
3557 2003-05-09  André Pönitz  <poenitz@gmx.net>
3558
3559         * LColor.[Ch]: Pimpl the #include <map> away
3560
3561 2003-05-09  John Levon  <levon@movementarian.org>
3562
3563         * bufferlist.C: never remove emergency saves
3564
3565 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3566
3567         * Makefile.am: better lib building
3568
3569 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3572         instead.
3573         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3574         (simpleTeXSpecialChars): adjust
3575         (simpleTeXSpecialChars): adjust
3576         * paragraph.C (simpleTeXOnePar): adjust
3577         * buffer.C (makeLaTeXFile): adjust
3578
3579         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3580
3581         * text2.C (changeDepth): parlist cleanup
3582         (getColumnNearX): ditto
3583
3584         * rowpainter.C (getLabelFont): parlist cleanup
3585
3586         * bufferlist.C (newFile): parlist cleanup
3587
3588         * CutAndPaste.C (eraseSelection): parlist cleanup
3589
3590         * BufferView_pimpl.C (trackChanges): parlist cleanup
3591         (dispatch): ditto
3592
3593         * BufferView.C (lockInset): parlist cleanup.
3594         (ChangeInsets): ditto
3595
3596 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * CutAndPaste.h: Update file header.
3599
3600         * CutAndPaste.C: Update file header.
3601         Store the parts cut out of the Document in a limited_stack.
3602         (copySelection): adjust
3603         (pasteSelection): new function, takes the index in the limited stack.
3604         (nrOfParagraphs): adjust
3605         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3606         simplify error inset insertion.
3607         (checkPastePossible): adjust
3608
3609 2003-05-06  John Levon  <levon@movementarian.org>
3610
3611         * text2.C: don't cast wrap inset to float
3612
3613 2003-05-05  André Pönitz  <poenitz@gmx.net>
3614
3615         * iterator.C:
3616         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3617
3618         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3619           few naked Paragraph *.
3620
3621 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3622
3623         * bufferparams.C: Output warning if a document with missing
3624         TeX document class is loaded
3625         * exporter.C: Disable TeX exports if the document class is missing
3626         * lyxtextclass.C:
3627         * lyxtextclass.h:
3628         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3629         isTeXClassAvailable()
3630
3631 2003-05-03  John Levon  <levon@movementarian.org>
3632
3633         * BufferView.h:
3634         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3635         explicit cursor show/hide
3636
3637         * BufferView_pimpl.h:
3638         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3639         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3640
3641         * lyxfunc.C: hide cursor before dispatching.
3642
3643         * lyx_cb.C:
3644         * lyxfind.C:
3645         * text.C:
3646         * text3.C: remove explicit cursor hides
3647
3648 2003-05-02  André Pönitz  <poenitz@gmx.net>
3649
3650         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3651
3652         * undo_funcs.C:
3653         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3654           linked lists
3655
3656         * text2.C: tiny whitespace
3657
3658 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * undo_funcs.C: almost only ws changes.
3661
3662         * ParagraphList.C (splice): just return if pl is empty.
3663
3664 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3665
3666         * ParagraphList.C (splice): new function.
3667
3668         * CutAndPaste.C (pasteSelection): use it
3669
3670 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * CutAndPaste.C (pasteSelection): remove the last next and
3673         previous from this file.
3674
3675 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * CutAndPaste.C (pasteSelection): more clean up, user proper
3678         ParagraphList functions for pasteing.
3679
3680         * ParagraphList.C (insert): new function, three arg insert
3681
3682 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3683
3684         * ParagraphList.C (insert): new function, three arg insert
3685
3686         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3687         not on paragraphs.
3688
3689 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3692
3693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3694
3695         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3696
3697 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3700         (copySelection): clean up a bit.
3701         (pasteSelection): use make_pair
3702
3703         * ParagraphList.C (ParagraphList): implement copy constructor
3704         (operator=): implement, base on copy constructor.
3705         (assign): new func
3706
3707         * paragraph.C (erase): return a bool
3708
3709         * paragraph_pimpl.C (erasePos): remove function, move contents...
3710         (erase): ... here. Return a bool.
3711         (erase): call erase instead of erasePos.
3712
3713 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * ParagraphList.h: define PitPosPair
3716         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3717         ParagraphList, fix a bug on pasting multiple pars
3718         * text2.C: change interface to C&P
3719
3720 2003-04-30  André Pönitz  <poenitz@gmx.net>
3721
3722         * undo_func.C: revert part of yesterday's patch 2
3723
3724 2003-04-30  John Levon  <levon@movementarian.org>
3725
3726         * LColor.C: s/tabular/table/
3727
3728 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * text3.C (dispatch): do not convert iterator -> pointer
3731         * undo_funcs.C (setCursorParUndo): ditto
3732         * text_funcs.C (transposeChars): ditto
3733
3734         * text2.C (setLayout): ws changes only
3735
3736         * text.C (breakParagraph): do not convert iterator -> pointer
3737         (insertChar): ditto
3738         (acceptChange): ditto
3739         (rejectChange): ditto
3740         (changeCase): ditto
3741         (Delete): ditto
3742         (backspace): ditto
3743
3744         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3745         pointer
3746
3747 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3748
3749         * text3.C (gotoInset): YABG (yet another bad getChar)
3750
3751 2003-04-29  André Pönitz  <poenitz@gmx.net>
3752
3753         * paragraph.h: make operator= private unimplemented as long as
3754           it is unusable
3755
3756         * ParagraphList.C: whitespace
3757
3758         * paragraph.[Ch]:
3759         * paragraph_pimpl.[Ch]:
3760         * paragraph_funcs.C:
3761         * CutAndPaste.C:
3762         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3763
3764         * text2.C:
3765           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3766
3767 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3770         * paragraph.[Ch] (erase):
3771         * paragraph_pimpl.[Ch] (erase): change return type and value
3772         * text2.C (cutSelection): some rework
3773
3774 2003-04-28  John Levon  <levon@movementarian.org>
3775
3776         * bufferlist.C: changes for unsaved changes dialog
3777
3778 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * bufferlist.C (newFile): set language (messages_) for new
3781         documents also.
3782
3783         * buffer.C (readFile): ws changes only.
3784
3785 2003-04-28  André Pönitz  <poenitz@gmx.net>
3786
3787         * undo_funcs.C:
3788         * lyxfunc.C:
3789         * buffer.[Ch]:
3790         * BufferView_pimpl.C:
3791         * BufferView.C: getParFromID related ParagraphList::iterator changes
3792
3793 2003-04-28  André Pönitz  <poenitz@gmx.net>
3794
3795         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3796           Changes
3797
3798 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * messages.C: remove one more localedir class variable.
3801
3802 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * messages.C (getLocaleDir): singleton generation function
3805         (Pimpl): use it.
3806         (Messages): add a default constructor.
3807
3808         * main.C (main): do not setup localedir here, do not call
3809         gettext_init.
3810
3811         * gettext.C (_): use it.
3812         (gettext_init): delete funciton
3813
3814 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * gettext.C (getLyXMessages): new singleton generating function.
3817
3818         * buffer.C (updateDocLang): adjust
3819
3820         * Makefile.am (messages.o): add target
3821         (main.o): remove target
3822
3823 2003-04-27  John Levon  <levon@movementarian.org>
3824
3825         * bufferlist.C:
3826         * lyx_cb.C:
3827         * lyxfunc.C:
3828         * lyxvc.C: specify cancel button in Alert::prompt
3829
3830 2003-04-26  John Levon  <levon@movementarian.org>
3831
3832         * text3.C:
3833         * lyxfunc.C:
3834         * lfuns.h:
3835         * LyXAction.C: add LFUN_INSET_SETTINGS
3836
3837         * lyxfunc.C: don't enable tabular-feature when there's
3838         just any locking inset
3839
3840 2003-04-26  John Levon  <levon@movementarian.org>
3841
3842         * bufferlist.C: re-add Cancel to buffer close question
3843
3844         * lyxfunc.C: fix import UI a bit
3845
3846 2003-04-25  John Levon  <levon@movementarian.org>
3847
3848         * gettext.C: remove the broken asserts for now
3849
3850 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3851
3852         * messages.C: make case where setlocale cannot comply work better.
3853
3854         * buffer.C (updateDocLang): new function
3855         (changeLanguage): use it
3856         (readFile): use it
3857
3858         * text2.C (setCounter): use B_ a bit.
3859
3860         * lyxlayout.C (Read): be sure to trim the label strings.
3861
3862         * messages.C (Messages): fix typo in comment
3863
3864         * buffer.C (readFile): set message_ after file is loaded.
3865         (makeDocBookFile): remove double return
3866         (changeLanguage): reset message_ upon language change.
3867         (B_): new func, use this to get translated buffer strings.
3868
3869         * main.C: add myself and Jean Marc as authors.
3870
3871 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * messages.[hC]: pimplify Messages, and three different pimpls to be
3874         used in different circumstances.
3875
3876         * gettext.[Ch]: change for use with new message code.
3877
3878 2003-04-24 André Pönitz <poenitz@gmx.net>
3879
3880         * factory.C: support for eqref
3881
3882 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3883
3884         * messages.[Ch]: add missing char
3885
3886         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3887
3888         * messages.[Ch]: New files
3889
3890 2003-04-18  John Levon  <levon@movementarian.org>
3891
3892         * BufferView.h:
3893         * BufferView.C:
3894         * BufferView_pimpl.C:
3895         * lfuns.h:
3896         * LyXAction.C:
3897         * lyxtext.h:
3898         * text2.C: remove layout-copy/paste (bug 778)
3899
3900 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3901
3902         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3903
3904 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3905
3906         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3907         if they succeed. Act accordingly.
3908
3909 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * text2.C (setCharFont): adjust
3912         (setCounter): adjust
3913         (insertStringAsLines): adjust
3914
3915         * text.C (leftMargin): adjust
3916         (setHeightOfRow): adjust
3917
3918         * rowpainter.C (paintFirst): adjust
3919         (paintLast): adjust
3920
3921         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3922         (outerHook): ditto
3923         (isFirstInSequence): ditto
3924         (getEndLabel): ditto
3925         (outerFont): adjust
3926
3927         * paragraph.C (getParLanguage): comment out some hard stuff.
3928
3929         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3930         (sgmlError): ditto
3931         (simpleDocBookOnePar): ditto
3932         (makeDocBookFile): use ParagraphList::iterator
3933
3934         * CutAndPaste.C (pasteSelection): adjust
3935
3936 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * text2.C (getFont): adjust
3939         (getLayoutFont): adjust
3940         (getLabelFont): adjust
3941
3942         * paragraph_funcs.C (TeXOnePar): adjust
3943
3944         * buffer.C (simpleLinuxDocOnePar): adjust
3945         (simpleDocBookOnePar): adjust
3946
3947         * CutAndPaste.C (pasteSelection): adjust
3948
3949         * BufferView.C (getEncoding): adjust
3950
3951         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3952
3953 2003-04-16  John Levon  <levon@movementarian.org>
3954
3955         * lyxfind.C: use parlist stuff for search/changes
3956
3957 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3960
3961         * text2.C (deleteEmptyParagraphMechanism): adjust
3962
3963         * text2.[Ch] (ownerParagraph): delete func (both of them
3964
3965 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3968
3969 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * ParagraphList.C: prepare for NO_NEXT
3972
3973 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * text2.C (getFont): adjust
3976         (getLayoutFont): adjust
3977         (getLabelFont): adjust
3978
3979         * paragraph.C (getFont): adjust
3980         (getLabelFont): adjust
3981         (getLayoutFont): adjust
3982
3983         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3984
3985 2003-04-15  John Levon  <levon@movementarian.org>
3986
3987         From Angus Leeming
3988
3989         * lyx_main.C: handle Include in .ui files
3990
3991 2003-04-15  John Levon  <levon@movementarian.org>
3992
3993         * MenuBackend.C: make the doc files length shorter
3994
3995         * ToolbarBackend.h:
3996         * ToolbarBackend.C: handle toolbar placement flags,
3997         Minibuffer
3998
3999 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4002         adjust
4003
4004         * paragraph_funcs.C (TeXOnePar): adjust
4005
4006         * paragraph.C (getLabelFont): add outerfont arg, adjust
4007         (getLayoutFont): ditto
4008         (simpleTeXOnePar): adjust
4009
4010         * paragraph_pimpl.C (realizeFont): delete func
4011
4012 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4013
4014         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4015         row argument, constify cur argument.
4016
4017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4018
4019         * text2.C (getFont): adjust
4020         (getLayoutFont): adjust
4021         (getLabelFont): adjust
4022
4023         * paragraph_funcs.C (TeXOnePar): adjust
4024         (outerFont): new func...
4025         (realizeFont): ...moved out from here, changed this to facilitate
4026         transition
4027
4028         * paragraph.C (getFont): take outerfont as arg, adjust
4029         (simpleTeXOnePar): add outerfont arg, adjust
4030
4031         * buffer.C (simpleLinuxDocOnePar): adjust
4032         (simpleDocBookOnePar): adjust
4033
4034         * CutAndPaste.C (pasteSelection): adjust
4035
4036         * BufferView.C (getEncoding): adjust
4037
4038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * text2.C (setCharFont): adjust
4041         (setCounter): adjust
4042
4043         * text.C (leftMargin): adjust
4044         (setHeightOfRow): adjust
4045
4046         * rowpainter.C (paintFirst): adjust
4047         (paintLast): adjust
4048
4049         * paragraph_pimpl.C (realizeFont): adjust
4050
4051         * paragraph.C (isFirstInSequence): move from here...
4052         * paragraph_funcs.C (isFirstInSequence): ...to here
4053
4054         * paragraph.C (outerHook): move from here...
4055         * paragraph_funcs.C (outerHook): ...to here
4056
4057         * paragraph.C (depthHook): move from here...
4058         * paragraph_funcs.C (depthHook): ...to here
4059
4060         * paragraph.C (getEndLabel): move from here...
4061         * paragraph_funcs.C (getEndLabel): ...to here
4062
4063         * text2.C (realizeFont): move from here...
4064         * paragraph_funcs.C (realizeFont): ...to here
4065
4066 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4069
4070 2003-04-14  Angus Leeming  <leeming@lyx.org>
4071
4072         * LColor.[Ch]: scrap LColor mathcursor.
4073
4074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * lyxlex.[Ch] (text): delete function
4077         * trans.C (Load): adjust
4078         * paragraph_funcs.C (readParToken): adjust
4079
4080 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4083         vector<char> instead of a char[].
4084
4085         * lyxlex_pimpl.C (getString): adjust
4086         (next): adjust
4087         (lex): use getString
4088         (eatLine): adjust
4089         (nextToken): adjust
4090
4091         * lyxlex.C (text): use pimpl_->getString()
4092         (getBool): ditto
4093         (findToken): ditto
4094
4095 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4098         (makeFontEntriesLayoutSpecific): temp var for par.size()
4099         (setLayout): temp var for ownerParagraphs().end()
4100         (fullRebreak): temp var for rows().end()
4101         (selectionAsString): temp var for boost::next(startpit), realize
4102         that the while really is a regular for loop.
4103         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4104         setCursor in one place.
4105         (setParagraph): temp vr for ownerParagraphs().end()
4106         (updateCounters): make the while loop a for loop
4107         (cutSelection): temp var for ownerParagraphs().end()
4108         (updateInset): make the do {} while() a regular for loop
4109         (getCursorX): use temp vars
4110         (setCurrentFont): use temp vars
4111         (getColumnNearX): use temp vars
4112
4113 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * text.C (transformChar): use temp var for getChar
4116         (computeBidiTables): use temp var for row->par()
4117         (fill): move temp vars for row->par() and pit->layout() earlier in
4118         the function.
4119         (labelFill): use temp var for row->par()
4120         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4121         asc and desc, realize that pit never changes and that firstpit is
4122         just a duplicate and not needed. Exchange rit->par() with pit in a
4123         lot of places.
4124         (breakAgain): use a temp var for boost::next(rit)
4125         (breakAgainOneRow): ditto
4126         (breakParagraph): use a temp var for rows().begin()
4127         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4128         (cursorRightOneWord): use temp var for cursor.par() and
4129         cursor.pos(), remove usage of tmpcursor.
4130         (cursorLeftOneWord): use temp var for cursor.par() and
4131         cursor.pos() only set cur at end of function.
4132
4133 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * text.C, text2.C: exchange all usage of Paragraph::next with
4136         boost::next(ParagraphList::iterator)
4137
4138         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4139
4140         * text2.C (cursorTop): simplify implementation
4141         (cursorBottom): ditto
4142         (setParagraph): use ParagraphList::iterator
4143         (setCurrentFont): adjust
4144         (getColumnNearX): adjust
4145         (cursorRight): adjust
4146         (cursorLeft): remove usage of Paragraph::previous
4147         (cursorUpParagraph): ditto
4148         (deleteEmptyParagraphMechanism): slight cleanup
4149
4150         * text.C (isBoundary): take a Paragraph const & instead of a
4151         pointer as arg.
4152         (addressBreakPoint): ditto
4153         (leftMargin): remove usage of Paragraph::previous.
4154         (setHeightOfRow): ditto
4155         (cursorLeftOneWord): ditto
4156         (selectNextWordToSpellcheck): ditto
4157         (Delete): ditto
4158         (backspace): ditto
4159         (breakParagraph): remove one usage of Paragraph::next
4160         (redoParagraph): ditto
4161         (acceptChange): ditto
4162         (insertChar): adjust
4163         (rowBreakPoint): adjust
4164
4165         * bufferview_funcs.C (toggleAndShow): adjust
4166
4167 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4170         methods to access it.
4171         * lyxtext.h:
4172         * text.C: Added updateRowPositions to compute all row positions.
4173         Make top_y and getRowNearY() to use the cached y position
4174
4175 2003-04-11  John Levon  <levon@movementarian.org>
4176
4177         * text.C (rowBreakPoint): reintroduce the labelEnd
4178         checks, code copied from the row fill stuff. Deep voodoo.
4179
4180         * text.C (fill): add a comment and debugging for the
4181         next poor soul.
4182
4183 2003-04-11  John Levon  <levon@movementarian.org>
4184
4185         * text.C: make sure fullrow insets get wrapped to the next line,
4186         even when they're in a manual label
4187
4188 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text2.C (insertParagraph): make it take ParagraphList::iterator
4191         as arg.
4192         (setLayout): make it return ParagraphList::iterator
4193         (redoParagraphs): ditto
4194         (setCounter): ditto
4195         (checkParagraph): ditto
4196
4197         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4198
4199         * text2.C: adjust several funcs.
4200         (realizeFont): take a ParagraphList::iterator as arg.
4201         (getLayoutFont): ditto
4202         (getLabelFont): ditto
4203         (setCharFont): ditto
4204
4205         * text.C: adjust several funcs.
4206
4207 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * text.C (selectNextWordToSpellcheck): don't accidentally
4210         skip insets
4211
4212 2003-04-10  John Levon  <levon@movementarian.org>
4213
4214         * ToolbarBackend.C (getIcon): special handling for
4215         LFUN_MATH_DELIM
4216
4217 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * text2.C (cursorRight): a getChar assert fixed
4220
4221 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * text2.C (getFont): change to take a ParagraphList::iterator
4224         instead of Paragraph*
4225         Adjust several functions.
4226
4227         * text.C (transformChar): change to take a ParagraphList::iterator
4228         instead of Paragraph*
4229         (singleWidth): ditto
4230         Adjust several functions.
4231
4232         * rowpainter.C: adjust several functions
4233         * rowpainter.h:store a ParagraphList::iterator and not a
4234         Paragraph&.
4235
4236
4237 2003-04-09  John Levon  <levon@movementarian.org>
4238
4239         * lyxfunc.C:
4240         * lfuns.h:
4241         * LyXAction.h:
4242         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4243         and the "help" bits as well
4244
4245 2003-04-09  John Levon  <levon@movementarian.org>
4246
4247         * ToolbarBackend.h:
4248         * ToolbarBackend.C: allow multiple toolbars
4249
4250 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * undo_funcs.C (setCursorParUndo): adjust
4253
4254         * text_funcs.C (transposeChars): adjust
4255
4256         * text3.C (gotoNextInset): adjust
4257         (dispatch): adjust
4258
4259         * text2.C (setLayout): adjust
4260         (changeDepth): adjust
4261         (setFont): adjust
4262         (redoParagraphs): adjust
4263         (selectionAsString): adjust
4264         (setParagraph): adjust
4265         (insertInset): adjust
4266         (cutSelection): adjust
4267         (copySelection): adjust
4268         (pasteSelection): adjust
4269         (insertStringAsLines): adjust
4270         (updateInset): adjust
4271         (setCursor): change to take a ParagraphList::iterator parameter
4272         (setCursorIntern): change to take a ParagraphList::iterator parameter
4273         (setCurrentFont): adjust
4274         (cursorLeft): adjust
4275         (cursorRight): adjust
4276         (deleteEmptyParagraphMechanism): adjust
4277
4278         * text.C (breakParagraph): adjust
4279         (insertChar): adjust
4280         (acceptChange): adjust
4281         (rejectChange): adjust
4282         (selectNextWordToSpellcheck): adjust
4283         (changeCase): adjust
4284         (Delete): adjust
4285         (backspace): adjust
4286
4287         * lyxfind.C (SearchForward): adjust
4288         (SearchBackward): adjust
4289         (nextChange): adjust
4290
4291         * lyxcursor.C (par): adjust
4292
4293         * lyxcursor.h: store a ParagraphList::iterator instead of a
4294         Paragraph*
4295
4296         * lyx_cb.C (getPossibleLabel): adjust
4297
4298         * bufferview_funcs.C (toggleAndShow): adjust
4299
4300         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4301         (dispatch): adjust
4302
4303         * BufferView.C (removeAutoInsets): adjust
4304         (lockedInsetStoreUndo): adjust
4305
4306 2003-04-09  John Levon  <levon@movementarian.org>
4307
4308         * ToolbarBackend.C: try icon without argument
4309         if with argument fails
4310
4311 2003-04-08  John Levon  <levon@movementarian.org>
4312
4313         * ToolbarBackend.h:
4314         * ToolbarBackend.C: add getIcon(), handle tooltip,
4315         and change from "Icon" to "Item".
4316
4317 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * BufferView.C (lockInset): another bad getchar crunched
4320
4321 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4324         again)
4325
4326 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * lyxfind.C (searchForward, searchBackwards): bug 782
4329
4330 2003-04-07  John Levon  <levon@movementarian.org>
4331
4332         * paragraph.C: remove dead comment
4333
4334         * text.C: remove troublesome depth-fiddling code
4335         in leftMargin() and rightMargin() (bug 1017)
4336
4337         * text.C: fix breaking of rows in nested lists
4338         (bug 1004)
4339
4340         * text2.C (updateCounters): fix up depth values
4341         (bug 1013)
4342
4343 2003-04-07  John Levon  <levon@movementarian.org>
4344
4345         * BufferView_pimpl.C: clear message when doc finishes resizing,
4346         and after a mouse event
4347
4348         * lyxfunc.C: clear message after exiting inset
4349
4350 2003-04-07  John Levon  <levon@movementarian.org>
4351
4352         * bufferview_funcs.C: show math status not outside
4353         status in the statusbar
4354
4355 2003-04-07  John Levon  <levon@movementarian.org>
4356
4357         * lyxfunc.C: note status changed after a depth change
4358
4359 2003-04-04  Angus Leeming  <leeming@lyx.org>
4360
4361         * LaTeX.h: move AuxInfo operator==, != out of line.
4362         Remove LaTeX virtual destructor; nothing derives from it.
4363         Move operator()() out of public area and rename it startscript().
4364         Change protected for private.
4365
4366 2003-04-04  Angus Leeming  <leeming@lyx.org>
4367
4368         * lyxfunc.C:
4369         * text2.C: remove unneeded #includes.
4370
4371 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4372
4373         * text2.C (dEPM): fix the heigth of the next row
4374
4375 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4376
4377         * text.C: squashed an invalid getChar requester + some ws changes
4378
4379 2003-04-03  John Levon  <levon@movementarian.org>
4380
4381         * bufferview_funcs.h:
4382         * bufferview_funcs.C:
4383         * lyxfunc.C:
4384         * lyxtext.h:
4385         * text2.C: make getStatus work for the env depth lfuns
4386
4387 2003-04-03  John Levon  <levon@movementarian.org>
4388
4389         * bufferview_funcs.h:
4390         * bufferview_funcs.C:
4391         * lyxfunc.C:
4392         * lyxtext.h:
4393         * text2.C: parlistize decDepth(), by merging it with incDepth()
4394
4395 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * lyxrow.h: store a ParagraphList::iterator instead of a
4398         Paragraph* and adjust other class functions to suit.
4399
4400         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4401         above.
4402
4403 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * text2.C (setCursor): do not anchor to cursor row for the time being
4406
4407 2003-04-02  John Levon  <levon@movementarian.org>
4408
4409         * LyXAction.C:
4410         * lfuns.h:
4411         * lyx_main.C:
4412         * lyxtext.h:
4413         * text.C:
4414         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4415
4416 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * paragraph.h: make ParagraphList and ParagraphList::iterator
4419         friends of Paragraph.
4420
4421         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4422
4423         * ParagraphList.C: Use the private next_ and previous_ from
4424         Paragraph.
4425
4426 2003-04-01  John Levon  <levon@movementarian.org>
4427
4428         * ToolbarBackend.h:
4429         * ToolbarBackend.C:
4430         * Makefile.am: rename, remove defaults gunk
4431
4432         * MenuBackend.h:
4433         * MenuBackend.C: remove defaults gunk
4434
4435         * Languages.h:
4436         * Languages.C: remove defaults gunk
4437
4438         * lyx_main.h:
4439         * lyx_main.C: error out if files couldn't be found.
4440
4441 2003-04-02  John Levon  <levon@movementarian.org>
4442
4443         * text2.C: make incDepth() use parlist
4444
4445 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * undo_funcs.C (firstUndoParagraph): adjust
4448
4449         * text3.C (gotoInset): adjust
4450         (dispatch): adjust, and rewrite loop.
4451
4452         * text2.C (init): adjust, and rewrite loop.
4453         (redoParagraphs): adjust
4454         (updateInset): adjust, and rewrite loop.
4455         (deleteEmptyParagraphMechanism): adjust
4456
4457         * tabular.C (LyXTabular): adjust
4458         (SetMultiColumn): adjust
4459         (TeXRow): adjust
4460
4461         * lyxtext.[Ch] (ownerParagraph): delete function
4462         (ownerParagraphs): new function returns a ParagraphList.
4463
4464         * BufferView.C (removeAutoInsets): adjust
4465         (insertErrors): adjust
4466         (setCursorFromRow): adjust
4467
4468 2003-04-01  Angus Leeming  <leeming@lyx.org>
4469
4470         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4471         in the frontends.
4472
4473 2003-04-02  John Levon  <levon@movementarian.org>
4474
4475         * lyxtext.h:
4476         * text.C:
4477         * Makefile.am:
4478         * text_funcs.h:
4479         * text_funcs.C: make transposeChars a free function
4480
4481         * lyxrow_funcs.C: remove wrong comment
4482
4483 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * lyxtext.h: adjust
4486         * rowpainter.C: adjust
4487         * text.C: adjust
4488         * text2.C: adjust
4489         * text3.C: adjust
4490
4491         * lyxrow_funcs. [Ch]: new files
4492
4493         * lyxrow.[Ch]: remove next and previous pointers
4494         (next,previous): remove accessor functions
4495         (isParEnd): move to lyxrow_funcs
4496         (lastPos): move to lyxrow_funcs
4497         (nextRowIsAllInset): move to lyxrow_funcs
4498         (lastPrintablePos): move to lyxrow_funcs
4499         (numberOfSeparators): move to lyxrow_funcs
4500         (numberOfHfills): move to lyxrow_funcs
4501         (numberOfLabelHfills): move to lyxrow_funcs
4502         (hfillExpansion): move to lyxrow_funcs
4503
4504         * lyxfunc.C: adjust
4505
4506         * bufferview_funcs.C (toggleAndShow): adjust
4507
4508         * RowList.h: Remove class RowList from file leave just a
4509         std::list<Row>.
4510
4511         * RowList.C: delete file
4512
4513         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4514         and lyxrow_funcs.h
4515
4516 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * text3.C (cursorPrevious): adjust
4519         (cursorNext): adjust
4520         (dispatch): adjust
4521
4522         * text2.C (redoHeightOfParagraph): adjust
4523         (redoDrawingOfParagraph): adjust
4524         (setCursor): adjust
4525
4526         * text.C (breakParagraph): adjust
4527         (insertChar): adjust
4528         (backspace): adjust
4529
4530         * rowpainter.C (RowPainter): adjust
4531         (leftMargin): simplify and adjust
4532         (most rowpainter functions): adjust.
4533
4534         * rowpainter.h: store the row as RowList::iterator not as Row*
4535
4536         * lyxcursor.C (row): taka RowList::iterator as arg
4537         (irow): ditto
4538
4539         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4540         of Row*.
4541
4542 2003-04-01  Angus Leeming  <leeming@lyx.org>
4543
4544         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4545         stuff like bool Bool.
4546
4547 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4550         rewrite a loop
4551
4552 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4555         RowList::iterator.
4556
4557         * lyxtext.h (rows): drop one version and leve a const variant that
4558         returns a RowList::iterator.
4559
4560 2003-03-31  Angus Leeming  <leeming@lyx.org>
4561
4562         * text.C (fill): ensure that the signature is the same as that in the
4563         header file.
4564
4565 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text2.C (redoParagraphs): adjust
4568         (updateCounters): adjust
4569         (checkParagraph): adjust
4570         (getColumnNearX): adjust and reformat a bit.
4571
4572         * text.C (top_y): adjust
4573         (workWidth): adjust
4574         (leftMargin): adjust
4575         (prepareToPrint): adjust
4576         (getRow): adjust
4577         (getRowNearY): adjust
4578
4579         * lyxtext.h: make rowlist_ mutable.
4580
4581         * RowList.h: add const_iterator
4582         * RowList.C: adjust for RowList::const_iterator.
4583
4584         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4585         adjust.
4586
4587 2003-03-31  John Levon  <levon@movementarian.org>
4588
4589         * lyxrc.h:
4590         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4591
4592         * lyx_main.C: set default fonts from using lyx_gui funcs
4593
4594         * exporter.C: pdf_mode moved from lyxrc
4595
4596         * lyx_cb.C:
4597         * lyxfunc.C: changes from above
4598
4599 2003-03-31  John Levon  <levon@movementarian.org>
4600
4601         * lyx_main.C: fix to the last fix
4602
4603 2003-03-31  John Levon  <levon@movementarian.org>
4604
4605         * bufferlist.C: "Load original" -> "Load Original"
4606
4607         * converter.C:
4608         * exporter.C:
4609         * importer.C:
4610         * lyx_main.C:
4611         * format.C: more Alert cleanups
4612
4613 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * text2.C (removeParagraph): make it take a RowList::iterator as
4616         arg, adjust.
4617         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4618         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4619
4620         * text.C (anchor_row): make it take a RowList::iterator as arg,
4621         adjust.
4622         (computeBidiTables): make it take a const reference to Row instead
4623         of Row pointer, adjust.
4624         (leftMargin): make it take a RowList::iterator as arg, adjust.
4625         (rowBreakPoint): adjust
4626         (breakAgainOneRow): make it take a RowList::iterator as arg,
4627         adjust.
4628         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4629
4630         * bufferview_funcs.C (toggleAndShow): adjust
4631
4632 2003-03-30  John Levon  <levon@movementarian.org>
4633
4634         * Makefile.am:
4635         * BoostFormat.h:
4636         * boost-inst.C: moved to support
4637
4638         * several files: changes as a result
4639
4640 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * text2.C (LyXText): adjust.
4643         (init): adjust
4644         (removeRow): make it take a RowList::iterator as arg, adjust.
4645         (fullRebreak): adjust
4646         (deleteEmptyParagraphMechanism): adjust
4647         (clearPaint): adjust
4648         (postPaint): adjust
4649
4650         * text.C (top_y): adjust
4651         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4652         (breakAgain): make it take a RowList::iterator as arg, adjust.
4653         (breakParagraph): adjust
4654         (insertChar): adjust
4655         (backspace): adjust
4656
4657         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4658         need_break_row, and refresh_row.
4659
4660         * text3.C (dispatch): adjust
4661
4662         * text2.C (checkParagraph): adjust
4663         (setCursor): adjust
4664         (setCursorFromCoordinates): adjust
4665
4666         * text.C (top_y): adjust
4667         (workWidth): adjust
4668         (getRow): make it return a RowList::iterator, adjust
4669         (getRowNearY): make it return a RowList::iterator, adjust
4670
4671         * text2.C (init): adjust
4672         (insertRow): remove function
4673         (insertParagraph): adjust
4674         (redoParagraphs): adjust
4675         (fullRebreak): adjust
4676         (updateCounters): adjust
4677
4678         * text.C (top_y): rewrite to use RowList iterators.
4679         (top_y): adjust
4680         (setHeightOfRow): rewrite to sue RowList iterators.
4681         (appendParagraph): adjust
4682         (breakAgain): adjust
4683         (breakAgainOneRow): adjust
4684         (breakParagraph): adjust
4685         (getRow): adjust
4686         (getRowNearY): adjust, and remove commented code.
4687
4688         * lyxtext.h (firstRow): delete function
4689         (lastRow): delete function
4690         (rows): new function (const and non-const versions.)
4691         (insertRow): delete function
4692
4693         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4694
4695 2003-03-29  John Levon  <levon@movementarian.org>
4696
4697         * BufferView_pimpl.C: always update scrollbar top
4698         because pasting text when we're anchored could mean we
4699         miss an update altogether
4700
4701 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * text2.C (init): use rowlist_.end() and not 0.
4704         (insertRow): change to take a RowList::iterator as arg, adjust
4705         for this.
4706         (insertParagraph): change to take a RowList::iterator as arg,
4707         adjust for this.
4708         (redoParagraphs): remove some debug msgs.
4709
4710         * text.C (appendParagraph): change to take a RowList::iterator
4711         arg, adjust for this.
4712         (breakAgain): add an assert
4713         (breakAgainOneRow): ditto
4714
4715 2003-03-29  John Levon  <levon@movementarian.org>
4716
4717         * text2.C: do not clear selection after inc/decDepth
4718         (bug 550)
4719
4720 2003-03-29  John Levon  <levon@movementarian.org>
4721
4722         * BufferView.C:
4723         * buffer.C: fix broken strerrors according to Lars
4724
4725 2003-03-29  John Levon  <levon@movementarian.org>
4726
4727         * converters.C: more Alert cleanups
4728
4729 2003-03-29  John Levon  <levon@movementarian.org>
4730
4731         * bufferview_funcs.C: remove pointless Alert
4732
4733         * buffer.C: fix confusing error message when
4734         a template is chmoded 000
4735
4736 2003-03-29  John Levon  <levon@movementarian.org>
4737
4738         * BufferView.C:
4739         * BufferView.h:
4740         * BufferView_pimpl.C: Alert fixes
4741
4742         * Makefile.am:
4743         * tabular.C:
4744         * tabular-old.C: remove unused table compat reading
4745
4746 2003-03-29  John Levon  <levon@movementarian.org>
4747
4748         * BufferView.C:
4749         * buffer.C:
4750         * lyx_cb.h:
4751         * lyx_cb.C: more Alert cleanups
4752
4753         * lyxfunc.C: don't allow chktex if not latex document
4754
4755 2003-03-29  John Levon  <levon@movementarian.org>
4756
4757         * lyx_cb.C:
4758         * BufferView.C:
4759         * buffer.C: warnings pushed down from support/,
4760         kill err_alert
4761
4762 2003-03-29  John Levon  <levon@movementarian.org>
4763
4764         * lyxfunc.C: safety check for C-r (revert)
4765
4766 2003-03-29  John Levon  <levon@movementarian.org>
4767
4768         * bufferlist.h:
4769         * bufferlist.C: several UI fixes using Alert::prompt.
4770         Fix the pointless looping quit code. Fix stupid revert
4771         behaviour (bug 938)
4772
4773         * lyxvc.h:
4774         * lyxvc.C:
4775         * lyx_cb.C: use Alert::prompt
4776
4777         * lyx_main.C: remove a silly question
4778
4779         * lyxfunc.C: remove a couple of silly questions,
4780         use Alert::prompt
4781
4782 2003-03-28  John Levon  <levon@movementarian.org>
4783
4784         * text2.C: fix bug 974 (End on empty par)
4785
4786 2003-03-28  John Levon  <levon@movementarian.org>
4787
4788         * BufferView_pimpl.C:
4789         * LyXAction.C:
4790         * lfuns.h: remove do-nothing math greek lfuns
4791
4792 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * lyxgluelength.h (isValidGlueLength): add default arg on
4795         parameter 2. Remove default arg from friend in class.
4796
4797         * lyxlength.h (isValidLength): add default arg on parameter 2.
4798         Remove default arg from friend in class.
4799
4800         * text2.C (LyXText): adjust, initialize refresh_row.
4801         (init): adjust
4802         (removeRow): adjust
4803         (insertRow): adjust
4804         (insertParagraph): adjst
4805         (redoParagraphs): adjust
4806         (fullRebreak): adjust
4807         (updateCounters): adjust
4808         (deleteEmptyParagraphMechanism): first attempt at fixing a
4809         crashing bug.
4810
4811         * text.C (top_y): adjust
4812         (setHeightOfRow): adjust
4813         (getRow): adjust
4814         (getRowNearY): adjust
4815
4816         * lyxtext.h: include RowList.h
4817         (~LyXText): not needed anymore, deleted.
4818         (firstRow): modify for RowList
4819         (lastRow): new function
4820         Delete firstrow and lastrow class variables, add a Rowlist
4821         rowlist_ class variable.
4822
4823         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4824         paragraph is empty.
4825
4826         * RowList.C (insert): fix case where it == begin().
4827
4828 2003-03-26  Angus Leeming  <leeming@lyx.org>
4829
4830         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4831         the thesaurus dialog.
4832
4833 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4836
4837         * RowList.[Ch]: new files
4838
4839         * ParagraphList.C (erase): handle the case where it == begin
4840         correctly.
4841
4842 2003-03-25  John Levon  <levon@movementarian.org>
4843
4844         * Makefile.am:
4845         * aspell_local.h:
4846         * aspell.C: add new aspell support
4847
4848         * lyxrc.h:
4849         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4850         have it accessible.
4851
4852 2003-03-25  Angus Leeming  <leeming@lyx.org>
4853
4854         * lfuns.h:
4855         * LyXAction.C (init): new LFUN_INSET_INSERT.
4856
4857         * BufferView_pimpl.C (dispatch): split out part of the
4858         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4859
4860         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4861         LFUN_INSET_APPLY.
4862
4863 2003-03-25  Angus Leeming  <leeming@lyx.org>
4864
4865         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4866
4867 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * text2.C:
4870         * text3.C: remove useless row->height(0)
4871
4872 2003-03-25  John Levon  <levon@movementarian.org>
4873
4874         * lyxtext.h:
4875         * text2.C:
4876         * text3.C: rename the refreshing stuff to better names
4877
4878 2003-03-24  John Levon  <levon@movementarian.org>
4879
4880         * BufferView_pimpl.h:
4881         * BufferView_pimpl.C: update layout choice on a mouse
4882         press/release
4883
4884 2003-03-23  John Levon  <levon@movementarian.org>
4885
4886         * Makefile.am: fix commandtags.h reference
4887
4888 2003-03-22  John Levon  <levon@movementarian.org>
4889
4890         * BufferView_pimpl.C:
4891         * lyxtext.h:
4892         * rowpainter.C:
4893         * rowpainter.h:
4894         * text.C:
4895         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4896
4897 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4898
4899         * lyxtext.h:
4900         * text.C: take the rtl methods out of line
4901
4902 2003-03-21 André Pönitz <poenitz@gmx.net>
4903
4904         * metricsinfo.[Ch]: new files containing structures to be passed around
4905         during the two-phase-drawing...
4906
4907 2003-03-21 André Pönitz <poenitz@gmx.net>
4908
4909         * lyxtextclass.C: read 'environment' tag.
4910
4911 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * text2.C (removeRow): fix bug 964
4914
4915 2003-03-20  John Levon  <levon@movementarian.org>
4916
4917         * rowpainter.C:
4918         * text.C:
4919         * text2.C: paint cleanups. Inset::update() dropped font
4920         parameter
4921
4922 2003-03-19  John Levon  <levon@movementarian.org>
4923
4924         * lyxfunc.C: only fitcursor/markDirty if available()
4925
4926 2003-03-19  John Levon  <levon@movementarian.org>
4927
4928         * commandtags.h: rename to ...
4929
4930         * lfuns.h: ... this, and renumber / cleanup
4931
4932 2003-03-19  John Levon  <levon@movementarian.org>
4933
4934         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4935         fit the cursor after an lfun
4936
4937         * BufferView.h:
4938         * BufferView.C:
4939         * BufferView_pimpl.h:
4940         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4941
4942         * LyXAction.C: layout-character should have ReadOnly
4943
4944         * ParagraphParameters.C:
4945         * buffer.C:
4946         * bufferview_funcs.C:
4947         * lyx_cb.C:
4948         * lyxfind.C:
4949         * lyxtext.h:
4950         * text.C:
4951         * text2.C:
4952         * text3.C:
4953         * undo_funcs.C: changes from above
4954
4955 2003-03-18  John Levon  <levon@movementarian.org>
4956
4957         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4958         remove it from update()
4959
4960         * lyxfunc.C: update layout choice after an lfun
4961
4962         * text3.C: remove extra updateLayoutChoice()s
4963
4964 2003-03-18  John Levon  <levon@movementarian.org>
4965
4966         * text.C: top_y change means full repaint, fix
4967         a drawing bug with cursor movement
4968
4969 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxtext.h:
4972         * text.C:
4973         * text2.C: anchor row on setCursor
4974
4975 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * lyxtext.h: remove almost all mutable keywords
4978         * text.C:
4979         * text2.C:
4980         * text3.C: remove const keywords accordingly
4981
4982 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4985         anon namespace
4986         (TeXEnvironment): ditto
4987         (TeXOnePar): ditto
4988
4989 2003-03-17  John Levon  <levon@movementarian.org>
4990
4991         * text.C (rowBreakPoint): remove attempt to fix displayed
4992         math insets inside a manual label
4993
4994 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyxtext.h: remove BufferView* as first arg from almost all class
4997         functions.
4998         * other files: adjust.
4999
5000 2003-03-17  John Levon  <levon@movementarian.org>
5001
5002         * lyxtext.h:
5003         * undo_funcs.C:
5004         * text2.C: more paint cleanups
5005
5006         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5007
5008         * rowpainter.h:
5009         * rowpainter.C: remove "smart" background painting code
5010
5011 2003-03-16  John Levon  <levon@movementarian.org>
5012
5013         * lyxtext.h:
5014         * text.C:
5015         * text2.C:
5016         * text3.C: add helper functions for setting refresh_row/y
5017
5018 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5019
5020         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5021         newline inset which *can* get inserted in the pass_thru layouts.
5022         This is primarily for literate documents.
5023
5024 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5025
5026         * buffer.C: increment LYX_FORMAT to 223
5027
5028 2003-03-14 André Pönitz <poenitz@gmx.net>
5029
5030         * textclass.h: prepare for environment handling, ws changes
5031         * lyxlayout.C: read latexheader and latexfooter tags
5032
5033 2003-03-14  John Levon  <levon@movementarian.org>
5034
5035         * text2.C: rewrite ::status() a bit
5036
5037 2003-03-13  John Levon  <levon@movementarian.org>
5038
5039         * lyxtext.h: add some docs
5040
5041 2003-03-13  John Levon  <levon@movementarian.org>
5042
5043         * lyxtext.h:
5044         * text.C:
5045         * text2.C:
5046         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5047
5048 2003-03-13  John Levon  <levon@movementarian.org>
5049
5050         * text3.C: fix appendix redrawing
5051
5052 2003-03-13  John Levon  <levon@movementarian.org>
5053
5054         * text.C (setHeightOfRow):
5055         * rowpainter.h:
5056         * rowpainter.C: make appendix mark have the text
5057           "Appendix" so the user knows what it is
5058
5059         * LColor.h:
5060         * LColor.C: s/appendixline/appendix/ from above
5061
5062 2003-03-13  John Levon  <levon@movementarian.org>
5063
5064         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5065
5066         * text.C: fix a getChar(pos) bug properly
5067
5068 2003-03-13  Angus Leeming  <leeming@lyx.org>
5069
5070         * commandtags.h:
5071         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5072         Probably only temporary. Let's see how things pan out.
5073
5074         * BufferView.C (unlockInset):
5075         * BufferView_pimpl.C (fitCursor):
5076         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5077
5078         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5079         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5080
5081         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5082         new functions that convert ParagraphParameters to and from a string.
5083
5084         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5085         BufferView::Pimpl's dispatch.
5086         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5087
5088 2003-03-13 André Pönitz <poenitz@gmx.net>
5089
5090         * lyxfunc.C:
5091         * text3.C:
5092         * factory.C: make it aware of InsetEnv
5093
5094 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * text2.C (setCursor): never ask for one past last
5097         (setCursor): add some debugging messages.
5098
5099         * text.C (singleWidth): never ask for one past last
5100         (singleWidth): ditto
5101         (leftMargin): ditto
5102         (rightMargin): ditto
5103         (rowBreakPoint): ditto
5104         (setHeightOfRow): ditto
5105         (prepareToPrint): ditto
5106
5107         * rowpainter.C (paintBackground): never ask for one past last
5108         (paintText): never ask for one past last
5109
5110         * paragraph_pimpl.C (getChar): make the assert stricter, never
5111         allow the one past last pos to be taken
5112
5113         * paragraph.C (getChar): ws changes only
5114
5115         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5116         (numberOfSeparators): ditto
5117         (numberOfHfills): ditto
5118
5119 2003-03-12  John Levon  <levon@movementarian.org>
5120
5121         * author.h:
5122         * author.C:
5123         * bufferparams.h:
5124         * bufferparams.C:
5125         * paragraph_funcs.C: fix per-buffer authorlists
5126
5127 2003-03-12  John Levon  <levon@movementarian.org>
5128
5129         * text.C: fix newline in right address
5130
5131 2003-03-12  Angus Leeming  <leeming@lyx.org>
5132
5133         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5134         duplicate those in LyXFunc::dispatch.
5135
5136         * commandtags.h:
5137         * LyXAction.C:
5138         * ToolbarDefaults.C:
5139         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5140         Add LFUN_FONTFREE_UPDATE.
5141
5142         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5143         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5144
5145         * bufferview_func.[Ch]: several new functions to facilliate
5146         transfer of data to and from the character dialog.
5147
5148 2003-03-12  John Levon  <levon@movementarian.org>
5149
5150         * buffer.C:
5151         * paragraph.h:
5152         * paragraph.C:
5153         * paragraph_funcs.C:
5154         * paragraph_pimpl.C:
5155         * sgml.C:
5156         * tabular.C:
5157         * text.C:
5158         * text3.C: remove META_NEWLINE in favour of an inset
5159
5160         * rowpainter.h:
5161         * rowpainter.C: remove paintNewline (done by inset)
5162
5163 2003-03-12  John Levon  <levon@movementarian.org>
5164
5165         * paragraph_pimpl.C: complain about bad getChar()s
5166         for a while at least
5167
5168 2003-03-12  John Levon  <levon@movementarian.org>
5169
5170         * buffer.h:
5171         * buffer.C: move paragraph read into a separate function,
5172         a little renaming to reflect that.
5173
5174         * bufferparams.h:
5175         * bufferparams.C: remove the author_ids map, not necessary now
5176
5177         * factory.h:
5178         * factory.C: moved Buffer::readInset to here
5179
5180         * paragraph_funcs.h:
5181         * paragraph_funcs.C: readParagraph free function moved from
5182         buffer.C
5183
5184         * tabular.C: name change
5185
5186 2003-03-12  John Levon  <levon@movementarian.org>
5187
5188         * buffer.C:
5189         * ParagraphParameters.C: move par params input to
5190         a read() method
5191
5192         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5193         behave like a normal read from the stream wrt reading
5194         a line vs. a \\token
5195
5196 2003-03-12  John Levon  <levon@movementarian.org>
5197
5198         * paragraph.C:
5199         * ParagraphParameters.h:
5200         * ParagraphParameters.C: move output code to a
5201         ::write() method
5202
5203 2003-03-12  John Levon  <levon@movementarian.org>
5204
5205         * BufferView.C (insertLyXFile):
5206         * buffer.h:
5207         * buffer.C:
5208         * tabular.C: use a parlist iterator for creating the
5209           document.
5210
5211 2003-03-12  John Levon  <levon@movementarian.org>
5212
5213         * buffer.C: make current_change static local not
5214           static file-scope
5215
5216 2003-03-12  John Levon  <levon@movementarian.org>
5217
5218         * buffer.C: fix insertStringAsLines for change tracking
5219
5220 2003-03-12  John Levon  <levon@movementarian.org>
5221
5222         * BufferView.C:
5223         * tabular.C:
5224         * buffer.h:
5225         * buffer.C:
5226         * bufferparams.h:
5227         * bufferparams.C: move author list into params. Rename some
5228           functions. Move the header reading into a separate token
5229           loop. Move the header token reading into BufferParams.
5230
5231 2003-03-12  John Levon  <levon@movementarian.org>
5232
5233         * changes.C: put debug inside lyxerr.debugging() checks
5234
5235 2003-03-11 André Pönitz <poenitz@gmx.net>
5236
5237         * factory.C: make it aware of InsetHFill
5238
5239 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5240
5241         * buffer.C (latexParagraphs): move function from here...
5242         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5243         args.
5244
5245 2003-03-10  Angus Leeming  <leeming@lyx.org>
5246
5247         * LyXAction.C (init): fix bug in poplating array with multiple entries
5248         with the same LFUN (spotted by JMarc).
5249
5250 2003-03-10  John Levon  <levon@movementarian.org>
5251
5252         * text.C:
5253         * text2.C: move getColumnNearX() near its
5254         only call site
5255
5256 2003-03-10  John Levon  <levon@movementarian.org>
5257
5258         * text.C: fix break before a minipage
5259
5260 2003-03-10  John Levon  <levon@movementarian.org>
5261
5262         * text.C: fix the last commit
5263
5264 2003-03-09  John Levon  <levon@movementarian.org>
5265
5266         * lyxtext.h:
5267         * text.C:
5268         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5269         bug 365 (don't break before insets unless needed). Don't
5270         return a value > last under any circumstances.
5271
5272 2003-03-09  Angus Leeming  <leeming@lyx.org>
5273
5274         * BufferView_pimpl.C (trackChanges, dispatch): call
5275         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5276
5277 2003-03-09  Angus Leeming  <leeming@lyx.org>
5278
5279         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5280         than Dialogs::showAboutlyx().
5281
5282 2003-03-09  Angus Leeming  <leeming@lyx.org>
5283
5284         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5285         than Dialogs::showTabularCreate().
5286
5287 2003-03-09  John Levon  <levon@movementarian.org>
5288
5289         * lyxtext.h:
5290         * text.C:
5291         * text2.C: 3rd arg to nextBreakPoint was always the same.
5292           Use references.
5293
5294 2003-03-08  John Levon  <levon@movementarian.org>
5295
5296         * lyxrow.C:
5297         * paragraph.C:
5298         * paragraph.h:
5299         * rowpainter.C:
5300         * text.C:
5301         * text2.C: Remove the "main" bit from the "main body"
5302           notion.
5303
5304 2003-03-08  John Levon  <levon@movementarian.org>
5305
5306         * text.C (leftMargin): The left margin of an empty
5307         manual label paragraph should not include the label width
5308         string length.
5309
5310         * text.C (prepareToPrint): don't attempt to measure hfills
5311         for empty manual label paragraphs - the answer should be 0
5312
5313 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * CutAndPaste.C: remove commented code and reindent.
5316
5317 2003-03-08  John Levon  <levon@movementarian.org>
5318
5319         * lyxfunc.h:
5320         * lyxfunc.C: move reloadBuffer()
5321
5322         * BufferView.h:
5323         * BufferView.C: to here
5324
5325         * lyxvc.C: add comment
5326
5327         * vc-backend.h:
5328         * vc-backend.C: call bv->reload() to avoid
5329           getStatus() check on MENURELOAD
5330
5331 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5332
5333         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5334         to an old format .dep file.
5335
5336 2003-03-07  Angus Leeming  <leeming@lyx.org>
5337
5338         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5339         when the LFUN_MOUSE_RELEASE should have been handled by
5340         inset->localDispatch.
5341
5342 2003-03-07  Angus Leeming  <leeming@lyx.org>
5343
5344         * BufferView_pimpl.C (dispatch):
5345         * LyXAction.C (init):
5346         * ToolbarDefaults.C (init):
5347         * commandtags.h:
5348         * lyxfunc.C (getStatus):
5349         remove LFUN_INSET_GRAPHICS.
5350
5351         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5352
5353 2003-03-07  Angus Leeming  <leeming@lyx.org>
5354
5355         * commandtags.h:
5356         * LyXAction.C (init):
5357         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5358
5359         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5360
5361         * commandtags.h:
5362         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5363
5364         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5365         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5366
5367 2003-03-07  Angus Leeming  <leeming@lyx.org>
5368
5369         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5370         remove "ert".
5371
5372 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * ParagraphList.C (front): new function
5375         (back): implement
5376
5377 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5378
5379         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5380         and top_row_offset_. removed var first_y.
5381         * text.C (top_y):
5382         * text2.C (LyXText, removeRow):
5383         * text3.C:
5384         * BufferView_pimpl.C:
5385         use these methods instead of using first_y
5386
5387 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * text2.C (pasteSelection): adjust for checkPastePossible
5390
5391         * CutAndPaste.C: remove Paragraph * buf and replace with
5392         ParagraphList paragraphs.
5393         (DeleteBuffer): delete
5394         (cutSelection): change the tc type to textclass_type
5395         (copySelection): change the tc type to textclass_type
5396         (copySelection): adjust for ParagraphList
5397         (pasteSelection): change the tc type to textclass_type
5398         (pasteSelection): adjust for Paragraphlist
5399         (nrOfParagraphs): simplify for ParagraphList
5400         (checkPastePossible): simplify for ParagraphList
5401         (checkPastePossible): remove unused arg
5402
5403         * ParagraphList.C (insert): handle the case where there are no
5404         paragraphs yet.
5405
5406         * CutAndPaste.h: make CutAndPaste a namespace.
5407
5408         * text3.C (dispatch): adjust
5409
5410         * text.C (breakParagraph): add a ParagraphList as arg
5411
5412         * paragraph_funcs.C (breakParagraph): change to take a
5413         BufferParams and a ParagraphList as args.
5414         (breakParagraphConservative): ditto
5415         (mergeParagraph): ditto
5416         (TeXDeeper): add a ParagraphList arg
5417         (TeXEnvironment): ditto
5418         (TeXOnePar): ditto
5419
5420         * buffer.C (readLyXformat2): adjust
5421         (insertStringAsLines): adjust
5422         (latexParagraphs): adjust
5423
5424         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5425         (cutSelection): adjust
5426         (pasteSelection): adjust
5427
5428         * BufferView_pimpl.C (insertInset): adjust
5429
5430 2003-03-05  Angus Leeming  <leeming@lyx.org>
5431
5432         * commandtags.h:
5433         * LyXAction.C (init):
5434         * BufferView_pimpl.C (dispatch):
5435         * lyxfunc.C (getStatus):
5436         remove LFUN_CHILD_INSERT.
5437
5438         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5439
5440 2003-03-05  Angus Leeming  <leeming@lyx.org>
5441
5442         * commandtags.h:
5443         * LyXAction.C (init):
5444         * src/factory.C (createInset):
5445         * lyxfunc.C (getStatus):
5446         * text3.C (dispatch):
5447         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5448
5449         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5450
5451 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * ParagraphList.C (insert): handle insert right before end()
5454         (erase): fix cases where it can be first or last paragraph.
5455
5456 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5459         Paragraph::next and Paragraph::previous
5460         (TeXOnePar): ditto
5461
5462         * text.C (breakParagraph): adjust
5463
5464         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5465         BufferParams& as arg.
5466         (breakParagraph): use ParagraphList::insert
5467         (breakParagraphConservative): take a Buffer* instead of a
5468         BufferParams& as arg.
5469         (breakParagraphConservative): use ParagraphList::insert.
5470
5471         * buffer.C (insertStringAsLines): un-const it
5472         (insertStringAsLines): adjust
5473
5474         * ParagraphList.C (insert): new function
5475
5476         * CutAndPaste.C (pasteSelection): adjust
5477
5478         * text.C (backspace): adjust
5479
5480         * tabular.C (SetMultiColumn): adjust
5481
5482         * CutAndPaste.C (cutSelection): adjust
5483         (pasteSelection): adjust
5484
5485         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5486         Buffer const * as arg
5487
5488         * ParagraphList.C (erase): new function
5489         * paragraph_funcs.C (mergeParagraph): use it
5490         (mergeParagraph): make it take a Buffer* instead of a
5491         BufferParams* as arg
5492
5493         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5494         as arg
5495         (breakParagraphConservative): ditto
5496
5497         * paragraph.h: remove the breakParagraph friend
5498
5499         * paragraph.C (eraseIntern): new function
5500         (setChange): new function
5501
5502         * paragraph_funcs.C (mergeParagraph): make it take a
5503         ParagraphList::iterator instead of a Paragraph *, adjust
5504         accordingly.
5505
5506         * paragraph.h: move an #endif so that the change tracking stuff
5507         also works in the NO_NEXT case.
5508
5509 2003-03-04  Angus Leeming  <leeming@lyx.org>
5510
5511         * commandtags.h:
5512         * LyXAction.C: new LFUN_INSET_MODIFY.
5513
5514         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5515         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5516
5517 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * several files: ws changes only
5520
5521         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5522         (TeXEnvironment): ditto
5523         (TeXDeeper): ditto
5524
5525         * buffer.C (makeLaTeXFile): adjust
5526         (latexParagraphs): make it take ParagraphList::iterator as args
5527
5528 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * buffer.C (latexParagraphs): adjust
5531
5532         * paragraph.C (TeXOnePar): move function...
5533         (optArgInset): move function...
5534         (TeXEnvironment): move function...
5535         * paragraph_pimpl.C (TeXDeeper): move function...
5536         * paragraph_funcs.C: ...here
5537
5538         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5539
5540 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * buffer.C (readInset): remove compability code for old Figure and
5543         InsetInfo insets
5544
5545 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * buffer.C: ws changes
5548         (readInset):
5549
5550         * BufferView_pimpl.C: ditto
5551         * author.C: ditto
5552         * buffer.h: ditto
5553         * bufferlist.h: ditto
5554         * changes.h: ditto
5555         * lyxfunc.C: ditto
5556
5557 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5558
5559         * converter.[Ch]: split into itself +
5560         * graph.[Ch]
5561         * format.[Ch]
5562         * Makefile.am: += graph.[Ch] + format.[Ch]
5563         * MenuBackend.C
5564         * buffer.C
5565         * exporter.C
5566         * importer.C
5567         * lyx_main.C
5568         * lyxfunc.C
5569         * lyxrc.C: added #include "format.h"
5570
5571 2003-02-27  Angus Leeming  <leeming@lyx.org>
5572
5573         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5574           a label.
5575
5576         * factory.C (createInset): add "label" to the factory.
5577
5578         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5579           string and do no more.
5580
5581 2003-02-27  Angus Leeming  <leeming@lyx.org>
5582
5583         * commandtags.h:
5584         * LyXAction.C (init):
5585         * factory.C (createInset):
5586         * BufferView_pimpl.C (dispatch):
5587           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5588
5589         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5590
5591         * lyxfunc.C (dispatch):
5592         * text3.C (dispatch): pass name to params2string.
5593
5594 2003-02-26  Angus Leeming  <leeming@lyx.org>
5595
5596         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5597           blocks together.
5598           Rearrange the ~includes. Strip out the unnecessary ones.
5599
5600         * factory.C (createInset): reformat.
5601           create new insets for the various LFUN_XYZ_APPLY lfuns.
5602
5603 2003-02-26  John Levon  <levon@movementarian.org>
5604
5605         * lyxrow.h:
5606         * lyxrow.C: add isParStart,isParEnd helpers
5607
5608         * paragraph.h: make isInserted/DeletedText take refs
5609
5610         * paragraph_funcs.h:
5611         * paragraph_funcs.C: remove #if 0'd code
5612
5613         * lyxtext.h:
5614         * text3.C:
5615         * text2.C:
5616         * text.C: use lyxrow helpers above.
5617           Move draw and paint routines to RowPainter.
5618           Make several methods use refs not pointers.
5619           Make backgroundColor() const.
5620           Add markChangeInDraw(), isInInset().
5621           Merge changeRegionCase into changeCase.
5622           Make workWidth() shouldn't-happen code into an Assert.
5623
5624         * rowpainter.h:
5625         * rowpainter.C: new class for painting a row.
5626
5627         * vspace.h:
5628         * vspace.C: make inPixels take a ref
5629
5630 2003-02-26  Angus Leeming  <leeming@lyx.org>
5631
5632         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5633         LFUN_REF_APPLY.
5634
5635 2003-02-25  John Levon  <levon@movementarian.org>
5636
5637         * ispell.C: give the forked command a more accurate name
5638
5639 2003-02-22  John Levon  <levon@movementarian.org>
5640
5641         * toc.h:
5642         * toc.C: make TocItem store an id not a Paragraph *
5643           (bug #913)
5644
5645 2003-02-21  Angus Leeming  <leeming@lyx.org>
5646
5647         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5648           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5649           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5650           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5651           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5652           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5653
5654         * BufferView_pimpl.C (dispatch):
5655         * LyXAction.C (init):
5656         * factory.C (createInset):
5657         * lyxfunc.C (getStatus, dispatch):
5658         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5659
5660 2003-02-21  Angus Leeming  <leeming@lyx.org>
5661
5662         * BufferView_pimpl.C (MenuInsertLyXFile):
5663         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5664         * lyxfunc.C (menuNew, open, doImport):
5665           no longer pass a LyXView & to fileDlg.
5666
5667 2003-02-21  Angus Leeming  <leeming@lyx.org>
5668
5669         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5670         * LyXAction.C: change, BIBKEY to BIBITEM.
5671         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5672         Change InsetBibKey to InsetBibitem.
5673         Change BIBKEY_CODE to BIBITEM_CODE.
5674         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5675         * factory.C: replace insetbib.h with insetbibitem.h.
5676         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5677         * paragraph.C: replace insetbib.h with insetbibitem.h.
5678         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5679         Change bibkey() to bibitem().
5680         * text.C: remove insetbib.h.
5681         * text2.C: replace insetbib.h with insetbibitem.h.
5682         change bibkey() to bibitem().
5683         * text3.C: remove insetbib.h.
5684         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5685
5686 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5687
5688         * lyxrc.C (output): enclose user email in quotes (in case there are
5689         several words)
5690
5691 2003-02-18  John Levon  <levon@movementarian.org>
5692
5693         * buffer.h: add std::
5694
5695 2003-02-17  John Levon  <levon@movementarian.org>
5696
5697         * SpellBase.h:
5698         * ispell.h:
5699         * ispell.C:
5700         * pspell.h:
5701         * pspell.C: reworking. Especially in ispell, a large
5702           number of clean ups and bug fixes.
5703
5704         * lyxfunc.C: fix revert to behave sensibly
5705
5706 2003-02-17 André Pönitz <poenitz@gmx.net>
5707
5708         * LyXAction.C:
5709         * commandtags.h: new LFUN_INSERT_BIBKEY
5710
5711         * layout.h:
5712         * lyxlayout.C:
5713         * buffer.C:
5714         * factory.C:
5715         * text.C:
5716         * text2.C:
5717         * text3.C:
5718         * paragraph.[Ch]:
5719         * paragraph_func.C: remove special bibkey handling
5720
5721 2003-02-17  John Levon  <levon@movementarian.org>
5722
5723         * text.C (Delete): fix case where delete at the end of
5724           the very first paragraph would not merge the pars
5725
5726 2003-02-17  John Levon  <levon@movementarian.org>
5727
5728         * lyxrow.C: fix lastPrintablePos()
5729
5730 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5731
5732         * bufferparams.C (writeLaTeX): add a std:here
5733
5734         * buffer.C: and remove a using directive there
5735
5736 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5737
5738         * buffer.C (makeLaTeXFile): move the code that generates the
5739           preamble...
5740
5741         * bufferparams.C (writeLaTeX): ... in this new method
5742
5743         * LaTeXFeatures.C (getEncodingSet): make const
5744           (getLanguages): make const
5745
5746         * MenuBackend.C (binding): returns the binding associated to this
5747           action
5748           (add): sets the status of each item by calling getStatus. Adds
5749           some intelligence.
5750           (read): add support for OptSubMenu
5751           (expand): remove extra separator at the end of expanded menu
5752
5753 2003-02-15  John Levon  <levon@movementarian.org>
5754
5755         * BufferView.C:
5756         * BufferView_pimpl.C:
5757         * bufferlist.h:
5758         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5759           inset code that had no actual effect. Remove unneeded status
5760           code.
5761
5762 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5763
5764         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5765           in preamble
5766
5767 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5768
5769         * text.C (drawLengthMarker): also draw an arrow marker for
5770           symbolic lengths (medskip...)
5771
5772 2003-02-14  John Levon  <levon@movementarian.org>
5773
5774         * tabular.h:
5775         * tabular.C: better method names
5776
5777 2003-02-14  John Levon  <levon@movementarian.org>
5778
5779         * BufferView_pimpl.C:
5780         * bufferlist.C:
5781         * buffer.C:
5782         * converter.C:
5783         * lyx_cb.C:
5784         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5785           it's a more accurate name. Remove some pointless uses.
5786
5787 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5788
5789         * text2.C (LyXText): change order of initilizers to shut off
5790           warnings
5791
5792 2003-02-14  John Levon  <levon@movementarian.org>
5793
5794         * buffer.C: use ParIterator for getParFromID()
5795
5796         * paragraph.h:
5797         * paragraph.C:
5798         * paragraph_pimpl.h:
5799         * paragraph_pimpl.C: remove unused getParFromID()
5800
5801 2003-02-14  John Levon  <levon@movementarian.org>
5802
5803         * buffer.C: remove some very old #if 0'd parse code
5804
5805 2003-02-13  John Levon  <levon@movementarian.org>
5806
5807         * text.h:
5808         * text.C:
5809         * text2.C: move hfillExpansion(), numberOfSeparators(),
5810           rowLast(), rowLastPrintable(), numberofHfills(),
5811           numberOfLabelHfills() ...
5812
5813         * lyxrow.h:
5814         * lyxrow.C: ... to member functions here.
5815
5816         * paragraph.h:
5817         * paragraph.C:
5818         * lyxtext.h:
5819         * text.C: remove LyXText::beginningOfMainBody(), and call
5820           p->beginningOfMainBody() directly. Move the check for
5821           LABEL_MANUAL into the latter.
5822
5823         * text.h:
5824         * text.C:
5825         * text2.C:
5826         * vspace.C:
5827         * BufferView.h:
5828         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5829
5830         * text.h:
5831         * text.C:
5832         * text2.C:
5833         * text3.C:
5834         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5835           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5836
5837 2003-02-13  John Levon  <levon@movementarian.org>
5838
5839         * CutAndPaste.C: remove debug
5840
5841 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5842
5843         * paragraph.C (asString): remove two unused variables
5844
5845         * lyxtextclass.C (readTitleType):
5846           (Read):
5847           (LyXTextClass): handle new members titletype_ and titlename_
5848
5849         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5850
5851 2003-02-09  John Levon  <levon@movementarian.org>
5852
5853         * buffer.h:
5854         * buffer.C: replace hand-coded list with a map for the dep clean
5855
5856 2003-02-08  John Levon  <levon@movementarian.org>
5857
5858         * LaTeX.C: consolidate code into showRunMessage() helper
5859
5860 2003-02-08  John Levon  <levon@movementarian.org>
5861
5862         * lyxfind.C:
5863         * lyxtext.h:
5864         * text2.C:
5865         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5866           and pass the size in explicitly
5867
5868         * BufferView_pimpl.h:
5869         * BufferView_pimpl.C:
5870         * BufferView.h:
5871         * BufferView.C: add getCurrentChange()
5872
5873         * BufferView_pimpl.h:
5874         * BufferView_pimpl.C: handle change lfuns
5875
5876         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5877           for changes. Mark pasted paragraphs as new.
5878
5879         * support/lyxtime.h:
5880         * support/lyxtime.C:
5881         * DepTable.C: abstract time_t as lyx::time_type
5882
5883         * LColor.h:
5884         * LColor.C: add colours for new text, deleted text, changebars
5885
5886         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5887           package use "usenames" option.
5888
5889         * commandtags.h:
5890         * lyxfunc.C:
5891         * LyXAction.C: add change lfuns
5892
5893         * Makefile.am:
5894         * author.h:
5895         * author.C: author handling
5896
5897         * buffer.h:
5898         * buffer.C: add a per-buffer author list, with first entry as
5899           current author. Handle new .lyx tokens for change tracking. Output
5900           author list to .lyx file. Output dvipost stuff to .tex preamble.
5901           Bump lyx format to 222.
5902
5903         * bufferlist.h:
5904         * bufferlist.C: add setCurrentAuthor() to reset current author details
5905           in all buffers.
5906
5907         * bufferparams.h:
5908         * bufferparams.C: add param for tracking
5909
5910         * bufferview_funcs.C: output change info in minibuffer
5911
5912         * Makefile.am:
5913         * changes.h:
5914         * changes.C: add change-tracking structure
5915
5916         * debug.h:
5917         * debug.C: add CHANGES debug flag
5918
5919         * lyxfind.h:
5920         * lyxfind.C: add code for finding the next change piece
5921
5922         * lyxrc.h:
5923         * lyxrc.C: add user_name and user_email
5924
5925         * lyxrow.h:
5926         * lyxrow.C: add a metric for the top of the text line
5927
5928         * lyxtext.h:
5929         * text.C: implement accept/rejectChange()
5930
5931         * lyxtext.h:
5932         * text.C: paint changebars. Paint new/deleted text in the chosen
5933         colours. Strike through deleted text.
5934
5935         * paragraph.h:
5936         * paragraph.C:
5937         * paragraph_pimpl.h:
5938         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5939           in the current change to the insert functions. Rework erase to
5940           mark text as deleted, adding an eraseIntern() and a range-based
5941           erase(). Implement per-paragraph change lookup and
5942           accept/reject.
5943
5944         * paragraph_funcs.C: Fixup paste for change tracking.
5945
5946         * tabular.C: mark added row/columns as new.
5947
5948         * text.C: fix rowLast() to never return -1. Don't allow
5949           spellchecking of deleted text. Track transpose changes. Don't
5950           allow paragraph break or merge where appropriate.
5951
5952         * text2.C: leave cursor at end of selection after a cut.
5953
5954 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5955
5956         * text.C (getLengthMarkerHeight):
5957         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5958         visible on screen too.
5959
5960 2003-02-07  John Levon  <levon@movementarian.org>
5961
5962         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5963
5964 2003-02-05  Angus Leeming  <leeming@lyx.org>
5965
5966         * lyxserver.C (read_ready): revert my patch of 11 September last year
5967         as it sends PC cpu through the roof. Presumably this means that
5968         the lyxserver will no longer run on an Alpha...
5969
5970 2003-01-30  Angus Leeming  <leeming@lyx.org>
5971
5972         * factory.C (createInset): create an InsetCommandParam of type "index"
5973         and use it to 'do the right thing'.
5974
5975         * text2.C (getStringToIndex): ensure that cursor position is always
5976         reset to the reset_cursor position.
5977
5978 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5979
5980         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5981         disabled.
5982
5983 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5984
5985         * bufferview.C:
5986         * lyxcb.C:
5987         * lyxfunc.C: Output messages with identical spelling, punctuation,
5988         and spaces
5989
5990 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5991
5992         * MenuBackend.C (expandFormats): List only viewable export formats
5993         in "View" menu
5994
5995         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5996         message
5997
5998         * lyxfunc.C (getStatus): Make sure that formats other than
5999         "fax" can also be disabled
6000
6001 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6002
6003         * text3.C (dispatch): put the lfuns that insert insets in 3
6004         groups, and call doInsertInset with appropriate arguments.
6005         (doInsertInset): new function, that creates an inset and inserts
6006         it according to some boolean parameters.
6007
6008 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * buffer.C (readFile): remember to pass on 'par' when calling
6011         readFile recursively.
6012
6013 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6014
6015         * MenuBackend.C (expandFormats): add "..." to import formats.
6016
6017 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6018
6019         * paragraph.C (asString): Remove XForms RTL hacks.
6020
6021 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6022         * buffer.C: fix typo
6023
6024 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * Makefile.am (LIBS): delete var
6027         (lyx_LDADD): add @LIBS@ here instead.
6028
6029 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6030
6031         * Clarify the meaning of "wheel mouse jump"
6032
6033 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6034
6035         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6036         tabular in a float
6037
6038 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6039
6040         * importer.C (Loaders): do not preallocate 3 elements in the
6041         vector, since one ends up with 6 elements otherwise
6042
6043 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * DepTable.C (write): write the file name as last element of the
6046         .dep file (because it may contain spaces)
6047         (read): read info in the right order
6048
6049 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6050
6051         * paragraph_pimpl.C (simpleTeXBlanks):
6052         (simpleTeXSpecialChars):
6053         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6054
6055         * tabular.C (latex): add some missing case statements. Reindent.
6056
6057         * MenuBackend.C (expandToc): remove unused variable.
6058
6059 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6060
6061         * LColor.C:
6062         * LaTeX.C:
6063         * LyXAction.C:
6064         * MenuBackend.C:
6065         * buffer.C:
6066         * exporter.C:
6067         * lyxfunc.C:
6068         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6069         and the like.
6070
6071 2003-01-05  John Levon  <levon@movementarian.org>
6072
6073         * BufferView.h:
6074         * BufferView.C: add getEncoding()
6075
6076         * kbsequence.h:
6077         * kbsequence.C: do not store last keypress
6078
6079         * lyxfunc.h:
6080         * lyxfunc.C: store last keypress here instead. Pass encoding
6081           to getISOEncoded()
6082
6083 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6084
6085         * lyx_main.C (init): remove annoying error message when following
6086         symbolic links (bug #780)
6087
6088 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * text.C (insertChar):
6091         * lyxrc.C (getDescription): remove extra spaces
6092
6093 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6094
6095         * lyxrc.C (getDescription): remove extra spaces
6096
6097 2002-12-20  John Levon  <levon@movementarian.org>
6098
6099         * text3.C: hack fix for page up/down across tall rows
6100
6101 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6102
6103         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6104         not been invoked
6105
6106 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6107
6108         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6109         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6110         thesaurus is not compiled in
6111
6112 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6113
6114         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6115
6116 2002-12-16  Angus Leeming  <leeming@lyx.org>
6117
6118         * lyxrc.[Ch]:
6119         * lyx_main.C (init): remove override_x_deadkeys stuff.
6120
6121 2002-12-12  John Levon  <levon@movementarian.org>
6122
6123         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6124           insert. Only remove shift modifier under strict
6125           circumstances.
6126
6127 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * MenuBackend.C (expandToc): fix crash.
6130
6131 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * MenuBackend.C (expandToc): gettext on float names.
6134
6135 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6136
6137         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6138         implement bool empty() [bug 490]
6139
6140 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6143
6144 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * several files: ws changes
6147
6148 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * text2.C (setCounter): clean up a bit, use boost.format.
6151         (updateCounters): initialize par upon declaration.
6152
6153         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6154         if the layout exists. We do not just store the layout any more.
6155         (SwitchLayoutsBetweenClasses): use boost.format
6156
6157 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6158
6159         * converter.C (convert): if from and to files are the same, use a
6160         temporary files as intermediary
6161
6162 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * commandtags.h:
6165         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6166
6167 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6168
6169         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6170
6171 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * tabular.C (asciiPrintCell): use string(size, char) instead of
6174         explicit loop.
6175
6176         * sgml.C (openTag): fix order of arguments to string constructor
6177         (closeTag): ditto
6178
6179         * lyxfunc.C (dispatch): use boost.format
6180
6181         * lots of files: change "c" -> 'c'
6182
6183 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6184
6185         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6186
6187 2002-11-25  Angus Leeming  <leeming@lyx.org>
6188
6189         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6190
6191         * lyx_main.C (init): compile fix.
6192
6193 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * lyx_cb.C (start): boost.formatify
6196         do not include <iostream>
6197
6198         * lengthcommon.C: ws only
6199
6200         * boost-inst.C,BoostFormat.h: add more explict instantations
6201
6202 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * lots of files: handle USE_BOOST_FORMAT
6205
6206 2002-11-21  John Levon  <levon@movementarian.org>
6207
6208         * pspell.C: fix compile
6209
6210 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6211
6212         * lyxfunc.C (dispatch): use boost::format
6213         (open): ditto
6214         (doImport): ditto
6215
6216         * lyxfont.C (stateText): use boost::format
6217
6218         * lyx_main.C (LyX): use boost::format
6219         (init): ditto
6220         (queryUserLyXDir): ditto
6221         (readRcFile): ditto
6222         (parse_dbg): ditto
6223         (typedef boost::function): use the recommened syntax.
6224
6225         * importer.C (Import): use boost::format
6226
6227         * debug.C (showLevel): use boost::format
6228
6229         * converter.C (view): use boost::format
6230         (convert): ditto
6231         (move): ditto
6232         (scanLog): ditto
6233
6234         * bufferview_funcs.C (currentState): use boost::format
6235
6236         * bufferlist.C (emergencyWrite): use boost::format
6237
6238         * buffer.C (readLyXformat2): use boost::format
6239         (parseSingleLyXformat2Token): ditto
6240
6241         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6242
6243         * LaTeX.C (run): use boost::format
6244
6245         * Chktex.C (scanLogFile): use boost::format
6246
6247         * BufferView_pimpl.C (savePosition): use boost::format
6248         (restorePosition): ditto
6249         (MenuInsertLyXFile): ditto
6250
6251         * BoostFormat.h: help file for explicit instation.
6252
6253 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6254
6255         * tabular.C (latex): Support for block alignment in fixed width
6256         columns.
6257
6258 2002-11-17  John Levon  <levon@movementarian.org>
6259
6260         * BufferView_pimpl.C:
6261         * lyx_cb.C:
6262         * lyxfunc.C: split filedialog into open/save
6263
6264 2002-11-08  Juergen Vigna  <jug@sad.it>
6265
6266         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6267         by my last patch (hopefully).
6268
6269 2002-11-08  John Levon  <levon@movementarian.org>
6270
6271         * iterators.h:
6272         * iterators.C:
6273         * buffer.h:
6274         * buffer.C:
6275         * paragraph.h:
6276         * paragraph.C:
6277         * toc.h:
6278         * toc.C: ParConstIterator, and use it (from Lars)
6279
6280 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6281
6282         * lyxtextclass.[Ch]: revise and add doxygen comments
6283
6284 2002-11-07  John Levon  <levon@movementarian.org>
6285
6286         * text.C: fix progress value for spellchecker
6287
6288         * toc.C: fix navigate menu for insetwrap inside minipage
6289
6290         * paragraph_funcs.C: added FIXME for suspect code
6291
6292 2002-11-07  John Levon  <levon@movementarian.org>
6293
6294         * BufferView_pimpl.C: fix redrawing of insets
6295           on buffer switch
6296
6297 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6298
6299         * text2.C (updateCounters): fix bug 668
6300
6301 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6302
6303         * text3.C (dispatch): Do not make the buffer dirty when moving the
6304         cursor.
6305
6306 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * vc-backend.C: STRCONV
6309         (scanMaster): ditto
6310
6311         * text2.C (setCounter): STRCONV
6312
6313         * paragraph.C (asString): STRCONV
6314
6315         * lyxlength.C (asString): STRCONV
6316         (asLatexString): ditto
6317
6318         * lyxgluelength.C (asString): STRCONV
6319         (asLatexString): ditto
6320
6321         * lyxfunc.C (dispatch): STRCONV
6322         (open): ditto
6323
6324         * lyxfont.C (stateText): STRCONV
6325
6326         * importer.C (Import): STRCONV
6327
6328         * counters.C (labelItem): STRCONV
6329         (numberLabel): ditto
6330         (numberLabel): remove unused ostringstream o
6331
6332         * chset.C: STRCONV
6333         (loadFile): ditto
6334
6335         * bufferview_funcs.C (currentState): STRCONV
6336
6337         * buffer.C (readFile): STRCONV
6338         (asciiParagraph): ditto
6339         (makeLaTeXFile): ditto
6340
6341         * Spacing.C (writeEnvirBegin): STRCONV
6342
6343         * LaTeXFeatures.C (getLanguages): STRCONV
6344         (getPackages): ditto
6345         (getMacros): ditto
6346         (getBabelOptions): ditto
6347         (getTClassPreamble): ditto
6348         (getLyXSGMLEntities): ditto
6349         (getIncludedFiles): ditto
6350
6351         * LaTeX.C: STRCONV
6352         (run): ditto
6353         (scanAuxFile): ditto
6354         (deplog): ditto
6355
6356         * LString.h: add the STRCONV macros
6357
6358         * BufferView_pimpl.C (savePosition): STRCONV
6359         (restorePosition): ditto
6360         (MenuInsertLyXFile): ditto
6361
6362         * vc-backend.C (scanMaster): change from submatch[...] to
6363         submatch.str(...)
6364
6365         * funcrequest.C: include config.h
6366
6367         * factory.C: include config.h
6368
6369         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6370
6371         * box.C: include config.h
6372
6373         * LaTeX.C (scanAuxFile): change from submatch[...] to
6374         submatch.str(...)
6375         (deplog): ditto
6376
6377 2002-10-25  Angus Leeming  <leeming@lyx.org>
6378
6379         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6380
6381         * ispell.[Ch] (setError): new method.
6382         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6383         Use setError() insetead of goto END.
6384
6385         * lyx_cb.C (AutoSave): move out child process into new class
6386         AutoSaveBuffer.
6387
6388 2002-10-30  John Levon  <levon@movementarian.org>
6389
6390         * text3.C: make start appendix undoable
6391
6392 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6393
6394         * lyxlength.C (inPixels): Fix returned value.
6395
6396         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6397         environment.
6398
6399 2002-10-24  Angus Leeming  <leeming@lyx.org>
6400
6401         * lyxgluelength.h: no need to forward declare BufferParams
6402         or BufferView, so don't.
6403
6404 2002-10-21  John Levon  <levon@movementarian.org>
6405
6406         * BufferView.C: menuUndo ->undo, redo
6407
6408         * BufferView.h: document, remove dead, make some methods private
6409
6410         * paragraph_funcs.h:
6411         * paragraph_funcs.C:
6412         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6413
6414         * buffer.h:
6415         * buffer.C:
6416         * sgml.h:
6417         * sgml.C: move sgml open/close tag into sgml.C
6418
6419         * bufferview_funcs.h: unused prototype
6420
6421         * lyxfunc.h:
6422         * lyxfunc.C: remove unused
6423
6424         * lyxtext.h:
6425         * text.C: remove unused
6426
6427 2002-10-21  John Levon  <levon@movementarian.org>
6428
6429         * BufferView.h:
6430         * BufferView.C:
6431         * BufferView_pimpl.h:
6432         * BufferView_pimpl.C: fix mouse wheel handling based on
6433           patch from Darren Freeman
6434
6435 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6436
6437         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6438
6439 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6440
6441         * lyxlength.C (inPixels): Fix hanfling of negative length.
6442         Fix LyXLength::MU case.
6443
6444 2002-10-16  John Levon  <levon@movementarian.org>
6445
6446         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6447
6448 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6449
6450         * converter.C (view): add support for $$i (file name) and $$p
6451         (file path) for the viewer command. If $$i is not specified, then
6452         it is appended to the command (for compatibility with old syntax)
6453
6454 2002-10-14  Juergen Vigna  <jug@sad.it>
6455
6456         * undo_funcs.C (textHandleUndo): alter the order in which the
6457         new undopar is added to the LyXText, as we have to set first
6458         the right prev/next and then add it as otherwise the rebuild of
6459         LyXText is not correct. Also reset the cursor to the right paragraph,
6460         with this IMO we could remove the hack in "redoParagraphs()".
6461
6462 2002-10-09  Angus Leeming  <leeming@lyx.org>
6463
6464         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6465         to turn off an optimisation if a new inset is to be inserted.
6466
6467 2002-10-11 André Pönitz <poenitz@gmx.net>
6468
6469         * lyxtext.h: make some functions public to allow access
6470         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6471
6472 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6473
6474         * text3.C (dispatch): when changing layout, avoid an infinite loop
6475         [bug #652]
6476
6477 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6478
6479         * lyxrc.C (read): treat a viewer or converter command of "none" as
6480         if it were empty.
6481
6482         * MenuBackend.C (expandFormats): for an update, also allow the
6483         formats that are not viewable
6484
6485         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6486         script if it is newer than the lyxrc.defaults in user directory
6487
6488 2002-10-07 André Pönitz <poenitz@gmx.net>
6489
6490         * text.C: Vitaly Lipatov's small i18n fix
6491
6492 2002-09-25  Angus Leeming  <leeming@lyx.org>
6493
6494         * ispell.h: doxygen fix.
6495
6496 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6497
6498         * buffer.h (readFile): Add a new argument to the method, to allow
6499         reading of old-format templates.
6500
6501 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6502
6503         * toc.C (getTocList): Get TOC from InsetWrap.
6504
6505 2002-09-16  John Levon  <levon@movementarian.org>
6506
6507         * lyxfunc.C: check tabular for cut/copy too
6508
6509 2002-09-12  John Levon  <levon@movementarian.org>
6510
6511         * LyXAction.C: tidy
6512
6513         * factory.h:
6514         * factory.C: add header
6515
6516         * paragraph_funcs.h:
6517         * paragraph_funcs.C: cleanup
6518
6519 2002-09-11  John Levon  <levon@movementarian.org>
6520
6521         * PrinterParams.h: odd/even default to true
6522
6523 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6524
6525         * PrinterParams.h: update printer parameters for new xforms dialog
6526
6527 2002-09-11  Angus Leeming  <leeming@lyx.org>
6528
6529         * lyxserver.C (read_ready): re-write to make it more transparent
6530         and to make it work in coherent fashion under Tru64 Unix.
6531
6532 2002-09-11  André Pönitz <poenitz@gmx.net>
6533
6534         * commandtags.h:
6535         * LyXAction.C:
6536         * text3.C: implement LFUN_WORDSEL
6537
6538 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6541         make floatlist_ a boost::shared_ptr<FloatList>
6542
6543         * lyxtextclass.C: include FloatList.h
6544         (LyXTextClass): initialize floatlist_
6545         (TextClassTags): add TC_NOFLOAT
6546         (Read): match "nofloat" to TC_NOFLOAT and use it.
6547         (readFloat): modify call to floatlist_
6548         (floats): ditto
6549         (floats): ditto
6550
6551         * FloatList.[Ch] (FloatList): remove commented out float
6552         initialization.
6553         (erase): new function
6554
6555 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6556
6557         * MenuBackend.C (expandToc): fix crash when there is no document
6558         open
6559
6560 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6561
6562         * many files: Add insetwrap.
6563
6564 2002-09-09  John Levon  <levon@movementarian.org>
6565
6566         * text2.C: remove confusing and awkward depth wraparound
6567
6568 2002-09-09  John Levon  <levon@movementarian.org>
6569
6570         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6571
6572         * buffer.h:
6573         * buffer.C: remove getIncludeonlyList()
6574
6575         * paragraph.C:
6576         * lyxfunc.C: remove headers
6577
6578 2002-09-09  Juergen Vigna  <jug@sad.it>
6579
6580         * text.C (getColumnNearX): fix form Michael this is most
6581         probably a cut&paste bug.
6582
6583 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6586
6587         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6588         references, ws changes.
6589
6590         * text2.C (init): update counters after init
6591         (insertParagraph): no need to set counter on idividual paragraphs.
6592         (setCounter): access the counters object in the textclass object
6593         on in the buffer object.
6594         (updateCounters): ditto
6595
6596         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6597         shared_ptr<Counters> to avoid loading counters.h in all
6598         compilation units.
6599         (LyXTextClass): initialize ctrs_
6600         (TextClassTags): add TC_COUNTER, and ...
6601         (Read): use it here.
6602         (CounterTags): new tags
6603         (readCounter): new function
6604         (counters): new funtion
6605         (defaultLayoutName): return a const reference
6606
6607         * counters.C (Counters): remove contructor
6608         (newCounter): remove a couple of unneeded statements.
6609         (newCounter): simplify a bit.
6610         (numberLabel): some small formatting changes.
6611
6612         * buffer.[Ch]: remove all traces of counters, move the Counters
6613         object to the LyXTextClass.
6614
6615 2002-09-06  Alain Castera  <castera@in2p3.fr>
6616
6617         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6618         package to set the horizontal alignment on fixed width columns.
6619
6620         * lyx_sty.C:
6621         * lyx_sty.h: added tabularnewline macro def.
6622
6623         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6624
6625 2002-09-06  John Levon  <levon@movementarian.org>
6626
6627         * LyXAction.C: tooltips for sub/superscript
6628
6629         * MenuBackend.C: a bit more verbose
6630
6631         * lyxfunc.C: tiny clean
6632
6633         * undo_funcs.C: document undo_frozen
6634
6635 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * counters.C (Counters): add missing algorithm counter.
6638
6639         * text2.C (setCounter): lookup the counter with layouts latexname
6640         instead of by section number.
6641         (setCounter): use a hackish way to lookup the correct enum
6642         counter.
6643         a float name->type change
6644         reset enum couners with counter name directly instead of depth value.
6645
6646         * counters.C (Counters): remove the push_backs, change to use the
6647         float type not the float name.
6648         (labelItem): remove unused string, float name->type change
6649
6650         * counters.h: don't include vector, loose the enums and sects vectors
6651
6652 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6655         (Read): add float->TC_FLOAT to textclassTags
6656         (Read): and handle it in the switch
6657         (readFloat): new function
6658
6659         * FloatList.C (FloatList): comment out the hardcoded float
6660         definitions.
6661
6662         * lyxlayout.h: ws change.
6663
6664 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6665
6666         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6667
6668 2002-09-03  Angus Leeming  <leeming@lyx.org>
6669
6670         * BufferView_pimpl.h: qualified name is not allowed in member
6671         declaration: WorkArea & Pimpl::workarea() const;
6672
6673         * factory.C: added using std::endl directive.
6674
6675         * text3.C: added using std::find and std::vector directives.
6676
6677 2002-08-29  André Pönitz <poenitz@gmx.net>
6678
6679         * lyxtext.h:
6680         * text2.C: remove unused member number_of_rows
6681
6682         * Makefile.am:
6683         * BufferView2.C: remove file, move contents to...
6684         * BufferView.C: ... here
6685
6686         * BufferView_pimpl.C:
6687         * factory.C: move more inset creation to factory
6688
6689         * vspace.C: avoid direct usage of LyXText, ws changes
6690
6691         * BufferView.[Ch]:
6692                 don't provide direct access to WorkArea, use two simple
6693                 acessors haveSelction() and workHeight() instead
6694
6695
6696 2002-08-29  John Levon  <levon@movementarian.org>
6697
6698         * BufferView_pimpl.C (dispatch): do not continue when
6699           no buffer
6700
6701 2002-08-28  André Pönitz <poenitz@gmx.net>
6702
6703         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6704
6705         * BufferView.h:
6706         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6707
6708 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6709
6710         * buffer.C: increment LYX_FORMAT to 221
6711
6712         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6713         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6714
6715         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6716
6717         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6718
6719 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6720
6721         * factory.C (createInset): use LyXTextClass::floats
6722
6723         * MenuBackend.C (expandFloatListInsert):
6724         (expandFloatInsert):
6725         (expandToc):
6726
6727         * text2.C (setCounter):
6728
6729         * LaTeXFeatures.C (useFloat):
6730         (getFloatDefinitions):
6731
6732         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6733
6734         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6735         floatlist_, with accessor floats().
6736
6737         * FloatList.h: remove global FloatList
6738
6739 2002-08-26  André Pönitz <poenitz@gmx.net>
6740
6741         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6742
6743         * BufferView.h:
6744         * BufferView2.C:
6745         * BufferView_pimpl.C:
6746         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6747
6748 2002-08-25  John Levon  <levon@movementarian.org>
6749
6750         * LyXAction.C: fix margin note description
6751
6752 2002-08-24  John Levon  <levon@movementarian.org>
6753
6754         * buffer.C:
6755         * bufferlist.C:
6756         * bufferview_funcs.C:
6757         * lyxfont.C:
6758         * undo_funcs.C: cleanups
6759
6760         * lyxfunc.C: disable CUT/COPY when no selection
6761
6762 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6763
6764         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6765         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6766
6767         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6768         Add backward compatibility to "mono", "gray" and "no".
6769
6770 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6771
6772         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6773         (and file_format >= 200).
6774
6775 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6776
6777         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6778
6779 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6780
6781         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6782
6783 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6784
6785         * BufferView_pimpl.C:
6786         * LyXAction.C:
6787         * buffer.C:
6788         * commandtags.h:
6789         * lyxfunc.C:
6790         * paragraph.[Ch]:
6791         * text2.C:
6792         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6793         inset and code to make it  work with the paragraph code. The inset
6794         can be anywhere in the paragraph, but will only do the expected
6795         thing in LaTeX if the layout file contains the parameter line
6796                         OptionalArgs    1
6797         (or more generally, a nonzero value) for that layout.
6798
6799 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * paragraph.h: remove the declaration of undefined counters class
6802         function.
6803
6804 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6805
6806         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6807         Dr. Richard Hawkins.
6808
6809 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6810
6811         * paragraph_funcs.h: remove some unneeded includes
6812
6813         * text.C (backspace): pasteParagraph now in global scipe
6814
6815         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6816         (pasteSelection): ditto
6817
6818         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6819         * paragraph_funcs.C (pasteParagraph): ... here
6820
6821 2002-08-20  André Pönitz <poenitz@gmx.net>
6822
6823         * commandtags.h: new LFUNs for swapping/copying table row/colums
6824
6825         * LyXAction.C:
6826         * lyxfunc.C: support for new lfuns
6827
6828 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * tabular.C:
6831         * buffer.[Ch]: remove NO_COMPABILITY stuff
6832
6833 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * boost.C (throw_exception): new file, with helper function for
6836         boost compiled without exceptions.
6837
6838         * paragraph.h:
6839         * lyxlength.C:
6840         * buffer.C:
6841         * ParameterStruct.h:
6842         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6843
6844         * bufferlist.C (emergencyWriteAll): use boost bind
6845
6846         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6847
6848         * text.C: include paragraph_funcs.h
6849         (breakParagraph): breakParagraph is now in global scope
6850
6851         * paragraph_funcs.[Ch]: new files
6852
6853         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6854         global scope
6855
6856         * buffer.C: include paragraph_funcs.h
6857         (insertStringAsLines): breakParagraph is now in global scope
6858
6859         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6860         paragraph_funcs.C
6861
6862         * CutAndPaste.C: include paragraph_funcs.h
6863         (cutSelection): breakParagraphConservative is now in global scope
6864         (pasteSelection): ditto
6865
6866         * buffer.h: declare oprator== and operator!= for
6867         Buffer::inset_iterator
6868
6869         * bufferlist.C (emergencyWrite): don't use fmt(...)
6870
6871         * text3.C: add using std::endl
6872
6873         * BufferView.C (moveCursorUpdate): remove default arg
6874
6875 2002-08-20  André Pönitz <poenitz@gmx.net>
6876
6877         * buffer.[Ch]: move inline functions to .C
6878
6879         * BufferView2.C:
6880         * BufferView_pimpl.C:
6881         * text.C:
6882         * buffer.[Ch]: use improved inset_iterator
6883
6884         * buffer.C:
6885         * paragraph.[Ch]: write one paragraph at a time
6886
6887 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6888
6889         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6890         style if style is not specified.
6891
6892 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6893
6894         * text2.C (setCounter): when searching for right label for a
6895         caption, make sure to recurse to parent insets (so that a caption
6896         in a minipage in a figure float works) (bug #568)
6897
6898 2002-08-20  André Pönitz <poenitz@gmx.net>
6899
6900         * text3.C: new file for LyXText::dispatch() and helpers
6901
6902         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6903
6904         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6905
6906 2002-08-19  André Pönitz <poenitz@gmx.net>
6907
6908         * lyxtext.h:
6909         * text.C: new LyXText::dispatch()
6910
6911         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6912
6913 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6914
6915         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6916
6917         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6918         Hebrew text.
6919
6920 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6921
6922         * Makefile.am: use $(variables) instead of @substitutions@
6923
6924 2002-08-15  André Pönitz <poenitz@gmx.net>
6925
6926         * lyxfunc.C:
6927         * BufferView_pimpl.C: streamlining mathed <-> outer world
6928         interaction
6929
6930         * commandtags.h:
6931         * LyXAction.C: remove unused LFUN_MATH
6932
6933 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6936
6937 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * paragraph.C (Paragraph): reformat a bit
6940         (cutIntoMinibuffer): use builtin InsetList function instad of
6941         doing it manually.
6942         (getInset): ditto
6943
6944         * buffer.C: include boost/bind.hpp, add using std::for_each
6945         (writeFileAscii): use ParagraphList iterators
6946         (validate): use for_each for validate traversal of paragraphs
6947         (getBibkeyList): use ParagraphList iterators
6948         (resizeInsets): use for_each to resizeInsetsLyXText for all
6949         paragraphs.
6950         (getParFromID): use ParagraphList iterators
6951
6952         * BufferView2.C (lockInset): use paragraph list and iterators
6953
6954 2002-08-14  John Levon  <levon@movementarian.org>
6955
6956         * lyxserver.C: remove spurious xforms include
6957
6958 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6959
6960         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6961
6962 2002-08-13  André Pönitz <poenitz@gmx.net>
6963
6964         * LyXAction.[Ch]:
6965         * lyxfunc.C: further cleaning
6966
6967 2002-08-13  André Pönitz <poenitz@gmx.net>
6968
6969         * funcrequest.h: new constructor
6970
6971         * funcrequest.C: move stuff here from .h
6972
6973         * Makefile.am:
6974         * BufferView_pimpl.C:
6975         * LyXAction.C:
6976         * toc.C:
6977         * lyxfunc.C: subsequent changes
6978
6979         * lyxfunc.h: new view() member function
6980
6981         * lyxfunc.C: subsequent changes
6982
6983 2002-08-13  Angus Leeming  <leeming@lyx.org>
6984
6985         * BufferView2.C:
6986         * BufferView_pimpl.C:
6987         * buffer.C:
6988         * converter.C:
6989         * importer.C:
6990         * lyxfunc.C:
6991         * lyxvc.C:
6992         * toc.C:
6993         * vc-backend.C:
6994         changes due to the changed LyXView interface that now returns references
6995         to member variables not pointers.
6996
6997 2002-08-13  Angus Leeming  <leeming@lyx.org>
6998
6999         * WordLangTuple (word, lang_code): return references to strings,
7000         not strings.
7001
7002         * BufferView.h:
7003         * SpellBase.h:
7004         * lyxtext.h: forward-declare WordLangTuple.
7005
7006         * BufferView2.C:
7007         * ispell.C:
7008         * pspell.C:
7009         * text.C: #include "WordLangTuple.h".
7010
7011         * lyxtext.h:
7012         * text.C: (selectNextWordToSpellcheck): constify return type.
7013
7014 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7015
7016         * buffer.C:
7017         * buffer.h:
7018         * lyxtext.h:
7019         * paragraph.C:
7020         * paragraph_pimpl.h:
7021         * text.C:
7022         * text2.C:
7023         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7024         suggested by Angus.
7025         Made updateCounter always count from start of buffer, and removed
7026         second argument (par).
7027         Reverted floats number display to '#'. Perhaps I'll try again when the
7028         code base is sanitized a bit.
7029
7030 2002-08-12  Angus Leeming  <leeming@lyx.org>
7031
7032         * buffer.[Ch] (getLabelList): constify.
7033
7034 2002-08-07  André Pönitz <poenitz@gmx.net>
7035
7036         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7037
7038         * funcrequest.h: extension to keep mouse (x,y) position
7039
7040 2002-08-12  Juergen Vigna  <jug@sad.it>
7041
7042         * BufferView2.C (insertErrors): forbid undo when inserting error
7043         insets.
7044
7045         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7046
7047 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * ParagraphList.[Ch]: new files
7050
7051         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7052
7053         * BufferView2.C (lockInset): ParagraphList changes
7054         * toc.C: ditto
7055         * text2.C: ditto
7056         * bufferlist.C: ditto
7057         * buffer.h: ditto
7058         * buffer.C: ditto
7059
7060 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7063         unused class variable counter_,
7064
7065         * paragraph.[Ch] (getFirstCounter): delete unused function
7066
7067         * counters.C: include LAssert.h
7068         (reset): add a new function with no arg, change other version to
7069         not have def. arg and to not allow empty arg.
7070
7071         * text2.C (setCounter): remove empty arg from call to Counters::reset
7072
7073 2002-08-11  John Levon  <levon@movementarian.org>
7074
7075         * Makefile.am: add WordLangTuple.h
7076
7077 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7080         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7081
7082         * insets/insettext.C: InsetList changes
7083
7084         * graphics/GraphicsSupport.C (operator()): InsetList changes
7085
7086         * toc.C (getTocList): InsetList changes
7087
7088         * paragraph_pimpl.[Ch]: InsetList changes
7089
7090         * paragraph.[Ch]: InsetList changes
7091
7092         * buffer.C (inset_iterator): InsetList changes
7093         (setParagraph): ditto
7094         * buffer.h (inset_iterator): ditto
7095         * iterators.C (operator++): ditto
7096         * iterators.h: ditto
7097
7098         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7099
7100         * InsetList.[Ch]: new files, most InsetList handling moved out of
7101         paragraph.C.
7102
7103         * BufferView2.C (removeAutoInsets): InsetList changes
7104         (lockInset): ditto
7105         (ChangeInsets): ditto
7106
7107 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * paragraph_pimpl.h (empty): new function
7110
7111         * paragraph.[Ch] (empty): new function
7112
7113         * other files: use the new Paragraph::empty function
7114
7115 2002-08-09  John Levon  <levon@movementarian.org>
7116
7117         * lyxtext.h: remove unused refresh_height
7118
7119 2002-08-09  John Levon  <levon@movementarian.org>
7120
7121         * Makefile.am:
7122         * sgml.h:
7123         * sgml.C:
7124         * buffer.C:
7125         * paragraph.h:
7126         * paragraph.C: move sgml char escaping out of paragraph
7127
7128         * paragraph.h:
7129         * paragraph.C: remove id setter
7130
7131         * buffer.C:
7132         * paragraph.C:
7133         * paragraph_pimpl.C: remove dead tex_code_break_column
7134
7135         * bufferview_funcs.C: small cleanup
7136
7137         * lyxfunc.C: remove dead proto
7138
7139         * lyxtext.h: make some stuff private. Remove some dead stuff.
7140
7141         * lyxgluelength.C: make as[LyX]String() readable
7142
7143 2002-08-08  John Levon  <levon@movementarian.org>
7144
7145         * LyXAction.h:
7146         * LyXAction.C:
7147         * MenuBackend.C:
7148         * ToolbarDefaults.C:
7149         * lyxfunc.C:
7150         * lyxrc.C:
7151         * toc.C: lyxaction cleanup
7152
7153 2002-08-08  John Levon  <levon@movementarian.org>
7154
7155         * BufferView2.C: small cleanup
7156
7157         * lyxfind.h:
7158         * lyxfind.C: move unnecessary header into the .C
7159
7160 2002-08-08  John Levon  <levon@movementarian.org>
7161
7162         * funcrequest.h: just tedious nonsense
7163
7164         * lyx_main.h:
7165         * lyx_main.C: cleanups
7166
7167         * buffer.C:
7168         * vspace.C: remove dead header lyx_main.h
7169
7170 2002-08-07  Angus Leeming  <leeming@lyx.org>
7171
7172         * Paragraph.[Ch]:
7173         * paragraph_pimpl.h:
7174         Forward declare class Counters in paragraph.h by moving the ctrs member
7175         variable into Paragraph::Pimpl.
7176         (counters): new method, returning a reference to pimpl_->ctrs.
7177
7178         * text2.C: ensuing changes.
7179
7180 2002-08-07  John Levon  <levon@movementarian.org>
7181
7182         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7183
7184         * BufferView_pimpl.C: announce X selection on double/triple
7185           click
7186
7187         * lyx_main.C: use correct bool in batch dispatch
7188
7189         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7190
7191 2002-08-07  André Pönitz <poenitz@gmx.net>
7192
7193         * funcrequest.h: new class to wrap a kb_action and its argument
7194
7195         * BufferView.[Ch]:
7196         * BufferView_pimpl[Ch]:
7197         * LaTeX.C:
7198         * LyXAction.[Ch]:
7199         * lyxfunc.[Ch]:
7200         * lyxrc.C: subsequent changes
7201
7202
7203 2002-08-07  John Levon  <levon@movementarian.org>
7204
7205         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7206           document options change.
7207
7208 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7209
7210         * counters.[Ch]
7211         * text2.C
7212         * paragraph.[Ch]
7213         * makefile.am: move counters functionality over from
7214         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7215
7216 2002-08-06  John Levon  <levon@movementarian.org>
7217
7218         * WordLangTuple.h: new file for word + language code tuple
7219
7220         * SpellBase.h:
7221         * pspell.h:
7222         * pspell.C:
7223         * ispell.h:
7224         * ispell.C:
7225         * lyxtext.h:
7226         * text.C:
7227         * text2.C:
7228         * BufferView.h:
7229         * BufferView2.C: use WordLangTuple
7230
7231         * layout.h:
7232         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7233
7234 2002-08-06  John Levon  <levon@movementarian.org>
7235
7236         * lyx_main.C: fix cmdline batch handling
7237
7238 2002-08-06  André Pönitz <poenitz@gmx.net>
7239
7240         * lyxrc.C: set default for show_banner to true
7241
7242 2002-08-06  John Levon  <levon@movementarian.org>
7243
7244         * pspell.C: fix a crash, and allow new aspell to work
7245
7246 2002-08-06  John Levon  <levon@movementarian.org>
7247
7248         * lyxfunc.C:
7249         * kbmap.C: small cleanup
7250
7251         * vspace.h:
7252         * vspace.C: add const
7253
7254 2002-08-05  John Levon  <levon@movementarian.org>
7255
7256         * LyXAction.C: back to tabular-insert
7257
7258 2002-08-04  John Levon  <levon@movementarian.org>
7259
7260         * BufferView.h:
7261         * BufferView.C: cosmetic change
7262
7263         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7264
7265         * bufferlist.C:
7266         * buffer.h:
7267         * buffer.C:
7268         * lyxcb.h:
7269         * lyxcb.C:
7270         * lyxserver.C:
7271         * lyxvc.C:
7272         * vc-backend.C:
7273         * BufferView2.C: purge all "Lyx" not "LyX" strings
7274
7275         * lyxcursor.h:
7276         * lyxcursor.C: attempt to add some documentation
7277
7278         * lyxfunc.C:
7279         * commandtags.h:
7280         * LyXAction.C:
7281         * ToolbarDefaults.C:
7282         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7283           merge with LFUN_TABULAR_INSERT
7284
7285         * Makefile.am:
7286         * SpellBase.h:
7287         * ispell.h:
7288         * ispell.C:
7289         * pspell.h:
7290         * pspell.C: split up i/pspell implementations into separate
7291           files, many cleanups
7292
7293         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7294
7295         * text2.C: some cleanup
7296
7297         * lyxfunc.C: don't check for isp_command == "none" any more, it
7298           didn't make any sense
7299
7300 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7301
7302         * counters.[Ch]
7303         * text2.C
7304         * paragraph.[Ch]
7305         * makefile.am: move counters functionality over
7306         from text2.C/paragraph.[Ch] to counters.[Ch], and
7307         make proper C++.
7308 2002-08-02  John Levon  <levon@movementarian.org>
7309
7310         * buffer.C: s/lyxconvert/lyx2lyx/
7311
7312 2002-08-02  Angus Leeming  <leeming@lyx.org>
7313
7314         * lyxlex.C: revert John's change as it breaks reading of the user
7315         preamble.
7316
7317 2002-08-02  Angus Leeming  <leeming@lyx.org>
7318
7319         * importer.C (Import):
7320         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7321         changes due to LyXView::view() now returning a boost::shared_ptr.
7322
7323 2002-08-02  John Levon  <levon@movementarian.org>
7324
7325         * lyxlex.C: small cleanup
7326
7327 2002-08-02  John Levon  <levon@movementarian.org>
7328
7329         * text2.C (status): small cleanup, no logic change
7330
7331 2002-08-01  John Levon  <levon@movementarian.org>
7332
7333         * buffer.h:
7334         * buffer.C (writeFile): don't output alerts, caller
7335           handles this
7336
7337         * bufferlist.C:
7338         * lyx_cb.C: from above
7339
7340         * lyxfunc.C: allow to open non-existent files
7341
7342 2002-07-31  John Levon  <levon@movementarian.org>
7343
7344         * lyxserver.C: don't let incidental errors get
7345           in the way (errno)
7346
7347 2002-07-30  John Levon  <levon@movementarian.org>
7348
7349         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7350
7351 2002-07-30  John Levon  <levon@movementarian.org>
7352
7353         * lyxserver.h:
7354         * lyxserver.C: remove I/O callback too
7355
7356 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7357
7358         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7359         log.
7360
7361 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * many files: strip,frontStrip -> trim,ltrim,rtrim
7364
7365 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * PrinterParams.h: remove extern containsOnly, and include
7368         support/lstrings.h instead.
7369
7370         * LaTeX.C (scanAuxFile): modify because of strip changes
7371         (deplog): ditto
7372         * buffer.C (makeLaTeXFile): ditto
7373         * bufferparams.C (writeFile): ditt
7374         * lyxfont.C (stateText): ditto
7375         * lyxserver.C (read_ready): ditto
7376         * vc-backend.C (scanMaster): ditto
7377
7378         * BufferView_pimpl.h: ws changes
7379
7380         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7381
7382 2002-07-26  André Pönitz <poenitz@gmx.net>
7383
7384         * kb_sequence.C: remove unnedred usings
7385
7386 2002-07-26  Juergen Vigna  <jug@sad.it>
7387
7388         * lyxfind.C (LyXReplace): we have to check better if the returned
7389         text is not of theLockingInset()->getLockingInset().
7390
7391 2002-07-25  Juergen Vigna  <jug@sad.it>
7392
7393         * lyxfind.C (LyXReplace): don't replace if we don't get the
7394         right LyXText.
7395
7396         * undo_funcs.C (createUndo): remove debugging code.
7397
7398 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7399
7400         * buffer.C (parseSingleLyXformat2Token): Use default placement
7401         when reading old floats.
7402
7403         * FloatList.C (FloatList): Change the default placement of figure
7404         and tables to "tbp".
7405
7406 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7407
7408         * MenuBackend.C: using std::max
7409
7410 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * MenuBackend.C (expandToc):
7413         (expandToc2): code moved from xforms menu frontend. It is now
7414         generic and TOCs are transparent to menu frontends.
7415
7416 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7417
7418         * toc.C (getTocList): protect against buf=0
7419
7420         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7421         Menu as first parameter. Now, this calls itself recursively to
7422         expand a whole tree (this will be useful for TOC handling)
7423         (expandFloatInsert): remove 'wide' version of floats
7424
7425         * MenuBackend.h (submenuname): returns the name of the submenu.
7426         (submenu): returns the submenu itself, provided it has been
7427         created by MenuBackend::expand
7428
7429 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7430
7431         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7432         insets which have noFontChange == true. (bug #172)
7433
7434 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7435
7436         * BufferView_pimpl.C: add connection objects and use them...
7437         (Pimpl): here.
7438
7439 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * MenuBackend.C (expandLastfiles):
7442         (expandDocuments):
7443         (expandFormats):
7444         (expandFloatListInsert):
7445         (expandFloatInsert):
7446         (expand): split expand in parts
7447
7448 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7449
7450         * lyx_gui.C: use lyx_gui::exit()
7451
7452 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7453
7454         * LyXAction.C: show the failing pseudo action
7455
7456 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7457
7458         * buffer.C (readFile): Run the lyxconvert script in order to read
7459         old files.
7460
7461 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * LyXAction.C:
7464         * commandtags.h:
7465         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7466
7467 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7468
7469         * LyXAction.C:
7470         * commandtags.h:
7471         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7472
7473 2002-07-22  Herbert Voss  <voss@lyx.org>
7474
7475         * lengthcommon.C:
7476         * lyxlength.[Ch]: add support for the vertical lengths
7477
7478 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7479
7480         * toc.[Ch]: std:: fixes
7481
7482 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7483
7484         * lyxrc.C: do not include lyx_main.h
7485
7486         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7487         for layouts
7488
7489         * lyxrc.C:
7490         * encoding.C:
7491         * bufferlist.C:
7492         * BufferView2.C: include "lyxlex.h"
7493
7494         * tabular.h:
7495         * bufferparams.h: do not #include "lyxlex.h"
7496
7497         * lyxtextclasslist.C (Add): remove method
7498         (classlist): renamed to classlist_
7499
7500         * paragraph_pimpl.C:
7501         * paragraph.C:
7502         * text2.C:
7503         * CutAndPaste.C:
7504         * bufferview_funcs.C:
7505         * bufferlist.C:
7506         * text.C:
7507         * LaTeXFeatures.C:
7508         * buffer.C:
7509         * toc.C (getTocList): use BufferParams::getLyXTextClass
7510
7511         * toc.C (getTocList): use InsetFloat::addToToc
7512
7513         * toc.[Ch]: new files, containing helper functions to handle table
7514         of contents
7515
7516         * lyxfunc.C (dispatch): no need to remove spaces around command
7517         given as a string
7518         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7519         first command of the sequence; it is not very clever, but I do not
7520         have a better idea, actually
7521
7522         * LyXAction.C (LookupFunc): make sure to remove space at the
7523         beginning and end of the command
7524
7525 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7526
7527         * MenuBackend.C (getMenubar): new method: return the menubar of
7528         this menu set
7529         (read): treat differently reading of menu and menubar (in
7530         particular, the menubar has no name now)
7531         (Menu::menubar): remove
7532
7533         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7534         saving is finished
7535
7536 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7537
7538         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7539         a bibitem inset in a RTL paragraph.
7540
7541 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * paragraph_pimpl.C: constify
7544
7545         * BufferView_pimpl.C:
7546         * LaTeX.C:
7547         * lyxfunc.C: fix dispatch in a nicer way
7548
7549 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7550
7551         * lyxfunc.C (dispatch):
7552         * BufferView_pimpl.C:
7553         * BufferView_pimpl.h:
7554         * BufferView.C:
7555         * BufferView.h: rename Dispatch() to dispatch()
7556
7557         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7558
7559         * lyxlayout.C (Read): honor DependsOn tag
7560
7561         * lyxlayout.[Ch] (depends_on): new method
7562
7563         * version.C.in: update lyx_docversion
7564
7565         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7566
7567         * paragraph.C (validate): remove from here...
7568         * paragraph_pimpl.C (validate): ... and move here
7569         (isTextAt): make it const
7570
7571         * buffer.C (getLists): ws cleanup
7572
7573 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7574
7575         * language.C (read): Use iso8859-1 encoding in latex_lang
7576         (this prevents LyX from crashing when using iso10646-1 encoding).
7577
7578 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7579
7580         * text2.C (toggleInset): if cursor is inside an inset, close the
7581         inset and leave cursor _after_ it
7582
7583 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7584
7585         * lyxfunc.C: move minibuffer completion handling out of here
7586
7587 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7588
7589         * BufferView_pimpl.C:
7590         * LaTeX.C: fix dispatch calls
7591
7592 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7593
7594         * text.C (drawChars): Fix Arabic text rendering.
7595
7596 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7597
7598         * LyXAction.C:
7599         * commandtags.h:
7600         * lyxfunc.C: remove message-push/pop
7601
7602         * lyxserver.C:
7603         * lyxfunc.h:
7604         * lyxfunc.C: rationalise some code by removing verboseDispatch
7605           in favour of a bool argument to dispatch()
7606
7607 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7608
7609         * lyx_main.C (init): make sure to read symlinks as absolute paths
7610
7611 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7612
7613         * lyxfunc.h:
7614         * lyxfunc.C: no need for commandshortcut to be a member
7615
7616 2002-07-15  André Pönitz <poenitz@gmx.net>
7617
7618         * converter.C: add support for $$s (scripts from lib/scripts dir)
7619         * lyx_main.C: white space
7620
7621 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * bufferlist.C:
7624         * lyxrc.h:
7625         * lyxrc.C: remove second exit confirmation
7626
7627 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7628
7629         * BufferView.h:
7630         * BufferView.C:
7631         * BufferView2.C:
7632         * BufferView_pimpl.h:
7633         * BufferView_pimpl.C:
7634         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7635
7636 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * MenuBackend.C (expand): add numeric shortcuts to document menu
7639
7640         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7641
7642 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7643
7644         * lyxfont.C (setLyXFamily):
7645         (setLyXSeries):
7646         (setLyXShape):
7647         (setLyXSize):
7648         (setLyXMisc):
7649         (lyxRead):
7650         * debug.C (value):
7651         * buffer.C (asciiParagraph): use ascii_lowercase
7652
7653 2002-07-15  Mike Fabian  <mfabian@suse.de>
7654
7655         * lyxlex_pimpl.C (search_kw):
7656         * lyxlex.C (getLongString):
7657         * converter.h (operator<):
7658         * converter.C (operator<):
7659         * buffer.C (parseSingleLyXformat2Token):
7660         (asciiParagraph):
7661         * ToolbarDefaults.C (read):
7662         * MenuBackend.C (checkShortcuts):
7663         (read):
7664         * LColor.C (getFromGUIName):
7665         (getFromLyXName): use the compare_ascii_no_case instead of
7666         compare_no_case, because in turkish, 'i' is not the lowercase
7667         version of 'I', and thus turkish locale breaks parsing of tags.
7668
7669 2002-07-16  Angus Leeming  <leeming@lyx.org>
7670
7671         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7672         now takes a Buffer const & argument.
7673
7674 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7675
7676         * BufferView.C (resize): check there's a buffer to resize
7677
7678 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7679
7680         * lyxfunc.C: remove dead code
7681
7682         * lyxserver.h:
7683         * lyxserver.C: use lyx_guii::set_read_callback
7684
7685 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7686
7687         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7688         an inset in a RTL paragraph.
7689
7690 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7691
7692         * lyxfunc.C: repaint after a font size update
7693
7694 2002-07-15  André Pönitz <poenitz@gmx.net>
7695
7696         * lyxlength.C: inBP should be able to return negative values
7697
7698 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7699
7700         * lyxfunc.C: use lyx_gui::update_fonts()
7701
7702 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7703
7704         * lyxfunc.C: use lyx_gui::update_color()
7705
7706 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7707
7708         * bufferlist.C:
7709         * lyxfunc.h:
7710         * lyxfunc.C:
7711         * lyxrc.h:
7712         * lyxrc.C: remove file->new asks for name option, and let
7713           buffer-new take an argument
7714
7715 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7716
7717         * BufferView_pimpl.C: remove unneeded extra repaint()
7718
7719 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7720
7721         * LyXAction.C: allow command-sequence with NoBuffer
7722
7723         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7724
7725 2002-07-10  Angus Leeming  <leeming@lyx.org>
7726
7727         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7728
7729 2002-07-09  Angus Leeming  <leeming@lyx.org>
7730
7731         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7732
7733 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7734
7735         * lengthcommon.h: whitespace
7736
7737         * lyxfunc.C: update scrollbar after goto paragraph
7738
7739         * lyxtext.h: factor out page break drawing, and fix it so
7740           page break/added space paints as selected nicely
7741
7742 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7743
7744         * BufferView_pimpl.C: add FIXMEs, clean up a little
7745
7746 2002-07-09  André Pönitz <poenitz@gmx.net>
7747
7748         * lyxfont.[Ch]: support for wasy symbols
7749
7750 2002-07-08  André Pönitz <poenitz@gmx.net>
7751
7752         * BufferView_pimpl.C: apply John's patch for #93.
7753
7754 2002-07-05  Angus Leeming  <leeming@lyx.org>
7755
7756         * BufferView_pimpl.C (buffer): generate previews if desired.
7757
7758         * LColor.h: add "preview" to the color enum.
7759
7760         * LColor.C (LColor): add a corresponding entry to the items array.
7761
7762         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7763         with this buffer.
7764
7765 2002-07-05  Angus Leeming  <leeming@lyx.org>
7766
7767         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7768         The body of the code is now in the method that is passed an ostream &
7769         rather than a file name.
7770         Pass an additional only_preamble parameter, useful for the forthcoming
7771         preview stuff.
7772
7773 2002-07-03  André Pönitz <poenitz@gmx.net>
7774
7775         * lyxfunc.C: simplify getStatus() a bit for math stuff
7776
7777 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7778
7779         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7780
7781 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7782
7783         * text.C (changeRegionCase): do not change case of all the
7784         document when region ends at paragraph end (bug #461)
7785
7786 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7787
7788         * paragraph.C (startTeXParParams):
7789         (endTeXParParams): add \protect when necessary
7790
7791 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7792
7793         * BufferView_pimpl.C (workAreaExpose): remove warning
7794
7795 2002-06-27  Angus Leeming  <leeming@lyx.org>
7796
7797         * Makefile.am: add lyxlayout_ptr_fwd.h.
7798
7799 2002-06-26  André Pönitz <poenitz@gmx.net>
7800
7801         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7802
7803 2002-06-25  Angus Leeming  <leeming@lyx.org>
7804
7805         * lyxfunc.C (dispatch): Comment out the call to
7806         grfx::GCache::changeDisplay. The method no longer exists now that the
7807         pixmap generation part of the graphics loader has been moved into
7808         InsetGraphics.
7809
7810 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7811
7812         * text2.C: layout as layout
7813
7814         * text.C: layout as layout
7815
7816         * tabular.C (OldFormatRead): layout as layout
7817
7818         * paragraph_pimpl.C (TeXDeeper): layout as layout
7819         (realizeFont): layout as layout
7820
7821         * paragraph.C (writeFile): layout as layout
7822         (validate): layout as layout
7823         (getFont): layout as layout
7824         (getLabelFont): layout as layout
7825         (getLayoutFont): layout as layout
7826         (breakParagraph): layout as layout
7827         (stripLeadingSpaces): layout as layout
7828         (getEndLabel): layout as layout
7829         (getMaxDepthAfter): layout as layout
7830         (applyLayout): layout as layout
7831         (TeXOnePar): layout as layout
7832         (simpleTeXOnePar): layout as layout
7833         (TeXEnvironment): layout as layout
7834         (layout): layout as layout
7835         (layout): layout as layout
7836
7837         * lyxtextclass.C (compare_name): new functor to work with
7838         shared_ptr, layout as layout
7839         (Read): layout as layout
7840         (hasLayout): layout as layout
7841         (operator): layout as layout
7842         (delete_layout): layout as layout
7843         (defaultLayout): layout as layout
7844
7845         * lyxlayout_ptr_fwd.h: new file
7846
7847         * lyxlayout.C (Read): layout as layout
7848
7849         * lyx_cb.C (MenuInsertLabel): layout as layout
7850
7851         * bufferlist.C (newFile): layout as layout
7852
7853         * buffer.C (readLyXformat2): layout as layout
7854         (parseSingleLyXformat2Token): layout as layout
7855         (insertStringAsLines): layout as layout
7856         (asciiParagraph): layout as layout
7857         (latexParagraphs): layout as layout
7858         (makeLinuxDocFile): layout as layout
7859         (simpleLinuxDocOnePar): layout as layout
7860         (makeDocBookFile): layout as layout
7861         (simpleDocBookOnePar): layout as layout
7862         (getLists): layout as layout
7863
7864         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7865
7866         * CutAndPaste.C (cutSelection): layout as layout
7867         (pasteSelection): layout as layout
7868         (SwitchLayoutsBetweenClasses): layout as layout
7869
7870         * BufferView_pimpl.C (Dispatch): layout as layout
7871         (smartQuote): layout as layout
7872
7873         * BufferView2.C (unlockInset): layout as layout
7874
7875 2002-06-24  André Pönitz <poenitz@gmx.net>
7876
7877         * lyxfunc.C: fix #487
7878
7879 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * lyxrc.h:
7882         * lyxrc.C:
7883         * lyxfunc.C: remove display_shortcuts, show_banner
7884
7885 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7886
7887         * Buffer_pimpl.C: oops, update on resize
7888
7889 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7890
7891         * buffer.C:
7892         * converter.C:
7893         * exporter.C:
7894         * lyxfunc.C:
7895         * BufferView.h:
7896         * BufferView.C: use repaint()
7897
7898         * BufferView_pimpl.h:
7899         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7900           as it's a clearer description. Remove superfluous
7901           redraws.
7902
7903 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7904
7905         * text.C: fix bug 488. Not ideal, but getting
7906           getWord() to work properly for the insets that
7907           matter is more difficult ...
7908
7909 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7910
7911         * BufferView_pimpl.C:
7912         * LyXAction.C:
7913         * commandtags.h:
7914         * lyxfunc.C: remove the six million index lyxfuncs to just
7915           one, and DTRT (bug 458)
7916
7917 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7918
7919         * BufferView.h:
7920         * BufferView.C:
7921         * BufferView_pimpl.h:
7922         * BufferView_pimpl.C: clean up resize() stuff,
7923           and unnecessary updateScreen()s
7924
7925 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * BufferView.h:
7928         * BufferView.C:
7929         * BufferView_pimpl.h:
7930         * BufferView_pimpl.C:
7931         * lyxfind.h:
7932         * lyxfind.C:
7933         * minibuffer.C: remove focus management of workarea,
7934           not needed. Use screen's greyOut()
7935
7936 2002-06-17  Herbert Voss  <voss@lyx.org>
7937
7938         * converter.C: (convert) do not post a message, when converting
7939         fails, let the calling function decide what to do in this case
7940
7941 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7942
7943         * lyxfunc.C: tidy up a little
7944
7945 2002-06-16    <alstrup@diku.dk>
7946
7947         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7948         Got rid of FORMS_H_LOCATION include. Now we are
7949         GUII.
7950
7951 2002-06-15  LyX Development team  <lyx@rilke>
7952
7953         * buffer.[Ch] (sgmlOpenTag):
7954         (sgmlCloseTag): Added support for avoiding pernicious mixed
7955         content. Return number of lines written.
7956
7957         (makeLinuxDocFile):
7958         (makeDocBookFile): Fixed calls to sgml*Tag.
7959         Simple white space clean.
7960
7961         (simpleDocBookOnePar): Simple white space clean.
7962
7963         * tabular.[Ch] (docBook): Renamed to docbook and got another
7964         argument to related with the pernicious mixed content.
7965
7966         (docbookRow): Fixed calls for docbook inset method.
7967
7968 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7969
7970         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7971         so it's X11 independent.
7972
7973         * kb*.[Ch]: ditto.
7974
7975         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7976
7977 2002-06-15  Lyx Development team  <lyx@electronia>
7978
7979         * intl.h: Renamed getTrans to getTransManager.
7980
7981 2002-06-14  Angus Leeming  <leeming@lyx.org>
7982
7983         * Makefile.am: nuke forgotten stl_string_fwd.h.
7984
7985 2002-06-12  Angus Leeming  <leeming@lyx.org>
7986
7987         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7988
7989 2002-06-13  Angus Leeming  <leeming@lyx.org>
7990
7991         * LaTeX.C:
7992         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7993
7994 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7995
7996         * kbmap.C (getiso): add support for cyrillic and greek
7997
7998 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7999
8000         * BufferView.h:
8001         * BufferView.C:
8002         * BufferView_pimpl.h:
8003         * BufferView_pimpl.C: move bogus scrolling logic
8004           to xforms
8005
8006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8007
8008         * lyxfunc.C:
8009         * BufferView_pimpl.C: view->resize() change
8010
8011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8012
8013         * BufferView_pimpl.C: topCursorVisible
8014           prototype change
8015
8016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * Makefile.am:
8019         * lyx_gui.h:
8020         * lyx_gui.C: move to frontends/
8021
8022         * main.C:
8023         * lyx_main.h:
8024         * lyx_main.C: changes from above
8025
8026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * intl.C:
8029         * intl.h:
8030         * kbmap.C:
8031         * kbsequence.C:
8032         * lyx_cb.C:
8033         * lyx_main.C: minor tidy
8034
8035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8036
8037         * BufferView_pimpl.h:
8038         * BufferView_pimpl.C:
8039         * BufferView.h:
8040         * BufferView.C: make painter() const,
8041           remove dead code
8042
8043         * BufferView2.C: use screen() accessor
8044
8045         * lyx_main.h:
8046         * lyx_main.C: some minor cleanup
8047
8048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * BufferView_pimpl.h:
8051         * BufferView_pimpl.C: remove enter/leaveView,
8052           use workHeight()
8053
8054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * BufferView.h:
8057         * BufferView.C:
8058         * BufferView2.C:
8059         * BufferView_pimpl.h:
8060         * BufferView_pimpl.C: only construct screen once,
8061           rename
8062
8063         * lyxrc.C: remove pointless comment
8064
8065 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8066
8067         * BufferView.h:
8068         * BufferView.C: remove active() and belowMouse()
8069
8070         * BufferView_pimpl.h:
8071         * BufferView_pimpl.C: use workarea() not workarea_,
8072           and make it use a scoped_ptr instead
8073
8074 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * lyx_gui.C: add debug message on BadWindow
8077
8078 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8079
8080         * sp_spell.C: fdopen is not part of the C++ standard.
8081
8082         * paragraph.C (InsetIterator): use >= instead of ==
8083
8084 2002-06-07  Angus Leeming  <leeming@lyx.org>
8085
8086         Fixes needed to compile with Compaq cxx 6.5.
8087         * BufferView_pimpl.C:
8088         * DepTable.C:
8089         * buffer.C:
8090         * converter.C:
8091         * encoding.C:
8092         * lyx_gui.C:
8093         * lyx_main.C:
8094         * lyxtextclasslist.C:
8095         * minibuffer.C:
8096         * sp_spell.C:
8097         * tabular_funcs.C:
8098         * vc-backend.C:
8099         all c-library variables have been moved into namespace std. Wrap
8100         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8101
8102         * lyxlength.C:
8103         * tabular-old.C:
8104         * tabular.C:
8105         Add a using std::abs declaration.
8106
8107         * kbmap.h (modifier_pair):
8108         * paragraph.h (InsetTable, InsetList):
8109         * lyxfont.h (FontBits):
8110         type definition made public.
8111
8112         * bufferlist.C (emergencyWriteAll): the compiler complains that
8113         there is more than one possible lyx::class_fun template to choose from.
8114         I re-named the void specialisation as lyx::void_class_fun.
8115
8116         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8117
8118         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8119         the compiler is is unable to find tostr in write_attribute.
8120
8121 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8122
8123         * buffer.C (sgmlError): hide #warning
8124
8125 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8126
8127         * xtl/*: get rid of xtl, which is not in use anyway
8128
8129         * LyXAction.C (init):
8130         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8131         were unimplemented xtl experimentation
8132
8133 2002-06-04  André Pönitz <poenitz@gmx.net>
8134
8135         * lyxfunc.C: disable array operation on simple formulae
8136
8137 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8138
8139         * converter.C: constify a bit
8140
8141 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * lyx_gui.C: check xforms version correctly
8144
8145 2002-04-30  Herbert Voss  <voss@lyx.org>
8146
8147         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8148         "keep" option
8149
8150 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8151
8152         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8153           attempt to register it with a VCS)
8154
8155 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8156
8157         * lyx_main.C (init): honor variables LYX_DIR_13x and
8158         LYX_USERDIR_13x
8159
8160 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8161
8162         * buffer.h:
8163         * buffer.C:
8164         * lyx_main.C: fix a crash on bad command line,
8165           and give a useful exit status on error
8166
8167         * lyxfunc.C (doImport): allow -i lyx to work
8168
8169 2002-03-30  André Pönitz <poenitz@gmx.net>
8170
8171         * lyxfunc.C: mathed font changes
8172
8173 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * LaTeX.C:
8176         * importer.h:
8177         * importer.C:
8178         * lyx_sty.h:
8179         * lyx_sty.C:
8180         * lyxlex.C:
8181         * lyxrow.h:
8182         * lyxtext.h:
8183         * paragraph.h:
8184         * paragraph.C:
8185         * texrow.h:
8186         * texrow.C:
8187         * text.C:
8188         * trans_mgr.h: srcdocs, and some minor cleanups
8189
8190 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8191
8192         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8193         call getFont all the time)
8194
8195 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8196
8197         * switch from SigC signals to boost::signals
8198
8199 2002-05-29  André Pönitz <poenitz@gmx.net>
8200
8201         * paragraph_pimpl.C (getChar): don't call size() too often...
8202
8203 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8204
8205         * paragraph_pimpl.C (insertChar): do not try to update tables when
8206         appending (pos == size())
8207
8208         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8209         in order to reduce drastically the number of comparisons needed to
8210         parse a large document
8211
8212 2002-05-29  André Pönitz <poenitz@gmx.net>
8213
8214         * text.C:
8215         * text2.C:
8216         * lyxtextclass.C:
8217         * sp_pspell.h:
8218         * textclasslist.[Ch]:
8219         * sp_ispell.h: whitespace change
8220
8221 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8222
8223         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8224         lyxaction directly now.
8225
8226 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * trans.C:
8229         * lyxfont.C:
8230         * lyxvc.C: remove unused headers
8231
8232 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * Makefile.am:
8235         * buffer.h:
8236         * undostack.h:
8237         * undostack.C:
8238         * undo_funcs.h:
8239         * undo_funcs.C: some cleanups. Use shared_ptr
8240           and a template for the undo stacks.
8241
8242 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * BufferView_pimpl.h:
8245         * BufferView_pimpl.C:
8246         * kbmap.h:
8247         * kbmap.C:
8248         * kbsequence.h:
8249         * kbsequence.C:
8250         * lyxfunc.h:
8251         * lyxfunc.C:
8252         * text2.C: use key_state/mouse_state
8253
8254 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8255
8256         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8257         and LSubstring
8258
8259         * chset.C: change include order
8260         (loadFile): use boost regex and get rid of LRegex and LSubstring
8261
8262         * Makefile.am (BOOST_LIBS): new variable
8263         (lyx_LDADD): use it
8264
8265         * LaTeX.C: change include order.
8266         (scanAuxFile): use boost regex and get rid of LRegex and
8267         LSubstring
8268         (deplog): ditto
8269
8270 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8271
8272         * ColorHandler.h:
8273         * ColorHandler.C:
8274         * FontInfo.h:
8275         * FontInfo.C: moved to frontends/xforms/
8276
8277         * FontLoader.h:
8278         * FontLoader.C: moved into frontends for GUIIzation
8279
8280         * Makefile.am:
8281         * lyx_gui.C:
8282         * lyxfont.C:
8283         * lyxfunc.C: changes from above
8284
8285 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8286
8287         * LColor.C: remove spurious X include
8288
8289         * BufferView_pimpl.C:
8290         * Makefile.am:
8291         * font.h:
8292         * font.C:
8293         * text.C:
8294         * text2.C: move font metrics to frontends/
8295
8296 2002-05-24  Juergen Vigna  <jug@sad.it>
8297
8298         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8299         setting the undo_cursor.
8300
8301         * ParagraphParameters.h: include local includes first.
8302
8303 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * BufferView_pimpl.C:
8306         * BufferView_pimpl.h:
8307         * Makefile.am:
8308         * WorkArea.h:
8309         * WorkArea.C:
8310         * screen.C: move WorkArea into frontends/
8311
8312         * lyxscreen.h:
8313         * screen.C:
8314         * text.C:
8315         * BufferView.C:
8316         * BufferView2.C: move LyXScreen into frontends/
8317
8318         * lyxlookup.h:
8319         * lyxlookup.C:
8320         * lyx_gui.C: move lyxlookup into frontends/xforms/
8321
8322 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * BufferView2.C:
8325         * BufferView_pimpl.C:
8326         * FontLoader.C:
8327         * LyXView.h:
8328         * LyXView.C:
8329         * Makefile.am:
8330         * WorkArea.C:
8331         * XFormsView.h:
8332         * XFormsView.C:
8333         * buffer.C:
8334         * bufferlist.C:
8335         * bufferview_funcs.C:
8336         * converter.C:
8337         * importer.C:
8338         * lyx_cb.C:
8339         * lyx_gui.C:
8340         * lyx_main.C:
8341         * lyx_find.C:
8342         * lyxfunc.C:
8343         * lyxvc.C:
8344         * minibuffer.C:
8345         * text.C:
8346         * text2.C:
8347         * trans.C:
8348         * vc-backend.C: move LyX/XFormsView into frontends/
8349
8350 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * Makefile.am:
8353         * PainterBase.C:
8354         * PainterBase.h:
8355         * Painter.C:
8356         * Painter.h:
8357         * WorkArea.C:
8358         * WorkArea.h:
8359         * screen.C:
8360         * tabular.C:
8361         * text.C:
8362         * text2.C: move Painter to frontends/
8363
8364 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8365
8366         * buffer.C: comment out some some code that depend upon lyx_format
8367         < 220
8368
8369         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8370         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8371
8372         * buffer.h (NO_COMPABILITY): turn off compability
8373
8374         * ColorHandler.C: include scoped_array.hpp
8375
8376         * font.C: Use more specific smart_ptr header.
8377         * Painter.C: ditto
8378         * gettext.C: ditto
8379         * ShareContainer.h: ditto
8380         * lyx_main.h: ditto
8381         * kbmap.h: ditto
8382         * FontInfo.h: ditto
8383         * BufferView_pimpl.h: ditto
8384         * ColorHandler.h: ditto
8385
8386         * kbmap.C (defkey): change call to shared_ptr::reset
8387
8388 2002-05-21  Juergen Vigna  <jug@sad.it>
8389
8390         * buffer.C (insertErtContents): fix to insert ert asis if it is
8391         non empty. Skip it completely if it contains only whitespaces.
8392
8393 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * BufferView_pimpl.C:
8396         * BufferView2.C: clear selection on paste (bug 393)
8397
8398 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8399
8400         * DepTable.C: include ctime
8401
8402 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8403
8404         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8405
8406 2002-05-14  Juergen Vigna  <jug@sad.it>
8407
8408         * text.C (breakParagraph): fixed function to honor the keepempty
8409         layout in the right maner and also to permit the right breaking
8410         algorithm on empty or non empyt keepempty paragraphs.
8411
8412         * paragraph.C (breakParagraph): we have to check also if the par
8413         is really empty (!size()) for isempty otherwise we do the wrong
8414         paragraph break.
8415
8416 2002-05-10  Juergen Vigna  <jug@sad.it>
8417
8418         * buffer.[Ch] : The following are only changes to the ert
8419         compatibility read reading old LaTeX layout and font stuff and
8420         convert it to ERTInsets.
8421
8422         * buffer.h: added isErtInset().
8423
8424         * buffer.C (struct ErtComp): add a fromlayout bool to check
8425         if we're inside a LaTeX layout.
8426         (isErtInset): new helper function.
8427         (insertErtContents): look for other ert insets before this one
8428         and insert the contents there, so that we don't have subsequent
8429         ERT insets with nothing between them. This way we create only one
8430         inset with multiple paragraphs. Also check if we don't insert only
8431         spaces ' ' as they are ignored anyway afterwards in the .tex file
8432         so if we have only spaces we will ignore this latex part in the
8433         new file.
8434         (parseSingleLyXformat2Token \\layout): better compatibility when
8435         reading layout-latex stuff.
8436         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8437         language tag.
8438         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8439         stuff after reading the inset only get the information back from
8440         the stack.
8441
8442 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8445
8446         * LaTeXFeatures.C (getBabelOptions): New method.
8447
8448 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8449
8450         * BufferView_pimpl.C (Dispatch): work around missing argument for
8451         'layout'
8452
8453 2002-05-08  Juergen Vigna  <jug@sad.it>
8454
8455         * text.C (leftMargin): handle paragraph leftindent.
8456
8457         * paragraph.C (writeFile): write the new \\leftindent tag.
8458         (validate): handle leftindent code.
8459         (TeXEnvironment): handle paragraphleftindent code again.
8460
8461         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8462
8463         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8464         for paragrap_extra indent code and new token \\leftindent.
8465         (latexParagraphs): handle the leftindent as environment.
8466
8467         * ParameterStruct.h: added leftindent support.
8468
8469         * ParagraphParameters.C (leftIndent): added support functions for
8470         the paragraph left indent.
8471
8472         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8473         more appropriate.
8474
8475 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8476
8477         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8478         inside insetERT.
8479
8480         * text.C (computeBidiTables): No bidi in insetERT.
8481
8482         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8483         in RTL documents.
8484
8485 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8486
8487         * version.C.in: pre 5
8488
8489 2002-05-02  José Matos  <jamatos@fep.up.pt>
8490         * buffer.C (makeDocBookFile): white space changes, add newline to
8491         command styles.
8492         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8493
8494         * tabular.C (docBook): fix typo.
8495
8496 2002-05-03  Juergen Vigna  <jug@sad.it>
8497
8498         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8499         change in LyXText as we can not be sure it was not freed.
8500         (drawOneRow): remove unused code.
8501
8502         * text.C (drawInset): redo the calculation of the need_break_row as
8503         it could have a row which was already freed.
8504         (draw): look at the return value of drawInset and return false if
8505         it also returned false.
8506         (paintRowText): look at the return value of draw and return false if
8507         it also returned false.
8508
8509         * lyxtext.h: added bool return type to drawInset() and draw() so that
8510         if we have a change in the row so that the rowbreak has to be redone
8511         we abort drawing as it will be called again.
8512
8513 2002-05-02  Juergen Vigna  <jug@sad.it>
8514
8515         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8516         a change in the maintext also if we're inside an inset.
8517         (Dispatch): set the cursor again after a break line and after the
8518         screen has been updated as it could be we're in a different row.
8519
8520         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8521         to set the cursor behind the pargraph with > size().
8522         (setCursor): check also for the same paragraph when checking where
8523         to put the cursor if we have a NFR inset.
8524
8525         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8526         parts of layout read further up as it still was in the wrong
8527         position.
8528
8529 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8530
8531         * screen.C (drawFromTo): change sine fullRebreak always return
8532         true.
8533
8534         * buffer.C (parseSingleLyXformat2Token): reindent some
8535
8536         * BufferView_pimpl.C (update): change since fullRebreak always
8537         return true.
8538         (Dispatch): git rid of the last hardcoded "Standard"s.
8539
8540 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8541
8542         * text2.[Ch] (fullRebreak): make it return void now that we always
8543         returned true.
8544
8545 2002-04-30  Juergen Vigna  <jug@sad.it>
8546
8547         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8548         ert compatibility check for "latex" layout.
8549
8550 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8551
8552         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8553         minipages: use col% instead of p%, and also use the current font.
8554         (makeLaTeXFile): Fix use babel condition.
8555         (parseSingleLyXformat2Token): Correct font when reading old floats.
8556
8557 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8558
8559         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8560         inserting list of floats.
8561
8562 2002-04-25  Herbert Voss  <voss@lyx.org>
8563
8564         * MenuBackend.C (expand): don't add the graphics extensions to the
8565         export menu
8566
8567 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8568
8569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8570         non-existing layout, do not complain if it was the default layout
8571         of the original class (bug #342)
8572
8573 2002-04-24  Juergen Vigna  <jug@sad.it>
8574
8575         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8576         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8577
8578 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8579
8580         * buffer.C (getBibkeyList): If using \bibliography, return the
8581         option field with the reference itself. Enables us to provide natbib
8582         support when using \bibliography.
8583
8584 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8585
8586         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8587
8588         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8589         natbib is provided by the LaTeX class.
8590
8591 2002-04-23  Juergen Vigna  <jug@sad.it>
8592
8593         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8594         Wakeup functions.
8595
8596         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8597
8598 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8601
8602         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8603         ensuremath around textordmasculine, textordfeminine and
8604         textdegree.
8605
8606 2002-04-19  Juergen Vigna  <jug@sad.it>
8607
8608         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8609         reinitializing the buffer otherwise row-dimensions may be wrong.
8610         (update): reset also the selection cursors if they do exits otherwise
8611         their x/y positions may be wrong.
8612
8613         * text2.C (cursorDown): don't enter the inset if we came from a row
8614         above and are one row over the inset.
8615
8616         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8617         really leaving an inset.
8618
8619 2002-04-18  Juergen Vigna  <jug@sad.it>
8620
8621         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8622         of the selected paragraph does not have the selected layout also if
8623         the last one had!
8624
8625         * text2.C (setLayout): fixed bug which did not change last selected
8626         paragraph.
8627
8628         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8629         changed the read and substituted \\end_float with \\end_inset!
8630
8631         * BufferView_pimpl.C (cursorPrevious):
8632         (cursorNext): fixed to make it work with rows heigher than the work
8633         area without moving the cursor only the draw of the row.
8634         (workAreaMotionNotify): fix jumping over high rows.
8635
8636 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8639         Ressler.
8640
8641 2002-04-16  Juergen Vigna  <jug@sad.it>
8642
8643         * text2.C (setCursor): set also the irow().
8644         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8645         (cursorUp):
8646         (cursorDown): support for locking an inset if the x_fix value goes
8647         inside it. That way I can transverse insets too with cursor up/down.
8648
8649         * lyxrow.h: added irow helper function same as other (i) functions.
8650
8651         * BufferView_pimpl.C (cursorPrevious):
8652         (cursorNext): fixed for insets!
8653
8654 2002-04-15  Juergen Vigna  <jug@sad.it>
8655
8656         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8657         position otherwise it is wrong in some cases.
8658
8659         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8660         inside the inset before the call.
8661
8662 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8663
8664         * buffer.[Ch] (getBibkeyList): make it const.
8665
8666 2002-04-12  Juergen Vigna  <jug@sad.it>
8667
8668         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8669
8670         * text2.C (getCursorX): new helper function
8671         (setCursor): compute also ix_
8672         (setCursorFromCoordinates): set also ix.
8673
8674         * lyxcursor.h: added ix_ and helper functions.
8675
8676         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8677
8678         * buffer.C (insertStringAsLines): dont break paragraph if the this
8679         paragraph is inside an inset which does not permit it!
8680
8681         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8682         also with no chars on this paragraph.
8683         (paintRowText): only paint stuff if it's inside the workarea!
8684
8685         * paragraph.C (breakParagraph): honor keepempty flag and break the
8686         paragraph always below not above.
8687
8688         * BufferView2.C (unlockInset): update the paragraph layout on inset
8689         unlock as we changed paragraph in such a case.
8690
8691         * lyxfind.C (LyXFind): clear the former selection if not found!
8692
8693         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8694         again called in insertChar().
8695
8696         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8697         an inset which uses the whole row!
8698         (rightMargin): ditto.
8699         (insertChar): force a rebreak if we inserted an inset!
8700
8701 2002-03-28  Herbert Voss  <voss@lyx.org>
8702
8703         * lyxlength.[Ch]: add inBP() to get the right PS-point
8704         units (BigPoint). With inPixels we have rounding errors
8705
8706 2002-04-11  Juergen Vigna  <jug@sad.it>
8707
8708         * text2.C (setCursorFromCoordinates): set iy to the right value.
8709         (setCursor): add check if row->previous exists!
8710
8711         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8712         an old float_type as this was the case in the old code!
8713
8714         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8715
8716         * BufferView2.C (showLockedInsetCursor): use iy
8717         (fitLockedInsetCursor): ditto
8718
8719         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8720         locked insets as there we have the right value now.
8721
8722         * lyxcursor.C: added iy_ variable and iy functions to set to the
8723         baseline of cursor-y of the locked inset.
8724
8725         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8726         (setCursor): fixed for insets which need a full row.
8727
8728         * text.C (rowLastPrintable): don't ignore the last space when before
8729         an inset which needs a full row.
8730         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8731         as last character of a row when before a inset which needs a full row.
8732
8733 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8734
8735         * version.C.in: update date
8736
8737         * text2.C (fullRebreak): try to always return true and see what
8738         happens...
8739
8740 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * MenuBackend.C (expand): use Floating::listName
8743
8744         * FloatList.C (FloatList): add listName argument to the built-in
8745         floats
8746
8747         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8748         text associated with the float.
8749
8750 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8753
8754 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8755
8756         * ShareContainer.h: add a couple of missing typenames.
8757
8758 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8759
8760         * lyxrc.C (getDescription): use _() correctly rather than N_().
8761
8762 2002-03-28  Herbert Voss  <voss@lyx.org>
8763
8764         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8765         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8766
8767 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8770         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8771
8772 2002-03-29  Juergen Vigna  <jug@sad.it>
8773
8774         * lyxfunc.C (dispatch): add a missing fitCursor call.
8775
8776         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8777         it was scrolled by a cursor move, so return the bool status.
8778
8779         * BufferView.C (fitCursor): return the bool flag also to the outside
8780         world as this is needed.
8781
8782         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8783
8784         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8785         call the edit() as it is not needed (and wrong) IMO.
8786         (workAreaButtonPress): set the screen_first variable before evt.
8787         unlock the inset as this may change screen_first and then we have
8788         a wrong y position for the click!
8789
8790 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * MenuBackend.C (expand): another translation that I missed
8793
8794 2002-03-28  Juergen Vigna  <jug@sad.it>
8795
8796         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8797
8798         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8799
8800 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8801
8802         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8803
8804         * MenuBackend.C (expand): fix export/view/update when there is no
8805         document open.
8806
8807 2002-03-27  Herbert Voss  <voss@lyx.org>
8808
8809         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8810         and text%
8811
8812 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * bufferview_funcs.C (currentState): only show paragraph number
8815         for is DEVEL_VERSION is set.
8816
8817         * lyxfunc.C (dispatch): put warning in INFO channel
8818
8819         * MenuBackend.C (expand): translate the name of floats
8820
8821         * FloatList.C (FloatList): mark the float names for translation
8822
8823         * converter.C (convert): use LibScriptSearch
8824
8825 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8826
8827         * MenuBackend.C (defaults): fix default menu (we might as well get
8828         rid of it...)
8829
8830 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8831
8832         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8833         directory.
8834
8835 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8836
8837         * lyxvc.C: reorder includes.
8838
8839 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8842           properly
8843
8844 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * CutAndPaste.C: change layouts earlier on paste
8847           to avoid crashing when calling getFont()
8848
8849 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8850
8851         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8852         irritating #error.
8853
8854 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8855
8856         * WorkArea.C: remove 'Pending' debug message.
8857
8858         * most files: ws cleanup
8859
8860         * buffer.[Ch]: ws changes
8861
8862         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8863
8864 2002-03-21  Juergen Vigna  <jug@sad.it>
8865
8866         * tabular.C (SetMultiColumn): collapse also the contents of the
8867         cells and set the last border right. Added a Buffer const * param.
8868
8869 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8870
8871         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8872         linking or not.
8873
8874 2002-03-19  Juergen Vigna  <jug@sad.it>
8875
8876         * text2.C (clearSelection): reset also xsel_cache.
8877
8878         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8879         where it needs to be called (John tells us to do so too :)
8880         (selectionLost): reset sel_cache.
8881
8882         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8883
8884 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * text2.C (setCursorIntern): put debuging code in INSETS channel
8887
8888 2002-03-19  André Pönitz <poenitz@gmx.net>
8889
8890         * lyxfunc.C: tiny whitespace change
8891
8892 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * ToolbarDefaults.C (init):
8895         * LyXAction.C (init):
8896         * commandtags.h:
8897         * BufferView_pimpl.C (Dispatch):
8898         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8899
8900 2002-03-19  Allan Rae  <rae@lyx.org>
8901
8902         * exporter.C (Export): removeAutoInsets before doing anything else.
8903         While I've just introduced a dependency on BufferView this really is
8904         the best place to clean the buffer otherwise you need to cleanup in
8905         a dozen places before calling export or cleanup in a dozen functions
8906         that export calls.
8907
8908         * converter.C (runLaTeX):
8909         (scanLog): Better handling of removeAutoInsets and screen updates.
8910
8911         * lyxfunc.C (dispatch): small whitespace changes
8912
8913 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8914
8915         * WorkArea.C (C_WorkAreaEvent): return a value.
8916         (event_cb): return 1 if we handled the event, 0 otherwise.
8917
8918         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8919
8920 2002-03-18  Juergen Vigna  <jug@sad.it>
8921
8922         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8923         (GetAdditionalWidth): ditto.
8924         (RightLine): ditto.
8925         (LeftLine): ditto.
8926
8927         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8928         inset if we're there actually (probably not used right now but this
8929         is the direction to go for unifying code).
8930         (paste): disable code to clear the selection.
8931
8932         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8933         inside an InsetText and move the check further up as it is in the
8934         wrong place.
8935
8936         * text2.C (pasteSelection): set a selection over the pasted text.
8937
8938 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8939
8940         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8941         and libgraphics to build on Cygwin.
8942
8943 2002-03-15  Juergen Vigna  <jug@sad.it>
8944
8945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8946         inserting an Inset into the paragraph. I know this is not the best
8947         fix but we already use current_view in CutAndPaste so we will remove
8948         all of it's using at the same time.
8949
8950         * buffer.C (sgmlError): deactivated function till it is rewritten in
8951         the right mode, now it can create problems.
8952
8953         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8954         before accessing it.
8955
8956 2002-03-14  Juergen Vigna  <jug@sad.it>
8957
8958         * undo_funcs.C (textHandleUndo): do the right thing when updating
8959         the inset after the undo/redo.
8960
8961         * text2.C (setCursor): just some testcode for #44 not ready yet.
8962
8963         * undo_funcs.C (textHandleUndo): set the next() and previous()
8964         pointers of the paragraph to 0 before deleting otherwise we have
8965         problems with the Paragraph::[destructor].
8966
8967         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8968         on a paragraph insertion.
8969
8970 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8971
8972         * buffer.C (asciiParagraph): use += operator for char append to
8973         string.
8974
8975         * paragraph.C (getFontSettings): compare >= not just >
8976         (highestFontInRange): ditto
8977         (setFont): ditto
8978
8979 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * paragraph.C: change several algorithm to be more appripriate for
8982         the problem domain. This is lookip in FontList and in the InsetList.
8983
8984 2002-03-13  André Pönitz <poenitz@gmx.net>
8985
8986         * commandtags.h:
8987         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8988
8989 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * commandtags.h:
8992         * LyXAction.C:
8993         * lyxfunc.C:
8994         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8995
8996 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * Painter.C (display): anon helper function, adjust code for this
8999         change.
9000         (pixmap): remove function.
9001
9002         * Painter.h: remove private display variable.
9003
9004         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9005
9006 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9007
9008         * WorkArea.[Ch]: remove figinset_canvas cruft.
9009
9010 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9011
9012         * lyxtextclass.C (operator): add one item cache optimization.
9013
9014         * bufferlist.h: doxy changes
9015
9016         * bufferlist.C: ws changes
9017
9018         * DepTable.[Ch] (ext_exist): place const in the right spot.
9019
9020         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9021         call resizeInsets.
9022         (workAreaExpose): call resizeInsets when the with BufferView changes.
9023         (Dispatch): adjust for protectedBlank removal
9024         (specialChar): call updateInset if the insert went ok.
9025
9026         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9027         specialChar instead.
9028
9029         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9030
9031         * BufferView.h: doxy change
9032
9033         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9034
9035         * lyxtextclass.C (operator[]): remove non-const version
9036         (defaultLayout): remove non-const version
9037
9038 2002-03-12  Juergen Vigna  <jug@sad.it>
9039
9040         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9041         did resize the LyXText too.
9042
9043         * buffer.C (readLyXformat2): set layout information on newly allocated
9044         paragraphs.
9045
9046         * tabular.C (OldFormatRead): set layout information on the paragraph.
9047
9048 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9049
9050         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9051
9052 2002-03-11  Juergen Vigna  <jug@sad.it>
9053
9054         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9055         plainly wrong.
9056         (resizeCurrentBuffer): force also the insets to resize themselfes.
9057         (moveCursorUpdate): fixed up for InsetText.
9058
9059 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9060
9061         * commandtags.h:
9062         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9063         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9064         value of Dialogs::tooltipsEnabled().
9065         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9066
9067 2002-03-08  Juergen Vigna  <jug@sad.it>
9068
9069         * BufferView_pimpl.C (updateInset): update inset inside inset also
9070         if it isn't inside theLockingInset().
9071
9072 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * buffer.C (asciiParagraph): redo some of the word and line length
9075         handling.
9076         (getLists): look for Caption instead of caption.
9077
9078 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9079
9080         * buffer.C (Buffer): initialize niceFile to true
9081         (makeLaTeXFile):
9082         (makeLinuxDocFile):
9083         (makeDocBookFile): make sure niceFile is true on exit
9084
9085 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9088
9089 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9090
9091         * LyXSendto.C: remove.
9092         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9093         * lyx_gui.C: remove now-redundant comment.
9094         * ColorHandler.h: remove forward declaration of class WorkArea.
9095         * lyxfunc.C: remove #include "WorkArea.h".
9096
9097 2002-03-07  Juergen Vigna  <jug@sad.it>
9098
9099         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9100         got moved away with the DEPM and also set the inset_owner always
9101         right which before could have been omitted.
9102
9103 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9106         wanted layout is not found.
9107
9108 2002-03-07  Juergen Vigna  <jug@sad.it>
9109
9110         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9111
9112 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * paragraph.C (breakParagraph): use default layout not layout of
9115         prev paragraph.
9116         (Paragraph): clear ParagraphParameters.
9117
9118 2002-03-06  Juergen Vigna  <jug@sad.it>
9119
9120         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9121         otherwise it would not be a valid lenght. Fixed a special case in
9122         the minipage compatibility read where we end the document with a
9123         minipage.
9124
9125         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9126         was set as it could be 0 for InsetTexts first entry.
9127
9128 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9129
9130         * paragraph.C (writeFile): if layout is empty write out
9131         defaultLayoutName().
9132
9133         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9134         file without named layout we set layout to defaultLayoutName().
9135
9136 2002-03-06  Juergen Vigna  <jug@sad.it>
9137
9138         * CutAndPaste.C (copySelection): set layout for new paragraph.
9139
9140         * text.C (prepareToPrint): leave ERT inset left aligned
9141         (leftMargin): don't indent paragraphs inside ERT insets
9142
9143 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9144
9145         * paragraph.C (breakParagraph): dont call clear do the work manually
9146
9147         * paragraph.[Ch] (clear): remove function
9148
9149 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9150
9151         * paragraph.C (Paragraph): dont call clear, the work has already
9152         been done.
9153
9154         * lyxtextclass.C (operator): assert if n is empty
9155
9156         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9157         work manually instead.
9158
9159 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9160
9161         * BufferView_pimpl.C: protect selectionLost against text == 0
9162
9163 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * text.C (breakParagraph): fix a setting layout to '0' problem.
9166
9167 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9168
9169         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9170         final location of file, for the included files, and graphics.
9171
9172 2002-03-05  Juergen Vigna  <jug@sad.it>
9173
9174         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9175
9176 2002-03-04  Juergen Vigna  <jug@sad.it>
9177
9178         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9179
9180         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9181         last column of multicolumn cells.
9182         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9183
9184 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9185
9186         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9187         file if it doesn't go to a temporary file.
9188
9189         * buffer.C (sgmlOpenTag):
9190         (sgmlCloseTag):  remove extra newline insertion.
9191
9192 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9193
9194         * text.C (getRowNearY): comment out debug msg
9195
9196 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9197
9198         * text2.C: first -> first_y
9199
9200         * text.C (getRowNearY): add some attemts at a possible
9201         optimization, not working.
9202
9203         * tabular.[Ch]: add BufferParams to several function so that newly
9204         created paragraph can be initialized to he default layotu for the
9205         buffers textclass.
9206
9207         * tabular-old.C (ReadOld): add buf->params to call of Init
9208
9209         * screen.C: rename text->first to text->first_y
9210
9211         * paragraph.C (breakParagraph): always set layout in the broken
9212         paragraph
9213
9214         * lyxtextclass.C (Read): remove lowercase
9215         (hasLayout): ditto
9216         (operator): ditto
9217         (delete_layout): ditto
9218
9219         * lyxtext.h: rename first -> first_y
9220
9221         * lyxlayout.C (Read): remove lowercase
9222         (name): ditto
9223         (setName): ditto
9224         (obsoleted_by): ditto
9225
9226         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9227
9228         * buffer.C (insertErtContents): add params are to InsetERT
9229         (parseSingleLyXformat2Token): add code to check if a paragraphs
9230         layout really exist.
9231         (parseSingleLyXformat2Token): add params to several inset
9232         constructors
9233         (asciiParagraph): remove lowercase, do the layout comparisons with
9234         no_case
9235
9236         * BufferView_pimpl.C (cursorNext): first -> first_y
9237         (resizeCurrentBuffer): first -> first_y
9238         (updateScrollbar): first -> first_y
9239         (scrollCB): first -> first_y
9240         (workAreaMotionNotify): first -> first_y
9241         (workAreaButtonPress): first -> first_y
9242         (checkInsetHit): first -> first_y
9243         (cursorPrevious): first -> first_y
9244         (cursorNext): first -> first_y
9245         (Dispatch): add buffer_->params to severl inset contructors
9246
9247 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * lyxlayout.C (Read): remove some debug info that I forgot.
9250
9251         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9252         clean up the code slightly.
9253         (makeLinuxDocFile): ditto
9254         (makeDocBookFile): ditto
9255
9256         * text2.C: layout as string
9257
9258         * text.C: layout as string
9259
9260         * paragraph_pimpl.C: layout as string
9261
9262         * paragraph.[Ch]: layout as string
9263
9264         * lyxtextclasslist.[Ch]: layout as string
9265
9266         * lyxtextclass.[Ch]: layout as string
9267
9268         * lyxtext.h: layout as string
9269
9270         * lyxlayout.[Ch]: layout as string
9271
9272         * lyx_cb.C: layout as string
9273
9274         * bufferview_funcs.C: layout as string
9275
9276         * bufferparams.C: layout as string
9277
9278         * buffer.C: layout as string
9279
9280         * LyXView.[Ch]: layout as string
9281
9282         * LaTeXFeatures.[Ch]: layout as string
9283
9284         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9285
9286         * BufferView_pimpl.C: change current_layout to string, remove
9287         lyx::layout_type.
9288         (Dispatch):
9289         (smartQuote):
9290         (insertInset):
9291         (workAreaButtonRelease): layout as string
9292
9293         * BufferView2.C (unlockInset): adjust
9294
9295         * vspace.C (asLatexCommand): use an explict temp variable.
9296
9297 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * Makefile.am: use FRONTEND_*
9300
9301 2002-03-01  Juergen Vigna  <jug@sad.it>
9302
9303         * tabular.C (SetWidthOfMulticolCell): changed to something better
9304         I hope but still work in progress.
9305         (recalculateMulticolumnsOfColumn): renamed function from
9306         recalculateMulticolCells as it is more appropriate now.
9307         (SetWidthOfCell): calculate multicols better.
9308
9309 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9312
9313         * lyxfunc.C (processKeySym): print sequence also if it is
9314         `deleted' (complete)
9315
9316         * kbsequence.C (print): print sequence even if it is deleted
9317         (complete would be a better word, actually).
9318
9319         * lyxfunc.C (dispatch): print complete options after a prefix key
9320
9321         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9322
9323 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9324
9325         * text2.C (setCharFont): eliminate setCharFont code duplication.
9326
9327 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9330         LFUN_TABULAR_FEATURE (bug #177)
9331
9332 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9333
9334         * Makefile.am: remove figure.h
9335
9336 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9337
9338         * Bufferview_pimpl.C:
9339         * CutAndPasteC:
9340         * LaTeX.C:
9341         * LyXSendto.C:
9342         * buffer.C:
9343         * bufferlist.C:
9344         * converter.C:
9345         * language.C:
9346         * lyxfunc.C:
9347         * lyxvc.C:
9348         * paragraph.C:
9349         * text.C:
9350         * text2.C: remove #include "lyx_gui_misc.h".
9351
9352         * LaTeX.C: added #include <cstdio>
9353
9354 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9357         that the paragraph following this one can have.
9358
9359         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9360
9361         * vspace.C (asLatexCommand): fix bogus gcc warning
9362
9363         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9364
9365 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9366
9367         * text2.C (setLayout): get rid of redundant code
9368
9369 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9370
9371         * text2.C (incDepth): make sure depth cannot be increased beyond
9372         reasonable values.
9373
9374 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9375
9376         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9377         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9378
9379         * PainterBase.h (image):
9380         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9381         a LyXImage const *.
9382
9383 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * BufferView.C:
9386         * BufferView.h:
9387         * BufferView_pimpl.C:
9388         * BufferView_pimpl.h:
9389         * LaTeXFeatures.C:
9390         * LyXAction.C:
9391         * LyXView.C:
9392         * Makefile.am:
9393         * UpdateList.h:
9394         * UpdateList.C:
9395         * buffer.C:
9396         * figure.h:
9397         * figureForm.C:
9398         * figureForm.h:
9399         * figure_form.C:
9400         * figure_form.h:
9401         * lyx_cb.C:
9402         * lyx_gui.C:
9403         * lyx_gui_misc.C:
9404         * lyxfunc.C:
9405         * sp_base.h:
9406         * sp_ispell.h:
9407         * sp_pspell.h:
9408         * sp_spell.C: remove fig inset, and the crap house of
9409           cards that follows it
9410
9411 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * Makefile.am:
9414         * lyxserver.C:
9415         * os2_defines.h:
9416         * os2_errortable.h:
9417         * nt_defines.h: move .h into support/
9418
9419         * vms_defines.h: remove
9420
9421         * WorkArea.C: add space in debug output
9422
9423         * text2.C:
9424         * paragraph.C:
9425         * buffer.C: add WITH_WARNINGS
9426
9427         * vc-backend.h:
9428         * vc-backend.C:
9429         * bufferlist.C: s/retrive/retrieve/, add docs
9430
9431         * vspace.h:
9432         * vspace.C:
9433         * kbmap.h:
9434         * lyxlength.h:
9435         * lyxgluelength.h:
9436         * length_common.h:
9437         * chset.h:
9438         * chset.C: add docs
9439
9440         * lyxgui.C: add ID to X error handler
9441
9442         * lyxtestclass.c: fix typo
9443
9444 2002-02-26  Juergen Vigna  <jug@sad.it>
9445
9446         * tabular_funcs.C (write_attribute): changed so that some default
9447         attributes are not written at all.
9448         (getTokenValue): set default values before trying to read the
9449         value so we have the return value always set as default if we don't
9450         find the token we search for.
9451
9452         * tabular.C (Write): write bools as bools not as strings!
9453
9454 2002-02-22  Juergen Vigna  <jug@sad.it>
9455
9456         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9457         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9458
9459         * text.C (leftMargin): don't add an indent for paragraphs inside
9460         tabular cells (fix #208).
9461
9462 2002-02-21  José Matos  <jamatos@fep.up.pt>
9463
9464         * tabular.C (docBook): fixed support for long tables.
9465
9466 2002-02-20  Juergen Vigna  <jug@sad.it>
9467
9468         * text2.C (getFont): get the drawing font of the Inset if this
9469         paragraph is inside an inset (only important for InsetERT for now).
9470
9471         * buffer.C (insertErtContents): use new lanugage params in ERT
9472         constructor.
9473
9474         * CutAndPaste.C: commenting out seemingly uneeded code.
9475
9476 2002-02-19  Allan Rae  <rae@lyx.org>
9477
9478         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9479         Iterators might be simple to use but they also get invalidated.
9480         (removeAutoInsets): renamed saved cursor tracking variables and added
9481         some comments to clarify what everything does.
9482
9483 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9484
9485         * Chktex.C:
9486         * LaTeX.C:
9487         * LyXSendto.C:
9488         * converter.C:
9489         * lyx_cb.C:
9490         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9491         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9492
9493         * lyxfunc.C:
9494         * vc-backend.h: remove #include "support/syscall.h"
9495
9496         * LaTeX.C:
9497         * LyXSendto.C:
9498         * converter.C: rearrange #includes in Lars' approved fashion.
9499
9500         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9501         forward declare class Timeout in the header file.
9502
9503         * XFormsView.C: changes due to the above.
9504
9505         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9506         similar to LyXView.
9507
9508         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9509         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9510
9511 2002-02-18  José Matos  <jamatos@fep.up.pt>
9512
9513         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9514         insets contents.
9515
9516 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9517
9518         * a lot of small ws changes
9519         * add a lot of using std::XXX
9520         * use std construcs some places where approp.
9521         * use some exisint stuff from lyxfunctional where approp.
9522         * Make file changes to use partial linking (lets test this now...)
9523
9524 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9525
9526         * Chktex.C:
9527         * buffer.C:
9528         remove #include "support/syscontr.h" as it's redundant. Always has been.
9529
9530         * Chktex.C:
9531         * LaTeX.C:
9532         * LyXSendto.C:
9533         * converter.C:
9534         * lyx_cb.C:
9535         * vc-backend.C:
9536         change Systemcalls::System to Systemcalls::Wait and
9537         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9538         No change of functionality, just reflects the stripped down Systemcalls
9539         class.
9540
9541 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9542
9543         * debug.[Ch]: add a GRAPHICS type to the enum.
9544
9545 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9548
9549         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9550         there is an inset.
9551
9552 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9553
9554         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9555         match the changes below.
9556
9557         * text2.C (toggleInset): if there is not editable inset at cursor
9558         position, try to see if cursor is _inside_ a collapsable inset
9559         and close it.
9560
9561 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9564         document menu has a nice checkbox
9565
9566 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * lyxlength.C (asLatexString): change PW to output as percent of
9569         \textwidth.
9570
9571         * lengthcommon.C: change '%' to 't%'
9572
9573         * lyxfunc.C (dispatch): a few comments from Martin
9574
9575 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9576
9577         * WorkArea.h:
9578         * WorkArea.C:
9579         * BufferView_pimpl.h:
9580         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9581           the X selection.
9582
9583 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * vspace.C (inPixels): fix compiler warning
9586
9587 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * lyxfunc.C (getStatus): fix status message for disabled commands.
9590
9591 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9592
9593         * BufferView_pimpl.C: fix crash on close buffer
9594         during selection (#227)
9595
9596 2002-01-27  Herbert Voss  <voss@lyx.org>
9597
9598         * buffer.C: link old Figure to new graphic inset
9599
9600 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9601
9602         * FontLoader.C (getFontinfo): Change the latex font names in order
9603         to match the names of type1inst.
9604
9605 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9606
9607         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9608
9609         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9610         (extchanged): ditto
9611         (ext_exist): ditto
9612         (remove_files_with_extension): ditto
9613         (remove_file): ditto
9614         (write): ditto
9615
9616         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9617         document is smaller than the work area height. Do not initialize
9618         static variables to 0.
9619
9620 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9621
9622         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9623
9624         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9625         LFUN_LAYOUT_PARAGRAPHS.
9626
9627         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9628         tabular. It is possible to provide a possible cell, which will
9629         typically be the actcell from the corresponding insettabular
9630
9631         * lyxfunc.C (getStatus): small cleanup; disable
9632         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9633         true
9634
9635 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9638
9639         * paragraph.C (startTeXParParams):
9640         (endTeXParParams): new methods. The LaTeX code to
9641         start/end paragraph formatting
9642         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9643         empty (fixes bug #200)
9644
9645         * vspace.C (inPixels): adapt to the change below
9646         (inPixels): [later] more cleanups (remove unused variables)
9647
9648         * lyxlength.C (inPixels): change to use a width and a height as
9649         parameter.
9650
9651 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9654         Replaced with \paperwidth
9655
9656         * DepTable.C (insert): add std:: qualifier
9657
9658 2002-01-18  Allan Rae  <rae@lyx.org>
9659
9660         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9661         updated also?
9662
9663         * text.C (drawInset): Turned out I didn't know enough about how
9664         rebreaking worked.  This fixes most of the redraw problems.  I see
9665         an occasional cursor trail when a line is broken now and the cursor
9666         placement can seem out by a few pixels also after a rebreak.
9667
9668 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9669
9670         * buffer.C (parseSingleLyXformat2Token): update because minipage
9671         width is now a LyXLength
9672
9673         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9674
9675         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9676         math insets
9677
9678 2002-01-17  Juergen Vigna  <jug@sad.it>
9679
9680         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9681
9682         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9683         is set correctly and the inset is updated correctly.
9684
9685 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9686
9687         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9688         the beginning of the loop.
9689
9690 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * lyxrc.C: improve help for use_scalable_fonts
9693
9694 2002-01-17  Allan Rae  <rae@lyx.org>
9695
9696         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9697
9698 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9701         make sure to set their inset_owner to the right value (bug #171)
9702
9703 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9704
9705         * DepTable.h
9706         * DepTable.C: Implement mtime checking to reduce time spent doing
9707         CRCs.
9708
9709 2002-01-16  Juergen Vigna  <jug@sad.it>
9710
9711         * tabular.C (GetAdditionalHeight): one of error fixed.
9712
9713         * lyxrc.C (output): small fix in writing use_pspell.
9714
9715 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9716
9717         * sp_base.h: #include LString.h
9718
9719 2002-01-16  Allan Rae  <rae@lyx.org>
9720
9721         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9722         Can someone check this please?
9723
9724         * text.C (drawInset): It was possible that p.row would be removed by
9725         breakAgainOneRow upsetting a few other settings.  There may be another
9726         small tweak possible by setting need_break_row = 0 when p.row has been
9727         removed but I don't know enough about the logic here.
9728
9729 2002-01-15  Allan Rae  <rae@lyx.org>
9730
9731         * text.C (insertChar): removed conditional truism.
9732
9733         * BufferView2.C (removeAutoInsets): More tweaks.
9734         cur_par_prev could be a stray pointer.  Check for trailing empty line
9735         in case last line was cur_par and only had an error inset on it.
9736
9737 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9740         absolute
9741
9742         * vc-backend.C (most methods):
9743         * exporter.C (Export):
9744         * converter.C (convert):
9745         (runLaTeX):
9746         * LyXSendto.C (SendtoApplyCB):
9747         * lyxfunc.C (dispatch):
9748         (menuNew):
9749         (open):
9750         (doImport):
9751         * lyx_cb.C (AutoSave):
9752         (InsertAsciiFile):
9753         * BufferView_pimpl.C (MenuInsertLyXFile):
9754         * buffer.C (runChktex): use Buffer::filePath().
9755
9756         * buffer.h: rename filename to filename_; rename filepath to
9757         filepath_ and make it private
9758         (filePath): new method
9759
9760         * buffer.C (writeFile): use fileName()
9761         (getLatexName):
9762
9763         * lyx_main.C (init): fix starting  of LyX when the binary is a
9764         link from so,ewhere else.
9765
9766         * minibuffer.C: include <cctype> for isprint
9767
9768 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9769
9770         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9771         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9772         name clash with InsetCollapsable's width function.
9773
9774 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9775
9776         * lastfiles.C: include <iterator>
9777
9778 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9779
9780         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9781         std::count.
9782
9783         * buffer.C (makeLaTeXFile): ditto.
9784         Also make loop operation more transparent.
9785
9786 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9787
9788         * ToolbarDefaults.C: remove trailing comma closing namespace.
9789
9790         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9791
9792         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9793         as in WorkArea.
9794
9795         * trans.C (Load): comment out unused variable, allowed.
9796
9797 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9798
9799         * minibuffer.[Ch] (append_char): new method to recieve input from the
9800         drop-down completion browser. If a key was pressed, then recieve this
9801         char and append it to the existing string.
9802         (peek_event): modify the positioning data passed to the completion
9803         browser so that it can be placed above the minibuffer rather than below.
9804 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9805
9806         * LyXAction.C (init): alloe error-next for readonly documents.
9807
9808         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9809         count.
9810
9811 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * bufferlist.C (readFile): create the buffer _after_ checking that
9814         the file exists.
9815
9816         * lyxfunc.C (verboseDispatch): fix handling of arguments
9817
9818         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9819
9820         * lyxrc.C: use string::erase() instead of initializing to "".
9821
9822
9823 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * BufferView_pimpl.h:
9826         * BufferView_pimpl.C:
9827         * WorkArea.h:
9828         * WorkArea.C:
9829         * text2.C: tell X when we have made a selection for copying
9830
9831 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9832
9833         * BufferView_pimpl.C (MenuInsertLyXFile):
9834         * lyxfunc.C (menuNew):
9835         (open):
9836         (doImport): add shortcuts to directory buttons
9837
9838         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9839         open a float)
9840
9841         * lyxfunc.C (setStatusMessage):
9842         (getStatusMessage): new methods
9843         (getStatus):use setStatusMessage instead of setErrorMessage
9844         (dispatch): when function is disabled, set error message here
9845         [instead of in getStatus previously]
9846
9847         * BufferView_pimpl.C (workAreaButtonRelease): update
9848         toolbar/menubar here too.
9849
9850 2002-01-13  Allan Rae  <rae@lyx.org>
9851
9852         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9853         Now seems indestructible.  Remaining task is to audit all other
9854         code affected by deleteEmptyParagraphMechanism.  One small quirk
9855         left is that an empty document with an error in the preamble can
9856         be made to report an error but no error box appears.  I don't know
9857         where it goes.
9858         (removeAutoInsets): Improved comments.
9859
9860 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9861
9862         * Thesaurus.h:
9863         * Thesaurus.C: update for Aiksaurus 0.14
9864
9865 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9866
9867         * text2.C (firstParagraph): removed member function, all uses
9868         replaces with ownerParagraph
9869         (redoParagraphs): here
9870         (updateInset): here
9871         (toggleAppendix): here
9872         * BufferView2.C (insertErrors): here
9873         (setCursorFromRow): here
9874
9875 2002-01-13  Allan Rae  <rae@lyx.org>
9876
9877         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9878         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9879         There is still a way to segfault this although you may have to do this
9880         multiple times: Have an InsetERT with an unknown command in it.
9881         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9882         <down-arrow>, <Enter> again, View->DVI, BANG!
9883
9884         * text2.C (setCursor):
9885         (deleteEmptyParagraphMechanism):
9886         * lyxtext.h (setCursor):
9887         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9888         Making use of the return value may help fix other bugs.
9889
9890 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9893
9894         * LyXView.C (updateMenubar): call MenuBar::update here
9895         (updateToolbar): but not here
9896         (showState): do not update toolbar/menubar
9897
9898         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9899         should need to care about that.
9900
9901         * lyxfunc.C (verboseDispatch): simplify a bit
9902         (getStatus): have a version which takes a pseudoaction, and
9903         another which requires a (kb_action,string).
9904
9905         * LyXAction.C (retrieveActionArg): make it work also when action
9906         is not a pseudo-action.
9907         (getActionName): simplify a bit
9908         (helpText):
9909
9910 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * lyxfunc.C (verboseDispatch): new families of methods with
9913         several ways to specify a command and a bool to indicate whether
9914         the command name and shortcut should be displayed in minibuffer
9915         (eventually, we could extend that to a finer bitmask like
9916         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9917         (dispatch): the pristine dispatch command which just, well,
9918         dispatchs! Note it still sets its result to minibuffer; I'm not
9919         sure we want that.
9920
9921         * lyxfunc.h: remove setHintMessage
9922
9923         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9924
9925 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * BufferView_pimpl.C (specialChar): delete new inset if we have
9928         not been able to insert it.
9929
9930         * kbmap.C: revert to using int instead of kb_action, since all we
9931         are dealing with is pseudo-actions.
9932
9933         * LyXAction.C (searchActionArg): change to return int instead of
9934         kb_action, since the result is a pseudoaction.
9935
9936 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9937
9938         * buffer.C (insertErtContents): Fix (partially) the font bug.
9939
9940 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9941
9942         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9943         as the other one is broken on my machine!
9944
9945 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9946
9947         * commandtags.h:
9948         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9949
9950 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9951
9952         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9953         reflect their actual use. Provide compatibility code for older lyxrc
9954         files.
9955
9956         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9957         FL_NORMAL_STYLE.
9958         change names of popup font variables in line with the changes to lyxrc.C
9959
9960 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * buffer.C (asciiParagraph): avoid outputing a word twice after
9963         an inset.
9964
9965         * lyxrc.C (getDescription): document that document_path and
9966         template_path can be empty.
9967
9968 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9969
9970         * LaTeXFeatures.C (getMacros):
9971         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9972
9973         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9974
9975         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9976         getPackages.
9977         (getPackages): rename feature "floats" to "float". Use an array to
9978         iterate over 'simple' features (i.e. just a \usepackage). Add
9979         handling of "amsmath" (renamed from "amsstyle").
9980
9981 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9982
9983         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9984         features list.
9985
9986 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9987
9988         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9989         FuncStaus::FuncStatus & FuncStaus::some_method().
9990
9991 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9992
9993         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9994         of the func_satus stuff. Edited and massaged in various ways by
9995         JMarc.
9996
9997         * lyxfunc.C (getStatus): use FuncStatus
9998
9999 2002-01-08  Juergen Vigna  <jug@sad.it>
10000
10001         * text.C (nextBreakPoint): use function Inset::isChar().
10002
10003         * paragraph.C (TeXOnePar): use function
10004         Inset::forceDefaultParagraphs.
10005
10006         * buffer.C (latexParagraphs): use function
10007         Inset::forceDefaultParagraphs.
10008
10009 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10010
10011         * lyx_gui.C (init): set the style of the menu popups to
10012         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10013
10014 2002-01-07  Juergen Vigna  <jug@sad.it>
10015
10016         * text.C (setHeightOfRow): small fix
10017         (prepareToPrint): don't look at alignment if we don't have the place
10018         for doing it.
10019
10020 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10021
10022         * box.C: New file. Move the Box methods and functions out of box.h,
10023         following Lars' suggestion.
10024
10025 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10026
10027         * box.h: #include "support/LOstream.h", needed for inlined function.
10028
10029         * lyxtextclass.C:
10030         * lyxtextclasslist.C: added some using std declarations.
10031
10032 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * box.h: make signed dimensions to allow insets wider than
10035           the screen (bug #162)
10036
10037         * BufferView_pimpl.C: add some insetHit debug
10038
10039 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * vc-backend.C: add FIXME
10042
10043 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * lyxfunc.C (getStatus): enable code for showing math font status
10046         in toolbar/menu.
10047
10048 2002-01-07  Juergen Vigna  <jug@sad.it>
10049
10050         * text.C (nextBreakPoint): removed debug output not needed anymore.
10051
10052 2002-01-06  Juergen Vigna  <jug@sad.it>
10053
10054         * text.C (nextBreakPoint): fixed up this function we had this bug
10055         since ever but now hopefully we break row better.
10056         (insertChar): we have to check if an inset is the next char as it
10057         could now happen that a large inset is causing a break.
10058
10059 2002-01-05  Juergen Vigna  <jug@sad.it>
10060
10061         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10062         if it doesn't like to be drawed.
10063
10064 2002-01-04  Juergen Vigna  <jug@sad.it>
10065
10066         * BufferView2.C (lockInset): forgot to set a cursor.
10067
10068         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10069
10070 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10071
10072         * FormMathsPanel.C:
10073         * FormMathsPanel.h
10074         * MathsSymbols.C:
10075         * form_maths_panel.C:
10076         * form_maths_panel.h:
10077         * form_maths_panel.fd: implemented sub- and super- buttons in math
10078         panel.
10079
10080         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10081         (or ^ space) to be used as in TeX (req'd by André).
10082
10083         * lyxfunc.C: Allow ^ and _ again to be used both as
10084         super/subscript (mathed) and as themselves (in text).
10085
10086 2002-01-03  Allan Rae  <rae@lyx.org>
10087
10088         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10089         "LyX" or the filename of the current buffer if it has one.  This is a
10090         modified form of John Levon's patch.
10091
10092         * XFormsView.C (setWindowTitle): also set icon title.
10093
10094         * LyXView.h (setWindowTitle): signature changed.
10095         * XFormsView.h (setWindowTitle): ditto.
10096
10097 2002-01-02  Juergen Vigna  <jug@sad.it>
10098
10099         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10100
10101 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10102
10103         * screen.C (topCursorVisible): introduce a temp var for
10104         text->cursor.row(), handle the case where this row is null. (kindo
10105         hachish)
10106
10107         * text2.C (setCursor): add a couple of asserts.
10108
10109         * paragraph.h (inset_iterator): add -> operator
10110
10111         * paragraph.[Ch] (autoDeleteInsets): remove member function
10112
10113         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10114         cursor pos correctly and handle inset deletion by itself.
10115         (insertErrors): move iterator declaration out of for expression
10116
10117         * lyxtextclass.C: add <algorithm>
10118
10119         * Makefile.am: added the new files to sources, removed layout.C
10120
10121         * layout.C: removed file
10122
10123         * layout.h: remove LYX_DUMMY_LAYOUT
10124
10125         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10126         layout.
10127
10128         * lyxlayout.[Ch]:
10129         * lyxtextclass.[Ch]:
10130         * lyxtextclasslist.[Ch]: new files
10131
10132         * include order changes to a lot of files, also changes because of
10133         the six new files.
10134
10135 2001-12-27  Juergen Vigna  <jug@sad.it>
10136
10137         * buffer.C (asciiParagraph): more fixes.
10138
10139         * tabular.C (ascii): make ascii export support export of only the
10140         data separated by a column-delimiter.
10141         (ascii): better support for ascii export.
10142
10143         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10144
10145 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10146
10147         * tabular_funcs.C: use a "using std::getline" instead of the
10148         previous fix from Angus (necessary for cxx + lyxstring)
10149
10150 2001-12-24  Juergen Vigna  <jug@sad.it>
10151
10152         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10153
10154         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10155         problems. First check a minipage also if we have some ert-contents
10156         (not only on par->size(), second set the right depth of the paragraph
10157         on the relink to the root-paragraph-list!
10158
10159         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10160         which then did not anymore update the main paragraphs on undo/redo!
10161
10162 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10165         code. Support all font-changing funcs (even those which are not in
10166         menu currently). Support for reporting font settings in
10167         mathed (disabled until Andre provides a function on mathed's side).
10168
10169         * func_status.h (toggle): small helper function to set toggle
10170         state on a flag.
10171
10172 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10173
10174         * tabular_funcs.C: getline -> std::getline
10175
10176 2001-12-21  Juergen Vigna  <jug@sad.it>
10177
10178         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10179         accessed and could be 0 (I couldn't generate this but it seems
10180         Michael could!).
10181
10182 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10185         * tabular_funcs.h: here and include iosfwd
10186
10187 2001-12-20  Juergen Vigna  <jug@sad.it>
10188
10189         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10190         inside inset but undo_par was.
10191
10192 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * Thesaurus.C: always include <config.h> in sources.
10195
10196         * Painter.h:
10197         * lyxlookup.h:
10198         * box.h: do not include <config.h> in header files
10199
10200         * text.C (paintLastRow): remove unused variable
10201
10202         * text.C (transformChar):
10203         (insertChar):
10204         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10205
10206         * Painter.C (text):
10207         * font.C (width): rewrite to use uppercase() instead of
10208         islower/toupper.
10209
10210         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10211
10212 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * lyxfind.C: clean up of find failure position change
10215
10216 2001-12-20  Juergen Vigna  <jug@sad.it>
10217
10218         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10219
10220         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10221         (TeXRow): added to LaTeX a single tabular row.
10222         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10223         (Latex): simplified and finally good LT-h/f support.
10224         (various_functions): just small adaptions for LT-h/f support.
10225
10226         * tabular_funcs.[hC]: added and moved here all not classfunctions
10227         of LyXTabular.
10228
10229 2001-12-19  Juergen Vigna  <jug@sad.it>
10230
10231         * tabular.[Ch]: better support for longtabular options (not finished
10232         yet!)
10233
10234 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * text.C (paintLastRow): use the label font instead of the font of
10237         the last character to compute the size of *_BOX. This makes more
10238         sense and avoids a crash with empty paragraphs.
10239         Use Painter::rectangle to draw EMPTY_BOX.
10240
10241 2001-12-19  Juergen Vigna  <jug@sad.it>
10242
10243         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10244         the paragraphs if the replaced paragraph is not the first one!
10245         Tried to delete not used paragraphs but does not work yet so for
10246         now it's inside #ifdef's and by default off!
10247
10248 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * MenuBackend.C: include "lyx_main.h" instead of declaring
10251         lastfiles (actually was declared as LastFiles* instead of a
10252         scoped_ptr).
10253
10254 2001-12-17  Juergen Vigna  <jug@sad.it>
10255
10256         * tabular.C (AppendColumn): applied John's fix
10257
10258 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * BufferView.h:
10261         * BufferView.C:
10262         * BufferView_pimpl.h:
10263         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10264
10265         * Makefile.am:
10266         * box.h: new start of class for above
10267
10268         * lyxfunc.C: ignore space-only minibuffer dispatches.
10269           Show the command name when it doesn't exist
10270
10271         * minibuffer.C: don't add empty lines to the history
10272
10273         * minibuffer.C: add a space on dropdown completion
10274
10275 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * text.C: fix line above/below drawing in insets
10278
10279 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10280
10281         * lyxlength.C (LyXLength): Initialize private variables.
10282
10283 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10284
10285         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10286         when inserting error insets.
10287
10288 2001-12-13  Juergen Vigna  <jug@sad.it>
10289
10290         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10291         actually sometimes the before-paragraph.
10292         (setUndo): don't clear the redostack if we're not actually undoing!
10293
10294 2001-12-06  Juergen Vigna  <jug@sad.it>
10295
10296         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10297         and fixed redoing of main paragraph, so we can use it now ;)
10298
10299         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10300
10301 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10304         Juergen's request
10305
10306 2001-12-13  André Pönitz <poenitz@gmx.net>
10307
10308         * undostack.[Ch]:
10309         * undo_func.C: minor cleanup
10310
10311 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10314         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10315         font in urw-fonts package which is marked as -urw-fontspecific and
10316         does not work (incidentally, changing the encoding in the
10317         fonts.dir of this package to -adobe-fontspecific fixes the
10318         problem).
10319
10320         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10321         is a crash when undoing first paragraph (Juergen, please take a
10322         look). THis does not mean the undo fix is wrong, just that it
10323         uncovers problems.
10324
10325         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10326         the (Paragraph*) version when needed instead of duplicating the
10327         code.
10328
10329         * text.C (workWidth): use Inset::parOwner to find out where the
10330         inset has been inserted. This is a huge performance gain for large
10331         documents with lots of insets. If Inset::parOwner is not set, fall
10332         back on the brute force method
10333
10334         * paragraph_pimpl.C (insertInset):
10335         * paragraph.C (Paragraph):
10336         (cutIntoMinibuffer): set parOwner of insets when
10337         inserting/removing them
10338
10339         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10340
10341 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10342
10343         * commandtags.h:
10344         * LyXAction.C:
10345         * lyx_main.C:
10346         * lyxfunc.C:
10347         * mathed/formulabase.C:
10348         * mathed/math_cursor.[Ch]:
10349         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10350
10351
10352 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * lyxlength.[Ch] (operator!=): new function
10355
10356 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * text.C (workWidth): use Inset::parOwner to find out where the
10359         inset has been inserted. This is a huge performance gain for large
10360         documents with lots of insets. If Inset::parOwner is not set, fall
10361         back on the brute force method
10362
10363         * paragraph_pimpl.C (insertInset):
10364         * paragraph.C (Paragraph):
10365         (cutIntoMinibuffer): set parOwner of insets when
10366         inserting/removing them
10367
10368         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10369
10370 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * tabular-old.C (getTokenValue):
10373         * tabular.C (getTokenValue):
10374         (write_attribute): new versions for LyXLength
10375         (everywhere): adjust the use of widths
10376
10377         * tabular.h: change the type of widths from string to LyXLength
10378
10379 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10380
10381         * paragraph.C: fixed missing line number count when exporting
10382         Environments to LaTeX file
10383
10384         * buffer.C: added informational message for checking line numbers.
10385
10386 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10389         paragraph, do the 'double space' part, but not the 'empty
10390         paragraph' one.
10391
10392         * text.C (workWidth): small optimization
10393         (getLengthMarkerHeight): use minimal size for negative lengths.
10394
10395 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10396
10397         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10398
10399         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10400
10401 2001-12-11  André Pönitz <poenitz@gmx.net>
10402
10403         * FontLoader.C:
10404         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10405
10406 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * text2.C: keep selection on a setFont()
10409
10410 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * lyx_cb.C: another bv->text misuse, from insert label
10413
10414 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * kbsequence.h:
10417         * kbsequence.C: re-instate nmodifier mask
10418
10419 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10420
10421         * lyx_main.h: make lyxGUI private.
10422
10423 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxfind.C: place the cursor correctly on failed search
10426
10427 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * text.C (getLengthMarkerHeight): for small heights, the arrows
10430         are not always on top/bottom of the text
10431         (drawLengthMarker): smaller arrows; take the left margin in
10432         account; draw also vfills.
10433         (paintFirstRow):
10434         (paintLastRow): remove special code for vfill and standard spaces,
10435         since everything is handled in drawLengthMarker now.
10436
10437 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10438
10439         * buffer.C (insertErtContents): try to handle font and language
10440         interaction a bit better.g
10441
10442         * ColorHandler.C (updateColor): change the hash to cover the whole
10443         LColor enum, ws cleanup
10444         (getGCLinepars): ditto
10445         (getGCLinepars): only lookup in the linecache once.
10446
10447 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * iterators.C (operator++): Make the iterator more robust
10450
10451         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10452         (John's patch)
10453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10454
10455 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * lyxtext.h:
10458         * text.C: better added space drawing
10459
10460 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * LyXView.C:
10463         * BufferView2.C: fix layout combo update on inset unlock
10464
10465 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * Makefile.am: don't compile unused files
10468
10469 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * lyxfunc.C:
10472         * commandtags.h:
10473         * LyXAction.C: remove old LFUN_LAYOUTNO
10474
10475 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * paragraph_pimpl.h:
10478         * paragraph_pimpl.C: isTextAt() doesn't need font param
10479
10480 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * lyxlex.h:
10483         * lyxlex.C: little cleanup
10484
10485 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * BufferView_pimpl.C: fix insertAscii for insets
10488
10489 2001-12-05  Juergen Vigna  <jug@sad.it>
10490
10491         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10492         set the right font on the "multi" paragraph paste!
10493
10494 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * trans_decl.h:
10497         * trans_mgr.[Ch]:
10498         * trans.[Ch]:
10499         * lyxgluelength.C:
10500         * lyxlength.C: remove out-commented code.
10501
10502         * BufferView_pimpl:
10503         * CutAndPaste.C:
10504         * DepTable.C:
10505         * buffer.C:
10506         * chset.C:
10507         * lastfiles.C:
10508         * lyxlex.C:
10509         * lyxlex_pimpl.C:
10510         * lyxserver.C:
10511         * screen.C:
10512         * tabular-old.C:
10513         * tabular.C:
10514         * text.C:
10515         * trans_mgr.C:
10516         * vc-backend.C: change "while(" to "while ("
10517
10518         * lyxlength.[Ch]: add zero function to check if length is zero or
10519         not
10520         * lyxgluelength.C: use it
10521
10522 2001-12-05  Allan Rae  <rae@lyx.org>
10523
10524         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10525         Works for 2.95.3, from what I understand of Garst's reports this should
10526         work for other g++ versions.  We're screwed if the abs(int) definition
10527         changed between bugfix releases of gcc.
10528
10529 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10530
10531         * text.C: fix chapter label offset !
10532
10533 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10534
10535         * lyxtext.h:
10536         * text.C: fix hfill at end of line, clean up
10537
10538 2001-12-04  Juergen Vigna  <jug@sad.it>
10539
10540         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10541         that we force an update of the inset and it's owners if neccessary.
10542
10543 2001-12-03  Juergen Vigna  <jug@sad.it>
10544
10545         * text.C (rowLast): simplified code
10546
10547 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * lyxfunc.C: fix show options on timeout
10550
10551 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * screen.C (topCursorVisible): scroll half a page when the cursor
10554         reached top of bottom of screen
10555
10556 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * minibuffer.C: deactivate on loss of focus
10559
10560 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10561
10562         * vspace.[Ch] (operator!=): add operator.
10563
10564 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * BufferView_pimpl.C: refuse to open an inset when
10567         there's a selection.
10568
10569 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * BufferView_pimpl.C: allow to click on RHS of full row insets
10572
10573 2001-11-30  Juergen Vigna  <jug@sad.it>
10574
10575         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10576         insets for undo reasons.
10577
10578 2001-11-28  André Pönitz <poenitz@gmx.net>
10579
10580         * vspace.[Ch]: cosmetical changes
10581
10582 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * LyXAction.h:
10585         * LyXAction.C:
10586         * lyxfunc.h:
10587         * lyxfunc.C:
10588         * kbmap.h:
10589         * kbmap.C:
10590         * lyxrc.C:
10591         * kbsequence.h:
10592         * kbsequence.C: part re-write of old kb code
10593
10594         * Painter.C:
10595         * WorkArea.C: remove Lgb_bug_find_hack
10596
10597 2001-11-30  José Matos <jamatos@fep.up.pt>
10598
10599         * buffer.C (makeDocBookFile): add a comment to point a hack.
10600         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10601         Fixed a double write of labels.
10602
10603 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10604
10605         * LaTeX.C:
10606         * LaTeX.h Fixed bug in LaTeX class where it would not
10607         re-run latex if no depfiles were changed, but the .dvi was removed.
10608
10609 2001-11-28  André Pönitz <poenitz@gmx.net>
10610
10611         * all the files from the change on 2001/11/26:
10612         use lyx::layout_type instead of LyXTextClass::size_type
10613         use lyx::textclass_type instead of LyXTextClassList::size_type
10614
10615 2001-11-29  Juergen Vigna  <jug@sad.it>
10616
10617         * text.C: added support for paragraph::isFreeSpacing()
10618
10619         * buffer.C: same as above
10620
10621         * paragraph.h: inserted isFreeSpacing() function to enable
10622         FreeSpacing inside InsetERT.
10623
10624         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10625         of the paragraph's in the cut/copy buffer to 0!
10626
10627         * text2.C (removeRow): remove the assert as it can!
10628
10629         * lyxtext.h: added helper function firstRow returning firstrow and
10630         made firstrow private again.
10631
10632         * BufferView2.C (lockInset): don't relock if we're already locked!
10633
10634         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10635         the only paragraph.
10636         (removeRow): added Assert::(firstrow)
10637
10638         * debug.C: forgot to add INSETTEXT here.
10639
10640 2001-11-28  Juergen Vigna  <jug@sad.it>
10641
10642         * sp_spell.C (initialize): changed error text to more general
10643         spellchecker command use (not only ispell!)
10644
10645         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10646
10647         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10648
10649 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * vspace.C: initialise lyxgluelength on failure
10652
10653 2001-11-28  Allan Rae  <rae@lyx.org>
10654
10655         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10656         declaration & definition that looks like a function declaration.
10657
10658 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10659
10660         * BufferView2.C (copy):
10661         (copyEnvironment): do not clear the selection when doing a copy.
10662
10663         * text.C (paintFirstRow): compilation fix
10664
10665 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10666
10667         * tabular.C (Latex): correct line count when writing latex.
10668
10669 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * paragraph_pimpl.h:
10672         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10673           bug a bit
10674
10675 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * text.C:
10678         * LColor.h:
10679         * LColor.C: change vfillline->added_space
10680
10681         * text.C: add markers and text for added space
10682
10683         * vspace.C: fix comment
10684
10685 2001-11-28  André Pönitz <poenitz@gmx.net>
10686
10687         * paragraph.C: whitespace changes
10688         * all the other files from the change on 2001/11/26:
10689         change *::pos_type into lyx::pos_type
10690
10691 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10692
10693         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10694         language of the document when inserting error insets.
10695
10696 2001-11-26  André Pönitz <poenitz@gmx.net>
10697
10698         * BufferView_pimpl.[Ch]:
10699         *       CutAndPaste.C:
10700         * buffer.[Ch]:
10701         * lyxcursor.[Ch]:
10702         * lyxfind.C:
10703         * lyxfunc.C:
10704         * lyxrow.[Ch]:
10705         * paragraph.[Ch]:
10706         * paragraph_pimpl.[Ch]:
10707         * sp_spell.C:
10708         * text.C:
10709         * text2.C: reduce header dependencies, introduce type for positions
10710
10711 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * <various>: change to use Alert.h
10714
10715 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10718         when encountering an unknown token.
10719         (readLyXformat2): Show an error message if there were unknown tokens.
10720
10721 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * BufferView2.C:
10724         * BufferView_pimpl.C:
10725         * buffer.C:
10726         * paragraph.h:
10727         * text.C:
10728         * text2.C: use par->isInset()
10729
10730 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * paragraph_pimpl.h:
10733         * paragraph_pimpl.C: cleanup
10734
10735 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * text2.C (removeRow):
10738         * text.C (setHeightOfRow): remove useless (and costly) call to
10739         getRow.
10740
10741 2001-11-20  Allan Rae  <rae@lyx.org>
10742
10743         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10744         Now need Inset*::checkInsertChar() to return true for appropriate
10745         cases so that the characters in the minibuffer will actually be
10746         inserted.
10747
10748 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10749
10750         * text.C: change the order of the includes.
10751         (workWidth): initialize it at once.
10752         (workWidth): make maxw unsigned
10753         (setHeightOfRow): remove unused variable (inset)
10754         (selectSelectedWord): remove unused variable (inset)
10755         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10756
10757 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10758
10759         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10760         server is not running.
10761         (openConnection):
10762         (closeConnection): add debug info when server is disabled.
10763
10764         * ColorHandler.C (getGCForeground): send debug message to GUI
10765         channel.
10766
10767         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10768
10769         * kbmap.C (bind): modify because return conventions of
10770         kb_sequence::parse have changed.
10771
10772         * kbsequence.C (parse): only ignore spaces and not any stupid
10773         control character. This avoids tests like s[i] <= ' ', which are
10774         guaranteed to fail with 8bit characters and signed chars.
10775         Change return code to string::npos when there have been no error
10776         (0 was a bad idea when error is at first character)
10777
10778 2001-11-14  José Matos  <jamatos@fep.up.pt>
10779
10780         * buffer.h:
10781         * buffer.C (simpleDocBookOnePar): removed unused argument.
10782
10783 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10786         insets which are part of a word. Paragraph::isLetter takes care of
10787         that now. Use Paragraph::isInset to identify insets.
10788         (selectSelectedWord): do not test for hyphenation break.
10789
10790         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10791         that protected spaces are considered as spaces.
10792
10793         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10794         Inset::isLetter.
10795
10796 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * lyxserver.h:
10799         * lyxserver.C: fix it. and small cleanup.
10800
10801 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * BufferView_pimpl.C: use inline helpers
10804
10805         * LaTeXFeatures.h:
10806         * LaTeXFeatures.C: fix typos
10807
10808         * Spacing.h:
10809         * Spacing.C: move spacing_string into class
10810
10811         * ToolbarDefaults.C: move stuff into namespace anon
10812
10813         * layout.h: update enum
10814
10815         * lyxfunc.C: use better debug
10816
10817         * minibuffer.h: fix typo
10818
10819         * debug.h:
10820         * debug.C:
10821         * WorkArea.C: add and use Debug::WORKAREA
10822
10823         * lyxtext.h:
10824         * text.C:
10825         * text2.C: code re-organisation, inline helpers
10826
10827 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10828
10829         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10830         std::vector.empty().
10831
10832 2001-11-09  Allan Rae  <rae@lyx.org>
10833
10834         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10835         '\n's after tables.  Tabular and ERT inset work now makes this no
10836         longer necessary.
10837
10838 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10839
10840         * minibuffer.h:
10841         * minibuffer.C: fix crash, improve drop-down completion
10842
10843 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * lyxserver.h:
10846         * lyxserver.C: invalidate fd's when doing endPipe()
10847
10848 2001-11-08  José Matos  <jamatos@fep.up.pt>
10849
10850         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10851         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10852
10853         * paragraph.h:
10854         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10855
10856 2001-11-07  José Matos  <jamatos@fep.up.pt>
10857
10858         * buffer.h:
10859         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10860         const qualifier.
10861
10862         * buffer.C (sgmlOpenTag):
10863         * buffer.C (sgmlCloseTag): removed debug info.
10864
10865         * buffer.h (sgmlOpenTag):
10866         * buffer.h (sgmlCloseTag): made public.
10867
10868 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10869
10870         * buffer.C (saveParamsAsDefaults):
10871         * lyx_cb.C (MenuLayoutSave): remove
10872
10873         * LyXAction.C (init):
10874         * commandtags.h:
10875         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10876
10877 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10878
10879         * buffer.C (setPaperStuff): removed from here...
10880
10881         * bufferparams.C (setPaperStuff): ... and moved there.
10882
10883 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * minibuffer.h:
10886         * minibuffer.C:
10887         * XFormsView.C: add support for drop-down completion
10888
10889 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10890
10891         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10892         commands.
10893
10894 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10895
10896         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10897         disabled.
10898
10899 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10900
10901         * lyx_main.C: change ref to known bugs
10902
10903 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10904
10905         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10906         to work around older babel problems.
10907
10908 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10909
10910         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10911
10912 2001-10-24  Juergen Vigna  <jug@sad.it>
10913
10914         * tabular-old.C (ReadOld): below variable changes reflected.
10915
10916         * tabular.[Ch]: added ltType struct for longtable header/footer
10917         defines and changed all instances where they are used. Added
10918         future support for double top/bottom rows.
10919
10920 2001-10-24  José Matos  <jamatos@fep.up.pt>
10921
10922         * buffer.h (docbookHandleCaption):
10923         * buffer.C (docbookHandleCaption): removed unused function.
10924         (makeDocBookFile): moved docbook supported version to v4.1.
10925
10926 2001-10-24  José Matos  <jamatos@fep.up.pt>
10927
10928         * tabular.h:
10929         * tabular.C (docbookRow): new function to export docbook code of a row.
10930         (DocBook): now honors the longtable flags.
10931
10932 2001-10-23  José Matos  <jamatos@fep.up.pt>
10933
10934         * LaTeXFeatures.h:
10935         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10936         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10937
10938         * buffer.C (makeLinuxDocFile):
10939         (makeDocBookFile): reworked the preamble, more clean, and with
10940         support for lyx defined entities. Changed the document declaration
10941         to be more XML friendly.
10942
10943         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10944         if we need to output XML that should be done with a filter.
10945
10946 2001-10-22  Juergen Vigna  <jug@sad.it>
10947
10948         * sp_pspell.h (class PSpell): add alive function needed in the
10949         controller to see if the spellchecker could be started.
10950
10951 2001-10-22  Juergen Vigna  <jug@sad.it>
10952
10953         * buffer.C (insertStringAsLines): modify the font for inserting
10954         chars in certain conditions by calling checkInsertChar(font).
10955
10956 2001-10-19  Juergen Vigna  <jug@sad.it>
10957
10958         * text.C (workWidth): use getRow instead of wrong algorithm.
10959         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10960
10961 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * lyxserver.h:
10964         * lyxserver.C:
10965         * lyx_main.h:
10966         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10967
10968 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10969
10970         * text.C (workWidth): do not search for the exact row when
10971         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10972         optimization for big documents.
10973
10974 2001-10-18  Juergen Vigna  <jug@sad.it>
10975
10976         * text.C (workWidth): new function with added Inset * parameter.
10977
10978 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10979
10980         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10981
10982         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10983         change return type of getColumnNearX.
10984
10985
10986         * text.C (changeRegionCase): use uppercase/lowercase instead of
10987         toupper/tolower.
10988         (leftMargin):
10989         (rightMargin): simplify code by factoring out the uses of
10990         textclasslist.
10991         (labelFill):
10992         (numberOfHfills):
10993         (setHeightOfRow):
10994         (appendParagraph): use Paragraph::size_type
10995
10996 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10997
10998         * vspace.C (asLatexString): add a missing break
10999
11000 2001-10-15  Herbert Voss  <voss@perce.de>
11001
11002         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11003
11004 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11005
11006         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11007         is not available.
11008
11009 2001-10-10  André Pönitz <poenitz@gmx.net>
11010
11011         * lyxfunc.C: removed greek_kb_flag.
11012
11013 2001-10-10  Herbert Voss  <voss@perce.de>
11014
11015         * lyx_main.C: delete global string help_lyxdir.
11016
11017 2001-10-09  Herbert Voss  <voss@perce.de>
11018
11019         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11020
11021         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11022
11023         * lyx_main.C: added global string help_lyxdir.
11024
11025         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11026
11027 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11028
11029         * lyxrc.C (set_font_norm_type): support iso8859-4
11030
11031 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11032
11033         * LaTeX.C (deplog): add another regex for MikTeX
11034
11035 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11036
11037         * lyxrc.C (set_font_norm_type): support iso8859-3
11038
11039 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11040
11041         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11042
11043         * LaTeXFeatures.C: remove special case of french and index
11044
11045         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11046         before \begin{document}). This solves several incompatibilities.
11047
11048 2001-10-03  Garst Reese  <reese@isn.net>
11049
11050         * lyx_cb.C: change CheckTex error msg.
11051
11052 2001-10-03  José Matos  <jamatos@fep.up.pt>
11053
11054         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11055
11056 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11057
11058         * .cvsignore: update
11059
11060         * lyx_main.C (commandLineVersionInfo): use new style version info.
11061
11062         * buffer.C (writeFile):
11063         (makeLaTeXFile):
11064         (makeLinuxDocFile):
11065         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11066
11067         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11068
11069         * version.h: update to use stuff in version.C
11070
11071         * version.C.in: new file. Contains version information determined
11072         at compile time. This is a merging of version.h and
11073         version_info.h.in.
11074
11075 2001-10-03  Juergen Vigna  <jug@sad.it>
11076
11077         * BufferView_pimpl.C (update): don't change "dirty" status in
11078         updateInset call.
11079
11080 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11081
11082         * WorkArea.C (c-tor): re-position version string slightly.
11083
11084 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11085
11086         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11087         revert to previous code.
11088
11089         WorkArea.[Ch]: (show, destroySplash): methods removed.
11090
11091         WorkArea.C: rework code so that it's an amalgam of the codes before and
11092         after the splash screen was moved to WorkArea.
11093
11094 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11095
11096         * lyxrc.C (read):
11097         * vspace.C (inPixels):
11098         (lyx_advance):
11099         * kbmap.C (bind):
11100         * buffer.C (insertStringAsLines):
11101         (asciiParagraph): fix types to be large enough
11102
11103         * lyxlex_pimpl.h: change member status from short to int
11104
11105         * layout.h: fix type of endlabeltype
11106
11107         * kbmap.C (bind):
11108         * kbsequence.C (parse): change return type to string::size_type
11109
11110         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11111         variable
11112
11113         * Bullet.C (bulletSize):
11114         (bulletEntry): do not use short ints as parameters
11115
11116         * BufferView2.C (insertLyXFile): change a char to an int.
11117
11118         * WorkArea.C (WorkArea): remove unneeded floats in computation
11119
11120 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11121
11122         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11123
11124         * paragraph.C (asString): Do not ignore newline/hfill chars when
11125         copying to the clipboard.
11126
11127 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11130         after a multi-line inset.
11131
11132 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * paragraph.C (validate): Set NeedLyXFootnoteCode
11135
11136 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11137
11138         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11139         and decrease-error to decrease.
11140
11141 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11144         it more readable (should be equivalent)
11145
11146 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11147
11148         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11149
11150 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11153         of a cursor (row, etc.) after a character has been deleted
11154         (deleteEmptyParagraphMechanism): call the method above on _all_
11155         cursors held by the LyXText when a double space has been
11156         detected/deleted.
11157
11158 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11159
11160         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11161         pixmap.
11162         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11163
11164         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11165         background. Use greyOut() and the new show() methods to toggle between
11166         the foreground and background. Add code to remove the splash after
11167         its initial showing.
11168
11169         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11170         (create_forms): no longer call Dialogs::showSplash.
11171
11172 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * .cvsignore: add version_info.h
11175
11176 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11177
11178         * version_info.h.in: new file
11179
11180         * Makefile.am: add version_info.h.in
11181
11182         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11183         version_info.h instead of VERSION_INFO
11184
11185 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11188         The ERT inset now returns string().
11189
11190 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * lyxtext.h, text.C (selectNextWord): renamed as
11193         selectNextWordToSpellcheck.
11194
11195         * text.C (selectNextWordToSpellcheck): Modified to not select
11196         words inside an ERT inset.
11197
11198 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * lyx_cb.C (MenuLayoutSave): change a bit the question
11201
11202         * sp_base.h: include <sys/types.h>
11203
11204 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11205
11206         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11207
11208 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11209
11210         * several files: fix typos in user-visible strings
11211
11212 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11213
11214         * text2.C (pasteSelection): do not set the selection, since it
11215         will be cleared later. Actually, the intent was to fix the way the
11216         selection was set, but I figured rmoving the code was just as good.
11217
11218 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * FontLoader.C (available): Check if font is available without
11221         loading the font.
11222
11223 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11224
11225         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11226
11227 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11228
11229         * lyxrc.[Ch]: added display_graphics variable and associated code.
11230
11231 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * bufferparams.C (hasClassDefaults): new method. Returns true if
11234         the buffer parameters correspond to known class defaults
11235
11236 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * XFormsView.C (show): set minimum size to the main window.
11239
11240 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11241
11242         * text2.C (copySelection):
11243         (cutSelection):
11244         * lyxfind.C (LyXReplace):
11245         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11246         LyXText::selectionAsString.
11247
11248         * paragraph.C (asString): add "label" argument to the second form
11249
11250         * text2.C (selectionAsString): add "label" argument and pass it to
11251         Paragraph::asString.
11252
11253 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11254
11255         * lyx_main.C (commandLineHelp): remove version information
11256
11257 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11258
11259         * lyx_main.C: add -version commandline option
11260
11261 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * paragraph.h: make the optional constructor arg required instead.
11264         some modifications to other files because of this.
11265
11266         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11267
11268         * lyxserver.C (C_LyXComm_callback): make it static
11269
11270         * lyx_main.C (error_handler): make it static
11271
11272         * lyx_gui.C (LyX_XErrHandler): make it static
11273
11274         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11275
11276         * WorkArea.C: make the extern "C" methods static.
11277
11278         * Makefile.am (lyx_LDADD): simplify
11279
11280 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11283         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11284
11285         * LyXAction.C (init):
11286         * lyxfunc.C (dispatch): associated code removal.
11287
11288 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11289
11290         * lyxfont.h (isSymbolFont): shut off warning
11291
11292         * text.C (setHeightOfRow):
11293         (getVisibleRow): fix crash with empty paragraphs which have a
11294         bottom line
11295
11296 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11297
11298         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11299         code.
11300
11301 2001-09-04  José Matos  <jamatos@fep.up.pt>
11302         * buffer.C
11303         * buffer.h
11304         * tabular.C (docbook): rename docBook method to docbook.
11305
11306 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * Makefile.am: add dependencies to main.o.
11309
11310 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11311
11312         * FontLoader.C (available): Return false if !lyxrc.use_gui
11313
11314 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11315
11316         * FontInfo.C (query):
11317         * converter.C (view):
11318         * importer.C (Import):
11319         * exporter.C (Export): Can not -> cannot.
11320
11321 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * BufferView_pimpl.C: allow to create index inset even if
11324           string is empty
11325
11326 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11327
11328         * buffer.C (getLists): replace boost::tie code with an explicit pair
11329         as boost::tie can break some compilers.
11330
11331         * iterators.h: Added a std:: declaration to the return type of
11332         ParIterator::size.
11333
11334 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11337           case.
11338
11339 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * iterators.[Ch]: New files. Provide paragraph iterators.
11342
11343         * buffer.C (changeLanguage): Use paragraph iterators.
11344         (isMultiLingual): ditto
11345
11346         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11347
11348 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11349
11350         * FontLoader.C: Support for cmr font.
11351
11352 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11355         (available): New method.
11356
11357         * FontInfo.C (getFontname): Use scalable fonts even when
11358         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11359         found.
11360
11361 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11362
11363         * converter.C (Formats::view): reverted! Incorrect fix.
11364
11365 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11366
11367         * converter.C (Formats::view): only output the -paper option
11368         if the dvi viewer is xdvi, thereby fixing bug #233429.
11369
11370 2001-08-23  Herbert Voss  <voss@perce>
11371
11372         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11373
11374 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11375
11376         * Spacing.h (Spacing): Set space to Default on in the default
11377         constructor.
11378
11379 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11380
11381         * vc-backend.h (RCS::versionString): add RCS to version
11382         (CVS::versionString): add CVS to version
11383
11384         * vc-backend.C (scanMaster): do not add CVS to version.
11385         (scanMaster): do not add RCS to version
11386
11387         * lyxvc.C (versionString): new method
11388
11389         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11390
11391 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * Spacing.C (set): initialize fval
11394
11395 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11396
11397         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11398         " or \.
11399
11400 2001-08-16  Juergen Vigna  <jug@sad.it>
11401
11402         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11403
11404 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * BufferView_pimpl.C:
11407         * figureForm.C:
11408         * lyxtext.h:
11409         * text2.C: setParagraph takes linespacing now
11410
11411 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * LyxAction.C: add internal LFUN_CITATION_INSERT
11414
11415         * LyXView.C: actually apply fix
11416
11417         * bufferlist.C: fix open non-existent file
11418
11419         * lyxfind.C: fix indentation
11420
11421         * lyxfunc.C: remove unneeded assert, fix typo
11422
11423 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * MenuBackend.C: use "Floatname List"
11426
11427 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11428
11429         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11430         when converting LaTeX layout to insetERT.
11431         Generate a non-collapsed float when reading old float
11432
11433 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11434
11435         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11436         ERT insets.
11437
11438 2001-08-13  Juergen Vigna  <jug@sad.it>
11439
11440         * text.C (fill): return 0 instead of 20 as this seems to be the more
11441         correct value.
11442
11443 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11444
11445         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11446         lyxrc.font_norm.
11447
11448 2001-08-13  Juergen Vigna  <jug@sad.it>
11449
11450         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11451         casesensitive off.
11452         (SearchBackward): comment out the unlocking of the inset_owner this
11453         should not be needed!
11454
11455 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * Many files: Remove inherit_language, and add latex_language
11458
11459         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11460         collapsible insets.
11461
11462 2001-08-10  Juergen Vigna  <jug@sad.it>
11463
11464         * text.C (prepareToPrint): fixed hfill-width in draw!
11465
11466         * BufferView2.C (selectLastWord): save the selection cursor as this
11467         now is cleared in the function LyXText::clearSelection!
11468
11469 2001-08-08  Juergen Vigna  <jug@sad.it>
11470
11471         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11472         BACKSPACE type functions.
11473
11474         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11475         is only cutted from the document but not put in the cut-buffer, where
11476         still the old stuff should be.
11477
11478         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11479
11480         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11481
11482         * tabular.C (SetWidthOfCell): fixed special case where the width
11483         was not updated!
11484         (LeftLine): handle '|' in align_special.
11485         (RightLine): ditto
11486         (LeftAlreadyDrawed): ditto
11487         (SetWidthOfCell): ditto
11488
11489 2001-08-07  Juergen Vigna  <jug@sad.it>
11490
11491         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11492
11493 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11496         * lyxlex.[hC]: ditto
11497
11498 2001-08-06  Juergen Vigna  <jug@sad.it>
11499
11500         * text.C (getVisibleRow): fix up row clearing a bit.
11501
11502 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * minibuffer.C: make sure the X server sees the changes in the input.
11505
11506 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * paragraph.C (getFont): split into...
11509         (getLabelFont): this
11510         (getLayoutFont): and this
11511         * paragraph_pimpl.C (realizeFont): calling this
11512
11513         * text2.C (getFont): split into...
11514         (getLayoutFont): this
11515         (getLabelFont): and this
11516         (realizeFont): all three calling this
11517
11518         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11519         files where used.
11520
11521 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11522
11523         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11524
11525 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11526
11527         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11528         layouts from the Quote inset insertion.
11529
11530 2001-08-03  Juergen Vigna  <jug@sad.it>
11531
11532         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11533
11534         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11535         only if status not is already CHANGED_IN_DRAW (second level).
11536
11537         * text.C (draw): don't set the need_break_row when inside an
11538         InsetText LyXText.
11539
11540 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * buffer.C (parseSingleLyXformat2Token): handle more latex
11543         conversion cases.
11544
11545         * bufferview_funcs.[hC]: change function names to
11546         begin with small char, adjust other files.
11547
11548 2001-08-02  André Pönitz <poenitz@gmx.net>
11549
11550         * lyxfunc.C:
11551         BufferView_pimpl.C: remove broken special code for math-greek
11552
11553 2001-08-02  Juergen Vigna  <jug@sad.it>
11554
11555         * BufferView_pimpl.C (update): redone this function so that we
11556         update the text again if there was a CHANGE_IN_DRAW.
11557
11558         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11559         (drawFromTo): added a new internal bool which is used by draw() and
11560         redraw() function.
11561         (general): some cursor drawing problems fixed.
11562
11563 2001-08-01  Juergen Vigna  <jug@sad.it>
11564
11565         * lyxfind.C (LyXFind): fixed
11566         (SearchForward): ditto
11567         (SearchBackward): ditto
11568
11569         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11570         spurius drawing of the cursor in the main area.
11571
11572         * text2.C (status): small fix which could lead to a segfault!
11573         (clearSelection): remove unneeded BufferView param.
11574
11575 2001-08-01  André Pönitz <poenitz@gmx.net>
11576
11577         * lyxfunc.C: small change due to changed mathed interface
11578
11579 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11580
11581         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11582
11583 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * lyxfunc.c: fail gracefully if file doesn't exist
11586
11587         * LyXSendto.C:
11588         * buffer.C:
11589         * lyxfunc.C:
11590         * BufferView_pimpl.C: IsDirWriteable() proto changed
11591
11592         * LyXView.C: fix updateWindowTitle() to store the last title
11593
11594 2001-07-31  Juergen Vigna  <jug@sad.it>
11595
11596         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11597         the font (wrong since using of Paragraph::highestFontInRange).
11598
11599         * paragraph.C (highestFontInRange): added a default_size parameter.
11600
11601         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11602         (setHeightOfRow): reformat
11603
11604 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * converter.[hC] + affected files: move to (inital-char)lowercase
11607         function names.
11608
11609         * ParagraphParameters.C (ParagraphParameters): remove commented code
11610
11611         * PainterBase.[Ch]: remove commented code
11612
11613         * LaTeXFeatures.h: add "bool floats" for float.sty
11614
11615         * LaTeXFeatures.C (LaTeXFeatures): init floats
11616         (require): handle float
11617         (getPackages): do it with floats
11618
11619 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11620
11621         * BufferView_pimpl.C (Dispatch): improve handling of
11622         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11623
11624         * commandtags.h: #include lyxfont.h here temporarily to avoid
11625         keybinding bug.
11626
11627         * bufferlist.h: include LString.h here.
11628
11629 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11630
11631         * text2.C (getStringToIndex): new method.
11632
11633 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11634
11635         * *: Reduced header file dependencies all over.
11636
11637 2001-07-30  Baruch Even  <baruch@lyx.org>
11638
11639         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11640
11641 2001-07-29  Baruch Even  <baruch@lyx.org>
11642
11643         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11644
11645 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * ParameterStruct.h (endif): add a default constructor to make
11648         sure that all variables is initialized.
11649
11650         * ParagraphParameters.C (ParagraphParameters): adjust
11651
11652 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11655         index; also, check that there is something to index, and that it
11656         does not span over several paragraphs.
11657         (doubleClick): use WHOLE_WORD_STRICT for double click.
11658
11659         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11660
11661         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11662         scheme.
11663
11664 2001-07-26  Baruch Even  <baruch@lyx.org>
11665
11666         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11667         an InsetFig figure, backwards compatible reading of old figure code.
11668
11669 2001-07-27  Juergen Vigna  <jug@sad.it>
11670
11671         * text2.C: font.realize function adaption.
11672
11673         * text.C (draw): add a warnings lyxerr text if needed.
11674
11675         * layout.C: font.realize function adaption.
11676
11677         * language.C: add inherit_language and implement it's handlings
11678
11679         * bufferview_funcs.C (StyleReset): remove language parameter from
11680         font creation (should be language_inherit now).
11681
11682         * bufferparams.C (writeFile): handle ignore_language.
11683
11684         * paragraph.C (getFontSettings): the language has to be resolved
11685         otherwise we have problems in LyXFont!
11686
11687         * lyxfont.C (lyxWriteChanges): added document_language parameter
11688         (update): removed unneeded language parameter
11689
11690         * paragraph.C (validate): fixed wrong output of color-package when
11691         using interface colors for certain fonts in certain environments,
11692         which should not seen as that on the final output.
11693
11694 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * BufferView_pimpl.C:
11697         * Thesaurus.h:
11698         * Thesaurus.C:
11699         * Makefile.am:
11700         * commandtags.h:
11701         * LyXAction.C: add thesaurus support
11702
11703         * lyxfind.h:
11704         * lyxfind.C: add "once" parameter, for thesaurus, to not
11705           move to the next match
11706
11707 2001-07-26  Juergen Vigna  <jug@sad.it>
11708
11709         * lyxfont.C (realize): honor ignore_language too!
11710         (resolved): ditto.
11711
11712         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11713
11714         * text.C (draw): one place more for ignore_language to not draw
11715         itself!
11716
11717 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11720
11721 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11722
11723         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11724         the minipage conversion problem.
11725
11726 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11729         insert an inset.
11730
11731 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * BufferView.h: don't forward declare WorkArea
11734
11735         * BufferView.C: don't include WorkArea.h
11736
11737 2001-07-25  André Pönitz <poenitz@gmx.net>
11738
11739         * commandtags.h:
11740         * LyXAction.C:
11741         * lyxfunc.C:  new LFUN 'math-space'
11742
11743         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11744
11745 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * text2.C (toggleInset): call open/close
11748
11749 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * lyxfunc.C (dispatch): add debug for the disabled case
11752
11753         * font.C (buttonText): make similar to rectText
11754
11755         * buffer.C (readInset): comment out parsing of insetlist and
11756         insttheorem
11757
11758         * PainterBase.C (rectText): small correction
11759
11760         * BufferView_pimpl.C: comment out insettheorem and insetlist
11761         * LyXAction.C: ditto
11762         * commandtags.h: ditto
11763
11764 2001-07-24  Juergen Vigna  <jug@sad.it>
11765
11766         * text.C (draw): honor the ignore_language.
11767
11768         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11769
11770 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11771
11772         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11773         char inset.
11774
11775 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11776
11777         * lyxtext.h: remove unused (and unimplemented) methods
11778
11779 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11780
11781         * text.C (getVisibleRow): honor background color
11782
11783         * PainterBase.h:
11784         * Painter.h: remove default color argument for fillRectangle
11785
11786         * text.C (backgroundColor): new method
11787
11788 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * text.C (getVisibleRow): adjust
11791
11792         * font.[Ch] (rectText): new method, metrics
11793         (buttonText): new method, metrics
11794
11795         * PainterBase.[hC]: make rectText and buttonText always draw and take
11796         fewer paramteres.
11797
11798 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11799
11800         * ToolbarDefaults.C (read):
11801         * MenuBackend.C (read): allow escaping in all strings
11802
11803         * BufferView_pimpl.C (insertAndEditInset): new method.
11804         (Dispatch): use insertAndEditInset whenever appropriate.
11805
11806         * BufferView_pimpl.C (insertNote): removed
11807
11808         * BufferView_pimpl.C (smartQuote): new method, moved from
11809         BufferView; if an insetquote cannot be inserted, insert a '"'
11810         character instead.
11811
11812         * BufferView2.C: remove insertCorrectQuote();
11813
11814         * lyxfunc.C (getStatus): Add support for all remaingin
11815         inset-insert lfuns.
11816
11817         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11818
11819         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11820         command (necessary to pass " as parameter of self-insert.
11821
11822         * text.C (selectWordWhenUnderCursor):
11823         (selectWord): add word_location parameter
11824         (selectWordWhenUnderCursor): same + remove special code for word
11825         boundary.
11826         (selectNextWord): use kind() to guess type of insetspecialchar,
11827         not latex().
11828
11829         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11830         (insertErtContents): create ert insets as collapsed.
11831         (readInset): better compatibility code for Info inset.
11832
11833 2001-07-20  Juergen Vigna  <jug@sad.it>
11834
11835         * lyxfunc.C (dispatch): use always LyXFind now!
11836
11837         * text2.C (init): add a reinit flag so that the LyXText can be
11838         reinited instead of deleted and reallocated (used in InsetText).
11839
11840         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11841
11842         * text.C: ditto
11843
11844         * text2.C: ditto
11845
11846 2001-07-18  Juergen Vigna  <jug@sad.it>
11847
11848         * text.C (selectNextWord): handle insets inside inset by calling
11849         always the bv->text functions so that we can go up the_locking_inset!
11850
11851         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11852         in strange locations when inside an inset!
11853
11854         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11855         handling to include insets.
11856
11857         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11858
11859 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11860
11861         * LyXAction.C (init):
11862         * commandtags.h:
11863         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11864         LIGATURE_BREAK, since the name is so stupid.
11865
11866 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11867
11868         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11869         InsetInfos.
11870
11871         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11872
11873         * sp_form.[Ch]: remove.
11874
11875         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11876
11877         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11878         InsetInfo.
11879
11880         * src/buffer.C (readInset): ditto.
11881
11882 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11883
11884         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11885         menuSeparator(), endOfSentenceDot(), ldots() and
11886         hyphenationPoint(), which are therefore removed.
11887         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11888
11889         * LyXAction.C (init):
11890         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11891
11892         * paragraph.C (getWord): removed.
11893
11894         * BufferView_pimpl.C (Dispatch): use last word or selection for
11895         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11896
11897         * lyx_main.C (queryUserLyXDir): do not ask before creating
11898         user_dir, except if it has been named explicitely.
11899
11900 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11903         a document of zero size.
11904
11905 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11908         approriately in the c-tor and in require().
11909         (getPackages): output the appropriate LaTeX for natbib support.
11910
11911         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11912         variables "use_natbib" and "use_numerical_citations" when reading the
11913         LyX file.
11914         (readInset): read the various natbib cite commands.
11915         (validate): white-space change.
11916
11917         * bufferparams.[Ch]: new variables "bool use_natbib" and
11918         "bool use_numerical_citations".
11919         (writeFile): output them in the LyX file.
11920
11921 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11922
11923         * lyxfunc.C (getStatus): add support for all the inset insertion
11924         commands.
11925
11926         * text2.C (insertInset):
11927         * paragraph.C (insetAllowed):
11928         * BufferView_pimpl.C (insertInset): update to take in account the
11929         renaming of insertInsetAllowed
11930
11931         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11932
11933         * text2.C (getInset): new method. returns inset at cursor position.
11934
11935         * BufferView_pimpl.C (Dispatch): changes because of this.
11936
11937         * LyXAction.C (init): rename open-stuff to inset-toggle.
11938
11939         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11940
11941         * text2.C (toggleInset): renamed from openStuff; use
11942         Inset::open().
11943
11944 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11945
11946         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11947
11948         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11949
11950 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * buffer.C (readLyXformat2): Add filename to the error dialog
11953
11954 2001-07-18  Juergen Vigna  <jug@sad.it>
11955
11956         * tabular.C (GetCellNumber): put an assert here instead of the check!
11957
11958 2001-07-17  Juergen Vigna  <jug@sad.it>
11959
11960         * BufferView_pimpl.C (toggleSelection): adapted too.
11961
11962         * text.C (selectNextWord): adapted for use with insets.
11963         (selectSelectedWord): ditto
11964
11965 2001-07-17  Juergen Vigna  <jug@sad.it>
11966
11967         * sp_spell.C (PSpell): fix initialitation order.
11968
11969 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * paragraph.C: spacing
11972
11973 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11974
11975         * sp_spell.C: repair language selection for pspell
11976
11977 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * lyxfunc.h: change more methods to begin with lower char.
11980
11981 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11982
11983         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11984         for unknown layouts.
11985
11986 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11987
11988         * buffer.C (readLyXformat2): Generate an error dialog if there are
11989         unknown layouts.
11990
11991 2001-07-16  Juergen Vigna  <jug@sad.it>
11992
11993         * sp_spell.C: always compile ISpell part.
11994
11995         * lyxrc.C: added use_pspell entry and it's handling.
11996
11997 2001-07-13  Juergen Vigna  <jug@sad.it>
11998
11999         * sp_spell.C: removed double includes.
12000
12001 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12002
12003         Consistent use of Lsstream.h:
12004         * Lsstream.h: added using std::stringstream for consistencies sake.
12005
12006         * buffer.C: removed using std::stringstream
12007
12008         * lyxfont.C (stateText):
12009         * paragraph.C (asString):
12010         * text.C (selectNextWord, selectSelectedWord):
12011         * text2.C (setCounter):
12012         * vspace.C (asString, asLatexString):
12013         std::ostringstream -> ostringstream.
12014
12015 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12016
12017         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12018         * commandtags.h: add LFUN_HELP_ABOUTLYX
12019         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12020
12021 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12022
12023         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12024         cursorToggle()
12025         * lyx_gui_misc.C: remove spellchecker
12026         * lyxfunc.C: showSpellchecker
12027         * sp_base.h: added
12028         * sp_ispell.h: added
12029         * sp_pspell.h: added
12030         * sp_spell.C: added
12031         * sp_form.[Ch]: removed
12032         * spellchecker.[Ch]: removed
12033
12034 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12035
12036         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12037         is set.
12038         (simpleTeXSpecialChars): Simply print the input character without
12039         any special translation if pass_thru is set.
12040
12041         * layout.h: Added bool pass_thru to layout class for being able to
12042         implement pass through of a paragraph for Literate Programming.
12043
12044         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12045         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12046         * layout.C (Read): add "passthru" to list of layout tags and add
12047         code to set the pass_thru boolean when it is read.
12048
12049 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * trans_decl.h: remove allowed from KmodInfo
12052
12053         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12054         remove allowed code
12055         (Load): adjust
12056
12057         * paragraph_pimpl.C (erase): use boost::prior
12058
12059         * Painter.C (text): use data() instead of c_str() when length is
12060         also provided.
12061         * WorkArea.C (putClipboard): ditto
12062         * font.h (width): ditto
12063
12064         * BufferView2.C: use it-> instead of (*it). for iterators
12065         * texrow.C: ditto
12066         * paragraph_pimpl.C: ditto
12067         * paragraph.C: ditto
12068         * minibuffer.C: ditto
12069         * language.C: ditto
12070         * kbmap.C: ditto
12071         * encoding.C: ditto
12072         * counters.C: ditto
12073         * converter.C: ditto
12074         * chset.C: ditto
12075         * Variables.C: ditto
12076         * TextCache.C: ditto
12077         * MenuBackend.C: ditto
12078         * LyXAction.C: ditto
12079         * LColor.C: ditto
12080         * FloatList.C: ditto
12081         * DepTable.C: ditto
12082         * ColorHandler.C (LyXColorHandler): ditto
12083
12084 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12087
12088         * text2.C (openStuff): reintroduce this method (which had been
12089         nuked in NEW_INSETS frenzy).
12090
12091         * lyxfunc.C (Dispatch): when an action has not been handled, use
12092         its name in the error message, not its number.
12093
12094         * paragraph.C (inInset): change method name to begin with lowercase.
12095
12096         * undo_funcs.C:
12097         * text2.C: updates because of this.
12098
12099 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * ToolbarDefaults.C (add): add spaces in error message
12102
12103 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12106         (readLyXformat2): rename return_par to first_par, use lyxlex's
12107         pushToken and remove the manual push handling.
12108         (parseSingleLyXformat2Token): add another ert comp. variable:
12109         in_tabular, rename return_par to first_par. handle newlines better
12110
12111 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12112
12113         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12114
12115 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * text2.C (getParFromID): removed
12118
12119         * buffer.C (getParFromID): new method moved form lyxtext.
12120         * BufferView2.C (insertErrors): adjust
12121         (setCursorFromRow): adjust
12122         * BufferView_pimpl.C (restorePosition): adjust
12123         * lyxfunc.C (Dispatch): adjust
12124         * undo_funcs.C (textUndo): adjust
12125         (textRedo): adjust
12126         (textHandleUndo): adjust
12127         (textHandleUndo): adjust
12128
12129 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * buffer.C: up' the LYX_FORMAT
12132
12133         * lyxfont.h: turn NO_LATEX on as default
12134
12135         * buffer.C (insertErtContents): new methods of tex style compability.
12136         (parseSingleLyXformat2Token): use it several places.
12137         * tabular.C (OldFormatRead): and here
12138
12139 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * text2.C: remove some commented code.
12142         reindent file.
12143
12144         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12145         * trans.C: changes because of the above.
12146
12147 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12148
12149         * text2.C (setCounter): Fix counters bug with bibliography layout.
12150
12151 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12154         own member functions
12155         (simpleTeXSpecialChars): ditto
12156
12157 2001-07-06  Juergen Vigna  <jug@sad.it>
12158
12159         * a lot of files: changed the access to LyXText::status and the
12160         call of undo-functions.
12161
12162         * undo.[Ch]: added a inset_id to the undo informations.
12163
12164         * undo_funcs.[Ch]: added and moved here all undo functions.
12165
12166         * lyxtext.h: give the status enum a weight, made status_ a private
12167         variable and made accessor functions for it, removed the whole bunch
12168         of undo-functions as they are now in their own file, make some
12169         functions publically available. Added function ownerParagraph with
12170         int parameter.
12171
12172         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12173         made InInset() a const function, added getParFromID() function.
12174
12175         * buffer.[Ch]: added const version for inset_iterator functions,
12176         added getInsetFromID() function.
12177
12178         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12179         changed undo functions for new version.
12180
12181 2001-07-05  Juergen Vigna  <jug@sad.it>
12182
12183         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12184         unknow mechanism does not call the proper constructor but only this
12185         one also if I request the other!?
12186
12187 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12190
12191         * text2.C (LyXText): use initialization lists.
12192
12193         * lyxtext.h (Selection): initialize set_ and mark_
12194         (init): remove method
12195
12196 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12197
12198         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12199
12200 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * screen.[Ch]: change method names to begin with lowercase
12203
12204         * BufferView_pimpl.C (updateScrollbar): simplify further and
12205         hopefully make it a bit faster.
12206
12207 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12208
12209         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12210         calling directly xforms functions.
12211
12212         * Painter.C (Painter):
12213         * lyx_cb.C (MenuWrite):
12214         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12215         fl_display.
12216
12217         * lyx_gui.C: remove bogus guiruntime extern declaration.
12218
12219 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12222         in NEW_INSETS
12223         (redoDrawingOfParagraph): ditto
12224         (redoParagraphs): ditto
12225         (cutSelection): don't create a object for CutAndPaste use the
12226         static method directly
12227         (pasteSelection): ditto
12228
12229         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12230         LyXview (+ rename)
12231
12232 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * modifications to some other files because of this.
12235
12236         * Makefile.am (lyx_SOURCES): add XFormsView
12237
12238         * XFormsView.[Ch]: new files
12239
12240         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12241         the main window. Move the gui dependent stuff to XFormsView
12242
12243 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * tabular.C (GetCellInset): update cur_cell also in the row/col
12246         version of this function.
12247
12248         * lyxfunc.C: no need to include figure_form.h here.
12249
12250         * FontLoader.h:
12251         * lyxfunc.h:
12252         * lyxscreen.h:
12253         * text2.C:
12254         * lyxvc.C: no need to include forms.h here.
12255
12256 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12257
12258         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12259
12260         * lyxfunc.C (Dispatch):
12261         * Spacing.C (set):
12262         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12263         constructor argument.
12264
12265 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * paragraph.C (Paragraph): dont't clear, and just set layout.
12268         (makeSameLayout): use params's copy contructor.
12269
12270         * ParagraphParameters.[Ch] (makeSame): delete method
12271
12272 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * Variables.[Ch]: fix indentation, rename set to isSet
12275
12276 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * lyxfunc.C (Dispatch): fix typo
12279
12280 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12281
12282         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12283         upper_bound.
12284
12285         * bufferlist.C: include assert.h for emergencyWrite().
12286
12287 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12290           give up at last (bug #425202) !
12291
12292 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyx_gui_misc.C:
12295         * sp_form.h:
12296         * sp_form.C:
12297         * spellchecker.h:
12298         * spellchecker.C: strip spellchecker options and bring up
12299           preferences tab instead
12300
12301 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12304         the istringstream constructor
12305
12306 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * paragraph.C (getLayout): fix return value
12309
12310         * paragraph.h: do not declare getLayout as inline.
12311
12312         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12313
12314 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * lyxcursor.h (operator<): new func
12317         (operator>): new func
12318         (operator>=): new func
12319         (operator<=): new func
12320
12321         * text.C (changeCase): use selection.start and selection.end
12322         (changeRegionCase): require from to be <= to. Require par to be a
12323         valid paragraph.
12324
12325         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12326
12327 2001-06-27  Juergen Vigna  <jug@sad.it>
12328
12329         * text.C (cursorLeftOneWord): changed to return the cursor and added
12330         overlay with BufferView * parameter which calls this one.
12331         (getWord): added
12332         (selectWord): use new getWord function.
12333         (changeCase): renamed from changeWordCase as and extended to work
12334         also on selections.
12335
12336         * lyxtext.h: added enum word_location
12337
12338         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12339         changeCase as this operates now also on selections.
12340
12341 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12342
12343         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12344
12345         * many files: send debug output to Debug::INFO instead of
12346         Debug::ANY.
12347
12348         * converter.C (View):
12349         (Convert):
12350         (Move): send debug output to Debug::FILES instead of console.
12351
12352 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12353
12354         * lyxfunc.C (getStatus): use func_status
12355
12356         * func_status.h: new header, describing the results of
12357         LyXFunc::getStatus;
12358
12359         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12360         LFUN_MATH_HALIGN.
12361
12362 2001-06-25  The LyX Project  <jug@sad.it>
12363
12364         * buffer.C (sgmlOpenTag):
12365         (sgmlCloseTag):
12366         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12367
12368 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * text2.C: remove some dead code
12371
12372         * tabular.C (GetCellInset): store the last cell checked (gotten)
12373
12374         * tabular.h: add the helper for the speedup
12375
12376         * lyxtext.h: remove some dead code
12377
12378 2001-06-26  The LyX Project  <Asger>
12379
12380         * paragraph.C: Change export to LaTeX of alignment to
12381         \begin{center} and family for better roundtrip work with reLyX.
12382
12383         * Tune the math drawing a bit.
12384
12385 2001-06-25  The LyX Project  <Asger>
12386
12387         * LColor.C (LColor): New color for math background. New color
12388         for buttons.
12389
12390 2001-06-25  The LyX Project  <jug@sad.it>
12391
12392         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12393
12394         * lyxfunc.C (Open):
12395         * bufferlist.C (newFile): do not restrict to files ending with
12396         .lyx
12397
12398         * BufferView_pimpl.C (MenuInsertLyXFile):
12399
12400 2001-06-24  The LyX Project  <jug@sad.it>
12401
12402         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12403         of compare_no_case
12404
12405 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * lyxtext.h: rename most methods to begin with a small char.
12408         Lots of changes because of this.
12409
12410         * paragraph.C (Paragraph): do not call fitToSize
12411         (erase): call Pimpl::erase
12412         (insertChar): call Pimpl::insertChar
12413         (insertInset): call Pipl::insertInset
12414         (breakParagraph): do not call fitToSize
12415         (breakParagraphConservative): do not call fitToSize
12416         (fitToSize): remove method
12417
12418         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12419
12420 2001-06-24  The LyX Project  <Asger>
12421
12422         * Fix Qt compilation^2
12423
12424 2001-06-24  The LyX Project  <jug@sad.it>
12425
12426         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12427         depthHook(getDepth()-1).
12428
12429         * paragraph.h:
12430         * ParagraphParameters.h:
12431         * ParameterStruct.h: change type of depth to unsigned int ==
12432         depth_type. Many adaptations to other files before of that.
12433
12434 2001-06-24  The LyX Project  <Asger>
12435
12436         * Fix Qt compilation.
12437
12438 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12439
12440         * paragraph.h: renamed several methods to begin with small letter.
12441         several changes to many parts of the code because of this.
12442
12443 2001-06-23  The LyX Project  <jug@sad.it>
12444
12445         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12446         rewritten to discard all double spaces when KeepEmpty is off
12447         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12448         to only handle newlines but not fiddle with spaces and friends.
12449
12450         * lyxfunc.C (MenuNew): when doing 'new from template', use
12451         template_path as default directory
12452
12453 2001-06-23  The LyX Project  <Asger>
12454
12455         * Clean-up of header file includes all over
12456         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12457
12458 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12459
12460         * paragraph.h: renamed from lyxparagraph.h
12461
12462 2001-06-23  Asger  <lyx@violet.home.sad.it>
12463
12464         * Buffer.h: Removed Buffer::resize
12465         * BufferList.h: Removed BufferList::resize
12466         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12467         the document lazily when we change the width, or the font settings.
12468
12469 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12472
12473 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * buffer.h: remove out of date comment
12476
12477 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * lyxscreen.h:
12480         * screen.C: fix "theoretical" GC leak
12481
12482 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12483
12484         * LaTeX.C (scanAuxFile):
12485         (deplog): remove trailing \r when reading stream (useful under
12486         win32)
12487
12488 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12489
12490         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12491         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12492         and BufferView::theLockingInset(Inset*), so should use them and not
12493         access bv_->text->the_locking_inset directly.
12494
12495         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12496
12497 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * Makefile.am:
12500         * tex-defs.h: remove old unused file
12501
12502 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * BufferView_pimpl.C: fix typo, remove minibuffer message
12505           when buffer has loaded
12506
12507 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * lyxfunc.C (Dispatch): use stringstream
12510         (MenuNew): use stringstream
12511         (Open): use stringstream
12512
12513         * importer.C (Import): use stringstream
12514
12515         * bufferview_funcs.C (CurrentState): use stringstream
12516
12517         * LaTeX.C (run): use stringstream
12518
12519         * BufferView_pimpl.C (savePosition): use stringstream
12520         (restorePosition): use stringstream
12521         (MenuInsertLyXFile): use stringstream
12522
12523 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12524
12525         * BufferView.C:
12526         * Bullet.C:
12527         * ColorHandler.C:
12528         * FontInfo.C:
12529         * FontLoader.C:
12530         * LColor.C:
12531         * LaTeXFeatures.C:
12532         * Painter.C:
12533         * gettext.C:
12534         * lyx_gui_misc.C:
12535         * lyxserver.C:
12536         * vspace.C: removed // -*- C++ -*- as first line.
12537
12538         * lyxfind.h:
12539         * version.h: added // -*- C++ -*- as first line.
12540
12541 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12542
12543         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12544
12545         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12546         of string
12547
12548 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12551         of floats.
12552
12553 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12554
12555         * gettext.C: include LString.h even when --disable-nls is on.
12556
12557 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * converter.h (Get): changed argument type from int to
12560         FormatList::size_type to avoid unnecessary conversion.
12561
12562         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12563         before using it.
12564
12565 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * gettext.h: include LString.h even when --disable-nls is on.
12568
12569 2001-06-07  Juergen Vigna  <jug@sad.it>
12570
12571         * text.C (BreakAgain): subst spaces with tabs.
12572
12573         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12574         (resizeInsetsLyXText): set force on resizeLyXText.
12575
12576 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12577
12578         * gettext.h (gettext_init):
12579         (locale_init): use a real definition instead of a macro
12580
12581 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * Bufferview_pimpl.C:
12584         * LColor.h:
12585         * LColor.C: further lcolor tidies
12586
12587 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12588
12589         * BufferView_pimpl.C (updateScrollbar): simplify.
12590
12591         * BufferView2.C: don't include insets/insetinfo.h, change
12592         prototype for insertInset and call the Pimpl version. let
12593         updateInset call Pimpl version.
12594
12595         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12596         gotoInset to BufferView::Pimpl
12597
12598 2001-06-01  Juergen Vigna  <jug@sad.it>
12599
12600         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12601         inside a LockingInset (is the update needed at all?).
12602
12603 2001-05-31  Juergen Vigna  <jug@sad.it>
12604
12605         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12606         here not the old one otherwise how should we compare it afterwards
12607         if it's the same!
12608
12609 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12610
12611         * lyxfont.C:
12612         * tabular.C:
12613         * tabular-old.C:
12614         * FontInfo.C: bring C functions into global namespace when
12615         necessary
12616
12617 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12618
12619         * LString.h: make sure config.h has been loaded before LString.h.
12620
12621         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12622         (one for each char read by EatLine!).
12623
12624         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12625         variables.
12626
12627 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12630         to the same as the par we break from
12631
12632 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12635
12636         * MenuBackend.C (expand): also create menu entries for wide
12637         versions of the floats.
12638
12639         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12640
12641         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12642
12643         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12644         frontends/Makefile.am
12645
12646         * text2.C: adjust
12647         * text.C: adjust
12648
12649
12650         * tabular.C (getTokenValue): add std::
12651
12652         * tabular-old.C (getTokenValue): add std::
12653         (getTokenValue): ditto
12654         (getTokenValue): ditto
12655
12656         * screen.C (ToggleSelection): adjust
12657
12658         * lyxtext.h: put selection cursors inside a Selection struct.
12659
12660         * lyxfunc.C (moveCursorUpdate): adjust
12661
12662         * lyxfont.C (latexWriteStartChanges): add std::
12663
12664         * lyxfind.C: adjust
12665
12666         * font.h: delete with(char const *, LyXFont const &)
12667
12668         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12669
12670         * FontInfo.C (getFontname): add std::
12671
12672         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12673         (workAreaButtonPress): adjust
12674         (tripleClick): adjust
12675         (update): adjust
12676         (moveCursorUpdate): adjust
12677         (Dispatch): adjust
12678
12679         * BufferView2.C (gotoInset): adjust
12680
12681 2001-05-30  Juergen Vigna  <jug@sad.it>
12682
12683         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12684         to check pspell I add this as default as I now have new pspell
12685         libraries and they seem to use this.
12686
12687 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * text2.C (CutSelection): make the cursor valid before the call to
12690         ClearSelection.
12691
12692 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12695         relied on 0 terminated strings and other horrors. Bug found due to
12696         the new assert in lyxstring!
12697
12698         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12699         KP_ keys.
12700
12701 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12704         to latinkeys.bind.
12705
12706         * lyxfunc.C (processKeySym): change method of getting to the
12707         self-insert char.
12708
12709         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12710         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12711         * BufferView_pimpl.[Ch]: here as private methods.
12712
12713 2001-05-28  Juergen Vigna  <jug@sad.it>
12714
12715         * text.C (SetHeightOfRow): added the update() call again as it is
12716         needed to initialize inset dimensions!
12717
12718 2001-05-16  Juergen Vigna  <jug@sad.it>
12719
12720         * text2.C (SetCharFont): Add new function with BufferView * and
12721         bool toggleall parameters for setting insets internal fonts.
12722         (SetFont): Freeze the undo as we may change fonts in Insets and
12723         all this change should be inside only one Undo!
12724
12725         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12726         setting font's in insets as for them we have the SetFont function!
12727
12728 2001-05-15  Juergen Vigna  <jug@sad.it>
12729
12730         * text2.C (ClearSelection): to be sure we REALLY don't have any
12731         selection anymore!
12732
12733         * tabular.C (TeXCellPreamble): fixed the left border problem for
12734         multicolumn cells.
12735
12736 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12737
12738         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12739         dependancy file
12740
12741 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12744         LFUN_BREAKPARAGRAPH.
12745
12746         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12747         help test to "internal only", similar for LFUN_INSERT_URL
12748
12749         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12750         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12751         auto_region_delete and deadkeys.
12752
12753 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * LColor.h:
12756         * LColor.C: remove some dead entries, tidy a little
12757
12758 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12759
12760         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12761         commented code.
12762         (Dispatch): implement LFUN_ESCAPE
12763
12764         * commandtags.h: add LFUN_ESCAPE
12765
12766         * LyXAction.C (init): add entry for LFUN_ESCAPE
12767
12768         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12769         Remove commented code.
12770         (insertNote): moved here
12771         (open_new_inset): moved here
12772
12773         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12774         BufferView_pimpl
12775
12776 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12777
12778         * kbmap.C (findbinding): clean it up and make it work correctly.
12779
12780         * lyx_main.C (init): do not pass argc and argv as parameters
12781
12782 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12783
12784         * buffer.C: fix path for OS/2 & Win32
12785
12786         * lyx_gui.C:
12787         * lyx_main:
12788         * lyx_main.C: Added os:: class.
12789
12790         * os2_defines.h: update
12791
12792 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12795         better by trying again with reduced state.
12796
12797 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * lyxrc.C (read): print error about invalid key sequence only when
12800         debugging (because not all latinX keysyms are known to some X
12801         servers)
12802
12803         * kbsequence.C (getiso): add a few std:: qualifiers
12804         (getiso): comment out extra return statement.
12805
12806 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12809         handling.
12810         (Dispatch): enhance the accent inset a bit. (not perfect)
12811
12812 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12815
12816 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * bufferlist.C (emergencyWrite): fix assert() call
12819
12820 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12821
12822         * text.C (InsertChar): Added trivial patch to only send the "you
12823         can not do multiple spaces this way" message once during a
12824         session.
12825
12826 2001-05-08  Baruch Even  <baruch@lyx.org>
12827
12828         * Makefile.am: Changed order of libraries to get LyX to link properly
12829         with the gnome frontend.
12830
12831 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * LaTeXFeatures.h: add a std:: qualifier
12834
12835 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * paragraph.C (String): use stringstream
12838
12839 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * paragraph.C (writeFile): remove footflag arg
12842
12843         * buffer.C (makeLaTeXFile): use stringstream
12844         (latexParagraphs): remove footnot gurba
12845
12846         * LaTeXFeatures.C (getPackages): use stringstream
12847         (getMacros): likewise
12848         (getTClassPreamble): likewise
12849         (getFloatDefinitions): new method
12850
12851         * paragraph.C (writeFile): reindent
12852         (Erase): reindent
12853
12854         * WorkArea.h: revert the xpos + etc changes.
12855
12856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12857
12858         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12859
12860         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12861         (pasteSelection): likewise
12862         * text2.C (CreateUndo): likewise
12863
12864 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * minibuffer.C (peek_event): temporarily reduce the functionality
12867         of the minibuffer (to allow args on lfuns)
12868
12869         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12870         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12871
12872         * buffer.C (readInset): add compability reading of old float
12873         lists, add reading of new style float list.
12874         (readInset): avoid reevaluation of inscmd.getCmdName()
12875         (getLists): reindent
12876
12877         * MenuBackend.C (MenuItem): implement parsing of
12878         md_floatlistinsert and md_floatinsert.
12879         (expand::LastFiles): move initalizaton of iterators out of loop,
12880         avoid reevaluation.
12881         (expand::Documents): introduce typdedef vector<string> Strings,
12882         and use it.
12883         (expand::ExportFormats): introduce typedef vector<Format const *>
12884         Formats, and use it.
12885         (expand): implement FloatListInsert and FloatInsert.
12886
12887         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12888         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12889         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12890
12891         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12892         handling.
12893         (Dispatch::LFUN_FLOAT_LIST): implement
12894
12895 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12896
12897         * LaTeX.C (run): Fix problem with --export code.
12898
12899 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         * BufferView.[Ch] (workarea): removed.
12902         (getClipboard) new method; wrapper for workarea()->getClipboard()
12903
12904         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12905         bug.
12906
12907         * WorkArea.h (width, height, xpos, ypos): These methods all
12908         returned the dimensions of the work_area sub-area of WorkArea,
12909         resulting in a position error if the WorkArea were resized. Now
12910         return the dimensions of the entire WorkArea.
12911
12912         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12913
12914 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * LaTeX.C (deplog): correct the syntax of regex reg1
12917
12918 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * undo.C: remove !NEW_INSETS cruft
12921
12922 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * text2.C: remove !NEW_INSETS cruft
12925
12926         * text.C: remove !NEW_INSETS cruft
12927
12928         * tabular.C: remove !NEW_INSETS cruft
12929
12930         * spellchecker.C: remove !NEW_INSETS cruft
12931
12932         * lyxtext.h: remove !NEW_INSETS cruft
12933
12934         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12935
12936         * lyxfunc.C: remove !NEW_INSETS cruft
12937
12938         * lyxfind.C: remove !NEW_INSETS cruft
12939
12940         * lyx_cb.C: remove !NEW_INSETS cruft
12941
12942         * figureForm.C: remove  !NEW_INSETS cruft
12943
12944         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12945
12946         * buffer.[Ch]: remove !NEW_INSETS cruft
12947
12948         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12949
12950         * CutAndPaste.C: remove !NEW_INSETS cruft
12951
12952         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12953
12954         * BufferView2.C: remove !NEW_INSETS cruft
12955
12956         * BufferView.h: remove !NEW_INSETS cruft
12957
12958 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * Lsstream.h: include LString.h before the sstream headers to
12961         fix problem with gcc 2.95.3 and lyxstring
12962
12963 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12964
12965         * lyx_main.C: add using directives when needed for C functions
12966         declared in std:: namespace.
12967
12968 2001-04-27  Juergen Vigna  <jug@sad.it>
12969
12970         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12971         (SetHeightOfRow): comment out the update call should not be needed!
12972
12973 2001-04-13  Juergen Vigna  <jug@sad.it>
12974
12975         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12976         (LyXTabular): tried to minimize operator= operations (and realized
12977         hopfully Lars wish).
12978
12979 2001-04-27  Juergen Vigna  <jug@sad.it>
12980
12981         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12982
12983 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12986
12987         * buffer.C (readInset): hack to make listof algorithm work
12988
12989         * BufferView_pimpl.C: hack to make listof algorithm work
12990
12991 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * LyXAction.C: removed all !NEW_INSETS cruft
12994         (init): moved lfun_item in method
12995
12996         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12997
12998 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12999
13000         * BufferView2.C (theLockingInset): white space.
13001
13002 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * minibuffer.C: include <iostream>
13005
13006         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13007
13008         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13009
13010         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13011
13012         * text.[Ch] (TransposeChars): new method
13013
13014 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * call message directly through LyXView instead of through LyXFunc
13017         * BufferView2.C: adjust
13018         * BufferView_pimpl.C: adjust
13019         * FontLoader.C: adjust
13020         * buffer.C: adjust
13021         * bufferview_funcs.C: adjust
13022         * converter.C: adjust
13023         * figureForm.C: adjust
13024         * importer.C: adjust
13025         * lyx_cb.C: adjust
13026         * lyx_gui_misc.C: adjust
13027         * lyxfunc.C: adjust
13028         * lyxvc.C: adjust
13029         * text2.C: adjust
13030         + more files in subdirs
13031
13032         * lyxparagraph.h (size): move up int file
13033         (GetLayout): ditto
13034
13035         * adjust all uses of Assert to lyx::Assert.
13036
13037         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13038         lyxfunctional in namespace lyx
13039         * layout.C (hasLayout): ditto
13040         (GetLayout): ditto
13041         (GetLayout): ditto
13042         (delete_layout): ditto
13043         (NumberOfClass): ditto
13044         * converter.C (GetFormat): ditto
13045         (GetNumber): ditto
13046         (Add): ditto
13047         (Delete): ditto
13048         (SetViewer): ditto
13049         * bufferlist.C (getFileNames): ditto
13050         (emergencyWriteAll): ditto
13051         (exists): ditto
13052         (getBuffer): ditto
13053         * MenuBackend.C (hasSubmenu): ditto
13054         (hasMenu): ditto
13055         (getMenu): ditto
13056         * BufferView_pimpl.C (getInsetByCode): ditto
13057
13058 2001-04-18  Juergen Vigna  <jug@sad.it>
13059
13060         * vspace.C (asLatexString): fixed the 100% problem.
13061
13062 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * lyxfunc.C (Dispatch):
13065         * minibuffer.C:
13066         * minibuffer.h: add a few std:: qualifiers
13067
13068 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * minibuffer.[Ch]: reimplement so that commands is initiated and
13071         run from lyxfunc, simplified som handling, and made the completion
13072         and history code for complete. wip.
13073
13074         * lyxfunc.C (processKeySym): call message
13075         (miniDispatch): new temporary method
13076         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13077         (LFUN_MESSAGE): implement
13078         (LFUN_MESSAGE_PUSH): implement
13079         (LFUN_MESSAGE_POP): implement
13080         (initMiniBuffer): the initial/defualt minibuffer message.
13081
13082         * lyxfont.[Ch]: inline some more getters
13083
13084         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13085
13086         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13087
13088         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13089         (AutoSave): use LFUN_MESSAGE
13090         (Reconfigure): ditto
13091
13092         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13093
13094         * figureForm.C: use LFUN_MESSAGE
13095
13096         * converter.C (runLaTeX): use LFUN_MESSAGE
13097
13098         * bufferview_funcs.C: use LFUN_MESSAGE
13099         (Melt): ditto
13100         (changeDepth): ditto
13101
13102         * bufferparams.h: use boost::
13103
13104         * bufferlist.h: inherit privately from noncopyable
13105
13106         * bufferlist.C (loadLyXFile): remove some commented code.
13107
13108         * buffer.C (runChktex): use LFUN_MESSAGE
13109
13110         * ShareContainer.h: inherit privately from noncopyable
13111
13112         * ParagraphParameters.[hC] (depth): inline it.
13113
13114         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13115         methods.
13116         (message): new method
13117         (messagePush): ditto
13118         (messagePop): ditto
13119         (show): init minibuffer
13120         (showState): direct call
13121
13122         * LaTeX.[Ch]: inherit privately from noncopyable
13123         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13124         instead of WriteStatus.
13125
13126         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13127
13128         * BufferView_pimpl.C (buffer): don't init minibuffer
13129         (workAreaButtonPress): use LFUN_MESSAGE
13130         (workAreaButtonRelease): ditto
13131         (savePosition): ditto
13132         (restorePosition): ditto
13133         (MenuInsertLyXFile): ditto
13134         (workAreaExpose): don't init minibuffer
13135         (update): remove commented code, simplify
13136
13137         * BufferView2.C (openStuff): use LFUN_MESSAGE
13138         (toggleFloat): ditto
13139         (menuUndo): ditto
13140         (menuRedo): ditto
13141         (copyEnvironment): ditto
13142         (pasteEnvironment): ditto
13143         (copy): ditto
13144         (cut): ditto
13145         (paste): ditto
13146         (gotoInset): ditto
13147         (updateInset): remove some commented code
13148
13149         * lastfiles.h: inherit privately from noncopyable
13150         * layout.h: ditto
13151         * lyx_gui.h: ditto
13152         * lyx_main.h: ditto
13153         * lyxlex.h: ditto
13154         * lyxlex_pimpl.h: ditto
13155
13156         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13157         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13158         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13159
13160         * LyXAction.h: inherit privately from noncopyable, add methods
13161         func_begin, func_end, returning iterators to the func map.
13162
13163         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13164         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13165         (func_begin): new method
13166         (func_end): new method
13167
13168         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13169         and not)
13170         (copySelection): ditto
13171         (pasteSelection): ditto
13172
13173         * BufferView.C: whitespace change
13174         * BufferView.h: inherit privately from noncopyable
13175
13176 2001-04-16  Allan Rae  <rae@lyx.org>
13177
13178         * tabular-old.C (l_getline):
13179         * spellchecker.C (sc_check_word):
13180         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13181         an unrecognised preprocessor directive.  So ensure they're wrapped.
13182
13183 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13184
13185         * src/exporter.C (Export): Give an error message when path to file
13186         contains spaces.
13187
13188 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * LaTeX.C (deplog): Always check that foundfile exists.
13191
13192 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * lyx_main.h:
13195         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13196
13197 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13198
13199         * tabular.[Ch] (getLabelList): implement new method
13200
13201         * minibuffer.h: comment ouf setTiimer
13202
13203         * minibuffer.C (ExecutingCB): constify res
13204         (peek_event): constify s
13205         (Set): constify ntext
13206         (Init): constify nicename
13207
13208         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13209
13210         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13211         (savePosition): use two params to Minibuffer::Set
13212         (restorePosition): ditto
13213
13214 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * lyx_main.C: include language.h
13217
13218         * Makefile.am (lyx_main.o): add language.h
13219
13220 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * exporter.C:
13223         * paragraph.C:
13224         * screen.C:
13225         * tabular.C:
13226         * CutAndPaste.C: include gettext.h
13227
13228         * lyxfont.h: remove old hack with ON and OFF.
13229
13230         * lyxparagraph.h:
13231         * lyxfont.h: do not include language.h...
13232
13233         * BufferView2.C:
13234         * LaTeXFeatures.C:
13235         * Painter.C:
13236         * bufferview_funcs.C:
13237         * font.C:
13238         * lyxfont.C:
13239         * text.C:
13240         * text2.C:
13241         * trans_mgr.C:
13242         * paragraph.C: ... but do it here instead
13243
13244 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13247
13248         * tabular.C: small reformat
13249
13250         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13251         NEW_INSETS version
13252         (GetChar): ditto
13253         (BreakParagraph): ditto
13254         (SetOnlyLayout): ditto
13255         (SetLayout): ditto
13256
13257         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13258         with one arg less.
13259
13260         * lastfiles.C: removed most using decl, add std:: where needed
13261
13262         * buffer.C: ws changes
13263
13264         * MenuBackend.C (class compare_format): put into anon namespace
13265         (expand): constify label, names, action, action2
13266         (expand):
13267
13268         * text.C (SingleWidth): constify font
13269         (IsBoundary): constify rtl2
13270         (GetVisibleRow): constify ww
13271
13272         * LaTeX.C (deplog): constify logfile
13273
13274         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13275         start_x, end_x
13276         (workAreaExpose): constify widthChange, heightChange
13277
13278         * lyxrow.C (par): moved
13279         (height): moved
13280         (next): moved
13281         * lyxrow.h: as inlines here
13282
13283         * lyxfont.h (shape): moved from lyxfont.C
13284         (emph): moved from lyxfont.C
13285
13286         * lyxfont.C (LyXFont): use initialization list for all
13287         constructors
13288         (shape): move to lyxfont.h as inline
13289         (emph): move to lyxfont.h as inline
13290
13291
13292 2001-04-04  Juergen Vigna  <jug@sad.it>
13293
13294         * vspace.C: had to include stdio.h for use of sscanf
13295
13296 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13297
13298         * BufferView.h:
13299         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13300         independent of xforms.
13301
13302 2001-04-02  Juergen Vigna  <jug@sad.it>
13303
13304         * spellchecker.C: fixed namespace placing!
13305
13306 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13309         the LyXParagraph * is 0.
13310
13311 2001-03-29  Juergen Vigna  <jug@sad.it>
13312
13313         * vspace.C: added support for %, c%, p%, l%.
13314         (stringFromUnit): added helper function.
13315         (asLatexString): changed to give right results for the %-values.
13316
13317         * buffer.C: convert the widthp in a width%.
13318
13319 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13320
13321         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13322         figureForm.[Ch].
13323
13324         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13325         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13326
13327         * lyx_cb.[Ch]: see above.
13328
13329         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13330         form1.[Ch].
13331
13332         * form1.[Ch]:
13333         * lyx.[Ch]: replaced by figure_form.[Ch].
13334
13335         * lyx_gui.C:
13336         * lyx_gui_misc.C:
13337         * lyxfunc.C: changed headers associated with above changes.
13338
13339 2001-03-27  Juergen Vigna  <jug@sad.it>
13340
13341         * BufferView_pimpl.C: set the temporary cursor right!
13342
13343 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13346
13347 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13348
13349         * LString.h: removed "using std::getline"!
13350
13351         * BufferView_pimpl.C (Dispatch): changes due to changes in
13352         InsetInclude::Params.
13353
13354         * buffer.C (tag_name): removed redundant break statements as they were
13355         producing lots of warnings with my compiler.
13356
13357 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13358
13359         * LString.h: add "using std::getline" when using the real <string>.
13360
13361 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13362
13363         * buffer.C: removed bitset usage.
13364         PAR_TAG moved to an anonymous name space.
13365         (tag_name): new funtion, also in the anonymous namespace.
13366         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13367         (makeDocBookFile): clean code. Completed transition from string arrays
13368         to string vectors.
13369         (SimpleDocBookOnePar): code clean.
13370
13371 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13372
13373         * tabular.C: add some comments.
13374
13375 2001-03-22  Juergen Vigna  <jug@sad.it>
13376
13377         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13378         compatibility read a bit and fixed bug with minipage in different
13379         depth.
13380
13381 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13382
13383         * buffer.C (pop_tag): removed.
13384         (push_tag): removed.
13385         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13386         array replaced with vector. Added support for CDATA sections.
13387         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13388         at any nest level.
13389         (makeDocBookFile): XML conformant declaration of CDATA section,
13390         fixed bug related to <emphasis> in the first paragraph char.
13391         (sgmlOpenTag): exclude empty tags.
13392         (sgmlCloseTag): ditto.
13393
13394         * buffer.h (pop_tag): removed.
13395         (push_tag): removed.
13396
13397 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13398
13399         * language.h (Languages): added size_type and size().
13400
13401 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13402
13403         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13404         response on compability reading of minipages. One probliem is that
13405         the old usage of minipages was «flertydig»
13406
13407         * several files here and in subdirs: don't use static at file
13408         scope use anon namespaces instead.
13409
13410 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13411
13412         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13413         LaTeX output. This is necessary for Literate document
13414         processing.
13415
13416 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13417
13418         * buffer.C: insert hfill when needed.
13419
13420         * tabular.C (l_getline): use string::erase, small whitespace change.
13421
13422         * BufferView_pimpl.C: try the anon namespace.
13423         * WorkArea.C: ditto
13424
13425 2001-03-16  Juergen Vigna  <jug@sad.it>
13426
13427         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13428         otherwise it won't open options-dialogs.
13429
13430         * buffer.C: honor pextraWidth(p) on converting minipages.
13431
13432         * tabular.C (l_getline): changed the functions to strip trailing \r.
13433
13434 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * BufferView_pimpl.C:
13437         * minibuffer..C: added "using SigC::slot" declaration.
13438
13439 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13440
13441         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13442
13443         * text2.C: ditto
13444
13445         * text.C: ditto
13446
13447         * paragraph.C: ditto
13448
13449         * lyxtext.h: NO_PEXTRA
13450
13451         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13452
13453         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13454         * ParameterStruct.h: ditto
13455         * ParagraphParameters.h: ditto
13456         * lyxparagraph.h: ditto
13457
13458 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13459
13460         * buffer.C: add compability for minipage alignment.
13461         (latexParagraphs): remove unwanted pextra check.
13462
13463         * several files: remove CXX_WORKING_NAMESPACES
13464
13465         * buffer.C (pop_tag): tie is in namespace boost
13466
13467         * BufferView.h: noncopyable is in namespace boost
13468         * lyxlex.h: ditto
13469         * lyx_main.h: ditto
13470         * lyx_gui.h: ditto
13471         * layout.h: ditto
13472         * lastfiles.h: ditto
13473         * bufferlist.h: ditto
13474         * ShareContainer.h: ditto
13475         * LyXView.h: ditto
13476         * LyXAction.h: ditto
13477         * LaTeX.h: ditto
13478
13479 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13480
13481         * Merging changes from BRANCH_MVC back into HEAD.
13482
13483         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13484
13485 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13486
13487         * BufferView_pimpl.C: change from intl.C
13488
13489         * combox.h:
13490         * combox.C:
13491         * Makefile.am: move combox.*
13492
13493         * form1.h:
13494         * form1.C:
13495         * lyx_gui.C:
13496         * intl.h:
13497         * intl.C: remove dialog (covered by prefs)
13498
13499 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * lyxfunc.C (Dispatch): removed redundant break statement.
13502
13503 2001-03-14  Juergen Vigna  <jug@sad.it>
13504
13505         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13506
13507 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13508
13509         * buffer.C: add hack to fix compability reading of minipages.
13510
13511 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13512
13513         * buffer.C (getLists): Cleanup.
13514
13515 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * lyxfont.C (update): don't honor toggleall on font size.
13518
13519 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13520
13521         * bmtable.c:
13522         * bmtable.h:
13523         * Makefile.am: moved to frontends/xforms/
13524
13525         * lyx_gui_misc.C:
13526         * lyxfunc.C:
13527         * BufferView_pimpl.C: changes for moved mathpanel
13528
13529 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * gettext.h: fix gettext_init() in --disable-nls
13532
13533 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13536
13537 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * lyx.C:
13540         * lyx.h: strip external form
13541
13542 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * BufferView_pimpl.C: add comment, destroySplash()
13545
13546 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * BufferView_pimpl.C:
13549         * LyXAction.C:
13550         * buffer.C:
13551         * commandtags.h:
13552         * lyxfunc.C: use re-worked insetinclude
13553
13554 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13555
13556         * buffer.C: add using std::stringstream.
13557
13558         * lyx_cb.C: readd using std::ios.
13559
13560         * buffer.C: add using std::map.
13561
13562         * BufferView_pimpl.C: add using std::vector.
13563
13564         * ShareContainer.h: add std:: to swap.
13565
13566         * buffer.h: add some typedefs
13567         * buffer.C (getLists): use them
13568         (getLists): renamed from getTocList.
13569         add a counter for the different float types and use it in the
13570         generated string.
13571         (getLists): use the same counter for the NEW_INSETS and the "non"
13572         NEW_INSETS
13573
13574         * lyx_cb.h: remove unused items, includes, using etc.
13575
13576         * ShareContainer.h: remove some commented code, add more comments
13577         and "documentation".
13578
13579 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13580
13581         * buffer.C (getTocList): make the list also when NEW_INSETS is
13582         defined.
13583
13584         * buffer.h: remove TocType
13585
13586         * buffer.C (getTocList): change to return a map<string,
13587         vector<TocItem> >, implement for dynamic number of list.
13588
13589         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13590         * text2.C (PasteSelection): adjust
13591         * CutAndPaste.C (pasteSelection): adjust
13592
13593         * FloatList.C (FloatList): update from the new_insets branch.
13594         * Floating.[Ch]: ditto
13595         * LaTeXFeatures.C: ditto
13596         * buffer.C: ditto
13597         * lyxlex_pimpl.C: ditto
13598
13599         * paragraph.C (Last): remove when NEW_INSETS is defined.
13600
13601         * other file: changes because of the above.
13602
13603 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13604
13605         * lyxparagraph.h: rename next to next_, previous to previous_,
13606         make them private for NEW_INSETS. Rename Next() to next(),
13607         Previous() to previous().
13608
13609         * other files: changes because of the above.
13610
13611 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13612
13613         * BufferView.h:
13614         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13615         problem.
13616
13617 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * main.C (main): pass lyx_localedir to gettext_init().
13620
13621         * gettext.h: remove locale_init and gettext_init macros
13622
13623         * gettext.C (locale_init): new function
13624         (gettext_init): new function
13625
13626         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13627         setlocale().
13628
13629 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13630
13631         * Moved credits to frontends:
13632         * credits.[Ch]: removed
13633         * credits_form.[Ch]: removed
13634         * lyx_gui_misc.C: remove credits stuff
13635         * Makefile.am:
13636
13637 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13638
13639         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13640
13641         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13642         unneeded destructor.
13643
13644         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13645         a standalone pointer again.
13646
13647         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13648
13649 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * Makefile.am:
13652         * filedlg.h:
13653         * filedlg.C:
13654         * LyXAction.C:
13655         * ToolbarDefaults.C:
13656         * bufferlist.C:
13657         * commandtags.h:
13658         * form1.C:
13659         * form1.h:
13660         * lyx_cb.C:
13661         * lyx_cb.h:
13662         * lyxfunc.h:
13663         * lyxfunc.C:
13664         * BufferView_pimpl.C: use new file dialog in GUII
13665
13666         * lyx_cb.h:
13667         * lyx_cb.C: remove LayoutsCB to Toolbar
13668
13669 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * ShareContainer.h (get): add std:: qualifier
13672
13673 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * ShareContainer.h: define a proper ShareContainer::value_type
13676         type (and use typename to please compaq cxx)
13677
13678 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13679
13680         * lyxparagraph.h: move serveral local vars to
13681         ParameterStruct/ParagraphParameters., use ShareContainer in
13682         FontTable., make vars in FontTable private and add getter and
13683         setter.
13684
13685         * paragraph.C: changes because of the above.
13686
13687         * lyxfont.h: remove copy constructor and copy assignment. (the
13688         default ones is ok), move number inside FontBits. move inlines to
13689         lyxfont.C
13690
13691         * lyxfont.C: add number to initializaton of statics, move several
13692         inlines here. constify several local vars. some whitespace
13693         cleanup. Dont hide outerscope variables.
13694
13695         * Spacing.h: add two new constructors to match the set methods.
13696
13697         * ShareContainer.h: new file, will perhaps be moved to support
13698
13699         * ParameterStruct.h: new file
13700
13701         * ParagraphParameters.h: new file
13702
13703         * ParagraphParameters.C: new file
13704
13705         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13706         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13707
13708         * BufferView_pimpl.C: ParagraphParameter changes.
13709         * buffer.C: Likewise.
13710         * bufferview_funcs.C: Likewise.
13711         * text.C: Likewise.
13712         * text2.C: Likewise.
13713
13714 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyxfind.C (LyXReplace): do not redefine default argument in
13717         implementation.
13718         (IsStringInText): ditto
13719         (SearchForward): ditto
13720         (SearchBackward): ditto
13721
13722 2001-03-06  Juergen Vigna  <jug@sad.it>
13723
13724         * lyxfind.C (IsStringInText): put parentes around expressions.
13725
13726 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13727
13728         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13729
13730 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13733
13734         * stl_string_fwd.h: add comment
13735
13736         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13737
13738         * tabular.h:
13739         * tabular.C: remove unused DocBook methods
13740
13741         * intl.C:
13742         * language.C:
13743         * paragraph.C:
13744         * buffer.C:
13745         killed DO_USE_DEFAULT_LANGUAGE
13746
13747 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13748
13749         * lyx_gui.C: do not include language.h.
13750
13751         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13752         arguments in function implementation.
13753
13754 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13755
13756         * BufferView_pimpl.C: add <ctime>
13757
13758 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13759
13760         * BufferView_pimpl.C: add using std::find_if
13761
13762 2001-02-27  José Matos  <jamatos@fep.up.pt>
13763
13764         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13765         by OnlyPath.
13766
13767 2001-02-11  José Matos  <jamatos@fep.up.pt>
13768
13769         * buffer.C (makeDocBookFile): command styles now have a parameter as
13770         "title" by default.
13771
13772 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13773
13774         * layout_forms.[Ch]: removed
13775         * lyx_cb.[Ch]: out character
13776         * lyx_gui.C: out character
13777         * lyx_gui_misc.C: out character
13778         * bufferview_funcs.C: : out character,
13779         added toggleall as parameter in ToggleAndShow
13780
13781 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13784
13785         * text2.C (SetCurrentFont): Disable number property at boundary.
13786
13787 2001-02-26  Juergen Vigna  <jug@sad.it>
13788
13789         * lyxfunc.C (getStatus): added a string argument override function so
13790         that this is correctly called from LyXFunc::Dispatch if it contains a
13791         do_not_use_argument which is used!
13792         (Dispatch): added check for "custom" export and call appropriate func.
13793
13794 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13795
13796         * lyxrc.C: Add language_command_local, language_use_babel and
13797         language_global_options.
13798
13799         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13800
13801         * buffer.C (makeLaTeXFile): Use language_use_babel and
13802         language_global_options.
13803
13804 2001-02-23  Juergen Vigna  <jug@sad.it>
13805
13806         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13807         which works with LyXText and putted it inside BufferView. Here now we
13808         only call for that part the BufferView::Dispatch() function.
13809
13810         * BufferView.C (Dispatch): added.
13811
13812         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13813         functions which needs to use a LyXText over from LyXFunc.
13814         (MenuInsertLyXFile): added
13815         (getInsetByCode): added
13816         (moveCursorUpdate): added
13817         (static TEXT): added
13818
13819 2001-02-22  Juergen Vigna  <jug@sad.it>
13820
13821         * BufferView_pimpl.C (update): call a status update to see if LyXText
13822         needs it.
13823
13824 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13825
13826         * vc-backend.C (revert): implement for CVS
13827         (getLog): implement for CVS
13828
13829 2001-02-20  Juergen Vigna  <jug@sad.it>
13830
13831         * text2.C (ClearSelection): added BufferView param for inset_owner call
13832
13833         * lyxfunc.C (TEXT): added this function and use it instead of
13834         directly owner->view()-text of getLyXText().
13835
13836 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13837
13838         * src/layout_forms.C: out preamble
13839         * src/layout_forms.h: out preamble
13840         * src/lyx_cb.C: out preamble
13841         * src/lyx_cb.h: out preamble
13842         * src/lyx_gui.C: out preamble
13843         * src/lyx_gui_misc.C: out preamble
13844         * src/lyxfunc.C: connect with guii preamble
13845
13846 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13849
13850 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13851
13852         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13853         whether to run bibtex.
13854
13855 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13856
13857         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13858
13859 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13860
13861         * Makefile.am (lyx_SOURCES): removed bibforms.h
13862
13863         * vspace.h: doxygen
13864
13865         * text.C (GetVisibleRow): make several local vars const
13866
13867         * tabular.C: small cleanup.
13868
13869         * lyxserver.C (callback): use compare instead of strncmp
13870
13871         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13872         inlines to after class or to paragraph.C
13873
13874         * lyxfont.h: remove friend operator!=
13875
13876         * converter.h: move friend bool operator< to non friend and after
13877         class def.
13878
13879         * combox.h: small cleanup
13880
13881         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13882         to inlines after class def.
13883
13884         * buffer.C (pop_tag): use string operations instead of strcmp
13885
13886         * bmtable.c: doxygen, small cleanup
13887
13888         * LaTeX.h: remove friend operator==
13889
13890 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13891
13892         * screen.C:
13893         * lyxrc.[Ch]:
13894         * lyxfunc.C:
13895         * lyxfont.[Ch]:
13896         * lyx_cb.C:
13897         * intl.[Ch]:
13898         * commandtags.h:
13899         * buffer.C:
13900         * WorkArea.[Ch]:
13901         * LyXAction.C:
13902         * BufferView_pimpl.C:
13903         * BufferView.[Ch]: remove cruft
13904
13905 2001-02-14  Juergen Vigna  <jug@sad.it>
13906
13907         * lyxfunc.C: removed #if 0 unused code
13908
13909         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13910
13911         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13912
13913         * text2.C (SetSelection): added a BufferView * parameter
13914
13915 2001-02-13  Juergen Vigna  <jug@sad.it>
13916
13917         * lyxfunc.C (Dispatch): fixed protected blank problem.
13918         * BufferView2.C (protectedBlank): added LyxText * parameter.
13919
13920         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13921         (AppendColumn): same as above for column_info.
13922
13923         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13924         (moveCursorUpdate): use a LyXText param for support of InsetText.
13925
13926         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13927         (tripleClick): ditto
13928
13929         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13930
13931         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13932
13933         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13934
13935         * text2.C (SetSelection): set correct update status if inset_owner
13936         (ToggleFree): ditto
13937
13938 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13939
13940         * tabular.C: remove some commented code.
13941
13942 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * BufferView_pimpl.C: call hideSplash()
13945
13946         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13947
13948         * include_form.h:
13949         * bibforms.h: remove
13950
13951         * lyxfunc.C:
13952         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13953           add LFUN_CHILD_CREATE
13954
13955         * counters.h: fix tiny typo
13956
13957         * lyx_cb.C:
13958         * lyx.h:
13959         * lyx_gui.C:
13960         * lyx.C: move splash to frontends/xforms/
13961
13962         * lyx_gui_misc.C: move Include and Bibform to frontends
13963
13964         * lyxvc.h: clarify comment
13965
13966         * vspace.C: tiny housekeeping
13967
13968 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13969
13970         * text.C (PrepareToPrint): RTL Fix.
13971
13972         * paragraph.C (GetUChar): New method.
13973         (String):  Use GetUChar.
13974
13975         * buffer.C (asciiParagraph): Use GetUChar.
13976
13977 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13978
13979         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13980
13981 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * buffer.h:
13984         * buffer.C: rename to getLogName(), handle
13985           build log / latex log nicely
13986
13987 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * MenuBackend.C:
13990         * MenuBackend.h: remove support for reference menuitem type.
13991
13992 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * BufferView_pimpl.C: housekeeping
13995         * BufferView_pimpl.h:
13996         * LyXView.h:
13997         * Makefile.am:
13998         * Timeout.C:
13999         * Timeout.h:
14000         * minibuffer.h: move Timeout GUI-I
14001
14002 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14003
14004         * lyxrc.C (read): Update converters data-structures.
14005
14006 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14007
14008         * LaTeX.h (operator!=): add operator != for Aux_Info
14009
14010 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14011
14012         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14013
14014         * LaTeXLog.C: deleted, useful code moved to Buffer
14015
14016         * buffer.h:
14017         * buffer.C: new function getLatexLogName()
14018
14019         * lyx_gui_misc.C:
14020         * lyx_gui.C:
14021         * lyxvc.C:
14022         * lyxvc.h:
14023         * lyxfunc.C: use frontends for LaTeX and VC logs
14024
14025 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * LaTeX.h: yet another std:: that Allan forgot.
14028
14029         * Variables.C (set): renamed from isset(), because this clashes
14030         with some HP-UX macros (grr).
14031
14032 2001-02-06  Allan Rae  <rae@lyx.org>
14033
14034         * LaTeX.h: Another bug fix.  Missing std:: this time.
14035
14036 2001-02-04  Allan Rae  <rae@lyx.org>
14037
14038         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14039         floats problem. I've left it commented out because it's not quite
14040         correct.  It should also test that the current object is a table or
14041         figure inset.  But I haven't gotten around to figuring out how to do
14042         that.  I *think* it'll be something like: "table" == inset.type()
14043
14044         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14045         bool.
14046
14047 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14050         all the citation/databases/styles in the auxilary file.
14051         (run): Rerun latex if there was a babel language error.
14052
14053 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14054
14055         * text.C (Backspace): Preserve the font when changing newline char
14056         with a space.
14057         (BreakParagraph): If the cursor is before a space, delete the space.
14058
14059         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14060
14061 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14062
14063         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14064         new argument (code).
14065         (ChangeCitationsIfUnique): New method.
14066
14067         * paragraph.C (GetPositionOfInset): Handle bibkey.
14068
14069 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * BufferView_pimpl.h: change type of Position::par_pos to
14072         LyXParagraph::size_type.
14073
14074 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14075
14076         * BufferView_pimpl.C (savePosition, restorePosition): Write
14077         messages to minibuffer.
14078
14079 2001-01-28  José Matos  <jamatos@fep.up.pt>
14080
14081         * buffer.C (makeDocBookFile): adds support for document language.
14082         A silly restriction on the name of LatexCommand types where removed.
14083         Added support for CDATA sections, allows to chars unescaped, used
14084         among others in code, to avoid escape < and >.
14085
14086 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14089         saved positions instrad of a stack. Furthermore, a position is
14090         stored using paragraph id/paragraph position.
14091
14092         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14093         Remove LFUN_REF_BACK.
14094
14095 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14096
14097         * converter.C (dvipdfm_options): New method.
14098
14099 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14100
14101         * vspace.C (isValidLength): Fix for empty input string.
14102
14103 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * LyXAction.C (init): change description of LFUN_FIGURE to
14106         "Insert Graphics"
14107
14108 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * LaTeX.C: add using directive
14111
14112 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14113
14114         * MenuBackend.C (expand): Fix the sorting of the formats.
14115
14116 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * lyx_main.C: tiny error message fix
14119
14120 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14123         calling fl_initialize(). This fixes the problem with ',' as
14124         decimal separator in text files.
14125
14126 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * trans.C (process): Fix the keymap bug.
14129
14130 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * LaTeX.C (scanAuxFiles): New method. Provides support for
14133         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14134         (scanLogFile) Scan for "run BibTeX" messages.
14135
14136         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14137         OT1 font encoding. Also, load the aecompl package if the ae
14138         package is loaded.
14139
14140         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14141
14142 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * texrow.C (increasePos): turn two error messages into debug
14145         messages.
14146
14147 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14148
14149         * LaTeX.C (scanAux): Handle the \@input macro.
14150         (runBibTeX): Use scanAux().
14151
14152         * language.C (latex_options_): New field.
14153
14154         * LaTeXFeatures.C (getMacros): Add language macros.
14155
14156         * buffer.C (makeLaTeXFile): Small fix.
14157
14158 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14161
14162         * text2.C: add a using directive.
14163
14164 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14165
14166         * BufferView2.C:
14167         * lyx_gui_misc.h:
14168         * lyxfr1.C:
14169         * lyxfunc.C: kill LyXBell.
14170
14171 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14172
14173         * text.C (IsBoundary): Remove the error message
14174
14175         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14176
14177         * lyxrc.C (setDefaults): Correct initialization value for
14178         font_norm_type.
14179
14180 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14181
14182         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14183         gotoError().
14184
14185         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14186         and GotoNextNote().
14187
14188         * src/LyXAction.C: Added reference-next.
14189
14190         * text.C (InsertChar): Use contains instead of strchr.
14191
14192         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14193
14194 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14197         alignment commands (when needed).
14198
14199         * text.C (InsertChar): Add ':' to number separator chars.