]> git.lyx.org Git - features.git/blob - src/ChangeLog
The VSpace fixes (removal of VSPACE::NONE) from Michael and myself
[features.git] / src / ChangeLog
1 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2
3         * vspace.[Ch]: remove VSpace::NONE
4
5 2003-12-01  André Pönitz  <poenitz@gmx.net>
6
7         * buffer.[Ch]:
8         * lyxtext.h: move ParagraphList member to LyXText
9         rename LyXText::ownerParagraphs to LyXText::paragraph
10
11         * CutAndPaste.C:
12         * bufferview_funcs.C:
13         * iterators.[Ch]:
14         * lyx_cb.C:
15         * paragraph.C:
16         * rowpainter.C:
17         * tabular.C:
18         * text.C:
19         * text2.C:
20         * text3.C: adjust
21
22         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
23
24         * undo.C: fix cursor positioning 
25
26 2003-12-01  John Levon  <levon@movementarian.org>
27
28         * BufferView_pimpl.C: fix a crash on exit with
29         a buffer open
30
31 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * BranchList.C: fix setSelected() method.
34
35 2003-11-28  André Pönitz  <poenitz@gmx.net>
36
37         * ParagraphParameters.[Ch]:
38         * ParameterStruct.h: remove space above/below from Paragraph to
39          InsetVSpace
40
41         * BufferView_pimpl.C:
42         * factory.C:
43         * lyxfunc.C:
44         * lyxtext.h:
45         * output_latex.C:
46         * paragraph.C:
47         * paragraph_funcs.C:
48         * rowpainter.[Ch]:
49         * text.C:
50         * text2.C:
51         * text3.C: adjust
52
53 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * factory.C: Syntax change for CharStyles
56
57 2003-11-28  André Pönitz  <poenitz@gmx.net>
58
59         * BufferView.[Ch]:
60         * BufferView.[Ch]:
61         * buffer.[Ch]:
62         * buffer.[Ch]: move LyXText member
63
64 2003-11-28  André Pönitz  <poenitz@gmx.net>
65
66         * BufferView.[Ch]: make LyXText * text a private member
67
68         * BufferView_pimpl.C:
69         * cursor.C:
70         * iterators.C:
71         * lyx_cb.C:
72         * lyxfind.C:
73         * lyxtext.h:
74         * rowpainter.[Ch]:
75         * text.C:
76         * text2.C:
77         * undo.C: adjust
78
79         * output_plaintext.C: cleanup
80
81 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * buffer.C: 
84         * lyxtextclass.[Ch]: parametrize SGML document header
85
86 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * converter.[Ch]:
89         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
90         getFlavor().
91
92 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * text2.C (setFont): rework using PosIterator (no more recursive)
95         (setCharFont): no more needed 
96         (setLayout): no more selection cursors fiddling (done by redoCursor)
97         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
98         destroy remaining ones)
99
100 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
103         * lyxtext.h: ditto
104         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
105         selection cursors
106         * lyxfunc.C: adjust
107         * text3.C: adjust + re-allow multi par depth changes
108         * textcursor.C: simplify a bit
109
110 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
111
112         * src/buffer.C:
113         * src/lyxlayout.C:
114         * src/lyxlayout.h:
115         * src/lyxtext.h:
116         * src/output_docbook.C:
117         * src/output_latex.C:
118         * src/paragraph.C:
119         * src/paragraph.h:
120         * src/sgml.C:
121         * src/sgml.h:
122         * src/text2.C: Introducing a number of tags parametrizing various
123         XML formats that we may want to support
124
125 2003-11-25  André Pönitz  <poenitz@gmx.net>
126
127         * InsetList.[Ch] (begein, end): inline as suggested by profiler
128
129         * lyxtext.h (leftMargin/rightMargin): simplify interface
130
131         * rowpainter.C:
132         * text.C:
133         * text2.C:
134         * text3.C: adjust
135
136 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * lyxfunc.C (dispatch): propogate the bibtex databases from the
139         master file to any child files. Fixes bug 546.
140
141 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
142
143         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
144
145 2003-11-24  André Pönitz  <poenitz@gmx.net>
146
147         * rowpainter.C: simplification
148
149         * text2.C (updateCounters): remove call to redoParagraph on 
150         changed labels as this is far too expensive.
151
152 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
153
154         * converter.C (convert): fix a crash: this function gets
155         called with buffer == 0 from importer code.
156
157 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
158
159         * text3.C (cursorPrevious): make sure that we do not compare
160         iterators form different containers.
161         (cursorNext): ditto
162
163         * rowpainter.C (paintSelection): make sure that we do not compare
164         iterators from different containers.
165
166         * text3.C (dispatch): [PRIOR] make sure that we do not compare
167         iterators from different ParagraphList containers.
168         [NEXT] ditto
169
170         * text2.C (LyXText): change order of initialization slightly
171         (operator=): new function. copy all variables except cache_par_
172         (moveUp): make sure that we do not compare iterators from
173         different ParagraphList constainers.
174         (moveDown): ditto
175
176         * text.C (firstPar): new function
177         (lastPar): new function
178         (endPar): new function
179
180         * lyxtext.h: move things around and group public functions, public
181         variables, private functions, private variables
182
183 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
184
185         * factory.C: change call to InsetERT constructor to avoid
186         additional invocation of method status
187         * text2.C (toggleInset): remove redundant update() call
188         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
189         instead of a Bufferview pointer
190
191 2003-11-21  André Pönitz  <poenitz@gmx.net>
192
193         * rowpainter.C: simplification
194
195 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
196
197         * text3.C (dispatch): make possible to extend a word/row selection
198         with the mouse
199
200 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
201
202         * lyxtext.h: x0_,y0_ -> xo_,yo_
203         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
204         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
205         * rowpainter.C (paintRows): paint full paragraphs
206
207 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
208
209         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
210         screen coordinates)
211
212 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * lyxtext.h: add x0_, y0_
215         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
216         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
217
218 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * text2.C (setCursorIntern): move the x_target update here *
221         * text3.C: change some bv() to true/false in calls to
222         cursorUp/Down/Right/Left
223         * cursor.C: use helper function.
224
225 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
226
227         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
228         * paragraph_funcs.[Ch]: correct comment
229         * rowpainter.C: do not paint selections away from bv->cursor()
230         Fix a long standing selection painting bug.
231         * text3.C: generalize mouse-selection code to LyXTexts other that
232         top one
233         * textcursor.C: do not use y coords if we can use par offsets
234
235 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
238         cursor position after e.g. inset insert)
239
240 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
241
242         * lyxfind.C (replace): adjust to locking removal + some
243         code simplification
244
245 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
248         of the path
249
250 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * lyxlayout.[Ch]:
253         * output_docbook.C: XML sanitation: new layout
254         parameters InnerTag and CommandDepth
255
256 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
257
258         * BufferView_pimpl.C:
259         * factory.C:
260         * text3.C: Fix the insertion and modification of button-style
261         insets
262
263 2003-11-13  André Pönitz  <poenitz@gmx.net>
264
265         * InsetList.[Ch]: remove deleteLyXText
266
267         * paragraph.[Ch]: cache beginOfBody position
268
269         * Bidi.C:
270         * text.C:
271         * text2.C:
272         * text3.C: remove superfluous update() calls
273
274         * vspace.C: cleanup
275
276 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
279         * BufferView.C (fitLockedInsetCursor): remove
280         * cursor.[Ch] (getDim): add
281         * text.C (getRowNearY): add faster version
282         * text3.C: remove some update calls
283
284 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
285
286         * LaTeXFeatures.C:
287         * LyXAction.C:
288         * MenuBackend.C:
289         * MenuBackend.h:
290         * dispatchresult.h:
291         * factory.C:
292         * lfuns.h:
293         * lyxfunc.C:
294         * lyxtextclass.C:
295         * lyxtextclass.h:
296         * text3.C: The Character Style /XML short element patch.
297
298 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * text3.C:
301         * factory.C: Small step to solving 'unable to insert some insets'
302         problem
303
304 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * cursor.[Ch] (updatePos): new function for updating the y
307         position of the tip inset
308         * bufferview_funcs.C (put_selection_at):
309         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
310
311 2003-11-11  André Pönitz  <poenitz@gmx.net>
312
313         * text.C: remove big comment on invalid Paragraph pointers as it is
314         not valid anymore
315
316 2003-11-11  André Pönitz  <poenitz@gmx.net>
317
318         * text_funcs.[Ch]: merge with ...
319
320         * text.C: ... this
321
322         * lyxtext.h:
323         * text2.C:
324         * text3.C: adjust
325
326         * Makefile.am: remove text_funcs.[Ch]
327
328 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
329
330         * cursor.C (getPos): return absolute cached y coord
331
332         * BufferView_pimpl.C (fitCursor): new simplistic code
333         (workAreaDispatch): add a fitCursor call
334
335 2003-11-10  André Pönitz  <poenitz@gmx.net>
336
337         * BufferView.[Ch]:
338         * BufferView_pimpl.[Ch]: merge update() and updateInset()
339
340 2003-11-10  André Pönitz  <poenitz@gmx.net>
341
342         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
343         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
344         indicate that the cursor needs to leave an inset
345
346         * lyxtext.h: remove inset locking
347
348         * cursor.[Ch]: re-implement functionality provided by inset locking
349
350         * BufferView.[Ch]:
351         * BufferView_pimpl.[Ch]:
352         * LyXAction.C:
353         * bufferview_funcs.[Ch]:
354         * factory.C:
355         * funcrequest.[Ch]:
356         * iterators.C:
357         * lyx_cb.C:
358         * lyxfind.C:
359         * lyxfunc.C:
360         * text.C:
361         * text2.C:
362         * text3.C:
363         * undo.C: adjust
364
365 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
366
367         * PosIterator.[Ch]: replace the stack with a vector, add inset
368         accesor
369         * iterators.[C]: adjust
370
371 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
372
373         * lyxfind.C (replaceAll): mark the buffer dirty if something was
374         replaced
375         * paragraph_funcs.C (readParToken): put the correct id in the
376         error item, not the id of the top paragraph
377
378 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
379
380         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
381         * bufferview_funcs.C (put_selection_at): use the above
382
383 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
384
385         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
386
387 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * output_linuxdoc.h:
390         * output_plaintext.h:
391         * output.h:
392         * output_docbook.h: add #include statements
393
394 2003-11-05  José Matos  <jamatos@lyx.org>
395
396         * output_docbook.[Ch]:
397         * output_latex.[Ch]:
398         * output_linuxdoc.[Ch]:
399         * output_plaintext.[Ch]: New files for output formats.
400         * output.[Ch]: New file for helper functions.
401
402         * buffer.[Ch]:
403         * paragraph_funcs.[Ch]: output functions moved to new files.
404
405         * outputparams.h: rename of latexrunparams.h
406
407         * LaTeX.[Ch]:
408         * buffer.[Ch]:
409         * bufferlist.[Ch]:
410         * converter.[Ch]:
411         * exporter.C:
412         * paragraph.[Ch]:
413         * paragraph_funcs.[Ch]:
414         * paragraph_pimpl.[Ch]:
415         * tabular.[Ch]: rename ascii to plaintext
416         and LatexRunParams to OutputParams.
417
418 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
419
420         * iterators.[Ch] (text): require bv argument
421         * undo.C (recordUndo):
422         * lyxfunc.C (dispatch):
423         * bufferview_funcs.C (put_selection_at): adjust
424
425 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
426
427         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
428
429 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
430
431         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
432         nestings
433
434 2003-11-04  André Pönitz  <poenitz@gmx.net>
435
436         * cursor.[Ch]: restructure
437
438         * BufferView.[Ch]:
439         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
440
441         * iterators.[Ch] (asCursor): remove
442
443         * lfuns.h: remove LFUN_INSET_EDIT
444
445         * lyxfunc.C:
446         * tabular.C:
447         * text.C:
448         * text2.C:
449         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
450
451 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
452
453         * lyxfind.[Ch]: complete overhaul
454         * BufferView_pimpl.C:
455         * lyxfunc.C: adjust
456         * paragraph.[Ch] (insert): add
457
458 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
459
460         * BufferView.[Ch]:
461         * lyxtext.h:
462         * text.C: remove dead spellcheck code
463
464 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
465
466         * dispatchresult.h: add a val setter
467
468         * cursor.C (dispatch): use a tempvar for data_[i]
469
470 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
471
472         * PosIterator.[Ch]: compile fix
473
474 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
475
476         * text.C (cursorPar): deactivate the cursor cache
477
478 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
479
480         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
481
482 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
483
484         * text3.C (dispatch): adjust for new DisptchResult semantics.
485
486         * lyxfunc.C (dispatch): handle update when return from
487         Cursor::dispatch, adjust for new DispatchResult semantics.
488
489         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
490         DispatchResult(true) mean to not update. Add class functions for
491         setting dispatched and update, as well as reading.
492
493         * cursor.C (dispatch): don't handle update here
494
495 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
496
497         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
498         * trans_mgr.C: adjust
499
500         * paragraph_funcs.C (readParToken): exception safety
501
502         * lyxvc.h: store the vcs pointer in a scoped_ptr
503         * lyxvc.C: adjust
504
505         * lyxsocket.C (serverCallback): exception safety
506
507         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
508
509         * ispell.C (clone): make it return a auto_ptr
510
511         * factory.C (createInset): exception safety
512         (readInset): exception safety
513
514         * bufferlist.C (newBuffer): exception safety
515
516         * Thesaurus.C (Thesaurus): use initialization for aik_
517
518         * MenuBackend.C (expandToc): exception safety.
519
520 2003-11-03  André Pönitz  <poenitz@gmx.net>
521
522         * buffer.C:
523         * buffer.h:
524         * bufferview_funcs.C: remove getInsetFromId()
525
526         * lyxcursor.[Ch]:
527         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
528
529         * lyxfunc.C:
530         * text2.C:
531         * text3.C: adjust
532
533 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
534
535         * PosIterator.C (distance, advance): new
536         * bufferview_funcs.[Ch] (put_selection_at): new
537         * iterators.[Ch] (lockPath): new
538
539 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
540
541         * iterators.[Ch] (asPosIterator): added
542         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
543         * PosIterator.[Ch]: added
544
545 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
546
547         * text3.C:
548         * lyxfunc.C:
549         * cursor.C (dispatch):
550         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
551
552         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
553         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
554         contructor, add a class function dispatched. Remove operator>=
555
556 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
557
558         * debug.C: only use the default constructor for debugstream
559         (lyxerr) here.
560
561         * main.C (main): include debug.h and setup the lyxerr streambuf
562         here.
563
564 2003-10-31  José Matos  <jamatos@lyx.org>
565
566         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
567
568         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
569         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
570         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
571         * paragraph_pimpl.C (simpleTeXSpecialC):
572         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
573         add LatexRunParams argument.
574
575         * exporter.C (Export): change call accordingly.
576
577         * latexrunparams.h: add new member to take care of the other backends.
578 2003-10-30  José Matos  <jamatos@lyx.org>
579
580         * buffer.C (makeLinuxDocFile, makeDocBookFile):
581         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
582         factorise code for paragraph output.
583         * buffer.[Ch]:
584         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
585         move functions.
586
587 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
588
589         * text3.C (dispatch):
590         * lyxfunc.C (dispatch):
591         * cursor.C (dispatch):
592         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
593
594         * dispatchresult.h: make the dispatch_result_t ctor explicit
595
596 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
597
598         * sgml.[Ch]:
599         * buffer.C: small refactoring of docbook stuff
600
601 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
602
603         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
604         meaning.
605
606 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
607
608         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
609         operator dispatch_result_t, and operators for == != and >=
610
611         * cursor.C (dispatch): adjust for operator dispatch_result_t
612         removal. comment out call to update
613
614         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
615
616 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
617
618         * text3.C:
619         * text2.C:
620         * text.C:
621         * lyxtext.h:
622         * lyxfunc.C:
623         * cursor.C:
624         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
625         (dispatch):
626
627         * dispatchresult.h: new file, DispatchResult broken out of
628         insets/insetbase.h
629
630         * Makefile.am (lyx_SOURCES): add dispatchresult.h
631
632 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
633
634         * text.C (rowBreakPoint): put a hack inside #if 0
635
636 2003-10-28  André Pönitz  <poenitz@gmx.net>
637
638         * lyxtext.h:
639         * metricsinfo.C:
640         * paragraph_funcs.C:
641         * rowpainter.C:
642         * text.C:
643         * text2.C: general cleanup (lots of small stuff)
644
645 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
646
647         * text2.C (cursorEnd): simple fix to the "end key goes to one
648         before the end on last row" bug
649
650 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
651
652         * text.C (backspace): fix the "zombie characters"
653
654 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
655
656         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
657
658 2003-10-27  André Pönitz  <poenitz@gmx.net>
659
660         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
661
662         * factory.C: handle new InsetPagebreak, InsetLine
663
664         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
665         and move handling into new InsetPagebreak, InsetLine
666
667         * BufferView_pimpl.C:
668         * LyXAction.C:
669         * ParagraphParameters.C:
670         * ParameterStruct.h:
671         * lyxfunc.C:
672         * lyxtext.h:
673         * paragraph.C:
674         * paragraph.h:
675         * paragraph_funcs.C:
676         * paragraph_pimpl.C:
677         * rowpainter.C:
678         * text.C:
679         * text2.C:
680         * text3.C: adjust
681
682 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
683
684         * text.C:
685         * lyxrow_funcs.[Ch]:
686         * Bidi.C:
687         * paragraph.C:
688         * lyxtext.h:
689         * rowpainter.C:
690         * text2.C:
691         * text3.C: remove lastPos uses in favour of Row::endpos
692
693 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
694
695         * undo.C (performUndoOrRedo): fix two crashes by setting a
696         cursor by hand and reordering some calls. Use bv->lockInset instead
697         of inset->edit because the latter loses cursor information
698
699 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
700
701         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
702         by Martin
703         (rowBreakPoint): fix width. change point to point + 1.
704         Add a missing check.
705
706 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * MenuBackend.C:
709         * lyxfunc.C: fix (at least partly) the problems
710         with the Nav menu and headers inside branch insets
711         reported by Kayvan
712
713 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
714
715         * paragraph.C (getChar): add strong asserts
716
717         * lyxrow_funcs.C (lastPos): remove hideous hack
718
719         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
720         (fill): adjust to that (avoid an infinite loop)
721
722 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
723
724         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
725
726 2003-10-23  André Pönitz  <poenitz@gmx.net>
727
728         * RowList_fwd.h: change list<> to vector<> to gain speed
729         after suggestion from Alfredo
730
731 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
732
733         * lyxtext.h: move the bidi stuff from here...
734         * text.C: and here
735         * text2.C: and here
736         * Bidi.[Ch]: ... to here
737
738 2003-10-23  André Pönitz  <poenitz@gmx.net>
739
740         * lyxtext.h:
741         * text.C (isLastRow, isFirstRow): new functions
742
743         * paragraph.h: new width cache member
744
745         * rowpainter.C: replace RowList::iterator with Row & where possible
746
747         * lyxfunc.C: replace several view()->text with a single call
748
749         * toc.C: fix 'unused' warning
750
751 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
752
753         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
754         when woring with stream::pos_type
755         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
756
757 2003-10-22  André Pönitz  <poenitz@gmx.net>
758
759         * lyxtext.h:
760         * text.C: use Row & instead of RowList::iterator
761
762         * lyxrow.h: rename end() to endpos()
763
764         * rowpainter.C:
765         * text.C:
766         * text2.C: adjust
767
768 2003-10-22  Angus Leeming  <leeming@lyx.org>
769
770         * buffer.[Ch] (fully_loaded): new member function, returning true
771         only when the file has been loaded fully.
772         Used to prevent the premature generation of previews and by the
773         citation inset to prevent computation of the natbib-style label.
774
775         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
776         templates are all set up.
777
778         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
779
780 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * text.C: fixed an "oops" in the "is a bit silly"
783         bug fix
784
785 2003-10-21  André Pönitz  <poenitz@gmx.net>
786
787         * FuncStatus.[Ch]: small stuff, whitespace
788
789         * lyxfont.[Ch]: operator<<() for debug reasons
790
791         * lyxfunc.C:
792         * lyxrow_funcs.C:
793         * lyxtext.h: whitespace, spelling
794
795         * paragraph.C: naming of variables
796
797         * text.C:
798         * text2.C: small stuff
799
800
801 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
802
803         * text.C: (1) finish off the inset display() work;
804         (2) fix the "is a bit silly" bug (accessing char
805         past end of par).
806
807 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * text.C: re-introduce display() for insets, fixing the
810         various bugs (stretch of line above, math inset
811         positioning, ...)
812
813 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * text.C (rightMargin): remove spurious semicolon
816
817         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
818         1415)
819
820 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
821
822         * text3.C: fix one crash due to wrong cursor def
823
824 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
825
826         * vc-backend.C (scanMaster): make the regex static
827
828         * LaTeX.C (scanAuxFile): make the regexs static
829
830         * text3.C (doInsertInset, dispatch, dispatch):
831         * text2.C (cursorUp, cursorDown):
832         * text.C (selectNextWordToSpellcheck):
833         * BufferView_pimpl.C (dispatch):
834         * lyxfunc.C (dispatch):  localDispatch -> dispatch
835
836 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * lyxsocket.C: include <cerrno>
839
840 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
841
842         * lyxfunc.C (dispatch): remove textcache stuff
843
844         * bufferlist.C (release): remove textcache stuff
845         (closeAll): ditto
846
847         * TextCache.C: delete file
848         * TextCache.h: delete file
849
850         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
851
852         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
853         delete of the bv_->text.
854         (resizeCurrentBuffer): remove texcache stuff
855         (workAreaResize): ditto
856
857 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
860         action.
861
862 2003-10-16  André Pönitz  <poenitz@gmx.net>
863
864         * lyxrow.[Ch]:
865         * paragraph.h:
866         * rowpainter.C:
867         * text.C:
868         * text2.C:
869         * text3.C: speed up by storing y positions per paragraph plus per-row
870         offset instead of having a 'full' y position in the row.
871
872 2003-10-15  André Pönitz  <poenitz@gmx.net>
873
874         * iterators.[Ch]:
875         * iterators.[Ch]:
876         * undo.[Ch]: make undo aware of inner insets
877
878 2003-10-14  Angus Leeming  <leeming@lyx.org>
879
880         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
881         static member functions LyX::ref() and LyX::cref.
882         (lastfiles): new accessor functions for the new lastfiles_ member var.
883         (addLyXView, views_): add a new LyXView to the list of views_.
884         (updateInset): loop over all LyXViews to call their own updateInset
885         member function, returning a pointer to the Buffer owning the inset.
886
887         * BufferView_pimpl.C (loadLyXFile):
888         * MenuBackend.C (expandLastfiles):
889         * bufferlist.C (MenuWrite, QuitLyX):
890         lastfiles is no longer a global variable.
891         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
892
893         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
894         static function. Access through LyX::cref().emergencyCleanup().
895
896 2003-10-14  André Pönitz  <poenitz@gmx.net>
897
898         * iterators.[Ch]: new direct access to innermost LyXText and Inset
899
900         * undo.[Ch]: restoring part of 'undo in insets'
901
902         * Makefile.am:
903         * undo_funcs.[Ch]: merge with undo.[Ch]
904
905         * tabular.C: small cleansing stuff
906
907 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
908
909         * paragraph_funcs.C (readParToken): report unknown insets as error
910         boxes. Use the outer paragraph as location (also for unknown
911         tokens).
912
913         * factory.C (readInset): do not abort on reading an unknown inset.
914         Eat it and return 0.
915
916 2003-10-13  Angus Leeming  <leeming@lyx.org>
917
918         * lyx_main.C (LyX): remove call to setDisplayTranslator().
919
920         * lyxrc.C: displayTranslator is now a function,
921         declared in GraphicsTypes.h.
922
923 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
924
925         * format.C: new placeholder $$a to pass the socket address.
926
927         * bufferlist.[Ch]: new function getBufferFromTmp.
928
929         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
930           files in the temporary dir.
931
932 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
933
934         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
935
936         * Makefile.am: add lyxsocket.[Ch].
937
938         * lyx_main.C (error_handler): handle SIGPIPE.
939
940 2003-10-13  André Pönitz  <poenitz@gmx.net>
941
942         * BufferView_pimpl.C:
943         * lyxtext.h:
944         * text.C:
945         * text2.C:
946         * text3.C:
947         * undo_funcs.[Ch]: use paroffset_type instead of
948           ParagraphList::iterators to prevent multiple conversion
949           (and get a more robust interface)
950
951 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
952
953         * lyxfunc.C (dispatch): RESULT -> dispatch_result
954         * lyxtext.h: ditto
955         * text3.C (dispatch): ditto
956
957 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
958
959         * LaTeX.C (handleFoundFile): move the static to smaller scope,
960         move the onlyfile, use onlyfile instead of foundfile in a couple
961         of places.
962
963         * DepTable.C (update): flush the error stream a bit more
964
965 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
966
967         * lyxserver.C (callback): adjust
968
969         * lyxfunc.C (getStatus): add a missing brace in commented code
970         (ensureBufferClean): reindent
971         (dispatch): delete version taking a string
972
973 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * LaTeX.C (deplog): move found file handlig from here...
976         (handleFoundFile): .. to new function here.
977         (deplog): make sure to discover several files mentioned on the
978         same log line.
979
980 2003-10-10  André Pönitz  <poenitz@gmx.net>
981
982         * lyxfunc.C:
983         * lyxtext.h:
984         * tabular.C:
985         * text.C:
986         * text2.C:
987         * text3.C: fix some of the tabular crashes
988
989 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
990
991         * MenuBackend.C (binding): put debug message into Debug::KBMAP
992
993         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
994
995 2003-10-09  André Pönitz  <poenitz@gmx.net>
996
997         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
998
999         * BufferView.C:
1000         * BufferView_pimpl.C:
1001         * bufferview_funcs.C:
1002         * lyx_cb.C:
1003         * lyxcursor.C:
1004         * lyxfind.C:
1005         * lyxfunc.C:
1006         * lyxtext.h:
1007         * text.C:
1008         * text2.C:
1009         * text3.C:
1010         * text_funcs.[Ch]:
1011         * textcursor.[Ch]:
1012         * undo_funcs.C: adjust
1013
1014 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1015
1016         * text2.C (incrementItemDepth): new function, use a backtracking
1017         algorithm to discover the correct item depth.
1018         (resetEnumCounterIfNeeded): new function, use a backtracking
1019         algorithm to discover if counter reset is needed.
1020         (setCounter): use them. Simplify a bit. Add different labels for
1021         different item depths for itemize.
1022
1023         * paragraph.C (Paragraph): remove initialization of enumdepth
1024         (operator=): ditto
1025
1026         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1027         enumerate and itemize. Change the type of itemdepth to signed char.
1028
1029 2003-10-08  André Pönitz  <poenitz@gmx.net>
1030
1031         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1032           thing assignable.
1033         * text.C:
1034         * text2.C: adjust
1035
1036         * tabular.[Ch]: fix crash after 'row-insert'
1037
1038 2003-10-08  Angus Leeming  <leeming@lyx.org>
1039
1040         Fix doxygen warnings.
1041
1042         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1043         Remove CutAndPaste:: prefix from header file declaration.
1044
1045         * LColor.h (fill): remove LColor:: prefix from declaration.
1046
1047         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1048         use lyx::depth_type rather than Paragraph::depth_type so that
1049         header file and .C file match.
1050
1051         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1052
1053         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1054         * aspell.C: \file aspell_local.C -> \file aspell.C
1055         * gettext.C: \file gettext.C -> \file src/gettext.C
1056         * gettext.h: \file gettext.h -> \file src/gettext.h
1057         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1058         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1059         * text.C: \file text.C -> \file src/text.C
1060
1061         * toc.C: move comment so that doxygen is not confused.
1062
1063 2003-10-07  Angus Leeming  <leeming@lyx.org>
1064
1065         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1066
1067 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068
1069         * aspell.C:
1070         * aspell_local.h: add forgotten std::string's.
1071
1072 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1073
1074         * LaTeXFeatures.C:
1075         * LyXAction.C:
1076         * factory.C:
1077         * lfuns.h:
1078         * lyxfunc.C:
1079         * text3.C: The Box patch. Fancybox support, minipage, parbox
1080
1081 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1082
1083         * CutAndPaste.h:
1084         * DepTable.h:
1085         * FloatList.h:
1086         * LaTeXFeatures.h:
1087         * ParagraphParameters.h:
1088         * TextCache.h:
1089         * Thesaurus.h:
1090         * bufferlist.h:
1091         * exporter.h:
1092         * importer.h:
1093         * lastfiles.h:
1094         * lyxfind.h:
1095         * lyxfont.h:
1096         * lyxlex.h:
1097         * lyxtextclasslist.h:
1098         * messages.h:
1099         * paragraph.h:
1100         * paragraph_pimpl.C:
1101         * textcursor.h: add <string> and other small fixes to make Lars'
1102         std::string patch compile with STLport.
1103
1104 2003-10-06  Angus Leeming  <leeming@lyx.org>
1105
1106         * LColor.h: Add missing #include <string>.
1107
1108 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1109
1110         * All most all file in all subdirs: Make <string> be the prefered
1111         way of getting to std::string, add using declarations.
1112
1113 2003-10-06  André Pönitz  <poenitz@gmx.net>
1114
1115         * metricsinfo.C: initialize LyXFont before changing attribute.
1116         (fixes the 'math in \emph is upright' bug)
1117
1118 2003-10-06  André Pönitz  <poenitz@gmx.net>
1119
1120         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1121
1122 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * graph.C:
1125         * paragraph_pimpl.C: Small fixes to build using STLport
1126
1127 2003-10-02  André Pönitz  <poenitz@gmx.net>
1128
1129         * lyxfunc.C:
1130         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1131
1132 2003-10-01  André Pönitz  <poenitz@gmx.net>
1133
1134         * factory.C: assert early
1135
1136 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1137
1138         * lyx_main.C: remove the global debug object
1139
1140         * debug.h: adjust for new debugstream
1141
1142         * debug.C: adjust for new debugstream and keep the global debug
1143         object here.
1144
1145 2003-09-22  Angus Leeming  <leeming@lyx.org>
1146
1147         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1148         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1149         an incomplete class LyXFont.
1150
1151 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * factory.C: bug fix in branches
1154
1155 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1156
1157         * lyxfunc.C (processKeySym): adjust
1158         (dispatch): adjust
1159         (dispatch): change arg name from ev to func, adjust
1160         (sendDispatchMessage): ditto
1161
1162         * lyx_main.C (defaultKeyBindings): adjust keybindings
1163         (deadKeyBindings): ditto
1164
1165         * kbsequence.C (addkey): return a FuncRequest
1166
1167         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1168
1169         * kbmap.C (bind): take a FuncRequest as arg, adjust
1170         (read): adjust
1171         (lookup): adjust
1172         (defkey): change to take a FuncRequest as arg, adjust
1173         (findbinding): take a FuncRequest as arg, adjust.
1174
1175         * funcrequest.h (operator=): added
1176
1177         * funcrequest.C (FuncRequest): default kb_action changed from
1178         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1179
1180         * buffer.C (dispatch): simplify
1181         (dispatch): adjust to take a FuncRequest as arg, adjust
1182
1183         * boost.C (assertion_failed): change assertion message slightly
1184
1185         * ToolbarBackend.C (read): simplify
1186
1187         * MenuBackend.C (binding): adjust call to findbinding, add a
1188         message if no binding is found.
1189         (read): simplify
1190         (expandToc): correct by adding a empty FuncRequest
1191
1192         * LyXAction.C: include <boost/assert.hpp>
1193         (isPseudoAction): delete function
1194         (LookupFunc): change name to...
1195         (lookupFunc): this. change return type to FuncRequest.
1196         (getActionName): take kb_action as arg, simplify
1197         (funcHasFlag): add an assert, simplify.
1198
1199 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1200
1201         * toc.C (action): return a FuncRequest, simplify
1202
1203         * lyxfunc.C (processKeySym): adjust
1204         (getStatus): delete version that takes an int.
1205         (getStatus): adjust
1206         (dispatch): delete version that takes action as int
1207         (dispatch): adjust
1208         (sendDispatchMessage): simplify and adjust
1209
1210         * funcrequest.C (getArg): take unsigned int as arg
1211
1212         * ToolbarBackend.C (read): adjust
1213         (add): delete version that takes func as a string.
1214         (getIton): take a FuncRequest as arg
1215
1216         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1217         action.
1218
1219         * MenuBackend.C (MenuItem): add a new construct that only takes a
1220         Kind, simplify the constructor use for submenus.
1221         (add): adjust
1222         (expandLastfiles): adjust
1223         (expandDocuments): adjust
1224         (expandFormats): adjust
1225         (expandFloatListInsert): adjust
1226         (expandFloatInsert): adjust
1227         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1228
1229         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1230         Remove class variables lyx_pseudo_map and lyx_arg_map
1231
1232         * LyXAction.C (searchActionArg): delete function
1233         (getPseudoAction): delete function
1234         (retrieveActionArg): delete function
1235         (LookupFunc): make it return kb_action, simplify.
1236         (getActionName): simplify
1237
1238         * factory.C (createInset): fix new bug
1239
1240 2003-09-19  Angus Leeming  <leeming@lyx.org>
1241
1242         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1243         masterFilename_ parameter in the include inset.
1244
1245         * factory.C (createInset): changes due to the changes to InsetInclude.
1246
1247 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1248
1249         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1250
1251 2003-09-18  Angus Leeming  <leeming@lyx.org>
1252
1253         * buffer.C:
1254         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1255         Inset::fillWithBibKeys.
1256         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1257
1258 2003-09-18  Angus Leeming  <leeming@lyx.org>
1259
1260         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1261         variables.
1262         (ctor): pass and store a 'Buffer const &'
1263         (buffer): new member function.
1264
1265         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1266         '*this' to the LaTeXFeatures ctor.
1267
1268 2003-09-18  Angus Leeming  <leeming@lyx.org>
1269
1270         * LColor.h:
1271         * lyxfont.C:
1272         * lyxfont.h:
1273         * lyxtext.h:
1274         * text.C: rename EnumLColor as LColor_color.
1275
1276 2003-09-18  Angus Leeming  <leeming@lyx.org>
1277
1278         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1279         remove #include "insets/insetbase.h" from cursor.h.
1280
1281 2003-09-18  Angus Leeming  <leeming@lyx.org>
1282
1283         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1284         InsetOld_code to remove #include "inset.h".
1285
1286         * iterators.C: add #include "insets/inset.h"
1287
1288 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1289
1290         * BufferView.C: remove more locking stuff that apparently doesn't
1291         do anything sensible.
1292
1293 2003-09-16  André Pönitz  <poenitz@gmx.net>
1294
1295         * paragraph.[Ch]:
1296         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1297           performance boost.
1298
1299 2003-09-16  Angus Leeming  <leeming@lyx.org>
1300
1301         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1302
1303         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1304         arg/return type.
1305
1306         * paragraph.h: remove #include "lyxfont.h". Forward declare
1307         LyXFont_size.
1308
1309 2003-09-16  Angus Leeming  <leeming@lyx.org>
1310
1311         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1312         of support/textutils.h.
1313         (isWord): move the contents of support/textutils.h's IsWordChar here.
1314
1315         * buffer.C:
1316         * lyxfind.C:
1317         * rowpainter.C:
1318         * text.C:
1319         * text2.C: add #include "paragraph.h".
1320
1321         * rowpainter.C:
1322         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1323
1324 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1325
1326         * main.C:
1327         * lyx_main.C:
1328         * lyx_cb.C:
1329         * buffer.C:
1330         * LaTeX.C: use namespace alias for lyx::support::os
1331
1332 2003-09-16  Angus Leeming  <leeming@lyx.org>
1333
1334         * bufferparams.C:
1335         * bufferview_funcs.C:
1336         * factory.C:
1337         * lyxfunc.C:
1338         * paragraph_pimpl.C:
1339         * rowpainter.C:
1340         * text.C: add #include "LColor.h".
1341
1342 2003-09-16  Angus Leeming  <leeming@lyx.org>
1343
1344         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1345         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1346         return LyXFont &.
1347         Store the FontBits::color variable as an int rather than as an
1348         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1349         file.
1350
1351         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1352         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1353         string calls together.
1354
1355         * lyxrc.C: add #include "LColor.h".
1356
1357 2003-09-15  Angus Leeming  <leeming@lyx.org>
1358
1359         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1360         a cow_ptr.
1361
1362 2003-09-15  Angus Leeming  <leeming@lyx.org>
1363
1364         * LColor.h: add an EnumLColor wrapper for LColor::color.
1365
1366         * lyxfont.[Ch] (color, setColor, realColor):
1367         * lyxtext.h, text.C (backgroundColor):
1368         pass EnumLColor args to/from the functions, rather than LColor::color
1369         ones.
1370
1371         * lyxfont.h:
1372         * lyxtext.h: forward declare EnumLColor.
1373
1374         * lyx_main.C: add #include "LColor.h".
1375
1376 2003-09-15  Angus Leeming  <leeming@lyx.org>
1377
1378         * .cvsignore: add lyx-gtk.
1379
1380 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1381
1382         * Chktex.C
1383         * LaTeX.C
1384         * LaTeXFeatures.C
1385         * ParagraphParameters.C
1386         * Spacing.C
1387         * buffer.C
1388         * bufferparams.C
1389         * bufferview_funcs.C
1390         * chset.C
1391         * counters.C
1392         * funcrequest.C
1393         * lyxfont.C
1394         * lyxgluelength.C
1395         * lyxlength.C
1396         * paragraph.C
1397         * paragraph_funcs.C
1398         * text3.C
1399         * vc-backend.C: remove usage of STRCONV
1400
1401 2003-09-15  Angus Leeming  <leeming@lyx.org>
1402
1403         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1404         explicitly define the color passed to the painter.
1405
1406 2003-09-15  Angus Leeming  <leeming@lyx.org>
1407
1408         * bufferparams.C (BufferParams): reorder member initializers to avoid
1409         compiler warning.
1410
1411 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1412
1413         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1414         * text.C (updateRowPositions): remove an unusual nop
1415
1416 2003-09-12  André Pönitz  <poenitz@gmx.net>
1417
1418         * BufferView_pimpl.C:
1419         * Bullet.C:
1420         * layout.h:
1421         * lyxfunc.C:
1422         * lyxlayout.[Ch]:
1423         * lyxtextclass.C:
1424         * rowpainter.C:
1425         * text.C:
1426         * text2.C:
1427         * Counters.[Ch]: finish the 'automatic counters' job
1428
1429 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1430
1431         * aspell.C: include <boost/assert.cpp> (compile fix)
1432
1433 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1434
1435         * boost.C (assertion_failed): use lyx::support::abort instead of
1436         assert.
1437
1438 2003-09-10  Angus Leeming  <leeming@lyx.org>
1439
1440         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1441         with their _fwd progeny.
1442
1443 2003-09-09  Angus Leeming  <leeming@lyx.org>
1444
1445         134 files throughtout the source tree: replace 'using namespace abc;'
1446         directives with the appropriate 'using abc::xyz;' declarations.
1447
1448 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1449
1450         * boost.C (emergencyCleanup): moved here from LAssert.c
1451         (assertion_failed): new function, called by BOOST_ASSERT
1452
1453         * several files: change Assert to BOOST_ASSERT
1454
1455 2003-09-09  Angus Leeming  <leeming@lyx.org>
1456
1457         * buffer.[Ch]: Add an Impl class and move Buffer's member
1458         variables into it. As a result move several header files out of
1459         buffer.h.
1460
1461         Add header files to lots of .C files all over the tree as a result.
1462
1463 2003-09-09  Angus Leeming  <leeming@lyx.org>
1464
1465         * buffer.[Ch]: make Buffer's member variables private. Add
1466         accessor functions.
1467
1468         Lots of changes all over the tree as a result.
1469
1470 2003-09-08  Angus Leeming  <leeming@lyx.org>
1471
1472         * graph.C: #include <config.h>.
1473
1474 2003-09-08  Angus Leeming  <leeming@lyx.org>
1475
1476         * BranchList.C:
1477         * BufferView.C:
1478         * BufferView_pimpl.C:
1479         * CutAndPaste.C:
1480         * DepTable.C:
1481         * LaTeX.C:
1482         * LaTeXFeatures.C:
1483         * LyXAction.C:
1484         * MenuBackend.C:
1485         * TextCache.C:
1486         * aspell.C:
1487         * buffer.C:
1488         * bufferlist.C:
1489         * changes.C:
1490         * chset.C:
1491         * converter.C:
1492         * counters.C:
1493         * debug.C:
1494         * graph.C:
1495         * ispell.C:
1496         * lyx_cb.C:
1497         * lyxfind.C:
1498         * lyxfunc.C:
1499         * lyxlex_pimpl.C:
1500         * lyxrc.C:
1501         * lyxrow.C:
1502         * paragraph.C:
1503         * rowpainter.C:
1504         * texrow.C:
1505         * text.C:
1506         * text2.C:
1507         * toc.C: remove redundant using directives.
1508
1509 2003-09-07  Angus Leeming  <leeming@lyx.org>
1510
1511         * LaTeXFeatures.h: remove #include "support/types.h".
1512         * ToolbarBackend.h: remove #include <algorithm>.
1513         * changes.h: remove #include <ctime>.
1514         * debug.h: remove #include <iosfwd>.
1515         * graph.h: remove #include "support/std_string.h".
1516         * lyx_main.h: remove #include <csignal>.
1517         * lyxlex_pimpl.h: remove #include <fstream>.
1518         * sgml.h: remove #include <algorithm>, <utility>.
1519         * toc.h: remove #include "support/std_ostream.h".
1520         Add #include <iosfwd>.
1521
1522 2003-09-07  Angus Leeming  <leeming@lyx.org>
1523
1524         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1525
1526         * converter.h: forward declare LatexRunParams.
1527         * encoding.h: remove #include "lyxrc.h".
1528         * lyxtext.h: remove #include "LColor.h".
1529         * lyxtextclass.h: remove #include "support/types.h".
1530         * trans.h: remove #include "tex-accent.h".
1531         * trans_mgr.h: remove #include "tex-accent.h".
1532         * insets/inset.h: remove #include "support/types.h", <vector>.
1533         * insets/insetcollapsable.h: remove #include "LColor.h".
1534         * insets/insetinclude.h: remove #include "dimension.h".
1535         * insets/insetlatexaccent.h: remove #include "dimension.h".
1536         * insets/insetoptarg.h:: remove #include "insettext.h".
1537         * insets/insettext.h: remove #include "dimension.h",
1538         <boost/shared_ptr.hpp>
1539
1540         * insets/renderers.h: add #include "dimension.h".
1541         * insets/updatableinset.h: add #include "support/types.h".
1542
1543         * many .C files: Associated changes.
1544
1545 2003-09-06  Angus Leeming  <leeming@lyx.org>
1546
1547         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1548         one, inside testInvariant.
1549
1550         * PrinterParams.C: new file.
1551         * PrinterParams.[Ch]: move the function bodies out of line.
1552
1553 2003-09-06  Angus Leeming  <leeming@lyx.org>
1554
1555         * ParagraphParameters.h: forward declare ParameterStruct rather than
1556         including its header file.
1557         (depth): moved out-of-line.
1558
1559 2003-09-06  Angus Leeming  <leeming@lyx.org>
1560
1561         * BufferView_pimpl.h:
1562         * kbmap.h:
1563         * kbsequence.h:
1564         * lyxfunc.h: forward declare LyXKeySym rather than
1565         #include "frontends/LyXKeySym.h".
1566
1567         * BufferView_pimpl.C:
1568         * kbmap.C:
1569         * kbsequence.C:
1570         * lyxfunc.C: associated changes.
1571
1572 2003-09-06  Angus Leeming  <leeming@lyx.org>
1573
1574         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1575         As a result, can remove the #include "insets/inset.h" from BufferView.h
1576
1577 2003-09-06  Angus Leeming  <leeming@lyx.org>
1578
1579         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1580         As a result, can remove the #include "insets/inset.h" from BufferView.h
1581
1582 2003-09-06  Angus Leeming  <leeming@lyx.org>
1583
1584         * buffer_funcs.C:
1585         * buffer.h:
1586         * bufferlist.C:
1587         * BufferView.C:
1588         * bufferview_funcs.C:
1589         * BufferView_pimpl.C:
1590         * CutAndPaste.C:
1591         * lyx_cb.C:
1592         * lyxfunc.C:
1593         * paragraph.h:
1594         * ParagraphParameters.C:
1595         * tabular.C:
1596         * text3.C:
1597         * toc.C:
1598         * undo_funcs.C:
1599         * frontends/controllers/ControlDocument.C:
1600         * insets/insetcaption.C: rearrange the #includes into some sort of
1601         coherent order.
1602
1603         * buffer.h: remove #includes ErrorList.h, undo.h
1604
1605 2003-09-06  Angus Leeming  <leeming@lyx.org>
1606
1607         * support/types.h: add a 'depth_type' typedef, used to store the
1608         nesting depth of a paragraph.
1609
1610         * paragraph.h:
1611         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1612         defining explicitly.
1613
1614         * buffer.h:
1615         * paragraph_funcs.h:
1616         * ParagraphParameters.h:
1617         * sgml.h: use lyx::depth_type rather than Paragraph or
1618         ParameterStruct's depth_type.
1619
1620         * buffer.h
1621         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1622
1623         * BufferView.C:
1624         * BufferView_pimpl.C:
1625         * CutAndPaste.C:
1626         * ParagraphParameters.C:
1627         * buffer_funcs.C:
1628         * bufferlist.C:
1629         * bufferview_funcs.C:
1630         * lyx_cb.C:
1631         * lyxfunc.C:
1632         * tabular.C:
1633         * text3.C:
1634         * toc.C:
1635         * undo_funcs.C:
1636         * frontends/LyXView.C:
1637         * frontends/controllers/ControlDocument.C:
1638         * frontends/controllers/ControlErrorList.C:
1639         * insets/insetbibitem.C:
1640         * insets/insetbranch.C:
1641         * insets/insetcaption.C:
1642         * insets/insetcollapsable.C:
1643         * insets/insetenv.C:
1644         * insets/insetert.C:
1645         * insets/insetfloat.C:
1646         * insets/insetfoot.C:
1647         * insets/insetfootlike.C:
1648         * insets/insetnewline.C:
1649         * insets/insetquotes.C:
1650         * insets/insettabular.C:
1651         * insets/insettext.C:
1652         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1653
1654         * frontends/controllers/ControlChanges.C: #include "changes.h".
1655
1656 2003-09-06  Angus Leeming  <leeming@lyx.org>
1657
1658         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1659         than #including paragraph.h.
1660
1661         * ParagraphList.h:
1662         * RowList.h: deleted. Superfluous.
1663
1664         * CutAndPaste.h:
1665         * iterators.h:
1666         * lyxcursor.h:
1667         * lyxtext.h:
1668         * text_funcs.h:
1669         * undo.h:
1670         * undo_funcs.h:
1671         * insets/inset.h:
1672         * insets/insettext.h: use ParagraphList_fwd.h rather than
1673         ParagraphList.h.
1674
1675         * paragraph.h: don't forward declare ParagraphList.
1676
1677         * buffer.h:
1678         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1679         rather than ParagraphList.h. paragraph.h is still needed for the
1680         Paragraph::depth_type parameters.
1681
1682         * textcursor.h: enable it to compile stand-alone in light of the
1683         above changes.
1684
1685         * bufferview_funcs.C:
1686         * iterators.C:
1687         * lyxfunc.C:
1688         * lyxrow_funcs.C:
1689         * paragraph.C:
1690         * rowpainter.C:
1691         * text.C:
1692         * text2.C:
1693         * text3.C:
1694         * text_funcs.C:
1695         * textcursor.C:
1696         * undo.C:
1697         * frontends/controllers/ControlParagraph.C:
1698         * frontends/controllers/ControlTabular.C:
1699         * insets/insetmarginal.C:
1700         * insets/insetminipage.C:
1701         * insets/insetnote.C:
1702         * insets/insetoptarg.C: add header files needed to compile again.
1703
1704 2003-09-06  Angus Leeming  <leeming@lyx.org>
1705
1706         * RowList_fwd.h: new file, forward-declaring Row rather than
1707         #including lyxrow.h.
1708
1709         * lyxrow_funcs.h:
1710         * lyxtext.h:
1711         * paragraph.h:
1712         * insets/insettext.h: use it instead of RowList.h
1713
1714         * bufferview_funcs.C:
1715         * lyxfunc.C:
1716         * lyxrow_funcs.C:
1717         * paragraph.C:
1718         * rowpainter.C:
1719         * text.C:
1720         * text2.C:
1721         * text3.C: #include "RowList.h".
1722
1723 2003-09-05  Angus Leeming  <leeming@lyx.org>
1724
1725         * factory.C (createInset):
1726         * vspace.C (c-tor): replace sscanf call with an istringstream.
1727         * ispell.C: re-add missing HP/UX headers.
1728         * lyxserver.C: re-add missing  os2 headers.
1729
1730 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1731
1732         * BranchList.C:
1733         * graph.C:
1734         * ispell.C:
1735         * lastfiles.C:
1736         * lyx_cb.C:
1737         * lyxserver.C:
1738         * texrow.C:
1739         * text3.C: re-add missing system headers, needed for 2.95.2.
1740
1741 2003-09-05  Angus Leeming  <leeming@lyx.org>
1742
1743         Changes most place everywhere due to the removal of using directives
1744         from support/std_sstream.h.
1745
1746 2003-09-05  Angus Leeming  <leeming@lyx.org>
1747
1748         Replace LString.h with support/std_string.h,
1749         Lsstream.h with support/std_sstream.h,
1750         support/LIstream.h with support/std_istream.h,
1751         support/LOstream.h with support/std_ostream.h.
1752
1753         Changes resulting throughout the tree.
1754
1755 2003-09-05  Angus Leeming  <leeming@lyx.org>
1756
1757         * sgml.h: ensure that the header file can be compiled stand-alone.
1758         * *.C: strip out redundant #includes. (320 in total.)
1759
1760 2003-09-04  Angus Leeming  <leeming@lyx.org>
1761
1762         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1763         here (from getPackages).
1764
1765         * debug.[Ch]: add a new EXTERNAL tag.
1766
1767 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1768
1769         * text2.C (cursorEnd): simplify
1770         (setCursor): adjust
1771         (getColumnNearX): adjust
1772
1773         * text.C (computeBidiTables): adjust
1774         (fill): adjust
1775
1776         * rowpainter.C (paintChars): adjust
1777         (paintSelection): adjust
1778         (paintChangeBar): adjust
1779         (paintText): adjust
1780
1781         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1782         lastPos instead.
1783         (numberOfSeparators): adjust
1784
1785 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1786
1787         * LyXAction.C:
1788         * box.[Ch]:
1789         * lfuns.h:
1790         * lyxfunc.C:
1791         * text3.C: Restricts the mouse click functionality
1792         of insets like bibtex, include, toc and floatlist to the visible
1793         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1794         up the dialogs. Cursor has to be in front of the inset (i.e.
1795         start of row) for this to function.
1796
1797 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1798
1799         * bufferview_funcs.C (currentState): output row information
1800
1801 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1802
1803         * bufferview_funcs.C (currentState): output paragraph position
1804
1805 2003-09-04  Angus Leeming  <leeming@lyx.org>
1806
1807         * FloatList.h: move out #include "Floating.h".
1808         * LaTeX.h: move out #include "DepTable.h".
1809         * LyXAction.h: move out #include "funcrequest.h".
1810         * buffer.h: move out #include "author.h", "iterators.h".
1811         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1812         * lyx_main.h: move out #include "errorlist.h".
1813         * lyxfunc.h: move out #include "FuncStatus.h".
1814         * lyxtext: move out #include "lyxcursor.h".
1815         * paragraph_pimpl.h: move out #include "counters.h".
1816
1817 2003-09-03  Angus Leeming  <leeming@lyx.org>
1818
1819         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1820         preamble_snippets list, enabling us to add snippets to the preamble
1821         only if the snippet was not there already.
1822
1823 2003-09-04  Angus Leeming  <leeming@lyx.org>
1824
1825         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1826
1827 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1830         update
1831
1832 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * BranchList.C: point fix, earlier forgotten
1835
1836 2003-09-02  Angus Leeming  <leeming@lyx.org>
1837
1838         * box.C (contains): renamed from 'contained' after a fantastic
1839         amount of hot air.
1840
1841 2003-09-02  John Levon  <levon@movementarian.org>
1842
1843         * BufferView.C:
1844         * lyxcursor.h:
1845         * lyxcursor.C:
1846         * lyxfunc.C:
1847         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1848
1849 2003-09-02  John Levon  <levon@movementarian.org>
1850
1851         * text2.C: simplification of cursorEnd(), including partial
1852         fix for bug 1376
1853
1854 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1855
1856         * buffer.C (readFile): add a space
1857
1858 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1861
1862 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * buffer.C (readFile): new function, take a filename and a
1865         ParagraphList::iterator
1866         (readFile): adjust
1867         (readFile): adjust, make it private. don't use setStream, make
1868         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1869         always contain the filename.
1870
1871         * BufferView.C (insertLyXFile): simplify and make it work for
1872         gzipped files.
1873
1874 2003-08-30  John Levon  <levon@movementarian.org>
1875
1876         * Makefile.am: fix dist (from Kayvan)
1877
1878 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1879
1880         * most files: change to use const Buffer refs
1881
1882 2003-08-27  André Pönitz  <poenitz@gmx.net>
1883
1884         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1885         on top of ownerPar().
1886
1887 2003-08-27  John Levon  <levon@movementarian.org>
1888
1889         * funcrequest.C: properly initialise POD members
1890
1891 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1892
1893         * lyxtext.h (top_y): move top_y from here
1894         * text.C:
1895         * text2.C:
1896         * text3.C:
1897         * BufferView.[Ch]:
1898         * BufferView_pimpl.[Ch]: to here
1899         * frontends/screen.C:
1900         * insets/insettabular.C:
1901         * insets/insettext.C: adjust
1902         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1903
1904 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1905
1906         * BufferView.[Ch]:
1907         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1908
1909 2003-08-26  André Pönitz  <poenitz@gmx.net>
1910
1911         * paragraph_func.[Ch] (outerPar): new function
1912
1913         * paragraph.C:
1914         * paragraph_funcs.C:
1915         * paragraph_funcs.h:
1916         * paragraph_pimpl.C:
1917         * text2.C: remove Inset::par_owner
1918
1919 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1920
1921         * lyxrow_funcs.C:
1922         * lyxtext.h:
1923         * text.C:
1924         * text2.C: eliminates the needFullRow/display() stuff
1925         altogether, putting the logic in metrics/draw in the insets.
1926
1927 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1928
1929         * text2.C (redoParagraphInternal, redoParagraphs):
1930         * text.C (redoParagraph): add a call to updateRowPositions at the
1931         end of each 'metrics-like' call. Remove all others.
1932         (getRow): remove the 'y-computing' version.
1933         (getRowNearY): do not compute nor return the real y. Solve the
1934         'y < 0' problem and simplify.
1935
1936 2003-08-22  Angus Leeming  <leeming@lyx.org>
1937
1938         * *.[Ch]: clean-up of licence and author blurbs.
1939         Also move config.h out of a few .h files and into a few .C files.
1940
1941 2003-08-22  André Pönitz  <poenitz@gmx.net>
1942
1943         * lyxrow.[Ch]: add x_ and *fill_ members
1944
1945         * lyxtext.h:
1946         * text.C:
1947         * rowpainter.C:
1948         * text2.C: adjust/remove prepareToPrint() calls
1949
1950 2003-08-22  André Pönitz  <poenitz@gmx.net>
1951
1952         * lyxrow.[Ch]: add  end_ member
1953
1954         * lyxrow_funcs.C: use LyXRow::end_
1955
1956         * lyxtext.h (singleWidth): add LyXFont parameter
1957
1958         * rowpainter.C:
1959         * text2.C: adjust LyXText::singleWidth() calls
1960
1961         * text.C (redoParagraph): simplify row breaking logic
1962
1963
1964 2003-08-19  André Pönitz  <poenitz@gmx.net>
1965
1966         * funcrequest.C: initialize button_ member
1967
1968         * text3.C:
1969         * rowpainter.[Ch]: interface consolidation
1970
1971 2003-08-18  André Pönitz  <poenitz@gmx.net>
1972
1973         * BufferView.C:
1974         * BufferView_pimpl.C:
1975         * lyxfind.C:
1976         * paragraph_funcs.C:
1977         * rowpainter.C:
1978         * text3.C: remove LyXScreen::draw() and fitCursor calls
1979
1980         * BranchList.h: remove spurious semicolons
1981
1982         * MenuBackend.C: fix branchlist related crash
1983
1984 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * BranchList.[Ch]:
1987         * InsetList.[Ch]:
1988         * LColor.[Ch]:
1989         * LyXAction.C:
1990         * Makefile.am:
1991         * MenuBackend.[Ch]:
1992         * bufferparams.[Ch]:
1993         * factory.C:
1994         * lfuns.h:
1995         * lyxfunc.C:
1996         * text3.C: implements the 'branch inset'
1997         idea. This allows the output of various versions of a document
1998         from a single source version, selectively outputing or suppressing
1999         output of parts of the text.
2000         This implementation contains a 'branch list editor' in a separate
2001         tab of the document settings dialog. Branches are user definable
2002         and have a "display colour" to distinguish them on-screen.
2003
2004         ColorHandler was somewhat cleaned up.
2005         (1) make possible a dynamically growing LColor list by allowing
2006         the graphic context cache to grow along (vector);
2007         (2) eliminate an IMHO unnecessary step in colour allocation.
2008
2009 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2010
2011         * BufferView_pimpl.C: compile fix
2012
2013 2003-08-15  André Pönitz  <poenitz@gmx.net>
2014
2015         * rowpainter.C: remove extra metrics calls
2016
2017         * lyxtext.h: merge the two constructors into a single one,
2018           pass reference to owner's par list
2019
2020         * BufferView_pimpl.C:
2021         * text.C:
2022         * text2.C: adjust
2023
2024 2003-08-15  André Pönitz  <poenitz@gmx.net>
2025
2026         * lyxrow_funcs.[Ch]:
2027         * lyxtext.h:
2028         * paragraph.h:
2029         * paragraph_funcs.C:
2030         * rowpainter.C:
2031         * text.C:
2032         * text2.C:
2033         * text3.C:
2034         * text_funcs.C: split LyXText::rowlist_ into individual
2035         Paragraph::rows_ chunks
2036
2037         * BufferView.[Ch]:
2038         * BufferView_pimpl.[Ch]:
2039         * lyxfind.C:
2040         * lyxtext.h:
2041         * text3.C: remove toggleSelection()
2042
2043 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2044
2045         * bufferlist.C: beautify two alerts (shorter text of buttons)
2046         * buffer.C: Remove redundant ' ' from message
2047         * tabular.h:
2048         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2049         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2050         rename VALIGN_CENTER to VALIGN_MIDDLE
2051
2052 2003-08-11  André Pönitz  <poenitz@gmx.net>
2053
2054         * lyxtext.h (getPar):
2055         * text.C: new function
2056
2057 2003-08-11  André Pönitz  <poenitz@gmx.net>
2058
2059         * Makefile.am:
2060         * tracer.[Ch]: remove unneeded files
2061
2062         * InsetList.[Ch]: remove resizeInsetsLyXText()
2063
2064         * lyxtext.h:
2065         * text.C:
2066         * text2.C:
2067         * text3.C: merge insertParagraphs() and appendParagraph()
2068         remove breakAgain(), update()
2069
2070         * BufferView_pimpl.[Ch]:
2071         * bufferview_funcs.[Ch]:
2072         * lyxfunc.C:
2073         * paragraph.[Ch]:
2074         * rowpainter.C:
2075         * tabular.C: adjust after text & InsetList changes.
2076
2077 2003-08-08  André Pönitz  <poenitz@gmx.net>
2078
2079         * text.C (insertChar, backspace): replace rowlist fiddling
2080         with rebreak of full par
2081
2082         * lyxtext.h:
2083         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2084         checkParagraph, updateInset): removed
2085
2086 2003-08-07  André Pönitz  <poenitz@gmx.net>
2087
2088         * paragraph.C:
2089         * text3.C: merge some LFUN handlers, remove dead code
2090
2091 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2094
2095 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * text2.C (DEPM): fix part of bug 1255 and 1256
2098
2099 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * BufferView_pimpl.C (workAreaDispatch): change to use
2102         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2103         that are no mouse related.
2104
2105 2003-08-05  André Pönitz  <poenitz@gmx.net>
2106
2107         * BufferView.[Ch]:
2108         * BufferView_pimpl.[Ch]:
2109         * bufferview_funcs.C:
2110         * text2.C:
2111         * text3.C: rip out "deep update"
2112
2113         * textcursor.[Ch] (last_sel_cursor): remove unused member
2114
2115 2003-08-04  André Pönitz  <poenitz@gmx.net>
2116
2117         * BufferView.[Ch]:
2118         * BufferView_pimpl.[Ch]:
2119         * ParagraphParameters.C:
2120         * bufferview_funcs.C:
2121         * lyx_cb.C:
2122         * lyxfind.C:
2123         * lyxfunc.C:
2124         * text.C:
2125         * text2.C:
2126         * text3.C: replace "complicated" BufferView::update(...) calls with
2127         simpler ones.
2128
2129         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2130
2131 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2132
2133         * Makefile.am (lyx_SOURCES): add paper.h
2134
2135 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2136
2137         * Makefile.am: move things around so that both lyx-qt and
2138         lyx-xforms can be built (according to --with-frontend). Then lyx
2139         is a symbolic link to lyx-[firstfrontend]
2140
2141 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2142
2143         * Always use std::endl with lyxerr
2144
2145 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2146
2147         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2148
2149 2003-08-01  André Pönitz  <poenitz@gmx.net>
2150
2151         * BufferView.[Ch]:
2152         * BufferView_pimpl.[Ch]:
2153         * lyxfunc.C:
2154         * text3.C: merge BufferView::repaint() and BufferView::update()
2155
2156 2003-08-01  José Matos  <jamatos@lyx.org>
2157
2158         * buffer.[Ch]: file_format is no longer a buffer data element.
2159
2160 2003-08-01  André Pönitz  <poenitz@gmx.net>
2161
2162         * BufferView.C:
2163         * lyxtext.h:
2164         * text.C:
2165         * text2.C: make redoParagraph more independent of current cursor
2166
2167         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2168         * text.C:
2169         * text2.C: remove unneeded members
2170
2171 2003-07-30  André Pönitz  <poenitz@gmx.net>
2172
2173         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2174
2175         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2176           create a single function...
2177
2178         * paragraph_funcs.C (moveItem): ... here.
2179
2180         * text.C:
2181           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2182
2183 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2184
2185         * LColor.[Ch]: Add comment and greyedout logical colors.
2186
2187 2003-07-30  André Pönitz  <poenitz@gmx.net>
2188
2189         * tabular.C: don't use Assert too heavily. This crashes where it
2190           shouldn't
2191
2192 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2195         is disabled (bug 1232)
2196
2197 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2198
2199         * factory.C: limited 'arg' scope
2200
2201 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2202
2203         * factory.C: fixed Note submenu issues
2204
2205 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2206
2207         * factory.C: submenu for Note/Comment/Greyedout
2208
2209 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2210
2211         * lyx_main.C (LyX):
2212         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2213
2214 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2215
2216         * LaTeXFeatures.C:
2217         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2218         greyedout. Patch provided by Jürgen Spitzmüller.
2219
2220 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         * kbmap.C (read): fix error message when reading bind files
2223
2224 2003-07-29  Angus Leeming  <leeming@lyx.org>
2225
2226         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2227         certainly does not do what it purports to do. I am doing it, and
2228         us, a favour by killing it.
2229
2230 2003-07-28  José Matos  <jamatos@lyx.org>
2231
2232         * buffer.C (readBody, do_writeFile):
2233         * paragraph.C(readParagraph): \end_document replaces \the_end.
2234
2235 2003-07-29  André Pönitz  <poenitz@gmx.net>
2236
2237         * BufferView.[Ch]:
2238         * BufferView_pimpl.[Ch]:
2239         * lyxfunc.C:
2240         * text2.C:
2241         * text3.C:
2242         * textcursor.[Ch]: remove toggleToggle & Co
2243
2244 2003-07-28  José Matos  <jamatos@fep.up.pt>
2245
2246         * buffer.C (readParagraph):
2247         * params_func (readParToken, readParagraph):
2248         * paragraph.C (write): \layout -> \begin_layout.
2249
2250 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * lyxlex_pimpl.C (setFile): clean up slightly.
2253
2254         * bufferparams.h: add compressed var
2255
2256         * buffer_funcs.C (readFile): adjust for LyXLex change
2257         (newFile): ditto + simplify
2258
2259         * buffer.C (writeFile): handle writing of compressed files
2260
2261         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2262         Check if the file is compressed and set a bufferparm if so.
2263
2264         * Makefile.am (lyx_LDADD): remove explicit -lz
2265
2266 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2267
2268         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2269         makeDocBookFile): put the real LyX version in the first line of
2270         the file
2271
2272         * version.h:
2273         * version.C.in: remove lyx_docversion
2274
2275         * tabular.C (write_attribute): add a template-based version to
2276         write enums properly
2277
2278 2003-07-28  André Pönitz  <poenitz@gmx.net>
2279
2280         * lyxtext.h:
2281         * text.C:
2282         * text2.C:
2283         * text3.C: use doubles again for x-coordinates. They are needed.
2284
2285 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * messages.C (getLocaleDir): use lyx_localedir()
2288
2289         * lyxlex_pimpl.C (setFile): compress stuff
2290
2291         * buffer.C (writeFile): add some compression stuff
2292         (do_writeFile): new func, dont call expliti close... will this
2293         breake anything?
2294
2295         * Makefile.am (lyx_LDADD): add -lz
2296
2297 2003-07-28  José Matos  <jamatos@fep.up.pt>
2298
2299         * buffer.C: increment file format.
2300         * paragraph_funcs (readParagraph, readParToken):
2301         * paragraph.C (readParagraph): add \end_layout.
2302
2303 2003-07-27  Angus Leeming  <leeming@lyx.org>
2304
2305         * Makefile.am: remove special casing for configure-time setting of
2306         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2307
2308         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2309         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2310
2311 2003-07-26  André Pönitz  <poenitz@gmx.net>
2312
2313         * paragraph_func.[Ch]:
2314         * paragraph.C (realizeFont): inline it whereever it is used
2315
2316         * rowpainter.C:
2317         * text.C:
2318         * text2.C:
2319         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2320
2321
2322 2003-07-26  André Pönitz  <poenitz@gmx.net>
2323
2324         *       lyxtext.h:
2325         * text.C:
2326         * text2.C: get rid of LyXText::need_break_row
2327
2328 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2329
2330         * toc.[Ch]: put namespace toc inside namespace lyx
2331
2332         * MenuBackend.C (expandToc2): adjust for lyx::toc
2333         (expandToc): ditto
2334
2335         * lyxfunc.C (dispatch): adjust for lyx::find
2336
2337         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2338         lyx::find instead. Reorganize a bit.
2339         (LyXReplace): rename to replace
2340         (LyXFind): rename to find
2341
2342         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2343         (dispatch): ditto
2344
2345 2003-07-26  André Pönitz  <poenitz@gmx.net>
2346
2347         * text.C (setHeightOfRow): restrict scope of temporary variable
2348
2349         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2350           code (never has been used?)
2351
2352 2003-07-27  Asger Alstrup  <alstrup@local>
2353
2354         * text.C (fill): Optimise algorithm to exploit that we can reuse
2355         the LyXFont for many characters.
2356         (setHeightOfRow): Same thing.
2357         (rowBreakPoint): Same thing.
2358
2359 2003-07-26  Asger Alstrup  <alstrup@local>
2360
2361         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2362
2363         * text.C (singleWidth): Spurious font copying in hot-spot
2364         singleWidth avoided. Reorder tests for arabic for efficiency.
2365
2366         * text.C (fill): handle empty paragraphs better.
2367
2368 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * ispell.C:
2371         * encoding.h: add includes
2372
2373         * lyxrc.C: remove reading of bind files
2374
2375         * lyx_main.C (init): setup bindings and menus only if we have a
2376         gui.
2377
2378         * kbmap.C (read): new method. Do the actual reading of bind
2379         files.
2380
2381         * converter.C (dvipdfm_options):
2382         * bufferparams.C:
2383         * lyxrc.C (read):
2384         (output): adapt PAPER_* enums.
2385
2386         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2387
2388         * bufferparams.h: remove paper-related enums from there
2389
2390         * paper.h: New file. A trivial header file to hold paper-related
2391         enums. It should later expand to contain many paper-related
2392         horrors access.
2393
2394         * lyxrc.C: declare extern displayTranslator
2395
2396 2003-07-27  José Matos  <jamatos@fep.up.pt>
2397
2398         * tabular.[Ch] (linuxdoc): add support for tables and figures
2399         (linuxdoc).
2400
2401 2003-07-27  José Matos  <jamatos@fep.up.pt>
2402
2403         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2404         consistency in both functions.
2405         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2406
2407 2003-07-26  Asger Alstrup  <alstrup@local>
2408
2409         * rowpainter.C (paintRows): Change algorithm to work directly on
2410         the insets rather than asking every character in the document
2411         whether its an inset.
2412
2413 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2414
2415         * buffer.C (openFileWrite): factorize some code
2416
2417 2003-07-26  Angus Leeming  <leeming@lyx.org>
2418
2419         * lyx_cb.C:
2420         * lyx_main.[Ch]: replace occurances of system_tempdir with
2421         os::getTmpDir().
2422
2423 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * rename Inset to InsetOld
2426
2427 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2428
2429         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2430         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2431         which I think is a bit clearer. EDIT is gone, since it was
2432         premature optimisation, and broken for mathed anyway.
2433         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2434         with cursor positioning in insets as well (math insets still do not
2435         work, but that's a different story anyway.) It mysteriously
2436         crashes sometimes with undo in the first paragraph, but I'm fairly
2437         confident that this is a compiler bug.
2438
2439 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * paragraph.C (Paragraph): adjust for new clone return type
2442         (operator==): ditto
2443         (copyIntoMinibuffer): ditto
2444
2445 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2446
2447         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2448         by not having a special case, and always doing a full rebreak of
2449         the document after undo.
2450
2451 2003-07-23  Angus Leeming  <leeming@lyx.org>
2452
2453         * factory.C (createInset): InsetExternal::setParams now takes a
2454         Buffer const * arg.
2455
2456 2003-07-23  Angus Leeming  <leeming@lyx.org>
2457
2458         * factory.C (createInset): changed interface to the external and
2459         graphics mailers' string2params functions.
2460
2461 2003-07-23  Angus Leeming  <leeming@lyx.org>
2462
2463         * factory.C (createInset): pass a
2464         Buffer const * parameter to InsetExternalMailer's string2params.
2465
2466 2003-07-22  John Levon  <levon@movementarian.org>
2467
2468         * Thesaurus.h: include the right aiksaurus header
2469
2470 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2471
2472         * MenuBackend.C (expand): check menu shortcuts unconditionally
2473
2474 2003-07-21  Angus Leeming  <leeming@lyx.org>
2475
2476         * factory.C (createInset): pass a
2477         buffer_path parameter to InsetGraphicsMailer's string2params.
2478
2479 2003-07-21  Angus Leeming  <leeming@lyx.org>
2480
2481         * BufferView_pimpl.C (buffer):
2482         * buffer.C (d-tor):
2483         * lyx_main.C (LyX):
2484         * lyxfunc.C (dispatch):
2485         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2486         rather than the grfx shortcut.
2487
2488 2003-07-21  André Pönitz  <poenitz@gmx.net>
2489
2490         * rowpainter.C: remove unused variables
2491
2492         * tabular_funcs.C:
2493         * tabular_funcs.h: move to tabular.C
2494         * Makefile.am: adjust
2495
2496         * tabular.[Ch]: basic optical cleaning
2497
2498         * author.h: pass references, not values
2499
2500 2003-07-18  André Pönitz  <poenitz@gmx.net>
2501
2502         * lyxtext.h:
2503         * metricsinfo.C:
2504         * metricsinfo.h:
2505         * rowpainter.C:
2506         * text.C:
2507         * text2.C:
2508         * text3.C: two-phase drawing for InsetText and InsetTabular
2509         some float -> int changes.
2510
2511 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * lyx_main.C: fix the fix
2514
2515 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * lyx_main.C: fix a crash in batch mode if no files specified
2518         * converter.C: ws
2519
2520 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * format.[Ch] (papersize): moved to BufferParams
2523         * converter.[Ch] (dvips_options): moved to BufferParams
2524         (dvipdfm_options): moved to anon namespace
2525         * bufferparams.[Ch]: added above functions.
2526
2527 2003-07-17  André Pönitz  <poenitz@gmx.net>
2528
2529         * lyxtext.h:
2530         * rowpainter.C:
2531         * text2.C: don't call inset->update() anymore
2532
2533         * metricsinfo.[Ch]: add convenience constructor
2534
2535 2003-07-16  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxcursor.[Ch]:
2538         * lyxfunc.[Ch]:
2539         * text.C:
2540         * text2.C: replace the LyXCursor::irow_ member with
2541          on-demand computation of the value
2542
2543 2003-07-16  John Levon  <levon@movementarian.org>
2544
2545         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2546
2547 2003-07-15  André Pönitz  <poenitz@gmx.net>
2548
2549         * text.C:
2550         * text2.C: remove no more needed refresh_row
2551
2552 2003-07-15  André Pönitz  <poenitz@gmx.net>
2553
2554         * lyxtext.h:
2555         * rowpainter.C:
2556         * text2.C:
2557         * text3.C: refresh_status tristate -> need_update bool
2558
2559 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2560
2561         * lyxtext.h (init): remove reinit argument (act as if always true)
2562         * text2.C: adjust to that
2563
2564 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2565
2566         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2567         * text3.C: use it to delete selections in some cases
2568         (bugs 441, 673, 702, 954).
2569
2570 2003-07-14  André Pönitz  <poenitz@gmx.net>
2571
2572         * rowpainter.[Ch]: reduce interface
2573
2574 2003-07-14  André Pönitz  <poenitz@gmx.net>
2575
2576         * BufferView_pimpl.C:
2577         * text2.C: adjust after removing unused BufferView * argument
2578
2579 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * text2.C (init): fix a crash fired on resize
2582
2583 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * buffer.[Ch]: added new closing signal
2586         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2587         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2588         BufferView::Pimpl via the closing the signal
2589
2590 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2591
2592         * buffer.[Ch]: take out all bv-related from buffer
2593         * BufferView.C:
2594         * BufferView_pimpl.[Ch]: connect to new signals
2595         * CutAndPaste.C: removed useless asserts
2596         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2597         * lyxvc.[Ch]:
2598         * vc-backend.[Ch]:
2599         * lyxfunc.C: moved view-related funciontality from vc here
2600         * paragraph.C: removed outdated comments
2601         * text.C: ws
2602
2603 2003-07-10  André Pönitz  <poenitz@gmx.net>
2604
2605         * BufferView_pimpl.C:
2606         * tabular.h:
2607         * tabular_funcs.C:
2608         * text.C:
2609         * text2.C: remove InsetText::InnerCache, clean up consequences
2610
2611 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2612
2613         * ispell.C: fix two typos in error messages
2614
2615 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2616
2617         * Extend Note inset to other forms of annotation like Comment
2618         and Greyedout. Right button click gives dialog.
2619
2620         Files modified or added (+):
2621
2622         * insetnote.[Ch]
2623         * FormNote.[Ch]      +
2624         * ControlNote.[Ch]   +
2625         * form_note.fd       +
2626         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2627         frontends/controllers
2628         * xforms/Dialogs.C
2629         * factory.C
2630
2631 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2632
2633         * aspell.C: add missing namespace lyx::support
2634
2635 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2636
2637         * BufferView.[Ch] (newFile): Add
2638         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2639         * LaTeX.[Ch] (message): added this signal and use it
2640         * buffer.[Ch] (busy, message): added these signals and use them
2641         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2642         * converter.C:
2643         * exporter.C:
2644         * format.C:
2645         * importer.C: use buffer signals instead of direct bv calling
2646         * lyx_cb.[Ch] (ShowMessage): removed
2647         * lyx_main.C:
2648         * lyxfunc.C:
2649         * paragraph_funcs.C:
2650         * text2.C: use buffer signals
2651
2652 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * introduce namespace lyx::graphics
2655
2656 2003-07-02  André Pönitz  <poenitz@gmx.net>
2657
2658         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2659
2660 2003-07-01  André Pönitz  <poenitz@gmx.net>
2661
2662         * text.C:
2663         * text2.C:
2664         * text3.C:
2665         * text_funcs.[Ch]:
2666         * textcursor.h:
2667         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2668           text*.C to text_func.C
2669
2670 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * introduce namespace lyx::support
2673
2674 2003-06-30  André Pönitz  <poenitz@gmx.net>
2675
2676         * Chktex.C:
2677         * funcrequest.C:
2678         * lyxtext.h:
2679         * text.C: re-enable --with-included-string
2680
2681 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2682
2683         * textcursor.C: add <config.h>
2684
2685         * text.C (getWord): remove const from word_location arg
2686
2687         * lyxvc.C (getLogFile): fix const type order
2688
2689         * lyxtext.h: remove const from word_location arg, add arg name
2690
2691         * lyxlayout.h: currect type on labeltype.
2692
2693         * importer.C: correct \file
2694
2695         * converter.C (intToFormat): use std:: on ret val, ws changes
2696
2697         * bufferlist.h: correct \file
2698
2699         * buffer.C (makeLinuxDocFile): fix const type order
2700         (makeDocBookFile): ditto
2701         (fillWithBibKeys): use std:: on stdlib args.
2702
2703         * CutAndPaste.C: fix authors.
2704         (availableSelections): use std:: on return vector
2705
2706 2003-06-27  André Pönitz  <poenitz@gmx.net>
2707
2708         * BufferView_pimpl.C:
2709         * bufferview_funcs.C:
2710         * lyxcursor.C:
2711         * lyxcursor.h:
2712         * lyxfunc.C:
2713         * lyxtext.h:
2714         * rowpainter.C:
2715         * text.C:
2716         * text2.C:
2717         * text3.C: remove LyXCursor::row_ member
2718
2719         * lyxtext.h:
2720         * text.C: rename fullRebreak() to partialRebreak() and implement
2721           a fullRebreak() that really bereks fully
2722
2723         * textcursor.h: new struct for cursor-related data
2724
2725 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * lyx_main.C (LyX): get full path of document loaded on the
2728         command line
2729
2730 2003-06-26  André Pönitz  <poenitz@gmx.net>
2731
2732         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2733           remove unused/broken operator>,<,>=.
2734
2735         *       text.C: remove only use of broken operator<= in an Assert().
2736
2737 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2738
2739         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2740         moved errorlist_.clear to showErrorList
2741
2742 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * converter.C (scanLog, runLaTeX):
2745         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2746         move the bv->showErrorList call to the callers
2747         * lyxfunc.C: i.e. here...
2748         * text2.C: and here
2749         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2750         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2751         namespace, the second to...
2752         * buffer_funcs (BufferFormat, parseErrors): added
2753         * errorlist.C (ErrorList(TeXErrors const &)): removed
2754
2755 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2756
2757         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2758
2759 2003-06-24  "Garst R. Reese" <reese@isn.net>
2760
2761         * debug.C: fix typo
2762
2763 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2764
2765         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2766
2767         * version.C.in: change docversion to 1.4
2768
2769 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2770
2771         * buffer.C: fix a bug just introduced
2772
2773 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2774
2775         * buffer.[Ch]: added the parseError signal and use it, removed
2776         sgmlError
2777         * BufferView.[Ch] (addError): moved to ...
2778         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2779         to the Buffer::parseError signal to catch (guess what) parse errors
2780         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2781
2782 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2783
2784         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2785         ability to create a buffer and to return an existing one from
2786         the list. Moved these functions to...
2787         * buffer_funcs.[Ch]: added
2788         * BufferView.[Ch] (loadLyXFile): added
2789         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2790         job removed from bufferlist::loadLyXFile.
2791         * buffer.C (setReadOnly): make it work without view
2792         (i.e added an if (users))
2793
2794 2003-06-19  Angus Leeming  <leeming@lyx.org>
2795
2796         * lfuns.h:
2797         * LyXAction.C (init):
2798         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2799         with LFUN_DIALOG_SHOW <name> <data>.
2800
2801 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2802
2803         * CutAndPaste.C (availableSelections): small compilation fix for
2804         ancient (gcc 2.9x) compilers
2805
2806 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2807
2808         * text3.C (cursorNext): add tmp var
2809
2810         * text2.C (updateCounters): for function calling out of for clause
2811         (replaceSelectionWithString): ditto
2812         (insertStringAsParagraphs): ditto
2813         (getColumnNearX): add tmp var
2814         (setCursorFromCoordinates): add tmp var
2815         (cursorDownParagraph): add tmp var
2816         (deleteEmptyParagraphMechanism): add tmp var
2817
2818         * text.C (insertChar): add tmp var
2819
2820         * rowpainter.C (paintDepthBar): add tmp var
2821
2822         * CutAndPaste.C (availableSelections): potentially check all
2823         paragraphs in a cut to fill the shown strings.
2824
2825 2003-06-18  André Pönitz  <poenitz@gmx.net>
2826
2827         * kbmap.[Ch]: use vector<> instead of list<>
2828
2829 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2830
2831         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2832         pasteSelection with index
2833
2834         * text2.C (pasteSelection): modify, call pasteSelection with index
2835
2836         * paragraph.C (asString): reimplement version with no interval to
2837         call the one with interval.
2838
2839         * lyxtext.h: add index arg to pasteSelection
2840
2841         * MenuBackend.C (MenuItem): handle PasteRecent
2842         (Menu::read::Menutags): add md_pasterecent
2843         (read): handle it
2844         (expandPasteRecent): new function
2845         (expand): use it
2846
2847         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2848
2849         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2850         the limited stack
2851         (availableSelections): new function
2852
2853 2003-06-17  Angus Leeming  <leeming@lyx.org>
2854
2855         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2856
2857 2003-06-17  Angus Leeming  <leeming@lyx.org>
2858
2859         * lfuns.h:
2860         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2861
2862         * lyxfunc.C (dispatch): invoke it.
2863
2864 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2865
2866         * iterators.C (operator++, ParPosition): reintroduce some
2867         const_cast for the benefit of older compilers.
2868
2869 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * text3.C (dispatch): do not modify clipboard when doing
2872         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2873         LFUN_DELETE_SKIP on a selection selection
2874
2875 2003-06-16  André Pönitz  <poenitz@gmx.net>
2876
2877         * BufferView.C:
2878         * buffer.C:
2879         * buffer.h:
2880         * paragraph.C:
2881         * tabular.[Ch]: IU of clone() and getLabelList();
2882
2883 2003-06-13  André Pönitz  <poenitz@gmx.net>
2884
2885         * tabular.h: compactification
2886
2887 2003-06-12  André Pönitz  <poenitz@gmx.net>
2888
2889         * tabular.C:
2890         * tabular.h:
2891         * tabular_funcs.h: some renaming plus whitespace
2892
2893 2003-06-12  André Pönitz  <poenitz@gmx.net>
2894
2895         * BufferView.C:
2896         * BufferView_pimpl.C:
2897         * CutAndPaste.C:
2898         * buffer.C:
2899         * iterators.[Ch]:
2900         * lyxfunc.C:
2901         * text.C:
2902         * toc.C: Return a Paragraph & for ParIterator::operator*()
2903
2904 2003-06-11  John Levon  <levon@movementarian.org>
2905
2906         * lyx_main.C:
2907         * ToolbarBackend.h:
2908         * ToolbarBackend.C: add "Toolbars" section and
2909         put the flags there
2910
2911 2003-06-10  Angus Leeming  <leeming@lyx.org>
2912
2913         * lfuns.h:
2914         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2915
2916         * lyxfunc.C (dispatch): invoke it.
2917
2918 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * main.C: protect <ios> with HAVE_IOS
2921         (main): protect sync_with_stdio with HAVE_IOS
2922
2923 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2924
2925         * text2.C (cutSelection): adjust
2926         (pasteSelection): adjust
2927
2928         * messages.C: handle get of empty string
2929
2930         * main.C (main): use sync_with_stdio(false)
2931
2932         * lyxfunc.C (dispatch): adjust
2933
2934         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2935         (WriteAs): remove unneeded BufferView arg.
2936
2937         * bufferparams.h: use correct types on papersize, papersize2 and
2938         paperpackage.
2939
2940         * bufferparams.C (readToken): adjust for type
2941         (writeLaTeX): add missing cases to switch.
2942
2943         * bufferlist.C (quitWriteBuffer): adjust
2944         (close): adjust
2945
2946         * buffer.C (asciiParagraph): remove some commented code.
2947
2948         * CutAndPaste.C: remove current_view extern variable.
2949         (cutSelection): add BufferParams arg.
2950         (eraseSelection): add BufferParams arg.
2951         (pasteSelection): add Buffer const & arg
2952
2953 2003-06-07  John Levon  <levon@movementarian.org>
2954
2955         * buffer.C:
2956         * paragraph_funcs.C:
2957         * paragraph_pimpl.C:
2958         * text.C:
2959         * text2.C:
2960         * paragraph.h:
2961         * paragraph.C: allow InsetERT to freely space lines,
2962         and some consolidation of code
2963
2964 2003-06-06  José Matos  <jamatos@fep.up.pt>
2965
2966         * buffer.C (makeDocBookFile): fix bug #821
2967
2968 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2969
2970         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2971
2972 2003-06-04  Angus Leeming  <leeming@lyx.org>
2973
2974         * buffer.C: bump format to 224.
2975
2976 2003-06-05  André Pönitz  <poenitz@gmx.net>
2977
2978         * text2.C (redoParagraphs): remove two const_cast<>
2979
2980 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2981
2982         * ParagraphList.h: remove last remnants of NO_STD_LIST
2983
2984 2003-06-03  Angus Leeming  <leeming@lyx.org>
2985
2986         * factory.C (createInset): small change to the way InsetExternal's params
2987         are set.
2988
2989 2003-06-04  André Pönitz  <poenitz@gmx.net>
2990
2991         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2992
2993         * paragraph_pimpl.h:
2994         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2995
2996         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2997
2998         * undo_funcs.C: make some simple cases of undo work again
2999
3000 2003-06-03  John Levon  <levon@movementarian.org>
3001
3002         * ispell.C: HPUX doesn't have sys/select.h
3003         (from Albert Chin)
3004
3005 2003-06-03  John Levon  <levon@movementarian.org>
3006
3007         * CutAndPaste.C: update tabular and include inset
3008         buffer references
3009
3010         * buffer.h:
3011         * paragraph.h:
3012         * paragraph.C: remove owningBuffer(), don't pass Buffer
3013         to clone()
3014
3015         * factory.C: insetGraphicsParams changed
3016
3017 2003-06-02  John Levon  <levon@movementarian.org>
3018
3019         * LyXAction.C:
3020         * factory.C:
3021         * lfuns.h:
3022         * lyxfunc.C:
3023         * text3.C: remove insetparent
3024
3025 2003-06-02  John Levon  <levon@movementarian.org>
3026
3027         * buffer.h:
3028         * buffer.C: fix inset_iterator.end(), move out of line
3029         (bug 1149)
3030
3031 2003-06-01  John Levon  <levon@movementarian.org>
3032
3033         * text3.C: use a proper cut/paste when doing inset
3034         insert (from Jürgen Spitzmüller)
3035
3036 2003-06-01  John Levon  <levon@movementarian.org>
3037
3038         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3039
3040 2003-05-30  André Pönitz  <poenitz@gmx.net>
3041
3042         * rowpainter.C: unify second drawing phase
3043
3044 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * trans_mgr.C: remove one case of current_view
3047
3048         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3049
3050         * paragraph_funcs.h: remove paragraph.h include
3051
3052         * paragraph.h: delete NO_STD_LIST stuff
3053
3054         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3055
3056         * buffer.h: remove paragraph.h include
3057
3058         * ParagraphList.C: delete file
3059
3060         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3061
3062         * toc.C (getTocList): adjust
3063
3064         * paragraph_pimpl.C (validate): adjust
3065
3066         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3067
3068         * paragraph.C (Paragraph): adjust
3069         (getPositionOfInset): use const_iterator, adjust
3070         (bibitem): use const_iterator, adjust
3071         (setInsetOwner): adjust
3072
3073         * iterators.C (operator++): adjust
3074
3075         * InsetList.[Ch]: Replace selfmade iterator with standard
3076         vector::iterator also introduce const_iterator. Remove getPos,
3077         getInset and setInset from InsetTable. Adjust accordingly.
3078
3079         * BufferView.C (lockInset): adjust
3080         (ChangeInsets): adjust
3081
3082         * tabular.[Ch]: delete commented same_id functions
3083
3084 2003-05-28  John Levon  <levon@movementarian.org>
3085
3086         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3087
3088 2003-05-28  André Pönitz  <poenitz@gmx.net>
3089
3090         * metricsinfo.[Ch]: remove 'fullredraw' member
3091
3092 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3093
3094         * lyxtextclass.C (operator): remove caching.
3095
3096 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * text3.C: adjust
3099
3100         * text2.C (cursorBottom): adjust
3101         (setCounter): use ParagraphList::find, adjust
3102
3103         * text.C (workWidth): use ParagraphList::find, adjust
3104
3105         * lyxcursor.C (LyXCursor): adjust
3106
3107         * buffer.C (inset_iterator): adjust
3108
3109         * ParagraphList.h: make iterator(value_type) private, make
3110         ParagraphList a friend of iterator.
3111
3112         * ParagraphList.C (find): new function
3113
3114         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3115
3116 2003-05-27  André Pönitz  <poenitz@gmx.net>
3117
3118         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3119
3120 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3121
3122         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3123
3124 2003-05-26  John Levon  <levon@movementarian.org>
3125
3126         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3127
3128 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * remove same_id from function signatures, adjust.
3131
3132 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3135
3136         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3137
3138         * paragraph.C (Paragraph): get rid of same_ids parameter
3139
3140         * ParagraphList.C (insert): adjust
3141         (push_back): adjust
3142
3143 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * paragraph_funcs.C (breakParagraph): adjust
3146         (breakParagraphConservative): adjust
3147
3148         * buffer.C (readParagraph): adjust
3149
3150         * ParagraphList.C (insert): take a reference instead of a pointer
3151         (insert): adjust
3152
3153         * paragraph.[Ch] (id): new function
3154
3155         * bufferlist.C (newFile): adjust
3156
3157         * ParagraphList.C (ParagraphList): adjust
3158         (assign): adjust
3159         (push_back): take a reference instead of a pointer.
3160
3161         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3162
3163         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3164         instead.
3165
3166         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3167         set else use old code.
3168
3169         * ParagraphList.C: remove all NO_NEXT code and only compile this
3170         code of NO_STD_LIST is set.
3171
3172 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * BufferView_pimpl.C:
3175         * TextCache.C:
3176         * TextCache.h:
3177         * bufferlist.C:
3178         * errorlist.h:
3179         * format.C:
3180         * format.h:
3181         * graph.C:
3182         * lyxfunc.C:
3183         * lyxrc.C:
3184         * graphics/GraphicsConverter.C:
3185         * graphics/PreviewLoader.C: header adjustment
3186
3187 2003-05-23  Angus Leeming  <leeming@lyx.org>
3188
3189         * LaTeXFeatures.[Ch] (useBabel): new method.
3190         * bufferparams.C (writeLaTeX): use it.
3191
3192 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * ParagraphList.h (set): remove unused function.
3195
3196 2003-05-23  André Pönitz  <poenitz@gmx.net>
3197
3198         * BufferView.C:
3199         * BufferView_pimpl.C:
3200         * buffer.C:
3201         * buffer.h:
3202         * lyxfunc.C:
3203         * undo_funcs.C: setUndo reworked
3204
3205         * iterators.[Ch]: add access to topmost ParagraphList
3206
3207         * lyxtext.[Ch] (workWidth): add a const
3208
3209 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * texrow.[Ch] (increasePos): remove function
3212         * exporter.C (export): removed unused var and outdated comment
3213
3214 2003-05-23  Angus Leeming  <leeming@lyx.org>
3215
3216         * latexrunparams.h: rename fragile as moving_arg.
3217         * paragraph.C (simpleTeXOnePar): ditto.
3218         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3219
3220 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3223         (createUndo): ditto
3224         (textUndoOrRedo): comment out a currently unused var.
3225
3226         * paragraph.h (NO_NEXT): enable NO_NEXT
3227
3228         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3229
3230         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3231
3232         * exporter.C (Export): adjust for removeAutoInsets removal.
3233
3234         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3235
3236         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3237
3238         * BufferView.[Ch] (removeAutoInsets): delete function
3239
3240 2003-05-22  Angus Leeming  <leeming@lyx.org>
3241
3242         * latexrunparams.h: add a free_spacing variable.
3243
3244         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3245         to pass moving_arg, as the data is stored in runparams.fragile.
3246
3247         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3248         to Inset::latexOptional or to simpleTeXOnePar.
3249
3250         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3251         free_spacing arg to Inset::latexOptional.
3252
3253         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3254         free_spacing arg.
3255
3256 2003-05-22  Angus Leeming  <leeming@lyx.org>
3257
3258         * latexrunparams.h: add fragile and use_babel variables.
3259
3260         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3261         * buffer.C (makeLaTeXFile): store this returned value in
3262         runparams.use_babel, thus passing it to the inset::latex methods.
3263
3264         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3265         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3266
3267         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3268         longer has a fragile arg, as it is stored in runparams.fragile.
3269
3270         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3271         moving_arg parameter as the data is stored in runparams.fragile.
3272
3273         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3274         a fragile parameter as the data is stored in runparams.fragile.
3275
3276 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3279
3280 2003-05-22  Angus Leeming  <leeming@lyx.org>
3281
3282         * latexrunparams.h: add a 'bool nice' which defaults to false.
3283
3284         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3285         now encapsulated within runparams.
3286
3287         * bufferlist.C (updateIncludedTeXfiles):
3288         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3289
3290 2003-05-22  Angus Leeming  <leeming@lyx.org>
3291
3292         * latexrunparams.h: new file containing struct LatexRunParams.
3293         * Makefile.am: add new file.
3294
3295         * LaTeX.[Ch] (c-tor, run):
3296         * buffer.[Ch] (makeLaTeXFile):
3297         * bufferlist.[Ch] (updateIncludedTeXfiles):
3298         * converter.C (convert, scanLog):
3299         * converter.[Ch] (runLaTeX):
3300         * exporter.C (Export):
3301         * paragraph.[Ch] (simpleTeXOnePar):
3302         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3303         * paragraph_funcs.[Ch] (latexParagraphs):
3304         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3305         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3306         pass around a LatexRunParams parameter.
3307
3308 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * paragraph.[Ch]: remove unused constructor
3311
3312         * ParagraphList.C (erase): new function, taking two iterators
3313
3314 2003-05-22  André Pönitz  <poenitz@gmx.net>
3315
3316         * undo_funcs.C: remove duplicated code
3317
3318         * iterator.[Ch]: operator=
3319
3320 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * tabular.C (SetMultiColumn): ws changes
3323
3324         * rowpainter.C (paintFirst): get rid of a ->previous
3325
3326         * lyx_cb.C (getPossibleLabel): parlist simplification
3327
3328         * BufferView.C (ChangeInsets): simplify slightly.
3329
3330 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3331
3332         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3333         * lfuns.h: new LFUN_SPACE
3334         * lyxfunc.C: protected space has a new lfun
3335         * paragraph_funcs.C: read new space insets
3336         * text3.C:
3337         * factory.C: handle new space insets
3338
3339 2003-05-22  André Pönitz  <poenitz@gmx.net>
3340
3341         * BufferView.C:
3342         * BufferView_pimpl.C:
3343         * buffer.[Ch]:
3344         * lyxfunc.C:
3345         * undo_funcs.C: return a ParIterator from getParFromID.
3346
3347         * iterators.[Ch]: add two const's
3348
3349 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3350
3351         * toc.C (getTocList): adjust
3352
3353         * iterators.[Ch]: rework for parlist
3354
3355         * buffer.C (par_iterator_begin): adjust
3356         (par_iterator_end): adjust
3357
3358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3359
3360         * BufferView.C (removeAutoInsets): adjust
3361         (ChangeInsets): adjust
3362
3363 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * text.C (top_y): fix bug 1110
3366
3367 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3368
3369         * errorlist.[Ch]: added
3370         * buffer.C:
3371         * BufferView.[Ch]:
3372         * BufferView_pimpl.C:
3373         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3374         instead
3375
3376 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * Makefile.am: ensure that lyx is relinked upon changes to the
3379         various "convenience" libs.
3380
3381 2003-05-20  Angus Leeming  <leeming@lyx.org>
3382
3383         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3384         files are compiled in alphabetical order again.
3385
3386         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3387
3388 2003-05-19  Angus Leeming  <leeming@lyx.org>
3389
3390         * gettext.[Ch]: remove "char const * _(char const *)".
3391
3392 2003-05-19  André Pönitz  <poenitz@gmx.net>
3393
3394         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3395
3396         * Makefile.am:
3397         * BufferView.C:
3398         * DepTable.h:
3399         * LaTeXFeatures.C:
3400         * buffer.C:
3401         * lyxfont.C:
3402         * lyxlex.h:
3403         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3404
3405 2003-05-19  André Pönitz  <poenitz@gmx.net>
3406
3407         * buffer.C:
3408         * lyxlayout.[Ch]:
3409         * lyxtextclass.[Ch]:
3410         * paragraph.C:
3411         * paragraph_funcs.[Ch]:
3412         * text2.C:
3413         * text3.C: more insetenv work
3414
3415 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3416
3417         * ParagraphParameters.C (params2string): small bug fixed
3418
3419 2003-05-16  André Pönitz  <poenitz@gmx.net>
3420
3421         * debug.C:
3422         * bufferview_funcs.C: patch from Kornel Benko to prevent
3423           crash when _(...) is called twice in a statement
3424
3425 2003-05-16  André Pönitz  <poenitz@gmx.net>
3426
3427         * BufferView.C:
3428         * lyxfunc.C:
3429         * text.C:
3430         * text2.C:
3431         * text3.C:
3432         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3433
3434 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * lyx_main.C (init): remove spurious static_cast
3437
3438 2003-05-14  André Pönitz  <poenitz@gmx.net>
3439
3440         * BufferView.C: fix format string
3441
3442 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * BufferView.[Ch] (insertErrors): removed
3445         * BufferView.[Ch] (showErrorList): added
3446         * buffer.C (runChkTeX):
3447         * converter.C (scanLog): call showErrorList instead of inserterrors
3448
3449 2003-05-13  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView_pimpl.C:
3452         * buffer.C:
3453         * bufferview_func.C:
3454         * MenuBackend.C:
3455         * lyxfunc.C:
3456         * lyxrc.C:
3457         * tex-accent.C:
3458         * text3.C:
3459         * toc.C:
3460         * tabular_funcs.h: tostr() from its own header
3461
3462         * ParagraphParameters.C:
3463         * ToolbarBackend.C:
3464         * bufferparams.C:
3465         * format.C:
3466         * lyxlex_pimpl.C:
3467         * text3.C: STRCONV()
3468
3469 2003-05-12  André Pönitz  <poenitz@gmx.net>
3470
3471         * BufferView.C:
3472         * BufferView_pimpl.C:
3473         * CutAndPaste.C:
3474         * LaTeX.C:
3475         * LaTeXFeatures.C:
3476         * ParagraphParameters.C:
3477         * buffer.C:
3478         * bufferlist.C:
3479         * bufferparams.C:
3480         * bufferview_funcs.C:
3481         * converter.C:
3482         * counters.C:
3483         * debug.C:
3484         * exporter.C:
3485         * format.C:
3486         * importer.C:
3487         * lyx_cb.C:
3488         * lyx_main.C:
3489         * lyxfont.C:
3490         * lyxfunc.C:
3491         * lyxvc.C:
3492         * paragraph.C:
3493         * paragraph_funcs.C:
3494         * tabular.C:
3495         * tabular_funcs.C:
3496         * text2.C:
3497         * text3.C:  boost::format -> bformat  all over the place
3498
3499
3500 2003-05-09  André Pönitz  <poenitz@gmx.net>
3501
3502         * LColor.[Ch]: Pimpl the #include <map> away
3503
3504 2003-05-09  John Levon  <levon@movementarian.org>
3505
3506         * bufferlist.C: never remove emergency saves
3507
3508 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * Makefile.am: better lib building
3511
3512 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3515         instead.
3516         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3517         (simpleTeXSpecialChars): adjust
3518         (simpleTeXSpecialChars): adjust
3519         * paragraph.C (simpleTeXOnePar): adjust
3520         * buffer.C (makeLaTeXFile): adjust
3521
3522         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3523
3524         * text2.C (changeDepth): parlist cleanup
3525         (getColumnNearX): ditto
3526
3527         * rowpainter.C (getLabelFont): parlist cleanup
3528
3529         * bufferlist.C (newFile): parlist cleanup
3530
3531         * CutAndPaste.C (eraseSelection): parlist cleanup
3532
3533         * BufferView_pimpl.C (trackChanges): parlist cleanup
3534         (dispatch): ditto
3535
3536         * BufferView.C (lockInset): parlist cleanup.
3537         (ChangeInsets): ditto
3538
3539 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * CutAndPaste.h: Update file header.
3542
3543         * CutAndPaste.C: Update file header.
3544         Store the parts cut out of the Document in a limited_stack.
3545         (copySelection): adjust
3546         (pasteSelection): new function, takes the index in the limited stack.
3547         (nrOfParagraphs): adjust
3548         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3549         simplify error inset insertion.
3550         (checkPastePossible): adjust
3551
3552 2003-05-06  John Levon  <levon@movementarian.org>
3553
3554         * text2.C: don't cast wrap inset to float
3555
3556 2003-05-05  André Pönitz  <poenitz@gmx.net>
3557
3558         * iterator.C:
3559         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3560
3561         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3562           few naked Paragraph *.
3563
3564 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3565
3566         * bufferparams.C: Output warning if a document with missing
3567         TeX document class is loaded
3568         * exporter.C: Disable TeX exports if the document class is missing
3569         * lyxtextclass.C:
3570         * lyxtextclass.h:
3571         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3572         isTeXClassAvailable()
3573
3574 2003-05-03  John Levon  <levon@movementarian.org>
3575
3576         * BufferView.h:
3577         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3578         explicit cursor show/hide
3579
3580         * BufferView_pimpl.h:
3581         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3582         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3583
3584         * lyxfunc.C: hide cursor before dispatching.
3585
3586         * lyx_cb.C:
3587         * lyxfind.C:
3588         * text.C:
3589         * text3.C: remove explicit cursor hides
3590
3591 2003-05-02  André Pönitz  <poenitz@gmx.net>
3592
3593         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3594
3595         * undo_funcs.C:
3596         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3597           linked lists
3598
3599         * text2.C: tiny whitespace
3600
3601 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * undo_funcs.C: almost only ws changes.
3604
3605         * ParagraphList.C (splice): just return if pl is empty.
3606
3607 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * ParagraphList.C (splice): new function.
3610
3611         * CutAndPaste.C (pasteSelection): use it
3612
3613 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * CutAndPaste.C (pasteSelection): remove the last next and
3616         previous from this file.
3617
3618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * CutAndPaste.C (pasteSelection): more clean up, user proper
3621         ParagraphList functions for pasteing.
3622
3623         * ParagraphList.C (insert): new function, three arg insert
3624
3625 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * ParagraphList.C (insert): new function, three arg insert
3628
3629         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3630         not on paragraphs.
3631
3632 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3635
3636 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3639
3640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3641
3642         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3643         (copySelection): clean up a bit.
3644         (pasteSelection): use make_pair
3645
3646         * ParagraphList.C (ParagraphList): implement copy constructor
3647         (operator=): implement, base on copy constructor.
3648         (assign): new func
3649
3650         * paragraph.C (erase): return a bool
3651
3652         * paragraph_pimpl.C (erasePos): remove function, move contents...
3653         (erase): ... here. Return a bool.
3654         (erase): call erase instead of erasePos.
3655
3656 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * ParagraphList.h: define PitPosPair
3659         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3660         ParagraphList, fix a bug on pasting multiple pars
3661         * text2.C: change interface to C&P
3662
3663 2003-04-30  André Pönitz  <poenitz@gmx.net>
3664
3665         * undo_func.C: revert part of yesterday's patch 2
3666
3667 2003-04-30  John Levon  <levon@movementarian.org>
3668
3669         * LColor.C: s/tabular/table/
3670
3671 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * text3.C (dispatch): do not convert iterator -> pointer
3674         * undo_funcs.C (setCursorParUndo): ditto
3675         * text_funcs.C (transposeChars): ditto
3676
3677         * text2.C (setLayout): ws changes only
3678
3679         * text.C (breakParagraph): do not convert iterator -> pointer
3680         (insertChar): ditto
3681         (acceptChange): ditto
3682         (rejectChange): ditto
3683         (changeCase): ditto
3684         (Delete): ditto
3685         (backspace): ditto
3686
3687         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3688         pointer
3689
3690 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3691
3692         * text3.C (gotoInset): YABG (yet another bad getChar)
3693
3694 2003-04-29  André Pönitz  <poenitz@gmx.net>
3695
3696         * paragraph.h: make operator= private unimplemented as long as
3697           it is unusable
3698
3699         * ParagraphList.C: whitespace
3700
3701         * paragraph.[Ch]:
3702         * paragraph_pimpl.[Ch]:
3703         * paragraph_funcs.C:
3704         * CutAndPaste.C:
3705         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3706
3707         * text2.C:
3708           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3709
3710 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3713         * paragraph.[Ch] (erase):
3714         * paragraph_pimpl.[Ch] (erase): change return type and value
3715         * text2.C (cutSelection): some rework
3716
3717 2003-04-28  John Levon  <levon@movementarian.org>
3718
3719         * bufferlist.C: changes for unsaved changes dialog
3720
3721 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * bufferlist.C (newFile): set language (messages_) for new
3724         documents also.
3725
3726         * buffer.C (readFile): ws changes only.
3727
3728 2003-04-28  André Pönitz  <poenitz@gmx.net>
3729
3730         * undo_funcs.C:
3731         * lyxfunc.C:
3732         * buffer.[Ch]:
3733         * BufferView_pimpl.C:
3734         * BufferView.C: getParFromID related ParagraphList::iterator changes
3735
3736 2003-04-28  André Pönitz  <poenitz@gmx.net>
3737
3738         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3739           Changes
3740
3741 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * messages.C: remove one more localedir class variable.
3744
3745 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * messages.C (getLocaleDir): singleton generation function
3748         (Pimpl): use it.
3749         (Messages): add a default constructor.
3750
3751         * main.C (main): do not setup localedir here, do not call
3752         gettext_init.
3753
3754         * gettext.C (_): use it.
3755         (gettext_init): delete funciton
3756
3757 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * gettext.C (getLyXMessages): new singleton generating function.
3760
3761         * buffer.C (updateDocLang): adjust
3762
3763         * Makefile.am (messages.o): add target
3764         (main.o): remove target
3765
3766 2003-04-27  John Levon  <levon@movementarian.org>
3767
3768         * bufferlist.C:
3769         * lyx_cb.C:
3770         * lyxfunc.C:
3771         * lyxvc.C: specify cancel button in Alert::prompt
3772
3773 2003-04-26  John Levon  <levon@movementarian.org>
3774
3775         * text3.C:
3776         * lyxfunc.C:
3777         * lfuns.h:
3778         * LyXAction.C: add LFUN_INSET_SETTINGS
3779
3780         * lyxfunc.C: don't enable tabular-feature when there's
3781         just any locking inset
3782
3783 2003-04-26  John Levon  <levon@movementarian.org>
3784
3785         * bufferlist.C: re-add Cancel to buffer close question
3786
3787         * lyxfunc.C: fix import UI a bit
3788
3789 2003-04-25  John Levon  <levon@movementarian.org>
3790
3791         * gettext.C: remove the broken asserts for now
3792
3793 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * messages.C: make case where setlocale cannot comply work better.
3796
3797         * buffer.C (updateDocLang): new function
3798         (changeLanguage): use it
3799         (readFile): use it
3800
3801         * text2.C (setCounter): use B_ a bit.
3802
3803         * lyxlayout.C (Read): be sure to trim the label strings.
3804
3805         * messages.C (Messages): fix typo in comment
3806
3807         * buffer.C (readFile): set message_ after file is loaded.
3808         (makeDocBookFile): remove double return
3809         (changeLanguage): reset message_ upon language change.
3810         (B_): new func, use this to get translated buffer strings.
3811
3812         * main.C: add myself and Jean Marc as authors.
3813
3814 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * messages.[hC]: pimplify Messages, and three different pimpls to be
3817         used in different circumstances.
3818
3819         * gettext.[Ch]: change for use with new message code.
3820
3821 2003-04-24 André Pönitz <poenitz@gmx.net>
3822
3823         * factory.C: support for eqref
3824
3825 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * messages.[Ch]: add missing char
3828
3829         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3830
3831         * messages.[Ch]: New files
3832
3833 2003-04-18  John Levon  <levon@movementarian.org>
3834
3835         * BufferView.h:
3836         * BufferView.C:
3837         * BufferView_pimpl.C:
3838         * lfuns.h:
3839         * LyXAction.C:
3840         * lyxtext.h:
3841         * text2.C: remove layout-copy/paste (bug 778)
3842
3843 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3844
3845         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3846
3847 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3848
3849         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3850         if they succeed. Act accordingly.
3851
3852 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * text2.C (setCharFont): adjust
3855         (setCounter): adjust
3856         (insertStringAsLines): adjust
3857
3858         * text.C (leftMargin): adjust
3859         (setHeightOfRow): adjust
3860
3861         * rowpainter.C (paintFirst): adjust
3862         (paintLast): adjust
3863
3864         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3865         (outerHook): ditto
3866         (isFirstInSequence): ditto
3867         (getEndLabel): ditto
3868         (outerFont): adjust
3869
3870         * paragraph.C (getParLanguage): comment out some hard stuff.
3871
3872         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3873         (sgmlError): ditto
3874         (simpleDocBookOnePar): ditto
3875         (makeDocBookFile): use ParagraphList::iterator
3876
3877         * CutAndPaste.C (pasteSelection): adjust
3878
3879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * text2.C (getFont): adjust
3882         (getLayoutFont): adjust
3883         (getLabelFont): adjust
3884
3885         * paragraph_funcs.C (TeXOnePar): adjust
3886
3887         * buffer.C (simpleLinuxDocOnePar): adjust
3888         (simpleDocBookOnePar): adjust
3889
3890         * CutAndPaste.C (pasteSelection): adjust
3891
3892         * BufferView.C (getEncoding): adjust
3893
3894         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3895
3896 2003-04-16  John Levon  <levon@movementarian.org>
3897
3898         * lyxfind.C: use parlist stuff for search/changes
3899
3900 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3903
3904         * text2.C (deleteEmptyParagraphMechanism): adjust
3905
3906         * text2.[Ch] (ownerParagraph): delete func (both of them
3907
3908 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3911
3912 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3913
3914         * ParagraphList.C: prepare for NO_NEXT
3915
3916 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3917
3918         * text2.C (getFont): adjust
3919         (getLayoutFont): adjust
3920         (getLabelFont): adjust
3921
3922         * paragraph.C (getFont): adjust
3923         (getLabelFont): adjust
3924         (getLayoutFont): adjust
3925
3926         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3927
3928 2003-04-15  John Levon  <levon@movementarian.org>
3929
3930         From Angus Leeming
3931
3932         * lyx_main.C: handle Include in .ui files
3933
3934 2003-04-15  John Levon  <levon@movementarian.org>
3935
3936         * MenuBackend.C: make the doc files length shorter
3937
3938         * ToolbarBackend.h:
3939         * ToolbarBackend.C: handle toolbar placement flags,
3940         Minibuffer
3941
3942 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3945         adjust
3946
3947         * paragraph_funcs.C (TeXOnePar): adjust
3948
3949         * paragraph.C (getLabelFont): add outerfont arg, adjust
3950         (getLayoutFont): ditto
3951         (simpleTeXOnePar): adjust
3952
3953         * paragraph_pimpl.C (realizeFont): delete func
3954
3955 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3956
3957         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3958         row argument, constify cur argument.
3959
3960 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3961
3962         * text2.C (getFont): adjust
3963         (getLayoutFont): adjust
3964         (getLabelFont): adjust
3965
3966         * paragraph_funcs.C (TeXOnePar): adjust
3967         (outerFont): new func...
3968         (realizeFont): ...moved out from here, changed this to facilitate
3969         transition
3970
3971         * paragraph.C (getFont): take outerfont as arg, adjust
3972         (simpleTeXOnePar): add outerfont arg, adjust
3973
3974         * buffer.C (simpleLinuxDocOnePar): adjust
3975         (simpleDocBookOnePar): adjust
3976
3977         * CutAndPaste.C (pasteSelection): adjust
3978
3979         * BufferView.C (getEncoding): adjust
3980
3981 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * text2.C (setCharFont): adjust
3984         (setCounter): adjust
3985
3986         * text.C (leftMargin): adjust
3987         (setHeightOfRow): adjust
3988
3989         * rowpainter.C (paintFirst): adjust
3990         (paintLast): adjust
3991
3992         * paragraph_pimpl.C (realizeFont): adjust
3993
3994         * paragraph.C (isFirstInSequence): move from here...
3995         * paragraph_funcs.C (isFirstInSequence): ...to here
3996
3997         * paragraph.C (outerHook): move from here...
3998         * paragraph_funcs.C (outerHook): ...to here
3999
4000         * paragraph.C (depthHook): move from here...
4001         * paragraph_funcs.C (depthHook): ...to here
4002
4003         * paragraph.C (getEndLabel): move from here...
4004         * paragraph_funcs.C (getEndLabel): ...to here
4005
4006         * text2.C (realizeFont): move from here...
4007         * paragraph_funcs.C (realizeFont): ...to here
4008
4009 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4010
4011         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4012
4013 2003-04-14  Angus Leeming  <leeming@lyx.org>
4014
4015         * LColor.[Ch]: scrap LColor mathcursor.
4016
4017 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4018
4019         * lyxlex.[Ch] (text): delete function
4020         * trans.C (Load): adjust
4021         * paragraph_funcs.C (readParToken): adjust
4022
4023 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4026         vector<char> instead of a char[].
4027
4028         * lyxlex_pimpl.C (getString): adjust
4029         (next): adjust
4030         (lex): use getString
4031         (eatLine): adjust
4032         (nextToken): adjust
4033
4034         * lyxlex.C (text): use pimpl_->getString()
4035         (getBool): ditto
4036         (findToken): ditto
4037
4038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4039
4040         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4041         (makeFontEntriesLayoutSpecific): temp var for par.size()
4042         (setLayout): temp var for ownerParagraphs().end()
4043         (fullRebreak): temp var for rows().end()
4044         (selectionAsString): temp var for boost::next(startpit), realize
4045         that the while really is a regular for loop.
4046         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4047         setCursor in one place.
4048         (setParagraph): temp vr for ownerParagraphs().end()
4049         (updateCounters): make the while loop a for loop
4050         (cutSelection): temp var for ownerParagraphs().end()
4051         (updateInset): make the do {} while() a regular for loop
4052         (getCursorX): use temp vars
4053         (setCurrentFont): use temp vars
4054         (getColumnNearX): use temp vars
4055
4056 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * text.C (transformChar): use temp var for getChar
4059         (computeBidiTables): use temp var for row->par()
4060         (fill): move temp vars for row->par() and pit->layout() earlier in
4061         the function.
4062         (labelFill): use temp var for row->par()
4063         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4064         asc and desc, realize that pit never changes and that firstpit is
4065         just a duplicate and not needed. Exchange rit->par() with pit in a
4066         lot of places.
4067         (breakAgain): use a temp var for boost::next(rit)
4068         (breakAgainOneRow): ditto
4069         (breakParagraph): use a temp var for rows().begin()
4070         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4071         (cursorRightOneWord): use temp var for cursor.par() and
4072         cursor.pos(), remove usage of tmpcursor.
4073         (cursorLeftOneWord): use temp var for cursor.par() and
4074         cursor.pos() only set cur at end of function.
4075
4076 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * text.C, text2.C: exchange all usage of Paragraph::next with
4079         boost::next(ParagraphList::iterator)
4080
4081         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4082
4083         * text2.C (cursorTop): simplify implementation
4084         (cursorBottom): ditto
4085         (setParagraph): use ParagraphList::iterator
4086         (setCurrentFont): adjust
4087         (getColumnNearX): adjust
4088         (cursorRight): adjust
4089         (cursorLeft): remove usage of Paragraph::previous
4090         (cursorUpParagraph): ditto
4091         (deleteEmptyParagraphMechanism): slight cleanup
4092
4093         * text.C (isBoundary): take a Paragraph const & instead of a
4094         pointer as arg.
4095         (addressBreakPoint): ditto
4096         (leftMargin): remove usage of Paragraph::previous.
4097         (setHeightOfRow): ditto
4098         (cursorLeftOneWord): ditto
4099         (selectNextWordToSpellcheck): ditto
4100         (Delete): ditto
4101         (backspace): ditto
4102         (breakParagraph): remove one usage of Paragraph::next
4103         (redoParagraph): ditto
4104         (acceptChange): ditto
4105         (insertChar): adjust
4106         (rowBreakPoint): adjust
4107
4108         * bufferview_funcs.C (toggleAndShow): adjust
4109
4110 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4111
4112         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4113         methods to access it.
4114         * lyxtext.h:
4115         * text.C: Added updateRowPositions to compute all row positions.
4116         Make top_y and getRowNearY() to use the cached y position
4117
4118 2003-04-11  John Levon  <levon@movementarian.org>
4119
4120         * text.C (rowBreakPoint): reintroduce the labelEnd
4121         checks, code copied from the row fill stuff. Deep voodoo.
4122
4123         * text.C (fill): add a comment and debugging for the
4124         next poor soul.
4125
4126 2003-04-11  John Levon  <levon@movementarian.org>
4127
4128         * text.C: make sure fullrow insets get wrapped to the next line,
4129         even when they're in a manual label
4130
4131 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text2.C (insertParagraph): make it take ParagraphList::iterator
4134         as arg.
4135         (setLayout): make it return ParagraphList::iterator
4136         (redoParagraphs): ditto
4137         (setCounter): ditto
4138         (checkParagraph): ditto
4139
4140         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4141
4142         * text2.C: adjust several funcs.
4143         (realizeFont): take a ParagraphList::iterator as arg.
4144         (getLayoutFont): ditto
4145         (getLabelFont): ditto
4146         (setCharFont): ditto
4147
4148         * text.C: adjust several funcs.
4149
4150 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * text.C (selectNextWordToSpellcheck): don't accidentally
4153         skip insets
4154
4155 2003-04-10  John Levon  <levon@movementarian.org>
4156
4157         * ToolbarBackend.C (getIcon): special handling for
4158         LFUN_MATH_DELIM
4159
4160 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4161
4162         * text2.C (cursorRight): a getChar assert fixed
4163
4164 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * text2.C (getFont): change to take a ParagraphList::iterator
4167         instead of Paragraph*
4168         Adjust several functions.
4169
4170         * text.C (transformChar): change to take a ParagraphList::iterator
4171         instead of Paragraph*
4172         (singleWidth): ditto
4173         Adjust several functions.
4174
4175         * rowpainter.C: adjust several functions
4176         * rowpainter.h:store a ParagraphList::iterator and not a
4177         Paragraph&.
4178
4179
4180 2003-04-09  John Levon  <levon@movementarian.org>
4181
4182         * lyxfunc.C:
4183         * lfuns.h:
4184         * LyXAction.h:
4185         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4186         and the "help" bits as well
4187
4188 2003-04-09  John Levon  <levon@movementarian.org>
4189
4190         * ToolbarBackend.h:
4191         * ToolbarBackend.C: allow multiple toolbars
4192
4193 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * undo_funcs.C (setCursorParUndo): adjust
4196
4197         * text_funcs.C (transposeChars): adjust
4198
4199         * text3.C (gotoNextInset): adjust
4200         (dispatch): adjust
4201
4202         * text2.C (setLayout): adjust
4203         (changeDepth): adjust
4204         (setFont): adjust
4205         (redoParagraphs): adjust
4206         (selectionAsString): adjust
4207         (setParagraph): adjust
4208         (insertInset): adjust
4209         (cutSelection): adjust
4210         (copySelection): adjust
4211         (pasteSelection): adjust
4212         (insertStringAsLines): adjust
4213         (updateInset): adjust
4214         (setCursor): change to take a ParagraphList::iterator parameter
4215         (setCursorIntern): change to take a ParagraphList::iterator parameter
4216         (setCurrentFont): adjust
4217         (cursorLeft): adjust
4218         (cursorRight): adjust
4219         (deleteEmptyParagraphMechanism): adjust
4220
4221         * text.C (breakParagraph): adjust
4222         (insertChar): adjust
4223         (acceptChange): adjust
4224         (rejectChange): adjust
4225         (selectNextWordToSpellcheck): adjust
4226         (changeCase): adjust
4227         (Delete): adjust
4228         (backspace): adjust
4229
4230         * lyxfind.C (SearchForward): adjust
4231         (SearchBackward): adjust
4232         (nextChange): adjust
4233
4234         * lyxcursor.C (par): adjust
4235
4236         * lyxcursor.h: store a ParagraphList::iterator instead of a
4237         Paragraph*
4238
4239         * lyx_cb.C (getPossibleLabel): adjust
4240
4241         * bufferview_funcs.C (toggleAndShow): adjust
4242
4243         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4244         (dispatch): adjust
4245
4246         * BufferView.C (removeAutoInsets): adjust
4247         (lockedInsetStoreUndo): adjust
4248
4249 2003-04-09  John Levon  <levon@movementarian.org>
4250
4251         * ToolbarBackend.C: try icon without argument
4252         if with argument fails
4253
4254 2003-04-08  John Levon  <levon@movementarian.org>
4255
4256         * ToolbarBackend.h:
4257         * ToolbarBackend.C: add getIcon(), handle tooltip,
4258         and change from "Icon" to "Item".
4259
4260 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4261
4262         * BufferView.C (lockInset): another bad getchar crunched
4263
4264 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4265
4266         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4267         again)
4268
4269 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4270
4271         * lyxfind.C (searchForward, searchBackwards): bug 782
4272
4273 2003-04-07  John Levon  <levon@movementarian.org>
4274
4275         * paragraph.C: remove dead comment
4276
4277         * text.C: remove troublesome depth-fiddling code
4278         in leftMargin() and rightMargin() (bug 1017)
4279
4280         * text.C: fix breaking of rows in nested lists
4281         (bug 1004)
4282
4283         * text2.C (updateCounters): fix up depth values
4284         (bug 1013)
4285
4286 2003-04-07  John Levon  <levon@movementarian.org>
4287
4288         * BufferView_pimpl.C: clear message when doc finishes resizing,
4289         and after a mouse event
4290
4291         * lyxfunc.C: clear message after exiting inset
4292
4293 2003-04-07  John Levon  <levon@movementarian.org>
4294
4295         * bufferview_funcs.C: show math status not outside
4296         status in the statusbar
4297
4298 2003-04-07  John Levon  <levon@movementarian.org>
4299
4300         * lyxfunc.C: note status changed after a depth change
4301
4302 2003-04-04  Angus Leeming  <leeming@lyx.org>
4303
4304         * LaTeX.h: move AuxInfo operator==, != out of line.
4305         Remove LaTeX virtual destructor; nothing derives from it.
4306         Move operator()() out of public area and rename it startscript().
4307         Change protected for private.
4308
4309 2003-04-04  Angus Leeming  <leeming@lyx.org>
4310
4311         * lyxfunc.C:
4312         * text2.C: remove unneeded #includes.
4313
4314 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * text2.C (dEPM): fix the heigth of the next row
4317
4318 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * text.C: squashed an invalid getChar requester + some ws changes
4321
4322 2003-04-03  John Levon  <levon@movementarian.org>
4323
4324         * bufferview_funcs.h:
4325         * bufferview_funcs.C:
4326         * lyxfunc.C:
4327         * lyxtext.h:
4328         * text2.C: make getStatus work for the env depth lfuns
4329
4330 2003-04-03  John Levon  <levon@movementarian.org>
4331
4332         * bufferview_funcs.h:
4333         * bufferview_funcs.C:
4334         * lyxfunc.C:
4335         * lyxtext.h:
4336         * text2.C: parlistize decDepth(), by merging it with incDepth()
4337
4338 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * lyxrow.h: store a ParagraphList::iterator instead of a
4341         Paragraph* and adjust other class functions to suit.
4342
4343         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4344         above.
4345
4346 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4347
4348         * text2.C (setCursor): do not anchor to cursor row for the time being
4349
4350 2003-04-02  John Levon  <levon@movementarian.org>
4351
4352         * LyXAction.C:
4353         * lfuns.h:
4354         * lyx_main.C:
4355         * lyxtext.h:
4356         * text.C:
4357         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4358
4359 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * paragraph.h: make ParagraphList and ParagraphList::iterator
4362         friends of Paragraph.
4363
4364         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4365
4366         * ParagraphList.C: Use the private next_ and previous_ from
4367         Paragraph.
4368
4369 2003-04-01  John Levon  <levon@movementarian.org>
4370
4371         * ToolbarBackend.h:
4372         * ToolbarBackend.C:
4373         * Makefile.am: rename, remove defaults gunk
4374
4375         * MenuBackend.h:
4376         * MenuBackend.C: remove defaults gunk
4377
4378         * Languages.h:
4379         * Languages.C: remove defaults gunk
4380
4381         * lyx_main.h:
4382         * lyx_main.C: error out if files couldn't be found.
4383
4384 2003-04-02  John Levon  <levon@movementarian.org>
4385
4386         * text2.C: make incDepth() use parlist
4387
4388 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * undo_funcs.C (firstUndoParagraph): adjust
4391
4392         * text3.C (gotoInset): adjust
4393         (dispatch): adjust, and rewrite loop.
4394
4395         * text2.C (init): adjust, and rewrite loop.
4396         (redoParagraphs): adjust
4397         (updateInset): adjust, and rewrite loop.
4398         (deleteEmptyParagraphMechanism): adjust
4399
4400         * tabular.C (LyXTabular): adjust
4401         (SetMultiColumn): adjust
4402         (TeXRow): adjust
4403
4404         * lyxtext.[Ch] (ownerParagraph): delete function
4405         (ownerParagraphs): new function returns a ParagraphList.
4406
4407         * BufferView.C (removeAutoInsets): adjust
4408         (insertErrors): adjust
4409         (setCursorFromRow): adjust
4410
4411 2003-04-01  Angus Leeming  <leeming@lyx.org>
4412
4413         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4414         in the frontends.
4415
4416 2003-04-02  John Levon  <levon@movementarian.org>
4417
4418         * lyxtext.h:
4419         * text.C:
4420         * Makefile.am:
4421         * text_funcs.h:
4422         * text_funcs.C: make transposeChars a free function
4423
4424         * lyxrow_funcs.C: remove wrong comment
4425
4426 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * lyxtext.h: adjust
4429         * rowpainter.C: adjust
4430         * text.C: adjust
4431         * text2.C: adjust
4432         * text3.C: adjust
4433
4434         * lyxrow_funcs. [Ch]: new files
4435
4436         * lyxrow.[Ch]: remove next and previous pointers
4437         (next,previous): remove accessor functions
4438         (isParEnd): move to lyxrow_funcs
4439         (lastPos): move to lyxrow_funcs
4440         (nextRowIsAllInset): move to lyxrow_funcs
4441         (lastPrintablePos): move to lyxrow_funcs
4442         (numberOfSeparators): move to lyxrow_funcs
4443         (numberOfHfills): move to lyxrow_funcs
4444         (numberOfLabelHfills): move to lyxrow_funcs
4445         (hfillExpansion): move to lyxrow_funcs
4446
4447         * lyxfunc.C: adjust
4448
4449         * bufferview_funcs.C (toggleAndShow): adjust
4450
4451         * RowList.h: Remove class RowList from file leave just a
4452         std::list<Row>.
4453
4454         * RowList.C: delete file
4455
4456         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4457         and lyxrow_funcs.h
4458
4459 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * text3.C (cursorPrevious): adjust
4462         (cursorNext): adjust
4463         (dispatch): adjust
4464
4465         * text2.C (redoHeightOfParagraph): adjust
4466         (redoDrawingOfParagraph): adjust
4467         (setCursor): adjust
4468
4469         * text.C (breakParagraph): adjust
4470         (insertChar): adjust
4471         (backspace): adjust
4472
4473         * rowpainter.C (RowPainter): adjust
4474         (leftMargin): simplify and adjust
4475         (most rowpainter functions): adjust.
4476
4477         * rowpainter.h: store the row as RowList::iterator not as Row*
4478
4479         * lyxcursor.C (row): taka RowList::iterator as arg
4480         (irow): ditto
4481
4482         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4483         of Row*.
4484
4485 2003-04-01  Angus Leeming  <leeming@lyx.org>
4486
4487         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4488         stuff like bool Bool.
4489
4490 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4493         rewrite a loop
4494
4495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4496
4497         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4498         RowList::iterator.
4499
4500         * lyxtext.h (rows): drop one version and leve a const variant that
4501         returns a RowList::iterator.
4502
4503 2003-03-31  Angus Leeming  <leeming@lyx.org>
4504
4505         * text.C (fill): ensure that the signature is the same as that in the
4506         header file.
4507
4508 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * text2.C (redoParagraphs): adjust
4511         (updateCounters): adjust
4512         (checkParagraph): adjust
4513         (getColumnNearX): adjust and reformat a bit.
4514
4515         * text.C (top_y): adjust
4516         (workWidth): adjust
4517         (leftMargin): adjust
4518         (prepareToPrint): adjust
4519         (getRow): adjust
4520         (getRowNearY): adjust
4521
4522         * lyxtext.h: make rowlist_ mutable.
4523
4524         * RowList.h: add const_iterator
4525         * RowList.C: adjust for RowList::const_iterator.
4526
4527         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4528         adjust.
4529
4530 2003-03-31  John Levon  <levon@movementarian.org>
4531
4532         * lyxrc.h:
4533         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4534
4535         * lyx_main.C: set default fonts from using lyx_gui funcs
4536
4537         * exporter.C: pdf_mode moved from lyxrc
4538
4539         * lyx_cb.C:
4540         * lyxfunc.C: changes from above
4541
4542 2003-03-31  John Levon  <levon@movementarian.org>
4543
4544         * lyx_main.C: fix to the last fix
4545
4546 2003-03-31  John Levon  <levon@movementarian.org>
4547
4548         * bufferlist.C: "Load original" -> "Load Original"
4549
4550         * converter.C:
4551         * exporter.C:
4552         * importer.C:
4553         * lyx_main.C:
4554         * format.C: more Alert cleanups
4555
4556 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * text2.C (removeParagraph): make it take a RowList::iterator as
4559         arg, adjust.
4560         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4561         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4562
4563         * text.C (anchor_row): make it take a RowList::iterator as arg,
4564         adjust.
4565         (computeBidiTables): make it take a const reference to Row instead
4566         of Row pointer, adjust.
4567         (leftMargin): make it take a RowList::iterator as arg, adjust.
4568         (rowBreakPoint): adjust
4569         (breakAgainOneRow): make it take a RowList::iterator as arg,
4570         adjust.
4571         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4572
4573         * bufferview_funcs.C (toggleAndShow): adjust
4574
4575 2003-03-30  John Levon  <levon@movementarian.org>
4576
4577         * Makefile.am:
4578         * BoostFormat.h:
4579         * boost-inst.C: moved to support
4580
4581         * several files: changes as a result
4582
4583 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4584
4585         * text2.C (LyXText): adjust.
4586         (init): adjust
4587         (removeRow): make it take a RowList::iterator as arg, adjust.
4588         (fullRebreak): adjust
4589         (deleteEmptyParagraphMechanism): adjust
4590         (clearPaint): adjust
4591         (postPaint): adjust
4592
4593         * text.C (top_y): adjust
4594         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4595         (breakAgain): make it take a RowList::iterator as arg, adjust.
4596         (breakParagraph): adjust
4597         (insertChar): adjust
4598         (backspace): adjust
4599
4600         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4601         need_break_row, and refresh_row.
4602
4603         * text3.C (dispatch): adjust
4604
4605         * text2.C (checkParagraph): adjust
4606         (setCursor): adjust
4607         (setCursorFromCoordinates): adjust
4608
4609         * text.C (top_y): adjust
4610         (workWidth): adjust
4611         (getRow): make it return a RowList::iterator, adjust
4612         (getRowNearY): make it return a RowList::iterator, adjust
4613
4614         * text2.C (init): adjust
4615         (insertRow): remove function
4616         (insertParagraph): adjust
4617         (redoParagraphs): adjust
4618         (fullRebreak): adjust
4619         (updateCounters): adjust
4620
4621         * text.C (top_y): rewrite to use RowList iterators.
4622         (top_y): adjust
4623         (setHeightOfRow): rewrite to sue RowList iterators.
4624         (appendParagraph): adjust
4625         (breakAgain): adjust
4626         (breakAgainOneRow): adjust
4627         (breakParagraph): adjust
4628         (getRow): adjust
4629         (getRowNearY): adjust, and remove commented code.
4630
4631         * lyxtext.h (firstRow): delete function
4632         (lastRow): delete function
4633         (rows): new function (const and non-const versions.)
4634         (insertRow): delete function
4635
4636         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4637
4638 2003-03-29  John Levon  <levon@movementarian.org>
4639
4640         * BufferView_pimpl.C: always update scrollbar top
4641         because pasting text when we're anchored could mean we
4642         miss an update altogether
4643
4644 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * text2.C (init): use rowlist_.end() and not 0.
4647         (insertRow): change to take a RowList::iterator as arg, adjust
4648         for this.
4649         (insertParagraph): change to take a RowList::iterator as arg,
4650         adjust for this.
4651         (redoParagraphs): remove some debug msgs.
4652
4653         * text.C (appendParagraph): change to take a RowList::iterator
4654         arg, adjust for this.
4655         (breakAgain): add an assert
4656         (breakAgainOneRow): ditto
4657
4658 2003-03-29  John Levon  <levon@movementarian.org>
4659
4660         * text2.C: do not clear selection after inc/decDepth
4661         (bug 550)
4662
4663 2003-03-29  John Levon  <levon@movementarian.org>
4664
4665         * BufferView.C:
4666         * buffer.C: fix broken strerrors according to Lars
4667
4668 2003-03-29  John Levon  <levon@movementarian.org>
4669
4670         * converters.C: more Alert cleanups
4671
4672 2003-03-29  John Levon  <levon@movementarian.org>
4673
4674         * bufferview_funcs.C: remove pointless Alert
4675
4676         * buffer.C: fix confusing error message when
4677         a template is chmoded 000
4678
4679 2003-03-29  John Levon  <levon@movementarian.org>
4680
4681         * BufferView.C:
4682         * BufferView.h:
4683         * BufferView_pimpl.C: Alert fixes
4684
4685         * Makefile.am:
4686         * tabular.C:
4687         * tabular-old.C: remove unused table compat reading
4688
4689 2003-03-29  John Levon  <levon@movementarian.org>
4690
4691         * BufferView.C:
4692         * buffer.C:
4693         * lyx_cb.h:
4694         * lyx_cb.C: more Alert cleanups
4695
4696         * lyxfunc.C: don't allow chktex if not latex document
4697
4698 2003-03-29  John Levon  <levon@movementarian.org>
4699
4700         * lyx_cb.C:
4701         * BufferView.C:
4702         * buffer.C: warnings pushed down from support/,
4703         kill err_alert
4704
4705 2003-03-29  John Levon  <levon@movementarian.org>
4706
4707         * lyxfunc.C: safety check for C-r (revert)
4708
4709 2003-03-29  John Levon  <levon@movementarian.org>
4710
4711         * bufferlist.h:
4712         * bufferlist.C: several UI fixes using Alert::prompt.
4713         Fix the pointless looping quit code. Fix stupid revert
4714         behaviour (bug 938)
4715
4716         * lyxvc.h:
4717         * lyxvc.C:
4718         * lyx_cb.C: use Alert::prompt
4719
4720         * lyx_main.C: remove a silly question
4721
4722         * lyxfunc.C: remove a couple of silly questions,
4723         use Alert::prompt
4724
4725 2003-03-28  John Levon  <levon@movementarian.org>
4726
4727         * text2.C: fix bug 974 (End on empty par)
4728
4729 2003-03-28  John Levon  <levon@movementarian.org>
4730
4731         * BufferView_pimpl.C:
4732         * LyXAction.C:
4733         * lfuns.h: remove do-nothing math greek lfuns
4734
4735 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * lyxgluelength.h (isValidGlueLength): add default arg on
4738         parameter 2. Remove default arg from friend in class.
4739
4740         * lyxlength.h (isValidLength): add default arg on parameter 2.
4741         Remove default arg from friend in class.
4742
4743         * text2.C (LyXText): adjust, initialize refresh_row.
4744         (init): adjust
4745         (removeRow): adjust
4746         (insertRow): adjust
4747         (insertParagraph): adjst
4748         (redoParagraphs): adjust
4749         (fullRebreak): adjust
4750         (updateCounters): adjust
4751         (deleteEmptyParagraphMechanism): first attempt at fixing a
4752         crashing bug.
4753
4754         * text.C (top_y): adjust
4755         (setHeightOfRow): adjust
4756         (getRow): adjust
4757         (getRowNearY): adjust
4758
4759         * lyxtext.h: include RowList.h
4760         (~LyXText): not needed anymore, deleted.
4761         (firstRow): modify for RowList
4762         (lastRow): new function
4763         Delete firstrow and lastrow class variables, add a Rowlist
4764         rowlist_ class variable.
4765
4766         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4767         paragraph is empty.
4768
4769         * RowList.C (insert): fix case where it == begin().
4770
4771 2003-03-26  Angus Leeming  <leeming@lyx.org>
4772
4773         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4774         the thesaurus dialog.
4775
4776 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4779
4780         * RowList.[Ch]: new files
4781
4782         * ParagraphList.C (erase): handle the case where it == begin
4783         correctly.
4784
4785 2003-03-25  John Levon  <levon@movementarian.org>
4786
4787         * Makefile.am:
4788         * aspell_local.h:
4789         * aspell.C: add new aspell support
4790
4791         * lyxrc.h:
4792         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4793         have it accessible.
4794
4795 2003-03-25  Angus Leeming  <leeming@lyx.org>
4796
4797         * lfuns.h:
4798         * LyXAction.C (init): new LFUN_INSET_INSERT.
4799
4800         * BufferView_pimpl.C (dispatch): split out part of the
4801         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4802
4803         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4804         LFUN_INSET_APPLY.
4805
4806 2003-03-25  Angus Leeming  <leeming@lyx.org>
4807
4808         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4809
4810 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * text2.C:
4813         * text3.C: remove useless row->height(0)
4814
4815 2003-03-25  John Levon  <levon@movementarian.org>
4816
4817         * lyxtext.h:
4818         * text2.C:
4819         * text3.C: rename the refreshing stuff to better names
4820
4821 2003-03-24  John Levon  <levon@movementarian.org>
4822
4823         * BufferView_pimpl.h:
4824         * BufferView_pimpl.C: update layout choice on a mouse
4825         press/release
4826
4827 2003-03-23  John Levon  <levon@movementarian.org>
4828
4829         * Makefile.am: fix commandtags.h reference
4830
4831 2003-03-22  John Levon  <levon@movementarian.org>
4832
4833         * BufferView_pimpl.C:
4834         * lyxtext.h:
4835         * rowpainter.C:
4836         * rowpainter.h:
4837         * text.C:
4838         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4839
4840 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * lyxtext.h:
4843         * text.C: take the rtl methods out of line
4844
4845 2003-03-21 André Pönitz <poenitz@gmx.net>
4846
4847         * metricsinfo.[Ch]: new files containing structures to be passed around
4848         during the two-phase-drawing...
4849
4850 2003-03-21 André Pönitz <poenitz@gmx.net>
4851
4852         * lyxtextclass.C: read 'environment' tag.
4853
4854 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4855
4856         * text2.C (removeRow): fix bug 964
4857
4858 2003-03-20  John Levon  <levon@movementarian.org>
4859
4860         * rowpainter.C:
4861         * text.C:
4862         * text2.C: paint cleanups. Inset::update() dropped font
4863         parameter
4864
4865 2003-03-19  John Levon  <levon@movementarian.org>
4866
4867         * lyxfunc.C: only fitcursor/markDirty if available()
4868
4869 2003-03-19  John Levon  <levon@movementarian.org>
4870
4871         * commandtags.h: rename to ...
4872
4873         * lfuns.h: ... this, and renumber / cleanup
4874
4875 2003-03-19  John Levon  <levon@movementarian.org>
4876
4877         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4878         fit the cursor after an lfun
4879
4880         * BufferView.h:
4881         * BufferView.C:
4882         * BufferView_pimpl.h:
4883         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4884
4885         * LyXAction.C: layout-character should have ReadOnly
4886
4887         * ParagraphParameters.C:
4888         * buffer.C:
4889         * bufferview_funcs.C:
4890         * lyx_cb.C:
4891         * lyxfind.C:
4892         * lyxtext.h:
4893         * text.C:
4894         * text2.C:
4895         * text3.C:
4896         * undo_funcs.C: changes from above
4897
4898 2003-03-18  John Levon  <levon@movementarian.org>
4899
4900         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4901         remove it from update()
4902
4903         * lyxfunc.C: update layout choice after an lfun
4904
4905         * text3.C: remove extra updateLayoutChoice()s
4906
4907 2003-03-18  John Levon  <levon@movementarian.org>
4908
4909         * text.C: top_y change means full repaint, fix
4910         a drawing bug with cursor movement
4911
4912 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * lyxtext.h:
4915         * text.C:
4916         * text2.C: anchor row on setCursor
4917
4918 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * lyxtext.h: remove almost all mutable keywords
4921         * text.C:
4922         * text2.C:
4923         * text3.C: remove const keywords accordingly
4924
4925 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4928         anon namespace
4929         (TeXEnvironment): ditto
4930         (TeXOnePar): ditto
4931
4932 2003-03-17  John Levon  <levon@movementarian.org>
4933
4934         * text.C (rowBreakPoint): remove attempt to fix displayed
4935         math insets inside a manual label
4936
4937 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * lyxtext.h: remove BufferView* as first arg from almost all class
4940         functions.
4941         * other files: adjust.
4942
4943 2003-03-17  John Levon  <levon@movementarian.org>
4944
4945         * lyxtext.h:
4946         * undo_funcs.C:
4947         * text2.C: more paint cleanups
4948
4949         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4950
4951         * rowpainter.h:
4952         * rowpainter.C: remove "smart" background painting code
4953
4954 2003-03-16  John Levon  <levon@movementarian.org>
4955
4956         * lyxtext.h:
4957         * text.C:
4958         * text2.C:
4959         * text3.C: add helper functions for setting refresh_row/y
4960
4961 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4962
4963         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4964         newline inset which *can* get inserted in the pass_thru layouts.
4965         This is primarily for literate documents.
4966
4967 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4968
4969         * buffer.C: increment LYX_FORMAT to 223
4970
4971 2003-03-14 André Pönitz <poenitz@gmx.net>
4972
4973         * textclass.h: prepare for environment handling, ws changes
4974         * lyxlayout.C: read latexheader and latexfooter tags
4975
4976 2003-03-14  John Levon  <levon@movementarian.org>
4977
4978         * text2.C: rewrite ::status() a bit
4979
4980 2003-03-13  John Levon  <levon@movementarian.org>
4981
4982         * lyxtext.h: add some docs
4983
4984 2003-03-13  John Levon  <levon@movementarian.org>
4985
4986         * lyxtext.h:
4987         * text.C:
4988         * text2.C:
4989         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4990
4991 2003-03-13  John Levon  <levon@movementarian.org>
4992
4993         * text3.C: fix appendix redrawing
4994
4995 2003-03-13  John Levon  <levon@movementarian.org>
4996
4997         * text.C (setHeightOfRow):
4998         * rowpainter.h:
4999         * rowpainter.C: make appendix mark have the text
5000           "Appendix" so the user knows what it is
5001
5002         * LColor.h:
5003         * LColor.C: s/appendixline/appendix/ from above
5004
5005 2003-03-13  John Levon  <levon@movementarian.org>
5006
5007         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5008
5009         * text.C: fix a getChar(pos) bug properly
5010
5011 2003-03-13  Angus Leeming  <leeming@lyx.org>
5012
5013         * commandtags.h:
5014         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5015         Probably only temporary. Let's see how things pan out.
5016
5017         * BufferView.C (unlockInset):
5018         * BufferView_pimpl.C (fitCursor):
5019         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5020
5021         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5022         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5023
5024         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5025         new functions that convert ParagraphParameters to and from a string.
5026
5027         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5028         BufferView::Pimpl's dispatch.
5029         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5030
5031 2003-03-13 André Pönitz <poenitz@gmx.net>
5032
5033         * lyxfunc.C:
5034         * text3.C:
5035         * factory.C: make it aware of InsetEnv
5036
5037 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * text2.C (setCursor): never ask for one past last
5040         (setCursor): add some debugging messages.
5041
5042         * text.C (singleWidth): never ask for one past last
5043         (singleWidth): ditto
5044         (leftMargin): ditto
5045         (rightMargin): ditto
5046         (rowBreakPoint): ditto
5047         (setHeightOfRow): ditto
5048         (prepareToPrint): ditto
5049
5050         * rowpainter.C (paintBackground): never ask for one past last
5051         (paintText): never ask for one past last
5052
5053         * paragraph_pimpl.C (getChar): make the assert stricter, never
5054         allow the one past last pos to be taken
5055
5056         * paragraph.C (getChar): ws changes only
5057
5058         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5059         (numberOfSeparators): ditto
5060         (numberOfHfills): ditto
5061
5062 2003-03-12  John Levon  <levon@movementarian.org>
5063
5064         * author.h:
5065         * author.C:
5066         * bufferparams.h:
5067         * bufferparams.C:
5068         * paragraph_funcs.C: fix per-buffer authorlists
5069
5070 2003-03-12  John Levon  <levon@movementarian.org>
5071
5072         * text.C: fix newline in right address
5073
5074 2003-03-12  Angus Leeming  <leeming@lyx.org>
5075
5076         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5077         duplicate those in LyXFunc::dispatch.
5078
5079         * commandtags.h:
5080         * LyXAction.C:
5081         * ToolbarDefaults.C:
5082         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5083         Add LFUN_FONTFREE_UPDATE.
5084
5085         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5086         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5087
5088         * bufferview_func.[Ch]: several new functions to facilliate
5089         transfer of data to and from the character dialog.
5090
5091 2003-03-12  John Levon  <levon@movementarian.org>
5092
5093         * buffer.C:
5094         * paragraph.h:
5095         * paragraph.C:
5096         * paragraph_funcs.C:
5097         * paragraph_pimpl.C:
5098         * sgml.C:
5099         * tabular.C:
5100         * text.C:
5101         * text3.C: remove META_NEWLINE in favour of an inset
5102
5103         * rowpainter.h:
5104         * rowpainter.C: remove paintNewline (done by inset)
5105
5106 2003-03-12  John Levon  <levon@movementarian.org>
5107
5108         * paragraph_pimpl.C: complain about bad getChar()s
5109         for a while at least
5110
5111 2003-03-12  John Levon  <levon@movementarian.org>
5112
5113         * buffer.h:
5114         * buffer.C: move paragraph read into a separate function,
5115         a little renaming to reflect that.
5116
5117         * bufferparams.h:
5118         * bufferparams.C: remove the author_ids map, not necessary now
5119
5120         * factory.h:
5121         * factory.C: moved Buffer::readInset to here
5122
5123         * paragraph_funcs.h:
5124         * paragraph_funcs.C: readParagraph free function moved from
5125         buffer.C
5126
5127         * tabular.C: name change
5128
5129 2003-03-12  John Levon  <levon@movementarian.org>
5130
5131         * buffer.C:
5132         * ParagraphParameters.C: move par params input to
5133         a read() method
5134
5135         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5136         behave like a normal read from the stream wrt reading
5137         a line vs. a \\token
5138
5139 2003-03-12  John Levon  <levon@movementarian.org>
5140
5141         * paragraph.C:
5142         * ParagraphParameters.h:
5143         * ParagraphParameters.C: move output code to a
5144         ::write() method
5145
5146 2003-03-12  John Levon  <levon@movementarian.org>
5147
5148         * BufferView.C (insertLyXFile):
5149         * buffer.h:
5150         * buffer.C:
5151         * tabular.C: use a parlist iterator for creating the
5152           document.
5153
5154 2003-03-12  John Levon  <levon@movementarian.org>
5155
5156         * buffer.C: make current_change static local not
5157           static file-scope
5158
5159 2003-03-12  John Levon  <levon@movementarian.org>
5160
5161         * buffer.C: fix insertStringAsLines for change tracking
5162
5163 2003-03-12  John Levon  <levon@movementarian.org>
5164
5165         * BufferView.C:
5166         * tabular.C:
5167         * buffer.h:
5168         * buffer.C:
5169         * bufferparams.h:
5170         * bufferparams.C: move author list into params. Rename some
5171           functions. Move the header reading into a separate token
5172           loop. Move the header token reading into BufferParams.
5173
5174 2003-03-12  John Levon  <levon@movementarian.org>
5175
5176         * changes.C: put debug inside lyxerr.debugging() checks
5177
5178 2003-03-11 André Pönitz <poenitz@gmx.net>
5179
5180         * factory.C: make it aware of InsetHFill
5181
5182 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5183
5184         * buffer.C (latexParagraphs): move function from here...
5185         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5186         args.
5187
5188 2003-03-10  Angus Leeming  <leeming@lyx.org>
5189
5190         * LyXAction.C (init): fix bug in poplating array with multiple entries
5191         with the same LFUN (spotted by JMarc).
5192
5193 2003-03-10  John Levon  <levon@movementarian.org>
5194
5195         * text.C:
5196         * text2.C: move getColumnNearX() near its
5197         only call site
5198
5199 2003-03-10  John Levon  <levon@movementarian.org>
5200
5201         * text.C: fix break before a minipage
5202
5203 2003-03-10  John Levon  <levon@movementarian.org>
5204
5205         * text.C: fix the last commit
5206
5207 2003-03-09  John Levon  <levon@movementarian.org>
5208
5209         * lyxtext.h:
5210         * text.C:
5211         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5212         bug 365 (don't break before insets unless needed). Don't
5213         return a value > last under any circumstances.
5214
5215 2003-03-09  Angus Leeming  <leeming@lyx.org>
5216
5217         * BufferView_pimpl.C (trackChanges, dispatch): call
5218         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5219
5220 2003-03-09  Angus Leeming  <leeming@lyx.org>
5221
5222         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5223         than Dialogs::showAboutlyx().
5224
5225 2003-03-09  Angus Leeming  <leeming@lyx.org>
5226
5227         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5228         than Dialogs::showTabularCreate().
5229
5230 2003-03-09  John Levon  <levon@movementarian.org>
5231
5232         * lyxtext.h:
5233         * text.C:
5234         * text2.C: 3rd arg to nextBreakPoint was always the same.
5235           Use references.
5236
5237 2003-03-08  John Levon  <levon@movementarian.org>
5238
5239         * lyxrow.C:
5240         * paragraph.C:
5241         * paragraph.h:
5242         * rowpainter.C:
5243         * text.C:
5244         * text2.C: Remove the "main" bit from the "main body"
5245           notion.
5246
5247 2003-03-08  John Levon  <levon@movementarian.org>
5248
5249         * text.C (leftMargin): The left margin of an empty
5250         manual label paragraph should not include the label width
5251         string length.
5252
5253         * text.C (prepareToPrint): don't attempt to measure hfills
5254         for empty manual label paragraphs - the answer should be 0
5255
5256 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * CutAndPaste.C: remove commented code and reindent.
5259
5260 2003-03-08  John Levon  <levon@movementarian.org>
5261
5262         * lyxfunc.h:
5263         * lyxfunc.C: move reloadBuffer()
5264
5265         * BufferView.h:
5266         * BufferView.C: to here
5267
5268         * lyxvc.C: add comment
5269
5270         * vc-backend.h:
5271         * vc-backend.C: call bv->reload() to avoid
5272           getStatus() check on MENURELOAD
5273
5274 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5275
5276         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5277         to an old format .dep file.
5278
5279 2003-03-07  Angus Leeming  <leeming@lyx.org>
5280
5281         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5282         when the LFUN_MOUSE_RELEASE should have been handled by
5283         inset->localDispatch.
5284
5285 2003-03-07  Angus Leeming  <leeming@lyx.org>
5286
5287         * BufferView_pimpl.C (dispatch):
5288         * LyXAction.C (init):
5289         * ToolbarDefaults.C (init):
5290         * commandtags.h:
5291         * lyxfunc.C (getStatus):
5292         remove LFUN_INSET_GRAPHICS.
5293
5294         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5295
5296 2003-03-07  Angus Leeming  <leeming@lyx.org>
5297
5298         * commandtags.h:
5299         * LyXAction.C (init):
5300         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5301
5302         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5303
5304         * commandtags.h:
5305         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5306
5307         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5308         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5309
5310 2003-03-07  Angus Leeming  <leeming@lyx.org>
5311
5312         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5313         remove "ert".
5314
5315 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * ParagraphList.C (front): new function
5318         (back): implement
5319
5320 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5321
5322         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5323         and top_row_offset_. removed var first_y.
5324         * text.C (top_y):
5325         * text2.C (LyXText, removeRow):
5326         * text3.C:
5327         * BufferView_pimpl.C:
5328         use these methods instead of using first_y
5329
5330 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * text2.C (pasteSelection): adjust for checkPastePossible
5333
5334         * CutAndPaste.C: remove Paragraph * buf and replace with
5335         ParagraphList paragraphs.
5336         (DeleteBuffer): delete
5337         (cutSelection): change the tc type to textclass_type
5338         (copySelection): change the tc type to textclass_type
5339         (copySelection): adjust for ParagraphList
5340         (pasteSelection): change the tc type to textclass_type
5341         (pasteSelection): adjust for Paragraphlist
5342         (nrOfParagraphs): simplify for ParagraphList
5343         (checkPastePossible): simplify for ParagraphList
5344         (checkPastePossible): remove unused arg
5345
5346         * ParagraphList.C (insert): handle the case where there are no
5347         paragraphs yet.
5348
5349         * CutAndPaste.h: make CutAndPaste a namespace.
5350
5351         * text3.C (dispatch): adjust
5352
5353         * text.C (breakParagraph): add a ParagraphList as arg
5354
5355         * paragraph_funcs.C (breakParagraph): change to take a
5356         BufferParams and a ParagraphList as args.
5357         (breakParagraphConservative): ditto
5358         (mergeParagraph): ditto
5359         (TeXDeeper): add a ParagraphList arg
5360         (TeXEnvironment): ditto
5361         (TeXOnePar): ditto
5362
5363         * buffer.C (readLyXformat2): adjust
5364         (insertStringAsLines): adjust
5365         (latexParagraphs): adjust
5366
5367         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5368         (cutSelection): adjust
5369         (pasteSelection): adjust
5370
5371         * BufferView_pimpl.C (insertInset): adjust
5372
5373 2003-03-05  Angus Leeming  <leeming@lyx.org>
5374
5375         * commandtags.h:
5376         * LyXAction.C (init):
5377         * BufferView_pimpl.C (dispatch):
5378         * lyxfunc.C (getStatus):
5379         remove LFUN_CHILD_INSERT.
5380
5381         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5382
5383 2003-03-05  Angus Leeming  <leeming@lyx.org>
5384
5385         * commandtags.h:
5386         * LyXAction.C (init):
5387         * src/factory.C (createInset):
5388         * lyxfunc.C (getStatus):
5389         * text3.C (dispatch):
5390         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5391
5392         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5393
5394 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * ParagraphList.C (insert): handle insert right before end()
5397         (erase): fix cases where it can be first or last paragraph.
5398
5399 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5402         Paragraph::next and Paragraph::previous
5403         (TeXOnePar): ditto
5404
5405         * text.C (breakParagraph): adjust
5406
5407         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5408         BufferParams& as arg.
5409         (breakParagraph): use ParagraphList::insert
5410         (breakParagraphConservative): take a Buffer* instead of a
5411         BufferParams& as arg.
5412         (breakParagraphConservative): use ParagraphList::insert.
5413
5414         * buffer.C (insertStringAsLines): un-const it
5415         (insertStringAsLines): adjust
5416
5417         * ParagraphList.C (insert): new function
5418
5419         * CutAndPaste.C (pasteSelection): adjust
5420
5421         * text.C (backspace): adjust
5422
5423         * tabular.C (SetMultiColumn): adjust
5424
5425         * CutAndPaste.C (cutSelection): adjust
5426         (pasteSelection): adjust
5427
5428         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5429         Buffer const * as arg
5430
5431         * ParagraphList.C (erase): new function
5432         * paragraph_funcs.C (mergeParagraph): use it
5433         (mergeParagraph): make it take a Buffer* instead of a
5434         BufferParams* as arg
5435
5436         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5437         as arg
5438         (breakParagraphConservative): ditto
5439
5440         * paragraph.h: remove the breakParagraph friend
5441
5442         * paragraph.C (eraseIntern): new function
5443         (setChange): new function
5444
5445         * paragraph_funcs.C (mergeParagraph): make it take a
5446         ParagraphList::iterator instead of a Paragraph *, adjust
5447         accordingly.
5448
5449         * paragraph.h: move an #endif so that the change tracking stuff
5450         also works in the NO_NEXT case.
5451
5452 2003-03-04  Angus Leeming  <leeming@lyx.org>
5453
5454         * commandtags.h:
5455         * LyXAction.C: new LFUN_INSET_MODIFY.
5456
5457         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5458         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5459
5460 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * several files: ws changes only
5463
5464         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5465         (TeXEnvironment): ditto
5466         (TeXDeeper): ditto
5467
5468         * buffer.C (makeLaTeXFile): adjust
5469         (latexParagraphs): make it take ParagraphList::iterator as args
5470
5471 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * buffer.C (latexParagraphs): adjust
5474
5475         * paragraph.C (TeXOnePar): move function...
5476         (optArgInset): move function...
5477         (TeXEnvironment): move function...
5478         * paragraph_pimpl.C (TeXDeeper): move function...
5479         * paragraph_funcs.C: ...here
5480
5481         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5482
5483 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * buffer.C (readInset): remove compability code for old Figure and
5486         InsetInfo insets
5487
5488 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * buffer.C: ws changes
5491         (readInset):
5492
5493         * BufferView_pimpl.C: ditto
5494         * author.C: ditto
5495         * buffer.h: ditto
5496         * bufferlist.h: ditto
5497         * changes.h: ditto
5498         * lyxfunc.C: ditto
5499
5500 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5501
5502         * converter.[Ch]: split into itself +
5503         * graph.[Ch]
5504         * format.[Ch]
5505         * Makefile.am: += graph.[Ch] + format.[Ch]
5506         * MenuBackend.C
5507         * buffer.C
5508         * exporter.C
5509         * importer.C
5510         * lyx_main.C
5511         * lyxfunc.C
5512         * lyxrc.C: added #include "format.h"
5513
5514 2003-02-27  Angus Leeming  <leeming@lyx.org>
5515
5516         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5517           a label.
5518
5519         * factory.C (createInset): add "label" to the factory.
5520
5521         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5522           string and do no more.
5523
5524 2003-02-27  Angus Leeming  <leeming@lyx.org>
5525
5526         * commandtags.h:
5527         * LyXAction.C (init):
5528         * factory.C (createInset):
5529         * BufferView_pimpl.C (dispatch):
5530           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5531
5532         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5533
5534         * lyxfunc.C (dispatch):
5535         * text3.C (dispatch): pass name to params2string.
5536
5537 2003-02-26  Angus Leeming  <leeming@lyx.org>
5538
5539         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5540           blocks together.
5541           Rearrange the ~includes. Strip out the unnecessary ones.
5542
5543         * factory.C (createInset): reformat.
5544           create new insets for the various LFUN_XYZ_APPLY lfuns.
5545
5546 2003-02-26  John Levon  <levon@movementarian.org>
5547
5548         * lyxrow.h:
5549         * lyxrow.C: add isParStart,isParEnd helpers
5550
5551         * paragraph.h: make isInserted/DeletedText take refs
5552
5553         * paragraph_funcs.h:
5554         * paragraph_funcs.C: remove #if 0'd code
5555
5556         * lyxtext.h:
5557         * text3.C:
5558         * text2.C:
5559         * text.C: use lyxrow helpers above.
5560           Move draw and paint routines to RowPainter.
5561           Make several methods use refs not pointers.
5562           Make backgroundColor() const.
5563           Add markChangeInDraw(), isInInset().
5564           Merge changeRegionCase into changeCase.
5565           Make workWidth() shouldn't-happen code into an Assert.
5566
5567         * rowpainter.h:
5568         * rowpainter.C: new class for painting a row.
5569
5570         * vspace.h:
5571         * vspace.C: make inPixels take a ref
5572
5573 2003-02-26  Angus Leeming  <leeming@lyx.org>
5574
5575         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5576         LFUN_REF_APPLY.
5577
5578 2003-02-25  John Levon  <levon@movementarian.org>
5579
5580         * ispell.C: give the forked command a more accurate name
5581
5582 2003-02-22  John Levon  <levon@movementarian.org>
5583
5584         * toc.h:
5585         * toc.C: make TocItem store an id not a Paragraph *
5586           (bug #913)
5587
5588 2003-02-21  Angus Leeming  <leeming@lyx.org>
5589
5590         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5591           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5592           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5593           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5594           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5595           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5596
5597         * BufferView_pimpl.C (dispatch):
5598         * LyXAction.C (init):
5599         * factory.C (createInset):
5600         * lyxfunc.C (getStatus, dispatch):
5601         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5602
5603 2003-02-21  Angus Leeming  <leeming@lyx.org>
5604
5605         * BufferView_pimpl.C (MenuInsertLyXFile):
5606         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5607         * lyxfunc.C (menuNew, open, doImport):
5608           no longer pass a LyXView & to fileDlg.
5609
5610 2003-02-21  Angus Leeming  <leeming@lyx.org>
5611
5612         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5613         * LyXAction.C: change, BIBKEY to BIBITEM.
5614         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5615         Change InsetBibKey to InsetBibitem.
5616         Change BIBKEY_CODE to BIBITEM_CODE.
5617         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5618         * factory.C: replace insetbib.h with insetbibitem.h.
5619         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5620         * paragraph.C: replace insetbib.h with insetbibitem.h.
5621         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5622         Change bibkey() to bibitem().
5623         * text.C: remove insetbib.h.
5624         * text2.C: replace insetbib.h with insetbibitem.h.
5625         change bibkey() to bibitem().
5626         * text3.C: remove insetbib.h.
5627         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5628
5629 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5630
5631         * lyxrc.C (output): enclose user email in quotes (in case there are
5632         several words)
5633
5634 2003-02-18  John Levon  <levon@movementarian.org>
5635
5636         * buffer.h: add std::
5637
5638 2003-02-17  John Levon  <levon@movementarian.org>
5639
5640         * SpellBase.h:
5641         * ispell.h:
5642         * ispell.C:
5643         * pspell.h:
5644         * pspell.C: reworking. Especially in ispell, a large
5645           number of clean ups and bug fixes.
5646
5647         * lyxfunc.C: fix revert to behave sensibly
5648
5649 2003-02-17 André Pönitz <poenitz@gmx.net>
5650
5651         * LyXAction.C:
5652         * commandtags.h: new LFUN_INSERT_BIBKEY
5653
5654         * layout.h:
5655         * lyxlayout.C:
5656         * buffer.C:
5657         * factory.C:
5658         * text.C:
5659         * text2.C:
5660         * text3.C:
5661         * paragraph.[Ch]:
5662         * paragraph_func.C: remove special bibkey handling
5663
5664 2003-02-17  John Levon  <levon@movementarian.org>
5665
5666         * text.C (Delete): fix case where delete at the end of
5667           the very first paragraph would not merge the pars
5668
5669 2003-02-17  John Levon  <levon@movementarian.org>
5670
5671         * lyxrow.C: fix lastPrintablePos()
5672
5673 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5674
5675         * bufferparams.C (writeLaTeX): add a std:here
5676
5677         * buffer.C: and remove a using directive there
5678
5679 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5680
5681         * buffer.C (makeLaTeXFile): move the code that generates the
5682           preamble...
5683
5684         * bufferparams.C (writeLaTeX): ... in this new method
5685
5686         * LaTeXFeatures.C (getEncodingSet): make const
5687           (getLanguages): make const
5688
5689         * MenuBackend.C (binding): returns the binding associated to this
5690           action
5691           (add): sets the status of each item by calling getStatus. Adds
5692           some intelligence.
5693           (read): add support for OptSubMenu
5694           (expand): remove extra separator at the end of expanded menu
5695
5696 2003-02-15  John Levon  <levon@movementarian.org>
5697
5698         * BufferView.C:
5699         * BufferView_pimpl.C:
5700         * bufferlist.h:
5701         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5702           inset code that had no actual effect. Remove unneeded status
5703           code.
5704
5705 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5706
5707         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5708           in preamble
5709
5710 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5711
5712         * text.C (drawLengthMarker): also draw an arrow marker for
5713           symbolic lengths (medskip...)
5714
5715 2003-02-14  John Levon  <levon@movementarian.org>
5716
5717         * tabular.h:
5718         * tabular.C: better method names
5719
5720 2003-02-14  John Levon  <levon@movementarian.org>
5721
5722         * BufferView_pimpl.C:
5723         * bufferlist.C:
5724         * buffer.C:
5725         * converter.C:
5726         * lyx_cb.C:
5727         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5728           it's a more accurate name. Remove some pointless uses.
5729
5730 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5731
5732         * text2.C (LyXText): change order of initilizers to shut off
5733           warnings
5734
5735 2003-02-14  John Levon  <levon@movementarian.org>
5736
5737         * buffer.C: use ParIterator for getParFromID()
5738
5739         * paragraph.h:
5740         * paragraph.C:
5741         * paragraph_pimpl.h:
5742         * paragraph_pimpl.C: remove unused getParFromID()
5743
5744 2003-02-14  John Levon  <levon@movementarian.org>
5745
5746         * buffer.C: remove some very old #if 0'd parse code
5747
5748 2003-02-13  John Levon  <levon@movementarian.org>
5749
5750         * text.h:
5751         * text.C:
5752         * text2.C: move hfillExpansion(), numberOfSeparators(),
5753           rowLast(), rowLastPrintable(), numberofHfills(),
5754           numberOfLabelHfills() ...
5755
5756         * lyxrow.h:
5757         * lyxrow.C: ... to member functions here.
5758
5759         * paragraph.h:
5760         * paragraph.C:
5761         * lyxtext.h:
5762         * text.C: remove LyXText::beginningOfMainBody(), and call
5763           p->beginningOfMainBody() directly. Move the check for
5764           LABEL_MANUAL into the latter.
5765
5766         * text.h:
5767         * text.C:
5768         * text2.C:
5769         * vspace.C:
5770         * BufferView.h:
5771         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5772
5773         * text.h:
5774         * text.C:
5775         * text2.C:
5776         * text3.C:
5777         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5778           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5779
5780 2003-02-13  John Levon  <levon@movementarian.org>
5781
5782         * CutAndPaste.C: remove debug
5783
5784 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5785
5786         * paragraph.C (asString): remove two unused variables
5787
5788         * lyxtextclass.C (readTitleType):
5789           (Read):
5790           (LyXTextClass): handle new members titletype_ and titlename_
5791
5792         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5793
5794 2003-02-09  John Levon  <levon@movementarian.org>
5795
5796         * buffer.h:
5797         * buffer.C: replace hand-coded list with a map for the dep clean
5798
5799 2003-02-08  John Levon  <levon@movementarian.org>
5800
5801         * LaTeX.C: consolidate code into showRunMessage() helper
5802
5803 2003-02-08  John Levon  <levon@movementarian.org>
5804
5805         * lyxfind.C:
5806         * lyxtext.h:
5807         * text2.C:
5808         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5809           and pass the size in explicitly
5810
5811         * BufferView_pimpl.h:
5812         * BufferView_pimpl.C:
5813         * BufferView.h:
5814         * BufferView.C: add getCurrentChange()
5815
5816         * BufferView_pimpl.h:
5817         * BufferView_pimpl.C: handle change lfuns
5818
5819         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5820           for changes. Mark pasted paragraphs as new.
5821
5822         * support/lyxtime.h:
5823         * support/lyxtime.C:
5824         * DepTable.C: abstract time_t as lyx::time_type
5825
5826         * LColor.h:
5827         * LColor.C: add colours for new text, deleted text, changebars
5828
5829         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5830           package use "usenames" option.
5831
5832         * commandtags.h:
5833         * lyxfunc.C:
5834         * LyXAction.C: add change lfuns
5835
5836         * Makefile.am:
5837         * author.h:
5838         * author.C: author handling
5839
5840         * buffer.h:
5841         * buffer.C: add a per-buffer author list, with first entry as
5842           current author. Handle new .lyx tokens for change tracking. Output
5843           author list to .lyx file. Output dvipost stuff to .tex preamble.
5844           Bump lyx format to 222.
5845
5846         * bufferlist.h:
5847         * bufferlist.C: add setCurrentAuthor() to reset current author details
5848           in all buffers.
5849
5850         * bufferparams.h:
5851         * bufferparams.C: add param for tracking
5852
5853         * bufferview_funcs.C: output change info in minibuffer
5854
5855         * Makefile.am:
5856         * changes.h:
5857         * changes.C: add change-tracking structure
5858
5859         * debug.h:
5860         * debug.C: add CHANGES debug flag
5861
5862         * lyxfind.h:
5863         * lyxfind.C: add code for finding the next change piece
5864
5865         * lyxrc.h:
5866         * lyxrc.C: add user_name and user_email
5867
5868         * lyxrow.h:
5869         * lyxrow.C: add a metric for the top of the text line
5870
5871         * lyxtext.h:
5872         * text.C: implement accept/rejectChange()
5873
5874         * lyxtext.h:
5875         * text.C: paint changebars. Paint new/deleted text in the chosen
5876         colours. Strike through deleted text.
5877
5878         * paragraph.h:
5879         * paragraph.C:
5880         * paragraph_pimpl.h:
5881         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5882           in the current change to the insert functions. Rework erase to
5883           mark text as deleted, adding an eraseIntern() and a range-based
5884           erase(). Implement per-paragraph change lookup and
5885           accept/reject.
5886
5887         * paragraph_funcs.C: Fixup paste for change tracking.
5888
5889         * tabular.C: mark added row/columns as new.
5890
5891         * text.C: fix rowLast() to never return -1. Don't allow
5892           spellchecking of deleted text. Track transpose changes. Don't
5893           allow paragraph break or merge where appropriate.
5894
5895         * text2.C: leave cursor at end of selection after a cut.
5896
5897 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5898
5899         * text.C (getLengthMarkerHeight):
5900         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5901         visible on screen too.
5902
5903 2003-02-07  John Levon  <levon@movementarian.org>
5904
5905         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5906
5907 2003-02-05  Angus Leeming  <leeming@lyx.org>
5908
5909         * lyxserver.C (read_ready): revert my patch of 11 September last year
5910         as it sends PC cpu through the roof. Presumably this means that
5911         the lyxserver will no longer run on an Alpha...
5912
5913 2003-01-30  Angus Leeming  <leeming@lyx.org>
5914
5915         * factory.C (createInset): create an InsetCommandParam of type "index"
5916         and use it to 'do the right thing'.
5917
5918         * text2.C (getStringToIndex): ensure that cursor position is always
5919         reset to the reset_cursor position.
5920
5921 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5922
5923         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5924         disabled.
5925
5926 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5927
5928         * bufferview.C:
5929         * lyxcb.C:
5930         * lyxfunc.C: Output messages with identical spelling, punctuation,
5931         and spaces
5932
5933 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5934
5935         * MenuBackend.C (expandFormats): List only viewable export formats
5936         in "View" menu
5937
5938         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5939         message
5940
5941         * lyxfunc.C (getStatus): Make sure that formats other than
5942         "fax" can also be disabled
5943
5944 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5945
5946         * text3.C (dispatch): put the lfuns that insert insets in 3
5947         groups, and call doInsertInset with appropriate arguments.
5948         (doInsertInset): new function, that creates an inset and inserts
5949         it according to some boolean parameters.
5950
5951 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5952
5953         * buffer.C (readFile): remember to pass on 'par' when calling
5954         readFile recursively.
5955
5956 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5957
5958         * MenuBackend.C (expandFormats): add "..." to import formats.
5959
5960 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5961
5962         * paragraph.C (asString): Remove XForms RTL hacks.
5963
5964 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5965         * buffer.C: fix typo
5966
5967 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * Makefile.am (LIBS): delete var
5970         (lyx_LDADD): add @LIBS@ here instead.
5971
5972 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5973
5974         * Clarify the meaning of "wheel mouse jump"
5975
5976 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5977
5978         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5979         tabular in a float
5980
5981 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5982
5983         * importer.C (Loaders): do not preallocate 3 elements in the
5984         vector, since one ends up with 6 elements otherwise
5985
5986 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5987
5988         * DepTable.C (write): write the file name as last element of the
5989         .dep file (because it may contain spaces)
5990         (read): read info in the right order
5991
5992 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5993
5994         * paragraph_pimpl.C (simpleTeXBlanks):
5995         (simpleTeXSpecialChars):
5996         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5997
5998         * tabular.C (latex): add some missing case statements. Reindent.
5999
6000         * MenuBackend.C (expandToc): remove unused variable.
6001
6002 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6003
6004         * LColor.C:
6005         * LaTeX.C:
6006         * LyXAction.C:
6007         * MenuBackend.C:
6008         * buffer.C:
6009         * exporter.C:
6010         * lyxfunc.C:
6011         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6012         and the like.
6013
6014 2003-01-05  John Levon  <levon@movementarian.org>
6015
6016         * BufferView.h:
6017         * BufferView.C: add getEncoding()
6018
6019         * kbsequence.h:
6020         * kbsequence.C: do not store last keypress
6021
6022         * lyxfunc.h:
6023         * lyxfunc.C: store last keypress here instead. Pass encoding
6024           to getISOEncoded()
6025
6026 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6027
6028         * lyx_main.C (init): remove annoying error message when following
6029         symbolic links (bug #780)
6030
6031 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6032
6033         * text.C (insertChar):
6034         * lyxrc.C (getDescription): remove extra spaces
6035
6036 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6037
6038         * lyxrc.C (getDescription): remove extra spaces
6039
6040 2002-12-20  John Levon  <levon@movementarian.org>
6041
6042         * text3.C: hack fix for page up/down across tall rows
6043
6044 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6045
6046         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6047         not been invoked
6048
6049 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6050
6051         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6052         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6053         thesaurus is not compiled in
6054
6055 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6056
6057         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6058
6059 2002-12-16  Angus Leeming  <leeming@lyx.org>
6060
6061         * lyxrc.[Ch]:
6062         * lyx_main.C (init): remove override_x_deadkeys stuff.
6063
6064 2002-12-12  John Levon  <levon@movementarian.org>
6065
6066         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6067           insert. Only remove shift modifier under strict
6068           circumstances.
6069
6070 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6071
6072         * MenuBackend.C (expandToc): fix crash.
6073
6074 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * MenuBackend.C (expandToc): gettext on float names.
6077
6078 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6079
6080         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6081         implement bool empty() [bug 490]
6082
6083 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6086
6087 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * several files: ws changes
6090
6091 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * text2.C (setCounter): clean up a bit, use boost.format.
6094         (updateCounters): initialize par upon declaration.
6095
6096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6097         if the layout exists. We do not just store the layout any more.
6098         (SwitchLayoutsBetweenClasses): use boost.format
6099
6100 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6101
6102         * converter.C (convert): if from and to files are the same, use a
6103         temporary files as intermediary
6104
6105 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6106
6107         * commandtags.h:
6108         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6109
6110 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6111
6112         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6113
6114 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * tabular.C (asciiPrintCell): use string(size, char) instead of
6117         explicit loop.
6118
6119         * sgml.C (openTag): fix order of arguments to string constructor
6120         (closeTag): ditto
6121
6122         * lyxfunc.C (dispatch): use boost.format
6123
6124         * lots of files: change "c" -> 'c'
6125
6126 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6127
6128         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6129
6130 2002-11-25  Angus Leeming  <leeming@lyx.org>
6131
6132         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6133
6134         * lyx_main.C (init): compile fix.
6135
6136 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * lyx_cb.C (start): boost.formatify
6139         do not include <iostream>
6140
6141         * lengthcommon.C: ws only
6142
6143         * boost-inst.C,BoostFormat.h: add more explict instantations
6144
6145 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * lots of files: handle USE_BOOST_FORMAT
6148
6149 2002-11-21  John Levon  <levon@movementarian.org>
6150
6151         * pspell.C: fix compile
6152
6153 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6154
6155         * lyxfunc.C (dispatch): use boost::format
6156         (open): ditto
6157         (doImport): ditto
6158
6159         * lyxfont.C (stateText): use boost::format
6160
6161         * lyx_main.C (LyX): use boost::format
6162         (init): ditto
6163         (queryUserLyXDir): ditto
6164         (readRcFile): ditto
6165         (parse_dbg): ditto
6166         (typedef boost::function): use the recommened syntax.
6167
6168         * importer.C (Import): use boost::format
6169
6170         * debug.C (showLevel): use boost::format
6171
6172         * converter.C (view): use boost::format
6173         (convert): ditto
6174         (move): ditto
6175         (scanLog): ditto
6176
6177         * bufferview_funcs.C (currentState): use boost::format
6178
6179         * bufferlist.C (emergencyWrite): use boost::format
6180
6181         * buffer.C (readLyXformat2): use boost::format
6182         (parseSingleLyXformat2Token): ditto
6183
6184         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6185
6186         * LaTeX.C (run): use boost::format
6187
6188         * Chktex.C (scanLogFile): use boost::format
6189
6190         * BufferView_pimpl.C (savePosition): use boost::format
6191         (restorePosition): ditto
6192         (MenuInsertLyXFile): ditto
6193
6194         * BoostFormat.h: help file for explicit instation.
6195
6196 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6197
6198         * tabular.C (latex): Support for block alignment in fixed width
6199         columns.
6200
6201 2002-11-17  John Levon  <levon@movementarian.org>
6202
6203         * BufferView_pimpl.C:
6204         * lyx_cb.C:
6205         * lyxfunc.C: split filedialog into open/save
6206
6207 2002-11-08  Juergen Vigna  <jug@sad.it>
6208
6209         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6210         by my last patch (hopefully).
6211
6212 2002-11-08  John Levon  <levon@movementarian.org>
6213
6214         * iterators.h:
6215         * iterators.C:
6216         * buffer.h:
6217         * buffer.C:
6218         * paragraph.h:
6219         * paragraph.C:
6220         * toc.h:
6221         * toc.C: ParConstIterator, and use it (from Lars)
6222
6223 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6224
6225         * lyxtextclass.[Ch]: revise and add doxygen comments
6226
6227 2002-11-07  John Levon  <levon@movementarian.org>
6228
6229         * text.C: fix progress value for spellchecker
6230
6231         * toc.C: fix navigate menu for insetwrap inside minipage
6232
6233         * paragraph_funcs.C: added FIXME for suspect code
6234
6235 2002-11-07  John Levon  <levon@movementarian.org>
6236
6237         * BufferView_pimpl.C: fix redrawing of insets
6238           on buffer switch
6239
6240 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6241
6242         * text2.C (updateCounters): fix bug 668
6243
6244 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6245
6246         * text3.C (dispatch): Do not make the buffer dirty when moving the
6247         cursor.
6248
6249 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * vc-backend.C: STRCONV
6252         (scanMaster): ditto
6253
6254         * text2.C (setCounter): STRCONV
6255
6256         * paragraph.C (asString): STRCONV
6257
6258         * lyxlength.C (asString): STRCONV
6259         (asLatexString): ditto
6260
6261         * lyxgluelength.C (asString): STRCONV
6262         (asLatexString): ditto
6263
6264         * lyxfunc.C (dispatch): STRCONV
6265         (open): ditto
6266
6267         * lyxfont.C (stateText): STRCONV
6268
6269         * importer.C (Import): STRCONV
6270
6271         * counters.C (labelItem): STRCONV
6272         (numberLabel): ditto
6273         (numberLabel): remove unused ostringstream o
6274
6275         * chset.C: STRCONV
6276         (loadFile): ditto
6277
6278         * bufferview_funcs.C (currentState): STRCONV
6279
6280         * buffer.C (readFile): STRCONV
6281         (asciiParagraph): ditto
6282         (makeLaTeXFile): ditto
6283
6284         * Spacing.C (writeEnvirBegin): STRCONV
6285
6286         * LaTeXFeatures.C (getLanguages): STRCONV
6287         (getPackages): ditto
6288         (getMacros): ditto
6289         (getBabelOptions): ditto
6290         (getTClassPreamble): ditto
6291         (getLyXSGMLEntities): ditto
6292         (getIncludedFiles): ditto
6293
6294         * LaTeX.C: STRCONV
6295         (run): ditto
6296         (scanAuxFile): ditto
6297         (deplog): ditto
6298
6299         * LString.h: add the STRCONV macros
6300
6301         * BufferView_pimpl.C (savePosition): STRCONV
6302         (restorePosition): ditto
6303         (MenuInsertLyXFile): ditto
6304
6305         * vc-backend.C (scanMaster): change from submatch[...] to
6306         submatch.str(...)
6307
6308         * funcrequest.C: include config.h
6309
6310         * factory.C: include config.h
6311
6312         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6313
6314         * box.C: include config.h
6315
6316         * LaTeX.C (scanAuxFile): change from submatch[...] to
6317         submatch.str(...)
6318         (deplog): ditto
6319
6320 2002-10-25  Angus Leeming  <leeming@lyx.org>
6321
6322         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6323
6324         * ispell.[Ch] (setError): new method.
6325         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6326         Use setError() insetead of goto END.
6327
6328         * lyx_cb.C (AutoSave): move out child process into new class
6329         AutoSaveBuffer.
6330
6331 2002-10-30  John Levon  <levon@movementarian.org>
6332
6333         * text3.C: make start appendix undoable
6334
6335 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6336
6337         * lyxlength.C (inPixels): Fix returned value.
6338
6339         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6340         environment.
6341
6342 2002-10-24  Angus Leeming  <leeming@lyx.org>
6343
6344         * lyxgluelength.h: no need to forward declare BufferParams
6345         or BufferView, so don't.
6346
6347 2002-10-21  John Levon  <levon@movementarian.org>
6348
6349         * BufferView.C: menuUndo ->undo, redo
6350
6351         * BufferView.h: document, remove dead, make some methods private
6352
6353         * paragraph_funcs.h:
6354         * paragraph_funcs.C:
6355         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6356
6357         * buffer.h:
6358         * buffer.C:
6359         * sgml.h:
6360         * sgml.C: move sgml open/close tag into sgml.C
6361
6362         * bufferview_funcs.h: unused prototype
6363
6364         * lyxfunc.h:
6365         * lyxfunc.C: remove unused
6366
6367         * lyxtext.h:
6368         * text.C: remove unused
6369
6370 2002-10-21  John Levon  <levon@movementarian.org>
6371
6372         * BufferView.h:
6373         * BufferView.C:
6374         * BufferView_pimpl.h:
6375         * BufferView_pimpl.C: fix mouse wheel handling based on
6376           patch from Darren Freeman
6377
6378 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6379
6380         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6381
6382 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6383
6384         * lyxlength.C (inPixels): Fix hanfling of negative length.
6385         Fix LyXLength::MU case.
6386
6387 2002-10-16  John Levon  <levon@movementarian.org>
6388
6389         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6390
6391 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6392
6393         * converter.C (view): add support for $$i (file name) and $$p
6394         (file path) for the viewer command. If $$i is not specified, then
6395         it is appended to the command (for compatibility with old syntax)
6396
6397 2002-10-14  Juergen Vigna  <jug@sad.it>
6398
6399         * undo_funcs.C (textHandleUndo): alter the order in which the
6400         new undopar is added to the LyXText, as we have to set first
6401         the right prev/next and then add it as otherwise the rebuild of
6402         LyXText is not correct. Also reset the cursor to the right paragraph,
6403         with this IMO we could remove the hack in "redoParagraphs()".
6404
6405 2002-10-09  Angus Leeming  <leeming@lyx.org>
6406
6407         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6408         to turn off an optimisation if a new inset is to be inserted.
6409
6410 2002-10-11 André Pönitz <poenitz@gmx.net>
6411
6412         * lyxtext.h: make some functions public to allow access
6413         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6414
6415 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6416
6417         * text3.C (dispatch): when changing layout, avoid an infinite loop
6418         [bug #652]
6419
6420 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6421
6422         * lyxrc.C (read): treat a viewer or converter command of "none" as
6423         if it were empty.
6424
6425         * MenuBackend.C (expandFormats): for an update, also allow the
6426         formats that are not viewable
6427
6428         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6429         script if it is newer than the lyxrc.defaults in user directory
6430
6431 2002-10-07 André Pönitz <poenitz@gmx.net>
6432
6433         * text.C: Vitaly Lipatov's small i18n fix
6434
6435 2002-09-25  Angus Leeming  <leeming@lyx.org>
6436
6437         * ispell.h: doxygen fix.
6438
6439 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6440
6441         * buffer.h (readFile): Add a new argument to the method, to allow
6442         reading of old-format templates.
6443
6444 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6445
6446         * toc.C (getTocList): Get TOC from InsetWrap.
6447
6448 2002-09-16  John Levon  <levon@movementarian.org>
6449
6450         * lyxfunc.C: check tabular for cut/copy too
6451
6452 2002-09-12  John Levon  <levon@movementarian.org>
6453
6454         * LyXAction.C: tidy
6455
6456         * factory.h:
6457         * factory.C: add header
6458
6459         * paragraph_funcs.h:
6460         * paragraph_funcs.C: cleanup
6461
6462 2002-09-11  John Levon  <levon@movementarian.org>
6463
6464         * PrinterParams.h: odd/even default to true
6465
6466 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6467
6468         * PrinterParams.h: update printer parameters for new xforms dialog
6469
6470 2002-09-11  Angus Leeming  <leeming@lyx.org>
6471
6472         * lyxserver.C (read_ready): re-write to make it more transparent
6473         and to make it work in coherent fashion under Tru64 Unix.
6474
6475 2002-09-11  André Pönitz <poenitz@gmx.net>
6476
6477         * commandtags.h:
6478         * LyXAction.C:
6479         * text3.C: implement LFUN_WORDSEL
6480
6481 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6484         make floatlist_ a boost::shared_ptr<FloatList>
6485
6486         * lyxtextclass.C: include FloatList.h
6487         (LyXTextClass): initialize floatlist_
6488         (TextClassTags): add TC_NOFLOAT
6489         (Read): match "nofloat" to TC_NOFLOAT and use it.
6490         (readFloat): modify call to floatlist_
6491         (floats): ditto
6492         (floats): ditto
6493
6494         * FloatList.[Ch] (FloatList): remove commented out float
6495         initialization.
6496         (erase): new function
6497
6498 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6499
6500         * MenuBackend.C (expandToc): fix crash when there is no document
6501         open
6502
6503 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6504
6505         * many files: Add insetwrap.
6506
6507 2002-09-09  John Levon  <levon@movementarian.org>
6508
6509         * text2.C: remove confusing and awkward depth wraparound
6510
6511 2002-09-09  John Levon  <levon@movementarian.org>
6512
6513         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6514
6515         * buffer.h:
6516         * buffer.C: remove getIncludeonlyList()
6517
6518         * paragraph.C:
6519         * lyxfunc.C: remove headers
6520
6521 2002-09-09  Juergen Vigna  <jug@sad.it>
6522
6523         * text.C (getColumnNearX): fix form Michael this is most
6524         probably a cut&paste bug.
6525
6526 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6529
6530         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6531         references, ws changes.
6532
6533         * text2.C (init): update counters after init
6534         (insertParagraph): no need to set counter on idividual paragraphs.
6535         (setCounter): access the counters object in the textclass object
6536         on in the buffer object.
6537         (updateCounters): ditto
6538
6539         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6540         shared_ptr<Counters> to avoid loading counters.h in all
6541         compilation units.
6542         (LyXTextClass): initialize ctrs_
6543         (TextClassTags): add TC_COUNTER, and ...
6544         (Read): use it here.
6545         (CounterTags): new tags
6546         (readCounter): new function
6547         (counters): new funtion
6548         (defaultLayoutName): return a const reference
6549
6550         * counters.C (Counters): remove contructor
6551         (newCounter): remove a couple of unneeded statements.
6552         (newCounter): simplify a bit.
6553         (numberLabel): some small formatting changes.
6554
6555         * buffer.[Ch]: remove all traces of counters, move the Counters
6556         object to the LyXTextClass.
6557
6558 2002-09-06  Alain Castera  <castera@in2p3.fr>
6559
6560         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6561         package to set the horizontal alignment on fixed width columns.
6562
6563         * lyx_sty.C:
6564         * lyx_sty.h: added tabularnewline macro def.
6565
6566         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6567
6568 2002-09-06  John Levon  <levon@movementarian.org>
6569
6570         * LyXAction.C: tooltips for sub/superscript
6571
6572         * MenuBackend.C: a bit more verbose
6573
6574         * lyxfunc.C: tiny clean
6575
6576         * undo_funcs.C: document undo_frozen
6577
6578 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * counters.C (Counters): add missing algorithm counter.
6581
6582         * text2.C (setCounter): lookup the counter with layouts latexname
6583         instead of by section number.
6584         (setCounter): use a hackish way to lookup the correct enum
6585         counter.
6586         a float name->type change
6587         reset enum couners with counter name directly instead of depth value.
6588
6589         * counters.C (Counters): remove the push_backs, change to use the
6590         float type not the float name.
6591         (labelItem): remove unused string, float name->type change
6592
6593         * counters.h: don't include vector, loose the enums and sects vectors
6594
6595 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6598         (Read): add float->TC_FLOAT to textclassTags
6599         (Read): and handle it in the switch
6600         (readFloat): new function
6601
6602         * FloatList.C (FloatList): comment out the hardcoded float
6603         definitions.
6604
6605         * lyxlayout.h: ws change.
6606
6607 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6608
6609         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6610
6611 2002-09-03  Angus Leeming  <leeming@lyx.org>
6612
6613         * BufferView_pimpl.h: qualified name is not allowed in member
6614         declaration: WorkArea & Pimpl::workarea() const;
6615
6616         * factory.C: added using std::endl directive.
6617
6618         * text3.C: added using std::find and std::vector directives.
6619
6620 2002-08-29  André Pönitz <poenitz@gmx.net>
6621
6622         * lyxtext.h:
6623         * text2.C: remove unused member number_of_rows
6624
6625         * Makefile.am:
6626         * BufferView2.C: remove file, move contents to...
6627         * BufferView.C: ... here
6628
6629         * BufferView_pimpl.C:
6630         * factory.C: move more inset creation to factory
6631
6632         * vspace.C: avoid direct usage of LyXText, ws changes
6633
6634         * BufferView.[Ch]:
6635                 don't provide direct access to WorkArea, use two simple
6636                 acessors haveSelction() and workHeight() instead
6637
6638
6639 2002-08-29  John Levon  <levon@movementarian.org>
6640
6641         * BufferView_pimpl.C (dispatch): do not continue when
6642           no buffer
6643
6644 2002-08-28  André Pönitz <poenitz@gmx.net>
6645
6646         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6647
6648         * BufferView.h:
6649         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6650
6651 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6652
6653         * buffer.C: increment LYX_FORMAT to 221
6654
6655         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6656         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6657
6658         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6659
6660         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6661
6662 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6663
6664         * factory.C (createInset): use LyXTextClass::floats
6665
6666         * MenuBackend.C (expandFloatListInsert):
6667         (expandFloatInsert):
6668         (expandToc):
6669
6670         * text2.C (setCounter):
6671
6672         * LaTeXFeatures.C (useFloat):
6673         (getFloatDefinitions):
6674
6675         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6676
6677         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6678         floatlist_, with accessor floats().
6679
6680         * FloatList.h: remove global FloatList
6681
6682 2002-08-26  André Pönitz <poenitz@gmx.net>
6683
6684         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6685
6686         * BufferView.h:
6687         * BufferView2.C:
6688         * BufferView_pimpl.C:
6689         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6690
6691 2002-08-25  John Levon  <levon@movementarian.org>
6692
6693         * LyXAction.C: fix margin note description
6694
6695 2002-08-24  John Levon  <levon@movementarian.org>
6696
6697         * buffer.C:
6698         * bufferlist.C:
6699         * bufferview_funcs.C:
6700         * lyxfont.C:
6701         * undo_funcs.C: cleanups
6702
6703         * lyxfunc.C: disable CUT/COPY when no selection
6704
6705 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6706
6707         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6708         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6709
6710         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6711         Add backward compatibility to "mono", "gray" and "no".
6712
6713 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6714
6715         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6716         (and file_format >= 200).
6717
6718 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6719
6720         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6721
6722 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6725
6726 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6727
6728         * BufferView_pimpl.C:
6729         * LyXAction.C:
6730         * buffer.C:
6731         * commandtags.h:
6732         * lyxfunc.C:
6733         * paragraph.[Ch]:
6734         * text2.C:
6735         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6736         inset and code to make it  work with the paragraph code. The inset
6737         can be anywhere in the paragraph, but will only do the expected
6738         thing in LaTeX if the layout file contains the parameter line
6739                         OptionalArgs    1
6740         (or more generally, a nonzero value) for that layout.
6741
6742 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * paragraph.h: remove the declaration of undefined counters class
6745         function.
6746
6747 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6748
6749         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6750         Dr. Richard Hawkins.
6751
6752 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6753
6754         * paragraph_funcs.h: remove some unneeded includes
6755
6756         * text.C (backspace): pasteParagraph now in global scipe
6757
6758         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6759         (pasteSelection): ditto
6760
6761         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6762         * paragraph_funcs.C (pasteParagraph): ... here
6763
6764 2002-08-20  André Pönitz <poenitz@gmx.net>
6765
6766         * commandtags.h: new LFUNs for swapping/copying table row/colums
6767
6768         * LyXAction.C:
6769         * lyxfunc.C: support for new lfuns
6770
6771 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * tabular.C:
6774         * buffer.[Ch]: remove NO_COMPABILITY stuff
6775
6776 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * boost.C (throw_exception): new file, with helper function for
6779         boost compiled without exceptions.
6780
6781         * paragraph.h:
6782         * lyxlength.C:
6783         * buffer.C:
6784         * ParameterStruct.h:
6785         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6786
6787         * bufferlist.C (emergencyWriteAll): use boost bind
6788
6789         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6790
6791         * text.C: include paragraph_funcs.h
6792         (breakParagraph): breakParagraph is now in global scope
6793
6794         * paragraph_funcs.[Ch]: new files
6795
6796         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6797         global scope
6798
6799         * buffer.C: include paragraph_funcs.h
6800         (insertStringAsLines): breakParagraph is now in global scope
6801
6802         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6803         paragraph_funcs.C
6804
6805         * CutAndPaste.C: include paragraph_funcs.h
6806         (cutSelection): breakParagraphConservative is now in global scope
6807         (pasteSelection): ditto
6808
6809         * buffer.h: declare oprator== and operator!= for
6810         Buffer::inset_iterator
6811
6812         * bufferlist.C (emergencyWrite): don't use fmt(...)
6813
6814         * text3.C: add using std::endl
6815
6816         * BufferView.C (moveCursorUpdate): remove default arg
6817
6818 2002-08-20  André Pönitz <poenitz@gmx.net>
6819
6820         * buffer.[Ch]: move inline functions to .C
6821
6822         * BufferView2.C:
6823         * BufferView_pimpl.C:
6824         * text.C:
6825         * buffer.[Ch]: use improved inset_iterator
6826
6827         * buffer.C:
6828         * paragraph.[Ch]: write one paragraph at a time
6829
6830 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6831
6832         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6833         style if style is not specified.
6834
6835 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6836
6837         * text2.C (setCounter): when searching for right label for a
6838         caption, make sure to recurse to parent insets (so that a caption
6839         in a minipage in a figure float works) (bug #568)
6840
6841 2002-08-20  André Pönitz <poenitz@gmx.net>
6842
6843         * text3.C: new file for LyXText::dispatch() and helpers
6844
6845         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6846
6847         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6848
6849 2002-08-19  André Pönitz <poenitz@gmx.net>
6850
6851         * lyxtext.h:
6852         * text.C: new LyXText::dispatch()
6853
6854         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6855
6856 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6857
6858         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6859
6860         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6861         Hebrew text.
6862
6863 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6864
6865         * Makefile.am: use $(variables) instead of @substitutions@
6866
6867 2002-08-15  André Pönitz <poenitz@gmx.net>
6868
6869         * lyxfunc.C:
6870         * BufferView_pimpl.C: streamlining mathed <-> outer world
6871         interaction
6872
6873         * commandtags.h:
6874         * LyXAction.C: remove unused LFUN_MATH
6875
6876 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6879
6880 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * paragraph.C (Paragraph): reformat a bit
6883         (cutIntoMinibuffer): use builtin InsetList function instad of
6884         doing it manually.
6885         (getInset): ditto
6886
6887         * buffer.C: include boost/bind.hpp, add using std::for_each
6888         (writeFileAscii): use ParagraphList iterators
6889         (validate): use for_each for validate traversal of paragraphs
6890         (getBibkeyList): use ParagraphList iterators
6891         (resizeInsets): use for_each to resizeInsetsLyXText for all
6892         paragraphs.
6893         (getParFromID): use ParagraphList iterators
6894
6895         * BufferView2.C (lockInset): use paragraph list and iterators
6896
6897 2002-08-14  John Levon  <levon@movementarian.org>
6898
6899         * lyxserver.C: remove spurious xforms include
6900
6901 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6902
6903         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6904
6905 2002-08-13  André Pönitz <poenitz@gmx.net>
6906
6907         * LyXAction.[Ch]:
6908         * lyxfunc.C: further cleaning
6909
6910 2002-08-13  André Pönitz <poenitz@gmx.net>
6911
6912         * funcrequest.h: new constructor
6913
6914         * funcrequest.C: move stuff here from .h
6915
6916         * Makefile.am:
6917         * BufferView_pimpl.C:
6918         * LyXAction.C:
6919         * toc.C:
6920         * lyxfunc.C: subsequent changes
6921
6922         * lyxfunc.h: new view() member function
6923
6924         * lyxfunc.C: subsequent changes
6925
6926 2002-08-13  Angus Leeming  <leeming@lyx.org>
6927
6928         * BufferView2.C:
6929         * BufferView_pimpl.C:
6930         * buffer.C:
6931         * converter.C:
6932         * importer.C:
6933         * lyxfunc.C:
6934         * lyxvc.C:
6935         * toc.C:
6936         * vc-backend.C:
6937         changes due to the changed LyXView interface that now returns references
6938         to member variables not pointers.
6939
6940 2002-08-13  Angus Leeming  <leeming@lyx.org>
6941
6942         * WordLangTuple (word, lang_code): return references to strings,
6943         not strings.
6944
6945         * BufferView.h:
6946         * SpellBase.h:
6947         * lyxtext.h: forward-declare WordLangTuple.
6948
6949         * BufferView2.C:
6950         * ispell.C:
6951         * pspell.C:
6952         * text.C: #include "WordLangTuple.h".
6953
6954         * lyxtext.h:
6955         * text.C: (selectNextWordToSpellcheck): constify return type.
6956
6957 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6958
6959         * buffer.C:
6960         * buffer.h:
6961         * lyxtext.h:
6962         * paragraph.C:
6963         * paragraph_pimpl.h:
6964         * text.C:
6965         * text2.C:
6966         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6967         suggested by Angus.
6968         Made updateCounter always count from start of buffer, and removed
6969         second argument (par).
6970         Reverted floats number display to '#'. Perhaps I'll try again when the
6971         code base is sanitized a bit.
6972
6973 2002-08-12  Angus Leeming  <leeming@lyx.org>
6974
6975         * buffer.[Ch] (getLabelList): constify.
6976
6977 2002-08-07  André Pönitz <poenitz@gmx.net>
6978
6979         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6980
6981         * funcrequest.h: extension to keep mouse (x,y) position
6982
6983 2002-08-12  Juergen Vigna  <jug@sad.it>
6984
6985         * BufferView2.C (insertErrors): forbid undo when inserting error
6986         insets.
6987
6988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6989
6990 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * ParagraphList.[Ch]: new files
6993
6994         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6995
6996         * BufferView2.C (lockInset): ParagraphList changes
6997         * toc.C: ditto
6998         * text2.C: ditto
6999         * bufferlist.C: ditto
7000         * buffer.h: ditto
7001         * buffer.C: ditto
7002
7003 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7006         unused class variable counter_,
7007
7008         * paragraph.[Ch] (getFirstCounter): delete unused function
7009
7010         * counters.C: include LAssert.h
7011         (reset): add a new function with no arg, change other version to
7012         not have def. arg and to not allow empty arg.
7013
7014         * text2.C (setCounter): remove empty arg from call to Counters::reset
7015
7016 2002-08-11  John Levon  <levon@movementarian.org>
7017
7018         * Makefile.am: add WordLangTuple.h
7019
7020 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7023         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7024
7025         * insets/insettext.C: InsetList changes
7026
7027         * graphics/GraphicsSupport.C (operator()): InsetList changes
7028
7029         * toc.C (getTocList): InsetList changes
7030
7031         * paragraph_pimpl.[Ch]: InsetList changes
7032
7033         * paragraph.[Ch]: InsetList changes
7034
7035         * buffer.C (inset_iterator): InsetList changes
7036         (setParagraph): ditto
7037         * buffer.h (inset_iterator): ditto
7038         * iterators.C (operator++): ditto
7039         * iterators.h: ditto
7040
7041         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7042
7043         * InsetList.[Ch]: new files, most InsetList handling moved out of
7044         paragraph.C.
7045
7046         * BufferView2.C (removeAutoInsets): InsetList changes
7047         (lockInset): ditto
7048         (ChangeInsets): ditto
7049
7050 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * paragraph_pimpl.h (empty): new function
7053
7054         * paragraph.[Ch] (empty): new function
7055
7056         * other files: use the new Paragraph::empty function
7057
7058 2002-08-09  John Levon  <levon@movementarian.org>
7059
7060         * lyxtext.h: remove unused refresh_height
7061
7062 2002-08-09  John Levon  <levon@movementarian.org>
7063
7064         * Makefile.am:
7065         * sgml.h:
7066         * sgml.C:
7067         * buffer.C:
7068         * paragraph.h:
7069         * paragraph.C: move sgml char escaping out of paragraph
7070
7071         * paragraph.h:
7072         * paragraph.C: remove id setter
7073
7074         * buffer.C:
7075         * paragraph.C:
7076         * paragraph_pimpl.C: remove dead tex_code_break_column
7077
7078         * bufferview_funcs.C: small cleanup
7079
7080         * lyxfunc.C: remove dead proto
7081
7082         * lyxtext.h: make some stuff private. Remove some dead stuff.
7083
7084         * lyxgluelength.C: make as[LyX]String() readable
7085
7086 2002-08-08  John Levon  <levon@movementarian.org>
7087
7088         * LyXAction.h:
7089         * LyXAction.C:
7090         * MenuBackend.C:
7091         * ToolbarDefaults.C:
7092         * lyxfunc.C:
7093         * lyxrc.C:
7094         * toc.C: lyxaction cleanup
7095
7096 2002-08-08  John Levon  <levon@movementarian.org>
7097
7098         * BufferView2.C: small cleanup
7099
7100         * lyxfind.h:
7101         * lyxfind.C: move unnecessary header into the .C
7102
7103 2002-08-08  John Levon  <levon@movementarian.org>
7104
7105         * funcrequest.h: just tedious nonsense
7106
7107         * lyx_main.h:
7108         * lyx_main.C: cleanups
7109
7110         * buffer.C:
7111         * vspace.C: remove dead header lyx_main.h
7112
7113 2002-08-07  Angus Leeming  <leeming@lyx.org>
7114
7115         * Paragraph.[Ch]:
7116         * paragraph_pimpl.h:
7117         Forward declare class Counters in paragraph.h by moving the ctrs member
7118         variable into Paragraph::Pimpl.
7119         (counters): new method, returning a reference to pimpl_->ctrs.
7120
7121         * text2.C: ensuing changes.
7122
7123 2002-08-07  John Levon  <levon@movementarian.org>
7124
7125         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7126
7127         * BufferView_pimpl.C: announce X selection on double/triple
7128           click
7129
7130         * lyx_main.C: use correct bool in batch dispatch
7131
7132         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7133
7134 2002-08-07  André Pönitz <poenitz@gmx.net>
7135
7136         * funcrequest.h: new class to wrap a kb_action and its argument
7137
7138         * BufferView.[Ch]:
7139         * BufferView_pimpl[Ch]:
7140         * LaTeX.C:
7141         * LyXAction.[Ch]:
7142         * lyxfunc.[Ch]:
7143         * lyxrc.C: subsequent changes
7144
7145
7146 2002-08-07  John Levon  <levon@movementarian.org>
7147
7148         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7149           document options change.
7150
7151 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7152
7153         * counters.[Ch]
7154         * text2.C
7155         * paragraph.[Ch]
7156         * makefile.am: move counters functionality over from
7157         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7158
7159 2002-08-06  John Levon  <levon@movementarian.org>
7160
7161         * WordLangTuple.h: new file for word + language code tuple
7162
7163         * SpellBase.h:
7164         * pspell.h:
7165         * pspell.C:
7166         * ispell.h:
7167         * ispell.C:
7168         * lyxtext.h:
7169         * text.C:
7170         * text2.C:
7171         * BufferView.h:
7172         * BufferView2.C: use WordLangTuple
7173
7174         * layout.h:
7175         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7176
7177 2002-08-06  John Levon  <levon@movementarian.org>
7178
7179         * lyx_main.C: fix cmdline batch handling
7180
7181 2002-08-06  André Pönitz <poenitz@gmx.net>
7182
7183         * lyxrc.C: set default for show_banner to true
7184
7185 2002-08-06  John Levon  <levon@movementarian.org>
7186
7187         * pspell.C: fix a crash, and allow new aspell to work
7188
7189 2002-08-06  John Levon  <levon@movementarian.org>
7190
7191         * lyxfunc.C:
7192         * kbmap.C: small cleanup
7193
7194         * vspace.h:
7195         * vspace.C: add const
7196
7197 2002-08-05  John Levon  <levon@movementarian.org>
7198
7199         * LyXAction.C: back to tabular-insert
7200
7201 2002-08-04  John Levon  <levon@movementarian.org>
7202
7203         * BufferView.h:
7204         * BufferView.C: cosmetic change
7205
7206         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7207
7208         * bufferlist.C:
7209         * buffer.h:
7210         * buffer.C:
7211         * lyxcb.h:
7212         * lyxcb.C:
7213         * lyxserver.C:
7214         * lyxvc.C:
7215         * vc-backend.C:
7216         * BufferView2.C: purge all "Lyx" not "LyX" strings
7217
7218         * lyxcursor.h:
7219         * lyxcursor.C: attempt to add some documentation
7220
7221         * lyxfunc.C:
7222         * commandtags.h:
7223         * LyXAction.C:
7224         * ToolbarDefaults.C:
7225         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7226           merge with LFUN_TABULAR_INSERT
7227
7228         * Makefile.am:
7229         * SpellBase.h:
7230         * ispell.h:
7231         * ispell.C:
7232         * pspell.h:
7233         * pspell.C: split up i/pspell implementations into separate
7234           files, many cleanups
7235
7236         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7237
7238         * text2.C: some cleanup
7239
7240         * lyxfunc.C: don't check for isp_command == "none" any more, it
7241           didn't make any sense
7242
7243 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7244
7245         * counters.[Ch]
7246         * text2.C
7247         * paragraph.[Ch]
7248         * makefile.am: move counters functionality over
7249         from text2.C/paragraph.[Ch] to counters.[Ch], and
7250         make proper C++.
7251 2002-08-02  John Levon  <levon@movementarian.org>
7252
7253         * buffer.C: s/lyxconvert/lyx2lyx/
7254
7255 2002-08-02  Angus Leeming  <leeming@lyx.org>
7256
7257         * lyxlex.C: revert John's change as it breaks reading of the user
7258         preamble.
7259
7260 2002-08-02  Angus Leeming  <leeming@lyx.org>
7261
7262         * importer.C (Import):
7263         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7264         changes due to LyXView::view() now returning a boost::shared_ptr.
7265
7266 2002-08-02  John Levon  <levon@movementarian.org>
7267
7268         * lyxlex.C: small cleanup
7269
7270 2002-08-02  John Levon  <levon@movementarian.org>
7271
7272         * text2.C (status): small cleanup, no logic change
7273
7274 2002-08-01  John Levon  <levon@movementarian.org>
7275
7276         * buffer.h:
7277         * buffer.C (writeFile): don't output alerts, caller
7278           handles this
7279
7280         * bufferlist.C:
7281         * lyx_cb.C: from above
7282
7283         * lyxfunc.C: allow to open non-existent files
7284
7285 2002-07-31  John Levon  <levon@movementarian.org>
7286
7287         * lyxserver.C: don't let incidental errors get
7288           in the way (errno)
7289
7290 2002-07-30  John Levon  <levon@movementarian.org>
7291
7292         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7293
7294 2002-07-30  John Levon  <levon@movementarian.org>
7295
7296         * lyxserver.h:
7297         * lyxserver.C: remove I/O callback too
7298
7299 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7300
7301         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7302         log.
7303
7304 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * many files: strip,frontStrip -> trim,ltrim,rtrim
7307
7308 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * PrinterParams.h: remove extern containsOnly, and include
7311         support/lstrings.h instead.
7312
7313         * LaTeX.C (scanAuxFile): modify because of strip changes
7314         (deplog): ditto
7315         * buffer.C (makeLaTeXFile): ditto
7316         * bufferparams.C (writeFile): ditt
7317         * lyxfont.C (stateText): ditto
7318         * lyxserver.C (read_ready): ditto
7319         * vc-backend.C (scanMaster): ditto
7320
7321         * BufferView_pimpl.h: ws changes
7322
7323         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7324
7325 2002-07-26  André Pönitz <poenitz@gmx.net>
7326
7327         * kb_sequence.C: remove unnedred usings
7328
7329 2002-07-26  Juergen Vigna  <jug@sad.it>
7330
7331         * lyxfind.C (LyXReplace): we have to check better if the returned
7332         text is not of theLockingInset()->getLockingInset().
7333
7334 2002-07-25  Juergen Vigna  <jug@sad.it>
7335
7336         * lyxfind.C (LyXReplace): don't replace if we don't get the
7337         right LyXText.
7338
7339         * undo_funcs.C (createUndo): remove debugging code.
7340
7341 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7342
7343         * buffer.C (parseSingleLyXformat2Token): Use default placement
7344         when reading old floats.
7345
7346         * FloatList.C (FloatList): Change the default placement of figure
7347         and tables to "tbp".
7348
7349 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * MenuBackend.C: using std::max
7352
7353 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7354
7355         * MenuBackend.C (expandToc):
7356         (expandToc2): code moved from xforms menu frontend. It is now
7357         generic and TOCs are transparent to menu frontends.
7358
7359 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7360
7361         * toc.C (getTocList): protect against buf=0
7362
7363         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7364         Menu as first parameter. Now, this calls itself recursively to
7365         expand a whole tree (this will be useful for TOC handling)
7366         (expandFloatInsert): remove 'wide' version of floats
7367
7368         * MenuBackend.h (submenuname): returns the name of the submenu.
7369         (submenu): returns the submenu itself, provided it has been
7370         created by MenuBackend::expand
7371
7372 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7373
7374         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7375         insets which have noFontChange == true. (bug #172)
7376
7377 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7378
7379         * BufferView_pimpl.C: add connection objects and use them...
7380         (Pimpl): here.
7381
7382 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7383
7384         * MenuBackend.C (expandLastfiles):
7385         (expandDocuments):
7386         (expandFormats):
7387         (expandFloatListInsert):
7388         (expandFloatInsert):
7389         (expand): split expand in parts
7390
7391 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * lyx_gui.C: use lyx_gui::exit()
7394
7395 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7396
7397         * LyXAction.C: show the failing pseudo action
7398
7399 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7400
7401         * buffer.C (readFile): Run the lyxconvert script in order to read
7402         old files.
7403
7404 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7405
7406         * LyXAction.C:
7407         * commandtags.h:
7408         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7409
7410 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7411
7412         * LyXAction.C:
7413         * commandtags.h:
7414         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7415
7416 2002-07-22  Herbert Voss  <voss@lyx.org>
7417
7418         * lengthcommon.C:
7419         * lyxlength.[Ch]: add support for the vertical lengths
7420
7421 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7422
7423         * toc.[Ch]: std:: fixes
7424
7425 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7426
7427         * lyxrc.C: do not include lyx_main.h
7428
7429         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7430         for layouts
7431
7432         * lyxrc.C:
7433         * encoding.C:
7434         * bufferlist.C:
7435         * BufferView2.C: include "lyxlex.h"
7436
7437         * tabular.h:
7438         * bufferparams.h: do not #include "lyxlex.h"
7439
7440         * lyxtextclasslist.C (Add): remove method
7441         (classlist): renamed to classlist_
7442
7443         * paragraph_pimpl.C:
7444         * paragraph.C:
7445         * text2.C:
7446         * CutAndPaste.C:
7447         * bufferview_funcs.C:
7448         * bufferlist.C:
7449         * text.C:
7450         * LaTeXFeatures.C:
7451         * buffer.C:
7452         * toc.C (getTocList): use BufferParams::getLyXTextClass
7453
7454         * toc.C (getTocList): use InsetFloat::addToToc
7455
7456         * toc.[Ch]: new files, containing helper functions to handle table
7457         of contents
7458
7459         * lyxfunc.C (dispatch): no need to remove spaces around command
7460         given as a string
7461         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7462         first command of the sequence; it is not very clever, but I do not
7463         have a better idea, actually
7464
7465         * LyXAction.C (LookupFunc): make sure to remove space at the
7466         beginning and end of the command
7467
7468 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7469
7470         * MenuBackend.C (getMenubar): new method: return the menubar of
7471         this menu set
7472         (read): treat differently reading of menu and menubar (in
7473         particular, the menubar has no name now)
7474         (Menu::menubar): remove
7475
7476         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7477         saving is finished
7478
7479 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7480
7481         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7482         a bibitem inset in a RTL paragraph.
7483
7484 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7485
7486         * paragraph_pimpl.C: constify
7487
7488         * BufferView_pimpl.C:
7489         * LaTeX.C:
7490         * lyxfunc.C: fix dispatch in a nicer way
7491
7492 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7493
7494         * lyxfunc.C (dispatch):
7495         * BufferView_pimpl.C:
7496         * BufferView_pimpl.h:
7497         * BufferView.C:
7498         * BufferView.h: rename Dispatch() to dispatch()
7499
7500         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7501
7502         * lyxlayout.C (Read): honor DependsOn tag
7503
7504         * lyxlayout.[Ch] (depends_on): new method
7505
7506         * version.C.in: update lyx_docversion
7507
7508         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7509
7510         * paragraph.C (validate): remove from here...
7511         * paragraph_pimpl.C (validate): ... and move here
7512         (isTextAt): make it const
7513
7514         * buffer.C (getLists): ws cleanup
7515
7516 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7517
7518         * language.C (read): Use iso8859-1 encoding in latex_lang
7519         (this prevents LyX from crashing when using iso10646-1 encoding).
7520
7521 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * text2.C (toggleInset): if cursor is inside an inset, close the
7524         inset and leave cursor _after_ it
7525
7526 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * lyxfunc.C: move minibuffer completion handling out of here
7529
7530 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7531
7532         * BufferView_pimpl.C:
7533         * LaTeX.C: fix dispatch calls
7534
7535 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7536
7537         * text.C (drawChars): Fix Arabic text rendering.
7538
7539 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7540
7541         * LyXAction.C:
7542         * commandtags.h:
7543         * lyxfunc.C: remove message-push/pop
7544
7545         * lyxserver.C:
7546         * lyxfunc.h:
7547         * lyxfunc.C: rationalise some code by removing verboseDispatch
7548           in favour of a bool argument to dispatch()
7549
7550 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7551
7552         * lyx_main.C (init): make sure to read symlinks as absolute paths
7553
7554 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7555
7556         * lyxfunc.h:
7557         * lyxfunc.C: no need for commandshortcut to be a member
7558
7559 2002-07-15  André Pönitz <poenitz@gmx.net>
7560
7561         * converter.C: add support for $$s (scripts from lib/scripts dir)
7562         * lyx_main.C: white space
7563
7564 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7565
7566         * bufferlist.C:
7567         * lyxrc.h:
7568         * lyxrc.C: remove second exit confirmation
7569
7570 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * BufferView.h:
7573         * BufferView.C:
7574         * BufferView2.C:
7575         * BufferView_pimpl.h:
7576         * BufferView_pimpl.C:
7577         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7578
7579 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7580
7581         * MenuBackend.C (expand): add numeric shortcuts to document menu
7582
7583         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7584
7585 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7586
7587         * lyxfont.C (setLyXFamily):
7588         (setLyXSeries):
7589         (setLyXShape):
7590         (setLyXSize):
7591         (setLyXMisc):
7592         (lyxRead):
7593         * debug.C (value):
7594         * buffer.C (asciiParagraph): use ascii_lowercase
7595
7596 2002-07-15  Mike Fabian  <mfabian@suse.de>
7597
7598         * lyxlex_pimpl.C (search_kw):
7599         * lyxlex.C (getLongString):
7600         * converter.h (operator<):
7601         * converter.C (operator<):
7602         * buffer.C (parseSingleLyXformat2Token):
7603         (asciiParagraph):
7604         * ToolbarDefaults.C (read):
7605         * MenuBackend.C (checkShortcuts):
7606         (read):
7607         * LColor.C (getFromGUIName):
7608         (getFromLyXName): use the compare_ascii_no_case instead of
7609         compare_no_case, because in turkish, 'i' is not the lowercase
7610         version of 'I', and thus turkish locale breaks parsing of tags.
7611
7612 2002-07-16  Angus Leeming  <leeming@lyx.org>
7613
7614         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7615         now takes a Buffer const & argument.
7616
7617 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * BufferView.C (resize): check there's a buffer to resize
7620
7621 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * lyxfunc.C: remove dead code
7624
7625         * lyxserver.h:
7626         * lyxserver.C: use lyx_guii::set_read_callback
7627
7628 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7629
7630         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7631         an inset in a RTL paragraph.
7632
7633 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * lyxfunc.C: repaint after a font size update
7636
7637 2002-07-15  André Pönitz <poenitz@gmx.net>
7638
7639         * lyxlength.C: inBP should be able to return negative values
7640
7641 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7642
7643         * lyxfunc.C: use lyx_gui::update_fonts()
7644
7645 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7646
7647         * lyxfunc.C: use lyx_gui::update_color()
7648
7649 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7650
7651         * bufferlist.C:
7652         * lyxfunc.h:
7653         * lyxfunc.C:
7654         * lyxrc.h:
7655         * lyxrc.C: remove file->new asks for name option, and let
7656           buffer-new take an argument
7657
7658 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7659
7660         * BufferView_pimpl.C: remove unneeded extra repaint()
7661
7662 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7663
7664         * LyXAction.C: allow command-sequence with NoBuffer
7665
7666         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7667
7668 2002-07-10  Angus Leeming  <leeming@lyx.org>
7669
7670         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7671
7672 2002-07-09  Angus Leeming  <leeming@lyx.org>
7673
7674         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7675
7676 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7677
7678         * lengthcommon.h: whitespace
7679
7680         * lyxfunc.C: update scrollbar after goto paragraph
7681
7682         * lyxtext.h: factor out page break drawing, and fix it so
7683           page break/added space paints as selected nicely
7684
7685 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7686
7687         * BufferView_pimpl.C: add FIXMEs, clean up a little
7688
7689 2002-07-09  André Pönitz <poenitz@gmx.net>
7690
7691         * lyxfont.[Ch]: support for wasy symbols
7692
7693 2002-07-08  André Pönitz <poenitz@gmx.net>
7694
7695         * BufferView_pimpl.C: apply John's patch for #93.
7696
7697 2002-07-05  Angus Leeming  <leeming@lyx.org>
7698
7699         * BufferView_pimpl.C (buffer): generate previews if desired.
7700
7701         * LColor.h: add "preview" to the color enum.
7702
7703         * LColor.C (LColor): add a corresponding entry to the items array.
7704
7705         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7706         with this buffer.
7707
7708 2002-07-05  Angus Leeming  <leeming@lyx.org>
7709
7710         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7711         The body of the code is now in the method that is passed an ostream &
7712         rather than a file name.
7713         Pass an additional only_preamble parameter, useful for the forthcoming
7714         preview stuff.
7715
7716 2002-07-03  André Pönitz <poenitz@gmx.net>
7717
7718         * lyxfunc.C: simplify getStatus() a bit for math stuff
7719
7720 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7721
7722         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7723
7724 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7725
7726         * text.C (changeRegionCase): do not change case of all the
7727         document when region ends at paragraph end (bug #461)
7728
7729 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7730
7731         * paragraph.C (startTeXParParams):
7732         (endTeXParParams): add \protect when necessary
7733
7734 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7735
7736         * BufferView_pimpl.C (workAreaExpose): remove warning
7737
7738 2002-06-27  Angus Leeming  <leeming@lyx.org>
7739
7740         * Makefile.am: add lyxlayout_ptr_fwd.h.
7741
7742 2002-06-26  André Pönitz <poenitz@gmx.net>
7743
7744         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7745
7746 2002-06-25  Angus Leeming  <leeming@lyx.org>
7747
7748         * lyxfunc.C (dispatch): Comment out the call to
7749         grfx::GCache::changeDisplay. The method no longer exists now that the
7750         pixmap generation part of the graphics loader has been moved into
7751         InsetGraphics.
7752
7753 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7754
7755         * text2.C: layout as layout
7756
7757         * text.C: layout as layout
7758
7759         * tabular.C (OldFormatRead): layout as layout
7760
7761         * paragraph_pimpl.C (TeXDeeper): layout as layout
7762         (realizeFont): layout as layout
7763
7764         * paragraph.C (writeFile): layout as layout
7765         (validate): layout as layout
7766         (getFont): layout as layout
7767         (getLabelFont): layout as layout
7768         (getLayoutFont): layout as layout
7769         (breakParagraph): layout as layout
7770         (stripLeadingSpaces): layout as layout
7771         (getEndLabel): layout as layout
7772         (getMaxDepthAfter): layout as layout
7773         (applyLayout): layout as layout
7774         (TeXOnePar): layout as layout
7775         (simpleTeXOnePar): layout as layout
7776         (TeXEnvironment): layout as layout
7777         (layout): layout as layout
7778         (layout): layout as layout
7779
7780         * lyxtextclass.C (compare_name): new functor to work with
7781         shared_ptr, layout as layout
7782         (Read): layout as layout
7783         (hasLayout): layout as layout
7784         (operator): layout as layout
7785         (delete_layout): layout as layout
7786         (defaultLayout): layout as layout
7787
7788         * lyxlayout_ptr_fwd.h: new file
7789
7790         * lyxlayout.C (Read): layout as layout
7791
7792         * lyx_cb.C (MenuInsertLabel): layout as layout
7793
7794         * bufferlist.C (newFile): layout as layout
7795
7796         * buffer.C (readLyXformat2): layout as layout
7797         (parseSingleLyXformat2Token): layout as layout
7798         (insertStringAsLines): layout as layout
7799         (asciiParagraph): layout as layout
7800         (latexParagraphs): layout as layout
7801         (makeLinuxDocFile): layout as layout
7802         (simpleLinuxDocOnePar): layout as layout
7803         (makeDocBookFile): layout as layout
7804         (simpleDocBookOnePar): layout as layout
7805         (getLists): layout as layout
7806
7807         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7808
7809         * CutAndPaste.C (cutSelection): layout as layout
7810         (pasteSelection): layout as layout
7811         (SwitchLayoutsBetweenClasses): layout as layout
7812
7813         * BufferView_pimpl.C (Dispatch): layout as layout
7814         (smartQuote): layout as layout
7815
7816         * BufferView2.C (unlockInset): layout as layout
7817
7818 2002-06-24  André Pönitz <poenitz@gmx.net>
7819
7820         * lyxfunc.C: fix #487
7821
7822 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7823
7824         * lyxrc.h:
7825         * lyxrc.C:
7826         * lyxfunc.C: remove display_shortcuts, show_banner
7827
7828 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7829
7830         * Buffer_pimpl.C: oops, update on resize
7831
7832 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * buffer.C:
7835         * converter.C:
7836         * exporter.C:
7837         * lyxfunc.C:
7838         * BufferView.h:
7839         * BufferView.C: use repaint()
7840
7841         * BufferView_pimpl.h:
7842         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7843           as it's a clearer description. Remove superfluous
7844           redraws.
7845
7846 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7847
7848         * text.C: fix bug 488. Not ideal, but getting
7849           getWord() to work properly for the insets that
7850           matter is more difficult ...
7851
7852 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7853
7854         * BufferView_pimpl.C:
7855         * LyXAction.C:
7856         * commandtags.h:
7857         * lyxfunc.C: remove the six million index lyxfuncs to just
7858           one, and DTRT (bug 458)
7859
7860 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7861
7862         * BufferView.h:
7863         * BufferView.C:
7864         * BufferView_pimpl.h:
7865         * BufferView_pimpl.C: clean up resize() stuff,
7866           and unnecessary updateScreen()s
7867
7868 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7869
7870         * BufferView.h:
7871         * BufferView.C:
7872         * BufferView_pimpl.h:
7873         * BufferView_pimpl.C:
7874         * lyxfind.h:
7875         * lyxfind.C:
7876         * minibuffer.C: remove focus management of workarea,
7877           not needed. Use screen's greyOut()
7878
7879 2002-06-17  Herbert Voss  <voss@lyx.org>
7880
7881         * converter.C: (convert) do not post a message, when converting
7882         fails, let the calling function decide what to do in this case
7883
7884 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7885
7886         * lyxfunc.C: tidy up a little
7887
7888 2002-06-16    <alstrup@diku.dk>
7889
7890         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7891         Got rid of FORMS_H_LOCATION include. Now we are
7892         GUII.
7893
7894 2002-06-15  LyX Development team  <lyx@rilke>
7895
7896         * buffer.[Ch] (sgmlOpenTag):
7897         (sgmlCloseTag): Added support for avoiding pernicious mixed
7898         content. Return number of lines written.
7899
7900         (makeLinuxDocFile):
7901         (makeDocBookFile): Fixed calls to sgml*Tag.
7902         Simple white space clean.
7903
7904         (simpleDocBookOnePar): Simple white space clean.
7905
7906         * tabular.[Ch] (docBook): Renamed to docbook and got another
7907         argument to related with the pernicious mixed content.
7908
7909         (docbookRow): Fixed calls for docbook inset method.
7910
7911 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7912
7913         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7914         so it's X11 independent.
7915
7916         * kb*.[Ch]: ditto.
7917
7918         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7919
7920 2002-06-15  Lyx Development team  <lyx@electronia>
7921
7922         * intl.h: Renamed getTrans to getTransManager.
7923
7924 2002-06-14  Angus Leeming  <leeming@lyx.org>
7925
7926         * Makefile.am: nuke forgotten stl_string_fwd.h.
7927
7928 2002-06-12  Angus Leeming  <leeming@lyx.org>
7929
7930         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7931
7932 2002-06-13  Angus Leeming  <leeming@lyx.org>
7933
7934         * LaTeX.C:
7935         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7936
7937 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7938
7939         * kbmap.C (getiso): add support for cyrillic and greek
7940
7941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7942
7943         * BufferView.h:
7944         * BufferView.C:
7945         * BufferView_pimpl.h:
7946         * BufferView_pimpl.C: move bogus scrolling logic
7947           to xforms
7948
7949 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7950
7951         * lyxfunc.C:
7952         * BufferView_pimpl.C: view->resize() change
7953
7954 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * BufferView_pimpl.C: topCursorVisible
7957           prototype change
7958
7959 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7960
7961         * Makefile.am:
7962         * lyx_gui.h:
7963         * lyx_gui.C: move to frontends/
7964
7965         * main.C:
7966         * lyx_main.h:
7967         * lyx_main.C: changes from above
7968
7969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7970
7971         * intl.C:
7972         * intl.h:
7973         * kbmap.C:
7974         * kbsequence.C:
7975         * lyx_cb.C:
7976         * lyx_main.C: minor tidy
7977
7978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7979
7980         * BufferView_pimpl.h:
7981         * BufferView_pimpl.C:
7982         * BufferView.h:
7983         * BufferView.C: make painter() const,
7984           remove dead code
7985
7986         * BufferView2.C: use screen() accessor
7987
7988         * lyx_main.h:
7989         * lyx_main.C: some minor cleanup
7990
7991 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * BufferView_pimpl.h:
7994         * BufferView_pimpl.C: remove enter/leaveView,
7995           use workHeight()
7996
7997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7998
7999         * BufferView.h:
8000         * BufferView.C:
8001         * BufferView2.C:
8002         * BufferView_pimpl.h:
8003         * BufferView_pimpl.C: only construct screen once,
8004           rename
8005
8006         * lyxrc.C: remove pointless comment
8007
8008 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * BufferView.h:
8011         * BufferView.C: remove active() and belowMouse()
8012
8013         * BufferView_pimpl.h:
8014         * BufferView_pimpl.C: use workarea() not workarea_,
8015           and make it use a scoped_ptr instead
8016
8017 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8018
8019         * lyx_gui.C: add debug message on BadWindow
8020
8021 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8022
8023         * sp_spell.C: fdopen is not part of the C++ standard.
8024
8025         * paragraph.C (InsetIterator): use >= instead of ==
8026
8027 2002-06-07  Angus Leeming  <leeming@lyx.org>
8028
8029         Fixes needed to compile with Compaq cxx 6.5.
8030         * BufferView_pimpl.C:
8031         * DepTable.C:
8032         * buffer.C:
8033         * converter.C:
8034         * encoding.C:
8035         * lyx_gui.C:
8036         * lyx_main.C:
8037         * lyxtextclasslist.C:
8038         * minibuffer.C:
8039         * sp_spell.C:
8040         * tabular_funcs.C:
8041         * vc-backend.C:
8042         all c-library variables have been moved into namespace std. Wrap
8043         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8044
8045         * lyxlength.C:
8046         * tabular-old.C:
8047         * tabular.C:
8048         Add a using std::abs declaration.
8049
8050         * kbmap.h (modifier_pair):
8051         * paragraph.h (InsetTable, InsetList):
8052         * lyxfont.h (FontBits):
8053         type definition made public.
8054
8055         * bufferlist.C (emergencyWriteAll): the compiler complains that
8056         there is more than one possible lyx::class_fun template to choose from.
8057         I re-named the void specialisation as lyx::void_class_fun.
8058
8059         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8060
8061         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8062         the compiler is is unable to find tostr in write_attribute.
8063
8064 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8065
8066         * buffer.C (sgmlError): hide #warning
8067
8068 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * xtl/*: get rid of xtl, which is not in use anyway
8071
8072         * LyXAction.C (init):
8073         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8074         were unimplemented xtl experimentation
8075
8076 2002-06-04  André Pönitz <poenitz@gmx.net>
8077
8078         * lyxfunc.C: disable array operation on simple formulae
8079
8080 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * converter.C: constify a bit
8083
8084 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8085
8086         * lyx_gui.C: check xforms version correctly
8087
8088 2002-04-30  Herbert Voss  <voss@lyx.org>
8089
8090         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8091         "keep" option
8092
8093 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8094
8095         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8096           attempt to register it with a VCS)
8097
8098 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * lyx_main.C (init): honor variables LYX_DIR_13x and
8101         LYX_USERDIR_13x
8102
8103 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8104
8105         * buffer.h:
8106         * buffer.C:
8107         * lyx_main.C: fix a crash on bad command line,
8108           and give a useful exit status on error
8109
8110         * lyxfunc.C (doImport): allow -i lyx to work
8111
8112 2002-03-30  André Pönitz <poenitz@gmx.net>
8113
8114         * lyxfunc.C: mathed font changes
8115
8116 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8117
8118         * LaTeX.C:
8119         * importer.h:
8120         * importer.C:
8121         * lyx_sty.h:
8122         * lyx_sty.C:
8123         * lyxlex.C:
8124         * lyxrow.h:
8125         * lyxtext.h:
8126         * paragraph.h:
8127         * paragraph.C:
8128         * texrow.h:
8129         * texrow.C:
8130         * text.C:
8131         * trans_mgr.h: srcdocs, and some minor cleanups
8132
8133 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8134
8135         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8136         call getFont all the time)
8137
8138 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8139
8140         * switch from SigC signals to boost::signals
8141
8142 2002-05-29  André Pönitz <poenitz@gmx.net>
8143
8144         * paragraph_pimpl.C (getChar): don't call size() too often...
8145
8146 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * paragraph_pimpl.C (insertChar): do not try to update tables when
8149         appending (pos == size())
8150
8151         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8152         in order to reduce drastically the number of comparisons needed to
8153         parse a large document
8154
8155 2002-05-29  André Pönitz <poenitz@gmx.net>
8156
8157         * text.C:
8158         * text2.C:
8159         * lyxtextclass.C:
8160         * sp_pspell.h:
8161         * textclasslist.[Ch]:
8162         * sp_ispell.h: whitespace change
8163
8164 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8165
8166         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8167         lyxaction directly now.
8168
8169 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8170
8171         * trans.C:
8172         * lyxfont.C:
8173         * lyxvc.C: remove unused headers
8174
8175 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8176
8177         * Makefile.am:
8178         * buffer.h:
8179         * undostack.h:
8180         * undostack.C:
8181         * undo_funcs.h:
8182         * undo_funcs.C: some cleanups. Use shared_ptr
8183           and a template for the undo stacks.
8184
8185 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8186
8187         * BufferView_pimpl.h:
8188         * BufferView_pimpl.C:
8189         * kbmap.h:
8190         * kbmap.C:
8191         * kbsequence.h:
8192         * kbsequence.C:
8193         * lyxfunc.h:
8194         * lyxfunc.C:
8195         * text2.C: use key_state/mouse_state
8196
8197 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8198
8199         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8200         and LSubstring
8201
8202         * chset.C: change include order
8203         (loadFile): use boost regex and get rid of LRegex and LSubstring
8204
8205         * Makefile.am (BOOST_LIBS): new variable
8206         (lyx_LDADD): use it
8207
8208         * LaTeX.C: change include order.
8209         (scanAuxFile): use boost regex and get rid of LRegex and
8210         LSubstring
8211         (deplog): ditto
8212
8213 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * ColorHandler.h:
8216         * ColorHandler.C:
8217         * FontInfo.h:
8218         * FontInfo.C: moved to frontends/xforms/
8219
8220         * FontLoader.h:
8221         * FontLoader.C: moved into frontends for GUIIzation
8222
8223         * Makefile.am:
8224         * lyx_gui.C:
8225         * lyxfont.C:
8226         * lyxfunc.C: changes from above
8227
8228 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8229
8230         * LColor.C: remove spurious X include
8231
8232         * BufferView_pimpl.C:
8233         * Makefile.am:
8234         * font.h:
8235         * font.C:
8236         * text.C:
8237         * text2.C: move font metrics to frontends/
8238
8239 2002-05-24  Juergen Vigna  <jug@sad.it>
8240
8241         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8242         setting the undo_cursor.
8243
8244         * ParagraphParameters.h: include local includes first.
8245
8246 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * BufferView_pimpl.C:
8249         * BufferView_pimpl.h:
8250         * Makefile.am:
8251         * WorkArea.h:
8252         * WorkArea.C:
8253         * screen.C: move WorkArea into frontends/
8254
8255         * lyxscreen.h:
8256         * screen.C:
8257         * text.C:
8258         * BufferView.C:
8259         * BufferView2.C: move LyXScreen into frontends/
8260
8261         * lyxlookup.h:
8262         * lyxlookup.C:
8263         * lyx_gui.C: move lyxlookup into frontends/xforms/
8264
8265 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8266
8267         * BufferView2.C:
8268         * BufferView_pimpl.C:
8269         * FontLoader.C:
8270         * LyXView.h:
8271         * LyXView.C:
8272         * Makefile.am:
8273         * WorkArea.C:
8274         * XFormsView.h:
8275         * XFormsView.C:
8276         * buffer.C:
8277         * bufferlist.C:
8278         * bufferview_funcs.C:
8279         * converter.C:
8280         * importer.C:
8281         * lyx_cb.C:
8282         * lyx_gui.C:
8283         * lyx_main.C:
8284         * lyx_find.C:
8285         * lyxfunc.C:
8286         * lyxvc.C:
8287         * minibuffer.C:
8288         * text.C:
8289         * text2.C:
8290         * trans.C:
8291         * vc-backend.C: move LyX/XFormsView into frontends/
8292
8293 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8294
8295         * Makefile.am:
8296         * PainterBase.C:
8297         * PainterBase.h:
8298         * Painter.C:
8299         * Painter.h:
8300         * WorkArea.C:
8301         * WorkArea.h:
8302         * screen.C:
8303         * tabular.C:
8304         * text.C:
8305         * text2.C: move Painter to frontends/
8306
8307 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8308
8309         * buffer.C: comment out some some code that depend upon lyx_format
8310         < 220
8311
8312         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8313         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8314
8315         * buffer.h (NO_COMPABILITY): turn off compability
8316
8317         * ColorHandler.C: include scoped_array.hpp
8318
8319         * font.C: Use more specific smart_ptr header.
8320         * Painter.C: ditto
8321         * gettext.C: ditto
8322         * ShareContainer.h: ditto
8323         * lyx_main.h: ditto
8324         * kbmap.h: ditto
8325         * FontInfo.h: ditto
8326         * BufferView_pimpl.h: ditto
8327         * ColorHandler.h: ditto
8328
8329         * kbmap.C (defkey): change call to shared_ptr::reset
8330
8331 2002-05-21  Juergen Vigna  <jug@sad.it>
8332
8333         * buffer.C (insertErtContents): fix to insert ert asis if it is
8334         non empty. Skip it completely if it contains only whitespaces.
8335
8336 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8337
8338         * BufferView_pimpl.C:
8339         * BufferView2.C: clear selection on paste (bug 393)
8340
8341 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8342
8343         * DepTable.C: include ctime
8344
8345 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8346
8347         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8348
8349 2002-05-14  Juergen Vigna  <jug@sad.it>
8350
8351         * text.C (breakParagraph): fixed function to honor the keepempty
8352         layout in the right maner and also to permit the right breaking
8353         algorithm on empty or non empyt keepempty paragraphs.
8354
8355         * paragraph.C (breakParagraph): we have to check also if the par
8356         is really empty (!size()) for isempty otherwise we do the wrong
8357         paragraph break.
8358
8359 2002-05-10  Juergen Vigna  <jug@sad.it>
8360
8361         * buffer.[Ch] : The following are only changes to the ert
8362         compatibility read reading old LaTeX layout and font stuff and
8363         convert it to ERTInsets.
8364
8365         * buffer.h: added isErtInset().
8366
8367         * buffer.C (struct ErtComp): add a fromlayout bool to check
8368         if we're inside a LaTeX layout.
8369         (isErtInset): new helper function.
8370         (insertErtContents): look for other ert insets before this one
8371         and insert the contents there, so that we don't have subsequent
8372         ERT insets with nothing between them. This way we create only one
8373         inset with multiple paragraphs. Also check if we don't insert only
8374         spaces ' ' as they are ignored anyway afterwards in the .tex file
8375         so if we have only spaces we will ignore this latex part in the
8376         new file.
8377         (parseSingleLyXformat2Token \\layout): better compatibility when
8378         reading layout-latex stuff.
8379         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8380         language tag.
8381         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8382         stuff after reading the inset only get the information back from
8383         the stack.
8384
8385 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8386
8387         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8388
8389         * LaTeXFeatures.C (getBabelOptions): New method.
8390
8391 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8392
8393         * BufferView_pimpl.C (Dispatch): work around missing argument for
8394         'layout'
8395
8396 2002-05-08  Juergen Vigna  <jug@sad.it>
8397
8398         * text.C (leftMargin): handle paragraph leftindent.
8399
8400         * paragraph.C (writeFile): write the new \\leftindent tag.
8401         (validate): handle leftindent code.
8402         (TeXEnvironment): handle paragraphleftindent code again.
8403
8404         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8405
8406         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8407         for paragrap_extra indent code and new token \\leftindent.
8408         (latexParagraphs): handle the leftindent as environment.
8409
8410         * ParameterStruct.h: added leftindent support.
8411
8412         * ParagraphParameters.C (leftIndent): added support functions for
8413         the paragraph left indent.
8414
8415         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8416         more appropriate.
8417
8418 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8419
8420         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8421         inside insetERT.
8422
8423         * text.C (computeBidiTables): No bidi in insetERT.
8424
8425         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8426         in RTL documents.
8427
8428 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8429
8430         * version.C.in: pre 5
8431
8432 2002-05-02  José Matos  <jamatos@fep.up.pt>
8433         * buffer.C (makeDocBookFile): white space changes, add newline to
8434         command styles.
8435         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8436
8437         * tabular.C (docBook): fix typo.
8438
8439 2002-05-03  Juergen Vigna  <jug@sad.it>
8440
8441         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8442         change in LyXText as we can not be sure it was not freed.
8443         (drawOneRow): remove unused code.
8444
8445         * text.C (drawInset): redo the calculation of the need_break_row as
8446         it could have a row which was already freed.
8447         (draw): look at the return value of drawInset and return false if
8448         it also returned false.
8449         (paintRowText): look at the return value of draw and return false if
8450         it also returned false.
8451
8452         * lyxtext.h: added bool return type to drawInset() and draw() so that
8453         if we have a change in the row so that the rowbreak has to be redone
8454         we abort drawing as it will be called again.
8455
8456 2002-05-02  Juergen Vigna  <jug@sad.it>
8457
8458         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8459         a change in the maintext also if we're inside an inset.
8460         (Dispatch): set the cursor again after a break line and after the
8461         screen has been updated as it could be we're in a different row.
8462
8463         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8464         to set the cursor behind the pargraph with > size().
8465         (setCursor): check also for the same paragraph when checking where
8466         to put the cursor if we have a NFR inset.
8467
8468         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8469         parts of layout read further up as it still was in the wrong
8470         position.
8471
8472 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * screen.C (drawFromTo): change sine fullRebreak always return
8475         true.
8476
8477         * buffer.C (parseSingleLyXformat2Token): reindent some
8478
8479         * BufferView_pimpl.C (update): change since fullRebreak always
8480         return true.
8481         (Dispatch): git rid of the last hardcoded "Standard"s.
8482
8483 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8484
8485         * text2.[Ch] (fullRebreak): make it return void now that we always
8486         returned true.
8487
8488 2002-04-30  Juergen Vigna  <jug@sad.it>
8489
8490         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8491         ert compatibility check for "latex" layout.
8492
8493 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8494
8495         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8496         minipages: use col% instead of p%, and also use the current font.
8497         (makeLaTeXFile): Fix use babel condition.
8498         (parseSingleLyXformat2Token): Correct font when reading old floats.
8499
8500 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8501
8502         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8503         inserting list of floats.
8504
8505 2002-04-25  Herbert Voss  <voss@lyx.org>
8506
8507         * MenuBackend.C (expand): don't add the graphics extensions to the
8508         export menu
8509
8510 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8511
8512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8513         non-existing layout, do not complain if it was the default layout
8514         of the original class (bug #342)
8515
8516 2002-04-24  Juergen Vigna  <jug@sad.it>
8517
8518         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8519         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8520
8521 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8522
8523         * buffer.C (getBibkeyList): If using \bibliography, return the
8524         option field with the reference itself. Enables us to provide natbib
8525         support when using \bibliography.
8526
8527 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8528
8529         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8530
8531         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8532         natbib is provided by the LaTeX class.
8533
8534 2002-04-23  Juergen Vigna  <jug@sad.it>
8535
8536         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8537         Wakeup functions.
8538
8539         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8540
8541 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8542
8543         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8544
8545         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8546         ensuremath around textordmasculine, textordfeminine and
8547         textdegree.
8548
8549 2002-04-19  Juergen Vigna  <jug@sad.it>
8550
8551         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8552         reinitializing the buffer otherwise row-dimensions may be wrong.
8553         (update): reset also the selection cursors if they do exits otherwise
8554         their x/y positions may be wrong.
8555
8556         * text2.C (cursorDown): don't enter the inset if we came from a row
8557         above and are one row over the inset.
8558
8559         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8560         really leaving an inset.
8561
8562 2002-04-18  Juergen Vigna  <jug@sad.it>
8563
8564         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8565         of the selected paragraph does not have the selected layout also if
8566         the last one had!
8567
8568         * text2.C (setLayout): fixed bug which did not change last selected
8569         paragraph.
8570
8571         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8572         changed the read and substituted \\end_float with \\end_inset!
8573
8574         * BufferView_pimpl.C (cursorPrevious):
8575         (cursorNext): fixed to make it work with rows heigher than the work
8576         area without moving the cursor only the draw of the row.
8577         (workAreaMotionNotify): fix jumping over high rows.
8578
8579 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8580
8581         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8582         Ressler.
8583
8584 2002-04-16  Juergen Vigna  <jug@sad.it>
8585
8586         * text2.C (setCursor): set also the irow().
8587         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8588         (cursorUp):
8589         (cursorDown): support for locking an inset if the x_fix value goes
8590         inside it. That way I can transverse insets too with cursor up/down.
8591
8592         * lyxrow.h: added irow helper function same as other (i) functions.
8593
8594         * BufferView_pimpl.C (cursorPrevious):
8595         (cursorNext): fixed for insets!
8596
8597 2002-04-15  Juergen Vigna  <jug@sad.it>
8598
8599         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8600         position otherwise it is wrong in some cases.
8601
8602         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8603         inside the inset before the call.
8604
8605 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8606
8607         * buffer.[Ch] (getBibkeyList): make it const.
8608
8609 2002-04-12  Juergen Vigna  <jug@sad.it>
8610
8611         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8612
8613         * text2.C (getCursorX): new helper function
8614         (setCursor): compute also ix_
8615         (setCursorFromCoordinates): set also ix.
8616
8617         * lyxcursor.h: added ix_ and helper functions.
8618
8619         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8620
8621         * buffer.C (insertStringAsLines): dont break paragraph if the this
8622         paragraph is inside an inset which does not permit it!
8623
8624         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8625         also with no chars on this paragraph.
8626         (paintRowText): only paint stuff if it's inside the workarea!
8627
8628         * paragraph.C (breakParagraph): honor keepempty flag and break the
8629         paragraph always below not above.
8630
8631         * BufferView2.C (unlockInset): update the paragraph layout on inset
8632         unlock as we changed paragraph in such a case.
8633
8634         * lyxfind.C (LyXFind): clear the former selection if not found!
8635
8636         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8637         again called in insertChar().
8638
8639         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8640         an inset which uses the whole row!
8641         (rightMargin): ditto.
8642         (insertChar): force a rebreak if we inserted an inset!
8643
8644 2002-03-28  Herbert Voss  <voss@lyx.org>
8645
8646         * lyxlength.[Ch]: add inBP() to get the right PS-point
8647         units (BigPoint). With inPixels we have rounding errors
8648
8649 2002-04-11  Juergen Vigna  <jug@sad.it>
8650
8651         * text2.C (setCursorFromCoordinates): set iy to the right value.
8652         (setCursor): add check if row->previous exists!
8653
8654         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8655         an old float_type as this was the case in the old code!
8656
8657         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8658
8659         * BufferView2.C (showLockedInsetCursor): use iy
8660         (fitLockedInsetCursor): ditto
8661
8662         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8663         locked insets as there we have the right value now.
8664
8665         * lyxcursor.C: added iy_ variable and iy functions to set to the
8666         baseline of cursor-y of the locked inset.
8667
8668         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8669         (setCursor): fixed for insets which need a full row.
8670
8671         * text.C (rowLastPrintable): don't ignore the last space when before
8672         an inset which needs a full row.
8673         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8674         as last character of a row when before a inset which needs a full row.
8675
8676 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8677
8678         * version.C.in: update date
8679
8680         * text2.C (fullRebreak): try to always return true and see what
8681         happens...
8682
8683 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8684
8685         * MenuBackend.C (expand): use Floating::listName
8686
8687         * FloatList.C (FloatList): add listName argument to the built-in
8688         floats
8689
8690         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8691         text associated with the float.
8692
8693 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8696
8697 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8698
8699         * ShareContainer.h: add a couple of missing typenames.
8700
8701 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8702
8703         * lyxrc.C (getDescription): use _() correctly rather than N_().
8704
8705 2002-03-28  Herbert Voss  <voss@lyx.org>
8706
8707         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8708         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8709
8710 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8711
8712         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8713         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8714
8715 2002-03-29  Juergen Vigna  <jug@sad.it>
8716
8717         * lyxfunc.C (dispatch): add a missing fitCursor call.
8718
8719         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8720         it was scrolled by a cursor move, so return the bool status.
8721
8722         * BufferView.C (fitCursor): return the bool flag also to the outside
8723         world as this is needed.
8724
8725         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8726
8727         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8728         call the edit() as it is not needed (and wrong) IMO.
8729         (workAreaButtonPress): set the screen_first variable before evt.
8730         unlock the inset as this may change screen_first and then we have
8731         a wrong y position for the click!
8732
8733 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * MenuBackend.C (expand): another translation that I missed
8736
8737 2002-03-28  Juergen Vigna  <jug@sad.it>
8738
8739         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8740
8741         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8742
8743 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8746
8747         * MenuBackend.C (expand): fix export/view/update when there is no
8748         document open.
8749
8750 2002-03-27  Herbert Voss  <voss@lyx.org>
8751
8752         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8753         and text%
8754
8755 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * bufferview_funcs.C (currentState): only show paragraph number
8758         for is DEVEL_VERSION is set.
8759
8760         * lyxfunc.C (dispatch): put warning in INFO channel
8761
8762         * MenuBackend.C (expand): translate the name of floats
8763
8764         * FloatList.C (FloatList): mark the float names for translation
8765
8766         * converter.C (convert): use LibScriptSearch
8767
8768 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * MenuBackend.C (defaults): fix default menu (we might as well get
8771         rid of it...)
8772
8773 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8774
8775         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8776         directory.
8777
8778 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8779
8780         * lyxvc.C: reorder includes.
8781
8782 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8783
8784         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8785           properly
8786
8787 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * CutAndPaste.C: change layouts earlier on paste
8790           to avoid crashing when calling getFont()
8791
8792 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8793
8794         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8795         irritating #error.
8796
8797 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8798
8799         * WorkArea.C: remove 'Pending' debug message.
8800
8801         * most files: ws cleanup
8802
8803         * buffer.[Ch]: ws changes
8804
8805         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8806
8807 2002-03-21  Juergen Vigna  <jug@sad.it>
8808
8809         * tabular.C (SetMultiColumn): collapse also the contents of the
8810         cells and set the last border right. Added a Buffer const * param.
8811
8812 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8815         linking or not.
8816
8817 2002-03-19  Juergen Vigna  <jug@sad.it>
8818
8819         * text2.C (clearSelection): reset also xsel_cache.
8820
8821         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8822         where it needs to be called (John tells us to do so too :)
8823         (selectionLost): reset sel_cache.
8824
8825         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8826
8827 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * text2.C (setCursorIntern): put debuging code in INSETS channel
8830
8831 2002-03-19  André Pönitz <poenitz@gmx.net>
8832
8833         * lyxfunc.C: tiny whitespace change
8834
8835 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * ToolbarDefaults.C (init):
8838         * LyXAction.C (init):
8839         * commandtags.h:
8840         * BufferView_pimpl.C (Dispatch):
8841         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8842
8843 2002-03-19  Allan Rae  <rae@lyx.org>
8844
8845         * exporter.C (Export): removeAutoInsets before doing anything else.
8846         While I've just introduced a dependency on BufferView this really is
8847         the best place to clean the buffer otherwise you need to cleanup in
8848         a dozen places before calling export or cleanup in a dozen functions
8849         that export calls.
8850
8851         * converter.C (runLaTeX):
8852         (scanLog): Better handling of removeAutoInsets and screen updates.
8853
8854         * lyxfunc.C (dispatch): small whitespace changes
8855
8856 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8857
8858         * WorkArea.C (C_WorkAreaEvent): return a value.
8859         (event_cb): return 1 if we handled the event, 0 otherwise.
8860
8861         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8862
8863 2002-03-18  Juergen Vigna  <jug@sad.it>
8864
8865         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8866         (GetAdditionalWidth): ditto.
8867         (RightLine): ditto.
8868         (LeftLine): ditto.
8869
8870         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8871         inset if we're there actually (probably not used right now but this
8872         is the direction to go for unifying code).
8873         (paste): disable code to clear the selection.
8874
8875         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8876         inside an InsetText and move the check further up as it is in the
8877         wrong place.
8878
8879         * text2.C (pasteSelection): set a selection over the pasted text.
8880
8881 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8882
8883         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8884         and libgraphics to build on Cygwin.
8885
8886 2002-03-15  Juergen Vigna  <jug@sad.it>
8887
8888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8889         inserting an Inset into the paragraph. I know this is not the best
8890         fix but we already use current_view in CutAndPaste so we will remove
8891         all of it's using at the same time.
8892
8893         * buffer.C (sgmlError): deactivated function till it is rewritten in
8894         the right mode, now it can create problems.
8895
8896         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8897         before accessing it.
8898
8899 2002-03-14  Juergen Vigna  <jug@sad.it>
8900
8901         * undo_funcs.C (textHandleUndo): do the right thing when updating
8902         the inset after the undo/redo.
8903
8904         * text2.C (setCursor): just some testcode for #44 not ready yet.
8905
8906         * undo_funcs.C (textHandleUndo): set the next() and previous()
8907         pointers of the paragraph to 0 before deleting otherwise we have
8908         problems with the Paragraph::[destructor].
8909
8910         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8911         on a paragraph insertion.
8912
8913 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8914
8915         * buffer.C (asciiParagraph): use += operator for char append to
8916         string.
8917
8918         * paragraph.C (getFontSettings): compare >= not just >
8919         (highestFontInRange): ditto
8920         (setFont): ditto
8921
8922 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8923
8924         * paragraph.C: change several algorithm to be more appripriate for
8925         the problem domain. This is lookip in FontList and in the InsetList.
8926
8927 2002-03-13  André Pönitz <poenitz@gmx.net>
8928
8929         * commandtags.h:
8930         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8931
8932 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * commandtags.h:
8935         * LyXAction.C:
8936         * lyxfunc.C:
8937         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8938
8939 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8940
8941         * Painter.C (display): anon helper function, adjust code for this
8942         change.
8943         (pixmap): remove function.
8944
8945         * Painter.h: remove private display variable.
8946
8947         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8948
8949 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8950
8951         * WorkArea.[Ch]: remove figinset_canvas cruft.
8952
8953 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8954
8955         * lyxtextclass.C (operator): add one item cache optimization.
8956
8957         * bufferlist.h: doxy changes
8958
8959         * bufferlist.C: ws changes
8960
8961         * DepTable.[Ch] (ext_exist): place const in the right spot.
8962
8963         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8964         call resizeInsets.
8965         (workAreaExpose): call resizeInsets when the with BufferView changes.
8966         (Dispatch): adjust for protectedBlank removal
8967         (specialChar): call updateInset if the insert went ok.
8968
8969         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8970         specialChar instead.
8971
8972         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8973
8974         * BufferView.h: doxy change
8975
8976         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8977
8978         * lyxtextclass.C (operator[]): remove non-const version
8979         (defaultLayout): remove non-const version
8980
8981 2002-03-12  Juergen Vigna  <jug@sad.it>
8982
8983         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8984         did resize the LyXText too.
8985
8986         * buffer.C (readLyXformat2): set layout information on newly allocated
8987         paragraphs.
8988
8989         * tabular.C (OldFormatRead): set layout information on the paragraph.
8990
8991 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8992
8993         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8994
8995 2002-03-11  Juergen Vigna  <jug@sad.it>
8996
8997         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8998         plainly wrong.
8999         (resizeCurrentBuffer): force also the insets to resize themselfes.
9000         (moveCursorUpdate): fixed up for InsetText.
9001
9002 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9003
9004         * commandtags.h:
9005         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9006         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9007         value of Dialogs::tooltipsEnabled().
9008         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9009
9010 2002-03-08  Juergen Vigna  <jug@sad.it>
9011
9012         * BufferView_pimpl.C (updateInset): update inset inside inset also
9013         if it isn't inside theLockingInset().
9014
9015 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9016
9017         * buffer.C (asciiParagraph): redo some of the word and line length
9018         handling.
9019         (getLists): look for Caption instead of caption.
9020
9021 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9022
9023         * buffer.C (Buffer): initialize niceFile to true
9024         (makeLaTeXFile):
9025         (makeLinuxDocFile):
9026         (makeDocBookFile): make sure niceFile is true on exit
9027
9028 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9031
9032 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9033
9034         * LyXSendto.C: remove.
9035         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9036         * lyx_gui.C: remove now-redundant comment.
9037         * ColorHandler.h: remove forward declaration of class WorkArea.
9038         * lyxfunc.C: remove #include "WorkArea.h".
9039
9040 2002-03-07  Juergen Vigna  <jug@sad.it>
9041
9042         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9043         got moved away with the DEPM and also set the inset_owner always
9044         right which before could have been omitted.
9045
9046 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9047
9048         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9049         wanted layout is not found.
9050
9051 2002-03-07  Juergen Vigna  <jug@sad.it>
9052
9053         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9054
9055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9056
9057         * paragraph.C (breakParagraph): use default layout not layout of
9058         prev paragraph.
9059         (Paragraph): clear ParagraphParameters.
9060
9061 2002-03-06  Juergen Vigna  <jug@sad.it>
9062
9063         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9064         otherwise it would not be a valid lenght. Fixed a special case in
9065         the minipage compatibility read where we end the document with a
9066         minipage.
9067
9068         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9069         was set as it could be 0 for InsetTexts first entry.
9070
9071 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * paragraph.C (writeFile): if layout is empty write out
9074         defaultLayoutName().
9075
9076         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9077         file without named layout we set layout to defaultLayoutName().
9078
9079 2002-03-06  Juergen Vigna  <jug@sad.it>
9080
9081         * CutAndPaste.C (copySelection): set layout for new paragraph.
9082
9083         * text.C (prepareToPrint): leave ERT inset left aligned
9084         (leftMargin): don't indent paragraphs inside ERT insets
9085
9086 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * paragraph.C (breakParagraph): dont call clear do the work manually
9089
9090         * paragraph.[Ch] (clear): remove function
9091
9092 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9093
9094         * paragraph.C (Paragraph): dont call clear, the work has already
9095         been done.
9096
9097         * lyxtextclass.C (operator): assert if n is empty
9098
9099         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9100         work manually instead.
9101
9102 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9103
9104         * BufferView_pimpl.C: protect selectionLost against text == 0
9105
9106 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * text.C (breakParagraph): fix a setting layout to '0' problem.
9109
9110 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9111
9112         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9113         final location of file, for the included files, and graphics.
9114
9115 2002-03-05  Juergen Vigna  <jug@sad.it>
9116
9117         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9118
9119 2002-03-04  Juergen Vigna  <jug@sad.it>
9120
9121         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9122
9123         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9124         last column of multicolumn cells.
9125         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9126
9127 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9128
9129         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9130         file if it doesn't go to a temporary file.
9131
9132         * buffer.C (sgmlOpenTag):
9133         (sgmlCloseTag):  remove extra newline insertion.
9134
9135 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * text.C (getRowNearY): comment out debug msg
9138
9139 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9140
9141         * text2.C: first -> first_y
9142
9143         * text.C (getRowNearY): add some attemts at a possible
9144         optimization, not working.
9145
9146         * tabular.[Ch]: add BufferParams to several function so that newly
9147         created paragraph can be initialized to he default layotu for the
9148         buffers textclass.
9149
9150         * tabular-old.C (ReadOld): add buf->params to call of Init
9151
9152         * screen.C: rename text->first to text->first_y
9153
9154         * paragraph.C (breakParagraph): always set layout in the broken
9155         paragraph
9156
9157         * lyxtextclass.C (Read): remove lowercase
9158         (hasLayout): ditto
9159         (operator): ditto
9160         (delete_layout): ditto
9161
9162         * lyxtext.h: rename first -> first_y
9163
9164         * lyxlayout.C (Read): remove lowercase
9165         (name): ditto
9166         (setName): ditto
9167         (obsoleted_by): ditto
9168
9169         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9170
9171         * buffer.C (insertErtContents): add params are to InsetERT
9172         (parseSingleLyXformat2Token): add code to check if a paragraphs
9173         layout really exist.
9174         (parseSingleLyXformat2Token): add params to several inset
9175         constructors
9176         (asciiParagraph): remove lowercase, do the layout comparisons with
9177         no_case
9178
9179         * BufferView_pimpl.C (cursorNext): first -> first_y
9180         (resizeCurrentBuffer): first -> first_y
9181         (updateScrollbar): first -> first_y
9182         (scrollCB): first -> first_y
9183         (workAreaMotionNotify): first -> first_y
9184         (workAreaButtonPress): first -> first_y
9185         (checkInsetHit): first -> first_y
9186         (cursorPrevious): first -> first_y
9187         (cursorNext): first -> first_y
9188         (Dispatch): add buffer_->params to severl inset contructors
9189
9190 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * lyxlayout.C (Read): remove some debug info that I forgot.
9193
9194         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9195         clean up the code slightly.
9196         (makeLinuxDocFile): ditto
9197         (makeDocBookFile): ditto
9198
9199         * text2.C: layout as string
9200
9201         * text.C: layout as string
9202
9203         * paragraph_pimpl.C: layout as string
9204
9205         * paragraph.[Ch]: layout as string
9206
9207         * lyxtextclasslist.[Ch]: layout as string
9208
9209         * lyxtextclass.[Ch]: layout as string
9210
9211         * lyxtext.h: layout as string
9212
9213         * lyxlayout.[Ch]: layout as string
9214
9215         * lyx_cb.C: layout as string
9216
9217         * bufferview_funcs.C: layout as string
9218
9219         * bufferparams.C: layout as string
9220
9221         * buffer.C: layout as string
9222
9223         * LyXView.[Ch]: layout as string
9224
9225         * LaTeXFeatures.[Ch]: layout as string
9226
9227         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9228
9229         * BufferView_pimpl.C: change current_layout to string, remove
9230         lyx::layout_type.
9231         (Dispatch):
9232         (smartQuote):
9233         (insertInset):
9234         (workAreaButtonRelease): layout as string
9235
9236         * BufferView2.C (unlockInset): adjust
9237
9238         * vspace.C (asLatexCommand): use an explict temp variable.
9239
9240 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * Makefile.am: use FRONTEND_*
9243
9244 2002-03-01  Juergen Vigna  <jug@sad.it>
9245
9246         * tabular.C (SetWidthOfMulticolCell): changed to something better
9247         I hope but still work in progress.
9248         (recalculateMulticolumnsOfColumn): renamed function from
9249         recalculateMulticolCells as it is more appropriate now.
9250         (SetWidthOfCell): calculate multicols better.
9251
9252 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9255
9256         * lyxfunc.C (processKeySym): print sequence also if it is
9257         `deleted' (complete)
9258
9259         * kbsequence.C (print): print sequence even if it is deleted
9260         (complete would be a better word, actually).
9261
9262         * lyxfunc.C (dispatch): print complete options after a prefix key
9263
9264         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9265
9266 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9267
9268         * text2.C (setCharFont): eliminate setCharFont code duplication.
9269
9270 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9273         LFUN_TABULAR_FEATURE (bug #177)
9274
9275 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9276
9277         * Makefile.am: remove figure.h
9278
9279 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9280
9281         * Bufferview_pimpl.C:
9282         * CutAndPasteC:
9283         * LaTeX.C:
9284         * LyXSendto.C:
9285         * buffer.C:
9286         * bufferlist.C:
9287         * converter.C:
9288         * language.C:
9289         * lyxfunc.C:
9290         * lyxvc.C:
9291         * paragraph.C:
9292         * text.C:
9293         * text2.C: remove #include "lyx_gui_misc.h".
9294
9295         * LaTeX.C: added #include <cstdio>
9296
9297 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9298
9299         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9300         that the paragraph following this one can have.
9301
9302         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9303
9304         * vspace.C (asLatexCommand): fix bogus gcc warning
9305
9306         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9307
9308 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9309
9310         * text2.C (setLayout): get rid of redundant code
9311
9312 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9313
9314         * text2.C (incDepth): make sure depth cannot be increased beyond
9315         reasonable values.
9316
9317 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9318
9319         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9320         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9321
9322         * PainterBase.h (image):
9323         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9324         a LyXImage const *.
9325
9326 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * BufferView.C:
9329         * BufferView.h:
9330         * BufferView_pimpl.C:
9331         * BufferView_pimpl.h:
9332         * LaTeXFeatures.C:
9333         * LyXAction.C:
9334         * LyXView.C:
9335         * Makefile.am:
9336         * UpdateList.h:
9337         * UpdateList.C:
9338         * buffer.C:
9339         * figure.h:
9340         * figureForm.C:
9341         * figureForm.h:
9342         * figure_form.C:
9343         * figure_form.h:
9344         * lyx_cb.C:
9345         * lyx_gui.C:
9346         * lyx_gui_misc.C:
9347         * lyxfunc.C:
9348         * sp_base.h:
9349         * sp_ispell.h:
9350         * sp_pspell.h:
9351         * sp_spell.C: remove fig inset, and the crap house of
9352           cards that follows it
9353
9354 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * Makefile.am:
9357         * lyxserver.C:
9358         * os2_defines.h:
9359         * os2_errortable.h:
9360         * nt_defines.h: move .h into support/
9361
9362         * vms_defines.h: remove
9363
9364         * WorkArea.C: add space in debug output
9365
9366         * text2.C:
9367         * paragraph.C:
9368         * buffer.C: add WITH_WARNINGS
9369
9370         * vc-backend.h:
9371         * vc-backend.C:
9372         * bufferlist.C: s/retrive/retrieve/, add docs
9373
9374         * vspace.h:
9375         * vspace.C:
9376         * kbmap.h:
9377         * lyxlength.h:
9378         * lyxgluelength.h:
9379         * length_common.h:
9380         * chset.h:
9381         * chset.C: add docs
9382
9383         * lyxgui.C: add ID to X error handler
9384
9385         * lyxtestclass.c: fix typo
9386
9387 2002-02-26  Juergen Vigna  <jug@sad.it>
9388
9389         * tabular_funcs.C (write_attribute): changed so that some default
9390         attributes are not written at all.
9391         (getTokenValue): set default values before trying to read the
9392         value so we have the return value always set as default if we don't
9393         find the token we search for.
9394
9395         * tabular.C (Write): write bools as bools not as strings!
9396
9397 2002-02-22  Juergen Vigna  <jug@sad.it>
9398
9399         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9400         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9401
9402         * text.C (leftMargin): don't add an indent for paragraphs inside
9403         tabular cells (fix #208).
9404
9405 2002-02-21  José Matos  <jamatos@fep.up.pt>
9406
9407         * tabular.C (docBook): fixed support for long tables.
9408
9409 2002-02-20  Juergen Vigna  <jug@sad.it>
9410
9411         * text2.C (getFont): get the drawing font of the Inset if this
9412         paragraph is inside an inset (only important for InsetERT for now).
9413
9414         * buffer.C (insertErtContents): use new lanugage params in ERT
9415         constructor.
9416
9417         * CutAndPaste.C: commenting out seemingly uneeded code.
9418
9419 2002-02-19  Allan Rae  <rae@lyx.org>
9420
9421         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9422         Iterators might be simple to use but they also get invalidated.
9423         (removeAutoInsets): renamed saved cursor tracking variables and added
9424         some comments to clarify what everything does.
9425
9426 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9427
9428         * Chktex.C:
9429         * LaTeX.C:
9430         * LyXSendto.C:
9431         * converter.C:
9432         * lyx_cb.C:
9433         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9434         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9435
9436         * lyxfunc.C:
9437         * vc-backend.h: remove #include "support/syscall.h"
9438
9439         * LaTeX.C:
9440         * LyXSendto.C:
9441         * converter.C: rearrange #includes in Lars' approved fashion.
9442
9443         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9444         forward declare class Timeout in the header file.
9445
9446         * XFormsView.C: changes due to the above.
9447
9448         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9449         similar to LyXView.
9450
9451         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9452         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9453
9454 2002-02-18  José Matos  <jamatos@fep.up.pt>
9455
9456         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9457         insets contents.
9458
9459 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9460
9461         * a lot of small ws changes
9462         * add a lot of using std::XXX
9463         * use std construcs some places where approp.
9464         * use some exisint stuff from lyxfunctional where approp.
9465         * Make file changes to use partial linking (lets test this now...)
9466
9467 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9468
9469         * Chktex.C:
9470         * buffer.C:
9471         remove #include "support/syscontr.h" as it's redundant. Always has been.
9472
9473         * Chktex.C:
9474         * LaTeX.C:
9475         * LyXSendto.C:
9476         * converter.C:
9477         * lyx_cb.C:
9478         * vc-backend.C:
9479         change Systemcalls::System to Systemcalls::Wait and
9480         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9481         No change of functionality, just reflects the stripped down Systemcalls
9482         class.
9483
9484 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * debug.[Ch]: add a GRAPHICS type to the enum.
9487
9488 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9491
9492         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9493         there is an inset.
9494
9495 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9496
9497         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9498         match the changes below.
9499
9500         * text2.C (toggleInset): if there is not editable inset at cursor
9501         position, try to see if cursor is _inside_ a collapsable inset
9502         and close it.
9503
9504 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9507         document menu has a nice checkbox
9508
9509 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9510
9511         * lyxlength.C (asLatexString): change PW to output as percent of
9512         \textwidth.
9513
9514         * lengthcommon.C: change '%' to 't%'
9515
9516         * lyxfunc.C (dispatch): a few comments from Martin
9517
9518 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * WorkArea.h:
9521         * WorkArea.C:
9522         * BufferView_pimpl.h:
9523         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9524           the X selection.
9525
9526 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * vspace.C (inPixels): fix compiler warning
9529
9530 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyxfunc.C (getStatus): fix status message for disabled commands.
9533
9534 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * BufferView_pimpl.C: fix crash on close buffer
9537         during selection (#227)
9538
9539 2002-01-27  Herbert Voss  <voss@lyx.org>
9540
9541         * buffer.C: link old Figure to new graphic inset
9542
9543 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9544
9545         * FontLoader.C (getFontinfo): Change the latex font names in order
9546         to match the names of type1inst.
9547
9548 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9549
9550         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9551
9552         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9553         (extchanged): ditto
9554         (ext_exist): ditto
9555         (remove_files_with_extension): ditto
9556         (remove_file): ditto
9557         (write): ditto
9558
9559         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9560         document is smaller than the work area height. Do not initialize
9561         static variables to 0.
9562
9563 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9566
9567         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9568         LFUN_LAYOUT_PARAGRAPHS.
9569
9570         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9571         tabular. It is possible to provide a possible cell, which will
9572         typically be the actcell from the corresponding insettabular
9573
9574         * lyxfunc.C (getStatus): small cleanup; disable
9575         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9576         true
9577
9578 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9581
9582         * paragraph.C (startTeXParParams):
9583         (endTeXParParams): new methods. The LaTeX code to
9584         start/end paragraph formatting
9585         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9586         empty (fixes bug #200)
9587
9588         * vspace.C (inPixels): adapt to the change below
9589         (inPixels): [later] more cleanups (remove unused variables)
9590
9591         * lyxlength.C (inPixels): change to use a width and a height as
9592         parameter.
9593
9594 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9595
9596         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9597         Replaced with \paperwidth
9598
9599         * DepTable.C (insert): add std:: qualifier
9600
9601 2002-01-18  Allan Rae  <rae@lyx.org>
9602
9603         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9604         updated also?
9605
9606         * text.C (drawInset): Turned out I didn't know enough about how
9607         rebreaking worked.  This fixes most of the redraw problems.  I see
9608         an occasional cursor trail when a line is broken now and the cursor
9609         placement can seem out by a few pixels also after a rebreak.
9610
9611 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9612
9613         * buffer.C (parseSingleLyXformat2Token): update because minipage
9614         width is now a LyXLength
9615
9616         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9617
9618         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9619         math insets
9620
9621 2002-01-17  Juergen Vigna  <jug@sad.it>
9622
9623         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9624
9625         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9626         is set correctly and the inset is updated correctly.
9627
9628 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9629
9630         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9631         the beginning of the loop.
9632
9633 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * lyxrc.C: improve help for use_scalable_fonts
9636
9637 2002-01-17  Allan Rae  <rae@lyx.org>
9638
9639         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9640
9641 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9642
9643         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9644         make sure to set their inset_owner to the right value (bug #171)
9645
9646 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9647
9648         * DepTable.h
9649         * DepTable.C: Implement mtime checking to reduce time spent doing
9650         CRCs.
9651
9652 2002-01-16  Juergen Vigna  <jug@sad.it>
9653
9654         * tabular.C (GetAdditionalHeight): one of error fixed.
9655
9656         * lyxrc.C (output): small fix in writing use_pspell.
9657
9658 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9659
9660         * sp_base.h: #include LString.h
9661
9662 2002-01-16  Allan Rae  <rae@lyx.org>
9663
9664         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9665         Can someone check this please?
9666
9667         * text.C (drawInset): It was possible that p.row would be removed by
9668         breakAgainOneRow upsetting a few other settings.  There may be another
9669         small tweak possible by setting need_break_row = 0 when p.row has been
9670         removed but I don't know enough about the logic here.
9671
9672 2002-01-15  Allan Rae  <rae@lyx.org>
9673
9674         * text.C (insertChar): removed conditional truism.
9675
9676         * BufferView2.C (removeAutoInsets): More tweaks.
9677         cur_par_prev could be a stray pointer.  Check for trailing empty line
9678         in case last line was cur_par and only had an error inset on it.
9679
9680 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9683         absolute
9684
9685         * vc-backend.C (most methods):
9686         * exporter.C (Export):
9687         * converter.C (convert):
9688         (runLaTeX):
9689         * LyXSendto.C (SendtoApplyCB):
9690         * lyxfunc.C (dispatch):
9691         (menuNew):
9692         (open):
9693         (doImport):
9694         * lyx_cb.C (AutoSave):
9695         (InsertAsciiFile):
9696         * BufferView_pimpl.C (MenuInsertLyXFile):
9697         * buffer.C (runChktex): use Buffer::filePath().
9698
9699         * buffer.h: rename filename to filename_; rename filepath to
9700         filepath_ and make it private
9701         (filePath): new method
9702
9703         * buffer.C (writeFile): use fileName()
9704         (getLatexName):
9705
9706         * lyx_main.C (init): fix starting  of LyX when the binary is a
9707         link from so,ewhere else.
9708
9709         * minibuffer.C: include <cctype> for isprint
9710
9711 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9712
9713         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9714         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9715         name clash with InsetCollapsable's width function.
9716
9717 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * lastfiles.C: include <iterator>
9720
9721 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9724         std::count.
9725
9726         * buffer.C (makeLaTeXFile): ditto.
9727         Also make loop operation more transparent.
9728
9729 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9730
9731         * ToolbarDefaults.C: remove trailing comma closing namespace.
9732
9733         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9734
9735         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9736         as in WorkArea.
9737
9738         * trans.C (Load): comment out unused variable, allowed.
9739
9740 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9741
9742         * minibuffer.[Ch] (append_char): new method to recieve input from the
9743         drop-down completion browser. If a key was pressed, then recieve this
9744         char and append it to the existing string.
9745         (peek_event): modify the positioning data passed to the completion
9746         browser so that it can be placed above the minibuffer rather than below.
9747 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * LyXAction.C (init): alloe error-next for readonly documents.
9750
9751         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9752         count.
9753
9754 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * bufferlist.C (readFile): create the buffer _after_ checking that
9757         the file exists.
9758
9759         * lyxfunc.C (verboseDispatch): fix handling of arguments
9760
9761         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9762
9763         * lyxrc.C: use string::erase() instead of initializing to "".
9764
9765
9766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * BufferView_pimpl.h:
9769         * BufferView_pimpl.C:
9770         * WorkArea.h:
9771         * WorkArea.C:
9772         * text2.C: tell X when we have made a selection for copying
9773
9774 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * BufferView_pimpl.C (MenuInsertLyXFile):
9777         * lyxfunc.C (menuNew):
9778         (open):
9779         (doImport): add shortcuts to directory buttons
9780
9781         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9782         open a float)
9783
9784         * lyxfunc.C (setStatusMessage):
9785         (getStatusMessage): new methods
9786         (getStatus):use setStatusMessage instead of setErrorMessage
9787         (dispatch): when function is disabled, set error message here
9788         [instead of in getStatus previously]
9789
9790         * BufferView_pimpl.C (workAreaButtonRelease): update
9791         toolbar/menubar here too.
9792
9793 2002-01-13  Allan Rae  <rae@lyx.org>
9794
9795         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9796         Now seems indestructible.  Remaining task is to audit all other
9797         code affected by deleteEmptyParagraphMechanism.  One small quirk
9798         left is that an empty document with an error in the preamble can
9799         be made to report an error but no error box appears.  I don't know
9800         where it goes.
9801         (removeAutoInsets): Improved comments.
9802
9803 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * Thesaurus.h:
9806         * Thesaurus.C: update for Aiksaurus 0.14
9807
9808 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9809
9810         * text2.C (firstParagraph): removed member function, all uses
9811         replaces with ownerParagraph
9812         (redoParagraphs): here
9813         (updateInset): here
9814         (toggleAppendix): here
9815         * BufferView2.C (insertErrors): here
9816         (setCursorFromRow): here
9817
9818 2002-01-13  Allan Rae  <rae@lyx.org>
9819
9820         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9821         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9822         There is still a way to segfault this although you may have to do this
9823         multiple times: Have an InsetERT with an unknown command in it.
9824         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9825         <down-arrow>, <Enter> again, View->DVI, BANG!
9826
9827         * text2.C (setCursor):
9828         (deleteEmptyParagraphMechanism):
9829         * lyxtext.h (setCursor):
9830         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9831         Making use of the return value may help fix other bugs.
9832
9833 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9836
9837         * LyXView.C (updateMenubar): call MenuBar::update here
9838         (updateToolbar): but not here
9839         (showState): do not update toolbar/menubar
9840
9841         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9842         should need to care about that.
9843
9844         * lyxfunc.C (verboseDispatch): simplify a bit
9845         (getStatus): have a version which takes a pseudoaction, and
9846         another which requires a (kb_action,string).
9847
9848         * LyXAction.C (retrieveActionArg): make it work also when action
9849         is not a pseudo-action.
9850         (getActionName): simplify a bit
9851         (helpText):
9852
9853 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * lyxfunc.C (verboseDispatch): new families of methods with
9856         several ways to specify a command and a bool to indicate whether
9857         the command name and shortcut should be displayed in minibuffer
9858         (eventually, we could extend that to a finer bitmask like
9859         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9860         (dispatch): the pristine dispatch command which just, well,
9861         dispatchs! Note it still sets its result to minibuffer; I'm not
9862         sure we want that.
9863
9864         * lyxfunc.h: remove setHintMessage
9865
9866         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9867
9868 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * BufferView_pimpl.C (specialChar): delete new inset if we have
9871         not been able to insert it.
9872
9873         * kbmap.C: revert to using int instead of kb_action, since all we
9874         are dealing with is pseudo-actions.
9875
9876         * LyXAction.C (searchActionArg): change to return int instead of
9877         kb_action, since the result is a pseudoaction.
9878
9879 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9880
9881         * buffer.C (insertErtContents): Fix (partially) the font bug.
9882
9883 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9884
9885         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9886         as the other one is broken on my machine!
9887
9888 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9889
9890         * commandtags.h:
9891         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9892
9893 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9894
9895         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9896         reflect their actual use. Provide compatibility code for older lyxrc
9897         files.
9898
9899         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9900         FL_NORMAL_STYLE.
9901         change names of popup font variables in line with the changes to lyxrc.C
9902
9903 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9904
9905         * buffer.C (asciiParagraph): avoid outputing a word twice after
9906         an inset.
9907
9908         * lyxrc.C (getDescription): document that document_path and
9909         template_path can be empty.
9910
9911 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * LaTeXFeatures.C (getMacros):
9914         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9915
9916         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9917
9918         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9919         getPackages.
9920         (getPackages): rename feature "floats" to "float". Use an array to
9921         iterate over 'simple' features (i.e. just a \usepackage). Add
9922         handling of "amsmath" (renamed from "amsstyle").
9923
9924 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9925
9926         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9927         features list.
9928
9929 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9930
9931         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9932         FuncStaus::FuncStatus & FuncStaus::some_method().
9933
9934 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9935
9936         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9937         of the func_satus stuff. Edited and massaged in various ways by
9938         JMarc.
9939
9940         * lyxfunc.C (getStatus): use FuncStatus
9941
9942 2002-01-08  Juergen Vigna  <jug@sad.it>
9943
9944         * text.C (nextBreakPoint): use function Inset::isChar().
9945
9946         * paragraph.C (TeXOnePar): use function
9947         Inset::forceDefaultParagraphs.
9948
9949         * buffer.C (latexParagraphs): use function
9950         Inset::forceDefaultParagraphs.
9951
9952 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9953
9954         * lyx_gui.C (init): set the style of the menu popups to
9955         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9956
9957 2002-01-07  Juergen Vigna  <jug@sad.it>
9958
9959         * text.C (setHeightOfRow): small fix
9960         (prepareToPrint): don't look at alignment if we don't have the place
9961         for doing it.
9962
9963 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9964
9965         * box.C: New file. Move the Box methods and functions out of box.h,
9966         following Lars' suggestion.
9967
9968 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9969
9970         * box.h: #include "support/LOstream.h", needed for inlined function.
9971
9972         * lyxtextclass.C:
9973         * lyxtextclasslist.C: added some using std declarations.
9974
9975 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9976
9977         * box.h: make signed dimensions to allow insets wider than
9978           the screen (bug #162)
9979
9980         * BufferView_pimpl.C: add some insetHit debug
9981
9982 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * vc-backend.C: add FIXME
9985
9986 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9987
9988         * lyxfunc.C (getStatus): enable code for showing math font status
9989         in toolbar/menu.
9990
9991 2002-01-07  Juergen Vigna  <jug@sad.it>
9992
9993         * text.C (nextBreakPoint): removed debug output not needed anymore.
9994
9995 2002-01-06  Juergen Vigna  <jug@sad.it>
9996
9997         * text.C (nextBreakPoint): fixed up this function we had this bug
9998         since ever but now hopefully we break row better.
9999         (insertChar): we have to check if an inset is the next char as it
10000         could now happen that a large inset is causing a break.
10001
10002 2002-01-05  Juergen Vigna  <jug@sad.it>
10003
10004         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10005         if it doesn't like to be drawed.
10006
10007 2002-01-04  Juergen Vigna  <jug@sad.it>
10008
10009         * BufferView2.C (lockInset): forgot to set a cursor.
10010
10011         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10012
10013 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10014
10015         * FormMathsPanel.C:
10016         * FormMathsPanel.h
10017         * MathsSymbols.C:
10018         * form_maths_panel.C:
10019         * form_maths_panel.h:
10020         * form_maths_panel.fd: implemented sub- and super- buttons in math
10021         panel.
10022
10023         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10024         (or ^ space) to be used as in TeX (req'd by André).
10025
10026         * lyxfunc.C: Allow ^ and _ again to be used both as
10027         super/subscript (mathed) and as themselves (in text).
10028
10029 2002-01-03  Allan Rae  <rae@lyx.org>
10030
10031         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10032         "LyX" or the filename of the current buffer if it has one.  This is a
10033         modified form of John Levon's patch.
10034
10035         * XFormsView.C (setWindowTitle): also set icon title.
10036
10037         * LyXView.h (setWindowTitle): signature changed.
10038         * XFormsView.h (setWindowTitle): ditto.
10039
10040 2002-01-02  Juergen Vigna  <jug@sad.it>
10041
10042         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10043
10044 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10045
10046         * screen.C (topCursorVisible): introduce a temp var for
10047         text->cursor.row(), handle the case where this row is null. (kindo
10048         hachish)
10049
10050         * text2.C (setCursor): add a couple of asserts.
10051
10052         * paragraph.h (inset_iterator): add -> operator
10053
10054         * paragraph.[Ch] (autoDeleteInsets): remove member function
10055
10056         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10057         cursor pos correctly and handle inset deletion by itself.
10058         (insertErrors): move iterator declaration out of for expression
10059
10060         * lyxtextclass.C: add <algorithm>
10061
10062         * Makefile.am: added the new files to sources, removed layout.C
10063
10064         * layout.C: removed file
10065
10066         * layout.h: remove LYX_DUMMY_LAYOUT
10067
10068         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10069         layout.
10070
10071         * lyxlayout.[Ch]:
10072         * lyxtextclass.[Ch]:
10073         * lyxtextclasslist.[Ch]: new files
10074
10075         * include order changes to a lot of files, also changes because of
10076         the six new files.
10077
10078 2001-12-27  Juergen Vigna  <jug@sad.it>
10079
10080         * buffer.C (asciiParagraph): more fixes.
10081
10082         * tabular.C (ascii): make ascii export support export of only the
10083         data separated by a column-delimiter.
10084         (ascii): better support for ascii export.
10085
10086         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10087
10088 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10089
10090         * tabular_funcs.C: use a "using std::getline" instead of the
10091         previous fix from Angus (necessary for cxx + lyxstring)
10092
10093 2001-12-24  Juergen Vigna  <jug@sad.it>
10094
10095         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10096
10097         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10098         problems. First check a minipage also if we have some ert-contents
10099         (not only on par->size(), second set the right depth of the paragraph
10100         on the relink to the root-paragraph-list!
10101
10102         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10103         which then did not anymore update the main paragraphs on undo/redo!
10104
10105 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10108         code. Support all font-changing funcs (even those which are not in
10109         menu currently). Support for reporting font settings in
10110         mathed (disabled until Andre provides a function on mathed's side).
10111
10112         * func_status.h (toggle): small helper function to set toggle
10113         state on a flag.
10114
10115 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10116
10117         * tabular_funcs.C: getline -> std::getline
10118
10119 2001-12-21  Juergen Vigna  <jug@sad.it>
10120
10121         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10122         accessed and could be 0 (I couldn't generate this but it seems
10123         Michael could!).
10124
10125 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10126
10127         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10128         * tabular_funcs.h: here and include iosfwd
10129
10130 2001-12-20  Juergen Vigna  <jug@sad.it>
10131
10132         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10133         inside inset but undo_par was.
10134
10135 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10136
10137         * Thesaurus.C: always include <config.h> in sources.
10138
10139         * Painter.h:
10140         * lyxlookup.h:
10141         * box.h: do not include <config.h> in header files
10142
10143         * text.C (paintLastRow): remove unused variable
10144
10145         * text.C (transformChar):
10146         (insertChar):
10147         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10148
10149         * Painter.C (text):
10150         * font.C (width): rewrite to use uppercase() instead of
10151         islower/toupper.
10152
10153         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10154
10155 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * lyxfind.C: clean up of find failure position change
10158
10159 2001-12-20  Juergen Vigna  <jug@sad.it>
10160
10161         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10162
10163         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10164         (TeXRow): added to LaTeX a single tabular row.
10165         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10166         (Latex): simplified and finally good LT-h/f support.
10167         (various_functions): just small adaptions for LT-h/f support.
10168
10169         * tabular_funcs.[hC]: added and moved here all not classfunctions
10170         of LyXTabular.
10171
10172 2001-12-19  Juergen Vigna  <jug@sad.it>
10173
10174         * tabular.[Ch]: better support for longtabular options (not finished
10175         yet!)
10176
10177 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10178
10179         * text.C (paintLastRow): use the label font instead of the font of
10180         the last character to compute the size of *_BOX. This makes more
10181         sense and avoids a crash with empty paragraphs.
10182         Use Painter::rectangle to draw EMPTY_BOX.
10183
10184 2001-12-19  Juergen Vigna  <jug@sad.it>
10185
10186         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10187         the paragraphs if the replaced paragraph is not the first one!
10188         Tried to delete not used paragraphs but does not work yet so for
10189         now it's inside #ifdef's and by default off!
10190
10191 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * MenuBackend.C: include "lyx_main.h" instead of declaring
10194         lastfiles (actually was declared as LastFiles* instead of a
10195         scoped_ptr).
10196
10197 2001-12-17  Juergen Vigna  <jug@sad.it>
10198
10199         * tabular.C (AppendColumn): applied John's fix
10200
10201 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * BufferView.h:
10204         * BufferView.C:
10205         * BufferView_pimpl.h:
10206         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10207
10208         * Makefile.am:
10209         * box.h: new start of class for above
10210
10211         * lyxfunc.C: ignore space-only minibuffer dispatches.
10212           Show the command name when it doesn't exist
10213
10214         * minibuffer.C: don't add empty lines to the history
10215
10216         * minibuffer.C: add a space on dropdown completion
10217
10218 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10219
10220         * text.C: fix line above/below drawing in insets
10221
10222 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * lyxlength.C (LyXLength): Initialize private variables.
10225
10226 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10227
10228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10229         when inserting error insets.
10230
10231 2001-12-13  Juergen Vigna  <jug@sad.it>
10232
10233         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10234         actually sometimes the before-paragraph.
10235         (setUndo): don't clear the redostack if we're not actually undoing!
10236
10237 2001-12-06  Juergen Vigna  <jug@sad.it>
10238
10239         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10240         and fixed redoing of main paragraph, so we can use it now ;)
10241
10242         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10243
10244 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10247         Juergen's request
10248
10249 2001-12-13  André Pönitz <poenitz@gmx.net>
10250
10251         * undostack.[Ch]:
10252         * undo_func.C: minor cleanup
10253
10254 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10255
10256         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10257         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10258         font in urw-fonts package which is marked as -urw-fontspecific and
10259         does not work (incidentally, changing the encoding in the
10260         fonts.dir of this package to -adobe-fontspecific fixes the
10261         problem).
10262
10263         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10264         is a crash when undoing first paragraph (Juergen, please take a
10265         look). THis does not mean the undo fix is wrong, just that it
10266         uncovers problems.
10267
10268         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10269         the (Paragraph*) version when needed instead of duplicating the
10270         code.
10271
10272         * text.C (workWidth): use Inset::parOwner to find out where the
10273         inset has been inserted. This is a huge performance gain for large
10274         documents with lots of insets. If Inset::parOwner is not set, fall
10275         back on the brute force method
10276
10277         * paragraph_pimpl.C (insertInset):
10278         * paragraph.C (Paragraph):
10279         (cutIntoMinibuffer): set parOwner of insets when
10280         inserting/removing them
10281
10282         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10283
10284 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10285
10286         * commandtags.h:
10287         * LyXAction.C:
10288         * lyx_main.C:
10289         * lyxfunc.C:
10290         * mathed/formulabase.C:
10291         * mathed/math_cursor.[Ch]:
10292         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10293
10294
10295 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * lyxlength.[Ch] (operator!=): new function
10298
10299 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * text.C (workWidth): use Inset::parOwner to find out where the
10302         inset has been inserted. This is a huge performance gain for large
10303         documents with lots of insets. If Inset::parOwner is not set, fall
10304         back on the brute force method
10305
10306         * paragraph_pimpl.C (insertInset):
10307         * paragraph.C (Paragraph):
10308         (cutIntoMinibuffer): set parOwner of insets when
10309         inserting/removing them
10310
10311         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10312
10313 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * tabular-old.C (getTokenValue):
10316         * tabular.C (getTokenValue):
10317         (write_attribute): new versions for LyXLength
10318         (everywhere): adjust the use of widths
10319
10320         * tabular.h: change the type of widths from string to LyXLength
10321
10322 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10323
10324         * paragraph.C: fixed missing line number count when exporting
10325         Environments to LaTeX file
10326
10327         * buffer.C: added informational message for checking line numbers.
10328
10329 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10332         paragraph, do the 'double space' part, but not the 'empty
10333         paragraph' one.
10334
10335         * text.C (workWidth): small optimization
10336         (getLengthMarkerHeight): use minimal size for negative lengths.
10337
10338 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10339
10340         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10341
10342         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10343
10344 2001-12-11  André Pönitz <poenitz@gmx.net>
10345
10346         * FontLoader.C:
10347         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10348
10349 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * text2.C: keep selection on a setFont()
10352
10353 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyx_cb.C: another bv->text misuse, from insert label
10356
10357 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * kbsequence.h:
10360         * kbsequence.C: re-instate nmodifier mask
10361
10362 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10363
10364         * lyx_main.h: make lyxGUI private.
10365
10366 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * lyxfind.C: place the cursor correctly on failed search
10369
10370 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * text.C (getLengthMarkerHeight): for small heights, the arrows
10373         are not always on top/bottom of the text
10374         (drawLengthMarker): smaller arrows; take the left margin in
10375         account; draw also vfills.
10376         (paintFirstRow):
10377         (paintLastRow): remove special code for vfill and standard spaces,
10378         since everything is handled in drawLengthMarker now.
10379
10380 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10381
10382         * buffer.C (insertErtContents): try to handle font and language
10383         interaction a bit better.g
10384
10385         * ColorHandler.C (updateColor): change the hash to cover the whole
10386         LColor enum, ws cleanup
10387         (getGCLinepars): ditto
10388         (getGCLinepars): only lookup in the linecache once.
10389
10390 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10391
10392         * iterators.C (operator++): Make the iterator more robust
10393
10394         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10395         (John's patch)
10396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10397
10398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * lyxtext.h:
10401         * text.C: better added space drawing
10402
10403 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * LyXView.C:
10406         * BufferView2.C: fix layout combo update on inset unlock
10407
10408 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * Makefile.am: don't compile unused files
10411
10412 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * lyxfunc.C:
10415         * commandtags.h:
10416         * LyXAction.C: remove old LFUN_LAYOUTNO
10417
10418 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * paragraph_pimpl.h:
10421         * paragraph_pimpl.C: isTextAt() doesn't need font param
10422
10423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxlex.h:
10426         * lyxlex.C: little cleanup
10427
10428 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * BufferView_pimpl.C: fix insertAscii for insets
10431
10432 2001-12-05  Juergen Vigna  <jug@sad.it>
10433
10434         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10435         set the right font on the "multi" paragraph paste!
10436
10437 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10438
10439         * trans_decl.h:
10440         * trans_mgr.[Ch]:
10441         * trans.[Ch]:
10442         * lyxgluelength.C:
10443         * lyxlength.C: remove out-commented code.
10444
10445         * BufferView_pimpl:
10446         * CutAndPaste.C:
10447         * DepTable.C:
10448         * buffer.C:
10449         * chset.C:
10450         * lastfiles.C:
10451         * lyxlex.C:
10452         * lyxlex_pimpl.C:
10453         * lyxserver.C:
10454         * screen.C:
10455         * tabular-old.C:
10456         * tabular.C:
10457         * text.C:
10458         * trans_mgr.C:
10459         * vc-backend.C: change "while(" to "while ("
10460
10461         * lyxlength.[Ch]: add zero function to check if length is zero or
10462         not
10463         * lyxgluelength.C: use it
10464
10465 2001-12-05  Allan Rae  <rae@lyx.org>
10466
10467         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10468         Works for 2.95.3, from what I understand of Garst's reports this should
10469         work for other g++ versions.  We're screwed if the abs(int) definition
10470         changed between bugfix releases of gcc.
10471
10472 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * text.C: fix chapter label offset !
10475
10476 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyxtext.h:
10479         * text.C: fix hfill at end of line, clean up
10480
10481 2001-12-04  Juergen Vigna  <jug@sad.it>
10482
10483         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10484         that we force an update of the inset and it's owners if neccessary.
10485
10486 2001-12-03  Juergen Vigna  <jug@sad.it>
10487
10488         * text.C (rowLast): simplified code
10489
10490 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * lyxfunc.C: fix show options on timeout
10493
10494 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * screen.C (topCursorVisible): scroll half a page when the cursor
10497         reached top of bottom of screen
10498
10499 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * minibuffer.C: deactivate on loss of focus
10502
10503 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10504
10505         * vspace.[Ch] (operator!=): add operator.
10506
10507 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * BufferView_pimpl.C: refuse to open an inset when
10510         there's a selection.
10511
10512 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * BufferView_pimpl.C: allow to click on RHS of full row insets
10515
10516 2001-11-30  Juergen Vigna  <jug@sad.it>
10517
10518         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10519         insets for undo reasons.
10520
10521 2001-11-28  André Pönitz <poenitz@gmx.net>
10522
10523         * vspace.[Ch]: cosmetical changes
10524
10525 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * LyXAction.h:
10528         * LyXAction.C:
10529         * lyxfunc.h:
10530         * lyxfunc.C:
10531         * kbmap.h:
10532         * kbmap.C:
10533         * lyxrc.C:
10534         * kbsequence.h:
10535         * kbsequence.C: part re-write of old kb code
10536
10537         * Painter.C:
10538         * WorkArea.C: remove Lgb_bug_find_hack
10539
10540 2001-11-30  José Matos <jamatos@fep.up.pt>
10541
10542         * buffer.C (makeDocBookFile): add a comment to point a hack.
10543         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10544         Fixed a double write of labels.
10545
10546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10547
10548         * LaTeX.C:
10549         * LaTeX.h Fixed bug in LaTeX class where it would not
10550         re-run latex if no depfiles were changed, but the .dvi was removed.
10551
10552 2001-11-28  André Pönitz <poenitz@gmx.net>
10553
10554         * all the files from the change on 2001/11/26:
10555         use lyx::layout_type instead of LyXTextClass::size_type
10556         use lyx::textclass_type instead of LyXTextClassList::size_type
10557
10558 2001-11-29  Juergen Vigna  <jug@sad.it>
10559
10560         * text.C: added support for paragraph::isFreeSpacing()
10561
10562         * buffer.C: same as above
10563
10564         * paragraph.h: inserted isFreeSpacing() function to enable
10565         FreeSpacing inside InsetERT.
10566
10567         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10568         of the paragraph's in the cut/copy buffer to 0!
10569
10570         * text2.C (removeRow): remove the assert as it can!
10571
10572         * lyxtext.h: added helper function firstRow returning firstrow and
10573         made firstrow private again.
10574
10575         * BufferView2.C (lockInset): don't relock if we're already locked!
10576
10577         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10578         the only paragraph.
10579         (removeRow): added Assert::(firstrow)
10580
10581         * debug.C: forgot to add INSETTEXT here.
10582
10583 2001-11-28  Juergen Vigna  <jug@sad.it>
10584
10585         * sp_spell.C (initialize): changed error text to more general
10586         spellchecker command use (not only ispell!)
10587
10588         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10589
10590         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10591
10592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10593
10594         * vspace.C: initialise lyxgluelength on failure
10595
10596 2001-11-28  Allan Rae  <rae@lyx.org>
10597
10598         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10599         declaration & definition that looks like a function declaration.
10600
10601 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10602
10603         * BufferView2.C (copy):
10604         (copyEnvironment): do not clear the selection when doing a copy.
10605
10606         * text.C (paintFirstRow): compilation fix
10607
10608 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10609
10610         * tabular.C (Latex): correct line count when writing latex.
10611
10612 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * paragraph_pimpl.h:
10615         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10616           bug a bit
10617
10618 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * text.C:
10621         * LColor.h:
10622         * LColor.C: change vfillline->added_space
10623
10624         * text.C: add markers and text for added space
10625
10626         * vspace.C: fix comment
10627
10628 2001-11-28  André Pönitz <poenitz@gmx.net>
10629
10630         * paragraph.C: whitespace changes
10631         * all the other files from the change on 2001/11/26:
10632         change *::pos_type into lyx::pos_type
10633
10634 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10637         language of the document when inserting error insets.
10638
10639 2001-11-26  André Pönitz <poenitz@gmx.net>
10640
10641         * BufferView_pimpl.[Ch]:
10642         *       CutAndPaste.C:
10643         * buffer.[Ch]:
10644         * lyxcursor.[Ch]:
10645         * lyxfind.C:
10646         * lyxfunc.C:
10647         * lyxrow.[Ch]:
10648         * paragraph.[Ch]:
10649         * paragraph_pimpl.[Ch]:
10650         * sp_spell.C:
10651         * text.C:
10652         * text2.C: reduce header dependencies, introduce type for positions
10653
10654 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * <various>: change to use Alert.h
10657
10658 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10659
10660         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10661         when encountering an unknown token.
10662         (readLyXformat2): Show an error message if there were unknown tokens.
10663
10664 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * BufferView2.C:
10667         * BufferView_pimpl.C:
10668         * buffer.C:
10669         * paragraph.h:
10670         * text.C:
10671         * text2.C: use par->isInset()
10672
10673 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * paragraph_pimpl.h:
10676         * paragraph_pimpl.C: cleanup
10677
10678 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * text2.C (removeRow):
10681         * text.C (setHeightOfRow): remove useless (and costly) call to
10682         getRow.
10683
10684 2001-11-20  Allan Rae  <rae@lyx.org>
10685
10686         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10687         Now need Inset*::checkInsertChar() to return true for appropriate
10688         cases so that the characters in the minibuffer will actually be
10689         inserted.
10690
10691 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * text.C: change the order of the includes.
10694         (workWidth): initialize it at once.
10695         (workWidth): make maxw unsigned
10696         (setHeightOfRow): remove unused variable (inset)
10697         (selectSelectedWord): remove unused variable (inset)
10698         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10699
10700 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10701
10702         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10703         server is not running.
10704         (openConnection):
10705         (closeConnection): add debug info when server is disabled.
10706
10707         * ColorHandler.C (getGCForeground): send debug message to GUI
10708         channel.
10709
10710         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10711
10712         * kbmap.C (bind): modify because return conventions of
10713         kb_sequence::parse have changed.
10714
10715         * kbsequence.C (parse): only ignore spaces and not any stupid
10716         control character. This avoids tests like s[i] <= ' ', which are
10717         guaranteed to fail with 8bit characters and signed chars.
10718         Change return code to string::npos when there have been no error
10719         (0 was a bad idea when error is at first character)
10720
10721 2001-11-14  José Matos  <jamatos@fep.up.pt>
10722
10723         * buffer.h:
10724         * buffer.C (simpleDocBookOnePar): removed unused argument.
10725
10726 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10727
10728         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10729         insets which are part of a word. Paragraph::isLetter takes care of
10730         that now. Use Paragraph::isInset to identify insets.
10731         (selectSelectedWord): do not test for hyphenation break.
10732
10733         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10734         that protected spaces are considered as spaces.
10735
10736         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10737         Inset::isLetter.
10738
10739 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * lyxserver.h:
10742         * lyxserver.C: fix it. and small cleanup.
10743
10744 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10745
10746         * BufferView_pimpl.C: use inline helpers
10747
10748         * LaTeXFeatures.h:
10749         * LaTeXFeatures.C: fix typos
10750
10751         * Spacing.h:
10752         * Spacing.C: move spacing_string into class
10753
10754         * ToolbarDefaults.C: move stuff into namespace anon
10755
10756         * layout.h: update enum
10757
10758         * lyxfunc.C: use better debug
10759
10760         * minibuffer.h: fix typo
10761
10762         * debug.h:
10763         * debug.C:
10764         * WorkArea.C: add and use Debug::WORKAREA
10765
10766         * lyxtext.h:
10767         * text.C:
10768         * text2.C: code re-organisation, inline helpers
10769
10770 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10771
10772         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10773         std::vector.empty().
10774
10775 2001-11-09  Allan Rae  <rae@lyx.org>
10776
10777         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10778         '\n's after tables.  Tabular and ERT inset work now makes this no
10779         longer necessary.
10780
10781 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * minibuffer.h:
10784         * minibuffer.C: fix crash, improve drop-down completion
10785
10786 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * lyxserver.h:
10789         * lyxserver.C: invalidate fd's when doing endPipe()
10790
10791 2001-11-08  José Matos  <jamatos@fep.up.pt>
10792
10793         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10794         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10795
10796         * paragraph.h:
10797         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10798
10799 2001-11-07  José Matos  <jamatos@fep.up.pt>
10800
10801         * buffer.h:
10802         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10803         const qualifier.
10804
10805         * buffer.C (sgmlOpenTag):
10806         * buffer.C (sgmlCloseTag): removed debug info.
10807
10808         * buffer.h (sgmlOpenTag):
10809         * buffer.h (sgmlCloseTag): made public.
10810
10811 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10812
10813         * buffer.C (saveParamsAsDefaults):
10814         * lyx_cb.C (MenuLayoutSave): remove
10815
10816         * LyXAction.C (init):
10817         * commandtags.h:
10818         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10819
10820 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10821
10822         * buffer.C (setPaperStuff): removed from here...
10823
10824         * bufferparams.C (setPaperStuff): ... and moved there.
10825
10826 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * minibuffer.h:
10829         * minibuffer.C:
10830         * XFormsView.C: add support for drop-down completion
10831
10832 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10835         commands.
10836
10837 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10838
10839         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10840         disabled.
10841
10842 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * lyx_main.C: change ref to known bugs
10845
10846 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10847
10848         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10849         to work around older babel problems.
10850
10851 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10852
10853         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10854
10855 2001-10-24  Juergen Vigna  <jug@sad.it>
10856
10857         * tabular-old.C (ReadOld): below variable changes reflected.
10858
10859         * tabular.[Ch]: added ltType struct for longtable header/footer
10860         defines and changed all instances where they are used. Added
10861         future support for double top/bottom rows.
10862
10863 2001-10-24  José Matos  <jamatos@fep.up.pt>
10864
10865         * buffer.h (docbookHandleCaption):
10866         * buffer.C (docbookHandleCaption): removed unused function.
10867         (makeDocBookFile): moved docbook supported version to v4.1.
10868
10869 2001-10-24  José Matos  <jamatos@fep.up.pt>
10870
10871         * tabular.h:
10872         * tabular.C (docbookRow): new function to export docbook code of a row.
10873         (DocBook): now honors the longtable flags.
10874
10875 2001-10-23  José Matos  <jamatos@fep.up.pt>
10876
10877         * LaTeXFeatures.h:
10878         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10879         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10880
10881         * buffer.C (makeLinuxDocFile):
10882         (makeDocBookFile): reworked the preamble, more clean, and with
10883         support for lyx defined entities. Changed the document declaration
10884         to be more XML friendly.
10885
10886         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10887         if we need to output XML that should be done with a filter.
10888
10889 2001-10-22  Juergen Vigna  <jug@sad.it>
10890
10891         * sp_pspell.h (class PSpell): add alive function needed in the
10892         controller to see if the spellchecker could be started.
10893
10894 2001-10-22  Juergen Vigna  <jug@sad.it>
10895
10896         * buffer.C (insertStringAsLines): modify the font for inserting
10897         chars in certain conditions by calling checkInsertChar(font).
10898
10899 2001-10-19  Juergen Vigna  <jug@sad.it>
10900
10901         * text.C (workWidth): use getRow instead of wrong algorithm.
10902         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10903
10904 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * lyxserver.h:
10907         * lyxserver.C:
10908         * lyx_main.h:
10909         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10910
10911 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * text.C (workWidth): do not search for the exact row when
10914         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10915         optimization for big documents.
10916
10917 2001-10-18  Juergen Vigna  <jug@sad.it>
10918
10919         * text.C (workWidth): new function with added Inset * parameter.
10920
10921 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10922
10923         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10924
10925         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10926         change return type of getColumnNearX.
10927
10928
10929         * text.C (changeRegionCase): use uppercase/lowercase instead of
10930         toupper/tolower.
10931         (leftMargin):
10932         (rightMargin): simplify code by factoring out the uses of
10933         textclasslist.
10934         (labelFill):
10935         (numberOfHfills):
10936         (setHeightOfRow):
10937         (appendParagraph): use Paragraph::size_type
10938
10939 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10940
10941         * vspace.C (asLatexString): add a missing break
10942
10943 2001-10-15  Herbert Voss  <voss@perce.de>
10944
10945         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10946
10947 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10948
10949         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10950         is not available.
10951
10952 2001-10-10  André Pönitz <poenitz@gmx.net>
10953
10954         * lyxfunc.C: removed greek_kb_flag.
10955
10956 2001-10-10  Herbert Voss  <voss@perce.de>
10957
10958         * lyx_main.C: delete global string help_lyxdir.
10959
10960 2001-10-09  Herbert Voss  <voss@perce.de>
10961
10962         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10963
10964         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10965
10966         * lyx_main.C: added global string help_lyxdir.
10967
10968         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10969
10970 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10971
10972         * lyxrc.C (set_font_norm_type): support iso8859-4
10973
10974 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10975
10976         * LaTeX.C (deplog): add another regex for MikTeX
10977
10978 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10979
10980         * lyxrc.C (set_font_norm_type): support iso8859-3
10981
10982 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10983
10984         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10985
10986         * LaTeXFeatures.C: remove special case of french and index
10987
10988         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10989         before \begin{document}). This solves several incompatibilities.
10990
10991 2001-10-03  Garst Reese  <reese@isn.net>
10992
10993         * lyx_cb.C: change CheckTex error msg.
10994
10995 2001-10-03  José Matos  <jamatos@fep.up.pt>
10996
10997         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10998
10999 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11000
11001         * .cvsignore: update
11002
11003         * lyx_main.C (commandLineVersionInfo): use new style version info.
11004
11005         * buffer.C (writeFile):
11006         (makeLaTeXFile):
11007         (makeLinuxDocFile):
11008         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11009
11010         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11011
11012         * version.h: update to use stuff in version.C
11013
11014         * version.C.in: new file. Contains version information determined
11015         at compile time. This is a merging of version.h and
11016         version_info.h.in.
11017
11018 2001-10-03  Juergen Vigna  <jug@sad.it>
11019
11020         * BufferView_pimpl.C (update): don't change "dirty" status in
11021         updateInset call.
11022
11023 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * WorkArea.C (c-tor): re-position version string slightly.
11026
11027 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11028
11029         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11030         revert to previous code.
11031
11032         WorkArea.[Ch]: (show, destroySplash): methods removed.
11033
11034         WorkArea.C: rework code so that it's an amalgam of the codes before and
11035         after the splash screen was moved to WorkArea.
11036
11037 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11038
11039         * lyxrc.C (read):
11040         * vspace.C (inPixels):
11041         (lyx_advance):
11042         * kbmap.C (bind):
11043         * buffer.C (insertStringAsLines):
11044         (asciiParagraph): fix types to be large enough
11045
11046         * lyxlex_pimpl.h: change member status from short to int
11047
11048         * layout.h: fix type of endlabeltype
11049
11050         * kbmap.C (bind):
11051         * kbsequence.C (parse): change return type to string::size_type
11052
11053         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11054         variable
11055
11056         * Bullet.C (bulletSize):
11057         (bulletEntry): do not use short ints as parameters
11058
11059         * BufferView2.C (insertLyXFile): change a char to an int.
11060
11061         * WorkArea.C (WorkArea): remove unneeded floats in computation
11062
11063 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11064
11065         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11066
11067         * paragraph.C (asString): Do not ignore newline/hfill chars when
11068         copying to the clipboard.
11069
11070 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11071
11072         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11073         after a multi-line inset.
11074
11075 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11076
11077         * paragraph.C (validate): Set NeedLyXFootnoteCode
11078
11079 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11082         and decrease-error to decrease.
11083
11084 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11087         it more readable (should be equivalent)
11088
11089 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11090
11091         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11092
11093 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11094
11095         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11096         of a cursor (row, etc.) after a character has been deleted
11097         (deleteEmptyParagraphMechanism): call the method above on _all_
11098         cursors held by the LyXText when a double space has been
11099         detected/deleted.
11100
11101 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11104         pixmap.
11105         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11106
11107         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11108         background. Use greyOut() and the new show() methods to toggle between
11109         the foreground and background. Add code to remove the splash after
11110         its initial showing.
11111
11112         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11113         (create_forms): no longer call Dialogs::showSplash.
11114
11115 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11116
11117         * .cvsignore: add version_info.h
11118
11119 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11120
11121         * version_info.h.in: new file
11122
11123         * Makefile.am: add version_info.h.in
11124
11125         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11126         version_info.h instead of VERSION_INFO
11127
11128 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11131         The ERT inset now returns string().
11132
11133 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11134
11135         * lyxtext.h, text.C (selectNextWord): renamed as
11136         selectNextWordToSpellcheck.
11137
11138         * text.C (selectNextWordToSpellcheck): Modified to not select
11139         words inside an ERT inset.
11140
11141 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * lyx_cb.C (MenuLayoutSave): change a bit the question
11144
11145         * sp_base.h: include <sys/types.h>
11146
11147 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11148
11149         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11150
11151 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11152
11153         * several files: fix typos in user-visible strings
11154
11155 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11156
11157         * text2.C (pasteSelection): do not set the selection, since it
11158         will be cleared later. Actually, the intent was to fix the way the
11159         selection was set, but I figured rmoving the code was just as good.
11160
11161 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11162
11163         * FontLoader.C (available): Check if font is available without
11164         loading the font.
11165
11166 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11167
11168         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11169
11170 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11171
11172         * lyxrc.[Ch]: added display_graphics variable and associated code.
11173
11174 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11175
11176         * bufferparams.C (hasClassDefaults): new method. Returns true if
11177         the buffer parameters correspond to known class defaults
11178
11179 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11180
11181         * XFormsView.C (show): set minimum size to the main window.
11182
11183 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11184
11185         * text2.C (copySelection):
11186         (cutSelection):
11187         * lyxfind.C (LyXReplace):
11188         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11189         LyXText::selectionAsString.
11190
11191         * paragraph.C (asString): add "label" argument to the second form
11192
11193         * text2.C (selectionAsString): add "label" argument and pass it to
11194         Paragraph::asString.
11195
11196 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11197
11198         * lyx_main.C (commandLineHelp): remove version information
11199
11200 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11201
11202         * lyx_main.C: add -version commandline option
11203
11204 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * paragraph.h: make the optional constructor arg required instead.
11207         some modifications to other files because of this.
11208
11209         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11210
11211         * lyxserver.C (C_LyXComm_callback): make it static
11212
11213         * lyx_main.C (error_handler): make it static
11214
11215         * lyx_gui.C (LyX_XErrHandler): make it static
11216
11217         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11218
11219         * WorkArea.C: make the extern "C" methods static.
11220
11221         * Makefile.am (lyx_LDADD): simplify
11222
11223 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11226         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11227
11228         * LyXAction.C (init):
11229         * lyxfunc.C (dispatch): associated code removal.
11230
11231 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * lyxfont.h (isSymbolFont): shut off warning
11234
11235         * text.C (setHeightOfRow):
11236         (getVisibleRow): fix crash with empty paragraphs which have a
11237         bottom line
11238
11239 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11240
11241         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11242         code.
11243
11244 2001-09-04  José Matos  <jamatos@fep.up.pt>
11245         * buffer.C
11246         * buffer.h
11247         * tabular.C (docbook): rename docBook method to docbook.
11248
11249 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * Makefile.am: add dependencies to main.o.
11252
11253 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11254
11255         * FontLoader.C (available): Return false if !lyxrc.use_gui
11256
11257 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11258
11259         * FontInfo.C (query):
11260         * converter.C (view):
11261         * importer.C (Import):
11262         * exporter.C (Export): Can not -> cannot.
11263
11264 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * BufferView_pimpl.C: allow to create index inset even if
11267           string is empty
11268
11269 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11270
11271         * buffer.C (getLists): replace boost::tie code with an explicit pair
11272         as boost::tie can break some compilers.
11273
11274         * iterators.h: Added a std:: declaration to the return type of
11275         ParIterator::size.
11276
11277 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11280           case.
11281
11282 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11283
11284         * iterators.[Ch]: New files. Provide paragraph iterators.
11285
11286         * buffer.C (changeLanguage): Use paragraph iterators.
11287         (isMultiLingual): ditto
11288
11289         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11290
11291 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11292
11293         * FontLoader.C: Support for cmr font.
11294
11295 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11296
11297         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11298         (available): New method.
11299
11300         * FontInfo.C (getFontname): Use scalable fonts even when
11301         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11302         found.
11303
11304 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11305
11306         * converter.C (Formats::view): reverted! Incorrect fix.
11307
11308 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11309
11310         * converter.C (Formats::view): only output the -paper option
11311         if the dvi viewer is xdvi, thereby fixing bug #233429.
11312
11313 2001-08-23  Herbert Voss  <voss@perce>
11314
11315         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11316
11317 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * Spacing.h (Spacing): Set space to Default on in the default
11320         constructor.
11321
11322 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * vc-backend.h (RCS::versionString): add RCS to version
11325         (CVS::versionString): add CVS to version
11326
11327         * vc-backend.C (scanMaster): do not add CVS to version.
11328         (scanMaster): do not add RCS to version
11329
11330         * lyxvc.C (versionString): new method
11331
11332         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11333
11334 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11335
11336         * Spacing.C (set): initialize fval
11337
11338 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11339
11340         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11341         " or \.
11342
11343 2001-08-16  Juergen Vigna  <jug@sad.it>
11344
11345         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11346
11347 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * BufferView_pimpl.C:
11350         * figureForm.C:
11351         * lyxtext.h:
11352         * text2.C: setParagraph takes linespacing now
11353
11354 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * LyxAction.C: add internal LFUN_CITATION_INSERT
11357
11358         * LyXView.C: actually apply fix
11359
11360         * bufferlist.C: fix open non-existent file
11361
11362         * lyxfind.C: fix indentation
11363
11364         * lyxfunc.C: remove unneeded assert, fix typo
11365
11366 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11367
11368         * MenuBackend.C: use "Floatname List"
11369
11370 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11371
11372         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11373         when converting LaTeX layout to insetERT.
11374         Generate a non-collapsed float when reading old float
11375
11376 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11377
11378         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11379         ERT insets.
11380
11381 2001-08-13  Juergen Vigna  <jug@sad.it>
11382
11383         * text.C (fill): return 0 instead of 20 as this seems to be the more
11384         correct value.
11385
11386 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11389         lyxrc.font_norm.
11390
11391 2001-08-13  Juergen Vigna  <jug@sad.it>
11392
11393         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11394         casesensitive off.
11395         (SearchBackward): comment out the unlocking of the inset_owner this
11396         should not be needed!
11397
11398 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11399
11400         * Many files: Remove inherit_language, and add latex_language
11401
11402         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11403         collapsible insets.
11404
11405 2001-08-10  Juergen Vigna  <jug@sad.it>
11406
11407         * text.C (prepareToPrint): fixed hfill-width in draw!
11408
11409         * BufferView2.C (selectLastWord): save the selection cursor as this
11410         now is cleared in the function LyXText::clearSelection!
11411
11412 2001-08-08  Juergen Vigna  <jug@sad.it>
11413
11414         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11415         BACKSPACE type functions.
11416
11417         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11418         is only cutted from the document but not put in the cut-buffer, where
11419         still the old stuff should be.
11420
11421         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11422
11423         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11424
11425         * tabular.C (SetWidthOfCell): fixed special case where the width
11426         was not updated!
11427         (LeftLine): handle '|' in align_special.
11428         (RightLine): ditto
11429         (LeftAlreadyDrawed): ditto
11430         (SetWidthOfCell): ditto
11431
11432 2001-08-07  Juergen Vigna  <jug@sad.it>
11433
11434         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11435
11436 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11439         * lyxlex.[hC]: ditto
11440
11441 2001-08-06  Juergen Vigna  <jug@sad.it>
11442
11443         * text.C (getVisibleRow): fix up row clearing a bit.
11444
11445 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * minibuffer.C: make sure the X server sees the changes in the input.
11448
11449 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * paragraph.C (getFont): split into...
11452         (getLabelFont): this
11453         (getLayoutFont): and this
11454         * paragraph_pimpl.C (realizeFont): calling this
11455
11456         * text2.C (getFont): split into...
11457         (getLayoutFont): this
11458         (getLabelFont): and this
11459         (realizeFont): all three calling this
11460
11461         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11462         files where used.
11463
11464 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11465
11466         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11467
11468 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11469
11470         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11471         layouts from the Quote inset insertion.
11472
11473 2001-08-03  Juergen Vigna  <jug@sad.it>
11474
11475         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11476
11477         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11478         only if status not is already CHANGED_IN_DRAW (second level).
11479
11480         * text.C (draw): don't set the need_break_row when inside an
11481         InsetText LyXText.
11482
11483 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * buffer.C (parseSingleLyXformat2Token): handle more latex
11486         conversion cases.
11487
11488         * bufferview_funcs.[hC]: change function names to
11489         begin with small char, adjust other files.
11490
11491 2001-08-02  André Pönitz <poenitz@gmx.net>
11492
11493         * lyxfunc.C:
11494         BufferView_pimpl.C: remove broken special code for math-greek
11495
11496 2001-08-02  Juergen Vigna  <jug@sad.it>
11497
11498         * BufferView_pimpl.C (update): redone this function so that we
11499         update the text again if there was a CHANGE_IN_DRAW.
11500
11501         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11502         (drawFromTo): added a new internal bool which is used by draw() and
11503         redraw() function.
11504         (general): some cursor drawing problems fixed.
11505
11506 2001-08-01  Juergen Vigna  <jug@sad.it>
11507
11508         * lyxfind.C (LyXFind): fixed
11509         (SearchForward): ditto
11510         (SearchBackward): ditto
11511
11512         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11513         spurius drawing of the cursor in the main area.
11514
11515         * text2.C (status): small fix which could lead to a segfault!
11516         (clearSelection): remove unneeded BufferView param.
11517
11518 2001-08-01  André Pönitz <poenitz@gmx.net>
11519
11520         * lyxfunc.C: small change due to changed mathed interface
11521
11522 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11523
11524         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11525
11526 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * lyxfunc.c: fail gracefully if file doesn't exist
11529
11530         * LyXSendto.C:
11531         * buffer.C:
11532         * lyxfunc.C:
11533         * BufferView_pimpl.C: IsDirWriteable() proto changed
11534
11535         * LyXView.C: fix updateWindowTitle() to store the last title
11536
11537 2001-07-31  Juergen Vigna  <jug@sad.it>
11538
11539         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11540         the font (wrong since using of Paragraph::highestFontInRange).
11541
11542         * paragraph.C (highestFontInRange): added a default_size parameter.
11543
11544         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11545         (setHeightOfRow): reformat
11546
11547 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * converter.[hC] + affected files: move to (inital-char)lowercase
11550         function names.
11551
11552         * ParagraphParameters.C (ParagraphParameters): remove commented code
11553
11554         * PainterBase.[Ch]: remove commented code
11555
11556         * LaTeXFeatures.h: add "bool floats" for float.sty
11557
11558         * LaTeXFeatures.C (LaTeXFeatures): init floats
11559         (require): handle float
11560         (getPackages): do it with floats
11561
11562 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11563
11564         * BufferView_pimpl.C (Dispatch): improve handling of
11565         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11566
11567         * commandtags.h: #include lyxfont.h here temporarily to avoid
11568         keybinding bug.
11569
11570         * bufferlist.h: include LString.h here.
11571
11572 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11573
11574         * text2.C (getStringToIndex): new method.
11575
11576 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11577
11578         * *: Reduced header file dependencies all over.
11579
11580 2001-07-30  Baruch Even  <baruch@lyx.org>
11581
11582         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11583
11584 2001-07-29  Baruch Even  <baruch@lyx.org>
11585
11586         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11587
11588 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * ParameterStruct.h (endif): add a default constructor to make
11591         sure that all variables is initialized.
11592
11593         * ParagraphParameters.C (ParagraphParameters): adjust
11594
11595 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11598         index; also, check that there is something to index, and that it
11599         does not span over several paragraphs.
11600         (doubleClick): use WHOLE_WORD_STRICT for double click.
11601
11602         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11603
11604         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11605         scheme.
11606
11607 2001-07-26  Baruch Even  <baruch@lyx.org>
11608
11609         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11610         an InsetFig figure, backwards compatible reading of old figure code.
11611
11612 2001-07-27  Juergen Vigna  <jug@sad.it>
11613
11614         * text2.C: font.realize function adaption.
11615
11616         * text.C (draw): add a warnings lyxerr text if needed.
11617
11618         * layout.C: font.realize function adaption.
11619
11620         * language.C: add inherit_language and implement it's handlings
11621
11622         * bufferview_funcs.C (StyleReset): remove language parameter from
11623         font creation (should be language_inherit now).
11624
11625         * bufferparams.C (writeFile): handle ignore_language.
11626
11627         * paragraph.C (getFontSettings): the language has to be resolved
11628         otherwise we have problems in LyXFont!
11629
11630         * lyxfont.C (lyxWriteChanges): added document_language parameter
11631         (update): removed unneeded language parameter
11632
11633         * paragraph.C (validate): fixed wrong output of color-package when
11634         using interface colors for certain fonts in certain environments,
11635         which should not seen as that on the final output.
11636
11637 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * BufferView_pimpl.C:
11640         * Thesaurus.h:
11641         * Thesaurus.C:
11642         * Makefile.am:
11643         * commandtags.h:
11644         * LyXAction.C: add thesaurus support
11645
11646         * lyxfind.h:
11647         * lyxfind.C: add "once" parameter, for thesaurus, to not
11648           move to the next match
11649
11650 2001-07-26  Juergen Vigna  <jug@sad.it>
11651
11652         * lyxfont.C (realize): honor ignore_language too!
11653         (resolved): ditto.
11654
11655         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11656
11657         * text.C (draw): one place more for ignore_language to not draw
11658         itself!
11659
11660 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11661
11662         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11663
11664 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11667         the minipage conversion problem.
11668
11669 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11672         insert an inset.
11673
11674 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * BufferView.h: don't forward declare WorkArea
11677
11678         * BufferView.C: don't include WorkArea.h
11679
11680 2001-07-25  André Pönitz <poenitz@gmx.net>
11681
11682         * commandtags.h:
11683         * LyXAction.C:
11684         * lyxfunc.C:  new LFUN 'math-space'
11685
11686         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11687
11688 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * text2.C (toggleInset): call open/close
11691
11692 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * lyxfunc.C (dispatch): add debug for the disabled case
11695
11696         * font.C (buttonText): make similar to rectText
11697
11698         * buffer.C (readInset): comment out parsing of insetlist and
11699         insttheorem
11700
11701         * PainterBase.C (rectText): small correction
11702
11703         * BufferView_pimpl.C: comment out insettheorem and insetlist
11704         * LyXAction.C: ditto
11705         * commandtags.h: ditto
11706
11707 2001-07-24  Juergen Vigna  <jug@sad.it>
11708
11709         * text.C (draw): honor the ignore_language.
11710
11711         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11712
11713 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11716         char inset.
11717
11718 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11719
11720         * lyxtext.h: remove unused (and unimplemented) methods
11721
11722 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11723
11724         * text.C (getVisibleRow): honor background color
11725
11726         * PainterBase.h:
11727         * Painter.h: remove default color argument for fillRectangle
11728
11729         * text.C (backgroundColor): new method
11730
11731 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * text.C (getVisibleRow): adjust
11734
11735         * font.[Ch] (rectText): new method, metrics
11736         (buttonText): new method, metrics
11737
11738         * PainterBase.[hC]: make rectText and buttonText always draw and take
11739         fewer paramteres.
11740
11741 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11742
11743         * ToolbarDefaults.C (read):
11744         * MenuBackend.C (read): allow escaping in all strings
11745
11746         * BufferView_pimpl.C (insertAndEditInset): new method.
11747         (Dispatch): use insertAndEditInset whenever appropriate.
11748
11749         * BufferView_pimpl.C (insertNote): removed
11750
11751         * BufferView_pimpl.C (smartQuote): new method, moved from
11752         BufferView; if an insetquote cannot be inserted, insert a '"'
11753         character instead.
11754
11755         * BufferView2.C: remove insertCorrectQuote();
11756
11757         * lyxfunc.C (getStatus): Add support for all remaingin
11758         inset-insert lfuns.
11759
11760         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11761
11762         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11763         command (necessary to pass " as parameter of self-insert.
11764
11765         * text.C (selectWordWhenUnderCursor):
11766         (selectWord): add word_location parameter
11767         (selectWordWhenUnderCursor): same + remove special code for word
11768         boundary.
11769         (selectNextWord): use kind() to guess type of insetspecialchar,
11770         not latex().
11771
11772         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11773         (insertErtContents): create ert insets as collapsed.
11774         (readInset): better compatibility code for Info inset.
11775
11776 2001-07-20  Juergen Vigna  <jug@sad.it>
11777
11778         * lyxfunc.C (dispatch): use always LyXFind now!
11779
11780         * text2.C (init): add a reinit flag so that the LyXText can be
11781         reinited instead of deleted and reallocated (used in InsetText).
11782
11783         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11784
11785         * text.C: ditto
11786
11787         * text2.C: ditto
11788
11789 2001-07-18  Juergen Vigna  <jug@sad.it>
11790
11791         * text.C (selectNextWord): handle insets inside inset by calling
11792         always the bv->text functions so that we can go up the_locking_inset!
11793
11794         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11795         in strange locations when inside an inset!
11796
11797         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11798         handling to include insets.
11799
11800         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11801
11802 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11803
11804         * LyXAction.C (init):
11805         * commandtags.h:
11806         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11807         LIGATURE_BREAK, since the name is so stupid.
11808
11809 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11812         InsetInfos.
11813
11814         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11815
11816         * sp_form.[Ch]: remove.
11817
11818         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11819
11820         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11821         InsetInfo.
11822
11823         * src/buffer.C (readInset): ditto.
11824
11825 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11826
11827         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11828         menuSeparator(), endOfSentenceDot(), ldots() and
11829         hyphenationPoint(), which are therefore removed.
11830         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11831
11832         * LyXAction.C (init):
11833         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11834
11835         * paragraph.C (getWord): removed.
11836
11837         * BufferView_pimpl.C (Dispatch): use last word or selection for
11838         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11839
11840         * lyx_main.C (queryUserLyXDir): do not ask before creating
11841         user_dir, except if it has been named explicitely.
11842
11843 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11844
11845         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11846         a document of zero size.
11847
11848 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11849
11850         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11851         approriately in the c-tor and in require().
11852         (getPackages): output the appropriate LaTeX for natbib support.
11853
11854         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11855         variables "use_natbib" and "use_numerical_citations" when reading the
11856         LyX file.
11857         (readInset): read the various natbib cite commands.
11858         (validate): white-space change.
11859
11860         * bufferparams.[Ch]: new variables "bool use_natbib" and
11861         "bool use_numerical_citations".
11862         (writeFile): output them in the LyX file.
11863
11864 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11865
11866         * lyxfunc.C (getStatus): add support for all the inset insertion
11867         commands.
11868
11869         * text2.C (insertInset):
11870         * paragraph.C (insetAllowed):
11871         * BufferView_pimpl.C (insertInset): update to take in account the
11872         renaming of insertInsetAllowed
11873
11874         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11875
11876         * text2.C (getInset): new method. returns inset at cursor position.
11877
11878         * BufferView_pimpl.C (Dispatch): changes because of this.
11879
11880         * LyXAction.C (init): rename open-stuff to inset-toggle.
11881
11882         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11883
11884         * text2.C (toggleInset): renamed from openStuff; use
11885         Inset::open().
11886
11887 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11888
11889         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11890
11891         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11892
11893 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11894
11895         * buffer.C (readLyXformat2): Add filename to the error dialog
11896
11897 2001-07-18  Juergen Vigna  <jug@sad.it>
11898
11899         * tabular.C (GetCellNumber): put an assert here instead of the check!
11900
11901 2001-07-17  Juergen Vigna  <jug@sad.it>
11902
11903         * BufferView_pimpl.C (toggleSelection): adapted too.
11904
11905         * text.C (selectNextWord): adapted for use with insets.
11906         (selectSelectedWord): ditto
11907
11908 2001-07-17  Juergen Vigna  <jug@sad.it>
11909
11910         * sp_spell.C (PSpell): fix initialitation order.
11911
11912 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * paragraph.C: spacing
11915
11916 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11917
11918         * sp_spell.C: repair language selection for pspell
11919
11920 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * lyxfunc.h: change more methods to begin with lower char.
11923
11924 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11925
11926         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11927         for unknown layouts.
11928
11929 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * buffer.C (readLyXformat2): Generate an error dialog if there are
11932         unknown layouts.
11933
11934 2001-07-16  Juergen Vigna  <jug@sad.it>
11935
11936         * sp_spell.C: always compile ISpell part.
11937
11938         * lyxrc.C: added use_pspell entry and it's handling.
11939
11940 2001-07-13  Juergen Vigna  <jug@sad.it>
11941
11942         * sp_spell.C: removed double includes.
11943
11944 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11945
11946         Consistent use of Lsstream.h:
11947         * Lsstream.h: added using std::stringstream for consistencies sake.
11948
11949         * buffer.C: removed using std::stringstream
11950
11951         * lyxfont.C (stateText):
11952         * paragraph.C (asString):
11953         * text.C (selectNextWord, selectSelectedWord):
11954         * text2.C (setCounter):
11955         * vspace.C (asString, asLatexString):
11956         std::ostringstream -> ostringstream.
11957
11958 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11959
11960         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11961         * commandtags.h: add LFUN_HELP_ABOUTLYX
11962         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11963
11964 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11965
11966         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11967         cursorToggle()
11968         * lyx_gui_misc.C: remove spellchecker
11969         * lyxfunc.C: showSpellchecker
11970         * sp_base.h: added
11971         * sp_ispell.h: added
11972         * sp_pspell.h: added
11973         * sp_spell.C: added
11974         * sp_form.[Ch]: removed
11975         * spellchecker.[Ch]: removed
11976
11977 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11978
11979         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11980         is set.
11981         (simpleTeXSpecialChars): Simply print the input character without
11982         any special translation if pass_thru is set.
11983
11984         * layout.h: Added bool pass_thru to layout class for being able to
11985         implement pass through of a paragraph for Literate Programming.
11986
11987         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11988         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11989         * layout.C (Read): add "passthru" to list of layout tags and add
11990         code to set the pass_thru boolean when it is read.
11991
11992 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * trans_decl.h: remove allowed from KmodInfo
11995
11996         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11997         remove allowed code
11998         (Load): adjust
11999
12000         * paragraph_pimpl.C (erase): use boost::prior
12001
12002         * Painter.C (text): use data() instead of c_str() when length is
12003         also provided.
12004         * WorkArea.C (putClipboard): ditto
12005         * font.h (width): ditto
12006
12007         * BufferView2.C: use it-> instead of (*it). for iterators
12008         * texrow.C: ditto
12009         * paragraph_pimpl.C: ditto
12010         * paragraph.C: ditto
12011         * minibuffer.C: ditto
12012         * language.C: ditto
12013         * kbmap.C: ditto
12014         * encoding.C: ditto
12015         * counters.C: ditto
12016         * converter.C: ditto
12017         * chset.C: ditto
12018         * Variables.C: ditto
12019         * TextCache.C: ditto
12020         * MenuBackend.C: ditto
12021         * LyXAction.C: ditto
12022         * LColor.C: ditto
12023         * FloatList.C: ditto
12024         * DepTable.C: ditto
12025         * ColorHandler.C (LyXColorHandler): ditto
12026
12027 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12028
12029         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12030
12031         * text2.C (openStuff): reintroduce this method (which had been
12032         nuked in NEW_INSETS frenzy).
12033
12034         * lyxfunc.C (Dispatch): when an action has not been handled, use
12035         its name in the error message, not its number.
12036
12037         * paragraph.C (inInset): change method name to begin with lowercase.
12038
12039         * undo_funcs.C:
12040         * text2.C: updates because of this.
12041
12042 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12043
12044         * ToolbarDefaults.C (add): add spaces in error message
12045
12046 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12049         (readLyXformat2): rename return_par to first_par, use lyxlex's
12050         pushToken and remove the manual push handling.
12051         (parseSingleLyXformat2Token): add another ert comp. variable:
12052         in_tabular, rename return_par to first_par. handle newlines better
12053
12054 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12057
12058 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * text2.C (getParFromID): removed
12061
12062         * buffer.C (getParFromID): new method moved form lyxtext.
12063         * BufferView2.C (insertErrors): adjust
12064         (setCursorFromRow): adjust
12065         * BufferView_pimpl.C (restorePosition): adjust
12066         * lyxfunc.C (Dispatch): adjust
12067         * undo_funcs.C (textUndo): adjust
12068         (textRedo): adjust
12069         (textHandleUndo): adjust
12070         (textHandleUndo): adjust
12071
12072 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * buffer.C: up' the LYX_FORMAT
12075
12076         * lyxfont.h: turn NO_LATEX on as default
12077
12078         * buffer.C (insertErtContents): new methods of tex style compability.
12079         (parseSingleLyXformat2Token): use it several places.
12080         * tabular.C (OldFormatRead): and here
12081
12082 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * text2.C: remove some commented code.
12085         reindent file.
12086
12087         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12088         * trans.C: changes because of the above.
12089
12090 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * text2.C (setCounter): Fix counters bug with bibliography layout.
12093
12094 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12097         own member functions
12098         (simpleTeXSpecialChars): ditto
12099
12100 2001-07-06  Juergen Vigna  <jug@sad.it>
12101
12102         * a lot of files: changed the access to LyXText::status and the
12103         call of undo-functions.
12104
12105         * undo.[Ch]: added a inset_id to the undo informations.
12106
12107         * undo_funcs.[Ch]: added and moved here all undo functions.
12108
12109         * lyxtext.h: give the status enum a weight, made status_ a private
12110         variable and made accessor functions for it, removed the whole bunch
12111         of undo-functions as they are now in their own file, make some
12112         functions publically available. Added function ownerParagraph with
12113         int parameter.
12114
12115         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12116         made InInset() a const function, added getParFromID() function.
12117
12118         * buffer.[Ch]: added const version for inset_iterator functions,
12119         added getInsetFromID() function.
12120
12121         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12122         changed undo functions for new version.
12123
12124 2001-07-05  Juergen Vigna  <jug@sad.it>
12125
12126         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12127         unknow mechanism does not call the proper constructor but only this
12128         one also if I request the other!?
12129
12130 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12133
12134         * text2.C (LyXText): use initialization lists.
12135
12136         * lyxtext.h (Selection): initialize set_ and mark_
12137         (init): remove method
12138
12139 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12142
12143 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12144
12145         * screen.[Ch]: change method names to begin with lowercase
12146
12147         * BufferView_pimpl.C (updateScrollbar): simplify further and
12148         hopefully make it a bit faster.
12149
12150 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12151
12152         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12153         calling directly xforms functions.
12154
12155         * Painter.C (Painter):
12156         * lyx_cb.C (MenuWrite):
12157         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12158         fl_display.
12159
12160         * lyx_gui.C: remove bogus guiruntime extern declaration.
12161
12162 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12165         in NEW_INSETS
12166         (redoDrawingOfParagraph): ditto
12167         (redoParagraphs): ditto
12168         (cutSelection): don't create a object for CutAndPaste use the
12169         static method directly
12170         (pasteSelection): ditto
12171
12172         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12173         LyXview (+ rename)
12174
12175 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * modifications to some other files because of this.
12178
12179         * Makefile.am (lyx_SOURCES): add XFormsView
12180
12181         * XFormsView.[Ch]: new files
12182
12183         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12184         the main window. Move the gui dependent stuff to XFormsView
12185
12186 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12187
12188         * tabular.C (GetCellInset): update cur_cell also in the row/col
12189         version of this function.
12190
12191         * lyxfunc.C: no need to include figure_form.h here.
12192
12193         * FontLoader.h:
12194         * lyxfunc.h:
12195         * lyxscreen.h:
12196         * text2.C:
12197         * lyxvc.C: no need to include forms.h here.
12198
12199 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12202
12203         * lyxfunc.C (Dispatch):
12204         * Spacing.C (set):
12205         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12206         constructor argument.
12207
12208 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * paragraph.C (Paragraph): dont't clear, and just set layout.
12211         (makeSameLayout): use params's copy contructor.
12212
12213         * ParagraphParameters.[Ch] (makeSame): delete method
12214
12215 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * Variables.[Ch]: fix indentation, rename set to isSet
12218
12219 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * lyxfunc.C (Dispatch): fix typo
12222
12223 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12224
12225         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12226         upper_bound.
12227
12228         * bufferlist.C: include assert.h for emergencyWrite().
12229
12230 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12233           give up at last (bug #425202) !
12234
12235 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * lyx_gui_misc.C:
12238         * sp_form.h:
12239         * sp_form.C:
12240         * spellchecker.h:
12241         * spellchecker.C: strip spellchecker options and bring up
12242           preferences tab instead
12243
12244 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12247         the istringstream constructor
12248
12249 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * paragraph.C (getLayout): fix return value
12252
12253         * paragraph.h: do not declare getLayout as inline.
12254
12255         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12256
12257 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * lyxcursor.h (operator<): new func
12260         (operator>): new func
12261         (operator>=): new func
12262         (operator<=): new func
12263
12264         * text.C (changeCase): use selection.start and selection.end
12265         (changeRegionCase): require from to be <= to. Require par to be a
12266         valid paragraph.
12267
12268         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12269
12270 2001-06-27  Juergen Vigna  <jug@sad.it>
12271
12272         * text.C (cursorLeftOneWord): changed to return the cursor and added
12273         overlay with BufferView * parameter which calls this one.
12274         (getWord): added
12275         (selectWord): use new getWord function.
12276         (changeCase): renamed from changeWordCase as and extended to work
12277         also on selections.
12278
12279         * lyxtext.h: added enum word_location
12280
12281         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12282         changeCase as this operates now also on selections.
12283
12284 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12285
12286         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12287
12288         * many files: send debug output to Debug::INFO instead of
12289         Debug::ANY.
12290
12291         * converter.C (View):
12292         (Convert):
12293         (Move): send debug output to Debug::FILES instead of console.
12294
12295 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12296
12297         * lyxfunc.C (getStatus): use func_status
12298
12299         * func_status.h: new header, describing the results of
12300         LyXFunc::getStatus;
12301
12302         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12303         LFUN_MATH_HALIGN.
12304
12305 2001-06-25  The LyX Project  <jug@sad.it>
12306
12307         * buffer.C (sgmlOpenTag):
12308         (sgmlCloseTag):
12309         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12310
12311 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * text2.C: remove some dead code
12314
12315         * tabular.C (GetCellInset): store the last cell checked (gotten)
12316
12317         * tabular.h: add the helper for the speedup
12318
12319         * lyxtext.h: remove some dead code
12320
12321 2001-06-26  The LyX Project  <Asger>
12322
12323         * paragraph.C: Change export to LaTeX of alignment to
12324         \begin{center} and family for better roundtrip work with reLyX.
12325
12326         * Tune the math drawing a bit.
12327
12328 2001-06-25  The LyX Project  <Asger>
12329
12330         * LColor.C (LColor): New color for math background. New color
12331         for buttons.
12332
12333 2001-06-25  The LyX Project  <jug@sad.it>
12334
12335         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12336
12337         * lyxfunc.C (Open):
12338         * bufferlist.C (newFile): do not restrict to files ending with
12339         .lyx
12340
12341         * BufferView_pimpl.C (MenuInsertLyXFile):
12342
12343 2001-06-24  The LyX Project  <jug@sad.it>
12344
12345         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12346         of compare_no_case
12347
12348 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * lyxtext.h: rename most methods to begin with a small char.
12351         Lots of changes because of this.
12352
12353         * paragraph.C (Paragraph): do not call fitToSize
12354         (erase): call Pimpl::erase
12355         (insertChar): call Pimpl::insertChar
12356         (insertInset): call Pipl::insertInset
12357         (breakParagraph): do not call fitToSize
12358         (breakParagraphConservative): do not call fitToSize
12359         (fitToSize): remove method
12360
12361         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12362
12363 2001-06-24  The LyX Project  <Asger>
12364
12365         * Fix Qt compilation^2
12366
12367 2001-06-24  The LyX Project  <jug@sad.it>
12368
12369         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12370         depthHook(getDepth()-1).
12371
12372         * paragraph.h:
12373         * ParagraphParameters.h:
12374         * ParameterStruct.h: change type of depth to unsigned int ==
12375         depth_type. Many adaptations to other files before of that.
12376
12377 2001-06-24  The LyX Project  <Asger>
12378
12379         * Fix Qt compilation.
12380
12381 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * paragraph.h: renamed several methods to begin with small letter.
12384         several changes to many parts of the code because of this.
12385
12386 2001-06-23  The LyX Project  <jug@sad.it>
12387
12388         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12389         rewritten to discard all double spaces when KeepEmpty is off
12390         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12391         to only handle newlines but not fiddle with spaces and friends.
12392
12393         * lyxfunc.C (MenuNew): when doing 'new from template', use
12394         template_path as default directory
12395
12396 2001-06-23  The LyX Project  <Asger>
12397
12398         * Clean-up of header file includes all over
12399         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12400
12401 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * paragraph.h: renamed from lyxparagraph.h
12404
12405 2001-06-23  Asger  <lyx@violet.home.sad.it>
12406
12407         * Buffer.h: Removed Buffer::resize
12408         * BufferList.h: Removed BufferList::resize
12409         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12410         the document lazily when we change the width, or the font settings.
12411
12412 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12415
12416 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * buffer.h: remove out of date comment
12419
12420 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * lyxscreen.h:
12423         * screen.C: fix "theoretical" GC leak
12424
12425 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * LaTeX.C (scanAuxFile):
12428         (deplog): remove trailing \r when reading stream (useful under
12429         win32)
12430
12431 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12434         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12435         and BufferView::theLockingInset(Inset*), so should use them and not
12436         access bv_->text->the_locking_inset directly.
12437
12438         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12439
12440 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * Makefile.am:
12443         * tex-defs.h: remove old unused file
12444
12445 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView_pimpl.C: fix typo, remove minibuffer message
12448           when buffer has loaded
12449
12450 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * lyxfunc.C (Dispatch): use stringstream
12453         (MenuNew): use stringstream
12454         (Open): use stringstream
12455
12456         * importer.C (Import): use stringstream
12457
12458         * bufferview_funcs.C (CurrentState): use stringstream
12459
12460         * LaTeX.C (run): use stringstream
12461
12462         * BufferView_pimpl.C (savePosition): use stringstream
12463         (restorePosition): use stringstream
12464         (MenuInsertLyXFile): use stringstream
12465
12466 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * BufferView.C:
12469         * Bullet.C:
12470         * ColorHandler.C:
12471         * FontInfo.C:
12472         * FontLoader.C:
12473         * LColor.C:
12474         * LaTeXFeatures.C:
12475         * Painter.C:
12476         * gettext.C:
12477         * lyx_gui_misc.C:
12478         * lyxserver.C:
12479         * vspace.C: removed // -*- C++ -*- as first line.
12480
12481         * lyxfind.h:
12482         * version.h: added // -*- C++ -*- as first line.
12483
12484 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12485
12486         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12487
12488         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12489         of string
12490
12491 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12494         of floats.
12495
12496 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * gettext.C: include LString.h even when --disable-nls is on.
12499
12500 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12501
12502         * converter.h (Get): changed argument type from int to
12503         FormatList::size_type to avoid unnecessary conversion.
12504
12505         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12506         before using it.
12507
12508 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12509
12510         * gettext.h: include LString.h even when --disable-nls is on.
12511
12512 2001-06-07  Juergen Vigna  <jug@sad.it>
12513
12514         * text.C (BreakAgain): subst spaces with tabs.
12515
12516         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12517         (resizeInsetsLyXText): set force on resizeLyXText.
12518
12519 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * gettext.h (gettext_init):
12522         (locale_init): use a real definition instead of a macro
12523
12524 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * Bufferview_pimpl.C:
12527         * LColor.h:
12528         * LColor.C: further lcolor tidies
12529
12530 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * BufferView_pimpl.C (updateScrollbar): simplify.
12533
12534         * BufferView2.C: don't include insets/insetinfo.h, change
12535         prototype for insertInset and call the Pimpl version. let
12536         updateInset call Pimpl version.
12537
12538         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12539         gotoInset to BufferView::Pimpl
12540
12541 2001-06-01  Juergen Vigna  <jug@sad.it>
12542
12543         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12544         inside a LockingInset (is the update needed at all?).
12545
12546 2001-05-31  Juergen Vigna  <jug@sad.it>
12547
12548         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12549         here not the old one otherwise how should we compare it afterwards
12550         if it's the same!
12551
12552 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12553
12554         * lyxfont.C:
12555         * tabular.C:
12556         * tabular-old.C:
12557         * FontInfo.C: bring C functions into global namespace when
12558         necessary
12559
12560 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * LString.h: make sure config.h has been loaded before LString.h.
12563
12564         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12565         (one for each char read by EatLine!).
12566
12567         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12568         variables.
12569
12570 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12573         to the same as the par we break from
12574
12575 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12576
12577         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12578
12579         * MenuBackend.C (expand): also create menu entries for wide
12580         versions of the floats.
12581
12582         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12583
12584         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12585
12586         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12587         frontends/Makefile.am
12588
12589         * text2.C: adjust
12590         * text.C: adjust
12591
12592
12593         * tabular.C (getTokenValue): add std::
12594
12595         * tabular-old.C (getTokenValue): add std::
12596         (getTokenValue): ditto
12597         (getTokenValue): ditto
12598
12599         * screen.C (ToggleSelection): adjust
12600
12601         * lyxtext.h: put selection cursors inside a Selection struct.
12602
12603         * lyxfunc.C (moveCursorUpdate): adjust
12604
12605         * lyxfont.C (latexWriteStartChanges): add std::
12606
12607         * lyxfind.C: adjust
12608
12609         * font.h: delete with(char const *, LyXFont const &)
12610
12611         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12612
12613         * FontInfo.C (getFontname): add std::
12614
12615         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12616         (workAreaButtonPress): adjust
12617         (tripleClick): adjust
12618         (update): adjust
12619         (moveCursorUpdate): adjust
12620         (Dispatch): adjust
12621
12622         * BufferView2.C (gotoInset): adjust
12623
12624 2001-05-30  Juergen Vigna  <jug@sad.it>
12625
12626         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12627         to check pspell I add this as default as I now have new pspell
12628         libraries and they seem to use this.
12629
12630 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12631
12632         * text2.C (CutSelection): make the cursor valid before the call to
12633         ClearSelection.
12634
12635 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12638         relied on 0 terminated strings and other horrors. Bug found due to
12639         the new assert in lyxstring!
12640
12641         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12642         KP_ keys.
12643
12644 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12647         to latinkeys.bind.
12648
12649         * lyxfunc.C (processKeySym): change method of getting to the
12650         self-insert char.
12651
12652         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12653         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12654         * BufferView_pimpl.[Ch]: here as private methods.
12655
12656 2001-05-28  Juergen Vigna  <jug@sad.it>
12657
12658         * text.C (SetHeightOfRow): added the update() call again as it is
12659         needed to initialize inset dimensions!
12660
12661 2001-05-16  Juergen Vigna  <jug@sad.it>
12662
12663         * text2.C (SetCharFont): Add new function with BufferView * and
12664         bool toggleall parameters for setting insets internal fonts.
12665         (SetFont): Freeze the undo as we may change fonts in Insets and
12666         all this change should be inside only one Undo!
12667
12668         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12669         setting font's in insets as for them we have the SetFont function!
12670
12671 2001-05-15  Juergen Vigna  <jug@sad.it>
12672
12673         * text2.C (ClearSelection): to be sure we REALLY don't have any
12674         selection anymore!
12675
12676         * tabular.C (TeXCellPreamble): fixed the left border problem for
12677         multicolumn cells.
12678
12679 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12680
12681         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12682         dependancy file
12683
12684 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12687         LFUN_BREAKPARAGRAPH.
12688
12689         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12690         help test to "internal only", similar for LFUN_INSERT_URL
12691
12692         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12693         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12694         auto_region_delete and deadkeys.
12695
12696 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12697
12698         * LColor.h:
12699         * LColor.C: remove some dead entries, tidy a little
12700
12701 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12704         commented code.
12705         (Dispatch): implement LFUN_ESCAPE
12706
12707         * commandtags.h: add LFUN_ESCAPE
12708
12709         * LyXAction.C (init): add entry for LFUN_ESCAPE
12710
12711         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12712         Remove commented code.
12713         (insertNote): moved here
12714         (open_new_inset): moved here
12715
12716         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12717         BufferView_pimpl
12718
12719 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12720
12721         * kbmap.C (findbinding): clean it up and make it work correctly.
12722
12723         * lyx_main.C (init): do not pass argc and argv as parameters
12724
12725 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12726
12727         * buffer.C: fix path for OS/2 & Win32
12728
12729         * lyx_gui.C:
12730         * lyx_main:
12731         * lyx_main.C: Added os:: class.
12732
12733         * os2_defines.h: update
12734
12735 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12738         better by trying again with reduced state.
12739
12740 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * lyxrc.C (read): print error about invalid key sequence only when
12743         debugging (because not all latinX keysyms are known to some X
12744         servers)
12745
12746         * kbsequence.C (getiso): add a few std:: qualifiers
12747         (getiso): comment out extra return statement.
12748
12749 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12752         handling.
12753         (Dispatch): enhance the accent inset a bit. (not perfect)
12754
12755 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12758
12759 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * bufferlist.C (emergencyWrite): fix assert() call
12762
12763 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12764
12765         * text.C (InsertChar): Added trivial patch to only send the "you
12766         can not do multiple spaces this way" message once during a
12767         session.
12768
12769 2001-05-08  Baruch Even  <baruch@lyx.org>
12770
12771         * Makefile.am: Changed order of libraries to get LyX to link properly
12772         with the gnome frontend.
12773
12774 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12775
12776         * LaTeXFeatures.h: add a std:: qualifier
12777
12778 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * paragraph.C (String): use stringstream
12781
12782 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * paragraph.C (writeFile): remove footflag arg
12785
12786         * buffer.C (makeLaTeXFile): use stringstream
12787         (latexParagraphs): remove footnot gurba
12788
12789         * LaTeXFeatures.C (getPackages): use stringstream
12790         (getMacros): likewise
12791         (getTClassPreamble): likewise
12792         (getFloatDefinitions): new method
12793
12794         * paragraph.C (writeFile): reindent
12795         (Erase): reindent
12796
12797         * WorkArea.h: revert the xpos + etc changes.
12798
12799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12800
12801         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12802
12803         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12804         (pasteSelection): likewise
12805         * text2.C (CreateUndo): likewise
12806
12807 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * minibuffer.C (peek_event): temporarily reduce the functionality
12810         of the minibuffer (to allow args on lfuns)
12811
12812         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12813         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12814
12815         * buffer.C (readInset): add compability reading of old float
12816         lists, add reading of new style float list.
12817         (readInset): avoid reevaluation of inscmd.getCmdName()
12818         (getLists): reindent
12819
12820         * MenuBackend.C (MenuItem): implement parsing of
12821         md_floatlistinsert and md_floatinsert.
12822         (expand::LastFiles): move initalizaton of iterators out of loop,
12823         avoid reevaluation.
12824         (expand::Documents): introduce typdedef vector<string> Strings,
12825         and use it.
12826         (expand::ExportFormats): introduce typedef vector<Format const *>
12827         Formats, and use it.
12828         (expand): implement FloatListInsert and FloatInsert.
12829
12830         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12831         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12832         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12833
12834         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12835         handling.
12836         (Dispatch::LFUN_FLOAT_LIST): implement
12837
12838 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12839
12840         * LaTeX.C (run): Fix problem with --export code.
12841
12842 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12843
12844         * BufferView.[Ch] (workarea): removed.
12845         (getClipboard) new method; wrapper for workarea()->getClipboard()
12846
12847         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12848         bug.
12849
12850         * WorkArea.h (width, height, xpos, ypos): These methods all
12851         returned the dimensions of the work_area sub-area of WorkArea,
12852         resulting in a position error if the WorkArea were resized. Now
12853         return the dimensions of the entire WorkArea.
12854
12855         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12856
12857 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * LaTeX.C (deplog): correct the syntax of regex reg1
12860
12861 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * undo.C: remove !NEW_INSETS cruft
12864
12865 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * text2.C: remove !NEW_INSETS cruft
12868
12869         * text.C: remove !NEW_INSETS cruft
12870
12871         * tabular.C: remove !NEW_INSETS cruft
12872
12873         * spellchecker.C: remove !NEW_INSETS cruft
12874
12875         * lyxtext.h: remove !NEW_INSETS cruft
12876
12877         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12878
12879         * lyxfunc.C: remove !NEW_INSETS cruft
12880
12881         * lyxfind.C: remove !NEW_INSETS cruft
12882
12883         * lyx_cb.C: remove !NEW_INSETS cruft
12884
12885         * figureForm.C: remove  !NEW_INSETS cruft
12886
12887         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12888
12889         * buffer.[Ch]: remove !NEW_INSETS cruft
12890
12891         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12892
12893         * CutAndPaste.C: remove !NEW_INSETS cruft
12894
12895         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12896
12897         * BufferView2.C: remove !NEW_INSETS cruft
12898
12899         * BufferView.h: remove !NEW_INSETS cruft
12900
12901 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12902
12903         * Lsstream.h: include LString.h before the sstream headers to
12904         fix problem with gcc 2.95.3 and lyxstring
12905
12906 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * lyx_main.C: add using directives when needed for C functions
12909         declared in std:: namespace.
12910
12911 2001-04-27  Juergen Vigna  <jug@sad.it>
12912
12913         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12914         (SetHeightOfRow): comment out the update call should not be needed!
12915
12916 2001-04-13  Juergen Vigna  <jug@sad.it>
12917
12918         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12919         (LyXTabular): tried to minimize operator= operations (and realized
12920         hopfully Lars wish).
12921
12922 2001-04-27  Juergen Vigna  <jug@sad.it>
12923
12924         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12925
12926 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12927
12928         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12929
12930         * buffer.C (readInset): hack to make listof algorithm work
12931
12932         * BufferView_pimpl.C: hack to make listof algorithm work
12933
12934 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * LyXAction.C: removed all !NEW_INSETS cruft
12937         (init): moved lfun_item in method
12938
12939         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12940
12941 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12942
12943         * BufferView2.C (theLockingInset): white space.
12944
12945 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * minibuffer.C: include <iostream>
12948
12949         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12950
12951         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12952
12953         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12954
12955         * text.[Ch] (TransposeChars): new method
12956
12957 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * call message directly through LyXView instead of through LyXFunc
12960         * BufferView2.C: adjust
12961         * BufferView_pimpl.C: adjust
12962         * FontLoader.C: adjust
12963         * buffer.C: adjust
12964         * bufferview_funcs.C: adjust
12965         * converter.C: adjust
12966         * figureForm.C: adjust
12967         * importer.C: adjust
12968         * lyx_cb.C: adjust
12969         * lyx_gui_misc.C: adjust
12970         * lyxfunc.C: adjust
12971         * lyxvc.C: adjust
12972         * text2.C: adjust
12973         + more files in subdirs
12974
12975         * lyxparagraph.h (size): move up int file
12976         (GetLayout): ditto
12977
12978         * adjust all uses of Assert to lyx::Assert.
12979
12980         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12981         lyxfunctional in namespace lyx
12982         * layout.C (hasLayout): ditto
12983         (GetLayout): ditto
12984         (GetLayout): ditto
12985         (delete_layout): ditto
12986         (NumberOfClass): ditto
12987         * converter.C (GetFormat): ditto
12988         (GetNumber): ditto
12989         (Add): ditto
12990         (Delete): ditto
12991         (SetViewer): ditto
12992         * bufferlist.C (getFileNames): ditto
12993         (emergencyWriteAll): ditto
12994         (exists): ditto
12995         (getBuffer): ditto
12996         * MenuBackend.C (hasSubmenu): ditto
12997         (hasMenu): ditto
12998         (getMenu): ditto
12999         * BufferView_pimpl.C (getInsetByCode): ditto
13000
13001 2001-04-18  Juergen Vigna  <jug@sad.it>
13002
13003         * vspace.C (asLatexString): fixed the 100% problem.
13004
13005 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13006
13007         * lyxfunc.C (Dispatch):
13008         * minibuffer.C:
13009         * minibuffer.h: add a few std:: qualifiers
13010
13011 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * minibuffer.[Ch]: reimplement so that commands is initiated and
13014         run from lyxfunc, simplified som handling, and made the completion
13015         and history code for complete. wip.
13016
13017         * lyxfunc.C (processKeySym): call message
13018         (miniDispatch): new temporary method
13019         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13020         (LFUN_MESSAGE): implement
13021         (LFUN_MESSAGE_PUSH): implement
13022         (LFUN_MESSAGE_POP): implement
13023         (initMiniBuffer): the initial/defualt minibuffer message.
13024
13025         * lyxfont.[Ch]: inline some more getters
13026
13027         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13028
13029         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13030
13031         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13032         (AutoSave): use LFUN_MESSAGE
13033         (Reconfigure): ditto
13034
13035         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13036
13037         * figureForm.C: use LFUN_MESSAGE
13038
13039         * converter.C (runLaTeX): use LFUN_MESSAGE
13040
13041         * bufferview_funcs.C: use LFUN_MESSAGE
13042         (Melt): ditto
13043         (changeDepth): ditto
13044
13045         * bufferparams.h: use boost::
13046
13047         * bufferlist.h: inherit privately from noncopyable
13048
13049         * bufferlist.C (loadLyXFile): remove some commented code.
13050
13051         * buffer.C (runChktex): use LFUN_MESSAGE
13052
13053         * ShareContainer.h: inherit privately from noncopyable
13054
13055         * ParagraphParameters.[hC] (depth): inline it.
13056
13057         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13058         methods.
13059         (message): new method
13060         (messagePush): ditto
13061         (messagePop): ditto
13062         (show): init minibuffer
13063         (showState): direct call
13064
13065         * LaTeX.[Ch]: inherit privately from noncopyable
13066         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13067         instead of WriteStatus.
13068
13069         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13070
13071         * BufferView_pimpl.C (buffer): don't init minibuffer
13072         (workAreaButtonPress): use LFUN_MESSAGE
13073         (workAreaButtonRelease): ditto
13074         (savePosition): ditto
13075         (restorePosition): ditto
13076         (MenuInsertLyXFile): ditto
13077         (workAreaExpose): don't init minibuffer
13078         (update): remove commented code, simplify
13079
13080         * BufferView2.C (openStuff): use LFUN_MESSAGE
13081         (toggleFloat): ditto
13082         (menuUndo): ditto
13083         (menuRedo): ditto
13084         (copyEnvironment): ditto
13085         (pasteEnvironment): ditto
13086         (copy): ditto
13087         (cut): ditto
13088         (paste): ditto
13089         (gotoInset): ditto
13090         (updateInset): remove some commented code
13091
13092         * lastfiles.h: inherit privately from noncopyable
13093         * layout.h: ditto
13094         * lyx_gui.h: ditto
13095         * lyx_main.h: ditto
13096         * lyxlex.h: ditto
13097         * lyxlex_pimpl.h: ditto
13098
13099         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13100         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13101         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13102
13103         * LyXAction.h: inherit privately from noncopyable, add methods
13104         func_begin, func_end, returning iterators to the func map.
13105
13106         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13107         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13108         (func_begin): new method
13109         (func_end): new method
13110
13111         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13112         and not)
13113         (copySelection): ditto
13114         (pasteSelection): ditto
13115
13116         * BufferView.C: whitespace change
13117         * BufferView.h: inherit privately from noncopyable
13118
13119 2001-04-16  Allan Rae  <rae@lyx.org>
13120
13121         * tabular-old.C (l_getline):
13122         * spellchecker.C (sc_check_word):
13123         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13124         an unrecognised preprocessor directive.  So ensure they're wrapped.
13125
13126 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * src/exporter.C (Export): Give an error message when path to file
13129         contains spaces.
13130
13131 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13132
13133         * LaTeX.C (deplog): Always check that foundfile exists.
13134
13135 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * lyx_main.h:
13138         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13139
13140 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13141
13142         * tabular.[Ch] (getLabelList): implement new method
13143
13144         * minibuffer.h: comment ouf setTiimer
13145
13146         * minibuffer.C (ExecutingCB): constify res
13147         (peek_event): constify s
13148         (Set): constify ntext
13149         (Init): constify nicename
13150
13151         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13152
13153         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13154         (savePosition): use two params to Minibuffer::Set
13155         (restorePosition): ditto
13156
13157 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * lyx_main.C: include language.h
13160
13161         * Makefile.am (lyx_main.o): add language.h
13162
13163 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * exporter.C:
13166         * paragraph.C:
13167         * screen.C:
13168         * tabular.C:
13169         * CutAndPaste.C: include gettext.h
13170
13171         * lyxfont.h: remove old hack with ON and OFF.
13172
13173         * lyxparagraph.h:
13174         * lyxfont.h: do not include language.h...
13175
13176         * BufferView2.C:
13177         * LaTeXFeatures.C:
13178         * Painter.C:
13179         * bufferview_funcs.C:
13180         * font.C:
13181         * lyxfont.C:
13182         * text.C:
13183         * text2.C:
13184         * trans_mgr.C:
13185         * paragraph.C: ... but do it here instead
13186
13187 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13190
13191         * tabular.C: small reformat
13192
13193         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13194         NEW_INSETS version
13195         (GetChar): ditto
13196         (BreakParagraph): ditto
13197         (SetOnlyLayout): ditto
13198         (SetLayout): ditto
13199
13200         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13201         with one arg less.
13202
13203         * lastfiles.C: removed most using decl, add std:: where needed
13204
13205         * buffer.C: ws changes
13206
13207         * MenuBackend.C (class compare_format): put into anon namespace
13208         (expand): constify label, names, action, action2
13209         (expand):
13210
13211         * text.C (SingleWidth): constify font
13212         (IsBoundary): constify rtl2
13213         (GetVisibleRow): constify ww
13214
13215         * LaTeX.C (deplog): constify logfile
13216
13217         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13218         start_x, end_x
13219         (workAreaExpose): constify widthChange, heightChange
13220
13221         * lyxrow.C (par): moved
13222         (height): moved
13223         (next): moved
13224         * lyxrow.h: as inlines here
13225
13226         * lyxfont.h (shape): moved from lyxfont.C
13227         (emph): moved from lyxfont.C
13228
13229         * lyxfont.C (LyXFont): use initialization list for all
13230         constructors
13231         (shape): move to lyxfont.h as inline
13232         (emph): move to lyxfont.h as inline
13233
13234
13235 2001-04-04  Juergen Vigna  <jug@sad.it>
13236
13237         * vspace.C: had to include stdio.h for use of sscanf
13238
13239 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * BufferView.h:
13242         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13243         independent of xforms.
13244
13245 2001-04-02  Juergen Vigna  <jug@sad.it>
13246
13247         * spellchecker.C: fixed namespace placing!
13248
13249 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13252         the LyXParagraph * is 0.
13253
13254 2001-03-29  Juergen Vigna  <jug@sad.it>
13255
13256         * vspace.C: added support for %, c%, p%, l%.
13257         (stringFromUnit): added helper function.
13258         (asLatexString): changed to give right results for the %-values.
13259
13260         * buffer.C: convert the widthp in a width%.
13261
13262 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13263
13264         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13265         figureForm.[Ch].
13266
13267         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13268         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13269
13270         * lyx_cb.[Ch]: see above.
13271
13272         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13273         form1.[Ch].
13274
13275         * form1.[Ch]:
13276         * lyx.[Ch]: replaced by figure_form.[Ch].
13277
13278         * lyx_gui.C:
13279         * lyx_gui_misc.C:
13280         * lyxfunc.C: changed headers associated with above changes.
13281
13282 2001-03-27  Juergen Vigna  <jug@sad.it>
13283
13284         * BufferView_pimpl.C: set the temporary cursor right!
13285
13286 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13287
13288         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13289
13290 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * LString.h: removed "using std::getline"!
13293
13294         * BufferView_pimpl.C (Dispatch): changes due to changes in
13295         InsetInclude::Params.
13296
13297         * buffer.C (tag_name): removed redundant break statements as they were
13298         producing lots of warnings with my compiler.
13299
13300 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13301
13302         * LString.h: add "using std::getline" when using the real <string>.
13303
13304 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13305
13306         * buffer.C: removed bitset usage.
13307         PAR_TAG moved to an anonymous name space.
13308         (tag_name): new funtion, also in the anonymous namespace.
13309         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13310         (makeDocBookFile): clean code. Completed transition from string arrays
13311         to string vectors.
13312         (SimpleDocBookOnePar): code clean.
13313
13314 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13315
13316         * tabular.C: add some comments.
13317
13318 2001-03-22  Juergen Vigna  <jug@sad.it>
13319
13320         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13321         compatibility read a bit and fixed bug with minipage in different
13322         depth.
13323
13324 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13325
13326         * buffer.C (pop_tag): removed.
13327         (push_tag): removed.
13328         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13329         array replaced with vector. Added support for CDATA sections.
13330         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13331         at any nest level.
13332         (makeDocBookFile): XML conformant declaration of CDATA section,
13333         fixed bug related to <emphasis> in the first paragraph char.
13334         (sgmlOpenTag): exclude empty tags.
13335         (sgmlCloseTag): ditto.
13336
13337         * buffer.h (pop_tag): removed.
13338         (push_tag): removed.
13339
13340 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13341
13342         * language.h (Languages): added size_type and size().
13343
13344 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13345
13346         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13347         response on compability reading of minipages. One probliem is that
13348         the old usage of minipages was «flertydig»
13349
13350         * several files here and in subdirs: don't use static at file
13351         scope use anon namespaces instead.
13352
13353 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13354
13355         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13356         LaTeX output. This is necessary for Literate document
13357         processing.
13358
13359 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13360
13361         * buffer.C: insert hfill when needed.
13362
13363         * tabular.C (l_getline): use string::erase, small whitespace change.
13364
13365         * BufferView_pimpl.C: try the anon namespace.
13366         * WorkArea.C: ditto
13367
13368 2001-03-16  Juergen Vigna  <jug@sad.it>
13369
13370         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13371         otherwise it won't open options-dialogs.
13372
13373         * buffer.C: honor pextraWidth(p) on converting minipages.
13374
13375         * tabular.C (l_getline): changed the functions to strip trailing \r.
13376
13377 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13378
13379         * BufferView_pimpl.C:
13380         * minibuffer..C: added "using SigC::slot" declaration.
13381
13382 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13383
13384         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13385
13386         * text2.C: ditto
13387
13388         * text.C: ditto
13389
13390         * paragraph.C: ditto
13391
13392         * lyxtext.h: NO_PEXTRA
13393
13394         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13395
13396         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13397         * ParameterStruct.h: ditto
13398         * ParagraphParameters.h: ditto
13399         * lyxparagraph.h: ditto
13400
13401 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13402
13403         * buffer.C: add compability for minipage alignment.
13404         (latexParagraphs): remove unwanted pextra check.
13405
13406         * several files: remove CXX_WORKING_NAMESPACES
13407
13408         * buffer.C (pop_tag): tie is in namespace boost
13409
13410         * BufferView.h: noncopyable is in namespace boost
13411         * lyxlex.h: ditto
13412         * lyx_main.h: ditto
13413         * lyx_gui.h: ditto
13414         * layout.h: ditto
13415         * lastfiles.h: ditto
13416         * bufferlist.h: ditto
13417         * ShareContainer.h: ditto
13418         * LyXView.h: ditto
13419         * LyXAction.h: ditto
13420         * LaTeX.h: ditto
13421
13422 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13423
13424         * Merging changes from BRANCH_MVC back into HEAD.
13425
13426         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13427
13428 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * BufferView_pimpl.C: change from intl.C
13431
13432         * combox.h:
13433         * combox.C:
13434         * Makefile.am: move combox.*
13435
13436         * form1.h:
13437         * form1.C:
13438         * lyx_gui.C:
13439         * intl.h:
13440         * intl.C: remove dialog (covered by prefs)
13441
13442 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13443
13444         * lyxfunc.C (Dispatch): removed redundant break statement.
13445
13446 2001-03-14  Juergen Vigna  <jug@sad.it>
13447
13448         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13449
13450 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13451
13452         * buffer.C: add hack to fix compability reading of minipages.
13453
13454 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13455
13456         * buffer.C (getLists): Cleanup.
13457
13458 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * lyxfont.C (update): don't honor toggleall on font size.
13461
13462 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * bmtable.c:
13465         * bmtable.h:
13466         * Makefile.am: moved to frontends/xforms/
13467
13468         * lyx_gui_misc.C:
13469         * lyxfunc.C:
13470         * BufferView_pimpl.C: changes for moved mathpanel
13471
13472 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * gettext.h: fix gettext_init() in --disable-nls
13475
13476 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13479
13480 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13481
13482         * lyx.C:
13483         * lyx.h: strip external form
13484
13485 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13486
13487         * BufferView_pimpl.C: add comment, destroySplash()
13488
13489 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13490
13491         * BufferView_pimpl.C:
13492         * LyXAction.C:
13493         * buffer.C:
13494         * commandtags.h:
13495         * lyxfunc.C: use re-worked insetinclude
13496
13497 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13498
13499         * buffer.C: add using std::stringstream.
13500
13501         * lyx_cb.C: readd using std::ios.
13502
13503         * buffer.C: add using std::map.
13504
13505         * BufferView_pimpl.C: add using std::vector.
13506
13507         * ShareContainer.h: add std:: to swap.
13508
13509         * buffer.h: add some typedefs
13510         * buffer.C (getLists): use them
13511         (getLists): renamed from getTocList.
13512         add a counter for the different float types and use it in the
13513         generated string.
13514         (getLists): use the same counter for the NEW_INSETS and the "non"
13515         NEW_INSETS
13516
13517         * lyx_cb.h: remove unused items, includes, using etc.
13518
13519         * ShareContainer.h: remove some commented code, add more comments
13520         and "documentation".
13521
13522 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13523
13524         * buffer.C (getTocList): make the list also when NEW_INSETS is
13525         defined.
13526
13527         * buffer.h: remove TocType
13528
13529         * buffer.C (getTocList): change to return a map<string,
13530         vector<TocItem> >, implement for dynamic number of list.
13531
13532         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13533         * text2.C (PasteSelection): adjust
13534         * CutAndPaste.C (pasteSelection): adjust
13535
13536         * FloatList.C (FloatList): update from the new_insets branch.
13537         * Floating.[Ch]: ditto
13538         * LaTeXFeatures.C: ditto
13539         * buffer.C: ditto
13540         * lyxlex_pimpl.C: ditto
13541
13542         * paragraph.C (Last): remove when NEW_INSETS is defined.
13543
13544         * other file: changes because of the above.
13545
13546 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13547
13548         * lyxparagraph.h: rename next to next_, previous to previous_,
13549         make them private for NEW_INSETS. Rename Next() to next(),
13550         Previous() to previous().
13551
13552         * other files: changes because of the above.
13553
13554 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13555
13556         * BufferView.h:
13557         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13558         problem.
13559
13560 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * main.C (main): pass lyx_localedir to gettext_init().
13563
13564         * gettext.h: remove locale_init and gettext_init macros
13565
13566         * gettext.C (locale_init): new function
13567         (gettext_init): new function
13568
13569         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13570         setlocale().
13571
13572 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13573
13574         * Moved credits to frontends:
13575         * credits.[Ch]: removed
13576         * credits_form.[Ch]: removed
13577         * lyx_gui_misc.C: remove credits stuff
13578         * Makefile.am:
13579
13580 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13581
13582         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13583
13584         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13585         unneeded destructor.
13586
13587         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13588         a standalone pointer again.
13589
13590         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13591
13592 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * Makefile.am:
13595         * filedlg.h:
13596         * filedlg.C:
13597         * LyXAction.C:
13598         * ToolbarDefaults.C:
13599         * bufferlist.C:
13600         * commandtags.h:
13601         * form1.C:
13602         * form1.h:
13603         * lyx_cb.C:
13604         * lyx_cb.h:
13605         * lyxfunc.h:
13606         * lyxfunc.C:
13607         * BufferView_pimpl.C: use new file dialog in GUII
13608
13609         * lyx_cb.h:
13610         * lyx_cb.C: remove LayoutsCB to Toolbar
13611
13612 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13613
13614         * ShareContainer.h (get): add std:: qualifier
13615
13616 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * ShareContainer.h: define a proper ShareContainer::value_type
13619         type (and use typename to please compaq cxx)
13620
13621 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13622
13623         * lyxparagraph.h: move serveral local vars to
13624         ParameterStruct/ParagraphParameters., use ShareContainer in
13625         FontTable., make vars in FontTable private and add getter and
13626         setter.
13627
13628         * paragraph.C: changes because of the above.
13629
13630         * lyxfont.h: remove copy constructor and copy assignment. (the
13631         default ones is ok), move number inside FontBits. move inlines to
13632         lyxfont.C
13633
13634         * lyxfont.C: add number to initializaton of statics, move several
13635         inlines here. constify several local vars. some whitespace
13636         cleanup. Dont hide outerscope variables.
13637
13638         * Spacing.h: add two new constructors to match the set methods.
13639
13640         * ShareContainer.h: new file, will perhaps be moved to support
13641
13642         * ParameterStruct.h: new file
13643
13644         * ParagraphParameters.h: new file
13645
13646         * ParagraphParameters.C: new file
13647
13648         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13649         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13650
13651         * BufferView_pimpl.C: ParagraphParameter changes.
13652         * buffer.C: Likewise.
13653         * bufferview_funcs.C: Likewise.
13654         * text.C: Likewise.
13655         * text2.C: Likewise.
13656
13657 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * lyxfind.C (LyXReplace): do not redefine default argument in
13660         implementation.
13661         (IsStringInText): ditto
13662         (SearchForward): ditto
13663         (SearchBackward): ditto
13664
13665 2001-03-06  Juergen Vigna  <jug@sad.it>
13666
13667         * lyxfind.C (IsStringInText): put parentes around expressions.
13668
13669 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13670
13671         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13672
13673 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13674
13675         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13676
13677         * stl_string_fwd.h: add comment
13678
13679         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13680
13681         * tabular.h:
13682         * tabular.C: remove unused DocBook methods
13683
13684         * intl.C:
13685         * language.C:
13686         * paragraph.C:
13687         * buffer.C:
13688         killed DO_USE_DEFAULT_LANGUAGE
13689
13690 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * lyx_gui.C: do not include language.h.
13693
13694         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13695         arguments in function implementation.
13696
13697 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13698
13699         * BufferView_pimpl.C: add <ctime>
13700
13701 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13702
13703         * BufferView_pimpl.C: add using std::find_if
13704
13705 2001-02-27  José Matos  <jamatos@fep.up.pt>
13706
13707         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13708         by OnlyPath.
13709
13710 2001-02-11  José Matos  <jamatos@fep.up.pt>
13711
13712         * buffer.C (makeDocBookFile): command styles now have a parameter as
13713         "title" by default.
13714
13715 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13716
13717         * layout_forms.[Ch]: removed
13718         * lyx_cb.[Ch]: out character
13719         * lyx_gui.C: out character
13720         * lyx_gui_misc.C: out character
13721         * bufferview_funcs.C: : out character,
13722         added toggleall as parameter in ToggleAndShow
13723
13724 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13725
13726         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13727
13728         * text2.C (SetCurrentFont): Disable number property at boundary.
13729
13730 2001-02-26  Juergen Vigna  <jug@sad.it>
13731
13732         * lyxfunc.C (getStatus): added a string argument override function so
13733         that this is correctly called from LyXFunc::Dispatch if it contains a
13734         do_not_use_argument which is used!
13735         (Dispatch): added check for "custom" export and call appropriate func.
13736
13737 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13738
13739         * lyxrc.C: Add language_command_local, language_use_babel and
13740         language_global_options.
13741
13742         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13743
13744         * buffer.C (makeLaTeXFile): Use language_use_babel and
13745         language_global_options.
13746
13747 2001-02-23  Juergen Vigna  <jug@sad.it>
13748
13749         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13750         which works with LyXText and putted it inside BufferView. Here now we
13751         only call for that part the BufferView::Dispatch() function.
13752
13753         * BufferView.C (Dispatch): added.
13754
13755         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13756         functions which needs to use a LyXText over from LyXFunc.
13757         (MenuInsertLyXFile): added
13758         (getInsetByCode): added
13759         (moveCursorUpdate): added
13760         (static TEXT): added
13761
13762 2001-02-22  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView_pimpl.C (update): call a status update to see if LyXText
13765         needs it.
13766
13767 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13768
13769         * vc-backend.C (revert): implement for CVS
13770         (getLog): implement for CVS
13771
13772 2001-02-20  Juergen Vigna  <jug@sad.it>
13773
13774         * text2.C (ClearSelection): added BufferView param for inset_owner call
13775
13776         * lyxfunc.C (TEXT): added this function and use it instead of
13777         directly owner->view()-text of getLyXText().
13778
13779 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13780
13781         * src/layout_forms.C: out preamble
13782         * src/layout_forms.h: out preamble
13783         * src/lyx_cb.C: out preamble
13784         * src/lyx_cb.h: out preamble
13785         * src/lyx_gui.C: out preamble
13786         * src/lyx_gui_misc.C: out preamble
13787         * src/lyxfunc.C: connect with guii preamble
13788
13789 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13790
13791         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13792
13793 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13794
13795         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13796         whether to run bibtex.
13797
13798 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13799
13800         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13801
13802 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13803
13804         * Makefile.am (lyx_SOURCES): removed bibforms.h
13805
13806         * vspace.h: doxygen
13807
13808         * text.C (GetVisibleRow): make several local vars const
13809
13810         * tabular.C: small cleanup.
13811
13812         * lyxserver.C (callback): use compare instead of strncmp
13813
13814         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13815         inlines to after class or to paragraph.C
13816
13817         * lyxfont.h: remove friend operator!=
13818
13819         * converter.h: move friend bool operator< to non friend and after
13820         class def.
13821
13822         * combox.h: small cleanup
13823
13824         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13825         to inlines after class def.
13826
13827         * buffer.C (pop_tag): use string operations instead of strcmp
13828
13829         * bmtable.c: doxygen, small cleanup
13830
13831         * LaTeX.h: remove friend operator==
13832
13833 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13834
13835         * screen.C:
13836         * lyxrc.[Ch]:
13837         * lyxfunc.C:
13838         * lyxfont.[Ch]:
13839         * lyx_cb.C:
13840         * intl.[Ch]:
13841         * commandtags.h:
13842         * buffer.C:
13843         * WorkArea.[Ch]:
13844         * LyXAction.C:
13845         * BufferView_pimpl.C:
13846         * BufferView.[Ch]: remove cruft
13847
13848 2001-02-14  Juergen Vigna  <jug@sad.it>
13849
13850         * lyxfunc.C: removed #if 0 unused code
13851
13852         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13853
13854         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13855
13856         * text2.C (SetSelection): added a BufferView * parameter
13857
13858 2001-02-13  Juergen Vigna  <jug@sad.it>
13859
13860         * lyxfunc.C (Dispatch): fixed protected blank problem.
13861         * BufferView2.C (protectedBlank): added LyxText * parameter.
13862
13863         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13864         (AppendColumn): same as above for column_info.
13865
13866         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13867         (moveCursorUpdate): use a LyXText param for support of InsetText.
13868
13869         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13870         (tripleClick): ditto
13871
13872         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13873
13874         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13875
13876         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13877
13878         * text2.C (SetSelection): set correct update status if inset_owner
13879         (ToggleFree): ditto
13880
13881 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13882
13883         * tabular.C: remove some commented code.
13884
13885 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13886
13887         * BufferView_pimpl.C: call hideSplash()
13888
13889         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13890
13891         * include_form.h:
13892         * bibforms.h: remove
13893
13894         * lyxfunc.C:
13895         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13896           add LFUN_CHILD_CREATE
13897
13898         * counters.h: fix tiny typo
13899
13900         * lyx_cb.C:
13901         * lyx.h:
13902         * lyx_gui.C:
13903         * lyx.C: move splash to frontends/xforms/
13904
13905         * lyx_gui_misc.C: move Include and Bibform to frontends
13906
13907         * lyxvc.h: clarify comment
13908
13909         * vspace.C: tiny housekeeping
13910
13911 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * text.C (PrepareToPrint): RTL Fix.
13914
13915         * paragraph.C (GetUChar): New method.
13916         (String):  Use GetUChar.
13917
13918         * buffer.C (asciiParagraph): Use GetUChar.
13919
13920 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13923
13924 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * buffer.h:
13927         * buffer.C: rename to getLogName(), handle
13928           build log / latex log nicely
13929
13930 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13931
13932         * MenuBackend.C:
13933         * MenuBackend.h: remove support for reference menuitem type.
13934
13935 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * BufferView_pimpl.C: housekeeping
13938         * BufferView_pimpl.h:
13939         * LyXView.h:
13940         * Makefile.am:
13941         * Timeout.C:
13942         * Timeout.h:
13943         * minibuffer.h: move Timeout GUI-I
13944
13945 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13946
13947         * lyxrc.C (read): Update converters data-structures.
13948
13949 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13950
13951         * LaTeX.h (operator!=): add operator != for Aux_Info
13952
13953 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13954
13955         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13956
13957         * LaTeXLog.C: deleted, useful code moved to Buffer
13958
13959         * buffer.h:
13960         * buffer.C: new function getLatexLogName()
13961
13962         * lyx_gui_misc.C:
13963         * lyx_gui.C:
13964         * lyxvc.C:
13965         * lyxvc.h:
13966         * lyxfunc.C: use frontends for LaTeX and VC logs
13967
13968 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13969
13970         * LaTeX.h: yet another std:: that Allan forgot.
13971
13972         * Variables.C (set): renamed from isset(), because this clashes
13973         with some HP-UX macros (grr).
13974
13975 2001-02-06  Allan Rae  <rae@lyx.org>
13976
13977         * LaTeX.h: Another bug fix.  Missing std:: this time.
13978
13979 2001-02-04  Allan Rae  <rae@lyx.org>
13980
13981         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13982         floats problem. I've left it commented out because it's not quite
13983         correct.  It should also test that the current object is a table or
13984         figure inset.  But I haven't gotten around to figuring out how to do
13985         that.  I *think* it'll be something like: "table" == inset.type()
13986
13987         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13988         bool.
13989
13990 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13991
13992         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13993         all the citation/databases/styles in the auxilary file.
13994         (run): Rerun latex if there was a babel language error.
13995
13996 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * text.C (Backspace): Preserve the font when changing newline char
13999         with a space.
14000         (BreakParagraph): If the cursor is before a space, delete the space.
14001
14002         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14003
14004 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14007         new argument (code).
14008         (ChangeCitationsIfUnique): New method.
14009
14010         * paragraph.C (GetPositionOfInset): Handle bibkey.
14011
14012 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * BufferView_pimpl.h: change type of Position::par_pos to
14015         LyXParagraph::size_type.
14016
14017 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14018
14019         * BufferView_pimpl.C (savePosition, restorePosition): Write
14020         messages to minibuffer.
14021
14022 2001-01-28  José Matos  <jamatos@fep.up.pt>
14023
14024         * buffer.C (makeDocBookFile): adds support for document language.
14025         A silly restriction on the name of LatexCommand types where removed.
14026         Added support for CDATA sections, allows to chars unescaped, used
14027         among others in code, to avoid escape < and >.
14028
14029 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14030
14031         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14032         saved positions instrad of a stack. Furthermore, a position is
14033         stored using paragraph id/paragraph position.
14034
14035         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14036         Remove LFUN_REF_BACK.
14037
14038 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14039
14040         * converter.C (dvipdfm_options): New method.
14041
14042 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14043
14044         * vspace.C (isValidLength): Fix for empty input string.
14045
14046 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * LyXAction.C (init): change description of LFUN_FIGURE to
14049         "Insert Graphics"
14050
14051 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * LaTeX.C: add using directive
14054
14055 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * MenuBackend.C (expand): Fix the sorting of the formats.
14058
14059 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * lyx_main.C: tiny error message fix
14062
14063 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14066         calling fl_initialize(). This fixes the problem with ',' as
14067         decimal separator in text files.
14068
14069 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * trans.C (process): Fix the keymap bug.
14072
14073 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * LaTeX.C (scanAuxFiles): New method. Provides support for
14076         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14077         (scanLogFile) Scan for "run BibTeX" messages.
14078
14079         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14080         OT1 font encoding. Also, load the aecompl package if the ae
14081         package is loaded.
14082
14083         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14084
14085 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * texrow.C (increasePos): turn two error messages into debug
14088         messages.
14089
14090 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * LaTeX.C (scanAux): Handle the \@input macro.
14093         (runBibTeX): Use scanAux().
14094
14095         * language.C (latex_options_): New field.
14096
14097         * LaTeXFeatures.C (getMacros): Add language macros.
14098
14099         * buffer.C (makeLaTeXFile): Small fix.
14100
14101 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14104
14105         * text2.C: add a using directive.
14106
14107 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * BufferView2.C:
14110         * lyx_gui_misc.h:
14111         * lyxfr1.C:
14112         * lyxfunc.C: kill LyXBell.
14113
14114 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14115
14116         * text.C (IsBoundary): Remove the error message
14117
14118         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14119
14120         * lyxrc.C (setDefaults): Correct initialization value for
14121         font_norm_type.
14122
14123 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14124
14125         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14126         gotoError().
14127
14128         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14129         and GotoNextNote().
14130
14131         * src/LyXAction.C: Added reference-next.
14132
14133         * text.C (InsertChar): Use contains instead of strchr.
14134
14135         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14136
14137 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14138
14139         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14140         alignment commands (when needed).
14141
14142         * text.C (InsertChar): Add ':' to number separator chars.