]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8529d4a9c63ee4fc8586bd86200fbe94f9839155
[lyx.git] / src / ChangeLog
1 2003-12-10  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C: up the format to 226.
4
5         * factory.C: the note inset is now identified simply by 'Note'.
6
7 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
8
9         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
10         when a pit is enough. Standarize a couple of loops. 
11
12 2003-12-05  Angus Leeming  <leeming@lyx.org>
13
14         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
15         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
16         data to the re-worked "log" dialog.
17
18 2003-12-03  André Pönitz  <poenitz@gmx.net>
19
20         * PosIterator.C:
21         * iterators.C:
22         * lyxtext.h:
23         * output_latex.C:
24         * paragraph_funcs.C:
25         * text.C:
26         * text2.C: use Inset::getText instead of Inset::getParagraph
27
28 2003-12-03  André Pönitz  <poenitz@gmx.net>
29
30         * buffer.[Ch]:
31         * lyxtext.h:
32         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
33         InsetText::read() as LyXText::read()
34         
35 2003-12-02  Angus Leeming  <leeming@lyx.org>
36
37         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
38         type. Add a comment in the implementation that the function uses
39         the stream's bad() function rather than fail() as the std::streams
40         would do.
41
42 2003-12-02  André Pönitz  <poenitz@gmx.net>
43
44         * lyxlex.[Ch]: make interface more similar to std::stream
45
46         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
47
48 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
51
52 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
53
54         * vspace.[Ch]: remove VSpace::NONE
55
56 2003-12-01  André Pönitz  <poenitz@gmx.net>
57
58         * buffer.[Ch]:
59         * lyxtext.h: move ParagraphList member to LyXText
60         rename LyXText::ownerParagraphs to LyXText::paragraph
61
62         * CutAndPaste.C:
63         * bufferview_funcs.C:
64         * iterators.[Ch]:
65         * lyx_cb.C:
66         * paragraph.C:
67         * rowpainter.C:
68         * tabular.C:
69         * text.C:
70         * text2.C:
71         * text3.C: adjust
72
73         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
74
75         * undo.C: fix cursor positioning 
76
77 2003-12-01  John Levon  <levon@movementarian.org>
78
79         * BufferView_pimpl.C: fix a crash on exit with
80         a buffer open
81
82 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
83
84         * BranchList.C: fix setSelected() method.
85
86 2003-11-28  André Pönitz  <poenitz@gmx.net>
87
88         * ParagraphParameters.[Ch]:
89         * ParameterStruct.h: remove space above/below from Paragraph to
90          InsetVSpace
91
92         * BufferView_pimpl.C:
93         * factory.C:
94         * lyxfunc.C:
95         * lyxtext.h:
96         * output_latex.C:
97         * paragraph.C:
98         * paragraph_funcs.C:
99         * rowpainter.[Ch]:
100         * text.C:
101         * text2.C:
102         * text3.C: adjust
103
104 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * factory.C: Syntax change for CharStyles
107
108 2003-11-28  André Pönitz  <poenitz@gmx.net>
109
110         * BufferView.[Ch]:
111         * BufferView.[Ch]:
112         * buffer.[Ch]:
113         * buffer.[Ch]: move LyXText member
114
115 2003-11-28  André Pönitz  <poenitz@gmx.net>
116
117         * BufferView.[Ch]: make LyXText * text a private member
118
119         * BufferView_pimpl.C:
120         * cursor.C:
121         * iterators.C:
122         * lyx_cb.C:
123         * lyxfind.C:
124         * lyxtext.h:
125         * rowpainter.[Ch]:
126         * text.C:
127         * text2.C:
128         * undo.C: adjust
129
130         * output_plaintext.C: cleanup
131
132 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
133
134         * buffer.C: 
135         * lyxtextclass.[Ch]: parametrize SGML document header
136
137 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
138
139         * converter.[Ch]:
140         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
141         getFlavor().
142
143 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * text2.C (setFont): rework using PosIterator (no more recursive)
146         (setCharFont): no more needed 
147         (setLayout): no more selection cursors fiddling (done by redoCursor)
148         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
149         destroy remaining ones)
150
151 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
152
153         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
154         * lyxtext.h: ditto
155         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
156         selection cursors
157         * lyxfunc.C: adjust
158         * text3.C: adjust + re-allow multi par depth changes
159         * textcursor.C: simplify a bit
160
161 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * src/buffer.C:
164         * src/lyxlayout.C:
165         * src/lyxlayout.h:
166         * src/lyxtext.h:
167         * src/output_docbook.C:
168         * src/output_latex.C:
169         * src/paragraph.C:
170         * src/paragraph.h:
171         * src/sgml.C:
172         * src/sgml.h:
173         * src/text2.C: Introducing a number of tags parametrizing various
174         XML formats that we may want to support
175
176 2003-11-25  André Pönitz  <poenitz@gmx.net>
177
178         * InsetList.[Ch] (begein, end): inline as suggested by profiler
179
180         * lyxtext.h (leftMargin/rightMargin): simplify interface
181
182         * rowpainter.C:
183         * text.C:
184         * text2.C:
185         * text3.C: adjust
186
187 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * lyxfunc.C (dispatch): propogate the bibtex databases from the
190         master file to any child files. Fixes bug 546.
191
192 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
195
196 2003-11-24  André Pönitz  <poenitz@gmx.net>
197
198         * rowpainter.C: simplification
199
200         * text2.C (updateCounters): remove call to redoParagraph on 
201         changed labels as this is far too expensive.
202
203 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
204
205         * converter.C (convert): fix a crash: this function gets
206         called with buffer == 0 from importer code.
207
208 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
209
210         * text3.C (cursorPrevious): make sure that we do not compare
211         iterators form different containers.
212         (cursorNext): ditto
213
214         * rowpainter.C (paintSelection): make sure that we do not compare
215         iterators from different containers.
216
217         * text3.C (dispatch): [PRIOR] make sure that we do not compare
218         iterators from different ParagraphList containers.
219         [NEXT] ditto
220
221         * text2.C (LyXText): change order of initialization slightly
222         (operator=): new function. copy all variables except cache_par_
223         (moveUp): make sure that we do not compare iterators from
224         different ParagraphList constainers.
225         (moveDown): ditto
226
227         * text.C (firstPar): new function
228         (lastPar): new function
229         (endPar): new function
230
231         * lyxtext.h: move things around and group public functions, public
232         variables, private functions, private variables
233
234 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
235
236         * factory.C: change call to InsetERT constructor to avoid
237         additional invocation of method status
238         * text2.C (toggleInset): remove redundant update() call
239         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
240         instead of a Bufferview pointer
241
242 2003-11-21  André Pönitz  <poenitz@gmx.net>
243
244         * rowpainter.C: simplification
245
246 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * text3.C (dispatch): make possible to extend a word/row selection
249         with the mouse
250
251 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
252
253         * lyxtext.h: x0_,y0_ -> xo_,yo_
254         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
255         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
256         * rowpainter.C (paintRows): paint full paragraphs
257
258 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
259
260         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
261         screen coordinates)
262
263 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * lyxtext.h: add x0_, y0_
266         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
267         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
268
269 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * text2.C (setCursorIntern): move the x_target update here *
272         * text3.C: change some bv() to true/false in calls to
273         cursorUp/Down/Right/Left
274         * cursor.C: use helper function.
275
276 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
279         * paragraph_funcs.[Ch]: correct comment
280         * rowpainter.C: do not paint selections away from bv->cursor()
281         Fix a long standing selection painting bug.
282         * text3.C: generalize mouse-selection code to LyXTexts other that
283         top one
284         * textcursor.C: do not use y coords if we can use par offsets
285
286 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
287
288         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
289         cursor position after e.g. inset insert)
290
291 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
292
293         * lyxfind.C (replace): adjust to locking removal + some
294         code simplification
295
296 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
297
298         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
299         of the path
300
301 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * lyxlayout.[Ch]:
304         * output_docbook.C: XML sanitation: new layout
305         parameters InnerTag and CommandDepth
306
307 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * BufferView_pimpl.C:
310         * factory.C:
311         * text3.C: Fix the insertion and modification of button-style
312         insets
313
314 2003-11-13  André Pönitz  <poenitz@gmx.net>
315
316         * InsetList.[Ch]: remove deleteLyXText
317
318         * paragraph.[Ch]: cache beginOfBody position
319
320         * Bidi.C:
321         * text.C:
322         * text2.C:
323         * text3.C: remove superfluous update() calls
324
325         * vspace.C: cleanup
326
327 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
330         * BufferView.C (fitLockedInsetCursor): remove
331         * cursor.[Ch] (getDim): add
332         * text.C (getRowNearY): add faster version
333         * text3.C: remove some update calls
334
335 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
336
337         * LaTeXFeatures.C:
338         * LyXAction.C:
339         * MenuBackend.C:
340         * MenuBackend.h:
341         * dispatchresult.h:
342         * factory.C:
343         * lfuns.h:
344         * lyxfunc.C:
345         * lyxtextclass.C:
346         * lyxtextclass.h:
347         * text3.C: The Character Style /XML short element patch.
348
349 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * text3.C:
352         * factory.C: Small step to solving 'unable to insert some insets'
353         problem
354
355 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * cursor.[Ch] (updatePos): new function for updating the y
358         position of the tip inset
359         * bufferview_funcs.C (put_selection_at):
360         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
361
362 2003-11-11  André Pönitz  <poenitz@gmx.net>
363
364         * text.C: remove big comment on invalid Paragraph pointers as it is
365         not valid anymore
366
367 2003-11-11  André Pönitz  <poenitz@gmx.net>
368
369         * text_funcs.[Ch]: merge with ...
370
371         * text.C: ... this
372
373         * lyxtext.h:
374         * text2.C:
375         * text3.C: adjust
376
377         * Makefile.am: remove text_funcs.[Ch]
378
379 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
380
381         * cursor.C (getPos): return absolute cached y coord
382
383         * BufferView_pimpl.C (fitCursor): new simplistic code
384         (workAreaDispatch): add a fitCursor call
385
386 2003-11-10  André Pönitz  <poenitz@gmx.net>
387
388         * BufferView.[Ch]:
389         * BufferView_pimpl.[Ch]: merge update() and updateInset()
390
391 2003-11-10  André Pönitz  <poenitz@gmx.net>
392
393         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
394         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
395         indicate that the cursor needs to leave an inset
396
397         * lyxtext.h: remove inset locking
398
399         * cursor.[Ch]: re-implement functionality provided by inset locking
400
401         * BufferView.[Ch]:
402         * BufferView_pimpl.[Ch]:
403         * LyXAction.C:
404         * bufferview_funcs.[Ch]:
405         * factory.C:
406         * funcrequest.[Ch]:
407         * iterators.C:
408         * lyx_cb.C:
409         * lyxfind.C:
410         * lyxfunc.C:
411         * text.C:
412         * text2.C:
413         * text3.C:
414         * undo.C: adjust
415
416 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
417
418         * PosIterator.[Ch]: replace the stack with a vector, add inset
419         accesor
420         * iterators.[C]: adjust
421
422 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
423
424         * lyxfind.C (replaceAll): mark the buffer dirty if something was
425         replaced
426         * paragraph_funcs.C (readParToken): put the correct id in the
427         error item, not the id of the top paragraph
428
429 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
430
431         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
432         * bufferview_funcs.C (put_selection_at): use the above
433
434 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
435
436         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
437
438 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * output_linuxdoc.h:
441         * output_plaintext.h:
442         * output.h:
443         * output_docbook.h: add #include statements
444
445 2003-11-05  José Matos  <jamatos@lyx.org>
446
447         * output_docbook.[Ch]:
448         * output_latex.[Ch]:
449         * output_linuxdoc.[Ch]:
450         * output_plaintext.[Ch]: New files for output formats.
451         * output.[Ch]: New file for helper functions.
452
453         * buffer.[Ch]:
454         * paragraph_funcs.[Ch]: output functions moved to new files.
455
456         * outputparams.h: rename of latexrunparams.h
457
458         * LaTeX.[Ch]:
459         * buffer.[Ch]:
460         * bufferlist.[Ch]:
461         * converter.[Ch]:
462         * exporter.C:
463         * paragraph.[Ch]:
464         * paragraph_funcs.[Ch]:
465         * paragraph_pimpl.[Ch]:
466         * tabular.[Ch]: rename ascii to plaintext
467         and LatexRunParams to OutputParams.
468
469 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
470
471         * iterators.[Ch] (text): require bv argument
472         * undo.C (recordUndo):
473         * lyxfunc.C (dispatch):
474         * bufferview_funcs.C (put_selection_at): adjust
475
476 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
477
478         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
479
480 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
481
482         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
483         nestings
484
485 2003-11-04  André Pönitz  <poenitz@gmx.net>
486
487         * cursor.[Ch]: restructure
488
489         * BufferView.[Ch]:
490         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
491
492         * iterators.[Ch] (asCursor): remove
493
494         * lfuns.h: remove LFUN_INSET_EDIT
495
496         * lyxfunc.C:
497         * tabular.C:
498         * text.C:
499         * text2.C:
500         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
501
502 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
503
504         * lyxfind.[Ch]: complete overhaul
505         * BufferView_pimpl.C:
506         * lyxfunc.C: adjust
507         * paragraph.[Ch] (insert): add
508
509 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
510
511         * BufferView.[Ch]:
512         * lyxtext.h:
513         * text.C: remove dead spellcheck code
514
515 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
516
517         * dispatchresult.h: add a val setter
518
519         * cursor.C (dispatch): use a tempvar for data_[i]
520
521 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
522
523         * PosIterator.[Ch]: compile fix
524
525 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
526
527         * text.C (cursorPar): deactivate the cursor cache
528
529 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
530
531         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
532
533 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
534
535         * text3.C (dispatch): adjust for new DisptchResult semantics.
536
537         * lyxfunc.C (dispatch): handle update when return from
538         Cursor::dispatch, adjust for new DispatchResult semantics.
539
540         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
541         DispatchResult(true) mean to not update. Add class functions for
542         setting dispatched and update, as well as reading.
543
544         * cursor.C (dispatch): don't handle update here
545
546 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
547
548         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
549         * trans_mgr.C: adjust
550
551         * paragraph_funcs.C (readParToken): exception safety
552
553         * lyxvc.h: store the vcs pointer in a scoped_ptr
554         * lyxvc.C: adjust
555
556         * lyxsocket.C (serverCallback): exception safety
557
558         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
559
560         * ispell.C (clone): make it return a auto_ptr
561
562         * factory.C (createInset): exception safety
563         (readInset): exception safety
564
565         * bufferlist.C (newBuffer): exception safety
566
567         * Thesaurus.C (Thesaurus): use initialization for aik_
568
569         * MenuBackend.C (expandToc): exception safety.
570
571 2003-11-03  André Pönitz  <poenitz@gmx.net>
572
573         * buffer.C:
574         * buffer.h:
575         * bufferview_funcs.C: remove getInsetFromId()
576
577         * lyxcursor.[Ch]:
578         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
579
580         * lyxfunc.C:
581         * text2.C:
582         * text3.C: adjust
583
584 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
585
586         * PosIterator.C (distance, advance): new
587         * bufferview_funcs.[Ch] (put_selection_at): new
588         * iterators.[Ch] (lockPath): new
589
590 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
591
592         * iterators.[Ch] (asPosIterator): added
593         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
594         * PosIterator.[Ch]: added
595
596 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
597
598         * text3.C:
599         * lyxfunc.C:
600         * cursor.C (dispatch):
601         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
602
603         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
604         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
605         contructor, add a class function dispatched. Remove operator>=
606
607 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
608
609         * debug.C: only use the default constructor for debugstream
610         (lyxerr) here.
611
612         * main.C (main): include debug.h and setup the lyxerr streambuf
613         here.
614
615 2003-10-31  José Matos  <jamatos@lyx.org>
616
617         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
618
619         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
620         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
621         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
622         * paragraph_pimpl.C (simpleTeXSpecialC):
623         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
624         add LatexRunParams argument.
625
626         * exporter.C (Export): change call accordingly.
627
628         * latexrunparams.h: add new member to take care of the other backends.
629 2003-10-30  José Matos  <jamatos@lyx.org>
630
631         * buffer.C (makeLinuxDocFile, makeDocBookFile):
632         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
633         factorise code for paragraph output.
634         * buffer.[Ch]:
635         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
636         move functions.
637
638 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
639
640         * text3.C (dispatch):
641         * lyxfunc.C (dispatch):
642         * cursor.C (dispatch):
643         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
644
645         * dispatchresult.h: make the dispatch_result_t ctor explicit
646
647 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * sgml.[Ch]:
650         * buffer.C: small refactoring of docbook stuff
651
652 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
653
654         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
655         meaning.
656
657 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
658
659         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
660         operator dispatch_result_t, and operators for == != and >=
661
662         * cursor.C (dispatch): adjust for operator dispatch_result_t
663         removal. comment out call to update
664
665         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
666
667 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
668
669         * text3.C:
670         * text2.C:
671         * text.C:
672         * lyxtext.h:
673         * lyxfunc.C:
674         * cursor.C:
675         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
676         (dispatch):
677
678         * dispatchresult.h: new file, DispatchResult broken out of
679         insets/insetbase.h
680
681         * Makefile.am (lyx_SOURCES): add dispatchresult.h
682
683 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
684
685         * text.C (rowBreakPoint): put a hack inside #if 0
686
687 2003-10-28  André Pönitz  <poenitz@gmx.net>
688
689         * lyxtext.h:
690         * metricsinfo.C:
691         * paragraph_funcs.C:
692         * rowpainter.C:
693         * text.C:
694         * text2.C: general cleanup (lots of small stuff)
695
696 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
697
698         * text2.C (cursorEnd): simple fix to the "end key goes to one
699         before the end on last row" bug
700
701 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
702
703         * text.C (backspace): fix the "zombie characters"
704
705 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
706
707         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
708
709 2003-10-27  André Pönitz  <poenitz@gmx.net>
710
711         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
712
713         * factory.C: handle new InsetPagebreak, InsetLine
714
715         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
716         and move handling into new InsetPagebreak, InsetLine
717
718         * BufferView_pimpl.C:
719         * LyXAction.C:
720         * ParagraphParameters.C:
721         * ParameterStruct.h:
722         * lyxfunc.C:
723         * lyxtext.h:
724         * paragraph.C:
725         * paragraph.h:
726         * paragraph_funcs.C:
727         * paragraph_pimpl.C:
728         * rowpainter.C:
729         * text.C:
730         * text2.C:
731         * text3.C: adjust
732
733 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
734
735         * text.C:
736         * lyxrow_funcs.[Ch]:
737         * Bidi.C:
738         * paragraph.C:
739         * lyxtext.h:
740         * rowpainter.C:
741         * text2.C:
742         * text3.C: remove lastPos uses in favour of Row::endpos
743
744 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
745
746         * undo.C (performUndoOrRedo): fix two crashes by setting a
747         cursor by hand and reordering some calls. Use bv->lockInset instead
748         of inset->edit because the latter loses cursor information
749
750 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
751
752         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
753         by Martin
754         (rowBreakPoint): fix width. change point to point + 1.
755         Add a missing check.
756
757 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
758
759         * MenuBackend.C:
760         * lyxfunc.C: fix (at least partly) the problems
761         with the Nav menu and headers inside branch insets
762         reported by Kayvan
763
764 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
765
766         * paragraph.C (getChar): add strong asserts
767
768         * lyxrow_funcs.C (lastPos): remove hideous hack
769
770         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
771         (fill): adjust to that (avoid an infinite loop)
772
773 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
774
775         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
776
777 2003-10-23  André Pönitz  <poenitz@gmx.net>
778
779         * RowList_fwd.h: change list<> to vector<> to gain speed
780         after suggestion from Alfredo
781
782 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
783
784         * lyxtext.h: move the bidi stuff from here...
785         * text.C: and here
786         * text2.C: and here
787         * Bidi.[Ch]: ... to here
788
789 2003-10-23  André Pönitz  <poenitz@gmx.net>
790
791         * lyxtext.h:
792         * text.C (isLastRow, isFirstRow): new functions
793
794         * paragraph.h: new width cache member
795
796         * rowpainter.C: replace RowList::iterator with Row & where possible
797
798         * lyxfunc.C: replace several view()->text with a single call
799
800         * toc.C: fix 'unused' warning
801
802 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
803
804         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
805         when woring with stream::pos_type
806         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
807
808 2003-10-22  André Pönitz  <poenitz@gmx.net>
809
810         * lyxtext.h:
811         * text.C: use Row & instead of RowList::iterator
812
813         * lyxrow.h: rename end() to endpos()
814
815         * rowpainter.C:
816         * text.C:
817         * text2.C: adjust
818
819 2003-10-22  Angus Leeming  <leeming@lyx.org>
820
821         * buffer.[Ch] (fully_loaded): new member function, returning true
822         only when the file has been loaded fully.
823         Used to prevent the premature generation of previews and by the
824         citation inset to prevent computation of the natbib-style label.
825
826         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
827         templates are all set up.
828
829         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
830
831 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
832
833         * text.C: fixed an "oops" in the "is a bit silly"
834         bug fix
835
836 2003-10-21  André Pönitz  <poenitz@gmx.net>
837
838         * FuncStatus.[Ch]: small stuff, whitespace
839
840         * lyxfont.[Ch]: operator<<() for debug reasons
841
842         * lyxfunc.C:
843         * lyxrow_funcs.C:
844         * lyxtext.h: whitespace, spelling
845
846         * paragraph.C: naming of variables
847
848         * text.C:
849         * text2.C: small stuff
850
851
852 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * text.C: (1) finish off the inset display() work;
855         (2) fix the "is a bit silly" bug (accessing char
856         past end of par).
857
858 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
859
860         * text.C: re-introduce display() for insets, fixing the
861         various bugs (stretch of line above, math inset
862         positioning, ...)
863
864 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * text.C (rightMargin): remove spurious semicolon
867
868         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
869         1415)
870
871 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
872
873         * text3.C: fix one crash due to wrong cursor def
874
875 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
876
877         * vc-backend.C (scanMaster): make the regex static
878
879         * LaTeX.C (scanAuxFile): make the regexs static
880
881         * text3.C (doInsertInset, dispatch, dispatch):
882         * text2.C (cursorUp, cursorDown):
883         * text.C (selectNextWordToSpellcheck):
884         * BufferView_pimpl.C (dispatch):
885         * lyxfunc.C (dispatch):  localDispatch -> dispatch
886
887 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * lyxsocket.C: include <cerrno>
890
891 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
892
893         * lyxfunc.C (dispatch): remove textcache stuff
894
895         * bufferlist.C (release): remove textcache stuff
896         (closeAll): ditto
897
898         * TextCache.C: delete file
899         * TextCache.h: delete file
900
901         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
902
903         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
904         delete of the bv_->text.
905         (resizeCurrentBuffer): remove texcache stuff
906         (workAreaResize): ditto
907
908 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
909
910         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
911         action.
912
913 2003-10-16  André Pönitz  <poenitz@gmx.net>
914
915         * lyxrow.[Ch]:
916         * paragraph.h:
917         * rowpainter.C:
918         * text.C:
919         * text2.C:
920         * text3.C: speed up by storing y positions per paragraph plus per-row
921         offset instead of having a 'full' y position in the row.
922
923 2003-10-15  André Pönitz  <poenitz@gmx.net>
924
925         * iterators.[Ch]:
926         * iterators.[Ch]:
927         * undo.[Ch]: make undo aware of inner insets
928
929 2003-10-14  Angus Leeming  <leeming@lyx.org>
930
931         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
932         static member functions LyX::ref() and LyX::cref.
933         (lastfiles): new accessor functions for the new lastfiles_ member var.
934         (addLyXView, views_): add a new LyXView to the list of views_.
935         (updateInset): loop over all LyXViews to call their own updateInset
936         member function, returning a pointer to the Buffer owning the inset.
937
938         * BufferView_pimpl.C (loadLyXFile):
939         * MenuBackend.C (expandLastfiles):
940         * bufferlist.C (MenuWrite, QuitLyX):
941         lastfiles is no longer a global variable.
942         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
943
944         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
945         static function. Access through LyX::cref().emergencyCleanup().
946
947 2003-10-14  André Pönitz  <poenitz@gmx.net>
948
949         * iterators.[Ch]: new direct access to innermost LyXText and Inset
950
951         * undo.[Ch]: restoring part of 'undo in insets'
952
953         * Makefile.am:
954         * undo_funcs.[Ch]: merge with undo.[Ch]
955
956         * tabular.C: small cleansing stuff
957
958 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
959
960         * paragraph_funcs.C (readParToken): report unknown insets as error
961         boxes. Use the outer paragraph as location (also for unknown
962         tokens).
963
964         * factory.C (readInset): do not abort on reading an unknown inset.
965         Eat it and return 0.
966
967 2003-10-13  Angus Leeming  <leeming@lyx.org>
968
969         * lyx_main.C (LyX): remove call to setDisplayTranslator().
970
971         * lyxrc.C: displayTranslator is now a function,
972         declared in GraphicsTypes.h.
973
974 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
975
976         * format.C: new placeholder $$a to pass the socket address.
977
978         * bufferlist.[Ch]: new function getBufferFromTmp.
979
980         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
981           files in the temporary dir.
982
983 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
984
985         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
986
987         * Makefile.am: add lyxsocket.[Ch].
988
989         * lyx_main.C (error_handler): handle SIGPIPE.
990
991 2003-10-13  André Pönitz  <poenitz@gmx.net>
992
993         * BufferView_pimpl.C:
994         * lyxtext.h:
995         * text.C:
996         * text2.C:
997         * text3.C:
998         * undo_funcs.[Ch]: use paroffset_type instead of
999           ParagraphList::iterators to prevent multiple conversion
1000           (and get a more robust interface)
1001
1002 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1003
1004         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1005         * lyxtext.h: ditto
1006         * text3.C (dispatch): ditto
1007
1008 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1011         move the onlyfile, use onlyfile instead of foundfile in a couple
1012         of places.
1013
1014         * DepTable.C (update): flush the error stream a bit more
1015
1016 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1017
1018         * lyxserver.C (callback): adjust
1019
1020         * lyxfunc.C (getStatus): add a missing brace in commented code
1021         (ensureBufferClean): reindent
1022         (dispatch): delete version taking a string
1023
1024 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1025
1026         * LaTeX.C (deplog): move found file handlig from here...
1027         (handleFoundFile): .. to new function here.
1028         (deplog): make sure to discover several files mentioned on the
1029         same log line.
1030
1031 2003-10-10  André Pönitz  <poenitz@gmx.net>
1032
1033         * lyxfunc.C:
1034         * lyxtext.h:
1035         * tabular.C:
1036         * text.C:
1037         * text2.C:
1038         * text3.C: fix some of the tabular crashes
1039
1040 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1041
1042         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1043
1044         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1045
1046 2003-10-09  André Pönitz  <poenitz@gmx.net>
1047
1048         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1049
1050         * BufferView.C:
1051         * BufferView_pimpl.C:
1052         * bufferview_funcs.C:
1053         * lyx_cb.C:
1054         * lyxcursor.C:
1055         * lyxfind.C:
1056         * lyxfunc.C:
1057         * lyxtext.h:
1058         * text.C:
1059         * text2.C:
1060         * text3.C:
1061         * text_funcs.[Ch]:
1062         * textcursor.[Ch]:
1063         * undo_funcs.C: adjust
1064
1065 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1066
1067         * text2.C (incrementItemDepth): new function, use a backtracking
1068         algorithm to discover the correct item depth.
1069         (resetEnumCounterIfNeeded): new function, use a backtracking
1070         algorithm to discover if counter reset is needed.
1071         (setCounter): use them. Simplify a bit. Add different labels for
1072         different item depths for itemize.
1073
1074         * paragraph.C (Paragraph): remove initialization of enumdepth
1075         (operator=): ditto
1076
1077         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1078         enumerate and itemize. Change the type of itemdepth to signed char.
1079
1080 2003-10-08  André Pönitz  <poenitz@gmx.net>
1081
1082         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1083           thing assignable.
1084         * text.C:
1085         * text2.C: adjust
1086
1087         * tabular.[Ch]: fix crash after 'row-insert'
1088
1089 2003-10-08  Angus Leeming  <leeming@lyx.org>
1090
1091         Fix doxygen warnings.
1092
1093         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1094         Remove CutAndPaste:: prefix from header file declaration.
1095
1096         * LColor.h (fill): remove LColor:: prefix from declaration.
1097
1098         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1099         use lyx::depth_type rather than Paragraph::depth_type so that
1100         header file and .C file match.
1101
1102         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1103
1104         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1105         * aspell.C: \file aspell_local.C -> \file aspell.C
1106         * gettext.C: \file gettext.C -> \file src/gettext.C
1107         * gettext.h: \file gettext.h -> \file src/gettext.h
1108         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1109         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1110         * text.C: \file text.C -> \file src/text.C
1111
1112         * toc.C: move comment so that doxygen is not confused.
1113
1114 2003-10-07  Angus Leeming  <leeming@lyx.org>
1115
1116         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1117
1118 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1119
1120         * aspell.C:
1121         * aspell_local.h: add forgotten std::string's.
1122
1123 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1124
1125         * LaTeXFeatures.C:
1126         * LyXAction.C:
1127         * factory.C:
1128         * lfuns.h:
1129         * lyxfunc.C:
1130         * text3.C: The Box patch. Fancybox support, minipage, parbox
1131
1132 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1133
1134         * CutAndPaste.h:
1135         * DepTable.h:
1136         * FloatList.h:
1137         * LaTeXFeatures.h:
1138         * ParagraphParameters.h:
1139         * TextCache.h:
1140         * Thesaurus.h:
1141         * bufferlist.h:
1142         * exporter.h:
1143         * importer.h:
1144         * lastfiles.h:
1145         * lyxfind.h:
1146         * lyxfont.h:
1147         * lyxlex.h:
1148         * lyxtextclasslist.h:
1149         * messages.h:
1150         * paragraph.h:
1151         * paragraph_pimpl.C:
1152         * textcursor.h: add <string> and other small fixes to make Lars'
1153         std::string patch compile with STLport.
1154
1155 2003-10-06  Angus Leeming  <leeming@lyx.org>
1156
1157         * LColor.h: Add missing #include <string>.
1158
1159 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1160
1161         * All most all file in all subdirs: Make <string> be the prefered
1162         way of getting to std::string, add using declarations.
1163
1164 2003-10-06  André Pönitz  <poenitz@gmx.net>
1165
1166         * metricsinfo.C: initialize LyXFont before changing attribute.
1167         (fixes the 'math in \emph is upright' bug)
1168
1169 2003-10-06  André Pönitz  <poenitz@gmx.net>
1170
1171         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1172
1173 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1174
1175         * graph.C:
1176         * paragraph_pimpl.C: Small fixes to build using STLport
1177
1178 2003-10-02  André Pönitz  <poenitz@gmx.net>
1179
1180         * lyxfunc.C:
1181         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1182
1183 2003-10-01  André Pönitz  <poenitz@gmx.net>
1184
1185         * factory.C: assert early
1186
1187 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1188
1189         * lyx_main.C: remove the global debug object
1190
1191         * debug.h: adjust for new debugstream
1192
1193         * debug.C: adjust for new debugstream and keep the global debug
1194         object here.
1195
1196 2003-09-22  Angus Leeming  <leeming@lyx.org>
1197
1198         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1199         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1200         an incomplete class LyXFont.
1201
1202 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * factory.C: bug fix in branches
1205
1206 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * lyxfunc.C (processKeySym): adjust
1209         (dispatch): adjust
1210         (dispatch): change arg name from ev to func, adjust
1211         (sendDispatchMessage): ditto
1212
1213         * lyx_main.C (defaultKeyBindings): adjust keybindings
1214         (deadKeyBindings): ditto
1215
1216         * kbsequence.C (addkey): return a FuncRequest
1217
1218         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1219
1220         * kbmap.C (bind): take a FuncRequest as arg, adjust
1221         (read): adjust
1222         (lookup): adjust
1223         (defkey): change to take a FuncRequest as arg, adjust
1224         (findbinding): take a FuncRequest as arg, adjust.
1225
1226         * funcrequest.h (operator=): added
1227
1228         * funcrequest.C (FuncRequest): default kb_action changed from
1229         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1230
1231         * buffer.C (dispatch): simplify
1232         (dispatch): adjust to take a FuncRequest as arg, adjust
1233
1234         * boost.C (assertion_failed): change assertion message slightly
1235
1236         * ToolbarBackend.C (read): simplify
1237
1238         * MenuBackend.C (binding): adjust call to findbinding, add a
1239         message if no binding is found.
1240         (read): simplify
1241         (expandToc): correct by adding a empty FuncRequest
1242
1243         * LyXAction.C: include <boost/assert.hpp>
1244         (isPseudoAction): delete function
1245         (LookupFunc): change name to...
1246         (lookupFunc): this. change return type to FuncRequest.
1247         (getActionName): take kb_action as arg, simplify
1248         (funcHasFlag): add an assert, simplify.
1249
1250 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1251
1252         * toc.C (action): return a FuncRequest, simplify
1253
1254         * lyxfunc.C (processKeySym): adjust
1255         (getStatus): delete version that takes an int.
1256         (getStatus): adjust
1257         (dispatch): delete version that takes action as int
1258         (dispatch): adjust
1259         (sendDispatchMessage): simplify and adjust
1260
1261         * funcrequest.C (getArg): take unsigned int as arg
1262
1263         * ToolbarBackend.C (read): adjust
1264         (add): delete version that takes func as a string.
1265         (getIton): take a FuncRequest as arg
1266
1267         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1268         action.
1269
1270         * MenuBackend.C (MenuItem): add a new construct that only takes a
1271         Kind, simplify the constructor use for submenus.
1272         (add): adjust
1273         (expandLastfiles): adjust
1274         (expandDocuments): adjust
1275         (expandFormats): adjust
1276         (expandFloatListInsert): adjust
1277         (expandFloatInsert): adjust
1278         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1279
1280         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1281         Remove class variables lyx_pseudo_map and lyx_arg_map
1282
1283         * LyXAction.C (searchActionArg): delete function
1284         (getPseudoAction): delete function
1285         (retrieveActionArg): delete function
1286         (LookupFunc): make it return kb_action, simplify.
1287         (getActionName): simplify
1288
1289         * factory.C (createInset): fix new bug
1290
1291 2003-09-19  Angus Leeming  <leeming@lyx.org>
1292
1293         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1294         masterFilename_ parameter in the include inset.
1295
1296         * factory.C (createInset): changes due to the changes to InsetInclude.
1297
1298 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1299
1300         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1301
1302 2003-09-18  Angus Leeming  <leeming@lyx.org>
1303
1304         * buffer.C:
1305         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1306         Inset::fillWithBibKeys.
1307         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1308
1309 2003-09-18  Angus Leeming  <leeming@lyx.org>
1310
1311         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1312         variables.
1313         (ctor): pass and store a 'Buffer const &'
1314         (buffer): new member function.
1315
1316         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1317         '*this' to the LaTeXFeatures ctor.
1318
1319 2003-09-18  Angus Leeming  <leeming@lyx.org>
1320
1321         * LColor.h:
1322         * lyxfont.C:
1323         * lyxfont.h:
1324         * lyxtext.h:
1325         * text.C: rename EnumLColor as LColor_color.
1326
1327 2003-09-18  Angus Leeming  <leeming@lyx.org>
1328
1329         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1330         remove #include "insets/insetbase.h" from cursor.h.
1331
1332 2003-09-18  Angus Leeming  <leeming@lyx.org>
1333
1334         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1335         InsetOld_code to remove #include "inset.h".
1336
1337         * iterators.C: add #include "insets/inset.h"
1338
1339 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1340
1341         * BufferView.C: remove more locking stuff that apparently doesn't
1342         do anything sensible.
1343
1344 2003-09-16  André Pönitz  <poenitz@gmx.net>
1345
1346         * paragraph.[Ch]:
1347         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1348           performance boost.
1349
1350 2003-09-16  Angus Leeming  <leeming@lyx.org>
1351
1352         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1353
1354         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1355         arg/return type.
1356
1357         * paragraph.h: remove #include "lyxfont.h". Forward declare
1358         LyXFont_size.
1359
1360 2003-09-16  Angus Leeming  <leeming@lyx.org>
1361
1362         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1363         of support/textutils.h.
1364         (isWord): move the contents of support/textutils.h's IsWordChar here.
1365
1366         * buffer.C:
1367         * lyxfind.C:
1368         * rowpainter.C:
1369         * text.C:
1370         * text2.C: add #include "paragraph.h".
1371
1372         * rowpainter.C:
1373         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1374
1375 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1376
1377         * main.C:
1378         * lyx_main.C:
1379         * lyx_cb.C:
1380         * buffer.C:
1381         * LaTeX.C: use namespace alias for lyx::support::os
1382
1383 2003-09-16  Angus Leeming  <leeming@lyx.org>
1384
1385         * bufferparams.C:
1386         * bufferview_funcs.C:
1387         * factory.C:
1388         * lyxfunc.C:
1389         * paragraph_pimpl.C:
1390         * rowpainter.C:
1391         * text.C: add #include "LColor.h".
1392
1393 2003-09-16  Angus Leeming  <leeming@lyx.org>
1394
1395         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1396         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1397         return LyXFont &.
1398         Store the FontBits::color variable as an int rather than as an
1399         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1400         file.
1401
1402         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1403         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1404         string calls together.
1405
1406         * lyxrc.C: add #include "LColor.h".
1407
1408 2003-09-15  Angus Leeming  <leeming@lyx.org>
1409
1410         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1411         a cow_ptr.
1412
1413 2003-09-15  Angus Leeming  <leeming@lyx.org>
1414
1415         * LColor.h: add an EnumLColor wrapper for LColor::color.
1416
1417         * lyxfont.[Ch] (color, setColor, realColor):
1418         * lyxtext.h, text.C (backgroundColor):
1419         pass EnumLColor args to/from the functions, rather than LColor::color
1420         ones.
1421
1422         * lyxfont.h:
1423         * lyxtext.h: forward declare EnumLColor.
1424
1425         * lyx_main.C: add #include "LColor.h".
1426
1427 2003-09-15  Angus Leeming  <leeming@lyx.org>
1428
1429         * .cvsignore: add lyx-gtk.
1430
1431 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1432
1433         * Chktex.C
1434         * LaTeX.C
1435         * LaTeXFeatures.C
1436         * ParagraphParameters.C
1437         * Spacing.C
1438         * buffer.C
1439         * bufferparams.C
1440         * bufferview_funcs.C
1441         * chset.C
1442         * counters.C
1443         * funcrequest.C
1444         * lyxfont.C
1445         * lyxgluelength.C
1446         * lyxlength.C
1447         * paragraph.C
1448         * paragraph_funcs.C
1449         * text3.C
1450         * vc-backend.C: remove usage of STRCONV
1451
1452 2003-09-15  Angus Leeming  <leeming@lyx.org>
1453
1454         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1455         explicitly define the color passed to the painter.
1456
1457 2003-09-15  Angus Leeming  <leeming@lyx.org>
1458
1459         * bufferparams.C (BufferParams): reorder member initializers to avoid
1460         compiler warning.
1461
1462 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1463
1464         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1465         * text.C (updateRowPositions): remove an unusual nop
1466
1467 2003-09-12  André Pönitz  <poenitz@gmx.net>
1468
1469         * BufferView_pimpl.C:
1470         * Bullet.C:
1471         * layout.h:
1472         * lyxfunc.C:
1473         * lyxlayout.[Ch]:
1474         * lyxtextclass.C:
1475         * rowpainter.C:
1476         * text.C:
1477         * text2.C:
1478         * Counters.[Ch]: finish the 'automatic counters' job
1479
1480 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1481
1482         * aspell.C: include <boost/assert.cpp> (compile fix)
1483
1484 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1485
1486         * boost.C (assertion_failed): use lyx::support::abort instead of
1487         assert.
1488
1489 2003-09-10  Angus Leeming  <leeming@lyx.org>
1490
1491         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1492         with their _fwd progeny.
1493
1494 2003-09-09  Angus Leeming  <leeming@lyx.org>
1495
1496         134 files throughtout the source tree: replace 'using namespace abc;'
1497         directives with the appropriate 'using abc::xyz;' declarations.
1498
1499 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1500
1501         * boost.C (emergencyCleanup): moved here from LAssert.c
1502         (assertion_failed): new function, called by BOOST_ASSERT
1503
1504         * several files: change Assert to BOOST_ASSERT
1505
1506 2003-09-09  Angus Leeming  <leeming@lyx.org>
1507
1508         * buffer.[Ch]: Add an Impl class and move Buffer's member
1509         variables into it. As a result move several header files out of
1510         buffer.h.
1511
1512         Add header files to lots of .C files all over the tree as a result.
1513
1514 2003-09-09  Angus Leeming  <leeming@lyx.org>
1515
1516         * buffer.[Ch]: make Buffer's member variables private. Add
1517         accessor functions.
1518
1519         Lots of changes all over the tree as a result.
1520
1521 2003-09-08  Angus Leeming  <leeming@lyx.org>
1522
1523         * graph.C: #include <config.h>.
1524
1525 2003-09-08  Angus Leeming  <leeming@lyx.org>
1526
1527         * BranchList.C:
1528         * BufferView.C:
1529         * BufferView_pimpl.C:
1530         * CutAndPaste.C:
1531         * DepTable.C:
1532         * LaTeX.C:
1533         * LaTeXFeatures.C:
1534         * LyXAction.C:
1535         * MenuBackend.C:
1536         * TextCache.C:
1537         * aspell.C:
1538         * buffer.C:
1539         * bufferlist.C:
1540         * changes.C:
1541         * chset.C:
1542         * converter.C:
1543         * counters.C:
1544         * debug.C:
1545         * graph.C:
1546         * ispell.C:
1547         * lyx_cb.C:
1548         * lyxfind.C:
1549         * lyxfunc.C:
1550         * lyxlex_pimpl.C:
1551         * lyxrc.C:
1552         * lyxrow.C:
1553         * paragraph.C:
1554         * rowpainter.C:
1555         * texrow.C:
1556         * text.C:
1557         * text2.C:
1558         * toc.C: remove redundant using directives.
1559
1560 2003-09-07  Angus Leeming  <leeming@lyx.org>
1561
1562         * LaTeXFeatures.h: remove #include "support/types.h".
1563         * ToolbarBackend.h: remove #include <algorithm>.
1564         * changes.h: remove #include <ctime>.
1565         * debug.h: remove #include <iosfwd>.
1566         * graph.h: remove #include "support/std_string.h".
1567         * lyx_main.h: remove #include <csignal>.
1568         * lyxlex_pimpl.h: remove #include <fstream>.
1569         * sgml.h: remove #include <algorithm>, <utility>.
1570         * toc.h: remove #include "support/std_ostream.h".
1571         Add #include <iosfwd>.
1572
1573 2003-09-07  Angus Leeming  <leeming@lyx.org>
1574
1575         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1576
1577         * converter.h: forward declare LatexRunParams.
1578         * encoding.h: remove #include "lyxrc.h".
1579         * lyxtext.h: remove #include "LColor.h".
1580         * lyxtextclass.h: remove #include "support/types.h".
1581         * trans.h: remove #include "tex-accent.h".
1582         * trans_mgr.h: remove #include "tex-accent.h".
1583         * insets/inset.h: remove #include "support/types.h", <vector>.
1584         * insets/insetcollapsable.h: remove #include "LColor.h".
1585         * insets/insetinclude.h: remove #include "dimension.h".
1586         * insets/insetlatexaccent.h: remove #include "dimension.h".
1587         * insets/insetoptarg.h:: remove #include "insettext.h".
1588         * insets/insettext.h: remove #include "dimension.h",
1589         <boost/shared_ptr.hpp>
1590
1591         * insets/renderers.h: add #include "dimension.h".
1592         * insets/updatableinset.h: add #include "support/types.h".
1593
1594         * many .C files: Associated changes.
1595
1596 2003-09-06  Angus Leeming  <leeming@lyx.org>
1597
1598         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1599         one, inside testInvariant.
1600
1601         * PrinterParams.C: new file.
1602         * PrinterParams.[Ch]: move the function bodies out of line.
1603
1604 2003-09-06  Angus Leeming  <leeming@lyx.org>
1605
1606         * ParagraphParameters.h: forward declare ParameterStruct rather than
1607         including its header file.
1608         (depth): moved out-of-line.
1609
1610 2003-09-06  Angus Leeming  <leeming@lyx.org>
1611
1612         * BufferView_pimpl.h:
1613         * kbmap.h:
1614         * kbsequence.h:
1615         * lyxfunc.h: forward declare LyXKeySym rather than
1616         #include "frontends/LyXKeySym.h".
1617
1618         * BufferView_pimpl.C:
1619         * kbmap.C:
1620         * kbsequence.C:
1621         * lyxfunc.C: associated changes.
1622
1623 2003-09-06  Angus Leeming  <leeming@lyx.org>
1624
1625         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1626         As a result, can remove the #include "insets/inset.h" from BufferView.h
1627
1628 2003-09-06  Angus Leeming  <leeming@lyx.org>
1629
1630         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1631         As a result, can remove the #include "insets/inset.h" from BufferView.h
1632
1633 2003-09-06  Angus Leeming  <leeming@lyx.org>
1634
1635         * buffer_funcs.C:
1636         * buffer.h:
1637         * bufferlist.C:
1638         * BufferView.C:
1639         * bufferview_funcs.C:
1640         * BufferView_pimpl.C:
1641         * CutAndPaste.C:
1642         * lyx_cb.C:
1643         * lyxfunc.C:
1644         * paragraph.h:
1645         * ParagraphParameters.C:
1646         * tabular.C:
1647         * text3.C:
1648         * toc.C:
1649         * undo_funcs.C:
1650         * frontends/controllers/ControlDocument.C:
1651         * insets/insetcaption.C: rearrange the #includes into some sort of
1652         coherent order.
1653
1654         * buffer.h: remove #includes ErrorList.h, undo.h
1655
1656 2003-09-06  Angus Leeming  <leeming@lyx.org>
1657
1658         * support/types.h: add a 'depth_type' typedef, used to store the
1659         nesting depth of a paragraph.
1660
1661         * paragraph.h:
1662         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1663         defining explicitly.
1664
1665         * buffer.h:
1666         * paragraph_funcs.h:
1667         * ParagraphParameters.h:
1668         * sgml.h: use lyx::depth_type rather than Paragraph or
1669         ParameterStruct's depth_type.
1670
1671         * buffer.h
1672         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1673
1674         * BufferView.C:
1675         * BufferView_pimpl.C:
1676         * CutAndPaste.C:
1677         * ParagraphParameters.C:
1678         * buffer_funcs.C:
1679         * bufferlist.C:
1680         * bufferview_funcs.C:
1681         * lyx_cb.C:
1682         * lyxfunc.C:
1683         * tabular.C:
1684         * text3.C:
1685         * toc.C:
1686         * undo_funcs.C:
1687         * frontends/LyXView.C:
1688         * frontends/controllers/ControlDocument.C:
1689         * frontends/controllers/ControlErrorList.C:
1690         * insets/insetbibitem.C:
1691         * insets/insetbranch.C:
1692         * insets/insetcaption.C:
1693         * insets/insetcollapsable.C:
1694         * insets/insetenv.C:
1695         * insets/insetert.C:
1696         * insets/insetfloat.C:
1697         * insets/insetfoot.C:
1698         * insets/insetfootlike.C:
1699         * insets/insetnewline.C:
1700         * insets/insetquotes.C:
1701         * insets/insettabular.C:
1702         * insets/insettext.C:
1703         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1704
1705         * frontends/controllers/ControlChanges.C: #include "changes.h".
1706
1707 2003-09-06  Angus Leeming  <leeming@lyx.org>
1708
1709         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1710         than #including paragraph.h.
1711
1712         * ParagraphList.h:
1713         * RowList.h: deleted. Superfluous.
1714
1715         * CutAndPaste.h:
1716         * iterators.h:
1717         * lyxcursor.h:
1718         * lyxtext.h:
1719         * text_funcs.h:
1720         * undo.h:
1721         * undo_funcs.h:
1722         * insets/inset.h:
1723         * insets/insettext.h: use ParagraphList_fwd.h rather than
1724         ParagraphList.h.
1725
1726         * paragraph.h: don't forward declare ParagraphList.
1727
1728         * buffer.h:
1729         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1730         rather than ParagraphList.h. paragraph.h is still needed for the
1731         Paragraph::depth_type parameters.
1732
1733         * textcursor.h: enable it to compile stand-alone in light of the
1734         above changes.
1735
1736         * bufferview_funcs.C:
1737         * iterators.C:
1738         * lyxfunc.C:
1739         * lyxrow_funcs.C:
1740         * paragraph.C:
1741         * rowpainter.C:
1742         * text.C:
1743         * text2.C:
1744         * text3.C:
1745         * text_funcs.C:
1746         * textcursor.C:
1747         * undo.C:
1748         * frontends/controllers/ControlParagraph.C:
1749         * frontends/controllers/ControlTabular.C:
1750         * insets/insetmarginal.C:
1751         * insets/insetminipage.C:
1752         * insets/insetnote.C:
1753         * insets/insetoptarg.C: add header files needed to compile again.
1754
1755 2003-09-06  Angus Leeming  <leeming@lyx.org>
1756
1757         * RowList_fwd.h: new file, forward-declaring Row rather than
1758         #including lyxrow.h.
1759
1760         * lyxrow_funcs.h:
1761         * lyxtext.h:
1762         * paragraph.h:
1763         * insets/insettext.h: use it instead of RowList.h
1764
1765         * bufferview_funcs.C:
1766         * lyxfunc.C:
1767         * lyxrow_funcs.C:
1768         * paragraph.C:
1769         * rowpainter.C:
1770         * text.C:
1771         * text2.C:
1772         * text3.C: #include "RowList.h".
1773
1774 2003-09-05  Angus Leeming  <leeming@lyx.org>
1775
1776         * factory.C (createInset):
1777         * vspace.C (c-tor): replace sscanf call with an istringstream.
1778         * ispell.C: re-add missing HP/UX headers.
1779         * lyxserver.C: re-add missing  os2 headers.
1780
1781 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * BranchList.C:
1784         * graph.C:
1785         * ispell.C:
1786         * lastfiles.C:
1787         * lyx_cb.C:
1788         * lyxserver.C:
1789         * texrow.C:
1790         * text3.C: re-add missing system headers, needed for 2.95.2.
1791
1792 2003-09-05  Angus Leeming  <leeming@lyx.org>
1793
1794         Changes most place everywhere due to the removal of using directives
1795         from support/std_sstream.h.
1796
1797 2003-09-05  Angus Leeming  <leeming@lyx.org>
1798
1799         Replace LString.h with support/std_string.h,
1800         Lsstream.h with support/std_sstream.h,
1801         support/LIstream.h with support/std_istream.h,
1802         support/LOstream.h with support/std_ostream.h.
1803
1804         Changes resulting throughout the tree.
1805
1806 2003-09-05  Angus Leeming  <leeming@lyx.org>
1807
1808         * sgml.h: ensure that the header file can be compiled stand-alone.
1809         * *.C: strip out redundant #includes. (320 in total.)
1810
1811 2003-09-04  Angus Leeming  <leeming@lyx.org>
1812
1813         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1814         here (from getPackages).
1815
1816         * debug.[Ch]: add a new EXTERNAL tag.
1817
1818 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1819
1820         * text2.C (cursorEnd): simplify
1821         (setCursor): adjust
1822         (getColumnNearX): adjust
1823
1824         * text.C (computeBidiTables): adjust
1825         (fill): adjust
1826
1827         * rowpainter.C (paintChars): adjust
1828         (paintSelection): adjust
1829         (paintChangeBar): adjust
1830         (paintText): adjust
1831
1832         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1833         lastPos instead.
1834         (numberOfSeparators): adjust
1835
1836 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1837
1838         * LyXAction.C:
1839         * box.[Ch]:
1840         * lfuns.h:
1841         * lyxfunc.C:
1842         * text3.C: Restricts the mouse click functionality
1843         of insets like bibtex, include, toc and floatlist to the visible
1844         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1845         up the dialogs. Cursor has to be in front of the inset (i.e.
1846         start of row) for this to function.
1847
1848 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1849
1850         * bufferview_funcs.C (currentState): output row information
1851
1852 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1853
1854         * bufferview_funcs.C (currentState): output paragraph position
1855
1856 2003-09-04  Angus Leeming  <leeming@lyx.org>
1857
1858         * FloatList.h: move out #include "Floating.h".
1859         * LaTeX.h: move out #include "DepTable.h".
1860         * LyXAction.h: move out #include "funcrequest.h".
1861         * buffer.h: move out #include "author.h", "iterators.h".
1862         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1863         * lyx_main.h: move out #include "errorlist.h".
1864         * lyxfunc.h: move out #include "FuncStatus.h".
1865         * lyxtext: move out #include "lyxcursor.h".
1866         * paragraph_pimpl.h: move out #include "counters.h".
1867
1868 2003-09-03  Angus Leeming  <leeming@lyx.org>
1869
1870         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1871         preamble_snippets list, enabling us to add snippets to the preamble
1872         only if the snippet was not there already.
1873
1874 2003-09-04  Angus Leeming  <leeming@lyx.org>
1875
1876         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1877
1878 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1879
1880         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1881         update
1882
1883 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1884
1885         * BranchList.C: point fix, earlier forgotten
1886
1887 2003-09-02  Angus Leeming  <leeming@lyx.org>
1888
1889         * box.C (contains): renamed from 'contained' after a fantastic
1890         amount of hot air.
1891
1892 2003-09-02  John Levon  <levon@movementarian.org>
1893
1894         * BufferView.C:
1895         * lyxcursor.h:
1896         * lyxcursor.C:
1897         * lyxfunc.C:
1898         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1899
1900 2003-09-02  John Levon  <levon@movementarian.org>
1901
1902         * text2.C: simplification of cursorEnd(), including partial
1903         fix for bug 1376
1904
1905 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1906
1907         * buffer.C (readFile): add a space
1908
1909 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1910
1911         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1912
1913 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1914
1915         * buffer.C (readFile): new function, take a filename and a
1916         ParagraphList::iterator
1917         (readFile): adjust
1918         (readFile): adjust, make it private. don't use setStream, make
1919         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1920         always contain the filename.
1921
1922         * BufferView.C (insertLyXFile): simplify and make it work for
1923         gzipped files.
1924
1925 2003-08-30  John Levon  <levon@movementarian.org>
1926
1927         * Makefile.am: fix dist (from Kayvan)
1928
1929 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * most files: change to use const Buffer refs
1932
1933 2003-08-27  André Pönitz  <poenitz@gmx.net>
1934
1935         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1936         on top of ownerPar().
1937
1938 2003-08-27  John Levon  <levon@movementarian.org>
1939
1940         * funcrequest.C: properly initialise POD members
1941
1942 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1943
1944         * lyxtext.h (top_y): move top_y from here
1945         * text.C:
1946         * text2.C:
1947         * text3.C:
1948         * BufferView.[Ch]:
1949         * BufferView_pimpl.[Ch]: to here
1950         * frontends/screen.C:
1951         * insets/insettabular.C:
1952         * insets/insettext.C: adjust
1953         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1954
1955 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1956
1957         * BufferView.[Ch]:
1958         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1959
1960 2003-08-26  André Pönitz  <poenitz@gmx.net>
1961
1962         * paragraph_func.[Ch] (outerPar): new function
1963
1964         * paragraph.C:
1965         * paragraph_funcs.C:
1966         * paragraph_funcs.h:
1967         * paragraph_pimpl.C:
1968         * text2.C: remove Inset::par_owner
1969
1970 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1971
1972         * lyxrow_funcs.C:
1973         * lyxtext.h:
1974         * text.C:
1975         * text2.C: eliminates the needFullRow/display() stuff
1976         altogether, putting the logic in metrics/draw in the insets.
1977
1978 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * text2.C (redoParagraphInternal, redoParagraphs):
1981         * text.C (redoParagraph): add a call to updateRowPositions at the
1982         end of each 'metrics-like' call. Remove all others.
1983         (getRow): remove the 'y-computing' version.
1984         (getRowNearY): do not compute nor return the real y. Solve the
1985         'y < 0' problem and simplify.
1986
1987 2003-08-22  Angus Leeming  <leeming@lyx.org>
1988
1989         * *.[Ch]: clean-up of licence and author blurbs.
1990         Also move config.h out of a few .h files and into a few .C files.
1991
1992 2003-08-22  André Pönitz  <poenitz@gmx.net>
1993
1994         * lyxrow.[Ch]: add x_ and *fill_ members
1995
1996         * lyxtext.h:
1997         * text.C:
1998         * rowpainter.C:
1999         * text2.C: adjust/remove prepareToPrint() calls
2000
2001 2003-08-22  André Pönitz  <poenitz@gmx.net>
2002
2003         * lyxrow.[Ch]: add  end_ member
2004
2005         * lyxrow_funcs.C: use LyXRow::end_
2006
2007         * lyxtext.h (singleWidth): add LyXFont parameter
2008
2009         * rowpainter.C:
2010         * text2.C: adjust LyXText::singleWidth() calls
2011
2012         * text.C (redoParagraph): simplify row breaking logic
2013
2014
2015 2003-08-19  André Pönitz  <poenitz@gmx.net>
2016
2017         * funcrequest.C: initialize button_ member
2018
2019         * text3.C:
2020         * rowpainter.[Ch]: interface consolidation
2021
2022 2003-08-18  André Pönitz  <poenitz@gmx.net>
2023
2024         * BufferView.C:
2025         * BufferView_pimpl.C:
2026         * lyxfind.C:
2027         * paragraph_funcs.C:
2028         * rowpainter.C:
2029         * text3.C: remove LyXScreen::draw() and fitCursor calls
2030
2031         * BranchList.h: remove spurious semicolons
2032
2033         * MenuBackend.C: fix branchlist related crash
2034
2035 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2036
2037         * BranchList.[Ch]:
2038         * InsetList.[Ch]:
2039         * LColor.[Ch]:
2040         * LyXAction.C:
2041         * Makefile.am:
2042         * MenuBackend.[Ch]:
2043         * bufferparams.[Ch]:
2044         * factory.C:
2045         * lfuns.h:
2046         * lyxfunc.C:
2047         * text3.C: implements the 'branch inset'
2048         idea. This allows the output of various versions of a document
2049         from a single source version, selectively outputing or suppressing
2050         output of parts of the text.
2051         This implementation contains a 'branch list editor' in a separate
2052         tab of the document settings dialog. Branches are user definable
2053         and have a "display colour" to distinguish them on-screen.
2054
2055         ColorHandler was somewhat cleaned up.
2056         (1) make possible a dynamically growing LColor list by allowing
2057         the graphic context cache to grow along (vector);
2058         (2) eliminate an IMHO unnecessary step in colour allocation.
2059
2060 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2061
2062         * BufferView_pimpl.C: compile fix
2063
2064 2003-08-15  André Pönitz  <poenitz@gmx.net>
2065
2066         * rowpainter.C: remove extra metrics calls
2067
2068         * lyxtext.h: merge the two constructors into a single one,
2069           pass reference to owner's par list
2070
2071         * BufferView_pimpl.C:
2072         * text.C:
2073         * text2.C: adjust
2074
2075 2003-08-15  André Pönitz  <poenitz@gmx.net>
2076
2077         * lyxrow_funcs.[Ch]:
2078         * lyxtext.h:
2079         * paragraph.h:
2080         * paragraph_funcs.C:
2081         * rowpainter.C:
2082         * text.C:
2083         * text2.C:
2084         * text3.C:
2085         * text_funcs.C: split LyXText::rowlist_ into individual
2086         Paragraph::rows_ chunks
2087
2088         * BufferView.[Ch]:
2089         * BufferView_pimpl.[Ch]:
2090         * lyxfind.C:
2091         * lyxtext.h:
2092         * text3.C: remove toggleSelection()
2093
2094 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2095
2096         * bufferlist.C: beautify two alerts (shorter text of buttons)
2097         * buffer.C: Remove redundant ' ' from message
2098         * tabular.h:
2099         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2100         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2101         rename VALIGN_CENTER to VALIGN_MIDDLE
2102
2103 2003-08-11  André Pönitz  <poenitz@gmx.net>
2104
2105         * lyxtext.h (getPar):
2106         * text.C: new function
2107
2108 2003-08-11  André Pönitz  <poenitz@gmx.net>
2109
2110         * Makefile.am:
2111         * tracer.[Ch]: remove unneeded files
2112
2113         * InsetList.[Ch]: remove resizeInsetsLyXText()
2114
2115         * lyxtext.h:
2116         * text.C:
2117         * text2.C:
2118         * text3.C: merge insertParagraphs() and appendParagraph()
2119         remove breakAgain(), update()
2120
2121         * BufferView_pimpl.[Ch]:
2122         * bufferview_funcs.[Ch]:
2123         * lyxfunc.C:
2124         * paragraph.[Ch]:
2125         * rowpainter.C:
2126         * tabular.C: adjust after text & InsetList changes.
2127
2128 2003-08-08  André Pönitz  <poenitz@gmx.net>
2129
2130         * text.C (insertChar, backspace): replace rowlist fiddling
2131         with rebreak of full par
2132
2133         * lyxtext.h:
2134         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2135         checkParagraph, updateInset): removed
2136
2137 2003-08-07  André Pönitz  <poenitz@gmx.net>
2138
2139         * paragraph.C:
2140         * text3.C: merge some LFUN handlers, remove dead code
2141
2142 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2145
2146 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2147
2148         * text2.C (DEPM): fix part of bug 1255 and 1256
2149
2150 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2151
2152         * BufferView_pimpl.C (workAreaDispatch): change to use
2153         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2154         that are no mouse related.
2155
2156 2003-08-05  André Pönitz  <poenitz@gmx.net>
2157
2158         * BufferView.[Ch]:
2159         * BufferView_pimpl.[Ch]:
2160         * bufferview_funcs.C:
2161         * text2.C:
2162         * text3.C: rip out "deep update"
2163
2164         * textcursor.[Ch] (last_sel_cursor): remove unused member
2165
2166 2003-08-04  André Pönitz  <poenitz@gmx.net>
2167
2168         * BufferView.[Ch]:
2169         * BufferView_pimpl.[Ch]:
2170         * ParagraphParameters.C:
2171         * bufferview_funcs.C:
2172         * lyx_cb.C:
2173         * lyxfind.C:
2174         * lyxfunc.C:
2175         * text.C:
2176         * text2.C:
2177         * text3.C: replace "complicated" BufferView::update(...) calls with
2178         simpler ones.
2179
2180         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2181
2182 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2183
2184         * Makefile.am (lyx_SOURCES): add paper.h
2185
2186 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2187
2188         * Makefile.am: move things around so that both lyx-qt and
2189         lyx-xforms can be built (according to --with-frontend). Then lyx
2190         is a symbolic link to lyx-[firstfrontend]
2191
2192 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2193
2194         * Always use std::endl with lyxerr
2195
2196 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2197
2198         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2199
2200 2003-08-01  André Pönitz  <poenitz@gmx.net>
2201
2202         * BufferView.[Ch]:
2203         * BufferView_pimpl.[Ch]:
2204         * lyxfunc.C:
2205         * text3.C: merge BufferView::repaint() and BufferView::update()
2206
2207 2003-08-01  José Matos  <jamatos@lyx.org>
2208
2209         * buffer.[Ch]: file_format is no longer a buffer data element.
2210
2211 2003-08-01  André Pönitz  <poenitz@gmx.net>
2212
2213         * BufferView.C:
2214         * lyxtext.h:
2215         * text.C:
2216         * text2.C: make redoParagraph more independent of current cursor
2217
2218         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2219         * text.C:
2220         * text2.C: remove unneeded members
2221
2222 2003-07-30  André Pönitz  <poenitz@gmx.net>
2223
2224         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2225
2226         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2227           create a single function...
2228
2229         * paragraph_funcs.C (moveItem): ... here.
2230
2231         * text.C:
2232           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2233
2234 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2235
2236         * LColor.[Ch]: Add comment and greyedout logical colors.
2237
2238 2003-07-30  André Pönitz  <poenitz@gmx.net>
2239
2240         * tabular.C: don't use Assert too heavily. This crashes where it
2241           shouldn't
2242
2243 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2244
2245         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2246         is disabled (bug 1232)
2247
2248 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2249
2250         * factory.C: limited 'arg' scope
2251
2252 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2253
2254         * factory.C: fixed Note submenu issues
2255
2256 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2257
2258         * factory.C: submenu for Note/Comment/Greyedout
2259
2260 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2261
2262         * lyx_main.C (LyX):
2263         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2264
2265 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2266
2267         * LaTeXFeatures.C:
2268         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2269         greyedout. Patch provided by Jürgen Spitzmüller.
2270
2271 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2272
2273         * kbmap.C (read): fix error message when reading bind files
2274
2275 2003-07-29  Angus Leeming  <leeming@lyx.org>
2276
2277         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2278         certainly does not do what it purports to do. I am doing it, and
2279         us, a favour by killing it.
2280
2281 2003-07-28  José Matos  <jamatos@lyx.org>
2282
2283         * buffer.C (readBody, do_writeFile):
2284         * paragraph.C(readParagraph): \end_document replaces \the_end.
2285
2286 2003-07-29  André Pönitz  <poenitz@gmx.net>
2287
2288         * BufferView.[Ch]:
2289         * BufferView_pimpl.[Ch]:
2290         * lyxfunc.C:
2291         * text2.C:
2292         * text3.C:
2293         * textcursor.[Ch]: remove toggleToggle & Co
2294
2295 2003-07-28  José Matos  <jamatos@fep.up.pt>
2296
2297         * buffer.C (readParagraph):
2298         * params_func (readParToken, readParagraph):
2299         * paragraph.C (write): \layout -> \begin_layout.
2300
2301 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2302
2303         * lyxlex_pimpl.C (setFile): clean up slightly.
2304
2305         * bufferparams.h: add compressed var
2306
2307         * buffer_funcs.C (readFile): adjust for LyXLex change
2308         (newFile): ditto + simplify
2309
2310         * buffer.C (writeFile): handle writing of compressed files
2311
2312         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2313         Check if the file is compressed and set a bufferparm if so.
2314
2315         * Makefile.am (lyx_LDADD): remove explicit -lz
2316
2317 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2320         makeDocBookFile): put the real LyX version in the first line of
2321         the file
2322
2323         * version.h:
2324         * version.C.in: remove lyx_docversion
2325
2326         * tabular.C (write_attribute): add a template-based version to
2327         write enums properly
2328
2329 2003-07-28  André Pönitz  <poenitz@gmx.net>
2330
2331         * lyxtext.h:
2332         * text.C:
2333         * text2.C:
2334         * text3.C: use doubles again for x-coordinates. They are needed.
2335
2336 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2337
2338         * messages.C (getLocaleDir): use lyx_localedir()
2339
2340         * lyxlex_pimpl.C (setFile): compress stuff
2341
2342         * buffer.C (writeFile): add some compression stuff
2343         (do_writeFile): new func, dont call expliti close... will this
2344         breake anything?
2345
2346         * Makefile.am (lyx_LDADD): add -lz
2347
2348 2003-07-28  José Matos  <jamatos@fep.up.pt>
2349
2350         * buffer.C: increment file format.
2351         * paragraph_funcs (readParagraph, readParToken):
2352         * paragraph.C (readParagraph): add \end_layout.
2353
2354 2003-07-27  Angus Leeming  <leeming@lyx.org>
2355
2356         * Makefile.am: remove special casing for configure-time setting of
2357         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2358
2359         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2360         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2361
2362 2003-07-26  André Pönitz  <poenitz@gmx.net>
2363
2364         * paragraph_func.[Ch]:
2365         * paragraph.C (realizeFont): inline it whereever it is used
2366
2367         * rowpainter.C:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2371
2372
2373 2003-07-26  André Pönitz  <poenitz@gmx.net>
2374
2375         *       lyxtext.h:
2376         * text.C:
2377         * text2.C: get rid of LyXText::need_break_row
2378
2379 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * toc.[Ch]: put namespace toc inside namespace lyx
2382
2383         * MenuBackend.C (expandToc2): adjust for lyx::toc
2384         (expandToc): ditto
2385
2386         * lyxfunc.C (dispatch): adjust for lyx::find
2387
2388         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2389         lyx::find instead. Reorganize a bit.
2390         (LyXReplace): rename to replace
2391         (LyXFind): rename to find
2392
2393         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2394         (dispatch): ditto
2395
2396 2003-07-26  André Pönitz  <poenitz@gmx.net>
2397
2398         * text.C (setHeightOfRow): restrict scope of temporary variable
2399
2400         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2401           code (never has been used?)
2402
2403 2003-07-27  Asger Alstrup  <alstrup@local>
2404
2405         * text.C (fill): Optimise algorithm to exploit that we can reuse
2406         the LyXFont for many characters.
2407         (setHeightOfRow): Same thing.
2408         (rowBreakPoint): Same thing.
2409
2410 2003-07-26  Asger Alstrup  <alstrup@local>
2411
2412         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2413
2414         * text.C (singleWidth): Spurious font copying in hot-spot
2415         singleWidth avoided. Reorder tests for arabic for efficiency.
2416
2417         * text.C (fill): handle empty paragraphs better.
2418
2419 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2420
2421         * ispell.C:
2422         * encoding.h: add includes
2423
2424         * lyxrc.C: remove reading of bind files
2425
2426         * lyx_main.C (init): setup bindings and menus only if we have a
2427         gui.
2428
2429         * kbmap.C (read): new method. Do the actual reading of bind
2430         files.
2431
2432         * converter.C (dvipdfm_options):
2433         * bufferparams.C:
2434         * lyxrc.C (read):
2435         (output): adapt PAPER_* enums.
2436
2437         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2438
2439         * bufferparams.h: remove paper-related enums from there
2440
2441         * paper.h: New file. A trivial header file to hold paper-related
2442         enums. It should later expand to contain many paper-related
2443         horrors access.
2444
2445         * lyxrc.C: declare extern displayTranslator
2446
2447 2003-07-27  José Matos  <jamatos@fep.up.pt>
2448
2449         * tabular.[Ch] (linuxdoc): add support for tables and figures
2450         (linuxdoc).
2451
2452 2003-07-27  José Matos  <jamatos@fep.up.pt>
2453
2454         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2455         consistency in both functions.
2456         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2457
2458 2003-07-26  Asger Alstrup  <alstrup@local>
2459
2460         * rowpainter.C (paintRows): Change algorithm to work directly on
2461         the insets rather than asking every character in the document
2462         whether its an inset.
2463
2464 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * buffer.C (openFileWrite): factorize some code
2467
2468 2003-07-26  Angus Leeming  <leeming@lyx.org>
2469
2470         * lyx_cb.C:
2471         * lyx_main.[Ch]: replace occurances of system_tempdir with
2472         os::getTmpDir().
2473
2474 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2475
2476         * rename Inset to InsetOld
2477
2478 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2479
2480         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2481         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2482         which I think is a bit clearer. EDIT is gone, since it was
2483         premature optimisation, and broken for mathed anyway.
2484         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2485         with cursor positioning in insets as well (math insets still do not
2486         work, but that's a different story anyway.) It mysteriously
2487         crashes sometimes with undo in the first paragraph, but I'm fairly
2488         confident that this is a compiler bug.
2489
2490 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * paragraph.C (Paragraph): adjust for new clone return type
2493         (operator==): ditto
2494         (copyIntoMinibuffer): ditto
2495
2496 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2497
2498         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2499         by not having a special case, and always doing a full rebreak of
2500         the document after undo.
2501
2502 2003-07-23  Angus Leeming  <leeming@lyx.org>
2503
2504         * factory.C (createInset): InsetExternal::setParams now takes a
2505         Buffer const * arg.
2506
2507 2003-07-23  Angus Leeming  <leeming@lyx.org>
2508
2509         * factory.C (createInset): changed interface to the external and
2510         graphics mailers' string2params functions.
2511
2512 2003-07-23  Angus Leeming  <leeming@lyx.org>
2513
2514         * factory.C (createInset): pass a
2515         Buffer const * parameter to InsetExternalMailer's string2params.
2516
2517 2003-07-22  John Levon  <levon@movementarian.org>
2518
2519         * Thesaurus.h: include the right aiksaurus header
2520
2521 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * MenuBackend.C (expand): check menu shortcuts unconditionally
2524
2525 2003-07-21  Angus Leeming  <leeming@lyx.org>
2526
2527         * factory.C (createInset): pass a
2528         buffer_path parameter to InsetGraphicsMailer's string2params.
2529
2530 2003-07-21  Angus Leeming  <leeming@lyx.org>
2531
2532         * BufferView_pimpl.C (buffer):
2533         * buffer.C (d-tor):
2534         * lyx_main.C (LyX):
2535         * lyxfunc.C (dispatch):
2536         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2537         rather than the grfx shortcut.
2538
2539 2003-07-21  André Pönitz  <poenitz@gmx.net>
2540
2541         * rowpainter.C: remove unused variables
2542
2543         * tabular_funcs.C:
2544         * tabular_funcs.h: move to tabular.C
2545         * Makefile.am: adjust
2546
2547         * tabular.[Ch]: basic optical cleaning
2548
2549         * author.h: pass references, not values
2550
2551 2003-07-18  André Pönitz  <poenitz@gmx.net>
2552
2553         * lyxtext.h:
2554         * metricsinfo.C:
2555         * metricsinfo.h:
2556         * rowpainter.C:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: two-phase drawing for InsetText and InsetTabular
2560         some float -> int changes.
2561
2562 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2563
2564         * lyx_main.C: fix the fix
2565
2566 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * lyx_main.C: fix a crash in batch mode if no files specified
2569         * converter.C: ws
2570
2571 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2572
2573         * format.[Ch] (papersize): moved to BufferParams
2574         * converter.[Ch] (dvips_options): moved to BufferParams
2575         (dvipdfm_options): moved to anon namespace
2576         * bufferparams.[Ch]: added above functions.
2577
2578 2003-07-17  André Pönitz  <poenitz@gmx.net>
2579
2580         * lyxtext.h:
2581         * rowpainter.C:
2582         * text2.C: don't call inset->update() anymore
2583
2584         * metricsinfo.[Ch]: add convenience constructor
2585
2586 2003-07-16  André Pönitz  <poenitz@gmx.net>
2587
2588         * lyxcursor.[Ch]:
2589         * lyxfunc.[Ch]:
2590         * text.C:
2591         * text2.C: replace the LyXCursor::irow_ member with
2592          on-demand computation of the value
2593
2594 2003-07-16  John Levon  <levon@movementarian.org>
2595
2596         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2597
2598 2003-07-15  André Pönitz  <poenitz@gmx.net>
2599
2600         * text.C:
2601         * text2.C: remove no more needed refresh_row
2602
2603 2003-07-15  André Pönitz  <poenitz@gmx.net>
2604
2605         * lyxtext.h:
2606         * rowpainter.C:
2607         * text2.C:
2608         * text3.C: refresh_status tristate -> need_update bool
2609
2610 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * lyxtext.h (init): remove reinit argument (act as if always true)
2613         * text2.C: adjust to that
2614
2615 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2616
2617         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2618         * text3.C: use it to delete selections in some cases
2619         (bugs 441, 673, 702, 954).
2620
2621 2003-07-14  André Pönitz  <poenitz@gmx.net>
2622
2623         * rowpainter.[Ch]: reduce interface
2624
2625 2003-07-14  André Pönitz  <poenitz@gmx.net>
2626
2627         * BufferView_pimpl.C:
2628         * text2.C: adjust after removing unused BufferView * argument
2629
2630 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2631
2632         * text2.C (init): fix a crash fired on resize
2633
2634 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * buffer.[Ch]: added new closing signal
2637         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2638         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2639         BufferView::Pimpl via the closing the signal
2640
2641 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * buffer.[Ch]: take out all bv-related from buffer
2644         * BufferView.C:
2645         * BufferView_pimpl.[Ch]: connect to new signals
2646         * CutAndPaste.C: removed useless asserts
2647         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2648         * lyxvc.[Ch]:
2649         * vc-backend.[Ch]:
2650         * lyxfunc.C: moved view-related funciontality from vc here
2651         * paragraph.C: removed outdated comments
2652         * text.C: ws
2653
2654 2003-07-10  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView_pimpl.C:
2657         * tabular.h:
2658         * tabular_funcs.C:
2659         * text.C:
2660         * text2.C: remove InsetText::InnerCache, clean up consequences
2661
2662 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2663
2664         * ispell.C: fix two typos in error messages
2665
2666 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2667
2668         * Extend Note inset to other forms of annotation like Comment
2669         and Greyedout. Right button click gives dialog.
2670
2671         Files modified or added (+):
2672
2673         * insetnote.[Ch]
2674         * FormNote.[Ch]      +
2675         * ControlNote.[Ch]   +
2676         * form_note.fd       +
2677         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2678         frontends/controllers
2679         * xforms/Dialogs.C
2680         * factory.C
2681
2682 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2683
2684         * aspell.C: add missing namespace lyx::support
2685
2686 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2687
2688         * BufferView.[Ch] (newFile): Add
2689         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2690         * LaTeX.[Ch] (message): added this signal and use it
2691         * buffer.[Ch] (busy, message): added these signals and use them
2692         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2693         * converter.C:
2694         * exporter.C:
2695         * format.C:
2696         * importer.C: use buffer signals instead of direct bv calling
2697         * lyx_cb.[Ch] (ShowMessage): removed
2698         * lyx_main.C:
2699         * lyxfunc.C:
2700         * paragraph_funcs.C:
2701         * text2.C: use buffer signals
2702
2703 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * introduce namespace lyx::graphics
2706
2707 2003-07-02  André Pönitz  <poenitz@gmx.net>
2708
2709         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2710
2711 2003-07-01  André Pönitz  <poenitz@gmx.net>
2712
2713         * text.C:
2714         * text2.C:
2715         * text3.C:
2716         * text_funcs.[Ch]:
2717         * textcursor.h:
2718         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2719           text*.C to text_func.C
2720
2721 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * introduce namespace lyx::support
2724
2725 2003-06-30  André Pönitz  <poenitz@gmx.net>
2726
2727         * Chktex.C:
2728         * funcrequest.C:
2729         * lyxtext.h:
2730         * text.C: re-enable --with-included-string
2731
2732 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2733
2734         * textcursor.C: add <config.h>
2735
2736         * text.C (getWord): remove const from word_location arg
2737
2738         * lyxvc.C (getLogFile): fix const type order
2739
2740         * lyxtext.h: remove const from word_location arg, add arg name
2741
2742         * lyxlayout.h: currect type on labeltype.
2743
2744         * importer.C: correct \file
2745
2746         * converter.C (intToFormat): use std:: on ret val, ws changes
2747
2748         * bufferlist.h: correct \file
2749
2750         * buffer.C (makeLinuxDocFile): fix const type order
2751         (makeDocBookFile): ditto
2752         (fillWithBibKeys): use std:: on stdlib args.
2753
2754         * CutAndPaste.C: fix authors.
2755         (availableSelections): use std:: on return vector
2756
2757 2003-06-27  André Pönitz  <poenitz@gmx.net>
2758
2759         * BufferView_pimpl.C:
2760         * bufferview_funcs.C:
2761         * lyxcursor.C:
2762         * lyxcursor.h:
2763         * lyxfunc.C:
2764         * lyxtext.h:
2765         * rowpainter.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: remove LyXCursor::row_ member
2769
2770         * lyxtext.h:
2771         * text.C: rename fullRebreak() to partialRebreak() and implement
2772           a fullRebreak() that really bereks fully
2773
2774         * textcursor.h: new struct for cursor-related data
2775
2776 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2777
2778         * lyx_main.C (LyX): get full path of document loaded on the
2779         command line
2780
2781 2003-06-26  André Pönitz  <poenitz@gmx.net>
2782
2783         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2784           remove unused/broken operator>,<,>=.
2785
2786         *       text.C: remove only use of broken operator<= in an Assert().
2787
2788 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2791         moved errorlist_.clear to showErrorList
2792
2793 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * converter.C (scanLog, runLaTeX):
2796         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2797         move the bv->showErrorList call to the callers
2798         * lyxfunc.C: i.e. here...
2799         * text2.C: and here
2800         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2801         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2802         namespace, the second to...
2803         * buffer_funcs (BufferFormat, parseErrors): added
2804         * errorlist.C (ErrorList(TeXErrors const &)): removed
2805
2806 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2807
2808         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2809
2810 2003-06-24  "Garst R. Reese" <reese@isn.net>
2811
2812         * debug.C: fix typo
2813
2814 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2815
2816         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2817
2818         * version.C.in: change docversion to 1.4
2819
2820 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * buffer.C: fix a bug just introduced
2823
2824 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * buffer.[Ch]: added the parseError signal and use it, removed
2827         sgmlError
2828         * BufferView.[Ch] (addError): moved to ...
2829         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2830         to the Buffer::parseError signal to catch (guess what) parse errors
2831         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2832
2833 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2836         ability to create a buffer and to return an existing one from
2837         the list. Moved these functions to...
2838         * buffer_funcs.[Ch]: added
2839         * BufferView.[Ch] (loadLyXFile): added
2840         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2841         job removed from bufferlist::loadLyXFile.
2842         * buffer.C (setReadOnly): make it work without view
2843         (i.e added an if (users))
2844
2845 2003-06-19  Angus Leeming  <leeming@lyx.org>
2846
2847         * lfuns.h:
2848         * LyXAction.C (init):
2849         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2850         with LFUN_DIALOG_SHOW <name> <data>.
2851
2852 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853
2854         * CutAndPaste.C (availableSelections): small compilation fix for
2855         ancient (gcc 2.9x) compilers
2856
2857 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * text3.C (cursorNext): add tmp var
2860
2861         * text2.C (updateCounters): for function calling out of for clause
2862         (replaceSelectionWithString): ditto
2863         (insertStringAsParagraphs): ditto
2864         (getColumnNearX): add tmp var
2865         (setCursorFromCoordinates): add tmp var
2866         (cursorDownParagraph): add tmp var
2867         (deleteEmptyParagraphMechanism): add tmp var
2868
2869         * text.C (insertChar): add tmp var
2870
2871         * rowpainter.C (paintDepthBar): add tmp var
2872
2873         * CutAndPaste.C (availableSelections): potentially check all
2874         paragraphs in a cut to fill the shown strings.
2875
2876 2003-06-18  André Pönitz  <poenitz@gmx.net>
2877
2878         * kbmap.[Ch]: use vector<> instead of list<>
2879
2880 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2881
2882         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2883         pasteSelection with index
2884
2885         * text2.C (pasteSelection): modify, call pasteSelection with index
2886
2887         * paragraph.C (asString): reimplement version with no interval to
2888         call the one with interval.
2889
2890         * lyxtext.h: add index arg to pasteSelection
2891
2892         * MenuBackend.C (MenuItem): handle PasteRecent
2893         (Menu::read::Menutags): add md_pasterecent
2894         (read): handle it
2895         (expandPasteRecent): new function
2896         (expand): use it
2897
2898         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2899
2900         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2901         the limited stack
2902         (availableSelections): new function
2903
2904 2003-06-17  Angus Leeming  <leeming@lyx.org>
2905
2906         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2907
2908 2003-06-17  Angus Leeming  <leeming@lyx.org>
2909
2910         * lfuns.h:
2911         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2912
2913         * lyxfunc.C (dispatch): invoke it.
2914
2915 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2916
2917         * iterators.C (operator++, ParPosition): reintroduce some
2918         const_cast for the benefit of older compilers.
2919
2920 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2921
2922         * text3.C (dispatch): do not modify clipboard when doing
2923         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2924         LFUN_DELETE_SKIP on a selection selection
2925
2926 2003-06-16  André Pönitz  <poenitz@gmx.net>
2927
2928         * BufferView.C:
2929         * buffer.C:
2930         * buffer.h:
2931         * paragraph.C:
2932         * tabular.[Ch]: IU of clone() and getLabelList();
2933
2934 2003-06-13  André Pönitz  <poenitz@gmx.net>
2935
2936         * tabular.h: compactification
2937
2938 2003-06-12  André Pönitz  <poenitz@gmx.net>
2939
2940         * tabular.C:
2941         * tabular.h:
2942         * tabular_funcs.h: some renaming plus whitespace
2943
2944 2003-06-12  André Pönitz  <poenitz@gmx.net>
2945
2946         * BufferView.C:
2947         * BufferView_pimpl.C:
2948         * CutAndPaste.C:
2949         * buffer.C:
2950         * iterators.[Ch]:
2951         * lyxfunc.C:
2952         * text.C:
2953         * toc.C: Return a Paragraph & for ParIterator::operator*()
2954
2955 2003-06-11  John Levon  <levon@movementarian.org>
2956
2957         * lyx_main.C:
2958         * ToolbarBackend.h:
2959         * ToolbarBackend.C: add "Toolbars" section and
2960         put the flags there
2961
2962 2003-06-10  Angus Leeming  <leeming@lyx.org>
2963
2964         * lfuns.h:
2965         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2966
2967         * lyxfunc.C (dispatch): invoke it.
2968
2969 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * main.C: protect <ios> with HAVE_IOS
2972         (main): protect sync_with_stdio with HAVE_IOS
2973
2974 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2975
2976         * text2.C (cutSelection): adjust
2977         (pasteSelection): adjust
2978
2979         * messages.C: handle get of empty string
2980
2981         * main.C (main): use sync_with_stdio(false)
2982
2983         * lyxfunc.C (dispatch): adjust
2984
2985         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2986         (WriteAs): remove unneeded BufferView arg.
2987
2988         * bufferparams.h: use correct types on papersize, papersize2 and
2989         paperpackage.
2990
2991         * bufferparams.C (readToken): adjust for type
2992         (writeLaTeX): add missing cases to switch.
2993
2994         * bufferlist.C (quitWriteBuffer): adjust
2995         (close): adjust
2996
2997         * buffer.C (asciiParagraph): remove some commented code.
2998
2999         * CutAndPaste.C: remove current_view extern variable.
3000         (cutSelection): add BufferParams arg.
3001         (eraseSelection): add BufferParams arg.
3002         (pasteSelection): add Buffer const & arg
3003
3004 2003-06-07  John Levon  <levon@movementarian.org>
3005
3006         * buffer.C:
3007         * paragraph_funcs.C:
3008         * paragraph_pimpl.C:
3009         * text.C:
3010         * text2.C:
3011         * paragraph.h:
3012         * paragraph.C: allow InsetERT to freely space lines,
3013         and some consolidation of code
3014
3015 2003-06-06  José Matos  <jamatos@fep.up.pt>
3016
3017         * buffer.C (makeDocBookFile): fix bug #821
3018
3019 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3020
3021         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3022
3023 2003-06-04  Angus Leeming  <leeming@lyx.org>
3024
3025         * buffer.C: bump format to 224.
3026
3027 2003-06-05  André Pönitz  <poenitz@gmx.net>
3028
3029         * text2.C (redoParagraphs): remove two const_cast<>
3030
3031 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3032
3033         * ParagraphList.h: remove last remnants of NO_STD_LIST
3034
3035 2003-06-03  Angus Leeming  <leeming@lyx.org>
3036
3037         * factory.C (createInset): small change to the way InsetExternal's params
3038         are set.
3039
3040 2003-06-04  André Pönitz  <poenitz@gmx.net>
3041
3042         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3043
3044         * paragraph_pimpl.h:
3045         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3046
3047         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3048
3049         * undo_funcs.C: make some simple cases of undo work again
3050
3051 2003-06-03  John Levon  <levon@movementarian.org>
3052
3053         * ispell.C: HPUX doesn't have sys/select.h
3054         (from Albert Chin)
3055
3056 2003-06-03  John Levon  <levon@movementarian.org>
3057
3058         * CutAndPaste.C: update tabular and include inset
3059         buffer references
3060
3061         * buffer.h:
3062         * paragraph.h:
3063         * paragraph.C: remove owningBuffer(), don't pass Buffer
3064         to clone()
3065
3066         * factory.C: insetGraphicsParams changed
3067
3068 2003-06-02  John Levon  <levon@movementarian.org>
3069
3070         * LyXAction.C:
3071         * factory.C:
3072         * lfuns.h:
3073         * lyxfunc.C:
3074         * text3.C: remove insetparent
3075
3076 2003-06-02  John Levon  <levon@movementarian.org>
3077
3078         * buffer.h:
3079         * buffer.C: fix inset_iterator.end(), move out of line
3080         (bug 1149)
3081
3082 2003-06-01  John Levon  <levon@movementarian.org>
3083
3084         * text3.C: use a proper cut/paste when doing inset
3085         insert (from Jürgen Spitzmüller)
3086
3087 2003-06-01  John Levon  <levon@movementarian.org>
3088
3089         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3090
3091 2003-05-30  André Pönitz  <poenitz@gmx.net>
3092
3093         * rowpainter.C: unify second drawing phase
3094
3095 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * trans_mgr.C: remove one case of current_view
3098
3099         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3100
3101         * paragraph_funcs.h: remove paragraph.h include
3102
3103         * paragraph.h: delete NO_STD_LIST stuff
3104
3105         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3106
3107         * buffer.h: remove paragraph.h include
3108
3109         * ParagraphList.C: delete file
3110
3111         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3112
3113         * toc.C (getTocList): adjust
3114
3115         * paragraph_pimpl.C (validate): adjust
3116
3117         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3118
3119         * paragraph.C (Paragraph): adjust
3120         (getPositionOfInset): use const_iterator, adjust
3121         (bibitem): use const_iterator, adjust
3122         (setInsetOwner): adjust
3123
3124         * iterators.C (operator++): adjust
3125
3126         * InsetList.[Ch]: Replace selfmade iterator with standard
3127         vector::iterator also introduce const_iterator. Remove getPos,
3128         getInset and setInset from InsetTable. Adjust accordingly.
3129
3130         * BufferView.C (lockInset): adjust
3131         (ChangeInsets): adjust
3132
3133         * tabular.[Ch]: delete commented same_id functions
3134
3135 2003-05-28  John Levon  <levon@movementarian.org>
3136
3137         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3138
3139 2003-05-28  André Pönitz  <poenitz@gmx.net>
3140
3141         * metricsinfo.[Ch]: remove 'fullredraw' member
3142
3143 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3144
3145         * lyxtextclass.C (operator): remove caching.
3146
3147 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * text3.C: adjust
3150
3151         * text2.C (cursorBottom): adjust
3152         (setCounter): use ParagraphList::find, adjust
3153
3154         * text.C (workWidth): use ParagraphList::find, adjust
3155
3156         * lyxcursor.C (LyXCursor): adjust
3157
3158         * buffer.C (inset_iterator): adjust
3159
3160         * ParagraphList.h: make iterator(value_type) private, make
3161         ParagraphList a friend of iterator.
3162
3163         * ParagraphList.C (find): new function
3164
3165         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3166
3167 2003-05-27  André Pönitz  <poenitz@gmx.net>
3168
3169         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3170
3171 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3172
3173         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3174
3175 2003-05-26  John Levon  <levon@movementarian.org>
3176
3177         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3178
3179 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * remove same_id from function signatures, adjust.
3182
3183 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3186
3187         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3188
3189         * paragraph.C (Paragraph): get rid of same_ids parameter
3190
3191         * ParagraphList.C (insert): adjust
3192         (push_back): adjust
3193
3194 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * paragraph_funcs.C (breakParagraph): adjust
3197         (breakParagraphConservative): adjust
3198
3199         * buffer.C (readParagraph): adjust
3200
3201         * ParagraphList.C (insert): take a reference instead of a pointer
3202         (insert): adjust
3203
3204         * paragraph.[Ch] (id): new function
3205
3206         * bufferlist.C (newFile): adjust
3207
3208         * ParagraphList.C (ParagraphList): adjust
3209         (assign): adjust
3210         (push_back): take a reference instead of a pointer.
3211
3212         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3213
3214         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3215         instead.
3216
3217         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3218         set else use old code.
3219
3220         * ParagraphList.C: remove all NO_NEXT code and only compile this
3221         code of NO_STD_LIST is set.
3222
3223 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * BufferView_pimpl.C:
3226         * TextCache.C:
3227         * TextCache.h:
3228         * bufferlist.C:
3229         * errorlist.h:
3230         * format.C:
3231         * format.h:
3232         * graph.C:
3233         * lyxfunc.C:
3234         * lyxrc.C:
3235         * graphics/GraphicsConverter.C:
3236         * graphics/PreviewLoader.C: header adjustment
3237
3238 2003-05-23  Angus Leeming  <leeming@lyx.org>
3239
3240         * LaTeXFeatures.[Ch] (useBabel): new method.
3241         * bufferparams.C (writeLaTeX): use it.
3242
3243 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * ParagraphList.h (set): remove unused function.
3246
3247 2003-05-23  André Pönitz  <poenitz@gmx.net>
3248
3249         * BufferView.C:
3250         * BufferView_pimpl.C:
3251         * buffer.C:
3252         * buffer.h:
3253         * lyxfunc.C:
3254         * undo_funcs.C: setUndo reworked
3255
3256         * iterators.[Ch]: add access to topmost ParagraphList
3257
3258         * lyxtext.[Ch] (workWidth): add a const
3259
3260 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * texrow.[Ch] (increasePos): remove function
3263         * exporter.C (export): removed unused var and outdated comment
3264
3265 2003-05-23  Angus Leeming  <leeming@lyx.org>
3266
3267         * latexrunparams.h: rename fragile as moving_arg.
3268         * paragraph.C (simpleTeXOnePar): ditto.
3269         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3270
3271 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3274         (createUndo): ditto
3275         (textUndoOrRedo): comment out a currently unused var.
3276
3277         * paragraph.h (NO_NEXT): enable NO_NEXT
3278
3279         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3280
3281         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3282
3283         * exporter.C (Export): adjust for removeAutoInsets removal.
3284
3285         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3286
3287         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3288
3289         * BufferView.[Ch] (removeAutoInsets): delete function
3290
3291 2003-05-22  Angus Leeming  <leeming@lyx.org>
3292
3293         * latexrunparams.h: add a free_spacing variable.
3294
3295         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3296         to pass moving_arg, as the data is stored in runparams.fragile.
3297
3298         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3299         to Inset::latexOptional or to simpleTeXOnePar.
3300
3301         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3302         free_spacing arg to Inset::latexOptional.
3303
3304         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3305         free_spacing arg.
3306
3307 2003-05-22  Angus Leeming  <leeming@lyx.org>
3308
3309         * latexrunparams.h: add fragile and use_babel variables.
3310
3311         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3312         * buffer.C (makeLaTeXFile): store this returned value in
3313         runparams.use_babel, thus passing it to the inset::latex methods.
3314
3315         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3316         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3317
3318         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3319         longer has a fragile arg, as it is stored in runparams.fragile.
3320
3321         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3322         moving_arg parameter as the data is stored in runparams.fragile.
3323
3324         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3325         a fragile parameter as the data is stored in runparams.fragile.
3326
3327 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3330
3331 2003-05-22  Angus Leeming  <leeming@lyx.org>
3332
3333         * latexrunparams.h: add a 'bool nice' which defaults to false.
3334
3335         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3336         now encapsulated within runparams.
3337
3338         * bufferlist.C (updateIncludedTeXfiles):
3339         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3340
3341 2003-05-22  Angus Leeming  <leeming@lyx.org>
3342
3343         * latexrunparams.h: new file containing struct LatexRunParams.
3344         * Makefile.am: add new file.
3345
3346         * LaTeX.[Ch] (c-tor, run):
3347         * buffer.[Ch] (makeLaTeXFile):
3348         * bufferlist.[Ch] (updateIncludedTeXfiles):
3349         * converter.C (convert, scanLog):
3350         * converter.[Ch] (runLaTeX):
3351         * exporter.C (Export):
3352         * paragraph.[Ch] (simpleTeXOnePar):
3353         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3354         * paragraph_funcs.[Ch] (latexParagraphs):
3355         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3356         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3357         pass around a LatexRunParams parameter.
3358
3359 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * paragraph.[Ch]: remove unused constructor
3362
3363         * ParagraphList.C (erase): new function, taking two iterators
3364
3365 2003-05-22  André Pönitz  <poenitz@gmx.net>
3366
3367         * undo_funcs.C: remove duplicated code
3368
3369         * iterator.[Ch]: operator=
3370
3371 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * tabular.C (SetMultiColumn): ws changes
3374
3375         * rowpainter.C (paintFirst): get rid of a ->previous
3376
3377         * lyx_cb.C (getPossibleLabel): parlist simplification
3378
3379         * BufferView.C (ChangeInsets): simplify slightly.
3380
3381 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3382
3383         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3384         * lfuns.h: new LFUN_SPACE
3385         * lyxfunc.C: protected space has a new lfun
3386         * paragraph_funcs.C: read new space insets
3387         * text3.C:
3388         * factory.C: handle new space insets
3389
3390 2003-05-22  André Pönitz  <poenitz@gmx.net>
3391
3392         * BufferView.C:
3393         * BufferView_pimpl.C:
3394         * buffer.[Ch]:
3395         * lyxfunc.C:
3396         * undo_funcs.C: return a ParIterator from getParFromID.
3397
3398         * iterators.[Ch]: add two const's
3399
3400 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3401
3402         * toc.C (getTocList): adjust
3403
3404         * iterators.[Ch]: rework for parlist
3405
3406         * buffer.C (par_iterator_begin): adjust
3407         (par_iterator_end): adjust
3408
3409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3410
3411         * BufferView.C (removeAutoInsets): adjust
3412         (ChangeInsets): adjust
3413
3414 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3415
3416         * text.C (top_y): fix bug 1110
3417
3418 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * errorlist.[Ch]: added
3421         * buffer.C:
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.C:
3424         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3425         instead
3426
3427 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * Makefile.am: ensure that lyx is relinked upon changes to the
3430         various "convenience" libs.
3431
3432 2003-05-20  Angus Leeming  <leeming@lyx.org>
3433
3434         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3435         files are compiled in alphabetical order again.
3436
3437         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3438
3439 2003-05-19  Angus Leeming  <leeming@lyx.org>
3440
3441         * gettext.[Ch]: remove "char const * _(char const *)".
3442
3443 2003-05-19  André Pönitz  <poenitz@gmx.net>
3444
3445         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3446
3447         * Makefile.am:
3448         * BufferView.C:
3449         * DepTable.h:
3450         * LaTeXFeatures.C:
3451         * buffer.C:
3452         * lyxfont.C:
3453         * lyxlex.h:
3454         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3455
3456 2003-05-19  André Pönitz  <poenitz@gmx.net>
3457
3458         * buffer.C:
3459         * lyxlayout.[Ch]:
3460         * lyxtextclass.[Ch]:
3461         * paragraph.C:
3462         * paragraph_funcs.[Ch]:
3463         * text2.C:
3464         * text3.C: more insetenv work
3465
3466 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * ParagraphParameters.C (params2string): small bug fixed
3469
3470 2003-05-16  André Pönitz  <poenitz@gmx.net>
3471
3472         * debug.C:
3473         * bufferview_funcs.C: patch from Kornel Benko to prevent
3474           crash when _(...) is called twice in a statement
3475
3476 2003-05-16  André Pönitz  <poenitz@gmx.net>
3477
3478         * BufferView.C:
3479         * lyxfunc.C:
3480         * text.C:
3481         * text2.C:
3482         * text3.C:
3483         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3484
3485 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * lyx_main.C (init): remove spurious static_cast
3488
3489 2003-05-14  André Pönitz  <poenitz@gmx.net>
3490
3491         * BufferView.C: fix format string
3492
3493 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * BufferView.[Ch] (insertErrors): removed
3496         * BufferView.[Ch] (showErrorList): added
3497         * buffer.C (runChkTeX):
3498         * converter.C (scanLog): call showErrorList instead of inserterrors
3499
3500 2003-05-13  André Pönitz  <poenitz@gmx.net>
3501
3502         * BufferView_pimpl.C:
3503         * buffer.C:
3504         * bufferview_func.C:
3505         * MenuBackend.C:
3506         * lyxfunc.C:
3507         * lyxrc.C:
3508         * tex-accent.C:
3509         * text3.C:
3510         * toc.C:
3511         * tabular_funcs.h: tostr() from its own header
3512
3513         * ParagraphParameters.C:
3514         * ToolbarBackend.C:
3515         * bufferparams.C:
3516         * format.C:
3517         * lyxlex_pimpl.C:
3518         * text3.C: STRCONV()
3519
3520 2003-05-12  André Pönitz  <poenitz@gmx.net>
3521
3522         * BufferView.C:
3523         * BufferView_pimpl.C:
3524         * CutAndPaste.C:
3525         * LaTeX.C:
3526         * LaTeXFeatures.C:
3527         * ParagraphParameters.C:
3528         * buffer.C:
3529         * bufferlist.C:
3530         * bufferparams.C:
3531         * bufferview_funcs.C:
3532         * converter.C:
3533         * counters.C:
3534         * debug.C:
3535         * exporter.C:
3536         * format.C:
3537         * importer.C:
3538         * lyx_cb.C:
3539         * lyx_main.C:
3540         * lyxfont.C:
3541         * lyxfunc.C:
3542         * lyxvc.C:
3543         * paragraph.C:
3544         * paragraph_funcs.C:
3545         * tabular.C:
3546         * tabular_funcs.C:
3547         * text2.C:
3548         * text3.C:  boost::format -> bformat  all over the place
3549
3550
3551 2003-05-09  André Pönitz  <poenitz@gmx.net>
3552
3553         * LColor.[Ch]: Pimpl the #include <map> away
3554
3555 2003-05-09  John Levon  <levon@movementarian.org>
3556
3557         * bufferlist.C: never remove emergency saves
3558
3559 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * Makefile.am: better lib building
3562
3563 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3566         instead.
3567         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3568         (simpleTeXSpecialChars): adjust
3569         (simpleTeXSpecialChars): adjust
3570         * paragraph.C (simpleTeXOnePar): adjust
3571         * buffer.C (makeLaTeXFile): adjust
3572
3573         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3574
3575         * text2.C (changeDepth): parlist cleanup
3576         (getColumnNearX): ditto
3577
3578         * rowpainter.C (getLabelFont): parlist cleanup
3579
3580         * bufferlist.C (newFile): parlist cleanup
3581
3582         * CutAndPaste.C (eraseSelection): parlist cleanup
3583
3584         * BufferView_pimpl.C (trackChanges): parlist cleanup
3585         (dispatch): ditto
3586
3587         * BufferView.C (lockInset): parlist cleanup.
3588         (ChangeInsets): ditto
3589
3590 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * CutAndPaste.h: Update file header.
3593
3594         * CutAndPaste.C: Update file header.
3595         Store the parts cut out of the Document in a limited_stack.
3596         (copySelection): adjust
3597         (pasteSelection): new function, takes the index in the limited stack.
3598         (nrOfParagraphs): adjust
3599         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3600         simplify error inset insertion.
3601         (checkPastePossible): adjust
3602
3603 2003-05-06  John Levon  <levon@movementarian.org>
3604
3605         * text2.C: don't cast wrap inset to float
3606
3607 2003-05-05  André Pönitz  <poenitz@gmx.net>
3608
3609         * iterator.C:
3610         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3611
3612         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3613           few naked Paragraph *.
3614
3615 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3616
3617         * bufferparams.C: Output warning if a document with missing
3618         TeX document class is loaded
3619         * exporter.C: Disable TeX exports if the document class is missing
3620         * lyxtextclass.C:
3621         * lyxtextclass.h:
3622         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3623         isTeXClassAvailable()
3624
3625 2003-05-03  John Levon  <levon@movementarian.org>
3626
3627         * BufferView.h:
3628         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3629         explicit cursor show/hide
3630
3631         * BufferView_pimpl.h:
3632         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3633         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3634
3635         * lyxfunc.C: hide cursor before dispatching.
3636
3637         * lyx_cb.C:
3638         * lyxfind.C:
3639         * text.C:
3640         * text3.C: remove explicit cursor hides
3641
3642 2003-05-02  André Pönitz  <poenitz@gmx.net>
3643
3644         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3645
3646         * undo_funcs.C:
3647         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3648           linked lists
3649
3650         * text2.C: tiny whitespace
3651
3652 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * undo_funcs.C: almost only ws changes.
3655
3656         * ParagraphList.C (splice): just return if pl is empty.
3657
3658 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * ParagraphList.C (splice): new function.
3661
3662         * CutAndPaste.C (pasteSelection): use it
3663
3664 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3665
3666         * CutAndPaste.C (pasteSelection): remove the last next and
3667         previous from this file.
3668
3669 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * CutAndPaste.C (pasteSelection): more clean up, user proper
3672         ParagraphList functions for pasteing.
3673
3674         * ParagraphList.C (insert): new function, three arg insert
3675
3676 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * ParagraphList.C (insert): new function, three arg insert
3679
3680         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3681         not on paragraphs.
3682
3683 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3686
3687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3688
3689         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3690
3691 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3694         (copySelection): clean up a bit.
3695         (pasteSelection): use make_pair
3696
3697         * ParagraphList.C (ParagraphList): implement copy constructor
3698         (operator=): implement, base on copy constructor.
3699         (assign): new func
3700
3701         * paragraph.C (erase): return a bool
3702
3703         * paragraph_pimpl.C (erasePos): remove function, move contents...
3704         (erase): ... here. Return a bool.
3705         (erase): call erase instead of erasePos.
3706
3707 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * ParagraphList.h: define PitPosPair
3710         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3711         ParagraphList, fix a bug on pasting multiple pars
3712         * text2.C: change interface to C&P
3713
3714 2003-04-30  André Pönitz  <poenitz@gmx.net>
3715
3716         * undo_func.C: revert part of yesterday's patch 2
3717
3718 2003-04-30  John Levon  <levon@movementarian.org>
3719
3720         * LColor.C: s/tabular/table/
3721
3722 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * text3.C (dispatch): do not convert iterator -> pointer
3725         * undo_funcs.C (setCursorParUndo): ditto
3726         * text_funcs.C (transposeChars): ditto
3727
3728         * text2.C (setLayout): ws changes only
3729
3730         * text.C (breakParagraph): do not convert iterator -> pointer
3731         (insertChar): ditto
3732         (acceptChange): ditto
3733         (rejectChange): ditto
3734         (changeCase): ditto
3735         (Delete): ditto
3736         (backspace): ditto
3737
3738         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3739         pointer
3740
3741 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * text3.C (gotoInset): YABG (yet another bad getChar)
3744
3745 2003-04-29  André Pönitz  <poenitz@gmx.net>
3746
3747         * paragraph.h: make operator= private unimplemented as long as
3748           it is unusable
3749
3750         * ParagraphList.C: whitespace
3751
3752         * paragraph.[Ch]:
3753         * paragraph_pimpl.[Ch]:
3754         * paragraph_funcs.C:
3755         * CutAndPaste.C:
3756         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3757
3758         * text2.C:
3759           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3760
3761 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3764         * paragraph.[Ch] (erase):
3765         * paragraph_pimpl.[Ch] (erase): change return type and value
3766         * text2.C (cutSelection): some rework
3767
3768 2003-04-28  John Levon  <levon@movementarian.org>
3769
3770         * bufferlist.C: changes for unsaved changes dialog
3771
3772 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * bufferlist.C (newFile): set language (messages_) for new
3775         documents also.
3776
3777         * buffer.C (readFile): ws changes only.
3778
3779 2003-04-28  André Pönitz  <poenitz@gmx.net>
3780
3781         * undo_funcs.C:
3782         * lyxfunc.C:
3783         * buffer.[Ch]:
3784         * BufferView_pimpl.C:
3785         * BufferView.C: getParFromID related ParagraphList::iterator changes
3786
3787 2003-04-28  André Pönitz  <poenitz@gmx.net>
3788
3789         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3790           Changes
3791
3792 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * messages.C: remove one more localedir class variable.
3795
3796 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * messages.C (getLocaleDir): singleton generation function
3799         (Pimpl): use it.
3800         (Messages): add a default constructor.
3801
3802         * main.C (main): do not setup localedir here, do not call
3803         gettext_init.
3804
3805         * gettext.C (_): use it.
3806         (gettext_init): delete funciton
3807
3808 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * gettext.C (getLyXMessages): new singleton generating function.
3811
3812         * buffer.C (updateDocLang): adjust
3813
3814         * Makefile.am (messages.o): add target
3815         (main.o): remove target
3816
3817 2003-04-27  John Levon  <levon@movementarian.org>
3818
3819         * bufferlist.C:
3820         * lyx_cb.C:
3821         * lyxfunc.C:
3822         * lyxvc.C: specify cancel button in Alert::prompt
3823
3824 2003-04-26  John Levon  <levon@movementarian.org>
3825
3826         * text3.C:
3827         * lyxfunc.C:
3828         * lfuns.h:
3829         * LyXAction.C: add LFUN_INSET_SETTINGS
3830
3831         * lyxfunc.C: don't enable tabular-feature when there's
3832         just any locking inset
3833
3834 2003-04-26  John Levon  <levon@movementarian.org>
3835
3836         * bufferlist.C: re-add Cancel to buffer close question
3837
3838         * lyxfunc.C: fix import UI a bit
3839
3840 2003-04-25  John Levon  <levon@movementarian.org>
3841
3842         * gettext.C: remove the broken asserts for now
3843
3844 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * messages.C: make case where setlocale cannot comply work better.
3847
3848         * buffer.C (updateDocLang): new function
3849         (changeLanguage): use it
3850         (readFile): use it
3851
3852         * text2.C (setCounter): use B_ a bit.
3853
3854         * lyxlayout.C (Read): be sure to trim the label strings.
3855
3856         * messages.C (Messages): fix typo in comment
3857
3858         * buffer.C (readFile): set message_ after file is loaded.
3859         (makeDocBookFile): remove double return
3860         (changeLanguage): reset message_ upon language change.
3861         (B_): new func, use this to get translated buffer strings.
3862
3863         * main.C: add myself and Jean Marc as authors.
3864
3865 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * messages.[hC]: pimplify Messages, and three different pimpls to be
3868         used in different circumstances.
3869
3870         * gettext.[Ch]: change for use with new message code.
3871
3872 2003-04-24 André Pönitz <poenitz@gmx.net>
3873
3874         * factory.C: support for eqref
3875
3876 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * messages.[Ch]: add missing char
3879
3880         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3881
3882         * messages.[Ch]: New files
3883
3884 2003-04-18  John Levon  <levon@movementarian.org>
3885
3886         * BufferView.h:
3887         * BufferView.C:
3888         * BufferView_pimpl.C:
3889         * lfuns.h:
3890         * LyXAction.C:
3891         * lyxtext.h:
3892         * text2.C: remove layout-copy/paste (bug 778)
3893
3894 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3895
3896         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3897
3898 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3901         if they succeed. Act accordingly.
3902
3903 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * text2.C (setCharFont): adjust
3906         (setCounter): adjust
3907         (insertStringAsLines): adjust
3908
3909         * text.C (leftMargin): adjust
3910         (setHeightOfRow): adjust
3911
3912         * rowpainter.C (paintFirst): adjust
3913         (paintLast): adjust
3914
3915         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3916         (outerHook): ditto
3917         (isFirstInSequence): ditto
3918         (getEndLabel): ditto
3919         (outerFont): adjust
3920
3921         * paragraph.C (getParLanguage): comment out some hard stuff.
3922
3923         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3924         (sgmlError): ditto
3925         (simpleDocBookOnePar): ditto
3926         (makeDocBookFile): use ParagraphList::iterator
3927
3928         * CutAndPaste.C (pasteSelection): adjust
3929
3930 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text2.C (getFont): adjust
3933         (getLayoutFont): adjust
3934         (getLabelFont): adjust
3935
3936         * paragraph_funcs.C (TeXOnePar): adjust
3937
3938         * buffer.C (simpleLinuxDocOnePar): adjust
3939         (simpleDocBookOnePar): adjust
3940
3941         * CutAndPaste.C (pasteSelection): adjust
3942
3943         * BufferView.C (getEncoding): adjust
3944
3945         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3946
3947 2003-04-16  John Levon  <levon@movementarian.org>
3948
3949         * lyxfind.C: use parlist stuff for search/changes
3950
3951 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3954
3955         * text2.C (deleteEmptyParagraphMechanism): adjust
3956
3957         * text2.[Ch] (ownerParagraph): delete func (both of them
3958
3959 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3962
3963 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * ParagraphList.C: prepare for NO_NEXT
3966
3967 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * text2.C (getFont): adjust
3970         (getLayoutFont): adjust
3971         (getLabelFont): adjust
3972
3973         * paragraph.C (getFont): adjust
3974         (getLabelFont): adjust
3975         (getLayoutFont): adjust
3976
3977         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3978
3979 2003-04-15  John Levon  <levon@movementarian.org>
3980
3981         From Angus Leeming
3982
3983         * lyx_main.C: handle Include in .ui files
3984
3985 2003-04-15  John Levon  <levon@movementarian.org>
3986
3987         * MenuBackend.C: make the doc files length shorter
3988
3989         * ToolbarBackend.h:
3990         * ToolbarBackend.C: handle toolbar placement flags,
3991         Minibuffer
3992
3993 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3996         adjust
3997
3998         * paragraph_funcs.C (TeXOnePar): adjust
3999
4000         * paragraph.C (getLabelFont): add outerfont arg, adjust
4001         (getLayoutFont): ditto
4002         (simpleTeXOnePar): adjust
4003
4004         * paragraph_pimpl.C (realizeFont): delete func
4005
4006 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4007
4008         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4009         row argument, constify cur argument.
4010
4011 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * text2.C (getFont): adjust
4014         (getLayoutFont): adjust
4015         (getLabelFont): adjust
4016
4017         * paragraph_funcs.C (TeXOnePar): adjust
4018         (outerFont): new func...
4019         (realizeFont): ...moved out from here, changed this to facilitate
4020         transition
4021
4022         * paragraph.C (getFont): take outerfont as arg, adjust
4023         (simpleTeXOnePar): add outerfont arg, adjust
4024
4025         * buffer.C (simpleLinuxDocOnePar): adjust
4026         (simpleDocBookOnePar): adjust
4027
4028         * CutAndPaste.C (pasteSelection): adjust
4029
4030         * BufferView.C (getEncoding): adjust
4031
4032 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * text2.C (setCharFont): adjust
4035         (setCounter): adjust
4036
4037         * text.C (leftMargin): adjust
4038         (setHeightOfRow): adjust
4039
4040         * rowpainter.C (paintFirst): adjust
4041         (paintLast): adjust
4042
4043         * paragraph_pimpl.C (realizeFont): adjust
4044
4045         * paragraph.C (isFirstInSequence): move from here...
4046         * paragraph_funcs.C (isFirstInSequence): ...to here
4047
4048         * paragraph.C (outerHook): move from here...
4049         * paragraph_funcs.C (outerHook): ...to here
4050
4051         * paragraph.C (depthHook): move from here...
4052         * paragraph_funcs.C (depthHook): ...to here
4053
4054         * paragraph.C (getEndLabel): move from here...
4055         * paragraph_funcs.C (getEndLabel): ...to here
4056
4057         * text2.C (realizeFont): move from here...
4058         * paragraph_funcs.C (realizeFont): ...to here
4059
4060 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4063
4064 2003-04-14  Angus Leeming  <leeming@lyx.org>
4065
4066         * LColor.[Ch]: scrap LColor mathcursor.
4067
4068 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * lyxlex.[Ch] (text): delete function
4071         * trans.C (Load): adjust
4072         * paragraph_funcs.C (readParToken): adjust
4073
4074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4077         vector<char> instead of a char[].
4078
4079         * lyxlex_pimpl.C (getString): adjust
4080         (next): adjust
4081         (lex): use getString
4082         (eatLine): adjust
4083         (nextToken): adjust
4084
4085         * lyxlex.C (text): use pimpl_->getString()
4086         (getBool): ditto
4087         (findToken): ditto
4088
4089 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4092         (makeFontEntriesLayoutSpecific): temp var for par.size()
4093         (setLayout): temp var for ownerParagraphs().end()
4094         (fullRebreak): temp var for rows().end()
4095         (selectionAsString): temp var for boost::next(startpit), realize
4096         that the while really is a regular for loop.
4097         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4098         setCursor in one place.
4099         (setParagraph): temp vr for ownerParagraphs().end()
4100         (updateCounters): make the while loop a for loop
4101         (cutSelection): temp var for ownerParagraphs().end()
4102         (updateInset): make the do {} while() a regular for loop
4103         (getCursorX): use temp vars
4104         (setCurrentFont): use temp vars
4105         (getColumnNearX): use temp vars
4106
4107 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * text.C (transformChar): use temp var for getChar
4110         (computeBidiTables): use temp var for row->par()
4111         (fill): move temp vars for row->par() and pit->layout() earlier in
4112         the function.
4113         (labelFill): use temp var for row->par()
4114         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4115         asc and desc, realize that pit never changes and that firstpit is
4116         just a duplicate and not needed. Exchange rit->par() with pit in a
4117         lot of places.
4118         (breakAgain): use a temp var for boost::next(rit)
4119         (breakAgainOneRow): ditto
4120         (breakParagraph): use a temp var for rows().begin()
4121         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4122         (cursorRightOneWord): use temp var for cursor.par() and
4123         cursor.pos(), remove usage of tmpcursor.
4124         (cursorLeftOneWord): use temp var for cursor.par() and
4125         cursor.pos() only set cur at end of function.
4126
4127 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4128
4129         * text.C, text2.C: exchange all usage of Paragraph::next with
4130         boost::next(ParagraphList::iterator)
4131
4132         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4133
4134         * text2.C (cursorTop): simplify implementation
4135         (cursorBottom): ditto
4136         (setParagraph): use ParagraphList::iterator
4137         (setCurrentFont): adjust
4138         (getColumnNearX): adjust
4139         (cursorRight): adjust
4140         (cursorLeft): remove usage of Paragraph::previous
4141         (cursorUpParagraph): ditto
4142         (deleteEmptyParagraphMechanism): slight cleanup
4143
4144         * text.C (isBoundary): take a Paragraph const & instead of a
4145         pointer as arg.
4146         (addressBreakPoint): ditto
4147         (leftMargin): remove usage of Paragraph::previous.
4148         (setHeightOfRow): ditto
4149         (cursorLeftOneWord): ditto
4150         (selectNextWordToSpellcheck): ditto
4151         (Delete): ditto
4152         (backspace): ditto
4153         (breakParagraph): remove one usage of Paragraph::next
4154         (redoParagraph): ditto
4155         (acceptChange): ditto
4156         (insertChar): adjust
4157         (rowBreakPoint): adjust
4158
4159         * bufferview_funcs.C (toggleAndShow): adjust
4160
4161 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4164         methods to access it.
4165         * lyxtext.h:
4166         * text.C: Added updateRowPositions to compute all row positions.
4167         Make top_y and getRowNearY() to use the cached y position
4168
4169 2003-04-11  John Levon  <levon@movementarian.org>
4170
4171         * text.C (rowBreakPoint): reintroduce the labelEnd
4172         checks, code copied from the row fill stuff. Deep voodoo.
4173
4174         * text.C (fill): add a comment and debugging for the
4175         next poor soul.
4176
4177 2003-04-11  John Levon  <levon@movementarian.org>
4178
4179         * text.C: make sure fullrow insets get wrapped to the next line,
4180         even when they're in a manual label
4181
4182 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4183
4184         * text2.C (insertParagraph): make it take ParagraphList::iterator
4185         as arg.
4186         (setLayout): make it return ParagraphList::iterator
4187         (redoParagraphs): ditto
4188         (setCounter): ditto
4189         (checkParagraph): ditto
4190
4191         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4192
4193         * text2.C: adjust several funcs.
4194         (realizeFont): take a ParagraphList::iterator as arg.
4195         (getLayoutFont): ditto
4196         (getLabelFont): ditto
4197         (setCharFont): ditto
4198
4199         * text.C: adjust several funcs.
4200
4201 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * text.C (selectNextWordToSpellcheck): don't accidentally
4204         skip insets
4205
4206 2003-04-10  John Levon  <levon@movementarian.org>
4207
4208         * ToolbarBackend.C (getIcon): special handling for
4209         LFUN_MATH_DELIM
4210
4211 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * text2.C (cursorRight): a getChar assert fixed
4214
4215 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * text2.C (getFont): change to take a ParagraphList::iterator
4218         instead of Paragraph*
4219         Adjust several functions.
4220
4221         * text.C (transformChar): change to take a ParagraphList::iterator
4222         instead of Paragraph*
4223         (singleWidth): ditto
4224         Adjust several functions.
4225
4226         * rowpainter.C: adjust several functions
4227         * rowpainter.h:store a ParagraphList::iterator and not a
4228         Paragraph&.
4229
4230
4231 2003-04-09  John Levon  <levon@movementarian.org>
4232
4233         * lyxfunc.C:
4234         * lfuns.h:
4235         * LyXAction.h:
4236         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4237         and the "help" bits as well
4238
4239 2003-04-09  John Levon  <levon@movementarian.org>
4240
4241         * ToolbarBackend.h:
4242         * ToolbarBackend.C: allow multiple toolbars
4243
4244 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * undo_funcs.C (setCursorParUndo): adjust
4247
4248         * text_funcs.C (transposeChars): adjust
4249
4250         * text3.C (gotoNextInset): adjust
4251         (dispatch): adjust
4252
4253         * text2.C (setLayout): adjust
4254         (changeDepth): adjust
4255         (setFont): adjust
4256         (redoParagraphs): adjust
4257         (selectionAsString): adjust
4258         (setParagraph): adjust
4259         (insertInset): adjust
4260         (cutSelection): adjust
4261         (copySelection): adjust
4262         (pasteSelection): adjust
4263         (insertStringAsLines): adjust
4264         (updateInset): adjust
4265         (setCursor): change to take a ParagraphList::iterator parameter
4266         (setCursorIntern): change to take a ParagraphList::iterator parameter
4267         (setCurrentFont): adjust
4268         (cursorLeft): adjust
4269         (cursorRight): adjust
4270         (deleteEmptyParagraphMechanism): adjust
4271
4272         * text.C (breakParagraph): adjust
4273         (insertChar): adjust
4274         (acceptChange): adjust
4275         (rejectChange): adjust
4276         (selectNextWordToSpellcheck): adjust
4277         (changeCase): adjust
4278         (Delete): adjust
4279         (backspace): adjust
4280
4281         * lyxfind.C (SearchForward): adjust
4282         (SearchBackward): adjust
4283         (nextChange): adjust
4284
4285         * lyxcursor.C (par): adjust
4286
4287         * lyxcursor.h: store a ParagraphList::iterator instead of a
4288         Paragraph*
4289
4290         * lyx_cb.C (getPossibleLabel): adjust
4291
4292         * bufferview_funcs.C (toggleAndShow): adjust
4293
4294         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4295         (dispatch): adjust
4296
4297         * BufferView.C (removeAutoInsets): adjust
4298         (lockedInsetStoreUndo): adjust
4299
4300 2003-04-09  John Levon  <levon@movementarian.org>
4301
4302         * ToolbarBackend.C: try icon without argument
4303         if with argument fails
4304
4305 2003-04-08  John Levon  <levon@movementarian.org>
4306
4307         * ToolbarBackend.h:
4308         * ToolbarBackend.C: add getIcon(), handle tooltip,
4309         and change from "Icon" to "Item".
4310
4311 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4312
4313         * BufferView.C (lockInset): another bad getchar crunched
4314
4315 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4318         again)
4319
4320 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4321
4322         * lyxfind.C (searchForward, searchBackwards): bug 782
4323
4324 2003-04-07  John Levon  <levon@movementarian.org>
4325
4326         * paragraph.C: remove dead comment
4327
4328         * text.C: remove troublesome depth-fiddling code
4329         in leftMargin() and rightMargin() (bug 1017)
4330
4331         * text.C: fix breaking of rows in nested lists
4332         (bug 1004)
4333
4334         * text2.C (updateCounters): fix up depth values
4335         (bug 1013)
4336
4337 2003-04-07  John Levon  <levon@movementarian.org>
4338
4339         * BufferView_pimpl.C: clear message when doc finishes resizing,
4340         and after a mouse event
4341
4342         * lyxfunc.C: clear message after exiting inset
4343
4344 2003-04-07  John Levon  <levon@movementarian.org>
4345
4346         * bufferview_funcs.C: show math status not outside
4347         status in the statusbar
4348
4349 2003-04-07  John Levon  <levon@movementarian.org>
4350
4351         * lyxfunc.C: note status changed after a depth change
4352
4353 2003-04-04  Angus Leeming  <leeming@lyx.org>
4354
4355         * LaTeX.h: move AuxInfo operator==, != out of line.
4356         Remove LaTeX virtual destructor; nothing derives from it.
4357         Move operator()() out of public area and rename it startscript().
4358         Change protected for private.
4359
4360 2003-04-04  Angus Leeming  <leeming@lyx.org>
4361
4362         * lyxfunc.C:
4363         * text2.C: remove unneeded #includes.
4364
4365 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * text2.C (dEPM): fix the heigth of the next row
4368
4369 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * text.C: squashed an invalid getChar requester + some ws changes
4372
4373 2003-04-03  John Levon  <levon@movementarian.org>
4374
4375         * bufferview_funcs.h:
4376         * bufferview_funcs.C:
4377         * lyxfunc.C:
4378         * lyxtext.h:
4379         * text2.C: make getStatus work for the env depth lfuns
4380
4381 2003-04-03  John Levon  <levon@movementarian.org>
4382
4383         * bufferview_funcs.h:
4384         * bufferview_funcs.C:
4385         * lyxfunc.C:
4386         * lyxtext.h:
4387         * text2.C: parlistize decDepth(), by merging it with incDepth()
4388
4389 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * lyxrow.h: store a ParagraphList::iterator instead of a
4392         Paragraph* and adjust other class functions to suit.
4393
4394         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4395         above.
4396
4397 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * text2.C (setCursor): do not anchor to cursor row for the time being
4400
4401 2003-04-02  John Levon  <levon@movementarian.org>
4402
4403         * LyXAction.C:
4404         * lfuns.h:
4405         * lyx_main.C:
4406         * lyxtext.h:
4407         * text.C:
4408         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4409
4410 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * paragraph.h: make ParagraphList and ParagraphList::iterator
4413         friends of Paragraph.
4414
4415         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4416
4417         * ParagraphList.C: Use the private next_ and previous_ from
4418         Paragraph.
4419
4420 2003-04-01  John Levon  <levon@movementarian.org>
4421
4422         * ToolbarBackend.h:
4423         * ToolbarBackend.C:
4424         * Makefile.am: rename, remove defaults gunk
4425
4426         * MenuBackend.h:
4427         * MenuBackend.C: remove defaults gunk
4428
4429         * Languages.h:
4430         * Languages.C: remove defaults gunk
4431
4432         * lyx_main.h:
4433         * lyx_main.C: error out if files couldn't be found.
4434
4435 2003-04-02  John Levon  <levon@movementarian.org>
4436
4437         * text2.C: make incDepth() use parlist
4438
4439 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * undo_funcs.C (firstUndoParagraph): adjust
4442
4443         * text3.C (gotoInset): adjust
4444         (dispatch): adjust, and rewrite loop.
4445
4446         * text2.C (init): adjust, and rewrite loop.
4447         (redoParagraphs): adjust
4448         (updateInset): adjust, and rewrite loop.
4449         (deleteEmptyParagraphMechanism): adjust
4450
4451         * tabular.C (LyXTabular): adjust
4452         (SetMultiColumn): adjust
4453         (TeXRow): adjust
4454
4455         * lyxtext.[Ch] (ownerParagraph): delete function
4456         (ownerParagraphs): new function returns a ParagraphList.
4457
4458         * BufferView.C (removeAutoInsets): adjust
4459         (insertErrors): adjust
4460         (setCursorFromRow): adjust
4461
4462 2003-04-01  Angus Leeming  <leeming@lyx.org>
4463
4464         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4465         in the frontends.
4466
4467 2003-04-02  John Levon  <levon@movementarian.org>
4468
4469         * lyxtext.h:
4470         * text.C:
4471         * Makefile.am:
4472         * text_funcs.h:
4473         * text_funcs.C: make transposeChars a free function
4474
4475         * lyxrow_funcs.C: remove wrong comment
4476
4477 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * lyxtext.h: adjust
4480         * rowpainter.C: adjust
4481         * text.C: adjust
4482         * text2.C: adjust
4483         * text3.C: adjust
4484
4485         * lyxrow_funcs. [Ch]: new files
4486
4487         * lyxrow.[Ch]: remove next and previous pointers
4488         (next,previous): remove accessor functions
4489         (isParEnd): move to lyxrow_funcs
4490         (lastPos): move to lyxrow_funcs
4491         (nextRowIsAllInset): move to lyxrow_funcs
4492         (lastPrintablePos): move to lyxrow_funcs
4493         (numberOfSeparators): move to lyxrow_funcs
4494         (numberOfHfills): move to lyxrow_funcs
4495         (numberOfLabelHfills): move to lyxrow_funcs
4496         (hfillExpansion): move to lyxrow_funcs
4497
4498         * lyxfunc.C: adjust
4499
4500         * bufferview_funcs.C (toggleAndShow): adjust
4501
4502         * RowList.h: Remove class RowList from file leave just a
4503         std::list<Row>.
4504
4505         * RowList.C: delete file
4506
4507         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4508         and lyxrow_funcs.h
4509
4510 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * text3.C (cursorPrevious): adjust
4513         (cursorNext): adjust
4514         (dispatch): adjust
4515
4516         * text2.C (redoHeightOfParagraph): adjust
4517         (redoDrawingOfParagraph): adjust
4518         (setCursor): adjust
4519
4520         * text.C (breakParagraph): adjust
4521         (insertChar): adjust
4522         (backspace): adjust
4523
4524         * rowpainter.C (RowPainter): adjust
4525         (leftMargin): simplify and adjust
4526         (most rowpainter functions): adjust.
4527
4528         * rowpainter.h: store the row as RowList::iterator not as Row*
4529
4530         * lyxcursor.C (row): taka RowList::iterator as arg
4531         (irow): ditto
4532
4533         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4534         of Row*.
4535
4536 2003-04-01  Angus Leeming  <leeming@lyx.org>
4537
4538         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4539         stuff like bool Bool.
4540
4541 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4544         rewrite a loop
4545
4546 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4549         RowList::iterator.
4550
4551         * lyxtext.h (rows): drop one version and leve a const variant that
4552         returns a RowList::iterator.
4553
4554 2003-03-31  Angus Leeming  <leeming@lyx.org>
4555
4556         * text.C (fill): ensure that the signature is the same as that in the
4557         header file.
4558
4559 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * text2.C (redoParagraphs): adjust
4562         (updateCounters): adjust
4563         (checkParagraph): adjust
4564         (getColumnNearX): adjust and reformat a bit.
4565
4566         * text.C (top_y): adjust
4567         (workWidth): adjust
4568         (leftMargin): adjust
4569         (prepareToPrint): adjust
4570         (getRow): adjust
4571         (getRowNearY): adjust
4572
4573         * lyxtext.h: make rowlist_ mutable.
4574
4575         * RowList.h: add const_iterator
4576         * RowList.C: adjust for RowList::const_iterator.
4577
4578         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4579         adjust.
4580
4581 2003-03-31  John Levon  <levon@movementarian.org>
4582
4583         * lyxrc.h:
4584         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4585
4586         * lyx_main.C: set default fonts from using lyx_gui funcs
4587
4588         * exporter.C: pdf_mode moved from lyxrc
4589
4590         * lyx_cb.C:
4591         * lyxfunc.C: changes from above
4592
4593 2003-03-31  John Levon  <levon@movementarian.org>
4594
4595         * lyx_main.C: fix to the last fix
4596
4597 2003-03-31  John Levon  <levon@movementarian.org>
4598
4599         * bufferlist.C: "Load original" -> "Load Original"
4600
4601         * converter.C:
4602         * exporter.C:
4603         * importer.C:
4604         * lyx_main.C:
4605         * format.C: more Alert cleanups
4606
4607 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * text2.C (removeParagraph): make it take a RowList::iterator as
4610         arg, adjust.
4611         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4612         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4613
4614         * text.C (anchor_row): make it take a RowList::iterator as arg,
4615         adjust.
4616         (computeBidiTables): make it take a const reference to Row instead
4617         of Row pointer, adjust.
4618         (leftMargin): make it take a RowList::iterator as arg, adjust.
4619         (rowBreakPoint): adjust
4620         (breakAgainOneRow): make it take a RowList::iterator as arg,
4621         adjust.
4622         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4623
4624         * bufferview_funcs.C (toggleAndShow): adjust
4625
4626 2003-03-30  John Levon  <levon@movementarian.org>
4627
4628         * Makefile.am:
4629         * BoostFormat.h:
4630         * boost-inst.C: moved to support
4631
4632         * several files: changes as a result
4633
4634 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * text2.C (LyXText): adjust.
4637         (init): adjust
4638         (removeRow): make it take a RowList::iterator as arg, adjust.
4639         (fullRebreak): adjust
4640         (deleteEmptyParagraphMechanism): adjust
4641         (clearPaint): adjust
4642         (postPaint): adjust
4643
4644         * text.C (top_y): adjust
4645         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4646         (breakAgain): make it take a RowList::iterator as arg, adjust.
4647         (breakParagraph): adjust
4648         (insertChar): adjust
4649         (backspace): adjust
4650
4651         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4652         need_break_row, and refresh_row.
4653
4654         * text3.C (dispatch): adjust
4655
4656         * text2.C (checkParagraph): adjust
4657         (setCursor): adjust
4658         (setCursorFromCoordinates): adjust
4659
4660         * text.C (top_y): adjust
4661         (workWidth): adjust
4662         (getRow): make it return a RowList::iterator, adjust
4663         (getRowNearY): make it return a RowList::iterator, adjust
4664
4665         * text2.C (init): adjust
4666         (insertRow): remove function
4667         (insertParagraph): adjust
4668         (redoParagraphs): adjust
4669         (fullRebreak): adjust
4670         (updateCounters): adjust
4671
4672         * text.C (top_y): rewrite to use RowList iterators.
4673         (top_y): adjust
4674         (setHeightOfRow): rewrite to sue RowList iterators.
4675         (appendParagraph): adjust
4676         (breakAgain): adjust
4677         (breakAgainOneRow): adjust
4678         (breakParagraph): adjust
4679         (getRow): adjust
4680         (getRowNearY): adjust, and remove commented code.
4681
4682         * lyxtext.h (firstRow): delete function
4683         (lastRow): delete function
4684         (rows): new function (const and non-const versions.)
4685         (insertRow): delete function
4686
4687         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4688
4689 2003-03-29  John Levon  <levon@movementarian.org>
4690
4691         * BufferView_pimpl.C: always update scrollbar top
4692         because pasting text when we're anchored could mean we
4693         miss an update altogether
4694
4695 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * text2.C (init): use rowlist_.end() and not 0.
4698         (insertRow): change to take a RowList::iterator as arg, adjust
4699         for this.
4700         (insertParagraph): change to take a RowList::iterator as arg,
4701         adjust for this.
4702         (redoParagraphs): remove some debug msgs.
4703
4704         * text.C (appendParagraph): change to take a RowList::iterator
4705         arg, adjust for this.
4706         (breakAgain): add an assert
4707         (breakAgainOneRow): ditto
4708
4709 2003-03-29  John Levon  <levon@movementarian.org>
4710
4711         * text2.C: do not clear selection after inc/decDepth
4712         (bug 550)
4713
4714 2003-03-29  John Levon  <levon@movementarian.org>
4715
4716         * BufferView.C:
4717         * buffer.C: fix broken strerrors according to Lars
4718
4719 2003-03-29  John Levon  <levon@movementarian.org>
4720
4721         * converters.C: more Alert cleanups
4722
4723 2003-03-29  John Levon  <levon@movementarian.org>
4724
4725         * bufferview_funcs.C: remove pointless Alert
4726
4727         * buffer.C: fix confusing error message when
4728         a template is chmoded 000
4729
4730 2003-03-29  John Levon  <levon@movementarian.org>
4731
4732         * BufferView.C:
4733         * BufferView.h:
4734         * BufferView_pimpl.C: Alert fixes
4735
4736         * Makefile.am:
4737         * tabular.C:
4738         * tabular-old.C: remove unused table compat reading
4739
4740 2003-03-29  John Levon  <levon@movementarian.org>
4741
4742         * BufferView.C:
4743         * buffer.C:
4744         * lyx_cb.h:
4745         * lyx_cb.C: more Alert cleanups
4746
4747         * lyxfunc.C: don't allow chktex if not latex document
4748
4749 2003-03-29  John Levon  <levon@movementarian.org>
4750
4751         * lyx_cb.C:
4752         * BufferView.C:
4753         * buffer.C: warnings pushed down from support/,
4754         kill err_alert
4755
4756 2003-03-29  John Levon  <levon@movementarian.org>
4757
4758         * lyxfunc.C: safety check for C-r (revert)
4759
4760 2003-03-29  John Levon  <levon@movementarian.org>
4761
4762         * bufferlist.h:
4763         * bufferlist.C: several UI fixes using Alert::prompt.
4764         Fix the pointless looping quit code. Fix stupid revert
4765         behaviour (bug 938)
4766
4767         * lyxvc.h:
4768         * lyxvc.C:
4769         * lyx_cb.C: use Alert::prompt
4770
4771         * lyx_main.C: remove a silly question
4772
4773         * lyxfunc.C: remove a couple of silly questions,
4774         use Alert::prompt
4775
4776 2003-03-28  John Levon  <levon@movementarian.org>
4777
4778         * text2.C: fix bug 974 (End on empty par)
4779
4780 2003-03-28  John Levon  <levon@movementarian.org>
4781
4782         * BufferView_pimpl.C:
4783         * LyXAction.C:
4784         * lfuns.h: remove do-nothing math greek lfuns
4785
4786 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * lyxgluelength.h (isValidGlueLength): add default arg on
4789         parameter 2. Remove default arg from friend in class.
4790
4791         * lyxlength.h (isValidLength): add default arg on parameter 2.
4792         Remove default arg from friend in class.
4793
4794         * text2.C (LyXText): adjust, initialize refresh_row.
4795         (init): adjust
4796         (removeRow): adjust
4797         (insertRow): adjust
4798         (insertParagraph): adjst
4799         (redoParagraphs): adjust
4800         (fullRebreak): adjust
4801         (updateCounters): adjust
4802         (deleteEmptyParagraphMechanism): first attempt at fixing a
4803         crashing bug.
4804
4805         * text.C (top_y): adjust
4806         (setHeightOfRow): adjust
4807         (getRow): adjust
4808         (getRowNearY): adjust
4809
4810         * lyxtext.h: include RowList.h
4811         (~LyXText): not needed anymore, deleted.
4812         (firstRow): modify for RowList
4813         (lastRow): new function
4814         Delete firstrow and lastrow class variables, add a Rowlist
4815         rowlist_ class variable.
4816
4817         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4818         paragraph is empty.
4819
4820         * RowList.C (insert): fix case where it == begin().
4821
4822 2003-03-26  Angus Leeming  <leeming@lyx.org>
4823
4824         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4825         the thesaurus dialog.
4826
4827 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4830
4831         * RowList.[Ch]: new files
4832
4833         * ParagraphList.C (erase): handle the case where it == begin
4834         correctly.
4835
4836 2003-03-25  John Levon  <levon@movementarian.org>
4837
4838         * Makefile.am:
4839         * aspell_local.h:
4840         * aspell.C: add new aspell support
4841
4842         * lyxrc.h:
4843         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4844         have it accessible.
4845
4846 2003-03-25  Angus Leeming  <leeming@lyx.org>
4847
4848         * lfuns.h:
4849         * LyXAction.C (init): new LFUN_INSET_INSERT.
4850
4851         * BufferView_pimpl.C (dispatch): split out part of the
4852         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4853
4854         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4855         LFUN_INSET_APPLY.
4856
4857 2003-03-25  Angus Leeming  <leeming@lyx.org>
4858
4859         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4860
4861 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * text2.C:
4864         * text3.C: remove useless row->height(0)
4865
4866 2003-03-25  John Levon  <levon@movementarian.org>
4867
4868         * lyxtext.h:
4869         * text2.C:
4870         * text3.C: rename the refreshing stuff to better names
4871
4872 2003-03-24  John Levon  <levon@movementarian.org>
4873
4874         * BufferView_pimpl.h:
4875         * BufferView_pimpl.C: update layout choice on a mouse
4876         press/release
4877
4878 2003-03-23  John Levon  <levon@movementarian.org>
4879
4880         * Makefile.am: fix commandtags.h reference
4881
4882 2003-03-22  John Levon  <levon@movementarian.org>
4883
4884         * BufferView_pimpl.C:
4885         * lyxtext.h:
4886         * rowpainter.C:
4887         * rowpainter.h:
4888         * text.C:
4889         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4890
4891 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * lyxtext.h:
4894         * text.C: take the rtl methods out of line
4895
4896 2003-03-21 André Pönitz <poenitz@gmx.net>
4897
4898         * metricsinfo.[Ch]: new files containing structures to be passed around
4899         during the two-phase-drawing...
4900
4901 2003-03-21 André Pönitz <poenitz@gmx.net>
4902
4903         * lyxtextclass.C: read 'environment' tag.
4904
4905 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * text2.C (removeRow): fix bug 964
4908
4909 2003-03-20  John Levon  <levon@movementarian.org>
4910
4911         * rowpainter.C:
4912         * text.C:
4913         * text2.C: paint cleanups. Inset::update() dropped font
4914         parameter
4915
4916 2003-03-19  John Levon  <levon@movementarian.org>
4917
4918         * lyxfunc.C: only fitcursor/markDirty if available()
4919
4920 2003-03-19  John Levon  <levon@movementarian.org>
4921
4922         * commandtags.h: rename to ...
4923
4924         * lfuns.h: ... this, and renumber / cleanup
4925
4926 2003-03-19  John Levon  <levon@movementarian.org>
4927
4928         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4929         fit the cursor after an lfun
4930
4931         * BufferView.h:
4932         * BufferView.C:
4933         * BufferView_pimpl.h:
4934         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4935
4936         * LyXAction.C: layout-character should have ReadOnly
4937
4938         * ParagraphParameters.C:
4939         * buffer.C:
4940         * bufferview_funcs.C:
4941         * lyx_cb.C:
4942         * lyxfind.C:
4943         * lyxtext.h:
4944         * text.C:
4945         * text2.C:
4946         * text3.C:
4947         * undo_funcs.C: changes from above
4948
4949 2003-03-18  John Levon  <levon@movementarian.org>
4950
4951         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4952         remove it from update()
4953
4954         * lyxfunc.C: update layout choice after an lfun
4955
4956         * text3.C: remove extra updateLayoutChoice()s
4957
4958 2003-03-18  John Levon  <levon@movementarian.org>
4959
4960         * text.C: top_y change means full repaint, fix
4961         a drawing bug with cursor movement
4962
4963 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * lyxtext.h:
4966         * text.C:
4967         * text2.C: anchor row on setCursor
4968
4969 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * lyxtext.h: remove almost all mutable keywords
4972         * text.C:
4973         * text2.C:
4974         * text3.C: remove const keywords accordingly
4975
4976 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4979         anon namespace
4980         (TeXEnvironment): ditto
4981         (TeXOnePar): ditto
4982
4983 2003-03-17  John Levon  <levon@movementarian.org>
4984
4985         * text.C (rowBreakPoint): remove attempt to fix displayed
4986         math insets inside a manual label
4987
4988 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * lyxtext.h: remove BufferView* as first arg from almost all class
4991         functions.
4992         * other files: adjust.
4993
4994 2003-03-17  John Levon  <levon@movementarian.org>
4995
4996         * lyxtext.h:
4997         * undo_funcs.C:
4998         * text2.C: more paint cleanups
4999
5000         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5001
5002         * rowpainter.h:
5003         * rowpainter.C: remove "smart" background painting code
5004
5005 2003-03-16  John Levon  <levon@movementarian.org>
5006
5007         * lyxtext.h:
5008         * text.C:
5009         * text2.C:
5010         * text3.C: add helper functions for setting refresh_row/y
5011
5012 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5013
5014         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5015         newline inset which *can* get inserted in the pass_thru layouts.
5016         This is primarily for literate documents.
5017
5018 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5019
5020         * buffer.C: increment LYX_FORMAT to 223
5021
5022 2003-03-14 André Pönitz <poenitz@gmx.net>
5023
5024         * textclass.h: prepare for environment handling, ws changes
5025         * lyxlayout.C: read latexheader and latexfooter tags
5026
5027 2003-03-14  John Levon  <levon@movementarian.org>
5028
5029         * text2.C: rewrite ::status() a bit
5030
5031 2003-03-13  John Levon  <levon@movementarian.org>
5032
5033         * lyxtext.h: add some docs
5034
5035 2003-03-13  John Levon  <levon@movementarian.org>
5036
5037         * lyxtext.h:
5038         * text.C:
5039         * text2.C:
5040         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5041
5042 2003-03-13  John Levon  <levon@movementarian.org>
5043
5044         * text3.C: fix appendix redrawing
5045
5046 2003-03-13  John Levon  <levon@movementarian.org>
5047
5048         * text.C (setHeightOfRow):
5049         * rowpainter.h:
5050         * rowpainter.C: make appendix mark have the text
5051           "Appendix" so the user knows what it is
5052
5053         * LColor.h:
5054         * LColor.C: s/appendixline/appendix/ from above
5055
5056 2003-03-13  John Levon  <levon@movementarian.org>
5057
5058         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5059
5060         * text.C: fix a getChar(pos) bug properly
5061
5062 2003-03-13  Angus Leeming  <leeming@lyx.org>
5063
5064         * commandtags.h:
5065         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5066         Probably only temporary. Let's see how things pan out.
5067
5068         * BufferView.C (unlockInset):
5069         * BufferView_pimpl.C (fitCursor):
5070         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5071
5072         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5073         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5074
5075         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5076         new functions that convert ParagraphParameters to and from a string.
5077
5078         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5079         BufferView::Pimpl's dispatch.
5080         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5081
5082 2003-03-13 André Pönitz <poenitz@gmx.net>
5083
5084         * lyxfunc.C:
5085         * text3.C:
5086         * factory.C: make it aware of InsetEnv
5087
5088 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * text2.C (setCursor): never ask for one past last
5091         (setCursor): add some debugging messages.
5092
5093         * text.C (singleWidth): never ask for one past last
5094         (singleWidth): ditto
5095         (leftMargin): ditto
5096         (rightMargin): ditto
5097         (rowBreakPoint): ditto
5098         (setHeightOfRow): ditto
5099         (prepareToPrint): ditto
5100
5101         * rowpainter.C (paintBackground): never ask for one past last
5102         (paintText): never ask for one past last
5103
5104         * paragraph_pimpl.C (getChar): make the assert stricter, never
5105         allow the one past last pos to be taken
5106
5107         * paragraph.C (getChar): ws changes only
5108
5109         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5110         (numberOfSeparators): ditto
5111         (numberOfHfills): ditto
5112
5113 2003-03-12  John Levon  <levon@movementarian.org>
5114
5115         * author.h:
5116         * author.C:
5117         * bufferparams.h:
5118         * bufferparams.C:
5119         * paragraph_funcs.C: fix per-buffer authorlists
5120
5121 2003-03-12  John Levon  <levon@movementarian.org>
5122
5123         * text.C: fix newline in right address
5124
5125 2003-03-12  Angus Leeming  <leeming@lyx.org>
5126
5127         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5128         duplicate those in LyXFunc::dispatch.
5129
5130         * commandtags.h:
5131         * LyXAction.C:
5132         * ToolbarDefaults.C:
5133         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5134         Add LFUN_FONTFREE_UPDATE.
5135
5136         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5137         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5138
5139         * bufferview_func.[Ch]: several new functions to facilliate
5140         transfer of data to and from the character dialog.
5141
5142 2003-03-12  John Levon  <levon@movementarian.org>
5143
5144         * buffer.C:
5145         * paragraph.h:
5146         * paragraph.C:
5147         * paragraph_funcs.C:
5148         * paragraph_pimpl.C:
5149         * sgml.C:
5150         * tabular.C:
5151         * text.C:
5152         * text3.C: remove META_NEWLINE in favour of an inset
5153
5154         * rowpainter.h:
5155         * rowpainter.C: remove paintNewline (done by inset)
5156
5157 2003-03-12  John Levon  <levon@movementarian.org>
5158
5159         * paragraph_pimpl.C: complain about bad getChar()s
5160         for a while at least
5161
5162 2003-03-12  John Levon  <levon@movementarian.org>
5163
5164         * buffer.h:
5165         * buffer.C: move paragraph read into a separate function,
5166         a little renaming to reflect that.
5167
5168         * bufferparams.h:
5169         * bufferparams.C: remove the author_ids map, not necessary now
5170
5171         * factory.h:
5172         * factory.C: moved Buffer::readInset to here
5173
5174         * paragraph_funcs.h:
5175         * paragraph_funcs.C: readParagraph free function moved from
5176         buffer.C
5177
5178         * tabular.C: name change
5179
5180 2003-03-12  John Levon  <levon@movementarian.org>
5181
5182         * buffer.C:
5183         * ParagraphParameters.C: move par params input to
5184         a read() method
5185
5186         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5187         behave like a normal read from the stream wrt reading
5188         a line vs. a \\token
5189
5190 2003-03-12  John Levon  <levon@movementarian.org>
5191
5192         * paragraph.C:
5193         * ParagraphParameters.h:
5194         * ParagraphParameters.C: move output code to a
5195         ::write() method
5196
5197 2003-03-12  John Levon  <levon@movementarian.org>
5198
5199         * BufferView.C (insertLyXFile):
5200         * buffer.h:
5201         * buffer.C:
5202         * tabular.C: use a parlist iterator for creating the
5203           document.
5204
5205 2003-03-12  John Levon  <levon@movementarian.org>
5206
5207         * buffer.C: make current_change static local not
5208           static file-scope
5209
5210 2003-03-12  John Levon  <levon@movementarian.org>
5211
5212         * buffer.C: fix insertStringAsLines for change tracking
5213
5214 2003-03-12  John Levon  <levon@movementarian.org>
5215
5216         * BufferView.C:
5217         * tabular.C:
5218         * buffer.h:
5219         * buffer.C:
5220         * bufferparams.h:
5221         * bufferparams.C: move author list into params. Rename some
5222           functions. Move the header reading into a separate token
5223           loop. Move the header token reading into BufferParams.
5224
5225 2003-03-12  John Levon  <levon@movementarian.org>
5226
5227         * changes.C: put debug inside lyxerr.debugging() checks
5228
5229 2003-03-11 André Pönitz <poenitz@gmx.net>
5230
5231         * factory.C: make it aware of InsetHFill
5232
5233 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5234
5235         * buffer.C (latexParagraphs): move function from here...
5236         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5237         args.
5238
5239 2003-03-10  Angus Leeming  <leeming@lyx.org>
5240
5241         * LyXAction.C (init): fix bug in poplating array with multiple entries
5242         with the same LFUN (spotted by JMarc).
5243
5244 2003-03-10  John Levon  <levon@movementarian.org>
5245
5246         * text.C:
5247         * text2.C: move getColumnNearX() near its
5248         only call site
5249
5250 2003-03-10  John Levon  <levon@movementarian.org>
5251
5252         * text.C: fix break before a minipage
5253
5254 2003-03-10  John Levon  <levon@movementarian.org>
5255
5256         * text.C: fix the last commit
5257
5258 2003-03-09  John Levon  <levon@movementarian.org>
5259
5260         * lyxtext.h:
5261         * text.C:
5262         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5263         bug 365 (don't break before insets unless needed). Don't
5264         return a value > last under any circumstances.
5265
5266 2003-03-09  Angus Leeming  <leeming@lyx.org>
5267
5268         * BufferView_pimpl.C (trackChanges, dispatch): call
5269         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5270
5271 2003-03-09  Angus Leeming  <leeming@lyx.org>
5272
5273         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5274         than Dialogs::showAboutlyx().
5275
5276 2003-03-09  Angus Leeming  <leeming@lyx.org>
5277
5278         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5279         than Dialogs::showTabularCreate().
5280
5281 2003-03-09  John Levon  <levon@movementarian.org>
5282
5283         * lyxtext.h:
5284         * text.C:
5285         * text2.C: 3rd arg to nextBreakPoint was always the same.
5286           Use references.
5287
5288 2003-03-08  John Levon  <levon@movementarian.org>
5289
5290         * lyxrow.C:
5291         * paragraph.C:
5292         * paragraph.h:
5293         * rowpainter.C:
5294         * text.C:
5295         * text2.C: Remove the "main" bit from the "main body"
5296           notion.
5297
5298 2003-03-08  John Levon  <levon@movementarian.org>
5299
5300         * text.C (leftMargin): The left margin of an empty
5301         manual label paragraph should not include the label width
5302         string length.
5303
5304         * text.C (prepareToPrint): don't attempt to measure hfills
5305         for empty manual label paragraphs - the answer should be 0
5306
5307 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * CutAndPaste.C: remove commented code and reindent.
5310
5311 2003-03-08  John Levon  <levon@movementarian.org>
5312
5313         * lyxfunc.h:
5314         * lyxfunc.C: move reloadBuffer()
5315
5316         * BufferView.h:
5317         * BufferView.C: to here
5318
5319         * lyxvc.C: add comment
5320
5321         * vc-backend.h:
5322         * vc-backend.C: call bv->reload() to avoid
5323           getStatus() check on MENURELOAD
5324
5325 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5326
5327         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5328         to an old format .dep file.
5329
5330 2003-03-07  Angus Leeming  <leeming@lyx.org>
5331
5332         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5333         when the LFUN_MOUSE_RELEASE should have been handled by
5334         inset->localDispatch.
5335
5336 2003-03-07  Angus Leeming  <leeming@lyx.org>
5337
5338         * BufferView_pimpl.C (dispatch):
5339         * LyXAction.C (init):
5340         * ToolbarDefaults.C (init):
5341         * commandtags.h:
5342         * lyxfunc.C (getStatus):
5343         remove LFUN_INSET_GRAPHICS.
5344
5345         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5346
5347 2003-03-07  Angus Leeming  <leeming@lyx.org>
5348
5349         * commandtags.h:
5350         * LyXAction.C (init):
5351         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5352
5353         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5354
5355         * commandtags.h:
5356         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5357
5358         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5359         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5360
5361 2003-03-07  Angus Leeming  <leeming@lyx.org>
5362
5363         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5364         remove "ert".
5365
5366 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * ParagraphList.C (front): new function
5369         (back): implement
5370
5371 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5372
5373         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5374         and top_row_offset_. removed var first_y.
5375         * text.C (top_y):
5376         * text2.C (LyXText, removeRow):
5377         * text3.C:
5378         * BufferView_pimpl.C:
5379         use these methods instead of using first_y
5380
5381 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * text2.C (pasteSelection): adjust for checkPastePossible
5384
5385         * CutAndPaste.C: remove Paragraph * buf and replace with
5386         ParagraphList paragraphs.
5387         (DeleteBuffer): delete
5388         (cutSelection): change the tc type to textclass_type
5389         (copySelection): change the tc type to textclass_type
5390         (copySelection): adjust for ParagraphList
5391         (pasteSelection): change the tc type to textclass_type
5392         (pasteSelection): adjust for Paragraphlist
5393         (nrOfParagraphs): simplify for ParagraphList
5394         (checkPastePossible): simplify for ParagraphList
5395         (checkPastePossible): remove unused arg
5396
5397         * ParagraphList.C (insert): handle the case where there are no
5398         paragraphs yet.
5399
5400         * CutAndPaste.h: make CutAndPaste a namespace.
5401
5402         * text3.C (dispatch): adjust
5403
5404         * text.C (breakParagraph): add a ParagraphList as arg
5405
5406         * paragraph_funcs.C (breakParagraph): change to take a
5407         BufferParams and a ParagraphList as args.
5408         (breakParagraphConservative): ditto
5409         (mergeParagraph): ditto
5410         (TeXDeeper): add a ParagraphList arg
5411         (TeXEnvironment): ditto
5412         (TeXOnePar): ditto
5413
5414         * buffer.C (readLyXformat2): adjust
5415         (insertStringAsLines): adjust
5416         (latexParagraphs): adjust
5417
5418         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5419         (cutSelection): adjust
5420         (pasteSelection): adjust
5421
5422         * BufferView_pimpl.C (insertInset): adjust
5423
5424 2003-03-05  Angus Leeming  <leeming@lyx.org>
5425
5426         * commandtags.h:
5427         * LyXAction.C (init):
5428         * BufferView_pimpl.C (dispatch):
5429         * lyxfunc.C (getStatus):
5430         remove LFUN_CHILD_INSERT.
5431
5432         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5433
5434 2003-03-05  Angus Leeming  <leeming@lyx.org>
5435
5436         * commandtags.h:
5437         * LyXAction.C (init):
5438         * src/factory.C (createInset):
5439         * lyxfunc.C (getStatus):
5440         * text3.C (dispatch):
5441         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5442
5443         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5444
5445 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * ParagraphList.C (insert): handle insert right before end()
5448         (erase): fix cases where it can be first or last paragraph.
5449
5450 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5453         Paragraph::next and Paragraph::previous
5454         (TeXOnePar): ditto
5455
5456         * text.C (breakParagraph): adjust
5457
5458         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5459         BufferParams& as arg.
5460         (breakParagraph): use ParagraphList::insert
5461         (breakParagraphConservative): take a Buffer* instead of a
5462         BufferParams& as arg.
5463         (breakParagraphConservative): use ParagraphList::insert.
5464
5465         * buffer.C (insertStringAsLines): un-const it
5466         (insertStringAsLines): adjust
5467
5468         * ParagraphList.C (insert): new function
5469
5470         * CutAndPaste.C (pasteSelection): adjust
5471
5472         * text.C (backspace): adjust
5473
5474         * tabular.C (SetMultiColumn): adjust
5475
5476         * CutAndPaste.C (cutSelection): adjust
5477         (pasteSelection): adjust
5478
5479         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5480         Buffer const * as arg
5481
5482         * ParagraphList.C (erase): new function
5483         * paragraph_funcs.C (mergeParagraph): use it
5484         (mergeParagraph): make it take a Buffer* instead of a
5485         BufferParams* as arg
5486
5487         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5488         as arg
5489         (breakParagraphConservative): ditto
5490
5491         * paragraph.h: remove the breakParagraph friend
5492
5493         * paragraph.C (eraseIntern): new function
5494         (setChange): new function
5495
5496         * paragraph_funcs.C (mergeParagraph): make it take a
5497         ParagraphList::iterator instead of a Paragraph *, adjust
5498         accordingly.
5499
5500         * paragraph.h: move an #endif so that the change tracking stuff
5501         also works in the NO_NEXT case.
5502
5503 2003-03-04  Angus Leeming  <leeming@lyx.org>
5504
5505         * commandtags.h:
5506         * LyXAction.C: new LFUN_INSET_MODIFY.
5507
5508         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5509         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5510
5511 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * several files: ws changes only
5514
5515         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5516         (TeXEnvironment): ditto
5517         (TeXDeeper): ditto
5518
5519         * buffer.C (makeLaTeXFile): adjust
5520         (latexParagraphs): make it take ParagraphList::iterator as args
5521
5522 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * buffer.C (latexParagraphs): adjust
5525
5526         * paragraph.C (TeXOnePar): move function...
5527         (optArgInset): move function...
5528         (TeXEnvironment): move function...
5529         * paragraph_pimpl.C (TeXDeeper): move function...
5530         * paragraph_funcs.C: ...here
5531
5532         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5533
5534 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * buffer.C (readInset): remove compability code for old Figure and
5537         InsetInfo insets
5538
5539 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * buffer.C: ws changes
5542         (readInset):
5543
5544         * BufferView_pimpl.C: ditto
5545         * author.C: ditto
5546         * buffer.h: ditto
5547         * bufferlist.h: ditto
5548         * changes.h: ditto
5549         * lyxfunc.C: ditto
5550
5551 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5552
5553         * converter.[Ch]: split into itself +
5554         * graph.[Ch]
5555         * format.[Ch]
5556         * Makefile.am: += graph.[Ch] + format.[Ch]
5557         * MenuBackend.C
5558         * buffer.C
5559         * exporter.C
5560         * importer.C
5561         * lyx_main.C
5562         * lyxfunc.C
5563         * lyxrc.C: added #include "format.h"
5564
5565 2003-02-27  Angus Leeming  <leeming@lyx.org>
5566
5567         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5568           a label.
5569
5570         * factory.C (createInset): add "label" to the factory.
5571
5572         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5573           string and do no more.
5574
5575 2003-02-27  Angus Leeming  <leeming@lyx.org>
5576
5577         * commandtags.h:
5578         * LyXAction.C (init):
5579         * factory.C (createInset):
5580         * BufferView_pimpl.C (dispatch):
5581           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5582
5583         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5584
5585         * lyxfunc.C (dispatch):
5586         * text3.C (dispatch): pass name to params2string.
5587
5588 2003-02-26  Angus Leeming  <leeming@lyx.org>
5589
5590         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5591           blocks together.
5592           Rearrange the ~includes. Strip out the unnecessary ones.
5593
5594         * factory.C (createInset): reformat.
5595           create new insets for the various LFUN_XYZ_APPLY lfuns.
5596
5597 2003-02-26  John Levon  <levon@movementarian.org>
5598
5599         * lyxrow.h:
5600         * lyxrow.C: add isParStart,isParEnd helpers
5601
5602         * paragraph.h: make isInserted/DeletedText take refs
5603
5604         * paragraph_funcs.h:
5605         * paragraph_funcs.C: remove #if 0'd code
5606
5607         * lyxtext.h:
5608         * text3.C:
5609         * text2.C:
5610         * text.C: use lyxrow helpers above.
5611           Move draw and paint routines to RowPainter.
5612           Make several methods use refs not pointers.
5613           Make backgroundColor() const.
5614           Add markChangeInDraw(), isInInset().
5615           Merge changeRegionCase into changeCase.
5616           Make workWidth() shouldn't-happen code into an Assert.
5617
5618         * rowpainter.h:
5619         * rowpainter.C: new class for painting a row.
5620
5621         * vspace.h:
5622         * vspace.C: make inPixels take a ref
5623
5624 2003-02-26  Angus Leeming  <leeming@lyx.org>
5625
5626         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5627         LFUN_REF_APPLY.
5628
5629 2003-02-25  John Levon  <levon@movementarian.org>
5630
5631         * ispell.C: give the forked command a more accurate name
5632
5633 2003-02-22  John Levon  <levon@movementarian.org>
5634
5635         * toc.h:
5636         * toc.C: make TocItem store an id not a Paragraph *
5637           (bug #913)
5638
5639 2003-02-21  Angus Leeming  <leeming@lyx.org>
5640
5641         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5642           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5643           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5644           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5645           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5646           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5647
5648         * BufferView_pimpl.C (dispatch):
5649         * LyXAction.C (init):
5650         * factory.C (createInset):
5651         * lyxfunc.C (getStatus, dispatch):
5652         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5653
5654 2003-02-21  Angus Leeming  <leeming@lyx.org>
5655
5656         * BufferView_pimpl.C (MenuInsertLyXFile):
5657         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5658         * lyxfunc.C (menuNew, open, doImport):
5659           no longer pass a LyXView & to fileDlg.
5660
5661 2003-02-21  Angus Leeming  <leeming@lyx.org>
5662
5663         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5664         * LyXAction.C: change, BIBKEY to BIBITEM.
5665         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5666         Change InsetBibKey to InsetBibitem.
5667         Change BIBKEY_CODE to BIBITEM_CODE.
5668         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5669         * factory.C: replace insetbib.h with insetbibitem.h.
5670         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5671         * paragraph.C: replace insetbib.h with insetbibitem.h.
5672         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5673         Change bibkey() to bibitem().
5674         * text.C: remove insetbib.h.
5675         * text2.C: replace insetbib.h with insetbibitem.h.
5676         change bibkey() to bibitem().
5677         * text3.C: remove insetbib.h.
5678         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5679
5680 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5681
5682         * lyxrc.C (output): enclose user email in quotes (in case there are
5683         several words)
5684
5685 2003-02-18  John Levon  <levon@movementarian.org>
5686
5687         * buffer.h: add std::
5688
5689 2003-02-17  John Levon  <levon@movementarian.org>
5690
5691         * SpellBase.h:
5692         * ispell.h:
5693         * ispell.C:
5694         * pspell.h:
5695         * pspell.C: reworking. Especially in ispell, a large
5696           number of clean ups and bug fixes.
5697
5698         * lyxfunc.C: fix revert to behave sensibly
5699
5700 2003-02-17 André Pönitz <poenitz@gmx.net>
5701
5702         * LyXAction.C:
5703         * commandtags.h: new LFUN_INSERT_BIBKEY
5704
5705         * layout.h:
5706         * lyxlayout.C:
5707         * buffer.C:
5708         * factory.C:
5709         * text.C:
5710         * text2.C:
5711         * text3.C:
5712         * paragraph.[Ch]:
5713         * paragraph_func.C: remove special bibkey handling
5714
5715 2003-02-17  John Levon  <levon@movementarian.org>
5716
5717         * text.C (Delete): fix case where delete at the end of
5718           the very first paragraph would not merge the pars
5719
5720 2003-02-17  John Levon  <levon@movementarian.org>
5721
5722         * lyxrow.C: fix lastPrintablePos()
5723
5724 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5725
5726         * bufferparams.C (writeLaTeX): add a std:here
5727
5728         * buffer.C: and remove a using directive there
5729
5730 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5731
5732         * buffer.C (makeLaTeXFile): move the code that generates the
5733           preamble...
5734
5735         * bufferparams.C (writeLaTeX): ... in this new method
5736
5737         * LaTeXFeatures.C (getEncodingSet): make const
5738           (getLanguages): make const
5739
5740         * MenuBackend.C (binding): returns the binding associated to this
5741           action
5742           (add): sets the status of each item by calling getStatus. Adds
5743           some intelligence.
5744           (read): add support for OptSubMenu
5745           (expand): remove extra separator at the end of expanded menu
5746
5747 2003-02-15  John Levon  <levon@movementarian.org>
5748
5749         * BufferView.C:
5750         * BufferView_pimpl.C:
5751         * bufferlist.h:
5752         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5753           inset code that had no actual effect. Remove unneeded status
5754           code.
5755
5756 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5757
5758         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5759           in preamble
5760
5761 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5762
5763         * text.C (drawLengthMarker): also draw an arrow marker for
5764           symbolic lengths (medskip...)
5765
5766 2003-02-14  John Levon  <levon@movementarian.org>
5767
5768         * tabular.h:
5769         * tabular.C: better method names
5770
5771 2003-02-14  John Levon  <levon@movementarian.org>
5772
5773         * BufferView_pimpl.C:
5774         * bufferlist.C:
5775         * buffer.C:
5776         * converter.C:
5777         * lyx_cb.C:
5778         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5779           it's a more accurate name. Remove some pointless uses.
5780
5781 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5782
5783         * text2.C (LyXText): change order of initilizers to shut off
5784           warnings
5785
5786 2003-02-14  John Levon  <levon@movementarian.org>
5787
5788         * buffer.C: use ParIterator for getParFromID()
5789
5790         * paragraph.h:
5791         * paragraph.C:
5792         * paragraph_pimpl.h:
5793         * paragraph_pimpl.C: remove unused getParFromID()
5794
5795 2003-02-14  John Levon  <levon@movementarian.org>
5796
5797         * buffer.C: remove some very old #if 0'd parse code
5798
5799 2003-02-13  John Levon  <levon@movementarian.org>
5800
5801         * text.h:
5802         * text.C:
5803         * text2.C: move hfillExpansion(), numberOfSeparators(),
5804           rowLast(), rowLastPrintable(), numberofHfills(),
5805           numberOfLabelHfills() ...
5806
5807         * lyxrow.h:
5808         * lyxrow.C: ... to member functions here.
5809
5810         * paragraph.h:
5811         * paragraph.C:
5812         * lyxtext.h:
5813         * text.C: remove LyXText::beginningOfMainBody(), and call
5814           p->beginningOfMainBody() directly. Move the check for
5815           LABEL_MANUAL into the latter.
5816
5817         * text.h:
5818         * text.C:
5819         * text2.C:
5820         * vspace.C:
5821         * BufferView.h:
5822         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5823
5824         * text.h:
5825         * text.C:
5826         * text2.C:
5827         * text3.C:
5828         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5829           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5830
5831 2003-02-13  John Levon  <levon@movementarian.org>
5832
5833         * CutAndPaste.C: remove debug
5834
5835 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5836
5837         * paragraph.C (asString): remove two unused variables
5838
5839         * lyxtextclass.C (readTitleType):
5840           (Read):
5841           (LyXTextClass): handle new members titletype_ and titlename_
5842
5843         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5844
5845 2003-02-09  John Levon  <levon@movementarian.org>
5846
5847         * buffer.h:
5848         * buffer.C: replace hand-coded list with a map for the dep clean
5849
5850 2003-02-08  John Levon  <levon@movementarian.org>
5851
5852         * LaTeX.C: consolidate code into showRunMessage() helper
5853
5854 2003-02-08  John Levon  <levon@movementarian.org>
5855
5856         * lyxfind.C:
5857         * lyxtext.h:
5858         * text2.C:
5859         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5860           and pass the size in explicitly
5861
5862         * BufferView_pimpl.h:
5863         * BufferView_pimpl.C:
5864         * BufferView.h:
5865         * BufferView.C: add getCurrentChange()
5866
5867         * BufferView_pimpl.h:
5868         * BufferView_pimpl.C: handle change lfuns
5869
5870         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5871           for changes. Mark pasted paragraphs as new.
5872
5873         * support/lyxtime.h:
5874         * support/lyxtime.C:
5875         * DepTable.C: abstract time_t as lyx::time_type
5876
5877         * LColor.h:
5878         * LColor.C: add colours for new text, deleted text, changebars
5879
5880         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5881           package use "usenames" option.
5882
5883         * commandtags.h:
5884         * lyxfunc.C:
5885         * LyXAction.C: add change lfuns
5886
5887         * Makefile.am:
5888         * author.h:
5889         * author.C: author handling
5890
5891         * buffer.h:
5892         * buffer.C: add a per-buffer author list, with first entry as
5893           current author. Handle new .lyx tokens for change tracking. Output
5894           author list to .lyx file. Output dvipost stuff to .tex preamble.
5895           Bump lyx format to 222.
5896
5897         * bufferlist.h:
5898         * bufferlist.C: add setCurrentAuthor() to reset current author details
5899           in all buffers.
5900
5901         * bufferparams.h:
5902         * bufferparams.C: add param for tracking
5903
5904         * bufferview_funcs.C: output change info in minibuffer
5905
5906         * Makefile.am:
5907         * changes.h:
5908         * changes.C: add change-tracking structure
5909
5910         * debug.h:
5911         * debug.C: add CHANGES debug flag
5912
5913         * lyxfind.h:
5914         * lyxfind.C: add code for finding the next change piece
5915
5916         * lyxrc.h:
5917         * lyxrc.C: add user_name and user_email
5918
5919         * lyxrow.h:
5920         * lyxrow.C: add a metric for the top of the text line
5921
5922         * lyxtext.h:
5923         * text.C: implement accept/rejectChange()
5924
5925         * lyxtext.h:
5926         * text.C: paint changebars. Paint new/deleted text in the chosen
5927         colours. Strike through deleted text.
5928
5929         * paragraph.h:
5930         * paragraph.C:
5931         * paragraph_pimpl.h:
5932         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5933           in the current change to the insert functions. Rework erase to
5934           mark text as deleted, adding an eraseIntern() and a range-based
5935           erase(). Implement per-paragraph change lookup and
5936           accept/reject.
5937
5938         * paragraph_funcs.C: Fixup paste for change tracking.
5939
5940         * tabular.C: mark added row/columns as new.
5941
5942         * text.C: fix rowLast() to never return -1. Don't allow
5943           spellchecking of deleted text. Track transpose changes. Don't
5944           allow paragraph break or merge where appropriate.
5945
5946         * text2.C: leave cursor at end of selection after a cut.
5947
5948 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5949
5950         * text.C (getLengthMarkerHeight):
5951         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5952         visible on screen too.
5953
5954 2003-02-07  John Levon  <levon@movementarian.org>
5955
5956         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5957
5958 2003-02-05  Angus Leeming  <leeming@lyx.org>
5959
5960         * lyxserver.C (read_ready): revert my patch of 11 September last year
5961         as it sends PC cpu through the roof. Presumably this means that
5962         the lyxserver will no longer run on an Alpha...
5963
5964 2003-01-30  Angus Leeming  <leeming@lyx.org>
5965
5966         * factory.C (createInset): create an InsetCommandParam of type "index"
5967         and use it to 'do the right thing'.
5968
5969         * text2.C (getStringToIndex): ensure that cursor position is always
5970         reset to the reset_cursor position.
5971
5972 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5973
5974         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5975         disabled.
5976
5977 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5978
5979         * bufferview.C:
5980         * lyxcb.C:
5981         * lyxfunc.C: Output messages with identical spelling, punctuation,
5982         and spaces
5983
5984 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5985
5986         * MenuBackend.C (expandFormats): List only viewable export formats
5987         in "View" menu
5988
5989         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5990         message
5991
5992         * lyxfunc.C (getStatus): Make sure that formats other than
5993         "fax" can also be disabled
5994
5995 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5996
5997         * text3.C (dispatch): put the lfuns that insert insets in 3
5998         groups, and call doInsertInset with appropriate arguments.
5999         (doInsertInset): new function, that creates an inset and inserts
6000         it according to some boolean parameters.
6001
6002 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * buffer.C (readFile): remember to pass on 'par' when calling
6005         readFile recursively.
6006
6007 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6008
6009         * MenuBackend.C (expandFormats): add "..." to import formats.
6010
6011 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6012
6013         * paragraph.C (asString): Remove XForms RTL hacks.
6014
6015 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6016         * buffer.C: fix typo
6017
6018 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * Makefile.am (LIBS): delete var
6021         (lyx_LDADD): add @LIBS@ here instead.
6022
6023 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6024
6025         * Clarify the meaning of "wheel mouse jump"
6026
6027 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6028
6029         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6030         tabular in a float
6031
6032 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6033
6034         * importer.C (Loaders): do not preallocate 3 elements in the
6035         vector, since one ends up with 6 elements otherwise
6036
6037 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6038
6039         * DepTable.C (write): write the file name as last element of the
6040         .dep file (because it may contain spaces)
6041         (read): read info in the right order
6042
6043 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6044
6045         * paragraph_pimpl.C (simpleTeXBlanks):
6046         (simpleTeXSpecialChars):
6047         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6048
6049         * tabular.C (latex): add some missing case statements. Reindent.
6050
6051         * MenuBackend.C (expandToc): remove unused variable.
6052
6053 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6054
6055         * LColor.C:
6056         * LaTeX.C:
6057         * LyXAction.C:
6058         * MenuBackend.C:
6059         * buffer.C:
6060         * exporter.C:
6061         * lyxfunc.C:
6062         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6063         and the like.
6064
6065 2003-01-05  John Levon  <levon@movementarian.org>
6066
6067         * BufferView.h:
6068         * BufferView.C: add getEncoding()
6069
6070         * kbsequence.h:
6071         * kbsequence.C: do not store last keypress
6072
6073         * lyxfunc.h:
6074         * lyxfunc.C: store last keypress here instead. Pass encoding
6075           to getISOEncoded()
6076
6077 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6078
6079         * lyx_main.C (init): remove annoying error message when following
6080         symbolic links (bug #780)
6081
6082 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6083
6084         * text.C (insertChar):
6085         * lyxrc.C (getDescription): remove extra spaces
6086
6087 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6088
6089         * lyxrc.C (getDescription): remove extra spaces
6090
6091 2002-12-20  John Levon  <levon@movementarian.org>
6092
6093         * text3.C: hack fix for page up/down across tall rows
6094
6095 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6096
6097         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6098         not been invoked
6099
6100 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6101
6102         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6103         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6104         thesaurus is not compiled in
6105
6106 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6107
6108         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6109
6110 2002-12-16  Angus Leeming  <leeming@lyx.org>
6111
6112         * lyxrc.[Ch]:
6113         * lyx_main.C (init): remove override_x_deadkeys stuff.
6114
6115 2002-12-12  John Levon  <levon@movementarian.org>
6116
6117         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6118           insert. Only remove shift modifier under strict
6119           circumstances.
6120
6121 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * MenuBackend.C (expandToc): fix crash.
6124
6125 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * MenuBackend.C (expandToc): gettext on float names.
6128
6129 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6130
6131         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6132         implement bool empty() [bug 490]
6133
6134 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6137
6138 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * several files: ws changes
6141
6142 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * text2.C (setCounter): clean up a bit, use boost.format.
6145         (updateCounters): initialize par upon declaration.
6146
6147         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6148         if the layout exists. We do not just store the layout any more.
6149         (SwitchLayoutsBetweenClasses): use boost.format
6150
6151 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6152
6153         * converter.C (convert): if from and to files are the same, use a
6154         temporary files as intermediary
6155
6156 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6157
6158         * commandtags.h:
6159         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6160
6161 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6162
6163         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6164
6165 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * tabular.C (asciiPrintCell): use string(size, char) instead of
6168         explicit loop.
6169
6170         * sgml.C (openTag): fix order of arguments to string constructor
6171         (closeTag): ditto
6172
6173         * lyxfunc.C (dispatch): use boost.format
6174
6175         * lots of files: change "c" -> 'c'
6176
6177 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6178
6179         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6180
6181 2002-11-25  Angus Leeming  <leeming@lyx.org>
6182
6183         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6184
6185         * lyx_main.C (init): compile fix.
6186
6187 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * lyx_cb.C (start): boost.formatify
6190         do not include <iostream>
6191
6192         * lengthcommon.C: ws only
6193
6194         * boost-inst.C,BoostFormat.h: add more explict instantations
6195
6196 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * lots of files: handle USE_BOOST_FORMAT
6199
6200 2002-11-21  John Levon  <levon@movementarian.org>
6201
6202         * pspell.C: fix compile
6203
6204 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6205
6206         * lyxfunc.C (dispatch): use boost::format
6207         (open): ditto
6208         (doImport): ditto
6209
6210         * lyxfont.C (stateText): use boost::format
6211
6212         * lyx_main.C (LyX): use boost::format
6213         (init): ditto
6214         (queryUserLyXDir): ditto
6215         (readRcFile): ditto
6216         (parse_dbg): ditto
6217         (typedef boost::function): use the recommened syntax.
6218
6219         * importer.C (Import): use boost::format
6220
6221         * debug.C (showLevel): use boost::format
6222
6223         * converter.C (view): use boost::format
6224         (convert): ditto
6225         (move): ditto
6226         (scanLog): ditto
6227
6228         * bufferview_funcs.C (currentState): use boost::format
6229
6230         * bufferlist.C (emergencyWrite): use boost::format
6231
6232         * buffer.C (readLyXformat2): use boost::format
6233         (parseSingleLyXformat2Token): ditto
6234
6235         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6236
6237         * LaTeX.C (run): use boost::format
6238
6239         * Chktex.C (scanLogFile): use boost::format
6240
6241         * BufferView_pimpl.C (savePosition): use boost::format
6242         (restorePosition): ditto
6243         (MenuInsertLyXFile): ditto
6244
6245         * BoostFormat.h: help file for explicit instation.
6246
6247 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6248
6249         * tabular.C (latex): Support for block alignment in fixed width
6250         columns.
6251
6252 2002-11-17  John Levon  <levon@movementarian.org>
6253
6254         * BufferView_pimpl.C:
6255         * lyx_cb.C:
6256         * lyxfunc.C: split filedialog into open/save
6257
6258 2002-11-08  Juergen Vigna  <jug@sad.it>
6259
6260         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6261         by my last patch (hopefully).
6262
6263 2002-11-08  John Levon  <levon@movementarian.org>
6264
6265         * iterators.h:
6266         * iterators.C:
6267         * buffer.h:
6268         * buffer.C:
6269         * paragraph.h:
6270         * paragraph.C:
6271         * toc.h:
6272         * toc.C: ParConstIterator, and use it (from Lars)
6273
6274 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6275
6276         * lyxtextclass.[Ch]: revise and add doxygen comments
6277
6278 2002-11-07  John Levon  <levon@movementarian.org>
6279
6280         * text.C: fix progress value for spellchecker
6281
6282         * toc.C: fix navigate menu for insetwrap inside minipage
6283
6284         * paragraph_funcs.C: added FIXME for suspect code
6285
6286 2002-11-07  John Levon  <levon@movementarian.org>
6287
6288         * BufferView_pimpl.C: fix redrawing of insets
6289           on buffer switch
6290
6291 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6292
6293         * text2.C (updateCounters): fix bug 668
6294
6295 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6296
6297         * text3.C (dispatch): Do not make the buffer dirty when moving the
6298         cursor.
6299
6300 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * vc-backend.C: STRCONV
6303         (scanMaster): ditto
6304
6305         * text2.C (setCounter): STRCONV
6306
6307         * paragraph.C (asString): STRCONV
6308
6309         * lyxlength.C (asString): STRCONV
6310         (asLatexString): ditto
6311
6312         * lyxgluelength.C (asString): STRCONV
6313         (asLatexString): ditto
6314
6315         * lyxfunc.C (dispatch): STRCONV
6316         (open): ditto
6317
6318         * lyxfont.C (stateText): STRCONV
6319
6320         * importer.C (Import): STRCONV
6321
6322         * counters.C (labelItem): STRCONV
6323         (numberLabel): ditto
6324         (numberLabel): remove unused ostringstream o
6325
6326         * chset.C: STRCONV
6327         (loadFile): ditto
6328
6329         * bufferview_funcs.C (currentState): STRCONV
6330
6331         * buffer.C (readFile): STRCONV
6332         (asciiParagraph): ditto
6333         (makeLaTeXFile): ditto
6334
6335         * Spacing.C (writeEnvirBegin): STRCONV
6336
6337         * LaTeXFeatures.C (getLanguages): STRCONV
6338         (getPackages): ditto
6339         (getMacros): ditto
6340         (getBabelOptions): ditto
6341         (getTClassPreamble): ditto
6342         (getLyXSGMLEntities): ditto
6343         (getIncludedFiles): ditto
6344
6345         * LaTeX.C: STRCONV
6346         (run): ditto
6347         (scanAuxFile): ditto
6348         (deplog): ditto
6349
6350         * LString.h: add the STRCONV macros
6351
6352         * BufferView_pimpl.C (savePosition): STRCONV
6353         (restorePosition): ditto
6354         (MenuInsertLyXFile): ditto
6355
6356         * vc-backend.C (scanMaster): change from submatch[...] to
6357         submatch.str(...)
6358
6359         * funcrequest.C: include config.h
6360
6361         * factory.C: include config.h
6362
6363         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6364
6365         * box.C: include config.h
6366
6367         * LaTeX.C (scanAuxFile): change from submatch[...] to
6368         submatch.str(...)
6369         (deplog): ditto
6370
6371 2002-10-25  Angus Leeming  <leeming@lyx.org>
6372
6373         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6374
6375         * ispell.[Ch] (setError): new method.
6376         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6377         Use setError() insetead of goto END.
6378
6379         * lyx_cb.C (AutoSave): move out child process into new class
6380         AutoSaveBuffer.
6381
6382 2002-10-30  John Levon  <levon@movementarian.org>
6383
6384         * text3.C: make start appendix undoable
6385
6386 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6387
6388         * lyxlength.C (inPixels): Fix returned value.
6389
6390         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6391         environment.
6392
6393 2002-10-24  Angus Leeming  <leeming@lyx.org>
6394
6395         * lyxgluelength.h: no need to forward declare BufferParams
6396         or BufferView, so don't.
6397
6398 2002-10-21  John Levon  <levon@movementarian.org>
6399
6400         * BufferView.C: menuUndo ->undo, redo
6401
6402         * BufferView.h: document, remove dead, make some methods private
6403
6404         * paragraph_funcs.h:
6405         * paragraph_funcs.C:
6406         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6407
6408         * buffer.h:
6409         * buffer.C:
6410         * sgml.h:
6411         * sgml.C: move sgml open/close tag into sgml.C
6412
6413         * bufferview_funcs.h: unused prototype
6414
6415         * lyxfunc.h:
6416         * lyxfunc.C: remove unused
6417
6418         * lyxtext.h:
6419         * text.C: remove unused
6420
6421 2002-10-21  John Levon  <levon@movementarian.org>
6422
6423         * BufferView.h:
6424         * BufferView.C:
6425         * BufferView_pimpl.h:
6426         * BufferView_pimpl.C: fix mouse wheel handling based on
6427           patch from Darren Freeman
6428
6429 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6430
6431         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6432
6433 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6434
6435         * lyxlength.C (inPixels): Fix hanfling of negative length.
6436         Fix LyXLength::MU case.
6437
6438 2002-10-16  John Levon  <levon@movementarian.org>
6439
6440         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6441
6442 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6443
6444         * converter.C (view): add support for $$i (file name) and $$p
6445         (file path) for the viewer command. If $$i is not specified, then
6446         it is appended to the command (for compatibility with old syntax)
6447
6448 2002-10-14  Juergen Vigna  <jug@sad.it>
6449
6450         * undo_funcs.C (textHandleUndo): alter the order in which the
6451         new undopar is added to the LyXText, as we have to set first
6452         the right prev/next and then add it as otherwise the rebuild of
6453         LyXText is not correct. Also reset the cursor to the right paragraph,
6454         with this IMO we could remove the hack in "redoParagraphs()".
6455
6456 2002-10-09  Angus Leeming  <leeming@lyx.org>
6457
6458         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6459         to turn off an optimisation if a new inset is to be inserted.
6460
6461 2002-10-11 André Pönitz <poenitz@gmx.net>
6462
6463         * lyxtext.h: make some functions public to allow access
6464         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6465
6466 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6467
6468         * text3.C (dispatch): when changing layout, avoid an infinite loop
6469         [bug #652]
6470
6471 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6472
6473         * lyxrc.C (read): treat a viewer or converter command of "none" as
6474         if it were empty.
6475
6476         * MenuBackend.C (expandFormats): for an update, also allow the
6477         formats that are not viewable
6478
6479         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6480         script if it is newer than the lyxrc.defaults in user directory
6481
6482 2002-10-07 André Pönitz <poenitz@gmx.net>
6483
6484         * text.C: Vitaly Lipatov's small i18n fix
6485
6486 2002-09-25  Angus Leeming  <leeming@lyx.org>
6487
6488         * ispell.h: doxygen fix.
6489
6490 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6491
6492         * buffer.h (readFile): Add a new argument to the method, to allow
6493         reading of old-format templates.
6494
6495 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6496
6497         * toc.C (getTocList): Get TOC from InsetWrap.
6498
6499 2002-09-16  John Levon  <levon@movementarian.org>
6500
6501         * lyxfunc.C: check tabular for cut/copy too
6502
6503 2002-09-12  John Levon  <levon@movementarian.org>
6504
6505         * LyXAction.C: tidy
6506
6507         * factory.h:
6508         * factory.C: add header
6509
6510         * paragraph_funcs.h:
6511         * paragraph_funcs.C: cleanup
6512
6513 2002-09-11  John Levon  <levon@movementarian.org>
6514
6515         * PrinterParams.h: odd/even default to true
6516
6517 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6518
6519         * PrinterParams.h: update printer parameters for new xforms dialog
6520
6521 2002-09-11  Angus Leeming  <leeming@lyx.org>
6522
6523         * lyxserver.C (read_ready): re-write to make it more transparent
6524         and to make it work in coherent fashion under Tru64 Unix.
6525
6526 2002-09-11  André Pönitz <poenitz@gmx.net>
6527
6528         * commandtags.h:
6529         * LyXAction.C:
6530         * text3.C: implement LFUN_WORDSEL
6531
6532 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6535         make floatlist_ a boost::shared_ptr<FloatList>
6536
6537         * lyxtextclass.C: include FloatList.h
6538         (LyXTextClass): initialize floatlist_
6539         (TextClassTags): add TC_NOFLOAT
6540         (Read): match "nofloat" to TC_NOFLOAT and use it.
6541         (readFloat): modify call to floatlist_
6542         (floats): ditto
6543         (floats): ditto
6544
6545         * FloatList.[Ch] (FloatList): remove commented out float
6546         initialization.
6547         (erase): new function
6548
6549 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6550
6551         * MenuBackend.C (expandToc): fix crash when there is no document
6552         open
6553
6554 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6555
6556         * many files: Add insetwrap.
6557
6558 2002-09-09  John Levon  <levon@movementarian.org>
6559
6560         * text2.C: remove confusing and awkward depth wraparound
6561
6562 2002-09-09  John Levon  <levon@movementarian.org>
6563
6564         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6565
6566         * buffer.h:
6567         * buffer.C: remove getIncludeonlyList()
6568
6569         * paragraph.C:
6570         * lyxfunc.C: remove headers
6571
6572 2002-09-09  Juergen Vigna  <jug@sad.it>
6573
6574         * text.C (getColumnNearX): fix form Michael this is most
6575         probably a cut&paste bug.
6576
6577 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6580
6581         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6582         references, ws changes.
6583
6584         * text2.C (init): update counters after init
6585         (insertParagraph): no need to set counter on idividual paragraphs.
6586         (setCounter): access the counters object in the textclass object
6587         on in the buffer object.
6588         (updateCounters): ditto
6589
6590         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6591         shared_ptr<Counters> to avoid loading counters.h in all
6592         compilation units.
6593         (LyXTextClass): initialize ctrs_
6594         (TextClassTags): add TC_COUNTER, and ...
6595         (Read): use it here.
6596         (CounterTags): new tags
6597         (readCounter): new function
6598         (counters): new funtion
6599         (defaultLayoutName): return a const reference
6600
6601         * counters.C (Counters): remove contructor
6602         (newCounter): remove a couple of unneeded statements.
6603         (newCounter): simplify a bit.
6604         (numberLabel): some small formatting changes.
6605
6606         * buffer.[Ch]: remove all traces of counters, move the Counters
6607         object to the LyXTextClass.
6608
6609 2002-09-06  Alain Castera  <castera@in2p3.fr>
6610
6611         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6612         package to set the horizontal alignment on fixed width columns.
6613
6614         * lyx_sty.C:
6615         * lyx_sty.h: added tabularnewline macro def.
6616
6617         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6618
6619 2002-09-06  John Levon  <levon@movementarian.org>
6620
6621         * LyXAction.C: tooltips for sub/superscript
6622
6623         * MenuBackend.C: a bit more verbose
6624
6625         * lyxfunc.C: tiny clean
6626
6627         * undo_funcs.C: document undo_frozen
6628
6629 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * counters.C (Counters): add missing algorithm counter.
6632
6633         * text2.C (setCounter): lookup the counter with layouts latexname
6634         instead of by section number.
6635         (setCounter): use a hackish way to lookup the correct enum
6636         counter.
6637         a float name->type change
6638         reset enum couners with counter name directly instead of depth value.
6639
6640         * counters.C (Counters): remove the push_backs, change to use the
6641         float type not the float name.
6642         (labelItem): remove unused string, float name->type change
6643
6644         * counters.h: don't include vector, loose the enums and sects vectors
6645
6646 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6649         (Read): add float->TC_FLOAT to textclassTags
6650         (Read): and handle it in the switch
6651         (readFloat): new function
6652
6653         * FloatList.C (FloatList): comment out the hardcoded float
6654         definitions.
6655
6656         * lyxlayout.h: ws change.
6657
6658 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6659
6660         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6661
6662 2002-09-03  Angus Leeming  <leeming@lyx.org>
6663
6664         * BufferView_pimpl.h: qualified name is not allowed in member
6665         declaration: WorkArea & Pimpl::workarea() const;
6666
6667         * factory.C: added using std::endl directive.
6668
6669         * text3.C: added using std::find and std::vector directives.
6670
6671 2002-08-29  André Pönitz <poenitz@gmx.net>
6672
6673         * lyxtext.h:
6674         * text2.C: remove unused member number_of_rows
6675
6676         * Makefile.am:
6677         * BufferView2.C: remove file, move contents to...
6678         * BufferView.C: ... here
6679
6680         * BufferView_pimpl.C:
6681         * factory.C: move more inset creation to factory
6682
6683         * vspace.C: avoid direct usage of LyXText, ws changes
6684
6685         * BufferView.[Ch]:
6686                 don't provide direct access to WorkArea, use two simple
6687                 acessors haveSelction() and workHeight() instead
6688
6689
6690 2002-08-29  John Levon  <levon@movementarian.org>
6691
6692         * BufferView_pimpl.C (dispatch): do not continue when
6693           no buffer
6694
6695 2002-08-28  André Pönitz <poenitz@gmx.net>
6696
6697         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6698
6699         * BufferView.h:
6700         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6701
6702 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6703
6704         * buffer.C: increment LYX_FORMAT to 221
6705
6706         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6707         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6708
6709         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6710
6711         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6712
6713 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6714
6715         * factory.C (createInset): use LyXTextClass::floats
6716
6717         * MenuBackend.C (expandFloatListInsert):
6718         (expandFloatInsert):
6719         (expandToc):
6720
6721         * text2.C (setCounter):
6722
6723         * LaTeXFeatures.C (useFloat):
6724         (getFloatDefinitions):
6725
6726         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6727
6728         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6729         floatlist_, with accessor floats().
6730
6731         * FloatList.h: remove global FloatList
6732
6733 2002-08-26  André Pönitz <poenitz@gmx.net>
6734
6735         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6736
6737         * BufferView.h:
6738         * BufferView2.C:
6739         * BufferView_pimpl.C:
6740         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6741
6742 2002-08-25  John Levon  <levon@movementarian.org>
6743
6744         * LyXAction.C: fix margin note description
6745
6746 2002-08-24  John Levon  <levon@movementarian.org>
6747
6748         * buffer.C:
6749         * bufferlist.C:
6750         * bufferview_funcs.C:
6751         * lyxfont.C:
6752         * undo_funcs.C: cleanups
6753
6754         * lyxfunc.C: disable CUT/COPY when no selection
6755
6756 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6757
6758         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6759         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6760
6761         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6762         Add backward compatibility to "mono", "gray" and "no".
6763
6764 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6765
6766         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6767         (and file_format >= 200).
6768
6769 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6770
6771         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6772
6773 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6774
6775         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6776
6777 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6778
6779         * BufferView_pimpl.C:
6780         * LyXAction.C:
6781         * buffer.C:
6782         * commandtags.h:
6783         * lyxfunc.C:
6784         * paragraph.[Ch]:
6785         * text2.C:
6786         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6787         inset and code to make it  work with the paragraph code. The inset
6788         can be anywhere in the paragraph, but will only do the expected
6789         thing in LaTeX if the layout file contains the parameter line
6790                         OptionalArgs    1
6791         (or more generally, a nonzero value) for that layout.
6792
6793 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * paragraph.h: remove the declaration of undefined counters class
6796         function.
6797
6798 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6799
6800         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6801         Dr. Richard Hawkins.
6802
6803 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6804
6805         * paragraph_funcs.h: remove some unneeded includes
6806
6807         * text.C (backspace): pasteParagraph now in global scipe
6808
6809         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6810         (pasteSelection): ditto
6811
6812         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6813         * paragraph_funcs.C (pasteParagraph): ... here
6814
6815 2002-08-20  André Pönitz <poenitz@gmx.net>
6816
6817         * commandtags.h: new LFUNs for swapping/copying table row/colums
6818
6819         * LyXAction.C:
6820         * lyxfunc.C: support for new lfuns
6821
6822 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * tabular.C:
6825         * buffer.[Ch]: remove NO_COMPABILITY stuff
6826
6827 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * boost.C (throw_exception): new file, with helper function for
6830         boost compiled without exceptions.
6831
6832         * paragraph.h:
6833         * lyxlength.C:
6834         * buffer.C:
6835         * ParameterStruct.h:
6836         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6837
6838         * bufferlist.C (emergencyWriteAll): use boost bind
6839
6840         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6841
6842         * text.C: include paragraph_funcs.h
6843         (breakParagraph): breakParagraph is now in global scope
6844
6845         * paragraph_funcs.[Ch]: new files
6846
6847         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6848         global scope
6849
6850         * buffer.C: include paragraph_funcs.h
6851         (insertStringAsLines): breakParagraph is now in global scope
6852
6853         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6854         paragraph_funcs.C
6855
6856         * CutAndPaste.C: include paragraph_funcs.h
6857         (cutSelection): breakParagraphConservative is now in global scope
6858         (pasteSelection): ditto
6859
6860         * buffer.h: declare oprator== and operator!= for
6861         Buffer::inset_iterator
6862
6863         * bufferlist.C (emergencyWrite): don't use fmt(...)
6864
6865         * text3.C: add using std::endl
6866
6867         * BufferView.C (moveCursorUpdate): remove default arg
6868
6869 2002-08-20  André Pönitz <poenitz@gmx.net>
6870
6871         * buffer.[Ch]: move inline functions to .C
6872
6873         * BufferView2.C:
6874         * BufferView_pimpl.C:
6875         * text.C:
6876         * buffer.[Ch]: use improved inset_iterator
6877
6878         * buffer.C:
6879         * paragraph.[Ch]: write one paragraph at a time
6880
6881 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6882
6883         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6884         style if style is not specified.
6885
6886 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6887
6888         * text2.C (setCounter): when searching for right label for a
6889         caption, make sure to recurse to parent insets (so that a caption
6890         in a minipage in a figure float works) (bug #568)
6891
6892 2002-08-20  André Pönitz <poenitz@gmx.net>
6893
6894         * text3.C: new file for LyXText::dispatch() and helpers
6895
6896         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6897
6898         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6899
6900 2002-08-19  André Pönitz <poenitz@gmx.net>
6901
6902         * lyxtext.h:
6903         * text.C: new LyXText::dispatch()
6904
6905         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6906
6907 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6908
6909         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6910
6911         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6912         Hebrew text.
6913
6914 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6915
6916         * Makefile.am: use $(variables) instead of @substitutions@
6917
6918 2002-08-15  André Pönitz <poenitz@gmx.net>
6919
6920         * lyxfunc.C:
6921         * BufferView_pimpl.C: streamlining mathed <-> outer world
6922         interaction
6923
6924         * commandtags.h:
6925         * LyXAction.C: remove unused LFUN_MATH
6926
6927 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6930
6931 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * paragraph.C (Paragraph): reformat a bit
6934         (cutIntoMinibuffer): use builtin InsetList function instad of
6935         doing it manually.
6936         (getInset): ditto
6937
6938         * buffer.C: include boost/bind.hpp, add using std::for_each
6939         (writeFileAscii): use ParagraphList iterators
6940         (validate): use for_each for validate traversal of paragraphs
6941         (getBibkeyList): use ParagraphList iterators
6942         (resizeInsets): use for_each to resizeInsetsLyXText for all
6943         paragraphs.
6944         (getParFromID): use ParagraphList iterators
6945
6946         * BufferView2.C (lockInset): use paragraph list and iterators
6947
6948 2002-08-14  John Levon  <levon@movementarian.org>
6949
6950         * lyxserver.C: remove spurious xforms include
6951
6952 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6953
6954         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6955
6956 2002-08-13  André Pönitz <poenitz@gmx.net>
6957
6958         * LyXAction.[Ch]:
6959         * lyxfunc.C: further cleaning
6960
6961 2002-08-13  André Pönitz <poenitz@gmx.net>
6962
6963         * funcrequest.h: new constructor
6964
6965         * funcrequest.C: move stuff here from .h
6966
6967         * Makefile.am:
6968         * BufferView_pimpl.C:
6969         * LyXAction.C:
6970         * toc.C:
6971         * lyxfunc.C: subsequent changes
6972
6973         * lyxfunc.h: new view() member function
6974
6975         * lyxfunc.C: subsequent changes
6976
6977 2002-08-13  Angus Leeming  <leeming@lyx.org>
6978
6979         * BufferView2.C:
6980         * BufferView_pimpl.C:
6981         * buffer.C:
6982         * converter.C:
6983         * importer.C:
6984         * lyxfunc.C:
6985         * lyxvc.C:
6986         * toc.C:
6987         * vc-backend.C:
6988         changes due to the changed LyXView interface that now returns references
6989         to member variables not pointers.
6990
6991 2002-08-13  Angus Leeming  <leeming@lyx.org>
6992
6993         * WordLangTuple (word, lang_code): return references to strings,
6994         not strings.
6995
6996         * BufferView.h:
6997         * SpellBase.h:
6998         * lyxtext.h: forward-declare WordLangTuple.
6999
7000         * BufferView2.C:
7001         * ispell.C:
7002         * pspell.C:
7003         * text.C: #include "WordLangTuple.h".
7004
7005         * lyxtext.h:
7006         * text.C: (selectNextWordToSpellcheck): constify return type.
7007
7008 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7009
7010         * buffer.C:
7011         * buffer.h:
7012         * lyxtext.h:
7013         * paragraph.C:
7014         * paragraph_pimpl.h:
7015         * text.C:
7016         * text2.C:
7017         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7018         suggested by Angus.
7019         Made updateCounter always count from start of buffer, and removed
7020         second argument (par).
7021         Reverted floats number display to '#'. Perhaps I'll try again when the
7022         code base is sanitized a bit.
7023
7024 2002-08-12  Angus Leeming  <leeming@lyx.org>
7025
7026         * buffer.[Ch] (getLabelList): constify.
7027
7028 2002-08-07  André Pönitz <poenitz@gmx.net>
7029
7030         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7031
7032         * funcrequest.h: extension to keep mouse (x,y) position
7033
7034 2002-08-12  Juergen Vigna  <jug@sad.it>
7035
7036         * BufferView2.C (insertErrors): forbid undo when inserting error
7037         insets.
7038
7039         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7040
7041 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * ParagraphList.[Ch]: new files
7044
7045         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7046
7047         * BufferView2.C (lockInset): ParagraphList changes
7048         * toc.C: ditto
7049         * text2.C: ditto
7050         * bufferlist.C: ditto
7051         * buffer.h: ditto
7052         * buffer.C: ditto
7053
7054 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7057         unused class variable counter_,
7058
7059         * paragraph.[Ch] (getFirstCounter): delete unused function
7060
7061         * counters.C: include LAssert.h
7062         (reset): add a new function with no arg, change other version to
7063         not have def. arg and to not allow empty arg.
7064
7065         * text2.C (setCounter): remove empty arg from call to Counters::reset
7066
7067 2002-08-11  John Levon  <levon@movementarian.org>
7068
7069         * Makefile.am: add WordLangTuple.h
7070
7071 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7074         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7075
7076         * insets/insettext.C: InsetList changes
7077
7078         * graphics/GraphicsSupport.C (operator()): InsetList changes
7079
7080         * toc.C (getTocList): InsetList changes
7081
7082         * paragraph_pimpl.[Ch]: InsetList changes
7083
7084         * paragraph.[Ch]: InsetList changes
7085
7086         * buffer.C (inset_iterator): InsetList changes
7087         (setParagraph): ditto
7088         * buffer.h (inset_iterator): ditto
7089         * iterators.C (operator++): ditto
7090         * iterators.h: ditto
7091
7092         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7093
7094         * InsetList.[Ch]: new files, most InsetList handling moved out of
7095         paragraph.C.
7096
7097         * BufferView2.C (removeAutoInsets): InsetList changes
7098         (lockInset): ditto
7099         (ChangeInsets): ditto
7100
7101 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7102
7103         * paragraph_pimpl.h (empty): new function
7104
7105         * paragraph.[Ch] (empty): new function
7106
7107         * other files: use the new Paragraph::empty function
7108
7109 2002-08-09  John Levon  <levon@movementarian.org>
7110
7111         * lyxtext.h: remove unused refresh_height
7112
7113 2002-08-09  John Levon  <levon@movementarian.org>
7114
7115         * Makefile.am:
7116         * sgml.h:
7117         * sgml.C:
7118         * buffer.C:
7119         * paragraph.h:
7120         * paragraph.C: move sgml char escaping out of paragraph
7121
7122         * paragraph.h:
7123         * paragraph.C: remove id setter
7124
7125         * buffer.C:
7126         * paragraph.C:
7127         * paragraph_pimpl.C: remove dead tex_code_break_column
7128
7129         * bufferview_funcs.C: small cleanup
7130
7131         * lyxfunc.C: remove dead proto
7132
7133         * lyxtext.h: make some stuff private. Remove some dead stuff.
7134
7135         * lyxgluelength.C: make as[LyX]String() readable
7136
7137 2002-08-08  John Levon  <levon@movementarian.org>
7138
7139         * LyXAction.h:
7140         * LyXAction.C:
7141         * MenuBackend.C:
7142         * ToolbarDefaults.C:
7143         * lyxfunc.C:
7144         * lyxrc.C:
7145         * toc.C: lyxaction cleanup
7146
7147 2002-08-08  John Levon  <levon@movementarian.org>
7148
7149         * BufferView2.C: small cleanup
7150
7151         * lyxfind.h:
7152         * lyxfind.C: move unnecessary header into the .C
7153
7154 2002-08-08  John Levon  <levon@movementarian.org>
7155
7156         * funcrequest.h: just tedious nonsense
7157
7158         * lyx_main.h:
7159         * lyx_main.C: cleanups
7160
7161         * buffer.C:
7162         * vspace.C: remove dead header lyx_main.h
7163
7164 2002-08-07  Angus Leeming  <leeming@lyx.org>
7165
7166         * Paragraph.[Ch]:
7167         * paragraph_pimpl.h:
7168         Forward declare class Counters in paragraph.h by moving the ctrs member
7169         variable into Paragraph::Pimpl.
7170         (counters): new method, returning a reference to pimpl_->ctrs.
7171
7172         * text2.C: ensuing changes.
7173
7174 2002-08-07  John Levon  <levon@movementarian.org>
7175
7176         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7177
7178         * BufferView_pimpl.C: announce X selection on double/triple
7179           click
7180
7181         * lyx_main.C: use correct bool in batch dispatch
7182
7183         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7184
7185 2002-08-07  André Pönitz <poenitz@gmx.net>
7186
7187         * funcrequest.h: new class to wrap a kb_action and its argument
7188
7189         * BufferView.[Ch]:
7190         * BufferView_pimpl[Ch]:
7191         * LaTeX.C:
7192         * LyXAction.[Ch]:
7193         * lyxfunc.[Ch]:
7194         * lyxrc.C: subsequent changes
7195
7196
7197 2002-08-07  John Levon  <levon@movementarian.org>
7198
7199         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7200           document options change.
7201
7202 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7203
7204         * counters.[Ch]
7205         * text2.C
7206         * paragraph.[Ch]
7207         * makefile.am: move counters functionality over from
7208         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7209
7210 2002-08-06  John Levon  <levon@movementarian.org>
7211
7212         * WordLangTuple.h: new file for word + language code tuple
7213
7214         * SpellBase.h:
7215         * pspell.h:
7216         * pspell.C:
7217         * ispell.h:
7218         * ispell.C:
7219         * lyxtext.h:
7220         * text.C:
7221         * text2.C:
7222         * BufferView.h:
7223         * BufferView2.C: use WordLangTuple
7224
7225         * layout.h:
7226         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7227
7228 2002-08-06  John Levon  <levon@movementarian.org>
7229
7230         * lyx_main.C: fix cmdline batch handling
7231
7232 2002-08-06  André Pönitz <poenitz@gmx.net>
7233
7234         * lyxrc.C: set default for show_banner to true
7235
7236 2002-08-06  John Levon  <levon@movementarian.org>
7237
7238         * pspell.C: fix a crash, and allow new aspell to work
7239
7240 2002-08-06  John Levon  <levon@movementarian.org>
7241
7242         * lyxfunc.C:
7243         * kbmap.C: small cleanup
7244
7245         * vspace.h:
7246         * vspace.C: add const
7247
7248 2002-08-05  John Levon  <levon@movementarian.org>
7249
7250         * LyXAction.C: back to tabular-insert
7251
7252 2002-08-04  John Levon  <levon@movementarian.org>
7253
7254         * BufferView.h:
7255         * BufferView.C: cosmetic change
7256
7257         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7258
7259         * bufferlist.C:
7260         * buffer.h:
7261         * buffer.C:
7262         * lyxcb.h:
7263         * lyxcb.C:
7264         * lyxserver.C:
7265         * lyxvc.C:
7266         * vc-backend.C:
7267         * BufferView2.C: purge all "Lyx" not "LyX" strings
7268
7269         * lyxcursor.h:
7270         * lyxcursor.C: attempt to add some documentation
7271
7272         * lyxfunc.C:
7273         * commandtags.h:
7274         * LyXAction.C:
7275         * ToolbarDefaults.C:
7276         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7277           merge with LFUN_TABULAR_INSERT
7278
7279         * Makefile.am:
7280         * SpellBase.h:
7281         * ispell.h:
7282         * ispell.C:
7283         * pspell.h:
7284         * pspell.C: split up i/pspell implementations into separate
7285           files, many cleanups
7286
7287         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7288
7289         * text2.C: some cleanup
7290
7291         * lyxfunc.C: don't check for isp_command == "none" any more, it
7292           didn't make any sense
7293
7294 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7295
7296         * counters.[Ch]
7297         * text2.C
7298         * paragraph.[Ch]
7299         * makefile.am: move counters functionality over
7300         from text2.C/paragraph.[Ch] to counters.[Ch], and
7301         make proper C++.
7302 2002-08-02  John Levon  <levon@movementarian.org>
7303
7304         * buffer.C: s/lyxconvert/lyx2lyx/
7305
7306 2002-08-02  Angus Leeming  <leeming@lyx.org>
7307
7308         * lyxlex.C: revert John's change as it breaks reading of the user
7309         preamble.
7310
7311 2002-08-02  Angus Leeming  <leeming@lyx.org>
7312
7313         * importer.C (Import):
7314         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7315         changes due to LyXView::view() now returning a boost::shared_ptr.
7316
7317 2002-08-02  John Levon  <levon@movementarian.org>
7318
7319         * lyxlex.C: small cleanup
7320
7321 2002-08-02  John Levon  <levon@movementarian.org>
7322
7323         * text2.C (status): small cleanup, no logic change
7324
7325 2002-08-01  John Levon  <levon@movementarian.org>
7326
7327         * buffer.h:
7328         * buffer.C (writeFile): don't output alerts, caller
7329           handles this
7330
7331         * bufferlist.C:
7332         * lyx_cb.C: from above
7333
7334         * lyxfunc.C: allow to open non-existent files
7335
7336 2002-07-31  John Levon  <levon@movementarian.org>
7337
7338         * lyxserver.C: don't let incidental errors get
7339           in the way (errno)
7340
7341 2002-07-30  John Levon  <levon@movementarian.org>
7342
7343         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7344
7345 2002-07-30  John Levon  <levon@movementarian.org>
7346
7347         * lyxserver.h:
7348         * lyxserver.C: remove I/O callback too
7349
7350 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7351
7352         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7353         log.
7354
7355 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * many files: strip,frontStrip -> trim,ltrim,rtrim
7358
7359 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * PrinterParams.h: remove extern containsOnly, and include
7362         support/lstrings.h instead.
7363
7364         * LaTeX.C (scanAuxFile): modify because of strip changes
7365         (deplog): ditto
7366         * buffer.C (makeLaTeXFile): ditto
7367         * bufferparams.C (writeFile): ditt
7368         * lyxfont.C (stateText): ditto
7369         * lyxserver.C (read_ready): ditto
7370         * vc-backend.C (scanMaster): ditto
7371
7372         * BufferView_pimpl.h: ws changes
7373
7374         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7375
7376 2002-07-26  André Pönitz <poenitz@gmx.net>
7377
7378         * kb_sequence.C: remove unnedred usings
7379
7380 2002-07-26  Juergen Vigna  <jug@sad.it>
7381
7382         * lyxfind.C (LyXReplace): we have to check better if the returned
7383         text is not of theLockingInset()->getLockingInset().
7384
7385 2002-07-25  Juergen Vigna  <jug@sad.it>
7386
7387         * lyxfind.C (LyXReplace): don't replace if we don't get the
7388         right LyXText.
7389
7390         * undo_funcs.C (createUndo): remove debugging code.
7391
7392 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7393
7394         * buffer.C (parseSingleLyXformat2Token): Use default placement
7395         when reading old floats.
7396
7397         * FloatList.C (FloatList): Change the default placement of figure
7398         and tables to "tbp".
7399
7400 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7401
7402         * MenuBackend.C: using std::max
7403
7404 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7405
7406         * MenuBackend.C (expandToc):
7407         (expandToc2): code moved from xforms menu frontend. It is now
7408         generic and TOCs are transparent to menu frontends.
7409
7410 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * toc.C (getTocList): protect against buf=0
7413
7414         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7415         Menu as first parameter. Now, this calls itself recursively to
7416         expand a whole tree (this will be useful for TOC handling)
7417         (expandFloatInsert): remove 'wide' version of floats
7418
7419         * MenuBackend.h (submenuname): returns the name of the submenu.
7420         (submenu): returns the submenu itself, provided it has been
7421         created by MenuBackend::expand
7422
7423 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7424
7425         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7426         insets which have noFontChange == true. (bug #172)
7427
7428 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7429
7430         * BufferView_pimpl.C: add connection objects and use them...
7431         (Pimpl): here.
7432
7433 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7434
7435         * MenuBackend.C (expandLastfiles):
7436         (expandDocuments):
7437         (expandFormats):
7438         (expandFloatListInsert):
7439         (expandFloatInsert):
7440         (expand): split expand in parts
7441
7442 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7443
7444         * lyx_gui.C: use lyx_gui::exit()
7445
7446 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * LyXAction.C: show the failing pseudo action
7449
7450 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7451
7452         * buffer.C (readFile): Run the lyxconvert script in order to read
7453         old files.
7454
7455 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * LyXAction.C:
7458         * commandtags.h:
7459         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7460
7461 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * LyXAction.C:
7464         * commandtags.h:
7465         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7466
7467 2002-07-22  Herbert Voss  <voss@lyx.org>
7468
7469         * lengthcommon.C:
7470         * lyxlength.[Ch]: add support for the vertical lengths
7471
7472 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * toc.[Ch]: std:: fixes
7475
7476 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7477
7478         * lyxrc.C: do not include lyx_main.h
7479
7480         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7481         for layouts
7482
7483         * lyxrc.C:
7484         * encoding.C:
7485         * bufferlist.C:
7486         * BufferView2.C: include "lyxlex.h"
7487
7488         * tabular.h:
7489         * bufferparams.h: do not #include "lyxlex.h"
7490
7491         * lyxtextclasslist.C (Add): remove method
7492         (classlist): renamed to classlist_
7493
7494         * paragraph_pimpl.C:
7495         * paragraph.C:
7496         * text2.C:
7497         * CutAndPaste.C:
7498         * bufferview_funcs.C:
7499         * bufferlist.C:
7500         * text.C:
7501         * LaTeXFeatures.C:
7502         * buffer.C:
7503         * toc.C (getTocList): use BufferParams::getLyXTextClass
7504
7505         * toc.C (getTocList): use InsetFloat::addToToc
7506
7507         * toc.[Ch]: new files, containing helper functions to handle table
7508         of contents
7509
7510         * lyxfunc.C (dispatch): no need to remove spaces around command
7511         given as a string
7512         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7513         first command of the sequence; it is not very clever, but I do not
7514         have a better idea, actually
7515
7516         * LyXAction.C (LookupFunc): make sure to remove space at the
7517         beginning and end of the command
7518
7519 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7520
7521         * MenuBackend.C (getMenubar): new method: return the menubar of
7522         this menu set
7523         (read): treat differently reading of menu and menubar (in
7524         particular, the menubar has no name now)
7525         (Menu::menubar): remove
7526
7527         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7528         saving is finished
7529
7530 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7531
7532         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7533         a bibitem inset in a RTL paragraph.
7534
7535 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7536
7537         * paragraph_pimpl.C: constify
7538
7539         * BufferView_pimpl.C:
7540         * LaTeX.C:
7541         * lyxfunc.C: fix dispatch in a nicer way
7542
7543 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7544
7545         * lyxfunc.C (dispatch):
7546         * BufferView_pimpl.C:
7547         * BufferView_pimpl.h:
7548         * BufferView.C:
7549         * BufferView.h: rename Dispatch() to dispatch()
7550
7551         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7552
7553         * lyxlayout.C (Read): honor DependsOn tag
7554
7555         * lyxlayout.[Ch] (depends_on): new method
7556
7557         * version.C.in: update lyx_docversion
7558
7559         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7560
7561         * paragraph.C (validate): remove from here...
7562         * paragraph_pimpl.C (validate): ... and move here
7563         (isTextAt): make it const
7564
7565         * buffer.C (getLists): ws cleanup
7566
7567 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7568
7569         * language.C (read): Use iso8859-1 encoding in latex_lang
7570         (this prevents LyX from crashing when using iso10646-1 encoding).
7571
7572 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7573
7574         * text2.C (toggleInset): if cursor is inside an inset, close the
7575         inset and leave cursor _after_ it
7576
7577 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7578
7579         * lyxfunc.C: move minibuffer completion handling out of here
7580
7581 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * BufferView_pimpl.C:
7584         * LaTeX.C: fix dispatch calls
7585
7586 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7587
7588         * text.C (drawChars): Fix Arabic text rendering.
7589
7590 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7591
7592         * LyXAction.C:
7593         * commandtags.h:
7594         * lyxfunc.C: remove message-push/pop
7595
7596         * lyxserver.C:
7597         * lyxfunc.h:
7598         * lyxfunc.C: rationalise some code by removing verboseDispatch
7599           in favour of a bool argument to dispatch()
7600
7601 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7602
7603         * lyx_main.C (init): make sure to read symlinks as absolute paths
7604
7605 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7606
7607         * lyxfunc.h:
7608         * lyxfunc.C: no need for commandshortcut to be a member
7609
7610 2002-07-15  André Pönitz <poenitz@gmx.net>
7611
7612         * converter.C: add support for $$s (scripts from lib/scripts dir)
7613         * lyx_main.C: white space
7614
7615 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7616
7617         * bufferlist.C:
7618         * lyxrc.h:
7619         * lyxrc.C: remove second exit confirmation
7620
7621 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7622
7623         * BufferView.h:
7624         * BufferView.C:
7625         * BufferView2.C:
7626         * BufferView_pimpl.h:
7627         * BufferView_pimpl.C:
7628         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7629
7630 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7631
7632         * MenuBackend.C (expand): add numeric shortcuts to document menu
7633
7634         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7635
7636 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7637
7638         * lyxfont.C (setLyXFamily):
7639         (setLyXSeries):
7640         (setLyXShape):
7641         (setLyXSize):
7642         (setLyXMisc):
7643         (lyxRead):
7644         * debug.C (value):
7645         * buffer.C (asciiParagraph): use ascii_lowercase
7646
7647 2002-07-15  Mike Fabian  <mfabian@suse.de>
7648
7649         * lyxlex_pimpl.C (search_kw):
7650         * lyxlex.C (getLongString):
7651         * converter.h (operator<):
7652         * converter.C (operator<):
7653         * buffer.C (parseSingleLyXformat2Token):
7654         (asciiParagraph):
7655         * ToolbarDefaults.C (read):
7656         * MenuBackend.C (checkShortcuts):
7657         (read):
7658         * LColor.C (getFromGUIName):
7659         (getFromLyXName): use the compare_ascii_no_case instead of
7660         compare_no_case, because in turkish, 'i' is not the lowercase
7661         version of 'I', and thus turkish locale breaks parsing of tags.
7662
7663 2002-07-16  Angus Leeming  <leeming@lyx.org>
7664
7665         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7666         now takes a Buffer const & argument.
7667
7668 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7669
7670         * BufferView.C (resize): check there's a buffer to resize
7671
7672 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7673
7674         * lyxfunc.C: remove dead code
7675
7676         * lyxserver.h:
7677         * lyxserver.C: use lyx_guii::set_read_callback
7678
7679 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7680
7681         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7682         an inset in a RTL paragraph.
7683
7684 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7685
7686         * lyxfunc.C: repaint after a font size update
7687
7688 2002-07-15  André Pönitz <poenitz@gmx.net>
7689
7690         * lyxlength.C: inBP should be able to return negative values
7691
7692 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7693
7694         * lyxfunc.C: use lyx_gui::update_fonts()
7695
7696 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7697
7698         * lyxfunc.C: use lyx_gui::update_color()
7699
7700 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7701
7702         * bufferlist.C:
7703         * lyxfunc.h:
7704         * lyxfunc.C:
7705         * lyxrc.h:
7706         * lyxrc.C: remove file->new asks for name option, and let
7707           buffer-new take an argument
7708
7709 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7710
7711         * BufferView_pimpl.C: remove unneeded extra repaint()
7712
7713 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7714
7715         * LyXAction.C: allow command-sequence with NoBuffer
7716
7717         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7718
7719 2002-07-10  Angus Leeming  <leeming@lyx.org>
7720
7721         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7722
7723 2002-07-09  Angus Leeming  <leeming@lyx.org>
7724
7725         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7726
7727 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7728
7729         * lengthcommon.h: whitespace
7730
7731         * lyxfunc.C: update scrollbar after goto paragraph
7732
7733         * lyxtext.h: factor out page break drawing, and fix it so
7734           page break/added space paints as selected nicely
7735
7736 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7737
7738         * BufferView_pimpl.C: add FIXMEs, clean up a little
7739
7740 2002-07-09  André Pönitz <poenitz@gmx.net>
7741
7742         * lyxfont.[Ch]: support for wasy symbols
7743
7744 2002-07-08  André Pönitz <poenitz@gmx.net>
7745
7746         * BufferView_pimpl.C: apply John's patch for #93.
7747
7748 2002-07-05  Angus Leeming  <leeming@lyx.org>
7749
7750         * BufferView_pimpl.C (buffer): generate previews if desired.
7751
7752         * LColor.h: add "preview" to the color enum.
7753
7754         * LColor.C (LColor): add a corresponding entry to the items array.
7755
7756         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7757         with this buffer.
7758
7759 2002-07-05  Angus Leeming  <leeming@lyx.org>
7760
7761         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7762         The body of the code is now in the method that is passed an ostream &
7763         rather than a file name.
7764         Pass an additional only_preamble parameter, useful for the forthcoming
7765         preview stuff.
7766
7767 2002-07-03  André Pönitz <poenitz@gmx.net>
7768
7769         * lyxfunc.C: simplify getStatus() a bit for math stuff
7770
7771 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7772
7773         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7774
7775 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7776
7777         * text.C (changeRegionCase): do not change case of all the
7778         document when region ends at paragraph end (bug #461)
7779
7780 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7781
7782         * paragraph.C (startTeXParParams):
7783         (endTeXParParams): add \protect when necessary
7784
7785 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7786
7787         * BufferView_pimpl.C (workAreaExpose): remove warning
7788
7789 2002-06-27  Angus Leeming  <leeming@lyx.org>
7790
7791         * Makefile.am: add lyxlayout_ptr_fwd.h.
7792
7793 2002-06-26  André Pönitz <poenitz@gmx.net>
7794
7795         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7796
7797 2002-06-25  Angus Leeming  <leeming@lyx.org>
7798
7799         * lyxfunc.C (dispatch): Comment out the call to
7800         grfx::GCache::changeDisplay. The method no longer exists now that the
7801         pixmap generation part of the graphics loader has been moved into
7802         InsetGraphics.
7803
7804 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7805
7806         * text2.C: layout as layout
7807
7808         * text.C: layout as layout
7809
7810         * tabular.C (OldFormatRead): layout as layout
7811
7812         * paragraph_pimpl.C (TeXDeeper): layout as layout
7813         (realizeFont): layout as layout
7814
7815         * paragraph.C (writeFile): layout as layout
7816         (validate): layout as layout
7817         (getFont): layout as layout
7818         (getLabelFont): layout as layout
7819         (getLayoutFont): layout as layout
7820         (breakParagraph): layout as layout
7821         (stripLeadingSpaces): layout as layout
7822         (getEndLabel): layout as layout
7823         (getMaxDepthAfter): layout as layout
7824         (applyLayout): layout as layout
7825         (TeXOnePar): layout as layout
7826         (simpleTeXOnePar): layout as layout
7827         (TeXEnvironment): layout as layout
7828         (layout): layout as layout
7829         (layout): layout as layout
7830
7831         * lyxtextclass.C (compare_name): new functor to work with
7832         shared_ptr, layout as layout
7833         (Read): layout as layout
7834         (hasLayout): layout as layout
7835         (operator): layout as layout
7836         (delete_layout): layout as layout
7837         (defaultLayout): layout as layout
7838
7839         * lyxlayout_ptr_fwd.h: new file
7840
7841         * lyxlayout.C (Read): layout as layout
7842
7843         * lyx_cb.C (MenuInsertLabel): layout as layout
7844
7845         * bufferlist.C (newFile): layout as layout
7846
7847         * buffer.C (readLyXformat2): layout as layout
7848         (parseSingleLyXformat2Token): layout as layout
7849         (insertStringAsLines): layout as layout
7850         (asciiParagraph): layout as layout
7851         (latexParagraphs): layout as layout
7852         (makeLinuxDocFile): layout as layout
7853         (simpleLinuxDocOnePar): layout as layout
7854         (makeDocBookFile): layout as layout
7855         (simpleDocBookOnePar): layout as layout
7856         (getLists): layout as layout
7857
7858         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7859
7860         * CutAndPaste.C (cutSelection): layout as layout
7861         (pasteSelection): layout as layout
7862         (SwitchLayoutsBetweenClasses): layout as layout
7863
7864         * BufferView_pimpl.C (Dispatch): layout as layout
7865         (smartQuote): layout as layout
7866
7867         * BufferView2.C (unlockInset): layout as layout
7868
7869 2002-06-24  André Pönitz <poenitz@gmx.net>
7870
7871         * lyxfunc.C: fix #487
7872
7873 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7874
7875         * lyxrc.h:
7876         * lyxrc.C:
7877         * lyxfunc.C: remove display_shortcuts, show_banner
7878
7879 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7880
7881         * Buffer_pimpl.C: oops, update on resize
7882
7883 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7884
7885         * buffer.C:
7886         * converter.C:
7887         * exporter.C:
7888         * lyxfunc.C:
7889         * BufferView.h:
7890         * BufferView.C: use repaint()
7891
7892         * BufferView_pimpl.h:
7893         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7894           as it's a clearer description. Remove superfluous
7895           redraws.
7896
7897 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7898
7899         * text.C: fix bug 488. Not ideal, but getting
7900           getWord() to work properly for the insets that
7901           matter is more difficult ...
7902
7903 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7904
7905         * BufferView_pimpl.C:
7906         * LyXAction.C:
7907         * commandtags.h:
7908         * lyxfunc.C: remove the six million index lyxfuncs to just
7909           one, and DTRT (bug 458)
7910
7911 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7912
7913         * BufferView.h:
7914         * BufferView.C:
7915         * BufferView_pimpl.h:
7916         * BufferView_pimpl.C: clean up resize() stuff,
7917           and unnecessary updateScreen()s
7918
7919 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * BufferView.h:
7922         * BufferView.C:
7923         * BufferView_pimpl.h:
7924         * BufferView_pimpl.C:
7925         * lyxfind.h:
7926         * lyxfind.C:
7927         * minibuffer.C: remove focus management of workarea,
7928           not needed. Use screen's greyOut()
7929
7930 2002-06-17  Herbert Voss  <voss@lyx.org>
7931
7932         * converter.C: (convert) do not post a message, when converting
7933         fails, let the calling function decide what to do in this case
7934
7935 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7936
7937         * lyxfunc.C: tidy up a little
7938
7939 2002-06-16    <alstrup@diku.dk>
7940
7941         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7942         Got rid of FORMS_H_LOCATION include. Now we are
7943         GUII.
7944
7945 2002-06-15  LyX Development team  <lyx@rilke>
7946
7947         * buffer.[Ch] (sgmlOpenTag):
7948         (sgmlCloseTag): Added support for avoiding pernicious mixed
7949         content. Return number of lines written.
7950
7951         (makeLinuxDocFile):
7952         (makeDocBookFile): Fixed calls to sgml*Tag.
7953         Simple white space clean.
7954
7955         (simpleDocBookOnePar): Simple white space clean.
7956
7957         * tabular.[Ch] (docBook): Renamed to docbook and got another
7958         argument to related with the pernicious mixed content.
7959
7960         (docbookRow): Fixed calls for docbook inset method.
7961
7962 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7963
7964         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7965         so it's X11 independent.
7966
7967         * kb*.[Ch]: ditto.
7968
7969         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7970
7971 2002-06-15  Lyx Development team  <lyx@electronia>
7972
7973         * intl.h: Renamed getTrans to getTransManager.
7974
7975 2002-06-14  Angus Leeming  <leeming@lyx.org>
7976
7977         * Makefile.am: nuke forgotten stl_string_fwd.h.
7978
7979 2002-06-12  Angus Leeming  <leeming@lyx.org>
7980
7981         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7982
7983 2002-06-13  Angus Leeming  <leeming@lyx.org>
7984
7985         * LaTeX.C:
7986         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7987
7988 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7989
7990         * kbmap.C (getiso): add support for cyrillic and greek
7991
7992 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7993
7994         * BufferView.h:
7995         * BufferView.C:
7996         * BufferView_pimpl.h:
7997         * BufferView_pimpl.C: move bogus scrolling logic
7998           to xforms
7999
8000 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8001
8002         * lyxfunc.C:
8003         * BufferView_pimpl.C: view->resize() change
8004
8005 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * BufferView_pimpl.C: topCursorVisible
8008           prototype change
8009
8010 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8011
8012         * Makefile.am:
8013         * lyx_gui.h:
8014         * lyx_gui.C: move to frontends/
8015
8016         * main.C:
8017         * lyx_main.h:
8018         * lyx_main.C: changes from above
8019
8020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * intl.C:
8023         * intl.h:
8024         * kbmap.C:
8025         * kbsequence.C:
8026         * lyx_cb.C:
8027         * lyx_main.C: minor tidy
8028
8029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8030
8031         * BufferView_pimpl.h:
8032         * BufferView_pimpl.C:
8033         * BufferView.h:
8034         * BufferView.C: make painter() const,
8035           remove dead code
8036
8037         * BufferView2.C: use screen() accessor
8038
8039         * lyx_main.h:
8040         * lyx_main.C: some minor cleanup
8041
8042 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8043
8044         * BufferView_pimpl.h:
8045         * BufferView_pimpl.C: remove enter/leaveView,
8046           use workHeight()
8047
8048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8049
8050         * BufferView.h:
8051         * BufferView.C:
8052         * BufferView2.C:
8053         * BufferView_pimpl.h:
8054         * BufferView_pimpl.C: only construct screen once,
8055           rename
8056
8057         * lyxrc.C: remove pointless comment
8058
8059 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8060
8061         * BufferView.h:
8062         * BufferView.C: remove active() and belowMouse()
8063
8064         * BufferView_pimpl.h:
8065         * BufferView_pimpl.C: use workarea() not workarea_,
8066           and make it use a scoped_ptr instead
8067
8068 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8069
8070         * lyx_gui.C: add debug message on BadWindow
8071
8072 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8073
8074         * sp_spell.C: fdopen is not part of the C++ standard.
8075
8076         * paragraph.C (InsetIterator): use >= instead of ==
8077
8078 2002-06-07  Angus Leeming  <leeming@lyx.org>
8079
8080         Fixes needed to compile with Compaq cxx 6.5.
8081         * BufferView_pimpl.C:
8082         * DepTable.C:
8083         * buffer.C:
8084         * converter.C:
8085         * encoding.C:
8086         * lyx_gui.C:
8087         * lyx_main.C:
8088         * lyxtextclasslist.C:
8089         * minibuffer.C:
8090         * sp_spell.C:
8091         * tabular_funcs.C:
8092         * vc-backend.C:
8093         all c-library variables have been moved into namespace std. Wrap
8094         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8095
8096         * lyxlength.C:
8097         * tabular-old.C:
8098         * tabular.C:
8099         Add a using std::abs declaration.
8100
8101         * kbmap.h (modifier_pair):
8102         * paragraph.h (InsetTable, InsetList):
8103         * lyxfont.h (FontBits):
8104         type definition made public.
8105
8106         * bufferlist.C (emergencyWriteAll): the compiler complains that
8107         there is more than one possible lyx::class_fun template to choose from.
8108         I re-named the void specialisation as lyx::void_class_fun.
8109
8110         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8111
8112         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8113         the compiler is is unable to find tostr in write_attribute.
8114
8115 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * buffer.C (sgmlError): hide #warning
8118
8119 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8120
8121         * xtl/*: get rid of xtl, which is not in use anyway
8122
8123         * LyXAction.C (init):
8124         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8125         were unimplemented xtl experimentation
8126
8127 2002-06-04  André Pönitz <poenitz@gmx.net>
8128
8129         * lyxfunc.C: disable array operation on simple formulae
8130
8131 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8132
8133         * converter.C: constify a bit
8134
8135 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8136
8137         * lyx_gui.C: check xforms version correctly
8138
8139 2002-04-30  Herbert Voss  <voss@lyx.org>
8140
8141         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8142         "keep" option
8143
8144 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8145
8146         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8147           attempt to register it with a VCS)
8148
8149 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8150
8151         * lyx_main.C (init): honor variables LYX_DIR_13x and
8152         LYX_USERDIR_13x
8153
8154 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8155
8156         * buffer.h:
8157         * buffer.C:
8158         * lyx_main.C: fix a crash on bad command line,
8159           and give a useful exit status on error
8160
8161         * lyxfunc.C (doImport): allow -i lyx to work
8162
8163 2002-03-30  André Pönitz <poenitz@gmx.net>
8164
8165         * lyxfunc.C: mathed font changes
8166
8167 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * LaTeX.C:
8170         * importer.h:
8171         * importer.C:
8172         * lyx_sty.h:
8173         * lyx_sty.C:
8174         * lyxlex.C:
8175         * lyxrow.h:
8176         * lyxtext.h:
8177         * paragraph.h:
8178         * paragraph.C:
8179         * texrow.h:
8180         * texrow.C:
8181         * text.C:
8182         * trans_mgr.h: srcdocs, and some minor cleanups
8183
8184 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8185
8186         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8187         call getFont all the time)
8188
8189 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8190
8191         * switch from SigC signals to boost::signals
8192
8193 2002-05-29  André Pönitz <poenitz@gmx.net>
8194
8195         * paragraph_pimpl.C (getChar): don't call size() too often...
8196
8197 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8198
8199         * paragraph_pimpl.C (insertChar): do not try to update tables when
8200         appending (pos == size())
8201
8202         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8203         in order to reduce drastically the number of comparisons needed to
8204         parse a large document
8205
8206 2002-05-29  André Pönitz <poenitz@gmx.net>
8207
8208         * text.C:
8209         * text2.C:
8210         * lyxtextclass.C:
8211         * sp_pspell.h:
8212         * textclasslist.[Ch]:
8213         * sp_ispell.h: whitespace change
8214
8215 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8218         lyxaction directly now.
8219
8220 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * trans.C:
8223         * lyxfont.C:
8224         * lyxvc.C: remove unused headers
8225
8226 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8227
8228         * Makefile.am:
8229         * buffer.h:
8230         * undostack.h:
8231         * undostack.C:
8232         * undo_funcs.h:
8233         * undo_funcs.C: some cleanups. Use shared_ptr
8234           and a template for the undo stacks.
8235
8236 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8237
8238         * BufferView_pimpl.h:
8239         * BufferView_pimpl.C:
8240         * kbmap.h:
8241         * kbmap.C:
8242         * kbsequence.h:
8243         * kbsequence.C:
8244         * lyxfunc.h:
8245         * lyxfunc.C:
8246         * text2.C: use key_state/mouse_state
8247
8248 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8249
8250         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8251         and LSubstring
8252
8253         * chset.C: change include order
8254         (loadFile): use boost regex and get rid of LRegex and LSubstring
8255
8256         * Makefile.am (BOOST_LIBS): new variable
8257         (lyx_LDADD): use it
8258
8259         * LaTeX.C: change include order.
8260         (scanAuxFile): use boost regex and get rid of LRegex and
8261         LSubstring
8262         (deplog): ditto
8263
8264 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8265
8266         * ColorHandler.h:
8267         * ColorHandler.C:
8268         * FontInfo.h:
8269         * FontInfo.C: moved to frontends/xforms/
8270
8271         * FontLoader.h:
8272         * FontLoader.C: moved into frontends for GUIIzation
8273
8274         * Makefile.am:
8275         * lyx_gui.C:
8276         * lyxfont.C:
8277         * lyxfunc.C: changes from above
8278
8279 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8280
8281         * LColor.C: remove spurious X include
8282
8283         * BufferView_pimpl.C:
8284         * Makefile.am:
8285         * font.h:
8286         * font.C:
8287         * text.C:
8288         * text2.C: move font metrics to frontends/
8289
8290 2002-05-24  Juergen Vigna  <jug@sad.it>
8291
8292         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8293         setting the undo_cursor.
8294
8295         * ParagraphParameters.h: include local includes first.
8296
8297 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8298
8299         * BufferView_pimpl.C:
8300         * BufferView_pimpl.h:
8301         * Makefile.am:
8302         * WorkArea.h:
8303         * WorkArea.C:
8304         * screen.C: move WorkArea into frontends/
8305
8306         * lyxscreen.h:
8307         * screen.C:
8308         * text.C:
8309         * BufferView.C:
8310         * BufferView2.C: move LyXScreen into frontends/
8311
8312         * lyxlookup.h:
8313         * lyxlookup.C:
8314         * lyx_gui.C: move lyxlookup into frontends/xforms/
8315
8316 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8317
8318         * BufferView2.C:
8319         * BufferView_pimpl.C:
8320         * FontLoader.C:
8321         * LyXView.h:
8322         * LyXView.C:
8323         * Makefile.am:
8324         * WorkArea.C:
8325         * XFormsView.h:
8326         * XFormsView.C:
8327         * buffer.C:
8328         * bufferlist.C:
8329         * bufferview_funcs.C:
8330         * converter.C:
8331         * importer.C:
8332         * lyx_cb.C:
8333         * lyx_gui.C:
8334         * lyx_main.C:
8335         * lyx_find.C:
8336         * lyxfunc.C:
8337         * lyxvc.C:
8338         * minibuffer.C:
8339         * text.C:
8340         * text2.C:
8341         * trans.C:
8342         * vc-backend.C: move LyX/XFormsView into frontends/
8343
8344 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8345
8346         * Makefile.am:
8347         * PainterBase.C:
8348         * PainterBase.h:
8349         * Painter.C:
8350         * Painter.h:
8351         * WorkArea.C:
8352         * WorkArea.h:
8353         * screen.C:
8354         * tabular.C:
8355         * text.C:
8356         * text2.C: move Painter to frontends/
8357
8358 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * buffer.C: comment out some some code that depend upon lyx_format
8361         < 220
8362
8363         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8364         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8365
8366         * buffer.h (NO_COMPABILITY): turn off compability
8367
8368         * ColorHandler.C: include scoped_array.hpp
8369
8370         * font.C: Use more specific smart_ptr header.
8371         * Painter.C: ditto
8372         * gettext.C: ditto
8373         * ShareContainer.h: ditto
8374         * lyx_main.h: ditto
8375         * kbmap.h: ditto
8376         * FontInfo.h: ditto
8377         * BufferView_pimpl.h: ditto
8378         * ColorHandler.h: ditto
8379
8380         * kbmap.C (defkey): change call to shared_ptr::reset
8381
8382 2002-05-21  Juergen Vigna  <jug@sad.it>
8383
8384         * buffer.C (insertErtContents): fix to insert ert asis if it is
8385         non empty. Skip it completely if it contains only whitespaces.
8386
8387 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8388
8389         * BufferView_pimpl.C:
8390         * BufferView2.C: clear selection on paste (bug 393)
8391
8392 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8393
8394         * DepTable.C: include ctime
8395
8396 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8399
8400 2002-05-14  Juergen Vigna  <jug@sad.it>
8401
8402         * text.C (breakParagraph): fixed function to honor the keepempty
8403         layout in the right maner and also to permit the right breaking
8404         algorithm on empty or non empyt keepempty paragraphs.
8405
8406         * paragraph.C (breakParagraph): we have to check also if the par
8407         is really empty (!size()) for isempty otherwise we do the wrong
8408         paragraph break.
8409
8410 2002-05-10  Juergen Vigna  <jug@sad.it>
8411
8412         * buffer.[Ch] : The following are only changes to the ert
8413         compatibility read reading old LaTeX layout and font stuff and
8414         convert it to ERTInsets.
8415
8416         * buffer.h: added isErtInset().
8417
8418         * buffer.C (struct ErtComp): add a fromlayout bool to check
8419         if we're inside a LaTeX layout.
8420         (isErtInset): new helper function.
8421         (insertErtContents): look for other ert insets before this one
8422         and insert the contents there, so that we don't have subsequent
8423         ERT insets with nothing between them. This way we create only one
8424         inset with multiple paragraphs. Also check if we don't insert only
8425         spaces ' ' as they are ignored anyway afterwards in the .tex file
8426         so if we have only spaces we will ignore this latex part in the
8427         new file.
8428         (parseSingleLyXformat2Token \\layout): better compatibility when
8429         reading layout-latex stuff.
8430         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8431         language tag.
8432         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8433         stuff after reading the inset only get the information back from
8434         the stack.
8435
8436 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8437
8438         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8439
8440         * LaTeXFeatures.C (getBabelOptions): New method.
8441
8442 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8443
8444         * BufferView_pimpl.C (Dispatch): work around missing argument for
8445         'layout'
8446
8447 2002-05-08  Juergen Vigna  <jug@sad.it>
8448
8449         * text.C (leftMargin): handle paragraph leftindent.
8450
8451         * paragraph.C (writeFile): write the new \\leftindent tag.
8452         (validate): handle leftindent code.
8453         (TeXEnvironment): handle paragraphleftindent code again.
8454
8455         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8456
8457         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8458         for paragrap_extra indent code and new token \\leftindent.
8459         (latexParagraphs): handle the leftindent as environment.
8460
8461         * ParameterStruct.h: added leftindent support.
8462
8463         * ParagraphParameters.C (leftIndent): added support functions for
8464         the paragraph left indent.
8465
8466         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8467         more appropriate.
8468
8469 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8470
8471         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8472         inside insetERT.
8473
8474         * text.C (computeBidiTables): No bidi in insetERT.
8475
8476         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8477         in RTL documents.
8478
8479 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8480
8481         * version.C.in: pre 5
8482
8483 2002-05-02  José Matos  <jamatos@fep.up.pt>
8484         * buffer.C (makeDocBookFile): white space changes, add newline to
8485         command styles.
8486         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8487
8488         * tabular.C (docBook): fix typo.
8489
8490 2002-05-03  Juergen Vigna  <jug@sad.it>
8491
8492         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8493         change in LyXText as we can not be sure it was not freed.
8494         (drawOneRow): remove unused code.
8495
8496         * text.C (drawInset): redo the calculation of the need_break_row as
8497         it could have a row which was already freed.
8498         (draw): look at the return value of drawInset and return false if
8499         it also returned false.
8500         (paintRowText): look at the return value of draw and return false if
8501         it also returned false.
8502
8503         * lyxtext.h: added bool return type to drawInset() and draw() so that
8504         if we have a change in the row so that the rowbreak has to be redone
8505         we abort drawing as it will be called again.
8506
8507 2002-05-02  Juergen Vigna  <jug@sad.it>
8508
8509         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8510         a change in the maintext also if we're inside an inset.
8511         (Dispatch): set the cursor again after a break line and after the
8512         screen has been updated as it could be we're in a different row.
8513
8514         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8515         to set the cursor behind the pargraph with > size().
8516         (setCursor): check also for the same paragraph when checking where
8517         to put the cursor if we have a NFR inset.
8518
8519         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8520         parts of layout read further up as it still was in the wrong
8521         position.
8522
8523 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8524
8525         * screen.C (drawFromTo): change sine fullRebreak always return
8526         true.
8527
8528         * buffer.C (parseSingleLyXformat2Token): reindent some
8529
8530         * BufferView_pimpl.C (update): change since fullRebreak always
8531         return true.
8532         (Dispatch): git rid of the last hardcoded "Standard"s.
8533
8534 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8535
8536         * text2.[Ch] (fullRebreak): make it return void now that we always
8537         returned true.
8538
8539 2002-04-30  Juergen Vigna  <jug@sad.it>
8540
8541         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8542         ert compatibility check for "latex" layout.
8543
8544 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8545
8546         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8547         minipages: use col% instead of p%, and also use the current font.
8548         (makeLaTeXFile): Fix use babel condition.
8549         (parseSingleLyXformat2Token): Correct font when reading old floats.
8550
8551 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8552
8553         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8554         inserting list of floats.
8555
8556 2002-04-25  Herbert Voss  <voss@lyx.org>
8557
8558         * MenuBackend.C (expand): don't add the graphics extensions to the
8559         export menu
8560
8561 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8562
8563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8564         non-existing layout, do not complain if it was the default layout
8565         of the original class (bug #342)
8566
8567 2002-04-24  Juergen Vigna  <jug@sad.it>
8568
8569         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8570         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8571
8572 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8573
8574         * buffer.C (getBibkeyList): If using \bibliography, return the
8575         option field with the reference itself. Enables us to provide natbib
8576         support when using \bibliography.
8577
8578 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8579
8580         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8581
8582         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8583         natbib is provided by the LaTeX class.
8584
8585 2002-04-23  Juergen Vigna  <jug@sad.it>
8586
8587         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8588         Wakeup functions.
8589
8590         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8591
8592 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8593
8594         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8595
8596         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8597         ensuremath around textordmasculine, textordfeminine and
8598         textdegree.
8599
8600 2002-04-19  Juergen Vigna  <jug@sad.it>
8601
8602         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8603         reinitializing the buffer otherwise row-dimensions may be wrong.
8604         (update): reset also the selection cursors if they do exits otherwise
8605         their x/y positions may be wrong.
8606
8607         * text2.C (cursorDown): don't enter the inset if we came from a row
8608         above and are one row over the inset.
8609
8610         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8611         really leaving an inset.
8612
8613 2002-04-18  Juergen Vigna  <jug@sad.it>
8614
8615         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8616         of the selected paragraph does not have the selected layout also if
8617         the last one had!
8618
8619         * text2.C (setLayout): fixed bug which did not change last selected
8620         paragraph.
8621
8622         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8623         changed the read and substituted \\end_float with \\end_inset!
8624
8625         * BufferView_pimpl.C (cursorPrevious):
8626         (cursorNext): fixed to make it work with rows heigher than the work
8627         area without moving the cursor only the draw of the row.
8628         (workAreaMotionNotify): fix jumping over high rows.
8629
8630 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8631
8632         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8633         Ressler.
8634
8635 2002-04-16  Juergen Vigna  <jug@sad.it>
8636
8637         * text2.C (setCursor): set also the irow().
8638         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8639         (cursorUp):
8640         (cursorDown): support for locking an inset if the x_fix value goes
8641         inside it. That way I can transverse insets too with cursor up/down.
8642
8643         * lyxrow.h: added irow helper function same as other (i) functions.
8644
8645         * BufferView_pimpl.C (cursorPrevious):
8646         (cursorNext): fixed for insets!
8647
8648 2002-04-15  Juergen Vigna  <jug@sad.it>
8649
8650         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8651         position otherwise it is wrong in some cases.
8652
8653         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8654         inside the inset before the call.
8655
8656 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8657
8658         * buffer.[Ch] (getBibkeyList): make it const.
8659
8660 2002-04-12  Juergen Vigna  <jug@sad.it>
8661
8662         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8663
8664         * text2.C (getCursorX): new helper function
8665         (setCursor): compute also ix_
8666         (setCursorFromCoordinates): set also ix.
8667
8668         * lyxcursor.h: added ix_ and helper functions.
8669
8670         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8671
8672         * buffer.C (insertStringAsLines): dont break paragraph if the this
8673         paragraph is inside an inset which does not permit it!
8674
8675         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8676         also with no chars on this paragraph.
8677         (paintRowText): only paint stuff if it's inside the workarea!
8678
8679         * paragraph.C (breakParagraph): honor keepempty flag and break the
8680         paragraph always below not above.
8681
8682         * BufferView2.C (unlockInset): update the paragraph layout on inset
8683         unlock as we changed paragraph in such a case.
8684
8685         * lyxfind.C (LyXFind): clear the former selection if not found!
8686
8687         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8688         again called in insertChar().
8689
8690         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8691         an inset which uses the whole row!
8692         (rightMargin): ditto.
8693         (insertChar): force a rebreak if we inserted an inset!
8694
8695 2002-03-28  Herbert Voss  <voss@lyx.org>
8696
8697         * lyxlength.[Ch]: add inBP() to get the right PS-point
8698         units (BigPoint). With inPixels we have rounding errors
8699
8700 2002-04-11  Juergen Vigna  <jug@sad.it>
8701
8702         * text2.C (setCursorFromCoordinates): set iy to the right value.
8703         (setCursor): add check if row->previous exists!
8704
8705         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8706         an old float_type as this was the case in the old code!
8707
8708         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8709
8710         * BufferView2.C (showLockedInsetCursor): use iy
8711         (fitLockedInsetCursor): ditto
8712
8713         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8714         locked insets as there we have the right value now.
8715
8716         * lyxcursor.C: added iy_ variable and iy functions to set to the
8717         baseline of cursor-y of the locked inset.
8718
8719         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8720         (setCursor): fixed for insets which need a full row.
8721
8722         * text.C (rowLastPrintable): don't ignore the last space when before
8723         an inset which needs a full row.
8724         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8725         as last character of a row when before a inset which needs a full row.
8726
8727 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * version.C.in: update date
8730
8731         * text2.C (fullRebreak): try to always return true and see what
8732         happens...
8733
8734 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8735
8736         * MenuBackend.C (expand): use Floating::listName
8737
8738         * FloatList.C (FloatList): add listName argument to the built-in
8739         floats
8740
8741         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8742         text associated with the float.
8743
8744 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8745
8746         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8747
8748 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8749
8750         * ShareContainer.h: add a couple of missing typenames.
8751
8752 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8753
8754         * lyxrc.C (getDescription): use _() correctly rather than N_().
8755
8756 2002-03-28  Herbert Voss  <voss@lyx.org>
8757
8758         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8759         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8760
8761 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8762
8763         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8764         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8765
8766 2002-03-29  Juergen Vigna  <jug@sad.it>
8767
8768         * lyxfunc.C (dispatch): add a missing fitCursor call.
8769
8770         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8771         it was scrolled by a cursor move, so return the bool status.
8772
8773         * BufferView.C (fitCursor): return the bool flag also to the outside
8774         world as this is needed.
8775
8776         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8777
8778         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8779         call the edit() as it is not needed (and wrong) IMO.
8780         (workAreaButtonPress): set the screen_first variable before evt.
8781         unlock the inset as this may change screen_first and then we have
8782         a wrong y position for the click!
8783
8784 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * MenuBackend.C (expand): another translation that I missed
8787
8788 2002-03-28  Juergen Vigna  <jug@sad.it>
8789
8790         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8791
8792         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8793
8794 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8797
8798         * MenuBackend.C (expand): fix export/view/update when there is no
8799         document open.
8800
8801 2002-03-27  Herbert Voss  <voss@lyx.org>
8802
8803         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8804         and text%
8805
8806 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * bufferview_funcs.C (currentState): only show paragraph number
8809         for is DEVEL_VERSION is set.
8810
8811         * lyxfunc.C (dispatch): put warning in INFO channel
8812
8813         * MenuBackend.C (expand): translate the name of floats
8814
8815         * FloatList.C (FloatList): mark the float names for translation
8816
8817         * converter.C (convert): use LibScriptSearch
8818
8819 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * MenuBackend.C (defaults): fix default menu (we might as well get
8822         rid of it...)
8823
8824 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8825
8826         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8827         directory.
8828
8829 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8830
8831         * lyxvc.C: reorder includes.
8832
8833 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8834
8835         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8836           properly
8837
8838 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8839
8840         * CutAndPaste.C: change layouts earlier on paste
8841           to avoid crashing when calling getFont()
8842
8843 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8844
8845         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8846         irritating #error.
8847
8848 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8849
8850         * WorkArea.C: remove 'Pending' debug message.
8851
8852         * most files: ws cleanup
8853
8854         * buffer.[Ch]: ws changes
8855
8856         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8857
8858 2002-03-21  Juergen Vigna  <jug@sad.it>
8859
8860         * tabular.C (SetMultiColumn): collapse also the contents of the
8861         cells and set the last border right. Added a Buffer const * param.
8862
8863 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8864
8865         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8866         linking or not.
8867
8868 2002-03-19  Juergen Vigna  <jug@sad.it>
8869
8870         * text2.C (clearSelection): reset also xsel_cache.
8871
8872         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8873         where it needs to be called (John tells us to do so too :)
8874         (selectionLost): reset sel_cache.
8875
8876         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8877
8878 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * text2.C (setCursorIntern): put debuging code in INSETS channel
8881
8882 2002-03-19  André Pönitz <poenitz@gmx.net>
8883
8884         * lyxfunc.C: tiny whitespace change
8885
8886 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8887
8888         * ToolbarDefaults.C (init):
8889         * LyXAction.C (init):
8890         * commandtags.h:
8891         * BufferView_pimpl.C (Dispatch):
8892         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8893
8894 2002-03-19  Allan Rae  <rae@lyx.org>
8895
8896         * exporter.C (Export): removeAutoInsets before doing anything else.
8897         While I've just introduced a dependency on BufferView this really is
8898         the best place to clean the buffer otherwise you need to cleanup in
8899         a dozen places before calling export or cleanup in a dozen functions
8900         that export calls.
8901
8902         * converter.C (runLaTeX):
8903         (scanLog): Better handling of removeAutoInsets and screen updates.
8904
8905         * lyxfunc.C (dispatch): small whitespace changes
8906
8907 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8908
8909         * WorkArea.C (C_WorkAreaEvent): return a value.
8910         (event_cb): return 1 if we handled the event, 0 otherwise.
8911
8912         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8913
8914 2002-03-18  Juergen Vigna  <jug@sad.it>
8915
8916         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8917         (GetAdditionalWidth): ditto.
8918         (RightLine): ditto.
8919         (LeftLine): ditto.
8920
8921         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8922         inset if we're there actually (probably not used right now but this
8923         is the direction to go for unifying code).
8924         (paste): disable code to clear the selection.
8925
8926         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8927         inside an InsetText and move the check further up as it is in the
8928         wrong place.
8929
8930         * text2.C (pasteSelection): set a selection over the pasted text.
8931
8932 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8933
8934         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8935         and libgraphics to build on Cygwin.
8936
8937 2002-03-15  Juergen Vigna  <jug@sad.it>
8938
8939         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8940         inserting an Inset into the paragraph. I know this is not the best
8941         fix but we already use current_view in CutAndPaste so we will remove
8942         all of it's using at the same time.
8943
8944         * buffer.C (sgmlError): deactivated function till it is rewritten in
8945         the right mode, now it can create problems.
8946
8947         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8948         before accessing it.
8949
8950 2002-03-14  Juergen Vigna  <jug@sad.it>
8951
8952         * undo_funcs.C (textHandleUndo): do the right thing when updating
8953         the inset after the undo/redo.
8954
8955         * text2.C (setCursor): just some testcode for #44 not ready yet.
8956
8957         * undo_funcs.C (textHandleUndo): set the next() and previous()
8958         pointers of the paragraph to 0 before deleting otherwise we have
8959         problems with the Paragraph::[destructor].
8960
8961         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8962         on a paragraph insertion.
8963
8964 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * buffer.C (asciiParagraph): use += operator for char append to
8967         string.
8968
8969         * paragraph.C (getFontSettings): compare >= not just >
8970         (highestFontInRange): ditto
8971         (setFont): ditto
8972
8973 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8974
8975         * paragraph.C: change several algorithm to be more appripriate for
8976         the problem domain. This is lookip in FontList and in the InsetList.
8977
8978 2002-03-13  André Pönitz <poenitz@gmx.net>
8979
8980         * commandtags.h:
8981         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8982
8983 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8984
8985         * commandtags.h:
8986         * LyXAction.C:
8987         * lyxfunc.C:
8988         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8989
8990 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8991
8992         * Painter.C (display): anon helper function, adjust code for this
8993         change.
8994         (pixmap): remove function.
8995
8996         * Painter.h: remove private display variable.
8997
8998         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8999
9000 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9001
9002         * WorkArea.[Ch]: remove figinset_canvas cruft.
9003
9004 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9005
9006         * lyxtextclass.C (operator): add one item cache optimization.
9007
9008         * bufferlist.h: doxy changes
9009
9010         * bufferlist.C: ws changes
9011
9012         * DepTable.[Ch] (ext_exist): place const in the right spot.
9013
9014         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9015         call resizeInsets.
9016         (workAreaExpose): call resizeInsets when the with BufferView changes.
9017         (Dispatch): adjust for protectedBlank removal
9018         (specialChar): call updateInset if the insert went ok.
9019
9020         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9021         specialChar instead.
9022
9023         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9024
9025         * BufferView.h: doxy change
9026
9027         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9028
9029         * lyxtextclass.C (operator[]): remove non-const version
9030         (defaultLayout): remove non-const version
9031
9032 2002-03-12  Juergen Vigna  <jug@sad.it>
9033
9034         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9035         did resize the LyXText too.
9036
9037         * buffer.C (readLyXformat2): set layout information on newly allocated
9038         paragraphs.
9039
9040         * tabular.C (OldFormatRead): set layout information on the paragraph.
9041
9042 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9043
9044         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9045
9046 2002-03-11  Juergen Vigna  <jug@sad.it>
9047
9048         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9049         plainly wrong.
9050         (resizeCurrentBuffer): force also the insets to resize themselfes.
9051         (moveCursorUpdate): fixed up for InsetText.
9052
9053 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9054
9055         * commandtags.h:
9056         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9057         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9058         value of Dialogs::tooltipsEnabled().
9059         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9060
9061 2002-03-08  Juergen Vigna  <jug@sad.it>
9062
9063         * BufferView_pimpl.C (updateInset): update inset inside inset also
9064         if it isn't inside theLockingInset().
9065
9066 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9067
9068         * buffer.C (asciiParagraph): redo some of the word and line length
9069         handling.
9070         (getLists): look for Caption instead of caption.
9071
9072 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9073
9074         * buffer.C (Buffer): initialize niceFile to true
9075         (makeLaTeXFile):
9076         (makeLinuxDocFile):
9077         (makeDocBookFile): make sure niceFile is true on exit
9078
9079 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9080
9081         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9082
9083 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9084
9085         * LyXSendto.C: remove.
9086         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9087         * lyx_gui.C: remove now-redundant comment.
9088         * ColorHandler.h: remove forward declaration of class WorkArea.
9089         * lyxfunc.C: remove #include "WorkArea.h".
9090
9091 2002-03-07  Juergen Vigna  <jug@sad.it>
9092
9093         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9094         got moved away with the DEPM and also set the inset_owner always
9095         right which before could have been omitted.
9096
9097 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9098
9099         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9100         wanted layout is not found.
9101
9102 2002-03-07  Juergen Vigna  <jug@sad.it>
9103
9104         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9105
9106 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * paragraph.C (breakParagraph): use default layout not layout of
9109         prev paragraph.
9110         (Paragraph): clear ParagraphParameters.
9111
9112 2002-03-06  Juergen Vigna  <jug@sad.it>
9113
9114         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9115         otherwise it would not be a valid lenght. Fixed a special case in
9116         the minipage compatibility read where we end the document with a
9117         minipage.
9118
9119         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9120         was set as it could be 0 for InsetTexts first entry.
9121
9122 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * paragraph.C (writeFile): if layout is empty write out
9125         defaultLayoutName().
9126
9127         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9128         file without named layout we set layout to defaultLayoutName().
9129
9130 2002-03-06  Juergen Vigna  <jug@sad.it>
9131
9132         * CutAndPaste.C (copySelection): set layout for new paragraph.
9133
9134         * text.C (prepareToPrint): leave ERT inset left aligned
9135         (leftMargin): don't indent paragraphs inside ERT insets
9136
9137 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * paragraph.C (breakParagraph): dont call clear do the work manually
9140
9141         * paragraph.[Ch] (clear): remove function
9142
9143 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9144
9145         * paragraph.C (Paragraph): dont call clear, the work has already
9146         been done.
9147
9148         * lyxtextclass.C (operator): assert if n is empty
9149
9150         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9151         work manually instead.
9152
9153 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9154
9155         * BufferView_pimpl.C: protect selectionLost against text == 0
9156
9157 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9158
9159         * text.C (breakParagraph): fix a setting layout to '0' problem.
9160
9161 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9162
9163         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9164         final location of file, for the included files, and graphics.
9165
9166 2002-03-05  Juergen Vigna  <jug@sad.it>
9167
9168         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9169
9170 2002-03-04  Juergen Vigna  <jug@sad.it>
9171
9172         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9173
9174         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9175         last column of multicolumn cells.
9176         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9177
9178 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9179
9180         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9181         file if it doesn't go to a temporary file.
9182
9183         * buffer.C (sgmlOpenTag):
9184         (sgmlCloseTag):  remove extra newline insertion.
9185
9186 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9187
9188         * text.C (getRowNearY): comment out debug msg
9189
9190 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * text2.C: first -> first_y
9193
9194         * text.C (getRowNearY): add some attemts at a possible
9195         optimization, not working.
9196
9197         * tabular.[Ch]: add BufferParams to several function so that newly
9198         created paragraph can be initialized to he default layotu for the
9199         buffers textclass.
9200
9201         * tabular-old.C (ReadOld): add buf->params to call of Init
9202
9203         * screen.C: rename text->first to text->first_y
9204
9205         * paragraph.C (breakParagraph): always set layout in the broken
9206         paragraph
9207
9208         * lyxtextclass.C (Read): remove lowercase
9209         (hasLayout): ditto
9210         (operator): ditto
9211         (delete_layout): ditto
9212
9213         * lyxtext.h: rename first -> first_y
9214
9215         * lyxlayout.C (Read): remove lowercase
9216         (name): ditto
9217         (setName): ditto
9218         (obsoleted_by): ditto
9219
9220         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9221
9222         * buffer.C (insertErtContents): add params are to InsetERT
9223         (parseSingleLyXformat2Token): add code to check if a paragraphs
9224         layout really exist.
9225         (parseSingleLyXformat2Token): add params to several inset
9226         constructors
9227         (asciiParagraph): remove lowercase, do the layout comparisons with
9228         no_case
9229
9230         * BufferView_pimpl.C (cursorNext): first -> first_y
9231         (resizeCurrentBuffer): first -> first_y
9232         (updateScrollbar): first -> first_y
9233         (scrollCB): first -> first_y
9234         (workAreaMotionNotify): first -> first_y
9235         (workAreaButtonPress): first -> first_y
9236         (checkInsetHit): first -> first_y
9237         (cursorPrevious): first -> first_y
9238         (cursorNext): first -> first_y
9239         (Dispatch): add buffer_->params to severl inset contructors
9240
9241 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9242
9243         * lyxlayout.C (Read): remove some debug info that I forgot.
9244
9245         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9246         clean up the code slightly.
9247         (makeLinuxDocFile): ditto
9248         (makeDocBookFile): ditto
9249
9250         * text2.C: layout as string
9251
9252         * text.C: layout as string
9253
9254         * paragraph_pimpl.C: layout as string
9255
9256         * paragraph.[Ch]: layout as string
9257
9258         * lyxtextclasslist.[Ch]: layout as string
9259
9260         * lyxtextclass.[Ch]: layout as string
9261
9262         * lyxtext.h: layout as string
9263
9264         * lyxlayout.[Ch]: layout as string
9265
9266         * lyx_cb.C: layout as string
9267
9268         * bufferview_funcs.C: layout as string
9269
9270         * bufferparams.C: layout as string
9271
9272         * buffer.C: layout as string
9273
9274         * LyXView.[Ch]: layout as string
9275
9276         * LaTeXFeatures.[Ch]: layout as string
9277
9278         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9279
9280         * BufferView_pimpl.C: change current_layout to string, remove
9281         lyx::layout_type.
9282         (Dispatch):
9283         (smartQuote):
9284         (insertInset):
9285         (workAreaButtonRelease): layout as string
9286
9287         * BufferView2.C (unlockInset): adjust
9288
9289         * vspace.C (asLatexCommand): use an explict temp variable.
9290
9291 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9292
9293         * Makefile.am: use FRONTEND_*
9294
9295 2002-03-01  Juergen Vigna  <jug@sad.it>
9296
9297         * tabular.C (SetWidthOfMulticolCell): changed to something better
9298         I hope but still work in progress.
9299         (recalculateMulticolumnsOfColumn): renamed function from
9300         recalculateMulticolCells as it is more appropriate now.
9301         (SetWidthOfCell): calculate multicols better.
9302
9303 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9304
9305         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9306
9307         * lyxfunc.C (processKeySym): print sequence also if it is
9308         `deleted' (complete)
9309
9310         * kbsequence.C (print): print sequence even if it is deleted
9311         (complete would be a better word, actually).
9312
9313         * lyxfunc.C (dispatch): print complete options after a prefix key
9314
9315         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9316
9317 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9318
9319         * text2.C (setCharFont): eliminate setCharFont code duplication.
9320
9321 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9322
9323         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9324         LFUN_TABULAR_FEATURE (bug #177)
9325
9326 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9327
9328         * Makefile.am: remove figure.h
9329
9330 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9331
9332         * Bufferview_pimpl.C:
9333         * CutAndPasteC:
9334         * LaTeX.C:
9335         * LyXSendto.C:
9336         * buffer.C:
9337         * bufferlist.C:
9338         * converter.C:
9339         * language.C:
9340         * lyxfunc.C:
9341         * lyxvc.C:
9342         * paragraph.C:
9343         * text.C:
9344         * text2.C: remove #include "lyx_gui_misc.h".
9345
9346         * LaTeX.C: added #include <cstdio>
9347
9348 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9351         that the paragraph following this one can have.
9352
9353         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9354
9355         * vspace.C (asLatexCommand): fix bogus gcc warning
9356
9357         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9358
9359 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9360
9361         * text2.C (setLayout): get rid of redundant code
9362
9363 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9364
9365         * text2.C (incDepth): make sure depth cannot be increased beyond
9366         reasonable values.
9367
9368 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9369
9370         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9371         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9372
9373         * PainterBase.h (image):
9374         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9375         a LyXImage const *.
9376
9377 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * BufferView.C:
9380         * BufferView.h:
9381         * BufferView_pimpl.C:
9382         * BufferView_pimpl.h:
9383         * LaTeXFeatures.C:
9384         * LyXAction.C:
9385         * LyXView.C:
9386         * Makefile.am:
9387         * UpdateList.h:
9388         * UpdateList.C:
9389         * buffer.C:
9390         * figure.h:
9391         * figureForm.C:
9392         * figureForm.h:
9393         * figure_form.C:
9394         * figure_form.h:
9395         * lyx_cb.C:
9396         * lyx_gui.C:
9397         * lyx_gui_misc.C:
9398         * lyxfunc.C:
9399         * sp_base.h:
9400         * sp_ispell.h:
9401         * sp_pspell.h:
9402         * sp_spell.C: remove fig inset, and the crap house of
9403           cards that follows it
9404
9405 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * Makefile.am:
9408         * lyxserver.C:
9409         * os2_defines.h:
9410         * os2_errortable.h:
9411         * nt_defines.h: move .h into support/
9412
9413         * vms_defines.h: remove
9414
9415         * WorkArea.C: add space in debug output
9416
9417         * text2.C:
9418         * paragraph.C:
9419         * buffer.C: add WITH_WARNINGS
9420
9421         * vc-backend.h:
9422         * vc-backend.C:
9423         * bufferlist.C: s/retrive/retrieve/, add docs
9424
9425         * vspace.h:
9426         * vspace.C:
9427         * kbmap.h:
9428         * lyxlength.h:
9429         * lyxgluelength.h:
9430         * length_common.h:
9431         * chset.h:
9432         * chset.C: add docs
9433
9434         * lyxgui.C: add ID to X error handler
9435
9436         * lyxtestclass.c: fix typo
9437
9438 2002-02-26  Juergen Vigna  <jug@sad.it>
9439
9440         * tabular_funcs.C (write_attribute): changed so that some default
9441         attributes are not written at all.
9442         (getTokenValue): set default values before trying to read the
9443         value so we have the return value always set as default if we don't
9444         find the token we search for.
9445
9446         * tabular.C (Write): write bools as bools not as strings!
9447
9448 2002-02-22  Juergen Vigna  <jug@sad.it>
9449
9450         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9451         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9452
9453         * text.C (leftMargin): don't add an indent for paragraphs inside
9454         tabular cells (fix #208).
9455
9456 2002-02-21  José Matos  <jamatos@fep.up.pt>
9457
9458         * tabular.C (docBook): fixed support for long tables.
9459
9460 2002-02-20  Juergen Vigna  <jug@sad.it>
9461
9462         * text2.C (getFont): get the drawing font of the Inset if this
9463         paragraph is inside an inset (only important for InsetERT for now).
9464
9465         * buffer.C (insertErtContents): use new lanugage params in ERT
9466         constructor.
9467
9468         * CutAndPaste.C: commenting out seemingly uneeded code.
9469
9470 2002-02-19  Allan Rae  <rae@lyx.org>
9471
9472         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9473         Iterators might be simple to use but they also get invalidated.
9474         (removeAutoInsets): renamed saved cursor tracking variables and added
9475         some comments to clarify what everything does.
9476
9477 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9478
9479         * Chktex.C:
9480         * LaTeX.C:
9481         * LyXSendto.C:
9482         * converter.C:
9483         * lyx_cb.C:
9484         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9485         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9486
9487         * lyxfunc.C:
9488         * vc-backend.h: remove #include "support/syscall.h"
9489
9490         * LaTeX.C:
9491         * LyXSendto.C:
9492         * converter.C: rearrange #includes in Lars' approved fashion.
9493
9494         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9495         forward declare class Timeout in the header file.
9496
9497         * XFormsView.C: changes due to the above.
9498
9499         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9500         similar to LyXView.
9501
9502         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9503         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9504
9505 2002-02-18  José Matos  <jamatos@fep.up.pt>
9506
9507         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9508         insets contents.
9509
9510 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9511
9512         * a lot of small ws changes
9513         * add a lot of using std::XXX
9514         * use std construcs some places where approp.
9515         * use some exisint stuff from lyxfunctional where approp.
9516         * Make file changes to use partial linking (lets test this now...)
9517
9518 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9519
9520         * Chktex.C:
9521         * buffer.C:
9522         remove #include "support/syscontr.h" as it's redundant. Always has been.
9523
9524         * Chktex.C:
9525         * LaTeX.C:
9526         * LyXSendto.C:
9527         * converter.C:
9528         * lyx_cb.C:
9529         * vc-backend.C:
9530         change Systemcalls::System to Systemcalls::Wait and
9531         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9532         No change of functionality, just reflects the stripped down Systemcalls
9533         class.
9534
9535 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9536
9537         * debug.[Ch]: add a GRAPHICS type to the enum.
9538
9539 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9542
9543         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9544         there is an inset.
9545
9546 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9549         match the changes below.
9550
9551         * text2.C (toggleInset): if there is not editable inset at cursor
9552         position, try to see if cursor is _inside_ a collapsable inset
9553         and close it.
9554
9555 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9556
9557         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9558         document menu has a nice checkbox
9559
9560 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * lyxlength.C (asLatexString): change PW to output as percent of
9563         \textwidth.
9564
9565         * lengthcommon.C: change '%' to 't%'
9566
9567         * lyxfunc.C (dispatch): a few comments from Martin
9568
9569 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * WorkArea.h:
9572         * WorkArea.C:
9573         * BufferView_pimpl.h:
9574         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9575           the X selection.
9576
9577 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * vspace.C (inPixels): fix compiler warning
9580
9581 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * lyxfunc.C (getStatus): fix status message for disabled commands.
9584
9585 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9586
9587         * BufferView_pimpl.C: fix crash on close buffer
9588         during selection (#227)
9589
9590 2002-01-27  Herbert Voss  <voss@lyx.org>
9591
9592         * buffer.C: link old Figure to new graphic inset
9593
9594 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9595
9596         * FontLoader.C (getFontinfo): Change the latex font names in order
9597         to match the names of type1inst.
9598
9599 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9600
9601         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9602
9603         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9604         (extchanged): ditto
9605         (ext_exist): ditto
9606         (remove_files_with_extension): ditto
9607         (remove_file): ditto
9608         (write): ditto
9609
9610         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9611         document is smaller than the work area height. Do not initialize
9612         static variables to 0.
9613
9614 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9617
9618         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9619         LFUN_LAYOUT_PARAGRAPHS.
9620
9621         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9622         tabular. It is possible to provide a possible cell, which will
9623         typically be the actcell from the corresponding insettabular
9624
9625         * lyxfunc.C (getStatus): small cleanup; disable
9626         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9627         true
9628
9629 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9632
9633         * paragraph.C (startTeXParParams):
9634         (endTeXParParams): new methods. The LaTeX code to
9635         start/end paragraph formatting
9636         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9637         empty (fixes bug #200)
9638
9639         * vspace.C (inPixels): adapt to the change below
9640         (inPixels): [later] more cleanups (remove unused variables)
9641
9642         * lyxlength.C (inPixels): change to use a width and a height as
9643         parameter.
9644
9645 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9648         Replaced with \paperwidth
9649
9650         * DepTable.C (insert): add std:: qualifier
9651
9652 2002-01-18  Allan Rae  <rae@lyx.org>
9653
9654         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9655         updated also?
9656
9657         * text.C (drawInset): Turned out I didn't know enough about how
9658         rebreaking worked.  This fixes most of the redraw problems.  I see
9659         an occasional cursor trail when a line is broken now and the cursor
9660         placement can seem out by a few pixels also after a rebreak.
9661
9662 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * buffer.C (parseSingleLyXformat2Token): update because minipage
9665         width is now a LyXLength
9666
9667         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9668
9669         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9670         math insets
9671
9672 2002-01-17  Juergen Vigna  <jug@sad.it>
9673
9674         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9675
9676         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9677         is set correctly and the inset is updated correctly.
9678
9679 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9682         the beginning of the loop.
9683
9684 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * lyxrc.C: improve help for use_scalable_fonts
9687
9688 2002-01-17  Allan Rae  <rae@lyx.org>
9689
9690         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9691
9692 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9695         make sure to set their inset_owner to the right value (bug #171)
9696
9697 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9698
9699         * DepTable.h
9700         * DepTable.C: Implement mtime checking to reduce time spent doing
9701         CRCs.
9702
9703 2002-01-16  Juergen Vigna  <jug@sad.it>
9704
9705         * tabular.C (GetAdditionalHeight): one of error fixed.
9706
9707         * lyxrc.C (output): small fix in writing use_pspell.
9708
9709 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9710
9711         * sp_base.h: #include LString.h
9712
9713 2002-01-16  Allan Rae  <rae@lyx.org>
9714
9715         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9716         Can someone check this please?
9717
9718         * text.C (drawInset): It was possible that p.row would be removed by
9719         breakAgainOneRow upsetting a few other settings.  There may be another
9720         small tweak possible by setting need_break_row = 0 when p.row has been
9721         removed but I don't know enough about the logic here.
9722
9723 2002-01-15  Allan Rae  <rae@lyx.org>
9724
9725         * text.C (insertChar): removed conditional truism.
9726
9727         * BufferView2.C (removeAutoInsets): More tweaks.
9728         cur_par_prev could be a stray pointer.  Check for trailing empty line
9729         in case last line was cur_par and only had an error inset on it.
9730
9731 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9732
9733         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9734         absolute
9735
9736         * vc-backend.C (most methods):
9737         * exporter.C (Export):
9738         * converter.C (convert):
9739         (runLaTeX):
9740         * LyXSendto.C (SendtoApplyCB):
9741         * lyxfunc.C (dispatch):
9742         (menuNew):
9743         (open):
9744         (doImport):
9745         * lyx_cb.C (AutoSave):
9746         (InsertAsciiFile):
9747         * BufferView_pimpl.C (MenuInsertLyXFile):
9748         * buffer.C (runChktex): use Buffer::filePath().
9749
9750         * buffer.h: rename filename to filename_; rename filepath to
9751         filepath_ and make it private
9752         (filePath): new method
9753
9754         * buffer.C (writeFile): use fileName()
9755         (getLatexName):
9756
9757         * lyx_main.C (init): fix starting  of LyX when the binary is a
9758         link from so,ewhere else.
9759
9760         * minibuffer.C: include <cctype> for isprint
9761
9762 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9765         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9766         name clash with InsetCollapsable's width function.
9767
9768 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9769
9770         * lastfiles.C: include <iterator>
9771
9772 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9773
9774         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9775         std::count.
9776
9777         * buffer.C (makeLaTeXFile): ditto.
9778         Also make loop operation more transparent.
9779
9780 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9781
9782         * ToolbarDefaults.C: remove trailing comma closing namespace.
9783
9784         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9785
9786         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9787         as in WorkArea.
9788
9789         * trans.C (Load): comment out unused variable, allowed.
9790
9791 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9792
9793         * minibuffer.[Ch] (append_char): new method to recieve input from the
9794         drop-down completion browser. If a key was pressed, then recieve this
9795         char and append it to the existing string.
9796         (peek_event): modify the positioning data passed to the completion
9797         browser so that it can be placed above the minibuffer rather than below.
9798 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * LyXAction.C (init): alloe error-next for readonly documents.
9801
9802         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9803         count.
9804
9805 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9806
9807         * bufferlist.C (readFile): create the buffer _after_ checking that
9808         the file exists.
9809
9810         * lyxfunc.C (verboseDispatch): fix handling of arguments
9811
9812         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9813
9814         * lyxrc.C: use string::erase() instead of initializing to "".
9815
9816
9817 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9818
9819         * BufferView_pimpl.h:
9820         * BufferView_pimpl.C:
9821         * WorkArea.h:
9822         * WorkArea.C:
9823         * text2.C: tell X when we have made a selection for copying
9824
9825 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9826
9827         * BufferView_pimpl.C (MenuInsertLyXFile):
9828         * lyxfunc.C (menuNew):
9829         (open):
9830         (doImport): add shortcuts to directory buttons
9831
9832         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9833         open a float)
9834
9835         * lyxfunc.C (setStatusMessage):
9836         (getStatusMessage): new methods
9837         (getStatus):use setStatusMessage instead of setErrorMessage
9838         (dispatch): when function is disabled, set error message here
9839         [instead of in getStatus previously]
9840
9841         * BufferView_pimpl.C (workAreaButtonRelease): update
9842         toolbar/menubar here too.
9843
9844 2002-01-13  Allan Rae  <rae@lyx.org>
9845
9846         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9847         Now seems indestructible.  Remaining task is to audit all other
9848         code affected by deleteEmptyParagraphMechanism.  One small quirk
9849         left is that an empty document with an error in the preamble can
9850         be made to report an error but no error box appears.  I don't know
9851         where it goes.
9852         (removeAutoInsets): Improved comments.
9853
9854 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * Thesaurus.h:
9857         * Thesaurus.C: update for Aiksaurus 0.14
9858
9859 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9860
9861         * text2.C (firstParagraph): removed member function, all uses
9862         replaces with ownerParagraph
9863         (redoParagraphs): here
9864         (updateInset): here
9865         (toggleAppendix): here
9866         * BufferView2.C (insertErrors): here
9867         (setCursorFromRow): here
9868
9869 2002-01-13  Allan Rae  <rae@lyx.org>
9870
9871         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9872         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9873         There is still a way to segfault this although you may have to do this
9874         multiple times: Have an InsetERT with an unknown command in it.
9875         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9876         <down-arrow>, <Enter> again, View->DVI, BANG!
9877
9878         * text2.C (setCursor):
9879         (deleteEmptyParagraphMechanism):
9880         * lyxtext.h (setCursor):
9881         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9882         Making use of the return value may help fix other bugs.
9883
9884 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9885
9886         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9887
9888         * LyXView.C (updateMenubar): call MenuBar::update here
9889         (updateToolbar): but not here
9890         (showState): do not update toolbar/menubar
9891
9892         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9893         should need to care about that.
9894
9895         * lyxfunc.C (verboseDispatch): simplify a bit
9896         (getStatus): have a version which takes a pseudoaction, and
9897         another which requires a (kb_action,string).
9898
9899         * LyXAction.C (retrieveActionArg): make it work also when action
9900         is not a pseudo-action.
9901         (getActionName): simplify a bit
9902         (helpText):
9903
9904 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * lyxfunc.C (verboseDispatch): new families of methods with
9907         several ways to specify a command and a bool to indicate whether
9908         the command name and shortcut should be displayed in minibuffer
9909         (eventually, we could extend that to a finer bitmask like
9910         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9911         (dispatch): the pristine dispatch command which just, well,
9912         dispatchs! Note it still sets its result to minibuffer; I'm not
9913         sure we want that.
9914
9915         * lyxfunc.h: remove setHintMessage
9916
9917         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9918
9919 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * BufferView_pimpl.C (specialChar): delete new inset if we have
9922         not been able to insert it.
9923
9924         * kbmap.C: revert to using int instead of kb_action, since all we
9925         are dealing with is pseudo-actions.
9926
9927         * LyXAction.C (searchActionArg): change to return int instead of
9928         kb_action, since the result is a pseudoaction.
9929
9930 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * buffer.C (insertErtContents): Fix (partially) the font bug.
9933
9934 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9935
9936         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9937         as the other one is broken on my machine!
9938
9939 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9940
9941         * commandtags.h:
9942         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9943
9944 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9945
9946         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9947         reflect their actual use. Provide compatibility code for older lyxrc
9948         files.
9949
9950         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9951         FL_NORMAL_STYLE.
9952         change names of popup font variables in line with the changes to lyxrc.C
9953
9954 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * buffer.C (asciiParagraph): avoid outputing a word twice after
9957         an inset.
9958
9959         * lyxrc.C (getDescription): document that document_path and
9960         template_path can be empty.
9961
9962 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963
9964         * LaTeXFeatures.C (getMacros):
9965         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9966
9967         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9968
9969         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9970         getPackages.
9971         (getPackages): rename feature "floats" to "float". Use an array to
9972         iterate over 'simple' features (i.e. just a \usepackage). Add
9973         handling of "amsmath" (renamed from "amsstyle").
9974
9975 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9976
9977         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9978         features list.
9979
9980 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9981
9982         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9983         FuncStaus::FuncStatus & FuncStaus::some_method().
9984
9985 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9986
9987         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9988         of the func_satus stuff. Edited and massaged in various ways by
9989         JMarc.
9990
9991         * lyxfunc.C (getStatus): use FuncStatus
9992
9993 2002-01-08  Juergen Vigna  <jug@sad.it>
9994
9995         * text.C (nextBreakPoint): use function Inset::isChar().
9996
9997         * paragraph.C (TeXOnePar): use function
9998         Inset::forceDefaultParagraphs.
9999
10000         * buffer.C (latexParagraphs): use function
10001         Inset::forceDefaultParagraphs.
10002
10003 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * lyx_gui.C (init): set the style of the menu popups to
10006         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10007
10008 2002-01-07  Juergen Vigna  <jug@sad.it>
10009
10010         * text.C (setHeightOfRow): small fix
10011         (prepareToPrint): don't look at alignment if we don't have the place
10012         for doing it.
10013
10014 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10015
10016         * box.C: New file. Move the Box methods and functions out of box.h,
10017         following Lars' suggestion.
10018
10019 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10020
10021         * box.h: #include "support/LOstream.h", needed for inlined function.
10022
10023         * lyxtextclass.C:
10024         * lyxtextclasslist.C: added some using std declarations.
10025
10026 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * box.h: make signed dimensions to allow insets wider than
10029           the screen (bug #162)
10030
10031         * BufferView_pimpl.C: add some insetHit debug
10032
10033 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * vc-backend.C: add FIXME
10036
10037 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * lyxfunc.C (getStatus): enable code for showing math font status
10040         in toolbar/menu.
10041
10042 2002-01-07  Juergen Vigna  <jug@sad.it>
10043
10044         * text.C (nextBreakPoint): removed debug output not needed anymore.
10045
10046 2002-01-06  Juergen Vigna  <jug@sad.it>
10047
10048         * text.C (nextBreakPoint): fixed up this function we had this bug
10049         since ever but now hopefully we break row better.
10050         (insertChar): we have to check if an inset is the next char as it
10051         could now happen that a large inset is causing a break.
10052
10053 2002-01-05  Juergen Vigna  <jug@sad.it>
10054
10055         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10056         if it doesn't like to be drawed.
10057
10058 2002-01-04  Juergen Vigna  <jug@sad.it>
10059
10060         * BufferView2.C (lockInset): forgot to set a cursor.
10061
10062         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10063
10064 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10065
10066         * FormMathsPanel.C:
10067         * FormMathsPanel.h
10068         * MathsSymbols.C:
10069         * form_maths_panel.C:
10070         * form_maths_panel.h:
10071         * form_maths_panel.fd: implemented sub- and super- buttons in math
10072         panel.
10073
10074         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10075         (or ^ space) to be used as in TeX (req'd by André).
10076
10077         * lyxfunc.C: Allow ^ and _ again to be used both as
10078         super/subscript (mathed) and as themselves (in text).
10079
10080 2002-01-03  Allan Rae  <rae@lyx.org>
10081
10082         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10083         "LyX" or the filename of the current buffer if it has one.  This is a
10084         modified form of John Levon's patch.
10085
10086         * XFormsView.C (setWindowTitle): also set icon title.
10087
10088         * LyXView.h (setWindowTitle): signature changed.
10089         * XFormsView.h (setWindowTitle): ditto.
10090
10091 2002-01-02  Juergen Vigna  <jug@sad.it>
10092
10093         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10094
10095 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * screen.C (topCursorVisible): introduce a temp var for
10098         text->cursor.row(), handle the case where this row is null. (kindo
10099         hachish)
10100
10101         * text2.C (setCursor): add a couple of asserts.
10102
10103         * paragraph.h (inset_iterator): add -> operator
10104
10105         * paragraph.[Ch] (autoDeleteInsets): remove member function
10106
10107         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10108         cursor pos correctly and handle inset deletion by itself.
10109         (insertErrors): move iterator declaration out of for expression
10110
10111         * lyxtextclass.C: add <algorithm>
10112
10113         * Makefile.am: added the new files to sources, removed layout.C
10114
10115         * layout.C: removed file
10116
10117         * layout.h: remove LYX_DUMMY_LAYOUT
10118
10119         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10120         layout.
10121
10122         * lyxlayout.[Ch]:
10123         * lyxtextclass.[Ch]:
10124         * lyxtextclasslist.[Ch]: new files
10125
10126         * include order changes to a lot of files, also changes because of
10127         the six new files.
10128
10129 2001-12-27  Juergen Vigna  <jug@sad.it>
10130
10131         * buffer.C (asciiParagraph): more fixes.
10132
10133         * tabular.C (ascii): make ascii export support export of only the
10134         data separated by a column-delimiter.
10135         (ascii): better support for ascii export.
10136
10137         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10138
10139 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10140
10141         * tabular_funcs.C: use a "using std::getline" instead of the
10142         previous fix from Angus (necessary for cxx + lyxstring)
10143
10144 2001-12-24  Juergen Vigna  <jug@sad.it>
10145
10146         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10147
10148         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10149         problems. First check a minipage also if we have some ert-contents
10150         (not only on par->size(), second set the right depth of the paragraph
10151         on the relink to the root-paragraph-list!
10152
10153         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10154         which then did not anymore update the main paragraphs on undo/redo!
10155
10156 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10159         code. Support all font-changing funcs (even those which are not in
10160         menu currently). Support for reporting font settings in
10161         mathed (disabled until Andre provides a function on mathed's side).
10162
10163         * func_status.h (toggle): small helper function to set toggle
10164         state on a flag.
10165
10166 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10167
10168         * tabular_funcs.C: getline -> std::getline
10169
10170 2001-12-21  Juergen Vigna  <jug@sad.it>
10171
10172         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10173         accessed and could be 0 (I couldn't generate this but it seems
10174         Michael could!).
10175
10176 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10177
10178         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10179         * tabular_funcs.h: here and include iosfwd
10180
10181 2001-12-20  Juergen Vigna  <jug@sad.it>
10182
10183         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10184         inside inset but undo_par was.
10185
10186 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * Thesaurus.C: always include <config.h> in sources.
10189
10190         * Painter.h:
10191         * lyxlookup.h:
10192         * box.h: do not include <config.h> in header files
10193
10194         * text.C (paintLastRow): remove unused variable
10195
10196         * text.C (transformChar):
10197         (insertChar):
10198         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10199
10200         * Painter.C (text):
10201         * font.C (width): rewrite to use uppercase() instead of
10202         islower/toupper.
10203
10204         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10205
10206 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * lyxfind.C: clean up of find failure position change
10209
10210 2001-12-20  Juergen Vigna  <jug@sad.it>
10211
10212         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10213
10214         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10215         (TeXRow): added to LaTeX a single tabular row.
10216         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10217         (Latex): simplified and finally good LT-h/f support.
10218         (various_functions): just small adaptions for LT-h/f support.
10219
10220         * tabular_funcs.[hC]: added and moved here all not classfunctions
10221         of LyXTabular.
10222
10223 2001-12-19  Juergen Vigna  <jug@sad.it>
10224
10225         * tabular.[Ch]: better support for longtabular options (not finished
10226         yet!)
10227
10228 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10229
10230         * text.C (paintLastRow): use the label font instead of the font of
10231         the last character to compute the size of *_BOX. This makes more
10232         sense and avoids a crash with empty paragraphs.
10233         Use Painter::rectangle to draw EMPTY_BOX.
10234
10235 2001-12-19  Juergen Vigna  <jug@sad.it>
10236
10237         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10238         the paragraphs if the replaced paragraph is not the first one!
10239         Tried to delete not used paragraphs but does not work yet so for
10240         now it's inside #ifdef's and by default off!
10241
10242 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10243
10244         * MenuBackend.C: include "lyx_main.h" instead of declaring
10245         lastfiles (actually was declared as LastFiles* instead of a
10246         scoped_ptr).
10247
10248 2001-12-17  Juergen Vigna  <jug@sad.it>
10249
10250         * tabular.C (AppendColumn): applied John's fix
10251
10252 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * BufferView.h:
10255         * BufferView.C:
10256         * BufferView_pimpl.h:
10257         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10258
10259         * Makefile.am:
10260         * box.h: new start of class for above
10261
10262         * lyxfunc.C: ignore space-only minibuffer dispatches.
10263           Show the command name when it doesn't exist
10264
10265         * minibuffer.C: don't add empty lines to the history
10266
10267         * minibuffer.C: add a space on dropdown completion
10268
10269 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10270
10271         * text.C: fix line above/below drawing in insets
10272
10273 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10274
10275         * lyxlength.C (LyXLength): Initialize private variables.
10276
10277 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10278
10279         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10280         when inserting error insets.
10281
10282 2001-12-13  Juergen Vigna  <jug@sad.it>
10283
10284         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10285         actually sometimes the before-paragraph.
10286         (setUndo): don't clear the redostack if we're not actually undoing!
10287
10288 2001-12-06  Juergen Vigna  <jug@sad.it>
10289
10290         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10291         and fixed redoing of main paragraph, so we can use it now ;)
10292
10293         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10294
10295 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10298         Juergen's request
10299
10300 2001-12-13  André Pönitz <poenitz@gmx.net>
10301
10302         * undostack.[Ch]:
10303         * undo_func.C: minor cleanup
10304
10305 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10308         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10309         font in urw-fonts package which is marked as -urw-fontspecific and
10310         does not work (incidentally, changing the encoding in the
10311         fonts.dir of this package to -adobe-fontspecific fixes the
10312         problem).
10313
10314         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10315         is a crash when undoing first paragraph (Juergen, please take a
10316         look). THis does not mean the undo fix is wrong, just that it
10317         uncovers problems.
10318
10319         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10320         the (Paragraph*) version when needed instead of duplicating the
10321         code.
10322
10323         * text.C (workWidth): use Inset::parOwner to find out where the
10324         inset has been inserted. This is a huge performance gain for large
10325         documents with lots of insets. If Inset::parOwner is not set, fall
10326         back on the brute force method
10327
10328         * paragraph_pimpl.C (insertInset):
10329         * paragraph.C (Paragraph):
10330         (cutIntoMinibuffer): set parOwner of insets when
10331         inserting/removing them
10332
10333         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10334
10335 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10336
10337         * commandtags.h:
10338         * LyXAction.C:
10339         * lyx_main.C:
10340         * lyxfunc.C:
10341         * mathed/formulabase.C:
10342         * mathed/math_cursor.[Ch]:
10343         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10344
10345
10346 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10347
10348         * lyxlength.[Ch] (operator!=): new function
10349
10350 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * text.C (workWidth): use Inset::parOwner to find out where the
10353         inset has been inserted. This is a huge performance gain for large
10354         documents with lots of insets. If Inset::parOwner is not set, fall
10355         back on the brute force method
10356
10357         * paragraph_pimpl.C (insertInset):
10358         * paragraph.C (Paragraph):
10359         (cutIntoMinibuffer): set parOwner of insets when
10360         inserting/removing them
10361
10362         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10363
10364 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10365
10366         * tabular-old.C (getTokenValue):
10367         * tabular.C (getTokenValue):
10368         (write_attribute): new versions for LyXLength
10369         (everywhere): adjust the use of widths
10370
10371         * tabular.h: change the type of widths from string to LyXLength
10372
10373 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10374
10375         * paragraph.C: fixed missing line number count when exporting
10376         Environments to LaTeX file
10377
10378         * buffer.C: added informational message for checking line numbers.
10379
10380 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10381
10382         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10383         paragraph, do the 'double space' part, but not the 'empty
10384         paragraph' one.
10385
10386         * text.C (workWidth): small optimization
10387         (getLengthMarkerHeight): use minimal size for negative lengths.
10388
10389 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10390
10391         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10392
10393         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10394
10395 2001-12-11  André Pönitz <poenitz@gmx.net>
10396
10397         * FontLoader.C:
10398         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10399
10400 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10401
10402         * text2.C: keep selection on a setFont()
10403
10404 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * lyx_cb.C: another bv->text misuse, from insert label
10407
10408 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * kbsequence.h:
10411         * kbsequence.C: re-instate nmodifier mask
10412
10413 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * lyx_main.h: make lyxGUI private.
10416
10417 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * lyxfind.C: place the cursor correctly on failed search
10420
10421 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * text.C (getLengthMarkerHeight): for small heights, the arrows
10424         are not always on top/bottom of the text
10425         (drawLengthMarker): smaller arrows; take the left margin in
10426         account; draw also vfills.
10427         (paintFirstRow):
10428         (paintLastRow): remove special code for vfill and standard spaces,
10429         since everything is handled in drawLengthMarker now.
10430
10431 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * buffer.C (insertErtContents): try to handle font and language
10434         interaction a bit better.g
10435
10436         * ColorHandler.C (updateColor): change the hash to cover the whole
10437         LColor enum, ws cleanup
10438         (getGCLinepars): ditto
10439         (getGCLinepars): only lookup in the linecache once.
10440
10441 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * iterators.C (operator++): Make the iterator more robust
10444
10445         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10446         (John's patch)
10447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10448
10449 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * lyxtext.h:
10452         * text.C: better added space drawing
10453
10454 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * LyXView.C:
10457         * BufferView2.C: fix layout combo update on inset unlock
10458
10459 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * Makefile.am: don't compile unused files
10462
10463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * lyxfunc.C:
10466         * commandtags.h:
10467         * LyXAction.C: remove old LFUN_LAYOUTNO
10468
10469 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * paragraph_pimpl.h:
10472         * paragraph_pimpl.C: isTextAt() doesn't need font param
10473
10474 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * lyxlex.h:
10477         * lyxlex.C: little cleanup
10478
10479 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * BufferView_pimpl.C: fix insertAscii for insets
10482
10483 2001-12-05  Juergen Vigna  <jug@sad.it>
10484
10485         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10486         set the right font on the "multi" paragraph paste!
10487
10488 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10489
10490         * trans_decl.h:
10491         * trans_mgr.[Ch]:
10492         * trans.[Ch]:
10493         * lyxgluelength.C:
10494         * lyxlength.C: remove out-commented code.
10495
10496         * BufferView_pimpl:
10497         * CutAndPaste.C:
10498         * DepTable.C:
10499         * buffer.C:
10500         * chset.C:
10501         * lastfiles.C:
10502         * lyxlex.C:
10503         * lyxlex_pimpl.C:
10504         * lyxserver.C:
10505         * screen.C:
10506         * tabular-old.C:
10507         * tabular.C:
10508         * text.C:
10509         * trans_mgr.C:
10510         * vc-backend.C: change "while(" to "while ("
10511
10512         * lyxlength.[Ch]: add zero function to check if length is zero or
10513         not
10514         * lyxgluelength.C: use it
10515
10516 2001-12-05  Allan Rae  <rae@lyx.org>
10517
10518         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10519         Works for 2.95.3, from what I understand of Garst's reports this should
10520         work for other g++ versions.  We're screwed if the abs(int) definition
10521         changed between bugfix releases of gcc.
10522
10523 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * text.C: fix chapter label offset !
10526
10527 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * lyxtext.h:
10530         * text.C: fix hfill at end of line, clean up
10531
10532 2001-12-04  Juergen Vigna  <jug@sad.it>
10533
10534         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10535         that we force an update of the inset and it's owners if neccessary.
10536
10537 2001-12-03  Juergen Vigna  <jug@sad.it>
10538
10539         * text.C (rowLast): simplified code
10540
10541 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * lyxfunc.C: fix show options on timeout
10544
10545 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10546
10547         * screen.C (topCursorVisible): scroll half a page when the cursor
10548         reached top of bottom of screen
10549
10550 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * minibuffer.C: deactivate on loss of focus
10553
10554 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10555
10556         * vspace.[Ch] (operator!=): add operator.
10557
10558 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * BufferView_pimpl.C: refuse to open an inset when
10561         there's a selection.
10562
10563 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * BufferView_pimpl.C: allow to click on RHS of full row insets
10566
10567 2001-11-30  Juergen Vigna  <jug@sad.it>
10568
10569         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10570         insets for undo reasons.
10571
10572 2001-11-28  André Pönitz <poenitz@gmx.net>
10573
10574         * vspace.[Ch]: cosmetical changes
10575
10576 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * LyXAction.h:
10579         * LyXAction.C:
10580         * lyxfunc.h:
10581         * lyxfunc.C:
10582         * kbmap.h:
10583         * kbmap.C:
10584         * lyxrc.C:
10585         * kbsequence.h:
10586         * kbsequence.C: part re-write of old kb code
10587
10588         * Painter.C:
10589         * WorkArea.C: remove Lgb_bug_find_hack
10590
10591 2001-11-30  José Matos <jamatos@fep.up.pt>
10592
10593         * buffer.C (makeDocBookFile): add a comment to point a hack.
10594         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10595         Fixed a double write of labels.
10596
10597 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10598
10599         * LaTeX.C:
10600         * LaTeX.h Fixed bug in LaTeX class where it would not
10601         re-run latex if no depfiles were changed, but the .dvi was removed.
10602
10603 2001-11-28  André Pönitz <poenitz@gmx.net>
10604
10605         * all the files from the change on 2001/11/26:
10606         use lyx::layout_type instead of LyXTextClass::size_type
10607         use lyx::textclass_type instead of LyXTextClassList::size_type
10608
10609 2001-11-29  Juergen Vigna  <jug@sad.it>
10610
10611         * text.C: added support for paragraph::isFreeSpacing()
10612
10613         * buffer.C: same as above
10614
10615         * paragraph.h: inserted isFreeSpacing() function to enable
10616         FreeSpacing inside InsetERT.
10617
10618         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10619         of the paragraph's in the cut/copy buffer to 0!
10620
10621         * text2.C (removeRow): remove the assert as it can!
10622
10623         * lyxtext.h: added helper function firstRow returning firstrow and
10624         made firstrow private again.
10625
10626         * BufferView2.C (lockInset): don't relock if we're already locked!
10627
10628         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10629         the only paragraph.
10630         (removeRow): added Assert::(firstrow)
10631
10632         * debug.C: forgot to add INSETTEXT here.
10633
10634 2001-11-28  Juergen Vigna  <jug@sad.it>
10635
10636         * sp_spell.C (initialize): changed error text to more general
10637         spellchecker command use (not only ispell!)
10638
10639         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10640
10641         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10642
10643 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * vspace.C: initialise lyxgluelength on failure
10646
10647 2001-11-28  Allan Rae  <rae@lyx.org>
10648
10649         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10650         declaration & definition that looks like a function declaration.
10651
10652 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10653
10654         * BufferView2.C (copy):
10655         (copyEnvironment): do not clear the selection when doing a copy.
10656
10657         * text.C (paintFirstRow): compilation fix
10658
10659 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10660
10661         * tabular.C (Latex): correct line count when writing latex.
10662
10663 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * paragraph_pimpl.h:
10666         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10667           bug a bit
10668
10669 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * text.C:
10672         * LColor.h:
10673         * LColor.C: change vfillline->added_space
10674
10675         * text.C: add markers and text for added space
10676
10677         * vspace.C: fix comment
10678
10679 2001-11-28  André Pönitz <poenitz@gmx.net>
10680
10681         * paragraph.C: whitespace changes
10682         * all the other files from the change on 2001/11/26:
10683         change *::pos_type into lyx::pos_type
10684
10685 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10686
10687         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10688         language of the document when inserting error insets.
10689
10690 2001-11-26  André Pönitz <poenitz@gmx.net>
10691
10692         * BufferView_pimpl.[Ch]:
10693         *       CutAndPaste.C:
10694         * buffer.[Ch]:
10695         * lyxcursor.[Ch]:
10696         * lyxfind.C:
10697         * lyxfunc.C:
10698         * lyxrow.[Ch]:
10699         * paragraph.[Ch]:
10700         * paragraph_pimpl.[Ch]:
10701         * sp_spell.C:
10702         * text.C:
10703         * text2.C: reduce header dependencies, introduce type for positions
10704
10705 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * <various>: change to use Alert.h
10708
10709 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10710
10711         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10712         when encountering an unknown token.
10713         (readLyXformat2): Show an error message if there were unknown tokens.
10714
10715 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * BufferView2.C:
10718         * BufferView_pimpl.C:
10719         * buffer.C:
10720         * paragraph.h:
10721         * text.C:
10722         * text2.C: use par->isInset()
10723
10724 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10725
10726         * paragraph_pimpl.h:
10727         * paragraph_pimpl.C: cleanup
10728
10729 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10730
10731         * text2.C (removeRow):
10732         * text.C (setHeightOfRow): remove useless (and costly) call to
10733         getRow.
10734
10735 2001-11-20  Allan Rae  <rae@lyx.org>
10736
10737         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10738         Now need Inset*::checkInsertChar() to return true for appropriate
10739         cases so that the characters in the minibuffer will actually be
10740         inserted.
10741
10742 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10743
10744         * text.C: change the order of the includes.
10745         (workWidth): initialize it at once.
10746         (workWidth): make maxw unsigned
10747         (setHeightOfRow): remove unused variable (inset)
10748         (selectSelectedWord): remove unused variable (inset)
10749         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10750
10751 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10754         server is not running.
10755         (openConnection):
10756         (closeConnection): add debug info when server is disabled.
10757
10758         * ColorHandler.C (getGCForeground): send debug message to GUI
10759         channel.
10760
10761         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10762
10763         * kbmap.C (bind): modify because return conventions of
10764         kb_sequence::parse have changed.
10765
10766         * kbsequence.C (parse): only ignore spaces and not any stupid
10767         control character. This avoids tests like s[i] <= ' ', which are
10768         guaranteed to fail with 8bit characters and signed chars.
10769         Change return code to string::npos when there have been no error
10770         (0 was a bad idea when error is at first character)
10771
10772 2001-11-14  José Matos  <jamatos@fep.up.pt>
10773
10774         * buffer.h:
10775         * buffer.C (simpleDocBookOnePar): removed unused argument.
10776
10777 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10778
10779         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10780         insets which are part of a word. Paragraph::isLetter takes care of
10781         that now. Use Paragraph::isInset to identify insets.
10782         (selectSelectedWord): do not test for hyphenation break.
10783
10784         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10785         that protected spaces are considered as spaces.
10786
10787         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10788         Inset::isLetter.
10789
10790 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * lyxserver.h:
10793         * lyxserver.C: fix it. and small cleanup.
10794
10795 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * BufferView_pimpl.C: use inline helpers
10798
10799         * LaTeXFeatures.h:
10800         * LaTeXFeatures.C: fix typos
10801
10802         * Spacing.h:
10803         * Spacing.C: move spacing_string into class
10804
10805         * ToolbarDefaults.C: move stuff into namespace anon
10806
10807         * layout.h: update enum
10808
10809         * lyxfunc.C: use better debug
10810
10811         * minibuffer.h: fix typo
10812
10813         * debug.h:
10814         * debug.C:
10815         * WorkArea.C: add and use Debug::WORKAREA
10816
10817         * lyxtext.h:
10818         * text.C:
10819         * text2.C: code re-organisation, inline helpers
10820
10821 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10822
10823         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10824         std::vector.empty().
10825
10826 2001-11-09  Allan Rae  <rae@lyx.org>
10827
10828         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10829         '\n's after tables.  Tabular and ERT inset work now makes this no
10830         longer necessary.
10831
10832 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * minibuffer.h:
10835         * minibuffer.C: fix crash, improve drop-down completion
10836
10837 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * lyxserver.h:
10840         * lyxserver.C: invalidate fd's when doing endPipe()
10841
10842 2001-11-08  José Matos  <jamatos@fep.up.pt>
10843
10844         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10845         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10846
10847         * paragraph.h:
10848         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10849
10850 2001-11-07  José Matos  <jamatos@fep.up.pt>
10851
10852         * buffer.h:
10853         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10854         const qualifier.
10855
10856         * buffer.C (sgmlOpenTag):
10857         * buffer.C (sgmlCloseTag): removed debug info.
10858
10859         * buffer.h (sgmlOpenTag):
10860         * buffer.h (sgmlCloseTag): made public.
10861
10862 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10863
10864         * buffer.C (saveParamsAsDefaults):
10865         * lyx_cb.C (MenuLayoutSave): remove
10866
10867         * LyXAction.C (init):
10868         * commandtags.h:
10869         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10870
10871 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * buffer.C (setPaperStuff): removed from here...
10874
10875         * bufferparams.C (setPaperStuff): ... and moved there.
10876
10877 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * minibuffer.h:
10880         * minibuffer.C:
10881         * XFormsView.C: add support for drop-down completion
10882
10883 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10884
10885         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10886         commands.
10887
10888 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10891         disabled.
10892
10893 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * lyx_main.C: change ref to known bugs
10896
10897 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10898
10899         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10900         to work around older babel problems.
10901
10902 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10903
10904         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10905
10906 2001-10-24  Juergen Vigna  <jug@sad.it>
10907
10908         * tabular-old.C (ReadOld): below variable changes reflected.
10909
10910         * tabular.[Ch]: added ltType struct for longtable header/footer
10911         defines and changed all instances where they are used. Added
10912         future support for double top/bottom rows.
10913
10914 2001-10-24  José Matos  <jamatos@fep.up.pt>
10915
10916         * buffer.h (docbookHandleCaption):
10917         * buffer.C (docbookHandleCaption): removed unused function.
10918         (makeDocBookFile): moved docbook supported version to v4.1.
10919
10920 2001-10-24  José Matos  <jamatos@fep.up.pt>
10921
10922         * tabular.h:
10923         * tabular.C (docbookRow): new function to export docbook code of a row.
10924         (DocBook): now honors the longtable flags.
10925
10926 2001-10-23  José Matos  <jamatos@fep.up.pt>
10927
10928         * LaTeXFeatures.h:
10929         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10930         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10931
10932         * buffer.C (makeLinuxDocFile):
10933         (makeDocBookFile): reworked the preamble, more clean, and with
10934         support for lyx defined entities. Changed the document declaration
10935         to be more XML friendly.
10936
10937         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10938         if we need to output XML that should be done with a filter.
10939
10940 2001-10-22  Juergen Vigna  <jug@sad.it>
10941
10942         * sp_pspell.h (class PSpell): add alive function needed in the
10943         controller to see if the spellchecker could be started.
10944
10945 2001-10-22  Juergen Vigna  <jug@sad.it>
10946
10947         * buffer.C (insertStringAsLines): modify the font for inserting
10948         chars in certain conditions by calling checkInsertChar(font).
10949
10950 2001-10-19  Juergen Vigna  <jug@sad.it>
10951
10952         * text.C (workWidth): use getRow instead of wrong algorithm.
10953         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10954
10955 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * lyxserver.h:
10958         * lyxserver.C:
10959         * lyx_main.h:
10960         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10961
10962 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10963
10964         * text.C (workWidth): do not search for the exact row when
10965         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10966         optimization for big documents.
10967
10968 2001-10-18  Juergen Vigna  <jug@sad.it>
10969
10970         * text.C (workWidth): new function with added Inset * parameter.
10971
10972 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10973
10974         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10975
10976         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10977         change return type of getColumnNearX.
10978
10979
10980         * text.C (changeRegionCase): use uppercase/lowercase instead of
10981         toupper/tolower.
10982         (leftMargin):
10983         (rightMargin): simplify code by factoring out the uses of
10984         textclasslist.
10985         (labelFill):
10986         (numberOfHfills):
10987         (setHeightOfRow):
10988         (appendParagraph): use Paragraph::size_type
10989
10990 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * vspace.C (asLatexString): add a missing break
10993
10994 2001-10-15  Herbert Voss  <voss@perce.de>
10995
10996         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10997
10998 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10999
11000         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11001         is not available.
11002
11003 2001-10-10  André Pönitz <poenitz@gmx.net>
11004
11005         * lyxfunc.C: removed greek_kb_flag.
11006
11007 2001-10-10  Herbert Voss  <voss@perce.de>
11008
11009         * lyx_main.C: delete global string help_lyxdir.
11010
11011 2001-10-09  Herbert Voss  <voss@perce.de>
11012
11013         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11014
11015         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11016
11017         * lyx_main.C: added global string help_lyxdir.
11018
11019         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11020
11021 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11022
11023         * lyxrc.C (set_font_norm_type): support iso8859-4
11024
11025 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11026
11027         * LaTeX.C (deplog): add another regex for MikTeX
11028
11029 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11030
11031         * lyxrc.C (set_font_norm_type): support iso8859-3
11032
11033 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11036
11037         * LaTeXFeatures.C: remove special case of french and index
11038
11039         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11040         before \begin{document}). This solves several incompatibilities.
11041
11042 2001-10-03  Garst Reese  <reese@isn.net>
11043
11044         * lyx_cb.C: change CheckTex error msg.
11045
11046 2001-10-03  José Matos  <jamatos@fep.up.pt>
11047
11048         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11049
11050 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11051
11052         * .cvsignore: update
11053
11054         * lyx_main.C (commandLineVersionInfo): use new style version info.
11055
11056         * buffer.C (writeFile):
11057         (makeLaTeXFile):
11058         (makeLinuxDocFile):
11059         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11060
11061         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11062
11063         * version.h: update to use stuff in version.C
11064
11065         * version.C.in: new file. Contains version information determined
11066         at compile time. This is a merging of version.h and
11067         version_info.h.in.
11068
11069 2001-10-03  Juergen Vigna  <jug@sad.it>
11070
11071         * BufferView_pimpl.C (update): don't change "dirty" status in
11072         updateInset call.
11073
11074 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11075
11076         * WorkArea.C (c-tor): re-position version string slightly.
11077
11078 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11079
11080         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11081         revert to previous code.
11082
11083         WorkArea.[Ch]: (show, destroySplash): methods removed.
11084
11085         WorkArea.C: rework code so that it's an amalgam of the codes before and
11086         after the splash screen was moved to WorkArea.
11087
11088 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * lyxrc.C (read):
11091         * vspace.C (inPixels):
11092         (lyx_advance):
11093         * kbmap.C (bind):
11094         * buffer.C (insertStringAsLines):
11095         (asciiParagraph): fix types to be large enough
11096
11097         * lyxlex_pimpl.h: change member status from short to int
11098
11099         * layout.h: fix type of endlabeltype
11100
11101         * kbmap.C (bind):
11102         * kbsequence.C (parse): change return type to string::size_type
11103
11104         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11105         variable
11106
11107         * Bullet.C (bulletSize):
11108         (bulletEntry): do not use short ints as parameters
11109
11110         * BufferView2.C (insertLyXFile): change a char to an int.
11111
11112         * WorkArea.C (WorkArea): remove unneeded floats in computation
11113
11114 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11117
11118         * paragraph.C (asString): Do not ignore newline/hfill chars when
11119         copying to the clipboard.
11120
11121 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11124         after a multi-line inset.
11125
11126 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11127
11128         * paragraph.C (validate): Set NeedLyXFootnoteCode
11129
11130 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11131
11132         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11133         and decrease-error to decrease.
11134
11135 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11136
11137         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11138         it more readable (should be equivalent)
11139
11140 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11141
11142         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11143
11144 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11147         of a cursor (row, etc.) after a character has been deleted
11148         (deleteEmptyParagraphMechanism): call the method above on _all_
11149         cursors held by the LyXText when a double space has been
11150         detected/deleted.
11151
11152 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11153
11154         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11155         pixmap.
11156         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11157
11158         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11159         background. Use greyOut() and the new show() methods to toggle between
11160         the foreground and background. Add code to remove the splash after
11161         its initial showing.
11162
11163         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11164         (create_forms): no longer call Dialogs::showSplash.
11165
11166 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11167
11168         * .cvsignore: add version_info.h
11169
11170 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11171
11172         * version_info.h.in: new file
11173
11174         * Makefile.am: add version_info.h.in
11175
11176         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11177         version_info.h instead of VERSION_INFO
11178
11179 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11180
11181         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11182         The ERT inset now returns string().
11183
11184 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11185
11186         * lyxtext.h, text.C (selectNextWord): renamed as
11187         selectNextWordToSpellcheck.
11188
11189         * text.C (selectNextWordToSpellcheck): Modified to not select
11190         words inside an ERT inset.
11191
11192 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11193
11194         * lyx_cb.C (MenuLayoutSave): change a bit the question
11195
11196         * sp_base.h: include <sys/types.h>
11197
11198 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11201
11202 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11203
11204         * several files: fix typos in user-visible strings
11205
11206 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11207
11208         * text2.C (pasteSelection): do not set the selection, since it
11209         will be cleared later. Actually, the intent was to fix the way the
11210         selection was set, but I figured rmoving the code was just as good.
11211
11212 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * FontLoader.C (available): Check if font is available without
11215         loading the font.
11216
11217 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11218
11219         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11220
11221 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11222
11223         * lyxrc.[Ch]: added display_graphics variable and associated code.
11224
11225 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11226
11227         * bufferparams.C (hasClassDefaults): new method. Returns true if
11228         the buffer parameters correspond to known class defaults
11229
11230 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11231
11232         * XFormsView.C (show): set minimum size to the main window.
11233
11234 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11235
11236         * text2.C (copySelection):
11237         (cutSelection):
11238         * lyxfind.C (LyXReplace):
11239         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11240         LyXText::selectionAsString.
11241
11242         * paragraph.C (asString): add "label" argument to the second form
11243
11244         * text2.C (selectionAsString): add "label" argument and pass it to
11245         Paragraph::asString.
11246
11247 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11248
11249         * lyx_main.C (commandLineHelp): remove version information
11250
11251 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11252
11253         * lyx_main.C: add -version commandline option
11254
11255 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * paragraph.h: make the optional constructor arg required instead.
11258         some modifications to other files because of this.
11259
11260         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11261
11262         * lyxserver.C (C_LyXComm_callback): make it static
11263
11264         * lyx_main.C (error_handler): make it static
11265
11266         * lyx_gui.C (LyX_XErrHandler): make it static
11267
11268         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11269
11270         * WorkArea.C: make the extern "C" methods static.
11271
11272         * Makefile.am (lyx_LDADD): simplify
11273
11274 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11275
11276         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11277         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11278
11279         * LyXAction.C (init):
11280         * lyxfunc.C (dispatch): associated code removal.
11281
11282 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11283
11284         * lyxfont.h (isSymbolFont): shut off warning
11285
11286         * text.C (setHeightOfRow):
11287         (getVisibleRow): fix crash with empty paragraphs which have a
11288         bottom line
11289
11290 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11291
11292         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11293         code.
11294
11295 2001-09-04  José Matos  <jamatos@fep.up.pt>
11296         * buffer.C
11297         * buffer.h
11298         * tabular.C (docbook): rename docBook method to docbook.
11299
11300 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11301
11302         * Makefile.am: add dependencies to main.o.
11303
11304 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * FontLoader.C (available): Return false if !lyxrc.use_gui
11307
11308 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11309
11310         * FontInfo.C (query):
11311         * converter.C (view):
11312         * importer.C (Import):
11313         * exporter.C (Export): Can not -> cannot.
11314
11315 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * BufferView_pimpl.C: allow to create index inset even if
11318           string is empty
11319
11320 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11321
11322         * buffer.C (getLists): replace boost::tie code with an explicit pair
11323         as boost::tie can break some compilers.
11324
11325         * iterators.h: Added a std:: declaration to the return type of
11326         ParIterator::size.
11327
11328 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11331           case.
11332
11333 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11334
11335         * iterators.[Ch]: New files. Provide paragraph iterators.
11336
11337         * buffer.C (changeLanguage): Use paragraph iterators.
11338         (isMultiLingual): ditto
11339
11340         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11341
11342 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11343
11344         * FontLoader.C: Support for cmr font.
11345
11346 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11349         (available): New method.
11350
11351         * FontInfo.C (getFontname): Use scalable fonts even when
11352         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11353         found.
11354
11355 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * converter.C (Formats::view): reverted! Incorrect fix.
11358
11359 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11360
11361         * converter.C (Formats::view): only output the -paper option
11362         if the dvi viewer is xdvi, thereby fixing bug #233429.
11363
11364 2001-08-23  Herbert Voss  <voss@perce>
11365
11366         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11367
11368 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11369
11370         * Spacing.h (Spacing): Set space to Default on in the default
11371         constructor.
11372
11373 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * vc-backend.h (RCS::versionString): add RCS to version
11376         (CVS::versionString): add CVS to version
11377
11378         * vc-backend.C (scanMaster): do not add CVS to version.
11379         (scanMaster): do not add RCS to version
11380
11381         * lyxvc.C (versionString): new method
11382
11383         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11384
11385 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * Spacing.C (set): initialize fval
11388
11389 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11390
11391         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11392         " or \.
11393
11394 2001-08-16  Juergen Vigna  <jug@sad.it>
11395
11396         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11397
11398 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * BufferView_pimpl.C:
11401         * figureForm.C:
11402         * lyxtext.h:
11403         * text2.C: setParagraph takes linespacing now
11404
11405 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * LyxAction.C: add internal LFUN_CITATION_INSERT
11408
11409         * LyXView.C: actually apply fix
11410
11411         * bufferlist.C: fix open non-existent file
11412
11413         * lyxfind.C: fix indentation
11414
11415         * lyxfunc.C: remove unneeded assert, fix typo
11416
11417 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * MenuBackend.C: use "Floatname List"
11420
11421 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11422
11423         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11424         when converting LaTeX layout to insetERT.
11425         Generate a non-collapsed float when reading old float
11426
11427 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11428
11429         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11430         ERT insets.
11431
11432 2001-08-13  Juergen Vigna  <jug@sad.it>
11433
11434         * text.C (fill): return 0 instead of 20 as this seems to be the more
11435         correct value.
11436
11437 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11440         lyxrc.font_norm.
11441
11442 2001-08-13  Juergen Vigna  <jug@sad.it>
11443
11444         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11445         casesensitive off.
11446         (SearchBackward): comment out the unlocking of the inset_owner this
11447         should not be needed!
11448
11449 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11450
11451         * Many files: Remove inherit_language, and add latex_language
11452
11453         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11454         collapsible insets.
11455
11456 2001-08-10  Juergen Vigna  <jug@sad.it>
11457
11458         * text.C (prepareToPrint): fixed hfill-width in draw!
11459
11460         * BufferView2.C (selectLastWord): save the selection cursor as this
11461         now is cleared in the function LyXText::clearSelection!
11462
11463 2001-08-08  Juergen Vigna  <jug@sad.it>
11464
11465         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11466         BACKSPACE type functions.
11467
11468         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11469         is only cutted from the document but not put in the cut-buffer, where
11470         still the old stuff should be.
11471
11472         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11473
11474         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11475
11476         * tabular.C (SetWidthOfCell): fixed special case where the width
11477         was not updated!
11478         (LeftLine): handle '|' in align_special.
11479         (RightLine): ditto
11480         (LeftAlreadyDrawed): ditto
11481         (SetWidthOfCell): ditto
11482
11483 2001-08-07  Juergen Vigna  <jug@sad.it>
11484
11485         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11486
11487 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11490         * lyxlex.[hC]: ditto
11491
11492 2001-08-06  Juergen Vigna  <jug@sad.it>
11493
11494         * text.C (getVisibleRow): fix up row clearing a bit.
11495
11496 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * minibuffer.C: make sure the X server sees the changes in the input.
11499
11500 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * paragraph.C (getFont): split into...
11503         (getLabelFont): this
11504         (getLayoutFont): and this
11505         * paragraph_pimpl.C (realizeFont): calling this
11506
11507         * text2.C (getFont): split into...
11508         (getLayoutFont): this
11509         (getLabelFont): and this
11510         (realizeFont): all three calling this
11511
11512         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11513         files where used.
11514
11515 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11516
11517         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11518
11519 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11520
11521         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11522         layouts from the Quote inset insertion.
11523
11524 2001-08-03  Juergen Vigna  <jug@sad.it>
11525
11526         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11527
11528         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11529         only if status not is already CHANGED_IN_DRAW (second level).
11530
11531         * text.C (draw): don't set the need_break_row when inside an
11532         InsetText LyXText.
11533
11534 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * buffer.C (parseSingleLyXformat2Token): handle more latex
11537         conversion cases.
11538
11539         * bufferview_funcs.[hC]: change function names to
11540         begin with small char, adjust other files.
11541
11542 2001-08-02  André Pönitz <poenitz@gmx.net>
11543
11544         * lyxfunc.C:
11545         BufferView_pimpl.C: remove broken special code for math-greek
11546
11547 2001-08-02  Juergen Vigna  <jug@sad.it>
11548
11549         * BufferView_pimpl.C (update): redone this function so that we
11550         update the text again if there was a CHANGE_IN_DRAW.
11551
11552         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11553         (drawFromTo): added a new internal bool which is used by draw() and
11554         redraw() function.
11555         (general): some cursor drawing problems fixed.
11556
11557 2001-08-01  Juergen Vigna  <jug@sad.it>
11558
11559         * lyxfind.C (LyXFind): fixed
11560         (SearchForward): ditto
11561         (SearchBackward): ditto
11562
11563         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11564         spurius drawing of the cursor in the main area.
11565
11566         * text2.C (status): small fix which could lead to a segfault!
11567         (clearSelection): remove unneeded BufferView param.
11568
11569 2001-08-01  André Pönitz <poenitz@gmx.net>
11570
11571         * lyxfunc.C: small change due to changed mathed interface
11572
11573 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11574
11575         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11576
11577 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * lyxfunc.c: fail gracefully if file doesn't exist
11580
11581         * LyXSendto.C:
11582         * buffer.C:
11583         * lyxfunc.C:
11584         * BufferView_pimpl.C: IsDirWriteable() proto changed
11585
11586         * LyXView.C: fix updateWindowTitle() to store the last title
11587
11588 2001-07-31  Juergen Vigna  <jug@sad.it>
11589
11590         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11591         the font (wrong since using of Paragraph::highestFontInRange).
11592
11593         * paragraph.C (highestFontInRange): added a default_size parameter.
11594
11595         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11596         (setHeightOfRow): reformat
11597
11598 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * converter.[hC] + affected files: move to (inital-char)lowercase
11601         function names.
11602
11603         * ParagraphParameters.C (ParagraphParameters): remove commented code
11604
11605         * PainterBase.[Ch]: remove commented code
11606
11607         * LaTeXFeatures.h: add "bool floats" for float.sty
11608
11609         * LaTeXFeatures.C (LaTeXFeatures): init floats
11610         (require): handle float
11611         (getPackages): do it with floats
11612
11613 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11614
11615         * BufferView_pimpl.C (Dispatch): improve handling of
11616         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11617
11618         * commandtags.h: #include lyxfont.h here temporarily to avoid
11619         keybinding bug.
11620
11621         * bufferlist.h: include LString.h here.
11622
11623 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11624
11625         * text2.C (getStringToIndex): new method.
11626
11627 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11628
11629         * *: Reduced header file dependencies all over.
11630
11631 2001-07-30  Baruch Even  <baruch@lyx.org>
11632
11633         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11634
11635 2001-07-29  Baruch Even  <baruch@lyx.org>
11636
11637         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11638
11639 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * ParameterStruct.h (endif): add a default constructor to make
11642         sure that all variables is initialized.
11643
11644         * ParagraphParameters.C (ParagraphParameters): adjust
11645
11646 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11649         index; also, check that there is something to index, and that it
11650         does not span over several paragraphs.
11651         (doubleClick): use WHOLE_WORD_STRICT for double click.
11652
11653         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11654
11655         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11656         scheme.
11657
11658 2001-07-26  Baruch Even  <baruch@lyx.org>
11659
11660         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11661         an InsetFig figure, backwards compatible reading of old figure code.
11662
11663 2001-07-27  Juergen Vigna  <jug@sad.it>
11664
11665         * text2.C: font.realize function adaption.
11666
11667         * text.C (draw): add a warnings lyxerr text if needed.
11668
11669         * layout.C: font.realize function adaption.
11670
11671         * language.C: add inherit_language and implement it's handlings
11672
11673         * bufferview_funcs.C (StyleReset): remove language parameter from
11674         font creation (should be language_inherit now).
11675
11676         * bufferparams.C (writeFile): handle ignore_language.
11677
11678         * paragraph.C (getFontSettings): the language has to be resolved
11679         otherwise we have problems in LyXFont!
11680
11681         * lyxfont.C (lyxWriteChanges): added document_language parameter
11682         (update): removed unneeded language parameter
11683
11684         * paragraph.C (validate): fixed wrong output of color-package when
11685         using interface colors for certain fonts in certain environments,
11686         which should not seen as that on the final output.
11687
11688 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * BufferView_pimpl.C:
11691         * Thesaurus.h:
11692         * Thesaurus.C:
11693         * Makefile.am:
11694         * commandtags.h:
11695         * LyXAction.C: add thesaurus support
11696
11697         * lyxfind.h:
11698         * lyxfind.C: add "once" parameter, for thesaurus, to not
11699           move to the next match
11700
11701 2001-07-26  Juergen Vigna  <jug@sad.it>
11702
11703         * lyxfont.C (realize): honor ignore_language too!
11704         (resolved): ditto.
11705
11706         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11707
11708         * text.C (draw): one place more for ignore_language to not draw
11709         itself!
11710
11711 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11712
11713         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11714
11715 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11718         the minipage conversion problem.
11719
11720 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11723         insert an inset.
11724
11725 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * BufferView.h: don't forward declare WorkArea
11728
11729         * BufferView.C: don't include WorkArea.h
11730
11731 2001-07-25  André Pönitz <poenitz@gmx.net>
11732
11733         * commandtags.h:
11734         * LyXAction.C:
11735         * lyxfunc.C:  new LFUN 'math-space'
11736
11737         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11738
11739 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11740
11741         * text2.C (toggleInset): call open/close
11742
11743 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * lyxfunc.C (dispatch): add debug for the disabled case
11746
11747         * font.C (buttonText): make similar to rectText
11748
11749         * buffer.C (readInset): comment out parsing of insetlist and
11750         insttheorem
11751
11752         * PainterBase.C (rectText): small correction
11753
11754         * BufferView_pimpl.C: comment out insettheorem and insetlist
11755         * LyXAction.C: ditto
11756         * commandtags.h: ditto
11757
11758 2001-07-24  Juergen Vigna  <jug@sad.it>
11759
11760         * text.C (draw): honor the ignore_language.
11761
11762         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11763
11764 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11765
11766         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11767         char inset.
11768
11769 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11770
11771         * lyxtext.h: remove unused (and unimplemented) methods
11772
11773 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11774
11775         * text.C (getVisibleRow): honor background color
11776
11777         * PainterBase.h:
11778         * Painter.h: remove default color argument for fillRectangle
11779
11780         * text.C (backgroundColor): new method
11781
11782 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * text.C (getVisibleRow): adjust
11785
11786         * font.[Ch] (rectText): new method, metrics
11787         (buttonText): new method, metrics
11788
11789         * PainterBase.[hC]: make rectText and buttonText always draw and take
11790         fewer paramteres.
11791
11792 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11793
11794         * ToolbarDefaults.C (read):
11795         * MenuBackend.C (read): allow escaping in all strings
11796
11797         * BufferView_pimpl.C (insertAndEditInset): new method.
11798         (Dispatch): use insertAndEditInset whenever appropriate.
11799
11800         * BufferView_pimpl.C (insertNote): removed
11801
11802         * BufferView_pimpl.C (smartQuote): new method, moved from
11803         BufferView; if an insetquote cannot be inserted, insert a '"'
11804         character instead.
11805
11806         * BufferView2.C: remove insertCorrectQuote();
11807
11808         * lyxfunc.C (getStatus): Add support for all remaingin
11809         inset-insert lfuns.
11810
11811         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11812
11813         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11814         command (necessary to pass " as parameter of self-insert.
11815
11816         * text.C (selectWordWhenUnderCursor):
11817         (selectWord): add word_location parameter
11818         (selectWordWhenUnderCursor): same + remove special code for word
11819         boundary.
11820         (selectNextWord): use kind() to guess type of insetspecialchar,
11821         not latex().
11822
11823         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11824         (insertErtContents): create ert insets as collapsed.
11825         (readInset): better compatibility code for Info inset.
11826
11827 2001-07-20  Juergen Vigna  <jug@sad.it>
11828
11829         * lyxfunc.C (dispatch): use always LyXFind now!
11830
11831         * text2.C (init): add a reinit flag so that the LyXText can be
11832         reinited instead of deleted and reallocated (used in InsetText).
11833
11834         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11835
11836         * text.C: ditto
11837
11838         * text2.C: ditto
11839
11840 2001-07-18  Juergen Vigna  <jug@sad.it>
11841
11842         * text.C (selectNextWord): handle insets inside inset by calling
11843         always the bv->text functions so that we can go up the_locking_inset!
11844
11845         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11846         in strange locations when inside an inset!
11847
11848         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11849         handling to include insets.
11850
11851         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11852
11853 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11854
11855         * LyXAction.C (init):
11856         * commandtags.h:
11857         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11858         LIGATURE_BREAK, since the name is so stupid.
11859
11860 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11863         InsetInfos.
11864
11865         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11866
11867         * sp_form.[Ch]: remove.
11868
11869         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11870
11871         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11872         InsetInfo.
11873
11874         * src/buffer.C (readInset): ditto.
11875
11876 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11877
11878         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11879         menuSeparator(), endOfSentenceDot(), ldots() and
11880         hyphenationPoint(), which are therefore removed.
11881         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11882
11883         * LyXAction.C (init):
11884         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11885
11886         * paragraph.C (getWord): removed.
11887
11888         * BufferView_pimpl.C (Dispatch): use last word or selection for
11889         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11890
11891         * lyx_main.C (queryUserLyXDir): do not ask before creating
11892         user_dir, except if it has been named explicitely.
11893
11894 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11895
11896         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11897         a document of zero size.
11898
11899 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11902         approriately in the c-tor and in require().
11903         (getPackages): output the appropriate LaTeX for natbib support.
11904
11905         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11906         variables "use_natbib" and "use_numerical_citations" when reading the
11907         LyX file.
11908         (readInset): read the various natbib cite commands.
11909         (validate): white-space change.
11910
11911         * bufferparams.[Ch]: new variables "bool use_natbib" and
11912         "bool use_numerical_citations".
11913         (writeFile): output them in the LyX file.
11914
11915 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11916
11917         * lyxfunc.C (getStatus): add support for all the inset insertion
11918         commands.
11919
11920         * text2.C (insertInset):
11921         * paragraph.C (insetAllowed):
11922         * BufferView_pimpl.C (insertInset): update to take in account the
11923         renaming of insertInsetAllowed
11924
11925         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11926
11927         * text2.C (getInset): new method. returns inset at cursor position.
11928
11929         * BufferView_pimpl.C (Dispatch): changes because of this.
11930
11931         * LyXAction.C (init): rename open-stuff to inset-toggle.
11932
11933         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11934
11935         * text2.C (toggleInset): renamed from openStuff; use
11936         Inset::open().
11937
11938 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11939
11940         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11941
11942         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11943
11944 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11945
11946         * buffer.C (readLyXformat2): Add filename to the error dialog
11947
11948 2001-07-18  Juergen Vigna  <jug@sad.it>
11949
11950         * tabular.C (GetCellNumber): put an assert here instead of the check!
11951
11952 2001-07-17  Juergen Vigna  <jug@sad.it>
11953
11954         * BufferView_pimpl.C (toggleSelection): adapted too.
11955
11956         * text.C (selectNextWord): adapted for use with insets.
11957         (selectSelectedWord): ditto
11958
11959 2001-07-17  Juergen Vigna  <jug@sad.it>
11960
11961         * sp_spell.C (PSpell): fix initialitation order.
11962
11963 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * paragraph.C: spacing
11966
11967 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11968
11969         * sp_spell.C: repair language selection for pspell
11970
11971 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11972
11973         * lyxfunc.h: change more methods to begin with lower char.
11974
11975 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11976
11977         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11978         for unknown layouts.
11979
11980 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * buffer.C (readLyXformat2): Generate an error dialog if there are
11983         unknown layouts.
11984
11985 2001-07-16  Juergen Vigna  <jug@sad.it>
11986
11987         * sp_spell.C: always compile ISpell part.
11988
11989         * lyxrc.C: added use_pspell entry and it's handling.
11990
11991 2001-07-13  Juergen Vigna  <jug@sad.it>
11992
11993         * sp_spell.C: removed double includes.
11994
11995 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         Consistent use of Lsstream.h:
11998         * Lsstream.h: added using std::stringstream for consistencies sake.
11999
12000         * buffer.C: removed using std::stringstream
12001
12002         * lyxfont.C (stateText):
12003         * paragraph.C (asString):
12004         * text.C (selectNextWord, selectSelectedWord):
12005         * text2.C (setCounter):
12006         * vspace.C (asString, asLatexString):
12007         std::ostringstream -> ostringstream.
12008
12009 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12010
12011         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12012         * commandtags.h: add LFUN_HELP_ABOUTLYX
12013         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12014
12015 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12016
12017         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12018         cursorToggle()
12019         * lyx_gui_misc.C: remove spellchecker
12020         * lyxfunc.C: showSpellchecker
12021         * sp_base.h: added
12022         * sp_ispell.h: added
12023         * sp_pspell.h: added
12024         * sp_spell.C: added
12025         * sp_form.[Ch]: removed
12026         * spellchecker.[Ch]: removed
12027
12028 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12029
12030         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12031         is set.
12032         (simpleTeXSpecialChars): Simply print the input character without
12033         any special translation if pass_thru is set.
12034
12035         * layout.h: Added bool pass_thru to layout class for being able to
12036         implement pass through of a paragraph for Literate Programming.
12037
12038         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12039         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12040         * layout.C (Read): add "passthru" to list of layout tags and add
12041         code to set the pass_thru boolean when it is read.
12042
12043 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * trans_decl.h: remove allowed from KmodInfo
12046
12047         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12048         remove allowed code
12049         (Load): adjust
12050
12051         * paragraph_pimpl.C (erase): use boost::prior
12052
12053         * Painter.C (text): use data() instead of c_str() when length is
12054         also provided.
12055         * WorkArea.C (putClipboard): ditto
12056         * font.h (width): ditto
12057
12058         * BufferView2.C: use it-> instead of (*it). for iterators
12059         * texrow.C: ditto
12060         * paragraph_pimpl.C: ditto
12061         * paragraph.C: ditto
12062         * minibuffer.C: ditto
12063         * language.C: ditto
12064         * kbmap.C: ditto
12065         * encoding.C: ditto
12066         * counters.C: ditto
12067         * converter.C: ditto
12068         * chset.C: ditto
12069         * Variables.C: ditto
12070         * TextCache.C: ditto
12071         * MenuBackend.C: ditto
12072         * LyXAction.C: ditto
12073         * LColor.C: ditto
12074         * FloatList.C: ditto
12075         * DepTable.C: ditto
12076         * ColorHandler.C (LyXColorHandler): ditto
12077
12078 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12081
12082         * text2.C (openStuff): reintroduce this method (which had been
12083         nuked in NEW_INSETS frenzy).
12084
12085         * lyxfunc.C (Dispatch): when an action has not been handled, use
12086         its name in the error message, not its number.
12087
12088         * paragraph.C (inInset): change method name to begin with lowercase.
12089
12090         * undo_funcs.C:
12091         * text2.C: updates because of this.
12092
12093 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * ToolbarDefaults.C (add): add spaces in error message
12096
12097 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12100         (readLyXformat2): rename return_par to first_par, use lyxlex's
12101         pushToken and remove the manual push handling.
12102         (parseSingleLyXformat2Token): add another ert comp. variable:
12103         in_tabular, rename return_par to first_par. handle newlines better
12104
12105 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12106
12107         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12108
12109 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12110
12111         * text2.C (getParFromID): removed
12112
12113         * buffer.C (getParFromID): new method moved form lyxtext.
12114         * BufferView2.C (insertErrors): adjust
12115         (setCursorFromRow): adjust
12116         * BufferView_pimpl.C (restorePosition): adjust
12117         * lyxfunc.C (Dispatch): adjust
12118         * undo_funcs.C (textUndo): adjust
12119         (textRedo): adjust
12120         (textHandleUndo): adjust
12121         (textHandleUndo): adjust
12122
12123 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12124
12125         * buffer.C: up' the LYX_FORMAT
12126
12127         * lyxfont.h: turn NO_LATEX on as default
12128
12129         * buffer.C (insertErtContents): new methods of tex style compability.
12130         (parseSingleLyXformat2Token): use it several places.
12131         * tabular.C (OldFormatRead): and here
12132
12133 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * text2.C: remove some commented code.
12136         reindent file.
12137
12138         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12139         * trans.C: changes because of the above.
12140
12141 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12142
12143         * text2.C (setCounter): Fix counters bug with bibliography layout.
12144
12145 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12148         own member functions
12149         (simpleTeXSpecialChars): ditto
12150
12151 2001-07-06  Juergen Vigna  <jug@sad.it>
12152
12153         * a lot of files: changed the access to LyXText::status and the
12154         call of undo-functions.
12155
12156         * undo.[Ch]: added a inset_id to the undo informations.
12157
12158         * undo_funcs.[Ch]: added and moved here all undo functions.
12159
12160         * lyxtext.h: give the status enum a weight, made status_ a private
12161         variable and made accessor functions for it, removed the whole bunch
12162         of undo-functions as they are now in their own file, make some
12163         functions publically available. Added function ownerParagraph with
12164         int parameter.
12165
12166         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12167         made InInset() a const function, added getParFromID() function.
12168
12169         * buffer.[Ch]: added const version for inset_iterator functions,
12170         added getInsetFromID() function.
12171
12172         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12173         changed undo functions for new version.
12174
12175 2001-07-05  Juergen Vigna  <jug@sad.it>
12176
12177         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12178         unknow mechanism does not call the proper constructor but only this
12179         one also if I request the other!?
12180
12181 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12184
12185         * text2.C (LyXText): use initialization lists.
12186
12187         * lyxtext.h (Selection): initialize set_ and mark_
12188         (init): remove method
12189
12190 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12191
12192         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12193
12194 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * screen.[Ch]: change method names to begin with lowercase
12197
12198         * BufferView_pimpl.C (updateScrollbar): simplify further and
12199         hopefully make it a bit faster.
12200
12201 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12202
12203         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12204         calling directly xforms functions.
12205
12206         * Painter.C (Painter):
12207         * lyx_cb.C (MenuWrite):
12208         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12209         fl_display.
12210
12211         * lyx_gui.C: remove bogus guiruntime extern declaration.
12212
12213 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12216         in NEW_INSETS
12217         (redoDrawingOfParagraph): ditto
12218         (redoParagraphs): ditto
12219         (cutSelection): don't create a object for CutAndPaste use the
12220         static method directly
12221         (pasteSelection): ditto
12222
12223         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12224         LyXview (+ rename)
12225
12226 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12227
12228         * modifications to some other files because of this.
12229
12230         * Makefile.am (lyx_SOURCES): add XFormsView
12231
12232         * XFormsView.[Ch]: new files
12233
12234         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12235         the main window. Move the gui dependent stuff to XFormsView
12236
12237 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12238
12239         * tabular.C (GetCellInset): update cur_cell also in the row/col
12240         version of this function.
12241
12242         * lyxfunc.C: no need to include figure_form.h here.
12243
12244         * FontLoader.h:
12245         * lyxfunc.h:
12246         * lyxscreen.h:
12247         * text2.C:
12248         * lyxvc.C: no need to include forms.h here.
12249
12250 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12251
12252         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12253
12254         * lyxfunc.C (Dispatch):
12255         * Spacing.C (set):
12256         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12257         constructor argument.
12258
12259 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * paragraph.C (Paragraph): dont't clear, and just set layout.
12262         (makeSameLayout): use params's copy contructor.
12263
12264         * ParagraphParameters.[Ch] (makeSame): delete method
12265
12266 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * Variables.[Ch]: fix indentation, rename set to isSet
12269
12270 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * lyxfunc.C (Dispatch): fix typo
12273
12274 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12277         upper_bound.
12278
12279         * bufferlist.C: include assert.h for emergencyWrite().
12280
12281 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12284           give up at last (bug #425202) !
12285
12286 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12287
12288         * lyx_gui_misc.C:
12289         * sp_form.h:
12290         * sp_form.C:
12291         * spellchecker.h:
12292         * spellchecker.C: strip spellchecker options and bring up
12293           preferences tab instead
12294
12295 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12298         the istringstream constructor
12299
12300 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * paragraph.C (getLayout): fix return value
12303
12304         * paragraph.h: do not declare getLayout as inline.
12305
12306         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12307
12308 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * lyxcursor.h (operator<): new func
12311         (operator>): new func
12312         (operator>=): new func
12313         (operator<=): new func
12314
12315         * text.C (changeCase): use selection.start and selection.end
12316         (changeRegionCase): require from to be <= to. Require par to be a
12317         valid paragraph.
12318
12319         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12320
12321 2001-06-27  Juergen Vigna  <jug@sad.it>
12322
12323         * text.C (cursorLeftOneWord): changed to return the cursor and added
12324         overlay with BufferView * parameter which calls this one.
12325         (getWord): added
12326         (selectWord): use new getWord function.
12327         (changeCase): renamed from changeWordCase as and extended to work
12328         also on selections.
12329
12330         * lyxtext.h: added enum word_location
12331
12332         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12333         changeCase as this operates now also on selections.
12334
12335 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12336
12337         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12338
12339         * many files: send debug output to Debug::INFO instead of
12340         Debug::ANY.
12341
12342         * converter.C (View):
12343         (Convert):
12344         (Move): send debug output to Debug::FILES instead of console.
12345
12346 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12347
12348         * lyxfunc.C (getStatus): use func_status
12349
12350         * func_status.h: new header, describing the results of
12351         LyXFunc::getStatus;
12352
12353         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12354         LFUN_MATH_HALIGN.
12355
12356 2001-06-25  The LyX Project  <jug@sad.it>
12357
12358         * buffer.C (sgmlOpenTag):
12359         (sgmlCloseTag):
12360         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12361
12362 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * text2.C: remove some dead code
12365
12366         * tabular.C (GetCellInset): store the last cell checked (gotten)
12367
12368         * tabular.h: add the helper for the speedup
12369
12370         * lyxtext.h: remove some dead code
12371
12372 2001-06-26  The LyX Project  <Asger>
12373
12374         * paragraph.C: Change export to LaTeX of alignment to
12375         \begin{center} and family for better roundtrip work with reLyX.
12376
12377         * Tune the math drawing a bit.
12378
12379 2001-06-25  The LyX Project  <Asger>
12380
12381         * LColor.C (LColor): New color for math background. New color
12382         for buttons.
12383
12384 2001-06-25  The LyX Project  <jug@sad.it>
12385
12386         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12387
12388         * lyxfunc.C (Open):
12389         * bufferlist.C (newFile): do not restrict to files ending with
12390         .lyx
12391
12392         * BufferView_pimpl.C (MenuInsertLyXFile):
12393
12394 2001-06-24  The LyX Project  <jug@sad.it>
12395
12396         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12397         of compare_no_case
12398
12399 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * lyxtext.h: rename most methods to begin with a small char.
12402         Lots of changes because of this.
12403
12404         * paragraph.C (Paragraph): do not call fitToSize
12405         (erase): call Pimpl::erase
12406         (insertChar): call Pimpl::insertChar
12407         (insertInset): call Pipl::insertInset
12408         (breakParagraph): do not call fitToSize
12409         (breakParagraphConservative): do not call fitToSize
12410         (fitToSize): remove method
12411
12412         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12413
12414 2001-06-24  The LyX Project  <Asger>
12415
12416         * Fix Qt compilation^2
12417
12418 2001-06-24  The LyX Project  <jug@sad.it>
12419
12420         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12421         depthHook(getDepth()-1).
12422
12423         * paragraph.h:
12424         * ParagraphParameters.h:
12425         * ParameterStruct.h: change type of depth to unsigned int ==
12426         depth_type. Many adaptations to other files before of that.
12427
12428 2001-06-24  The LyX Project  <Asger>
12429
12430         * Fix Qt compilation.
12431
12432 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * paragraph.h: renamed several methods to begin with small letter.
12435         several changes to many parts of the code because of this.
12436
12437 2001-06-23  The LyX Project  <jug@sad.it>
12438
12439         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12440         rewritten to discard all double spaces when KeepEmpty is off
12441         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12442         to only handle newlines but not fiddle with spaces and friends.
12443
12444         * lyxfunc.C (MenuNew): when doing 'new from template', use
12445         template_path as default directory
12446
12447 2001-06-23  The LyX Project  <Asger>
12448
12449         * Clean-up of header file includes all over
12450         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12451
12452 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * paragraph.h: renamed from lyxparagraph.h
12455
12456 2001-06-23  Asger  <lyx@violet.home.sad.it>
12457
12458         * Buffer.h: Removed Buffer::resize
12459         * BufferList.h: Removed BufferList::resize
12460         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12461         the document lazily when we change the width, or the font settings.
12462
12463 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12466
12467 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12468
12469         * buffer.h: remove out of date comment
12470
12471 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * lyxscreen.h:
12474         * screen.C: fix "theoretical" GC leak
12475
12476 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12477
12478         * LaTeX.C (scanAuxFile):
12479         (deplog): remove trailing \r when reading stream (useful under
12480         win32)
12481
12482 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12485         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12486         and BufferView::theLockingInset(Inset*), so should use them and not
12487         access bv_->text->the_locking_inset directly.
12488
12489         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12490
12491 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * Makefile.am:
12494         * tex-defs.h: remove old unused file
12495
12496 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * BufferView_pimpl.C: fix typo, remove minibuffer message
12499           when buffer has loaded
12500
12501 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * lyxfunc.C (Dispatch): use stringstream
12504         (MenuNew): use stringstream
12505         (Open): use stringstream
12506
12507         * importer.C (Import): use stringstream
12508
12509         * bufferview_funcs.C (CurrentState): use stringstream
12510
12511         * LaTeX.C (run): use stringstream
12512
12513         * BufferView_pimpl.C (savePosition): use stringstream
12514         (restorePosition): use stringstream
12515         (MenuInsertLyXFile): use stringstream
12516
12517 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12518
12519         * BufferView.C:
12520         * Bullet.C:
12521         * ColorHandler.C:
12522         * FontInfo.C:
12523         * FontLoader.C:
12524         * LColor.C:
12525         * LaTeXFeatures.C:
12526         * Painter.C:
12527         * gettext.C:
12528         * lyx_gui_misc.C:
12529         * lyxserver.C:
12530         * vspace.C: removed // -*- C++ -*- as first line.
12531
12532         * lyxfind.h:
12533         * version.h: added // -*- C++ -*- as first line.
12534
12535 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12536
12537         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12538
12539         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12540         of string
12541
12542 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12545         of floats.
12546
12547 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12548
12549         * gettext.C: include LString.h even when --disable-nls is on.
12550
12551 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12552
12553         * converter.h (Get): changed argument type from int to
12554         FormatList::size_type to avoid unnecessary conversion.
12555
12556         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12557         before using it.
12558
12559 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12560
12561         * gettext.h: include LString.h even when --disable-nls is on.
12562
12563 2001-06-07  Juergen Vigna  <jug@sad.it>
12564
12565         * text.C (BreakAgain): subst spaces with tabs.
12566
12567         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12568         (resizeInsetsLyXText): set force on resizeLyXText.
12569
12570 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12571
12572         * gettext.h (gettext_init):
12573         (locale_init): use a real definition instead of a macro
12574
12575 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * Bufferview_pimpl.C:
12578         * LColor.h:
12579         * LColor.C: further lcolor tidies
12580
12581 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * BufferView_pimpl.C (updateScrollbar): simplify.
12584
12585         * BufferView2.C: don't include insets/insetinfo.h, change
12586         prototype for insertInset and call the Pimpl version. let
12587         updateInset call Pimpl version.
12588
12589         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12590         gotoInset to BufferView::Pimpl
12591
12592 2001-06-01  Juergen Vigna  <jug@sad.it>
12593
12594         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12595         inside a LockingInset (is the update needed at all?).
12596
12597 2001-05-31  Juergen Vigna  <jug@sad.it>
12598
12599         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12600         here not the old one otherwise how should we compare it afterwards
12601         if it's the same!
12602
12603 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * lyxfont.C:
12606         * tabular.C:
12607         * tabular-old.C:
12608         * FontInfo.C: bring C functions into global namespace when
12609         necessary
12610
12611 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * LString.h: make sure config.h has been loaded before LString.h.
12614
12615         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12616         (one for each char read by EatLine!).
12617
12618         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12619         variables.
12620
12621 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12624         to the same as the par we break from
12625
12626 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12629
12630         * MenuBackend.C (expand): also create menu entries for wide
12631         versions of the floats.
12632
12633         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12634
12635         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12636
12637         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12638         frontends/Makefile.am
12639
12640         * text2.C: adjust
12641         * text.C: adjust
12642
12643
12644         * tabular.C (getTokenValue): add std::
12645
12646         * tabular-old.C (getTokenValue): add std::
12647         (getTokenValue): ditto
12648         (getTokenValue): ditto
12649
12650         * screen.C (ToggleSelection): adjust
12651
12652         * lyxtext.h: put selection cursors inside a Selection struct.
12653
12654         * lyxfunc.C (moveCursorUpdate): adjust
12655
12656         * lyxfont.C (latexWriteStartChanges): add std::
12657
12658         * lyxfind.C: adjust
12659
12660         * font.h: delete with(char const *, LyXFont const &)
12661
12662         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12663
12664         * FontInfo.C (getFontname): add std::
12665
12666         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12667         (workAreaButtonPress): adjust
12668         (tripleClick): adjust
12669         (update): adjust
12670         (moveCursorUpdate): adjust
12671         (Dispatch): adjust
12672
12673         * BufferView2.C (gotoInset): adjust
12674
12675 2001-05-30  Juergen Vigna  <jug@sad.it>
12676
12677         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12678         to check pspell I add this as default as I now have new pspell
12679         libraries and they seem to use this.
12680
12681 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * text2.C (CutSelection): make the cursor valid before the call to
12684         ClearSelection.
12685
12686 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12689         relied on 0 terminated strings and other horrors. Bug found due to
12690         the new assert in lyxstring!
12691
12692         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12693         KP_ keys.
12694
12695 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12698         to latinkeys.bind.
12699
12700         * lyxfunc.C (processKeySym): change method of getting to the
12701         self-insert char.
12702
12703         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12704         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12705         * BufferView_pimpl.[Ch]: here as private methods.
12706
12707 2001-05-28  Juergen Vigna  <jug@sad.it>
12708
12709         * text.C (SetHeightOfRow): added the update() call again as it is
12710         needed to initialize inset dimensions!
12711
12712 2001-05-16  Juergen Vigna  <jug@sad.it>
12713
12714         * text2.C (SetCharFont): Add new function with BufferView * and
12715         bool toggleall parameters for setting insets internal fonts.
12716         (SetFont): Freeze the undo as we may change fonts in Insets and
12717         all this change should be inside only one Undo!
12718
12719         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12720         setting font's in insets as for them we have the SetFont function!
12721
12722 2001-05-15  Juergen Vigna  <jug@sad.it>
12723
12724         * text2.C (ClearSelection): to be sure we REALLY don't have any
12725         selection anymore!
12726
12727         * tabular.C (TeXCellPreamble): fixed the left border problem for
12728         multicolumn cells.
12729
12730 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12733         dependancy file
12734
12735 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12738         LFUN_BREAKPARAGRAPH.
12739
12740         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12741         help test to "internal only", similar for LFUN_INSERT_URL
12742
12743         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12744         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12745         auto_region_delete and deadkeys.
12746
12747 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * LColor.h:
12750         * LColor.C: remove some dead entries, tidy a little
12751
12752 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12755         commented code.
12756         (Dispatch): implement LFUN_ESCAPE
12757
12758         * commandtags.h: add LFUN_ESCAPE
12759
12760         * LyXAction.C (init): add entry for LFUN_ESCAPE
12761
12762         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12763         Remove commented code.
12764         (insertNote): moved here
12765         (open_new_inset): moved here
12766
12767         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12768         BufferView_pimpl
12769
12770 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * kbmap.C (findbinding): clean it up and make it work correctly.
12773
12774         * lyx_main.C (init): do not pass argc and argv as parameters
12775
12776 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12777
12778         * buffer.C: fix path for OS/2 & Win32
12779
12780         * lyx_gui.C:
12781         * lyx_main:
12782         * lyx_main.C: Added os:: class.
12783
12784         * os2_defines.h: update
12785
12786 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12789         better by trying again with reduced state.
12790
12791 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * lyxrc.C (read): print error about invalid key sequence only when
12794         debugging (because not all latinX keysyms are known to some X
12795         servers)
12796
12797         * kbsequence.C (getiso): add a few std:: qualifiers
12798         (getiso): comment out extra return statement.
12799
12800 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12801
12802         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12803         handling.
12804         (Dispatch): enhance the accent inset a bit. (not perfect)
12805
12806 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12809
12810 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12811
12812         * bufferlist.C (emergencyWrite): fix assert() call
12813
12814 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12815
12816         * text.C (InsertChar): Added trivial patch to only send the "you
12817         can not do multiple spaces this way" message once during a
12818         session.
12819
12820 2001-05-08  Baruch Even  <baruch@lyx.org>
12821
12822         * Makefile.am: Changed order of libraries to get LyX to link properly
12823         with the gnome frontend.
12824
12825 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * LaTeXFeatures.h: add a std:: qualifier
12828
12829 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * paragraph.C (String): use stringstream
12832
12833 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * paragraph.C (writeFile): remove footflag arg
12836
12837         * buffer.C (makeLaTeXFile): use stringstream
12838         (latexParagraphs): remove footnot gurba
12839
12840         * LaTeXFeatures.C (getPackages): use stringstream
12841         (getMacros): likewise
12842         (getTClassPreamble): likewise
12843         (getFloatDefinitions): new method
12844
12845         * paragraph.C (writeFile): reindent
12846         (Erase): reindent
12847
12848         * WorkArea.h: revert the xpos + etc changes.
12849
12850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12851
12852         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12853
12854         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12855         (pasteSelection): likewise
12856         * text2.C (CreateUndo): likewise
12857
12858 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * minibuffer.C (peek_event): temporarily reduce the functionality
12861         of the minibuffer (to allow args on lfuns)
12862
12863         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12864         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12865
12866         * buffer.C (readInset): add compability reading of old float
12867         lists, add reading of new style float list.
12868         (readInset): avoid reevaluation of inscmd.getCmdName()
12869         (getLists): reindent
12870
12871         * MenuBackend.C (MenuItem): implement parsing of
12872         md_floatlistinsert and md_floatinsert.
12873         (expand::LastFiles): move initalizaton of iterators out of loop,
12874         avoid reevaluation.
12875         (expand::Documents): introduce typdedef vector<string> Strings,
12876         and use it.
12877         (expand::ExportFormats): introduce typedef vector<Format const *>
12878         Formats, and use it.
12879         (expand): implement FloatListInsert and FloatInsert.
12880
12881         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12882         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12883         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12884
12885         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12886         handling.
12887         (Dispatch::LFUN_FLOAT_LIST): implement
12888
12889 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12890
12891         * LaTeX.C (run): Fix problem with --export code.
12892
12893 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * BufferView.[Ch] (workarea): removed.
12896         (getClipboard) new method; wrapper for workarea()->getClipboard()
12897
12898         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12899         bug.
12900
12901         * WorkArea.h (width, height, xpos, ypos): These methods all
12902         returned the dimensions of the work_area sub-area of WorkArea,
12903         resulting in a position error if the WorkArea were resized. Now
12904         return the dimensions of the entire WorkArea.
12905
12906         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12907
12908 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * LaTeX.C (deplog): correct the syntax of regex reg1
12911
12912 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * undo.C: remove !NEW_INSETS cruft
12915
12916 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * text2.C: remove !NEW_INSETS cruft
12919
12920         * text.C: remove !NEW_INSETS cruft
12921
12922         * tabular.C: remove !NEW_INSETS cruft
12923
12924         * spellchecker.C: remove !NEW_INSETS cruft
12925
12926         * lyxtext.h: remove !NEW_INSETS cruft
12927
12928         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12929
12930         * lyxfunc.C: remove !NEW_INSETS cruft
12931
12932         * lyxfind.C: remove !NEW_INSETS cruft
12933
12934         * lyx_cb.C: remove !NEW_INSETS cruft
12935
12936         * figureForm.C: remove  !NEW_INSETS cruft
12937
12938         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12939
12940         * buffer.[Ch]: remove !NEW_INSETS cruft
12941
12942         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12943
12944         * CutAndPaste.C: remove !NEW_INSETS cruft
12945
12946         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12947
12948         * BufferView2.C: remove !NEW_INSETS cruft
12949
12950         * BufferView.h: remove !NEW_INSETS cruft
12951
12952 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12953
12954         * Lsstream.h: include LString.h before the sstream headers to
12955         fix problem with gcc 2.95.3 and lyxstring
12956
12957 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * lyx_main.C: add using directives when needed for C functions
12960         declared in std:: namespace.
12961
12962 2001-04-27  Juergen Vigna  <jug@sad.it>
12963
12964         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12965         (SetHeightOfRow): comment out the update call should not be needed!
12966
12967 2001-04-13  Juergen Vigna  <jug@sad.it>
12968
12969         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12970         (LyXTabular): tried to minimize operator= operations (and realized
12971         hopfully Lars wish).
12972
12973 2001-04-27  Juergen Vigna  <jug@sad.it>
12974
12975         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12976
12977 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12980
12981         * buffer.C (readInset): hack to make listof algorithm work
12982
12983         * BufferView_pimpl.C: hack to make listof algorithm work
12984
12985 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * LyXAction.C: removed all !NEW_INSETS cruft
12988         (init): moved lfun_item in method
12989
12990         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12991
12992 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12993
12994         * BufferView2.C (theLockingInset): white space.
12995
12996 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12997
12998         * minibuffer.C: include <iostream>
12999
13000         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13001
13002         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13003
13004         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13005
13006         * text.[Ch] (TransposeChars): new method
13007
13008 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * call message directly through LyXView instead of through LyXFunc
13011         * BufferView2.C: adjust
13012         * BufferView_pimpl.C: adjust
13013         * FontLoader.C: adjust
13014         * buffer.C: adjust
13015         * bufferview_funcs.C: adjust
13016         * converter.C: adjust
13017         * figureForm.C: adjust
13018         * importer.C: adjust
13019         * lyx_cb.C: adjust
13020         * lyx_gui_misc.C: adjust
13021         * lyxfunc.C: adjust
13022         * lyxvc.C: adjust
13023         * text2.C: adjust
13024         + more files in subdirs
13025
13026         * lyxparagraph.h (size): move up int file
13027         (GetLayout): ditto
13028
13029         * adjust all uses of Assert to lyx::Assert.
13030
13031         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13032         lyxfunctional in namespace lyx
13033         * layout.C (hasLayout): ditto
13034         (GetLayout): ditto
13035         (GetLayout): ditto
13036         (delete_layout): ditto
13037         (NumberOfClass): ditto
13038         * converter.C (GetFormat): ditto
13039         (GetNumber): ditto
13040         (Add): ditto
13041         (Delete): ditto
13042         (SetViewer): ditto
13043         * bufferlist.C (getFileNames): ditto
13044         (emergencyWriteAll): ditto
13045         (exists): ditto
13046         (getBuffer): ditto
13047         * MenuBackend.C (hasSubmenu): ditto
13048         (hasMenu): ditto
13049         (getMenu): ditto
13050         * BufferView_pimpl.C (getInsetByCode): ditto
13051
13052 2001-04-18  Juergen Vigna  <jug@sad.it>
13053
13054         * vspace.C (asLatexString): fixed the 100% problem.
13055
13056 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13057
13058         * lyxfunc.C (Dispatch):
13059         * minibuffer.C:
13060         * minibuffer.h: add a few std:: qualifiers
13061
13062 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * minibuffer.[Ch]: reimplement so that commands is initiated and
13065         run from lyxfunc, simplified som handling, and made the completion
13066         and history code for complete. wip.
13067
13068         * lyxfunc.C (processKeySym): call message
13069         (miniDispatch): new temporary method
13070         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13071         (LFUN_MESSAGE): implement
13072         (LFUN_MESSAGE_PUSH): implement
13073         (LFUN_MESSAGE_POP): implement
13074         (initMiniBuffer): the initial/defualt minibuffer message.
13075
13076         * lyxfont.[Ch]: inline some more getters
13077
13078         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13079
13080         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13081
13082         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13083         (AutoSave): use LFUN_MESSAGE
13084         (Reconfigure): ditto
13085
13086         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13087
13088         * figureForm.C: use LFUN_MESSAGE
13089
13090         * converter.C (runLaTeX): use LFUN_MESSAGE
13091
13092         * bufferview_funcs.C: use LFUN_MESSAGE
13093         (Melt): ditto
13094         (changeDepth): ditto
13095
13096         * bufferparams.h: use boost::
13097
13098         * bufferlist.h: inherit privately from noncopyable
13099
13100         * bufferlist.C (loadLyXFile): remove some commented code.
13101
13102         * buffer.C (runChktex): use LFUN_MESSAGE
13103
13104         * ShareContainer.h: inherit privately from noncopyable
13105
13106         * ParagraphParameters.[hC] (depth): inline it.
13107
13108         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13109         methods.
13110         (message): new method
13111         (messagePush): ditto
13112         (messagePop): ditto
13113         (show): init minibuffer
13114         (showState): direct call
13115
13116         * LaTeX.[Ch]: inherit privately from noncopyable
13117         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13118         instead of WriteStatus.
13119
13120         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13121
13122         * BufferView_pimpl.C (buffer): don't init minibuffer
13123         (workAreaButtonPress): use LFUN_MESSAGE
13124         (workAreaButtonRelease): ditto
13125         (savePosition): ditto
13126         (restorePosition): ditto
13127         (MenuInsertLyXFile): ditto
13128         (workAreaExpose): don't init minibuffer
13129         (update): remove commented code, simplify
13130
13131         * BufferView2.C (openStuff): use LFUN_MESSAGE
13132         (toggleFloat): ditto
13133         (menuUndo): ditto
13134         (menuRedo): ditto
13135         (copyEnvironment): ditto
13136         (pasteEnvironment): ditto
13137         (copy): ditto
13138         (cut): ditto
13139         (paste): ditto
13140         (gotoInset): ditto
13141         (updateInset): remove some commented code
13142
13143         * lastfiles.h: inherit privately from noncopyable
13144         * layout.h: ditto
13145         * lyx_gui.h: ditto
13146         * lyx_main.h: ditto
13147         * lyxlex.h: ditto
13148         * lyxlex_pimpl.h: ditto
13149
13150         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13151         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13152         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13153
13154         * LyXAction.h: inherit privately from noncopyable, add methods
13155         func_begin, func_end, returning iterators to the func map.
13156
13157         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13158         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13159         (func_begin): new method
13160         (func_end): new method
13161
13162         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13163         and not)
13164         (copySelection): ditto
13165         (pasteSelection): ditto
13166
13167         * BufferView.C: whitespace change
13168         * BufferView.h: inherit privately from noncopyable
13169
13170 2001-04-16  Allan Rae  <rae@lyx.org>
13171
13172         * tabular-old.C (l_getline):
13173         * spellchecker.C (sc_check_word):
13174         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13175         an unrecognised preprocessor directive.  So ensure they're wrapped.
13176
13177 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13178
13179         * src/exporter.C (Export): Give an error message when path to file
13180         contains spaces.
13181
13182 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * LaTeX.C (deplog): Always check that foundfile exists.
13185
13186 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * lyx_main.h:
13189         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13190
13191 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * tabular.[Ch] (getLabelList): implement new method
13194
13195         * minibuffer.h: comment ouf setTiimer
13196
13197         * minibuffer.C (ExecutingCB): constify res
13198         (peek_event): constify s
13199         (Set): constify ntext
13200         (Init): constify nicename
13201
13202         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13203
13204         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13205         (savePosition): use two params to Minibuffer::Set
13206         (restorePosition): ditto
13207
13208 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * lyx_main.C: include language.h
13211
13212         * Makefile.am (lyx_main.o): add language.h
13213
13214 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * exporter.C:
13217         * paragraph.C:
13218         * screen.C:
13219         * tabular.C:
13220         * CutAndPaste.C: include gettext.h
13221
13222         * lyxfont.h: remove old hack with ON and OFF.
13223
13224         * lyxparagraph.h:
13225         * lyxfont.h: do not include language.h...
13226
13227         * BufferView2.C:
13228         * LaTeXFeatures.C:
13229         * Painter.C:
13230         * bufferview_funcs.C:
13231         * font.C:
13232         * lyxfont.C:
13233         * text.C:
13234         * text2.C:
13235         * trans_mgr.C:
13236         * paragraph.C: ... but do it here instead
13237
13238 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13241
13242         * tabular.C: small reformat
13243
13244         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13245         NEW_INSETS version
13246         (GetChar): ditto
13247         (BreakParagraph): ditto
13248         (SetOnlyLayout): ditto
13249         (SetLayout): ditto
13250
13251         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13252         with one arg less.
13253
13254         * lastfiles.C: removed most using decl, add std:: where needed
13255
13256         * buffer.C: ws changes
13257
13258         * MenuBackend.C (class compare_format): put into anon namespace
13259         (expand): constify label, names, action, action2
13260         (expand):
13261
13262         * text.C (SingleWidth): constify font
13263         (IsBoundary): constify rtl2
13264         (GetVisibleRow): constify ww
13265
13266         * LaTeX.C (deplog): constify logfile
13267
13268         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13269         start_x, end_x
13270         (workAreaExpose): constify widthChange, heightChange
13271
13272         * lyxrow.C (par): moved
13273         (height): moved
13274         (next): moved
13275         * lyxrow.h: as inlines here
13276
13277         * lyxfont.h (shape): moved from lyxfont.C
13278         (emph): moved from lyxfont.C
13279
13280         * lyxfont.C (LyXFont): use initialization list for all
13281         constructors
13282         (shape): move to lyxfont.h as inline
13283         (emph): move to lyxfont.h as inline
13284
13285
13286 2001-04-04  Juergen Vigna  <jug@sad.it>
13287
13288         * vspace.C: had to include stdio.h for use of sscanf
13289
13290 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13291
13292         * BufferView.h:
13293         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13294         independent of xforms.
13295
13296 2001-04-02  Juergen Vigna  <jug@sad.it>
13297
13298         * spellchecker.C: fixed namespace placing!
13299
13300 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13301
13302         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13303         the LyXParagraph * is 0.
13304
13305 2001-03-29  Juergen Vigna  <jug@sad.it>
13306
13307         * vspace.C: added support for %, c%, p%, l%.
13308         (stringFromUnit): added helper function.
13309         (asLatexString): changed to give right results for the %-values.
13310
13311         * buffer.C: convert the widthp in a width%.
13312
13313 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13316         figureForm.[Ch].
13317
13318         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13319         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13320
13321         * lyx_cb.[Ch]: see above.
13322
13323         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13324         form1.[Ch].
13325
13326         * form1.[Ch]:
13327         * lyx.[Ch]: replaced by figure_form.[Ch].
13328
13329         * lyx_gui.C:
13330         * lyx_gui_misc.C:
13331         * lyxfunc.C: changed headers associated with above changes.
13332
13333 2001-03-27  Juergen Vigna  <jug@sad.it>
13334
13335         * BufferView_pimpl.C: set the temporary cursor right!
13336
13337 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13340
13341 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13342
13343         * LString.h: removed "using std::getline"!
13344
13345         * BufferView_pimpl.C (Dispatch): changes due to changes in
13346         InsetInclude::Params.
13347
13348         * buffer.C (tag_name): removed redundant break statements as they were
13349         producing lots of warnings with my compiler.
13350
13351 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * LString.h: add "using std::getline" when using the real <string>.
13354
13355 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13356
13357         * buffer.C: removed bitset usage.
13358         PAR_TAG moved to an anonymous name space.
13359         (tag_name): new funtion, also in the anonymous namespace.
13360         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13361         (makeDocBookFile): clean code. Completed transition from string arrays
13362         to string vectors.
13363         (SimpleDocBookOnePar): code clean.
13364
13365 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13366
13367         * tabular.C: add some comments.
13368
13369 2001-03-22  Juergen Vigna  <jug@sad.it>
13370
13371         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13372         compatibility read a bit and fixed bug with minipage in different
13373         depth.
13374
13375 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13376
13377         * buffer.C (pop_tag): removed.
13378         (push_tag): removed.
13379         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13380         array replaced with vector. Added support for CDATA sections.
13381         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13382         at any nest level.
13383         (makeDocBookFile): XML conformant declaration of CDATA section,
13384         fixed bug related to <emphasis> in the first paragraph char.
13385         (sgmlOpenTag): exclude empty tags.
13386         (sgmlCloseTag): ditto.
13387
13388         * buffer.h (pop_tag): removed.
13389         (push_tag): removed.
13390
13391 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13392
13393         * language.h (Languages): added size_type and size().
13394
13395 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13396
13397         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13398         response on compability reading of minipages. One probliem is that
13399         the old usage of minipages was «flertydig»
13400
13401         * several files here and in subdirs: don't use static at file
13402         scope use anon namespaces instead.
13403
13404 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13405
13406         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13407         LaTeX output. This is necessary for Literate document
13408         processing.
13409
13410 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13411
13412         * buffer.C: insert hfill when needed.
13413
13414         * tabular.C (l_getline): use string::erase, small whitespace change.
13415
13416         * BufferView_pimpl.C: try the anon namespace.
13417         * WorkArea.C: ditto
13418
13419 2001-03-16  Juergen Vigna  <jug@sad.it>
13420
13421         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13422         otherwise it won't open options-dialogs.
13423
13424         * buffer.C: honor pextraWidth(p) on converting minipages.
13425
13426         * tabular.C (l_getline): changed the functions to strip trailing \r.
13427
13428 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13429
13430         * BufferView_pimpl.C:
13431         * minibuffer..C: added "using SigC::slot" declaration.
13432
13433 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13434
13435         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13436
13437         * text2.C: ditto
13438
13439         * text.C: ditto
13440
13441         * paragraph.C: ditto
13442
13443         * lyxtext.h: NO_PEXTRA
13444
13445         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13446
13447         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13448         * ParameterStruct.h: ditto
13449         * ParagraphParameters.h: ditto
13450         * lyxparagraph.h: ditto
13451
13452 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13453
13454         * buffer.C: add compability for minipage alignment.
13455         (latexParagraphs): remove unwanted pextra check.
13456
13457         * several files: remove CXX_WORKING_NAMESPACES
13458
13459         * buffer.C (pop_tag): tie is in namespace boost
13460
13461         * BufferView.h: noncopyable is in namespace boost
13462         * lyxlex.h: ditto
13463         * lyx_main.h: ditto
13464         * lyx_gui.h: ditto
13465         * layout.h: ditto
13466         * lastfiles.h: ditto
13467         * bufferlist.h: ditto
13468         * ShareContainer.h: ditto
13469         * LyXView.h: ditto
13470         * LyXAction.h: ditto
13471         * LaTeX.h: ditto
13472
13473 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13474
13475         * Merging changes from BRANCH_MVC back into HEAD.
13476
13477         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13478
13479 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * BufferView_pimpl.C: change from intl.C
13482
13483         * combox.h:
13484         * combox.C:
13485         * Makefile.am: move combox.*
13486
13487         * form1.h:
13488         * form1.C:
13489         * lyx_gui.C:
13490         * intl.h:
13491         * intl.C: remove dialog (covered by prefs)
13492
13493 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * lyxfunc.C (Dispatch): removed redundant break statement.
13496
13497 2001-03-14  Juergen Vigna  <jug@sad.it>
13498
13499         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13500
13501 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13502
13503         * buffer.C: add hack to fix compability reading of minipages.
13504
13505 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * buffer.C (getLists): Cleanup.
13508
13509 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * lyxfont.C (update): don't honor toggleall on font size.
13512
13513 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * bmtable.c:
13516         * bmtable.h:
13517         * Makefile.am: moved to frontends/xforms/
13518
13519         * lyx_gui_misc.C:
13520         * lyxfunc.C:
13521         * BufferView_pimpl.C: changes for moved mathpanel
13522
13523 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13524
13525         * gettext.h: fix gettext_init() in --disable-nls
13526
13527 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13530
13531 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * lyx.C:
13534         * lyx.h: strip external form
13535
13536 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * BufferView_pimpl.C: add comment, destroySplash()
13539
13540 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * BufferView_pimpl.C:
13543         * LyXAction.C:
13544         * buffer.C:
13545         * commandtags.h:
13546         * lyxfunc.C: use re-worked insetinclude
13547
13548 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13549
13550         * buffer.C: add using std::stringstream.
13551
13552         * lyx_cb.C: readd using std::ios.
13553
13554         * buffer.C: add using std::map.
13555
13556         * BufferView_pimpl.C: add using std::vector.
13557
13558         * ShareContainer.h: add std:: to swap.
13559
13560         * buffer.h: add some typedefs
13561         * buffer.C (getLists): use them
13562         (getLists): renamed from getTocList.
13563         add a counter for the different float types and use it in the
13564         generated string.
13565         (getLists): use the same counter for the NEW_INSETS and the "non"
13566         NEW_INSETS
13567
13568         * lyx_cb.h: remove unused items, includes, using etc.
13569
13570         * ShareContainer.h: remove some commented code, add more comments
13571         and "documentation".
13572
13573 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13574
13575         * buffer.C (getTocList): make the list also when NEW_INSETS is
13576         defined.
13577
13578         * buffer.h: remove TocType
13579
13580         * buffer.C (getTocList): change to return a map<string,
13581         vector<TocItem> >, implement for dynamic number of list.
13582
13583         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13584         * text2.C (PasteSelection): adjust
13585         * CutAndPaste.C (pasteSelection): adjust
13586
13587         * FloatList.C (FloatList): update from the new_insets branch.
13588         * Floating.[Ch]: ditto
13589         * LaTeXFeatures.C: ditto
13590         * buffer.C: ditto
13591         * lyxlex_pimpl.C: ditto
13592
13593         * paragraph.C (Last): remove when NEW_INSETS is defined.
13594
13595         * other file: changes because of the above.
13596
13597 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13598
13599         * lyxparagraph.h: rename next to next_, previous to previous_,
13600         make them private for NEW_INSETS. Rename Next() to next(),
13601         Previous() to previous().
13602
13603         * other files: changes because of the above.
13604
13605 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13606
13607         * BufferView.h:
13608         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13609         problem.
13610
13611 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * main.C (main): pass lyx_localedir to gettext_init().
13614
13615         * gettext.h: remove locale_init and gettext_init macros
13616
13617         * gettext.C (locale_init): new function
13618         (gettext_init): new function
13619
13620         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13621         setlocale().
13622
13623 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13624
13625         * Moved credits to frontends:
13626         * credits.[Ch]: removed
13627         * credits_form.[Ch]: removed
13628         * lyx_gui_misc.C: remove credits stuff
13629         * Makefile.am:
13630
13631 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13632
13633         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13634
13635         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13636         unneeded destructor.
13637
13638         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13639         a standalone pointer again.
13640
13641         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13642
13643 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * Makefile.am:
13646         * filedlg.h:
13647         * filedlg.C:
13648         * LyXAction.C:
13649         * ToolbarDefaults.C:
13650         * bufferlist.C:
13651         * commandtags.h:
13652         * form1.C:
13653         * form1.h:
13654         * lyx_cb.C:
13655         * lyx_cb.h:
13656         * lyxfunc.h:
13657         * lyxfunc.C:
13658         * BufferView_pimpl.C: use new file dialog in GUII
13659
13660         * lyx_cb.h:
13661         * lyx_cb.C: remove LayoutsCB to Toolbar
13662
13663 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * ShareContainer.h (get): add std:: qualifier
13666
13667 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * ShareContainer.h: define a proper ShareContainer::value_type
13670         type (and use typename to please compaq cxx)
13671
13672 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13673
13674         * lyxparagraph.h: move serveral local vars to
13675         ParameterStruct/ParagraphParameters., use ShareContainer in
13676         FontTable., make vars in FontTable private and add getter and
13677         setter.
13678
13679         * paragraph.C: changes because of the above.
13680
13681         * lyxfont.h: remove copy constructor and copy assignment. (the
13682         default ones is ok), move number inside FontBits. move inlines to
13683         lyxfont.C
13684
13685         * lyxfont.C: add number to initializaton of statics, move several
13686         inlines here. constify several local vars. some whitespace
13687         cleanup. Dont hide outerscope variables.
13688
13689         * Spacing.h: add two new constructors to match the set methods.
13690
13691         * ShareContainer.h: new file, will perhaps be moved to support
13692
13693         * ParameterStruct.h: new file
13694
13695         * ParagraphParameters.h: new file
13696
13697         * ParagraphParameters.C: new file
13698
13699         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13700         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13701
13702         * BufferView_pimpl.C: ParagraphParameter changes.
13703         * buffer.C: Likewise.
13704         * bufferview_funcs.C: Likewise.
13705         * text.C: Likewise.
13706         * text2.C: Likewise.
13707
13708 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * lyxfind.C (LyXReplace): do not redefine default argument in
13711         implementation.
13712         (IsStringInText): ditto
13713         (SearchForward): ditto
13714         (SearchBackward): ditto
13715
13716 2001-03-06  Juergen Vigna  <jug@sad.it>
13717
13718         * lyxfind.C (IsStringInText): put parentes around expressions.
13719
13720 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13721
13722         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13723
13724 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13725
13726         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13727
13728         * stl_string_fwd.h: add comment
13729
13730         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13731
13732         * tabular.h:
13733         * tabular.C: remove unused DocBook methods
13734
13735         * intl.C:
13736         * language.C:
13737         * paragraph.C:
13738         * buffer.C:
13739         killed DO_USE_DEFAULT_LANGUAGE
13740
13741 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13742
13743         * lyx_gui.C: do not include language.h.
13744
13745         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13746         arguments in function implementation.
13747
13748 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13749
13750         * BufferView_pimpl.C: add <ctime>
13751
13752 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13753
13754         * BufferView_pimpl.C: add using std::find_if
13755
13756 2001-02-27  José Matos  <jamatos@fep.up.pt>
13757
13758         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13759         by OnlyPath.
13760
13761 2001-02-11  José Matos  <jamatos@fep.up.pt>
13762
13763         * buffer.C (makeDocBookFile): command styles now have a parameter as
13764         "title" by default.
13765
13766 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13767
13768         * layout_forms.[Ch]: removed
13769         * lyx_cb.[Ch]: out character
13770         * lyx_gui.C: out character
13771         * lyx_gui_misc.C: out character
13772         * bufferview_funcs.C: : out character,
13773         added toggleall as parameter in ToggleAndShow
13774
13775 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13776
13777         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13778
13779         * text2.C (SetCurrentFont): Disable number property at boundary.
13780
13781 2001-02-26  Juergen Vigna  <jug@sad.it>
13782
13783         * lyxfunc.C (getStatus): added a string argument override function so
13784         that this is correctly called from LyXFunc::Dispatch if it contains a
13785         do_not_use_argument which is used!
13786         (Dispatch): added check for "custom" export and call appropriate func.
13787
13788 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * lyxrc.C: Add language_command_local, language_use_babel and
13791         language_global_options.
13792
13793         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13794
13795         * buffer.C (makeLaTeXFile): Use language_use_babel and
13796         language_global_options.
13797
13798 2001-02-23  Juergen Vigna  <jug@sad.it>
13799
13800         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13801         which works with LyXText and putted it inside BufferView. Here now we
13802         only call for that part the BufferView::Dispatch() function.
13803
13804         * BufferView.C (Dispatch): added.
13805
13806         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13807         functions which needs to use a LyXText over from LyXFunc.
13808         (MenuInsertLyXFile): added
13809         (getInsetByCode): added
13810         (moveCursorUpdate): added
13811         (static TEXT): added
13812
13813 2001-02-22  Juergen Vigna  <jug@sad.it>
13814
13815         * BufferView_pimpl.C (update): call a status update to see if LyXText
13816         needs it.
13817
13818 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13819
13820         * vc-backend.C (revert): implement for CVS
13821         (getLog): implement for CVS
13822
13823 2001-02-20  Juergen Vigna  <jug@sad.it>
13824
13825         * text2.C (ClearSelection): added BufferView param for inset_owner call
13826
13827         * lyxfunc.C (TEXT): added this function and use it instead of
13828         directly owner->view()-text of getLyXText().
13829
13830 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13831
13832         * src/layout_forms.C: out preamble
13833         * src/layout_forms.h: out preamble
13834         * src/lyx_cb.C: out preamble
13835         * src/lyx_cb.h: out preamble
13836         * src/lyx_gui.C: out preamble
13837         * src/lyx_gui_misc.C: out preamble
13838         * src/lyxfunc.C: connect with guii preamble
13839
13840 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13841
13842         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13843
13844 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13847         whether to run bibtex.
13848
13849 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13852
13853 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13854
13855         * Makefile.am (lyx_SOURCES): removed bibforms.h
13856
13857         * vspace.h: doxygen
13858
13859         * text.C (GetVisibleRow): make several local vars const
13860
13861         * tabular.C: small cleanup.
13862
13863         * lyxserver.C (callback): use compare instead of strncmp
13864
13865         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13866         inlines to after class or to paragraph.C
13867
13868         * lyxfont.h: remove friend operator!=
13869
13870         * converter.h: move friend bool operator< to non friend and after
13871         class def.
13872
13873         * combox.h: small cleanup
13874
13875         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13876         to inlines after class def.
13877
13878         * buffer.C (pop_tag): use string operations instead of strcmp
13879
13880         * bmtable.c: doxygen, small cleanup
13881
13882         * LaTeX.h: remove friend operator==
13883
13884 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13885
13886         * screen.C:
13887         * lyxrc.[Ch]:
13888         * lyxfunc.C:
13889         * lyxfont.[Ch]:
13890         * lyx_cb.C:
13891         * intl.[Ch]:
13892         * commandtags.h:
13893         * buffer.C:
13894         * WorkArea.[Ch]:
13895         * LyXAction.C:
13896         * BufferView_pimpl.C:
13897         * BufferView.[Ch]: remove cruft
13898
13899 2001-02-14  Juergen Vigna  <jug@sad.it>
13900
13901         * lyxfunc.C: removed #if 0 unused code
13902
13903         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13904
13905         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13906
13907         * text2.C (SetSelection): added a BufferView * parameter
13908
13909 2001-02-13  Juergen Vigna  <jug@sad.it>
13910
13911         * lyxfunc.C (Dispatch): fixed protected blank problem.
13912         * BufferView2.C (protectedBlank): added LyxText * parameter.
13913
13914         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13915         (AppendColumn): same as above for column_info.
13916
13917         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13918         (moveCursorUpdate): use a LyXText param for support of InsetText.
13919
13920         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13921         (tripleClick): ditto
13922
13923         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13924
13925         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13926
13927         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13928
13929         * text2.C (SetSelection): set correct update status if inset_owner
13930         (ToggleFree): ditto
13931
13932 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13933
13934         * tabular.C: remove some commented code.
13935
13936 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * BufferView_pimpl.C: call hideSplash()
13939
13940         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13941
13942         * include_form.h:
13943         * bibforms.h: remove
13944
13945         * lyxfunc.C:
13946         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13947           add LFUN_CHILD_CREATE
13948
13949         * counters.h: fix tiny typo
13950
13951         * lyx_cb.C:
13952         * lyx.h:
13953         * lyx_gui.C:
13954         * lyx.C: move splash to frontends/xforms/
13955
13956         * lyx_gui_misc.C: move Include and Bibform to frontends
13957
13958         * lyxvc.h: clarify comment
13959
13960         * vspace.C: tiny housekeeping
13961
13962 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * text.C (PrepareToPrint): RTL Fix.
13965
13966         * paragraph.C (GetUChar): New method.
13967         (String):  Use GetUChar.
13968
13969         * buffer.C (asciiParagraph): Use GetUChar.
13970
13971 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13974
13975 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13976
13977         * buffer.h:
13978         * buffer.C: rename to getLogName(), handle
13979           build log / latex log nicely
13980
13981 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13982
13983         * MenuBackend.C:
13984         * MenuBackend.h: remove support for reference menuitem type.
13985
13986 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * BufferView_pimpl.C: housekeeping
13989         * BufferView_pimpl.h:
13990         * LyXView.h:
13991         * Makefile.am:
13992         * Timeout.C:
13993         * Timeout.h:
13994         * minibuffer.h: move Timeout GUI-I
13995
13996 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * lyxrc.C (read): Update converters data-structures.
13999
14000 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14001
14002         * LaTeX.h (operator!=): add operator != for Aux_Info
14003
14004 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14005
14006         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14007
14008         * LaTeXLog.C: deleted, useful code moved to Buffer
14009
14010         * buffer.h:
14011         * buffer.C: new function getLatexLogName()
14012
14013         * lyx_gui_misc.C:
14014         * lyx_gui.C:
14015         * lyxvc.C:
14016         * lyxvc.h:
14017         * lyxfunc.C: use frontends for LaTeX and VC logs
14018
14019 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14020
14021         * LaTeX.h: yet another std:: that Allan forgot.
14022
14023         * Variables.C (set): renamed from isset(), because this clashes
14024         with some HP-UX macros (grr).
14025
14026 2001-02-06  Allan Rae  <rae@lyx.org>
14027
14028         * LaTeX.h: Another bug fix.  Missing std:: this time.
14029
14030 2001-02-04  Allan Rae  <rae@lyx.org>
14031
14032         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14033         floats problem. I've left it commented out because it's not quite
14034         correct.  It should also test that the current object is a table or
14035         figure inset.  But I haven't gotten around to figuring out how to do
14036         that.  I *think* it'll be something like: "table" == inset.type()
14037
14038         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14039         bool.
14040
14041 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14042
14043         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14044         all the citation/databases/styles in the auxilary file.
14045         (run): Rerun latex if there was a babel language error.
14046
14047 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * text.C (Backspace): Preserve the font when changing newline char
14050         with a space.
14051         (BreakParagraph): If the cursor is before a space, delete the space.
14052
14053         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14054
14055 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14056
14057         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14058         new argument (code).
14059         (ChangeCitationsIfUnique): New method.
14060
14061         * paragraph.C (GetPositionOfInset): Handle bibkey.
14062
14063 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * BufferView_pimpl.h: change type of Position::par_pos to
14066         LyXParagraph::size_type.
14067
14068 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14069
14070         * BufferView_pimpl.C (savePosition, restorePosition): Write
14071         messages to minibuffer.
14072
14073 2001-01-28  José Matos  <jamatos@fep.up.pt>
14074
14075         * buffer.C (makeDocBookFile): adds support for document language.
14076         A silly restriction on the name of LatexCommand types where removed.
14077         Added support for CDATA sections, allows to chars unescaped, used
14078         among others in code, to avoid escape < and >.
14079
14080 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14081
14082         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14083         saved positions instrad of a stack. Furthermore, a position is
14084         stored using paragraph id/paragraph position.
14085
14086         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14087         Remove LFUN_REF_BACK.
14088
14089 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14090
14091         * converter.C (dvipdfm_options): New method.
14092
14093 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14094
14095         * vspace.C (isValidLength): Fix for empty input string.
14096
14097 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14098
14099         * LyXAction.C (init): change description of LFUN_FIGURE to
14100         "Insert Graphics"
14101
14102 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * LaTeX.C: add using directive
14105
14106 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14107
14108         * MenuBackend.C (expand): Fix the sorting of the formats.
14109
14110 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * lyx_main.C: tiny error message fix
14113
14114 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14117         calling fl_initialize(). This fixes the problem with ',' as
14118         decimal separator in text files.
14119
14120 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14121
14122         * trans.C (process): Fix the keymap bug.
14123
14124 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14125
14126         * LaTeX.C (scanAuxFiles): New method. Provides support for
14127         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14128         (scanLogFile) Scan for "run BibTeX" messages.
14129
14130         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14131         OT1 font encoding. Also, load the aecompl package if the ae
14132         package is loaded.
14133
14134         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14135
14136 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * texrow.C (increasePos): turn two error messages into debug
14139         messages.
14140
14141 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14142
14143         * LaTeX.C (scanAux): Handle the \@input macro.
14144         (runBibTeX): Use scanAux().
14145
14146         * language.C (latex_options_): New field.
14147
14148         * LaTeXFeatures.C (getMacros): Add language macros.
14149
14150         * buffer.C (makeLaTeXFile): Small fix.
14151
14152 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14155
14156         * text2.C: add a using directive.
14157
14158 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * BufferView2.C:
14161         * lyx_gui_misc.h:
14162         * lyxfr1.C:
14163         * lyxfunc.C: kill LyXBell.
14164
14165 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14166
14167         * text.C (IsBoundary): Remove the error message
14168
14169         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14170
14171         * lyxrc.C (setDefaults): Correct initialization value for
14172         font_norm_type.
14173
14174 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14175
14176         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14177         gotoError().
14178
14179         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14180         and GotoNextNote().
14181
14182         * src/LyXAction.C: Added reference-next.
14183
14184         * text.C (InsertChar): Use contains instead of strchr.
14185
14186         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14187
14188 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14189
14190         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14191         alignment commands (when needed).
14192
14193         * text.C (InsertChar): Add ':' to number separator chars.