]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Some helper functions for the augmented dialogs.
[lyx.git] / src / ChangeLog
1
2 2003-12-03  André Pönitz  <poenitz@gmx.net>
3
4         * PosIterator.C:
5         * iterators.C:
6         * lyxtext.h:
7         * output_latex.C:
8         * paragraph_funcs.C:
9         * text.C:
10         * text2.C: use Inset::getText instead of Inset::getParagraph
11
12 2003-12-03  André Pönitz  <poenitz@gmx.net>
13
14         * buffer.[Ch]:
15         * lyxtext.h:
16         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
17         InsetText::read() as LyXText::read()
18         
19 2003-12-02  Angus Leeming  <leeming@lyx.org>
20
21         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
22         type. Add a comment in the implementation that the function uses
23         the stream's bad() function rather than fail() as the std::streams
24         would do.
25
26 2003-12-02  André Pönitz  <poenitz@gmx.net>
27
28         * lyxlex.[Ch]: make interface more similar to std::stream
29
30         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
31
32 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
33
34         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
35
36 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
37
38         * vspace.[Ch]: remove VSpace::NONE
39
40 2003-12-01  André Pönitz  <poenitz@gmx.net>
41
42         * buffer.[Ch]:
43         * lyxtext.h: move ParagraphList member to LyXText
44         rename LyXText::ownerParagraphs to LyXText::paragraph
45
46         * CutAndPaste.C:
47         * bufferview_funcs.C:
48         * iterators.[Ch]:
49         * lyx_cb.C:
50         * paragraph.C:
51         * rowpainter.C:
52         * tabular.C:
53         * text.C:
54         * text2.C:
55         * text3.C: adjust
56
57         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
58
59         * undo.C: fix cursor positioning 
60
61 2003-12-01  John Levon  <levon@movementarian.org>
62
63         * BufferView_pimpl.C: fix a crash on exit with
64         a buffer open
65
66 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * BranchList.C: fix setSelected() method.
69
70 2003-11-28  André Pönitz  <poenitz@gmx.net>
71
72         * ParagraphParameters.[Ch]:
73         * ParameterStruct.h: remove space above/below from Paragraph to
74          InsetVSpace
75
76         * BufferView_pimpl.C:
77         * factory.C:
78         * lyxfunc.C:
79         * lyxtext.h:
80         * output_latex.C:
81         * paragraph.C:
82         * paragraph_funcs.C:
83         * rowpainter.[Ch]:
84         * text.C:
85         * text2.C:
86         * text3.C: adjust
87
88 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
89
90         * factory.C: Syntax change for CharStyles
91
92 2003-11-28  André Pönitz  <poenitz@gmx.net>
93
94         * BufferView.[Ch]:
95         * BufferView.[Ch]:
96         * buffer.[Ch]:
97         * buffer.[Ch]: move LyXText member
98
99 2003-11-28  André Pönitz  <poenitz@gmx.net>
100
101         * BufferView.[Ch]: make LyXText * text a private member
102
103         * BufferView_pimpl.C:
104         * cursor.C:
105         * iterators.C:
106         * lyx_cb.C:
107         * lyxfind.C:
108         * lyxtext.h:
109         * rowpainter.[Ch]:
110         * text.C:
111         * text2.C:
112         * undo.C: adjust
113
114         * output_plaintext.C: cleanup
115
116 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * buffer.C: 
119         * lyxtextclass.[Ch]: parametrize SGML document header
120
121 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * converter.[Ch]:
124         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
125         getFlavor().
126
127 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * text2.C (setFont): rework using PosIterator (no more recursive)
130         (setCharFont): no more needed 
131         (setLayout): no more selection cursors fiddling (done by redoCursor)
132         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
133         destroy remaining ones)
134
135 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
136
137         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
138         * lyxtext.h: ditto
139         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
140         selection cursors
141         * lyxfunc.C: adjust
142         * text3.C: adjust + re-allow multi par depth changes
143         * textcursor.C: simplify a bit
144
145 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
146
147         * src/buffer.C:
148         * src/lyxlayout.C:
149         * src/lyxlayout.h:
150         * src/lyxtext.h:
151         * src/output_docbook.C:
152         * src/output_latex.C:
153         * src/paragraph.C:
154         * src/paragraph.h:
155         * src/sgml.C:
156         * src/sgml.h:
157         * src/text2.C: Introducing a number of tags parametrizing various
158         XML formats that we may want to support
159
160 2003-11-25  André Pönitz  <poenitz@gmx.net>
161
162         * InsetList.[Ch] (begein, end): inline as suggested by profiler
163
164         * lyxtext.h (leftMargin/rightMargin): simplify interface
165
166         * rowpainter.C:
167         * text.C:
168         * text2.C:
169         * text3.C: adjust
170
171 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
172
173         * lyxfunc.C (dispatch): propogate the bibtex databases from the
174         master file to any child files. Fixes bug 546.
175
176 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
177
178         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
179
180 2003-11-24  André Pönitz  <poenitz@gmx.net>
181
182         * rowpainter.C: simplification
183
184         * text2.C (updateCounters): remove call to redoParagraph on 
185         changed labels as this is far too expensive.
186
187 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * converter.C (convert): fix a crash: this function gets
190         called with buffer == 0 from importer code.
191
192 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
193
194         * text3.C (cursorPrevious): make sure that we do not compare
195         iterators form different containers.
196         (cursorNext): ditto
197
198         * rowpainter.C (paintSelection): make sure that we do not compare
199         iterators from different containers.
200
201         * text3.C (dispatch): [PRIOR] make sure that we do not compare
202         iterators from different ParagraphList containers.
203         [NEXT] ditto
204
205         * text2.C (LyXText): change order of initialization slightly
206         (operator=): new function. copy all variables except cache_par_
207         (moveUp): make sure that we do not compare iterators from
208         different ParagraphList constainers.
209         (moveDown): ditto
210
211         * text.C (firstPar): new function
212         (lastPar): new function
213         (endPar): new function
214
215         * lyxtext.h: move things around and group public functions, public
216         variables, private functions, private variables
217
218 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
219
220         * factory.C: change call to InsetERT constructor to avoid
221         additional invocation of method status
222         * text2.C (toggleInset): remove redundant update() call
223         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
224         instead of a Bufferview pointer
225
226 2003-11-21  André Pönitz  <poenitz@gmx.net>
227
228         * rowpainter.C: simplification
229
230 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * text3.C (dispatch): make possible to extend a word/row selection
233         with the mouse
234
235 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * lyxtext.h: x0_,y0_ -> xo_,yo_
238         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
239         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
240         * rowpainter.C (paintRows): paint full paragraphs
241
242 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
245         screen coordinates)
246
247 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * lyxtext.h: add x0_, y0_
250         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
251         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
252
253 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
254
255         * text2.C (setCursorIntern): move the x_target update here *
256         * text3.C: change some bv() to true/false in calls to
257         cursorUp/Down/Right/Left
258         * cursor.C: use helper function.
259
260 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
261
262         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
263         * paragraph_funcs.[Ch]: correct comment
264         * rowpainter.C: do not paint selections away from bv->cursor()
265         Fix a long standing selection painting bug.
266         * text3.C: generalize mouse-selection code to LyXTexts other that
267         top one
268         * textcursor.C: do not use y coords if we can use par offsets
269
270 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
273         cursor position after e.g. inset insert)
274
275 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
276
277         * lyxfind.C (replace): adjust to locking removal + some
278         code simplification
279
280 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
283         of the path
284
285 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
286
287         * lyxlayout.[Ch]:
288         * output_docbook.C: XML sanitation: new layout
289         parameters InnerTag and CommandDepth
290
291 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
292
293         * BufferView_pimpl.C:
294         * factory.C:
295         * text3.C: Fix the insertion and modification of button-style
296         insets
297
298 2003-11-13  André Pönitz  <poenitz@gmx.net>
299
300         * InsetList.[Ch]: remove deleteLyXText
301
302         * paragraph.[Ch]: cache beginOfBody position
303
304         * Bidi.C:
305         * text.C:
306         * text2.C:
307         * text3.C: remove superfluous update() calls
308
309         * vspace.C: cleanup
310
311 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
314         * BufferView.C (fitLockedInsetCursor): remove
315         * cursor.[Ch] (getDim): add
316         * text.C (getRowNearY): add faster version
317         * text3.C: remove some update calls
318
319 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * LaTeXFeatures.C:
322         * LyXAction.C:
323         * MenuBackend.C:
324         * MenuBackend.h:
325         * dispatchresult.h:
326         * factory.C:
327         * lfuns.h:
328         * lyxfunc.C:
329         * lyxtextclass.C:
330         * lyxtextclass.h:
331         * text3.C: The Character Style /XML short element patch.
332
333 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * text3.C:
336         * factory.C: Small step to solving 'unable to insert some insets'
337         problem
338
339 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * cursor.[Ch] (updatePos): new function for updating the y
342         position of the tip inset
343         * bufferview_funcs.C (put_selection_at):
344         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
345
346 2003-11-11  André Pönitz  <poenitz@gmx.net>
347
348         * text.C: remove big comment on invalid Paragraph pointers as it is
349         not valid anymore
350
351 2003-11-11  André Pönitz  <poenitz@gmx.net>
352
353         * text_funcs.[Ch]: merge with ...
354
355         * text.C: ... this
356
357         * lyxtext.h:
358         * text2.C:
359         * text3.C: adjust
360
361         * Makefile.am: remove text_funcs.[Ch]
362
363 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
364
365         * cursor.C (getPos): return absolute cached y coord
366
367         * BufferView_pimpl.C (fitCursor): new simplistic code
368         (workAreaDispatch): add a fitCursor call
369
370 2003-11-10  André Pönitz  <poenitz@gmx.net>
371
372         * BufferView.[Ch]:
373         * BufferView_pimpl.[Ch]: merge update() and updateInset()
374
375 2003-11-10  André Pönitz  <poenitz@gmx.net>
376
377         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
378         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
379         indicate that the cursor needs to leave an inset
380
381         * lyxtext.h: remove inset locking
382
383         * cursor.[Ch]: re-implement functionality provided by inset locking
384
385         * BufferView.[Ch]:
386         * BufferView_pimpl.[Ch]:
387         * LyXAction.C:
388         * bufferview_funcs.[Ch]:
389         * factory.C:
390         * funcrequest.[Ch]:
391         * iterators.C:
392         * lyx_cb.C:
393         * lyxfind.C:
394         * lyxfunc.C:
395         * text.C:
396         * text2.C:
397         * text3.C:
398         * undo.C: adjust
399
400 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
401
402         * PosIterator.[Ch]: replace the stack with a vector, add inset
403         accesor
404         * iterators.[C]: adjust
405
406 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
407
408         * lyxfind.C (replaceAll): mark the buffer dirty if something was
409         replaced
410         * paragraph_funcs.C (readParToken): put the correct id in the
411         error item, not the id of the top paragraph
412
413 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
414
415         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
416         * bufferview_funcs.C (put_selection_at): use the above
417
418 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
419
420         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
421
422 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * output_linuxdoc.h:
425         * output_plaintext.h:
426         * output.h:
427         * output_docbook.h: add #include statements
428
429 2003-11-05  José Matos  <jamatos@lyx.org>
430
431         * output_docbook.[Ch]:
432         * output_latex.[Ch]:
433         * output_linuxdoc.[Ch]:
434         * output_plaintext.[Ch]: New files for output formats.
435         * output.[Ch]: New file for helper functions.
436
437         * buffer.[Ch]:
438         * paragraph_funcs.[Ch]: output functions moved to new files.
439
440         * outputparams.h: rename of latexrunparams.h
441
442         * LaTeX.[Ch]:
443         * buffer.[Ch]:
444         * bufferlist.[Ch]:
445         * converter.[Ch]:
446         * exporter.C:
447         * paragraph.[Ch]:
448         * paragraph_funcs.[Ch]:
449         * paragraph_pimpl.[Ch]:
450         * tabular.[Ch]: rename ascii to plaintext
451         and LatexRunParams to OutputParams.
452
453 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
454
455         * iterators.[Ch] (text): require bv argument
456         * undo.C (recordUndo):
457         * lyxfunc.C (dispatch):
458         * bufferview_funcs.C (put_selection_at): adjust
459
460 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
461
462         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
463
464 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
465
466         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
467         nestings
468
469 2003-11-04  André Pönitz  <poenitz@gmx.net>
470
471         * cursor.[Ch]: restructure
472
473         * BufferView.[Ch]:
474         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
475
476         * iterators.[Ch] (asCursor): remove
477
478         * lfuns.h: remove LFUN_INSET_EDIT
479
480         * lyxfunc.C:
481         * tabular.C:
482         * text.C:
483         * text2.C:
484         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
485
486 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
487
488         * lyxfind.[Ch]: complete overhaul
489         * BufferView_pimpl.C:
490         * lyxfunc.C: adjust
491         * paragraph.[Ch] (insert): add
492
493 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
494
495         * BufferView.[Ch]:
496         * lyxtext.h:
497         * text.C: remove dead spellcheck code
498
499 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
500
501         * dispatchresult.h: add a val setter
502
503         * cursor.C (dispatch): use a tempvar for data_[i]
504
505 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
506
507         * PosIterator.[Ch]: compile fix
508
509 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
510
511         * text.C (cursorPar): deactivate the cursor cache
512
513 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
514
515         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
516
517 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
518
519         * text3.C (dispatch): adjust for new DisptchResult semantics.
520
521         * lyxfunc.C (dispatch): handle update when return from
522         Cursor::dispatch, adjust for new DispatchResult semantics.
523
524         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
525         DispatchResult(true) mean to not update. Add class functions for
526         setting dispatched and update, as well as reading.
527
528         * cursor.C (dispatch): don't handle update here
529
530 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
531
532         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
533         * trans_mgr.C: adjust
534
535         * paragraph_funcs.C (readParToken): exception safety
536
537         * lyxvc.h: store the vcs pointer in a scoped_ptr
538         * lyxvc.C: adjust
539
540         * lyxsocket.C (serverCallback): exception safety
541
542         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
543
544         * ispell.C (clone): make it return a auto_ptr
545
546         * factory.C (createInset): exception safety
547         (readInset): exception safety
548
549         * bufferlist.C (newBuffer): exception safety
550
551         * Thesaurus.C (Thesaurus): use initialization for aik_
552
553         * MenuBackend.C (expandToc): exception safety.
554
555 2003-11-03  André Pönitz  <poenitz@gmx.net>
556
557         * buffer.C:
558         * buffer.h:
559         * bufferview_funcs.C: remove getInsetFromId()
560
561         * lyxcursor.[Ch]:
562         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
563
564         * lyxfunc.C:
565         * text2.C:
566         * text3.C: adjust
567
568 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
569
570         * PosIterator.C (distance, advance): new
571         * bufferview_funcs.[Ch] (put_selection_at): new
572         * iterators.[Ch] (lockPath): new
573
574 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
575
576         * iterators.[Ch] (asPosIterator): added
577         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
578         * PosIterator.[Ch]: added
579
580 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
581
582         * text3.C:
583         * lyxfunc.C:
584         * cursor.C (dispatch):
585         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
586
587         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
588         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
589         contructor, add a class function dispatched. Remove operator>=
590
591 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
592
593         * debug.C: only use the default constructor for debugstream
594         (lyxerr) here.
595
596         * main.C (main): include debug.h and setup the lyxerr streambuf
597         here.
598
599 2003-10-31  José Matos  <jamatos@lyx.org>
600
601         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
602
603         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
604         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
605         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
606         * paragraph_pimpl.C (simpleTeXSpecialC):
607         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
608         add LatexRunParams argument.
609
610         * exporter.C (Export): change call accordingly.
611
612         * latexrunparams.h: add new member to take care of the other backends.
613 2003-10-30  José Matos  <jamatos@lyx.org>
614
615         * buffer.C (makeLinuxDocFile, makeDocBookFile):
616         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
617         factorise code for paragraph output.
618         * buffer.[Ch]:
619         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
620         move functions.
621
622 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
623
624         * text3.C (dispatch):
625         * lyxfunc.C (dispatch):
626         * cursor.C (dispatch):
627         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
628
629         * dispatchresult.h: make the dispatch_result_t ctor explicit
630
631 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * sgml.[Ch]:
634         * buffer.C: small refactoring of docbook stuff
635
636 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
637
638         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
639         meaning.
640
641 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
642
643         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
644         operator dispatch_result_t, and operators for == != and >=
645
646         * cursor.C (dispatch): adjust for operator dispatch_result_t
647         removal. comment out call to update
648
649         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
650
651 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
652
653         * text3.C:
654         * text2.C:
655         * text.C:
656         * lyxtext.h:
657         * lyxfunc.C:
658         * cursor.C:
659         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
660         (dispatch):
661
662         * dispatchresult.h: new file, DispatchResult broken out of
663         insets/insetbase.h
664
665         * Makefile.am (lyx_SOURCES): add dispatchresult.h
666
667 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
668
669         * text.C (rowBreakPoint): put a hack inside #if 0
670
671 2003-10-28  André Pönitz  <poenitz@gmx.net>
672
673         * lyxtext.h:
674         * metricsinfo.C:
675         * paragraph_funcs.C:
676         * rowpainter.C:
677         * text.C:
678         * text2.C: general cleanup (lots of small stuff)
679
680 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
681
682         * text2.C (cursorEnd): simple fix to the "end key goes to one
683         before the end on last row" bug
684
685 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
686
687         * text.C (backspace): fix the "zombie characters"
688
689 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
690
691         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
692
693 2003-10-27  André Pönitz  <poenitz@gmx.net>
694
695         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
696
697         * factory.C: handle new InsetPagebreak, InsetLine
698
699         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
700         and move handling into new InsetPagebreak, InsetLine
701
702         * BufferView_pimpl.C:
703         * LyXAction.C:
704         * ParagraphParameters.C:
705         * ParameterStruct.h:
706         * lyxfunc.C:
707         * lyxtext.h:
708         * paragraph.C:
709         * paragraph.h:
710         * paragraph_funcs.C:
711         * paragraph_pimpl.C:
712         * rowpainter.C:
713         * text.C:
714         * text2.C:
715         * text3.C: adjust
716
717 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
718
719         * text.C:
720         * lyxrow_funcs.[Ch]:
721         * Bidi.C:
722         * paragraph.C:
723         * lyxtext.h:
724         * rowpainter.C:
725         * text2.C:
726         * text3.C: remove lastPos uses in favour of Row::endpos
727
728 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
729
730         * undo.C (performUndoOrRedo): fix two crashes by setting a
731         cursor by hand and reordering some calls. Use bv->lockInset instead
732         of inset->edit because the latter loses cursor information
733
734 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
735
736         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
737         by Martin
738         (rowBreakPoint): fix width. change point to point + 1.
739         Add a missing check.
740
741 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
742
743         * MenuBackend.C:
744         * lyxfunc.C: fix (at least partly) the problems
745         with the Nav menu and headers inside branch insets
746         reported by Kayvan
747
748 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
749
750         * paragraph.C (getChar): add strong asserts
751
752         * lyxrow_funcs.C (lastPos): remove hideous hack
753
754         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
755         (fill): adjust to that (avoid an infinite loop)
756
757 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
758
759         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
760
761 2003-10-23  André Pönitz  <poenitz@gmx.net>
762
763         * RowList_fwd.h: change list<> to vector<> to gain speed
764         after suggestion from Alfredo
765
766 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
767
768         * lyxtext.h: move the bidi stuff from here...
769         * text.C: and here
770         * text2.C: and here
771         * Bidi.[Ch]: ... to here
772
773 2003-10-23  André Pönitz  <poenitz@gmx.net>
774
775         * lyxtext.h:
776         * text.C (isLastRow, isFirstRow): new functions
777
778         * paragraph.h: new width cache member
779
780         * rowpainter.C: replace RowList::iterator with Row & where possible
781
782         * lyxfunc.C: replace several view()->text with a single call
783
784         * toc.C: fix 'unused' warning
785
786 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
787
788         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
789         when woring with stream::pos_type
790         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
791
792 2003-10-22  André Pönitz  <poenitz@gmx.net>
793
794         * lyxtext.h:
795         * text.C: use Row & instead of RowList::iterator
796
797         * lyxrow.h: rename end() to endpos()
798
799         * rowpainter.C:
800         * text.C:
801         * text2.C: adjust
802
803 2003-10-22  Angus Leeming  <leeming@lyx.org>
804
805         * buffer.[Ch] (fully_loaded): new member function, returning true
806         only when the file has been loaded fully.
807         Used to prevent the premature generation of previews and by the
808         citation inset to prevent computation of the natbib-style label.
809
810         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
811         templates are all set up.
812
813         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
814
815 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * text.C: fixed an "oops" in the "is a bit silly"
818         bug fix
819
820 2003-10-21  André Pönitz  <poenitz@gmx.net>
821
822         * FuncStatus.[Ch]: small stuff, whitespace
823
824         * lyxfont.[Ch]: operator<<() for debug reasons
825
826         * lyxfunc.C:
827         * lyxrow_funcs.C:
828         * lyxtext.h: whitespace, spelling
829
830         * paragraph.C: naming of variables
831
832         * text.C:
833         * text2.C: small stuff
834
835
836 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * text.C: (1) finish off the inset display() work;
839         (2) fix the "is a bit silly" bug (accessing char
840         past end of par).
841
842 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * text.C: re-introduce display() for insets, fixing the
845         various bugs (stretch of line above, math inset
846         positioning, ...)
847
848 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * text.C (rightMargin): remove spurious semicolon
851
852         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
853         1415)
854
855 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
856
857         * text3.C: fix one crash due to wrong cursor def
858
859 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
860
861         * vc-backend.C (scanMaster): make the regex static
862
863         * LaTeX.C (scanAuxFile): make the regexs static
864
865         * text3.C (doInsertInset, dispatch, dispatch):
866         * text2.C (cursorUp, cursorDown):
867         * text.C (selectNextWordToSpellcheck):
868         * BufferView_pimpl.C (dispatch):
869         * lyxfunc.C (dispatch):  localDispatch -> dispatch
870
871 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * lyxsocket.C: include <cerrno>
874
875 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
876
877         * lyxfunc.C (dispatch): remove textcache stuff
878
879         * bufferlist.C (release): remove textcache stuff
880         (closeAll): ditto
881
882         * TextCache.C: delete file
883         * TextCache.h: delete file
884
885         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
886
887         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
888         delete of the bv_->text.
889         (resizeCurrentBuffer): remove texcache stuff
890         (workAreaResize): ditto
891
892 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
893
894         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
895         action.
896
897 2003-10-16  André Pönitz  <poenitz@gmx.net>
898
899         * lyxrow.[Ch]:
900         * paragraph.h:
901         * rowpainter.C:
902         * text.C:
903         * text2.C:
904         * text3.C: speed up by storing y positions per paragraph plus per-row
905         offset instead of having a 'full' y position in the row.
906
907 2003-10-15  André Pönitz  <poenitz@gmx.net>
908
909         * iterators.[Ch]:
910         * iterators.[Ch]:
911         * undo.[Ch]: make undo aware of inner insets
912
913 2003-10-14  Angus Leeming  <leeming@lyx.org>
914
915         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
916         static member functions LyX::ref() and LyX::cref.
917         (lastfiles): new accessor functions for the new lastfiles_ member var.
918         (addLyXView, views_): add a new LyXView to the list of views_.
919         (updateInset): loop over all LyXViews to call their own updateInset
920         member function, returning a pointer to the Buffer owning the inset.
921
922         * BufferView_pimpl.C (loadLyXFile):
923         * MenuBackend.C (expandLastfiles):
924         * bufferlist.C (MenuWrite, QuitLyX):
925         lastfiles is no longer a global variable.
926         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
927
928         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
929         static function. Access through LyX::cref().emergencyCleanup().
930
931 2003-10-14  André Pönitz  <poenitz@gmx.net>
932
933         * iterators.[Ch]: new direct access to innermost LyXText and Inset
934
935         * undo.[Ch]: restoring part of 'undo in insets'
936
937         * Makefile.am:
938         * undo_funcs.[Ch]: merge with undo.[Ch]
939
940         * tabular.C: small cleansing stuff
941
942 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
943
944         * paragraph_funcs.C (readParToken): report unknown insets as error
945         boxes. Use the outer paragraph as location (also for unknown
946         tokens).
947
948         * factory.C (readInset): do not abort on reading an unknown inset.
949         Eat it and return 0.
950
951 2003-10-13  Angus Leeming  <leeming@lyx.org>
952
953         * lyx_main.C (LyX): remove call to setDisplayTranslator().
954
955         * lyxrc.C: displayTranslator is now a function,
956         declared in GraphicsTypes.h.
957
958 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
959
960         * format.C: new placeholder $$a to pass the socket address.
961
962         * bufferlist.[Ch]: new function getBufferFromTmp.
963
964         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
965           files in the temporary dir.
966
967 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
968
969         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
970
971         * Makefile.am: add lyxsocket.[Ch].
972
973         * lyx_main.C (error_handler): handle SIGPIPE.
974
975 2003-10-13  André Pönitz  <poenitz@gmx.net>
976
977         * BufferView_pimpl.C:
978         * lyxtext.h:
979         * text.C:
980         * text2.C:
981         * text3.C:
982         * undo_funcs.[Ch]: use paroffset_type instead of
983           ParagraphList::iterators to prevent multiple conversion
984           (and get a more robust interface)
985
986 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
987
988         * lyxfunc.C (dispatch): RESULT -> dispatch_result
989         * lyxtext.h: ditto
990         * text3.C (dispatch): ditto
991
992 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * LaTeX.C (handleFoundFile): move the static to smaller scope,
995         move the onlyfile, use onlyfile instead of foundfile in a couple
996         of places.
997
998         * DepTable.C (update): flush the error stream a bit more
999
1000 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1001
1002         * lyxserver.C (callback): adjust
1003
1004         * lyxfunc.C (getStatus): add a missing brace in commented code
1005         (ensureBufferClean): reindent
1006         (dispatch): delete version taking a string
1007
1008 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * LaTeX.C (deplog): move found file handlig from here...
1011         (handleFoundFile): .. to new function here.
1012         (deplog): make sure to discover several files mentioned on the
1013         same log line.
1014
1015 2003-10-10  André Pönitz  <poenitz@gmx.net>
1016
1017         * lyxfunc.C:
1018         * lyxtext.h:
1019         * tabular.C:
1020         * text.C:
1021         * text2.C:
1022         * text3.C: fix some of the tabular crashes
1023
1024 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1025
1026         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1027
1028         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1029
1030 2003-10-09  André Pönitz  <poenitz@gmx.net>
1031
1032         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1033
1034         * BufferView.C:
1035         * BufferView_pimpl.C:
1036         * bufferview_funcs.C:
1037         * lyx_cb.C:
1038         * lyxcursor.C:
1039         * lyxfind.C:
1040         * lyxfunc.C:
1041         * lyxtext.h:
1042         * text.C:
1043         * text2.C:
1044         * text3.C:
1045         * text_funcs.[Ch]:
1046         * textcursor.[Ch]:
1047         * undo_funcs.C: adjust
1048
1049 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1050
1051         * text2.C (incrementItemDepth): new function, use a backtracking
1052         algorithm to discover the correct item depth.
1053         (resetEnumCounterIfNeeded): new function, use a backtracking
1054         algorithm to discover if counter reset is needed.
1055         (setCounter): use them. Simplify a bit. Add different labels for
1056         different item depths for itemize.
1057
1058         * paragraph.C (Paragraph): remove initialization of enumdepth
1059         (operator=): ditto
1060
1061         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1062         enumerate and itemize. Change the type of itemdepth to signed char.
1063
1064 2003-10-08  André Pönitz  <poenitz@gmx.net>
1065
1066         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1067           thing assignable.
1068         * text.C:
1069         * text2.C: adjust
1070
1071         * tabular.[Ch]: fix crash after 'row-insert'
1072
1073 2003-10-08  Angus Leeming  <leeming@lyx.org>
1074
1075         Fix doxygen warnings.
1076
1077         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1078         Remove CutAndPaste:: prefix from header file declaration.
1079
1080         * LColor.h (fill): remove LColor:: prefix from declaration.
1081
1082         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1083         use lyx::depth_type rather than Paragraph::depth_type so that
1084         header file and .C file match.
1085
1086         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1087
1088         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1089         * aspell.C: \file aspell_local.C -> \file aspell.C
1090         * gettext.C: \file gettext.C -> \file src/gettext.C
1091         * gettext.h: \file gettext.h -> \file src/gettext.h
1092         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1093         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1094         * text.C: \file text.C -> \file src/text.C
1095
1096         * toc.C: move comment so that doxygen is not confused.
1097
1098 2003-10-07  Angus Leeming  <leeming@lyx.org>
1099
1100         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1101
1102 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1103
1104         * aspell.C:
1105         * aspell_local.h: add forgotten std::string's.
1106
1107 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1108
1109         * LaTeXFeatures.C:
1110         * LyXAction.C:
1111         * factory.C:
1112         * lfuns.h:
1113         * lyxfunc.C:
1114         * text3.C: The Box patch. Fancybox support, minipage, parbox
1115
1116 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1117
1118         * CutAndPaste.h:
1119         * DepTable.h:
1120         * FloatList.h:
1121         * LaTeXFeatures.h:
1122         * ParagraphParameters.h:
1123         * TextCache.h:
1124         * Thesaurus.h:
1125         * bufferlist.h:
1126         * exporter.h:
1127         * importer.h:
1128         * lastfiles.h:
1129         * lyxfind.h:
1130         * lyxfont.h:
1131         * lyxlex.h:
1132         * lyxtextclasslist.h:
1133         * messages.h:
1134         * paragraph.h:
1135         * paragraph_pimpl.C:
1136         * textcursor.h: add <string> and other small fixes to make Lars'
1137         std::string patch compile with STLport.
1138
1139 2003-10-06  Angus Leeming  <leeming@lyx.org>
1140
1141         * LColor.h: Add missing #include <string>.
1142
1143 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1144
1145         * All most all file in all subdirs: Make <string> be the prefered
1146         way of getting to std::string, add using declarations.
1147
1148 2003-10-06  André Pönitz  <poenitz@gmx.net>
1149
1150         * metricsinfo.C: initialize LyXFont before changing attribute.
1151         (fixes the 'math in \emph is upright' bug)
1152
1153 2003-10-06  André Pönitz  <poenitz@gmx.net>
1154
1155         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1156
1157 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1158
1159         * graph.C:
1160         * paragraph_pimpl.C: Small fixes to build using STLport
1161
1162 2003-10-02  André Pönitz  <poenitz@gmx.net>
1163
1164         * lyxfunc.C:
1165         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1166
1167 2003-10-01  André Pönitz  <poenitz@gmx.net>
1168
1169         * factory.C: assert early
1170
1171 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1172
1173         * lyx_main.C: remove the global debug object
1174
1175         * debug.h: adjust for new debugstream
1176
1177         * debug.C: adjust for new debugstream and keep the global debug
1178         object here.
1179
1180 2003-09-22  Angus Leeming  <leeming@lyx.org>
1181
1182         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1183         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1184         an incomplete class LyXFont.
1185
1186 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1187
1188         * factory.C: bug fix in branches
1189
1190 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1191
1192         * lyxfunc.C (processKeySym): adjust
1193         (dispatch): adjust
1194         (dispatch): change arg name from ev to func, adjust
1195         (sendDispatchMessage): ditto
1196
1197         * lyx_main.C (defaultKeyBindings): adjust keybindings
1198         (deadKeyBindings): ditto
1199
1200         * kbsequence.C (addkey): return a FuncRequest
1201
1202         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1203
1204         * kbmap.C (bind): take a FuncRequest as arg, adjust
1205         (read): adjust
1206         (lookup): adjust
1207         (defkey): change to take a FuncRequest as arg, adjust
1208         (findbinding): take a FuncRequest as arg, adjust.
1209
1210         * funcrequest.h (operator=): added
1211
1212         * funcrequest.C (FuncRequest): default kb_action changed from
1213         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1214
1215         * buffer.C (dispatch): simplify
1216         (dispatch): adjust to take a FuncRequest as arg, adjust
1217
1218         * boost.C (assertion_failed): change assertion message slightly
1219
1220         * ToolbarBackend.C (read): simplify
1221
1222         * MenuBackend.C (binding): adjust call to findbinding, add a
1223         message if no binding is found.
1224         (read): simplify
1225         (expandToc): correct by adding a empty FuncRequest
1226
1227         * LyXAction.C: include <boost/assert.hpp>
1228         (isPseudoAction): delete function
1229         (LookupFunc): change name to...
1230         (lookupFunc): this. change return type to FuncRequest.
1231         (getActionName): take kb_action as arg, simplify
1232         (funcHasFlag): add an assert, simplify.
1233
1234 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1235
1236         * toc.C (action): return a FuncRequest, simplify
1237
1238         * lyxfunc.C (processKeySym): adjust
1239         (getStatus): delete version that takes an int.
1240         (getStatus): adjust
1241         (dispatch): delete version that takes action as int
1242         (dispatch): adjust
1243         (sendDispatchMessage): simplify and adjust
1244
1245         * funcrequest.C (getArg): take unsigned int as arg
1246
1247         * ToolbarBackend.C (read): adjust
1248         (add): delete version that takes func as a string.
1249         (getIton): take a FuncRequest as arg
1250
1251         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1252         action.
1253
1254         * MenuBackend.C (MenuItem): add a new construct that only takes a
1255         Kind, simplify the constructor use for submenus.
1256         (add): adjust
1257         (expandLastfiles): adjust
1258         (expandDocuments): adjust
1259         (expandFormats): adjust
1260         (expandFloatListInsert): adjust
1261         (expandFloatInsert): adjust
1262         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1263
1264         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1265         Remove class variables lyx_pseudo_map and lyx_arg_map
1266
1267         * LyXAction.C (searchActionArg): delete function
1268         (getPseudoAction): delete function
1269         (retrieveActionArg): delete function
1270         (LookupFunc): make it return kb_action, simplify.
1271         (getActionName): simplify
1272
1273         * factory.C (createInset): fix new bug
1274
1275 2003-09-19  Angus Leeming  <leeming@lyx.org>
1276
1277         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1278         masterFilename_ parameter in the include inset.
1279
1280         * factory.C (createInset): changes due to the changes to InsetInclude.
1281
1282 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1283
1284         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1285
1286 2003-09-18  Angus Leeming  <leeming@lyx.org>
1287
1288         * buffer.C:
1289         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1290         Inset::fillWithBibKeys.
1291         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1292
1293 2003-09-18  Angus Leeming  <leeming@lyx.org>
1294
1295         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1296         variables.
1297         (ctor): pass and store a 'Buffer const &'
1298         (buffer): new member function.
1299
1300         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1301         '*this' to the LaTeXFeatures ctor.
1302
1303 2003-09-18  Angus Leeming  <leeming@lyx.org>
1304
1305         * LColor.h:
1306         * lyxfont.C:
1307         * lyxfont.h:
1308         * lyxtext.h:
1309         * text.C: rename EnumLColor as LColor_color.
1310
1311 2003-09-18  Angus Leeming  <leeming@lyx.org>
1312
1313         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1314         remove #include "insets/insetbase.h" from cursor.h.
1315
1316 2003-09-18  Angus Leeming  <leeming@lyx.org>
1317
1318         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1319         InsetOld_code to remove #include "inset.h".
1320
1321         * iterators.C: add #include "insets/inset.h"
1322
1323 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1324
1325         * BufferView.C: remove more locking stuff that apparently doesn't
1326         do anything sensible.
1327
1328 2003-09-16  André Pönitz  <poenitz@gmx.net>
1329
1330         * paragraph.[Ch]:
1331         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1332           performance boost.
1333
1334 2003-09-16  Angus Leeming  <leeming@lyx.org>
1335
1336         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1337
1338         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1339         arg/return type.
1340
1341         * paragraph.h: remove #include "lyxfont.h". Forward declare
1342         LyXFont_size.
1343
1344 2003-09-16  Angus Leeming  <leeming@lyx.org>
1345
1346         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1347         of support/textutils.h.
1348         (isWord): move the contents of support/textutils.h's IsWordChar here.
1349
1350         * buffer.C:
1351         * lyxfind.C:
1352         * rowpainter.C:
1353         * text.C:
1354         * text2.C: add #include "paragraph.h".
1355
1356         * rowpainter.C:
1357         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1358
1359 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1360
1361         * main.C:
1362         * lyx_main.C:
1363         * lyx_cb.C:
1364         * buffer.C:
1365         * LaTeX.C: use namespace alias for lyx::support::os
1366
1367 2003-09-16  Angus Leeming  <leeming@lyx.org>
1368
1369         * bufferparams.C:
1370         * bufferview_funcs.C:
1371         * factory.C:
1372         * lyxfunc.C:
1373         * paragraph_pimpl.C:
1374         * rowpainter.C:
1375         * text.C: add #include "LColor.h".
1376
1377 2003-09-16  Angus Leeming  <leeming@lyx.org>
1378
1379         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1380         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1381         return LyXFont &.
1382         Store the FontBits::color variable as an int rather than as an
1383         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1384         file.
1385
1386         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1387         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1388         string calls together.
1389
1390         * lyxrc.C: add #include "LColor.h".
1391
1392 2003-09-15  Angus Leeming  <leeming@lyx.org>
1393
1394         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1395         a cow_ptr.
1396
1397 2003-09-15  Angus Leeming  <leeming@lyx.org>
1398
1399         * LColor.h: add an EnumLColor wrapper for LColor::color.
1400
1401         * lyxfont.[Ch] (color, setColor, realColor):
1402         * lyxtext.h, text.C (backgroundColor):
1403         pass EnumLColor args to/from the functions, rather than LColor::color
1404         ones.
1405
1406         * lyxfont.h:
1407         * lyxtext.h: forward declare EnumLColor.
1408
1409         * lyx_main.C: add #include "LColor.h".
1410
1411 2003-09-15  Angus Leeming  <leeming@lyx.org>
1412
1413         * .cvsignore: add lyx-gtk.
1414
1415 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * Chktex.C
1418         * LaTeX.C
1419         * LaTeXFeatures.C
1420         * ParagraphParameters.C
1421         * Spacing.C
1422         * buffer.C
1423         * bufferparams.C
1424         * bufferview_funcs.C
1425         * chset.C
1426         * counters.C
1427         * funcrequest.C
1428         * lyxfont.C
1429         * lyxgluelength.C
1430         * lyxlength.C
1431         * paragraph.C
1432         * paragraph_funcs.C
1433         * text3.C
1434         * vc-backend.C: remove usage of STRCONV
1435
1436 2003-09-15  Angus Leeming  <leeming@lyx.org>
1437
1438         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1439         explicitly define the color passed to the painter.
1440
1441 2003-09-15  Angus Leeming  <leeming@lyx.org>
1442
1443         * bufferparams.C (BufferParams): reorder member initializers to avoid
1444         compiler warning.
1445
1446 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1447
1448         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1449         * text.C (updateRowPositions): remove an unusual nop
1450
1451 2003-09-12  André Pönitz  <poenitz@gmx.net>
1452
1453         * BufferView_pimpl.C:
1454         * Bullet.C:
1455         * layout.h:
1456         * lyxfunc.C:
1457         * lyxlayout.[Ch]:
1458         * lyxtextclass.C:
1459         * rowpainter.C:
1460         * text.C:
1461         * text2.C:
1462         * Counters.[Ch]: finish the 'automatic counters' job
1463
1464 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1465
1466         * aspell.C: include <boost/assert.cpp> (compile fix)
1467
1468 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1469
1470         * boost.C (assertion_failed): use lyx::support::abort instead of
1471         assert.
1472
1473 2003-09-10  Angus Leeming  <leeming@lyx.org>
1474
1475         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1476         with their _fwd progeny.
1477
1478 2003-09-09  Angus Leeming  <leeming@lyx.org>
1479
1480         134 files throughtout the source tree: replace 'using namespace abc;'
1481         directives with the appropriate 'using abc::xyz;' declarations.
1482
1483 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1484
1485         * boost.C (emergencyCleanup): moved here from LAssert.c
1486         (assertion_failed): new function, called by BOOST_ASSERT
1487
1488         * several files: change Assert to BOOST_ASSERT
1489
1490 2003-09-09  Angus Leeming  <leeming@lyx.org>
1491
1492         * buffer.[Ch]: Add an Impl class and move Buffer's member
1493         variables into it. As a result move several header files out of
1494         buffer.h.
1495
1496         Add header files to lots of .C files all over the tree as a result.
1497
1498 2003-09-09  Angus Leeming  <leeming@lyx.org>
1499
1500         * buffer.[Ch]: make Buffer's member variables private. Add
1501         accessor functions.
1502
1503         Lots of changes all over the tree as a result.
1504
1505 2003-09-08  Angus Leeming  <leeming@lyx.org>
1506
1507         * graph.C: #include <config.h>.
1508
1509 2003-09-08  Angus Leeming  <leeming@lyx.org>
1510
1511         * BranchList.C:
1512         * BufferView.C:
1513         * BufferView_pimpl.C:
1514         * CutAndPaste.C:
1515         * DepTable.C:
1516         * LaTeX.C:
1517         * LaTeXFeatures.C:
1518         * LyXAction.C:
1519         * MenuBackend.C:
1520         * TextCache.C:
1521         * aspell.C:
1522         * buffer.C:
1523         * bufferlist.C:
1524         * changes.C:
1525         * chset.C:
1526         * converter.C:
1527         * counters.C:
1528         * debug.C:
1529         * graph.C:
1530         * ispell.C:
1531         * lyx_cb.C:
1532         * lyxfind.C:
1533         * lyxfunc.C:
1534         * lyxlex_pimpl.C:
1535         * lyxrc.C:
1536         * lyxrow.C:
1537         * paragraph.C:
1538         * rowpainter.C:
1539         * texrow.C:
1540         * text.C:
1541         * text2.C:
1542         * toc.C: remove redundant using directives.
1543
1544 2003-09-07  Angus Leeming  <leeming@lyx.org>
1545
1546         * LaTeXFeatures.h: remove #include "support/types.h".
1547         * ToolbarBackend.h: remove #include <algorithm>.
1548         * changes.h: remove #include <ctime>.
1549         * debug.h: remove #include <iosfwd>.
1550         * graph.h: remove #include "support/std_string.h".
1551         * lyx_main.h: remove #include <csignal>.
1552         * lyxlex_pimpl.h: remove #include <fstream>.
1553         * sgml.h: remove #include <algorithm>, <utility>.
1554         * toc.h: remove #include "support/std_ostream.h".
1555         Add #include <iosfwd>.
1556
1557 2003-09-07  Angus Leeming  <leeming@lyx.org>
1558
1559         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1560
1561         * converter.h: forward declare LatexRunParams.
1562         * encoding.h: remove #include "lyxrc.h".
1563         * lyxtext.h: remove #include "LColor.h".
1564         * lyxtextclass.h: remove #include "support/types.h".
1565         * trans.h: remove #include "tex-accent.h".
1566         * trans_mgr.h: remove #include "tex-accent.h".
1567         * insets/inset.h: remove #include "support/types.h", <vector>.
1568         * insets/insetcollapsable.h: remove #include "LColor.h".
1569         * insets/insetinclude.h: remove #include "dimension.h".
1570         * insets/insetlatexaccent.h: remove #include "dimension.h".
1571         * insets/insetoptarg.h:: remove #include "insettext.h".
1572         * insets/insettext.h: remove #include "dimension.h",
1573         <boost/shared_ptr.hpp>
1574
1575         * insets/renderers.h: add #include "dimension.h".
1576         * insets/updatableinset.h: add #include "support/types.h".
1577
1578         * many .C files: Associated changes.
1579
1580 2003-09-06  Angus Leeming  <leeming@lyx.org>
1581
1582         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1583         one, inside testInvariant.
1584
1585         * PrinterParams.C: new file.
1586         * PrinterParams.[Ch]: move the function bodies out of line.
1587
1588 2003-09-06  Angus Leeming  <leeming@lyx.org>
1589
1590         * ParagraphParameters.h: forward declare ParameterStruct rather than
1591         including its header file.
1592         (depth): moved out-of-line.
1593
1594 2003-09-06  Angus Leeming  <leeming@lyx.org>
1595
1596         * BufferView_pimpl.h:
1597         * kbmap.h:
1598         * kbsequence.h:
1599         * lyxfunc.h: forward declare LyXKeySym rather than
1600         #include "frontends/LyXKeySym.h".
1601
1602         * BufferView_pimpl.C:
1603         * kbmap.C:
1604         * kbsequence.C:
1605         * lyxfunc.C: associated changes.
1606
1607 2003-09-06  Angus Leeming  <leeming@lyx.org>
1608
1609         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1610         As a result, can remove the #include "insets/inset.h" from BufferView.h
1611
1612 2003-09-06  Angus Leeming  <leeming@lyx.org>
1613
1614         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1615         As a result, can remove the #include "insets/inset.h" from BufferView.h
1616
1617 2003-09-06  Angus Leeming  <leeming@lyx.org>
1618
1619         * buffer_funcs.C:
1620         * buffer.h:
1621         * bufferlist.C:
1622         * BufferView.C:
1623         * bufferview_funcs.C:
1624         * BufferView_pimpl.C:
1625         * CutAndPaste.C:
1626         * lyx_cb.C:
1627         * lyxfunc.C:
1628         * paragraph.h:
1629         * ParagraphParameters.C:
1630         * tabular.C:
1631         * text3.C:
1632         * toc.C:
1633         * undo_funcs.C:
1634         * frontends/controllers/ControlDocument.C:
1635         * insets/insetcaption.C: rearrange the #includes into some sort of
1636         coherent order.
1637
1638         * buffer.h: remove #includes ErrorList.h, undo.h
1639
1640 2003-09-06  Angus Leeming  <leeming@lyx.org>
1641
1642         * support/types.h: add a 'depth_type' typedef, used to store the
1643         nesting depth of a paragraph.
1644
1645         * paragraph.h:
1646         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1647         defining explicitly.
1648
1649         * buffer.h:
1650         * paragraph_funcs.h:
1651         * ParagraphParameters.h:
1652         * sgml.h: use lyx::depth_type rather than Paragraph or
1653         ParameterStruct's depth_type.
1654
1655         * buffer.h
1656         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1657
1658         * BufferView.C:
1659         * BufferView_pimpl.C:
1660         * CutAndPaste.C:
1661         * ParagraphParameters.C:
1662         * buffer_funcs.C:
1663         * bufferlist.C:
1664         * bufferview_funcs.C:
1665         * lyx_cb.C:
1666         * lyxfunc.C:
1667         * tabular.C:
1668         * text3.C:
1669         * toc.C:
1670         * undo_funcs.C:
1671         * frontends/LyXView.C:
1672         * frontends/controllers/ControlDocument.C:
1673         * frontends/controllers/ControlErrorList.C:
1674         * insets/insetbibitem.C:
1675         * insets/insetbranch.C:
1676         * insets/insetcaption.C:
1677         * insets/insetcollapsable.C:
1678         * insets/insetenv.C:
1679         * insets/insetert.C:
1680         * insets/insetfloat.C:
1681         * insets/insetfoot.C:
1682         * insets/insetfootlike.C:
1683         * insets/insetnewline.C:
1684         * insets/insetquotes.C:
1685         * insets/insettabular.C:
1686         * insets/insettext.C:
1687         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1688
1689         * frontends/controllers/ControlChanges.C: #include "changes.h".
1690
1691 2003-09-06  Angus Leeming  <leeming@lyx.org>
1692
1693         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1694         than #including paragraph.h.
1695
1696         * ParagraphList.h:
1697         * RowList.h: deleted. Superfluous.
1698
1699         * CutAndPaste.h:
1700         * iterators.h:
1701         * lyxcursor.h:
1702         * lyxtext.h:
1703         * text_funcs.h:
1704         * undo.h:
1705         * undo_funcs.h:
1706         * insets/inset.h:
1707         * insets/insettext.h: use ParagraphList_fwd.h rather than
1708         ParagraphList.h.
1709
1710         * paragraph.h: don't forward declare ParagraphList.
1711
1712         * buffer.h:
1713         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1714         rather than ParagraphList.h. paragraph.h is still needed for the
1715         Paragraph::depth_type parameters.
1716
1717         * textcursor.h: enable it to compile stand-alone in light of the
1718         above changes.
1719
1720         * bufferview_funcs.C:
1721         * iterators.C:
1722         * lyxfunc.C:
1723         * lyxrow_funcs.C:
1724         * paragraph.C:
1725         * rowpainter.C:
1726         * text.C:
1727         * text2.C:
1728         * text3.C:
1729         * text_funcs.C:
1730         * textcursor.C:
1731         * undo.C:
1732         * frontends/controllers/ControlParagraph.C:
1733         * frontends/controllers/ControlTabular.C:
1734         * insets/insetmarginal.C:
1735         * insets/insetminipage.C:
1736         * insets/insetnote.C:
1737         * insets/insetoptarg.C: add header files needed to compile again.
1738
1739 2003-09-06  Angus Leeming  <leeming@lyx.org>
1740
1741         * RowList_fwd.h: new file, forward-declaring Row rather than
1742         #including lyxrow.h.
1743
1744         * lyxrow_funcs.h:
1745         * lyxtext.h:
1746         * paragraph.h:
1747         * insets/insettext.h: use it instead of RowList.h
1748
1749         * bufferview_funcs.C:
1750         * lyxfunc.C:
1751         * lyxrow_funcs.C:
1752         * paragraph.C:
1753         * rowpainter.C:
1754         * text.C:
1755         * text2.C:
1756         * text3.C: #include "RowList.h".
1757
1758 2003-09-05  Angus Leeming  <leeming@lyx.org>
1759
1760         * factory.C (createInset):
1761         * vspace.C (c-tor): replace sscanf call with an istringstream.
1762         * ispell.C: re-add missing HP/UX headers.
1763         * lyxserver.C: re-add missing  os2 headers.
1764
1765 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1766
1767         * BranchList.C:
1768         * graph.C:
1769         * ispell.C:
1770         * lastfiles.C:
1771         * lyx_cb.C:
1772         * lyxserver.C:
1773         * texrow.C:
1774         * text3.C: re-add missing system headers, needed for 2.95.2.
1775
1776 2003-09-05  Angus Leeming  <leeming@lyx.org>
1777
1778         Changes most place everywhere due to the removal of using directives
1779         from support/std_sstream.h.
1780
1781 2003-09-05  Angus Leeming  <leeming@lyx.org>
1782
1783         Replace LString.h with support/std_string.h,
1784         Lsstream.h with support/std_sstream.h,
1785         support/LIstream.h with support/std_istream.h,
1786         support/LOstream.h with support/std_ostream.h.
1787
1788         Changes resulting throughout the tree.
1789
1790 2003-09-05  Angus Leeming  <leeming@lyx.org>
1791
1792         * sgml.h: ensure that the header file can be compiled stand-alone.
1793         * *.C: strip out redundant #includes. (320 in total.)
1794
1795 2003-09-04  Angus Leeming  <leeming@lyx.org>
1796
1797         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1798         here (from getPackages).
1799
1800         * debug.[Ch]: add a new EXTERNAL tag.
1801
1802 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1803
1804         * text2.C (cursorEnd): simplify
1805         (setCursor): adjust
1806         (getColumnNearX): adjust
1807
1808         * text.C (computeBidiTables): adjust
1809         (fill): adjust
1810
1811         * rowpainter.C (paintChars): adjust
1812         (paintSelection): adjust
1813         (paintChangeBar): adjust
1814         (paintText): adjust
1815
1816         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1817         lastPos instead.
1818         (numberOfSeparators): adjust
1819
1820 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1821
1822         * LyXAction.C:
1823         * box.[Ch]:
1824         * lfuns.h:
1825         * lyxfunc.C:
1826         * text3.C: Restricts the mouse click functionality
1827         of insets like bibtex, include, toc and floatlist to the visible
1828         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1829         up the dialogs. Cursor has to be in front of the inset (i.e.
1830         start of row) for this to function.
1831
1832 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1833
1834         * bufferview_funcs.C (currentState): output row information
1835
1836 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1837
1838         * bufferview_funcs.C (currentState): output paragraph position
1839
1840 2003-09-04  Angus Leeming  <leeming@lyx.org>
1841
1842         * FloatList.h: move out #include "Floating.h".
1843         * LaTeX.h: move out #include "DepTable.h".
1844         * LyXAction.h: move out #include "funcrequest.h".
1845         * buffer.h: move out #include "author.h", "iterators.h".
1846         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1847         * lyx_main.h: move out #include "errorlist.h".
1848         * lyxfunc.h: move out #include "FuncStatus.h".
1849         * lyxtext: move out #include "lyxcursor.h".
1850         * paragraph_pimpl.h: move out #include "counters.h".
1851
1852 2003-09-03  Angus Leeming  <leeming@lyx.org>
1853
1854         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1855         preamble_snippets list, enabling us to add snippets to the preamble
1856         only if the snippet was not there already.
1857
1858 2003-09-04  Angus Leeming  <leeming@lyx.org>
1859
1860         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1861
1862 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1865         update
1866
1867 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * BranchList.C: point fix, earlier forgotten
1870
1871 2003-09-02  Angus Leeming  <leeming@lyx.org>
1872
1873         * box.C (contains): renamed from 'contained' after a fantastic
1874         amount of hot air.
1875
1876 2003-09-02  John Levon  <levon@movementarian.org>
1877
1878         * BufferView.C:
1879         * lyxcursor.h:
1880         * lyxcursor.C:
1881         * lyxfunc.C:
1882         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1883
1884 2003-09-02  John Levon  <levon@movementarian.org>
1885
1886         * text2.C: simplification of cursorEnd(), including partial
1887         fix for bug 1376
1888
1889 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * buffer.C (readFile): add a space
1892
1893 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1894
1895         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1896
1897 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1898
1899         * buffer.C (readFile): new function, take a filename and a
1900         ParagraphList::iterator
1901         (readFile): adjust
1902         (readFile): adjust, make it private. don't use setStream, make
1903         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1904         always contain the filename.
1905
1906         * BufferView.C (insertLyXFile): simplify and make it work for
1907         gzipped files.
1908
1909 2003-08-30  John Levon  <levon@movementarian.org>
1910
1911         * Makefile.am: fix dist (from Kayvan)
1912
1913 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1914
1915         * most files: change to use const Buffer refs
1916
1917 2003-08-27  André Pönitz  <poenitz@gmx.net>
1918
1919         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1920         on top of ownerPar().
1921
1922 2003-08-27  John Levon  <levon@movementarian.org>
1923
1924         * funcrequest.C: properly initialise POD members
1925
1926 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * lyxtext.h (top_y): move top_y from here
1929         * text.C:
1930         * text2.C:
1931         * text3.C:
1932         * BufferView.[Ch]:
1933         * BufferView_pimpl.[Ch]: to here
1934         * frontends/screen.C:
1935         * insets/insettabular.C:
1936         * insets/insettext.C: adjust
1937         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1938
1939 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1940
1941         * BufferView.[Ch]:
1942         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1943
1944 2003-08-26  André Pönitz  <poenitz@gmx.net>
1945
1946         * paragraph_func.[Ch] (outerPar): new function
1947
1948         * paragraph.C:
1949         * paragraph_funcs.C:
1950         * paragraph_funcs.h:
1951         * paragraph_pimpl.C:
1952         * text2.C: remove Inset::par_owner
1953
1954 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1955
1956         * lyxrow_funcs.C:
1957         * lyxtext.h:
1958         * text.C:
1959         * text2.C: eliminates the needFullRow/display() stuff
1960         altogether, putting the logic in metrics/draw in the insets.
1961
1962 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1963
1964         * text2.C (redoParagraphInternal, redoParagraphs):
1965         * text.C (redoParagraph): add a call to updateRowPositions at the
1966         end of each 'metrics-like' call. Remove all others.
1967         (getRow): remove the 'y-computing' version.
1968         (getRowNearY): do not compute nor return the real y. Solve the
1969         'y < 0' problem and simplify.
1970
1971 2003-08-22  Angus Leeming  <leeming@lyx.org>
1972
1973         * *.[Ch]: clean-up of licence and author blurbs.
1974         Also move config.h out of a few .h files and into a few .C files.
1975
1976 2003-08-22  André Pönitz  <poenitz@gmx.net>
1977
1978         * lyxrow.[Ch]: add x_ and *fill_ members
1979
1980         * lyxtext.h:
1981         * text.C:
1982         * rowpainter.C:
1983         * text2.C: adjust/remove prepareToPrint() calls
1984
1985 2003-08-22  André Pönitz  <poenitz@gmx.net>
1986
1987         * lyxrow.[Ch]: add  end_ member
1988
1989         * lyxrow_funcs.C: use LyXRow::end_
1990
1991         * lyxtext.h (singleWidth): add LyXFont parameter
1992
1993         * rowpainter.C:
1994         * text2.C: adjust LyXText::singleWidth() calls
1995
1996         * text.C (redoParagraph): simplify row breaking logic
1997
1998
1999 2003-08-19  André Pönitz  <poenitz@gmx.net>
2000
2001         * funcrequest.C: initialize button_ member
2002
2003         * text3.C:
2004         * rowpainter.[Ch]: interface consolidation
2005
2006 2003-08-18  André Pönitz  <poenitz@gmx.net>
2007
2008         * BufferView.C:
2009         * BufferView_pimpl.C:
2010         * lyxfind.C:
2011         * paragraph_funcs.C:
2012         * rowpainter.C:
2013         * text3.C: remove LyXScreen::draw() and fitCursor calls
2014
2015         * BranchList.h: remove spurious semicolons
2016
2017         * MenuBackend.C: fix branchlist related crash
2018
2019 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2020
2021         * BranchList.[Ch]:
2022         * InsetList.[Ch]:
2023         * LColor.[Ch]:
2024         * LyXAction.C:
2025         * Makefile.am:
2026         * MenuBackend.[Ch]:
2027         * bufferparams.[Ch]:
2028         * factory.C:
2029         * lfuns.h:
2030         * lyxfunc.C:
2031         * text3.C: implements the 'branch inset'
2032         idea. This allows the output of various versions of a document
2033         from a single source version, selectively outputing or suppressing
2034         output of parts of the text.
2035         This implementation contains a 'branch list editor' in a separate
2036         tab of the document settings dialog. Branches are user definable
2037         and have a "display colour" to distinguish them on-screen.
2038
2039         ColorHandler was somewhat cleaned up.
2040         (1) make possible a dynamically growing LColor list by allowing
2041         the graphic context cache to grow along (vector);
2042         (2) eliminate an IMHO unnecessary step in colour allocation.
2043
2044 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2045
2046         * BufferView_pimpl.C: compile fix
2047
2048 2003-08-15  André Pönitz  <poenitz@gmx.net>
2049
2050         * rowpainter.C: remove extra metrics calls
2051
2052         * lyxtext.h: merge the two constructors into a single one,
2053           pass reference to owner's par list
2054
2055         * BufferView_pimpl.C:
2056         * text.C:
2057         * text2.C: adjust
2058
2059 2003-08-15  André Pönitz  <poenitz@gmx.net>
2060
2061         * lyxrow_funcs.[Ch]:
2062         * lyxtext.h:
2063         * paragraph.h:
2064         * paragraph_funcs.C:
2065         * rowpainter.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C:
2069         * text_funcs.C: split LyXText::rowlist_ into individual
2070         Paragraph::rows_ chunks
2071
2072         * BufferView.[Ch]:
2073         * BufferView_pimpl.[Ch]:
2074         * lyxfind.C:
2075         * lyxtext.h:
2076         * text3.C: remove toggleSelection()
2077
2078 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2079
2080         * bufferlist.C: beautify two alerts (shorter text of buttons)
2081         * buffer.C: Remove redundant ' ' from message
2082         * tabular.h:
2083         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2084         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2085         rename VALIGN_CENTER to VALIGN_MIDDLE
2086
2087 2003-08-11  André Pönitz  <poenitz@gmx.net>
2088
2089         * lyxtext.h (getPar):
2090         * text.C: new function
2091
2092 2003-08-11  André Pönitz  <poenitz@gmx.net>
2093
2094         * Makefile.am:
2095         * tracer.[Ch]: remove unneeded files
2096
2097         * InsetList.[Ch]: remove resizeInsetsLyXText()
2098
2099         * lyxtext.h:
2100         * text.C:
2101         * text2.C:
2102         * text3.C: merge insertParagraphs() and appendParagraph()
2103         remove breakAgain(), update()
2104
2105         * BufferView_pimpl.[Ch]:
2106         * bufferview_funcs.[Ch]:
2107         * lyxfunc.C:
2108         * paragraph.[Ch]:
2109         * rowpainter.C:
2110         * tabular.C: adjust after text & InsetList changes.
2111
2112 2003-08-08  André Pönitz  <poenitz@gmx.net>
2113
2114         * text.C (insertChar, backspace): replace rowlist fiddling
2115         with rebreak of full par
2116
2117         * lyxtext.h:
2118         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2119         checkParagraph, updateInset): removed
2120
2121 2003-08-07  André Pönitz  <poenitz@gmx.net>
2122
2123         * paragraph.C:
2124         * text3.C: merge some LFUN handlers, remove dead code
2125
2126 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2127
2128         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2129
2130 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * text2.C (DEPM): fix part of bug 1255 and 1256
2133
2134 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2135
2136         * BufferView_pimpl.C (workAreaDispatch): change to use
2137         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2138         that are no mouse related.
2139
2140 2003-08-05  André Pönitz  <poenitz@gmx.net>
2141
2142         * BufferView.[Ch]:
2143         * BufferView_pimpl.[Ch]:
2144         * bufferview_funcs.C:
2145         * text2.C:
2146         * text3.C: rip out "deep update"
2147
2148         * textcursor.[Ch] (last_sel_cursor): remove unused member
2149
2150 2003-08-04  André Pönitz  <poenitz@gmx.net>
2151
2152         * BufferView.[Ch]:
2153         * BufferView_pimpl.[Ch]:
2154         * ParagraphParameters.C:
2155         * bufferview_funcs.C:
2156         * lyx_cb.C:
2157         * lyxfind.C:
2158         * lyxfunc.C:
2159         * text.C:
2160         * text2.C:
2161         * text3.C: replace "complicated" BufferView::update(...) calls with
2162         simpler ones.
2163
2164         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2165
2166 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2167
2168         * Makefile.am (lyx_SOURCES): add paper.h
2169
2170 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2171
2172         * Makefile.am: move things around so that both lyx-qt and
2173         lyx-xforms can be built (according to --with-frontend). Then lyx
2174         is a symbolic link to lyx-[firstfrontend]
2175
2176 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2177
2178         * Always use std::endl with lyxerr
2179
2180 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2181
2182         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2183
2184 2003-08-01  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView.[Ch]:
2187         * BufferView_pimpl.[Ch]:
2188         * lyxfunc.C:
2189         * text3.C: merge BufferView::repaint() and BufferView::update()
2190
2191 2003-08-01  José Matos  <jamatos@lyx.org>
2192
2193         * buffer.[Ch]: file_format is no longer a buffer data element.
2194
2195 2003-08-01  André Pönitz  <poenitz@gmx.net>
2196
2197         * BufferView.C:
2198         * lyxtext.h:
2199         * text.C:
2200         * text2.C: make redoParagraph more independent of current cursor
2201
2202         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2203         * text.C:
2204         * text2.C: remove unneeded members
2205
2206 2003-07-30  André Pönitz  <poenitz@gmx.net>
2207
2208         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2209
2210         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2211           create a single function...
2212
2213         * paragraph_funcs.C (moveItem): ... here.
2214
2215         * text.C:
2216           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2217
2218 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2219
2220         * LColor.[Ch]: Add comment and greyedout logical colors.
2221
2222 2003-07-30  André Pönitz  <poenitz@gmx.net>
2223
2224         * tabular.C: don't use Assert too heavily. This crashes where it
2225           shouldn't
2226
2227 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2228
2229         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2230         is disabled (bug 1232)
2231
2232 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2233
2234         * factory.C: limited 'arg' scope
2235
2236 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * factory.C: fixed Note submenu issues
2239
2240 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2241
2242         * factory.C: submenu for Note/Comment/Greyedout
2243
2244 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2245
2246         * lyx_main.C (LyX):
2247         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2248
2249 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2250
2251         * LaTeXFeatures.C:
2252         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2253         greyedout. Patch provided by Jürgen Spitzmüller.
2254
2255 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2256
2257         * kbmap.C (read): fix error message when reading bind files
2258
2259 2003-07-29  Angus Leeming  <leeming@lyx.org>
2260
2261         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2262         certainly does not do what it purports to do. I am doing it, and
2263         us, a favour by killing it.
2264
2265 2003-07-28  José Matos  <jamatos@lyx.org>
2266
2267         * buffer.C (readBody, do_writeFile):
2268         * paragraph.C(readParagraph): \end_document replaces \the_end.
2269
2270 2003-07-29  André Pönitz  <poenitz@gmx.net>
2271
2272         * BufferView.[Ch]:
2273         * BufferView_pimpl.[Ch]:
2274         * lyxfunc.C:
2275         * text2.C:
2276         * text3.C:
2277         * textcursor.[Ch]: remove toggleToggle & Co
2278
2279 2003-07-28  José Matos  <jamatos@fep.up.pt>
2280
2281         * buffer.C (readParagraph):
2282         * params_func (readParToken, readParagraph):
2283         * paragraph.C (write): \layout -> \begin_layout.
2284
2285 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * lyxlex_pimpl.C (setFile): clean up slightly.
2288
2289         * bufferparams.h: add compressed var
2290
2291         * buffer_funcs.C (readFile): adjust for LyXLex change
2292         (newFile): ditto + simplify
2293
2294         * buffer.C (writeFile): handle writing of compressed files
2295
2296         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2297         Check if the file is compressed and set a bufferparm if so.
2298
2299         * Makefile.am (lyx_LDADD): remove explicit -lz
2300
2301 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2302
2303         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2304         makeDocBookFile): put the real LyX version in the first line of
2305         the file
2306
2307         * version.h:
2308         * version.C.in: remove lyx_docversion
2309
2310         * tabular.C (write_attribute): add a template-based version to
2311         write enums properly
2312
2313 2003-07-28  André Pönitz  <poenitz@gmx.net>
2314
2315         * lyxtext.h:
2316         * text.C:
2317         * text2.C:
2318         * text3.C: use doubles again for x-coordinates. They are needed.
2319
2320 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * messages.C (getLocaleDir): use lyx_localedir()
2323
2324         * lyxlex_pimpl.C (setFile): compress stuff
2325
2326         * buffer.C (writeFile): add some compression stuff
2327         (do_writeFile): new func, dont call expliti close... will this
2328         breake anything?
2329
2330         * Makefile.am (lyx_LDADD): add -lz
2331
2332 2003-07-28  José Matos  <jamatos@fep.up.pt>
2333
2334         * buffer.C: increment file format.
2335         * paragraph_funcs (readParagraph, readParToken):
2336         * paragraph.C (readParagraph): add \end_layout.
2337
2338 2003-07-27  Angus Leeming  <leeming@lyx.org>
2339
2340         * Makefile.am: remove special casing for configure-time setting of
2341         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2342
2343         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2344         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2345
2346 2003-07-26  André Pönitz  <poenitz@gmx.net>
2347
2348         * paragraph_func.[Ch]:
2349         * paragraph.C (realizeFont): inline it whereever it is used
2350
2351         * rowpainter.C:
2352         * text.C:
2353         * text2.C:
2354         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2355
2356
2357 2003-07-26  André Pönitz  <poenitz@gmx.net>
2358
2359         *       lyxtext.h:
2360         * text.C:
2361         * text2.C: get rid of LyXText::need_break_row
2362
2363 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * toc.[Ch]: put namespace toc inside namespace lyx
2366
2367         * MenuBackend.C (expandToc2): adjust for lyx::toc
2368         (expandToc): ditto
2369
2370         * lyxfunc.C (dispatch): adjust for lyx::find
2371
2372         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2373         lyx::find instead. Reorganize a bit.
2374         (LyXReplace): rename to replace
2375         (LyXFind): rename to find
2376
2377         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2378         (dispatch): ditto
2379
2380 2003-07-26  André Pönitz  <poenitz@gmx.net>
2381
2382         * text.C (setHeightOfRow): restrict scope of temporary variable
2383
2384         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2385           code (never has been used?)
2386
2387 2003-07-27  Asger Alstrup  <alstrup@local>
2388
2389         * text.C (fill): Optimise algorithm to exploit that we can reuse
2390         the LyXFont for many characters.
2391         (setHeightOfRow): Same thing.
2392         (rowBreakPoint): Same thing.
2393
2394 2003-07-26  Asger Alstrup  <alstrup@local>
2395
2396         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2397
2398         * text.C (singleWidth): Spurious font copying in hot-spot
2399         singleWidth avoided. Reorder tests for arabic for efficiency.
2400
2401         * text.C (fill): handle empty paragraphs better.
2402
2403 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2404
2405         * ispell.C:
2406         * encoding.h: add includes
2407
2408         * lyxrc.C: remove reading of bind files
2409
2410         * lyx_main.C (init): setup bindings and menus only if we have a
2411         gui.
2412
2413         * kbmap.C (read): new method. Do the actual reading of bind
2414         files.
2415
2416         * converter.C (dvipdfm_options):
2417         * bufferparams.C:
2418         * lyxrc.C (read):
2419         (output): adapt PAPER_* enums.
2420
2421         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2422
2423         * bufferparams.h: remove paper-related enums from there
2424
2425         * paper.h: New file. A trivial header file to hold paper-related
2426         enums. It should later expand to contain many paper-related
2427         horrors access.
2428
2429         * lyxrc.C: declare extern displayTranslator
2430
2431 2003-07-27  José Matos  <jamatos@fep.up.pt>
2432
2433         * tabular.[Ch] (linuxdoc): add support for tables and figures
2434         (linuxdoc).
2435
2436 2003-07-27  José Matos  <jamatos@fep.up.pt>
2437
2438         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2439         consistency in both functions.
2440         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2441
2442 2003-07-26  Asger Alstrup  <alstrup@local>
2443
2444         * rowpainter.C (paintRows): Change algorithm to work directly on
2445         the insets rather than asking every character in the document
2446         whether its an inset.
2447
2448 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2449
2450         * buffer.C (openFileWrite): factorize some code
2451
2452 2003-07-26  Angus Leeming  <leeming@lyx.org>
2453
2454         * lyx_cb.C:
2455         * lyx_main.[Ch]: replace occurances of system_tempdir with
2456         os::getTmpDir().
2457
2458 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * rename Inset to InsetOld
2461
2462 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2463
2464         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2465         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2466         which I think is a bit clearer. EDIT is gone, since it was
2467         premature optimisation, and broken for mathed anyway.
2468         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2469         with cursor positioning in insets as well (math insets still do not
2470         work, but that's a different story anyway.) It mysteriously
2471         crashes sometimes with undo in the first paragraph, but I'm fairly
2472         confident that this is a compiler bug.
2473
2474 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2475
2476         * paragraph.C (Paragraph): adjust for new clone return type
2477         (operator==): ditto
2478         (copyIntoMinibuffer): ditto
2479
2480 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2481
2482         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2483         by not having a special case, and always doing a full rebreak of
2484         the document after undo.
2485
2486 2003-07-23  Angus Leeming  <leeming@lyx.org>
2487
2488         * factory.C (createInset): InsetExternal::setParams now takes a
2489         Buffer const * arg.
2490
2491 2003-07-23  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset): changed interface to the external and
2494         graphics mailers' string2params functions.
2495
2496 2003-07-23  Angus Leeming  <leeming@lyx.org>
2497
2498         * factory.C (createInset): pass a
2499         Buffer const * parameter to InsetExternalMailer's string2params.
2500
2501 2003-07-22  John Levon  <levon@movementarian.org>
2502
2503         * Thesaurus.h: include the right aiksaurus header
2504
2505 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2506
2507         * MenuBackend.C (expand): check menu shortcuts unconditionally
2508
2509 2003-07-21  Angus Leeming  <leeming@lyx.org>
2510
2511         * factory.C (createInset): pass a
2512         buffer_path parameter to InsetGraphicsMailer's string2params.
2513
2514 2003-07-21  Angus Leeming  <leeming@lyx.org>
2515
2516         * BufferView_pimpl.C (buffer):
2517         * buffer.C (d-tor):
2518         * lyx_main.C (LyX):
2519         * lyxfunc.C (dispatch):
2520         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2521         rather than the grfx shortcut.
2522
2523 2003-07-21  André Pönitz  <poenitz@gmx.net>
2524
2525         * rowpainter.C: remove unused variables
2526
2527         * tabular_funcs.C:
2528         * tabular_funcs.h: move to tabular.C
2529         * Makefile.am: adjust
2530
2531         * tabular.[Ch]: basic optical cleaning
2532
2533         * author.h: pass references, not values
2534
2535 2003-07-18  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxtext.h:
2538         * metricsinfo.C:
2539         * metricsinfo.h:
2540         * rowpainter.C:
2541         * text.C:
2542         * text2.C:
2543         * text3.C: two-phase drawing for InsetText and InsetTabular
2544         some float -> int changes.
2545
2546 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2547
2548         * lyx_main.C: fix the fix
2549
2550 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2551
2552         * lyx_main.C: fix a crash in batch mode if no files specified
2553         * converter.C: ws
2554
2555 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * format.[Ch] (papersize): moved to BufferParams
2558         * converter.[Ch] (dvips_options): moved to BufferParams
2559         (dvipdfm_options): moved to anon namespace
2560         * bufferparams.[Ch]: added above functions.
2561
2562 2003-07-17  André Pönitz  <poenitz@gmx.net>
2563
2564         * lyxtext.h:
2565         * rowpainter.C:
2566         * text2.C: don't call inset->update() anymore
2567
2568         * metricsinfo.[Ch]: add convenience constructor
2569
2570 2003-07-16  André Pönitz  <poenitz@gmx.net>
2571
2572         * lyxcursor.[Ch]:
2573         * lyxfunc.[Ch]:
2574         * text.C:
2575         * text2.C: replace the LyXCursor::irow_ member with
2576          on-demand computation of the value
2577
2578 2003-07-16  John Levon  <levon@movementarian.org>
2579
2580         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2581
2582 2003-07-15  André Pönitz  <poenitz@gmx.net>
2583
2584         * text.C:
2585         * text2.C: remove no more needed refresh_row
2586
2587 2003-07-15  André Pönitz  <poenitz@gmx.net>
2588
2589         * lyxtext.h:
2590         * rowpainter.C:
2591         * text2.C:
2592         * text3.C: refresh_status tristate -> need_update bool
2593
2594 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2595
2596         * lyxtext.h (init): remove reinit argument (act as if always true)
2597         * text2.C: adjust to that
2598
2599 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2600
2601         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2602         * text3.C: use it to delete selections in some cases
2603         (bugs 441, 673, 702, 954).
2604
2605 2003-07-14  André Pönitz  <poenitz@gmx.net>
2606
2607         * rowpainter.[Ch]: reduce interface
2608
2609 2003-07-14  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView_pimpl.C:
2612         * text2.C: adjust after removing unused BufferView * argument
2613
2614 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2615
2616         * text2.C (init): fix a crash fired on resize
2617
2618 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * buffer.[Ch]: added new closing signal
2621         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2622         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2623         BufferView::Pimpl via the closing the signal
2624
2625 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * buffer.[Ch]: take out all bv-related from buffer
2628         * BufferView.C:
2629         * BufferView_pimpl.[Ch]: connect to new signals
2630         * CutAndPaste.C: removed useless asserts
2631         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2632         * lyxvc.[Ch]:
2633         * vc-backend.[Ch]:
2634         * lyxfunc.C: moved view-related funciontality from vc here
2635         * paragraph.C: removed outdated comments
2636         * text.C: ws
2637
2638 2003-07-10  André Pönitz  <poenitz@gmx.net>
2639
2640         * BufferView_pimpl.C:
2641         * tabular.h:
2642         * tabular_funcs.C:
2643         * text.C:
2644         * text2.C: remove InsetText::InnerCache, clean up consequences
2645
2646 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2647
2648         * ispell.C: fix two typos in error messages
2649
2650 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * Extend Note inset to other forms of annotation like Comment
2653         and Greyedout. Right button click gives dialog.
2654
2655         Files modified or added (+):
2656
2657         * insetnote.[Ch]
2658         * FormNote.[Ch]      +
2659         * ControlNote.[Ch]   +
2660         * form_note.fd       +
2661         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2662         frontends/controllers
2663         * xforms/Dialogs.C
2664         * factory.C
2665
2666 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2667
2668         * aspell.C: add missing namespace lyx::support
2669
2670 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2671
2672         * BufferView.[Ch] (newFile): Add
2673         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2674         * LaTeX.[Ch] (message): added this signal and use it
2675         * buffer.[Ch] (busy, message): added these signals and use them
2676         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2677         * converter.C:
2678         * exporter.C:
2679         * format.C:
2680         * importer.C: use buffer signals instead of direct bv calling
2681         * lyx_cb.[Ch] (ShowMessage): removed
2682         * lyx_main.C:
2683         * lyxfunc.C:
2684         * paragraph_funcs.C:
2685         * text2.C: use buffer signals
2686
2687 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * introduce namespace lyx::graphics
2690
2691 2003-07-02  André Pönitz  <poenitz@gmx.net>
2692
2693         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2694
2695 2003-07-01  André Pönitz  <poenitz@gmx.net>
2696
2697         * text.C:
2698         * text2.C:
2699         * text3.C:
2700         * text_funcs.[Ch]:
2701         * textcursor.h:
2702         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2703           text*.C to text_func.C
2704
2705 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2706
2707         * introduce namespace lyx::support
2708
2709 2003-06-30  André Pönitz  <poenitz@gmx.net>
2710
2711         * Chktex.C:
2712         * funcrequest.C:
2713         * lyxtext.h:
2714         * text.C: re-enable --with-included-string
2715
2716 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2717
2718         * textcursor.C: add <config.h>
2719
2720         * text.C (getWord): remove const from word_location arg
2721
2722         * lyxvc.C (getLogFile): fix const type order
2723
2724         * lyxtext.h: remove const from word_location arg, add arg name
2725
2726         * lyxlayout.h: currect type on labeltype.
2727
2728         * importer.C: correct \file
2729
2730         * converter.C (intToFormat): use std:: on ret val, ws changes
2731
2732         * bufferlist.h: correct \file
2733
2734         * buffer.C (makeLinuxDocFile): fix const type order
2735         (makeDocBookFile): ditto
2736         (fillWithBibKeys): use std:: on stdlib args.
2737
2738         * CutAndPaste.C: fix authors.
2739         (availableSelections): use std:: on return vector
2740
2741 2003-06-27  André Pönitz  <poenitz@gmx.net>
2742
2743         * BufferView_pimpl.C:
2744         * bufferview_funcs.C:
2745         * lyxcursor.C:
2746         * lyxcursor.h:
2747         * lyxfunc.C:
2748         * lyxtext.h:
2749         * rowpainter.C:
2750         * text.C:
2751         * text2.C:
2752         * text3.C: remove LyXCursor::row_ member
2753
2754         * lyxtext.h:
2755         * text.C: rename fullRebreak() to partialRebreak() and implement
2756           a fullRebreak() that really bereks fully
2757
2758         * textcursor.h: new struct for cursor-related data
2759
2760 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * lyx_main.C (LyX): get full path of document loaded on the
2763         command line
2764
2765 2003-06-26  André Pönitz  <poenitz@gmx.net>
2766
2767         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2768           remove unused/broken operator>,<,>=.
2769
2770         *       text.C: remove only use of broken operator<= in an Assert().
2771
2772 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2775         moved errorlist_.clear to showErrorList
2776
2777 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2778
2779         * converter.C (scanLog, runLaTeX):
2780         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2781         move the bv->showErrorList call to the callers
2782         * lyxfunc.C: i.e. here...
2783         * text2.C: and here
2784         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2785         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2786         namespace, the second to...
2787         * buffer_funcs (BufferFormat, parseErrors): added
2788         * errorlist.C (ErrorList(TeXErrors const &)): removed
2789
2790 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2791
2792         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2793
2794 2003-06-24  "Garst R. Reese" <reese@isn.net>
2795
2796         * debug.C: fix typo
2797
2798 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2801
2802         * version.C.in: change docversion to 1.4
2803
2804 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2805
2806         * buffer.C: fix a bug just introduced
2807
2808 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * buffer.[Ch]: added the parseError signal and use it, removed
2811         sgmlError
2812         * BufferView.[Ch] (addError): moved to ...
2813         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2814         to the Buffer::parseError signal to catch (guess what) parse errors
2815         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2816
2817 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2818
2819         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2820         ability to create a buffer and to return an existing one from
2821         the list. Moved these functions to...
2822         * buffer_funcs.[Ch]: added
2823         * BufferView.[Ch] (loadLyXFile): added
2824         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2825         job removed from bufferlist::loadLyXFile.
2826         * buffer.C (setReadOnly): make it work without view
2827         (i.e added an if (users))
2828
2829 2003-06-19  Angus Leeming  <leeming@lyx.org>
2830
2831         * lfuns.h:
2832         * LyXAction.C (init):
2833         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2834         with LFUN_DIALOG_SHOW <name> <data>.
2835
2836 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * CutAndPaste.C (availableSelections): small compilation fix for
2839         ancient (gcc 2.9x) compilers
2840
2841 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * text3.C (cursorNext): add tmp var
2844
2845         * text2.C (updateCounters): for function calling out of for clause
2846         (replaceSelectionWithString): ditto
2847         (insertStringAsParagraphs): ditto
2848         (getColumnNearX): add tmp var
2849         (setCursorFromCoordinates): add tmp var
2850         (cursorDownParagraph): add tmp var
2851         (deleteEmptyParagraphMechanism): add tmp var
2852
2853         * text.C (insertChar): add tmp var
2854
2855         * rowpainter.C (paintDepthBar): add tmp var
2856
2857         * CutAndPaste.C (availableSelections): potentially check all
2858         paragraphs in a cut to fill the shown strings.
2859
2860 2003-06-18  André Pönitz  <poenitz@gmx.net>
2861
2862         * kbmap.[Ch]: use vector<> instead of list<>
2863
2864 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2865
2866         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2867         pasteSelection with index
2868
2869         * text2.C (pasteSelection): modify, call pasteSelection with index
2870
2871         * paragraph.C (asString): reimplement version with no interval to
2872         call the one with interval.
2873
2874         * lyxtext.h: add index arg to pasteSelection
2875
2876         * MenuBackend.C (MenuItem): handle PasteRecent
2877         (Menu::read::Menutags): add md_pasterecent
2878         (read): handle it
2879         (expandPasteRecent): new function
2880         (expand): use it
2881
2882         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2883
2884         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2885         the limited stack
2886         (availableSelections): new function
2887
2888 2003-06-17  Angus Leeming  <leeming@lyx.org>
2889
2890         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2891
2892 2003-06-17  Angus Leeming  <leeming@lyx.org>
2893
2894         * lfuns.h:
2895         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2896
2897         * lyxfunc.C (dispatch): invoke it.
2898
2899 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2900
2901         * iterators.C (operator++, ParPosition): reintroduce some
2902         const_cast for the benefit of older compilers.
2903
2904 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2905
2906         * text3.C (dispatch): do not modify clipboard when doing
2907         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2908         LFUN_DELETE_SKIP on a selection selection
2909
2910 2003-06-16  André Pönitz  <poenitz@gmx.net>
2911
2912         * BufferView.C:
2913         * buffer.C:
2914         * buffer.h:
2915         * paragraph.C:
2916         * tabular.[Ch]: IU of clone() and getLabelList();
2917
2918 2003-06-13  André Pönitz  <poenitz@gmx.net>
2919
2920         * tabular.h: compactification
2921
2922 2003-06-12  André Pönitz  <poenitz@gmx.net>
2923
2924         * tabular.C:
2925         * tabular.h:
2926         * tabular_funcs.h: some renaming plus whitespace
2927
2928 2003-06-12  André Pönitz  <poenitz@gmx.net>
2929
2930         * BufferView.C:
2931         * BufferView_pimpl.C:
2932         * CutAndPaste.C:
2933         * buffer.C:
2934         * iterators.[Ch]:
2935         * lyxfunc.C:
2936         * text.C:
2937         * toc.C: Return a Paragraph & for ParIterator::operator*()
2938
2939 2003-06-11  John Levon  <levon@movementarian.org>
2940
2941         * lyx_main.C:
2942         * ToolbarBackend.h:
2943         * ToolbarBackend.C: add "Toolbars" section and
2944         put the flags there
2945
2946 2003-06-10  Angus Leeming  <leeming@lyx.org>
2947
2948         * lfuns.h:
2949         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2950
2951         * lyxfunc.C (dispatch): invoke it.
2952
2953 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * main.C: protect <ios> with HAVE_IOS
2956         (main): protect sync_with_stdio with HAVE_IOS
2957
2958 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2959
2960         * text2.C (cutSelection): adjust
2961         (pasteSelection): adjust
2962
2963         * messages.C: handle get of empty string
2964
2965         * main.C (main): use sync_with_stdio(false)
2966
2967         * lyxfunc.C (dispatch): adjust
2968
2969         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2970         (WriteAs): remove unneeded BufferView arg.
2971
2972         * bufferparams.h: use correct types on papersize, papersize2 and
2973         paperpackage.
2974
2975         * bufferparams.C (readToken): adjust for type
2976         (writeLaTeX): add missing cases to switch.
2977
2978         * bufferlist.C (quitWriteBuffer): adjust
2979         (close): adjust
2980
2981         * buffer.C (asciiParagraph): remove some commented code.
2982
2983         * CutAndPaste.C: remove current_view extern variable.
2984         (cutSelection): add BufferParams arg.
2985         (eraseSelection): add BufferParams arg.
2986         (pasteSelection): add Buffer const & arg
2987
2988 2003-06-07  John Levon  <levon@movementarian.org>
2989
2990         * buffer.C:
2991         * paragraph_funcs.C:
2992         * paragraph_pimpl.C:
2993         * text.C:
2994         * text2.C:
2995         * paragraph.h:
2996         * paragraph.C: allow InsetERT to freely space lines,
2997         and some consolidation of code
2998
2999 2003-06-06  José Matos  <jamatos@fep.up.pt>
3000
3001         * buffer.C (makeDocBookFile): fix bug #821
3002
3003 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3006
3007 2003-06-04  Angus Leeming  <leeming@lyx.org>
3008
3009         * buffer.C: bump format to 224.
3010
3011 2003-06-05  André Pönitz  <poenitz@gmx.net>
3012
3013         * text2.C (redoParagraphs): remove two const_cast<>
3014
3015 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3016
3017         * ParagraphList.h: remove last remnants of NO_STD_LIST
3018
3019 2003-06-03  Angus Leeming  <leeming@lyx.org>
3020
3021         * factory.C (createInset): small change to the way InsetExternal's params
3022         are set.
3023
3024 2003-06-04  André Pönitz  <poenitz@gmx.net>
3025
3026         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3027
3028         * paragraph_pimpl.h:
3029         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3030
3031         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3032
3033         * undo_funcs.C: make some simple cases of undo work again
3034
3035 2003-06-03  John Levon  <levon@movementarian.org>
3036
3037         * ispell.C: HPUX doesn't have sys/select.h
3038         (from Albert Chin)
3039
3040 2003-06-03  John Levon  <levon@movementarian.org>
3041
3042         * CutAndPaste.C: update tabular and include inset
3043         buffer references
3044
3045         * buffer.h:
3046         * paragraph.h:
3047         * paragraph.C: remove owningBuffer(), don't pass Buffer
3048         to clone()
3049
3050         * factory.C: insetGraphicsParams changed
3051
3052 2003-06-02  John Levon  <levon@movementarian.org>
3053
3054         * LyXAction.C:
3055         * factory.C:
3056         * lfuns.h:
3057         * lyxfunc.C:
3058         * text3.C: remove insetparent
3059
3060 2003-06-02  John Levon  <levon@movementarian.org>
3061
3062         * buffer.h:
3063         * buffer.C: fix inset_iterator.end(), move out of line
3064         (bug 1149)
3065
3066 2003-06-01  John Levon  <levon@movementarian.org>
3067
3068         * text3.C: use a proper cut/paste when doing inset
3069         insert (from Jürgen Spitzmüller)
3070
3071 2003-06-01  John Levon  <levon@movementarian.org>
3072
3073         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3074
3075 2003-05-30  André Pönitz  <poenitz@gmx.net>
3076
3077         * rowpainter.C: unify second drawing phase
3078
3079 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * trans_mgr.C: remove one case of current_view
3082
3083         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3084
3085         * paragraph_funcs.h: remove paragraph.h include
3086
3087         * paragraph.h: delete NO_STD_LIST stuff
3088
3089         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3090
3091         * buffer.h: remove paragraph.h include
3092
3093         * ParagraphList.C: delete file
3094
3095         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3096
3097         * toc.C (getTocList): adjust
3098
3099         * paragraph_pimpl.C (validate): adjust
3100
3101         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3102
3103         * paragraph.C (Paragraph): adjust
3104         (getPositionOfInset): use const_iterator, adjust
3105         (bibitem): use const_iterator, adjust
3106         (setInsetOwner): adjust
3107
3108         * iterators.C (operator++): adjust
3109
3110         * InsetList.[Ch]: Replace selfmade iterator with standard
3111         vector::iterator also introduce const_iterator. Remove getPos,
3112         getInset and setInset from InsetTable. Adjust accordingly.
3113
3114         * BufferView.C (lockInset): adjust
3115         (ChangeInsets): adjust
3116
3117         * tabular.[Ch]: delete commented same_id functions
3118
3119 2003-05-28  John Levon  <levon@movementarian.org>
3120
3121         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3122
3123 2003-05-28  André Pönitz  <poenitz@gmx.net>
3124
3125         * metricsinfo.[Ch]: remove 'fullredraw' member
3126
3127 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3128
3129         * lyxtextclass.C (operator): remove caching.
3130
3131 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3132
3133         * text3.C: adjust
3134
3135         * text2.C (cursorBottom): adjust
3136         (setCounter): use ParagraphList::find, adjust
3137
3138         * text.C (workWidth): use ParagraphList::find, adjust
3139
3140         * lyxcursor.C (LyXCursor): adjust
3141
3142         * buffer.C (inset_iterator): adjust
3143
3144         * ParagraphList.h: make iterator(value_type) private, make
3145         ParagraphList a friend of iterator.
3146
3147         * ParagraphList.C (find): new function
3148
3149         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3150
3151 2003-05-27  André Pönitz  <poenitz@gmx.net>
3152
3153         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3154
3155 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3156
3157         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3158
3159 2003-05-26  John Levon  <levon@movementarian.org>
3160
3161         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3162
3163 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * remove same_id from function signatures, adjust.
3166
3167 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3170
3171         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3172
3173         * paragraph.C (Paragraph): get rid of same_ids parameter
3174
3175         * ParagraphList.C (insert): adjust
3176         (push_back): adjust
3177
3178 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * paragraph_funcs.C (breakParagraph): adjust
3181         (breakParagraphConservative): adjust
3182
3183         * buffer.C (readParagraph): adjust
3184
3185         * ParagraphList.C (insert): take a reference instead of a pointer
3186         (insert): adjust
3187
3188         * paragraph.[Ch] (id): new function
3189
3190         * bufferlist.C (newFile): adjust
3191
3192         * ParagraphList.C (ParagraphList): adjust
3193         (assign): adjust
3194         (push_back): take a reference instead of a pointer.
3195
3196         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3197
3198         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3199         instead.
3200
3201         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3202         set else use old code.
3203
3204         * ParagraphList.C: remove all NO_NEXT code and only compile this
3205         code of NO_STD_LIST is set.
3206
3207 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * BufferView_pimpl.C:
3210         * TextCache.C:
3211         * TextCache.h:
3212         * bufferlist.C:
3213         * errorlist.h:
3214         * format.C:
3215         * format.h:
3216         * graph.C:
3217         * lyxfunc.C:
3218         * lyxrc.C:
3219         * graphics/GraphicsConverter.C:
3220         * graphics/PreviewLoader.C: header adjustment
3221
3222 2003-05-23  Angus Leeming  <leeming@lyx.org>
3223
3224         * LaTeXFeatures.[Ch] (useBabel): new method.
3225         * bufferparams.C (writeLaTeX): use it.
3226
3227 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * ParagraphList.h (set): remove unused function.
3230
3231 2003-05-23  André Pönitz  <poenitz@gmx.net>
3232
3233         * BufferView.C:
3234         * BufferView_pimpl.C:
3235         * buffer.C:
3236         * buffer.h:
3237         * lyxfunc.C:
3238         * undo_funcs.C: setUndo reworked
3239
3240         * iterators.[Ch]: add access to topmost ParagraphList
3241
3242         * lyxtext.[Ch] (workWidth): add a const
3243
3244 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * texrow.[Ch] (increasePos): remove function
3247         * exporter.C (export): removed unused var and outdated comment
3248
3249 2003-05-23  Angus Leeming  <leeming@lyx.org>
3250
3251         * latexrunparams.h: rename fragile as moving_arg.
3252         * paragraph.C (simpleTeXOnePar): ditto.
3253         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3254
3255 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3258         (createUndo): ditto
3259         (textUndoOrRedo): comment out a currently unused var.
3260
3261         * paragraph.h (NO_NEXT): enable NO_NEXT
3262
3263         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3264
3265         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3266
3267         * exporter.C (Export): adjust for removeAutoInsets removal.
3268
3269         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3270
3271         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3272
3273         * BufferView.[Ch] (removeAutoInsets): delete function
3274
3275 2003-05-22  Angus Leeming  <leeming@lyx.org>
3276
3277         * latexrunparams.h: add a free_spacing variable.
3278
3279         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3280         to pass moving_arg, as the data is stored in runparams.fragile.
3281
3282         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3283         to Inset::latexOptional or to simpleTeXOnePar.
3284
3285         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3286         free_spacing arg to Inset::latexOptional.
3287
3288         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3289         free_spacing arg.
3290
3291 2003-05-22  Angus Leeming  <leeming@lyx.org>
3292
3293         * latexrunparams.h: add fragile and use_babel variables.
3294
3295         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3296         * buffer.C (makeLaTeXFile): store this returned value in
3297         runparams.use_babel, thus passing it to the inset::latex methods.
3298
3299         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3300         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3301
3302         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3303         longer has a fragile arg, as it is stored in runparams.fragile.
3304
3305         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3306         moving_arg parameter as the data is stored in runparams.fragile.
3307
3308         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3309         a fragile parameter as the data is stored in runparams.fragile.
3310
3311 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3314
3315 2003-05-22  Angus Leeming  <leeming@lyx.org>
3316
3317         * latexrunparams.h: add a 'bool nice' which defaults to false.
3318
3319         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3320         now encapsulated within runparams.
3321
3322         * bufferlist.C (updateIncludedTeXfiles):
3323         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3324
3325 2003-05-22  Angus Leeming  <leeming@lyx.org>
3326
3327         * latexrunparams.h: new file containing struct LatexRunParams.
3328         * Makefile.am: add new file.
3329
3330         * LaTeX.[Ch] (c-tor, run):
3331         * buffer.[Ch] (makeLaTeXFile):
3332         * bufferlist.[Ch] (updateIncludedTeXfiles):
3333         * converter.C (convert, scanLog):
3334         * converter.[Ch] (runLaTeX):
3335         * exporter.C (Export):
3336         * paragraph.[Ch] (simpleTeXOnePar):
3337         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3338         * paragraph_funcs.[Ch] (latexParagraphs):
3339         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3340         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3341         pass around a LatexRunParams parameter.
3342
3343 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * paragraph.[Ch]: remove unused constructor
3346
3347         * ParagraphList.C (erase): new function, taking two iterators
3348
3349 2003-05-22  André Pönitz  <poenitz@gmx.net>
3350
3351         * undo_funcs.C: remove duplicated code
3352
3353         * iterator.[Ch]: operator=
3354
3355 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * tabular.C (SetMultiColumn): ws changes
3358
3359         * rowpainter.C (paintFirst): get rid of a ->previous
3360
3361         * lyx_cb.C (getPossibleLabel): parlist simplification
3362
3363         * BufferView.C (ChangeInsets): simplify slightly.
3364
3365 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3366
3367         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3368         * lfuns.h: new LFUN_SPACE
3369         * lyxfunc.C: protected space has a new lfun
3370         * paragraph_funcs.C: read new space insets
3371         * text3.C:
3372         * factory.C: handle new space insets
3373
3374 2003-05-22  André Pönitz  <poenitz@gmx.net>
3375
3376         * BufferView.C:
3377         * BufferView_pimpl.C:
3378         * buffer.[Ch]:
3379         * lyxfunc.C:
3380         * undo_funcs.C: return a ParIterator from getParFromID.
3381
3382         * iterators.[Ch]: add two const's
3383
3384 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * toc.C (getTocList): adjust
3387
3388         * iterators.[Ch]: rework for parlist
3389
3390         * buffer.C (par_iterator_begin): adjust
3391         (par_iterator_end): adjust
3392
3393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3394
3395         * BufferView.C (removeAutoInsets): adjust
3396         (ChangeInsets): adjust
3397
3398 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * text.C (top_y): fix bug 1110
3401
3402 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * errorlist.[Ch]: added
3405         * buffer.C:
3406         * BufferView.[Ch]:
3407         * BufferView_pimpl.C:
3408         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3409         instead
3410
3411 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * Makefile.am: ensure that lyx is relinked upon changes to the
3414         various "convenience" libs.
3415
3416 2003-05-20  Angus Leeming  <leeming@lyx.org>
3417
3418         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3419         files are compiled in alphabetical order again.
3420
3421         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3422
3423 2003-05-19  Angus Leeming  <leeming@lyx.org>
3424
3425         * gettext.[Ch]: remove "char const * _(char const *)".
3426
3427 2003-05-19  André Pönitz  <poenitz@gmx.net>
3428
3429         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3430
3431         * Makefile.am:
3432         * BufferView.C:
3433         * DepTable.h:
3434         * LaTeXFeatures.C:
3435         * buffer.C:
3436         * lyxfont.C:
3437         * lyxlex.h:
3438         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3439
3440 2003-05-19  André Pönitz  <poenitz@gmx.net>
3441
3442         * buffer.C:
3443         * lyxlayout.[Ch]:
3444         * lyxtextclass.[Ch]:
3445         * paragraph.C:
3446         * paragraph_funcs.[Ch]:
3447         * text2.C:
3448         * text3.C: more insetenv work
3449
3450 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * ParagraphParameters.C (params2string): small bug fixed
3453
3454 2003-05-16  André Pönitz  <poenitz@gmx.net>
3455
3456         * debug.C:
3457         * bufferview_funcs.C: patch from Kornel Benko to prevent
3458           crash when _(...) is called twice in a statement
3459
3460 2003-05-16  André Pönitz  <poenitz@gmx.net>
3461
3462         * BufferView.C:
3463         * lyxfunc.C:
3464         * text.C:
3465         * text2.C:
3466         * text3.C:
3467         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3468
3469 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * lyx_main.C (init): remove spurious static_cast
3472
3473 2003-05-14  André Pönitz  <poenitz@gmx.net>
3474
3475         * BufferView.C: fix format string
3476
3477 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * BufferView.[Ch] (insertErrors): removed
3480         * BufferView.[Ch] (showErrorList): added
3481         * buffer.C (runChkTeX):
3482         * converter.C (scanLog): call showErrorList instead of inserterrors
3483
3484 2003-05-13  André Pönitz  <poenitz@gmx.net>
3485
3486         * BufferView_pimpl.C:
3487         * buffer.C:
3488         * bufferview_func.C:
3489         * MenuBackend.C:
3490         * lyxfunc.C:
3491         * lyxrc.C:
3492         * tex-accent.C:
3493         * text3.C:
3494         * toc.C:
3495         * tabular_funcs.h: tostr() from its own header
3496
3497         * ParagraphParameters.C:
3498         * ToolbarBackend.C:
3499         * bufferparams.C:
3500         * format.C:
3501         * lyxlex_pimpl.C:
3502         * text3.C: STRCONV()
3503
3504 2003-05-12  André Pönitz  <poenitz@gmx.net>
3505
3506         * BufferView.C:
3507         * BufferView_pimpl.C:
3508         * CutAndPaste.C:
3509         * LaTeX.C:
3510         * LaTeXFeatures.C:
3511         * ParagraphParameters.C:
3512         * buffer.C:
3513         * bufferlist.C:
3514         * bufferparams.C:
3515         * bufferview_funcs.C:
3516         * converter.C:
3517         * counters.C:
3518         * debug.C:
3519         * exporter.C:
3520         * format.C:
3521         * importer.C:
3522         * lyx_cb.C:
3523         * lyx_main.C:
3524         * lyxfont.C:
3525         * lyxfunc.C:
3526         * lyxvc.C:
3527         * paragraph.C:
3528         * paragraph_funcs.C:
3529         * tabular.C:
3530         * tabular_funcs.C:
3531         * text2.C:
3532         * text3.C:  boost::format -> bformat  all over the place
3533
3534
3535 2003-05-09  André Pönitz  <poenitz@gmx.net>
3536
3537         * LColor.[Ch]: Pimpl the #include <map> away
3538
3539 2003-05-09  John Levon  <levon@movementarian.org>
3540
3541         * bufferlist.C: never remove emergency saves
3542
3543 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3544
3545         * Makefile.am: better lib building
3546
3547 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3550         instead.
3551         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3552         (simpleTeXSpecialChars): adjust
3553         (simpleTeXSpecialChars): adjust
3554         * paragraph.C (simpleTeXOnePar): adjust
3555         * buffer.C (makeLaTeXFile): adjust
3556
3557         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3558
3559         * text2.C (changeDepth): parlist cleanup
3560         (getColumnNearX): ditto
3561
3562         * rowpainter.C (getLabelFont): parlist cleanup
3563
3564         * bufferlist.C (newFile): parlist cleanup
3565
3566         * CutAndPaste.C (eraseSelection): parlist cleanup
3567
3568         * BufferView_pimpl.C (trackChanges): parlist cleanup
3569         (dispatch): ditto
3570
3571         * BufferView.C (lockInset): parlist cleanup.
3572         (ChangeInsets): ditto
3573
3574 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * CutAndPaste.h: Update file header.
3577
3578         * CutAndPaste.C: Update file header.
3579         Store the parts cut out of the Document in a limited_stack.
3580         (copySelection): adjust
3581         (pasteSelection): new function, takes the index in the limited stack.
3582         (nrOfParagraphs): adjust
3583         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3584         simplify error inset insertion.
3585         (checkPastePossible): adjust
3586
3587 2003-05-06  John Levon  <levon@movementarian.org>
3588
3589         * text2.C: don't cast wrap inset to float
3590
3591 2003-05-05  André Pönitz  <poenitz@gmx.net>
3592
3593         * iterator.C:
3594         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3595
3596         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3597           few naked Paragraph *.
3598
3599 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3600
3601         * bufferparams.C: Output warning if a document with missing
3602         TeX document class is loaded
3603         * exporter.C: Disable TeX exports if the document class is missing
3604         * lyxtextclass.C:
3605         * lyxtextclass.h:
3606         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3607         isTeXClassAvailable()
3608
3609 2003-05-03  John Levon  <levon@movementarian.org>
3610
3611         * BufferView.h:
3612         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3613         explicit cursor show/hide
3614
3615         * BufferView_pimpl.h:
3616         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3617         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3618
3619         * lyxfunc.C: hide cursor before dispatching.
3620
3621         * lyx_cb.C:
3622         * lyxfind.C:
3623         * text.C:
3624         * text3.C: remove explicit cursor hides
3625
3626 2003-05-02  André Pönitz  <poenitz@gmx.net>
3627
3628         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3629
3630         * undo_funcs.C:
3631         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3632           linked lists
3633
3634         * text2.C: tiny whitespace
3635
3636 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * undo_funcs.C: almost only ws changes.
3639
3640         * ParagraphList.C (splice): just return if pl is empty.
3641
3642 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * ParagraphList.C (splice): new function.
3645
3646         * CutAndPaste.C (pasteSelection): use it
3647
3648 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3649
3650         * CutAndPaste.C (pasteSelection): remove the last next and
3651         previous from this file.
3652
3653 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * CutAndPaste.C (pasteSelection): more clean up, user proper
3656         ParagraphList functions for pasteing.
3657
3658         * ParagraphList.C (insert): new function, three arg insert
3659
3660 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * ParagraphList.C (insert): new function, three arg insert
3663
3664         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3665         not on paragraphs.
3666
3667 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3668
3669         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3670
3671 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3674
3675 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3678         (copySelection): clean up a bit.
3679         (pasteSelection): use make_pair
3680
3681         * ParagraphList.C (ParagraphList): implement copy constructor
3682         (operator=): implement, base on copy constructor.
3683         (assign): new func
3684
3685         * paragraph.C (erase): return a bool
3686
3687         * paragraph_pimpl.C (erasePos): remove function, move contents...
3688         (erase): ... here. Return a bool.
3689         (erase): call erase instead of erasePos.
3690
3691 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3692
3693         * ParagraphList.h: define PitPosPair
3694         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3695         ParagraphList, fix a bug on pasting multiple pars
3696         * text2.C: change interface to C&P
3697
3698 2003-04-30  André Pönitz  <poenitz@gmx.net>
3699
3700         * undo_func.C: revert part of yesterday's patch 2
3701
3702 2003-04-30  John Levon  <levon@movementarian.org>
3703
3704         * LColor.C: s/tabular/table/
3705
3706 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * text3.C (dispatch): do not convert iterator -> pointer
3709         * undo_funcs.C (setCursorParUndo): ditto
3710         * text_funcs.C (transposeChars): ditto
3711
3712         * text2.C (setLayout): ws changes only
3713
3714         * text.C (breakParagraph): do not convert iterator -> pointer
3715         (insertChar): ditto
3716         (acceptChange): ditto
3717         (rejectChange): ditto
3718         (changeCase): ditto
3719         (Delete): ditto
3720         (backspace): ditto
3721
3722         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3723         pointer
3724
3725 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * text3.C (gotoInset): YABG (yet another bad getChar)
3728
3729 2003-04-29  André Pönitz  <poenitz@gmx.net>
3730
3731         * paragraph.h: make operator= private unimplemented as long as
3732           it is unusable
3733
3734         * ParagraphList.C: whitespace
3735
3736         * paragraph.[Ch]:
3737         * paragraph_pimpl.[Ch]:
3738         * paragraph_funcs.C:
3739         * CutAndPaste.C:
3740         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3741
3742         * text2.C:
3743           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3744
3745 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3746
3747         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3748         * paragraph.[Ch] (erase):
3749         * paragraph_pimpl.[Ch] (erase): change return type and value
3750         * text2.C (cutSelection): some rework
3751
3752 2003-04-28  John Levon  <levon@movementarian.org>
3753
3754         * bufferlist.C: changes for unsaved changes dialog
3755
3756 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * bufferlist.C (newFile): set language (messages_) for new
3759         documents also.
3760
3761         * buffer.C (readFile): ws changes only.
3762
3763 2003-04-28  André Pönitz  <poenitz@gmx.net>
3764
3765         * undo_funcs.C:
3766         * lyxfunc.C:
3767         * buffer.[Ch]:
3768         * BufferView_pimpl.C:
3769         * BufferView.C: getParFromID related ParagraphList::iterator changes
3770
3771 2003-04-28  André Pönitz  <poenitz@gmx.net>
3772
3773         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3774           Changes
3775
3776 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3777
3778         * messages.C: remove one more localedir class variable.
3779
3780 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3781
3782         * messages.C (getLocaleDir): singleton generation function
3783         (Pimpl): use it.
3784         (Messages): add a default constructor.
3785
3786         * main.C (main): do not setup localedir here, do not call
3787         gettext_init.
3788
3789         * gettext.C (_): use it.
3790         (gettext_init): delete funciton
3791
3792 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * gettext.C (getLyXMessages): new singleton generating function.
3795
3796         * buffer.C (updateDocLang): adjust
3797
3798         * Makefile.am (messages.o): add target
3799         (main.o): remove target
3800
3801 2003-04-27  John Levon  <levon@movementarian.org>
3802
3803         * bufferlist.C:
3804         * lyx_cb.C:
3805         * lyxfunc.C:
3806         * lyxvc.C: specify cancel button in Alert::prompt
3807
3808 2003-04-26  John Levon  <levon@movementarian.org>
3809
3810         * text3.C:
3811         * lyxfunc.C:
3812         * lfuns.h:
3813         * LyXAction.C: add LFUN_INSET_SETTINGS
3814
3815         * lyxfunc.C: don't enable tabular-feature when there's
3816         just any locking inset
3817
3818 2003-04-26  John Levon  <levon@movementarian.org>
3819
3820         * bufferlist.C: re-add Cancel to buffer close question
3821
3822         * lyxfunc.C: fix import UI a bit
3823
3824 2003-04-25  John Levon  <levon@movementarian.org>
3825
3826         * gettext.C: remove the broken asserts for now
3827
3828 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * messages.C: make case where setlocale cannot comply work better.
3831
3832         * buffer.C (updateDocLang): new function
3833         (changeLanguage): use it
3834         (readFile): use it
3835
3836         * text2.C (setCounter): use B_ a bit.
3837
3838         * lyxlayout.C (Read): be sure to trim the label strings.
3839
3840         * messages.C (Messages): fix typo in comment
3841
3842         * buffer.C (readFile): set message_ after file is loaded.
3843         (makeDocBookFile): remove double return
3844         (changeLanguage): reset message_ upon language change.
3845         (B_): new func, use this to get translated buffer strings.
3846
3847         * main.C: add myself and Jean Marc as authors.
3848
3849 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * messages.[hC]: pimplify Messages, and three different pimpls to be
3852         used in different circumstances.
3853
3854         * gettext.[Ch]: change for use with new message code.
3855
3856 2003-04-24 André Pönitz <poenitz@gmx.net>
3857
3858         * factory.C: support for eqref
3859
3860 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * messages.[Ch]: add missing char
3863
3864         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3865
3866         * messages.[Ch]: New files
3867
3868 2003-04-18  John Levon  <levon@movementarian.org>
3869
3870         * BufferView.h:
3871         * BufferView.C:
3872         * BufferView_pimpl.C:
3873         * lfuns.h:
3874         * LyXAction.C:
3875         * lyxtext.h:
3876         * text2.C: remove layout-copy/paste (bug 778)
3877
3878 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3879
3880         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3881
3882 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3885         if they succeed. Act accordingly.
3886
3887 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3888
3889         * text2.C (setCharFont): adjust
3890         (setCounter): adjust
3891         (insertStringAsLines): adjust
3892
3893         * text.C (leftMargin): adjust
3894         (setHeightOfRow): adjust
3895
3896         * rowpainter.C (paintFirst): adjust
3897         (paintLast): adjust
3898
3899         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3900         (outerHook): ditto
3901         (isFirstInSequence): ditto
3902         (getEndLabel): ditto
3903         (outerFont): adjust
3904
3905         * paragraph.C (getParLanguage): comment out some hard stuff.
3906
3907         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3908         (sgmlError): ditto
3909         (simpleDocBookOnePar): ditto
3910         (makeDocBookFile): use ParagraphList::iterator
3911
3912         * CutAndPaste.C (pasteSelection): adjust
3913
3914 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * text2.C (getFont): adjust
3917         (getLayoutFont): adjust
3918         (getLabelFont): adjust
3919
3920         * paragraph_funcs.C (TeXOnePar): adjust
3921
3922         * buffer.C (simpleLinuxDocOnePar): adjust
3923         (simpleDocBookOnePar): adjust
3924
3925         * CutAndPaste.C (pasteSelection): adjust
3926
3927         * BufferView.C (getEncoding): adjust
3928
3929         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3930
3931 2003-04-16  John Levon  <levon@movementarian.org>
3932
3933         * lyxfind.C: use parlist stuff for search/changes
3934
3935 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3938
3939         * text2.C (deleteEmptyParagraphMechanism): adjust
3940
3941         * text2.[Ch] (ownerParagraph): delete func (both of them
3942
3943 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3946
3947 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3948
3949         * ParagraphList.C: prepare for NO_NEXT
3950
3951 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text2.C (getFont): adjust
3954         (getLayoutFont): adjust
3955         (getLabelFont): adjust
3956
3957         * paragraph.C (getFont): adjust
3958         (getLabelFont): adjust
3959         (getLayoutFont): adjust
3960
3961         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3962
3963 2003-04-15  John Levon  <levon@movementarian.org>
3964
3965         From Angus Leeming
3966
3967         * lyx_main.C: handle Include in .ui files
3968
3969 2003-04-15  John Levon  <levon@movementarian.org>
3970
3971         * MenuBackend.C: make the doc files length shorter
3972
3973         * ToolbarBackend.h:
3974         * ToolbarBackend.C: handle toolbar placement flags,
3975         Minibuffer
3976
3977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3980         adjust
3981
3982         * paragraph_funcs.C (TeXOnePar): adjust
3983
3984         * paragraph.C (getLabelFont): add outerfont arg, adjust
3985         (getLayoutFont): ditto
3986         (simpleTeXOnePar): adjust
3987
3988         * paragraph_pimpl.C (realizeFont): delete func
3989
3990 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3993         row argument, constify cur argument.
3994
3995 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * text2.C (getFont): adjust
3998         (getLayoutFont): adjust
3999         (getLabelFont): adjust
4000
4001         * paragraph_funcs.C (TeXOnePar): adjust
4002         (outerFont): new func...
4003         (realizeFont): ...moved out from here, changed this to facilitate
4004         transition
4005
4006         * paragraph.C (getFont): take outerfont as arg, adjust
4007         (simpleTeXOnePar): add outerfont arg, adjust
4008
4009         * buffer.C (simpleLinuxDocOnePar): adjust
4010         (simpleDocBookOnePar): adjust
4011
4012         * CutAndPaste.C (pasteSelection): adjust
4013
4014         * BufferView.C (getEncoding): adjust
4015
4016 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * text2.C (setCharFont): adjust
4019         (setCounter): adjust
4020
4021         * text.C (leftMargin): adjust
4022         (setHeightOfRow): adjust
4023
4024         * rowpainter.C (paintFirst): adjust
4025         (paintLast): adjust
4026
4027         * paragraph_pimpl.C (realizeFont): adjust
4028
4029         * paragraph.C (isFirstInSequence): move from here...
4030         * paragraph_funcs.C (isFirstInSequence): ...to here
4031
4032         * paragraph.C (outerHook): move from here...
4033         * paragraph_funcs.C (outerHook): ...to here
4034
4035         * paragraph.C (depthHook): move from here...
4036         * paragraph_funcs.C (depthHook): ...to here
4037
4038         * paragraph.C (getEndLabel): move from here...
4039         * paragraph_funcs.C (getEndLabel): ...to here
4040
4041         * text2.C (realizeFont): move from here...
4042         * paragraph_funcs.C (realizeFont): ...to here
4043
4044 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4045
4046         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4047
4048 2003-04-14  Angus Leeming  <leeming@lyx.org>
4049
4050         * LColor.[Ch]: scrap LColor mathcursor.
4051
4052 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * lyxlex.[Ch] (text): delete function
4055         * trans.C (Load): adjust
4056         * paragraph_funcs.C (readParToken): adjust
4057
4058 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4061         vector<char> instead of a char[].
4062
4063         * lyxlex_pimpl.C (getString): adjust
4064         (next): adjust
4065         (lex): use getString
4066         (eatLine): adjust
4067         (nextToken): adjust
4068
4069         * lyxlex.C (text): use pimpl_->getString()
4070         (getBool): ditto
4071         (findToken): ditto
4072
4073 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4076         (makeFontEntriesLayoutSpecific): temp var for par.size()
4077         (setLayout): temp var for ownerParagraphs().end()
4078         (fullRebreak): temp var for rows().end()
4079         (selectionAsString): temp var for boost::next(startpit), realize
4080         that the while really is a regular for loop.
4081         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4082         setCursor in one place.
4083         (setParagraph): temp vr for ownerParagraphs().end()
4084         (updateCounters): make the while loop a for loop
4085         (cutSelection): temp var for ownerParagraphs().end()
4086         (updateInset): make the do {} while() a regular for loop
4087         (getCursorX): use temp vars
4088         (setCurrentFont): use temp vars
4089         (getColumnNearX): use temp vars
4090
4091 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * text.C (transformChar): use temp var for getChar
4094         (computeBidiTables): use temp var for row->par()
4095         (fill): move temp vars for row->par() and pit->layout() earlier in
4096         the function.
4097         (labelFill): use temp var for row->par()
4098         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4099         asc and desc, realize that pit never changes and that firstpit is
4100         just a duplicate and not needed. Exchange rit->par() with pit in a
4101         lot of places.
4102         (breakAgain): use a temp var for boost::next(rit)
4103         (breakAgainOneRow): ditto
4104         (breakParagraph): use a temp var for rows().begin()
4105         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4106         (cursorRightOneWord): use temp var for cursor.par() and
4107         cursor.pos(), remove usage of tmpcursor.
4108         (cursorLeftOneWord): use temp var for cursor.par() and
4109         cursor.pos() only set cur at end of function.
4110
4111 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * text.C, text2.C: exchange all usage of Paragraph::next with
4114         boost::next(ParagraphList::iterator)
4115
4116         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4117
4118         * text2.C (cursorTop): simplify implementation
4119         (cursorBottom): ditto
4120         (setParagraph): use ParagraphList::iterator
4121         (setCurrentFont): adjust
4122         (getColumnNearX): adjust
4123         (cursorRight): adjust
4124         (cursorLeft): remove usage of Paragraph::previous
4125         (cursorUpParagraph): ditto
4126         (deleteEmptyParagraphMechanism): slight cleanup
4127
4128         * text.C (isBoundary): take a Paragraph const & instead of a
4129         pointer as arg.
4130         (addressBreakPoint): ditto
4131         (leftMargin): remove usage of Paragraph::previous.
4132         (setHeightOfRow): ditto
4133         (cursorLeftOneWord): ditto
4134         (selectNextWordToSpellcheck): ditto
4135         (Delete): ditto
4136         (backspace): ditto
4137         (breakParagraph): remove one usage of Paragraph::next
4138         (redoParagraph): ditto
4139         (acceptChange): ditto
4140         (insertChar): adjust
4141         (rowBreakPoint): adjust
4142
4143         * bufferview_funcs.C (toggleAndShow): adjust
4144
4145 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4148         methods to access it.
4149         * lyxtext.h:
4150         * text.C: Added updateRowPositions to compute all row positions.
4151         Make top_y and getRowNearY() to use the cached y position
4152
4153 2003-04-11  John Levon  <levon@movementarian.org>
4154
4155         * text.C (rowBreakPoint): reintroduce the labelEnd
4156         checks, code copied from the row fill stuff. Deep voodoo.
4157
4158         * text.C (fill): add a comment and debugging for the
4159         next poor soul.
4160
4161 2003-04-11  John Levon  <levon@movementarian.org>
4162
4163         * text.C: make sure fullrow insets get wrapped to the next line,
4164         even when they're in a manual label
4165
4166 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * text2.C (insertParagraph): make it take ParagraphList::iterator
4169         as arg.
4170         (setLayout): make it return ParagraphList::iterator
4171         (redoParagraphs): ditto
4172         (setCounter): ditto
4173         (checkParagraph): ditto
4174
4175         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4176
4177         * text2.C: adjust several funcs.
4178         (realizeFont): take a ParagraphList::iterator as arg.
4179         (getLayoutFont): ditto
4180         (getLabelFont): ditto
4181         (setCharFont): ditto
4182
4183         * text.C: adjust several funcs.
4184
4185 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * text.C (selectNextWordToSpellcheck): don't accidentally
4188         skip insets
4189
4190 2003-04-10  John Levon  <levon@movementarian.org>
4191
4192         * ToolbarBackend.C (getIcon): special handling for
4193         LFUN_MATH_DELIM
4194
4195 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * text2.C (cursorRight): a getChar assert fixed
4198
4199 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * text2.C (getFont): change to take a ParagraphList::iterator
4202         instead of Paragraph*
4203         Adjust several functions.
4204
4205         * text.C (transformChar): change to take a ParagraphList::iterator
4206         instead of Paragraph*
4207         (singleWidth): ditto
4208         Adjust several functions.
4209
4210         * rowpainter.C: adjust several functions
4211         * rowpainter.h:store a ParagraphList::iterator and not a
4212         Paragraph&.
4213
4214
4215 2003-04-09  John Levon  <levon@movementarian.org>
4216
4217         * lyxfunc.C:
4218         * lfuns.h:
4219         * LyXAction.h:
4220         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4221         and the "help" bits as well
4222
4223 2003-04-09  John Levon  <levon@movementarian.org>
4224
4225         * ToolbarBackend.h:
4226         * ToolbarBackend.C: allow multiple toolbars
4227
4228 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4229
4230         * undo_funcs.C (setCursorParUndo): adjust
4231
4232         * text_funcs.C (transposeChars): adjust
4233
4234         * text3.C (gotoNextInset): adjust
4235         (dispatch): adjust
4236
4237         * text2.C (setLayout): adjust
4238         (changeDepth): adjust
4239         (setFont): adjust
4240         (redoParagraphs): adjust
4241         (selectionAsString): adjust
4242         (setParagraph): adjust
4243         (insertInset): adjust
4244         (cutSelection): adjust
4245         (copySelection): adjust
4246         (pasteSelection): adjust
4247         (insertStringAsLines): adjust
4248         (updateInset): adjust
4249         (setCursor): change to take a ParagraphList::iterator parameter
4250         (setCursorIntern): change to take a ParagraphList::iterator parameter
4251         (setCurrentFont): adjust
4252         (cursorLeft): adjust
4253         (cursorRight): adjust
4254         (deleteEmptyParagraphMechanism): adjust
4255
4256         * text.C (breakParagraph): adjust
4257         (insertChar): adjust
4258         (acceptChange): adjust
4259         (rejectChange): adjust
4260         (selectNextWordToSpellcheck): adjust
4261         (changeCase): adjust
4262         (Delete): adjust
4263         (backspace): adjust
4264
4265         * lyxfind.C (SearchForward): adjust
4266         (SearchBackward): adjust
4267         (nextChange): adjust
4268
4269         * lyxcursor.C (par): adjust
4270
4271         * lyxcursor.h: store a ParagraphList::iterator instead of a
4272         Paragraph*
4273
4274         * lyx_cb.C (getPossibleLabel): adjust
4275
4276         * bufferview_funcs.C (toggleAndShow): adjust
4277
4278         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4279         (dispatch): adjust
4280
4281         * BufferView.C (removeAutoInsets): adjust
4282         (lockedInsetStoreUndo): adjust
4283
4284 2003-04-09  John Levon  <levon@movementarian.org>
4285
4286         * ToolbarBackend.C: try icon without argument
4287         if with argument fails
4288
4289 2003-04-08  John Levon  <levon@movementarian.org>
4290
4291         * ToolbarBackend.h:
4292         * ToolbarBackend.C: add getIcon(), handle tooltip,
4293         and change from "Icon" to "Item".
4294
4295 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4296
4297         * BufferView.C (lockInset): another bad getchar crunched
4298
4299 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4302         again)
4303
4304 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4305
4306         * lyxfind.C (searchForward, searchBackwards): bug 782
4307
4308 2003-04-07  John Levon  <levon@movementarian.org>
4309
4310         * paragraph.C: remove dead comment
4311
4312         * text.C: remove troublesome depth-fiddling code
4313         in leftMargin() and rightMargin() (bug 1017)
4314
4315         * text.C: fix breaking of rows in nested lists
4316         (bug 1004)
4317
4318         * text2.C (updateCounters): fix up depth values
4319         (bug 1013)
4320
4321 2003-04-07  John Levon  <levon@movementarian.org>
4322
4323         * BufferView_pimpl.C: clear message when doc finishes resizing,
4324         and after a mouse event
4325
4326         * lyxfunc.C: clear message after exiting inset
4327
4328 2003-04-07  John Levon  <levon@movementarian.org>
4329
4330         * bufferview_funcs.C: show math status not outside
4331         status in the statusbar
4332
4333 2003-04-07  John Levon  <levon@movementarian.org>
4334
4335         * lyxfunc.C: note status changed after a depth change
4336
4337 2003-04-04  Angus Leeming  <leeming@lyx.org>
4338
4339         * LaTeX.h: move AuxInfo operator==, != out of line.
4340         Remove LaTeX virtual destructor; nothing derives from it.
4341         Move operator()() out of public area and rename it startscript().
4342         Change protected for private.
4343
4344 2003-04-04  Angus Leeming  <leeming@lyx.org>
4345
4346         * lyxfunc.C:
4347         * text2.C: remove unneeded #includes.
4348
4349 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4350
4351         * text2.C (dEPM): fix the heigth of the next row
4352
4353 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4354
4355         * text.C: squashed an invalid getChar requester + some ws changes
4356
4357 2003-04-03  John Levon  <levon@movementarian.org>
4358
4359         * bufferview_funcs.h:
4360         * bufferview_funcs.C:
4361         * lyxfunc.C:
4362         * lyxtext.h:
4363         * text2.C: make getStatus work for the env depth lfuns
4364
4365 2003-04-03  John Levon  <levon@movementarian.org>
4366
4367         * bufferview_funcs.h:
4368         * bufferview_funcs.C:
4369         * lyxfunc.C:
4370         * lyxtext.h:
4371         * text2.C: parlistize decDepth(), by merging it with incDepth()
4372
4373 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * lyxrow.h: store a ParagraphList::iterator instead of a
4376         Paragraph* and adjust other class functions to suit.
4377
4378         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4379         above.
4380
4381 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * text2.C (setCursor): do not anchor to cursor row for the time being
4384
4385 2003-04-02  John Levon  <levon@movementarian.org>
4386
4387         * LyXAction.C:
4388         * lfuns.h:
4389         * lyx_main.C:
4390         * lyxtext.h:
4391         * text.C:
4392         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4393
4394 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * paragraph.h: make ParagraphList and ParagraphList::iterator
4397         friends of Paragraph.
4398
4399         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4400
4401         * ParagraphList.C: Use the private next_ and previous_ from
4402         Paragraph.
4403
4404 2003-04-01  John Levon  <levon@movementarian.org>
4405
4406         * ToolbarBackend.h:
4407         * ToolbarBackend.C:
4408         * Makefile.am: rename, remove defaults gunk
4409
4410         * MenuBackend.h:
4411         * MenuBackend.C: remove defaults gunk
4412
4413         * Languages.h:
4414         * Languages.C: remove defaults gunk
4415
4416         * lyx_main.h:
4417         * lyx_main.C: error out if files couldn't be found.
4418
4419 2003-04-02  John Levon  <levon@movementarian.org>
4420
4421         * text2.C: make incDepth() use parlist
4422
4423 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * undo_funcs.C (firstUndoParagraph): adjust
4426
4427         * text3.C (gotoInset): adjust
4428         (dispatch): adjust, and rewrite loop.
4429
4430         * text2.C (init): adjust, and rewrite loop.
4431         (redoParagraphs): adjust
4432         (updateInset): adjust, and rewrite loop.
4433         (deleteEmptyParagraphMechanism): adjust
4434
4435         * tabular.C (LyXTabular): adjust
4436         (SetMultiColumn): adjust
4437         (TeXRow): adjust
4438
4439         * lyxtext.[Ch] (ownerParagraph): delete function
4440         (ownerParagraphs): new function returns a ParagraphList.
4441
4442         * BufferView.C (removeAutoInsets): adjust
4443         (insertErrors): adjust
4444         (setCursorFromRow): adjust
4445
4446 2003-04-01  Angus Leeming  <leeming@lyx.org>
4447
4448         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4449         in the frontends.
4450
4451 2003-04-02  John Levon  <levon@movementarian.org>
4452
4453         * lyxtext.h:
4454         * text.C:
4455         * Makefile.am:
4456         * text_funcs.h:
4457         * text_funcs.C: make transposeChars a free function
4458
4459         * lyxrow_funcs.C: remove wrong comment
4460
4461 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4462
4463         * lyxtext.h: adjust
4464         * rowpainter.C: adjust
4465         * text.C: adjust
4466         * text2.C: adjust
4467         * text3.C: adjust
4468
4469         * lyxrow_funcs. [Ch]: new files
4470
4471         * lyxrow.[Ch]: remove next and previous pointers
4472         (next,previous): remove accessor functions
4473         (isParEnd): move to lyxrow_funcs
4474         (lastPos): move to lyxrow_funcs
4475         (nextRowIsAllInset): move to lyxrow_funcs
4476         (lastPrintablePos): move to lyxrow_funcs
4477         (numberOfSeparators): move to lyxrow_funcs
4478         (numberOfHfills): move to lyxrow_funcs
4479         (numberOfLabelHfills): move to lyxrow_funcs
4480         (hfillExpansion): move to lyxrow_funcs
4481
4482         * lyxfunc.C: adjust
4483
4484         * bufferview_funcs.C (toggleAndShow): adjust
4485
4486         * RowList.h: Remove class RowList from file leave just a
4487         std::list<Row>.
4488
4489         * RowList.C: delete file
4490
4491         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4492         and lyxrow_funcs.h
4493
4494 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * text3.C (cursorPrevious): adjust
4497         (cursorNext): adjust
4498         (dispatch): adjust
4499
4500         * text2.C (redoHeightOfParagraph): adjust
4501         (redoDrawingOfParagraph): adjust
4502         (setCursor): adjust
4503
4504         * text.C (breakParagraph): adjust
4505         (insertChar): adjust
4506         (backspace): adjust
4507
4508         * rowpainter.C (RowPainter): adjust
4509         (leftMargin): simplify and adjust
4510         (most rowpainter functions): adjust.
4511
4512         * rowpainter.h: store the row as RowList::iterator not as Row*
4513
4514         * lyxcursor.C (row): taka RowList::iterator as arg
4515         (irow): ditto
4516
4517         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4518         of Row*.
4519
4520 2003-04-01  Angus Leeming  <leeming@lyx.org>
4521
4522         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4523         stuff like bool Bool.
4524
4525 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4528         rewrite a loop
4529
4530 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4533         RowList::iterator.
4534
4535         * lyxtext.h (rows): drop one version and leve a const variant that
4536         returns a RowList::iterator.
4537
4538 2003-03-31  Angus Leeming  <leeming@lyx.org>
4539
4540         * text.C (fill): ensure that the signature is the same as that in the
4541         header file.
4542
4543 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * text2.C (redoParagraphs): adjust
4546         (updateCounters): adjust
4547         (checkParagraph): adjust
4548         (getColumnNearX): adjust and reformat a bit.
4549
4550         * text.C (top_y): adjust
4551         (workWidth): adjust
4552         (leftMargin): adjust
4553         (prepareToPrint): adjust
4554         (getRow): adjust
4555         (getRowNearY): adjust
4556
4557         * lyxtext.h: make rowlist_ mutable.
4558
4559         * RowList.h: add const_iterator
4560         * RowList.C: adjust for RowList::const_iterator.
4561
4562         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4563         adjust.
4564
4565 2003-03-31  John Levon  <levon@movementarian.org>
4566
4567         * lyxrc.h:
4568         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4569
4570         * lyx_main.C: set default fonts from using lyx_gui funcs
4571
4572         * exporter.C: pdf_mode moved from lyxrc
4573
4574         * lyx_cb.C:
4575         * lyxfunc.C: changes from above
4576
4577 2003-03-31  John Levon  <levon@movementarian.org>
4578
4579         * lyx_main.C: fix to the last fix
4580
4581 2003-03-31  John Levon  <levon@movementarian.org>
4582
4583         * bufferlist.C: "Load original" -> "Load Original"
4584
4585         * converter.C:
4586         * exporter.C:
4587         * importer.C:
4588         * lyx_main.C:
4589         * format.C: more Alert cleanups
4590
4591 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * text2.C (removeParagraph): make it take a RowList::iterator as
4594         arg, adjust.
4595         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4596         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4597
4598         * text.C (anchor_row): make it take a RowList::iterator as arg,
4599         adjust.
4600         (computeBidiTables): make it take a const reference to Row instead
4601         of Row pointer, adjust.
4602         (leftMargin): make it take a RowList::iterator as arg, adjust.
4603         (rowBreakPoint): adjust
4604         (breakAgainOneRow): make it take a RowList::iterator as arg,
4605         adjust.
4606         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4607
4608         * bufferview_funcs.C (toggleAndShow): adjust
4609
4610 2003-03-30  John Levon  <levon@movementarian.org>
4611
4612         * Makefile.am:
4613         * BoostFormat.h:
4614         * boost-inst.C: moved to support
4615
4616         * several files: changes as a result
4617
4618 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * text2.C (LyXText): adjust.
4621         (init): adjust
4622         (removeRow): make it take a RowList::iterator as arg, adjust.
4623         (fullRebreak): adjust
4624         (deleteEmptyParagraphMechanism): adjust
4625         (clearPaint): adjust
4626         (postPaint): adjust
4627
4628         * text.C (top_y): adjust
4629         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4630         (breakAgain): make it take a RowList::iterator as arg, adjust.
4631         (breakParagraph): adjust
4632         (insertChar): adjust
4633         (backspace): adjust
4634
4635         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4636         need_break_row, and refresh_row.
4637
4638         * text3.C (dispatch): adjust
4639
4640         * text2.C (checkParagraph): adjust
4641         (setCursor): adjust
4642         (setCursorFromCoordinates): adjust
4643
4644         * text.C (top_y): adjust
4645         (workWidth): adjust
4646         (getRow): make it return a RowList::iterator, adjust
4647         (getRowNearY): make it return a RowList::iterator, adjust
4648
4649         * text2.C (init): adjust
4650         (insertRow): remove function
4651         (insertParagraph): adjust
4652         (redoParagraphs): adjust
4653         (fullRebreak): adjust
4654         (updateCounters): adjust
4655
4656         * text.C (top_y): rewrite to use RowList iterators.
4657         (top_y): adjust
4658         (setHeightOfRow): rewrite to sue RowList iterators.
4659         (appendParagraph): adjust
4660         (breakAgain): adjust
4661         (breakAgainOneRow): adjust
4662         (breakParagraph): adjust
4663         (getRow): adjust
4664         (getRowNearY): adjust, and remove commented code.
4665
4666         * lyxtext.h (firstRow): delete function
4667         (lastRow): delete function
4668         (rows): new function (const and non-const versions.)
4669         (insertRow): delete function
4670
4671         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4672
4673 2003-03-29  John Levon  <levon@movementarian.org>
4674
4675         * BufferView_pimpl.C: always update scrollbar top
4676         because pasting text when we're anchored could mean we
4677         miss an update altogether
4678
4679 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * text2.C (init): use rowlist_.end() and not 0.
4682         (insertRow): change to take a RowList::iterator as arg, adjust
4683         for this.
4684         (insertParagraph): change to take a RowList::iterator as arg,
4685         adjust for this.
4686         (redoParagraphs): remove some debug msgs.
4687
4688         * text.C (appendParagraph): change to take a RowList::iterator
4689         arg, adjust for this.
4690         (breakAgain): add an assert
4691         (breakAgainOneRow): ditto
4692
4693 2003-03-29  John Levon  <levon@movementarian.org>
4694
4695         * text2.C: do not clear selection after inc/decDepth
4696         (bug 550)
4697
4698 2003-03-29  John Levon  <levon@movementarian.org>
4699
4700         * BufferView.C:
4701         * buffer.C: fix broken strerrors according to Lars
4702
4703 2003-03-29  John Levon  <levon@movementarian.org>
4704
4705         * converters.C: more Alert cleanups
4706
4707 2003-03-29  John Levon  <levon@movementarian.org>
4708
4709         * bufferview_funcs.C: remove pointless Alert
4710
4711         * buffer.C: fix confusing error message when
4712         a template is chmoded 000
4713
4714 2003-03-29  John Levon  <levon@movementarian.org>
4715
4716         * BufferView.C:
4717         * BufferView.h:
4718         * BufferView_pimpl.C: Alert fixes
4719
4720         * Makefile.am:
4721         * tabular.C:
4722         * tabular-old.C: remove unused table compat reading
4723
4724 2003-03-29  John Levon  <levon@movementarian.org>
4725
4726         * BufferView.C:
4727         * buffer.C:
4728         * lyx_cb.h:
4729         * lyx_cb.C: more Alert cleanups
4730
4731         * lyxfunc.C: don't allow chktex if not latex document
4732
4733 2003-03-29  John Levon  <levon@movementarian.org>
4734
4735         * lyx_cb.C:
4736         * BufferView.C:
4737         * buffer.C: warnings pushed down from support/,
4738         kill err_alert
4739
4740 2003-03-29  John Levon  <levon@movementarian.org>
4741
4742         * lyxfunc.C: safety check for C-r (revert)
4743
4744 2003-03-29  John Levon  <levon@movementarian.org>
4745
4746         * bufferlist.h:
4747         * bufferlist.C: several UI fixes using Alert::prompt.
4748         Fix the pointless looping quit code. Fix stupid revert
4749         behaviour (bug 938)
4750
4751         * lyxvc.h:
4752         * lyxvc.C:
4753         * lyx_cb.C: use Alert::prompt
4754
4755         * lyx_main.C: remove a silly question
4756
4757         * lyxfunc.C: remove a couple of silly questions,
4758         use Alert::prompt
4759
4760 2003-03-28  John Levon  <levon@movementarian.org>
4761
4762         * text2.C: fix bug 974 (End on empty par)
4763
4764 2003-03-28  John Levon  <levon@movementarian.org>
4765
4766         * BufferView_pimpl.C:
4767         * LyXAction.C:
4768         * lfuns.h: remove do-nothing math greek lfuns
4769
4770 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * lyxgluelength.h (isValidGlueLength): add default arg on
4773         parameter 2. Remove default arg from friend in class.
4774
4775         * lyxlength.h (isValidLength): add default arg on parameter 2.
4776         Remove default arg from friend in class.
4777
4778         * text2.C (LyXText): adjust, initialize refresh_row.
4779         (init): adjust
4780         (removeRow): adjust
4781         (insertRow): adjust
4782         (insertParagraph): adjst
4783         (redoParagraphs): adjust
4784         (fullRebreak): adjust
4785         (updateCounters): adjust
4786         (deleteEmptyParagraphMechanism): first attempt at fixing a
4787         crashing bug.
4788
4789         * text.C (top_y): adjust
4790         (setHeightOfRow): adjust
4791         (getRow): adjust
4792         (getRowNearY): adjust
4793
4794         * lyxtext.h: include RowList.h
4795         (~LyXText): not needed anymore, deleted.
4796         (firstRow): modify for RowList
4797         (lastRow): new function
4798         Delete firstrow and lastrow class variables, add a Rowlist
4799         rowlist_ class variable.
4800
4801         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4802         paragraph is empty.
4803
4804         * RowList.C (insert): fix case where it == begin().
4805
4806 2003-03-26  Angus Leeming  <leeming@lyx.org>
4807
4808         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4809         the thesaurus dialog.
4810
4811 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4814
4815         * RowList.[Ch]: new files
4816
4817         * ParagraphList.C (erase): handle the case where it == begin
4818         correctly.
4819
4820 2003-03-25  John Levon  <levon@movementarian.org>
4821
4822         * Makefile.am:
4823         * aspell_local.h:
4824         * aspell.C: add new aspell support
4825
4826         * lyxrc.h:
4827         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4828         have it accessible.
4829
4830 2003-03-25  Angus Leeming  <leeming@lyx.org>
4831
4832         * lfuns.h:
4833         * LyXAction.C (init): new LFUN_INSET_INSERT.
4834
4835         * BufferView_pimpl.C (dispatch): split out part of the
4836         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4837
4838         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4839         LFUN_INSET_APPLY.
4840
4841 2003-03-25  Angus Leeming  <leeming@lyx.org>
4842
4843         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4844
4845 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4846
4847         * text2.C:
4848         * text3.C: remove useless row->height(0)
4849
4850 2003-03-25  John Levon  <levon@movementarian.org>
4851
4852         * lyxtext.h:
4853         * text2.C:
4854         * text3.C: rename the refreshing stuff to better names
4855
4856 2003-03-24  John Levon  <levon@movementarian.org>
4857
4858         * BufferView_pimpl.h:
4859         * BufferView_pimpl.C: update layout choice on a mouse
4860         press/release
4861
4862 2003-03-23  John Levon  <levon@movementarian.org>
4863
4864         * Makefile.am: fix commandtags.h reference
4865
4866 2003-03-22  John Levon  <levon@movementarian.org>
4867
4868         * BufferView_pimpl.C:
4869         * lyxtext.h:
4870         * rowpainter.C:
4871         * rowpainter.h:
4872         * text.C:
4873         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4874
4875 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * lyxtext.h:
4878         * text.C: take the rtl methods out of line
4879
4880 2003-03-21 André Pönitz <poenitz@gmx.net>
4881
4882         * metricsinfo.[Ch]: new files containing structures to be passed around
4883         during the two-phase-drawing...
4884
4885 2003-03-21 André Pönitz <poenitz@gmx.net>
4886
4887         * lyxtextclass.C: read 'environment' tag.
4888
4889 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * text2.C (removeRow): fix bug 964
4892
4893 2003-03-20  John Levon  <levon@movementarian.org>
4894
4895         * rowpainter.C:
4896         * text.C:
4897         * text2.C: paint cleanups. Inset::update() dropped font
4898         parameter
4899
4900 2003-03-19  John Levon  <levon@movementarian.org>
4901
4902         * lyxfunc.C: only fitcursor/markDirty if available()
4903
4904 2003-03-19  John Levon  <levon@movementarian.org>
4905
4906         * commandtags.h: rename to ...
4907
4908         * lfuns.h: ... this, and renumber / cleanup
4909
4910 2003-03-19  John Levon  <levon@movementarian.org>
4911
4912         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4913         fit the cursor after an lfun
4914
4915         * BufferView.h:
4916         * BufferView.C:
4917         * BufferView_pimpl.h:
4918         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4919
4920         * LyXAction.C: layout-character should have ReadOnly
4921
4922         * ParagraphParameters.C:
4923         * buffer.C:
4924         * bufferview_funcs.C:
4925         * lyx_cb.C:
4926         * lyxfind.C:
4927         * lyxtext.h:
4928         * text.C:
4929         * text2.C:
4930         * text3.C:
4931         * undo_funcs.C: changes from above
4932
4933 2003-03-18  John Levon  <levon@movementarian.org>
4934
4935         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4936         remove it from update()
4937
4938         * lyxfunc.C: update layout choice after an lfun
4939
4940         * text3.C: remove extra updateLayoutChoice()s
4941
4942 2003-03-18  John Levon  <levon@movementarian.org>
4943
4944         * text.C: top_y change means full repaint, fix
4945         a drawing bug with cursor movement
4946
4947 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * lyxtext.h:
4950         * text.C:
4951         * text2.C: anchor row on setCursor
4952
4953 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4954
4955         * lyxtext.h: remove almost all mutable keywords
4956         * text.C:
4957         * text2.C:
4958         * text3.C: remove const keywords accordingly
4959
4960 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4963         anon namespace
4964         (TeXEnvironment): ditto
4965         (TeXOnePar): ditto
4966
4967 2003-03-17  John Levon  <levon@movementarian.org>
4968
4969         * text.C (rowBreakPoint): remove attempt to fix displayed
4970         math insets inside a manual label
4971
4972 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4973
4974         * lyxtext.h: remove BufferView* as first arg from almost all class
4975         functions.
4976         * other files: adjust.
4977
4978 2003-03-17  John Levon  <levon@movementarian.org>
4979
4980         * lyxtext.h:
4981         * undo_funcs.C:
4982         * text2.C: more paint cleanups
4983
4984         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4985
4986         * rowpainter.h:
4987         * rowpainter.C: remove "smart" background painting code
4988
4989 2003-03-16  John Levon  <levon@movementarian.org>
4990
4991         * lyxtext.h:
4992         * text.C:
4993         * text2.C:
4994         * text3.C: add helper functions for setting refresh_row/y
4995
4996 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4997
4998         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4999         newline inset which *can* get inserted in the pass_thru layouts.
5000         This is primarily for literate documents.
5001
5002 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5003
5004         * buffer.C: increment LYX_FORMAT to 223
5005
5006 2003-03-14 André Pönitz <poenitz@gmx.net>
5007
5008         * textclass.h: prepare for environment handling, ws changes
5009         * lyxlayout.C: read latexheader and latexfooter tags
5010
5011 2003-03-14  John Levon  <levon@movementarian.org>
5012
5013         * text2.C: rewrite ::status() a bit
5014
5015 2003-03-13  John Levon  <levon@movementarian.org>
5016
5017         * lyxtext.h: add some docs
5018
5019 2003-03-13  John Levon  <levon@movementarian.org>
5020
5021         * lyxtext.h:
5022         * text.C:
5023         * text2.C:
5024         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5025
5026 2003-03-13  John Levon  <levon@movementarian.org>
5027
5028         * text3.C: fix appendix redrawing
5029
5030 2003-03-13  John Levon  <levon@movementarian.org>
5031
5032         * text.C (setHeightOfRow):
5033         * rowpainter.h:
5034         * rowpainter.C: make appendix mark have the text
5035           "Appendix" so the user knows what it is
5036
5037         * LColor.h:
5038         * LColor.C: s/appendixline/appendix/ from above
5039
5040 2003-03-13  John Levon  <levon@movementarian.org>
5041
5042         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5043
5044         * text.C: fix a getChar(pos) bug properly
5045
5046 2003-03-13  Angus Leeming  <leeming@lyx.org>
5047
5048         * commandtags.h:
5049         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5050         Probably only temporary. Let's see how things pan out.
5051
5052         * BufferView.C (unlockInset):
5053         * BufferView_pimpl.C (fitCursor):
5054         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5055
5056         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5057         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5058
5059         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5060         new functions that convert ParagraphParameters to and from a string.
5061
5062         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5063         BufferView::Pimpl's dispatch.
5064         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5065
5066 2003-03-13 André Pönitz <poenitz@gmx.net>
5067
5068         * lyxfunc.C:
5069         * text3.C:
5070         * factory.C: make it aware of InsetEnv
5071
5072 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * text2.C (setCursor): never ask for one past last
5075         (setCursor): add some debugging messages.
5076
5077         * text.C (singleWidth): never ask for one past last
5078         (singleWidth): ditto
5079         (leftMargin): ditto
5080         (rightMargin): ditto
5081         (rowBreakPoint): ditto
5082         (setHeightOfRow): ditto
5083         (prepareToPrint): ditto
5084
5085         * rowpainter.C (paintBackground): never ask for one past last
5086         (paintText): never ask for one past last
5087
5088         * paragraph_pimpl.C (getChar): make the assert stricter, never
5089         allow the one past last pos to be taken
5090
5091         * paragraph.C (getChar): ws changes only
5092
5093         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5094         (numberOfSeparators): ditto
5095         (numberOfHfills): ditto
5096
5097 2003-03-12  John Levon  <levon@movementarian.org>
5098
5099         * author.h:
5100         * author.C:
5101         * bufferparams.h:
5102         * bufferparams.C:
5103         * paragraph_funcs.C: fix per-buffer authorlists
5104
5105 2003-03-12  John Levon  <levon@movementarian.org>
5106
5107         * text.C: fix newline in right address
5108
5109 2003-03-12  Angus Leeming  <leeming@lyx.org>
5110
5111         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5112         duplicate those in LyXFunc::dispatch.
5113
5114         * commandtags.h:
5115         * LyXAction.C:
5116         * ToolbarDefaults.C:
5117         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5118         Add LFUN_FONTFREE_UPDATE.
5119
5120         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5121         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5122
5123         * bufferview_func.[Ch]: several new functions to facilliate
5124         transfer of data to and from the character dialog.
5125
5126 2003-03-12  John Levon  <levon@movementarian.org>
5127
5128         * buffer.C:
5129         * paragraph.h:
5130         * paragraph.C:
5131         * paragraph_funcs.C:
5132         * paragraph_pimpl.C:
5133         * sgml.C:
5134         * tabular.C:
5135         * text.C:
5136         * text3.C: remove META_NEWLINE in favour of an inset
5137
5138         * rowpainter.h:
5139         * rowpainter.C: remove paintNewline (done by inset)
5140
5141 2003-03-12  John Levon  <levon@movementarian.org>
5142
5143         * paragraph_pimpl.C: complain about bad getChar()s
5144         for a while at least
5145
5146 2003-03-12  John Levon  <levon@movementarian.org>
5147
5148         * buffer.h:
5149         * buffer.C: move paragraph read into a separate function,
5150         a little renaming to reflect that.
5151
5152         * bufferparams.h:
5153         * bufferparams.C: remove the author_ids map, not necessary now
5154
5155         * factory.h:
5156         * factory.C: moved Buffer::readInset to here
5157
5158         * paragraph_funcs.h:
5159         * paragraph_funcs.C: readParagraph free function moved from
5160         buffer.C
5161
5162         * tabular.C: name change
5163
5164 2003-03-12  John Levon  <levon@movementarian.org>
5165
5166         * buffer.C:
5167         * ParagraphParameters.C: move par params input to
5168         a read() method
5169
5170         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5171         behave like a normal read from the stream wrt reading
5172         a line vs. a \\token
5173
5174 2003-03-12  John Levon  <levon@movementarian.org>
5175
5176         * paragraph.C:
5177         * ParagraphParameters.h:
5178         * ParagraphParameters.C: move output code to a
5179         ::write() method
5180
5181 2003-03-12  John Levon  <levon@movementarian.org>
5182
5183         * BufferView.C (insertLyXFile):
5184         * buffer.h:
5185         * buffer.C:
5186         * tabular.C: use a parlist iterator for creating the
5187           document.
5188
5189 2003-03-12  John Levon  <levon@movementarian.org>
5190
5191         * buffer.C: make current_change static local not
5192           static file-scope
5193
5194 2003-03-12  John Levon  <levon@movementarian.org>
5195
5196         * buffer.C: fix insertStringAsLines for change tracking
5197
5198 2003-03-12  John Levon  <levon@movementarian.org>
5199
5200         * BufferView.C:
5201         * tabular.C:
5202         * buffer.h:
5203         * buffer.C:
5204         * bufferparams.h:
5205         * bufferparams.C: move author list into params. Rename some
5206           functions. Move the header reading into a separate token
5207           loop. Move the header token reading into BufferParams.
5208
5209 2003-03-12  John Levon  <levon@movementarian.org>
5210
5211         * changes.C: put debug inside lyxerr.debugging() checks
5212
5213 2003-03-11 André Pönitz <poenitz@gmx.net>
5214
5215         * factory.C: make it aware of InsetHFill
5216
5217 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5218
5219         * buffer.C (latexParagraphs): move function from here...
5220         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5221         args.
5222
5223 2003-03-10  Angus Leeming  <leeming@lyx.org>
5224
5225         * LyXAction.C (init): fix bug in poplating array with multiple entries
5226         with the same LFUN (spotted by JMarc).
5227
5228 2003-03-10  John Levon  <levon@movementarian.org>
5229
5230         * text.C:
5231         * text2.C: move getColumnNearX() near its
5232         only call site
5233
5234 2003-03-10  John Levon  <levon@movementarian.org>
5235
5236         * text.C: fix break before a minipage
5237
5238 2003-03-10  John Levon  <levon@movementarian.org>
5239
5240         * text.C: fix the last commit
5241
5242 2003-03-09  John Levon  <levon@movementarian.org>
5243
5244         * lyxtext.h:
5245         * text.C:
5246         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5247         bug 365 (don't break before insets unless needed). Don't
5248         return a value > last under any circumstances.
5249
5250 2003-03-09  Angus Leeming  <leeming@lyx.org>
5251
5252         * BufferView_pimpl.C (trackChanges, dispatch): call
5253         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5254
5255 2003-03-09  Angus Leeming  <leeming@lyx.org>
5256
5257         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5258         than Dialogs::showAboutlyx().
5259
5260 2003-03-09  Angus Leeming  <leeming@lyx.org>
5261
5262         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5263         than Dialogs::showTabularCreate().
5264
5265 2003-03-09  John Levon  <levon@movementarian.org>
5266
5267         * lyxtext.h:
5268         * text.C:
5269         * text2.C: 3rd arg to nextBreakPoint was always the same.
5270           Use references.
5271
5272 2003-03-08  John Levon  <levon@movementarian.org>
5273
5274         * lyxrow.C:
5275         * paragraph.C:
5276         * paragraph.h:
5277         * rowpainter.C:
5278         * text.C:
5279         * text2.C: Remove the "main" bit from the "main body"
5280           notion.
5281
5282 2003-03-08  John Levon  <levon@movementarian.org>
5283
5284         * text.C (leftMargin): The left margin of an empty
5285         manual label paragraph should not include the label width
5286         string length.
5287
5288         * text.C (prepareToPrint): don't attempt to measure hfills
5289         for empty manual label paragraphs - the answer should be 0
5290
5291 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * CutAndPaste.C: remove commented code and reindent.
5294
5295 2003-03-08  John Levon  <levon@movementarian.org>
5296
5297         * lyxfunc.h:
5298         * lyxfunc.C: move reloadBuffer()
5299
5300         * BufferView.h:
5301         * BufferView.C: to here
5302
5303         * lyxvc.C: add comment
5304
5305         * vc-backend.h:
5306         * vc-backend.C: call bv->reload() to avoid
5307           getStatus() check on MENURELOAD
5308
5309 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5310
5311         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5312         to an old format .dep file.
5313
5314 2003-03-07  Angus Leeming  <leeming@lyx.org>
5315
5316         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5317         when the LFUN_MOUSE_RELEASE should have been handled by
5318         inset->localDispatch.
5319
5320 2003-03-07  Angus Leeming  <leeming@lyx.org>
5321
5322         * BufferView_pimpl.C (dispatch):
5323         * LyXAction.C (init):
5324         * ToolbarDefaults.C (init):
5325         * commandtags.h:
5326         * lyxfunc.C (getStatus):
5327         remove LFUN_INSET_GRAPHICS.
5328
5329         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5330
5331 2003-03-07  Angus Leeming  <leeming@lyx.org>
5332
5333         * commandtags.h:
5334         * LyXAction.C (init):
5335         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5336
5337         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5338
5339         * commandtags.h:
5340         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5341
5342         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5343         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5344
5345 2003-03-07  Angus Leeming  <leeming@lyx.org>
5346
5347         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5348         remove "ert".
5349
5350 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * ParagraphList.C (front): new function
5353         (back): implement
5354
5355 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5358         and top_row_offset_. removed var first_y.
5359         * text.C (top_y):
5360         * text2.C (LyXText, removeRow):
5361         * text3.C:
5362         * BufferView_pimpl.C:
5363         use these methods instead of using first_y
5364
5365 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * text2.C (pasteSelection): adjust for checkPastePossible
5368
5369         * CutAndPaste.C: remove Paragraph * buf and replace with
5370         ParagraphList paragraphs.
5371         (DeleteBuffer): delete
5372         (cutSelection): change the tc type to textclass_type
5373         (copySelection): change the tc type to textclass_type
5374         (copySelection): adjust for ParagraphList
5375         (pasteSelection): change the tc type to textclass_type
5376         (pasteSelection): adjust for Paragraphlist
5377         (nrOfParagraphs): simplify for ParagraphList
5378         (checkPastePossible): simplify for ParagraphList
5379         (checkPastePossible): remove unused arg
5380
5381         * ParagraphList.C (insert): handle the case where there are no
5382         paragraphs yet.
5383
5384         * CutAndPaste.h: make CutAndPaste a namespace.
5385
5386         * text3.C (dispatch): adjust
5387
5388         * text.C (breakParagraph): add a ParagraphList as arg
5389
5390         * paragraph_funcs.C (breakParagraph): change to take a
5391         BufferParams and a ParagraphList as args.
5392         (breakParagraphConservative): ditto
5393         (mergeParagraph): ditto
5394         (TeXDeeper): add a ParagraphList arg
5395         (TeXEnvironment): ditto
5396         (TeXOnePar): ditto
5397
5398         * buffer.C (readLyXformat2): adjust
5399         (insertStringAsLines): adjust
5400         (latexParagraphs): adjust
5401
5402         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5403         (cutSelection): adjust
5404         (pasteSelection): adjust
5405
5406         * BufferView_pimpl.C (insertInset): adjust
5407
5408 2003-03-05  Angus Leeming  <leeming@lyx.org>
5409
5410         * commandtags.h:
5411         * LyXAction.C (init):
5412         * BufferView_pimpl.C (dispatch):
5413         * lyxfunc.C (getStatus):
5414         remove LFUN_CHILD_INSERT.
5415
5416         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5417
5418 2003-03-05  Angus Leeming  <leeming@lyx.org>
5419
5420         * commandtags.h:
5421         * LyXAction.C (init):
5422         * src/factory.C (createInset):
5423         * lyxfunc.C (getStatus):
5424         * text3.C (dispatch):
5425         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5426
5427         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5428
5429 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * ParagraphList.C (insert): handle insert right before end()
5432         (erase): fix cases where it can be first or last paragraph.
5433
5434 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5437         Paragraph::next and Paragraph::previous
5438         (TeXOnePar): ditto
5439
5440         * text.C (breakParagraph): adjust
5441
5442         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5443         BufferParams& as arg.
5444         (breakParagraph): use ParagraphList::insert
5445         (breakParagraphConservative): take a Buffer* instead of a
5446         BufferParams& as arg.
5447         (breakParagraphConservative): use ParagraphList::insert.
5448
5449         * buffer.C (insertStringAsLines): un-const it
5450         (insertStringAsLines): adjust
5451
5452         * ParagraphList.C (insert): new function
5453
5454         * CutAndPaste.C (pasteSelection): adjust
5455
5456         * text.C (backspace): adjust
5457
5458         * tabular.C (SetMultiColumn): adjust
5459
5460         * CutAndPaste.C (cutSelection): adjust
5461         (pasteSelection): adjust
5462
5463         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5464         Buffer const * as arg
5465
5466         * ParagraphList.C (erase): new function
5467         * paragraph_funcs.C (mergeParagraph): use it
5468         (mergeParagraph): make it take a Buffer* instead of a
5469         BufferParams* as arg
5470
5471         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5472         as arg
5473         (breakParagraphConservative): ditto
5474
5475         * paragraph.h: remove the breakParagraph friend
5476
5477         * paragraph.C (eraseIntern): new function
5478         (setChange): new function
5479
5480         * paragraph_funcs.C (mergeParagraph): make it take a
5481         ParagraphList::iterator instead of a Paragraph *, adjust
5482         accordingly.
5483
5484         * paragraph.h: move an #endif so that the change tracking stuff
5485         also works in the NO_NEXT case.
5486
5487 2003-03-04  Angus Leeming  <leeming@lyx.org>
5488
5489         * commandtags.h:
5490         * LyXAction.C: new LFUN_INSET_MODIFY.
5491
5492         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5493         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5494
5495 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * several files: ws changes only
5498
5499         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5500         (TeXEnvironment): ditto
5501         (TeXDeeper): ditto
5502
5503         * buffer.C (makeLaTeXFile): adjust
5504         (latexParagraphs): make it take ParagraphList::iterator as args
5505
5506 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * buffer.C (latexParagraphs): adjust
5509
5510         * paragraph.C (TeXOnePar): move function...
5511         (optArgInset): move function...
5512         (TeXEnvironment): move function...
5513         * paragraph_pimpl.C (TeXDeeper): move function...
5514         * paragraph_funcs.C: ...here
5515
5516         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5517
5518 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * buffer.C (readInset): remove compability code for old Figure and
5521         InsetInfo insets
5522
5523 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * buffer.C: ws changes
5526         (readInset):
5527
5528         * BufferView_pimpl.C: ditto
5529         * author.C: ditto
5530         * buffer.h: ditto
5531         * bufferlist.h: ditto
5532         * changes.h: ditto
5533         * lyxfunc.C: ditto
5534
5535 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5536
5537         * converter.[Ch]: split into itself +
5538         * graph.[Ch]
5539         * format.[Ch]
5540         * Makefile.am: += graph.[Ch] + format.[Ch]
5541         * MenuBackend.C
5542         * buffer.C
5543         * exporter.C
5544         * importer.C
5545         * lyx_main.C
5546         * lyxfunc.C
5547         * lyxrc.C: added #include "format.h"
5548
5549 2003-02-27  Angus Leeming  <leeming@lyx.org>
5550
5551         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5552           a label.
5553
5554         * factory.C (createInset): add "label" to the factory.
5555
5556         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5557           string and do no more.
5558
5559 2003-02-27  Angus Leeming  <leeming@lyx.org>
5560
5561         * commandtags.h:
5562         * LyXAction.C (init):
5563         * factory.C (createInset):
5564         * BufferView_pimpl.C (dispatch):
5565           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5566
5567         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5568
5569         * lyxfunc.C (dispatch):
5570         * text3.C (dispatch): pass name to params2string.
5571
5572 2003-02-26  Angus Leeming  <leeming@lyx.org>
5573
5574         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5575           blocks together.
5576           Rearrange the ~includes. Strip out the unnecessary ones.
5577
5578         * factory.C (createInset): reformat.
5579           create new insets for the various LFUN_XYZ_APPLY lfuns.
5580
5581 2003-02-26  John Levon  <levon@movementarian.org>
5582
5583         * lyxrow.h:
5584         * lyxrow.C: add isParStart,isParEnd helpers
5585
5586         * paragraph.h: make isInserted/DeletedText take refs
5587
5588         * paragraph_funcs.h:
5589         * paragraph_funcs.C: remove #if 0'd code
5590
5591         * lyxtext.h:
5592         * text3.C:
5593         * text2.C:
5594         * text.C: use lyxrow helpers above.
5595           Move draw and paint routines to RowPainter.
5596           Make several methods use refs not pointers.
5597           Make backgroundColor() const.
5598           Add markChangeInDraw(), isInInset().
5599           Merge changeRegionCase into changeCase.
5600           Make workWidth() shouldn't-happen code into an Assert.
5601
5602         * rowpainter.h:
5603         * rowpainter.C: new class for painting a row.
5604
5605         * vspace.h:
5606         * vspace.C: make inPixels take a ref
5607
5608 2003-02-26  Angus Leeming  <leeming@lyx.org>
5609
5610         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5611         LFUN_REF_APPLY.
5612
5613 2003-02-25  John Levon  <levon@movementarian.org>
5614
5615         * ispell.C: give the forked command a more accurate name
5616
5617 2003-02-22  John Levon  <levon@movementarian.org>
5618
5619         * toc.h:
5620         * toc.C: make TocItem store an id not a Paragraph *
5621           (bug #913)
5622
5623 2003-02-21  Angus Leeming  <leeming@lyx.org>
5624
5625         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5626           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5627           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5628           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5629           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5630           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5631
5632         * BufferView_pimpl.C (dispatch):
5633         * LyXAction.C (init):
5634         * factory.C (createInset):
5635         * lyxfunc.C (getStatus, dispatch):
5636         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5637
5638 2003-02-21  Angus Leeming  <leeming@lyx.org>
5639
5640         * BufferView_pimpl.C (MenuInsertLyXFile):
5641         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5642         * lyxfunc.C (menuNew, open, doImport):
5643           no longer pass a LyXView & to fileDlg.
5644
5645 2003-02-21  Angus Leeming  <leeming@lyx.org>
5646
5647         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5648         * LyXAction.C: change, BIBKEY to BIBITEM.
5649         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5650         Change InsetBibKey to InsetBibitem.
5651         Change BIBKEY_CODE to BIBITEM_CODE.
5652         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5653         * factory.C: replace insetbib.h with insetbibitem.h.
5654         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5655         * paragraph.C: replace insetbib.h with insetbibitem.h.
5656         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5657         Change bibkey() to bibitem().
5658         * text.C: remove insetbib.h.
5659         * text2.C: replace insetbib.h with insetbibitem.h.
5660         change bibkey() to bibitem().
5661         * text3.C: remove insetbib.h.
5662         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5663
5664 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5665
5666         * lyxrc.C (output): enclose user email in quotes (in case there are
5667         several words)
5668
5669 2003-02-18  John Levon  <levon@movementarian.org>
5670
5671         * buffer.h: add std::
5672
5673 2003-02-17  John Levon  <levon@movementarian.org>
5674
5675         * SpellBase.h:
5676         * ispell.h:
5677         * ispell.C:
5678         * pspell.h:
5679         * pspell.C: reworking. Especially in ispell, a large
5680           number of clean ups and bug fixes.
5681
5682         * lyxfunc.C: fix revert to behave sensibly
5683
5684 2003-02-17 André Pönitz <poenitz@gmx.net>
5685
5686         * LyXAction.C:
5687         * commandtags.h: new LFUN_INSERT_BIBKEY
5688
5689         * layout.h:
5690         * lyxlayout.C:
5691         * buffer.C:
5692         * factory.C:
5693         * text.C:
5694         * text2.C:
5695         * text3.C:
5696         * paragraph.[Ch]:
5697         * paragraph_func.C: remove special bibkey handling
5698
5699 2003-02-17  John Levon  <levon@movementarian.org>
5700
5701         * text.C (Delete): fix case where delete at the end of
5702           the very first paragraph would not merge the pars
5703
5704 2003-02-17  John Levon  <levon@movementarian.org>
5705
5706         * lyxrow.C: fix lastPrintablePos()
5707
5708 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5709
5710         * bufferparams.C (writeLaTeX): add a std:here
5711
5712         * buffer.C: and remove a using directive there
5713
5714 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5715
5716         * buffer.C (makeLaTeXFile): move the code that generates the
5717           preamble...
5718
5719         * bufferparams.C (writeLaTeX): ... in this new method
5720
5721         * LaTeXFeatures.C (getEncodingSet): make const
5722           (getLanguages): make const
5723
5724         * MenuBackend.C (binding): returns the binding associated to this
5725           action
5726           (add): sets the status of each item by calling getStatus. Adds
5727           some intelligence.
5728           (read): add support for OptSubMenu
5729           (expand): remove extra separator at the end of expanded menu
5730
5731 2003-02-15  John Levon  <levon@movementarian.org>
5732
5733         * BufferView.C:
5734         * BufferView_pimpl.C:
5735         * bufferlist.h:
5736         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5737           inset code that had no actual effect. Remove unneeded status
5738           code.
5739
5740 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5741
5742         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5743           in preamble
5744
5745 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5746
5747         * text.C (drawLengthMarker): also draw an arrow marker for
5748           symbolic lengths (medskip...)
5749
5750 2003-02-14  John Levon  <levon@movementarian.org>
5751
5752         * tabular.h:
5753         * tabular.C: better method names
5754
5755 2003-02-14  John Levon  <levon@movementarian.org>
5756
5757         * BufferView_pimpl.C:
5758         * bufferlist.C:
5759         * buffer.C:
5760         * converter.C:
5761         * lyx_cb.C:
5762         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5763           it's a more accurate name. Remove some pointless uses.
5764
5765 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5766
5767         * text2.C (LyXText): change order of initilizers to shut off
5768           warnings
5769
5770 2003-02-14  John Levon  <levon@movementarian.org>
5771
5772         * buffer.C: use ParIterator for getParFromID()
5773
5774         * paragraph.h:
5775         * paragraph.C:
5776         * paragraph_pimpl.h:
5777         * paragraph_pimpl.C: remove unused getParFromID()
5778
5779 2003-02-14  John Levon  <levon@movementarian.org>
5780
5781         * buffer.C: remove some very old #if 0'd parse code
5782
5783 2003-02-13  John Levon  <levon@movementarian.org>
5784
5785         * text.h:
5786         * text.C:
5787         * text2.C: move hfillExpansion(), numberOfSeparators(),
5788           rowLast(), rowLastPrintable(), numberofHfills(),
5789           numberOfLabelHfills() ...
5790
5791         * lyxrow.h:
5792         * lyxrow.C: ... to member functions here.
5793
5794         * paragraph.h:
5795         * paragraph.C:
5796         * lyxtext.h:
5797         * text.C: remove LyXText::beginningOfMainBody(), and call
5798           p->beginningOfMainBody() directly. Move the check for
5799           LABEL_MANUAL into the latter.
5800
5801         * text.h:
5802         * text.C:
5803         * text2.C:
5804         * vspace.C:
5805         * BufferView.h:
5806         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5807
5808         * text.h:
5809         * text.C:
5810         * text2.C:
5811         * text3.C:
5812         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5813           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5814
5815 2003-02-13  John Levon  <levon@movementarian.org>
5816
5817         * CutAndPaste.C: remove debug
5818
5819 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5820
5821         * paragraph.C (asString): remove two unused variables
5822
5823         * lyxtextclass.C (readTitleType):
5824           (Read):
5825           (LyXTextClass): handle new members titletype_ and titlename_
5826
5827         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5828
5829 2003-02-09  John Levon  <levon@movementarian.org>
5830
5831         * buffer.h:
5832         * buffer.C: replace hand-coded list with a map for the dep clean
5833
5834 2003-02-08  John Levon  <levon@movementarian.org>
5835
5836         * LaTeX.C: consolidate code into showRunMessage() helper
5837
5838 2003-02-08  John Levon  <levon@movementarian.org>
5839
5840         * lyxfind.C:
5841         * lyxtext.h:
5842         * text2.C:
5843         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5844           and pass the size in explicitly
5845
5846         * BufferView_pimpl.h:
5847         * BufferView_pimpl.C:
5848         * BufferView.h:
5849         * BufferView.C: add getCurrentChange()
5850
5851         * BufferView_pimpl.h:
5852         * BufferView_pimpl.C: handle change lfuns
5853
5854         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5855           for changes. Mark pasted paragraphs as new.
5856
5857         * support/lyxtime.h:
5858         * support/lyxtime.C:
5859         * DepTable.C: abstract time_t as lyx::time_type
5860
5861         * LColor.h:
5862         * LColor.C: add colours for new text, deleted text, changebars
5863
5864         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5865           package use "usenames" option.
5866
5867         * commandtags.h:
5868         * lyxfunc.C:
5869         * LyXAction.C: add change lfuns
5870
5871         * Makefile.am:
5872         * author.h:
5873         * author.C: author handling
5874
5875         * buffer.h:
5876         * buffer.C: add a per-buffer author list, with first entry as
5877           current author. Handle new .lyx tokens for change tracking. Output
5878           author list to .lyx file. Output dvipost stuff to .tex preamble.
5879           Bump lyx format to 222.
5880
5881         * bufferlist.h:
5882         * bufferlist.C: add setCurrentAuthor() to reset current author details
5883           in all buffers.
5884
5885         * bufferparams.h:
5886         * bufferparams.C: add param for tracking
5887
5888         * bufferview_funcs.C: output change info in minibuffer
5889
5890         * Makefile.am:
5891         * changes.h:
5892         * changes.C: add change-tracking structure
5893
5894         * debug.h:
5895         * debug.C: add CHANGES debug flag
5896
5897         * lyxfind.h:
5898         * lyxfind.C: add code for finding the next change piece
5899
5900         * lyxrc.h:
5901         * lyxrc.C: add user_name and user_email
5902
5903         * lyxrow.h:
5904         * lyxrow.C: add a metric for the top of the text line
5905
5906         * lyxtext.h:
5907         * text.C: implement accept/rejectChange()
5908
5909         * lyxtext.h:
5910         * text.C: paint changebars. Paint new/deleted text in the chosen
5911         colours. Strike through deleted text.
5912
5913         * paragraph.h:
5914         * paragraph.C:
5915         * paragraph_pimpl.h:
5916         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5917           in the current change to the insert functions. Rework erase to
5918           mark text as deleted, adding an eraseIntern() and a range-based
5919           erase(). Implement per-paragraph change lookup and
5920           accept/reject.
5921
5922         * paragraph_funcs.C: Fixup paste for change tracking.
5923
5924         * tabular.C: mark added row/columns as new.
5925
5926         * text.C: fix rowLast() to never return -1. Don't allow
5927           spellchecking of deleted text. Track transpose changes. Don't
5928           allow paragraph break or merge where appropriate.
5929
5930         * text2.C: leave cursor at end of selection after a cut.
5931
5932 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5933
5934         * text.C (getLengthMarkerHeight):
5935         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5936         visible on screen too.
5937
5938 2003-02-07  John Levon  <levon@movementarian.org>
5939
5940         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5941
5942 2003-02-05  Angus Leeming  <leeming@lyx.org>
5943
5944         * lyxserver.C (read_ready): revert my patch of 11 September last year
5945         as it sends PC cpu through the roof. Presumably this means that
5946         the lyxserver will no longer run on an Alpha...
5947
5948 2003-01-30  Angus Leeming  <leeming@lyx.org>
5949
5950         * factory.C (createInset): create an InsetCommandParam of type "index"
5951         and use it to 'do the right thing'.
5952
5953         * text2.C (getStringToIndex): ensure that cursor position is always
5954         reset to the reset_cursor position.
5955
5956 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5957
5958         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5959         disabled.
5960
5961 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5962
5963         * bufferview.C:
5964         * lyxcb.C:
5965         * lyxfunc.C: Output messages with identical spelling, punctuation,
5966         and spaces
5967
5968 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5969
5970         * MenuBackend.C (expandFormats): List only viewable export formats
5971         in "View" menu
5972
5973         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5974         message
5975
5976         * lyxfunc.C (getStatus): Make sure that formats other than
5977         "fax" can also be disabled
5978
5979 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5980
5981         * text3.C (dispatch): put the lfuns that insert insets in 3
5982         groups, and call doInsertInset with appropriate arguments.
5983         (doInsertInset): new function, that creates an inset and inserts
5984         it according to some boolean parameters.
5985
5986 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * buffer.C (readFile): remember to pass on 'par' when calling
5989         readFile recursively.
5990
5991 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5992
5993         * MenuBackend.C (expandFormats): add "..." to import formats.
5994
5995 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5996
5997         * paragraph.C (asString): Remove XForms RTL hacks.
5998
5999 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6000         * buffer.C: fix typo
6001
6002 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * Makefile.am (LIBS): delete var
6005         (lyx_LDADD): add @LIBS@ here instead.
6006
6007 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6008
6009         * Clarify the meaning of "wheel mouse jump"
6010
6011 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6012
6013         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6014         tabular in a float
6015
6016 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6017
6018         * importer.C (Loaders): do not preallocate 3 elements in the
6019         vector, since one ends up with 6 elements otherwise
6020
6021 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6022
6023         * DepTable.C (write): write the file name as last element of the
6024         .dep file (because it may contain spaces)
6025         (read): read info in the right order
6026
6027 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * paragraph_pimpl.C (simpleTeXBlanks):
6030         (simpleTeXSpecialChars):
6031         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6032
6033         * tabular.C (latex): add some missing case statements. Reindent.
6034
6035         * MenuBackend.C (expandToc): remove unused variable.
6036
6037 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6038
6039         * LColor.C:
6040         * LaTeX.C:
6041         * LyXAction.C:
6042         * MenuBackend.C:
6043         * buffer.C:
6044         * exporter.C:
6045         * lyxfunc.C:
6046         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6047         and the like.
6048
6049 2003-01-05  John Levon  <levon@movementarian.org>
6050
6051         * BufferView.h:
6052         * BufferView.C: add getEncoding()
6053
6054         * kbsequence.h:
6055         * kbsequence.C: do not store last keypress
6056
6057         * lyxfunc.h:
6058         * lyxfunc.C: store last keypress here instead. Pass encoding
6059           to getISOEncoded()
6060
6061 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6062
6063         * lyx_main.C (init): remove annoying error message when following
6064         symbolic links (bug #780)
6065
6066 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6067
6068         * text.C (insertChar):
6069         * lyxrc.C (getDescription): remove extra spaces
6070
6071 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6072
6073         * lyxrc.C (getDescription): remove extra spaces
6074
6075 2002-12-20  John Levon  <levon@movementarian.org>
6076
6077         * text3.C: hack fix for page up/down across tall rows
6078
6079 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6080
6081         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6082         not been invoked
6083
6084 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6085
6086         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6087         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6088         thesaurus is not compiled in
6089
6090 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6091
6092         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6093
6094 2002-12-16  Angus Leeming  <leeming@lyx.org>
6095
6096         * lyxrc.[Ch]:
6097         * lyx_main.C (init): remove override_x_deadkeys stuff.
6098
6099 2002-12-12  John Levon  <levon@movementarian.org>
6100
6101         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6102           insert. Only remove shift modifier under strict
6103           circumstances.
6104
6105 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * MenuBackend.C (expandToc): fix crash.
6108
6109 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * MenuBackend.C (expandToc): gettext on float names.
6112
6113 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6114
6115         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6116         implement bool empty() [bug 490]
6117
6118 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6121
6122 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * several files: ws changes
6125
6126 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * text2.C (setCounter): clean up a bit, use boost.format.
6129         (updateCounters): initialize par upon declaration.
6130
6131         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6132         if the layout exists. We do not just store the layout any more.
6133         (SwitchLayoutsBetweenClasses): use boost.format
6134
6135 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6136
6137         * converter.C (convert): if from and to files are the same, use a
6138         temporary files as intermediary
6139
6140 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6141
6142         * commandtags.h:
6143         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6144
6145 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6146
6147         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6148
6149 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * tabular.C (asciiPrintCell): use string(size, char) instead of
6152         explicit loop.
6153
6154         * sgml.C (openTag): fix order of arguments to string constructor
6155         (closeTag): ditto
6156
6157         * lyxfunc.C (dispatch): use boost.format
6158
6159         * lots of files: change "c" -> 'c'
6160
6161 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6162
6163         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6164
6165 2002-11-25  Angus Leeming  <leeming@lyx.org>
6166
6167         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6168
6169         * lyx_main.C (init): compile fix.
6170
6171 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * lyx_cb.C (start): boost.formatify
6174         do not include <iostream>
6175
6176         * lengthcommon.C: ws only
6177
6178         * boost-inst.C,BoostFormat.h: add more explict instantations
6179
6180 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * lots of files: handle USE_BOOST_FORMAT
6183
6184 2002-11-21  John Levon  <levon@movementarian.org>
6185
6186         * pspell.C: fix compile
6187
6188 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6189
6190         * lyxfunc.C (dispatch): use boost::format
6191         (open): ditto
6192         (doImport): ditto
6193
6194         * lyxfont.C (stateText): use boost::format
6195
6196         * lyx_main.C (LyX): use boost::format
6197         (init): ditto
6198         (queryUserLyXDir): ditto
6199         (readRcFile): ditto
6200         (parse_dbg): ditto
6201         (typedef boost::function): use the recommened syntax.
6202
6203         * importer.C (Import): use boost::format
6204
6205         * debug.C (showLevel): use boost::format
6206
6207         * converter.C (view): use boost::format
6208         (convert): ditto
6209         (move): ditto
6210         (scanLog): ditto
6211
6212         * bufferview_funcs.C (currentState): use boost::format
6213
6214         * bufferlist.C (emergencyWrite): use boost::format
6215
6216         * buffer.C (readLyXformat2): use boost::format
6217         (parseSingleLyXformat2Token): ditto
6218
6219         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6220
6221         * LaTeX.C (run): use boost::format
6222
6223         * Chktex.C (scanLogFile): use boost::format
6224
6225         * BufferView_pimpl.C (savePosition): use boost::format
6226         (restorePosition): ditto
6227         (MenuInsertLyXFile): ditto
6228
6229         * BoostFormat.h: help file for explicit instation.
6230
6231 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6232
6233         * tabular.C (latex): Support for block alignment in fixed width
6234         columns.
6235
6236 2002-11-17  John Levon  <levon@movementarian.org>
6237
6238         * BufferView_pimpl.C:
6239         * lyx_cb.C:
6240         * lyxfunc.C: split filedialog into open/save
6241
6242 2002-11-08  Juergen Vigna  <jug@sad.it>
6243
6244         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6245         by my last patch (hopefully).
6246
6247 2002-11-08  John Levon  <levon@movementarian.org>
6248
6249         * iterators.h:
6250         * iterators.C:
6251         * buffer.h:
6252         * buffer.C:
6253         * paragraph.h:
6254         * paragraph.C:
6255         * toc.h:
6256         * toc.C: ParConstIterator, and use it (from Lars)
6257
6258 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6259
6260         * lyxtextclass.[Ch]: revise and add doxygen comments
6261
6262 2002-11-07  John Levon  <levon@movementarian.org>
6263
6264         * text.C: fix progress value for spellchecker
6265
6266         * toc.C: fix navigate menu for insetwrap inside minipage
6267
6268         * paragraph_funcs.C: added FIXME for suspect code
6269
6270 2002-11-07  John Levon  <levon@movementarian.org>
6271
6272         * BufferView_pimpl.C: fix redrawing of insets
6273           on buffer switch
6274
6275 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6276
6277         * text2.C (updateCounters): fix bug 668
6278
6279 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6280
6281         * text3.C (dispatch): Do not make the buffer dirty when moving the
6282         cursor.
6283
6284 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * vc-backend.C: STRCONV
6287         (scanMaster): ditto
6288
6289         * text2.C (setCounter): STRCONV
6290
6291         * paragraph.C (asString): STRCONV
6292
6293         * lyxlength.C (asString): STRCONV
6294         (asLatexString): ditto
6295
6296         * lyxgluelength.C (asString): STRCONV
6297         (asLatexString): ditto
6298
6299         * lyxfunc.C (dispatch): STRCONV
6300         (open): ditto
6301
6302         * lyxfont.C (stateText): STRCONV
6303
6304         * importer.C (Import): STRCONV
6305
6306         * counters.C (labelItem): STRCONV
6307         (numberLabel): ditto
6308         (numberLabel): remove unused ostringstream o
6309
6310         * chset.C: STRCONV
6311         (loadFile): ditto
6312
6313         * bufferview_funcs.C (currentState): STRCONV
6314
6315         * buffer.C (readFile): STRCONV
6316         (asciiParagraph): ditto
6317         (makeLaTeXFile): ditto
6318
6319         * Spacing.C (writeEnvirBegin): STRCONV
6320
6321         * LaTeXFeatures.C (getLanguages): STRCONV
6322         (getPackages): ditto
6323         (getMacros): ditto
6324         (getBabelOptions): ditto
6325         (getTClassPreamble): ditto
6326         (getLyXSGMLEntities): ditto
6327         (getIncludedFiles): ditto
6328
6329         * LaTeX.C: STRCONV
6330         (run): ditto
6331         (scanAuxFile): ditto
6332         (deplog): ditto
6333
6334         * LString.h: add the STRCONV macros
6335
6336         * BufferView_pimpl.C (savePosition): STRCONV
6337         (restorePosition): ditto
6338         (MenuInsertLyXFile): ditto
6339
6340         * vc-backend.C (scanMaster): change from submatch[...] to
6341         submatch.str(...)
6342
6343         * funcrequest.C: include config.h
6344
6345         * factory.C: include config.h
6346
6347         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6348
6349         * box.C: include config.h
6350
6351         * LaTeX.C (scanAuxFile): change from submatch[...] to
6352         submatch.str(...)
6353         (deplog): ditto
6354
6355 2002-10-25  Angus Leeming  <leeming@lyx.org>
6356
6357         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6358
6359         * ispell.[Ch] (setError): new method.
6360         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6361         Use setError() insetead of goto END.
6362
6363         * lyx_cb.C (AutoSave): move out child process into new class
6364         AutoSaveBuffer.
6365
6366 2002-10-30  John Levon  <levon@movementarian.org>
6367
6368         * text3.C: make start appendix undoable
6369
6370 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6371
6372         * lyxlength.C (inPixels): Fix returned value.
6373
6374         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6375         environment.
6376
6377 2002-10-24  Angus Leeming  <leeming@lyx.org>
6378
6379         * lyxgluelength.h: no need to forward declare BufferParams
6380         or BufferView, so don't.
6381
6382 2002-10-21  John Levon  <levon@movementarian.org>
6383
6384         * BufferView.C: menuUndo ->undo, redo
6385
6386         * BufferView.h: document, remove dead, make some methods private
6387
6388         * paragraph_funcs.h:
6389         * paragraph_funcs.C:
6390         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6391
6392         * buffer.h:
6393         * buffer.C:
6394         * sgml.h:
6395         * sgml.C: move sgml open/close tag into sgml.C
6396
6397         * bufferview_funcs.h: unused prototype
6398
6399         * lyxfunc.h:
6400         * lyxfunc.C: remove unused
6401
6402         * lyxtext.h:
6403         * text.C: remove unused
6404
6405 2002-10-21  John Levon  <levon@movementarian.org>
6406
6407         * BufferView.h:
6408         * BufferView.C:
6409         * BufferView_pimpl.h:
6410         * BufferView_pimpl.C: fix mouse wheel handling based on
6411           patch from Darren Freeman
6412
6413 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6414
6415         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6416
6417 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6418
6419         * lyxlength.C (inPixels): Fix hanfling of negative length.
6420         Fix LyXLength::MU case.
6421
6422 2002-10-16  John Levon  <levon@movementarian.org>
6423
6424         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6425
6426 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6427
6428         * converter.C (view): add support for $$i (file name) and $$p
6429         (file path) for the viewer command. If $$i is not specified, then
6430         it is appended to the command (for compatibility with old syntax)
6431
6432 2002-10-14  Juergen Vigna  <jug@sad.it>
6433
6434         * undo_funcs.C (textHandleUndo): alter the order in which the
6435         new undopar is added to the LyXText, as we have to set first
6436         the right prev/next and then add it as otherwise the rebuild of
6437         LyXText is not correct. Also reset the cursor to the right paragraph,
6438         with this IMO we could remove the hack in "redoParagraphs()".
6439
6440 2002-10-09  Angus Leeming  <leeming@lyx.org>
6441
6442         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6443         to turn off an optimisation if a new inset is to be inserted.
6444
6445 2002-10-11 André Pönitz <poenitz@gmx.net>
6446
6447         * lyxtext.h: make some functions public to allow access
6448         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6449
6450 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6451
6452         * text3.C (dispatch): when changing layout, avoid an infinite loop
6453         [bug #652]
6454
6455 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6456
6457         * lyxrc.C (read): treat a viewer or converter command of "none" as
6458         if it were empty.
6459
6460         * MenuBackend.C (expandFormats): for an update, also allow the
6461         formats that are not viewable
6462
6463         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6464         script if it is newer than the lyxrc.defaults in user directory
6465
6466 2002-10-07 André Pönitz <poenitz@gmx.net>
6467
6468         * text.C: Vitaly Lipatov's small i18n fix
6469
6470 2002-09-25  Angus Leeming  <leeming@lyx.org>
6471
6472         * ispell.h: doxygen fix.
6473
6474 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * buffer.h (readFile): Add a new argument to the method, to allow
6477         reading of old-format templates.
6478
6479 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * toc.C (getTocList): Get TOC from InsetWrap.
6482
6483 2002-09-16  John Levon  <levon@movementarian.org>
6484
6485         * lyxfunc.C: check tabular for cut/copy too
6486
6487 2002-09-12  John Levon  <levon@movementarian.org>
6488
6489         * LyXAction.C: tidy
6490
6491         * factory.h:
6492         * factory.C: add header
6493
6494         * paragraph_funcs.h:
6495         * paragraph_funcs.C: cleanup
6496
6497 2002-09-11  John Levon  <levon@movementarian.org>
6498
6499         * PrinterParams.h: odd/even default to true
6500
6501 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6502
6503         * PrinterParams.h: update printer parameters for new xforms dialog
6504
6505 2002-09-11  Angus Leeming  <leeming@lyx.org>
6506
6507         * lyxserver.C (read_ready): re-write to make it more transparent
6508         and to make it work in coherent fashion under Tru64 Unix.
6509
6510 2002-09-11  André Pönitz <poenitz@gmx.net>
6511
6512         * commandtags.h:
6513         * LyXAction.C:
6514         * text3.C: implement LFUN_WORDSEL
6515
6516 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6519         make floatlist_ a boost::shared_ptr<FloatList>
6520
6521         * lyxtextclass.C: include FloatList.h
6522         (LyXTextClass): initialize floatlist_
6523         (TextClassTags): add TC_NOFLOAT
6524         (Read): match "nofloat" to TC_NOFLOAT and use it.
6525         (readFloat): modify call to floatlist_
6526         (floats): ditto
6527         (floats): ditto
6528
6529         * FloatList.[Ch] (FloatList): remove commented out float
6530         initialization.
6531         (erase): new function
6532
6533 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6534
6535         * MenuBackend.C (expandToc): fix crash when there is no document
6536         open
6537
6538 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6539
6540         * many files: Add insetwrap.
6541
6542 2002-09-09  John Levon  <levon@movementarian.org>
6543
6544         * text2.C: remove confusing and awkward depth wraparound
6545
6546 2002-09-09  John Levon  <levon@movementarian.org>
6547
6548         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6549
6550         * buffer.h:
6551         * buffer.C: remove getIncludeonlyList()
6552
6553         * paragraph.C:
6554         * lyxfunc.C: remove headers
6555
6556 2002-09-09  Juergen Vigna  <jug@sad.it>
6557
6558         * text.C (getColumnNearX): fix form Michael this is most
6559         probably a cut&paste bug.
6560
6561 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6564
6565         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6566         references, ws changes.
6567
6568         * text2.C (init): update counters after init
6569         (insertParagraph): no need to set counter on idividual paragraphs.
6570         (setCounter): access the counters object in the textclass object
6571         on in the buffer object.
6572         (updateCounters): ditto
6573
6574         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6575         shared_ptr<Counters> to avoid loading counters.h in all
6576         compilation units.
6577         (LyXTextClass): initialize ctrs_
6578         (TextClassTags): add TC_COUNTER, and ...
6579         (Read): use it here.
6580         (CounterTags): new tags
6581         (readCounter): new function
6582         (counters): new funtion
6583         (defaultLayoutName): return a const reference
6584
6585         * counters.C (Counters): remove contructor
6586         (newCounter): remove a couple of unneeded statements.
6587         (newCounter): simplify a bit.
6588         (numberLabel): some small formatting changes.
6589
6590         * buffer.[Ch]: remove all traces of counters, move the Counters
6591         object to the LyXTextClass.
6592
6593 2002-09-06  Alain Castera  <castera@in2p3.fr>
6594
6595         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6596         package to set the horizontal alignment on fixed width columns.
6597
6598         * lyx_sty.C:
6599         * lyx_sty.h: added tabularnewline macro def.
6600
6601         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6602
6603 2002-09-06  John Levon  <levon@movementarian.org>
6604
6605         * LyXAction.C: tooltips for sub/superscript
6606
6607         * MenuBackend.C: a bit more verbose
6608
6609         * lyxfunc.C: tiny clean
6610
6611         * undo_funcs.C: document undo_frozen
6612
6613 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * counters.C (Counters): add missing algorithm counter.
6616
6617         * text2.C (setCounter): lookup the counter with layouts latexname
6618         instead of by section number.
6619         (setCounter): use a hackish way to lookup the correct enum
6620         counter.
6621         a float name->type change
6622         reset enum couners with counter name directly instead of depth value.
6623
6624         * counters.C (Counters): remove the push_backs, change to use the
6625         float type not the float name.
6626         (labelItem): remove unused string, float name->type change
6627
6628         * counters.h: don't include vector, loose the enums and sects vectors
6629
6630 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6633         (Read): add float->TC_FLOAT to textclassTags
6634         (Read): and handle it in the switch
6635         (readFloat): new function
6636
6637         * FloatList.C (FloatList): comment out the hardcoded float
6638         definitions.
6639
6640         * lyxlayout.h: ws change.
6641
6642 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6643
6644         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6645
6646 2002-09-03  Angus Leeming  <leeming@lyx.org>
6647
6648         * BufferView_pimpl.h: qualified name is not allowed in member
6649         declaration: WorkArea & Pimpl::workarea() const;
6650
6651         * factory.C: added using std::endl directive.
6652
6653         * text3.C: added using std::find and std::vector directives.
6654
6655 2002-08-29  André Pönitz <poenitz@gmx.net>
6656
6657         * lyxtext.h:
6658         * text2.C: remove unused member number_of_rows
6659
6660         * Makefile.am:
6661         * BufferView2.C: remove file, move contents to...
6662         * BufferView.C: ... here
6663
6664         * BufferView_pimpl.C:
6665         * factory.C: move more inset creation to factory
6666
6667         * vspace.C: avoid direct usage of LyXText, ws changes
6668
6669         * BufferView.[Ch]:
6670                 don't provide direct access to WorkArea, use two simple
6671                 acessors haveSelction() and workHeight() instead
6672
6673
6674 2002-08-29  John Levon  <levon@movementarian.org>
6675
6676         * BufferView_pimpl.C (dispatch): do not continue when
6677           no buffer
6678
6679 2002-08-28  André Pönitz <poenitz@gmx.net>
6680
6681         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6682
6683         * BufferView.h:
6684         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6685
6686 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6687
6688         * buffer.C: increment LYX_FORMAT to 221
6689
6690         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6691         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6692
6693         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6694
6695         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6696
6697 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6698
6699         * factory.C (createInset): use LyXTextClass::floats
6700
6701         * MenuBackend.C (expandFloatListInsert):
6702         (expandFloatInsert):
6703         (expandToc):
6704
6705         * text2.C (setCounter):
6706
6707         * LaTeXFeatures.C (useFloat):
6708         (getFloatDefinitions):
6709
6710         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6711
6712         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6713         floatlist_, with accessor floats().
6714
6715         * FloatList.h: remove global FloatList
6716
6717 2002-08-26  André Pönitz <poenitz@gmx.net>
6718
6719         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6720
6721         * BufferView.h:
6722         * BufferView2.C:
6723         * BufferView_pimpl.C:
6724         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6725
6726 2002-08-25  John Levon  <levon@movementarian.org>
6727
6728         * LyXAction.C: fix margin note description
6729
6730 2002-08-24  John Levon  <levon@movementarian.org>
6731
6732         * buffer.C:
6733         * bufferlist.C:
6734         * bufferview_funcs.C:
6735         * lyxfont.C:
6736         * undo_funcs.C: cleanups
6737
6738         * lyxfunc.C: disable CUT/COPY when no selection
6739
6740 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6741
6742         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6743         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6744
6745         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6746         Add backward compatibility to "mono", "gray" and "no".
6747
6748 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6749
6750         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6751         (and file_format >= 200).
6752
6753 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6754
6755         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6756
6757 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6758
6759         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6760
6761 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6762
6763         * BufferView_pimpl.C:
6764         * LyXAction.C:
6765         * buffer.C:
6766         * commandtags.h:
6767         * lyxfunc.C:
6768         * paragraph.[Ch]:
6769         * text2.C:
6770         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6771         inset and code to make it  work with the paragraph code. The inset
6772         can be anywhere in the paragraph, but will only do the expected
6773         thing in LaTeX if the layout file contains the parameter line
6774                         OptionalArgs    1
6775         (or more generally, a nonzero value) for that layout.
6776
6777 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * paragraph.h: remove the declaration of undefined counters class
6780         function.
6781
6782 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6783
6784         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6785         Dr. Richard Hawkins.
6786
6787 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6788
6789         * paragraph_funcs.h: remove some unneeded includes
6790
6791         * text.C (backspace): pasteParagraph now in global scipe
6792
6793         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6794         (pasteSelection): ditto
6795
6796         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6797         * paragraph_funcs.C (pasteParagraph): ... here
6798
6799 2002-08-20  André Pönitz <poenitz@gmx.net>
6800
6801         * commandtags.h: new LFUNs for swapping/copying table row/colums
6802
6803         * LyXAction.C:
6804         * lyxfunc.C: support for new lfuns
6805
6806 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * tabular.C:
6809         * buffer.[Ch]: remove NO_COMPABILITY stuff
6810
6811 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * boost.C (throw_exception): new file, with helper function for
6814         boost compiled without exceptions.
6815
6816         * paragraph.h:
6817         * lyxlength.C:
6818         * buffer.C:
6819         * ParameterStruct.h:
6820         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6821
6822         * bufferlist.C (emergencyWriteAll): use boost bind
6823
6824         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6825
6826         * text.C: include paragraph_funcs.h
6827         (breakParagraph): breakParagraph is now in global scope
6828
6829         * paragraph_funcs.[Ch]: new files
6830
6831         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6832         global scope
6833
6834         * buffer.C: include paragraph_funcs.h
6835         (insertStringAsLines): breakParagraph is now in global scope
6836
6837         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6838         paragraph_funcs.C
6839
6840         * CutAndPaste.C: include paragraph_funcs.h
6841         (cutSelection): breakParagraphConservative is now in global scope
6842         (pasteSelection): ditto
6843
6844         * buffer.h: declare oprator== and operator!= for
6845         Buffer::inset_iterator
6846
6847         * bufferlist.C (emergencyWrite): don't use fmt(...)
6848
6849         * text3.C: add using std::endl
6850
6851         * BufferView.C (moveCursorUpdate): remove default arg
6852
6853 2002-08-20  André Pönitz <poenitz@gmx.net>
6854
6855         * buffer.[Ch]: move inline functions to .C
6856
6857         * BufferView2.C:
6858         * BufferView_pimpl.C:
6859         * text.C:
6860         * buffer.[Ch]: use improved inset_iterator
6861
6862         * buffer.C:
6863         * paragraph.[Ch]: write one paragraph at a time
6864
6865 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6866
6867         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6868         style if style is not specified.
6869
6870 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6871
6872         * text2.C (setCounter): when searching for right label for a
6873         caption, make sure to recurse to parent insets (so that a caption
6874         in a minipage in a figure float works) (bug #568)
6875
6876 2002-08-20  André Pönitz <poenitz@gmx.net>
6877
6878         * text3.C: new file for LyXText::dispatch() and helpers
6879
6880         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6881
6882         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6883
6884 2002-08-19  André Pönitz <poenitz@gmx.net>
6885
6886         * lyxtext.h:
6887         * text.C: new LyXText::dispatch()
6888
6889         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6890
6891 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6892
6893         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6894
6895         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6896         Hebrew text.
6897
6898 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6899
6900         * Makefile.am: use $(variables) instead of @substitutions@
6901
6902 2002-08-15  André Pönitz <poenitz@gmx.net>
6903
6904         * lyxfunc.C:
6905         * BufferView_pimpl.C: streamlining mathed <-> outer world
6906         interaction
6907
6908         * commandtags.h:
6909         * LyXAction.C: remove unused LFUN_MATH
6910
6911 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6914
6915 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * paragraph.C (Paragraph): reformat a bit
6918         (cutIntoMinibuffer): use builtin InsetList function instad of
6919         doing it manually.
6920         (getInset): ditto
6921
6922         * buffer.C: include boost/bind.hpp, add using std::for_each
6923         (writeFileAscii): use ParagraphList iterators
6924         (validate): use for_each for validate traversal of paragraphs
6925         (getBibkeyList): use ParagraphList iterators
6926         (resizeInsets): use for_each to resizeInsetsLyXText for all
6927         paragraphs.
6928         (getParFromID): use ParagraphList iterators
6929
6930         * BufferView2.C (lockInset): use paragraph list and iterators
6931
6932 2002-08-14  John Levon  <levon@movementarian.org>
6933
6934         * lyxserver.C: remove spurious xforms include
6935
6936 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6937
6938         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6939
6940 2002-08-13  André Pönitz <poenitz@gmx.net>
6941
6942         * LyXAction.[Ch]:
6943         * lyxfunc.C: further cleaning
6944
6945 2002-08-13  André Pönitz <poenitz@gmx.net>
6946
6947         * funcrequest.h: new constructor
6948
6949         * funcrequest.C: move stuff here from .h
6950
6951         * Makefile.am:
6952         * BufferView_pimpl.C:
6953         * LyXAction.C:
6954         * toc.C:
6955         * lyxfunc.C: subsequent changes
6956
6957         * lyxfunc.h: new view() member function
6958
6959         * lyxfunc.C: subsequent changes
6960
6961 2002-08-13  Angus Leeming  <leeming@lyx.org>
6962
6963         * BufferView2.C:
6964         * BufferView_pimpl.C:
6965         * buffer.C:
6966         * converter.C:
6967         * importer.C:
6968         * lyxfunc.C:
6969         * lyxvc.C:
6970         * toc.C:
6971         * vc-backend.C:
6972         changes due to the changed LyXView interface that now returns references
6973         to member variables not pointers.
6974
6975 2002-08-13  Angus Leeming  <leeming@lyx.org>
6976
6977         * WordLangTuple (word, lang_code): return references to strings,
6978         not strings.
6979
6980         * BufferView.h:
6981         * SpellBase.h:
6982         * lyxtext.h: forward-declare WordLangTuple.
6983
6984         * BufferView2.C:
6985         * ispell.C:
6986         * pspell.C:
6987         * text.C: #include "WordLangTuple.h".
6988
6989         * lyxtext.h:
6990         * text.C: (selectNextWordToSpellcheck): constify return type.
6991
6992 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6993
6994         * buffer.C:
6995         * buffer.h:
6996         * lyxtext.h:
6997         * paragraph.C:
6998         * paragraph_pimpl.h:
6999         * text.C:
7000         * text2.C:
7001         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7002         suggested by Angus.
7003         Made updateCounter always count from start of buffer, and removed
7004         second argument (par).
7005         Reverted floats number display to '#'. Perhaps I'll try again when the
7006         code base is sanitized a bit.
7007
7008 2002-08-12  Angus Leeming  <leeming@lyx.org>
7009
7010         * buffer.[Ch] (getLabelList): constify.
7011
7012 2002-08-07  André Pönitz <poenitz@gmx.net>
7013
7014         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7015
7016         * funcrequest.h: extension to keep mouse (x,y) position
7017
7018 2002-08-12  Juergen Vigna  <jug@sad.it>
7019
7020         * BufferView2.C (insertErrors): forbid undo when inserting error
7021         insets.
7022
7023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7024
7025 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * ParagraphList.[Ch]: new files
7028
7029         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7030
7031         * BufferView2.C (lockInset): ParagraphList changes
7032         * toc.C: ditto
7033         * text2.C: ditto
7034         * bufferlist.C: ditto
7035         * buffer.h: ditto
7036         * buffer.C: ditto
7037
7038 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7041         unused class variable counter_,
7042
7043         * paragraph.[Ch] (getFirstCounter): delete unused function
7044
7045         * counters.C: include LAssert.h
7046         (reset): add a new function with no arg, change other version to
7047         not have def. arg and to not allow empty arg.
7048
7049         * text2.C (setCounter): remove empty arg from call to Counters::reset
7050
7051 2002-08-11  John Levon  <levon@movementarian.org>
7052
7053         * Makefile.am: add WordLangTuple.h
7054
7055 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7058         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7059
7060         * insets/insettext.C: InsetList changes
7061
7062         * graphics/GraphicsSupport.C (operator()): InsetList changes
7063
7064         * toc.C (getTocList): InsetList changes
7065
7066         * paragraph_pimpl.[Ch]: InsetList changes
7067
7068         * paragraph.[Ch]: InsetList changes
7069
7070         * buffer.C (inset_iterator): InsetList changes
7071         (setParagraph): ditto
7072         * buffer.h (inset_iterator): ditto
7073         * iterators.C (operator++): ditto
7074         * iterators.h: ditto
7075
7076         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7077
7078         * InsetList.[Ch]: new files, most InsetList handling moved out of
7079         paragraph.C.
7080
7081         * BufferView2.C (removeAutoInsets): InsetList changes
7082         (lockInset): ditto
7083         (ChangeInsets): ditto
7084
7085 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * paragraph_pimpl.h (empty): new function
7088
7089         * paragraph.[Ch] (empty): new function
7090
7091         * other files: use the new Paragraph::empty function
7092
7093 2002-08-09  John Levon  <levon@movementarian.org>
7094
7095         * lyxtext.h: remove unused refresh_height
7096
7097 2002-08-09  John Levon  <levon@movementarian.org>
7098
7099         * Makefile.am:
7100         * sgml.h:
7101         * sgml.C:
7102         * buffer.C:
7103         * paragraph.h:
7104         * paragraph.C: move sgml char escaping out of paragraph
7105
7106         * paragraph.h:
7107         * paragraph.C: remove id setter
7108
7109         * buffer.C:
7110         * paragraph.C:
7111         * paragraph_pimpl.C: remove dead tex_code_break_column
7112
7113         * bufferview_funcs.C: small cleanup
7114
7115         * lyxfunc.C: remove dead proto
7116
7117         * lyxtext.h: make some stuff private. Remove some dead stuff.
7118
7119         * lyxgluelength.C: make as[LyX]String() readable
7120
7121 2002-08-08  John Levon  <levon@movementarian.org>
7122
7123         * LyXAction.h:
7124         * LyXAction.C:
7125         * MenuBackend.C:
7126         * ToolbarDefaults.C:
7127         * lyxfunc.C:
7128         * lyxrc.C:
7129         * toc.C: lyxaction cleanup
7130
7131 2002-08-08  John Levon  <levon@movementarian.org>
7132
7133         * BufferView2.C: small cleanup
7134
7135         * lyxfind.h:
7136         * lyxfind.C: move unnecessary header into the .C
7137
7138 2002-08-08  John Levon  <levon@movementarian.org>
7139
7140         * funcrequest.h: just tedious nonsense
7141
7142         * lyx_main.h:
7143         * lyx_main.C: cleanups
7144
7145         * buffer.C:
7146         * vspace.C: remove dead header lyx_main.h
7147
7148 2002-08-07  Angus Leeming  <leeming@lyx.org>
7149
7150         * Paragraph.[Ch]:
7151         * paragraph_pimpl.h:
7152         Forward declare class Counters in paragraph.h by moving the ctrs member
7153         variable into Paragraph::Pimpl.
7154         (counters): new method, returning a reference to pimpl_->ctrs.
7155
7156         * text2.C: ensuing changes.
7157
7158 2002-08-07  John Levon  <levon@movementarian.org>
7159
7160         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7161
7162         * BufferView_pimpl.C: announce X selection on double/triple
7163           click
7164
7165         * lyx_main.C: use correct bool in batch dispatch
7166
7167         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7168
7169 2002-08-07  André Pönitz <poenitz@gmx.net>
7170
7171         * funcrequest.h: new class to wrap a kb_action and its argument
7172
7173         * BufferView.[Ch]:
7174         * BufferView_pimpl[Ch]:
7175         * LaTeX.C:
7176         * LyXAction.[Ch]:
7177         * lyxfunc.[Ch]:
7178         * lyxrc.C: subsequent changes
7179
7180
7181 2002-08-07  John Levon  <levon@movementarian.org>
7182
7183         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7184           document options change.
7185
7186 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7187
7188         * counters.[Ch]
7189         * text2.C
7190         * paragraph.[Ch]
7191         * makefile.am: move counters functionality over from
7192         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7193
7194 2002-08-06  John Levon  <levon@movementarian.org>
7195
7196         * WordLangTuple.h: new file for word + language code tuple
7197
7198         * SpellBase.h:
7199         * pspell.h:
7200         * pspell.C:
7201         * ispell.h:
7202         * ispell.C:
7203         * lyxtext.h:
7204         * text.C:
7205         * text2.C:
7206         * BufferView.h:
7207         * BufferView2.C: use WordLangTuple
7208
7209         * layout.h:
7210         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7211
7212 2002-08-06  John Levon  <levon@movementarian.org>
7213
7214         * lyx_main.C: fix cmdline batch handling
7215
7216 2002-08-06  André Pönitz <poenitz@gmx.net>
7217
7218         * lyxrc.C: set default for show_banner to true
7219
7220 2002-08-06  John Levon  <levon@movementarian.org>
7221
7222         * pspell.C: fix a crash, and allow new aspell to work
7223
7224 2002-08-06  John Levon  <levon@movementarian.org>
7225
7226         * lyxfunc.C:
7227         * kbmap.C: small cleanup
7228
7229         * vspace.h:
7230         * vspace.C: add const
7231
7232 2002-08-05  John Levon  <levon@movementarian.org>
7233
7234         * LyXAction.C: back to tabular-insert
7235
7236 2002-08-04  John Levon  <levon@movementarian.org>
7237
7238         * BufferView.h:
7239         * BufferView.C: cosmetic change
7240
7241         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7242
7243         * bufferlist.C:
7244         * buffer.h:
7245         * buffer.C:
7246         * lyxcb.h:
7247         * lyxcb.C:
7248         * lyxserver.C:
7249         * lyxvc.C:
7250         * vc-backend.C:
7251         * BufferView2.C: purge all "Lyx" not "LyX" strings
7252
7253         * lyxcursor.h:
7254         * lyxcursor.C: attempt to add some documentation
7255
7256         * lyxfunc.C:
7257         * commandtags.h:
7258         * LyXAction.C:
7259         * ToolbarDefaults.C:
7260         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7261           merge with LFUN_TABULAR_INSERT
7262
7263         * Makefile.am:
7264         * SpellBase.h:
7265         * ispell.h:
7266         * ispell.C:
7267         * pspell.h:
7268         * pspell.C: split up i/pspell implementations into separate
7269           files, many cleanups
7270
7271         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7272
7273         * text2.C: some cleanup
7274
7275         * lyxfunc.C: don't check for isp_command == "none" any more, it
7276           didn't make any sense
7277
7278 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7279
7280         * counters.[Ch]
7281         * text2.C
7282         * paragraph.[Ch]
7283         * makefile.am: move counters functionality over
7284         from text2.C/paragraph.[Ch] to counters.[Ch], and
7285         make proper C++.
7286 2002-08-02  John Levon  <levon@movementarian.org>
7287
7288         * buffer.C: s/lyxconvert/lyx2lyx/
7289
7290 2002-08-02  Angus Leeming  <leeming@lyx.org>
7291
7292         * lyxlex.C: revert John's change as it breaks reading of the user
7293         preamble.
7294
7295 2002-08-02  Angus Leeming  <leeming@lyx.org>
7296
7297         * importer.C (Import):
7298         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7299         changes due to LyXView::view() now returning a boost::shared_ptr.
7300
7301 2002-08-02  John Levon  <levon@movementarian.org>
7302
7303         * lyxlex.C: small cleanup
7304
7305 2002-08-02  John Levon  <levon@movementarian.org>
7306
7307         * text2.C (status): small cleanup, no logic change
7308
7309 2002-08-01  John Levon  <levon@movementarian.org>
7310
7311         * buffer.h:
7312         * buffer.C (writeFile): don't output alerts, caller
7313           handles this
7314
7315         * bufferlist.C:
7316         * lyx_cb.C: from above
7317
7318         * lyxfunc.C: allow to open non-existent files
7319
7320 2002-07-31  John Levon  <levon@movementarian.org>
7321
7322         * lyxserver.C: don't let incidental errors get
7323           in the way (errno)
7324
7325 2002-07-30  John Levon  <levon@movementarian.org>
7326
7327         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7328
7329 2002-07-30  John Levon  <levon@movementarian.org>
7330
7331         * lyxserver.h:
7332         * lyxserver.C: remove I/O callback too
7333
7334 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7335
7336         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7337         log.
7338
7339 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * many files: strip,frontStrip -> trim,ltrim,rtrim
7342
7343 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * PrinterParams.h: remove extern containsOnly, and include
7346         support/lstrings.h instead.
7347
7348         * LaTeX.C (scanAuxFile): modify because of strip changes
7349         (deplog): ditto
7350         * buffer.C (makeLaTeXFile): ditto
7351         * bufferparams.C (writeFile): ditt
7352         * lyxfont.C (stateText): ditto
7353         * lyxserver.C (read_ready): ditto
7354         * vc-backend.C (scanMaster): ditto
7355
7356         * BufferView_pimpl.h: ws changes
7357
7358         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7359
7360 2002-07-26  André Pönitz <poenitz@gmx.net>
7361
7362         * kb_sequence.C: remove unnedred usings
7363
7364 2002-07-26  Juergen Vigna  <jug@sad.it>
7365
7366         * lyxfind.C (LyXReplace): we have to check better if the returned
7367         text is not of theLockingInset()->getLockingInset().
7368
7369 2002-07-25  Juergen Vigna  <jug@sad.it>
7370
7371         * lyxfind.C (LyXReplace): don't replace if we don't get the
7372         right LyXText.
7373
7374         * undo_funcs.C (createUndo): remove debugging code.
7375
7376 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7377
7378         * buffer.C (parseSingleLyXformat2Token): Use default placement
7379         when reading old floats.
7380
7381         * FloatList.C (FloatList): Change the default placement of figure
7382         and tables to "tbp".
7383
7384 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7385
7386         * MenuBackend.C: using std::max
7387
7388 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7389
7390         * MenuBackend.C (expandToc):
7391         (expandToc2): code moved from xforms menu frontend. It is now
7392         generic and TOCs are transparent to menu frontends.
7393
7394 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7395
7396         * toc.C (getTocList): protect against buf=0
7397
7398         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7399         Menu as first parameter. Now, this calls itself recursively to
7400         expand a whole tree (this will be useful for TOC handling)
7401         (expandFloatInsert): remove 'wide' version of floats
7402
7403         * MenuBackend.h (submenuname): returns the name of the submenu.
7404         (submenu): returns the submenu itself, provided it has been
7405         created by MenuBackend::expand
7406
7407 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7410         insets which have noFontChange == true. (bug #172)
7411
7412 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7413
7414         * BufferView_pimpl.C: add connection objects and use them...
7415         (Pimpl): here.
7416
7417 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7418
7419         * MenuBackend.C (expandLastfiles):
7420         (expandDocuments):
7421         (expandFormats):
7422         (expandFloatListInsert):
7423         (expandFloatInsert):
7424         (expand): split expand in parts
7425
7426 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7427
7428         * lyx_gui.C: use lyx_gui::exit()
7429
7430 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * LyXAction.C: show the failing pseudo action
7433
7434 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7435
7436         * buffer.C (readFile): Run the lyxconvert script in order to read
7437         old files.
7438
7439 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7440
7441         * LyXAction.C:
7442         * commandtags.h:
7443         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7444
7445 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7446
7447         * LyXAction.C:
7448         * commandtags.h:
7449         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7450
7451 2002-07-22  Herbert Voss  <voss@lyx.org>
7452
7453         * lengthcommon.C:
7454         * lyxlength.[Ch]: add support for the vertical lengths
7455
7456 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7457
7458         * toc.[Ch]: std:: fixes
7459
7460 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7461
7462         * lyxrc.C: do not include lyx_main.h
7463
7464         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7465         for layouts
7466
7467         * lyxrc.C:
7468         * encoding.C:
7469         * bufferlist.C:
7470         * BufferView2.C: include "lyxlex.h"
7471
7472         * tabular.h:
7473         * bufferparams.h: do not #include "lyxlex.h"
7474
7475         * lyxtextclasslist.C (Add): remove method
7476         (classlist): renamed to classlist_
7477
7478         * paragraph_pimpl.C:
7479         * paragraph.C:
7480         * text2.C:
7481         * CutAndPaste.C:
7482         * bufferview_funcs.C:
7483         * bufferlist.C:
7484         * text.C:
7485         * LaTeXFeatures.C:
7486         * buffer.C:
7487         * toc.C (getTocList): use BufferParams::getLyXTextClass
7488
7489         * toc.C (getTocList): use InsetFloat::addToToc
7490
7491         * toc.[Ch]: new files, containing helper functions to handle table
7492         of contents
7493
7494         * lyxfunc.C (dispatch): no need to remove spaces around command
7495         given as a string
7496         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7497         first command of the sequence; it is not very clever, but I do not
7498         have a better idea, actually
7499
7500         * LyXAction.C (LookupFunc): make sure to remove space at the
7501         beginning and end of the command
7502
7503 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7504
7505         * MenuBackend.C (getMenubar): new method: return the menubar of
7506         this menu set
7507         (read): treat differently reading of menu and menubar (in
7508         particular, the menubar has no name now)
7509         (Menu::menubar): remove
7510
7511         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7512         saving is finished
7513
7514 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7515
7516         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7517         a bibitem inset in a RTL paragraph.
7518
7519 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7520
7521         * paragraph_pimpl.C: constify
7522
7523         * BufferView_pimpl.C:
7524         * LaTeX.C:
7525         * lyxfunc.C: fix dispatch in a nicer way
7526
7527 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7528
7529         * lyxfunc.C (dispatch):
7530         * BufferView_pimpl.C:
7531         * BufferView_pimpl.h:
7532         * BufferView.C:
7533         * BufferView.h: rename Dispatch() to dispatch()
7534
7535         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7536
7537         * lyxlayout.C (Read): honor DependsOn tag
7538
7539         * lyxlayout.[Ch] (depends_on): new method
7540
7541         * version.C.in: update lyx_docversion
7542
7543         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7544
7545         * paragraph.C (validate): remove from here...
7546         * paragraph_pimpl.C (validate): ... and move here
7547         (isTextAt): make it const
7548
7549         * buffer.C (getLists): ws cleanup
7550
7551 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7552
7553         * language.C (read): Use iso8859-1 encoding in latex_lang
7554         (this prevents LyX from crashing when using iso10646-1 encoding).
7555
7556 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * text2.C (toggleInset): if cursor is inside an inset, close the
7559         inset and leave cursor _after_ it
7560
7561 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7562
7563         * lyxfunc.C: move minibuffer completion handling out of here
7564
7565 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7566
7567         * BufferView_pimpl.C:
7568         * LaTeX.C: fix dispatch calls
7569
7570 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7571
7572         * text.C (drawChars): Fix Arabic text rendering.
7573
7574 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7575
7576         * LyXAction.C:
7577         * commandtags.h:
7578         * lyxfunc.C: remove message-push/pop
7579
7580         * lyxserver.C:
7581         * lyxfunc.h:
7582         * lyxfunc.C: rationalise some code by removing verboseDispatch
7583           in favour of a bool argument to dispatch()
7584
7585 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7586
7587         * lyx_main.C (init): make sure to read symlinks as absolute paths
7588
7589 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * lyxfunc.h:
7592         * lyxfunc.C: no need for commandshortcut to be a member
7593
7594 2002-07-15  André Pönitz <poenitz@gmx.net>
7595
7596         * converter.C: add support for $$s (scripts from lib/scripts dir)
7597         * lyx_main.C: white space
7598
7599 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7600
7601         * bufferlist.C:
7602         * lyxrc.h:
7603         * lyxrc.C: remove second exit confirmation
7604
7605 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7606
7607         * BufferView.h:
7608         * BufferView.C:
7609         * BufferView2.C:
7610         * BufferView_pimpl.h:
7611         * BufferView_pimpl.C:
7612         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7613
7614 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * MenuBackend.C (expand): add numeric shortcuts to document menu
7617
7618         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7619
7620 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7621
7622         * lyxfont.C (setLyXFamily):
7623         (setLyXSeries):
7624         (setLyXShape):
7625         (setLyXSize):
7626         (setLyXMisc):
7627         (lyxRead):
7628         * debug.C (value):
7629         * buffer.C (asciiParagraph): use ascii_lowercase
7630
7631 2002-07-15  Mike Fabian  <mfabian@suse.de>
7632
7633         * lyxlex_pimpl.C (search_kw):
7634         * lyxlex.C (getLongString):
7635         * converter.h (operator<):
7636         * converter.C (operator<):
7637         * buffer.C (parseSingleLyXformat2Token):
7638         (asciiParagraph):
7639         * ToolbarDefaults.C (read):
7640         * MenuBackend.C (checkShortcuts):
7641         (read):
7642         * LColor.C (getFromGUIName):
7643         (getFromLyXName): use the compare_ascii_no_case instead of
7644         compare_no_case, because in turkish, 'i' is not the lowercase
7645         version of 'I', and thus turkish locale breaks parsing of tags.
7646
7647 2002-07-16  Angus Leeming  <leeming@lyx.org>
7648
7649         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7650         now takes a Buffer const & argument.
7651
7652 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * BufferView.C (resize): check there's a buffer to resize
7655
7656 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7657
7658         * lyxfunc.C: remove dead code
7659
7660         * lyxserver.h:
7661         * lyxserver.C: use lyx_guii::set_read_callback
7662
7663 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7664
7665         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7666         an inset in a RTL paragraph.
7667
7668 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7669
7670         * lyxfunc.C: repaint after a font size update
7671
7672 2002-07-15  André Pönitz <poenitz@gmx.net>
7673
7674         * lyxlength.C: inBP should be able to return negative values
7675
7676 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7677
7678         * lyxfunc.C: use lyx_gui::update_fonts()
7679
7680 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7681
7682         * lyxfunc.C: use lyx_gui::update_color()
7683
7684 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7685
7686         * bufferlist.C:
7687         * lyxfunc.h:
7688         * lyxfunc.C:
7689         * lyxrc.h:
7690         * lyxrc.C: remove file->new asks for name option, and let
7691           buffer-new take an argument
7692
7693 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7694
7695         * BufferView_pimpl.C: remove unneeded extra repaint()
7696
7697 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7698
7699         * LyXAction.C: allow command-sequence with NoBuffer
7700
7701         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7702
7703 2002-07-10  Angus Leeming  <leeming@lyx.org>
7704
7705         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7706
7707 2002-07-09  Angus Leeming  <leeming@lyx.org>
7708
7709         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7710
7711 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7712
7713         * lengthcommon.h: whitespace
7714
7715         * lyxfunc.C: update scrollbar after goto paragraph
7716
7717         * lyxtext.h: factor out page break drawing, and fix it so
7718           page break/added space paints as selected nicely
7719
7720 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7721
7722         * BufferView_pimpl.C: add FIXMEs, clean up a little
7723
7724 2002-07-09  André Pönitz <poenitz@gmx.net>
7725
7726         * lyxfont.[Ch]: support for wasy symbols
7727
7728 2002-07-08  André Pönitz <poenitz@gmx.net>
7729
7730         * BufferView_pimpl.C: apply John's patch for #93.
7731
7732 2002-07-05  Angus Leeming  <leeming@lyx.org>
7733
7734         * BufferView_pimpl.C (buffer): generate previews if desired.
7735
7736         * LColor.h: add "preview" to the color enum.
7737
7738         * LColor.C (LColor): add a corresponding entry to the items array.
7739
7740         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7741         with this buffer.
7742
7743 2002-07-05  Angus Leeming  <leeming@lyx.org>
7744
7745         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7746         The body of the code is now in the method that is passed an ostream &
7747         rather than a file name.
7748         Pass an additional only_preamble parameter, useful for the forthcoming
7749         preview stuff.
7750
7751 2002-07-03  André Pönitz <poenitz@gmx.net>
7752
7753         * lyxfunc.C: simplify getStatus() a bit for math stuff
7754
7755 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7756
7757         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7758
7759 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7760
7761         * text.C (changeRegionCase): do not change case of all the
7762         document when region ends at paragraph end (bug #461)
7763
7764 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7765
7766         * paragraph.C (startTeXParParams):
7767         (endTeXParParams): add \protect when necessary
7768
7769 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7770
7771         * BufferView_pimpl.C (workAreaExpose): remove warning
7772
7773 2002-06-27  Angus Leeming  <leeming@lyx.org>
7774
7775         * Makefile.am: add lyxlayout_ptr_fwd.h.
7776
7777 2002-06-26  André Pönitz <poenitz@gmx.net>
7778
7779         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7780
7781 2002-06-25  Angus Leeming  <leeming@lyx.org>
7782
7783         * lyxfunc.C (dispatch): Comment out the call to
7784         grfx::GCache::changeDisplay. The method no longer exists now that the
7785         pixmap generation part of the graphics loader has been moved into
7786         InsetGraphics.
7787
7788 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7789
7790         * text2.C: layout as layout
7791
7792         * text.C: layout as layout
7793
7794         * tabular.C (OldFormatRead): layout as layout
7795
7796         * paragraph_pimpl.C (TeXDeeper): layout as layout
7797         (realizeFont): layout as layout
7798
7799         * paragraph.C (writeFile): layout as layout
7800         (validate): layout as layout
7801         (getFont): layout as layout
7802         (getLabelFont): layout as layout
7803         (getLayoutFont): layout as layout
7804         (breakParagraph): layout as layout
7805         (stripLeadingSpaces): layout as layout
7806         (getEndLabel): layout as layout
7807         (getMaxDepthAfter): layout as layout
7808         (applyLayout): layout as layout
7809         (TeXOnePar): layout as layout
7810         (simpleTeXOnePar): layout as layout
7811         (TeXEnvironment): layout as layout
7812         (layout): layout as layout
7813         (layout): layout as layout
7814
7815         * lyxtextclass.C (compare_name): new functor to work with
7816         shared_ptr, layout as layout
7817         (Read): layout as layout
7818         (hasLayout): layout as layout
7819         (operator): layout as layout
7820         (delete_layout): layout as layout
7821         (defaultLayout): layout as layout
7822
7823         * lyxlayout_ptr_fwd.h: new file
7824
7825         * lyxlayout.C (Read): layout as layout
7826
7827         * lyx_cb.C (MenuInsertLabel): layout as layout
7828
7829         * bufferlist.C (newFile): layout as layout
7830
7831         * buffer.C (readLyXformat2): layout as layout
7832         (parseSingleLyXformat2Token): layout as layout
7833         (insertStringAsLines): layout as layout
7834         (asciiParagraph): layout as layout
7835         (latexParagraphs): layout as layout
7836         (makeLinuxDocFile): layout as layout
7837         (simpleLinuxDocOnePar): layout as layout
7838         (makeDocBookFile): layout as layout
7839         (simpleDocBookOnePar): layout as layout
7840         (getLists): layout as layout
7841
7842         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7843
7844         * CutAndPaste.C (cutSelection): layout as layout
7845         (pasteSelection): layout as layout
7846         (SwitchLayoutsBetweenClasses): layout as layout
7847
7848         * BufferView_pimpl.C (Dispatch): layout as layout
7849         (smartQuote): layout as layout
7850
7851         * BufferView2.C (unlockInset): layout as layout
7852
7853 2002-06-24  André Pönitz <poenitz@gmx.net>
7854
7855         * lyxfunc.C: fix #487
7856
7857 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * lyxrc.h:
7860         * lyxrc.C:
7861         * lyxfunc.C: remove display_shortcuts, show_banner
7862
7863 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7864
7865         * Buffer_pimpl.C: oops, update on resize
7866
7867 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7868
7869         * buffer.C:
7870         * converter.C:
7871         * exporter.C:
7872         * lyxfunc.C:
7873         * BufferView.h:
7874         * BufferView.C: use repaint()
7875
7876         * BufferView_pimpl.h:
7877         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7878           as it's a clearer description. Remove superfluous
7879           redraws.
7880
7881 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * text.C: fix bug 488. Not ideal, but getting
7884           getWord() to work properly for the insets that
7885           matter is more difficult ...
7886
7887 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7888
7889         * BufferView_pimpl.C:
7890         * LyXAction.C:
7891         * commandtags.h:
7892         * lyxfunc.C: remove the six million index lyxfuncs to just
7893           one, and DTRT (bug 458)
7894
7895 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7896
7897         * BufferView.h:
7898         * BufferView.C:
7899         * BufferView_pimpl.h:
7900         * BufferView_pimpl.C: clean up resize() stuff,
7901           and unnecessary updateScreen()s
7902
7903 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7904
7905         * BufferView.h:
7906         * BufferView.C:
7907         * BufferView_pimpl.h:
7908         * BufferView_pimpl.C:
7909         * lyxfind.h:
7910         * lyxfind.C:
7911         * minibuffer.C: remove focus management of workarea,
7912           not needed. Use screen's greyOut()
7913
7914 2002-06-17  Herbert Voss  <voss@lyx.org>
7915
7916         * converter.C: (convert) do not post a message, when converting
7917         fails, let the calling function decide what to do in this case
7918
7919 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * lyxfunc.C: tidy up a little
7922
7923 2002-06-16    <alstrup@diku.dk>
7924
7925         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7926         Got rid of FORMS_H_LOCATION include. Now we are
7927         GUII.
7928
7929 2002-06-15  LyX Development team  <lyx@rilke>
7930
7931         * buffer.[Ch] (sgmlOpenTag):
7932         (sgmlCloseTag): Added support for avoiding pernicious mixed
7933         content. Return number of lines written.
7934
7935         (makeLinuxDocFile):
7936         (makeDocBookFile): Fixed calls to sgml*Tag.
7937         Simple white space clean.
7938
7939         (simpleDocBookOnePar): Simple white space clean.
7940
7941         * tabular.[Ch] (docBook): Renamed to docbook and got another
7942         argument to related with the pernicious mixed content.
7943
7944         (docbookRow): Fixed calls for docbook inset method.
7945
7946 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7947
7948         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7949         so it's X11 independent.
7950
7951         * kb*.[Ch]: ditto.
7952
7953         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7954
7955 2002-06-15  Lyx Development team  <lyx@electronia>
7956
7957         * intl.h: Renamed getTrans to getTransManager.
7958
7959 2002-06-14  Angus Leeming  <leeming@lyx.org>
7960
7961         * Makefile.am: nuke forgotten stl_string_fwd.h.
7962
7963 2002-06-12  Angus Leeming  <leeming@lyx.org>
7964
7965         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7966
7967 2002-06-13  Angus Leeming  <leeming@lyx.org>
7968
7969         * LaTeX.C:
7970         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7971
7972 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7973
7974         * kbmap.C (getiso): add support for cyrillic and greek
7975
7976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7977
7978         * BufferView.h:
7979         * BufferView.C:
7980         * BufferView_pimpl.h:
7981         * BufferView_pimpl.C: move bogus scrolling logic
7982           to xforms
7983
7984 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * lyxfunc.C:
7987         * BufferView_pimpl.C: view->resize() change
7988
7989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7990
7991         * BufferView_pimpl.C: topCursorVisible
7992           prototype change
7993
7994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * Makefile.am:
7997         * lyx_gui.h:
7998         * lyx_gui.C: move to frontends/
7999
8000         * main.C:
8001         * lyx_main.h:
8002         * lyx_main.C: changes from above
8003
8004 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * intl.C:
8007         * intl.h:
8008         * kbmap.C:
8009         * kbsequence.C:
8010         * lyx_cb.C:
8011         * lyx_main.C: minor tidy
8012
8013 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8014
8015         * BufferView_pimpl.h:
8016         * BufferView_pimpl.C:
8017         * BufferView.h:
8018         * BufferView.C: make painter() const,
8019           remove dead code
8020
8021         * BufferView2.C: use screen() accessor
8022
8023         * lyx_main.h:
8024         * lyx_main.C: some minor cleanup
8025
8026 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8027
8028         * BufferView_pimpl.h:
8029         * BufferView_pimpl.C: remove enter/leaveView,
8030           use workHeight()
8031
8032 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8033
8034         * BufferView.h:
8035         * BufferView.C:
8036         * BufferView2.C:
8037         * BufferView_pimpl.h:
8038         * BufferView_pimpl.C: only construct screen once,
8039           rename
8040
8041         * lyxrc.C: remove pointless comment
8042
8043 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8044
8045         * BufferView.h:
8046         * BufferView.C: remove active() and belowMouse()
8047
8048         * BufferView_pimpl.h:
8049         * BufferView_pimpl.C: use workarea() not workarea_,
8050           and make it use a scoped_ptr instead
8051
8052 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8053
8054         * lyx_gui.C: add debug message on BadWindow
8055
8056 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8057
8058         * sp_spell.C: fdopen is not part of the C++ standard.
8059
8060         * paragraph.C (InsetIterator): use >= instead of ==
8061
8062 2002-06-07  Angus Leeming  <leeming@lyx.org>
8063
8064         Fixes needed to compile with Compaq cxx 6.5.
8065         * BufferView_pimpl.C:
8066         * DepTable.C:
8067         * buffer.C:
8068         * converter.C:
8069         * encoding.C:
8070         * lyx_gui.C:
8071         * lyx_main.C:
8072         * lyxtextclasslist.C:
8073         * minibuffer.C:
8074         * sp_spell.C:
8075         * tabular_funcs.C:
8076         * vc-backend.C:
8077         all c-library variables have been moved into namespace std. Wrap
8078         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8079
8080         * lyxlength.C:
8081         * tabular-old.C:
8082         * tabular.C:
8083         Add a using std::abs declaration.
8084
8085         * kbmap.h (modifier_pair):
8086         * paragraph.h (InsetTable, InsetList):
8087         * lyxfont.h (FontBits):
8088         type definition made public.
8089
8090         * bufferlist.C (emergencyWriteAll): the compiler complains that
8091         there is more than one possible lyx::class_fun template to choose from.
8092         I re-named the void specialisation as lyx::void_class_fun.
8093
8094         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8095
8096         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8097         the compiler is is unable to find tostr in write_attribute.
8098
8099 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8100
8101         * buffer.C (sgmlError): hide #warning
8102
8103 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8104
8105         * xtl/*: get rid of xtl, which is not in use anyway
8106
8107         * LyXAction.C (init):
8108         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8109         were unimplemented xtl experimentation
8110
8111 2002-06-04  André Pönitz <poenitz@gmx.net>
8112
8113         * lyxfunc.C: disable array operation on simple formulae
8114
8115 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8116
8117         * converter.C: constify a bit
8118
8119 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * lyx_gui.C: check xforms version correctly
8122
8123 2002-04-30  Herbert Voss  <voss@lyx.org>
8124
8125         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8126         "keep" option
8127
8128 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8129
8130         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8131           attempt to register it with a VCS)
8132
8133 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8134
8135         * lyx_main.C (init): honor variables LYX_DIR_13x and
8136         LYX_USERDIR_13x
8137
8138 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * buffer.h:
8141         * buffer.C:
8142         * lyx_main.C: fix a crash on bad command line,
8143           and give a useful exit status on error
8144
8145         * lyxfunc.C (doImport): allow -i lyx to work
8146
8147 2002-03-30  André Pönitz <poenitz@gmx.net>
8148
8149         * lyxfunc.C: mathed font changes
8150
8151 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8152
8153         * LaTeX.C:
8154         * importer.h:
8155         * importer.C:
8156         * lyx_sty.h:
8157         * lyx_sty.C:
8158         * lyxlex.C:
8159         * lyxrow.h:
8160         * lyxtext.h:
8161         * paragraph.h:
8162         * paragraph.C:
8163         * texrow.h:
8164         * texrow.C:
8165         * text.C:
8166         * trans_mgr.h: srcdocs, and some minor cleanups
8167
8168 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8169
8170         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8171         call getFont all the time)
8172
8173 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8174
8175         * switch from SigC signals to boost::signals
8176
8177 2002-05-29  André Pönitz <poenitz@gmx.net>
8178
8179         * paragraph_pimpl.C (getChar): don't call size() too often...
8180
8181 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * paragraph_pimpl.C (insertChar): do not try to update tables when
8184         appending (pos == size())
8185
8186         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8187         in order to reduce drastically the number of comparisons needed to
8188         parse a large document
8189
8190 2002-05-29  André Pönitz <poenitz@gmx.net>
8191
8192         * text.C:
8193         * text2.C:
8194         * lyxtextclass.C:
8195         * sp_pspell.h:
8196         * textclasslist.[Ch]:
8197         * sp_ispell.h: whitespace change
8198
8199 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8200
8201         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8202         lyxaction directly now.
8203
8204 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * trans.C:
8207         * lyxfont.C:
8208         * lyxvc.C: remove unused headers
8209
8210 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * Makefile.am:
8213         * buffer.h:
8214         * undostack.h:
8215         * undostack.C:
8216         * undo_funcs.h:
8217         * undo_funcs.C: some cleanups. Use shared_ptr
8218           and a template for the undo stacks.
8219
8220 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * BufferView_pimpl.h:
8223         * BufferView_pimpl.C:
8224         * kbmap.h:
8225         * kbmap.C:
8226         * kbsequence.h:
8227         * kbsequence.C:
8228         * lyxfunc.h:
8229         * lyxfunc.C:
8230         * text2.C: use key_state/mouse_state
8231
8232 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8235         and LSubstring
8236
8237         * chset.C: change include order
8238         (loadFile): use boost regex and get rid of LRegex and LSubstring
8239
8240         * Makefile.am (BOOST_LIBS): new variable
8241         (lyx_LDADD): use it
8242
8243         * LaTeX.C: change include order.
8244         (scanAuxFile): use boost regex and get rid of LRegex and
8245         LSubstring
8246         (deplog): ditto
8247
8248 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8249
8250         * ColorHandler.h:
8251         * ColorHandler.C:
8252         * FontInfo.h:
8253         * FontInfo.C: moved to frontends/xforms/
8254
8255         * FontLoader.h:
8256         * FontLoader.C: moved into frontends for GUIIzation
8257
8258         * Makefile.am:
8259         * lyx_gui.C:
8260         * lyxfont.C:
8261         * lyxfunc.C: changes from above
8262
8263 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * LColor.C: remove spurious X include
8266
8267         * BufferView_pimpl.C:
8268         * Makefile.am:
8269         * font.h:
8270         * font.C:
8271         * text.C:
8272         * text2.C: move font metrics to frontends/
8273
8274 2002-05-24  Juergen Vigna  <jug@sad.it>
8275
8276         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8277         setting the undo_cursor.
8278
8279         * ParagraphParameters.h: include local includes first.
8280
8281 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8282
8283         * BufferView_pimpl.C:
8284         * BufferView_pimpl.h:
8285         * Makefile.am:
8286         * WorkArea.h:
8287         * WorkArea.C:
8288         * screen.C: move WorkArea into frontends/
8289
8290         * lyxscreen.h:
8291         * screen.C:
8292         * text.C:
8293         * BufferView.C:
8294         * BufferView2.C: move LyXScreen into frontends/
8295
8296         * lyxlookup.h:
8297         * lyxlookup.C:
8298         * lyx_gui.C: move lyxlookup into frontends/xforms/
8299
8300 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8301
8302         * BufferView2.C:
8303         * BufferView_pimpl.C:
8304         * FontLoader.C:
8305         * LyXView.h:
8306         * LyXView.C:
8307         * Makefile.am:
8308         * WorkArea.C:
8309         * XFormsView.h:
8310         * XFormsView.C:
8311         * buffer.C:
8312         * bufferlist.C:
8313         * bufferview_funcs.C:
8314         * converter.C:
8315         * importer.C:
8316         * lyx_cb.C:
8317         * lyx_gui.C:
8318         * lyx_main.C:
8319         * lyx_find.C:
8320         * lyxfunc.C:
8321         * lyxvc.C:
8322         * minibuffer.C:
8323         * text.C:
8324         * text2.C:
8325         * trans.C:
8326         * vc-backend.C: move LyX/XFormsView into frontends/
8327
8328 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8329
8330         * Makefile.am:
8331         * PainterBase.C:
8332         * PainterBase.h:
8333         * Painter.C:
8334         * Painter.h:
8335         * WorkArea.C:
8336         * WorkArea.h:
8337         * screen.C:
8338         * tabular.C:
8339         * text.C:
8340         * text2.C: move Painter to frontends/
8341
8342 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8343
8344         * buffer.C: comment out some some code that depend upon lyx_format
8345         < 220
8346
8347         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8348         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8349
8350         * buffer.h (NO_COMPABILITY): turn off compability
8351
8352         * ColorHandler.C: include scoped_array.hpp
8353
8354         * font.C: Use more specific smart_ptr header.
8355         * Painter.C: ditto
8356         * gettext.C: ditto
8357         * ShareContainer.h: ditto
8358         * lyx_main.h: ditto
8359         * kbmap.h: ditto
8360         * FontInfo.h: ditto
8361         * BufferView_pimpl.h: ditto
8362         * ColorHandler.h: ditto
8363
8364         * kbmap.C (defkey): change call to shared_ptr::reset
8365
8366 2002-05-21  Juergen Vigna  <jug@sad.it>
8367
8368         * buffer.C (insertErtContents): fix to insert ert asis if it is
8369         non empty. Skip it completely if it contains only whitespaces.
8370
8371 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * BufferView_pimpl.C:
8374         * BufferView2.C: clear selection on paste (bug 393)
8375
8376 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8377
8378         * DepTable.C: include ctime
8379
8380 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8381
8382         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8383
8384 2002-05-14  Juergen Vigna  <jug@sad.it>
8385
8386         * text.C (breakParagraph): fixed function to honor the keepempty
8387         layout in the right maner and also to permit the right breaking
8388         algorithm on empty or non empyt keepempty paragraphs.
8389
8390         * paragraph.C (breakParagraph): we have to check also if the par
8391         is really empty (!size()) for isempty otherwise we do the wrong
8392         paragraph break.
8393
8394 2002-05-10  Juergen Vigna  <jug@sad.it>
8395
8396         * buffer.[Ch] : The following are only changes to the ert
8397         compatibility read reading old LaTeX layout and font stuff and
8398         convert it to ERTInsets.
8399
8400         * buffer.h: added isErtInset().
8401
8402         * buffer.C (struct ErtComp): add a fromlayout bool to check
8403         if we're inside a LaTeX layout.
8404         (isErtInset): new helper function.
8405         (insertErtContents): look for other ert insets before this one
8406         and insert the contents there, so that we don't have subsequent
8407         ERT insets with nothing between them. This way we create only one
8408         inset with multiple paragraphs. Also check if we don't insert only
8409         spaces ' ' as they are ignored anyway afterwards in the .tex file
8410         so if we have only spaces we will ignore this latex part in the
8411         new file.
8412         (parseSingleLyXformat2Token \\layout): better compatibility when
8413         reading layout-latex stuff.
8414         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8415         language tag.
8416         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8417         stuff after reading the inset only get the information back from
8418         the stack.
8419
8420 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8421
8422         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8423
8424         * LaTeXFeatures.C (getBabelOptions): New method.
8425
8426 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8427
8428         * BufferView_pimpl.C (Dispatch): work around missing argument for
8429         'layout'
8430
8431 2002-05-08  Juergen Vigna  <jug@sad.it>
8432
8433         * text.C (leftMargin): handle paragraph leftindent.
8434
8435         * paragraph.C (writeFile): write the new \\leftindent tag.
8436         (validate): handle leftindent code.
8437         (TeXEnvironment): handle paragraphleftindent code again.
8438
8439         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8440
8441         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8442         for paragrap_extra indent code and new token \\leftindent.
8443         (latexParagraphs): handle the leftindent as environment.
8444
8445         * ParameterStruct.h: added leftindent support.
8446
8447         * ParagraphParameters.C (leftIndent): added support functions for
8448         the paragraph left indent.
8449
8450         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8451         more appropriate.
8452
8453 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8454
8455         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8456         inside insetERT.
8457
8458         * text.C (computeBidiTables): No bidi in insetERT.
8459
8460         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8461         in RTL documents.
8462
8463 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8464
8465         * version.C.in: pre 5
8466
8467 2002-05-02  José Matos  <jamatos@fep.up.pt>
8468         * buffer.C (makeDocBookFile): white space changes, add newline to
8469         command styles.
8470         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8471
8472         * tabular.C (docBook): fix typo.
8473
8474 2002-05-03  Juergen Vigna  <jug@sad.it>
8475
8476         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8477         change in LyXText as we can not be sure it was not freed.
8478         (drawOneRow): remove unused code.
8479
8480         * text.C (drawInset): redo the calculation of the need_break_row as
8481         it could have a row which was already freed.
8482         (draw): look at the return value of drawInset and return false if
8483         it also returned false.
8484         (paintRowText): look at the return value of draw and return false if
8485         it also returned false.
8486
8487         * lyxtext.h: added bool return type to drawInset() and draw() so that
8488         if we have a change in the row so that the rowbreak has to be redone
8489         we abort drawing as it will be called again.
8490
8491 2002-05-02  Juergen Vigna  <jug@sad.it>
8492
8493         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8494         a change in the maintext also if we're inside an inset.
8495         (Dispatch): set the cursor again after a break line and after the
8496         screen has been updated as it could be we're in a different row.
8497
8498         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8499         to set the cursor behind the pargraph with > size().
8500         (setCursor): check also for the same paragraph when checking where
8501         to put the cursor if we have a NFR inset.
8502
8503         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8504         parts of layout read further up as it still was in the wrong
8505         position.
8506
8507 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8508
8509         * screen.C (drawFromTo): change sine fullRebreak always return
8510         true.
8511
8512         * buffer.C (parseSingleLyXformat2Token): reindent some
8513
8514         * BufferView_pimpl.C (update): change since fullRebreak always
8515         return true.
8516         (Dispatch): git rid of the last hardcoded "Standard"s.
8517
8518 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8519
8520         * text2.[Ch] (fullRebreak): make it return void now that we always
8521         returned true.
8522
8523 2002-04-30  Juergen Vigna  <jug@sad.it>
8524
8525         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8526         ert compatibility check for "latex" layout.
8527
8528 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8529
8530         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8531         minipages: use col% instead of p%, and also use the current font.
8532         (makeLaTeXFile): Fix use babel condition.
8533         (parseSingleLyXformat2Token): Correct font when reading old floats.
8534
8535 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8536
8537         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8538         inserting list of floats.
8539
8540 2002-04-25  Herbert Voss  <voss@lyx.org>
8541
8542         * MenuBackend.C (expand): don't add the graphics extensions to the
8543         export menu
8544
8545 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8546
8547         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8548         non-existing layout, do not complain if it was the default layout
8549         of the original class (bug #342)
8550
8551 2002-04-24  Juergen Vigna  <jug@sad.it>
8552
8553         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8554         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8555
8556 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8557
8558         * buffer.C (getBibkeyList): If using \bibliography, return the
8559         option field with the reference itself. Enables us to provide natbib
8560         support when using \bibliography.
8561
8562 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8563
8564         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8565
8566         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8567         natbib is provided by the LaTeX class.
8568
8569 2002-04-23  Juergen Vigna  <jug@sad.it>
8570
8571         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8572         Wakeup functions.
8573
8574         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8575
8576 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8577
8578         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8579
8580         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8581         ensuremath around textordmasculine, textordfeminine and
8582         textdegree.
8583
8584 2002-04-19  Juergen Vigna  <jug@sad.it>
8585
8586         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8587         reinitializing the buffer otherwise row-dimensions may be wrong.
8588         (update): reset also the selection cursors if they do exits otherwise
8589         their x/y positions may be wrong.
8590
8591         * text2.C (cursorDown): don't enter the inset if we came from a row
8592         above and are one row over the inset.
8593
8594         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8595         really leaving an inset.
8596
8597 2002-04-18  Juergen Vigna  <jug@sad.it>
8598
8599         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8600         of the selected paragraph does not have the selected layout also if
8601         the last one had!
8602
8603         * text2.C (setLayout): fixed bug which did not change last selected
8604         paragraph.
8605
8606         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8607         changed the read and substituted \\end_float with \\end_inset!
8608
8609         * BufferView_pimpl.C (cursorPrevious):
8610         (cursorNext): fixed to make it work with rows heigher than the work
8611         area without moving the cursor only the draw of the row.
8612         (workAreaMotionNotify): fix jumping over high rows.
8613
8614 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8615
8616         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8617         Ressler.
8618
8619 2002-04-16  Juergen Vigna  <jug@sad.it>
8620
8621         * text2.C (setCursor): set also the irow().
8622         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8623         (cursorUp):
8624         (cursorDown): support for locking an inset if the x_fix value goes
8625         inside it. That way I can transverse insets too with cursor up/down.
8626
8627         * lyxrow.h: added irow helper function same as other (i) functions.
8628
8629         * BufferView_pimpl.C (cursorPrevious):
8630         (cursorNext): fixed for insets!
8631
8632 2002-04-15  Juergen Vigna  <jug@sad.it>
8633
8634         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8635         position otherwise it is wrong in some cases.
8636
8637         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8638         inside the inset before the call.
8639
8640 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8641
8642         * buffer.[Ch] (getBibkeyList): make it const.
8643
8644 2002-04-12  Juergen Vigna  <jug@sad.it>
8645
8646         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8647
8648         * text2.C (getCursorX): new helper function
8649         (setCursor): compute also ix_
8650         (setCursorFromCoordinates): set also ix.
8651
8652         * lyxcursor.h: added ix_ and helper functions.
8653
8654         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8655
8656         * buffer.C (insertStringAsLines): dont break paragraph if the this
8657         paragraph is inside an inset which does not permit it!
8658
8659         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8660         also with no chars on this paragraph.
8661         (paintRowText): only paint stuff if it's inside the workarea!
8662
8663         * paragraph.C (breakParagraph): honor keepempty flag and break the
8664         paragraph always below not above.
8665
8666         * BufferView2.C (unlockInset): update the paragraph layout on inset
8667         unlock as we changed paragraph in such a case.
8668
8669         * lyxfind.C (LyXFind): clear the former selection if not found!
8670
8671         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8672         again called in insertChar().
8673
8674         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8675         an inset which uses the whole row!
8676         (rightMargin): ditto.
8677         (insertChar): force a rebreak if we inserted an inset!
8678
8679 2002-03-28  Herbert Voss  <voss@lyx.org>
8680
8681         * lyxlength.[Ch]: add inBP() to get the right PS-point
8682         units (BigPoint). With inPixels we have rounding errors
8683
8684 2002-04-11  Juergen Vigna  <jug@sad.it>
8685
8686         * text2.C (setCursorFromCoordinates): set iy to the right value.
8687         (setCursor): add check if row->previous exists!
8688
8689         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8690         an old float_type as this was the case in the old code!
8691
8692         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8693
8694         * BufferView2.C (showLockedInsetCursor): use iy
8695         (fitLockedInsetCursor): ditto
8696
8697         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8698         locked insets as there we have the right value now.
8699
8700         * lyxcursor.C: added iy_ variable and iy functions to set to the
8701         baseline of cursor-y of the locked inset.
8702
8703         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8704         (setCursor): fixed for insets which need a full row.
8705
8706         * text.C (rowLastPrintable): don't ignore the last space when before
8707         an inset which needs a full row.
8708         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8709         as last character of a row when before a inset which needs a full row.
8710
8711 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8712
8713         * version.C.in: update date
8714
8715         * text2.C (fullRebreak): try to always return true and see what
8716         happens...
8717
8718 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * MenuBackend.C (expand): use Floating::listName
8721
8722         * FloatList.C (FloatList): add listName argument to the built-in
8723         floats
8724
8725         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8726         text associated with the float.
8727
8728 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8731
8732 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8733
8734         * ShareContainer.h: add a couple of missing typenames.
8735
8736 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8737
8738         * lyxrc.C (getDescription): use _() correctly rather than N_().
8739
8740 2002-03-28  Herbert Voss  <voss@lyx.org>
8741
8742         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8743         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8744
8745 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8746
8747         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8748         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8749
8750 2002-03-29  Juergen Vigna  <jug@sad.it>
8751
8752         * lyxfunc.C (dispatch): add a missing fitCursor call.
8753
8754         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8755         it was scrolled by a cursor move, so return the bool status.
8756
8757         * BufferView.C (fitCursor): return the bool flag also to the outside
8758         world as this is needed.
8759
8760         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8761
8762         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8763         call the edit() as it is not needed (and wrong) IMO.
8764         (workAreaButtonPress): set the screen_first variable before evt.
8765         unlock the inset as this may change screen_first and then we have
8766         a wrong y position for the click!
8767
8768 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * MenuBackend.C (expand): another translation that I missed
8771
8772 2002-03-28  Juergen Vigna  <jug@sad.it>
8773
8774         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8775
8776         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8777
8778 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8779
8780         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8781
8782         * MenuBackend.C (expand): fix export/view/update when there is no
8783         document open.
8784
8785 2002-03-27  Herbert Voss  <voss@lyx.org>
8786
8787         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8788         and text%
8789
8790 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * bufferview_funcs.C (currentState): only show paragraph number
8793         for is DEVEL_VERSION is set.
8794
8795         * lyxfunc.C (dispatch): put warning in INFO channel
8796
8797         * MenuBackend.C (expand): translate the name of floats
8798
8799         * FloatList.C (FloatList): mark the float names for translation
8800
8801         * converter.C (convert): use LibScriptSearch
8802
8803 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * MenuBackend.C (defaults): fix default menu (we might as well get
8806         rid of it...)
8807
8808 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8809
8810         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8811         directory.
8812
8813 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8814
8815         * lyxvc.C: reorder includes.
8816
8817 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8818
8819         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8820           properly
8821
8822 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8823
8824         * CutAndPaste.C: change layouts earlier on paste
8825           to avoid crashing when calling getFont()
8826
8827 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8828
8829         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8830         irritating #error.
8831
8832 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8833
8834         * WorkArea.C: remove 'Pending' debug message.
8835
8836         * most files: ws cleanup
8837
8838         * buffer.[Ch]: ws changes
8839
8840         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8841
8842 2002-03-21  Juergen Vigna  <jug@sad.it>
8843
8844         * tabular.C (SetMultiColumn): collapse also the contents of the
8845         cells and set the last border right. Added a Buffer const * param.
8846
8847 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8850         linking or not.
8851
8852 2002-03-19  Juergen Vigna  <jug@sad.it>
8853
8854         * text2.C (clearSelection): reset also xsel_cache.
8855
8856         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8857         where it needs to be called (John tells us to do so too :)
8858         (selectionLost): reset sel_cache.
8859
8860         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8861
8862 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * text2.C (setCursorIntern): put debuging code in INSETS channel
8865
8866 2002-03-19  André Pönitz <poenitz@gmx.net>
8867
8868         * lyxfunc.C: tiny whitespace change
8869
8870 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * ToolbarDefaults.C (init):
8873         * LyXAction.C (init):
8874         * commandtags.h:
8875         * BufferView_pimpl.C (Dispatch):
8876         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8877
8878 2002-03-19  Allan Rae  <rae@lyx.org>
8879
8880         * exporter.C (Export): removeAutoInsets before doing anything else.
8881         While I've just introduced a dependency on BufferView this really is
8882         the best place to clean the buffer otherwise you need to cleanup in
8883         a dozen places before calling export or cleanup in a dozen functions
8884         that export calls.
8885
8886         * converter.C (runLaTeX):
8887         (scanLog): Better handling of removeAutoInsets and screen updates.
8888
8889         * lyxfunc.C (dispatch): small whitespace changes
8890
8891 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * WorkArea.C (C_WorkAreaEvent): return a value.
8894         (event_cb): return 1 if we handled the event, 0 otherwise.
8895
8896         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8897
8898 2002-03-18  Juergen Vigna  <jug@sad.it>
8899
8900         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8901         (GetAdditionalWidth): ditto.
8902         (RightLine): ditto.
8903         (LeftLine): ditto.
8904
8905         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8906         inset if we're there actually (probably not used right now but this
8907         is the direction to go for unifying code).
8908         (paste): disable code to clear the selection.
8909
8910         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8911         inside an InsetText and move the check further up as it is in the
8912         wrong place.
8913
8914         * text2.C (pasteSelection): set a selection over the pasted text.
8915
8916 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8917
8918         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8919         and libgraphics to build on Cygwin.
8920
8921 2002-03-15  Juergen Vigna  <jug@sad.it>
8922
8923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8924         inserting an Inset into the paragraph. I know this is not the best
8925         fix but we already use current_view in CutAndPaste so we will remove
8926         all of it's using at the same time.
8927
8928         * buffer.C (sgmlError): deactivated function till it is rewritten in
8929         the right mode, now it can create problems.
8930
8931         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8932         before accessing it.
8933
8934 2002-03-14  Juergen Vigna  <jug@sad.it>
8935
8936         * undo_funcs.C (textHandleUndo): do the right thing when updating
8937         the inset after the undo/redo.
8938
8939         * text2.C (setCursor): just some testcode for #44 not ready yet.
8940
8941         * undo_funcs.C (textHandleUndo): set the next() and previous()
8942         pointers of the paragraph to 0 before deleting otherwise we have
8943         problems with the Paragraph::[destructor].
8944
8945         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8946         on a paragraph insertion.
8947
8948 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8949
8950         * buffer.C (asciiParagraph): use += operator for char append to
8951         string.
8952
8953         * paragraph.C (getFontSettings): compare >= not just >
8954         (highestFontInRange): ditto
8955         (setFont): ditto
8956
8957 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * paragraph.C: change several algorithm to be more appripriate for
8960         the problem domain. This is lookip in FontList and in the InsetList.
8961
8962 2002-03-13  André Pönitz <poenitz@gmx.net>
8963
8964         * commandtags.h:
8965         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8966
8967 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * commandtags.h:
8970         * LyXAction.C:
8971         * lyxfunc.C:
8972         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8973
8974 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8975
8976         * Painter.C (display): anon helper function, adjust code for this
8977         change.
8978         (pixmap): remove function.
8979
8980         * Painter.h: remove private display variable.
8981
8982         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8983
8984 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8985
8986         * WorkArea.[Ch]: remove figinset_canvas cruft.
8987
8988 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8989
8990         * lyxtextclass.C (operator): add one item cache optimization.
8991
8992         * bufferlist.h: doxy changes
8993
8994         * bufferlist.C: ws changes
8995
8996         * DepTable.[Ch] (ext_exist): place const in the right spot.
8997
8998         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8999         call resizeInsets.
9000         (workAreaExpose): call resizeInsets when the with BufferView changes.
9001         (Dispatch): adjust for protectedBlank removal
9002         (specialChar): call updateInset if the insert went ok.
9003
9004         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9005         specialChar instead.
9006
9007         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9008
9009         * BufferView.h: doxy change
9010
9011         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9012
9013         * lyxtextclass.C (operator[]): remove non-const version
9014         (defaultLayout): remove non-const version
9015
9016 2002-03-12  Juergen Vigna  <jug@sad.it>
9017
9018         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9019         did resize the LyXText too.
9020
9021         * buffer.C (readLyXformat2): set layout information on newly allocated
9022         paragraphs.
9023
9024         * tabular.C (OldFormatRead): set layout information on the paragraph.
9025
9026 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9027
9028         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9029
9030 2002-03-11  Juergen Vigna  <jug@sad.it>
9031
9032         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9033         plainly wrong.
9034         (resizeCurrentBuffer): force also the insets to resize themselfes.
9035         (moveCursorUpdate): fixed up for InsetText.
9036
9037 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9038
9039         * commandtags.h:
9040         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9041         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9042         value of Dialogs::tooltipsEnabled().
9043         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9044
9045 2002-03-08  Juergen Vigna  <jug@sad.it>
9046
9047         * BufferView_pimpl.C (updateInset): update inset inside inset also
9048         if it isn't inside theLockingInset().
9049
9050 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9051
9052         * buffer.C (asciiParagraph): redo some of the word and line length
9053         handling.
9054         (getLists): look for Caption instead of caption.
9055
9056 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9057
9058         * buffer.C (Buffer): initialize niceFile to true
9059         (makeLaTeXFile):
9060         (makeLinuxDocFile):
9061         (makeDocBookFile): make sure niceFile is true on exit
9062
9063 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9066
9067 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9068
9069         * LyXSendto.C: remove.
9070         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9071         * lyx_gui.C: remove now-redundant comment.
9072         * ColorHandler.h: remove forward declaration of class WorkArea.
9073         * lyxfunc.C: remove #include "WorkArea.h".
9074
9075 2002-03-07  Juergen Vigna  <jug@sad.it>
9076
9077         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9078         got moved away with the DEPM and also set the inset_owner always
9079         right which before could have been omitted.
9080
9081 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9084         wanted layout is not found.
9085
9086 2002-03-07  Juergen Vigna  <jug@sad.it>
9087
9088         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9089
9090 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * paragraph.C (breakParagraph): use default layout not layout of
9093         prev paragraph.
9094         (Paragraph): clear ParagraphParameters.
9095
9096 2002-03-06  Juergen Vigna  <jug@sad.it>
9097
9098         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9099         otherwise it would not be a valid lenght. Fixed a special case in
9100         the minipage compatibility read where we end the document with a
9101         minipage.
9102
9103         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9104         was set as it could be 0 for InsetTexts first entry.
9105
9106 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * paragraph.C (writeFile): if layout is empty write out
9109         defaultLayoutName().
9110
9111         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9112         file without named layout we set layout to defaultLayoutName().
9113
9114 2002-03-06  Juergen Vigna  <jug@sad.it>
9115
9116         * CutAndPaste.C (copySelection): set layout for new paragraph.
9117
9118         * text.C (prepareToPrint): leave ERT inset left aligned
9119         (leftMargin): don't indent paragraphs inside ERT insets
9120
9121 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9122
9123         * paragraph.C (breakParagraph): dont call clear do the work manually
9124
9125         * paragraph.[Ch] (clear): remove function
9126
9127 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9128
9129         * paragraph.C (Paragraph): dont call clear, the work has already
9130         been done.
9131
9132         * lyxtextclass.C (operator): assert if n is empty
9133
9134         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9135         work manually instead.
9136
9137 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9138
9139         * BufferView_pimpl.C: protect selectionLost against text == 0
9140
9141 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * text.C (breakParagraph): fix a setting layout to '0' problem.
9144
9145 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9146
9147         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9148         final location of file, for the included files, and graphics.
9149
9150 2002-03-05  Juergen Vigna  <jug@sad.it>
9151
9152         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9153
9154 2002-03-04  Juergen Vigna  <jug@sad.it>
9155
9156         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9157
9158         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9159         last column of multicolumn cells.
9160         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9161
9162 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9163
9164         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9165         file if it doesn't go to a temporary file.
9166
9167         * buffer.C (sgmlOpenTag):
9168         (sgmlCloseTag):  remove extra newline insertion.
9169
9170 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9171
9172         * text.C (getRowNearY): comment out debug msg
9173
9174 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9175
9176         * text2.C: first -> first_y
9177
9178         * text.C (getRowNearY): add some attemts at a possible
9179         optimization, not working.
9180
9181         * tabular.[Ch]: add BufferParams to several function so that newly
9182         created paragraph can be initialized to he default layotu for the
9183         buffers textclass.
9184
9185         * tabular-old.C (ReadOld): add buf->params to call of Init
9186
9187         * screen.C: rename text->first to text->first_y
9188
9189         * paragraph.C (breakParagraph): always set layout in the broken
9190         paragraph
9191
9192         * lyxtextclass.C (Read): remove lowercase
9193         (hasLayout): ditto
9194         (operator): ditto
9195         (delete_layout): ditto
9196
9197         * lyxtext.h: rename first -> first_y
9198
9199         * lyxlayout.C (Read): remove lowercase
9200         (name): ditto
9201         (setName): ditto
9202         (obsoleted_by): ditto
9203
9204         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9205
9206         * buffer.C (insertErtContents): add params are to InsetERT
9207         (parseSingleLyXformat2Token): add code to check if a paragraphs
9208         layout really exist.
9209         (parseSingleLyXformat2Token): add params to several inset
9210         constructors
9211         (asciiParagraph): remove lowercase, do the layout comparisons with
9212         no_case
9213
9214         * BufferView_pimpl.C (cursorNext): first -> first_y
9215         (resizeCurrentBuffer): first -> first_y
9216         (updateScrollbar): first -> first_y
9217         (scrollCB): first -> first_y
9218         (workAreaMotionNotify): first -> first_y
9219         (workAreaButtonPress): first -> first_y
9220         (checkInsetHit): first -> first_y
9221         (cursorPrevious): first -> first_y
9222         (cursorNext): first -> first_y
9223         (Dispatch): add buffer_->params to severl inset contructors
9224
9225 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9226
9227         * lyxlayout.C (Read): remove some debug info that I forgot.
9228
9229         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9230         clean up the code slightly.
9231         (makeLinuxDocFile): ditto
9232         (makeDocBookFile): ditto
9233
9234         * text2.C: layout as string
9235
9236         * text.C: layout as string
9237
9238         * paragraph_pimpl.C: layout as string
9239
9240         * paragraph.[Ch]: layout as string
9241
9242         * lyxtextclasslist.[Ch]: layout as string
9243
9244         * lyxtextclass.[Ch]: layout as string
9245
9246         * lyxtext.h: layout as string
9247
9248         * lyxlayout.[Ch]: layout as string
9249
9250         * lyx_cb.C: layout as string
9251
9252         * bufferview_funcs.C: layout as string
9253
9254         * bufferparams.C: layout as string
9255
9256         * buffer.C: layout as string
9257
9258         * LyXView.[Ch]: layout as string
9259
9260         * LaTeXFeatures.[Ch]: layout as string
9261
9262         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9263
9264         * BufferView_pimpl.C: change current_layout to string, remove
9265         lyx::layout_type.
9266         (Dispatch):
9267         (smartQuote):
9268         (insertInset):
9269         (workAreaButtonRelease): layout as string
9270
9271         * BufferView2.C (unlockInset): adjust
9272
9273         * vspace.C (asLatexCommand): use an explict temp variable.
9274
9275 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * Makefile.am: use FRONTEND_*
9278
9279 2002-03-01  Juergen Vigna  <jug@sad.it>
9280
9281         * tabular.C (SetWidthOfMulticolCell): changed to something better
9282         I hope but still work in progress.
9283         (recalculateMulticolumnsOfColumn): renamed function from
9284         recalculateMulticolCells as it is more appropriate now.
9285         (SetWidthOfCell): calculate multicols better.
9286
9287 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9290
9291         * lyxfunc.C (processKeySym): print sequence also if it is
9292         `deleted' (complete)
9293
9294         * kbsequence.C (print): print sequence even if it is deleted
9295         (complete would be a better word, actually).
9296
9297         * lyxfunc.C (dispatch): print complete options after a prefix key
9298
9299         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9300
9301 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9302
9303         * text2.C (setCharFont): eliminate setCharFont code duplication.
9304
9305 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9308         LFUN_TABULAR_FEATURE (bug #177)
9309
9310 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9311
9312         * Makefile.am: remove figure.h
9313
9314 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9315
9316         * Bufferview_pimpl.C:
9317         * CutAndPasteC:
9318         * LaTeX.C:
9319         * LyXSendto.C:
9320         * buffer.C:
9321         * bufferlist.C:
9322         * converter.C:
9323         * language.C:
9324         * lyxfunc.C:
9325         * lyxvc.C:
9326         * paragraph.C:
9327         * text.C:
9328         * text2.C: remove #include "lyx_gui_misc.h".
9329
9330         * LaTeX.C: added #include <cstdio>
9331
9332 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9335         that the paragraph following this one can have.
9336
9337         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9338
9339         * vspace.C (asLatexCommand): fix bogus gcc warning
9340
9341         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9342
9343 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9344
9345         * text2.C (setLayout): get rid of redundant code
9346
9347 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9348
9349         * text2.C (incDepth): make sure depth cannot be increased beyond
9350         reasonable values.
9351
9352 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9353
9354         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9355         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9356
9357         * PainterBase.h (image):
9358         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9359         a LyXImage const *.
9360
9361 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9362
9363         * BufferView.C:
9364         * BufferView.h:
9365         * BufferView_pimpl.C:
9366         * BufferView_pimpl.h:
9367         * LaTeXFeatures.C:
9368         * LyXAction.C:
9369         * LyXView.C:
9370         * Makefile.am:
9371         * UpdateList.h:
9372         * UpdateList.C:
9373         * buffer.C:
9374         * figure.h:
9375         * figureForm.C:
9376         * figureForm.h:
9377         * figure_form.C:
9378         * figure_form.h:
9379         * lyx_cb.C:
9380         * lyx_gui.C:
9381         * lyx_gui_misc.C:
9382         * lyxfunc.C:
9383         * sp_base.h:
9384         * sp_ispell.h:
9385         * sp_pspell.h:
9386         * sp_spell.C: remove fig inset, and the crap house of
9387           cards that follows it
9388
9389 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9390
9391         * Makefile.am:
9392         * lyxserver.C:
9393         * os2_defines.h:
9394         * os2_errortable.h:
9395         * nt_defines.h: move .h into support/
9396
9397         * vms_defines.h: remove
9398
9399         * WorkArea.C: add space in debug output
9400
9401         * text2.C:
9402         * paragraph.C:
9403         * buffer.C: add WITH_WARNINGS
9404
9405         * vc-backend.h:
9406         * vc-backend.C:
9407         * bufferlist.C: s/retrive/retrieve/, add docs
9408
9409         * vspace.h:
9410         * vspace.C:
9411         * kbmap.h:
9412         * lyxlength.h:
9413         * lyxgluelength.h:
9414         * length_common.h:
9415         * chset.h:
9416         * chset.C: add docs
9417
9418         * lyxgui.C: add ID to X error handler
9419
9420         * lyxtestclass.c: fix typo
9421
9422 2002-02-26  Juergen Vigna  <jug@sad.it>
9423
9424         * tabular_funcs.C (write_attribute): changed so that some default
9425         attributes are not written at all.
9426         (getTokenValue): set default values before trying to read the
9427         value so we have the return value always set as default if we don't
9428         find the token we search for.
9429
9430         * tabular.C (Write): write bools as bools not as strings!
9431
9432 2002-02-22  Juergen Vigna  <jug@sad.it>
9433
9434         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9435         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9436
9437         * text.C (leftMargin): don't add an indent for paragraphs inside
9438         tabular cells (fix #208).
9439
9440 2002-02-21  José Matos  <jamatos@fep.up.pt>
9441
9442         * tabular.C (docBook): fixed support for long tables.
9443
9444 2002-02-20  Juergen Vigna  <jug@sad.it>
9445
9446         * text2.C (getFont): get the drawing font of the Inset if this
9447         paragraph is inside an inset (only important for InsetERT for now).
9448
9449         * buffer.C (insertErtContents): use new lanugage params in ERT
9450         constructor.
9451
9452         * CutAndPaste.C: commenting out seemingly uneeded code.
9453
9454 2002-02-19  Allan Rae  <rae@lyx.org>
9455
9456         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9457         Iterators might be simple to use but they also get invalidated.
9458         (removeAutoInsets): renamed saved cursor tracking variables and added
9459         some comments to clarify what everything does.
9460
9461 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9462
9463         * Chktex.C:
9464         * LaTeX.C:
9465         * LyXSendto.C:
9466         * converter.C:
9467         * lyx_cb.C:
9468         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9469         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9470
9471         * lyxfunc.C:
9472         * vc-backend.h: remove #include "support/syscall.h"
9473
9474         * LaTeX.C:
9475         * LyXSendto.C:
9476         * converter.C: rearrange #includes in Lars' approved fashion.
9477
9478         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9479         forward declare class Timeout in the header file.
9480
9481         * XFormsView.C: changes due to the above.
9482
9483         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9484         similar to LyXView.
9485
9486         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9487         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9488
9489 2002-02-18  José Matos  <jamatos@fep.up.pt>
9490
9491         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9492         insets contents.
9493
9494 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9495
9496         * a lot of small ws changes
9497         * add a lot of using std::XXX
9498         * use std construcs some places where approp.
9499         * use some exisint stuff from lyxfunctional where approp.
9500         * Make file changes to use partial linking (lets test this now...)
9501
9502 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9503
9504         * Chktex.C:
9505         * buffer.C:
9506         remove #include "support/syscontr.h" as it's redundant. Always has been.
9507
9508         * Chktex.C:
9509         * LaTeX.C:
9510         * LyXSendto.C:
9511         * converter.C:
9512         * lyx_cb.C:
9513         * vc-backend.C:
9514         change Systemcalls::System to Systemcalls::Wait and
9515         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9516         No change of functionality, just reflects the stripped down Systemcalls
9517         class.
9518
9519 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9520
9521         * debug.[Ch]: add a GRAPHICS type to the enum.
9522
9523 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9526
9527         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9528         there is an inset.
9529
9530 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9533         match the changes below.
9534
9535         * text2.C (toggleInset): if there is not editable inset at cursor
9536         position, try to see if cursor is _inside_ a collapsable inset
9537         and close it.
9538
9539 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9542         document menu has a nice checkbox
9543
9544 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * lyxlength.C (asLatexString): change PW to output as percent of
9547         \textwidth.
9548
9549         * lengthcommon.C: change '%' to 't%'
9550
9551         * lyxfunc.C (dispatch): a few comments from Martin
9552
9553 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * WorkArea.h:
9556         * WorkArea.C:
9557         * BufferView_pimpl.h:
9558         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9559           the X selection.
9560
9561 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * vspace.C (inPixels): fix compiler warning
9564
9565 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9566
9567         * lyxfunc.C (getStatus): fix status message for disabled commands.
9568
9569 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * BufferView_pimpl.C: fix crash on close buffer
9572         during selection (#227)
9573
9574 2002-01-27  Herbert Voss  <voss@lyx.org>
9575
9576         * buffer.C: link old Figure to new graphic inset
9577
9578 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * FontLoader.C (getFontinfo): Change the latex font names in order
9581         to match the names of type1inst.
9582
9583 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9584
9585         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9586
9587         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9588         (extchanged): ditto
9589         (ext_exist): ditto
9590         (remove_files_with_extension): ditto
9591         (remove_file): ditto
9592         (write): ditto
9593
9594         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9595         document is smaller than the work area height. Do not initialize
9596         static variables to 0.
9597
9598 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9599
9600         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9601
9602         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9603         LFUN_LAYOUT_PARAGRAPHS.
9604
9605         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9606         tabular. It is possible to provide a possible cell, which will
9607         typically be the actcell from the corresponding insettabular
9608
9609         * lyxfunc.C (getStatus): small cleanup; disable
9610         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9611         true
9612
9613 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9616
9617         * paragraph.C (startTeXParParams):
9618         (endTeXParParams): new methods. The LaTeX code to
9619         start/end paragraph formatting
9620         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9621         empty (fixes bug #200)
9622
9623         * vspace.C (inPixels): adapt to the change below
9624         (inPixels): [later] more cleanups (remove unused variables)
9625
9626         * lyxlength.C (inPixels): change to use a width and a height as
9627         parameter.
9628
9629 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9632         Replaced with \paperwidth
9633
9634         * DepTable.C (insert): add std:: qualifier
9635
9636 2002-01-18  Allan Rae  <rae@lyx.org>
9637
9638         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9639         updated also?
9640
9641         * text.C (drawInset): Turned out I didn't know enough about how
9642         rebreaking worked.  This fixes most of the redraw problems.  I see
9643         an occasional cursor trail when a line is broken now and the cursor
9644         placement can seem out by a few pixels also after a rebreak.
9645
9646 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * buffer.C (parseSingleLyXformat2Token): update because minipage
9649         width is now a LyXLength
9650
9651         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9652
9653         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9654         math insets
9655
9656 2002-01-17  Juergen Vigna  <jug@sad.it>
9657
9658         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9659
9660         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9661         is set correctly and the inset is updated correctly.
9662
9663 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9666         the beginning of the loop.
9667
9668 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * lyxrc.C: improve help for use_scalable_fonts
9671
9672 2002-01-17  Allan Rae  <rae@lyx.org>
9673
9674         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9675
9676 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9679         make sure to set their inset_owner to the right value (bug #171)
9680
9681 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9682
9683         * DepTable.h
9684         * DepTable.C: Implement mtime checking to reduce time spent doing
9685         CRCs.
9686
9687 2002-01-16  Juergen Vigna  <jug@sad.it>
9688
9689         * tabular.C (GetAdditionalHeight): one of error fixed.
9690
9691         * lyxrc.C (output): small fix in writing use_pspell.
9692
9693 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * sp_base.h: #include LString.h
9696
9697 2002-01-16  Allan Rae  <rae@lyx.org>
9698
9699         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9700         Can someone check this please?
9701
9702         * text.C (drawInset): It was possible that p.row would be removed by
9703         breakAgainOneRow upsetting a few other settings.  There may be another
9704         small tweak possible by setting need_break_row = 0 when p.row has been
9705         removed but I don't know enough about the logic here.
9706
9707 2002-01-15  Allan Rae  <rae@lyx.org>
9708
9709         * text.C (insertChar): removed conditional truism.
9710
9711         * BufferView2.C (removeAutoInsets): More tweaks.
9712         cur_par_prev could be a stray pointer.  Check for trailing empty line
9713         in case last line was cur_par and only had an error inset on it.
9714
9715 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9716
9717         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9718         absolute
9719
9720         * vc-backend.C (most methods):
9721         * exporter.C (Export):
9722         * converter.C (convert):
9723         (runLaTeX):
9724         * LyXSendto.C (SendtoApplyCB):
9725         * lyxfunc.C (dispatch):
9726         (menuNew):
9727         (open):
9728         (doImport):
9729         * lyx_cb.C (AutoSave):
9730         (InsertAsciiFile):
9731         * BufferView_pimpl.C (MenuInsertLyXFile):
9732         * buffer.C (runChktex): use Buffer::filePath().
9733
9734         * buffer.h: rename filename to filename_; rename filepath to
9735         filepath_ and make it private
9736         (filePath): new method
9737
9738         * buffer.C (writeFile): use fileName()
9739         (getLatexName):
9740
9741         * lyx_main.C (init): fix starting  of LyX when the binary is a
9742         link from so,ewhere else.
9743
9744         * minibuffer.C: include <cctype> for isprint
9745
9746 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9747
9748         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9749         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9750         name clash with InsetCollapsable's width function.
9751
9752 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * lastfiles.C: include <iterator>
9755
9756 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9757
9758         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9759         std::count.
9760
9761         * buffer.C (makeLaTeXFile): ditto.
9762         Also make loop operation more transparent.
9763
9764 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9765
9766         * ToolbarDefaults.C: remove trailing comma closing namespace.
9767
9768         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9769
9770         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9771         as in WorkArea.
9772
9773         * trans.C (Load): comment out unused variable, allowed.
9774
9775 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9776
9777         * minibuffer.[Ch] (append_char): new method to recieve input from the
9778         drop-down completion browser. If a key was pressed, then recieve this
9779         char and append it to the existing string.
9780         (peek_event): modify the positioning data passed to the completion
9781         browser so that it can be placed above the minibuffer rather than below.
9782 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9783
9784         * LyXAction.C (init): alloe error-next for readonly documents.
9785
9786         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9787         count.
9788
9789 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * bufferlist.C (readFile): create the buffer _after_ checking that
9792         the file exists.
9793
9794         * lyxfunc.C (verboseDispatch): fix handling of arguments
9795
9796         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9797
9798         * lyxrc.C: use string::erase() instead of initializing to "".
9799
9800
9801 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9802
9803         * BufferView_pimpl.h:
9804         * BufferView_pimpl.C:
9805         * WorkArea.h:
9806         * WorkArea.C:
9807         * text2.C: tell X when we have made a selection for copying
9808
9809 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * BufferView_pimpl.C (MenuInsertLyXFile):
9812         * lyxfunc.C (menuNew):
9813         (open):
9814         (doImport): add shortcuts to directory buttons
9815
9816         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9817         open a float)
9818
9819         * lyxfunc.C (setStatusMessage):
9820         (getStatusMessage): new methods
9821         (getStatus):use setStatusMessage instead of setErrorMessage
9822         (dispatch): when function is disabled, set error message here
9823         [instead of in getStatus previously]
9824
9825         * BufferView_pimpl.C (workAreaButtonRelease): update
9826         toolbar/menubar here too.
9827
9828 2002-01-13  Allan Rae  <rae@lyx.org>
9829
9830         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9831         Now seems indestructible.  Remaining task is to audit all other
9832         code affected by deleteEmptyParagraphMechanism.  One small quirk
9833         left is that an empty document with an error in the preamble can
9834         be made to report an error but no error box appears.  I don't know
9835         where it goes.
9836         (removeAutoInsets): Improved comments.
9837
9838 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * Thesaurus.h:
9841         * Thesaurus.C: update for Aiksaurus 0.14
9842
9843 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * text2.C (firstParagraph): removed member function, all uses
9846         replaces with ownerParagraph
9847         (redoParagraphs): here
9848         (updateInset): here
9849         (toggleAppendix): here
9850         * BufferView2.C (insertErrors): here
9851         (setCursorFromRow): here
9852
9853 2002-01-13  Allan Rae  <rae@lyx.org>
9854
9855         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9856         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9857         There is still a way to segfault this although you may have to do this
9858         multiple times: Have an InsetERT with an unknown command in it.
9859         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9860         <down-arrow>, <Enter> again, View->DVI, BANG!
9861
9862         * text2.C (setCursor):
9863         (deleteEmptyParagraphMechanism):
9864         * lyxtext.h (setCursor):
9865         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9866         Making use of the return value may help fix other bugs.
9867
9868 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9871
9872         * LyXView.C (updateMenubar): call MenuBar::update here
9873         (updateToolbar): but not here
9874         (showState): do not update toolbar/menubar
9875
9876         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9877         should need to care about that.
9878
9879         * lyxfunc.C (verboseDispatch): simplify a bit
9880         (getStatus): have a version which takes a pseudoaction, and
9881         another which requires a (kb_action,string).
9882
9883         * LyXAction.C (retrieveActionArg): make it work also when action
9884         is not a pseudo-action.
9885         (getActionName): simplify a bit
9886         (helpText):
9887
9888 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * lyxfunc.C (verboseDispatch): new families of methods with
9891         several ways to specify a command and a bool to indicate whether
9892         the command name and shortcut should be displayed in minibuffer
9893         (eventually, we could extend that to a finer bitmask like
9894         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9895         (dispatch): the pristine dispatch command which just, well,
9896         dispatchs! Note it still sets its result to minibuffer; I'm not
9897         sure we want that.
9898
9899         * lyxfunc.h: remove setHintMessage
9900
9901         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9902
9903 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * BufferView_pimpl.C (specialChar): delete new inset if we have
9906         not been able to insert it.
9907
9908         * kbmap.C: revert to using int instead of kb_action, since all we
9909         are dealing with is pseudo-actions.
9910
9911         * LyXAction.C (searchActionArg): change to return int instead of
9912         kb_action, since the result is a pseudoaction.
9913
9914 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9915
9916         * buffer.C (insertErtContents): Fix (partially) the font bug.
9917
9918 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9919
9920         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9921         as the other one is broken on my machine!
9922
9923 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9924
9925         * commandtags.h:
9926         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9927
9928 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9929
9930         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9931         reflect their actual use. Provide compatibility code for older lyxrc
9932         files.
9933
9934         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9935         FL_NORMAL_STYLE.
9936         change names of popup font variables in line with the changes to lyxrc.C
9937
9938 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * buffer.C (asciiParagraph): avoid outputing a word twice after
9941         an inset.
9942
9943         * lyxrc.C (getDescription): document that document_path and
9944         template_path can be empty.
9945
9946 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9947
9948         * LaTeXFeatures.C (getMacros):
9949         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9950
9951         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9952
9953         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9954         getPackages.
9955         (getPackages): rename feature "floats" to "float". Use an array to
9956         iterate over 'simple' features (i.e. just a \usepackage). Add
9957         handling of "amsmath" (renamed from "amsstyle").
9958
9959 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9960
9961         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9962         features list.
9963
9964 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9965
9966         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9967         FuncStaus::FuncStatus & FuncStaus::some_method().
9968
9969 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9970
9971         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9972         of the func_satus stuff. Edited and massaged in various ways by
9973         JMarc.
9974
9975         * lyxfunc.C (getStatus): use FuncStatus
9976
9977 2002-01-08  Juergen Vigna  <jug@sad.it>
9978
9979         * text.C (nextBreakPoint): use function Inset::isChar().
9980
9981         * paragraph.C (TeXOnePar): use function
9982         Inset::forceDefaultParagraphs.
9983
9984         * buffer.C (latexParagraphs): use function
9985         Inset::forceDefaultParagraphs.
9986
9987 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9988
9989         * lyx_gui.C (init): set the style of the menu popups to
9990         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9991
9992 2002-01-07  Juergen Vigna  <jug@sad.it>
9993
9994         * text.C (setHeightOfRow): small fix
9995         (prepareToPrint): don't look at alignment if we don't have the place
9996         for doing it.
9997
9998 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9999
10000         * box.C: New file. Move the Box methods and functions out of box.h,
10001         following Lars' suggestion.
10002
10003 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * box.h: #include "support/LOstream.h", needed for inlined function.
10006
10007         * lyxtextclass.C:
10008         * lyxtextclasslist.C: added some using std declarations.
10009
10010 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * box.h: make signed dimensions to allow insets wider than
10013           the screen (bug #162)
10014
10015         * BufferView_pimpl.C: add some insetHit debug
10016
10017 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * vc-backend.C: add FIXME
10020
10021 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * lyxfunc.C (getStatus): enable code for showing math font status
10024         in toolbar/menu.
10025
10026 2002-01-07  Juergen Vigna  <jug@sad.it>
10027
10028         * text.C (nextBreakPoint): removed debug output not needed anymore.
10029
10030 2002-01-06  Juergen Vigna  <jug@sad.it>
10031
10032         * text.C (nextBreakPoint): fixed up this function we had this bug
10033         since ever but now hopefully we break row better.
10034         (insertChar): we have to check if an inset is the next char as it
10035         could now happen that a large inset is causing a break.
10036
10037 2002-01-05  Juergen Vigna  <jug@sad.it>
10038
10039         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10040         if it doesn't like to be drawed.
10041
10042 2002-01-04  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView2.C (lockInset): forgot to set a cursor.
10045
10046         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10047
10048 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10049
10050         * FormMathsPanel.C:
10051         * FormMathsPanel.h
10052         * MathsSymbols.C:
10053         * form_maths_panel.C:
10054         * form_maths_panel.h:
10055         * form_maths_panel.fd: implemented sub- and super- buttons in math
10056         panel.
10057
10058         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10059         (or ^ space) to be used as in TeX (req'd by André).
10060
10061         * lyxfunc.C: Allow ^ and _ again to be used both as
10062         super/subscript (mathed) and as themselves (in text).
10063
10064 2002-01-03  Allan Rae  <rae@lyx.org>
10065
10066         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10067         "LyX" or the filename of the current buffer if it has one.  This is a
10068         modified form of John Levon's patch.
10069
10070         * XFormsView.C (setWindowTitle): also set icon title.
10071
10072         * LyXView.h (setWindowTitle): signature changed.
10073         * XFormsView.h (setWindowTitle): ditto.
10074
10075 2002-01-02  Juergen Vigna  <jug@sad.it>
10076
10077         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10078
10079 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10080
10081         * screen.C (topCursorVisible): introduce a temp var for
10082         text->cursor.row(), handle the case where this row is null. (kindo
10083         hachish)
10084
10085         * text2.C (setCursor): add a couple of asserts.
10086
10087         * paragraph.h (inset_iterator): add -> operator
10088
10089         * paragraph.[Ch] (autoDeleteInsets): remove member function
10090
10091         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10092         cursor pos correctly and handle inset deletion by itself.
10093         (insertErrors): move iterator declaration out of for expression
10094
10095         * lyxtextclass.C: add <algorithm>
10096
10097         * Makefile.am: added the new files to sources, removed layout.C
10098
10099         * layout.C: removed file
10100
10101         * layout.h: remove LYX_DUMMY_LAYOUT
10102
10103         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10104         layout.
10105
10106         * lyxlayout.[Ch]:
10107         * lyxtextclass.[Ch]:
10108         * lyxtextclasslist.[Ch]: new files
10109
10110         * include order changes to a lot of files, also changes because of
10111         the six new files.
10112
10113 2001-12-27  Juergen Vigna  <jug@sad.it>
10114
10115         * buffer.C (asciiParagraph): more fixes.
10116
10117         * tabular.C (ascii): make ascii export support export of only the
10118         data separated by a column-delimiter.
10119         (ascii): better support for ascii export.
10120
10121         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10122
10123 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10124
10125         * tabular_funcs.C: use a "using std::getline" instead of the
10126         previous fix from Angus (necessary for cxx + lyxstring)
10127
10128 2001-12-24  Juergen Vigna  <jug@sad.it>
10129
10130         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10131
10132         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10133         problems. First check a minipage also if we have some ert-contents
10134         (not only on par->size(), second set the right depth of the paragraph
10135         on the relink to the root-paragraph-list!
10136
10137         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10138         which then did not anymore update the main paragraphs on undo/redo!
10139
10140 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10141
10142         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10143         code. Support all font-changing funcs (even those which are not in
10144         menu currently). Support for reporting font settings in
10145         mathed (disabled until Andre provides a function on mathed's side).
10146
10147         * func_status.h (toggle): small helper function to set toggle
10148         state on a flag.
10149
10150 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10151
10152         * tabular_funcs.C: getline -> std::getline
10153
10154 2001-12-21  Juergen Vigna  <jug@sad.it>
10155
10156         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10157         accessed and could be 0 (I couldn't generate this but it seems
10158         Michael could!).
10159
10160 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10161
10162         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10163         * tabular_funcs.h: here and include iosfwd
10164
10165 2001-12-20  Juergen Vigna  <jug@sad.it>
10166
10167         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10168         inside inset but undo_par was.
10169
10170 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10171
10172         * Thesaurus.C: always include <config.h> in sources.
10173
10174         * Painter.h:
10175         * lyxlookup.h:
10176         * box.h: do not include <config.h> in header files
10177
10178         * text.C (paintLastRow): remove unused variable
10179
10180         * text.C (transformChar):
10181         (insertChar):
10182         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10183
10184         * Painter.C (text):
10185         * font.C (width): rewrite to use uppercase() instead of
10186         islower/toupper.
10187
10188         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10189
10190 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * lyxfind.C: clean up of find failure position change
10193
10194 2001-12-20  Juergen Vigna  <jug@sad.it>
10195
10196         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10197
10198         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10199         (TeXRow): added to LaTeX a single tabular row.
10200         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10201         (Latex): simplified and finally good LT-h/f support.
10202         (various_functions): just small adaptions for LT-h/f support.
10203
10204         * tabular_funcs.[hC]: added and moved here all not classfunctions
10205         of LyXTabular.
10206
10207 2001-12-19  Juergen Vigna  <jug@sad.it>
10208
10209         * tabular.[Ch]: better support for longtabular options (not finished
10210         yet!)
10211
10212 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10213
10214         * text.C (paintLastRow): use the label font instead of the font of
10215         the last character to compute the size of *_BOX. This makes more
10216         sense and avoids a crash with empty paragraphs.
10217         Use Painter::rectangle to draw EMPTY_BOX.
10218
10219 2001-12-19  Juergen Vigna  <jug@sad.it>
10220
10221         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10222         the paragraphs if the replaced paragraph is not the first one!
10223         Tried to delete not used paragraphs but does not work yet so for
10224         now it's inside #ifdef's and by default off!
10225
10226 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * MenuBackend.C: include "lyx_main.h" instead of declaring
10229         lastfiles (actually was declared as LastFiles* instead of a
10230         scoped_ptr).
10231
10232 2001-12-17  Juergen Vigna  <jug@sad.it>
10233
10234         * tabular.C (AppendColumn): applied John's fix
10235
10236 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * BufferView.h:
10239         * BufferView.C:
10240         * BufferView_pimpl.h:
10241         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10242
10243         * Makefile.am:
10244         * box.h: new start of class for above
10245
10246         * lyxfunc.C: ignore space-only minibuffer dispatches.
10247           Show the command name when it doesn't exist
10248
10249         * minibuffer.C: don't add empty lines to the history
10250
10251         * minibuffer.C: add a space on dropdown completion
10252
10253 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * text.C: fix line above/below drawing in insets
10256
10257 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * lyxlength.C (LyXLength): Initialize private variables.
10260
10261 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10262
10263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10264         when inserting error insets.
10265
10266 2001-12-13  Juergen Vigna  <jug@sad.it>
10267
10268         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10269         actually sometimes the before-paragraph.
10270         (setUndo): don't clear the redostack if we're not actually undoing!
10271
10272 2001-12-06  Juergen Vigna  <jug@sad.it>
10273
10274         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10275         and fixed redoing of main paragraph, so we can use it now ;)
10276
10277         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10278
10279 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10282         Juergen's request
10283
10284 2001-12-13  André Pönitz <poenitz@gmx.net>
10285
10286         * undostack.[Ch]:
10287         * undo_func.C: minor cleanup
10288
10289 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10292         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10293         font in urw-fonts package which is marked as -urw-fontspecific and
10294         does not work (incidentally, changing the encoding in the
10295         fonts.dir of this package to -adobe-fontspecific fixes the
10296         problem).
10297
10298         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10299         is a crash when undoing first paragraph (Juergen, please take a
10300         look). THis does not mean the undo fix is wrong, just that it
10301         uncovers problems.
10302
10303         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10304         the (Paragraph*) version when needed instead of duplicating the
10305         code.
10306
10307         * text.C (workWidth): use Inset::parOwner to find out where the
10308         inset has been inserted. This is a huge performance gain for large
10309         documents with lots of insets. If Inset::parOwner is not set, fall
10310         back on the brute force method
10311
10312         * paragraph_pimpl.C (insertInset):
10313         * paragraph.C (Paragraph):
10314         (cutIntoMinibuffer): set parOwner of insets when
10315         inserting/removing them
10316
10317         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10318
10319 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10320
10321         * commandtags.h:
10322         * LyXAction.C:
10323         * lyx_main.C:
10324         * lyxfunc.C:
10325         * mathed/formulabase.C:
10326         * mathed/math_cursor.[Ch]:
10327         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10328
10329
10330 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10331
10332         * lyxlength.[Ch] (operator!=): new function
10333
10334 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * text.C (workWidth): use Inset::parOwner to find out where the
10337         inset has been inserted. This is a huge performance gain for large
10338         documents with lots of insets. If Inset::parOwner is not set, fall
10339         back on the brute force method
10340
10341         * paragraph_pimpl.C (insertInset):
10342         * paragraph.C (Paragraph):
10343         (cutIntoMinibuffer): set parOwner of insets when
10344         inserting/removing them
10345
10346         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10347
10348 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * tabular-old.C (getTokenValue):
10351         * tabular.C (getTokenValue):
10352         (write_attribute): new versions for LyXLength
10353         (everywhere): adjust the use of widths
10354
10355         * tabular.h: change the type of widths from string to LyXLength
10356
10357 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10358
10359         * paragraph.C: fixed missing line number count when exporting
10360         Environments to LaTeX file
10361
10362         * buffer.C: added informational message for checking line numbers.
10363
10364 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10367         paragraph, do the 'double space' part, but not the 'empty
10368         paragraph' one.
10369
10370         * text.C (workWidth): small optimization
10371         (getLengthMarkerHeight): use minimal size for negative lengths.
10372
10373 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10376
10377         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10378
10379 2001-12-11  André Pönitz <poenitz@gmx.net>
10380
10381         * FontLoader.C:
10382         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10383
10384 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * text2.C: keep selection on a setFont()
10387
10388 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * lyx_cb.C: another bv->text misuse, from insert label
10391
10392 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * kbsequence.h:
10395         * kbsequence.C: re-instate nmodifier mask
10396
10397 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10398
10399         * lyx_main.h: make lyxGUI private.
10400
10401 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * lyxfind.C: place the cursor correctly on failed search
10404
10405 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * text.C (getLengthMarkerHeight): for small heights, the arrows
10408         are not always on top/bottom of the text
10409         (drawLengthMarker): smaller arrows; take the left margin in
10410         account; draw also vfills.
10411         (paintFirstRow):
10412         (paintLastRow): remove special code for vfill and standard spaces,
10413         since everything is handled in drawLengthMarker now.
10414
10415 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10416
10417         * buffer.C (insertErtContents): try to handle font and language
10418         interaction a bit better.g
10419
10420         * ColorHandler.C (updateColor): change the hash to cover the whole
10421         LColor enum, ws cleanup
10422         (getGCLinepars): ditto
10423         (getGCLinepars): only lookup in the linecache once.
10424
10425 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * iterators.C (operator++): Make the iterator more robust
10428
10429         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10430         (John's patch)
10431         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10432
10433 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * lyxtext.h:
10436         * text.C: better added space drawing
10437
10438 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * LyXView.C:
10441         * BufferView2.C: fix layout combo update on inset unlock
10442
10443 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * Makefile.am: don't compile unused files
10446
10447 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * lyxfunc.C:
10450         * commandtags.h:
10451         * LyXAction.C: remove old LFUN_LAYOUTNO
10452
10453 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * paragraph_pimpl.h:
10456         * paragraph_pimpl.C: isTextAt() doesn't need font param
10457
10458 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * lyxlex.h:
10461         * lyxlex.C: little cleanup
10462
10463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * BufferView_pimpl.C: fix insertAscii for insets
10466
10467 2001-12-05  Juergen Vigna  <jug@sad.it>
10468
10469         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10470         set the right font on the "multi" paragraph paste!
10471
10472 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10473
10474         * trans_decl.h:
10475         * trans_mgr.[Ch]:
10476         * trans.[Ch]:
10477         * lyxgluelength.C:
10478         * lyxlength.C: remove out-commented code.
10479
10480         * BufferView_pimpl:
10481         * CutAndPaste.C:
10482         * DepTable.C:
10483         * buffer.C:
10484         * chset.C:
10485         * lastfiles.C:
10486         * lyxlex.C:
10487         * lyxlex_pimpl.C:
10488         * lyxserver.C:
10489         * screen.C:
10490         * tabular-old.C:
10491         * tabular.C:
10492         * text.C:
10493         * trans_mgr.C:
10494         * vc-backend.C: change "while(" to "while ("
10495
10496         * lyxlength.[Ch]: add zero function to check if length is zero or
10497         not
10498         * lyxgluelength.C: use it
10499
10500 2001-12-05  Allan Rae  <rae@lyx.org>
10501
10502         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10503         Works for 2.95.3, from what I understand of Garst's reports this should
10504         work for other g++ versions.  We're screwed if the abs(int) definition
10505         changed between bugfix releases of gcc.
10506
10507 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * text.C: fix chapter label offset !
10510
10511 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * lyxtext.h:
10514         * text.C: fix hfill at end of line, clean up
10515
10516 2001-12-04  Juergen Vigna  <jug@sad.it>
10517
10518         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10519         that we force an update of the inset and it's owners if neccessary.
10520
10521 2001-12-03  Juergen Vigna  <jug@sad.it>
10522
10523         * text.C (rowLast): simplified code
10524
10525 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * lyxfunc.C: fix show options on timeout
10528
10529 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * screen.C (topCursorVisible): scroll half a page when the cursor
10532         reached top of bottom of screen
10533
10534 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * minibuffer.C: deactivate on loss of focus
10537
10538 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10539
10540         * vspace.[Ch] (operator!=): add operator.
10541
10542 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * BufferView_pimpl.C: refuse to open an inset when
10545         there's a selection.
10546
10547 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * BufferView_pimpl.C: allow to click on RHS of full row insets
10550
10551 2001-11-30  Juergen Vigna  <jug@sad.it>
10552
10553         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10554         insets for undo reasons.
10555
10556 2001-11-28  André Pönitz <poenitz@gmx.net>
10557
10558         * vspace.[Ch]: cosmetical changes
10559
10560 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * LyXAction.h:
10563         * LyXAction.C:
10564         * lyxfunc.h:
10565         * lyxfunc.C:
10566         * kbmap.h:
10567         * kbmap.C:
10568         * lyxrc.C:
10569         * kbsequence.h:
10570         * kbsequence.C: part re-write of old kb code
10571
10572         * Painter.C:
10573         * WorkArea.C: remove Lgb_bug_find_hack
10574
10575 2001-11-30  José Matos <jamatos@fep.up.pt>
10576
10577         * buffer.C (makeDocBookFile): add a comment to point a hack.
10578         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10579         Fixed a double write of labels.
10580
10581 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10582
10583         * LaTeX.C:
10584         * LaTeX.h Fixed bug in LaTeX class where it would not
10585         re-run latex if no depfiles were changed, but the .dvi was removed.
10586
10587 2001-11-28  André Pönitz <poenitz@gmx.net>
10588
10589         * all the files from the change on 2001/11/26:
10590         use lyx::layout_type instead of LyXTextClass::size_type
10591         use lyx::textclass_type instead of LyXTextClassList::size_type
10592
10593 2001-11-29  Juergen Vigna  <jug@sad.it>
10594
10595         * text.C: added support for paragraph::isFreeSpacing()
10596
10597         * buffer.C: same as above
10598
10599         * paragraph.h: inserted isFreeSpacing() function to enable
10600         FreeSpacing inside InsetERT.
10601
10602         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10603         of the paragraph's in the cut/copy buffer to 0!
10604
10605         * text2.C (removeRow): remove the assert as it can!
10606
10607         * lyxtext.h: added helper function firstRow returning firstrow and
10608         made firstrow private again.
10609
10610         * BufferView2.C (lockInset): don't relock if we're already locked!
10611
10612         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10613         the only paragraph.
10614         (removeRow): added Assert::(firstrow)
10615
10616         * debug.C: forgot to add INSETTEXT here.
10617
10618 2001-11-28  Juergen Vigna  <jug@sad.it>
10619
10620         * sp_spell.C (initialize): changed error text to more general
10621         spellchecker command use (not only ispell!)
10622
10623         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10624
10625         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10626
10627 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * vspace.C: initialise lyxgluelength on failure
10630
10631 2001-11-28  Allan Rae  <rae@lyx.org>
10632
10633         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10634         declaration & definition that looks like a function declaration.
10635
10636 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10637
10638         * BufferView2.C (copy):
10639         (copyEnvironment): do not clear the selection when doing a copy.
10640
10641         * text.C (paintFirstRow): compilation fix
10642
10643 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10644
10645         * tabular.C (Latex): correct line count when writing latex.
10646
10647 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * paragraph_pimpl.h:
10650         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10651           bug a bit
10652
10653 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * text.C:
10656         * LColor.h:
10657         * LColor.C: change vfillline->added_space
10658
10659         * text.C: add markers and text for added space
10660
10661         * vspace.C: fix comment
10662
10663 2001-11-28  André Pönitz <poenitz@gmx.net>
10664
10665         * paragraph.C: whitespace changes
10666         * all the other files from the change on 2001/11/26:
10667         change *::pos_type into lyx::pos_type
10668
10669 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10670
10671         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10672         language of the document when inserting error insets.
10673
10674 2001-11-26  André Pönitz <poenitz@gmx.net>
10675
10676         * BufferView_pimpl.[Ch]:
10677         *       CutAndPaste.C:
10678         * buffer.[Ch]:
10679         * lyxcursor.[Ch]:
10680         * lyxfind.C:
10681         * lyxfunc.C:
10682         * lyxrow.[Ch]:
10683         * paragraph.[Ch]:
10684         * paragraph_pimpl.[Ch]:
10685         * sp_spell.C:
10686         * text.C:
10687         * text2.C: reduce header dependencies, introduce type for positions
10688
10689 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * <various>: change to use Alert.h
10692
10693 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10694
10695         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10696         when encountering an unknown token.
10697         (readLyXformat2): Show an error message if there were unknown tokens.
10698
10699 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView2.C:
10702         * BufferView_pimpl.C:
10703         * buffer.C:
10704         * paragraph.h:
10705         * text.C:
10706         * text2.C: use par->isInset()
10707
10708 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * paragraph_pimpl.h:
10711         * paragraph_pimpl.C: cleanup
10712
10713 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10714
10715         * text2.C (removeRow):
10716         * text.C (setHeightOfRow): remove useless (and costly) call to
10717         getRow.
10718
10719 2001-11-20  Allan Rae  <rae@lyx.org>
10720
10721         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10722         Now need Inset*::checkInsertChar() to return true for appropriate
10723         cases so that the characters in the minibuffer will actually be
10724         inserted.
10725
10726 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10727
10728         * text.C: change the order of the includes.
10729         (workWidth): initialize it at once.
10730         (workWidth): make maxw unsigned
10731         (setHeightOfRow): remove unused variable (inset)
10732         (selectSelectedWord): remove unused variable (inset)
10733         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10734
10735 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10736
10737         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10738         server is not running.
10739         (openConnection):
10740         (closeConnection): add debug info when server is disabled.
10741
10742         * ColorHandler.C (getGCForeground): send debug message to GUI
10743         channel.
10744
10745         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10746
10747         * kbmap.C (bind): modify because return conventions of
10748         kb_sequence::parse have changed.
10749
10750         * kbsequence.C (parse): only ignore spaces and not any stupid
10751         control character. This avoids tests like s[i] <= ' ', which are
10752         guaranteed to fail with 8bit characters and signed chars.
10753         Change return code to string::npos when there have been no error
10754         (0 was a bad idea when error is at first character)
10755
10756 2001-11-14  José Matos  <jamatos@fep.up.pt>
10757
10758         * buffer.h:
10759         * buffer.C (simpleDocBookOnePar): removed unused argument.
10760
10761 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10762
10763         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10764         insets which are part of a word. Paragraph::isLetter takes care of
10765         that now. Use Paragraph::isInset to identify insets.
10766         (selectSelectedWord): do not test for hyphenation break.
10767
10768         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10769         that protected spaces are considered as spaces.
10770
10771         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10772         Inset::isLetter.
10773
10774 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * lyxserver.h:
10777         * lyxserver.C: fix it. and small cleanup.
10778
10779 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * BufferView_pimpl.C: use inline helpers
10782
10783         * LaTeXFeatures.h:
10784         * LaTeXFeatures.C: fix typos
10785
10786         * Spacing.h:
10787         * Spacing.C: move spacing_string into class
10788
10789         * ToolbarDefaults.C: move stuff into namespace anon
10790
10791         * layout.h: update enum
10792
10793         * lyxfunc.C: use better debug
10794
10795         * minibuffer.h: fix typo
10796
10797         * debug.h:
10798         * debug.C:
10799         * WorkArea.C: add and use Debug::WORKAREA
10800
10801         * lyxtext.h:
10802         * text.C:
10803         * text2.C: code re-organisation, inline helpers
10804
10805 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10806
10807         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10808         std::vector.empty().
10809
10810 2001-11-09  Allan Rae  <rae@lyx.org>
10811
10812         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10813         '\n's after tables.  Tabular and ERT inset work now makes this no
10814         longer necessary.
10815
10816 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * minibuffer.h:
10819         * minibuffer.C: fix crash, improve drop-down completion
10820
10821 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * lyxserver.h:
10824         * lyxserver.C: invalidate fd's when doing endPipe()
10825
10826 2001-11-08  José Matos  <jamatos@fep.up.pt>
10827
10828         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10829         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10830
10831         * paragraph.h:
10832         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10833
10834 2001-11-07  José Matos  <jamatos@fep.up.pt>
10835
10836         * buffer.h:
10837         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10838         const qualifier.
10839
10840         * buffer.C (sgmlOpenTag):
10841         * buffer.C (sgmlCloseTag): removed debug info.
10842
10843         * buffer.h (sgmlOpenTag):
10844         * buffer.h (sgmlCloseTag): made public.
10845
10846 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10847
10848         * buffer.C (saveParamsAsDefaults):
10849         * lyx_cb.C (MenuLayoutSave): remove
10850
10851         * LyXAction.C (init):
10852         * commandtags.h:
10853         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10854
10855 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10856
10857         * buffer.C (setPaperStuff): removed from here...
10858
10859         * bufferparams.C (setPaperStuff): ... and moved there.
10860
10861 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * minibuffer.h:
10864         * minibuffer.C:
10865         * XFormsView.C: add support for drop-down completion
10866
10867 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10868
10869         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10870         commands.
10871
10872 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10873
10874         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10875         disabled.
10876
10877 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyx_main.C: change ref to known bugs
10880
10881 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10882
10883         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10884         to work around older babel problems.
10885
10886 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10887
10888         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10889
10890 2001-10-24  Juergen Vigna  <jug@sad.it>
10891
10892         * tabular-old.C (ReadOld): below variable changes reflected.
10893
10894         * tabular.[Ch]: added ltType struct for longtable header/footer
10895         defines and changed all instances where they are used. Added
10896         future support for double top/bottom rows.
10897
10898 2001-10-24  José Matos  <jamatos@fep.up.pt>
10899
10900         * buffer.h (docbookHandleCaption):
10901         * buffer.C (docbookHandleCaption): removed unused function.
10902         (makeDocBookFile): moved docbook supported version to v4.1.
10903
10904 2001-10-24  José Matos  <jamatos@fep.up.pt>
10905
10906         * tabular.h:
10907         * tabular.C (docbookRow): new function to export docbook code of a row.
10908         (DocBook): now honors the longtable flags.
10909
10910 2001-10-23  José Matos  <jamatos@fep.up.pt>
10911
10912         * LaTeXFeatures.h:
10913         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10914         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10915
10916         * buffer.C (makeLinuxDocFile):
10917         (makeDocBookFile): reworked the preamble, more clean, and with
10918         support for lyx defined entities. Changed the document declaration
10919         to be more XML friendly.
10920
10921         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10922         if we need to output XML that should be done with a filter.
10923
10924 2001-10-22  Juergen Vigna  <jug@sad.it>
10925
10926         * sp_pspell.h (class PSpell): add alive function needed in the
10927         controller to see if the spellchecker could be started.
10928
10929 2001-10-22  Juergen Vigna  <jug@sad.it>
10930
10931         * buffer.C (insertStringAsLines): modify the font for inserting
10932         chars in certain conditions by calling checkInsertChar(font).
10933
10934 2001-10-19  Juergen Vigna  <jug@sad.it>
10935
10936         * text.C (workWidth): use getRow instead of wrong algorithm.
10937         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10938
10939 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10940
10941         * lyxserver.h:
10942         * lyxserver.C:
10943         * lyx_main.h:
10944         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10945
10946 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * text.C (workWidth): do not search for the exact row when
10949         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10950         optimization for big documents.
10951
10952 2001-10-18  Juergen Vigna  <jug@sad.it>
10953
10954         * text.C (workWidth): new function with added Inset * parameter.
10955
10956 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10959
10960         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10961         change return type of getColumnNearX.
10962
10963
10964         * text.C (changeRegionCase): use uppercase/lowercase instead of
10965         toupper/tolower.
10966         (leftMargin):
10967         (rightMargin): simplify code by factoring out the uses of
10968         textclasslist.
10969         (labelFill):
10970         (numberOfHfills):
10971         (setHeightOfRow):
10972         (appendParagraph): use Paragraph::size_type
10973
10974 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10975
10976         * vspace.C (asLatexString): add a missing break
10977
10978 2001-10-15  Herbert Voss  <voss@perce.de>
10979
10980         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10981
10982 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10983
10984         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10985         is not available.
10986
10987 2001-10-10  André Pönitz <poenitz@gmx.net>
10988
10989         * lyxfunc.C: removed greek_kb_flag.
10990
10991 2001-10-10  Herbert Voss  <voss@perce.de>
10992
10993         * lyx_main.C: delete global string help_lyxdir.
10994
10995 2001-10-09  Herbert Voss  <voss@perce.de>
10996
10997         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10998
10999         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11000
11001         * lyx_main.C: added global string help_lyxdir.
11002
11003         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11004
11005 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11006
11007         * lyxrc.C (set_font_norm_type): support iso8859-4
11008
11009 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11010
11011         * LaTeX.C (deplog): add another regex for MikTeX
11012
11013 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11014
11015         * lyxrc.C (set_font_norm_type): support iso8859-3
11016
11017 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11020
11021         * LaTeXFeatures.C: remove special case of french and index
11022
11023         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11024         before \begin{document}). This solves several incompatibilities.
11025
11026 2001-10-03  Garst Reese  <reese@isn.net>
11027
11028         * lyx_cb.C: change CheckTex error msg.
11029
11030 2001-10-03  José Matos  <jamatos@fep.up.pt>
11031
11032         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11033
11034 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11035
11036         * .cvsignore: update
11037
11038         * lyx_main.C (commandLineVersionInfo): use new style version info.
11039
11040         * buffer.C (writeFile):
11041         (makeLaTeXFile):
11042         (makeLinuxDocFile):
11043         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11044
11045         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11046
11047         * version.h: update to use stuff in version.C
11048
11049         * version.C.in: new file. Contains version information determined
11050         at compile time. This is a merging of version.h and
11051         version_info.h.in.
11052
11053 2001-10-03  Juergen Vigna  <jug@sad.it>
11054
11055         * BufferView_pimpl.C (update): don't change "dirty" status in
11056         updateInset call.
11057
11058 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11059
11060         * WorkArea.C (c-tor): re-position version string slightly.
11061
11062 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11063
11064         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11065         revert to previous code.
11066
11067         WorkArea.[Ch]: (show, destroySplash): methods removed.
11068
11069         WorkArea.C: rework code so that it's an amalgam of the codes before and
11070         after the splash screen was moved to WorkArea.
11071
11072 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11073
11074         * lyxrc.C (read):
11075         * vspace.C (inPixels):
11076         (lyx_advance):
11077         * kbmap.C (bind):
11078         * buffer.C (insertStringAsLines):
11079         (asciiParagraph): fix types to be large enough
11080
11081         * lyxlex_pimpl.h: change member status from short to int
11082
11083         * layout.h: fix type of endlabeltype
11084
11085         * kbmap.C (bind):
11086         * kbsequence.C (parse): change return type to string::size_type
11087
11088         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11089         variable
11090
11091         * Bullet.C (bulletSize):
11092         (bulletEntry): do not use short ints as parameters
11093
11094         * BufferView2.C (insertLyXFile): change a char to an int.
11095
11096         * WorkArea.C (WorkArea): remove unneeded floats in computation
11097
11098 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11099
11100         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11101
11102         * paragraph.C (asString): Do not ignore newline/hfill chars when
11103         copying to the clipboard.
11104
11105 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11108         after a multi-line inset.
11109
11110 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * paragraph.C (validate): Set NeedLyXFootnoteCode
11113
11114 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11117         and decrease-error to decrease.
11118
11119 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11120
11121         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11122         it more readable (should be equivalent)
11123
11124 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11125
11126         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11127
11128 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11129
11130         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11131         of a cursor (row, etc.) after a character has been deleted
11132         (deleteEmptyParagraphMechanism): call the method above on _all_
11133         cursors held by the LyXText when a double space has been
11134         detected/deleted.
11135
11136 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11137
11138         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11139         pixmap.
11140         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11141
11142         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11143         background. Use greyOut() and the new show() methods to toggle between
11144         the foreground and background. Add code to remove the splash after
11145         its initial showing.
11146
11147         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11148         (create_forms): no longer call Dialogs::showSplash.
11149
11150 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * .cvsignore: add version_info.h
11153
11154 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11155
11156         * version_info.h.in: new file
11157
11158         * Makefile.am: add version_info.h.in
11159
11160         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11161         version_info.h instead of VERSION_INFO
11162
11163 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11164
11165         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11166         The ERT inset now returns string().
11167
11168 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11169
11170         * lyxtext.h, text.C (selectNextWord): renamed as
11171         selectNextWordToSpellcheck.
11172
11173         * text.C (selectNextWordToSpellcheck): Modified to not select
11174         words inside an ERT inset.
11175
11176 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11177
11178         * lyx_cb.C (MenuLayoutSave): change a bit the question
11179
11180         * sp_base.h: include <sys/types.h>
11181
11182 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11183
11184         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11185
11186 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11187
11188         * several files: fix typos in user-visible strings
11189
11190 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11191
11192         * text2.C (pasteSelection): do not set the selection, since it
11193         will be cleared later. Actually, the intent was to fix the way the
11194         selection was set, but I figured rmoving the code was just as good.
11195
11196 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11197
11198         * FontLoader.C (available): Check if font is available without
11199         loading the font.
11200
11201 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11202
11203         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11204
11205 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11206
11207         * lyxrc.[Ch]: added display_graphics variable and associated code.
11208
11209 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11210
11211         * bufferparams.C (hasClassDefaults): new method. Returns true if
11212         the buffer parameters correspond to known class defaults
11213
11214 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11215
11216         * XFormsView.C (show): set minimum size to the main window.
11217
11218 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11219
11220         * text2.C (copySelection):
11221         (cutSelection):
11222         * lyxfind.C (LyXReplace):
11223         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11224         LyXText::selectionAsString.
11225
11226         * paragraph.C (asString): add "label" argument to the second form
11227
11228         * text2.C (selectionAsString): add "label" argument and pass it to
11229         Paragraph::asString.
11230
11231 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * lyx_main.C (commandLineHelp): remove version information
11234
11235 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11236
11237         * lyx_main.C: add -version commandline option
11238
11239 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * paragraph.h: make the optional constructor arg required instead.
11242         some modifications to other files because of this.
11243
11244         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11245
11246         * lyxserver.C (C_LyXComm_callback): make it static
11247
11248         * lyx_main.C (error_handler): make it static
11249
11250         * lyx_gui.C (LyX_XErrHandler): make it static
11251
11252         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11253
11254         * WorkArea.C: make the extern "C" methods static.
11255
11256         * Makefile.am (lyx_LDADD): simplify
11257
11258 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11259
11260         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11261         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11262
11263         * LyXAction.C (init):
11264         * lyxfunc.C (dispatch): associated code removal.
11265
11266 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11267
11268         * lyxfont.h (isSymbolFont): shut off warning
11269
11270         * text.C (setHeightOfRow):
11271         (getVisibleRow): fix crash with empty paragraphs which have a
11272         bottom line
11273
11274 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11275
11276         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11277         code.
11278
11279 2001-09-04  José Matos  <jamatos@fep.up.pt>
11280         * buffer.C
11281         * buffer.h
11282         * tabular.C (docbook): rename docBook method to docbook.
11283
11284 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11285
11286         * Makefile.am: add dependencies to main.o.
11287
11288 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11289
11290         * FontLoader.C (available): Return false if !lyxrc.use_gui
11291
11292 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11293
11294         * FontInfo.C (query):
11295         * converter.C (view):
11296         * importer.C (Import):
11297         * exporter.C (Export): Can not -> cannot.
11298
11299 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView_pimpl.C: allow to create index inset even if
11302           string is empty
11303
11304 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * buffer.C (getLists): replace boost::tie code with an explicit pair
11307         as boost::tie can break some compilers.
11308
11309         * iterators.h: Added a std:: declaration to the return type of
11310         ParIterator::size.
11311
11312 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11315           case.
11316
11317 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * iterators.[Ch]: New files. Provide paragraph iterators.
11320
11321         * buffer.C (changeLanguage): Use paragraph iterators.
11322         (isMultiLingual): ditto
11323
11324         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11325
11326 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11327
11328         * FontLoader.C: Support for cmr font.
11329
11330 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11331
11332         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11333         (available): New method.
11334
11335         * FontInfo.C (getFontname): Use scalable fonts even when
11336         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11337         found.
11338
11339 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11340
11341         * converter.C (Formats::view): reverted! Incorrect fix.
11342
11343 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * converter.C (Formats::view): only output the -paper option
11346         if the dvi viewer is xdvi, thereby fixing bug #233429.
11347
11348 2001-08-23  Herbert Voss  <voss@perce>
11349
11350         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11351
11352 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11353
11354         * Spacing.h (Spacing): Set space to Default on in the default
11355         constructor.
11356
11357 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * vc-backend.h (RCS::versionString): add RCS to version
11360         (CVS::versionString): add CVS to version
11361
11362         * vc-backend.C (scanMaster): do not add CVS to version.
11363         (scanMaster): do not add RCS to version
11364
11365         * lyxvc.C (versionString): new method
11366
11367         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11368
11369 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * Spacing.C (set): initialize fval
11372
11373 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11374
11375         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11376         " or \.
11377
11378 2001-08-16  Juergen Vigna  <jug@sad.it>
11379
11380         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11381
11382 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * BufferView_pimpl.C:
11385         * figureForm.C:
11386         * lyxtext.h:
11387         * text2.C: setParagraph takes linespacing now
11388
11389 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * LyxAction.C: add internal LFUN_CITATION_INSERT
11392
11393         * LyXView.C: actually apply fix
11394
11395         * bufferlist.C: fix open non-existent file
11396
11397         * lyxfind.C: fix indentation
11398
11399         * lyxfunc.C: remove unneeded assert, fix typo
11400
11401 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * MenuBackend.C: use "Floatname List"
11404
11405 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11406
11407         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11408         when converting LaTeX layout to insetERT.
11409         Generate a non-collapsed float when reading old float
11410
11411 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11412
11413         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11414         ERT insets.
11415
11416 2001-08-13  Juergen Vigna  <jug@sad.it>
11417
11418         * text.C (fill): return 0 instead of 20 as this seems to be the more
11419         correct value.
11420
11421 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11424         lyxrc.font_norm.
11425
11426 2001-08-13  Juergen Vigna  <jug@sad.it>
11427
11428         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11429         casesensitive off.
11430         (SearchBackward): comment out the unlocking of the inset_owner this
11431         should not be needed!
11432
11433 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11434
11435         * Many files: Remove inherit_language, and add latex_language
11436
11437         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11438         collapsible insets.
11439
11440 2001-08-10  Juergen Vigna  <jug@sad.it>
11441
11442         * text.C (prepareToPrint): fixed hfill-width in draw!
11443
11444         * BufferView2.C (selectLastWord): save the selection cursor as this
11445         now is cleared in the function LyXText::clearSelection!
11446
11447 2001-08-08  Juergen Vigna  <jug@sad.it>
11448
11449         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11450         BACKSPACE type functions.
11451
11452         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11453         is only cutted from the document but not put in the cut-buffer, where
11454         still the old stuff should be.
11455
11456         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11457
11458         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11459
11460         * tabular.C (SetWidthOfCell): fixed special case where the width
11461         was not updated!
11462         (LeftLine): handle '|' in align_special.
11463         (RightLine): ditto
11464         (LeftAlreadyDrawed): ditto
11465         (SetWidthOfCell): ditto
11466
11467 2001-08-07  Juergen Vigna  <jug@sad.it>
11468
11469         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11470
11471 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11474         * lyxlex.[hC]: ditto
11475
11476 2001-08-06  Juergen Vigna  <jug@sad.it>
11477
11478         * text.C (getVisibleRow): fix up row clearing a bit.
11479
11480 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * minibuffer.C: make sure the X server sees the changes in the input.
11483
11484 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * paragraph.C (getFont): split into...
11487         (getLabelFont): this
11488         (getLayoutFont): and this
11489         * paragraph_pimpl.C (realizeFont): calling this
11490
11491         * text2.C (getFont): split into...
11492         (getLayoutFont): this
11493         (getLabelFont): and this
11494         (realizeFont): all three calling this
11495
11496         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11497         files where used.
11498
11499 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11502
11503 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11504
11505         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11506         layouts from the Quote inset insertion.
11507
11508 2001-08-03  Juergen Vigna  <jug@sad.it>
11509
11510         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11511
11512         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11513         only if status not is already CHANGED_IN_DRAW (second level).
11514
11515         * text.C (draw): don't set the need_break_row when inside an
11516         InsetText LyXText.
11517
11518 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * buffer.C (parseSingleLyXformat2Token): handle more latex
11521         conversion cases.
11522
11523         * bufferview_funcs.[hC]: change function names to
11524         begin with small char, adjust other files.
11525
11526 2001-08-02  André Pönitz <poenitz@gmx.net>
11527
11528         * lyxfunc.C:
11529         BufferView_pimpl.C: remove broken special code for math-greek
11530
11531 2001-08-02  Juergen Vigna  <jug@sad.it>
11532
11533         * BufferView_pimpl.C (update): redone this function so that we
11534         update the text again if there was a CHANGE_IN_DRAW.
11535
11536         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11537         (drawFromTo): added a new internal bool which is used by draw() and
11538         redraw() function.
11539         (general): some cursor drawing problems fixed.
11540
11541 2001-08-01  Juergen Vigna  <jug@sad.it>
11542
11543         * lyxfind.C (LyXFind): fixed
11544         (SearchForward): ditto
11545         (SearchBackward): ditto
11546
11547         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11548         spurius drawing of the cursor in the main area.
11549
11550         * text2.C (status): small fix which could lead to a segfault!
11551         (clearSelection): remove unneeded BufferView param.
11552
11553 2001-08-01  André Pönitz <poenitz@gmx.net>
11554
11555         * lyxfunc.C: small change due to changed mathed interface
11556
11557 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11558
11559         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11560
11561 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * lyxfunc.c: fail gracefully if file doesn't exist
11564
11565         * LyXSendto.C:
11566         * buffer.C:
11567         * lyxfunc.C:
11568         * BufferView_pimpl.C: IsDirWriteable() proto changed
11569
11570         * LyXView.C: fix updateWindowTitle() to store the last title
11571
11572 2001-07-31  Juergen Vigna  <jug@sad.it>
11573
11574         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11575         the font (wrong since using of Paragraph::highestFontInRange).
11576
11577         * paragraph.C (highestFontInRange): added a default_size parameter.
11578
11579         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11580         (setHeightOfRow): reformat
11581
11582 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * converter.[hC] + affected files: move to (inital-char)lowercase
11585         function names.
11586
11587         * ParagraphParameters.C (ParagraphParameters): remove commented code
11588
11589         * PainterBase.[Ch]: remove commented code
11590
11591         * LaTeXFeatures.h: add "bool floats" for float.sty
11592
11593         * LaTeXFeatures.C (LaTeXFeatures): init floats
11594         (require): handle float
11595         (getPackages): do it with floats
11596
11597 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11598
11599         * BufferView_pimpl.C (Dispatch): improve handling of
11600         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11601
11602         * commandtags.h: #include lyxfont.h here temporarily to avoid
11603         keybinding bug.
11604
11605         * bufferlist.h: include LString.h here.
11606
11607 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * text2.C (getStringToIndex): new method.
11610
11611 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11612
11613         * *: Reduced header file dependencies all over.
11614
11615 2001-07-30  Baruch Even  <baruch@lyx.org>
11616
11617         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11618
11619 2001-07-29  Baruch Even  <baruch@lyx.org>
11620
11621         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11622
11623 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * ParameterStruct.h (endif): add a default constructor to make
11626         sure that all variables is initialized.
11627
11628         * ParagraphParameters.C (ParagraphParameters): adjust
11629
11630 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11631
11632         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11633         index; also, check that there is something to index, and that it
11634         does not span over several paragraphs.
11635         (doubleClick): use WHOLE_WORD_STRICT for double click.
11636
11637         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11638
11639         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11640         scheme.
11641
11642 2001-07-26  Baruch Even  <baruch@lyx.org>
11643
11644         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11645         an InsetFig figure, backwards compatible reading of old figure code.
11646
11647 2001-07-27  Juergen Vigna  <jug@sad.it>
11648
11649         * text2.C: font.realize function adaption.
11650
11651         * text.C (draw): add a warnings lyxerr text if needed.
11652
11653         * layout.C: font.realize function adaption.
11654
11655         * language.C: add inherit_language and implement it's handlings
11656
11657         * bufferview_funcs.C (StyleReset): remove language parameter from
11658         font creation (should be language_inherit now).
11659
11660         * bufferparams.C (writeFile): handle ignore_language.
11661
11662         * paragraph.C (getFontSettings): the language has to be resolved
11663         otherwise we have problems in LyXFont!
11664
11665         * lyxfont.C (lyxWriteChanges): added document_language parameter
11666         (update): removed unneeded language parameter
11667
11668         * paragraph.C (validate): fixed wrong output of color-package when
11669         using interface colors for certain fonts in certain environments,
11670         which should not seen as that on the final output.
11671
11672 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * BufferView_pimpl.C:
11675         * Thesaurus.h:
11676         * Thesaurus.C:
11677         * Makefile.am:
11678         * commandtags.h:
11679         * LyXAction.C: add thesaurus support
11680
11681         * lyxfind.h:
11682         * lyxfind.C: add "once" parameter, for thesaurus, to not
11683           move to the next match
11684
11685 2001-07-26  Juergen Vigna  <jug@sad.it>
11686
11687         * lyxfont.C (realize): honor ignore_language too!
11688         (resolved): ditto.
11689
11690         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11691
11692         * text.C (draw): one place more for ignore_language to not draw
11693         itself!
11694
11695 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11698
11699 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11702         the minipage conversion problem.
11703
11704 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11705
11706         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11707         insert an inset.
11708
11709 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * BufferView.h: don't forward declare WorkArea
11712
11713         * BufferView.C: don't include WorkArea.h
11714
11715 2001-07-25  André Pönitz <poenitz@gmx.net>
11716
11717         * commandtags.h:
11718         * LyXAction.C:
11719         * lyxfunc.C:  new LFUN 'math-space'
11720
11721         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11722
11723 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * text2.C (toggleInset): call open/close
11726
11727 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11728
11729         * lyxfunc.C (dispatch): add debug for the disabled case
11730
11731         * font.C (buttonText): make similar to rectText
11732
11733         * buffer.C (readInset): comment out parsing of insetlist and
11734         insttheorem
11735
11736         * PainterBase.C (rectText): small correction
11737
11738         * BufferView_pimpl.C: comment out insettheorem and insetlist
11739         * LyXAction.C: ditto
11740         * commandtags.h: ditto
11741
11742 2001-07-24  Juergen Vigna  <jug@sad.it>
11743
11744         * text.C (draw): honor the ignore_language.
11745
11746         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11747
11748 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11749
11750         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11751         char inset.
11752
11753 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11754
11755         * lyxtext.h: remove unused (and unimplemented) methods
11756
11757 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11758
11759         * text.C (getVisibleRow): honor background color
11760
11761         * PainterBase.h:
11762         * Painter.h: remove default color argument for fillRectangle
11763
11764         * text.C (backgroundColor): new method
11765
11766 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * text.C (getVisibleRow): adjust
11769
11770         * font.[Ch] (rectText): new method, metrics
11771         (buttonText): new method, metrics
11772
11773         * PainterBase.[hC]: make rectText and buttonText always draw and take
11774         fewer paramteres.
11775
11776 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11777
11778         * ToolbarDefaults.C (read):
11779         * MenuBackend.C (read): allow escaping in all strings
11780
11781         * BufferView_pimpl.C (insertAndEditInset): new method.
11782         (Dispatch): use insertAndEditInset whenever appropriate.
11783
11784         * BufferView_pimpl.C (insertNote): removed
11785
11786         * BufferView_pimpl.C (smartQuote): new method, moved from
11787         BufferView; if an insetquote cannot be inserted, insert a '"'
11788         character instead.
11789
11790         * BufferView2.C: remove insertCorrectQuote();
11791
11792         * lyxfunc.C (getStatus): Add support for all remaingin
11793         inset-insert lfuns.
11794
11795         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11796
11797         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11798         command (necessary to pass " as parameter of self-insert.
11799
11800         * text.C (selectWordWhenUnderCursor):
11801         (selectWord): add word_location parameter
11802         (selectWordWhenUnderCursor): same + remove special code for word
11803         boundary.
11804         (selectNextWord): use kind() to guess type of insetspecialchar,
11805         not latex().
11806
11807         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11808         (insertErtContents): create ert insets as collapsed.
11809         (readInset): better compatibility code for Info inset.
11810
11811 2001-07-20  Juergen Vigna  <jug@sad.it>
11812
11813         * lyxfunc.C (dispatch): use always LyXFind now!
11814
11815         * text2.C (init): add a reinit flag so that the LyXText can be
11816         reinited instead of deleted and reallocated (used in InsetText).
11817
11818         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11819
11820         * text.C: ditto
11821
11822         * text2.C: ditto
11823
11824 2001-07-18  Juergen Vigna  <jug@sad.it>
11825
11826         * text.C (selectNextWord): handle insets inside inset by calling
11827         always the bv->text functions so that we can go up the_locking_inset!
11828
11829         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11830         in strange locations when inside an inset!
11831
11832         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11833         handling to include insets.
11834
11835         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11836
11837 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11838
11839         * LyXAction.C (init):
11840         * commandtags.h:
11841         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11842         LIGATURE_BREAK, since the name is so stupid.
11843
11844 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11845
11846         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11847         InsetInfos.
11848
11849         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11850
11851         * sp_form.[Ch]: remove.
11852
11853         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11854
11855         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11856         InsetInfo.
11857
11858         * src/buffer.C (readInset): ditto.
11859
11860 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11861
11862         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11863         menuSeparator(), endOfSentenceDot(), ldots() and
11864         hyphenationPoint(), which are therefore removed.
11865         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11866
11867         * LyXAction.C (init):
11868         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11869
11870         * paragraph.C (getWord): removed.
11871
11872         * BufferView_pimpl.C (Dispatch): use last word or selection for
11873         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11874
11875         * lyx_main.C (queryUserLyXDir): do not ask before creating
11876         user_dir, except if it has been named explicitely.
11877
11878 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11881         a document of zero size.
11882
11883 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11886         approriately in the c-tor and in require().
11887         (getPackages): output the appropriate LaTeX for natbib support.
11888
11889         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11890         variables "use_natbib" and "use_numerical_citations" when reading the
11891         LyX file.
11892         (readInset): read the various natbib cite commands.
11893         (validate): white-space change.
11894
11895         * bufferparams.[Ch]: new variables "bool use_natbib" and
11896         "bool use_numerical_citations".
11897         (writeFile): output them in the LyX file.
11898
11899 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11900
11901         * lyxfunc.C (getStatus): add support for all the inset insertion
11902         commands.
11903
11904         * text2.C (insertInset):
11905         * paragraph.C (insetAllowed):
11906         * BufferView_pimpl.C (insertInset): update to take in account the
11907         renaming of insertInsetAllowed
11908
11909         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11910
11911         * text2.C (getInset): new method. returns inset at cursor position.
11912
11913         * BufferView_pimpl.C (Dispatch): changes because of this.
11914
11915         * LyXAction.C (init): rename open-stuff to inset-toggle.
11916
11917         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11918
11919         * text2.C (toggleInset): renamed from openStuff; use
11920         Inset::open().
11921
11922 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11923
11924         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11925
11926         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11927
11928 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11929
11930         * buffer.C (readLyXformat2): Add filename to the error dialog
11931
11932 2001-07-18  Juergen Vigna  <jug@sad.it>
11933
11934         * tabular.C (GetCellNumber): put an assert here instead of the check!
11935
11936 2001-07-17  Juergen Vigna  <jug@sad.it>
11937
11938         * BufferView_pimpl.C (toggleSelection): adapted too.
11939
11940         * text.C (selectNextWord): adapted for use with insets.
11941         (selectSelectedWord): ditto
11942
11943 2001-07-17  Juergen Vigna  <jug@sad.it>
11944
11945         * sp_spell.C (PSpell): fix initialitation order.
11946
11947 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * paragraph.C: spacing
11950
11951 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11952
11953         * sp_spell.C: repair language selection for pspell
11954
11955 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * lyxfunc.h: change more methods to begin with lower char.
11958
11959 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11960
11961         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11962         for unknown layouts.
11963
11964 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11965
11966         * buffer.C (readLyXformat2): Generate an error dialog if there are
11967         unknown layouts.
11968
11969 2001-07-16  Juergen Vigna  <jug@sad.it>
11970
11971         * sp_spell.C: always compile ISpell part.
11972
11973         * lyxrc.C: added use_pspell entry and it's handling.
11974
11975 2001-07-13  Juergen Vigna  <jug@sad.it>
11976
11977         * sp_spell.C: removed double includes.
11978
11979 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11980
11981         Consistent use of Lsstream.h:
11982         * Lsstream.h: added using std::stringstream for consistencies sake.
11983
11984         * buffer.C: removed using std::stringstream
11985
11986         * lyxfont.C (stateText):
11987         * paragraph.C (asString):
11988         * text.C (selectNextWord, selectSelectedWord):
11989         * text2.C (setCounter):
11990         * vspace.C (asString, asLatexString):
11991         std::ostringstream -> ostringstream.
11992
11993 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11994
11995         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11996         * commandtags.h: add LFUN_HELP_ABOUTLYX
11997         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11998
11999 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12000
12001         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12002         cursorToggle()
12003         * lyx_gui_misc.C: remove spellchecker
12004         * lyxfunc.C: showSpellchecker
12005         * sp_base.h: added
12006         * sp_ispell.h: added
12007         * sp_pspell.h: added
12008         * sp_spell.C: added
12009         * sp_form.[Ch]: removed
12010         * spellchecker.[Ch]: removed
12011
12012 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12013
12014         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12015         is set.
12016         (simpleTeXSpecialChars): Simply print the input character without
12017         any special translation if pass_thru is set.
12018
12019         * layout.h: Added bool pass_thru to layout class for being able to
12020         implement pass through of a paragraph for Literate Programming.
12021
12022         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12023         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12024         * layout.C (Read): add "passthru" to list of layout tags and add
12025         code to set the pass_thru boolean when it is read.
12026
12027 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12028
12029         * trans_decl.h: remove allowed from KmodInfo
12030
12031         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12032         remove allowed code
12033         (Load): adjust
12034
12035         * paragraph_pimpl.C (erase): use boost::prior
12036
12037         * Painter.C (text): use data() instead of c_str() when length is
12038         also provided.
12039         * WorkArea.C (putClipboard): ditto
12040         * font.h (width): ditto
12041
12042         * BufferView2.C: use it-> instead of (*it). for iterators
12043         * texrow.C: ditto
12044         * paragraph_pimpl.C: ditto
12045         * paragraph.C: ditto
12046         * minibuffer.C: ditto
12047         * language.C: ditto
12048         * kbmap.C: ditto
12049         * encoding.C: ditto
12050         * counters.C: ditto
12051         * converter.C: ditto
12052         * chset.C: ditto
12053         * Variables.C: ditto
12054         * TextCache.C: ditto
12055         * MenuBackend.C: ditto
12056         * LyXAction.C: ditto
12057         * LColor.C: ditto
12058         * FloatList.C: ditto
12059         * DepTable.C: ditto
12060         * ColorHandler.C (LyXColorHandler): ditto
12061
12062 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12063
12064         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12065
12066         * text2.C (openStuff): reintroduce this method (which had been
12067         nuked in NEW_INSETS frenzy).
12068
12069         * lyxfunc.C (Dispatch): when an action has not been handled, use
12070         its name in the error message, not its number.
12071
12072         * paragraph.C (inInset): change method name to begin with lowercase.
12073
12074         * undo_funcs.C:
12075         * text2.C: updates because of this.
12076
12077 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12078
12079         * ToolbarDefaults.C (add): add spaces in error message
12080
12081 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12084         (readLyXformat2): rename return_par to first_par, use lyxlex's
12085         pushToken and remove the manual push handling.
12086         (parseSingleLyXformat2Token): add another ert comp. variable:
12087         in_tabular, rename return_par to first_par. handle newlines better
12088
12089 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12092
12093 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12094
12095         * text2.C (getParFromID): removed
12096
12097         * buffer.C (getParFromID): new method moved form lyxtext.
12098         * BufferView2.C (insertErrors): adjust
12099         (setCursorFromRow): adjust
12100         * BufferView_pimpl.C (restorePosition): adjust
12101         * lyxfunc.C (Dispatch): adjust
12102         * undo_funcs.C (textUndo): adjust
12103         (textRedo): adjust
12104         (textHandleUndo): adjust
12105         (textHandleUndo): adjust
12106
12107 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12108
12109         * buffer.C: up' the LYX_FORMAT
12110
12111         * lyxfont.h: turn NO_LATEX on as default
12112
12113         * buffer.C (insertErtContents): new methods of tex style compability.
12114         (parseSingleLyXformat2Token): use it several places.
12115         * tabular.C (OldFormatRead): and here
12116
12117 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * text2.C: remove some commented code.
12120         reindent file.
12121
12122         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12123         * trans.C: changes because of the above.
12124
12125 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * text2.C (setCounter): Fix counters bug with bibliography layout.
12128
12129 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12132         own member functions
12133         (simpleTeXSpecialChars): ditto
12134
12135 2001-07-06  Juergen Vigna  <jug@sad.it>
12136
12137         * a lot of files: changed the access to LyXText::status and the
12138         call of undo-functions.
12139
12140         * undo.[Ch]: added a inset_id to the undo informations.
12141
12142         * undo_funcs.[Ch]: added and moved here all undo functions.
12143
12144         * lyxtext.h: give the status enum a weight, made status_ a private
12145         variable and made accessor functions for it, removed the whole bunch
12146         of undo-functions as they are now in their own file, make some
12147         functions publically available. Added function ownerParagraph with
12148         int parameter.
12149
12150         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12151         made InInset() a const function, added getParFromID() function.
12152
12153         * buffer.[Ch]: added const version for inset_iterator functions,
12154         added getInsetFromID() function.
12155
12156         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12157         changed undo functions for new version.
12158
12159 2001-07-05  Juergen Vigna  <jug@sad.it>
12160
12161         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12162         unknow mechanism does not call the proper constructor but only this
12163         one also if I request the other!?
12164
12165 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12168
12169         * text2.C (LyXText): use initialization lists.
12170
12171         * lyxtext.h (Selection): initialize set_ and mark_
12172         (init): remove method
12173
12174 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12175
12176         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12177
12178 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * screen.[Ch]: change method names to begin with lowercase
12181
12182         * BufferView_pimpl.C (updateScrollbar): simplify further and
12183         hopefully make it a bit faster.
12184
12185 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12188         calling directly xforms functions.
12189
12190         * Painter.C (Painter):
12191         * lyx_cb.C (MenuWrite):
12192         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12193         fl_display.
12194
12195         * lyx_gui.C: remove bogus guiruntime extern declaration.
12196
12197 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12200         in NEW_INSETS
12201         (redoDrawingOfParagraph): ditto
12202         (redoParagraphs): ditto
12203         (cutSelection): don't create a object for CutAndPaste use the
12204         static method directly
12205         (pasteSelection): ditto
12206
12207         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12208         LyXview (+ rename)
12209
12210 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * modifications to some other files because of this.
12213
12214         * Makefile.am (lyx_SOURCES): add XFormsView
12215
12216         * XFormsView.[Ch]: new files
12217
12218         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12219         the main window. Move the gui dependent stuff to XFormsView
12220
12221 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12222
12223         * tabular.C (GetCellInset): update cur_cell also in the row/col
12224         version of this function.
12225
12226         * lyxfunc.C: no need to include figure_form.h here.
12227
12228         * FontLoader.h:
12229         * lyxfunc.h:
12230         * lyxscreen.h:
12231         * text2.C:
12232         * lyxvc.C: no need to include forms.h here.
12233
12234 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12235
12236         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12237
12238         * lyxfunc.C (Dispatch):
12239         * Spacing.C (set):
12240         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12241         constructor argument.
12242
12243 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * paragraph.C (Paragraph): dont't clear, and just set layout.
12246         (makeSameLayout): use params's copy contructor.
12247
12248         * ParagraphParameters.[Ch] (makeSame): delete method
12249
12250 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * Variables.[Ch]: fix indentation, rename set to isSet
12253
12254 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * lyxfunc.C (Dispatch): fix typo
12257
12258 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12261         upper_bound.
12262
12263         * bufferlist.C: include assert.h for emergencyWrite().
12264
12265 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12268           give up at last (bug #425202) !
12269
12270 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * lyx_gui_misc.C:
12273         * sp_form.h:
12274         * sp_form.C:
12275         * spellchecker.h:
12276         * spellchecker.C: strip spellchecker options and bring up
12277           preferences tab instead
12278
12279 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12280
12281         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12282         the istringstream constructor
12283
12284 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12285
12286         * paragraph.C (getLayout): fix return value
12287
12288         * paragraph.h: do not declare getLayout as inline.
12289
12290         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12291
12292 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * lyxcursor.h (operator<): new func
12295         (operator>): new func
12296         (operator>=): new func
12297         (operator<=): new func
12298
12299         * text.C (changeCase): use selection.start and selection.end
12300         (changeRegionCase): require from to be <= to. Require par to be a
12301         valid paragraph.
12302
12303         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12304
12305 2001-06-27  Juergen Vigna  <jug@sad.it>
12306
12307         * text.C (cursorLeftOneWord): changed to return the cursor and added
12308         overlay with BufferView * parameter which calls this one.
12309         (getWord): added
12310         (selectWord): use new getWord function.
12311         (changeCase): renamed from changeWordCase as and extended to work
12312         also on selections.
12313
12314         * lyxtext.h: added enum word_location
12315
12316         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12317         changeCase as this operates now also on selections.
12318
12319 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12320
12321         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12322
12323         * many files: send debug output to Debug::INFO instead of
12324         Debug::ANY.
12325
12326         * converter.C (View):
12327         (Convert):
12328         (Move): send debug output to Debug::FILES instead of console.
12329
12330 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12331
12332         * lyxfunc.C (getStatus): use func_status
12333
12334         * func_status.h: new header, describing the results of
12335         LyXFunc::getStatus;
12336
12337         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12338         LFUN_MATH_HALIGN.
12339
12340 2001-06-25  The LyX Project  <jug@sad.it>
12341
12342         * buffer.C (sgmlOpenTag):
12343         (sgmlCloseTag):
12344         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12345
12346 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12347
12348         * text2.C: remove some dead code
12349
12350         * tabular.C (GetCellInset): store the last cell checked (gotten)
12351
12352         * tabular.h: add the helper for the speedup
12353
12354         * lyxtext.h: remove some dead code
12355
12356 2001-06-26  The LyX Project  <Asger>
12357
12358         * paragraph.C: Change export to LaTeX of alignment to
12359         \begin{center} and family for better roundtrip work with reLyX.
12360
12361         * Tune the math drawing a bit.
12362
12363 2001-06-25  The LyX Project  <Asger>
12364
12365         * LColor.C (LColor): New color for math background. New color
12366         for buttons.
12367
12368 2001-06-25  The LyX Project  <jug@sad.it>
12369
12370         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12371
12372         * lyxfunc.C (Open):
12373         * bufferlist.C (newFile): do not restrict to files ending with
12374         .lyx
12375
12376         * BufferView_pimpl.C (MenuInsertLyXFile):
12377
12378 2001-06-24  The LyX Project  <jug@sad.it>
12379
12380         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12381         of compare_no_case
12382
12383 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * lyxtext.h: rename most methods to begin with a small char.
12386         Lots of changes because of this.
12387
12388         * paragraph.C (Paragraph): do not call fitToSize
12389         (erase): call Pimpl::erase
12390         (insertChar): call Pimpl::insertChar
12391         (insertInset): call Pipl::insertInset
12392         (breakParagraph): do not call fitToSize
12393         (breakParagraphConservative): do not call fitToSize
12394         (fitToSize): remove method
12395
12396         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12397
12398 2001-06-24  The LyX Project  <Asger>
12399
12400         * Fix Qt compilation^2
12401
12402 2001-06-24  The LyX Project  <jug@sad.it>
12403
12404         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12405         depthHook(getDepth()-1).
12406
12407         * paragraph.h:
12408         * ParagraphParameters.h:
12409         * ParameterStruct.h: change type of depth to unsigned int ==
12410         depth_type. Many adaptations to other files before of that.
12411
12412 2001-06-24  The LyX Project  <Asger>
12413
12414         * Fix Qt compilation.
12415
12416 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * paragraph.h: renamed several methods to begin with small letter.
12419         several changes to many parts of the code because of this.
12420
12421 2001-06-23  The LyX Project  <jug@sad.it>
12422
12423         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12424         rewritten to discard all double spaces when KeepEmpty is off
12425         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12426         to only handle newlines but not fiddle with spaces and friends.
12427
12428         * lyxfunc.C (MenuNew): when doing 'new from template', use
12429         template_path as default directory
12430
12431 2001-06-23  The LyX Project  <Asger>
12432
12433         * Clean-up of header file includes all over
12434         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12435
12436 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * paragraph.h: renamed from lyxparagraph.h
12439
12440 2001-06-23  Asger  <lyx@violet.home.sad.it>
12441
12442         * Buffer.h: Removed Buffer::resize
12443         * BufferList.h: Removed BufferList::resize
12444         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12445         the document lazily when we change the width, or the font settings.
12446
12447 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12450
12451 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * buffer.h: remove out of date comment
12454
12455 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * lyxscreen.h:
12458         * screen.C: fix "theoretical" GC leak
12459
12460 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12461
12462         * LaTeX.C (scanAuxFile):
12463         (deplog): remove trailing \r when reading stream (useful under
12464         win32)
12465
12466 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12469         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12470         and BufferView::theLockingInset(Inset*), so should use them and not
12471         access bv_->text->the_locking_inset directly.
12472
12473         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12474
12475 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * Makefile.am:
12478         * tex-defs.h: remove old unused file
12479
12480 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12481
12482         * BufferView_pimpl.C: fix typo, remove minibuffer message
12483           when buffer has loaded
12484
12485 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * lyxfunc.C (Dispatch): use stringstream
12488         (MenuNew): use stringstream
12489         (Open): use stringstream
12490
12491         * importer.C (Import): use stringstream
12492
12493         * bufferview_funcs.C (CurrentState): use stringstream
12494
12495         * LaTeX.C (run): use stringstream
12496
12497         * BufferView_pimpl.C (savePosition): use stringstream
12498         (restorePosition): use stringstream
12499         (MenuInsertLyXFile): use stringstream
12500
12501 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * BufferView.C:
12504         * Bullet.C:
12505         * ColorHandler.C:
12506         * FontInfo.C:
12507         * FontLoader.C:
12508         * LColor.C:
12509         * LaTeXFeatures.C:
12510         * Painter.C:
12511         * gettext.C:
12512         * lyx_gui_misc.C:
12513         * lyxserver.C:
12514         * vspace.C: removed // -*- C++ -*- as first line.
12515
12516         * lyxfind.h:
12517         * version.h: added // -*- C++ -*- as first line.
12518
12519 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12522
12523         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12524         of string
12525
12526 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12529         of floats.
12530
12531 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12532
12533         * gettext.C: include LString.h even when --disable-nls is on.
12534
12535 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * converter.h (Get): changed argument type from int to
12538         FormatList::size_type to avoid unnecessary conversion.
12539
12540         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12541         before using it.
12542
12543 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * gettext.h: include LString.h even when --disable-nls is on.
12546
12547 2001-06-07  Juergen Vigna  <jug@sad.it>
12548
12549         * text.C (BreakAgain): subst spaces with tabs.
12550
12551         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12552         (resizeInsetsLyXText): set force on resizeLyXText.
12553
12554 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * gettext.h (gettext_init):
12557         (locale_init): use a real definition instead of a macro
12558
12559 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * Bufferview_pimpl.C:
12562         * LColor.h:
12563         * LColor.C: further lcolor tidies
12564
12565 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * BufferView_pimpl.C (updateScrollbar): simplify.
12568
12569         * BufferView2.C: don't include insets/insetinfo.h, change
12570         prototype for insertInset and call the Pimpl version. let
12571         updateInset call Pimpl version.
12572
12573         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12574         gotoInset to BufferView::Pimpl
12575
12576 2001-06-01  Juergen Vigna  <jug@sad.it>
12577
12578         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12579         inside a LockingInset (is the update needed at all?).
12580
12581 2001-05-31  Juergen Vigna  <jug@sad.it>
12582
12583         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12584         here not the old one otherwise how should we compare it afterwards
12585         if it's the same!
12586
12587 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12588
12589         * lyxfont.C:
12590         * tabular.C:
12591         * tabular-old.C:
12592         * FontInfo.C: bring C functions into global namespace when
12593         necessary
12594
12595 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * LString.h: make sure config.h has been loaded before LString.h.
12598
12599         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12600         (one for each char read by EatLine!).
12601
12602         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12603         variables.
12604
12605 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12608         to the same as the par we break from
12609
12610 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12613
12614         * MenuBackend.C (expand): also create menu entries for wide
12615         versions of the floats.
12616
12617         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12618
12619         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12620
12621         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12622         frontends/Makefile.am
12623
12624         * text2.C: adjust
12625         * text.C: adjust
12626
12627
12628         * tabular.C (getTokenValue): add std::
12629
12630         * tabular-old.C (getTokenValue): add std::
12631         (getTokenValue): ditto
12632         (getTokenValue): ditto
12633
12634         * screen.C (ToggleSelection): adjust
12635
12636         * lyxtext.h: put selection cursors inside a Selection struct.
12637
12638         * lyxfunc.C (moveCursorUpdate): adjust
12639
12640         * lyxfont.C (latexWriteStartChanges): add std::
12641
12642         * lyxfind.C: adjust
12643
12644         * font.h: delete with(char const *, LyXFont const &)
12645
12646         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12647
12648         * FontInfo.C (getFontname): add std::
12649
12650         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12651         (workAreaButtonPress): adjust
12652         (tripleClick): adjust
12653         (update): adjust
12654         (moveCursorUpdate): adjust
12655         (Dispatch): adjust
12656
12657         * BufferView2.C (gotoInset): adjust
12658
12659 2001-05-30  Juergen Vigna  <jug@sad.it>
12660
12661         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12662         to check pspell I add this as default as I now have new pspell
12663         libraries and they seem to use this.
12664
12665 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12666
12667         * text2.C (CutSelection): make the cursor valid before the call to
12668         ClearSelection.
12669
12670 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12673         relied on 0 terminated strings and other horrors. Bug found due to
12674         the new assert in lyxstring!
12675
12676         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12677         KP_ keys.
12678
12679 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12682         to latinkeys.bind.
12683
12684         * lyxfunc.C (processKeySym): change method of getting to the
12685         self-insert char.
12686
12687         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12688         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12689         * BufferView_pimpl.[Ch]: here as private methods.
12690
12691 2001-05-28  Juergen Vigna  <jug@sad.it>
12692
12693         * text.C (SetHeightOfRow): added the update() call again as it is
12694         needed to initialize inset dimensions!
12695
12696 2001-05-16  Juergen Vigna  <jug@sad.it>
12697
12698         * text2.C (SetCharFont): Add new function with BufferView * and
12699         bool toggleall parameters for setting insets internal fonts.
12700         (SetFont): Freeze the undo as we may change fonts in Insets and
12701         all this change should be inside only one Undo!
12702
12703         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12704         setting font's in insets as for them we have the SetFont function!
12705
12706 2001-05-15  Juergen Vigna  <jug@sad.it>
12707
12708         * text2.C (ClearSelection): to be sure we REALLY don't have any
12709         selection anymore!
12710
12711         * tabular.C (TeXCellPreamble): fixed the left border problem for
12712         multicolumn cells.
12713
12714 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12715
12716         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12717         dependancy file
12718
12719 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12722         LFUN_BREAKPARAGRAPH.
12723
12724         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12725         help test to "internal only", similar for LFUN_INSERT_URL
12726
12727         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12728         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12729         auto_region_delete and deadkeys.
12730
12731 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * LColor.h:
12734         * LColor.C: remove some dead entries, tidy a little
12735
12736 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12739         commented code.
12740         (Dispatch): implement LFUN_ESCAPE
12741
12742         * commandtags.h: add LFUN_ESCAPE
12743
12744         * LyXAction.C (init): add entry for LFUN_ESCAPE
12745
12746         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12747         Remove commented code.
12748         (insertNote): moved here
12749         (open_new_inset): moved here
12750
12751         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12752         BufferView_pimpl
12753
12754 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12755
12756         * kbmap.C (findbinding): clean it up and make it work correctly.
12757
12758         * lyx_main.C (init): do not pass argc and argv as parameters
12759
12760 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12761
12762         * buffer.C: fix path for OS/2 & Win32
12763
12764         * lyx_gui.C:
12765         * lyx_main:
12766         * lyx_main.C: Added os:: class.
12767
12768         * os2_defines.h: update
12769
12770 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12773         better by trying again with reduced state.
12774
12775 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * lyxrc.C (read): print error about invalid key sequence only when
12778         debugging (because not all latinX keysyms are known to some X
12779         servers)
12780
12781         * kbsequence.C (getiso): add a few std:: qualifiers
12782         (getiso): comment out extra return statement.
12783
12784 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12787         handling.
12788         (Dispatch): enhance the accent inset a bit. (not perfect)
12789
12790 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12793
12794 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12795
12796         * bufferlist.C (emergencyWrite): fix assert() call
12797
12798 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12799
12800         * text.C (InsertChar): Added trivial patch to only send the "you
12801         can not do multiple spaces this way" message once during a
12802         session.
12803
12804 2001-05-08  Baruch Even  <baruch@lyx.org>
12805
12806         * Makefile.am: Changed order of libraries to get LyX to link properly
12807         with the gnome frontend.
12808
12809 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12810
12811         * LaTeXFeatures.h: add a std:: qualifier
12812
12813 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * paragraph.C (String): use stringstream
12816
12817 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * paragraph.C (writeFile): remove footflag arg
12820
12821         * buffer.C (makeLaTeXFile): use stringstream
12822         (latexParagraphs): remove footnot gurba
12823
12824         * LaTeXFeatures.C (getPackages): use stringstream
12825         (getMacros): likewise
12826         (getTClassPreamble): likewise
12827         (getFloatDefinitions): new method
12828
12829         * paragraph.C (writeFile): reindent
12830         (Erase): reindent
12831
12832         * WorkArea.h: revert the xpos + etc changes.
12833
12834         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12835
12836         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12837
12838         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12839         (pasteSelection): likewise
12840         * text2.C (CreateUndo): likewise
12841
12842 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12843
12844         * minibuffer.C (peek_event): temporarily reduce the functionality
12845         of the minibuffer (to allow args on lfuns)
12846
12847         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12848         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12849
12850         * buffer.C (readInset): add compability reading of old float
12851         lists, add reading of new style float list.
12852         (readInset): avoid reevaluation of inscmd.getCmdName()
12853         (getLists): reindent
12854
12855         * MenuBackend.C (MenuItem): implement parsing of
12856         md_floatlistinsert and md_floatinsert.
12857         (expand::LastFiles): move initalizaton of iterators out of loop,
12858         avoid reevaluation.
12859         (expand::Documents): introduce typdedef vector<string> Strings,
12860         and use it.
12861         (expand::ExportFormats): introduce typedef vector<Format const *>
12862         Formats, and use it.
12863         (expand): implement FloatListInsert and FloatInsert.
12864
12865         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12866         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12867         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12868
12869         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12870         handling.
12871         (Dispatch::LFUN_FLOAT_LIST): implement
12872
12873 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12874
12875         * LaTeX.C (run): Fix problem with --export code.
12876
12877 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * BufferView.[Ch] (workarea): removed.
12880         (getClipboard) new method; wrapper for workarea()->getClipboard()
12881
12882         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12883         bug.
12884
12885         * WorkArea.h (width, height, xpos, ypos): These methods all
12886         returned the dimensions of the work_area sub-area of WorkArea,
12887         resulting in a position error if the WorkArea were resized. Now
12888         return the dimensions of the entire WorkArea.
12889
12890         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12891
12892 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * LaTeX.C (deplog): correct the syntax of regex reg1
12895
12896 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * undo.C: remove !NEW_INSETS cruft
12899
12900 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * text2.C: remove !NEW_INSETS cruft
12903
12904         * text.C: remove !NEW_INSETS cruft
12905
12906         * tabular.C: remove !NEW_INSETS cruft
12907
12908         * spellchecker.C: remove !NEW_INSETS cruft
12909
12910         * lyxtext.h: remove !NEW_INSETS cruft
12911
12912         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12913
12914         * lyxfunc.C: remove !NEW_INSETS cruft
12915
12916         * lyxfind.C: remove !NEW_INSETS cruft
12917
12918         * lyx_cb.C: remove !NEW_INSETS cruft
12919
12920         * figureForm.C: remove  !NEW_INSETS cruft
12921
12922         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12923
12924         * buffer.[Ch]: remove !NEW_INSETS cruft
12925
12926         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12927
12928         * CutAndPaste.C: remove !NEW_INSETS cruft
12929
12930         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12931
12932         * BufferView2.C: remove !NEW_INSETS cruft
12933
12934         * BufferView.h: remove !NEW_INSETS cruft
12935
12936 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * Lsstream.h: include LString.h before the sstream headers to
12939         fix problem with gcc 2.95.3 and lyxstring
12940
12941 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12942
12943         * lyx_main.C: add using directives when needed for C functions
12944         declared in std:: namespace.
12945
12946 2001-04-27  Juergen Vigna  <jug@sad.it>
12947
12948         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12949         (SetHeightOfRow): comment out the update call should not be needed!
12950
12951 2001-04-13  Juergen Vigna  <jug@sad.it>
12952
12953         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12954         (LyXTabular): tried to minimize operator= operations (and realized
12955         hopfully Lars wish).
12956
12957 2001-04-27  Juergen Vigna  <jug@sad.it>
12958
12959         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12960
12961 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12964
12965         * buffer.C (readInset): hack to make listof algorithm work
12966
12967         * BufferView_pimpl.C: hack to make listof algorithm work
12968
12969 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * LyXAction.C: removed all !NEW_INSETS cruft
12972         (init): moved lfun_item in method
12973
12974         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12975
12976 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * BufferView2.C (theLockingInset): white space.
12979
12980 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * minibuffer.C: include <iostream>
12983
12984         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12985
12986         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12987
12988         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12989
12990         * text.[Ch] (TransposeChars): new method
12991
12992 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * call message directly through LyXView instead of through LyXFunc
12995         * BufferView2.C: adjust
12996         * BufferView_pimpl.C: adjust
12997         * FontLoader.C: adjust
12998         * buffer.C: adjust
12999         * bufferview_funcs.C: adjust
13000         * converter.C: adjust
13001         * figureForm.C: adjust
13002         * importer.C: adjust
13003         * lyx_cb.C: adjust
13004         * lyx_gui_misc.C: adjust
13005         * lyxfunc.C: adjust
13006         * lyxvc.C: adjust
13007         * text2.C: adjust
13008         + more files in subdirs
13009
13010         * lyxparagraph.h (size): move up int file
13011         (GetLayout): ditto
13012
13013         * adjust all uses of Assert to lyx::Assert.
13014
13015         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13016         lyxfunctional in namespace lyx
13017         * layout.C (hasLayout): ditto
13018         (GetLayout): ditto
13019         (GetLayout): ditto
13020         (delete_layout): ditto
13021         (NumberOfClass): ditto
13022         * converter.C (GetFormat): ditto
13023         (GetNumber): ditto
13024         (Add): ditto
13025         (Delete): ditto
13026         (SetViewer): ditto
13027         * bufferlist.C (getFileNames): ditto
13028         (emergencyWriteAll): ditto
13029         (exists): ditto
13030         (getBuffer): ditto
13031         * MenuBackend.C (hasSubmenu): ditto
13032         (hasMenu): ditto
13033         (getMenu): ditto
13034         * BufferView_pimpl.C (getInsetByCode): ditto
13035
13036 2001-04-18  Juergen Vigna  <jug@sad.it>
13037
13038         * vspace.C (asLatexString): fixed the 100% problem.
13039
13040 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13041
13042         * lyxfunc.C (Dispatch):
13043         * minibuffer.C:
13044         * minibuffer.h: add a few std:: qualifiers
13045
13046 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * minibuffer.[Ch]: reimplement so that commands is initiated and
13049         run from lyxfunc, simplified som handling, and made the completion
13050         and history code for complete. wip.
13051
13052         * lyxfunc.C (processKeySym): call message
13053         (miniDispatch): new temporary method
13054         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13055         (LFUN_MESSAGE): implement
13056         (LFUN_MESSAGE_PUSH): implement
13057         (LFUN_MESSAGE_POP): implement
13058         (initMiniBuffer): the initial/defualt minibuffer message.
13059
13060         * lyxfont.[Ch]: inline some more getters
13061
13062         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13063
13064         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13065
13066         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13067         (AutoSave): use LFUN_MESSAGE
13068         (Reconfigure): ditto
13069
13070         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13071
13072         * figureForm.C: use LFUN_MESSAGE
13073
13074         * converter.C (runLaTeX): use LFUN_MESSAGE
13075
13076         * bufferview_funcs.C: use LFUN_MESSAGE
13077         (Melt): ditto
13078         (changeDepth): ditto
13079
13080         * bufferparams.h: use boost::
13081
13082         * bufferlist.h: inherit privately from noncopyable
13083
13084         * bufferlist.C (loadLyXFile): remove some commented code.
13085
13086         * buffer.C (runChktex): use LFUN_MESSAGE
13087
13088         * ShareContainer.h: inherit privately from noncopyable
13089
13090         * ParagraphParameters.[hC] (depth): inline it.
13091
13092         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13093         methods.
13094         (message): new method
13095         (messagePush): ditto
13096         (messagePop): ditto
13097         (show): init minibuffer
13098         (showState): direct call
13099
13100         * LaTeX.[Ch]: inherit privately from noncopyable
13101         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13102         instead of WriteStatus.
13103
13104         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13105
13106         * BufferView_pimpl.C (buffer): don't init minibuffer
13107         (workAreaButtonPress): use LFUN_MESSAGE
13108         (workAreaButtonRelease): ditto
13109         (savePosition): ditto
13110         (restorePosition): ditto
13111         (MenuInsertLyXFile): ditto
13112         (workAreaExpose): don't init minibuffer
13113         (update): remove commented code, simplify
13114
13115         * BufferView2.C (openStuff): use LFUN_MESSAGE
13116         (toggleFloat): ditto
13117         (menuUndo): ditto
13118         (menuRedo): ditto
13119         (copyEnvironment): ditto
13120         (pasteEnvironment): ditto
13121         (copy): ditto
13122         (cut): ditto
13123         (paste): ditto
13124         (gotoInset): ditto
13125         (updateInset): remove some commented code
13126
13127         * lastfiles.h: inherit privately from noncopyable
13128         * layout.h: ditto
13129         * lyx_gui.h: ditto
13130         * lyx_main.h: ditto
13131         * lyxlex.h: ditto
13132         * lyxlex_pimpl.h: ditto
13133
13134         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13135         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13136         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13137
13138         * LyXAction.h: inherit privately from noncopyable, add methods
13139         func_begin, func_end, returning iterators to the func map.
13140
13141         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13142         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13143         (func_begin): new method
13144         (func_end): new method
13145
13146         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13147         and not)
13148         (copySelection): ditto
13149         (pasteSelection): ditto
13150
13151         * BufferView.C: whitespace change
13152         * BufferView.h: inherit privately from noncopyable
13153
13154 2001-04-16  Allan Rae  <rae@lyx.org>
13155
13156         * tabular-old.C (l_getline):
13157         * spellchecker.C (sc_check_word):
13158         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13159         an unrecognised preprocessor directive.  So ensure they're wrapped.
13160
13161 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13162
13163         * src/exporter.C (Export): Give an error message when path to file
13164         contains spaces.
13165
13166 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * LaTeX.C (deplog): Always check that foundfile exists.
13169
13170 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * lyx_main.h:
13173         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13174
13175 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * tabular.[Ch] (getLabelList): implement new method
13178
13179         * minibuffer.h: comment ouf setTiimer
13180
13181         * minibuffer.C (ExecutingCB): constify res
13182         (peek_event): constify s
13183         (Set): constify ntext
13184         (Init): constify nicename
13185
13186         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13187
13188         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13189         (savePosition): use two params to Minibuffer::Set
13190         (restorePosition): ditto
13191
13192 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * lyx_main.C: include language.h
13195
13196         * Makefile.am (lyx_main.o): add language.h
13197
13198 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * exporter.C:
13201         * paragraph.C:
13202         * screen.C:
13203         * tabular.C:
13204         * CutAndPaste.C: include gettext.h
13205
13206         * lyxfont.h: remove old hack with ON and OFF.
13207
13208         * lyxparagraph.h:
13209         * lyxfont.h: do not include language.h...
13210
13211         * BufferView2.C:
13212         * LaTeXFeatures.C:
13213         * Painter.C:
13214         * bufferview_funcs.C:
13215         * font.C:
13216         * lyxfont.C:
13217         * text.C:
13218         * text2.C:
13219         * trans_mgr.C:
13220         * paragraph.C: ... but do it here instead
13221
13222 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13225
13226         * tabular.C: small reformat
13227
13228         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13229         NEW_INSETS version
13230         (GetChar): ditto
13231         (BreakParagraph): ditto
13232         (SetOnlyLayout): ditto
13233         (SetLayout): ditto
13234
13235         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13236         with one arg less.
13237
13238         * lastfiles.C: removed most using decl, add std:: where needed
13239
13240         * buffer.C: ws changes
13241
13242         * MenuBackend.C (class compare_format): put into anon namespace
13243         (expand): constify label, names, action, action2
13244         (expand):
13245
13246         * text.C (SingleWidth): constify font
13247         (IsBoundary): constify rtl2
13248         (GetVisibleRow): constify ww
13249
13250         * LaTeX.C (deplog): constify logfile
13251
13252         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13253         start_x, end_x
13254         (workAreaExpose): constify widthChange, heightChange
13255
13256         * lyxrow.C (par): moved
13257         (height): moved
13258         (next): moved
13259         * lyxrow.h: as inlines here
13260
13261         * lyxfont.h (shape): moved from lyxfont.C
13262         (emph): moved from lyxfont.C
13263
13264         * lyxfont.C (LyXFont): use initialization list for all
13265         constructors
13266         (shape): move to lyxfont.h as inline
13267         (emph): move to lyxfont.h as inline
13268
13269
13270 2001-04-04  Juergen Vigna  <jug@sad.it>
13271
13272         * vspace.C: had to include stdio.h for use of sscanf
13273
13274 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13275
13276         * BufferView.h:
13277         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13278         independent of xforms.
13279
13280 2001-04-02  Juergen Vigna  <jug@sad.it>
13281
13282         * spellchecker.C: fixed namespace placing!
13283
13284 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13287         the LyXParagraph * is 0.
13288
13289 2001-03-29  Juergen Vigna  <jug@sad.it>
13290
13291         * vspace.C: added support for %, c%, p%, l%.
13292         (stringFromUnit): added helper function.
13293         (asLatexString): changed to give right results for the %-values.
13294
13295         * buffer.C: convert the widthp in a width%.
13296
13297 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13300         figureForm.[Ch].
13301
13302         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13303         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13304
13305         * lyx_cb.[Ch]: see above.
13306
13307         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13308         form1.[Ch].
13309
13310         * form1.[Ch]:
13311         * lyx.[Ch]: replaced by figure_form.[Ch].
13312
13313         * lyx_gui.C:
13314         * lyx_gui_misc.C:
13315         * lyxfunc.C: changed headers associated with above changes.
13316
13317 2001-03-27  Juergen Vigna  <jug@sad.it>
13318
13319         * BufferView_pimpl.C: set the temporary cursor right!
13320
13321 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13322
13323         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13324
13325 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * LString.h: removed "using std::getline"!
13328
13329         * BufferView_pimpl.C (Dispatch): changes due to changes in
13330         InsetInclude::Params.
13331
13332         * buffer.C (tag_name): removed redundant break statements as they were
13333         producing lots of warnings with my compiler.
13334
13335 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * LString.h: add "using std::getline" when using the real <string>.
13338
13339 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13340
13341         * buffer.C: removed bitset usage.
13342         PAR_TAG moved to an anonymous name space.
13343         (tag_name): new funtion, also in the anonymous namespace.
13344         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13345         (makeDocBookFile): clean code. Completed transition from string arrays
13346         to string vectors.
13347         (SimpleDocBookOnePar): code clean.
13348
13349 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13350
13351         * tabular.C: add some comments.
13352
13353 2001-03-22  Juergen Vigna  <jug@sad.it>
13354
13355         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13356         compatibility read a bit and fixed bug with minipage in different
13357         depth.
13358
13359 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13360
13361         * buffer.C (pop_tag): removed.
13362         (push_tag): removed.
13363         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13364         array replaced with vector. Added support for CDATA sections.
13365         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13366         at any nest level.
13367         (makeDocBookFile): XML conformant declaration of CDATA section,
13368         fixed bug related to <emphasis> in the first paragraph char.
13369         (sgmlOpenTag): exclude empty tags.
13370         (sgmlCloseTag): ditto.
13371
13372         * buffer.h (pop_tag): removed.
13373         (push_tag): removed.
13374
13375 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13376
13377         * language.h (Languages): added size_type and size().
13378
13379 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13380
13381         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13382         response on compability reading of minipages. One probliem is that
13383         the old usage of minipages was «flertydig»
13384
13385         * several files here and in subdirs: don't use static at file
13386         scope use anon namespaces instead.
13387
13388 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13389
13390         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13391         LaTeX output. This is necessary for Literate document
13392         processing.
13393
13394 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13395
13396         * buffer.C: insert hfill when needed.
13397
13398         * tabular.C (l_getline): use string::erase, small whitespace change.
13399
13400         * BufferView_pimpl.C: try the anon namespace.
13401         * WorkArea.C: ditto
13402
13403 2001-03-16  Juergen Vigna  <jug@sad.it>
13404
13405         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13406         otherwise it won't open options-dialogs.
13407
13408         * buffer.C: honor pextraWidth(p) on converting minipages.
13409
13410         * tabular.C (l_getline): changed the functions to strip trailing \r.
13411
13412 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13413
13414         * BufferView_pimpl.C:
13415         * minibuffer..C: added "using SigC::slot" declaration.
13416
13417 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13418
13419         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13420
13421         * text2.C: ditto
13422
13423         * text.C: ditto
13424
13425         * paragraph.C: ditto
13426
13427         * lyxtext.h: NO_PEXTRA
13428
13429         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13430
13431         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13432         * ParameterStruct.h: ditto
13433         * ParagraphParameters.h: ditto
13434         * lyxparagraph.h: ditto
13435
13436 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13437
13438         * buffer.C: add compability for minipage alignment.
13439         (latexParagraphs): remove unwanted pextra check.
13440
13441         * several files: remove CXX_WORKING_NAMESPACES
13442
13443         * buffer.C (pop_tag): tie is in namespace boost
13444
13445         * BufferView.h: noncopyable is in namespace boost
13446         * lyxlex.h: ditto
13447         * lyx_main.h: ditto
13448         * lyx_gui.h: ditto
13449         * layout.h: ditto
13450         * lastfiles.h: ditto
13451         * bufferlist.h: ditto
13452         * ShareContainer.h: ditto
13453         * LyXView.h: ditto
13454         * LyXAction.h: ditto
13455         * LaTeX.h: ditto
13456
13457 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13458
13459         * Merging changes from BRANCH_MVC back into HEAD.
13460
13461         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13462
13463 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * BufferView_pimpl.C: change from intl.C
13466
13467         * combox.h:
13468         * combox.C:
13469         * Makefile.am: move combox.*
13470
13471         * form1.h:
13472         * form1.C:
13473         * lyx_gui.C:
13474         * intl.h:
13475         * intl.C: remove dialog (covered by prefs)
13476
13477 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * lyxfunc.C (Dispatch): removed redundant break statement.
13480
13481 2001-03-14  Juergen Vigna  <jug@sad.it>
13482
13483         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13484
13485 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13486
13487         * buffer.C: add hack to fix compability reading of minipages.
13488
13489 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * buffer.C (getLists): Cleanup.
13492
13493 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * lyxfont.C (update): don't honor toggleall on font size.
13496
13497 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * bmtable.c:
13500         * bmtable.h:
13501         * Makefile.am: moved to frontends/xforms/
13502
13503         * lyx_gui_misc.C:
13504         * lyxfunc.C:
13505         * BufferView_pimpl.C: changes for moved mathpanel
13506
13507 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * gettext.h: fix gettext_init() in --disable-nls
13510
13511 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13514
13515 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13516
13517         * lyx.C:
13518         * lyx.h: strip external form
13519
13520 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * BufferView_pimpl.C: add comment, destroySplash()
13523
13524 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * BufferView_pimpl.C:
13527         * LyXAction.C:
13528         * buffer.C:
13529         * commandtags.h:
13530         * lyxfunc.C: use re-worked insetinclude
13531
13532 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13533
13534         * buffer.C: add using std::stringstream.
13535
13536         * lyx_cb.C: readd using std::ios.
13537
13538         * buffer.C: add using std::map.
13539
13540         * BufferView_pimpl.C: add using std::vector.
13541
13542         * ShareContainer.h: add std:: to swap.
13543
13544         * buffer.h: add some typedefs
13545         * buffer.C (getLists): use them
13546         (getLists): renamed from getTocList.
13547         add a counter for the different float types and use it in the
13548         generated string.
13549         (getLists): use the same counter for the NEW_INSETS and the "non"
13550         NEW_INSETS
13551
13552         * lyx_cb.h: remove unused items, includes, using etc.
13553
13554         * ShareContainer.h: remove some commented code, add more comments
13555         and "documentation".
13556
13557 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13558
13559         * buffer.C (getTocList): make the list also when NEW_INSETS is
13560         defined.
13561
13562         * buffer.h: remove TocType
13563
13564         * buffer.C (getTocList): change to return a map<string,
13565         vector<TocItem> >, implement for dynamic number of list.
13566
13567         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13568         * text2.C (PasteSelection): adjust
13569         * CutAndPaste.C (pasteSelection): adjust
13570
13571         * FloatList.C (FloatList): update from the new_insets branch.
13572         * Floating.[Ch]: ditto
13573         * LaTeXFeatures.C: ditto
13574         * buffer.C: ditto
13575         * lyxlex_pimpl.C: ditto
13576
13577         * paragraph.C (Last): remove when NEW_INSETS is defined.
13578
13579         * other file: changes because of the above.
13580
13581 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13582
13583         * lyxparagraph.h: rename next to next_, previous to previous_,
13584         make them private for NEW_INSETS. Rename Next() to next(),
13585         Previous() to previous().
13586
13587         * other files: changes because of the above.
13588
13589 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * BufferView.h:
13592         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13593         problem.
13594
13595 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13596
13597         * main.C (main): pass lyx_localedir to gettext_init().
13598
13599         * gettext.h: remove locale_init and gettext_init macros
13600
13601         * gettext.C (locale_init): new function
13602         (gettext_init): new function
13603
13604         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13605         setlocale().
13606
13607 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13608
13609         * Moved credits to frontends:
13610         * credits.[Ch]: removed
13611         * credits_form.[Ch]: removed
13612         * lyx_gui_misc.C: remove credits stuff
13613         * Makefile.am:
13614
13615 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13616
13617         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13618
13619         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13620         unneeded destructor.
13621
13622         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13623         a standalone pointer again.
13624
13625         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13626
13627 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13628
13629         * Makefile.am:
13630         * filedlg.h:
13631         * filedlg.C:
13632         * LyXAction.C:
13633         * ToolbarDefaults.C:
13634         * bufferlist.C:
13635         * commandtags.h:
13636         * form1.C:
13637         * form1.h:
13638         * lyx_cb.C:
13639         * lyx_cb.h:
13640         * lyxfunc.h:
13641         * lyxfunc.C:
13642         * BufferView_pimpl.C: use new file dialog in GUII
13643
13644         * lyx_cb.h:
13645         * lyx_cb.C: remove LayoutsCB to Toolbar
13646
13647 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13648
13649         * ShareContainer.h (get): add std:: qualifier
13650
13651 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * ShareContainer.h: define a proper ShareContainer::value_type
13654         type (and use typename to please compaq cxx)
13655
13656 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13657
13658         * lyxparagraph.h: move serveral local vars to
13659         ParameterStruct/ParagraphParameters., use ShareContainer in
13660         FontTable., make vars in FontTable private and add getter and
13661         setter.
13662
13663         * paragraph.C: changes because of the above.
13664
13665         * lyxfont.h: remove copy constructor and copy assignment. (the
13666         default ones is ok), move number inside FontBits. move inlines to
13667         lyxfont.C
13668
13669         * lyxfont.C: add number to initializaton of statics, move several
13670         inlines here. constify several local vars. some whitespace
13671         cleanup. Dont hide outerscope variables.
13672
13673         * Spacing.h: add two new constructors to match the set methods.
13674
13675         * ShareContainer.h: new file, will perhaps be moved to support
13676
13677         * ParameterStruct.h: new file
13678
13679         * ParagraphParameters.h: new file
13680
13681         * ParagraphParameters.C: new file
13682
13683         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13684         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13685
13686         * BufferView_pimpl.C: ParagraphParameter changes.
13687         * buffer.C: Likewise.
13688         * bufferview_funcs.C: Likewise.
13689         * text.C: Likewise.
13690         * text2.C: Likewise.
13691
13692 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13693
13694         * lyxfind.C (LyXReplace): do not redefine default argument in
13695         implementation.
13696         (IsStringInText): ditto
13697         (SearchForward): ditto
13698         (SearchBackward): ditto
13699
13700 2001-03-06  Juergen Vigna  <jug@sad.it>
13701
13702         * lyxfind.C (IsStringInText): put parentes around expressions.
13703
13704 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13705
13706         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13707
13708 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13711
13712         * stl_string_fwd.h: add comment
13713
13714         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13715
13716         * tabular.h:
13717         * tabular.C: remove unused DocBook methods
13718
13719         * intl.C:
13720         * language.C:
13721         * paragraph.C:
13722         * buffer.C:
13723         killed DO_USE_DEFAULT_LANGUAGE
13724
13725 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * lyx_gui.C: do not include language.h.
13728
13729         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13730         arguments in function implementation.
13731
13732 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13733
13734         * BufferView_pimpl.C: add <ctime>
13735
13736 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13737
13738         * BufferView_pimpl.C: add using std::find_if
13739
13740 2001-02-27  José Matos  <jamatos@fep.up.pt>
13741
13742         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13743         by OnlyPath.
13744
13745 2001-02-11  José Matos  <jamatos@fep.up.pt>
13746
13747         * buffer.C (makeDocBookFile): command styles now have a parameter as
13748         "title" by default.
13749
13750 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13751
13752         * layout_forms.[Ch]: removed
13753         * lyx_cb.[Ch]: out character
13754         * lyx_gui.C: out character
13755         * lyx_gui_misc.C: out character
13756         * bufferview_funcs.C: : out character,
13757         added toggleall as parameter in ToggleAndShow
13758
13759 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13762
13763         * text2.C (SetCurrentFont): Disable number property at boundary.
13764
13765 2001-02-26  Juergen Vigna  <jug@sad.it>
13766
13767         * lyxfunc.C (getStatus): added a string argument override function so
13768         that this is correctly called from LyXFunc::Dispatch if it contains a
13769         do_not_use_argument which is used!
13770         (Dispatch): added check for "custom" export and call appropriate func.
13771
13772 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13773
13774         * lyxrc.C: Add language_command_local, language_use_babel and
13775         language_global_options.
13776
13777         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13778
13779         * buffer.C (makeLaTeXFile): Use language_use_babel and
13780         language_global_options.
13781
13782 2001-02-23  Juergen Vigna  <jug@sad.it>
13783
13784         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13785         which works with LyXText and putted it inside BufferView. Here now we
13786         only call for that part the BufferView::Dispatch() function.
13787
13788         * BufferView.C (Dispatch): added.
13789
13790         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13791         functions which needs to use a LyXText over from LyXFunc.
13792         (MenuInsertLyXFile): added
13793         (getInsetByCode): added
13794         (moveCursorUpdate): added
13795         (static TEXT): added
13796
13797 2001-02-22  Juergen Vigna  <jug@sad.it>
13798
13799         * BufferView_pimpl.C (update): call a status update to see if LyXText
13800         needs it.
13801
13802 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13803
13804         * vc-backend.C (revert): implement for CVS
13805         (getLog): implement for CVS
13806
13807 2001-02-20  Juergen Vigna  <jug@sad.it>
13808
13809         * text2.C (ClearSelection): added BufferView param for inset_owner call
13810
13811         * lyxfunc.C (TEXT): added this function and use it instead of
13812         directly owner->view()-text of getLyXText().
13813
13814 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13815
13816         * src/layout_forms.C: out preamble
13817         * src/layout_forms.h: out preamble
13818         * src/lyx_cb.C: out preamble
13819         * src/lyx_cb.h: out preamble
13820         * src/lyx_gui.C: out preamble
13821         * src/lyx_gui_misc.C: out preamble
13822         * src/lyxfunc.C: connect with guii preamble
13823
13824 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13825
13826         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13827
13828 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13829
13830         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13831         whether to run bibtex.
13832
13833 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13834
13835         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13836
13837 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13838
13839         * Makefile.am (lyx_SOURCES): removed bibforms.h
13840
13841         * vspace.h: doxygen
13842
13843         * text.C (GetVisibleRow): make several local vars const
13844
13845         * tabular.C: small cleanup.
13846
13847         * lyxserver.C (callback): use compare instead of strncmp
13848
13849         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13850         inlines to after class or to paragraph.C
13851
13852         * lyxfont.h: remove friend operator!=
13853
13854         * converter.h: move friend bool operator< to non friend and after
13855         class def.
13856
13857         * combox.h: small cleanup
13858
13859         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13860         to inlines after class def.
13861
13862         * buffer.C (pop_tag): use string operations instead of strcmp
13863
13864         * bmtable.c: doxygen, small cleanup
13865
13866         * LaTeX.h: remove friend operator==
13867
13868 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13869
13870         * screen.C:
13871         * lyxrc.[Ch]:
13872         * lyxfunc.C:
13873         * lyxfont.[Ch]:
13874         * lyx_cb.C:
13875         * intl.[Ch]:
13876         * commandtags.h:
13877         * buffer.C:
13878         * WorkArea.[Ch]:
13879         * LyXAction.C:
13880         * BufferView_pimpl.C:
13881         * BufferView.[Ch]: remove cruft
13882
13883 2001-02-14  Juergen Vigna  <jug@sad.it>
13884
13885         * lyxfunc.C: removed #if 0 unused code
13886
13887         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13888
13889         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13890
13891         * text2.C (SetSelection): added a BufferView * parameter
13892
13893 2001-02-13  Juergen Vigna  <jug@sad.it>
13894
13895         * lyxfunc.C (Dispatch): fixed protected blank problem.
13896         * BufferView2.C (protectedBlank): added LyxText * parameter.
13897
13898         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13899         (AppendColumn): same as above for column_info.
13900
13901         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13902         (moveCursorUpdate): use a LyXText param for support of InsetText.
13903
13904         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13905         (tripleClick): ditto
13906
13907         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13908
13909         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13910
13911         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13912
13913         * text2.C (SetSelection): set correct update status if inset_owner
13914         (ToggleFree): ditto
13915
13916 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13917
13918         * tabular.C: remove some commented code.
13919
13920 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * BufferView_pimpl.C: call hideSplash()
13923
13924         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13925
13926         * include_form.h:
13927         * bibforms.h: remove
13928
13929         * lyxfunc.C:
13930         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13931           add LFUN_CHILD_CREATE
13932
13933         * counters.h: fix tiny typo
13934
13935         * lyx_cb.C:
13936         * lyx.h:
13937         * lyx_gui.C:
13938         * lyx.C: move splash to frontends/xforms/
13939
13940         * lyx_gui_misc.C: move Include and Bibform to frontends
13941
13942         * lyxvc.h: clarify comment
13943
13944         * vspace.C: tiny housekeeping
13945
13946 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * text.C (PrepareToPrint): RTL Fix.
13949
13950         * paragraph.C (GetUChar): New method.
13951         (String):  Use GetUChar.
13952
13953         * buffer.C (asciiParagraph): Use GetUChar.
13954
13955 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13956
13957         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13958
13959 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13960
13961         * buffer.h:
13962         * buffer.C: rename to getLogName(), handle
13963           build log / latex log nicely
13964
13965 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * MenuBackend.C:
13968         * MenuBackend.h: remove support for reference menuitem type.
13969
13970 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * BufferView_pimpl.C: housekeeping
13973         * BufferView_pimpl.h:
13974         * LyXView.h:
13975         * Makefile.am:
13976         * Timeout.C:
13977         * Timeout.h:
13978         * minibuffer.h: move Timeout GUI-I
13979
13980 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13981
13982         * lyxrc.C (read): Update converters data-structures.
13983
13984 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13985
13986         * LaTeX.h (operator!=): add operator != for Aux_Info
13987
13988 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13989
13990         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13991
13992         * LaTeXLog.C: deleted, useful code moved to Buffer
13993
13994         * buffer.h:
13995         * buffer.C: new function getLatexLogName()
13996
13997         * lyx_gui_misc.C:
13998         * lyx_gui.C:
13999         * lyxvc.C:
14000         * lyxvc.h:
14001         * lyxfunc.C: use frontends for LaTeX and VC logs
14002
14003 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * LaTeX.h: yet another std:: that Allan forgot.
14006
14007         * Variables.C (set): renamed from isset(), because this clashes
14008         with some HP-UX macros (grr).
14009
14010 2001-02-06  Allan Rae  <rae@lyx.org>
14011
14012         * LaTeX.h: Another bug fix.  Missing std:: this time.
14013
14014 2001-02-04  Allan Rae  <rae@lyx.org>
14015
14016         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14017         floats problem. I've left it commented out because it's not quite
14018         correct.  It should also test that the current object is a table or
14019         figure inset.  But I haven't gotten around to figuring out how to do
14020         that.  I *think* it'll be something like: "table" == inset.type()
14021
14022         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14023         bool.
14024
14025 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14028         all the citation/databases/styles in the auxilary file.
14029         (run): Rerun latex if there was a babel language error.
14030
14031 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14032
14033         * text.C (Backspace): Preserve the font when changing newline char
14034         with a space.
14035         (BreakParagraph): If the cursor is before a space, delete the space.
14036
14037         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14038
14039 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14042         new argument (code).
14043         (ChangeCitationsIfUnique): New method.
14044
14045         * paragraph.C (GetPositionOfInset): Handle bibkey.
14046
14047 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * BufferView_pimpl.h: change type of Position::par_pos to
14050         LyXParagraph::size_type.
14051
14052 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14053
14054         * BufferView_pimpl.C (savePosition, restorePosition): Write
14055         messages to minibuffer.
14056
14057 2001-01-28  José Matos  <jamatos@fep.up.pt>
14058
14059         * buffer.C (makeDocBookFile): adds support for document language.
14060         A silly restriction on the name of LatexCommand types where removed.
14061         Added support for CDATA sections, allows to chars unescaped, used
14062         among others in code, to avoid escape < and >.
14063
14064 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14067         saved positions instrad of a stack. Furthermore, a position is
14068         stored using paragraph id/paragraph position.
14069
14070         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14071         Remove LFUN_REF_BACK.
14072
14073 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * converter.C (dvipdfm_options): New method.
14076
14077 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14078
14079         * vspace.C (isValidLength): Fix for empty input string.
14080
14081 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * LyXAction.C (init): change description of LFUN_FIGURE to
14084         "Insert Graphics"
14085
14086 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * LaTeX.C: add using directive
14089
14090 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * MenuBackend.C (expand): Fix the sorting of the formats.
14093
14094 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14095
14096         * lyx_main.C: tiny error message fix
14097
14098 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14101         calling fl_initialize(). This fixes the problem with ',' as
14102         decimal separator in text files.
14103
14104 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * trans.C (process): Fix the keymap bug.
14107
14108 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14109
14110         * LaTeX.C (scanAuxFiles): New method. Provides support for
14111         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14112         (scanLogFile) Scan for "run BibTeX" messages.
14113
14114         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14115         OT1 font encoding. Also, load the aecompl package if the ae
14116         package is loaded.
14117
14118         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14119
14120 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * texrow.C (increasePos): turn two error messages into debug
14123         messages.
14124
14125 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * LaTeX.C (scanAux): Handle the \@input macro.
14128         (runBibTeX): Use scanAux().
14129
14130         * language.C (latex_options_): New field.
14131
14132         * LaTeXFeatures.C (getMacros): Add language macros.
14133
14134         * buffer.C (makeLaTeXFile): Small fix.
14135
14136 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14139
14140         * text2.C: add a using directive.
14141
14142 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * BufferView2.C:
14145         * lyx_gui_misc.h:
14146         * lyxfr1.C:
14147         * lyxfunc.C: kill LyXBell.
14148
14149 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14150
14151         * text.C (IsBoundary): Remove the error message
14152
14153         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14154
14155         * lyxrc.C (setDefaults): Correct initialization value for
14156         font_norm_type.
14157
14158 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14159
14160         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14161         gotoError().
14162
14163         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14164         and GotoNextNote().
14165
14166         * src/LyXAction.C: Added reference-next.
14167
14168         * text.C (InsertChar): Use contains instead of strchr.
14169
14170         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14171
14172 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14175         alignment commands (when needed).
14176
14177         * text.C (InsertChar): Add ':' to number separator chars.