]> git.lyx.org Git - features.git/blob - src/ChangeLog
* buffer.[Ch]:
[features.git] / src / ChangeLog
1
2 2003-12-01  André Pönitz  <poenitz@gmx.net>
3
4         * buffer.[Ch]:
5         * lyxtext.h: move ParagraphList member to LyXText
6         rename LyXText::ownerParagraphs to LyXText::paragraph
7
8         * CutAndPaste.C:
9         * bufferview_funcs.C:
10         * iterators.[Ch]:
11         * lyx_cb.C:
12         * paragraph.C:
13         * rowpainter.C:
14         * tabular.C:
15         * text.C:
16         * text2.C:
17         * text3.C: adjust
18
19         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
20
21         * undo.C: fix cursor positioning 
22
23 2003-12-01  John Levon  <levon@movementarian.org>
24
25         * BufferView_pimpl.C: fix a crash on exit with
26         a buffer open
27
28 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * BranchList.C: fix setSelected() method.
31
32 2003-11-28  André Pönitz  <poenitz@gmx.net>
33
34         * ParagraphParameters.[Ch]:
35         * ParameterStruct.h: remove space above/below from Paragraph to
36          InsetVSpace
37
38         * BufferView_pimpl.C:
39         * factory.C:
40         * lyxfunc.C:
41         * lyxtext.h:
42         * output_latex.C:
43         * paragraph.C:
44         * paragraph_funcs.C:
45         * rowpainter.[Ch]:
46         * text.C:
47         * text2.C:
48         * text3.C: adjust
49
50 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * factory.C: Syntax change for CharStyles
53
54 2003-11-28  André Pönitz  <poenitz@gmx.net>
55
56         * BufferView.[Ch]:
57         * BufferView.[Ch]:
58         * buffer.[Ch]:
59         * buffer.[Ch]: move LyXText member
60
61 2003-11-28  André Pönitz  <poenitz@gmx.net>
62
63         * BufferView.[Ch]: make LyXText * text a private member
64
65         * BufferView_pimpl.C:
66         * cursor.C:
67         * iterators.C:
68         * lyx_cb.C:
69         * lyxfind.C:
70         * lyxtext.h:
71         * rowpainter.[Ch]:
72         * text.C:
73         * text2.C:
74         * undo.C: adjust
75
76         * output_plaintext.C: cleanup
77
78 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
79
80         * buffer.C: 
81         * lyxtextclass.[Ch]: parametrize SGML document header
82
83 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * converter.[Ch]:
86         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
87         getFlavor().
88
89 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * text2.C (setFont): rework using PosIterator (no more recursive)
92         (setCharFont): no more needed 
93         (setLayout): no more selection cursors fiddling (done by redoCursor)
94         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
95         destroy remaining ones)
96
97 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
98
99         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
100         * lyxtext.h: ditto
101         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
102         selection cursors
103         * lyxfunc.C: adjust
104         * text3.C: adjust + re-allow multi par depth changes
105         * textcursor.C: simplify a bit
106
107 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * src/buffer.C:
110         * src/lyxlayout.C:
111         * src/lyxlayout.h:
112         * src/lyxtext.h:
113         * src/output_docbook.C:
114         * src/output_latex.C:
115         * src/paragraph.C:
116         * src/paragraph.h:
117         * src/sgml.C:
118         * src/sgml.h:
119         * src/text2.C: Introducing a number of tags parametrizing various
120         XML formats that we may want to support
121
122 2003-11-25  André Pönitz  <poenitz@gmx.net>
123
124         * InsetList.[Ch] (begein, end): inline as suggested by profiler
125
126         * lyxtext.h (leftMargin/rightMargin): simplify interface
127
128         * rowpainter.C:
129         * text.C:
130         * text2.C:
131         * text3.C: adjust
132
133 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * lyxfunc.C (dispatch): propogate the bibtex databases from the
136         master file to any child files. Fixes bug 546.
137
138 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
141
142 2003-11-24  André Pönitz  <poenitz@gmx.net>
143
144         * rowpainter.C: simplification
145
146         * text2.C (updateCounters): remove call to redoParagraph on 
147         changed labels as this is far too expensive.
148
149 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * converter.C (convert): fix a crash: this function gets
152         called with buffer == 0 from importer code.
153
154 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
155
156         * text3.C (cursorPrevious): make sure that we do not compare
157         iterators form different containers.
158         (cursorNext): ditto
159
160         * rowpainter.C (paintSelection): make sure that we do not compare
161         iterators from different containers.
162
163         * text3.C (dispatch): [PRIOR] make sure that we do not compare
164         iterators from different ParagraphList containers.
165         [NEXT] ditto
166
167         * text2.C (LyXText): change order of initialization slightly
168         (operator=): new function. copy all variables except cache_par_
169         (moveUp): make sure that we do not compare iterators from
170         different ParagraphList constainers.
171         (moveDown): ditto
172
173         * text.C (firstPar): new function
174         (lastPar): new function
175         (endPar): new function
176
177         * lyxtext.h: move things around and group public functions, public
178         variables, private functions, private variables
179
180 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
181
182         * factory.C: change call to InsetERT constructor to avoid
183         additional invocation of method status
184         * text2.C (toggleInset): remove redundant update() call
185         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
186         instead of a Bufferview pointer
187
188 2003-11-21  André Pönitz  <poenitz@gmx.net>
189
190         * rowpainter.C: simplification
191
192 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * text3.C (dispatch): make possible to extend a word/row selection
195         with the mouse
196
197 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * lyxtext.h: x0_,y0_ -> xo_,yo_
200         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
201         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
202         * rowpainter.C (paintRows): paint full paragraphs
203
204 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
207         screen coordinates)
208
209 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * lyxtext.h: add x0_, y0_
212         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
213         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
214
215 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * text2.C (setCursorIntern): move the x_target update here *
218         * text3.C: change some bv() to true/false in calls to
219         cursorUp/Down/Right/Left
220         * cursor.C: use helper function.
221
222 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
225         * paragraph_funcs.[Ch]: correct comment
226         * rowpainter.C: do not paint selections away from bv->cursor()
227         Fix a long standing selection painting bug.
228         * text3.C: generalize mouse-selection code to LyXTexts other that
229         top one
230         * textcursor.C: do not use y coords if we can use par offsets
231
232 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
235         cursor position after e.g. inset insert)
236
237 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * lyxfind.C (replace): adjust to locking removal + some
240         code simplification
241
242 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
245         of the path
246
247 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
248
249         * lyxlayout.[Ch]:
250         * output_docbook.C: XML sanitation: new layout
251         parameters InnerTag and CommandDepth
252
253 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
254
255         * BufferView_pimpl.C:
256         * factory.C:
257         * text3.C: Fix the insertion and modification of button-style
258         insets
259
260 2003-11-13  André Pönitz  <poenitz@gmx.net>
261
262         * InsetList.[Ch]: remove deleteLyXText
263
264         * paragraph.[Ch]: cache beginOfBody position
265
266         * Bidi.C:
267         * text.C:
268         * text2.C:
269         * text3.C: remove superfluous update() calls
270
271         * vspace.C: cleanup
272
273 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
276         * BufferView.C (fitLockedInsetCursor): remove
277         * cursor.[Ch] (getDim): add
278         * text.C (getRowNearY): add faster version
279         * text3.C: remove some update calls
280
281 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
282
283         * LaTeXFeatures.C:
284         * LyXAction.C:
285         * MenuBackend.C:
286         * MenuBackend.h:
287         * dispatchresult.h:
288         * factory.C:
289         * lfuns.h:
290         * lyxfunc.C:
291         * lyxtextclass.C:
292         * lyxtextclass.h:
293         * text3.C: The Character Style /XML short element patch.
294
295 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * text3.C:
298         * factory.C: Small step to solving 'unable to insert some insets'
299         problem
300
301 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * cursor.[Ch] (updatePos): new function for updating the y
304         position of the tip inset
305         * bufferview_funcs.C (put_selection_at):
306         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
307
308 2003-11-11  André Pönitz  <poenitz@gmx.net>
309
310         * text.C: remove big comment on invalid Paragraph pointers as it is
311         not valid anymore
312
313 2003-11-11  André Pönitz  <poenitz@gmx.net>
314
315         * text_funcs.[Ch]: merge with ...
316
317         * text.C: ... this
318
319         * lyxtext.h:
320         * text2.C:
321         * text3.C: adjust
322
323         * Makefile.am: remove text_funcs.[Ch]
324
325 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
326
327         * cursor.C (getPos): return absolute cached y coord
328
329         * BufferView_pimpl.C (fitCursor): new simplistic code
330         (workAreaDispatch): add a fitCursor call
331
332 2003-11-10  André Pönitz  <poenitz@gmx.net>
333
334         * BufferView.[Ch]:
335         * BufferView_pimpl.[Ch]: merge update() and updateInset()
336
337 2003-11-10  André Pönitz  <poenitz@gmx.net>
338
339         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
340         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
341         indicate that the cursor needs to leave an inset
342
343         * lyxtext.h: remove inset locking
344
345         * cursor.[Ch]: re-implement functionality provided by inset locking
346
347         * BufferView.[Ch]:
348         * BufferView_pimpl.[Ch]:
349         * LyXAction.C:
350         * bufferview_funcs.[Ch]:
351         * factory.C:
352         * funcrequest.[Ch]:
353         * iterators.C:
354         * lyx_cb.C:
355         * lyxfind.C:
356         * lyxfunc.C:
357         * text.C:
358         * text2.C:
359         * text3.C:
360         * undo.C: adjust
361
362 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
363
364         * PosIterator.[Ch]: replace the stack with a vector, add inset
365         accesor
366         * iterators.[C]: adjust
367
368 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
369
370         * lyxfind.C (replaceAll): mark the buffer dirty if something was
371         replaced
372         * paragraph_funcs.C (readParToken): put the correct id in the
373         error item, not the id of the top paragraph
374
375 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
376
377         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
378         * bufferview_funcs.C (put_selection_at): use the above
379
380 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
381
382         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
383
384 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * output_linuxdoc.h:
387         * output_plaintext.h:
388         * output.h:
389         * output_docbook.h: add #include statements
390
391 2003-11-05  José Matos  <jamatos@lyx.org>
392
393         * output_docbook.[Ch]:
394         * output_latex.[Ch]:
395         * output_linuxdoc.[Ch]:
396         * output_plaintext.[Ch]: New files for output formats.
397         * output.[Ch]: New file for helper functions.
398
399         * buffer.[Ch]:
400         * paragraph_funcs.[Ch]: output functions moved to new files.
401
402         * outputparams.h: rename of latexrunparams.h
403
404         * LaTeX.[Ch]:
405         * buffer.[Ch]:
406         * bufferlist.[Ch]:
407         * converter.[Ch]:
408         * exporter.C:
409         * paragraph.[Ch]:
410         * paragraph_funcs.[Ch]:
411         * paragraph_pimpl.[Ch]:
412         * tabular.[Ch]: rename ascii to plaintext
413         and LatexRunParams to OutputParams.
414
415 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
416
417         * iterators.[Ch] (text): require bv argument
418         * undo.C (recordUndo):
419         * lyxfunc.C (dispatch):
420         * bufferview_funcs.C (put_selection_at): adjust
421
422 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
423
424         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
425
426 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
427
428         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
429         nestings
430
431 2003-11-04  André Pönitz  <poenitz@gmx.net>
432
433         * cursor.[Ch]: restructure
434
435         * BufferView.[Ch]:
436         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
437
438         * iterators.[Ch] (asCursor): remove
439
440         * lfuns.h: remove LFUN_INSET_EDIT
441
442         * lyxfunc.C:
443         * tabular.C:
444         * text.C:
445         * text2.C:
446         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
447
448 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
449
450         * lyxfind.[Ch]: complete overhaul
451         * BufferView_pimpl.C:
452         * lyxfunc.C: adjust
453         * paragraph.[Ch] (insert): add
454
455 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
456
457         * BufferView.[Ch]:
458         * lyxtext.h:
459         * text.C: remove dead spellcheck code
460
461 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
462
463         * dispatchresult.h: add a val setter
464
465         * cursor.C (dispatch): use a tempvar for data_[i]
466
467 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
468
469         * PosIterator.[Ch]: compile fix
470
471 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
472
473         * text.C (cursorPar): deactivate the cursor cache
474
475 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
476
477         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
478
479 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
480
481         * text3.C (dispatch): adjust for new DisptchResult semantics.
482
483         * lyxfunc.C (dispatch): handle update when return from
484         Cursor::dispatch, adjust for new DispatchResult semantics.
485
486         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
487         DispatchResult(true) mean to not update. Add class functions for
488         setting dispatched and update, as well as reading.
489
490         * cursor.C (dispatch): don't handle update here
491
492 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
493
494         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
495         * trans_mgr.C: adjust
496
497         * paragraph_funcs.C (readParToken): exception safety
498
499         * lyxvc.h: store the vcs pointer in a scoped_ptr
500         * lyxvc.C: adjust
501
502         * lyxsocket.C (serverCallback): exception safety
503
504         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
505
506         * ispell.C (clone): make it return a auto_ptr
507
508         * factory.C (createInset): exception safety
509         (readInset): exception safety
510
511         * bufferlist.C (newBuffer): exception safety
512
513         * Thesaurus.C (Thesaurus): use initialization for aik_
514
515         * MenuBackend.C (expandToc): exception safety.
516
517 2003-11-03  André Pönitz  <poenitz@gmx.net>
518
519         * buffer.C:
520         * buffer.h:
521         * bufferview_funcs.C: remove getInsetFromId()
522
523         * lyxcursor.[Ch]:
524         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
525
526         * lyxfunc.C:
527         * text2.C:
528         * text3.C: adjust
529
530 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
531
532         * PosIterator.C (distance, advance): new
533         * bufferview_funcs.[Ch] (put_selection_at): new
534         * iterators.[Ch] (lockPath): new
535
536 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
537
538         * iterators.[Ch] (asPosIterator): added
539         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
540         * PosIterator.[Ch]: added
541
542 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
543
544         * text3.C:
545         * lyxfunc.C:
546         * cursor.C (dispatch):
547         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
548
549         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
550         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
551         contructor, add a class function dispatched. Remove operator>=
552
553 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
554
555         * debug.C: only use the default constructor for debugstream
556         (lyxerr) here.
557
558         * main.C (main): include debug.h and setup the lyxerr streambuf
559         here.
560
561 2003-10-31  José Matos  <jamatos@lyx.org>
562
563         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
564
565         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
566         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
567         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
568         * paragraph_pimpl.C (simpleTeXSpecialC):
569         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
570         add LatexRunParams argument.
571
572         * exporter.C (Export): change call accordingly.
573
574         * latexrunparams.h: add new member to take care of the other backends.
575 2003-10-30  José Matos  <jamatos@lyx.org>
576
577         * buffer.C (makeLinuxDocFile, makeDocBookFile):
578         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
579         factorise code for paragraph output.
580         * buffer.[Ch]:
581         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
582         move functions.
583
584 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
585
586         * text3.C (dispatch):
587         * lyxfunc.C (dispatch):
588         * cursor.C (dispatch):
589         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
590
591         * dispatchresult.h: make the dispatch_result_t ctor explicit
592
593 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * sgml.[Ch]:
596         * buffer.C: small refactoring of docbook stuff
597
598 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
599
600         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
601         meaning.
602
603 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
604
605         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
606         operator dispatch_result_t, and operators for == != and >=
607
608         * cursor.C (dispatch): adjust for operator dispatch_result_t
609         removal. comment out call to update
610
611         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
612
613 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
614
615         * text3.C:
616         * text2.C:
617         * text.C:
618         * lyxtext.h:
619         * lyxfunc.C:
620         * cursor.C:
621         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
622         (dispatch):
623
624         * dispatchresult.h: new file, DispatchResult broken out of
625         insets/insetbase.h
626
627         * Makefile.am (lyx_SOURCES): add dispatchresult.h
628
629 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
630
631         * text.C (rowBreakPoint): put a hack inside #if 0
632
633 2003-10-28  André Pönitz  <poenitz@gmx.net>
634
635         * lyxtext.h:
636         * metricsinfo.C:
637         * paragraph_funcs.C:
638         * rowpainter.C:
639         * text.C:
640         * text2.C: general cleanup (lots of small stuff)
641
642 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
643
644         * text2.C (cursorEnd): simple fix to the "end key goes to one
645         before the end on last row" bug
646
647 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
648
649         * text.C (backspace): fix the "zombie characters"
650
651 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
652
653         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
654
655 2003-10-27  André Pönitz  <poenitz@gmx.net>
656
657         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
658
659         * factory.C: handle new InsetPagebreak, InsetLine
660
661         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
662         and move handling into new InsetPagebreak, InsetLine
663
664         * BufferView_pimpl.C:
665         * LyXAction.C:
666         * ParagraphParameters.C:
667         * ParameterStruct.h:
668         * lyxfunc.C:
669         * lyxtext.h:
670         * paragraph.C:
671         * paragraph.h:
672         * paragraph_funcs.C:
673         * paragraph_pimpl.C:
674         * rowpainter.C:
675         * text.C:
676         * text2.C:
677         * text3.C: adjust
678
679 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
680
681         * text.C:
682         * lyxrow_funcs.[Ch]:
683         * Bidi.C:
684         * paragraph.C:
685         * lyxtext.h:
686         * rowpainter.C:
687         * text2.C:
688         * text3.C: remove lastPos uses in favour of Row::endpos
689
690 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
691
692         * undo.C (performUndoOrRedo): fix two crashes by setting a
693         cursor by hand and reordering some calls. Use bv->lockInset instead
694         of inset->edit because the latter loses cursor information
695
696 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
697
698         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
699         by Martin
700         (rowBreakPoint): fix width. change point to point + 1.
701         Add a missing check.
702
703 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
704
705         * MenuBackend.C:
706         * lyxfunc.C: fix (at least partly) the problems
707         with the Nav menu and headers inside branch insets
708         reported by Kayvan
709
710 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
711
712         * paragraph.C (getChar): add strong asserts
713
714         * lyxrow_funcs.C (lastPos): remove hideous hack
715
716         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
717         (fill): adjust to that (avoid an infinite loop)
718
719 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
720
721         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
722
723 2003-10-23  André Pönitz  <poenitz@gmx.net>
724
725         * RowList_fwd.h: change list<> to vector<> to gain speed
726         after suggestion from Alfredo
727
728 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
729
730         * lyxtext.h: move the bidi stuff from here...
731         * text.C: and here
732         * text2.C: and here
733         * Bidi.[Ch]: ... to here
734
735 2003-10-23  André Pönitz  <poenitz@gmx.net>
736
737         * lyxtext.h:
738         * text.C (isLastRow, isFirstRow): new functions
739
740         * paragraph.h: new width cache member
741
742         * rowpainter.C: replace RowList::iterator with Row & where possible
743
744         * lyxfunc.C: replace several view()->text with a single call
745
746         * toc.C: fix 'unused' warning
747
748 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
749
750         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
751         when woring with stream::pos_type
752         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
753
754 2003-10-22  André Pönitz  <poenitz@gmx.net>
755
756         * lyxtext.h:
757         * text.C: use Row & instead of RowList::iterator
758
759         * lyxrow.h: rename end() to endpos()
760
761         * rowpainter.C:
762         * text.C:
763         * text2.C: adjust
764
765 2003-10-22  Angus Leeming  <leeming@lyx.org>
766
767         * buffer.[Ch] (fully_loaded): new member function, returning true
768         only when the file has been loaded fully.
769         Used to prevent the premature generation of previews and by the
770         citation inset to prevent computation of the natbib-style label.
771
772         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
773         templates are all set up.
774
775         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
776
777 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * text.C: fixed an "oops" in the "is a bit silly"
780         bug fix
781
782 2003-10-21  André Pönitz  <poenitz@gmx.net>
783
784         * FuncStatus.[Ch]: small stuff, whitespace
785
786         * lyxfont.[Ch]: operator<<() for debug reasons
787
788         * lyxfunc.C:
789         * lyxrow_funcs.C:
790         * lyxtext.h: whitespace, spelling
791
792         * paragraph.C: naming of variables
793
794         * text.C:
795         * text2.C: small stuff
796
797
798 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * text.C: (1) finish off the inset display() work;
801         (2) fix the "is a bit silly" bug (accessing char
802         past end of par).
803
804 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
805
806         * text.C: re-introduce display() for insets, fixing the
807         various bugs (stretch of line above, math inset
808         positioning, ...)
809
810 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         * text.C (rightMargin): remove spurious semicolon
813
814         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
815         1415)
816
817 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
818
819         * text3.C: fix one crash due to wrong cursor def
820
821 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
822
823         * vc-backend.C (scanMaster): make the regex static
824
825         * LaTeX.C (scanAuxFile): make the regexs static
826
827         * text3.C (doInsertInset, dispatch, dispatch):
828         * text2.C (cursorUp, cursorDown):
829         * text.C (selectNextWordToSpellcheck):
830         * BufferView_pimpl.C (dispatch):
831         * lyxfunc.C (dispatch):  localDispatch -> dispatch
832
833 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * lyxsocket.C: include <cerrno>
836
837 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
838
839         * lyxfunc.C (dispatch): remove textcache stuff
840
841         * bufferlist.C (release): remove textcache stuff
842         (closeAll): ditto
843
844         * TextCache.C: delete file
845         * TextCache.h: delete file
846
847         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
848
849         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
850         delete of the bv_->text.
851         (resizeCurrentBuffer): remove texcache stuff
852         (workAreaResize): ditto
853
854 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
855
856         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
857         action.
858
859 2003-10-16  André Pönitz  <poenitz@gmx.net>
860
861         * lyxrow.[Ch]:
862         * paragraph.h:
863         * rowpainter.C:
864         * text.C:
865         * text2.C:
866         * text3.C: speed up by storing y positions per paragraph plus per-row
867         offset instead of having a 'full' y position in the row.
868
869 2003-10-15  André Pönitz  <poenitz@gmx.net>
870
871         * iterators.[Ch]:
872         * iterators.[Ch]:
873         * undo.[Ch]: make undo aware of inner insets
874
875 2003-10-14  Angus Leeming  <leeming@lyx.org>
876
877         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
878         static member functions LyX::ref() and LyX::cref.
879         (lastfiles): new accessor functions for the new lastfiles_ member var.
880         (addLyXView, views_): add a new LyXView to the list of views_.
881         (updateInset): loop over all LyXViews to call their own updateInset
882         member function, returning a pointer to the Buffer owning the inset.
883
884         * BufferView_pimpl.C (loadLyXFile):
885         * MenuBackend.C (expandLastfiles):
886         * bufferlist.C (MenuWrite, QuitLyX):
887         lastfiles is no longer a global variable.
888         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
889
890         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
891         static function. Access through LyX::cref().emergencyCleanup().
892
893 2003-10-14  André Pönitz  <poenitz@gmx.net>
894
895         * iterators.[Ch]: new direct access to innermost LyXText and Inset
896
897         * undo.[Ch]: restoring part of 'undo in insets'
898
899         * Makefile.am:
900         * undo_funcs.[Ch]: merge with undo.[Ch]
901
902         * tabular.C: small cleansing stuff
903
904 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
905
906         * paragraph_funcs.C (readParToken): report unknown insets as error
907         boxes. Use the outer paragraph as location (also for unknown
908         tokens).
909
910         * factory.C (readInset): do not abort on reading an unknown inset.
911         Eat it and return 0.
912
913 2003-10-13  Angus Leeming  <leeming@lyx.org>
914
915         * lyx_main.C (LyX): remove call to setDisplayTranslator().
916
917         * lyxrc.C: displayTranslator is now a function,
918         declared in GraphicsTypes.h.
919
920 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
921
922         * format.C: new placeholder $$a to pass the socket address.
923
924         * bufferlist.[Ch]: new function getBufferFromTmp.
925
926         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
927           files in the temporary dir.
928
929 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
930
931         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
932
933         * Makefile.am: add lyxsocket.[Ch].
934
935         * lyx_main.C (error_handler): handle SIGPIPE.
936
937 2003-10-13  André Pönitz  <poenitz@gmx.net>
938
939         * BufferView_pimpl.C:
940         * lyxtext.h:
941         * text.C:
942         * text2.C:
943         * text3.C:
944         * undo_funcs.[Ch]: use paroffset_type instead of
945           ParagraphList::iterators to prevent multiple conversion
946           (and get a more robust interface)
947
948 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
949
950         * lyxfunc.C (dispatch): RESULT -> dispatch_result
951         * lyxtext.h: ditto
952         * text3.C (dispatch): ditto
953
954 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
955
956         * LaTeX.C (handleFoundFile): move the static to smaller scope,
957         move the onlyfile, use onlyfile instead of foundfile in a couple
958         of places.
959
960         * DepTable.C (update): flush the error stream a bit more
961
962 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
963
964         * lyxserver.C (callback): adjust
965
966         * lyxfunc.C (getStatus): add a missing brace in commented code
967         (ensureBufferClean): reindent
968         (dispatch): delete version taking a string
969
970 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
971
972         * LaTeX.C (deplog): move found file handlig from here...
973         (handleFoundFile): .. to new function here.
974         (deplog): make sure to discover several files mentioned on the
975         same log line.
976
977 2003-10-10  André Pönitz  <poenitz@gmx.net>
978
979         * lyxfunc.C:
980         * lyxtext.h:
981         * tabular.C:
982         * text.C:
983         * text2.C:
984         * text3.C: fix some of the tabular crashes
985
986 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
987
988         * MenuBackend.C (binding): put debug message into Debug::KBMAP
989
990         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
991
992 2003-10-09  André Pönitz  <poenitz@gmx.net>
993
994         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
995
996         * BufferView.C:
997         * BufferView_pimpl.C:
998         * bufferview_funcs.C:
999         * lyx_cb.C:
1000         * lyxcursor.C:
1001         * lyxfind.C:
1002         * lyxfunc.C:
1003         * lyxtext.h:
1004         * text.C:
1005         * text2.C:
1006         * text3.C:
1007         * text_funcs.[Ch]:
1008         * textcursor.[Ch]:
1009         * undo_funcs.C: adjust
1010
1011 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1012
1013         * text2.C (incrementItemDepth): new function, use a backtracking
1014         algorithm to discover the correct item depth.
1015         (resetEnumCounterIfNeeded): new function, use a backtracking
1016         algorithm to discover if counter reset is needed.
1017         (setCounter): use them. Simplify a bit. Add different labels for
1018         different item depths for itemize.
1019
1020         * paragraph.C (Paragraph): remove initialization of enumdepth
1021         (operator=): ditto
1022
1023         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1024         enumerate and itemize. Change the type of itemdepth to signed char.
1025
1026 2003-10-08  André Pönitz  <poenitz@gmx.net>
1027
1028         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1029           thing assignable.
1030         * text.C:
1031         * text2.C: adjust
1032
1033         * tabular.[Ch]: fix crash after 'row-insert'
1034
1035 2003-10-08  Angus Leeming  <leeming@lyx.org>
1036
1037         Fix doxygen warnings.
1038
1039         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1040         Remove CutAndPaste:: prefix from header file declaration.
1041
1042         * LColor.h (fill): remove LColor:: prefix from declaration.
1043
1044         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1045         use lyx::depth_type rather than Paragraph::depth_type so that
1046         header file and .C file match.
1047
1048         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1049
1050         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1051         * aspell.C: \file aspell_local.C -> \file aspell.C
1052         * gettext.C: \file gettext.C -> \file src/gettext.C
1053         * gettext.h: \file gettext.h -> \file src/gettext.h
1054         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1055         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1056         * text.C: \file text.C -> \file src/text.C
1057
1058         * toc.C: move comment so that doxygen is not confused.
1059
1060 2003-10-07  Angus Leeming  <leeming@lyx.org>
1061
1062         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1063
1064 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1065
1066         * aspell.C:
1067         * aspell_local.h: add forgotten std::string's.
1068
1069 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1070
1071         * LaTeXFeatures.C:
1072         * LyXAction.C:
1073         * factory.C:
1074         * lfuns.h:
1075         * lyxfunc.C:
1076         * text3.C: The Box patch. Fancybox support, minipage, parbox
1077
1078 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1079
1080         * CutAndPaste.h:
1081         * DepTable.h:
1082         * FloatList.h:
1083         * LaTeXFeatures.h:
1084         * ParagraphParameters.h:
1085         * TextCache.h:
1086         * Thesaurus.h:
1087         * bufferlist.h:
1088         * exporter.h:
1089         * importer.h:
1090         * lastfiles.h:
1091         * lyxfind.h:
1092         * lyxfont.h:
1093         * lyxlex.h:
1094         * lyxtextclasslist.h:
1095         * messages.h:
1096         * paragraph.h:
1097         * paragraph_pimpl.C:
1098         * textcursor.h: add <string> and other small fixes to make Lars'
1099         std::string patch compile with STLport.
1100
1101 2003-10-06  Angus Leeming  <leeming@lyx.org>
1102
1103         * LColor.h: Add missing #include <string>.
1104
1105 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1106
1107         * All most all file in all subdirs: Make <string> be the prefered
1108         way of getting to std::string, add using declarations.
1109
1110 2003-10-06  André Pönitz  <poenitz@gmx.net>
1111
1112         * metricsinfo.C: initialize LyXFont before changing attribute.
1113         (fixes the 'math in \emph is upright' bug)
1114
1115 2003-10-06  André Pönitz  <poenitz@gmx.net>
1116
1117         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1118
1119 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1120
1121         * graph.C:
1122         * paragraph_pimpl.C: Small fixes to build using STLport
1123
1124 2003-10-02  André Pönitz  <poenitz@gmx.net>
1125
1126         * lyxfunc.C:
1127         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1128
1129 2003-10-01  André Pönitz  <poenitz@gmx.net>
1130
1131         * factory.C: assert early
1132
1133 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1134
1135         * lyx_main.C: remove the global debug object
1136
1137         * debug.h: adjust for new debugstream
1138
1139         * debug.C: adjust for new debugstream and keep the global debug
1140         object here.
1141
1142 2003-09-22  Angus Leeming  <leeming@lyx.org>
1143
1144         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1145         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1146         an incomplete class LyXFont.
1147
1148 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1149
1150         * factory.C: bug fix in branches
1151
1152 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1153
1154         * lyxfunc.C (processKeySym): adjust
1155         (dispatch): adjust
1156         (dispatch): change arg name from ev to func, adjust
1157         (sendDispatchMessage): ditto
1158
1159         * lyx_main.C (defaultKeyBindings): adjust keybindings
1160         (deadKeyBindings): ditto
1161
1162         * kbsequence.C (addkey): return a FuncRequest
1163
1164         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1165
1166         * kbmap.C (bind): take a FuncRequest as arg, adjust
1167         (read): adjust
1168         (lookup): adjust
1169         (defkey): change to take a FuncRequest as arg, adjust
1170         (findbinding): take a FuncRequest as arg, adjust.
1171
1172         * funcrequest.h (operator=): added
1173
1174         * funcrequest.C (FuncRequest): default kb_action changed from
1175         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1176
1177         * buffer.C (dispatch): simplify
1178         (dispatch): adjust to take a FuncRequest as arg, adjust
1179
1180         * boost.C (assertion_failed): change assertion message slightly
1181
1182         * ToolbarBackend.C (read): simplify
1183
1184         * MenuBackend.C (binding): adjust call to findbinding, add a
1185         message if no binding is found.
1186         (read): simplify
1187         (expandToc): correct by adding a empty FuncRequest
1188
1189         * LyXAction.C: include <boost/assert.hpp>
1190         (isPseudoAction): delete function
1191         (LookupFunc): change name to...
1192         (lookupFunc): this. change return type to FuncRequest.
1193         (getActionName): take kb_action as arg, simplify
1194         (funcHasFlag): add an assert, simplify.
1195
1196 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1197
1198         * toc.C (action): return a FuncRequest, simplify
1199
1200         * lyxfunc.C (processKeySym): adjust
1201         (getStatus): delete version that takes an int.
1202         (getStatus): adjust
1203         (dispatch): delete version that takes action as int
1204         (dispatch): adjust
1205         (sendDispatchMessage): simplify and adjust
1206
1207         * funcrequest.C (getArg): take unsigned int as arg
1208
1209         * ToolbarBackend.C (read): adjust
1210         (add): delete version that takes func as a string.
1211         (getIton): take a FuncRequest as arg
1212
1213         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1214         action.
1215
1216         * MenuBackend.C (MenuItem): add a new construct that only takes a
1217         Kind, simplify the constructor use for submenus.
1218         (add): adjust
1219         (expandLastfiles): adjust
1220         (expandDocuments): adjust
1221         (expandFormats): adjust
1222         (expandFloatListInsert): adjust
1223         (expandFloatInsert): adjust
1224         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1225
1226         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1227         Remove class variables lyx_pseudo_map and lyx_arg_map
1228
1229         * LyXAction.C (searchActionArg): delete function
1230         (getPseudoAction): delete function
1231         (retrieveActionArg): delete function
1232         (LookupFunc): make it return kb_action, simplify.
1233         (getActionName): simplify
1234
1235         * factory.C (createInset): fix new bug
1236
1237 2003-09-19  Angus Leeming  <leeming@lyx.org>
1238
1239         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1240         masterFilename_ parameter in the include inset.
1241
1242         * factory.C (createInset): changes due to the changes to InsetInclude.
1243
1244 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1245
1246         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1247
1248 2003-09-18  Angus Leeming  <leeming@lyx.org>
1249
1250         * buffer.C:
1251         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1252         Inset::fillWithBibKeys.
1253         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1254
1255 2003-09-18  Angus Leeming  <leeming@lyx.org>
1256
1257         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1258         variables.
1259         (ctor): pass and store a 'Buffer const &'
1260         (buffer): new member function.
1261
1262         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1263         '*this' to the LaTeXFeatures ctor.
1264
1265 2003-09-18  Angus Leeming  <leeming@lyx.org>
1266
1267         * LColor.h:
1268         * lyxfont.C:
1269         * lyxfont.h:
1270         * lyxtext.h:
1271         * text.C: rename EnumLColor as LColor_color.
1272
1273 2003-09-18  Angus Leeming  <leeming@lyx.org>
1274
1275         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1276         remove #include "insets/insetbase.h" from cursor.h.
1277
1278 2003-09-18  Angus Leeming  <leeming@lyx.org>
1279
1280         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1281         InsetOld_code to remove #include "inset.h".
1282
1283         * iterators.C: add #include "insets/inset.h"
1284
1285 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * BufferView.C: remove more locking stuff that apparently doesn't
1288         do anything sensible.
1289
1290 2003-09-16  André Pönitz  <poenitz@gmx.net>
1291
1292         * paragraph.[Ch]:
1293         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1294           performance boost.
1295
1296 2003-09-16  Angus Leeming  <leeming@lyx.org>
1297
1298         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1299
1300         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1301         arg/return type.
1302
1303         * paragraph.h: remove #include "lyxfont.h". Forward declare
1304         LyXFont_size.
1305
1306 2003-09-16  Angus Leeming  <leeming@lyx.org>
1307
1308         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1309         of support/textutils.h.
1310         (isWord): move the contents of support/textutils.h's IsWordChar here.
1311
1312         * buffer.C:
1313         * lyxfind.C:
1314         * rowpainter.C:
1315         * text.C:
1316         * text2.C: add #include "paragraph.h".
1317
1318         * rowpainter.C:
1319         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1320
1321 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1322
1323         * main.C:
1324         * lyx_main.C:
1325         * lyx_cb.C:
1326         * buffer.C:
1327         * LaTeX.C: use namespace alias for lyx::support::os
1328
1329 2003-09-16  Angus Leeming  <leeming@lyx.org>
1330
1331         * bufferparams.C:
1332         * bufferview_funcs.C:
1333         * factory.C:
1334         * lyxfunc.C:
1335         * paragraph_pimpl.C:
1336         * rowpainter.C:
1337         * text.C: add #include "LColor.h".
1338
1339 2003-09-16  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1342         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1343         return LyXFont &.
1344         Store the FontBits::color variable as an int rather than as an
1345         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1346         file.
1347
1348         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1349         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1350         string calls together.
1351
1352         * lyxrc.C: add #include "LColor.h".
1353
1354 2003-09-15  Angus Leeming  <leeming@lyx.org>
1355
1356         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1357         a cow_ptr.
1358
1359 2003-09-15  Angus Leeming  <leeming@lyx.org>
1360
1361         * LColor.h: add an EnumLColor wrapper for LColor::color.
1362
1363         * lyxfont.[Ch] (color, setColor, realColor):
1364         * lyxtext.h, text.C (backgroundColor):
1365         pass EnumLColor args to/from the functions, rather than LColor::color
1366         ones.
1367
1368         * lyxfont.h:
1369         * lyxtext.h: forward declare EnumLColor.
1370
1371         * lyx_main.C: add #include "LColor.h".
1372
1373 2003-09-15  Angus Leeming  <leeming@lyx.org>
1374
1375         * .cvsignore: add lyx-gtk.
1376
1377 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * Chktex.C
1380         * LaTeX.C
1381         * LaTeXFeatures.C
1382         * ParagraphParameters.C
1383         * Spacing.C
1384         * buffer.C
1385         * bufferparams.C
1386         * bufferview_funcs.C
1387         * chset.C
1388         * counters.C
1389         * funcrequest.C
1390         * lyxfont.C
1391         * lyxgluelength.C
1392         * lyxlength.C
1393         * paragraph.C
1394         * paragraph_funcs.C
1395         * text3.C
1396         * vc-backend.C: remove usage of STRCONV
1397
1398 2003-09-15  Angus Leeming  <leeming@lyx.org>
1399
1400         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1401         explicitly define the color passed to the painter.
1402
1403 2003-09-15  Angus Leeming  <leeming@lyx.org>
1404
1405         * bufferparams.C (BufferParams): reorder member initializers to avoid
1406         compiler warning.
1407
1408 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1411         * text.C (updateRowPositions): remove an unusual nop
1412
1413 2003-09-12  André Pönitz  <poenitz@gmx.net>
1414
1415         * BufferView_pimpl.C:
1416         * Bullet.C:
1417         * layout.h:
1418         * lyxfunc.C:
1419         * lyxlayout.[Ch]:
1420         * lyxtextclass.C:
1421         * rowpainter.C:
1422         * text.C:
1423         * text2.C:
1424         * Counters.[Ch]: finish the 'automatic counters' job
1425
1426 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1427
1428         * aspell.C: include <boost/assert.cpp> (compile fix)
1429
1430 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1431
1432         * boost.C (assertion_failed): use lyx::support::abort instead of
1433         assert.
1434
1435 2003-09-10  Angus Leeming  <leeming@lyx.org>
1436
1437         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1438         with their _fwd progeny.
1439
1440 2003-09-09  Angus Leeming  <leeming@lyx.org>
1441
1442         134 files throughtout the source tree: replace 'using namespace abc;'
1443         directives with the appropriate 'using abc::xyz;' declarations.
1444
1445 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1446
1447         * boost.C (emergencyCleanup): moved here from LAssert.c
1448         (assertion_failed): new function, called by BOOST_ASSERT
1449
1450         * several files: change Assert to BOOST_ASSERT
1451
1452 2003-09-09  Angus Leeming  <leeming@lyx.org>
1453
1454         * buffer.[Ch]: Add an Impl class and move Buffer's member
1455         variables into it. As a result move several header files out of
1456         buffer.h.
1457
1458         Add header files to lots of .C files all over the tree as a result.
1459
1460 2003-09-09  Angus Leeming  <leeming@lyx.org>
1461
1462         * buffer.[Ch]: make Buffer's member variables private. Add
1463         accessor functions.
1464
1465         Lots of changes all over the tree as a result.
1466
1467 2003-09-08  Angus Leeming  <leeming@lyx.org>
1468
1469         * graph.C: #include <config.h>.
1470
1471 2003-09-08  Angus Leeming  <leeming@lyx.org>
1472
1473         * BranchList.C:
1474         * BufferView.C:
1475         * BufferView_pimpl.C:
1476         * CutAndPaste.C:
1477         * DepTable.C:
1478         * LaTeX.C:
1479         * LaTeXFeatures.C:
1480         * LyXAction.C:
1481         * MenuBackend.C:
1482         * TextCache.C:
1483         * aspell.C:
1484         * buffer.C:
1485         * bufferlist.C:
1486         * changes.C:
1487         * chset.C:
1488         * converter.C:
1489         * counters.C:
1490         * debug.C:
1491         * graph.C:
1492         * ispell.C:
1493         * lyx_cb.C:
1494         * lyxfind.C:
1495         * lyxfunc.C:
1496         * lyxlex_pimpl.C:
1497         * lyxrc.C:
1498         * lyxrow.C:
1499         * paragraph.C:
1500         * rowpainter.C:
1501         * texrow.C:
1502         * text.C:
1503         * text2.C:
1504         * toc.C: remove redundant using directives.
1505
1506 2003-09-07  Angus Leeming  <leeming@lyx.org>
1507
1508         * LaTeXFeatures.h: remove #include "support/types.h".
1509         * ToolbarBackend.h: remove #include <algorithm>.
1510         * changes.h: remove #include <ctime>.
1511         * debug.h: remove #include <iosfwd>.
1512         * graph.h: remove #include "support/std_string.h".
1513         * lyx_main.h: remove #include <csignal>.
1514         * lyxlex_pimpl.h: remove #include <fstream>.
1515         * sgml.h: remove #include <algorithm>, <utility>.
1516         * toc.h: remove #include "support/std_ostream.h".
1517         Add #include <iosfwd>.
1518
1519 2003-09-07  Angus Leeming  <leeming@lyx.org>
1520
1521         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1522
1523         * converter.h: forward declare LatexRunParams.
1524         * encoding.h: remove #include "lyxrc.h".
1525         * lyxtext.h: remove #include "LColor.h".
1526         * lyxtextclass.h: remove #include "support/types.h".
1527         * trans.h: remove #include "tex-accent.h".
1528         * trans_mgr.h: remove #include "tex-accent.h".
1529         * insets/inset.h: remove #include "support/types.h", <vector>.
1530         * insets/insetcollapsable.h: remove #include "LColor.h".
1531         * insets/insetinclude.h: remove #include "dimension.h".
1532         * insets/insetlatexaccent.h: remove #include "dimension.h".
1533         * insets/insetoptarg.h:: remove #include "insettext.h".
1534         * insets/insettext.h: remove #include "dimension.h",
1535         <boost/shared_ptr.hpp>
1536
1537         * insets/renderers.h: add #include "dimension.h".
1538         * insets/updatableinset.h: add #include "support/types.h".
1539
1540         * many .C files: Associated changes.
1541
1542 2003-09-06  Angus Leeming  <leeming@lyx.org>
1543
1544         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1545         one, inside testInvariant.
1546
1547         * PrinterParams.C: new file.
1548         * PrinterParams.[Ch]: move the function bodies out of line.
1549
1550 2003-09-06  Angus Leeming  <leeming@lyx.org>
1551
1552         * ParagraphParameters.h: forward declare ParameterStruct rather than
1553         including its header file.
1554         (depth): moved out-of-line.
1555
1556 2003-09-06  Angus Leeming  <leeming@lyx.org>
1557
1558         * BufferView_pimpl.h:
1559         * kbmap.h:
1560         * kbsequence.h:
1561         * lyxfunc.h: forward declare LyXKeySym rather than
1562         #include "frontends/LyXKeySym.h".
1563
1564         * BufferView_pimpl.C:
1565         * kbmap.C:
1566         * kbsequence.C:
1567         * lyxfunc.C: associated changes.
1568
1569 2003-09-06  Angus Leeming  <leeming@lyx.org>
1570
1571         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1572         As a result, can remove the #include "insets/inset.h" from BufferView.h
1573
1574 2003-09-06  Angus Leeming  <leeming@lyx.org>
1575
1576         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1577         As a result, can remove the #include "insets/inset.h" from BufferView.h
1578
1579 2003-09-06  Angus Leeming  <leeming@lyx.org>
1580
1581         * buffer_funcs.C:
1582         * buffer.h:
1583         * bufferlist.C:
1584         * BufferView.C:
1585         * bufferview_funcs.C:
1586         * BufferView_pimpl.C:
1587         * CutAndPaste.C:
1588         * lyx_cb.C:
1589         * lyxfunc.C:
1590         * paragraph.h:
1591         * ParagraphParameters.C:
1592         * tabular.C:
1593         * text3.C:
1594         * toc.C:
1595         * undo_funcs.C:
1596         * frontends/controllers/ControlDocument.C:
1597         * insets/insetcaption.C: rearrange the #includes into some sort of
1598         coherent order.
1599
1600         * buffer.h: remove #includes ErrorList.h, undo.h
1601
1602 2003-09-06  Angus Leeming  <leeming@lyx.org>
1603
1604         * support/types.h: add a 'depth_type' typedef, used to store the
1605         nesting depth of a paragraph.
1606
1607         * paragraph.h:
1608         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1609         defining explicitly.
1610
1611         * buffer.h:
1612         * paragraph_funcs.h:
1613         * ParagraphParameters.h:
1614         * sgml.h: use lyx::depth_type rather than Paragraph or
1615         ParameterStruct's depth_type.
1616
1617         * buffer.h
1618         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1619
1620         * BufferView.C:
1621         * BufferView_pimpl.C:
1622         * CutAndPaste.C:
1623         * ParagraphParameters.C:
1624         * buffer_funcs.C:
1625         * bufferlist.C:
1626         * bufferview_funcs.C:
1627         * lyx_cb.C:
1628         * lyxfunc.C:
1629         * tabular.C:
1630         * text3.C:
1631         * toc.C:
1632         * undo_funcs.C:
1633         * frontends/LyXView.C:
1634         * frontends/controllers/ControlDocument.C:
1635         * frontends/controllers/ControlErrorList.C:
1636         * insets/insetbibitem.C:
1637         * insets/insetbranch.C:
1638         * insets/insetcaption.C:
1639         * insets/insetcollapsable.C:
1640         * insets/insetenv.C:
1641         * insets/insetert.C:
1642         * insets/insetfloat.C:
1643         * insets/insetfoot.C:
1644         * insets/insetfootlike.C:
1645         * insets/insetnewline.C:
1646         * insets/insetquotes.C:
1647         * insets/insettabular.C:
1648         * insets/insettext.C:
1649         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1650
1651         * frontends/controllers/ControlChanges.C: #include "changes.h".
1652
1653 2003-09-06  Angus Leeming  <leeming@lyx.org>
1654
1655         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1656         than #including paragraph.h.
1657
1658         * ParagraphList.h:
1659         * RowList.h: deleted. Superfluous.
1660
1661         * CutAndPaste.h:
1662         * iterators.h:
1663         * lyxcursor.h:
1664         * lyxtext.h:
1665         * text_funcs.h:
1666         * undo.h:
1667         * undo_funcs.h:
1668         * insets/inset.h:
1669         * insets/insettext.h: use ParagraphList_fwd.h rather than
1670         ParagraphList.h.
1671
1672         * paragraph.h: don't forward declare ParagraphList.
1673
1674         * buffer.h:
1675         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1676         rather than ParagraphList.h. paragraph.h is still needed for the
1677         Paragraph::depth_type parameters.
1678
1679         * textcursor.h: enable it to compile stand-alone in light of the
1680         above changes.
1681
1682         * bufferview_funcs.C:
1683         * iterators.C:
1684         * lyxfunc.C:
1685         * lyxrow_funcs.C:
1686         * paragraph.C:
1687         * rowpainter.C:
1688         * text.C:
1689         * text2.C:
1690         * text3.C:
1691         * text_funcs.C:
1692         * textcursor.C:
1693         * undo.C:
1694         * frontends/controllers/ControlParagraph.C:
1695         * frontends/controllers/ControlTabular.C:
1696         * insets/insetmarginal.C:
1697         * insets/insetminipage.C:
1698         * insets/insetnote.C:
1699         * insets/insetoptarg.C: add header files needed to compile again.
1700
1701 2003-09-06  Angus Leeming  <leeming@lyx.org>
1702
1703         * RowList_fwd.h: new file, forward-declaring Row rather than
1704         #including lyxrow.h.
1705
1706         * lyxrow_funcs.h:
1707         * lyxtext.h:
1708         * paragraph.h:
1709         * insets/insettext.h: use it instead of RowList.h
1710
1711         * bufferview_funcs.C:
1712         * lyxfunc.C:
1713         * lyxrow_funcs.C:
1714         * paragraph.C:
1715         * rowpainter.C:
1716         * text.C:
1717         * text2.C:
1718         * text3.C: #include "RowList.h".
1719
1720 2003-09-05  Angus Leeming  <leeming@lyx.org>
1721
1722         * factory.C (createInset):
1723         * vspace.C (c-tor): replace sscanf call with an istringstream.
1724         * ispell.C: re-add missing HP/UX headers.
1725         * lyxserver.C: re-add missing  os2 headers.
1726
1727 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1728
1729         * BranchList.C:
1730         * graph.C:
1731         * ispell.C:
1732         * lastfiles.C:
1733         * lyx_cb.C:
1734         * lyxserver.C:
1735         * texrow.C:
1736         * text3.C: re-add missing system headers, needed for 2.95.2.
1737
1738 2003-09-05  Angus Leeming  <leeming@lyx.org>
1739
1740         Changes most place everywhere due to the removal of using directives
1741         from support/std_sstream.h.
1742
1743 2003-09-05  Angus Leeming  <leeming@lyx.org>
1744
1745         Replace LString.h with support/std_string.h,
1746         Lsstream.h with support/std_sstream.h,
1747         support/LIstream.h with support/std_istream.h,
1748         support/LOstream.h with support/std_ostream.h.
1749
1750         Changes resulting throughout the tree.
1751
1752 2003-09-05  Angus Leeming  <leeming@lyx.org>
1753
1754         * sgml.h: ensure that the header file can be compiled stand-alone.
1755         * *.C: strip out redundant #includes. (320 in total.)
1756
1757 2003-09-04  Angus Leeming  <leeming@lyx.org>
1758
1759         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1760         here (from getPackages).
1761
1762         * debug.[Ch]: add a new EXTERNAL tag.
1763
1764 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1765
1766         * text2.C (cursorEnd): simplify
1767         (setCursor): adjust
1768         (getColumnNearX): adjust
1769
1770         * text.C (computeBidiTables): adjust
1771         (fill): adjust
1772
1773         * rowpainter.C (paintChars): adjust
1774         (paintSelection): adjust
1775         (paintChangeBar): adjust
1776         (paintText): adjust
1777
1778         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1779         lastPos instead.
1780         (numberOfSeparators): adjust
1781
1782 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1783
1784         * LyXAction.C:
1785         * box.[Ch]:
1786         * lfuns.h:
1787         * lyxfunc.C:
1788         * text3.C: Restricts the mouse click functionality
1789         of insets like bibtex, include, toc and floatlist to the visible
1790         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1791         up the dialogs. Cursor has to be in front of the inset (i.e.
1792         start of row) for this to function.
1793
1794 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1795
1796         * bufferview_funcs.C (currentState): output row information
1797
1798 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1799
1800         * bufferview_funcs.C (currentState): output paragraph position
1801
1802 2003-09-04  Angus Leeming  <leeming@lyx.org>
1803
1804         * FloatList.h: move out #include "Floating.h".
1805         * LaTeX.h: move out #include "DepTable.h".
1806         * LyXAction.h: move out #include "funcrequest.h".
1807         * buffer.h: move out #include "author.h", "iterators.h".
1808         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1809         * lyx_main.h: move out #include "errorlist.h".
1810         * lyxfunc.h: move out #include "FuncStatus.h".
1811         * lyxtext: move out #include "lyxcursor.h".
1812         * paragraph_pimpl.h: move out #include "counters.h".
1813
1814 2003-09-03  Angus Leeming  <leeming@lyx.org>
1815
1816         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1817         preamble_snippets list, enabling us to add snippets to the preamble
1818         only if the snippet was not there already.
1819
1820 2003-09-04  Angus Leeming  <leeming@lyx.org>
1821
1822         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1823
1824 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1825
1826         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1827         update
1828
1829 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1830
1831         * BranchList.C: point fix, earlier forgotten
1832
1833 2003-09-02  Angus Leeming  <leeming@lyx.org>
1834
1835         * box.C (contains): renamed from 'contained' after a fantastic
1836         amount of hot air.
1837
1838 2003-09-02  John Levon  <levon@movementarian.org>
1839
1840         * BufferView.C:
1841         * lyxcursor.h:
1842         * lyxcursor.C:
1843         * lyxfunc.C:
1844         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1845
1846 2003-09-02  John Levon  <levon@movementarian.org>
1847
1848         * text2.C: simplification of cursorEnd(), including partial
1849         fix for bug 1376
1850
1851 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1852
1853         * buffer.C (readFile): add a space
1854
1855 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1856
1857         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1858
1859 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1860
1861         * buffer.C (readFile): new function, take a filename and a
1862         ParagraphList::iterator
1863         (readFile): adjust
1864         (readFile): adjust, make it private. don't use setStream, make
1865         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1866         always contain the filename.
1867
1868         * BufferView.C (insertLyXFile): simplify and make it work for
1869         gzipped files.
1870
1871 2003-08-30  John Levon  <levon@movementarian.org>
1872
1873         * Makefile.am: fix dist (from Kayvan)
1874
1875 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1876
1877         * most files: change to use const Buffer refs
1878
1879 2003-08-27  André Pönitz  <poenitz@gmx.net>
1880
1881         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1882         on top of ownerPar().
1883
1884 2003-08-27  John Levon  <levon@movementarian.org>
1885
1886         * funcrequest.C: properly initialise POD members
1887
1888 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1889
1890         * lyxtext.h (top_y): move top_y from here
1891         * text.C:
1892         * text2.C:
1893         * text3.C:
1894         * BufferView.[Ch]:
1895         * BufferView_pimpl.[Ch]: to here
1896         * frontends/screen.C:
1897         * insets/insettabular.C:
1898         * insets/insettext.C: adjust
1899         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1900
1901 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1902
1903         * BufferView.[Ch]:
1904         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1905
1906 2003-08-26  André Pönitz  <poenitz@gmx.net>
1907
1908         * paragraph_func.[Ch] (outerPar): new function
1909
1910         * paragraph.C:
1911         * paragraph_funcs.C:
1912         * paragraph_funcs.h:
1913         * paragraph_pimpl.C:
1914         * text2.C: remove Inset::par_owner
1915
1916 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * lyxrow_funcs.C:
1919         * lyxtext.h:
1920         * text.C:
1921         * text2.C: eliminates the needFullRow/display() stuff
1922         altogether, putting the logic in metrics/draw in the insets.
1923
1924 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1925
1926         * text2.C (redoParagraphInternal, redoParagraphs):
1927         * text.C (redoParagraph): add a call to updateRowPositions at the
1928         end of each 'metrics-like' call. Remove all others.
1929         (getRow): remove the 'y-computing' version.
1930         (getRowNearY): do not compute nor return the real y. Solve the
1931         'y < 0' problem and simplify.
1932
1933 2003-08-22  Angus Leeming  <leeming@lyx.org>
1934
1935         * *.[Ch]: clean-up of licence and author blurbs.
1936         Also move config.h out of a few .h files and into a few .C files.
1937
1938 2003-08-22  André Pönitz  <poenitz@gmx.net>
1939
1940         * lyxrow.[Ch]: add x_ and *fill_ members
1941
1942         * lyxtext.h:
1943         * text.C:
1944         * rowpainter.C:
1945         * text2.C: adjust/remove prepareToPrint() calls
1946
1947 2003-08-22  André Pönitz  <poenitz@gmx.net>
1948
1949         * lyxrow.[Ch]: add  end_ member
1950
1951         * lyxrow_funcs.C: use LyXRow::end_
1952
1953         * lyxtext.h (singleWidth): add LyXFont parameter
1954
1955         * rowpainter.C:
1956         * text2.C: adjust LyXText::singleWidth() calls
1957
1958         * text.C (redoParagraph): simplify row breaking logic
1959
1960
1961 2003-08-19  André Pönitz  <poenitz@gmx.net>
1962
1963         * funcrequest.C: initialize button_ member
1964
1965         * text3.C:
1966         * rowpainter.[Ch]: interface consolidation
1967
1968 2003-08-18  André Pönitz  <poenitz@gmx.net>
1969
1970         * BufferView.C:
1971         * BufferView_pimpl.C:
1972         * lyxfind.C:
1973         * paragraph_funcs.C:
1974         * rowpainter.C:
1975         * text3.C: remove LyXScreen::draw() and fitCursor calls
1976
1977         * BranchList.h: remove spurious semicolons
1978
1979         * MenuBackend.C: fix branchlist related crash
1980
1981 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1982
1983         * BranchList.[Ch]:
1984         * InsetList.[Ch]:
1985         * LColor.[Ch]:
1986         * LyXAction.C:
1987         * Makefile.am:
1988         * MenuBackend.[Ch]:
1989         * bufferparams.[Ch]:
1990         * factory.C:
1991         * lfuns.h:
1992         * lyxfunc.C:
1993         * text3.C: implements the 'branch inset'
1994         idea. This allows the output of various versions of a document
1995         from a single source version, selectively outputing or suppressing
1996         output of parts of the text.
1997         This implementation contains a 'branch list editor' in a separate
1998         tab of the document settings dialog. Branches are user definable
1999         and have a "display colour" to distinguish them on-screen.
2000
2001         ColorHandler was somewhat cleaned up.
2002         (1) make possible a dynamically growing LColor list by allowing
2003         the graphic context cache to grow along (vector);
2004         (2) eliminate an IMHO unnecessary step in colour allocation.
2005
2006 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2007
2008         * BufferView_pimpl.C: compile fix
2009
2010 2003-08-15  André Pönitz  <poenitz@gmx.net>
2011
2012         * rowpainter.C: remove extra metrics calls
2013
2014         * lyxtext.h: merge the two constructors into a single one,
2015           pass reference to owner's par list
2016
2017         * BufferView_pimpl.C:
2018         * text.C:
2019         * text2.C: adjust
2020
2021 2003-08-15  André Pönitz  <poenitz@gmx.net>
2022
2023         * lyxrow_funcs.[Ch]:
2024         * lyxtext.h:
2025         * paragraph.h:
2026         * paragraph_funcs.C:
2027         * rowpainter.C:
2028         * text.C:
2029         * text2.C:
2030         * text3.C:
2031         * text_funcs.C: split LyXText::rowlist_ into individual
2032         Paragraph::rows_ chunks
2033
2034         * BufferView.[Ch]:
2035         * BufferView_pimpl.[Ch]:
2036         * lyxfind.C:
2037         * lyxtext.h:
2038         * text3.C: remove toggleSelection()
2039
2040 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2041
2042         * bufferlist.C: beautify two alerts (shorter text of buttons)
2043         * buffer.C: Remove redundant ' ' from message
2044         * tabular.h:
2045         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2046         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2047         rename VALIGN_CENTER to VALIGN_MIDDLE
2048
2049 2003-08-11  André Pönitz  <poenitz@gmx.net>
2050
2051         * lyxtext.h (getPar):
2052         * text.C: new function
2053
2054 2003-08-11  André Pönitz  <poenitz@gmx.net>
2055
2056         * Makefile.am:
2057         * tracer.[Ch]: remove unneeded files
2058
2059         * InsetList.[Ch]: remove resizeInsetsLyXText()
2060
2061         * lyxtext.h:
2062         * text.C:
2063         * text2.C:
2064         * text3.C: merge insertParagraphs() and appendParagraph()
2065         remove breakAgain(), update()
2066
2067         * BufferView_pimpl.[Ch]:
2068         * bufferview_funcs.[Ch]:
2069         * lyxfunc.C:
2070         * paragraph.[Ch]:
2071         * rowpainter.C:
2072         * tabular.C: adjust after text & InsetList changes.
2073
2074 2003-08-08  André Pönitz  <poenitz@gmx.net>
2075
2076         * text.C (insertChar, backspace): replace rowlist fiddling
2077         with rebreak of full par
2078
2079         * lyxtext.h:
2080         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2081         checkParagraph, updateInset): removed
2082
2083 2003-08-07  André Pönitz  <poenitz@gmx.net>
2084
2085         * paragraph.C:
2086         * text3.C: merge some LFUN handlers, remove dead code
2087
2088 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2089
2090         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2091
2092 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * text2.C (DEPM): fix part of bug 1255 and 1256
2095
2096 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * BufferView_pimpl.C (workAreaDispatch): change to use
2099         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2100         that are no mouse related.
2101
2102 2003-08-05  André Pönitz  <poenitz@gmx.net>
2103
2104         * BufferView.[Ch]:
2105         * BufferView_pimpl.[Ch]:
2106         * bufferview_funcs.C:
2107         * text2.C:
2108         * text3.C: rip out "deep update"
2109
2110         * textcursor.[Ch] (last_sel_cursor): remove unused member
2111
2112 2003-08-04  André Pönitz  <poenitz@gmx.net>
2113
2114         * BufferView.[Ch]:
2115         * BufferView_pimpl.[Ch]:
2116         * ParagraphParameters.C:
2117         * bufferview_funcs.C:
2118         * lyx_cb.C:
2119         * lyxfind.C:
2120         * lyxfunc.C:
2121         * text.C:
2122         * text2.C:
2123         * text3.C: replace "complicated" BufferView::update(...) calls with
2124         simpler ones.
2125
2126         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2127
2128 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2129
2130         * Makefile.am (lyx_SOURCES): add paper.h
2131
2132 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2133
2134         * Makefile.am: move things around so that both lyx-qt and
2135         lyx-xforms can be built (according to --with-frontend). Then lyx
2136         is a symbolic link to lyx-[firstfrontend]
2137
2138 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2139
2140         * Always use std::endl with lyxerr
2141
2142 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2143
2144         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2145
2146 2003-08-01  André Pönitz  <poenitz@gmx.net>
2147
2148         * BufferView.[Ch]:
2149         * BufferView_pimpl.[Ch]:
2150         * lyxfunc.C:
2151         * text3.C: merge BufferView::repaint() and BufferView::update()
2152
2153 2003-08-01  José Matos  <jamatos@lyx.org>
2154
2155         * buffer.[Ch]: file_format is no longer a buffer data element.
2156
2157 2003-08-01  André Pönitz  <poenitz@gmx.net>
2158
2159         * BufferView.C:
2160         * lyxtext.h:
2161         * text.C:
2162         * text2.C: make redoParagraph more independent of current cursor
2163
2164         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2165         * text.C:
2166         * text2.C: remove unneeded members
2167
2168 2003-07-30  André Pönitz  <poenitz@gmx.net>
2169
2170         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2171
2172         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2173           create a single function...
2174
2175         * paragraph_funcs.C (moveItem): ... here.
2176
2177         * text.C:
2178           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2179
2180 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2181
2182         * LColor.[Ch]: Add comment and greyedout logical colors.
2183
2184 2003-07-30  André Pönitz  <poenitz@gmx.net>
2185
2186         * tabular.C: don't use Assert too heavily. This crashes where it
2187           shouldn't
2188
2189 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2192         is disabled (bug 1232)
2193
2194 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2195
2196         * factory.C: limited 'arg' scope
2197
2198 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2199
2200         * factory.C: fixed Note submenu issues
2201
2202 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2203
2204         * factory.C: submenu for Note/Comment/Greyedout
2205
2206 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2207
2208         * lyx_main.C (LyX):
2209         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2210
2211 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2212
2213         * LaTeXFeatures.C:
2214         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2215         greyedout. Patch provided by Jürgen Spitzmüller.
2216
2217 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2218
2219         * kbmap.C (read): fix error message when reading bind files
2220
2221 2003-07-29  Angus Leeming  <leeming@lyx.org>
2222
2223         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2224         certainly does not do what it purports to do. I am doing it, and
2225         us, a favour by killing it.
2226
2227 2003-07-28  José Matos  <jamatos@lyx.org>
2228
2229         * buffer.C (readBody, do_writeFile):
2230         * paragraph.C(readParagraph): \end_document replaces \the_end.
2231
2232 2003-07-29  André Pönitz  <poenitz@gmx.net>
2233
2234         * BufferView.[Ch]:
2235         * BufferView_pimpl.[Ch]:
2236         * lyxfunc.C:
2237         * text2.C:
2238         * text3.C:
2239         * textcursor.[Ch]: remove toggleToggle & Co
2240
2241 2003-07-28  José Matos  <jamatos@fep.up.pt>
2242
2243         * buffer.C (readParagraph):
2244         * params_func (readParToken, readParagraph):
2245         * paragraph.C (write): \layout -> \begin_layout.
2246
2247 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * lyxlex_pimpl.C (setFile): clean up slightly.
2250
2251         * bufferparams.h: add compressed var
2252
2253         * buffer_funcs.C (readFile): adjust for LyXLex change
2254         (newFile): ditto + simplify
2255
2256         * buffer.C (writeFile): handle writing of compressed files
2257
2258         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2259         Check if the file is compressed and set a bufferparm if so.
2260
2261         * Makefile.am (lyx_LDADD): remove explicit -lz
2262
2263 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2266         makeDocBookFile): put the real LyX version in the first line of
2267         the file
2268
2269         * version.h:
2270         * version.C.in: remove lyx_docversion
2271
2272         * tabular.C (write_attribute): add a template-based version to
2273         write enums properly
2274
2275 2003-07-28  André Pönitz  <poenitz@gmx.net>
2276
2277         * lyxtext.h:
2278         * text.C:
2279         * text2.C:
2280         * text3.C: use doubles again for x-coordinates. They are needed.
2281
2282 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * messages.C (getLocaleDir): use lyx_localedir()
2285
2286         * lyxlex_pimpl.C (setFile): compress stuff
2287
2288         * buffer.C (writeFile): add some compression stuff
2289         (do_writeFile): new func, dont call expliti close... will this
2290         breake anything?
2291
2292         * Makefile.am (lyx_LDADD): add -lz
2293
2294 2003-07-28  José Matos  <jamatos@fep.up.pt>
2295
2296         * buffer.C: increment file format.
2297         * paragraph_funcs (readParagraph, readParToken):
2298         * paragraph.C (readParagraph): add \end_layout.
2299
2300 2003-07-27  Angus Leeming  <leeming@lyx.org>
2301
2302         * Makefile.am: remove special casing for configure-time setting of
2303         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2304
2305         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2306         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2307
2308 2003-07-26  André Pönitz  <poenitz@gmx.net>
2309
2310         * paragraph_func.[Ch]:
2311         * paragraph.C (realizeFont): inline it whereever it is used
2312
2313         * rowpainter.C:
2314         * text.C:
2315         * text2.C:
2316         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2317
2318
2319 2003-07-26  André Pönitz  <poenitz@gmx.net>
2320
2321         *       lyxtext.h:
2322         * text.C:
2323         * text2.C: get rid of LyXText::need_break_row
2324
2325 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * toc.[Ch]: put namespace toc inside namespace lyx
2328
2329         * MenuBackend.C (expandToc2): adjust for lyx::toc
2330         (expandToc): ditto
2331
2332         * lyxfunc.C (dispatch): adjust for lyx::find
2333
2334         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2335         lyx::find instead. Reorganize a bit.
2336         (LyXReplace): rename to replace
2337         (LyXFind): rename to find
2338
2339         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2340         (dispatch): ditto
2341
2342 2003-07-26  André Pönitz  <poenitz@gmx.net>
2343
2344         * text.C (setHeightOfRow): restrict scope of temporary variable
2345
2346         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2347           code (never has been used?)
2348
2349 2003-07-27  Asger Alstrup  <alstrup@local>
2350
2351         * text.C (fill): Optimise algorithm to exploit that we can reuse
2352         the LyXFont for many characters.
2353         (setHeightOfRow): Same thing.
2354         (rowBreakPoint): Same thing.
2355
2356 2003-07-26  Asger Alstrup  <alstrup@local>
2357
2358         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2359
2360         * text.C (singleWidth): Spurious font copying in hot-spot
2361         singleWidth avoided. Reorder tests for arabic for efficiency.
2362
2363         * text.C (fill): handle empty paragraphs better.
2364
2365 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2366
2367         * ispell.C:
2368         * encoding.h: add includes
2369
2370         * lyxrc.C: remove reading of bind files
2371
2372         * lyx_main.C (init): setup bindings and menus only if we have a
2373         gui.
2374
2375         * kbmap.C (read): new method. Do the actual reading of bind
2376         files.
2377
2378         * converter.C (dvipdfm_options):
2379         * bufferparams.C:
2380         * lyxrc.C (read):
2381         (output): adapt PAPER_* enums.
2382
2383         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2384
2385         * bufferparams.h: remove paper-related enums from there
2386
2387         * paper.h: New file. A trivial header file to hold paper-related
2388         enums. It should later expand to contain many paper-related
2389         horrors access.
2390
2391         * lyxrc.C: declare extern displayTranslator
2392
2393 2003-07-27  José Matos  <jamatos@fep.up.pt>
2394
2395         * tabular.[Ch] (linuxdoc): add support for tables and figures
2396         (linuxdoc).
2397
2398 2003-07-27  José Matos  <jamatos@fep.up.pt>
2399
2400         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2401         consistency in both functions.
2402         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2403
2404 2003-07-26  Asger Alstrup  <alstrup@local>
2405
2406         * rowpainter.C (paintRows): Change algorithm to work directly on
2407         the insets rather than asking every character in the document
2408         whether its an inset.
2409
2410 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2411
2412         * buffer.C (openFileWrite): factorize some code
2413
2414 2003-07-26  Angus Leeming  <leeming@lyx.org>
2415
2416         * lyx_cb.C:
2417         * lyx_main.[Ch]: replace occurances of system_tempdir with
2418         os::getTmpDir().
2419
2420 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * rename Inset to InsetOld
2423
2424 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2425
2426         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2427         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2428         which I think is a bit clearer. EDIT is gone, since it was
2429         premature optimisation, and broken for mathed anyway.
2430         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2431         with cursor positioning in insets as well (math insets still do not
2432         work, but that's a different story anyway.) It mysteriously
2433         crashes sometimes with undo in the first paragraph, but I'm fairly
2434         confident that this is a compiler bug.
2435
2436 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * paragraph.C (Paragraph): adjust for new clone return type
2439         (operator==): ditto
2440         (copyIntoMinibuffer): ditto
2441
2442 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2443
2444         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2445         by not having a special case, and always doing a full rebreak of
2446         the document after undo.
2447
2448 2003-07-23  Angus Leeming  <leeming@lyx.org>
2449
2450         * factory.C (createInset): InsetExternal::setParams now takes a
2451         Buffer const * arg.
2452
2453 2003-07-23  Angus Leeming  <leeming@lyx.org>
2454
2455         * factory.C (createInset): changed interface to the external and
2456         graphics mailers' string2params functions.
2457
2458 2003-07-23  Angus Leeming  <leeming@lyx.org>
2459
2460         * factory.C (createInset): pass a
2461         Buffer const * parameter to InsetExternalMailer's string2params.
2462
2463 2003-07-22  John Levon  <levon@movementarian.org>
2464
2465         * Thesaurus.h: include the right aiksaurus header
2466
2467 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2468
2469         * MenuBackend.C (expand): check menu shortcuts unconditionally
2470
2471 2003-07-21  Angus Leeming  <leeming@lyx.org>
2472
2473         * factory.C (createInset): pass a
2474         buffer_path parameter to InsetGraphicsMailer's string2params.
2475
2476 2003-07-21  Angus Leeming  <leeming@lyx.org>
2477
2478         * BufferView_pimpl.C (buffer):
2479         * buffer.C (d-tor):
2480         * lyx_main.C (LyX):
2481         * lyxfunc.C (dispatch):
2482         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2483         rather than the grfx shortcut.
2484
2485 2003-07-21  André Pönitz  <poenitz@gmx.net>
2486
2487         * rowpainter.C: remove unused variables
2488
2489         * tabular_funcs.C:
2490         * tabular_funcs.h: move to tabular.C
2491         * Makefile.am: adjust
2492
2493         * tabular.[Ch]: basic optical cleaning
2494
2495         * author.h: pass references, not values
2496
2497 2003-07-18  André Pönitz  <poenitz@gmx.net>
2498
2499         * lyxtext.h:
2500         * metricsinfo.C:
2501         * metricsinfo.h:
2502         * rowpainter.C:
2503         * text.C:
2504         * text2.C:
2505         * text3.C: two-phase drawing for InsetText and InsetTabular
2506         some float -> int changes.
2507
2508 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * lyx_main.C: fix the fix
2511
2512 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2513
2514         * lyx_main.C: fix a crash in batch mode if no files specified
2515         * converter.C: ws
2516
2517 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * format.[Ch] (papersize): moved to BufferParams
2520         * converter.[Ch] (dvips_options): moved to BufferParams
2521         (dvipdfm_options): moved to anon namespace
2522         * bufferparams.[Ch]: added above functions.
2523
2524 2003-07-17  André Pönitz  <poenitz@gmx.net>
2525
2526         * lyxtext.h:
2527         * rowpainter.C:
2528         * text2.C: don't call inset->update() anymore
2529
2530         * metricsinfo.[Ch]: add convenience constructor
2531
2532 2003-07-16  André Pönitz  <poenitz@gmx.net>
2533
2534         * lyxcursor.[Ch]:
2535         * lyxfunc.[Ch]:
2536         * text.C:
2537         * text2.C: replace the LyXCursor::irow_ member with
2538          on-demand computation of the value
2539
2540 2003-07-16  John Levon  <levon@movementarian.org>
2541
2542         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2543
2544 2003-07-15  André Pönitz  <poenitz@gmx.net>
2545
2546         * text.C:
2547         * text2.C: remove no more needed refresh_row
2548
2549 2003-07-15  André Pönitz  <poenitz@gmx.net>
2550
2551         * lyxtext.h:
2552         * rowpainter.C:
2553         * text2.C:
2554         * text3.C: refresh_status tristate -> need_update bool
2555
2556 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * lyxtext.h (init): remove reinit argument (act as if always true)
2559         * text2.C: adjust to that
2560
2561 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2562
2563         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2564         * text3.C: use it to delete selections in some cases
2565         (bugs 441, 673, 702, 954).
2566
2567 2003-07-14  André Pönitz  <poenitz@gmx.net>
2568
2569         * rowpainter.[Ch]: reduce interface
2570
2571 2003-07-14  André Pönitz  <poenitz@gmx.net>
2572
2573         * BufferView_pimpl.C:
2574         * text2.C: adjust after removing unused BufferView * argument
2575
2576 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2577
2578         * text2.C (init): fix a crash fired on resize
2579
2580 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2581
2582         * buffer.[Ch]: added new closing signal
2583         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2584         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2585         BufferView::Pimpl via the closing the signal
2586
2587 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2588
2589         * buffer.[Ch]: take out all bv-related from buffer
2590         * BufferView.C:
2591         * BufferView_pimpl.[Ch]: connect to new signals
2592         * CutAndPaste.C: removed useless asserts
2593         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2594         * lyxvc.[Ch]:
2595         * vc-backend.[Ch]:
2596         * lyxfunc.C: moved view-related funciontality from vc here
2597         * paragraph.C: removed outdated comments
2598         * text.C: ws
2599
2600 2003-07-10  André Pönitz  <poenitz@gmx.net>
2601
2602         * BufferView_pimpl.C:
2603         * tabular.h:
2604         * tabular_funcs.C:
2605         * text.C:
2606         * text2.C: remove InsetText::InnerCache, clean up consequences
2607
2608 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2609
2610         * ispell.C: fix two typos in error messages
2611
2612 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2613
2614         * Extend Note inset to other forms of annotation like Comment
2615         and Greyedout. Right button click gives dialog.
2616
2617         Files modified or added (+):
2618
2619         * insetnote.[Ch]
2620         * FormNote.[Ch]      +
2621         * ControlNote.[Ch]   +
2622         * form_note.fd       +
2623         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2624         frontends/controllers
2625         * xforms/Dialogs.C
2626         * factory.C
2627
2628 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2629
2630         * aspell.C: add missing namespace lyx::support
2631
2632 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * BufferView.[Ch] (newFile): Add
2635         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2636         * LaTeX.[Ch] (message): added this signal and use it
2637         * buffer.[Ch] (busy, message): added these signals and use them
2638         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2639         * converter.C:
2640         * exporter.C:
2641         * format.C:
2642         * importer.C: use buffer signals instead of direct bv calling
2643         * lyx_cb.[Ch] (ShowMessage): removed
2644         * lyx_main.C:
2645         * lyxfunc.C:
2646         * paragraph_funcs.C:
2647         * text2.C: use buffer signals
2648
2649 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * introduce namespace lyx::graphics
2652
2653 2003-07-02  André Pönitz  <poenitz@gmx.net>
2654
2655         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2656
2657 2003-07-01  André Pönitz  <poenitz@gmx.net>
2658
2659         * text.C:
2660         * text2.C:
2661         * text3.C:
2662         * text_funcs.[Ch]:
2663         * textcursor.h:
2664         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2665           text*.C to text_func.C
2666
2667 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2668
2669         * introduce namespace lyx::support
2670
2671 2003-06-30  André Pönitz  <poenitz@gmx.net>
2672
2673         * Chktex.C:
2674         * funcrequest.C:
2675         * lyxtext.h:
2676         * text.C: re-enable --with-included-string
2677
2678 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2679
2680         * textcursor.C: add <config.h>
2681
2682         * text.C (getWord): remove const from word_location arg
2683
2684         * lyxvc.C (getLogFile): fix const type order
2685
2686         * lyxtext.h: remove const from word_location arg, add arg name
2687
2688         * lyxlayout.h: currect type on labeltype.
2689
2690         * importer.C: correct \file
2691
2692         * converter.C (intToFormat): use std:: on ret val, ws changes
2693
2694         * bufferlist.h: correct \file
2695
2696         * buffer.C (makeLinuxDocFile): fix const type order
2697         (makeDocBookFile): ditto
2698         (fillWithBibKeys): use std:: on stdlib args.
2699
2700         * CutAndPaste.C: fix authors.
2701         (availableSelections): use std:: on return vector
2702
2703 2003-06-27  André Pönitz  <poenitz@gmx.net>
2704
2705         * BufferView_pimpl.C:
2706         * bufferview_funcs.C:
2707         * lyxcursor.C:
2708         * lyxcursor.h:
2709         * lyxfunc.C:
2710         * lyxtext.h:
2711         * rowpainter.C:
2712         * text.C:
2713         * text2.C:
2714         * text3.C: remove LyXCursor::row_ member
2715
2716         * lyxtext.h:
2717         * text.C: rename fullRebreak() to partialRebreak() and implement
2718           a fullRebreak() that really bereks fully
2719
2720         * textcursor.h: new struct for cursor-related data
2721
2722 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * lyx_main.C (LyX): get full path of document loaded on the
2725         command line
2726
2727 2003-06-26  André Pönitz  <poenitz@gmx.net>
2728
2729         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2730           remove unused/broken operator>,<,>=.
2731
2732         *       text.C: remove only use of broken operator<= in an Assert().
2733
2734 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2737         moved errorlist_.clear to showErrorList
2738
2739 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * converter.C (scanLog, runLaTeX):
2742         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2743         move the bv->showErrorList call to the callers
2744         * lyxfunc.C: i.e. here...
2745         * text2.C: and here
2746         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2747         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2748         namespace, the second to...
2749         * buffer_funcs (BufferFormat, parseErrors): added
2750         * errorlist.C (ErrorList(TeXErrors const &)): removed
2751
2752 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2753
2754         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2755
2756 2003-06-24  "Garst R. Reese" <reese@isn.net>
2757
2758         * debug.C: fix typo
2759
2760 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2761
2762         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2763
2764         * version.C.in: change docversion to 1.4
2765
2766 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2767
2768         * buffer.C: fix a bug just introduced
2769
2770 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * buffer.[Ch]: added the parseError signal and use it, removed
2773         sgmlError
2774         * BufferView.[Ch] (addError): moved to ...
2775         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2776         to the Buffer::parseError signal to catch (guess what) parse errors
2777         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2778
2779 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2782         ability to create a buffer and to return an existing one from
2783         the list. Moved these functions to...
2784         * buffer_funcs.[Ch]: added
2785         * BufferView.[Ch] (loadLyXFile): added
2786         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2787         job removed from bufferlist::loadLyXFile.
2788         * buffer.C (setReadOnly): make it work without view
2789         (i.e added an if (users))
2790
2791 2003-06-19  Angus Leeming  <leeming@lyx.org>
2792
2793         * lfuns.h:
2794         * LyXAction.C (init):
2795         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2796         with LFUN_DIALOG_SHOW <name> <data>.
2797
2798 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2799
2800         * CutAndPaste.C (availableSelections): small compilation fix for
2801         ancient (gcc 2.9x) compilers
2802
2803 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * text3.C (cursorNext): add tmp var
2806
2807         * text2.C (updateCounters): for function calling out of for clause
2808         (replaceSelectionWithString): ditto
2809         (insertStringAsParagraphs): ditto
2810         (getColumnNearX): add tmp var
2811         (setCursorFromCoordinates): add tmp var
2812         (cursorDownParagraph): add tmp var
2813         (deleteEmptyParagraphMechanism): add tmp var
2814
2815         * text.C (insertChar): add tmp var
2816
2817         * rowpainter.C (paintDepthBar): add tmp var
2818
2819         * CutAndPaste.C (availableSelections): potentially check all
2820         paragraphs in a cut to fill the shown strings.
2821
2822 2003-06-18  André Pönitz  <poenitz@gmx.net>
2823
2824         * kbmap.[Ch]: use vector<> instead of list<>
2825
2826 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2827
2828         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2829         pasteSelection with index
2830
2831         * text2.C (pasteSelection): modify, call pasteSelection with index
2832
2833         * paragraph.C (asString): reimplement version with no interval to
2834         call the one with interval.
2835
2836         * lyxtext.h: add index arg to pasteSelection
2837
2838         * MenuBackend.C (MenuItem): handle PasteRecent
2839         (Menu::read::Menutags): add md_pasterecent
2840         (read): handle it
2841         (expandPasteRecent): new function
2842         (expand): use it
2843
2844         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2845
2846         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2847         the limited stack
2848         (availableSelections): new function
2849
2850 2003-06-17  Angus Leeming  <leeming@lyx.org>
2851
2852         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2853
2854 2003-06-17  Angus Leeming  <leeming@lyx.org>
2855
2856         * lfuns.h:
2857         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2858
2859         * lyxfunc.C (dispatch): invoke it.
2860
2861 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2862
2863         * iterators.C (operator++, ParPosition): reintroduce some
2864         const_cast for the benefit of older compilers.
2865
2866 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2867
2868         * text3.C (dispatch): do not modify clipboard when doing
2869         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2870         LFUN_DELETE_SKIP on a selection selection
2871
2872 2003-06-16  André Pönitz  <poenitz@gmx.net>
2873
2874         * BufferView.C:
2875         * buffer.C:
2876         * buffer.h:
2877         * paragraph.C:
2878         * tabular.[Ch]: IU of clone() and getLabelList();
2879
2880 2003-06-13  André Pönitz  <poenitz@gmx.net>
2881
2882         * tabular.h: compactification
2883
2884 2003-06-12  André Pönitz  <poenitz@gmx.net>
2885
2886         * tabular.C:
2887         * tabular.h:
2888         * tabular_funcs.h: some renaming plus whitespace
2889
2890 2003-06-12  André Pönitz  <poenitz@gmx.net>
2891
2892         * BufferView.C:
2893         * BufferView_pimpl.C:
2894         * CutAndPaste.C:
2895         * buffer.C:
2896         * iterators.[Ch]:
2897         * lyxfunc.C:
2898         * text.C:
2899         * toc.C: Return a Paragraph & for ParIterator::operator*()
2900
2901 2003-06-11  John Levon  <levon@movementarian.org>
2902
2903         * lyx_main.C:
2904         * ToolbarBackend.h:
2905         * ToolbarBackend.C: add "Toolbars" section and
2906         put the flags there
2907
2908 2003-06-10  Angus Leeming  <leeming@lyx.org>
2909
2910         * lfuns.h:
2911         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2912
2913         * lyxfunc.C (dispatch): invoke it.
2914
2915 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * main.C: protect <ios> with HAVE_IOS
2918         (main): protect sync_with_stdio with HAVE_IOS
2919
2920 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2921
2922         * text2.C (cutSelection): adjust
2923         (pasteSelection): adjust
2924
2925         * messages.C: handle get of empty string
2926
2927         * main.C (main): use sync_with_stdio(false)
2928
2929         * lyxfunc.C (dispatch): adjust
2930
2931         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2932         (WriteAs): remove unneeded BufferView arg.
2933
2934         * bufferparams.h: use correct types on papersize, papersize2 and
2935         paperpackage.
2936
2937         * bufferparams.C (readToken): adjust for type
2938         (writeLaTeX): add missing cases to switch.
2939
2940         * bufferlist.C (quitWriteBuffer): adjust
2941         (close): adjust
2942
2943         * buffer.C (asciiParagraph): remove some commented code.
2944
2945         * CutAndPaste.C: remove current_view extern variable.
2946         (cutSelection): add BufferParams arg.
2947         (eraseSelection): add BufferParams arg.
2948         (pasteSelection): add Buffer const & arg
2949
2950 2003-06-07  John Levon  <levon@movementarian.org>
2951
2952         * buffer.C:
2953         * paragraph_funcs.C:
2954         * paragraph_pimpl.C:
2955         * text.C:
2956         * text2.C:
2957         * paragraph.h:
2958         * paragraph.C: allow InsetERT to freely space lines,
2959         and some consolidation of code
2960
2961 2003-06-06  José Matos  <jamatos@fep.up.pt>
2962
2963         * buffer.C (makeDocBookFile): fix bug #821
2964
2965 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2968
2969 2003-06-04  Angus Leeming  <leeming@lyx.org>
2970
2971         * buffer.C: bump format to 224.
2972
2973 2003-06-05  André Pönitz  <poenitz@gmx.net>
2974
2975         * text2.C (redoParagraphs): remove two const_cast<>
2976
2977 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2978
2979         * ParagraphList.h: remove last remnants of NO_STD_LIST
2980
2981 2003-06-03  Angus Leeming  <leeming@lyx.org>
2982
2983         * factory.C (createInset): small change to the way InsetExternal's params
2984         are set.
2985
2986 2003-06-04  André Pönitz  <poenitz@gmx.net>
2987
2988         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2989
2990         * paragraph_pimpl.h:
2991         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2992
2993         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2994
2995         * undo_funcs.C: make some simple cases of undo work again
2996
2997 2003-06-03  John Levon  <levon@movementarian.org>
2998
2999         * ispell.C: HPUX doesn't have sys/select.h
3000         (from Albert Chin)
3001
3002 2003-06-03  John Levon  <levon@movementarian.org>
3003
3004         * CutAndPaste.C: update tabular and include inset
3005         buffer references
3006
3007         * buffer.h:
3008         * paragraph.h:
3009         * paragraph.C: remove owningBuffer(), don't pass Buffer
3010         to clone()
3011
3012         * factory.C: insetGraphicsParams changed
3013
3014 2003-06-02  John Levon  <levon@movementarian.org>
3015
3016         * LyXAction.C:
3017         * factory.C:
3018         * lfuns.h:
3019         * lyxfunc.C:
3020         * text3.C: remove insetparent
3021
3022 2003-06-02  John Levon  <levon@movementarian.org>
3023
3024         * buffer.h:
3025         * buffer.C: fix inset_iterator.end(), move out of line
3026         (bug 1149)
3027
3028 2003-06-01  John Levon  <levon@movementarian.org>
3029
3030         * text3.C: use a proper cut/paste when doing inset
3031         insert (from Jürgen Spitzmüller)
3032
3033 2003-06-01  John Levon  <levon@movementarian.org>
3034
3035         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3036
3037 2003-05-30  André Pönitz  <poenitz@gmx.net>
3038
3039         * rowpainter.C: unify second drawing phase
3040
3041 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * trans_mgr.C: remove one case of current_view
3044
3045         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3046
3047         * paragraph_funcs.h: remove paragraph.h include
3048
3049         * paragraph.h: delete NO_STD_LIST stuff
3050
3051         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3052
3053         * buffer.h: remove paragraph.h include
3054
3055         * ParagraphList.C: delete file
3056
3057         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3058
3059         * toc.C (getTocList): adjust
3060
3061         * paragraph_pimpl.C (validate): adjust
3062
3063         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3064
3065         * paragraph.C (Paragraph): adjust
3066         (getPositionOfInset): use const_iterator, adjust
3067         (bibitem): use const_iterator, adjust
3068         (setInsetOwner): adjust
3069
3070         * iterators.C (operator++): adjust
3071
3072         * InsetList.[Ch]: Replace selfmade iterator with standard
3073         vector::iterator also introduce const_iterator. Remove getPos,
3074         getInset and setInset from InsetTable. Adjust accordingly.
3075
3076         * BufferView.C (lockInset): adjust
3077         (ChangeInsets): adjust
3078
3079         * tabular.[Ch]: delete commented same_id functions
3080
3081 2003-05-28  John Levon  <levon@movementarian.org>
3082
3083         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3084
3085 2003-05-28  André Pönitz  <poenitz@gmx.net>
3086
3087         * metricsinfo.[Ch]: remove 'fullredraw' member
3088
3089 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3090
3091         * lyxtextclass.C (operator): remove caching.
3092
3093 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * text3.C: adjust
3096
3097         * text2.C (cursorBottom): adjust
3098         (setCounter): use ParagraphList::find, adjust
3099
3100         * text.C (workWidth): use ParagraphList::find, adjust
3101
3102         * lyxcursor.C (LyXCursor): adjust
3103
3104         * buffer.C (inset_iterator): adjust
3105
3106         * ParagraphList.h: make iterator(value_type) private, make
3107         ParagraphList a friend of iterator.
3108
3109         * ParagraphList.C (find): new function
3110
3111         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3112
3113 2003-05-27  André Pönitz  <poenitz@gmx.net>
3114
3115         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3116
3117 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3118
3119         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3120
3121 2003-05-26  John Levon  <levon@movementarian.org>
3122
3123         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3124
3125 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * remove same_id from function signatures, adjust.
3128
3129 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3132
3133         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3134
3135         * paragraph.C (Paragraph): get rid of same_ids parameter
3136
3137         * ParagraphList.C (insert): adjust
3138         (push_back): adjust
3139
3140 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * paragraph_funcs.C (breakParagraph): adjust
3143         (breakParagraphConservative): adjust
3144
3145         * buffer.C (readParagraph): adjust
3146
3147         * ParagraphList.C (insert): take a reference instead of a pointer
3148         (insert): adjust
3149
3150         * paragraph.[Ch] (id): new function
3151
3152         * bufferlist.C (newFile): adjust
3153
3154         * ParagraphList.C (ParagraphList): adjust
3155         (assign): adjust
3156         (push_back): take a reference instead of a pointer.
3157
3158         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3159
3160         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3161         instead.
3162
3163         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3164         set else use old code.
3165
3166         * ParagraphList.C: remove all NO_NEXT code and only compile this
3167         code of NO_STD_LIST is set.
3168
3169 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3170
3171         * BufferView_pimpl.C:
3172         * TextCache.C:
3173         * TextCache.h:
3174         * bufferlist.C:
3175         * errorlist.h:
3176         * format.C:
3177         * format.h:
3178         * graph.C:
3179         * lyxfunc.C:
3180         * lyxrc.C:
3181         * graphics/GraphicsConverter.C:
3182         * graphics/PreviewLoader.C: header adjustment
3183
3184 2003-05-23  Angus Leeming  <leeming@lyx.org>
3185
3186         * LaTeXFeatures.[Ch] (useBabel): new method.
3187         * bufferparams.C (writeLaTeX): use it.
3188
3189 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3190
3191         * ParagraphList.h (set): remove unused function.
3192
3193 2003-05-23  André Pönitz  <poenitz@gmx.net>
3194
3195         * BufferView.C:
3196         * BufferView_pimpl.C:
3197         * buffer.C:
3198         * buffer.h:
3199         * lyxfunc.C:
3200         * undo_funcs.C: setUndo reworked
3201
3202         * iterators.[Ch]: add access to topmost ParagraphList
3203
3204         * lyxtext.[Ch] (workWidth): add a const
3205
3206 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * texrow.[Ch] (increasePos): remove function
3209         * exporter.C (export): removed unused var and outdated comment
3210
3211 2003-05-23  Angus Leeming  <leeming@lyx.org>
3212
3213         * latexrunparams.h: rename fragile as moving_arg.
3214         * paragraph.C (simpleTeXOnePar): ditto.
3215         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3216
3217 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3220         (createUndo): ditto
3221         (textUndoOrRedo): comment out a currently unused var.
3222
3223         * paragraph.h (NO_NEXT): enable NO_NEXT
3224
3225         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3226
3227         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3228
3229         * exporter.C (Export): adjust for removeAutoInsets removal.
3230
3231         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3232
3233         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3234
3235         * BufferView.[Ch] (removeAutoInsets): delete function
3236
3237 2003-05-22  Angus Leeming  <leeming@lyx.org>
3238
3239         * latexrunparams.h: add a free_spacing variable.
3240
3241         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3242         to pass moving_arg, as the data is stored in runparams.fragile.
3243
3244         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3245         to Inset::latexOptional or to simpleTeXOnePar.
3246
3247         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3248         free_spacing arg to Inset::latexOptional.
3249
3250         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3251         free_spacing arg.
3252
3253 2003-05-22  Angus Leeming  <leeming@lyx.org>
3254
3255         * latexrunparams.h: add fragile and use_babel variables.
3256
3257         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3258         * buffer.C (makeLaTeXFile): store this returned value in
3259         runparams.use_babel, thus passing it to the inset::latex methods.
3260
3261         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3262         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3263
3264         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3265         longer has a fragile arg, as it is stored in runparams.fragile.
3266
3267         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3268         moving_arg parameter as the data is stored in runparams.fragile.
3269
3270         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3271         a fragile parameter as the data is stored in runparams.fragile.
3272
3273 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3276
3277 2003-05-22  Angus Leeming  <leeming@lyx.org>
3278
3279         * latexrunparams.h: add a 'bool nice' which defaults to false.
3280
3281         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3282         now encapsulated within runparams.
3283
3284         * bufferlist.C (updateIncludedTeXfiles):
3285         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3286
3287 2003-05-22  Angus Leeming  <leeming@lyx.org>
3288
3289         * latexrunparams.h: new file containing struct LatexRunParams.
3290         * Makefile.am: add new file.
3291
3292         * LaTeX.[Ch] (c-tor, run):
3293         * buffer.[Ch] (makeLaTeXFile):
3294         * bufferlist.[Ch] (updateIncludedTeXfiles):
3295         * converter.C (convert, scanLog):
3296         * converter.[Ch] (runLaTeX):
3297         * exporter.C (Export):
3298         * paragraph.[Ch] (simpleTeXOnePar):
3299         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3300         * paragraph_funcs.[Ch] (latexParagraphs):
3301         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3302         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3303         pass around a LatexRunParams parameter.
3304
3305 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * paragraph.[Ch]: remove unused constructor
3308
3309         * ParagraphList.C (erase): new function, taking two iterators
3310
3311 2003-05-22  André Pönitz  <poenitz@gmx.net>
3312
3313         * undo_funcs.C: remove duplicated code
3314
3315         * iterator.[Ch]: operator=
3316
3317 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * tabular.C (SetMultiColumn): ws changes
3320
3321         * rowpainter.C (paintFirst): get rid of a ->previous
3322
3323         * lyx_cb.C (getPossibleLabel): parlist simplification
3324
3325         * BufferView.C (ChangeInsets): simplify slightly.
3326
3327 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3328
3329         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3330         * lfuns.h: new LFUN_SPACE
3331         * lyxfunc.C: protected space has a new lfun
3332         * paragraph_funcs.C: read new space insets
3333         * text3.C:
3334         * factory.C: handle new space insets
3335
3336 2003-05-22  André Pönitz  <poenitz@gmx.net>
3337
3338         * BufferView.C:
3339         * BufferView_pimpl.C:
3340         * buffer.[Ch]:
3341         * lyxfunc.C:
3342         * undo_funcs.C: return a ParIterator from getParFromID.
3343
3344         * iterators.[Ch]: add two const's
3345
3346 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * toc.C (getTocList): adjust
3349
3350         * iterators.[Ch]: rework for parlist
3351
3352         * buffer.C (par_iterator_begin): adjust
3353         (par_iterator_end): adjust
3354
3355         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3356
3357         * BufferView.C (removeAutoInsets): adjust
3358         (ChangeInsets): adjust
3359
3360 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * text.C (top_y): fix bug 1110
3363
3364 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3365
3366         * errorlist.[Ch]: added
3367         * buffer.C:
3368         * BufferView.[Ch]:
3369         * BufferView_pimpl.C:
3370         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3371         instead
3372
3373 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * Makefile.am: ensure that lyx is relinked upon changes to the
3376         various "convenience" libs.
3377
3378 2003-05-20  Angus Leeming  <leeming@lyx.org>
3379
3380         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3381         files are compiled in alphabetical order again.
3382
3383         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3384
3385 2003-05-19  Angus Leeming  <leeming@lyx.org>
3386
3387         * gettext.[Ch]: remove "char const * _(char const *)".
3388
3389 2003-05-19  André Pönitz  <poenitz@gmx.net>
3390
3391         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3392
3393         * Makefile.am:
3394         * BufferView.C:
3395         * DepTable.h:
3396         * LaTeXFeatures.C:
3397         * buffer.C:
3398         * lyxfont.C:
3399         * lyxlex.h:
3400         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3401
3402 2003-05-19  André Pönitz  <poenitz@gmx.net>
3403
3404         * buffer.C:
3405         * lyxlayout.[Ch]:
3406         * lyxtextclass.[Ch]:
3407         * paragraph.C:
3408         * paragraph_funcs.[Ch]:
3409         * text2.C:
3410         * text3.C: more insetenv work
3411
3412 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3413
3414         * ParagraphParameters.C (params2string): small bug fixed
3415
3416 2003-05-16  André Pönitz  <poenitz@gmx.net>
3417
3418         * debug.C:
3419         * bufferview_funcs.C: patch from Kornel Benko to prevent
3420           crash when _(...) is called twice in a statement
3421
3422 2003-05-16  André Pönitz  <poenitz@gmx.net>
3423
3424         * BufferView.C:
3425         * lyxfunc.C:
3426         * text.C:
3427         * text2.C:
3428         * text3.C:
3429         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3430
3431 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * lyx_main.C (init): remove spurious static_cast
3434
3435 2003-05-14  André Pönitz  <poenitz@gmx.net>
3436
3437         * BufferView.C: fix format string
3438
3439 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3440
3441         * BufferView.[Ch] (insertErrors): removed
3442         * BufferView.[Ch] (showErrorList): added
3443         * buffer.C (runChkTeX):
3444         * converter.C (scanLog): call showErrorList instead of inserterrors
3445
3446 2003-05-13  André Pönitz  <poenitz@gmx.net>
3447
3448         * BufferView_pimpl.C:
3449         * buffer.C:
3450         * bufferview_func.C:
3451         * MenuBackend.C:
3452         * lyxfunc.C:
3453         * lyxrc.C:
3454         * tex-accent.C:
3455         * text3.C:
3456         * toc.C:
3457         * tabular_funcs.h: tostr() from its own header
3458
3459         * ParagraphParameters.C:
3460         * ToolbarBackend.C:
3461         * bufferparams.C:
3462         * format.C:
3463         * lyxlex_pimpl.C:
3464         * text3.C: STRCONV()
3465
3466 2003-05-12  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView.C:
3469         * BufferView_pimpl.C:
3470         * CutAndPaste.C:
3471         * LaTeX.C:
3472         * LaTeXFeatures.C:
3473         * ParagraphParameters.C:
3474         * buffer.C:
3475         * bufferlist.C:
3476         * bufferparams.C:
3477         * bufferview_funcs.C:
3478         * converter.C:
3479         * counters.C:
3480         * debug.C:
3481         * exporter.C:
3482         * format.C:
3483         * importer.C:
3484         * lyx_cb.C:
3485         * lyx_main.C:
3486         * lyxfont.C:
3487         * lyxfunc.C:
3488         * lyxvc.C:
3489         * paragraph.C:
3490         * paragraph_funcs.C:
3491         * tabular.C:
3492         * tabular_funcs.C:
3493         * text2.C:
3494         * text3.C:  boost::format -> bformat  all over the place
3495
3496
3497 2003-05-09  André Pönitz  <poenitz@gmx.net>
3498
3499         * LColor.[Ch]: Pimpl the #include <map> away
3500
3501 2003-05-09  John Levon  <levon@movementarian.org>
3502
3503         * bufferlist.C: never remove emergency saves
3504
3505 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * Makefile.am: better lib building
3508
3509 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3512         instead.
3513         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3514         (simpleTeXSpecialChars): adjust
3515         (simpleTeXSpecialChars): adjust
3516         * paragraph.C (simpleTeXOnePar): adjust
3517         * buffer.C (makeLaTeXFile): adjust
3518
3519         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3520
3521         * text2.C (changeDepth): parlist cleanup
3522         (getColumnNearX): ditto
3523
3524         * rowpainter.C (getLabelFont): parlist cleanup
3525
3526         * bufferlist.C (newFile): parlist cleanup
3527
3528         * CutAndPaste.C (eraseSelection): parlist cleanup
3529
3530         * BufferView_pimpl.C (trackChanges): parlist cleanup
3531         (dispatch): ditto
3532
3533         * BufferView.C (lockInset): parlist cleanup.
3534         (ChangeInsets): ditto
3535
3536 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * CutAndPaste.h: Update file header.
3539
3540         * CutAndPaste.C: Update file header.
3541         Store the parts cut out of the Document in a limited_stack.
3542         (copySelection): adjust
3543         (pasteSelection): new function, takes the index in the limited stack.
3544         (nrOfParagraphs): adjust
3545         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3546         simplify error inset insertion.
3547         (checkPastePossible): adjust
3548
3549 2003-05-06  John Levon  <levon@movementarian.org>
3550
3551         * text2.C: don't cast wrap inset to float
3552
3553 2003-05-05  André Pönitz  <poenitz@gmx.net>
3554
3555         * iterator.C:
3556         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3557
3558         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3559           few naked Paragraph *.
3560
3561 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3562
3563         * bufferparams.C: Output warning if a document with missing
3564         TeX document class is loaded
3565         * exporter.C: Disable TeX exports if the document class is missing
3566         * lyxtextclass.C:
3567         * lyxtextclass.h:
3568         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3569         isTeXClassAvailable()
3570
3571 2003-05-03  John Levon  <levon@movementarian.org>
3572
3573         * BufferView.h:
3574         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3575         explicit cursor show/hide
3576
3577         * BufferView_pimpl.h:
3578         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3579         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3580
3581         * lyxfunc.C: hide cursor before dispatching.
3582
3583         * lyx_cb.C:
3584         * lyxfind.C:
3585         * text.C:
3586         * text3.C: remove explicit cursor hides
3587
3588 2003-05-02  André Pönitz  <poenitz@gmx.net>
3589
3590         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3591
3592         * undo_funcs.C:
3593         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3594           linked lists
3595
3596         * text2.C: tiny whitespace
3597
3598 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * undo_funcs.C: almost only ws changes.
3601
3602         * ParagraphList.C (splice): just return if pl is empty.
3603
3604 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * ParagraphList.C (splice): new function.
3607
3608         * CutAndPaste.C (pasteSelection): use it
3609
3610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * CutAndPaste.C (pasteSelection): remove the last next and
3613         previous from this file.
3614
3615 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * CutAndPaste.C (pasteSelection): more clean up, user proper
3618         ParagraphList functions for pasteing.
3619
3620         * ParagraphList.C (insert): new function, three arg insert
3621
3622 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * ParagraphList.C (insert): new function, three arg insert
3625
3626         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3627         not on paragraphs.
3628
3629 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3630
3631         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3632
3633 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3636
3637 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3638
3639         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3640         (copySelection): clean up a bit.
3641         (pasteSelection): use make_pair
3642
3643         * ParagraphList.C (ParagraphList): implement copy constructor
3644         (operator=): implement, base on copy constructor.
3645         (assign): new func
3646
3647         * paragraph.C (erase): return a bool
3648
3649         * paragraph_pimpl.C (erasePos): remove function, move contents...
3650         (erase): ... here. Return a bool.
3651         (erase): call erase instead of erasePos.
3652
3653 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3654
3655         * ParagraphList.h: define PitPosPair
3656         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3657         ParagraphList, fix a bug on pasting multiple pars
3658         * text2.C: change interface to C&P
3659
3660 2003-04-30  André Pönitz  <poenitz@gmx.net>
3661
3662         * undo_func.C: revert part of yesterday's patch 2
3663
3664 2003-04-30  John Levon  <levon@movementarian.org>
3665
3666         * LColor.C: s/tabular/table/
3667
3668 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3669
3670         * text3.C (dispatch): do not convert iterator -> pointer
3671         * undo_funcs.C (setCursorParUndo): ditto
3672         * text_funcs.C (transposeChars): ditto
3673
3674         * text2.C (setLayout): ws changes only
3675
3676         * text.C (breakParagraph): do not convert iterator -> pointer
3677         (insertChar): ditto
3678         (acceptChange): ditto
3679         (rejectChange): ditto
3680         (changeCase): ditto
3681         (Delete): ditto
3682         (backspace): ditto
3683
3684         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3685         pointer
3686
3687 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text3.C (gotoInset): YABG (yet another bad getChar)
3690
3691 2003-04-29  André Pönitz  <poenitz@gmx.net>
3692
3693         * paragraph.h: make operator= private unimplemented as long as
3694           it is unusable
3695
3696         * ParagraphList.C: whitespace
3697
3698         * paragraph.[Ch]:
3699         * paragraph_pimpl.[Ch]:
3700         * paragraph_funcs.C:
3701         * CutAndPaste.C:
3702         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3703
3704         * text2.C:
3705           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3706
3707 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3710         * paragraph.[Ch] (erase):
3711         * paragraph_pimpl.[Ch] (erase): change return type and value
3712         * text2.C (cutSelection): some rework
3713
3714 2003-04-28  John Levon  <levon@movementarian.org>
3715
3716         * bufferlist.C: changes for unsaved changes dialog
3717
3718 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3719
3720         * bufferlist.C (newFile): set language (messages_) for new
3721         documents also.
3722
3723         * buffer.C (readFile): ws changes only.
3724
3725 2003-04-28  André Pönitz  <poenitz@gmx.net>
3726
3727         * undo_funcs.C:
3728         * lyxfunc.C:
3729         * buffer.[Ch]:
3730         * BufferView_pimpl.C:
3731         * BufferView.C: getParFromID related ParagraphList::iterator changes
3732
3733 2003-04-28  André Pönitz  <poenitz@gmx.net>
3734
3735         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3736           Changes
3737
3738 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * messages.C: remove one more localedir class variable.
3741
3742 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * messages.C (getLocaleDir): singleton generation function
3745         (Pimpl): use it.
3746         (Messages): add a default constructor.
3747
3748         * main.C (main): do not setup localedir here, do not call
3749         gettext_init.
3750
3751         * gettext.C (_): use it.
3752         (gettext_init): delete funciton
3753
3754 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * gettext.C (getLyXMessages): new singleton generating function.
3757
3758         * buffer.C (updateDocLang): adjust
3759
3760         * Makefile.am (messages.o): add target
3761         (main.o): remove target
3762
3763 2003-04-27  John Levon  <levon@movementarian.org>
3764
3765         * bufferlist.C:
3766         * lyx_cb.C:
3767         * lyxfunc.C:
3768         * lyxvc.C: specify cancel button in Alert::prompt
3769
3770 2003-04-26  John Levon  <levon@movementarian.org>
3771
3772         * text3.C:
3773         * lyxfunc.C:
3774         * lfuns.h:
3775         * LyXAction.C: add LFUN_INSET_SETTINGS
3776
3777         * lyxfunc.C: don't enable tabular-feature when there's
3778         just any locking inset
3779
3780 2003-04-26  John Levon  <levon@movementarian.org>
3781
3782         * bufferlist.C: re-add Cancel to buffer close question
3783
3784         * lyxfunc.C: fix import UI a bit
3785
3786 2003-04-25  John Levon  <levon@movementarian.org>
3787
3788         * gettext.C: remove the broken asserts for now
3789
3790 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * messages.C: make case where setlocale cannot comply work better.
3793
3794         * buffer.C (updateDocLang): new function
3795         (changeLanguage): use it
3796         (readFile): use it
3797
3798         * text2.C (setCounter): use B_ a bit.
3799
3800         * lyxlayout.C (Read): be sure to trim the label strings.
3801
3802         * messages.C (Messages): fix typo in comment
3803
3804         * buffer.C (readFile): set message_ after file is loaded.
3805         (makeDocBookFile): remove double return
3806         (changeLanguage): reset message_ upon language change.
3807         (B_): new func, use this to get translated buffer strings.
3808
3809         * main.C: add myself and Jean Marc as authors.
3810
3811 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * messages.[hC]: pimplify Messages, and three different pimpls to be
3814         used in different circumstances.
3815
3816         * gettext.[Ch]: change for use with new message code.
3817
3818 2003-04-24 André Pönitz <poenitz@gmx.net>
3819
3820         * factory.C: support for eqref
3821
3822 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3823
3824         * messages.[Ch]: add missing char
3825
3826         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3827
3828         * messages.[Ch]: New files
3829
3830 2003-04-18  John Levon  <levon@movementarian.org>
3831
3832         * BufferView.h:
3833         * BufferView.C:
3834         * BufferView_pimpl.C:
3835         * lfuns.h:
3836         * LyXAction.C:
3837         * lyxtext.h:
3838         * text2.C: remove layout-copy/paste (bug 778)
3839
3840 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3841
3842         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3843
3844 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3845
3846         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3847         if they succeed. Act accordingly.
3848
3849 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * text2.C (setCharFont): adjust
3852         (setCounter): adjust
3853         (insertStringAsLines): adjust
3854
3855         * text.C (leftMargin): adjust
3856         (setHeightOfRow): adjust
3857
3858         * rowpainter.C (paintFirst): adjust
3859         (paintLast): adjust
3860
3861         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3862         (outerHook): ditto
3863         (isFirstInSequence): ditto
3864         (getEndLabel): ditto
3865         (outerFont): adjust
3866
3867         * paragraph.C (getParLanguage): comment out some hard stuff.
3868
3869         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3870         (sgmlError): ditto
3871         (simpleDocBookOnePar): ditto
3872         (makeDocBookFile): use ParagraphList::iterator
3873
3874         * CutAndPaste.C (pasteSelection): adjust
3875
3876 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * text2.C (getFont): adjust
3879         (getLayoutFont): adjust
3880         (getLabelFont): adjust
3881
3882         * paragraph_funcs.C (TeXOnePar): adjust
3883
3884         * buffer.C (simpleLinuxDocOnePar): adjust
3885         (simpleDocBookOnePar): adjust
3886
3887         * CutAndPaste.C (pasteSelection): adjust
3888
3889         * BufferView.C (getEncoding): adjust
3890
3891         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3892
3893 2003-04-16  John Levon  <levon@movementarian.org>
3894
3895         * lyxfind.C: use parlist stuff for search/changes
3896
3897 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3900
3901         * text2.C (deleteEmptyParagraphMechanism): adjust
3902
3903         * text2.[Ch] (ownerParagraph): delete func (both of them
3904
3905 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3908
3909 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * ParagraphList.C: prepare for NO_NEXT
3912
3913 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * text2.C (getFont): adjust
3916         (getLayoutFont): adjust
3917         (getLabelFont): adjust
3918
3919         * paragraph.C (getFont): adjust
3920         (getLabelFont): adjust
3921         (getLayoutFont): adjust
3922
3923         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3924
3925 2003-04-15  John Levon  <levon@movementarian.org>
3926
3927         From Angus Leeming
3928
3929         * lyx_main.C: handle Include in .ui files
3930
3931 2003-04-15  John Levon  <levon@movementarian.org>
3932
3933         * MenuBackend.C: make the doc files length shorter
3934
3935         * ToolbarBackend.h:
3936         * ToolbarBackend.C: handle toolbar placement flags,
3937         Minibuffer
3938
3939 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3942         adjust
3943
3944         * paragraph_funcs.C (TeXOnePar): adjust
3945
3946         * paragraph.C (getLabelFont): add outerfont arg, adjust
3947         (getLayoutFont): ditto
3948         (simpleTeXOnePar): adjust
3949
3950         * paragraph_pimpl.C (realizeFont): delete func
3951
3952 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3953
3954         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3955         row argument, constify cur argument.
3956
3957 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * text2.C (getFont): adjust
3960         (getLayoutFont): adjust
3961         (getLabelFont): adjust
3962
3963         * paragraph_funcs.C (TeXOnePar): adjust
3964         (outerFont): new func...
3965         (realizeFont): ...moved out from here, changed this to facilitate
3966         transition
3967
3968         * paragraph.C (getFont): take outerfont as arg, adjust
3969         (simpleTeXOnePar): add outerfont arg, adjust
3970
3971         * buffer.C (simpleLinuxDocOnePar): adjust
3972         (simpleDocBookOnePar): adjust
3973
3974         * CutAndPaste.C (pasteSelection): adjust
3975
3976         * BufferView.C (getEncoding): adjust
3977
3978 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * text2.C (setCharFont): adjust
3981         (setCounter): adjust
3982
3983         * text.C (leftMargin): adjust
3984         (setHeightOfRow): adjust
3985
3986         * rowpainter.C (paintFirst): adjust
3987         (paintLast): adjust
3988
3989         * paragraph_pimpl.C (realizeFont): adjust
3990
3991         * paragraph.C (isFirstInSequence): move from here...
3992         * paragraph_funcs.C (isFirstInSequence): ...to here
3993
3994         * paragraph.C (outerHook): move from here...
3995         * paragraph_funcs.C (outerHook): ...to here
3996
3997         * paragraph.C (depthHook): move from here...
3998         * paragraph_funcs.C (depthHook): ...to here
3999
4000         * paragraph.C (getEndLabel): move from here...
4001         * paragraph_funcs.C (getEndLabel): ...to here
4002
4003         * text2.C (realizeFont): move from here...
4004         * paragraph_funcs.C (realizeFont): ...to here
4005
4006 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4009
4010 2003-04-14  Angus Leeming  <leeming@lyx.org>
4011
4012         * LColor.[Ch]: scrap LColor mathcursor.
4013
4014 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * lyxlex.[Ch] (text): delete function
4017         * trans.C (Load): adjust
4018         * paragraph_funcs.C (readParToken): adjust
4019
4020 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4023         vector<char> instead of a char[].
4024
4025         * lyxlex_pimpl.C (getString): adjust
4026         (next): adjust
4027         (lex): use getString
4028         (eatLine): adjust
4029         (nextToken): adjust
4030
4031         * lyxlex.C (text): use pimpl_->getString()
4032         (getBool): ditto
4033         (findToken): ditto
4034
4035 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4038         (makeFontEntriesLayoutSpecific): temp var for par.size()
4039         (setLayout): temp var for ownerParagraphs().end()
4040         (fullRebreak): temp var for rows().end()
4041         (selectionAsString): temp var for boost::next(startpit), realize
4042         that the while really is a regular for loop.
4043         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4044         setCursor in one place.
4045         (setParagraph): temp vr for ownerParagraphs().end()
4046         (updateCounters): make the while loop a for loop
4047         (cutSelection): temp var for ownerParagraphs().end()
4048         (updateInset): make the do {} while() a regular for loop
4049         (getCursorX): use temp vars
4050         (setCurrentFont): use temp vars
4051         (getColumnNearX): use temp vars
4052
4053 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * text.C (transformChar): use temp var for getChar
4056         (computeBidiTables): use temp var for row->par()
4057         (fill): move temp vars for row->par() and pit->layout() earlier in
4058         the function.
4059         (labelFill): use temp var for row->par()
4060         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4061         asc and desc, realize that pit never changes and that firstpit is
4062         just a duplicate and not needed. Exchange rit->par() with pit in a
4063         lot of places.
4064         (breakAgain): use a temp var for boost::next(rit)
4065         (breakAgainOneRow): ditto
4066         (breakParagraph): use a temp var for rows().begin()
4067         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4068         (cursorRightOneWord): use temp var for cursor.par() and
4069         cursor.pos(), remove usage of tmpcursor.
4070         (cursorLeftOneWord): use temp var for cursor.par() and
4071         cursor.pos() only set cur at end of function.
4072
4073 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4074
4075         * text.C, text2.C: exchange all usage of Paragraph::next with
4076         boost::next(ParagraphList::iterator)
4077
4078         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4079
4080         * text2.C (cursorTop): simplify implementation
4081         (cursorBottom): ditto
4082         (setParagraph): use ParagraphList::iterator
4083         (setCurrentFont): adjust
4084         (getColumnNearX): adjust
4085         (cursorRight): adjust
4086         (cursorLeft): remove usage of Paragraph::previous
4087         (cursorUpParagraph): ditto
4088         (deleteEmptyParagraphMechanism): slight cleanup
4089
4090         * text.C (isBoundary): take a Paragraph const & instead of a
4091         pointer as arg.
4092         (addressBreakPoint): ditto
4093         (leftMargin): remove usage of Paragraph::previous.
4094         (setHeightOfRow): ditto
4095         (cursorLeftOneWord): ditto
4096         (selectNextWordToSpellcheck): ditto
4097         (Delete): ditto
4098         (backspace): ditto
4099         (breakParagraph): remove one usage of Paragraph::next
4100         (redoParagraph): ditto
4101         (acceptChange): ditto
4102         (insertChar): adjust
4103         (rowBreakPoint): adjust
4104
4105         * bufferview_funcs.C (toggleAndShow): adjust
4106
4107 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4110         methods to access it.
4111         * lyxtext.h:
4112         * text.C: Added updateRowPositions to compute all row positions.
4113         Make top_y and getRowNearY() to use the cached y position
4114
4115 2003-04-11  John Levon  <levon@movementarian.org>
4116
4117         * text.C (rowBreakPoint): reintroduce the labelEnd
4118         checks, code copied from the row fill stuff. Deep voodoo.
4119
4120         * text.C (fill): add a comment and debugging for the
4121         next poor soul.
4122
4123 2003-04-11  John Levon  <levon@movementarian.org>
4124
4125         * text.C: make sure fullrow insets get wrapped to the next line,
4126         even when they're in a manual label
4127
4128 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * text2.C (insertParagraph): make it take ParagraphList::iterator
4131         as arg.
4132         (setLayout): make it return ParagraphList::iterator
4133         (redoParagraphs): ditto
4134         (setCounter): ditto
4135         (checkParagraph): ditto
4136
4137         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4138
4139         * text2.C: adjust several funcs.
4140         (realizeFont): take a ParagraphList::iterator as arg.
4141         (getLayoutFont): ditto
4142         (getLabelFont): ditto
4143         (setCharFont): ditto
4144
4145         * text.C: adjust several funcs.
4146
4147 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * text.C (selectNextWordToSpellcheck): don't accidentally
4150         skip insets
4151
4152 2003-04-10  John Levon  <levon@movementarian.org>
4153
4154         * ToolbarBackend.C (getIcon): special handling for
4155         LFUN_MATH_DELIM
4156
4157 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * text2.C (cursorRight): a getChar assert fixed
4160
4161 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * text2.C (getFont): change to take a ParagraphList::iterator
4164         instead of Paragraph*
4165         Adjust several functions.
4166
4167         * text.C (transformChar): change to take a ParagraphList::iterator
4168         instead of Paragraph*
4169         (singleWidth): ditto
4170         Adjust several functions.
4171
4172         * rowpainter.C: adjust several functions
4173         * rowpainter.h:store a ParagraphList::iterator and not a
4174         Paragraph&.
4175
4176
4177 2003-04-09  John Levon  <levon@movementarian.org>
4178
4179         * lyxfunc.C:
4180         * lfuns.h:
4181         * LyXAction.h:
4182         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4183         and the "help" bits as well
4184
4185 2003-04-09  John Levon  <levon@movementarian.org>
4186
4187         * ToolbarBackend.h:
4188         * ToolbarBackend.C: allow multiple toolbars
4189
4190 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4191
4192         * undo_funcs.C (setCursorParUndo): adjust
4193
4194         * text_funcs.C (transposeChars): adjust
4195
4196         * text3.C (gotoNextInset): adjust
4197         (dispatch): adjust
4198
4199         * text2.C (setLayout): adjust
4200         (changeDepth): adjust
4201         (setFont): adjust
4202         (redoParagraphs): adjust
4203         (selectionAsString): adjust
4204         (setParagraph): adjust
4205         (insertInset): adjust
4206         (cutSelection): adjust
4207         (copySelection): adjust
4208         (pasteSelection): adjust
4209         (insertStringAsLines): adjust
4210         (updateInset): adjust
4211         (setCursor): change to take a ParagraphList::iterator parameter
4212         (setCursorIntern): change to take a ParagraphList::iterator parameter
4213         (setCurrentFont): adjust
4214         (cursorLeft): adjust
4215         (cursorRight): adjust
4216         (deleteEmptyParagraphMechanism): adjust
4217
4218         * text.C (breakParagraph): adjust
4219         (insertChar): adjust
4220         (acceptChange): adjust
4221         (rejectChange): adjust
4222         (selectNextWordToSpellcheck): adjust
4223         (changeCase): adjust
4224         (Delete): adjust
4225         (backspace): adjust
4226
4227         * lyxfind.C (SearchForward): adjust
4228         (SearchBackward): adjust
4229         (nextChange): adjust
4230
4231         * lyxcursor.C (par): adjust
4232
4233         * lyxcursor.h: store a ParagraphList::iterator instead of a
4234         Paragraph*
4235
4236         * lyx_cb.C (getPossibleLabel): adjust
4237
4238         * bufferview_funcs.C (toggleAndShow): adjust
4239
4240         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4241         (dispatch): adjust
4242
4243         * BufferView.C (removeAutoInsets): adjust
4244         (lockedInsetStoreUndo): adjust
4245
4246 2003-04-09  John Levon  <levon@movementarian.org>
4247
4248         * ToolbarBackend.C: try icon without argument
4249         if with argument fails
4250
4251 2003-04-08  John Levon  <levon@movementarian.org>
4252
4253         * ToolbarBackend.h:
4254         * ToolbarBackend.C: add getIcon(), handle tooltip,
4255         and change from "Icon" to "Item".
4256
4257 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4258
4259         * BufferView.C (lockInset): another bad getchar crunched
4260
4261 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4262
4263         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4264         again)
4265
4266 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * lyxfind.C (searchForward, searchBackwards): bug 782
4269
4270 2003-04-07  John Levon  <levon@movementarian.org>
4271
4272         * paragraph.C: remove dead comment
4273
4274         * text.C: remove troublesome depth-fiddling code
4275         in leftMargin() and rightMargin() (bug 1017)
4276
4277         * text.C: fix breaking of rows in nested lists
4278         (bug 1004)
4279
4280         * text2.C (updateCounters): fix up depth values
4281         (bug 1013)
4282
4283 2003-04-07  John Levon  <levon@movementarian.org>
4284
4285         * BufferView_pimpl.C: clear message when doc finishes resizing,
4286         and after a mouse event
4287
4288         * lyxfunc.C: clear message after exiting inset
4289
4290 2003-04-07  John Levon  <levon@movementarian.org>
4291
4292         * bufferview_funcs.C: show math status not outside
4293         status in the statusbar
4294
4295 2003-04-07  John Levon  <levon@movementarian.org>
4296
4297         * lyxfunc.C: note status changed after a depth change
4298
4299 2003-04-04  Angus Leeming  <leeming@lyx.org>
4300
4301         * LaTeX.h: move AuxInfo operator==, != out of line.
4302         Remove LaTeX virtual destructor; nothing derives from it.
4303         Move operator()() out of public area and rename it startscript().
4304         Change protected for private.
4305
4306 2003-04-04  Angus Leeming  <leeming@lyx.org>
4307
4308         * lyxfunc.C:
4309         * text2.C: remove unneeded #includes.
4310
4311 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4312
4313         * text2.C (dEPM): fix the heigth of the next row
4314
4315 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4316
4317         * text.C: squashed an invalid getChar requester + some ws changes
4318
4319 2003-04-03  John Levon  <levon@movementarian.org>
4320
4321         * bufferview_funcs.h:
4322         * bufferview_funcs.C:
4323         * lyxfunc.C:
4324         * lyxtext.h:
4325         * text2.C: make getStatus work for the env depth lfuns
4326
4327 2003-04-03  John Levon  <levon@movementarian.org>
4328
4329         * bufferview_funcs.h:
4330         * bufferview_funcs.C:
4331         * lyxfunc.C:
4332         * lyxtext.h:
4333         * text2.C: parlistize decDepth(), by merging it with incDepth()
4334
4335 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * lyxrow.h: store a ParagraphList::iterator instead of a
4338         Paragraph* and adjust other class functions to suit.
4339
4340         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4341         above.
4342
4343 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * text2.C (setCursor): do not anchor to cursor row for the time being
4346
4347 2003-04-02  John Levon  <levon@movementarian.org>
4348
4349         * LyXAction.C:
4350         * lfuns.h:
4351         * lyx_main.C:
4352         * lyxtext.h:
4353         * text.C:
4354         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4355
4356 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * paragraph.h: make ParagraphList and ParagraphList::iterator
4359         friends of Paragraph.
4360
4361         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4362
4363         * ParagraphList.C: Use the private next_ and previous_ from
4364         Paragraph.
4365
4366 2003-04-01  John Levon  <levon@movementarian.org>
4367
4368         * ToolbarBackend.h:
4369         * ToolbarBackend.C:
4370         * Makefile.am: rename, remove defaults gunk
4371
4372         * MenuBackend.h:
4373         * MenuBackend.C: remove defaults gunk
4374
4375         * Languages.h:
4376         * Languages.C: remove defaults gunk
4377
4378         * lyx_main.h:
4379         * lyx_main.C: error out if files couldn't be found.
4380
4381 2003-04-02  John Levon  <levon@movementarian.org>
4382
4383         * text2.C: make incDepth() use parlist
4384
4385 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * undo_funcs.C (firstUndoParagraph): adjust
4388
4389         * text3.C (gotoInset): adjust
4390         (dispatch): adjust, and rewrite loop.
4391
4392         * text2.C (init): adjust, and rewrite loop.
4393         (redoParagraphs): adjust
4394         (updateInset): adjust, and rewrite loop.
4395         (deleteEmptyParagraphMechanism): adjust
4396
4397         * tabular.C (LyXTabular): adjust
4398         (SetMultiColumn): adjust
4399         (TeXRow): adjust
4400
4401         * lyxtext.[Ch] (ownerParagraph): delete function
4402         (ownerParagraphs): new function returns a ParagraphList.
4403
4404         * BufferView.C (removeAutoInsets): adjust
4405         (insertErrors): adjust
4406         (setCursorFromRow): adjust
4407
4408 2003-04-01  Angus Leeming  <leeming@lyx.org>
4409
4410         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4411         in the frontends.
4412
4413 2003-04-02  John Levon  <levon@movementarian.org>
4414
4415         * lyxtext.h:
4416         * text.C:
4417         * Makefile.am:
4418         * text_funcs.h:
4419         * text_funcs.C: make transposeChars a free function
4420
4421         * lyxrow_funcs.C: remove wrong comment
4422
4423 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * lyxtext.h: adjust
4426         * rowpainter.C: adjust
4427         * text.C: adjust
4428         * text2.C: adjust
4429         * text3.C: adjust
4430
4431         * lyxrow_funcs. [Ch]: new files
4432
4433         * lyxrow.[Ch]: remove next and previous pointers
4434         (next,previous): remove accessor functions
4435         (isParEnd): move to lyxrow_funcs
4436         (lastPos): move to lyxrow_funcs
4437         (nextRowIsAllInset): move to lyxrow_funcs
4438         (lastPrintablePos): move to lyxrow_funcs
4439         (numberOfSeparators): move to lyxrow_funcs
4440         (numberOfHfills): move to lyxrow_funcs
4441         (numberOfLabelHfills): move to lyxrow_funcs
4442         (hfillExpansion): move to lyxrow_funcs
4443
4444         * lyxfunc.C: adjust
4445
4446         * bufferview_funcs.C (toggleAndShow): adjust
4447
4448         * RowList.h: Remove class RowList from file leave just a
4449         std::list<Row>.
4450
4451         * RowList.C: delete file
4452
4453         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4454         and lyxrow_funcs.h
4455
4456 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * text3.C (cursorPrevious): adjust
4459         (cursorNext): adjust
4460         (dispatch): adjust
4461
4462         * text2.C (redoHeightOfParagraph): adjust
4463         (redoDrawingOfParagraph): adjust
4464         (setCursor): adjust
4465
4466         * text.C (breakParagraph): adjust
4467         (insertChar): adjust
4468         (backspace): adjust
4469
4470         * rowpainter.C (RowPainter): adjust
4471         (leftMargin): simplify and adjust
4472         (most rowpainter functions): adjust.
4473
4474         * rowpainter.h: store the row as RowList::iterator not as Row*
4475
4476         * lyxcursor.C (row): taka RowList::iterator as arg
4477         (irow): ditto
4478
4479         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4480         of Row*.
4481
4482 2003-04-01  Angus Leeming  <leeming@lyx.org>
4483
4484         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4485         stuff like bool Bool.
4486
4487 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4490         rewrite a loop
4491
4492 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4495         RowList::iterator.
4496
4497         * lyxtext.h (rows): drop one version and leve a const variant that
4498         returns a RowList::iterator.
4499
4500 2003-03-31  Angus Leeming  <leeming@lyx.org>
4501
4502         * text.C (fill): ensure that the signature is the same as that in the
4503         header file.
4504
4505 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * text2.C (redoParagraphs): adjust
4508         (updateCounters): adjust
4509         (checkParagraph): adjust
4510         (getColumnNearX): adjust and reformat a bit.
4511
4512         * text.C (top_y): adjust
4513         (workWidth): adjust
4514         (leftMargin): adjust
4515         (prepareToPrint): adjust
4516         (getRow): adjust
4517         (getRowNearY): adjust
4518
4519         * lyxtext.h: make rowlist_ mutable.
4520
4521         * RowList.h: add const_iterator
4522         * RowList.C: adjust for RowList::const_iterator.
4523
4524         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4525         adjust.
4526
4527 2003-03-31  John Levon  <levon@movementarian.org>
4528
4529         * lyxrc.h:
4530         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4531
4532         * lyx_main.C: set default fonts from using lyx_gui funcs
4533
4534         * exporter.C: pdf_mode moved from lyxrc
4535
4536         * lyx_cb.C:
4537         * lyxfunc.C: changes from above
4538
4539 2003-03-31  John Levon  <levon@movementarian.org>
4540
4541         * lyx_main.C: fix to the last fix
4542
4543 2003-03-31  John Levon  <levon@movementarian.org>
4544
4545         * bufferlist.C: "Load original" -> "Load Original"
4546
4547         * converter.C:
4548         * exporter.C:
4549         * importer.C:
4550         * lyx_main.C:
4551         * format.C: more Alert cleanups
4552
4553 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * text2.C (removeParagraph): make it take a RowList::iterator as
4556         arg, adjust.
4557         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4558         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4559
4560         * text.C (anchor_row): make it take a RowList::iterator as arg,
4561         adjust.
4562         (computeBidiTables): make it take a const reference to Row instead
4563         of Row pointer, adjust.
4564         (leftMargin): make it take a RowList::iterator as arg, adjust.
4565         (rowBreakPoint): adjust
4566         (breakAgainOneRow): make it take a RowList::iterator as arg,
4567         adjust.
4568         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4569
4570         * bufferview_funcs.C (toggleAndShow): adjust
4571
4572 2003-03-30  John Levon  <levon@movementarian.org>
4573
4574         * Makefile.am:
4575         * BoostFormat.h:
4576         * boost-inst.C: moved to support
4577
4578         * several files: changes as a result
4579
4580 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * text2.C (LyXText): adjust.
4583         (init): adjust
4584         (removeRow): make it take a RowList::iterator as arg, adjust.
4585         (fullRebreak): adjust
4586         (deleteEmptyParagraphMechanism): adjust
4587         (clearPaint): adjust
4588         (postPaint): adjust
4589
4590         * text.C (top_y): adjust
4591         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4592         (breakAgain): make it take a RowList::iterator as arg, adjust.
4593         (breakParagraph): adjust
4594         (insertChar): adjust
4595         (backspace): adjust
4596
4597         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4598         need_break_row, and refresh_row.
4599
4600         * text3.C (dispatch): adjust
4601
4602         * text2.C (checkParagraph): adjust
4603         (setCursor): adjust
4604         (setCursorFromCoordinates): adjust
4605
4606         * text.C (top_y): adjust
4607         (workWidth): adjust
4608         (getRow): make it return a RowList::iterator, adjust
4609         (getRowNearY): make it return a RowList::iterator, adjust
4610
4611         * text2.C (init): adjust
4612         (insertRow): remove function
4613         (insertParagraph): adjust
4614         (redoParagraphs): adjust
4615         (fullRebreak): adjust
4616         (updateCounters): adjust
4617
4618         * text.C (top_y): rewrite to use RowList iterators.
4619         (top_y): adjust
4620         (setHeightOfRow): rewrite to sue RowList iterators.
4621         (appendParagraph): adjust
4622         (breakAgain): adjust
4623         (breakAgainOneRow): adjust
4624         (breakParagraph): adjust
4625         (getRow): adjust
4626         (getRowNearY): adjust, and remove commented code.
4627
4628         * lyxtext.h (firstRow): delete function
4629         (lastRow): delete function
4630         (rows): new function (const and non-const versions.)
4631         (insertRow): delete function
4632
4633         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4634
4635 2003-03-29  John Levon  <levon@movementarian.org>
4636
4637         * BufferView_pimpl.C: always update scrollbar top
4638         because pasting text when we're anchored could mean we
4639         miss an update altogether
4640
4641 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4642
4643         * text2.C (init): use rowlist_.end() and not 0.
4644         (insertRow): change to take a RowList::iterator as arg, adjust
4645         for this.
4646         (insertParagraph): change to take a RowList::iterator as arg,
4647         adjust for this.
4648         (redoParagraphs): remove some debug msgs.
4649
4650         * text.C (appendParagraph): change to take a RowList::iterator
4651         arg, adjust for this.
4652         (breakAgain): add an assert
4653         (breakAgainOneRow): ditto
4654
4655 2003-03-29  John Levon  <levon@movementarian.org>
4656
4657         * text2.C: do not clear selection after inc/decDepth
4658         (bug 550)
4659
4660 2003-03-29  John Levon  <levon@movementarian.org>
4661
4662         * BufferView.C:
4663         * buffer.C: fix broken strerrors according to Lars
4664
4665 2003-03-29  John Levon  <levon@movementarian.org>
4666
4667         * converters.C: more Alert cleanups
4668
4669 2003-03-29  John Levon  <levon@movementarian.org>
4670
4671         * bufferview_funcs.C: remove pointless Alert
4672
4673         * buffer.C: fix confusing error message when
4674         a template is chmoded 000
4675
4676 2003-03-29  John Levon  <levon@movementarian.org>
4677
4678         * BufferView.C:
4679         * BufferView.h:
4680         * BufferView_pimpl.C: Alert fixes
4681
4682         * Makefile.am:
4683         * tabular.C:
4684         * tabular-old.C: remove unused table compat reading
4685
4686 2003-03-29  John Levon  <levon@movementarian.org>
4687
4688         * BufferView.C:
4689         * buffer.C:
4690         * lyx_cb.h:
4691         * lyx_cb.C: more Alert cleanups
4692
4693         * lyxfunc.C: don't allow chktex if not latex document
4694
4695 2003-03-29  John Levon  <levon@movementarian.org>
4696
4697         * lyx_cb.C:
4698         * BufferView.C:
4699         * buffer.C: warnings pushed down from support/,
4700         kill err_alert
4701
4702 2003-03-29  John Levon  <levon@movementarian.org>
4703
4704         * lyxfunc.C: safety check for C-r (revert)
4705
4706 2003-03-29  John Levon  <levon@movementarian.org>
4707
4708         * bufferlist.h:
4709         * bufferlist.C: several UI fixes using Alert::prompt.
4710         Fix the pointless looping quit code. Fix stupid revert
4711         behaviour (bug 938)
4712
4713         * lyxvc.h:
4714         * lyxvc.C:
4715         * lyx_cb.C: use Alert::prompt
4716
4717         * lyx_main.C: remove a silly question
4718
4719         * lyxfunc.C: remove a couple of silly questions,
4720         use Alert::prompt
4721
4722 2003-03-28  John Levon  <levon@movementarian.org>
4723
4724         * text2.C: fix bug 974 (End on empty par)
4725
4726 2003-03-28  John Levon  <levon@movementarian.org>
4727
4728         * BufferView_pimpl.C:
4729         * LyXAction.C:
4730         * lfuns.h: remove do-nothing math greek lfuns
4731
4732 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * lyxgluelength.h (isValidGlueLength): add default arg on
4735         parameter 2. Remove default arg from friend in class.
4736
4737         * lyxlength.h (isValidLength): add default arg on parameter 2.
4738         Remove default arg from friend in class.
4739
4740         * text2.C (LyXText): adjust, initialize refresh_row.
4741         (init): adjust
4742         (removeRow): adjust
4743         (insertRow): adjust
4744         (insertParagraph): adjst
4745         (redoParagraphs): adjust
4746         (fullRebreak): adjust
4747         (updateCounters): adjust
4748         (deleteEmptyParagraphMechanism): first attempt at fixing a
4749         crashing bug.
4750
4751         * text.C (top_y): adjust
4752         (setHeightOfRow): adjust
4753         (getRow): adjust
4754         (getRowNearY): adjust
4755
4756         * lyxtext.h: include RowList.h
4757         (~LyXText): not needed anymore, deleted.
4758         (firstRow): modify for RowList
4759         (lastRow): new function
4760         Delete firstrow and lastrow class variables, add a Rowlist
4761         rowlist_ class variable.
4762
4763         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4764         paragraph is empty.
4765
4766         * RowList.C (insert): fix case where it == begin().
4767
4768 2003-03-26  Angus Leeming  <leeming@lyx.org>
4769
4770         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4771         the thesaurus dialog.
4772
4773 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4776
4777         * RowList.[Ch]: new files
4778
4779         * ParagraphList.C (erase): handle the case where it == begin
4780         correctly.
4781
4782 2003-03-25  John Levon  <levon@movementarian.org>
4783
4784         * Makefile.am:
4785         * aspell_local.h:
4786         * aspell.C: add new aspell support
4787
4788         * lyxrc.h:
4789         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4790         have it accessible.
4791
4792 2003-03-25  Angus Leeming  <leeming@lyx.org>
4793
4794         * lfuns.h:
4795         * LyXAction.C (init): new LFUN_INSET_INSERT.
4796
4797         * BufferView_pimpl.C (dispatch): split out part of the
4798         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4799
4800         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4801         LFUN_INSET_APPLY.
4802
4803 2003-03-25  Angus Leeming  <leeming@lyx.org>
4804
4805         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4806
4807 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * text2.C:
4810         * text3.C: remove useless row->height(0)
4811
4812 2003-03-25  John Levon  <levon@movementarian.org>
4813
4814         * lyxtext.h:
4815         * text2.C:
4816         * text3.C: rename the refreshing stuff to better names
4817
4818 2003-03-24  John Levon  <levon@movementarian.org>
4819
4820         * BufferView_pimpl.h:
4821         * BufferView_pimpl.C: update layout choice on a mouse
4822         press/release
4823
4824 2003-03-23  John Levon  <levon@movementarian.org>
4825
4826         * Makefile.am: fix commandtags.h reference
4827
4828 2003-03-22  John Levon  <levon@movementarian.org>
4829
4830         * BufferView_pimpl.C:
4831         * lyxtext.h:
4832         * rowpainter.C:
4833         * rowpainter.h:
4834         * text.C:
4835         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4836
4837 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * lyxtext.h:
4840         * text.C: take the rtl methods out of line
4841
4842 2003-03-21 André Pönitz <poenitz@gmx.net>
4843
4844         * metricsinfo.[Ch]: new files containing structures to be passed around
4845         during the two-phase-drawing...
4846
4847 2003-03-21 André Pönitz <poenitz@gmx.net>
4848
4849         * lyxtextclass.C: read 'environment' tag.
4850
4851 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * text2.C (removeRow): fix bug 964
4854
4855 2003-03-20  John Levon  <levon@movementarian.org>
4856
4857         * rowpainter.C:
4858         * text.C:
4859         * text2.C: paint cleanups. Inset::update() dropped font
4860         parameter
4861
4862 2003-03-19  John Levon  <levon@movementarian.org>
4863
4864         * lyxfunc.C: only fitcursor/markDirty if available()
4865
4866 2003-03-19  John Levon  <levon@movementarian.org>
4867
4868         * commandtags.h: rename to ...
4869
4870         * lfuns.h: ... this, and renumber / cleanup
4871
4872 2003-03-19  John Levon  <levon@movementarian.org>
4873
4874         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4875         fit the cursor after an lfun
4876
4877         * BufferView.h:
4878         * BufferView.C:
4879         * BufferView_pimpl.h:
4880         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4881
4882         * LyXAction.C: layout-character should have ReadOnly
4883
4884         * ParagraphParameters.C:
4885         * buffer.C:
4886         * bufferview_funcs.C:
4887         * lyx_cb.C:
4888         * lyxfind.C:
4889         * lyxtext.h:
4890         * text.C:
4891         * text2.C:
4892         * text3.C:
4893         * undo_funcs.C: changes from above
4894
4895 2003-03-18  John Levon  <levon@movementarian.org>
4896
4897         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4898         remove it from update()
4899
4900         * lyxfunc.C: update layout choice after an lfun
4901
4902         * text3.C: remove extra updateLayoutChoice()s
4903
4904 2003-03-18  John Levon  <levon@movementarian.org>
4905
4906         * text.C: top_y change means full repaint, fix
4907         a drawing bug with cursor movement
4908
4909 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * lyxtext.h:
4912         * text.C:
4913         * text2.C: anchor row on setCursor
4914
4915 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4916
4917         * lyxtext.h: remove almost all mutable keywords
4918         * text.C:
4919         * text2.C:
4920         * text3.C: remove const keywords accordingly
4921
4922 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4925         anon namespace
4926         (TeXEnvironment): ditto
4927         (TeXOnePar): ditto
4928
4929 2003-03-17  John Levon  <levon@movementarian.org>
4930
4931         * text.C (rowBreakPoint): remove attempt to fix displayed
4932         math insets inside a manual label
4933
4934 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * lyxtext.h: remove BufferView* as first arg from almost all class
4937         functions.
4938         * other files: adjust.
4939
4940 2003-03-17  John Levon  <levon@movementarian.org>
4941
4942         * lyxtext.h:
4943         * undo_funcs.C:
4944         * text2.C: more paint cleanups
4945
4946         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4947
4948         * rowpainter.h:
4949         * rowpainter.C: remove "smart" background painting code
4950
4951 2003-03-16  John Levon  <levon@movementarian.org>
4952
4953         * lyxtext.h:
4954         * text.C:
4955         * text2.C:
4956         * text3.C: add helper functions for setting refresh_row/y
4957
4958 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4959
4960         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4961         newline inset which *can* get inserted in the pass_thru layouts.
4962         This is primarily for literate documents.
4963
4964 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4965
4966         * buffer.C: increment LYX_FORMAT to 223
4967
4968 2003-03-14 André Pönitz <poenitz@gmx.net>
4969
4970         * textclass.h: prepare for environment handling, ws changes
4971         * lyxlayout.C: read latexheader and latexfooter tags
4972
4973 2003-03-14  John Levon  <levon@movementarian.org>
4974
4975         * text2.C: rewrite ::status() a bit
4976
4977 2003-03-13  John Levon  <levon@movementarian.org>
4978
4979         * lyxtext.h: add some docs
4980
4981 2003-03-13  John Levon  <levon@movementarian.org>
4982
4983         * lyxtext.h:
4984         * text.C:
4985         * text2.C:
4986         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4987
4988 2003-03-13  John Levon  <levon@movementarian.org>
4989
4990         * text3.C: fix appendix redrawing
4991
4992 2003-03-13  John Levon  <levon@movementarian.org>
4993
4994         * text.C (setHeightOfRow):
4995         * rowpainter.h:
4996         * rowpainter.C: make appendix mark have the text
4997           "Appendix" so the user knows what it is
4998
4999         * LColor.h:
5000         * LColor.C: s/appendixline/appendix/ from above
5001
5002 2003-03-13  John Levon  <levon@movementarian.org>
5003
5004         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5005
5006         * text.C: fix a getChar(pos) bug properly
5007
5008 2003-03-13  Angus Leeming  <leeming@lyx.org>
5009
5010         * commandtags.h:
5011         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5012         Probably only temporary. Let's see how things pan out.
5013
5014         * BufferView.C (unlockInset):
5015         * BufferView_pimpl.C (fitCursor):
5016         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5017
5018         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5019         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5020
5021         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5022         new functions that convert ParagraphParameters to and from a string.
5023
5024         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5025         BufferView::Pimpl's dispatch.
5026         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5027
5028 2003-03-13 André Pönitz <poenitz@gmx.net>
5029
5030         * lyxfunc.C:
5031         * text3.C:
5032         * factory.C: make it aware of InsetEnv
5033
5034 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * text2.C (setCursor): never ask for one past last
5037         (setCursor): add some debugging messages.
5038
5039         * text.C (singleWidth): never ask for one past last
5040         (singleWidth): ditto
5041         (leftMargin): ditto
5042         (rightMargin): ditto
5043         (rowBreakPoint): ditto
5044         (setHeightOfRow): ditto
5045         (prepareToPrint): ditto
5046
5047         * rowpainter.C (paintBackground): never ask for one past last
5048         (paintText): never ask for one past last
5049
5050         * paragraph_pimpl.C (getChar): make the assert stricter, never
5051         allow the one past last pos to be taken
5052
5053         * paragraph.C (getChar): ws changes only
5054
5055         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5056         (numberOfSeparators): ditto
5057         (numberOfHfills): ditto
5058
5059 2003-03-12  John Levon  <levon@movementarian.org>
5060
5061         * author.h:
5062         * author.C:
5063         * bufferparams.h:
5064         * bufferparams.C:
5065         * paragraph_funcs.C: fix per-buffer authorlists
5066
5067 2003-03-12  John Levon  <levon@movementarian.org>
5068
5069         * text.C: fix newline in right address
5070
5071 2003-03-12  Angus Leeming  <leeming@lyx.org>
5072
5073         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5074         duplicate those in LyXFunc::dispatch.
5075
5076         * commandtags.h:
5077         * LyXAction.C:
5078         * ToolbarDefaults.C:
5079         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5080         Add LFUN_FONTFREE_UPDATE.
5081
5082         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5083         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5084
5085         * bufferview_func.[Ch]: several new functions to facilliate
5086         transfer of data to and from the character dialog.
5087
5088 2003-03-12  John Levon  <levon@movementarian.org>
5089
5090         * buffer.C:
5091         * paragraph.h:
5092         * paragraph.C:
5093         * paragraph_funcs.C:
5094         * paragraph_pimpl.C:
5095         * sgml.C:
5096         * tabular.C:
5097         * text.C:
5098         * text3.C: remove META_NEWLINE in favour of an inset
5099
5100         * rowpainter.h:
5101         * rowpainter.C: remove paintNewline (done by inset)
5102
5103 2003-03-12  John Levon  <levon@movementarian.org>
5104
5105         * paragraph_pimpl.C: complain about bad getChar()s
5106         for a while at least
5107
5108 2003-03-12  John Levon  <levon@movementarian.org>
5109
5110         * buffer.h:
5111         * buffer.C: move paragraph read into a separate function,
5112         a little renaming to reflect that.
5113
5114         * bufferparams.h:
5115         * bufferparams.C: remove the author_ids map, not necessary now
5116
5117         * factory.h:
5118         * factory.C: moved Buffer::readInset to here
5119
5120         * paragraph_funcs.h:
5121         * paragraph_funcs.C: readParagraph free function moved from
5122         buffer.C
5123
5124         * tabular.C: name change
5125
5126 2003-03-12  John Levon  <levon@movementarian.org>
5127
5128         * buffer.C:
5129         * ParagraphParameters.C: move par params input to
5130         a read() method
5131
5132         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5133         behave like a normal read from the stream wrt reading
5134         a line vs. a \\token
5135
5136 2003-03-12  John Levon  <levon@movementarian.org>
5137
5138         * paragraph.C:
5139         * ParagraphParameters.h:
5140         * ParagraphParameters.C: move output code to a
5141         ::write() method
5142
5143 2003-03-12  John Levon  <levon@movementarian.org>
5144
5145         * BufferView.C (insertLyXFile):
5146         * buffer.h:
5147         * buffer.C:
5148         * tabular.C: use a parlist iterator for creating the
5149           document.
5150
5151 2003-03-12  John Levon  <levon@movementarian.org>
5152
5153         * buffer.C: make current_change static local not
5154           static file-scope
5155
5156 2003-03-12  John Levon  <levon@movementarian.org>
5157
5158         * buffer.C: fix insertStringAsLines for change tracking
5159
5160 2003-03-12  John Levon  <levon@movementarian.org>
5161
5162         * BufferView.C:
5163         * tabular.C:
5164         * buffer.h:
5165         * buffer.C:
5166         * bufferparams.h:
5167         * bufferparams.C: move author list into params. Rename some
5168           functions. Move the header reading into a separate token
5169           loop. Move the header token reading into BufferParams.
5170
5171 2003-03-12  John Levon  <levon@movementarian.org>
5172
5173         * changes.C: put debug inside lyxerr.debugging() checks
5174
5175 2003-03-11 André Pönitz <poenitz@gmx.net>
5176
5177         * factory.C: make it aware of InsetHFill
5178
5179 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5180
5181         * buffer.C (latexParagraphs): move function from here...
5182         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5183         args.
5184
5185 2003-03-10  Angus Leeming  <leeming@lyx.org>
5186
5187         * LyXAction.C (init): fix bug in poplating array with multiple entries
5188         with the same LFUN (spotted by JMarc).
5189
5190 2003-03-10  John Levon  <levon@movementarian.org>
5191
5192         * text.C:
5193         * text2.C: move getColumnNearX() near its
5194         only call site
5195
5196 2003-03-10  John Levon  <levon@movementarian.org>
5197
5198         * text.C: fix break before a minipage
5199
5200 2003-03-10  John Levon  <levon@movementarian.org>
5201
5202         * text.C: fix the last commit
5203
5204 2003-03-09  John Levon  <levon@movementarian.org>
5205
5206         * lyxtext.h:
5207         * text.C:
5208         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5209         bug 365 (don't break before insets unless needed). Don't
5210         return a value > last under any circumstances.
5211
5212 2003-03-09  Angus Leeming  <leeming@lyx.org>
5213
5214         * BufferView_pimpl.C (trackChanges, dispatch): call
5215         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5216
5217 2003-03-09  Angus Leeming  <leeming@lyx.org>
5218
5219         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5220         than Dialogs::showAboutlyx().
5221
5222 2003-03-09  Angus Leeming  <leeming@lyx.org>
5223
5224         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5225         than Dialogs::showTabularCreate().
5226
5227 2003-03-09  John Levon  <levon@movementarian.org>
5228
5229         * lyxtext.h:
5230         * text.C:
5231         * text2.C: 3rd arg to nextBreakPoint was always the same.
5232           Use references.
5233
5234 2003-03-08  John Levon  <levon@movementarian.org>
5235
5236         * lyxrow.C:
5237         * paragraph.C:
5238         * paragraph.h:
5239         * rowpainter.C:
5240         * text.C:
5241         * text2.C: Remove the "main" bit from the "main body"
5242           notion.
5243
5244 2003-03-08  John Levon  <levon@movementarian.org>
5245
5246         * text.C (leftMargin): The left margin of an empty
5247         manual label paragraph should not include the label width
5248         string length.
5249
5250         * text.C (prepareToPrint): don't attempt to measure hfills
5251         for empty manual label paragraphs - the answer should be 0
5252
5253 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * CutAndPaste.C: remove commented code and reindent.
5256
5257 2003-03-08  John Levon  <levon@movementarian.org>
5258
5259         * lyxfunc.h:
5260         * lyxfunc.C: move reloadBuffer()
5261
5262         * BufferView.h:
5263         * BufferView.C: to here
5264
5265         * lyxvc.C: add comment
5266
5267         * vc-backend.h:
5268         * vc-backend.C: call bv->reload() to avoid
5269           getStatus() check on MENURELOAD
5270
5271 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5272
5273         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5274         to an old format .dep file.
5275
5276 2003-03-07  Angus Leeming  <leeming@lyx.org>
5277
5278         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5279         when the LFUN_MOUSE_RELEASE should have been handled by
5280         inset->localDispatch.
5281
5282 2003-03-07  Angus Leeming  <leeming@lyx.org>
5283
5284         * BufferView_pimpl.C (dispatch):
5285         * LyXAction.C (init):
5286         * ToolbarDefaults.C (init):
5287         * commandtags.h:
5288         * lyxfunc.C (getStatus):
5289         remove LFUN_INSET_GRAPHICS.
5290
5291         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5292
5293 2003-03-07  Angus Leeming  <leeming@lyx.org>
5294
5295         * commandtags.h:
5296         * LyXAction.C (init):
5297         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5298
5299         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5300
5301         * commandtags.h:
5302         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5303
5304         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5305         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5306
5307 2003-03-07  Angus Leeming  <leeming@lyx.org>
5308
5309         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5310         remove "ert".
5311
5312 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * ParagraphList.C (front): new function
5315         (back): implement
5316
5317 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5318
5319         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5320         and top_row_offset_. removed var first_y.
5321         * text.C (top_y):
5322         * text2.C (LyXText, removeRow):
5323         * text3.C:
5324         * BufferView_pimpl.C:
5325         use these methods instead of using first_y
5326
5327 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * text2.C (pasteSelection): adjust for checkPastePossible
5330
5331         * CutAndPaste.C: remove Paragraph * buf and replace with
5332         ParagraphList paragraphs.
5333         (DeleteBuffer): delete
5334         (cutSelection): change the tc type to textclass_type
5335         (copySelection): change the tc type to textclass_type
5336         (copySelection): adjust for ParagraphList
5337         (pasteSelection): change the tc type to textclass_type
5338         (pasteSelection): adjust for Paragraphlist
5339         (nrOfParagraphs): simplify for ParagraphList
5340         (checkPastePossible): simplify for ParagraphList
5341         (checkPastePossible): remove unused arg
5342
5343         * ParagraphList.C (insert): handle the case where there are no
5344         paragraphs yet.
5345
5346         * CutAndPaste.h: make CutAndPaste a namespace.
5347
5348         * text3.C (dispatch): adjust
5349
5350         * text.C (breakParagraph): add a ParagraphList as arg
5351
5352         * paragraph_funcs.C (breakParagraph): change to take a
5353         BufferParams and a ParagraphList as args.
5354         (breakParagraphConservative): ditto
5355         (mergeParagraph): ditto
5356         (TeXDeeper): add a ParagraphList arg
5357         (TeXEnvironment): ditto
5358         (TeXOnePar): ditto
5359
5360         * buffer.C (readLyXformat2): adjust
5361         (insertStringAsLines): adjust
5362         (latexParagraphs): adjust
5363
5364         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5365         (cutSelection): adjust
5366         (pasteSelection): adjust
5367
5368         * BufferView_pimpl.C (insertInset): adjust
5369
5370 2003-03-05  Angus Leeming  <leeming@lyx.org>
5371
5372         * commandtags.h:
5373         * LyXAction.C (init):
5374         * BufferView_pimpl.C (dispatch):
5375         * lyxfunc.C (getStatus):
5376         remove LFUN_CHILD_INSERT.
5377
5378         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5379
5380 2003-03-05  Angus Leeming  <leeming@lyx.org>
5381
5382         * commandtags.h:
5383         * LyXAction.C (init):
5384         * src/factory.C (createInset):
5385         * lyxfunc.C (getStatus):
5386         * text3.C (dispatch):
5387         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5388
5389         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5390
5391 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * ParagraphList.C (insert): handle insert right before end()
5394         (erase): fix cases where it can be first or last paragraph.
5395
5396 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5399         Paragraph::next and Paragraph::previous
5400         (TeXOnePar): ditto
5401
5402         * text.C (breakParagraph): adjust
5403
5404         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5405         BufferParams& as arg.
5406         (breakParagraph): use ParagraphList::insert
5407         (breakParagraphConservative): take a Buffer* instead of a
5408         BufferParams& as arg.
5409         (breakParagraphConservative): use ParagraphList::insert.
5410
5411         * buffer.C (insertStringAsLines): un-const it
5412         (insertStringAsLines): adjust
5413
5414         * ParagraphList.C (insert): new function
5415
5416         * CutAndPaste.C (pasteSelection): adjust
5417
5418         * text.C (backspace): adjust
5419
5420         * tabular.C (SetMultiColumn): adjust
5421
5422         * CutAndPaste.C (cutSelection): adjust
5423         (pasteSelection): adjust
5424
5425         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5426         Buffer const * as arg
5427
5428         * ParagraphList.C (erase): new function
5429         * paragraph_funcs.C (mergeParagraph): use it
5430         (mergeParagraph): make it take a Buffer* instead of a
5431         BufferParams* as arg
5432
5433         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5434         as arg
5435         (breakParagraphConservative): ditto
5436
5437         * paragraph.h: remove the breakParagraph friend
5438
5439         * paragraph.C (eraseIntern): new function
5440         (setChange): new function
5441
5442         * paragraph_funcs.C (mergeParagraph): make it take a
5443         ParagraphList::iterator instead of a Paragraph *, adjust
5444         accordingly.
5445
5446         * paragraph.h: move an #endif so that the change tracking stuff
5447         also works in the NO_NEXT case.
5448
5449 2003-03-04  Angus Leeming  <leeming@lyx.org>
5450
5451         * commandtags.h:
5452         * LyXAction.C: new LFUN_INSET_MODIFY.
5453
5454         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5455         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5456
5457 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * several files: ws changes only
5460
5461         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5462         (TeXEnvironment): ditto
5463         (TeXDeeper): ditto
5464
5465         * buffer.C (makeLaTeXFile): adjust
5466         (latexParagraphs): make it take ParagraphList::iterator as args
5467
5468 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * buffer.C (latexParagraphs): adjust
5471
5472         * paragraph.C (TeXOnePar): move function...
5473         (optArgInset): move function...
5474         (TeXEnvironment): move function...
5475         * paragraph_pimpl.C (TeXDeeper): move function...
5476         * paragraph_funcs.C: ...here
5477
5478         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5479
5480 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * buffer.C (readInset): remove compability code for old Figure and
5483         InsetInfo insets
5484
5485 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * buffer.C: ws changes
5488         (readInset):
5489
5490         * BufferView_pimpl.C: ditto
5491         * author.C: ditto
5492         * buffer.h: ditto
5493         * bufferlist.h: ditto
5494         * changes.h: ditto
5495         * lyxfunc.C: ditto
5496
5497 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5498
5499         * converter.[Ch]: split into itself +
5500         * graph.[Ch]
5501         * format.[Ch]
5502         * Makefile.am: += graph.[Ch] + format.[Ch]
5503         * MenuBackend.C
5504         * buffer.C
5505         * exporter.C
5506         * importer.C
5507         * lyx_main.C
5508         * lyxfunc.C
5509         * lyxrc.C: added #include "format.h"
5510
5511 2003-02-27  Angus Leeming  <leeming@lyx.org>
5512
5513         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5514           a label.
5515
5516         * factory.C (createInset): add "label" to the factory.
5517
5518         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5519           string and do no more.
5520
5521 2003-02-27  Angus Leeming  <leeming@lyx.org>
5522
5523         * commandtags.h:
5524         * LyXAction.C (init):
5525         * factory.C (createInset):
5526         * BufferView_pimpl.C (dispatch):
5527           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5528
5529         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5530
5531         * lyxfunc.C (dispatch):
5532         * text3.C (dispatch): pass name to params2string.
5533
5534 2003-02-26  Angus Leeming  <leeming@lyx.org>
5535
5536         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5537           blocks together.
5538           Rearrange the ~includes. Strip out the unnecessary ones.
5539
5540         * factory.C (createInset): reformat.
5541           create new insets for the various LFUN_XYZ_APPLY lfuns.
5542
5543 2003-02-26  John Levon  <levon@movementarian.org>
5544
5545         * lyxrow.h:
5546         * lyxrow.C: add isParStart,isParEnd helpers
5547
5548         * paragraph.h: make isInserted/DeletedText take refs
5549
5550         * paragraph_funcs.h:
5551         * paragraph_funcs.C: remove #if 0'd code
5552
5553         * lyxtext.h:
5554         * text3.C:
5555         * text2.C:
5556         * text.C: use lyxrow helpers above.
5557           Move draw and paint routines to RowPainter.
5558           Make several methods use refs not pointers.
5559           Make backgroundColor() const.
5560           Add markChangeInDraw(), isInInset().
5561           Merge changeRegionCase into changeCase.
5562           Make workWidth() shouldn't-happen code into an Assert.
5563
5564         * rowpainter.h:
5565         * rowpainter.C: new class for painting a row.
5566
5567         * vspace.h:
5568         * vspace.C: make inPixels take a ref
5569
5570 2003-02-26  Angus Leeming  <leeming@lyx.org>
5571
5572         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5573         LFUN_REF_APPLY.
5574
5575 2003-02-25  John Levon  <levon@movementarian.org>
5576
5577         * ispell.C: give the forked command a more accurate name
5578
5579 2003-02-22  John Levon  <levon@movementarian.org>
5580
5581         * toc.h:
5582         * toc.C: make TocItem store an id not a Paragraph *
5583           (bug #913)
5584
5585 2003-02-21  Angus Leeming  <leeming@lyx.org>
5586
5587         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5588           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5589           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5590           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5591           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5592           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5593
5594         * BufferView_pimpl.C (dispatch):
5595         * LyXAction.C (init):
5596         * factory.C (createInset):
5597         * lyxfunc.C (getStatus, dispatch):
5598         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5599
5600 2003-02-21  Angus Leeming  <leeming@lyx.org>
5601
5602         * BufferView_pimpl.C (MenuInsertLyXFile):
5603         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5604         * lyxfunc.C (menuNew, open, doImport):
5605           no longer pass a LyXView & to fileDlg.
5606
5607 2003-02-21  Angus Leeming  <leeming@lyx.org>
5608
5609         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5610         * LyXAction.C: change, BIBKEY to BIBITEM.
5611         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5612         Change InsetBibKey to InsetBibitem.
5613         Change BIBKEY_CODE to BIBITEM_CODE.
5614         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5615         * factory.C: replace insetbib.h with insetbibitem.h.
5616         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5617         * paragraph.C: replace insetbib.h with insetbibitem.h.
5618         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5619         Change bibkey() to bibitem().
5620         * text.C: remove insetbib.h.
5621         * text2.C: replace insetbib.h with insetbibitem.h.
5622         change bibkey() to bibitem().
5623         * text3.C: remove insetbib.h.
5624         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5625
5626 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5627
5628         * lyxrc.C (output): enclose user email in quotes (in case there are
5629         several words)
5630
5631 2003-02-18  John Levon  <levon@movementarian.org>
5632
5633         * buffer.h: add std::
5634
5635 2003-02-17  John Levon  <levon@movementarian.org>
5636
5637         * SpellBase.h:
5638         * ispell.h:
5639         * ispell.C:
5640         * pspell.h:
5641         * pspell.C: reworking. Especially in ispell, a large
5642           number of clean ups and bug fixes.
5643
5644         * lyxfunc.C: fix revert to behave sensibly
5645
5646 2003-02-17 André Pönitz <poenitz@gmx.net>
5647
5648         * LyXAction.C:
5649         * commandtags.h: new LFUN_INSERT_BIBKEY
5650
5651         * layout.h:
5652         * lyxlayout.C:
5653         * buffer.C:
5654         * factory.C:
5655         * text.C:
5656         * text2.C:
5657         * text3.C:
5658         * paragraph.[Ch]:
5659         * paragraph_func.C: remove special bibkey handling
5660
5661 2003-02-17  John Levon  <levon@movementarian.org>
5662
5663         * text.C (Delete): fix case where delete at the end of
5664           the very first paragraph would not merge the pars
5665
5666 2003-02-17  John Levon  <levon@movementarian.org>
5667
5668         * lyxrow.C: fix lastPrintablePos()
5669
5670 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5671
5672         * bufferparams.C (writeLaTeX): add a std:here
5673
5674         * buffer.C: and remove a using directive there
5675
5676 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5677
5678         * buffer.C (makeLaTeXFile): move the code that generates the
5679           preamble...
5680
5681         * bufferparams.C (writeLaTeX): ... in this new method
5682
5683         * LaTeXFeatures.C (getEncodingSet): make const
5684           (getLanguages): make const
5685
5686         * MenuBackend.C (binding): returns the binding associated to this
5687           action
5688           (add): sets the status of each item by calling getStatus. Adds
5689           some intelligence.
5690           (read): add support for OptSubMenu
5691           (expand): remove extra separator at the end of expanded menu
5692
5693 2003-02-15  John Levon  <levon@movementarian.org>
5694
5695         * BufferView.C:
5696         * BufferView_pimpl.C:
5697         * bufferlist.h:
5698         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5699           inset code that had no actual effect. Remove unneeded status
5700           code.
5701
5702 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5703
5704         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5705           in preamble
5706
5707 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5708
5709         * text.C (drawLengthMarker): also draw an arrow marker for
5710           symbolic lengths (medskip...)
5711
5712 2003-02-14  John Levon  <levon@movementarian.org>
5713
5714         * tabular.h:
5715         * tabular.C: better method names
5716
5717 2003-02-14  John Levon  <levon@movementarian.org>
5718
5719         * BufferView_pimpl.C:
5720         * bufferlist.C:
5721         * buffer.C:
5722         * converter.C:
5723         * lyx_cb.C:
5724         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5725           it's a more accurate name. Remove some pointless uses.
5726
5727 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5728
5729         * text2.C (LyXText): change order of initilizers to shut off
5730           warnings
5731
5732 2003-02-14  John Levon  <levon@movementarian.org>
5733
5734         * buffer.C: use ParIterator for getParFromID()
5735
5736         * paragraph.h:
5737         * paragraph.C:
5738         * paragraph_pimpl.h:
5739         * paragraph_pimpl.C: remove unused getParFromID()
5740
5741 2003-02-14  John Levon  <levon@movementarian.org>
5742
5743         * buffer.C: remove some very old #if 0'd parse code
5744
5745 2003-02-13  John Levon  <levon@movementarian.org>
5746
5747         * text.h:
5748         * text.C:
5749         * text2.C: move hfillExpansion(), numberOfSeparators(),
5750           rowLast(), rowLastPrintable(), numberofHfills(),
5751           numberOfLabelHfills() ...
5752
5753         * lyxrow.h:
5754         * lyxrow.C: ... to member functions here.
5755
5756         * paragraph.h:
5757         * paragraph.C:
5758         * lyxtext.h:
5759         * text.C: remove LyXText::beginningOfMainBody(), and call
5760           p->beginningOfMainBody() directly. Move the check for
5761           LABEL_MANUAL into the latter.
5762
5763         * text.h:
5764         * text.C:
5765         * text2.C:
5766         * vspace.C:
5767         * BufferView.h:
5768         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5769
5770         * text.h:
5771         * text.C:
5772         * text2.C:
5773         * text3.C:
5774         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5775           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5776
5777 2003-02-13  John Levon  <levon@movementarian.org>
5778
5779         * CutAndPaste.C: remove debug
5780
5781 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5782
5783         * paragraph.C (asString): remove two unused variables
5784
5785         * lyxtextclass.C (readTitleType):
5786           (Read):
5787           (LyXTextClass): handle new members titletype_ and titlename_
5788
5789         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5790
5791 2003-02-09  John Levon  <levon@movementarian.org>
5792
5793         * buffer.h:
5794         * buffer.C: replace hand-coded list with a map for the dep clean
5795
5796 2003-02-08  John Levon  <levon@movementarian.org>
5797
5798         * LaTeX.C: consolidate code into showRunMessage() helper
5799
5800 2003-02-08  John Levon  <levon@movementarian.org>
5801
5802         * lyxfind.C:
5803         * lyxtext.h:
5804         * text2.C:
5805         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5806           and pass the size in explicitly
5807
5808         * BufferView_pimpl.h:
5809         * BufferView_pimpl.C:
5810         * BufferView.h:
5811         * BufferView.C: add getCurrentChange()
5812
5813         * BufferView_pimpl.h:
5814         * BufferView_pimpl.C: handle change lfuns
5815
5816         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5817           for changes. Mark pasted paragraphs as new.
5818
5819         * support/lyxtime.h:
5820         * support/lyxtime.C:
5821         * DepTable.C: abstract time_t as lyx::time_type
5822
5823         * LColor.h:
5824         * LColor.C: add colours for new text, deleted text, changebars
5825
5826         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5827           package use "usenames" option.
5828
5829         * commandtags.h:
5830         * lyxfunc.C:
5831         * LyXAction.C: add change lfuns
5832
5833         * Makefile.am:
5834         * author.h:
5835         * author.C: author handling
5836
5837         * buffer.h:
5838         * buffer.C: add a per-buffer author list, with first entry as
5839           current author. Handle new .lyx tokens for change tracking. Output
5840           author list to .lyx file. Output dvipost stuff to .tex preamble.
5841           Bump lyx format to 222.
5842
5843         * bufferlist.h:
5844         * bufferlist.C: add setCurrentAuthor() to reset current author details
5845           in all buffers.
5846
5847         * bufferparams.h:
5848         * bufferparams.C: add param for tracking
5849
5850         * bufferview_funcs.C: output change info in minibuffer
5851
5852         * Makefile.am:
5853         * changes.h:
5854         * changes.C: add change-tracking structure
5855
5856         * debug.h:
5857         * debug.C: add CHANGES debug flag
5858
5859         * lyxfind.h:
5860         * lyxfind.C: add code for finding the next change piece
5861
5862         * lyxrc.h:
5863         * lyxrc.C: add user_name and user_email
5864
5865         * lyxrow.h:
5866         * lyxrow.C: add a metric for the top of the text line
5867
5868         * lyxtext.h:
5869         * text.C: implement accept/rejectChange()
5870
5871         * lyxtext.h:
5872         * text.C: paint changebars. Paint new/deleted text in the chosen
5873         colours. Strike through deleted text.
5874
5875         * paragraph.h:
5876         * paragraph.C:
5877         * paragraph_pimpl.h:
5878         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5879           in the current change to the insert functions. Rework erase to
5880           mark text as deleted, adding an eraseIntern() and a range-based
5881           erase(). Implement per-paragraph change lookup and
5882           accept/reject.
5883
5884         * paragraph_funcs.C: Fixup paste for change tracking.
5885
5886         * tabular.C: mark added row/columns as new.
5887
5888         * text.C: fix rowLast() to never return -1. Don't allow
5889           spellchecking of deleted text. Track transpose changes. Don't
5890           allow paragraph break or merge where appropriate.
5891
5892         * text2.C: leave cursor at end of selection after a cut.
5893
5894 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5895
5896         * text.C (getLengthMarkerHeight):
5897         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5898         visible on screen too.
5899
5900 2003-02-07  John Levon  <levon@movementarian.org>
5901
5902         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5903
5904 2003-02-05  Angus Leeming  <leeming@lyx.org>
5905
5906         * lyxserver.C (read_ready): revert my patch of 11 September last year
5907         as it sends PC cpu through the roof. Presumably this means that
5908         the lyxserver will no longer run on an Alpha...
5909
5910 2003-01-30  Angus Leeming  <leeming@lyx.org>
5911
5912         * factory.C (createInset): create an InsetCommandParam of type "index"
5913         and use it to 'do the right thing'.
5914
5915         * text2.C (getStringToIndex): ensure that cursor position is always
5916         reset to the reset_cursor position.
5917
5918 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5919
5920         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5921         disabled.
5922
5923 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5924
5925         * bufferview.C:
5926         * lyxcb.C:
5927         * lyxfunc.C: Output messages with identical spelling, punctuation,
5928         and spaces
5929
5930 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5931
5932         * MenuBackend.C (expandFormats): List only viewable export formats
5933         in "View" menu
5934
5935         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5936         message
5937
5938         * lyxfunc.C (getStatus): Make sure that formats other than
5939         "fax" can also be disabled
5940
5941 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5942
5943         * text3.C (dispatch): put the lfuns that insert insets in 3
5944         groups, and call doInsertInset with appropriate arguments.
5945         (doInsertInset): new function, that creates an inset and inserts
5946         it according to some boolean parameters.
5947
5948 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * buffer.C (readFile): remember to pass on 'par' when calling
5951         readFile recursively.
5952
5953 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5954
5955         * MenuBackend.C (expandFormats): add "..." to import formats.
5956
5957 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5958
5959         * paragraph.C (asString): Remove XForms RTL hacks.
5960
5961 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5962         * buffer.C: fix typo
5963
5964 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * Makefile.am (LIBS): delete var
5967         (lyx_LDADD): add @LIBS@ here instead.
5968
5969 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5970
5971         * Clarify the meaning of "wheel mouse jump"
5972
5973 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5974
5975         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5976         tabular in a float
5977
5978 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5979
5980         * importer.C (Loaders): do not preallocate 3 elements in the
5981         vector, since one ends up with 6 elements otherwise
5982
5983 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5984
5985         * DepTable.C (write): write the file name as last element of the
5986         .dep file (because it may contain spaces)
5987         (read): read info in the right order
5988
5989 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5990
5991         * paragraph_pimpl.C (simpleTeXBlanks):
5992         (simpleTeXSpecialChars):
5993         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5994
5995         * tabular.C (latex): add some missing case statements. Reindent.
5996
5997         * MenuBackend.C (expandToc): remove unused variable.
5998
5999 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6000
6001         * LColor.C:
6002         * LaTeX.C:
6003         * LyXAction.C:
6004         * MenuBackend.C:
6005         * buffer.C:
6006         * exporter.C:
6007         * lyxfunc.C:
6008         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6009         and the like.
6010
6011 2003-01-05  John Levon  <levon@movementarian.org>
6012
6013         * BufferView.h:
6014         * BufferView.C: add getEncoding()
6015
6016         * kbsequence.h:
6017         * kbsequence.C: do not store last keypress
6018
6019         * lyxfunc.h:
6020         * lyxfunc.C: store last keypress here instead. Pass encoding
6021           to getISOEncoded()
6022
6023 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6024
6025         * lyx_main.C (init): remove annoying error message when following
6026         symbolic links (bug #780)
6027
6028 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6029
6030         * text.C (insertChar):
6031         * lyxrc.C (getDescription): remove extra spaces
6032
6033 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6034
6035         * lyxrc.C (getDescription): remove extra spaces
6036
6037 2002-12-20  John Levon  <levon@movementarian.org>
6038
6039         * text3.C: hack fix for page up/down across tall rows
6040
6041 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6042
6043         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6044         not been invoked
6045
6046 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6047
6048         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6049         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6050         thesaurus is not compiled in
6051
6052 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6053
6054         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6055
6056 2002-12-16  Angus Leeming  <leeming@lyx.org>
6057
6058         * lyxrc.[Ch]:
6059         * lyx_main.C (init): remove override_x_deadkeys stuff.
6060
6061 2002-12-12  John Levon  <levon@movementarian.org>
6062
6063         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6064           insert. Only remove shift modifier under strict
6065           circumstances.
6066
6067 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * MenuBackend.C (expandToc): fix crash.
6070
6071 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * MenuBackend.C (expandToc): gettext on float names.
6074
6075 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6076
6077         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6078         implement bool empty() [bug 490]
6079
6080 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6083
6084 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * several files: ws changes
6087
6088 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * text2.C (setCounter): clean up a bit, use boost.format.
6091         (updateCounters): initialize par upon declaration.
6092
6093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6094         if the layout exists. We do not just store the layout any more.
6095         (SwitchLayoutsBetweenClasses): use boost.format
6096
6097 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6098
6099         * converter.C (convert): if from and to files are the same, use a
6100         temporary files as intermediary
6101
6102 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6103
6104         * commandtags.h:
6105         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6106
6107 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6108
6109         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6110
6111 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * tabular.C (asciiPrintCell): use string(size, char) instead of
6114         explicit loop.
6115
6116         * sgml.C (openTag): fix order of arguments to string constructor
6117         (closeTag): ditto
6118
6119         * lyxfunc.C (dispatch): use boost.format
6120
6121         * lots of files: change "c" -> 'c'
6122
6123 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6124
6125         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6126
6127 2002-11-25  Angus Leeming  <leeming@lyx.org>
6128
6129         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6130
6131         * lyx_main.C (init): compile fix.
6132
6133 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * lyx_cb.C (start): boost.formatify
6136         do not include <iostream>
6137
6138         * lengthcommon.C: ws only
6139
6140         * boost-inst.C,BoostFormat.h: add more explict instantations
6141
6142 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * lots of files: handle USE_BOOST_FORMAT
6145
6146 2002-11-21  John Levon  <levon@movementarian.org>
6147
6148         * pspell.C: fix compile
6149
6150 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6151
6152         * lyxfunc.C (dispatch): use boost::format
6153         (open): ditto
6154         (doImport): ditto
6155
6156         * lyxfont.C (stateText): use boost::format
6157
6158         * lyx_main.C (LyX): use boost::format
6159         (init): ditto
6160         (queryUserLyXDir): ditto
6161         (readRcFile): ditto
6162         (parse_dbg): ditto
6163         (typedef boost::function): use the recommened syntax.
6164
6165         * importer.C (Import): use boost::format
6166
6167         * debug.C (showLevel): use boost::format
6168
6169         * converter.C (view): use boost::format
6170         (convert): ditto
6171         (move): ditto
6172         (scanLog): ditto
6173
6174         * bufferview_funcs.C (currentState): use boost::format
6175
6176         * bufferlist.C (emergencyWrite): use boost::format
6177
6178         * buffer.C (readLyXformat2): use boost::format
6179         (parseSingleLyXformat2Token): ditto
6180
6181         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6182
6183         * LaTeX.C (run): use boost::format
6184
6185         * Chktex.C (scanLogFile): use boost::format
6186
6187         * BufferView_pimpl.C (savePosition): use boost::format
6188         (restorePosition): ditto
6189         (MenuInsertLyXFile): ditto
6190
6191         * BoostFormat.h: help file for explicit instation.
6192
6193 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * tabular.C (latex): Support for block alignment in fixed width
6196         columns.
6197
6198 2002-11-17  John Levon  <levon@movementarian.org>
6199
6200         * BufferView_pimpl.C:
6201         * lyx_cb.C:
6202         * lyxfunc.C: split filedialog into open/save
6203
6204 2002-11-08  Juergen Vigna  <jug@sad.it>
6205
6206         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6207         by my last patch (hopefully).
6208
6209 2002-11-08  John Levon  <levon@movementarian.org>
6210
6211         * iterators.h:
6212         * iterators.C:
6213         * buffer.h:
6214         * buffer.C:
6215         * paragraph.h:
6216         * paragraph.C:
6217         * toc.h:
6218         * toc.C: ParConstIterator, and use it (from Lars)
6219
6220 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6221
6222         * lyxtextclass.[Ch]: revise and add doxygen comments
6223
6224 2002-11-07  John Levon  <levon@movementarian.org>
6225
6226         * text.C: fix progress value for spellchecker
6227
6228         * toc.C: fix navigate menu for insetwrap inside minipage
6229
6230         * paragraph_funcs.C: added FIXME for suspect code
6231
6232 2002-11-07  John Levon  <levon@movementarian.org>
6233
6234         * BufferView_pimpl.C: fix redrawing of insets
6235           on buffer switch
6236
6237 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6238
6239         * text2.C (updateCounters): fix bug 668
6240
6241 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6242
6243         * text3.C (dispatch): Do not make the buffer dirty when moving the
6244         cursor.
6245
6246 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * vc-backend.C: STRCONV
6249         (scanMaster): ditto
6250
6251         * text2.C (setCounter): STRCONV
6252
6253         * paragraph.C (asString): STRCONV
6254
6255         * lyxlength.C (asString): STRCONV
6256         (asLatexString): ditto
6257
6258         * lyxgluelength.C (asString): STRCONV
6259         (asLatexString): ditto
6260
6261         * lyxfunc.C (dispatch): STRCONV
6262         (open): ditto
6263
6264         * lyxfont.C (stateText): STRCONV
6265
6266         * importer.C (Import): STRCONV
6267
6268         * counters.C (labelItem): STRCONV
6269         (numberLabel): ditto
6270         (numberLabel): remove unused ostringstream o
6271
6272         * chset.C: STRCONV
6273         (loadFile): ditto
6274
6275         * bufferview_funcs.C (currentState): STRCONV
6276
6277         * buffer.C (readFile): STRCONV
6278         (asciiParagraph): ditto
6279         (makeLaTeXFile): ditto
6280
6281         * Spacing.C (writeEnvirBegin): STRCONV
6282
6283         * LaTeXFeatures.C (getLanguages): STRCONV
6284         (getPackages): ditto
6285         (getMacros): ditto
6286         (getBabelOptions): ditto
6287         (getTClassPreamble): ditto
6288         (getLyXSGMLEntities): ditto
6289         (getIncludedFiles): ditto
6290
6291         * LaTeX.C: STRCONV
6292         (run): ditto
6293         (scanAuxFile): ditto
6294         (deplog): ditto
6295
6296         * LString.h: add the STRCONV macros
6297
6298         * BufferView_pimpl.C (savePosition): STRCONV
6299         (restorePosition): ditto
6300         (MenuInsertLyXFile): ditto
6301
6302         * vc-backend.C (scanMaster): change from submatch[...] to
6303         submatch.str(...)
6304
6305         * funcrequest.C: include config.h
6306
6307         * factory.C: include config.h
6308
6309         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6310
6311         * box.C: include config.h
6312
6313         * LaTeX.C (scanAuxFile): change from submatch[...] to
6314         submatch.str(...)
6315         (deplog): ditto
6316
6317 2002-10-25  Angus Leeming  <leeming@lyx.org>
6318
6319         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6320
6321         * ispell.[Ch] (setError): new method.
6322         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6323         Use setError() insetead of goto END.
6324
6325         * lyx_cb.C (AutoSave): move out child process into new class
6326         AutoSaveBuffer.
6327
6328 2002-10-30  John Levon  <levon@movementarian.org>
6329
6330         * text3.C: make start appendix undoable
6331
6332 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6333
6334         * lyxlength.C (inPixels): Fix returned value.
6335
6336         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6337         environment.
6338
6339 2002-10-24  Angus Leeming  <leeming@lyx.org>
6340
6341         * lyxgluelength.h: no need to forward declare BufferParams
6342         or BufferView, so don't.
6343
6344 2002-10-21  John Levon  <levon@movementarian.org>
6345
6346         * BufferView.C: menuUndo ->undo, redo
6347
6348         * BufferView.h: document, remove dead, make some methods private
6349
6350         * paragraph_funcs.h:
6351         * paragraph_funcs.C:
6352         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6353
6354         * buffer.h:
6355         * buffer.C:
6356         * sgml.h:
6357         * sgml.C: move sgml open/close tag into sgml.C
6358
6359         * bufferview_funcs.h: unused prototype
6360
6361         * lyxfunc.h:
6362         * lyxfunc.C: remove unused
6363
6364         * lyxtext.h:
6365         * text.C: remove unused
6366
6367 2002-10-21  John Levon  <levon@movementarian.org>
6368
6369         * BufferView.h:
6370         * BufferView.C:
6371         * BufferView_pimpl.h:
6372         * BufferView_pimpl.C: fix mouse wheel handling based on
6373           patch from Darren Freeman
6374
6375 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6376
6377         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6378
6379 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6380
6381         * lyxlength.C (inPixels): Fix hanfling of negative length.
6382         Fix LyXLength::MU case.
6383
6384 2002-10-16  John Levon  <levon@movementarian.org>
6385
6386         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6387
6388 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6389
6390         * converter.C (view): add support for $$i (file name) and $$p
6391         (file path) for the viewer command. If $$i is not specified, then
6392         it is appended to the command (for compatibility with old syntax)
6393
6394 2002-10-14  Juergen Vigna  <jug@sad.it>
6395
6396         * undo_funcs.C (textHandleUndo): alter the order in which the
6397         new undopar is added to the LyXText, as we have to set first
6398         the right prev/next and then add it as otherwise the rebuild of
6399         LyXText is not correct. Also reset the cursor to the right paragraph,
6400         with this IMO we could remove the hack in "redoParagraphs()".
6401
6402 2002-10-09  Angus Leeming  <leeming@lyx.org>
6403
6404         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6405         to turn off an optimisation if a new inset is to be inserted.
6406
6407 2002-10-11 André Pönitz <poenitz@gmx.net>
6408
6409         * lyxtext.h: make some functions public to allow access
6410         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6411
6412 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6413
6414         * text3.C (dispatch): when changing layout, avoid an infinite loop
6415         [bug #652]
6416
6417 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6418
6419         * lyxrc.C (read): treat a viewer or converter command of "none" as
6420         if it were empty.
6421
6422         * MenuBackend.C (expandFormats): for an update, also allow the
6423         formats that are not viewable
6424
6425         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6426         script if it is newer than the lyxrc.defaults in user directory
6427
6428 2002-10-07 André Pönitz <poenitz@gmx.net>
6429
6430         * text.C: Vitaly Lipatov's small i18n fix
6431
6432 2002-09-25  Angus Leeming  <leeming@lyx.org>
6433
6434         * ispell.h: doxygen fix.
6435
6436 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6437
6438         * buffer.h (readFile): Add a new argument to the method, to allow
6439         reading of old-format templates.
6440
6441 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6442
6443         * toc.C (getTocList): Get TOC from InsetWrap.
6444
6445 2002-09-16  John Levon  <levon@movementarian.org>
6446
6447         * lyxfunc.C: check tabular for cut/copy too
6448
6449 2002-09-12  John Levon  <levon@movementarian.org>
6450
6451         * LyXAction.C: tidy
6452
6453         * factory.h:
6454         * factory.C: add header
6455
6456         * paragraph_funcs.h:
6457         * paragraph_funcs.C: cleanup
6458
6459 2002-09-11  John Levon  <levon@movementarian.org>
6460
6461         * PrinterParams.h: odd/even default to true
6462
6463 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6464
6465         * PrinterParams.h: update printer parameters for new xforms dialog
6466
6467 2002-09-11  Angus Leeming  <leeming@lyx.org>
6468
6469         * lyxserver.C (read_ready): re-write to make it more transparent
6470         and to make it work in coherent fashion under Tru64 Unix.
6471
6472 2002-09-11  André Pönitz <poenitz@gmx.net>
6473
6474         * commandtags.h:
6475         * LyXAction.C:
6476         * text3.C: implement LFUN_WORDSEL
6477
6478 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6481         make floatlist_ a boost::shared_ptr<FloatList>
6482
6483         * lyxtextclass.C: include FloatList.h
6484         (LyXTextClass): initialize floatlist_
6485         (TextClassTags): add TC_NOFLOAT
6486         (Read): match "nofloat" to TC_NOFLOAT and use it.
6487         (readFloat): modify call to floatlist_
6488         (floats): ditto
6489         (floats): ditto
6490
6491         * FloatList.[Ch] (FloatList): remove commented out float
6492         initialization.
6493         (erase): new function
6494
6495 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6496
6497         * MenuBackend.C (expandToc): fix crash when there is no document
6498         open
6499
6500 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6501
6502         * many files: Add insetwrap.
6503
6504 2002-09-09  John Levon  <levon@movementarian.org>
6505
6506         * text2.C: remove confusing and awkward depth wraparound
6507
6508 2002-09-09  John Levon  <levon@movementarian.org>
6509
6510         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6511
6512         * buffer.h:
6513         * buffer.C: remove getIncludeonlyList()
6514
6515         * paragraph.C:
6516         * lyxfunc.C: remove headers
6517
6518 2002-09-09  Juergen Vigna  <jug@sad.it>
6519
6520         * text.C (getColumnNearX): fix form Michael this is most
6521         probably a cut&paste bug.
6522
6523 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6526
6527         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6528         references, ws changes.
6529
6530         * text2.C (init): update counters after init
6531         (insertParagraph): no need to set counter on idividual paragraphs.
6532         (setCounter): access the counters object in the textclass object
6533         on in the buffer object.
6534         (updateCounters): ditto
6535
6536         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6537         shared_ptr<Counters> to avoid loading counters.h in all
6538         compilation units.
6539         (LyXTextClass): initialize ctrs_
6540         (TextClassTags): add TC_COUNTER, and ...
6541         (Read): use it here.
6542         (CounterTags): new tags
6543         (readCounter): new function
6544         (counters): new funtion
6545         (defaultLayoutName): return a const reference
6546
6547         * counters.C (Counters): remove contructor
6548         (newCounter): remove a couple of unneeded statements.
6549         (newCounter): simplify a bit.
6550         (numberLabel): some small formatting changes.
6551
6552         * buffer.[Ch]: remove all traces of counters, move the Counters
6553         object to the LyXTextClass.
6554
6555 2002-09-06  Alain Castera  <castera@in2p3.fr>
6556
6557         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6558         package to set the horizontal alignment on fixed width columns.
6559
6560         * lyx_sty.C:
6561         * lyx_sty.h: added tabularnewline macro def.
6562
6563         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6564
6565 2002-09-06  John Levon  <levon@movementarian.org>
6566
6567         * LyXAction.C: tooltips for sub/superscript
6568
6569         * MenuBackend.C: a bit more verbose
6570
6571         * lyxfunc.C: tiny clean
6572
6573         * undo_funcs.C: document undo_frozen
6574
6575 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * counters.C (Counters): add missing algorithm counter.
6578
6579         * text2.C (setCounter): lookup the counter with layouts latexname
6580         instead of by section number.
6581         (setCounter): use a hackish way to lookup the correct enum
6582         counter.
6583         a float name->type change
6584         reset enum couners with counter name directly instead of depth value.
6585
6586         * counters.C (Counters): remove the push_backs, change to use the
6587         float type not the float name.
6588         (labelItem): remove unused string, float name->type change
6589
6590         * counters.h: don't include vector, loose the enums and sects vectors
6591
6592 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6595         (Read): add float->TC_FLOAT to textclassTags
6596         (Read): and handle it in the switch
6597         (readFloat): new function
6598
6599         * FloatList.C (FloatList): comment out the hardcoded float
6600         definitions.
6601
6602         * lyxlayout.h: ws change.
6603
6604 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6605
6606         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6607
6608 2002-09-03  Angus Leeming  <leeming@lyx.org>
6609
6610         * BufferView_pimpl.h: qualified name is not allowed in member
6611         declaration: WorkArea & Pimpl::workarea() const;
6612
6613         * factory.C: added using std::endl directive.
6614
6615         * text3.C: added using std::find and std::vector directives.
6616
6617 2002-08-29  André Pönitz <poenitz@gmx.net>
6618
6619         * lyxtext.h:
6620         * text2.C: remove unused member number_of_rows
6621
6622         * Makefile.am:
6623         * BufferView2.C: remove file, move contents to...
6624         * BufferView.C: ... here
6625
6626         * BufferView_pimpl.C:
6627         * factory.C: move more inset creation to factory
6628
6629         * vspace.C: avoid direct usage of LyXText, ws changes
6630
6631         * BufferView.[Ch]:
6632                 don't provide direct access to WorkArea, use two simple
6633                 acessors haveSelction() and workHeight() instead
6634
6635
6636 2002-08-29  John Levon  <levon@movementarian.org>
6637
6638         * BufferView_pimpl.C (dispatch): do not continue when
6639           no buffer
6640
6641 2002-08-28  André Pönitz <poenitz@gmx.net>
6642
6643         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6644
6645         * BufferView.h:
6646         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6647
6648 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6649
6650         * buffer.C: increment LYX_FORMAT to 221
6651
6652         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6653         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6654
6655         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6656
6657         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6658
6659 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6660
6661         * factory.C (createInset): use LyXTextClass::floats
6662
6663         * MenuBackend.C (expandFloatListInsert):
6664         (expandFloatInsert):
6665         (expandToc):
6666
6667         * text2.C (setCounter):
6668
6669         * LaTeXFeatures.C (useFloat):
6670         (getFloatDefinitions):
6671
6672         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6673
6674         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6675         floatlist_, with accessor floats().
6676
6677         * FloatList.h: remove global FloatList
6678
6679 2002-08-26  André Pönitz <poenitz@gmx.net>
6680
6681         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6682
6683         * BufferView.h:
6684         * BufferView2.C:
6685         * BufferView_pimpl.C:
6686         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6687
6688 2002-08-25  John Levon  <levon@movementarian.org>
6689
6690         * LyXAction.C: fix margin note description
6691
6692 2002-08-24  John Levon  <levon@movementarian.org>
6693
6694         * buffer.C:
6695         * bufferlist.C:
6696         * bufferview_funcs.C:
6697         * lyxfont.C:
6698         * undo_funcs.C: cleanups
6699
6700         * lyxfunc.C: disable CUT/COPY when no selection
6701
6702 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6703
6704         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6705         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6706
6707         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6708         Add backward compatibility to "mono", "gray" and "no".
6709
6710 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6711
6712         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6713         (and file_format >= 200).
6714
6715 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6716
6717         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6718
6719 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6720
6721         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6722
6723 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6724
6725         * BufferView_pimpl.C:
6726         * LyXAction.C:
6727         * buffer.C:
6728         * commandtags.h:
6729         * lyxfunc.C:
6730         * paragraph.[Ch]:
6731         * text2.C:
6732         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6733         inset and code to make it  work with the paragraph code. The inset
6734         can be anywhere in the paragraph, but will only do the expected
6735         thing in LaTeX if the layout file contains the parameter line
6736                         OptionalArgs    1
6737         (or more generally, a nonzero value) for that layout.
6738
6739 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * paragraph.h: remove the declaration of undefined counters class
6742         function.
6743
6744 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6745
6746         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6747         Dr. Richard Hawkins.
6748
6749 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6750
6751         * paragraph_funcs.h: remove some unneeded includes
6752
6753         * text.C (backspace): pasteParagraph now in global scipe
6754
6755         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6756         (pasteSelection): ditto
6757
6758         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6759         * paragraph_funcs.C (pasteParagraph): ... here
6760
6761 2002-08-20  André Pönitz <poenitz@gmx.net>
6762
6763         * commandtags.h: new LFUNs for swapping/copying table row/colums
6764
6765         * LyXAction.C:
6766         * lyxfunc.C: support for new lfuns
6767
6768 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * tabular.C:
6771         * buffer.[Ch]: remove NO_COMPABILITY stuff
6772
6773 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * boost.C (throw_exception): new file, with helper function for
6776         boost compiled without exceptions.
6777
6778         * paragraph.h:
6779         * lyxlength.C:
6780         * buffer.C:
6781         * ParameterStruct.h:
6782         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6783
6784         * bufferlist.C (emergencyWriteAll): use boost bind
6785
6786         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6787
6788         * text.C: include paragraph_funcs.h
6789         (breakParagraph): breakParagraph is now in global scope
6790
6791         * paragraph_funcs.[Ch]: new files
6792
6793         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6794         global scope
6795
6796         * buffer.C: include paragraph_funcs.h
6797         (insertStringAsLines): breakParagraph is now in global scope
6798
6799         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6800         paragraph_funcs.C
6801
6802         * CutAndPaste.C: include paragraph_funcs.h
6803         (cutSelection): breakParagraphConservative is now in global scope
6804         (pasteSelection): ditto
6805
6806         * buffer.h: declare oprator== and operator!= for
6807         Buffer::inset_iterator
6808
6809         * bufferlist.C (emergencyWrite): don't use fmt(...)
6810
6811         * text3.C: add using std::endl
6812
6813         * BufferView.C (moveCursorUpdate): remove default arg
6814
6815 2002-08-20  André Pönitz <poenitz@gmx.net>
6816
6817         * buffer.[Ch]: move inline functions to .C
6818
6819         * BufferView2.C:
6820         * BufferView_pimpl.C:
6821         * text.C:
6822         * buffer.[Ch]: use improved inset_iterator
6823
6824         * buffer.C:
6825         * paragraph.[Ch]: write one paragraph at a time
6826
6827 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6828
6829         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6830         style if style is not specified.
6831
6832 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6833
6834         * text2.C (setCounter): when searching for right label for a
6835         caption, make sure to recurse to parent insets (so that a caption
6836         in a minipage in a figure float works) (bug #568)
6837
6838 2002-08-20  André Pönitz <poenitz@gmx.net>
6839
6840         * text3.C: new file for LyXText::dispatch() and helpers
6841
6842         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6843
6844         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6845
6846 2002-08-19  André Pönitz <poenitz@gmx.net>
6847
6848         * lyxtext.h:
6849         * text.C: new LyXText::dispatch()
6850
6851         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6852
6853 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6854
6855         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6856
6857         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6858         Hebrew text.
6859
6860 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6861
6862         * Makefile.am: use $(variables) instead of @substitutions@
6863
6864 2002-08-15  André Pönitz <poenitz@gmx.net>
6865
6866         * lyxfunc.C:
6867         * BufferView_pimpl.C: streamlining mathed <-> outer world
6868         interaction
6869
6870         * commandtags.h:
6871         * LyXAction.C: remove unused LFUN_MATH
6872
6873 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6876
6877 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * paragraph.C (Paragraph): reformat a bit
6880         (cutIntoMinibuffer): use builtin InsetList function instad of
6881         doing it manually.
6882         (getInset): ditto
6883
6884         * buffer.C: include boost/bind.hpp, add using std::for_each
6885         (writeFileAscii): use ParagraphList iterators
6886         (validate): use for_each for validate traversal of paragraphs
6887         (getBibkeyList): use ParagraphList iterators
6888         (resizeInsets): use for_each to resizeInsetsLyXText for all
6889         paragraphs.
6890         (getParFromID): use ParagraphList iterators
6891
6892         * BufferView2.C (lockInset): use paragraph list and iterators
6893
6894 2002-08-14  John Levon  <levon@movementarian.org>
6895
6896         * lyxserver.C: remove spurious xforms include
6897
6898 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6899
6900         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6901
6902 2002-08-13  André Pönitz <poenitz@gmx.net>
6903
6904         * LyXAction.[Ch]:
6905         * lyxfunc.C: further cleaning
6906
6907 2002-08-13  André Pönitz <poenitz@gmx.net>
6908
6909         * funcrequest.h: new constructor
6910
6911         * funcrequest.C: move stuff here from .h
6912
6913         * Makefile.am:
6914         * BufferView_pimpl.C:
6915         * LyXAction.C:
6916         * toc.C:
6917         * lyxfunc.C: subsequent changes
6918
6919         * lyxfunc.h: new view() member function
6920
6921         * lyxfunc.C: subsequent changes
6922
6923 2002-08-13  Angus Leeming  <leeming@lyx.org>
6924
6925         * BufferView2.C:
6926         * BufferView_pimpl.C:
6927         * buffer.C:
6928         * converter.C:
6929         * importer.C:
6930         * lyxfunc.C:
6931         * lyxvc.C:
6932         * toc.C:
6933         * vc-backend.C:
6934         changes due to the changed LyXView interface that now returns references
6935         to member variables not pointers.
6936
6937 2002-08-13  Angus Leeming  <leeming@lyx.org>
6938
6939         * WordLangTuple (word, lang_code): return references to strings,
6940         not strings.
6941
6942         * BufferView.h:
6943         * SpellBase.h:
6944         * lyxtext.h: forward-declare WordLangTuple.
6945
6946         * BufferView2.C:
6947         * ispell.C:
6948         * pspell.C:
6949         * text.C: #include "WordLangTuple.h".
6950
6951         * lyxtext.h:
6952         * text.C: (selectNextWordToSpellcheck): constify return type.
6953
6954 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6955
6956         * buffer.C:
6957         * buffer.h:
6958         * lyxtext.h:
6959         * paragraph.C:
6960         * paragraph_pimpl.h:
6961         * text.C:
6962         * text2.C:
6963         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6964         suggested by Angus.
6965         Made updateCounter always count from start of buffer, and removed
6966         second argument (par).
6967         Reverted floats number display to '#'. Perhaps I'll try again when the
6968         code base is sanitized a bit.
6969
6970 2002-08-12  Angus Leeming  <leeming@lyx.org>
6971
6972         * buffer.[Ch] (getLabelList): constify.
6973
6974 2002-08-07  André Pönitz <poenitz@gmx.net>
6975
6976         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6977
6978         * funcrequest.h: extension to keep mouse (x,y) position
6979
6980 2002-08-12  Juergen Vigna  <jug@sad.it>
6981
6982         * BufferView2.C (insertErrors): forbid undo when inserting error
6983         insets.
6984
6985         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6986
6987 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * ParagraphList.[Ch]: new files
6990
6991         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6992
6993         * BufferView2.C (lockInset): ParagraphList changes
6994         * toc.C: ditto
6995         * text2.C: ditto
6996         * bufferlist.C: ditto
6997         * buffer.h: ditto
6998         * buffer.C: ditto
6999
7000 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7003         unused class variable counter_,
7004
7005         * paragraph.[Ch] (getFirstCounter): delete unused function
7006
7007         * counters.C: include LAssert.h
7008         (reset): add a new function with no arg, change other version to
7009         not have def. arg and to not allow empty arg.
7010
7011         * text2.C (setCounter): remove empty arg from call to Counters::reset
7012
7013 2002-08-11  John Levon  <levon@movementarian.org>
7014
7015         * Makefile.am: add WordLangTuple.h
7016
7017 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7020         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7021
7022         * insets/insettext.C: InsetList changes
7023
7024         * graphics/GraphicsSupport.C (operator()): InsetList changes
7025
7026         * toc.C (getTocList): InsetList changes
7027
7028         * paragraph_pimpl.[Ch]: InsetList changes
7029
7030         * paragraph.[Ch]: InsetList changes
7031
7032         * buffer.C (inset_iterator): InsetList changes
7033         (setParagraph): ditto
7034         * buffer.h (inset_iterator): ditto
7035         * iterators.C (operator++): ditto
7036         * iterators.h: ditto
7037
7038         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7039
7040         * InsetList.[Ch]: new files, most InsetList handling moved out of
7041         paragraph.C.
7042
7043         * BufferView2.C (removeAutoInsets): InsetList changes
7044         (lockInset): ditto
7045         (ChangeInsets): ditto
7046
7047 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * paragraph_pimpl.h (empty): new function
7050
7051         * paragraph.[Ch] (empty): new function
7052
7053         * other files: use the new Paragraph::empty function
7054
7055 2002-08-09  John Levon  <levon@movementarian.org>
7056
7057         * lyxtext.h: remove unused refresh_height
7058
7059 2002-08-09  John Levon  <levon@movementarian.org>
7060
7061         * Makefile.am:
7062         * sgml.h:
7063         * sgml.C:
7064         * buffer.C:
7065         * paragraph.h:
7066         * paragraph.C: move sgml char escaping out of paragraph
7067
7068         * paragraph.h:
7069         * paragraph.C: remove id setter
7070
7071         * buffer.C:
7072         * paragraph.C:
7073         * paragraph_pimpl.C: remove dead tex_code_break_column
7074
7075         * bufferview_funcs.C: small cleanup
7076
7077         * lyxfunc.C: remove dead proto
7078
7079         * lyxtext.h: make some stuff private. Remove some dead stuff.
7080
7081         * lyxgluelength.C: make as[LyX]String() readable
7082
7083 2002-08-08  John Levon  <levon@movementarian.org>
7084
7085         * LyXAction.h:
7086         * LyXAction.C:
7087         * MenuBackend.C:
7088         * ToolbarDefaults.C:
7089         * lyxfunc.C:
7090         * lyxrc.C:
7091         * toc.C: lyxaction cleanup
7092
7093 2002-08-08  John Levon  <levon@movementarian.org>
7094
7095         * BufferView2.C: small cleanup
7096
7097         * lyxfind.h:
7098         * lyxfind.C: move unnecessary header into the .C
7099
7100 2002-08-08  John Levon  <levon@movementarian.org>
7101
7102         * funcrequest.h: just tedious nonsense
7103
7104         * lyx_main.h:
7105         * lyx_main.C: cleanups
7106
7107         * buffer.C:
7108         * vspace.C: remove dead header lyx_main.h
7109
7110 2002-08-07  Angus Leeming  <leeming@lyx.org>
7111
7112         * Paragraph.[Ch]:
7113         * paragraph_pimpl.h:
7114         Forward declare class Counters in paragraph.h by moving the ctrs member
7115         variable into Paragraph::Pimpl.
7116         (counters): new method, returning a reference to pimpl_->ctrs.
7117
7118         * text2.C: ensuing changes.
7119
7120 2002-08-07  John Levon  <levon@movementarian.org>
7121
7122         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7123
7124         * BufferView_pimpl.C: announce X selection on double/triple
7125           click
7126
7127         * lyx_main.C: use correct bool in batch dispatch
7128
7129         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7130
7131 2002-08-07  André Pönitz <poenitz@gmx.net>
7132
7133         * funcrequest.h: new class to wrap a kb_action and its argument
7134
7135         * BufferView.[Ch]:
7136         * BufferView_pimpl[Ch]:
7137         * LaTeX.C:
7138         * LyXAction.[Ch]:
7139         * lyxfunc.[Ch]:
7140         * lyxrc.C: subsequent changes
7141
7142
7143 2002-08-07  John Levon  <levon@movementarian.org>
7144
7145         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7146           document options change.
7147
7148 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7149
7150         * counters.[Ch]
7151         * text2.C
7152         * paragraph.[Ch]
7153         * makefile.am: move counters functionality over from
7154         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7155
7156 2002-08-06  John Levon  <levon@movementarian.org>
7157
7158         * WordLangTuple.h: new file for word + language code tuple
7159
7160         * SpellBase.h:
7161         * pspell.h:
7162         * pspell.C:
7163         * ispell.h:
7164         * ispell.C:
7165         * lyxtext.h:
7166         * text.C:
7167         * text2.C:
7168         * BufferView.h:
7169         * BufferView2.C: use WordLangTuple
7170
7171         * layout.h:
7172         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7173
7174 2002-08-06  John Levon  <levon@movementarian.org>
7175
7176         * lyx_main.C: fix cmdline batch handling
7177
7178 2002-08-06  André Pönitz <poenitz@gmx.net>
7179
7180         * lyxrc.C: set default for show_banner to true
7181
7182 2002-08-06  John Levon  <levon@movementarian.org>
7183
7184         * pspell.C: fix a crash, and allow new aspell to work
7185
7186 2002-08-06  John Levon  <levon@movementarian.org>
7187
7188         * lyxfunc.C:
7189         * kbmap.C: small cleanup
7190
7191         * vspace.h:
7192         * vspace.C: add const
7193
7194 2002-08-05  John Levon  <levon@movementarian.org>
7195
7196         * LyXAction.C: back to tabular-insert
7197
7198 2002-08-04  John Levon  <levon@movementarian.org>
7199
7200         * BufferView.h:
7201         * BufferView.C: cosmetic change
7202
7203         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7204
7205         * bufferlist.C:
7206         * buffer.h:
7207         * buffer.C:
7208         * lyxcb.h:
7209         * lyxcb.C:
7210         * lyxserver.C:
7211         * lyxvc.C:
7212         * vc-backend.C:
7213         * BufferView2.C: purge all "Lyx" not "LyX" strings
7214
7215         * lyxcursor.h:
7216         * lyxcursor.C: attempt to add some documentation
7217
7218         * lyxfunc.C:
7219         * commandtags.h:
7220         * LyXAction.C:
7221         * ToolbarDefaults.C:
7222         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7223           merge with LFUN_TABULAR_INSERT
7224
7225         * Makefile.am:
7226         * SpellBase.h:
7227         * ispell.h:
7228         * ispell.C:
7229         * pspell.h:
7230         * pspell.C: split up i/pspell implementations into separate
7231           files, many cleanups
7232
7233         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7234
7235         * text2.C: some cleanup
7236
7237         * lyxfunc.C: don't check for isp_command == "none" any more, it
7238           didn't make any sense
7239
7240 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7241
7242         * counters.[Ch]
7243         * text2.C
7244         * paragraph.[Ch]
7245         * makefile.am: move counters functionality over
7246         from text2.C/paragraph.[Ch] to counters.[Ch], and
7247         make proper C++.
7248 2002-08-02  John Levon  <levon@movementarian.org>
7249
7250         * buffer.C: s/lyxconvert/lyx2lyx/
7251
7252 2002-08-02  Angus Leeming  <leeming@lyx.org>
7253
7254         * lyxlex.C: revert John's change as it breaks reading of the user
7255         preamble.
7256
7257 2002-08-02  Angus Leeming  <leeming@lyx.org>
7258
7259         * importer.C (Import):
7260         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7261         changes due to LyXView::view() now returning a boost::shared_ptr.
7262
7263 2002-08-02  John Levon  <levon@movementarian.org>
7264
7265         * lyxlex.C: small cleanup
7266
7267 2002-08-02  John Levon  <levon@movementarian.org>
7268
7269         * text2.C (status): small cleanup, no logic change
7270
7271 2002-08-01  John Levon  <levon@movementarian.org>
7272
7273         * buffer.h:
7274         * buffer.C (writeFile): don't output alerts, caller
7275           handles this
7276
7277         * bufferlist.C:
7278         * lyx_cb.C: from above
7279
7280         * lyxfunc.C: allow to open non-existent files
7281
7282 2002-07-31  John Levon  <levon@movementarian.org>
7283
7284         * lyxserver.C: don't let incidental errors get
7285           in the way (errno)
7286
7287 2002-07-30  John Levon  <levon@movementarian.org>
7288
7289         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7290
7291 2002-07-30  John Levon  <levon@movementarian.org>
7292
7293         * lyxserver.h:
7294         * lyxserver.C: remove I/O callback too
7295
7296 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7297
7298         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7299         log.
7300
7301 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * many files: strip,frontStrip -> trim,ltrim,rtrim
7304
7305 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7306
7307         * PrinterParams.h: remove extern containsOnly, and include
7308         support/lstrings.h instead.
7309
7310         * LaTeX.C (scanAuxFile): modify because of strip changes
7311         (deplog): ditto
7312         * buffer.C (makeLaTeXFile): ditto
7313         * bufferparams.C (writeFile): ditt
7314         * lyxfont.C (stateText): ditto
7315         * lyxserver.C (read_ready): ditto
7316         * vc-backend.C (scanMaster): ditto
7317
7318         * BufferView_pimpl.h: ws changes
7319
7320         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7321
7322 2002-07-26  André Pönitz <poenitz@gmx.net>
7323
7324         * kb_sequence.C: remove unnedred usings
7325
7326 2002-07-26  Juergen Vigna  <jug@sad.it>
7327
7328         * lyxfind.C (LyXReplace): we have to check better if the returned
7329         text is not of theLockingInset()->getLockingInset().
7330
7331 2002-07-25  Juergen Vigna  <jug@sad.it>
7332
7333         * lyxfind.C (LyXReplace): don't replace if we don't get the
7334         right LyXText.
7335
7336         * undo_funcs.C (createUndo): remove debugging code.
7337
7338 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7339
7340         * buffer.C (parseSingleLyXformat2Token): Use default placement
7341         when reading old floats.
7342
7343         * FloatList.C (FloatList): Change the default placement of figure
7344         and tables to "tbp".
7345
7346 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * MenuBackend.C: using std::max
7349
7350 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7351
7352         * MenuBackend.C (expandToc):
7353         (expandToc2): code moved from xforms menu frontend. It is now
7354         generic and TOCs are transparent to menu frontends.
7355
7356 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7357
7358         * toc.C (getTocList): protect against buf=0
7359
7360         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7361         Menu as first parameter. Now, this calls itself recursively to
7362         expand a whole tree (this will be useful for TOC handling)
7363         (expandFloatInsert): remove 'wide' version of floats
7364
7365         * MenuBackend.h (submenuname): returns the name of the submenu.
7366         (submenu): returns the submenu itself, provided it has been
7367         created by MenuBackend::expand
7368
7369 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7370
7371         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7372         insets which have noFontChange == true. (bug #172)
7373
7374 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7375
7376         * BufferView_pimpl.C: add connection objects and use them...
7377         (Pimpl): here.
7378
7379 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7380
7381         * MenuBackend.C (expandLastfiles):
7382         (expandDocuments):
7383         (expandFormats):
7384         (expandFloatListInsert):
7385         (expandFloatInsert):
7386         (expand): split expand in parts
7387
7388 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * lyx_gui.C: use lyx_gui::exit()
7391
7392 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * LyXAction.C: show the failing pseudo action
7395
7396 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7397
7398         * buffer.C (readFile): Run the lyxconvert script in order to read
7399         old files.
7400
7401 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7402
7403         * LyXAction.C:
7404         * commandtags.h:
7405         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7406
7407 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7408
7409         * LyXAction.C:
7410         * commandtags.h:
7411         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7412
7413 2002-07-22  Herbert Voss  <voss@lyx.org>
7414
7415         * lengthcommon.C:
7416         * lyxlength.[Ch]: add support for the vertical lengths
7417
7418 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * toc.[Ch]: std:: fixes
7421
7422 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7423
7424         * lyxrc.C: do not include lyx_main.h
7425
7426         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7427         for layouts
7428
7429         * lyxrc.C:
7430         * encoding.C:
7431         * bufferlist.C:
7432         * BufferView2.C: include "lyxlex.h"
7433
7434         * tabular.h:
7435         * bufferparams.h: do not #include "lyxlex.h"
7436
7437         * lyxtextclasslist.C (Add): remove method
7438         (classlist): renamed to classlist_
7439
7440         * paragraph_pimpl.C:
7441         * paragraph.C:
7442         * text2.C:
7443         * CutAndPaste.C:
7444         * bufferview_funcs.C:
7445         * bufferlist.C:
7446         * text.C:
7447         * LaTeXFeatures.C:
7448         * buffer.C:
7449         * toc.C (getTocList): use BufferParams::getLyXTextClass
7450
7451         * toc.C (getTocList): use InsetFloat::addToToc
7452
7453         * toc.[Ch]: new files, containing helper functions to handle table
7454         of contents
7455
7456         * lyxfunc.C (dispatch): no need to remove spaces around command
7457         given as a string
7458         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7459         first command of the sequence; it is not very clever, but I do not
7460         have a better idea, actually
7461
7462         * LyXAction.C (LookupFunc): make sure to remove space at the
7463         beginning and end of the command
7464
7465 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * MenuBackend.C (getMenubar): new method: return the menubar of
7468         this menu set
7469         (read): treat differently reading of menu and menubar (in
7470         particular, the menubar has no name now)
7471         (Menu::menubar): remove
7472
7473         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7474         saving is finished
7475
7476 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7477
7478         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7479         a bibitem inset in a RTL paragraph.
7480
7481 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7482
7483         * paragraph_pimpl.C: constify
7484
7485         * BufferView_pimpl.C:
7486         * LaTeX.C:
7487         * lyxfunc.C: fix dispatch in a nicer way
7488
7489 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7490
7491         * lyxfunc.C (dispatch):
7492         * BufferView_pimpl.C:
7493         * BufferView_pimpl.h:
7494         * BufferView.C:
7495         * BufferView.h: rename Dispatch() to dispatch()
7496
7497         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7498
7499         * lyxlayout.C (Read): honor DependsOn tag
7500
7501         * lyxlayout.[Ch] (depends_on): new method
7502
7503         * version.C.in: update lyx_docversion
7504
7505         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7506
7507         * paragraph.C (validate): remove from here...
7508         * paragraph_pimpl.C (validate): ... and move here
7509         (isTextAt): make it const
7510
7511         * buffer.C (getLists): ws cleanup
7512
7513 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7514
7515         * language.C (read): Use iso8859-1 encoding in latex_lang
7516         (this prevents LyX from crashing when using iso10646-1 encoding).
7517
7518 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7519
7520         * text2.C (toggleInset): if cursor is inside an inset, close the
7521         inset and leave cursor _after_ it
7522
7523 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * lyxfunc.C: move minibuffer completion handling out of here
7526
7527 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7528
7529         * BufferView_pimpl.C:
7530         * LaTeX.C: fix dispatch calls
7531
7532 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7533
7534         * text.C (drawChars): Fix Arabic text rendering.
7535
7536 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * LyXAction.C:
7539         * commandtags.h:
7540         * lyxfunc.C: remove message-push/pop
7541
7542         * lyxserver.C:
7543         * lyxfunc.h:
7544         * lyxfunc.C: rationalise some code by removing verboseDispatch
7545           in favour of a bool argument to dispatch()
7546
7547 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7548
7549         * lyx_main.C (init): make sure to read symlinks as absolute paths
7550
7551 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7552
7553         * lyxfunc.h:
7554         * lyxfunc.C: no need for commandshortcut to be a member
7555
7556 2002-07-15  André Pönitz <poenitz@gmx.net>
7557
7558         * converter.C: add support for $$s (scripts from lib/scripts dir)
7559         * lyx_main.C: white space
7560
7561 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7562
7563         * bufferlist.C:
7564         * lyxrc.h:
7565         * lyxrc.C: remove second exit confirmation
7566
7567 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7568
7569         * BufferView.h:
7570         * BufferView.C:
7571         * BufferView2.C:
7572         * BufferView_pimpl.h:
7573         * BufferView_pimpl.C:
7574         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7575
7576 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * MenuBackend.C (expand): add numeric shortcuts to document menu
7579
7580         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7581
7582 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7583
7584         * lyxfont.C (setLyXFamily):
7585         (setLyXSeries):
7586         (setLyXShape):
7587         (setLyXSize):
7588         (setLyXMisc):
7589         (lyxRead):
7590         * debug.C (value):
7591         * buffer.C (asciiParagraph): use ascii_lowercase
7592
7593 2002-07-15  Mike Fabian  <mfabian@suse.de>
7594
7595         * lyxlex_pimpl.C (search_kw):
7596         * lyxlex.C (getLongString):
7597         * converter.h (operator<):
7598         * converter.C (operator<):
7599         * buffer.C (parseSingleLyXformat2Token):
7600         (asciiParagraph):
7601         * ToolbarDefaults.C (read):
7602         * MenuBackend.C (checkShortcuts):
7603         (read):
7604         * LColor.C (getFromGUIName):
7605         (getFromLyXName): use the compare_ascii_no_case instead of
7606         compare_no_case, because in turkish, 'i' is not the lowercase
7607         version of 'I', and thus turkish locale breaks parsing of tags.
7608
7609 2002-07-16  Angus Leeming  <leeming@lyx.org>
7610
7611         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7612         now takes a Buffer const & argument.
7613
7614 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7615
7616         * BufferView.C (resize): check there's a buffer to resize
7617
7618 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7619
7620         * lyxfunc.C: remove dead code
7621
7622         * lyxserver.h:
7623         * lyxserver.C: use lyx_guii::set_read_callback
7624
7625 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7626
7627         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7628         an inset in a RTL paragraph.
7629
7630 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * lyxfunc.C: repaint after a font size update
7633
7634 2002-07-15  André Pönitz <poenitz@gmx.net>
7635
7636         * lyxlength.C: inBP should be able to return negative values
7637
7638 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7639
7640         * lyxfunc.C: use lyx_gui::update_fonts()
7641
7642 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7643
7644         * lyxfunc.C: use lyx_gui::update_color()
7645
7646 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * bufferlist.C:
7649         * lyxfunc.h:
7650         * lyxfunc.C:
7651         * lyxrc.h:
7652         * lyxrc.C: remove file->new asks for name option, and let
7653           buffer-new take an argument
7654
7655 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7656
7657         * BufferView_pimpl.C: remove unneeded extra repaint()
7658
7659 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7660
7661         * LyXAction.C: allow command-sequence with NoBuffer
7662
7663         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7664
7665 2002-07-10  Angus Leeming  <leeming@lyx.org>
7666
7667         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7668
7669 2002-07-09  Angus Leeming  <leeming@lyx.org>
7670
7671         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7672
7673 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7674
7675         * lengthcommon.h: whitespace
7676
7677         * lyxfunc.C: update scrollbar after goto paragraph
7678
7679         * lyxtext.h: factor out page break drawing, and fix it so
7680           page break/added space paints as selected nicely
7681
7682 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7683
7684         * BufferView_pimpl.C: add FIXMEs, clean up a little
7685
7686 2002-07-09  André Pönitz <poenitz@gmx.net>
7687
7688         * lyxfont.[Ch]: support for wasy symbols
7689
7690 2002-07-08  André Pönitz <poenitz@gmx.net>
7691
7692         * BufferView_pimpl.C: apply John's patch for #93.
7693
7694 2002-07-05  Angus Leeming  <leeming@lyx.org>
7695
7696         * BufferView_pimpl.C (buffer): generate previews if desired.
7697
7698         * LColor.h: add "preview" to the color enum.
7699
7700         * LColor.C (LColor): add a corresponding entry to the items array.
7701
7702         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7703         with this buffer.
7704
7705 2002-07-05  Angus Leeming  <leeming@lyx.org>
7706
7707         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7708         The body of the code is now in the method that is passed an ostream &
7709         rather than a file name.
7710         Pass an additional only_preamble parameter, useful for the forthcoming
7711         preview stuff.
7712
7713 2002-07-03  André Pönitz <poenitz@gmx.net>
7714
7715         * lyxfunc.C: simplify getStatus() a bit for math stuff
7716
7717 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7718
7719         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7720
7721 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7722
7723         * text.C (changeRegionCase): do not change case of all the
7724         document when region ends at paragraph end (bug #461)
7725
7726 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7727
7728         * paragraph.C (startTeXParParams):
7729         (endTeXParParams): add \protect when necessary
7730
7731 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * BufferView_pimpl.C (workAreaExpose): remove warning
7734
7735 2002-06-27  Angus Leeming  <leeming@lyx.org>
7736
7737         * Makefile.am: add lyxlayout_ptr_fwd.h.
7738
7739 2002-06-26  André Pönitz <poenitz@gmx.net>
7740
7741         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7742
7743 2002-06-25  Angus Leeming  <leeming@lyx.org>
7744
7745         * lyxfunc.C (dispatch): Comment out the call to
7746         grfx::GCache::changeDisplay. The method no longer exists now that the
7747         pixmap generation part of the graphics loader has been moved into
7748         InsetGraphics.
7749
7750 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7751
7752         * text2.C: layout as layout
7753
7754         * text.C: layout as layout
7755
7756         * tabular.C (OldFormatRead): layout as layout
7757
7758         * paragraph_pimpl.C (TeXDeeper): layout as layout
7759         (realizeFont): layout as layout
7760
7761         * paragraph.C (writeFile): layout as layout
7762         (validate): layout as layout
7763         (getFont): layout as layout
7764         (getLabelFont): layout as layout
7765         (getLayoutFont): layout as layout
7766         (breakParagraph): layout as layout
7767         (stripLeadingSpaces): layout as layout
7768         (getEndLabel): layout as layout
7769         (getMaxDepthAfter): layout as layout
7770         (applyLayout): layout as layout
7771         (TeXOnePar): layout as layout
7772         (simpleTeXOnePar): layout as layout
7773         (TeXEnvironment): layout as layout
7774         (layout): layout as layout
7775         (layout): layout as layout
7776
7777         * lyxtextclass.C (compare_name): new functor to work with
7778         shared_ptr, layout as layout
7779         (Read): layout as layout
7780         (hasLayout): layout as layout
7781         (operator): layout as layout
7782         (delete_layout): layout as layout
7783         (defaultLayout): layout as layout
7784
7785         * lyxlayout_ptr_fwd.h: new file
7786
7787         * lyxlayout.C (Read): layout as layout
7788
7789         * lyx_cb.C (MenuInsertLabel): layout as layout
7790
7791         * bufferlist.C (newFile): layout as layout
7792
7793         * buffer.C (readLyXformat2): layout as layout
7794         (parseSingleLyXformat2Token): layout as layout
7795         (insertStringAsLines): layout as layout
7796         (asciiParagraph): layout as layout
7797         (latexParagraphs): layout as layout
7798         (makeLinuxDocFile): layout as layout
7799         (simpleLinuxDocOnePar): layout as layout
7800         (makeDocBookFile): layout as layout
7801         (simpleDocBookOnePar): layout as layout
7802         (getLists): layout as layout
7803
7804         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7805
7806         * CutAndPaste.C (cutSelection): layout as layout
7807         (pasteSelection): layout as layout
7808         (SwitchLayoutsBetweenClasses): layout as layout
7809
7810         * BufferView_pimpl.C (Dispatch): layout as layout
7811         (smartQuote): layout as layout
7812
7813         * BufferView2.C (unlockInset): layout as layout
7814
7815 2002-06-24  André Pönitz <poenitz@gmx.net>
7816
7817         * lyxfunc.C: fix #487
7818
7819 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * lyxrc.h:
7822         * lyxrc.C:
7823         * lyxfunc.C: remove display_shortcuts, show_banner
7824
7825 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7826
7827         * Buffer_pimpl.C: oops, update on resize
7828
7829 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7830
7831         * buffer.C:
7832         * converter.C:
7833         * exporter.C:
7834         * lyxfunc.C:
7835         * BufferView.h:
7836         * BufferView.C: use repaint()
7837
7838         * BufferView_pimpl.h:
7839         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7840           as it's a clearer description. Remove superfluous
7841           redraws.
7842
7843 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7844
7845         * text.C: fix bug 488. Not ideal, but getting
7846           getWord() to work properly for the insets that
7847           matter is more difficult ...
7848
7849 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7850
7851         * BufferView_pimpl.C:
7852         * LyXAction.C:
7853         * commandtags.h:
7854         * lyxfunc.C: remove the six million index lyxfuncs to just
7855           one, and DTRT (bug 458)
7856
7857 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7858
7859         * BufferView.h:
7860         * BufferView.C:
7861         * BufferView_pimpl.h:
7862         * BufferView_pimpl.C: clean up resize() stuff,
7863           and unnecessary updateScreen()s
7864
7865 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7866
7867         * BufferView.h:
7868         * BufferView.C:
7869         * BufferView_pimpl.h:
7870         * BufferView_pimpl.C:
7871         * lyxfind.h:
7872         * lyxfind.C:
7873         * minibuffer.C: remove focus management of workarea,
7874           not needed. Use screen's greyOut()
7875
7876 2002-06-17  Herbert Voss  <voss@lyx.org>
7877
7878         * converter.C: (convert) do not post a message, when converting
7879         fails, let the calling function decide what to do in this case
7880
7881 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7882
7883         * lyxfunc.C: tidy up a little
7884
7885 2002-06-16    <alstrup@diku.dk>
7886
7887         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7888         Got rid of FORMS_H_LOCATION include. Now we are
7889         GUII.
7890
7891 2002-06-15  LyX Development team  <lyx@rilke>
7892
7893         * buffer.[Ch] (sgmlOpenTag):
7894         (sgmlCloseTag): Added support for avoiding pernicious mixed
7895         content. Return number of lines written.
7896
7897         (makeLinuxDocFile):
7898         (makeDocBookFile): Fixed calls to sgml*Tag.
7899         Simple white space clean.
7900
7901         (simpleDocBookOnePar): Simple white space clean.
7902
7903         * tabular.[Ch] (docBook): Renamed to docbook and got another
7904         argument to related with the pernicious mixed content.
7905
7906         (docbookRow): Fixed calls for docbook inset method.
7907
7908 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7909
7910         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7911         so it's X11 independent.
7912
7913         * kb*.[Ch]: ditto.
7914
7915         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7916
7917 2002-06-15  Lyx Development team  <lyx@electronia>
7918
7919         * intl.h: Renamed getTrans to getTransManager.
7920
7921 2002-06-14  Angus Leeming  <leeming@lyx.org>
7922
7923         * Makefile.am: nuke forgotten stl_string_fwd.h.
7924
7925 2002-06-12  Angus Leeming  <leeming@lyx.org>
7926
7927         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7928
7929 2002-06-13  Angus Leeming  <leeming@lyx.org>
7930
7931         * LaTeX.C:
7932         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7933
7934 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7935
7936         * kbmap.C (getiso): add support for cyrillic and greek
7937
7938 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7939
7940         * BufferView.h:
7941         * BufferView.C:
7942         * BufferView_pimpl.h:
7943         * BufferView_pimpl.C: move bogus scrolling logic
7944           to xforms
7945
7946 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * lyxfunc.C:
7949         * BufferView_pimpl.C: view->resize() change
7950
7951 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7952
7953         * BufferView_pimpl.C: topCursorVisible
7954           prototype change
7955
7956 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7957
7958         * Makefile.am:
7959         * lyx_gui.h:
7960         * lyx_gui.C: move to frontends/
7961
7962         * main.C:
7963         * lyx_main.h:
7964         * lyx_main.C: changes from above
7965
7966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7967
7968         * intl.C:
7969         * intl.h:
7970         * kbmap.C:
7971         * kbsequence.C:
7972         * lyx_cb.C:
7973         * lyx_main.C: minor tidy
7974
7975 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * BufferView_pimpl.h:
7978         * BufferView_pimpl.C:
7979         * BufferView.h:
7980         * BufferView.C: make painter() const,
7981           remove dead code
7982
7983         * BufferView2.C: use screen() accessor
7984
7985         * lyx_main.h:
7986         * lyx_main.C: some minor cleanup
7987
7988 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7989
7990         * BufferView_pimpl.h:
7991         * BufferView_pimpl.C: remove enter/leaveView,
7992           use workHeight()
7993
7994 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * BufferView.h:
7997         * BufferView.C:
7998         * BufferView2.C:
7999         * BufferView_pimpl.h:
8000         * BufferView_pimpl.C: only construct screen once,
8001           rename
8002
8003         * lyxrc.C: remove pointless comment
8004
8005 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8006
8007         * BufferView.h:
8008         * BufferView.C: remove active() and belowMouse()
8009
8010         * BufferView_pimpl.h:
8011         * BufferView_pimpl.C: use workarea() not workarea_,
8012           and make it use a scoped_ptr instead
8013
8014 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * lyx_gui.C: add debug message on BadWindow
8017
8018 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8019
8020         * sp_spell.C: fdopen is not part of the C++ standard.
8021
8022         * paragraph.C (InsetIterator): use >= instead of ==
8023
8024 2002-06-07  Angus Leeming  <leeming@lyx.org>
8025
8026         Fixes needed to compile with Compaq cxx 6.5.
8027         * BufferView_pimpl.C:
8028         * DepTable.C:
8029         * buffer.C:
8030         * converter.C:
8031         * encoding.C:
8032         * lyx_gui.C:
8033         * lyx_main.C:
8034         * lyxtextclasslist.C:
8035         * minibuffer.C:
8036         * sp_spell.C:
8037         * tabular_funcs.C:
8038         * vc-backend.C:
8039         all c-library variables have been moved into namespace std. Wrap
8040         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8041
8042         * lyxlength.C:
8043         * tabular-old.C:
8044         * tabular.C:
8045         Add a using std::abs declaration.
8046
8047         * kbmap.h (modifier_pair):
8048         * paragraph.h (InsetTable, InsetList):
8049         * lyxfont.h (FontBits):
8050         type definition made public.
8051
8052         * bufferlist.C (emergencyWriteAll): the compiler complains that
8053         there is more than one possible lyx::class_fun template to choose from.
8054         I re-named the void specialisation as lyx::void_class_fun.
8055
8056         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8057
8058         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8059         the compiler is is unable to find tostr in write_attribute.
8060
8061 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8062
8063         * buffer.C (sgmlError): hide #warning
8064
8065 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * xtl/*: get rid of xtl, which is not in use anyway
8068
8069         * LyXAction.C (init):
8070         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8071         were unimplemented xtl experimentation
8072
8073 2002-06-04  André Pönitz <poenitz@gmx.net>
8074
8075         * lyxfunc.C: disable array operation on simple formulae
8076
8077 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8078
8079         * converter.C: constify a bit
8080
8081 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8082
8083         * lyx_gui.C: check xforms version correctly
8084
8085 2002-04-30  Herbert Voss  <voss@lyx.org>
8086
8087         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8088         "keep" option
8089
8090 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8091
8092         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8093           attempt to register it with a VCS)
8094
8095 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * lyx_main.C (init): honor variables LYX_DIR_13x and
8098         LYX_USERDIR_13x
8099
8100 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * buffer.h:
8103         * buffer.C:
8104         * lyx_main.C: fix a crash on bad command line,
8105           and give a useful exit status on error
8106
8107         * lyxfunc.C (doImport): allow -i lyx to work
8108
8109 2002-03-30  André Pönitz <poenitz@gmx.net>
8110
8111         * lyxfunc.C: mathed font changes
8112
8113 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * LaTeX.C:
8116         * importer.h:
8117         * importer.C:
8118         * lyx_sty.h:
8119         * lyx_sty.C:
8120         * lyxlex.C:
8121         * lyxrow.h:
8122         * lyxtext.h:
8123         * paragraph.h:
8124         * paragraph.C:
8125         * texrow.h:
8126         * texrow.C:
8127         * text.C:
8128         * trans_mgr.h: srcdocs, and some minor cleanups
8129
8130 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8131
8132         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8133         call getFont all the time)
8134
8135 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8136
8137         * switch from SigC signals to boost::signals
8138
8139 2002-05-29  André Pönitz <poenitz@gmx.net>
8140
8141         * paragraph_pimpl.C (getChar): don't call size() too often...
8142
8143 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * paragraph_pimpl.C (insertChar): do not try to update tables when
8146         appending (pos == size())
8147
8148         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8149         in order to reduce drastically the number of comparisons needed to
8150         parse a large document
8151
8152 2002-05-29  André Pönitz <poenitz@gmx.net>
8153
8154         * text.C:
8155         * text2.C:
8156         * lyxtextclass.C:
8157         * sp_pspell.h:
8158         * textclasslist.[Ch]:
8159         * sp_ispell.h: whitespace change
8160
8161 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8162
8163         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8164         lyxaction directly now.
8165
8166 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8167
8168         * trans.C:
8169         * lyxfont.C:
8170         * lyxvc.C: remove unused headers
8171
8172 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8173
8174         * Makefile.am:
8175         * buffer.h:
8176         * undostack.h:
8177         * undostack.C:
8178         * undo_funcs.h:
8179         * undo_funcs.C: some cleanups. Use shared_ptr
8180           and a template for the undo stacks.
8181
8182 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * BufferView_pimpl.h:
8185         * BufferView_pimpl.C:
8186         * kbmap.h:
8187         * kbmap.C:
8188         * kbsequence.h:
8189         * kbsequence.C:
8190         * lyxfunc.h:
8191         * lyxfunc.C:
8192         * text2.C: use key_state/mouse_state
8193
8194 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8195
8196         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8197         and LSubstring
8198
8199         * chset.C: change include order
8200         (loadFile): use boost regex and get rid of LRegex and LSubstring
8201
8202         * Makefile.am (BOOST_LIBS): new variable
8203         (lyx_LDADD): use it
8204
8205         * LaTeX.C: change include order.
8206         (scanAuxFile): use boost regex and get rid of LRegex and
8207         LSubstring
8208         (deplog): ditto
8209
8210 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8211
8212         * ColorHandler.h:
8213         * ColorHandler.C:
8214         * FontInfo.h:
8215         * FontInfo.C: moved to frontends/xforms/
8216
8217         * FontLoader.h:
8218         * FontLoader.C: moved into frontends for GUIIzation
8219
8220         * Makefile.am:
8221         * lyx_gui.C:
8222         * lyxfont.C:
8223         * lyxfunc.C: changes from above
8224
8225 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * LColor.C: remove spurious X include
8228
8229         * BufferView_pimpl.C:
8230         * Makefile.am:
8231         * font.h:
8232         * font.C:
8233         * text.C:
8234         * text2.C: move font metrics to frontends/
8235
8236 2002-05-24  Juergen Vigna  <jug@sad.it>
8237
8238         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8239         setting the undo_cursor.
8240
8241         * ParagraphParameters.h: include local includes first.
8242
8243 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * BufferView_pimpl.C:
8246         * BufferView_pimpl.h:
8247         * Makefile.am:
8248         * WorkArea.h:
8249         * WorkArea.C:
8250         * screen.C: move WorkArea into frontends/
8251
8252         * lyxscreen.h:
8253         * screen.C:
8254         * text.C:
8255         * BufferView.C:
8256         * BufferView2.C: move LyXScreen into frontends/
8257
8258         * lyxlookup.h:
8259         * lyxlookup.C:
8260         * lyx_gui.C: move lyxlookup into frontends/xforms/
8261
8262 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8263
8264         * BufferView2.C:
8265         * BufferView_pimpl.C:
8266         * FontLoader.C:
8267         * LyXView.h:
8268         * LyXView.C:
8269         * Makefile.am:
8270         * WorkArea.C:
8271         * XFormsView.h:
8272         * XFormsView.C:
8273         * buffer.C:
8274         * bufferlist.C:
8275         * bufferview_funcs.C:
8276         * converter.C:
8277         * importer.C:
8278         * lyx_cb.C:
8279         * lyx_gui.C:
8280         * lyx_main.C:
8281         * lyx_find.C:
8282         * lyxfunc.C:
8283         * lyxvc.C:
8284         * minibuffer.C:
8285         * text.C:
8286         * text2.C:
8287         * trans.C:
8288         * vc-backend.C: move LyX/XFormsView into frontends/
8289
8290 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8291
8292         * Makefile.am:
8293         * PainterBase.C:
8294         * PainterBase.h:
8295         * Painter.C:
8296         * Painter.h:
8297         * WorkArea.C:
8298         * WorkArea.h:
8299         * screen.C:
8300         * tabular.C:
8301         * text.C:
8302         * text2.C: move Painter to frontends/
8303
8304 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8305
8306         * buffer.C: comment out some some code that depend upon lyx_format
8307         < 220
8308
8309         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8310         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8311
8312         * buffer.h (NO_COMPABILITY): turn off compability
8313
8314         * ColorHandler.C: include scoped_array.hpp
8315
8316         * font.C: Use more specific smart_ptr header.
8317         * Painter.C: ditto
8318         * gettext.C: ditto
8319         * ShareContainer.h: ditto
8320         * lyx_main.h: ditto
8321         * kbmap.h: ditto
8322         * FontInfo.h: ditto
8323         * BufferView_pimpl.h: ditto
8324         * ColorHandler.h: ditto
8325
8326         * kbmap.C (defkey): change call to shared_ptr::reset
8327
8328 2002-05-21  Juergen Vigna  <jug@sad.it>
8329
8330         * buffer.C (insertErtContents): fix to insert ert asis if it is
8331         non empty. Skip it completely if it contains only whitespaces.
8332
8333 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * BufferView_pimpl.C:
8336         * BufferView2.C: clear selection on paste (bug 393)
8337
8338 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8339
8340         * DepTable.C: include ctime
8341
8342 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8343
8344         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8345
8346 2002-05-14  Juergen Vigna  <jug@sad.it>
8347
8348         * text.C (breakParagraph): fixed function to honor the keepempty
8349         layout in the right maner and also to permit the right breaking
8350         algorithm on empty or non empyt keepempty paragraphs.
8351
8352         * paragraph.C (breakParagraph): we have to check also if the par
8353         is really empty (!size()) for isempty otherwise we do the wrong
8354         paragraph break.
8355
8356 2002-05-10  Juergen Vigna  <jug@sad.it>
8357
8358         * buffer.[Ch] : The following are only changes to the ert
8359         compatibility read reading old LaTeX layout and font stuff and
8360         convert it to ERTInsets.
8361
8362         * buffer.h: added isErtInset().
8363
8364         * buffer.C (struct ErtComp): add a fromlayout bool to check
8365         if we're inside a LaTeX layout.
8366         (isErtInset): new helper function.
8367         (insertErtContents): look for other ert insets before this one
8368         and insert the contents there, so that we don't have subsequent
8369         ERT insets with nothing between them. This way we create only one
8370         inset with multiple paragraphs. Also check if we don't insert only
8371         spaces ' ' as they are ignored anyway afterwards in the .tex file
8372         so if we have only spaces we will ignore this latex part in the
8373         new file.
8374         (parseSingleLyXformat2Token \\layout): better compatibility when
8375         reading layout-latex stuff.
8376         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8377         language tag.
8378         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8379         stuff after reading the inset only get the information back from
8380         the stack.
8381
8382 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8383
8384         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8385
8386         * LaTeXFeatures.C (getBabelOptions): New method.
8387
8388 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8389
8390         * BufferView_pimpl.C (Dispatch): work around missing argument for
8391         'layout'
8392
8393 2002-05-08  Juergen Vigna  <jug@sad.it>
8394
8395         * text.C (leftMargin): handle paragraph leftindent.
8396
8397         * paragraph.C (writeFile): write the new \\leftindent tag.
8398         (validate): handle leftindent code.
8399         (TeXEnvironment): handle paragraphleftindent code again.
8400
8401         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8402
8403         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8404         for paragrap_extra indent code and new token \\leftindent.
8405         (latexParagraphs): handle the leftindent as environment.
8406
8407         * ParameterStruct.h: added leftindent support.
8408
8409         * ParagraphParameters.C (leftIndent): added support functions for
8410         the paragraph left indent.
8411
8412         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8413         more appropriate.
8414
8415 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8416
8417         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8418         inside insetERT.
8419
8420         * text.C (computeBidiTables): No bidi in insetERT.
8421
8422         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8423         in RTL documents.
8424
8425 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8426
8427         * version.C.in: pre 5
8428
8429 2002-05-02  José Matos  <jamatos@fep.up.pt>
8430         * buffer.C (makeDocBookFile): white space changes, add newline to
8431         command styles.
8432         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8433
8434         * tabular.C (docBook): fix typo.
8435
8436 2002-05-03  Juergen Vigna  <jug@sad.it>
8437
8438         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8439         change in LyXText as we can not be sure it was not freed.
8440         (drawOneRow): remove unused code.
8441
8442         * text.C (drawInset): redo the calculation of the need_break_row as
8443         it could have a row which was already freed.
8444         (draw): look at the return value of drawInset and return false if
8445         it also returned false.
8446         (paintRowText): look at the return value of draw and return false if
8447         it also returned false.
8448
8449         * lyxtext.h: added bool return type to drawInset() and draw() so that
8450         if we have a change in the row so that the rowbreak has to be redone
8451         we abort drawing as it will be called again.
8452
8453 2002-05-02  Juergen Vigna  <jug@sad.it>
8454
8455         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8456         a change in the maintext also if we're inside an inset.
8457         (Dispatch): set the cursor again after a break line and after the
8458         screen has been updated as it could be we're in a different row.
8459
8460         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8461         to set the cursor behind the pargraph with > size().
8462         (setCursor): check also for the same paragraph when checking where
8463         to put the cursor if we have a NFR inset.
8464
8465         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8466         parts of layout read further up as it still was in the wrong
8467         position.
8468
8469 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8470
8471         * screen.C (drawFromTo): change sine fullRebreak always return
8472         true.
8473
8474         * buffer.C (parseSingleLyXformat2Token): reindent some
8475
8476         * BufferView_pimpl.C (update): change since fullRebreak always
8477         return true.
8478         (Dispatch): git rid of the last hardcoded "Standard"s.
8479
8480 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8481
8482         * text2.[Ch] (fullRebreak): make it return void now that we always
8483         returned true.
8484
8485 2002-04-30  Juergen Vigna  <jug@sad.it>
8486
8487         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8488         ert compatibility check for "latex" layout.
8489
8490 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8491
8492         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8493         minipages: use col% instead of p%, and also use the current font.
8494         (makeLaTeXFile): Fix use babel condition.
8495         (parseSingleLyXformat2Token): Correct font when reading old floats.
8496
8497 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8498
8499         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8500         inserting list of floats.
8501
8502 2002-04-25  Herbert Voss  <voss@lyx.org>
8503
8504         * MenuBackend.C (expand): don't add the graphics extensions to the
8505         export menu
8506
8507 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8510         non-existing layout, do not complain if it was the default layout
8511         of the original class (bug #342)
8512
8513 2002-04-24  Juergen Vigna  <jug@sad.it>
8514
8515         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8516         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8517
8518 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8519
8520         * buffer.C (getBibkeyList): If using \bibliography, return the
8521         option field with the reference itself. Enables us to provide natbib
8522         support when using \bibliography.
8523
8524 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8525
8526         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8527
8528         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8529         natbib is provided by the LaTeX class.
8530
8531 2002-04-23  Juergen Vigna  <jug@sad.it>
8532
8533         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8534         Wakeup functions.
8535
8536         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8537
8538 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8541
8542         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8543         ensuremath around textordmasculine, textordfeminine and
8544         textdegree.
8545
8546 2002-04-19  Juergen Vigna  <jug@sad.it>
8547
8548         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8549         reinitializing the buffer otherwise row-dimensions may be wrong.
8550         (update): reset also the selection cursors if they do exits otherwise
8551         their x/y positions may be wrong.
8552
8553         * text2.C (cursorDown): don't enter the inset if we came from a row
8554         above and are one row over the inset.
8555
8556         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8557         really leaving an inset.
8558
8559 2002-04-18  Juergen Vigna  <jug@sad.it>
8560
8561         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8562         of the selected paragraph does not have the selected layout also if
8563         the last one had!
8564
8565         * text2.C (setLayout): fixed bug which did not change last selected
8566         paragraph.
8567
8568         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8569         changed the read and substituted \\end_float with \\end_inset!
8570
8571         * BufferView_pimpl.C (cursorPrevious):
8572         (cursorNext): fixed to make it work with rows heigher than the work
8573         area without moving the cursor only the draw of the row.
8574         (workAreaMotionNotify): fix jumping over high rows.
8575
8576 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8577
8578         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8579         Ressler.
8580
8581 2002-04-16  Juergen Vigna  <jug@sad.it>
8582
8583         * text2.C (setCursor): set also the irow().
8584         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8585         (cursorUp):
8586         (cursorDown): support for locking an inset if the x_fix value goes
8587         inside it. That way I can transverse insets too with cursor up/down.
8588
8589         * lyxrow.h: added irow helper function same as other (i) functions.
8590
8591         * BufferView_pimpl.C (cursorPrevious):
8592         (cursorNext): fixed for insets!
8593
8594 2002-04-15  Juergen Vigna  <jug@sad.it>
8595
8596         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8597         position otherwise it is wrong in some cases.
8598
8599         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8600         inside the inset before the call.
8601
8602 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8603
8604         * buffer.[Ch] (getBibkeyList): make it const.
8605
8606 2002-04-12  Juergen Vigna  <jug@sad.it>
8607
8608         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8609
8610         * text2.C (getCursorX): new helper function
8611         (setCursor): compute also ix_
8612         (setCursorFromCoordinates): set also ix.
8613
8614         * lyxcursor.h: added ix_ and helper functions.
8615
8616         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8617
8618         * buffer.C (insertStringAsLines): dont break paragraph if the this
8619         paragraph is inside an inset which does not permit it!
8620
8621         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8622         also with no chars on this paragraph.
8623         (paintRowText): only paint stuff if it's inside the workarea!
8624
8625         * paragraph.C (breakParagraph): honor keepempty flag and break the
8626         paragraph always below not above.
8627
8628         * BufferView2.C (unlockInset): update the paragraph layout on inset
8629         unlock as we changed paragraph in such a case.
8630
8631         * lyxfind.C (LyXFind): clear the former selection if not found!
8632
8633         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8634         again called in insertChar().
8635
8636         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8637         an inset which uses the whole row!
8638         (rightMargin): ditto.
8639         (insertChar): force a rebreak if we inserted an inset!
8640
8641 2002-03-28  Herbert Voss  <voss@lyx.org>
8642
8643         * lyxlength.[Ch]: add inBP() to get the right PS-point
8644         units (BigPoint). With inPixels we have rounding errors
8645
8646 2002-04-11  Juergen Vigna  <jug@sad.it>
8647
8648         * text2.C (setCursorFromCoordinates): set iy to the right value.
8649         (setCursor): add check if row->previous exists!
8650
8651         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8652         an old float_type as this was the case in the old code!
8653
8654         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8655
8656         * BufferView2.C (showLockedInsetCursor): use iy
8657         (fitLockedInsetCursor): ditto
8658
8659         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8660         locked insets as there we have the right value now.
8661
8662         * lyxcursor.C: added iy_ variable and iy functions to set to the
8663         baseline of cursor-y of the locked inset.
8664
8665         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8666         (setCursor): fixed for insets which need a full row.
8667
8668         * text.C (rowLastPrintable): don't ignore the last space when before
8669         an inset which needs a full row.
8670         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8671         as last character of a row when before a inset which needs a full row.
8672
8673 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8674
8675         * version.C.in: update date
8676
8677         * text2.C (fullRebreak): try to always return true and see what
8678         happens...
8679
8680 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * MenuBackend.C (expand): use Floating::listName
8683
8684         * FloatList.C (FloatList): add listName argument to the built-in
8685         floats
8686
8687         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8688         text associated with the float.
8689
8690 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8691
8692         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8693
8694 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8695
8696         * ShareContainer.h: add a couple of missing typenames.
8697
8698 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8699
8700         * lyxrc.C (getDescription): use _() correctly rather than N_().
8701
8702 2002-03-28  Herbert Voss  <voss@lyx.org>
8703
8704         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8705         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8706
8707 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8708
8709         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8710         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8711
8712 2002-03-29  Juergen Vigna  <jug@sad.it>
8713
8714         * lyxfunc.C (dispatch): add a missing fitCursor call.
8715
8716         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8717         it was scrolled by a cursor move, so return the bool status.
8718
8719         * BufferView.C (fitCursor): return the bool flag also to the outside
8720         world as this is needed.
8721
8722         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8723
8724         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8725         call the edit() as it is not needed (and wrong) IMO.
8726         (workAreaButtonPress): set the screen_first variable before evt.
8727         unlock the inset as this may change screen_first and then we have
8728         a wrong y position for the click!
8729
8730 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * MenuBackend.C (expand): another translation that I missed
8733
8734 2002-03-28  Juergen Vigna  <jug@sad.it>
8735
8736         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8737
8738         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8739
8740 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8743
8744         * MenuBackend.C (expand): fix export/view/update when there is no
8745         document open.
8746
8747 2002-03-27  Herbert Voss  <voss@lyx.org>
8748
8749         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8750         and text%
8751
8752 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8753
8754         * bufferview_funcs.C (currentState): only show paragraph number
8755         for is DEVEL_VERSION is set.
8756
8757         * lyxfunc.C (dispatch): put warning in INFO channel
8758
8759         * MenuBackend.C (expand): translate the name of floats
8760
8761         * FloatList.C (FloatList): mark the float names for translation
8762
8763         * converter.C (convert): use LibScriptSearch
8764
8765 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8766
8767         * MenuBackend.C (defaults): fix default menu (we might as well get
8768         rid of it...)
8769
8770 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8771
8772         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8773         directory.
8774
8775 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8776
8777         * lyxvc.C: reorder includes.
8778
8779 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8782           properly
8783
8784 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * CutAndPaste.C: change layouts earlier on paste
8787           to avoid crashing when calling getFont()
8788
8789 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8790
8791         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8792         irritating #error.
8793
8794 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8795
8796         * WorkArea.C: remove 'Pending' debug message.
8797
8798         * most files: ws cleanup
8799
8800         * buffer.[Ch]: ws changes
8801
8802         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8803
8804 2002-03-21  Juergen Vigna  <jug@sad.it>
8805
8806         * tabular.C (SetMultiColumn): collapse also the contents of the
8807         cells and set the last border right. Added a Buffer const * param.
8808
8809 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8810
8811         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8812         linking or not.
8813
8814 2002-03-19  Juergen Vigna  <jug@sad.it>
8815
8816         * text2.C (clearSelection): reset also xsel_cache.
8817
8818         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8819         where it needs to be called (John tells us to do so too :)
8820         (selectionLost): reset sel_cache.
8821
8822         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8823
8824 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * text2.C (setCursorIntern): put debuging code in INSETS channel
8827
8828 2002-03-19  André Pönitz <poenitz@gmx.net>
8829
8830         * lyxfunc.C: tiny whitespace change
8831
8832 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * ToolbarDefaults.C (init):
8835         * LyXAction.C (init):
8836         * commandtags.h:
8837         * BufferView_pimpl.C (Dispatch):
8838         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8839
8840 2002-03-19  Allan Rae  <rae@lyx.org>
8841
8842         * exporter.C (Export): removeAutoInsets before doing anything else.
8843         While I've just introduced a dependency on BufferView this really is
8844         the best place to clean the buffer otherwise you need to cleanup in
8845         a dozen places before calling export or cleanup in a dozen functions
8846         that export calls.
8847
8848         * converter.C (runLaTeX):
8849         (scanLog): Better handling of removeAutoInsets and screen updates.
8850
8851         * lyxfunc.C (dispatch): small whitespace changes
8852
8853 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8854
8855         * WorkArea.C (C_WorkAreaEvent): return a value.
8856         (event_cb): return 1 if we handled the event, 0 otherwise.
8857
8858         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8859
8860 2002-03-18  Juergen Vigna  <jug@sad.it>
8861
8862         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8863         (GetAdditionalWidth): ditto.
8864         (RightLine): ditto.
8865         (LeftLine): ditto.
8866
8867         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8868         inset if we're there actually (probably not used right now but this
8869         is the direction to go for unifying code).
8870         (paste): disable code to clear the selection.
8871
8872         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8873         inside an InsetText and move the check further up as it is in the
8874         wrong place.
8875
8876         * text2.C (pasteSelection): set a selection over the pasted text.
8877
8878 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8879
8880         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8881         and libgraphics to build on Cygwin.
8882
8883 2002-03-15  Juergen Vigna  <jug@sad.it>
8884
8885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8886         inserting an Inset into the paragraph. I know this is not the best
8887         fix but we already use current_view in CutAndPaste so we will remove
8888         all of it's using at the same time.
8889
8890         * buffer.C (sgmlError): deactivated function till it is rewritten in
8891         the right mode, now it can create problems.
8892
8893         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8894         before accessing it.
8895
8896 2002-03-14  Juergen Vigna  <jug@sad.it>
8897
8898         * undo_funcs.C (textHandleUndo): do the right thing when updating
8899         the inset after the undo/redo.
8900
8901         * text2.C (setCursor): just some testcode for #44 not ready yet.
8902
8903         * undo_funcs.C (textHandleUndo): set the next() and previous()
8904         pointers of the paragraph to 0 before deleting otherwise we have
8905         problems with the Paragraph::[destructor].
8906
8907         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8908         on a paragraph insertion.
8909
8910 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * buffer.C (asciiParagraph): use += operator for char append to
8913         string.
8914
8915         * paragraph.C (getFontSettings): compare >= not just >
8916         (highestFontInRange): ditto
8917         (setFont): ditto
8918
8919 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8920
8921         * paragraph.C: change several algorithm to be more appripriate for
8922         the problem domain. This is lookip in FontList and in the InsetList.
8923
8924 2002-03-13  André Pönitz <poenitz@gmx.net>
8925
8926         * commandtags.h:
8927         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8928
8929 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * commandtags.h:
8932         * LyXAction.C:
8933         * lyxfunc.C:
8934         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8935
8936 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * Painter.C (display): anon helper function, adjust code for this
8939         change.
8940         (pixmap): remove function.
8941
8942         * Painter.h: remove private display variable.
8943
8944         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8945
8946 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8947
8948         * WorkArea.[Ch]: remove figinset_canvas cruft.
8949
8950 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * lyxtextclass.C (operator): add one item cache optimization.
8953
8954         * bufferlist.h: doxy changes
8955
8956         * bufferlist.C: ws changes
8957
8958         * DepTable.[Ch] (ext_exist): place const in the right spot.
8959
8960         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8961         call resizeInsets.
8962         (workAreaExpose): call resizeInsets when the with BufferView changes.
8963         (Dispatch): adjust for protectedBlank removal
8964         (specialChar): call updateInset if the insert went ok.
8965
8966         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8967         specialChar instead.
8968
8969         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8970
8971         * BufferView.h: doxy change
8972
8973         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8974
8975         * lyxtextclass.C (operator[]): remove non-const version
8976         (defaultLayout): remove non-const version
8977
8978 2002-03-12  Juergen Vigna  <jug@sad.it>
8979
8980         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8981         did resize the LyXText too.
8982
8983         * buffer.C (readLyXformat2): set layout information on newly allocated
8984         paragraphs.
8985
8986         * tabular.C (OldFormatRead): set layout information on the paragraph.
8987
8988 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8989
8990         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8991
8992 2002-03-11  Juergen Vigna  <jug@sad.it>
8993
8994         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8995         plainly wrong.
8996         (resizeCurrentBuffer): force also the insets to resize themselfes.
8997         (moveCursorUpdate): fixed up for InsetText.
8998
8999 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9000
9001         * commandtags.h:
9002         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9003         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9004         value of Dialogs::tooltipsEnabled().
9005         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9006
9007 2002-03-08  Juergen Vigna  <jug@sad.it>
9008
9009         * BufferView_pimpl.C (updateInset): update inset inside inset also
9010         if it isn't inside theLockingInset().
9011
9012 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9013
9014         * buffer.C (asciiParagraph): redo some of the word and line length
9015         handling.
9016         (getLists): look for Caption instead of caption.
9017
9018 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * buffer.C (Buffer): initialize niceFile to true
9021         (makeLaTeXFile):
9022         (makeLinuxDocFile):
9023         (makeDocBookFile): make sure niceFile is true on exit
9024
9025 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9028
9029 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9030
9031         * LyXSendto.C: remove.
9032         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9033         * lyx_gui.C: remove now-redundant comment.
9034         * ColorHandler.h: remove forward declaration of class WorkArea.
9035         * lyxfunc.C: remove #include "WorkArea.h".
9036
9037 2002-03-07  Juergen Vigna  <jug@sad.it>
9038
9039         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9040         got moved away with the DEPM and also set the inset_owner always
9041         right which before could have been omitted.
9042
9043 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9044
9045         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9046         wanted layout is not found.
9047
9048 2002-03-07  Juergen Vigna  <jug@sad.it>
9049
9050         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9051
9052 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9053
9054         * paragraph.C (breakParagraph): use default layout not layout of
9055         prev paragraph.
9056         (Paragraph): clear ParagraphParameters.
9057
9058 2002-03-06  Juergen Vigna  <jug@sad.it>
9059
9060         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9061         otherwise it would not be a valid lenght. Fixed a special case in
9062         the minipage compatibility read where we end the document with a
9063         minipage.
9064
9065         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9066         was set as it could be 0 for InsetTexts first entry.
9067
9068 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9069
9070         * paragraph.C (writeFile): if layout is empty write out
9071         defaultLayoutName().
9072
9073         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9074         file without named layout we set layout to defaultLayoutName().
9075
9076 2002-03-06  Juergen Vigna  <jug@sad.it>
9077
9078         * CutAndPaste.C (copySelection): set layout for new paragraph.
9079
9080         * text.C (prepareToPrint): leave ERT inset left aligned
9081         (leftMargin): don't indent paragraphs inside ERT insets
9082
9083 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9084
9085         * paragraph.C (breakParagraph): dont call clear do the work manually
9086
9087         * paragraph.[Ch] (clear): remove function
9088
9089 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9090
9091         * paragraph.C (Paragraph): dont call clear, the work has already
9092         been done.
9093
9094         * lyxtextclass.C (operator): assert if n is empty
9095
9096         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9097         work manually instead.
9098
9099 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * BufferView_pimpl.C: protect selectionLost against text == 0
9102
9103 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9104
9105         * text.C (breakParagraph): fix a setting layout to '0' problem.
9106
9107 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9108
9109         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9110         final location of file, for the included files, and graphics.
9111
9112 2002-03-05  Juergen Vigna  <jug@sad.it>
9113
9114         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9115
9116 2002-03-04  Juergen Vigna  <jug@sad.it>
9117
9118         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9119
9120         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9121         last column of multicolumn cells.
9122         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9123
9124 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9125
9126         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9127         file if it doesn't go to a temporary file.
9128
9129         * buffer.C (sgmlOpenTag):
9130         (sgmlCloseTag):  remove extra newline insertion.
9131
9132 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9133
9134         * text.C (getRowNearY): comment out debug msg
9135
9136 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9137
9138         * text2.C: first -> first_y
9139
9140         * text.C (getRowNearY): add some attemts at a possible
9141         optimization, not working.
9142
9143         * tabular.[Ch]: add BufferParams to several function so that newly
9144         created paragraph can be initialized to he default layotu for the
9145         buffers textclass.
9146
9147         * tabular-old.C (ReadOld): add buf->params to call of Init
9148
9149         * screen.C: rename text->first to text->first_y
9150
9151         * paragraph.C (breakParagraph): always set layout in the broken
9152         paragraph
9153
9154         * lyxtextclass.C (Read): remove lowercase
9155         (hasLayout): ditto
9156         (operator): ditto
9157         (delete_layout): ditto
9158
9159         * lyxtext.h: rename first -> first_y
9160
9161         * lyxlayout.C (Read): remove lowercase
9162         (name): ditto
9163         (setName): ditto
9164         (obsoleted_by): ditto
9165
9166         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9167
9168         * buffer.C (insertErtContents): add params are to InsetERT
9169         (parseSingleLyXformat2Token): add code to check if a paragraphs
9170         layout really exist.
9171         (parseSingleLyXformat2Token): add params to several inset
9172         constructors
9173         (asciiParagraph): remove lowercase, do the layout comparisons with
9174         no_case
9175
9176         * BufferView_pimpl.C (cursorNext): first -> first_y
9177         (resizeCurrentBuffer): first -> first_y
9178         (updateScrollbar): first -> first_y
9179         (scrollCB): first -> first_y
9180         (workAreaMotionNotify): first -> first_y
9181         (workAreaButtonPress): first -> first_y
9182         (checkInsetHit): first -> first_y
9183         (cursorPrevious): first -> first_y
9184         (cursorNext): first -> first_y
9185         (Dispatch): add buffer_->params to severl inset contructors
9186
9187 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9188
9189         * lyxlayout.C (Read): remove some debug info that I forgot.
9190
9191         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9192         clean up the code slightly.
9193         (makeLinuxDocFile): ditto
9194         (makeDocBookFile): ditto
9195
9196         * text2.C: layout as string
9197
9198         * text.C: layout as string
9199
9200         * paragraph_pimpl.C: layout as string
9201
9202         * paragraph.[Ch]: layout as string
9203
9204         * lyxtextclasslist.[Ch]: layout as string
9205
9206         * lyxtextclass.[Ch]: layout as string
9207
9208         * lyxtext.h: layout as string
9209
9210         * lyxlayout.[Ch]: layout as string
9211
9212         * lyx_cb.C: layout as string
9213
9214         * bufferview_funcs.C: layout as string
9215
9216         * bufferparams.C: layout as string
9217
9218         * buffer.C: layout as string
9219
9220         * LyXView.[Ch]: layout as string
9221
9222         * LaTeXFeatures.[Ch]: layout as string
9223
9224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9225
9226         * BufferView_pimpl.C: change current_layout to string, remove
9227         lyx::layout_type.
9228         (Dispatch):
9229         (smartQuote):
9230         (insertInset):
9231         (workAreaButtonRelease): layout as string
9232
9233         * BufferView2.C (unlockInset): adjust
9234
9235         * vspace.C (asLatexCommand): use an explict temp variable.
9236
9237 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9238
9239         * Makefile.am: use FRONTEND_*
9240
9241 2002-03-01  Juergen Vigna  <jug@sad.it>
9242
9243         * tabular.C (SetWidthOfMulticolCell): changed to something better
9244         I hope but still work in progress.
9245         (recalculateMulticolumnsOfColumn): renamed function from
9246         recalculateMulticolCells as it is more appropriate now.
9247         (SetWidthOfCell): calculate multicols better.
9248
9249 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9252
9253         * lyxfunc.C (processKeySym): print sequence also if it is
9254         `deleted' (complete)
9255
9256         * kbsequence.C (print): print sequence even if it is deleted
9257         (complete would be a better word, actually).
9258
9259         * lyxfunc.C (dispatch): print complete options after a prefix key
9260
9261         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9262
9263 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9264
9265         * text2.C (setCharFont): eliminate setCharFont code duplication.
9266
9267 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9270         LFUN_TABULAR_FEATURE (bug #177)
9271
9272 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9273
9274         * Makefile.am: remove figure.h
9275
9276 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9277
9278         * Bufferview_pimpl.C:
9279         * CutAndPasteC:
9280         * LaTeX.C:
9281         * LyXSendto.C:
9282         * buffer.C:
9283         * bufferlist.C:
9284         * converter.C:
9285         * language.C:
9286         * lyxfunc.C:
9287         * lyxvc.C:
9288         * paragraph.C:
9289         * text.C:
9290         * text2.C: remove #include "lyx_gui_misc.h".
9291
9292         * LaTeX.C: added #include <cstdio>
9293
9294 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9297         that the paragraph following this one can have.
9298
9299         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9300
9301         * vspace.C (asLatexCommand): fix bogus gcc warning
9302
9303         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9304
9305 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9306
9307         * text2.C (setLayout): get rid of redundant code
9308
9309 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9310
9311         * text2.C (incDepth): make sure depth cannot be increased beyond
9312         reasonable values.
9313
9314 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9315
9316         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9317         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9318
9319         * PainterBase.h (image):
9320         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9321         a LyXImage const *.
9322
9323 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9324
9325         * BufferView.C:
9326         * BufferView.h:
9327         * BufferView_pimpl.C:
9328         * BufferView_pimpl.h:
9329         * LaTeXFeatures.C:
9330         * LyXAction.C:
9331         * LyXView.C:
9332         * Makefile.am:
9333         * UpdateList.h:
9334         * UpdateList.C:
9335         * buffer.C:
9336         * figure.h:
9337         * figureForm.C:
9338         * figureForm.h:
9339         * figure_form.C:
9340         * figure_form.h:
9341         * lyx_cb.C:
9342         * lyx_gui.C:
9343         * lyx_gui_misc.C:
9344         * lyxfunc.C:
9345         * sp_base.h:
9346         * sp_ispell.h:
9347         * sp_pspell.h:
9348         * sp_spell.C: remove fig inset, and the crap house of
9349           cards that follows it
9350
9351 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * Makefile.am:
9354         * lyxserver.C:
9355         * os2_defines.h:
9356         * os2_errortable.h:
9357         * nt_defines.h: move .h into support/
9358
9359         * vms_defines.h: remove
9360
9361         * WorkArea.C: add space in debug output
9362
9363         * text2.C:
9364         * paragraph.C:
9365         * buffer.C: add WITH_WARNINGS
9366
9367         * vc-backend.h:
9368         * vc-backend.C:
9369         * bufferlist.C: s/retrive/retrieve/, add docs
9370
9371         * vspace.h:
9372         * vspace.C:
9373         * kbmap.h:
9374         * lyxlength.h:
9375         * lyxgluelength.h:
9376         * length_common.h:
9377         * chset.h:
9378         * chset.C: add docs
9379
9380         * lyxgui.C: add ID to X error handler
9381
9382         * lyxtestclass.c: fix typo
9383
9384 2002-02-26  Juergen Vigna  <jug@sad.it>
9385
9386         * tabular_funcs.C (write_attribute): changed so that some default
9387         attributes are not written at all.
9388         (getTokenValue): set default values before trying to read the
9389         value so we have the return value always set as default if we don't
9390         find the token we search for.
9391
9392         * tabular.C (Write): write bools as bools not as strings!
9393
9394 2002-02-22  Juergen Vigna  <jug@sad.it>
9395
9396         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9397         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9398
9399         * text.C (leftMargin): don't add an indent for paragraphs inside
9400         tabular cells (fix #208).
9401
9402 2002-02-21  José Matos  <jamatos@fep.up.pt>
9403
9404         * tabular.C (docBook): fixed support for long tables.
9405
9406 2002-02-20  Juergen Vigna  <jug@sad.it>
9407
9408         * text2.C (getFont): get the drawing font of the Inset if this
9409         paragraph is inside an inset (only important for InsetERT for now).
9410
9411         * buffer.C (insertErtContents): use new lanugage params in ERT
9412         constructor.
9413
9414         * CutAndPaste.C: commenting out seemingly uneeded code.
9415
9416 2002-02-19  Allan Rae  <rae@lyx.org>
9417
9418         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9419         Iterators might be simple to use but they also get invalidated.
9420         (removeAutoInsets): renamed saved cursor tracking variables and added
9421         some comments to clarify what everything does.
9422
9423 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9424
9425         * Chktex.C:
9426         * LaTeX.C:
9427         * LyXSendto.C:
9428         * converter.C:
9429         * lyx_cb.C:
9430         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9431         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9432
9433         * lyxfunc.C:
9434         * vc-backend.h: remove #include "support/syscall.h"
9435
9436         * LaTeX.C:
9437         * LyXSendto.C:
9438         * converter.C: rearrange #includes in Lars' approved fashion.
9439
9440         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9441         forward declare class Timeout in the header file.
9442
9443         * XFormsView.C: changes due to the above.
9444
9445         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9446         similar to LyXView.
9447
9448         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9449         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9450
9451 2002-02-18  José Matos  <jamatos@fep.up.pt>
9452
9453         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9454         insets contents.
9455
9456 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9457
9458         * a lot of small ws changes
9459         * add a lot of using std::XXX
9460         * use std construcs some places where approp.
9461         * use some exisint stuff from lyxfunctional where approp.
9462         * Make file changes to use partial linking (lets test this now...)
9463
9464 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9465
9466         * Chktex.C:
9467         * buffer.C:
9468         remove #include "support/syscontr.h" as it's redundant. Always has been.
9469
9470         * Chktex.C:
9471         * LaTeX.C:
9472         * LyXSendto.C:
9473         * converter.C:
9474         * lyx_cb.C:
9475         * vc-backend.C:
9476         change Systemcalls::System to Systemcalls::Wait and
9477         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9478         No change of functionality, just reflects the stripped down Systemcalls
9479         class.
9480
9481 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9482
9483         * debug.[Ch]: add a GRAPHICS type to the enum.
9484
9485 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9488
9489         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9490         there is an inset.
9491
9492 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9495         match the changes below.
9496
9497         * text2.C (toggleInset): if there is not editable inset at cursor
9498         position, try to see if cursor is _inside_ a collapsable inset
9499         and close it.
9500
9501 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9504         document menu has a nice checkbox
9505
9506 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * lyxlength.C (asLatexString): change PW to output as percent of
9509         \textwidth.
9510
9511         * lengthcommon.C: change '%' to 't%'
9512
9513         * lyxfunc.C (dispatch): a few comments from Martin
9514
9515 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * WorkArea.h:
9518         * WorkArea.C:
9519         * BufferView_pimpl.h:
9520         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9521           the X selection.
9522
9523 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9524
9525         * vspace.C (inPixels): fix compiler warning
9526
9527 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * lyxfunc.C (getStatus): fix status message for disabled commands.
9530
9531 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * BufferView_pimpl.C: fix crash on close buffer
9534         during selection (#227)
9535
9536 2002-01-27  Herbert Voss  <voss@lyx.org>
9537
9538         * buffer.C: link old Figure to new graphic inset
9539
9540 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9541
9542         * FontLoader.C (getFontinfo): Change the latex font names in order
9543         to match the names of type1inst.
9544
9545 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9548
9549         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9550         (extchanged): ditto
9551         (ext_exist): ditto
9552         (remove_files_with_extension): ditto
9553         (remove_file): ditto
9554         (write): ditto
9555
9556         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9557         document is smaller than the work area height. Do not initialize
9558         static variables to 0.
9559
9560 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9563
9564         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9565         LFUN_LAYOUT_PARAGRAPHS.
9566
9567         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9568         tabular. It is possible to provide a possible cell, which will
9569         typically be the actcell from the corresponding insettabular
9570
9571         * lyxfunc.C (getStatus): small cleanup; disable
9572         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9573         true
9574
9575 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9578
9579         * paragraph.C (startTeXParParams):
9580         (endTeXParParams): new methods. The LaTeX code to
9581         start/end paragraph formatting
9582         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9583         empty (fixes bug #200)
9584
9585         * vspace.C (inPixels): adapt to the change below
9586         (inPixels): [later] more cleanups (remove unused variables)
9587
9588         * lyxlength.C (inPixels): change to use a width and a height as
9589         parameter.
9590
9591 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9592
9593         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9594         Replaced with \paperwidth
9595
9596         * DepTable.C (insert): add std:: qualifier
9597
9598 2002-01-18  Allan Rae  <rae@lyx.org>
9599
9600         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9601         updated also?
9602
9603         * text.C (drawInset): Turned out I didn't know enough about how
9604         rebreaking worked.  This fixes most of the redraw problems.  I see
9605         an occasional cursor trail when a line is broken now and the cursor
9606         placement can seem out by a few pixels also after a rebreak.
9607
9608 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * buffer.C (parseSingleLyXformat2Token): update because minipage
9611         width is now a LyXLength
9612
9613         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9614
9615         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9616         math insets
9617
9618 2002-01-17  Juergen Vigna  <jug@sad.it>
9619
9620         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9621
9622         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9623         is set correctly and the inset is updated correctly.
9624
9625 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9628         the beginning of the loop.
9629
9630 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9631
9632         * lyxrc.C: improve help for use_scalable_fonts
9633
9634 2002-01-17  Allan Rae  <rae@lyx.org>
9635
9636         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9637
9638 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9641         make sure to set their inset_owner to the right value (bug #171)
9642
9643 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9644
9645         * DepTable.h
9646         * DepTable.C: Implement mtime checking to reduce time spent doing
9647         CRCs.
9648
9649 2002-01-16  Juergen Vigna  <jug@sad.it>
9650
9651         * tabular.C (GetAdditionalHeight): one of error fixed.
9652
9653         * lyxrc.C (output): small fix in writing use_pspell.
9654
9655 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9656
9657         * sp_base.h: #include LString.h
9658
9659 2002-01-16  Allan Rae  <rae@lyx.org>
9660
9661         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9662         Can someone check this please?
9663
9664         * text.C (drawInset): It was possible that p.row would be removed by
9665         breakAgainOneRow upsetting a few other settings.  There may be another
9666         small tweak possible by setting need_break_row = 0 when p.row has been
9667         removed but I don't know enough about the logic here.
9668
9669 2002-01-15  Allan Rae  <rae@lyx.org>
9670
9671         * text.C (insertChar): removed conditional truism.
9672
9673         * BufferView2.C (removeAutoInsets): More tweaks.
9674         cur_par_prev could be a stray pointer.  Check for trailing empty line
9675         in case last line was cur_par and only had an error inset on it.
9676
9677 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9680         absolute
9681
9682         * vc-backend.C (most methods):
9683         * exporter.C (Export):
9684         * converter.C (convert):
9685         (runLaTeX):
9686         * LyXSendto.C (SendtoApplyCB):
9687         * lyxfunc.C (dispatch):
9688         (menuNew):
9689         (open):
9690         (doImport):
9691         * lyx_cb.C (AutoSave):
9692         (InsertAsciiFile):
9693         * BufferView_pimpl.C (MenuInsertLyXFile):
9694         * buffer.C (runChktex): use Buffer::filePath().
9695
9696         * buffer.h: rename filename to filename_; rename filepath to
9697         filepath_ and make it private
9698         (filePath): new method
9699
9700         * buffer.C (writeFile): use fileName()
9701         (getLatexName):
9702
9703         * lyx_main.C (init): fix starting  of LyX when the binary is a
9704         link from so,ewhere else.
9705
9706         * minibuffer.C: include <cctype> for isprint
9707
9708 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9709
9710         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9711         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9712         name clash with InsetCollapsable's width function.
9713
9714 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * lastfiles.C: include <iterator>
9717
9718 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9719
9720         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9721         std::count.
9722
9723         * buffer.C (makeLaTeXFile): ditto.
9724         Also make loop operation more transparent.
9725
9726 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9727
9728         * ToolbarDefaults.C: remove trailing comma closing namespace.
9729
9730         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9731
9732         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9733         as in WorkArea.
9734
9735         * trans.C (Load): comment out unused variable, allowed.
9736
9737 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9738
9739         * minibuffer.[Ch] (append_char): new method to recieve input from the
9740         drop-down completion browser. If a key was pressed, then recieve this
9741         char and append it to the existing string.
9742         (peek_event): modify the positioning data passed to the completion
9743         browser so that it can be placed above the minibuffer rather than below.
9744 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * LyXAction.C (init): alloe error-next for readonly documents.
9747
9748         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9749         count.
9750
9751 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9752
9753         * bufferlist.C (readFile): create the buffer _after_ checking that
9754         the file exists.
9755
9756         * lyxfunc.C (verboseDispatch): fix handling of arguments
9757
9758         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9759
9760         * lyxrc.C: use string::erase() instead of initializing to "".
9761
9762
9763 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * BufferView_pimpl.h:
9766         * BufferView_pimpl.C:
9767         * WorkArea.h:
9768         * WorkArea.C:
9769         * text2.C: tell X when we have made a selection for copying
9770
9771 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * BufferView_pimpl.C (MenuInsertLyXFile):
9774         * lyxfunc.C (menuNew):
9775         (open):
9776         (doImport): add shortcuts to directory buttons
9777
9778         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9779         open a float)
9780
9781         * lyxfunc.C (setStatusMessage):
9782         (getStatusMessage): new methods
9783         (getStatus):use setStatusMessage instead of setErrorMessage
9784         (dispatch): when function is disabled, set error message here
9785         [instead of in getStatus previously]
9786
9787         * BufferView_pimpl.C (workAreaButtonRelease): update
9788         toolbar/menubar here too.
9789
9790 2002-01-13  Allan Rae  <rae@lyx.org>
9791
9792         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9793         Now seems indestructible.  Remaining task is to audit all other
9794         code affected by deleteEmptyParagraphMechanism.  One small quirk
9795         left is that an empty document with an error in the preamble can
9796         be made to report an error but no error box appears.  I don't know
9797         where it goes.
9798         (removeAutoInsets): Improved comments.
9799
9800 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * Thesaurus.h:
9803         * Thesaurus.C: update for Aiksaurus 0.14
9804
9805 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * text2.C (firstParagraph): removed member function, all uses
9808         replaces with ownerParagraph
9809         (redoParagraphs): here
9810         (updateInset): here
9811         (toggleAppendix): here
9812         * BufferView2.C (insertErrors): here
9813         (setCursorFromRow): here
9814
9815 2002-01-13  Allan Rae  <rae@lyx.org>
9816
9817         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9818         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9819         There is still a way to segfault this although you may have to do this
9820         multiple times: Have an InsetERT with an unknown command in it.
9821         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9822         <down-arrow>, <Enter> again, View->DVI, BANG!
9823
9824         * text2.C (setCursor):
9825         (deleteEmptyParagraphMechanism):
9826         * lyxtext.h (setCursor):
9827         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9828         Making use of the return value may help fix other bugs.
9829
9830 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9831
9832         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9833
9834         * LyXView.C (updateMenubar): call MenuBar::update here
9835         (updateToolbar): but not here
9836         (showState): do not update toolbar/menubar
9837
9838         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9839         should need to care about that.
9840
9841         * lyxfunc.C (verboseDispatch): simplify a bit
9842         (getStatus): have a version which takes a pseudoaction, and
9843         another which requires a (kb_action,string).
9844
9845         * LyXAction.C (retrieveActionArg): make it work also when action
9846         is not a pseudo-action.
9847         (getActionName): simplify a bit
9848         (helpText):
9849
9850 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9851
9852         * lyxfunc.C (verboseDispatch): new families of methods with
9853         several ways to specify a command and a bool to indicate whether
9854         the command name and shortcut should be displayed in minibuffer
9855         (eventually, we could extend that to a finer bitmask like
9856         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9857         (dispatch): the pristine dispatch command which just, well,
9858         dispatchs! Note it still sets its result to minibuffer; I'm not
9859         sure we want that.
9860
9861         * lyxfunc.h: remove setHintMessage
9862
9863         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9864
9865 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9866
9867         * BufferView_pimpl.C (specialChar): delete new inset if we have
9868         not been able to insert it.
9869
9870         * kbmap.C: revert to using int instead of kb_action, since all we
9871         are dealing with is pseudo-actions.
9872
9873         * LyXAction.C (searchActionArg): change to return int instead of
9874         kb_action, since the result is a pseudoaction.
9875
9876 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9877
9878         * buffer.C (insertErtContents): Fix (partially) the font bug.
9879
9880 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9881
9882         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9883         as the other one is broken on my machine!
9884
9885 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9886
9887         * commandtags.h:
9888         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9889
9890 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9891
9892         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9893         reflect their actual use. Provide compatibility code for older lyxrc
9894         files.
9895
9896         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9897         FL_NORMAL_STYLE.
9898         change names of popup font variables in line with the changes to lyxrc.C
9899
9900 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9901
9902         * buffer.C (asciiParagraph): avoid outputing a word twice after
9903         an inset.
9904
9905         * lyxrc.C (getDescription): document that document_path and
9906         template_path can be empty.
9907
9908 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * LaTeXFeatures.C (getMacros):
9911         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9912
9913         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9914
9915         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9916         getPackages.
9917         (getPackages): rename feature "floats" to "float". Use an array to
9918         iterate over 'simple' features (i.e. just a \usepackage). Add
9919         handling of "amsmath" (renamed from "amsstyle").
9920
9921 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9922
9923         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9924         features list.
9925
9926 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9927
9928         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9929         FuncStaus::FuncStatus & FuncStaus::some_method().
9930
9931 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9932
9933         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9934         of the func_satus stuff. Edited and massaged in various ways by
9935         JMarc.
9936
9937         * lyxfunc.C (getStatus): use FuncStatus
9938
9939 2002-01-08  Juergen Vigna  <jug@sad.it>
9940
9941         * text.C (nextBreakPoint): use function Inset::isChar().
9942
9943         * paragraph.C (TeXOnePar): use function
9944         Inset::forceDefaultParagraphs.
9945
9946         * buffer.C (latexParagraphs): use function
9947         Inset::forceDefaultParagraphs.
9948
9949 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * lyx_gui.C (init): set the style of the menu popups to
9952         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9953
9954 2002-01-07  Juergen Vigna  <jug@sad.it>
9955
9956         * text.C (setHeightOfRow): small fix
9957         (prepareToPrint): don't look at alignment if we don't have the place
9958         for doing it.
9959
9960 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9961
9962         * box.C: New file. Move the Box methods and functions out of box.h,
9963         following Lars' suggestion.
9964
9965 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9966
9967         * box.h: #include "support/LOstream.h", needed for inlined function.
9968
9969         * lyxtextclass.C:
9970         * lyxtextclasslist.C: added some using std declarations.
9971
9972 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * box.h: make signed dimensions to allow insets wider than
9975           the screen (bug #162)
9976
9977         * BufferView_pimpl.C: add some insetHit debug
9978
9979 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * vc-backend.C: add FIXME
9982
9983 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * lyxfunc.C (getStatus): enable code for showing math font status
9986         in toolbar/menu.
9987
9988 2002-01-07  Juergen Vigna  <jug@sad.it>
9989
9990         * text.C (nextBreakPoint): removed debug output not needed anymore.
9991
9992 2002-01-06  Juergen Vigna  <jug@sad.it>
9993
9994         * text.C (nextBreakPoint): fixed up this function we had this bug
9995         since ever but now hopefully we break row better.
9996         (insertChar): we have to check if an inset is the next char as it
9997         could now happen that a large inset is causing a break.
9998
9999 2002-01-05  Juergen Vigna  <jug@sad.it>
10000
10001         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10002         if it doesn't like to be drawed.
10003
10004 2002-01-04  Juergen Vigna  <jug@sad.it>
10005
10006         * BufferView2.C (lockInset): forgot to set a cursor.
10007
10008         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10009
10010 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10011
10012         * FormMathsPanel.C:
10013         * FormMathsPanel.h
10014         * MathsSymbols.C:
10015         * form_maths_panel.C:
10016         * form_maths_panel.h:
10017         * form_maths_panel.fd: implemented sub- and super- buttons in math
10018         panel.
10019
10020         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10021         (or ^ space) to be used as in TeX (req'd by André).
10022
10023         * lyxfunc.C: Allow ^ and _ again to be used both as
10024         super/subscript (mathed) and as themselves (in text).
10025
10026 2002-01-03  Allan Rae  <rae@lyx.org>
10027
10028         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10029         "LyX" or the filename of the current buffer if it has one.  This is a
10030         modified form of John Levon's patch.
10031
10032         * XFormsView.C (setWindowTitle): also set icon title.
10033
10034         * LyXView.h (setWindowTitle): signature changed.
10035         * XFormsView.h (setWindowTitle): ditto.
10036
10037 2002-01-02  Juergen Vigna  <jug@sad.it>
10038
10039         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10040
10041 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * screen.C (topCursorVisible): introduce a temp var for
10044         text->cursor.row(), handle the case where this row is null. (kindo
10045         hachish)
10046
10047         * text2.C (setCursor): add a couple of asserts.
10048
10049         * paragraph.h (inset_iterator): add -> operator
10050
10051         * paragraph.[Ch] (autoDeleteInsets): remove member function
10052
10053         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10054         cursor pos correctly and handle inset deletion by itself.
10055         (insertErrors): move iterator declaration out of for expression
10056
10057         * lyxtextclass.C: add <algorithm>
10058
10059         * Makefile.am: added the new files to sources, removed layout.C
10060
10061         * layout.C: removed file
10062
10063         * layout.h: remove LYX_DUMMY_LAYOUT
10064
10065         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10066         layout.
10067
10068         * lyxlayout.[Ch]:
10069         * lyxtextclass.[Ch]:
10070         * lyxtextclasslist.[Ch]: new files
10071
10072         * include order changes to a lot of files, also changes because of
10073         the six new files.
10074
10075 2001-12-27  Juergen Vigna  <jug@sad.it>
10076
10077         * buffer.C (asciiParagraph): more fixes.
10078
10079         * tabular.C (ascii): make ascii export support export of only the
10080         data separated by a column-delimiter.
10081         (ascii): better support for ascii export.
10082
10083         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10084
10085 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10086
10087         * tabular_funcs.C: use a "using std::getline" instead of the
10088         previous fix from Angus (necessary for cxx + lyxstring)
10089
10090 2001-12-24  Juergen Vigna  <jug@sad.it>
10091
10092         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10093
10094         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10095         problems. First check a minipage also if we have some ert-contents
10096         (not only on par->size(), second set the right depth of the paragraph
10097         on the relink to the root-paragraph-list!
10098
10099         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10100         which then did not anymore update the main paragraphs on undo/redo!
10101
10102 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10105         code. Support all font-changing funcs (even those which are not in
10106         menu currently). Support for reporting font settings in
10107         mathed (disabled until Andre provides a function on mathed's side).
10108
10109         * func_status.h (toggle): small helper function to set toggle
10110         state on a flag.
10111
10112 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10113
10114         * tabular_funcs.C: getline -> std::getline
10115
10116 2001-12-21  Juergen Vigna  <jug@sad.it>
10117
10118         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10119         accessed and could be 0 (I couldn't generate this but it seems
10120         Michael could!).
10121
10122 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10123
10124         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10125         * tabular_funcs.h: here and include iosfwd
10126
10127 2001-12-20  Juergen Vigna  <jug@sad.it>
10128
10129         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10130         inside inset but undo_par was.
10131
10132 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10133
10134         * Thesaurus.C: always include <config.h> in sources.
10135
10136         * Painter.h:
10137         * lyxlookup.h:
10138         * box.h: do not include <config.h> in header files
10139
10140         * text.C (paintLastRow): remove unused variable
10141
10142         * text.C (transformChar):
10143         (insertChar):
10144         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10145
10146         * Painter.C (text):
10147         * font.C (width): rewrite to use uppercase() instead of
10148         islower/toupper.
10149
10150         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10151
10152 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10153
10154         * lyxfind.C: clean up of find failure position change
10155
10156 2001-12-20  Juergen Vigna  <jug@sad.it>
10157
10158         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10159
10160         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10161         (TeXRow): added to LaTeX a single tabular row.
10162         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10163         (Latex): simplified and finally good LT-h/f support.
10164         (various_functions): just small adaptions for LT-h/f support.
10165
10166         * tabular_funcs.[hC]: added and moved here all not classfunctions
10167         of LyXTabular.
10168
10169 2001-12-19  Juergen Vigna  <jug@sad.it>
10170
10171         * tabular.[Ch]: better support for longtabular options (not finished
10172         yet!)
10173
10174 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10175
10176         * text.C (paintLastRow): use the label font instead of the font of
10177         the last character to compute the size of *_BOX. This makes more
10178         sense and avoids a crash with empty paragraphs.
10179         Use Painter::rectangle to draw EMPTY_BOX.
10180
10181 2001-12-19  Juergen Vigna  <jug@sad.it>
10182
10183         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10184         the paragraphs if the replaced paragraph is not the first one!
10185         Tried to delete not used paragraphs but does not work yet so for
10186         now it's inside #ifdef's and by default off!
10187
10188 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * MenuBackend.C: include "lyx_main.h" instead of declaring
10191         lastfiles (actually was declared as LastFiles* instead of a
10192         scoped_ptr).
10193
10194 2001-12-17  Juergen Vigna  <jug@sad.it>
10195
10196         * tabular.C (AppendColumn): applied John's fix
10197
10198 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * BufferView.h:
10201         * BufferView.C:
10202         * BufferView_pimpl.h:
10203         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10204
10205         * Makefile.am:
10206         * box.h: new start of class for above
10207
10208         * lyxfunc.C: ignore space-only minibuffer dispatches.
10209           Show the command name when it doesn't exist
10210
10211         * minibuffer.C: don't add empty lines to the history
10212
10213         * minibuffer.C: add a space on dropdown completion
10214
10215 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * text.C: fix line above/below drawing in insets
10218
10219 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10220
10221         * lyxlength.C (LyXLength): Initialize private variables.
10222
10223 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10226         when inserting error insets.
10227
10228 2001-12-13  Juergen Vigna  <jug@sad.it>
10229
10230         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10231         actually sometimes the before-paragraph.
10232         (setUndo): don't clear the redostack if we're not actually undoing!
10233
10234 2001-12-06  Juergen Vigna  <jug@sad.it>
10235
10236         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10237         and fixed redoing of main paragraph, so we can use it now ;)
10238
10239         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10240
10241 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10242
10243         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10244         Juergen's request
10245
10246 2001-12-13  André Pönitz <poenitz@gmx.net>
10247
10248         * undostack.[Ch]:
10249         * undo_func.C: minor cleanup
10250
10251 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10254         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10255         font in urw-fonts package which is marked as -urw-fontspecific and
10256         does not work (incidentally, changing the encoding in the
10257         fonts.dir of this package to -adobe-fontspecific fixes the
10258         problem).
10259
10260         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10261         is a crash when undoing first paragraph (Juergen, please take a
10262         look). THis does not mean the undo fix is wrong, just that it
10263         uncovers problems.
10264
10265         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10266         the (Paragraph*) version when needed instead of duplicating the
10267         code.
10268
10269         * text.C (workWidth): use Inset::parOwner to find out where the
10270         inset has been inserted. This is a huge performance gain for large
10271         documents with lots of insets. If Inset::parOwner is not set, fall
10272         back on the brute force method
10273
10274         * paragraph_pimpl.C (insertInset):
10275         * paragraph.C (Paragraph):
10276         (cutIntoMinibuffer): set parOwner of insets when
10277         inserting/removing them
10278
10279         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10280
10281 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10282
10283         * commandtags.h:
10284         * LyXAction.C:
10285         * lyx_main.C:
10286         * lyxfunc.C:
10287         * mathed/formulabase.C:
10288         * mathed/math_cursor.[Ch]:
10289         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10290
10291
10292 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10293
10294         * lyxlength.[Ch] (operator!=): new function
10295
10296 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * text.C (workWidth): use Inset::parOwner to find out where the
10299         inset has been inserted. This is a huge performance gain for large
10300         documents with lots of insets. If Inset::parOwner is not set, fall
10301         back on the brute force method
10302
10303         * paragraph_pimpl.C (insertInset):
10304         * paragraph.C (Paragraph):
10305         (cutIntoMinibuffer): set parOwner of insets when
10306         inserting/removing them
10307
10308         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10309
10310 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10311
10312         * tabular-old.C (getTokenValue):
10313         * tabular.C (getTokenValue):
10314         (write_attribute): new versions for LyXLength
10315         (everywhere): adjust the use of widths
10316
10317         * tabular.h: change the type of widths from string to LyXLength
10318
10319 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10320
10321         * paragraph.C: fixed missing line number count when exporting
10322         Environments to LaTeX file
10323
10324         * buffer.C: added informational message for checking line numbers.
10325
10326 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10329         paragraph, do the 'double space' part, but not the 'empty
10330         paragraph' one.
10331
10332         * text.C (workWidth): small optimization
10333         (getLengthMarkerHeight): use minimal size for negative lengths.
10334
10335 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10336
10337         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10338
10339         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10340
10341 2001-12-11  André Pönitz <poenitz@gmx.net>
10342
10343         * FontLoader.C:
10344         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10345
10346 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * text2.C: keep selection on a setFont()
10349
10350 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * lyx_cb.C: another bv->text misuse, from insert label
10353
10354 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * kbsequence.h:
10357         * kbsequence.C: re-instate nmodifier mask
10358
10359 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10360
10361         * lyx_main.h: make lyxGUI private.
10362
10363 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * lyxfind.C: place the cursor correctly on failed search
10366
10367 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * text.C (getLengthMarkerHeight): for small heights, the arrows
10370         are not always on top/bottom of the text
10371         (drawLengthMarker): smaller arrows; take the left margin in
10372         account; draw also vfills.
10373         (paintFirstRow):
10374         (paintLastRow): remove special code for vfill and standard spaces,
10375         since everything is handled in drawLengthMarker now.
10376
10377 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * buffer.C (insertErtContents): try to handle font and language
10380         interaction a bit better.g
10381
10382         * ColorHandler.C (updateColor): change the hash to cover the whole
10383         LColor enum, ws cleanup
10384         (getGCLinepars): ditto
10385         (getGCLinepars): only lookup in the linecache once.
10386
10387 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * iterators.C (operator++): Make the iterator more robust
10390
10391         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10392         (John's patch)
10393         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10394
10395 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * lyxtext.h:
10398         * text.C: better added space drawing
10399
10400 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10401
10402         * LyXView.C:
10403         * BufferView2.C: fix layout combo update on inset unlock
10404
10405 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * Makefile.am: don't compile unused files
10408
10409 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * lyxfunc.C:
10412         * commandtags.h:
10413         * LyXAction.C: remove old LFUN_LAYOUTNO
10414
10415 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * paragraph_pimpl.h:
10418         * paragraph_pimpl.C: isTextAt() doesn't need font param
10419
10420 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * lyxlex.h:
10423         * lyxlex.C: little cleanup
10424
10425 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * BufferView_pimpl.C: fix insertAscii for insets
10428
10429 2001-12-05  Juergen Vigna  <jug@sad.it>
10430
10431         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10432         set the right font on the "multi" paragraph paste!
10433
10434 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * trans_decl.h:
10437         * trans_mgr.[Ch]:
10438         * trans.[Ch]:
10439         * lyxgluelength.C:
10440         * lyxlength.C: remove out-commented code.
10441
10442         * BufferView_pimpl:
10443         * CutAndPaste.C:
10444         * DepTable.C:
10445         * buffer.C:
10446         * chset.C:
10447         * lastfiles.C:
10448         * lyxlex.C:
10449         * lyxlex_pimpl.C:
10450         * lyxserver.C:
10451         * screen.C:
10452         * tabular-old.C:
10453         * tabular.C:
10454         * text.C:
10455         * trans_mgr.C:
10456         * vc-backend.C: change "while(" to "while ("
10457
10458         * lyxlength.[Ch]: add zero function to check if length is zero or
10459         not
10460         * lyxgluelength.C: use it
10461
10462 2001-12-05  Allan Rae  <rae@lyx.org>
10463
10464         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10465         Works for 2.95.3, from what I understand of Garst's reports this should
10466         work for other g++ versions.  We're screwed if the abs(int) definition
10467         changed between bugfix releases of gcc.
10468
10469 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10470
10471         * text.C: fix chapter label offset !
10472
10473 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * lyxtext.h:
10476         * text.C: fix hfill at end of line, clean up
10477
10478 2001-12-04  Juergen Vigna  <jug@sad.it>
10479
10480         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10481         that we force an update of the inset and it's owners if neccessary.
10482
10483 2001-12-03  Juergen Vigna  <jug@sad.it>
10484
10485         * text.C (rowLast): simplified code
10486
10487 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * lyxfunc.C: fix show options on timeout
10490
10491 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10492
10493         * screen.C (topCursorVisible): scroll half a page when the cursor
10494         reached top of bottom of screen
10495
10496 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * minibuffer.C: deactivate on loss of focus
10499
10500 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * vspace.[Ch] (operator!=): add operator.
10503
10504 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * BufferView_pimpl.C: refuse to open an inset when
10507         there's a selection.
10508
10509 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * BufferView_pimpl.C: allow to click on RHS of full row insets
10512
10513 2001-11-30  Juergen Vigna  <jug@sad.it>
10514
10515         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10516         insets for undo reasons.
10517
10518 2001-11-28  André Pönitz <poenitz@gmx.net>
10519
10520         * vspace.[Ch]: cosmetical changes
10521
10522 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10523
10524         * LyXAction.h:
10525         * LyXAction.C:
10526         * lyxfunc.h:
10527         * lyxfunc.C:
10528         * kbmap.h:
10529         * kbmap.C:
10530         * lyxrc.C:
10531         * kbsequence.h:
10532         * kbsequence.C: part re-write of old kb code
10533
10534         * Painter.C:
10535         * WorkArea.C: remove Lgb_bug_find_hack
10536
10537 2001-11-30  José Matos <jamatos@fep.up.pt>
10538
10539         * buffer.C (makeDocBookFile): add a comment to point a hack.
10540         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10541         Fixed a double write of labels.
10542
10543 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10544
10545         * LaTeX.C:
10546         * LaTeX.h Fixed bug in LaTeX class where it would not
10547         re-run latex if no depfiles were changed, but the .dvi was removed.
10548
10549 2001-11-28  André Pönitz <poenitz@gmx.net>
10550
10551         * all the files from the change on 2001/11/26:
10552         use lyx::layout_type instead of LyXTextClass::size_type
10553         use lyx::textclass_type instead of LyXTextClassList::size_type
10554
10555 2001-11-29  Juergen Vigna  <jug@sad.it>
10556
10557         * text.C: added support for paragraph::isFreeSpacing()
10558
10559         * buffer.C: same as above
10560
10561         * paragraph.h: inserted isFreeSpacing() function to enable
10562         FreeSpacing inside InsetERT.
10563
10564         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10565         of the paragraph's in the cut/copy buffer to 0!
10566
10567         * text2.C (removeRow): remove the assert as it can!
10568
10569         * lyxtext.h: added helper function firstRow returning firstrow and
10570         made firstrow private again.
10571
10572         * BufferView2.C (lockInset): don't relock if we're already locked!
10573
10574         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10575         the only paragraph.
10576         (removeRow): added Assert::(firstrow)
10577
10578         * debug.C: forgot to add INSETTEXT here.
10579
10580 2001-11-28  Juergen Vigna  <jug@sad.it>
10581
10582         * sp_spell.C (initialize): changed error text to more general
10583         spellchecker command use (not only ispell!)
10584
10585         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10586
10587         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10588
10589 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * vspace.C: initialise lyxgluelength on failure
10592
10593 2001-11-28  Allan Rae  <rae@lyx.org>
10594
10595         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10596         declaration & definition that looks like a function declaration.
10597
10598 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * BufferView2.C (copy):
10601         (copyEnvironment): do not clear the selection when doing a copy.
10602
10603         * text.C (paintFirstRow): compilation fix
10604
10605 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10606
10607         * tabular.C (Latex): correct line count when writing latex.
10608
10609 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * paragraph_pimpl.h:
10612         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10613           bug a bit
10614
10615 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * text.C:
10618         * LColor.h:
10619         * LColor.C: change vfillline->added_space
10620
10621         * text.C: add markers and text for added space
10622
10623         * vspace.C: fix comment
10624
10625 2001-11-28  André Pönitz <poenitz@gmx.net>
10626
10627         * paragraph.C: whitespace changes
10628         * all the other files from the change on 2001/11/26:
10629         change *::pos_type into lyx::pos_type
10630
10631 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10634         language of the document when inserting error insets.
10635
10636 2001-11-26  André Pönitz <poenitz@gmx.net>
10637
10638         * BufferView_pimpl.[Ch]:
10639         *       CutAndPaste.C:
10640         * buffer.[Ch]:
10641         * lyxcursor.[Ch]:
10642         * lyxfind.C:
10643         * lyxfunc.C:
10644         * lyxrow.[Ch]:
10645         * paragraph.[Ch]:
10646         * paragraph_pimpl.[Ch]:
10647         * sp_spell.C:
10648         * text.C:
10649         * text2.C: reduce header dependencies, introduce type for positions
10650
10651 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * <various>: change to use Alert.h
10654
10655 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10656
10657         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10658         when encountering an unknown token.
10659         (readLyXformat2): Show an error message if there were unknown tokens.
10660
10661 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * BufferView2.C:
10664         * BufferView_pimpl.C:
10665         * buffer.C:
10666         * paragraph.h:
10667         * text.C:
10668         * text2.C: use par->isInset()
10669
10670 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * paragraph_pimpl.h:
10673         * paragraph_pimpl.C: cleanup
10674
10675 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10676
10677         * text2.C (removeRow):
10678         * text.C (setHeightOfRow): remove useless (and costly) call to
10679         getRow.
10680
10681 2001-11-20  Allan Rae  <rae@lyx.org>
10682
10683         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10684         Now need Inset*::checkInsertChar() to return true for appropriate
10685         cases so that the characters in the minibuffer will actually be
10686         inserted.
10687
10688 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10689
10690         * text.C: change the order of the includes.
10691         (workWidth): initialize it at once.
10692         (workWidth): make maxw unsigned
10693         (setHeightOfRow): remove unused variable (inset)
10694         (selectSelectedWord): remove unused variable (inset)
10695         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10696
10697 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10700         server is not running.
10701         (openConnection):
10702         (closeConnection): add debug info when server is disabled.
10703
10704         * ColorHandler.C (getGCForeground): send debug message to GUI
10705         channel.
10706
10707         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10708
10709         * kbmap.C (bind): modify because return conventions of
10710         kb_sequence::parse have changed.
10711
10712         * kbsequence.C (parse): only ignore spaces and not any stupid
10713         control character. This avoids tests like s[i] <= ' ', which are
10714         guaranteed to fail with 8bit characters and signed chars.
10715         Change return code to string::npos when there have been no error
10716         (0 was a bad idea when error is at first character)
10717
10718 2001-11-14  José Matos  <jamatos@fep.up.pt>
10719
10720         * buffer.h:
10721         * buffer.C (simpleDocBookOnePar): removed unused argument.
10722
10723 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10726         insets which are part of a word. Paragraph::isLetter takes care of
10727         that now. Use Paragraph::isInset to identify insets.
10728         (selectSelectedWord): do not test for hyphenation break.
10729
10730         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10731         that protected spaces are considered as spaces.
10732
10733         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10734         Inset::isLetter.
10735
10736 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * lyxserver.h:
10739         * lyxserver.C: fix it. and small cleanup.
10740
10741 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * BufferView_pimpl.C: use inline helpers
10744
10745         * LaTeXFeatures.h:
10746         * LaTeXFeatures.C: fix typos
10747
10748         * Spacing.h:
10749         * Spacing.C: move spacing_string into class
10750
10751         * ToolbarDefaults.C: move stuff into namespace anon
10752
10753         * layout.h: update enum
10754
10755         * lyxfunc.C: use better debug
10756
10757         * minibuffer.h: fix typo
10758
10759         * debug.h:
10760         * debug.C:
10761         * WorkArea.C: add and use Debug::WORKAREA
10762
10763         * lyxtext.h:
10764         * text.C:
10765         * text2.C: code re-organisation, inline helpers
10766
10767 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10768
10769         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10770         std::vector.empty().
10771
10772 2001-11-09  Allan Rae  <rae@lyx.org>
10773
10774         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10775         '\n's after tables.  Tabular and ERT inset work now makes this no
10776         longer necessary.
10777
10778 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * minibuffer.h:
10781         * minibuffer.C: fix crash, improve drop-down completion
10782
10783 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * lyxserver.h:
10786         * lyxserver.C: invalidate fd's when doing endPipe()
10787
10788 2001-11-08  José Matos  <jamatos@fep.up.pt>
10789
10790         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10791         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10792
10793         * paragraph.h:
10794         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10795
10796 2001-11-07  José Matos  <jamatos@fep.up.pt>
10797
10798         * buffer.h:
10799         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10800         const qualifier.
10801
10802         * buffer.C (sgmlOpenTag):
10803         * buffer.C (sgmlCloseTag): removed debug info.
10804
10805         * buffer.h (sgmlOpenTag):
10806         * buffer.h (sgmlCloseTag): made public.
10807
10808 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * buffer.C (saveParamsAsDefaults):
10811         * lyx_cb.C (MenuLayoutSave): remove
10812
10813         * LyXAction.C (init):
10814         * commandtags.h:
10815         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10816
10817 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10818
10819         * buffer.C (setPaperStuff): removed from here...
10820
10821         * bufferparams.C (setPaperStuff): ... and moved there.
10822
10823 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * minibuffer.h:
10826         * minibuffer.C:
10827         * XFormsView.C: add support for drop-down completion
10828
10829 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10830
10831         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10832         commands.
10833
10834 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10835
10836         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10837         disabled.
10838
10839 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * lyx_main.C: change ref to known bugs
10842
10843 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10844
10845         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10846         to work around older babel problems.
10847
10848 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10849
10850         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10851
10852 2001-10-24  Juergen Vigna  <jug@sad.it>
10853
10854         * tabular-old.C (ReadOld): below variable changes reflected.
10855
10856         * tabular.[Ch]: added ltType struct for longtable header/footer
10857         defines and changed all instances where they are used. Added
10858         future support for double top/bottom rows.
10859
10860 2001-10-24  José Matos  <jamatos@fep.up.pt>
10861
10862         * buffer.h (docbookHandleCaption):
10863         * buffer.C (docbookHandleCaption): removed unused function.
10864         (makeDocBookFile): moved docbook supported version to v4.1.
10865
10866 2001-10-24  José Matos  <jamatos@fep.up.pt>
10867
10868         * tabular.h:
10869         * tabular.C (docbookRow): new function to export docbook code of a row.
10870         (DocBook): now honors the longtable flags.
10871
10872 2001-10-23  José Matos  <jamatos@fep.up.pt>
10873
10874         * LaTeXFeatures.h:
10875         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10876         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10877
10878         * buffer.C (makeLinuxDocFile):
10879         (makeDocBookFile): reworked the preamble, more clean, and with
10880         support for lyx defined entities. Changed the document declaration
10881         to be more XML friendly.
10882
10883         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10884         if we need to output XML that should be done with a filter.
10885
10886 2001-10-22  Juergen Vigna  <jug@sad.it>
10887
10888         * sp_pspell.h (class PSpell): add alive function needed in the
10889         controller to see if the spellchecker could be started.
10890
10891 2001-10-22  Juergen Vigna  <jug@sad.it>
10892
10893         * buffer.C (insertStringAsLines): modify the font for inserting
10894         chars in certain conditions by calling checkInsertChar(font).
10895
10896 2001-10-19  Juergen Vigna  <jug@sad.it>
10897
10898         * text.C (workWidth): use getRow instead of wrong algorithm.
10899         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10900
10901 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * lyxserver.h:
10904         * lyxserver.C:
10905         * lyx_main.h:
10906         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10907
10908 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10909
10910         * text.C (workWidth): do not search for the exact row when
10911         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10912         optimization for big documents.
10913
10914 2001-10-18  Juergen Vigna  <jug@sad.it>
10915
10916         * text.C (workWidth): new function with added Inset * parameter.
10917
10918 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10919
10920         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10921
10922         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10923         change return type of getColumnNearX.
10924
10925
10926         * text.C (changeRegionCase): use uppercase/lowercase instead of
10927         toupper/tolower.
10928         (leftMargin):
10929         (rightMargin): simplify code by factoring out the uses of
10930         textclasslist.
10931         (labelFill):
10932         (numberOfHfills):
10933         (setHeightOfRow):
10934         (appendParagraph): use Paragraph::size_type
10935
10936 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10937
10938         * vspace.C (asLatexString): add a missing break
10939
10940 2001-10-15  Herbert Voss  <voss@perce.de>
10941
10942         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10943
10944 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10945
10946         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10947         is not available.
10948
10949 2001-10-10  André Pönitz <poenitz@gmx.net>
10950
10951         * lyxfunc.C: removed greek_kb_flag.
10952
10953 2001-10-10  Herbert Voss  <voss@perce.de>
10954
10955         * lyx_main.C: delete global string help_lyxdir.
10956
10957 2001-10-09  Herbert Voss  <voss@perce.de>
10958
10959         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10960
10961         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10962
10963         * lyx_main.C: added global string help_lyxdir.
10964
10965         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10966
10967 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10968
10969         * lyxrc.C (set_font_norm_type): support iso8859-4
10970
10971 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10972
10973         * LaTeX.C (deplog): add another regex for MikTeX
10974
10975 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10976
10977         * lyxrc.C (set_font_norm_type): support iso8859-3
10978
10979 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10980
10981         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10982
10983         * LaTeXFeatures.C: remove special case of french and index
10984
10985         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10986         before \begin{document}). This solves several incompatibilities.
10987
10988 2001-10-03  Garst Reese  <reese@isn.net>
10989
10990         * lyx_cb.C: change CheckTex error msg.
10991
10992 2001-10-03  José Matos  <jamatos@fep.up.pt>
10993
10994         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10995
10996 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10997
10998         * .cvsignore: update
10999
11000         * lyx_main.C (commandLineVersionInfo): use new style version info.
11001
11002         * buffer.C (writeFile):
11003         (makeLaTeXFile):
11004         (makeLinuxDocFile):
11005         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11006
11007         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11008
11009         * version.h: update to use stuff in version.C
11010
11011         * version.C.in: new file. Contains version information determined
11012         at compile time. This is a merging of version.h and
11013         version_info.h.in.
11014
11015 2001-10-03  Juergen Vigna  <jug@sad.it>
11016
11017         * BufferView_pimpl.C (update): don't change "dirty" status in
11018         updateInset call.
11019
11020 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * WorkArea.C (c-tor): re-position version string slightly.
11023
11024 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11025
11026         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11027         revert to previous code.
11028
11029         WorkArea.[Ch]: (show, destroySplash): methods removed.
11030
11031         WorkArea.C: rework code so that it's an amalgam of the codes before and
11032         after the splash screen was moved to WorkArea.
11033
11034 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11035
11036         * lyxrc.C (read):
11037         * vspace.C (inPixels):
11038         (lyx_advance):
11039         * kbmap.C (bind):
11040         * buffer.C (insertStringAsLines):
11041         (asciiParagraph): fix types to be large enough
11042
11043         * lyxlex_pimpl.h: change member status from short to int
11044
11045         * layout.h: fix type of endlabeltype
11046
11047         * kbmap.C (bind):
11048         * kbsequence.C (parse): change return type to string::size_type
11049
11050         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11051         variable
11052
11053         * Bullet.C (bulletSize):
11054         (bulletEntry): do not use short ints as parameters
11055
11056         * BufferView2.C (insertLyXFile): change a char to an int.
11057
11058         * WorkArea.C (WorkArea): remove unneeded floats in computation
11059
11060 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11061
11062         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11063
11064         * paragraph.C (asString): Do not ignore newline/hfill chars when
11065         copying to the clipboard.
11066
11067 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11068
11069         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11070         after a multi-line inset.
11071
11072 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11073
11074         * paragraph.C (validate): Set NeedLyXFootnoteCode
11075
11076 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11079         and decrease-error to decrease.
11080
11081 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11082
11083         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11084         it more readable (should be equivalent)
11085
11086 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11087
11088         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11089
11090 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11091
11092         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11093         of a cursor (row, etc.) after a character has been deleted
11094         (deleteEmptyParagraphMechanism): call the method above on _all_
11095         cursors held by the LyXText when a double space has been
11096         detected/deleted.
11097
11098 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11099
11100         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11101         pixmap.
11102         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11103
11104         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11105         background. Use greyOut() and the new show() methods to toggle between
11106         the foreground and background. Add code to remove the splash after
11107         its initial showing.
11108
11109         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11110         (create_forms): no longer call Dialogs::showSplash.
11111
11112 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11113
11114         * .cvsignore: add version_info.h
11115
11116 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11117
11118         * version_info.h.in: new file
11119
11120         * Makefile.am: add version_info.h.in
11121
11122         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11123         version_info.h instead of VERSION_INFO
11124
11125 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11126
11127         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11128         The ERT inset now returns string().
11129
11130 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11131
11132         * lyxtext.h, text.C (selectNextWord): renamed as
11133         selectNextWordToSpellcheck.
11134
11135         * text.C (selectNextWordToSpellcheck): Modified to not select
11136         words inside an ERT inset.
11137
11138 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11139
11140         * lyx_cb.C (MenuLayoutSave): change a bit the question
11141
11142         * sp_base.h: include <sys/types.h>
11143
11144 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11147
11148 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11149
11150         * several files: fix typos in user-visible strings
11151
11152 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * text2.C (pasteSelection): do not set the selection, since it
11155         will be cleared later. Actually, the intent was to fix the way the
11156         selection was set, but I figured rmoving the code was just as good.
11157
11158 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11159
11160         * FontLoader.C (available): Check if font is available without
11161         loading the font.
11162
11163 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11164
11165         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11166
11167 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11168
11169         * lyxrc.[Ch]: added display_graphics variable and associated code.
11170
11171 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * bufferparams.C (hasClassDefaults): new method. Returns true if
11174         the buffer parameters correspond to known class defaults
11175
11176 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11177
11178         * XFormsView.C (show): set minimum size to the main window.
11179
11180 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11181
11182         * text2.C (copySelection):
11183         (cutSelection):
11184         * lyxfind.C (LyXReplace):
11185         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11186         LyXText::selectionAsString.
11187
11188         * paragraph.C (asString): add "label" argument to the second form
11189
11190         * text2.C (selectionAsString): add "label" argument and pass it to
11191         Paragraph::asString.
11192
11193 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11194
11195         * lyx_main.C (commandLineHelp): remove version information
11196
11197 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11198
11199         * lyx_main.C: add -version commandline option
11200
11201 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * paragraph.h: make the optional constructor arg required instead.
11204         some modifications to other files because of this.
11205
11206         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11207
11208         * lyxserver.C (C_LyXComm_callback): make it static
11209
11210         * lyx_main.C (error_handler): make it static
11211
11212         * lyx_gui.C (LyX_XErrHandler): make it static
11213
11214         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11215
11216         * WorkArea.C: make the extern "C" methods static.
11217
11218         * Makefile.am (lyx_LDADD): simplify
11219
11220 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11221
11222         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11223         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11224
11225         * LyXAction.C (init):
11226         * lyxfunc.C (dispatch): associated code removal.
11227
11228 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11229
11230         * lyxfont.h (isSymbolFont): shut off warning
11231
11232         * text.C (setHeightOfRow):
11233         (getVisibleRow): fix crash with empty paragraphs which have a
11234         bottom line
11235
11236 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11237
11238         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11239         code.
11240
11241 2001-09-04  José Matos  <jamatos@fep.up.pt>
11242         * buffer.C
11243         * buffer.h
11244         * tabular.C (docbook): rename docBook method to docbook.
11245
11246 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11247
11248         * Makefile.am: add dependencies to main.o.
11249
11250 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11251
11252         * FontLoader.C (available): Return false if !lyxrc.use_gui
11253
11254 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11255
11256         * FontInfo.C (query):
11257         * converter.C (view):
11258         * importer.C (Import):
11259         * exporter.C (Export): Can not -> cannot.
11260
11261 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * BufferView_pimpl.C: allow to create index inset even if
11264           string is empty
11265
11266 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * buffer.C (getLists): replace boost::tie code with an explicit pair
11269         as boost::tie can break some compilers.
11270
11271         * iterators.h: Added a std:: declaration to the return type of
11272         ParIterator::size.
11273
11274 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11277           case.
11278
11279 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11280
11281         * iterators.[Ch]: New files. Provide paragraph iterators.
11282
11283         * buffer.C (changeLanguage): Use paragraph iterators.
11284         (isMultiLingual): ditto
11285
11286         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11287
11288 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11289
11290         * FontLoader.C: Support for cmr font.
11291
11292 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11293
11294         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11295         (available): New method.
11296
11297         * FontInfo.C (getFontname): Use scalable fonts even when
11298         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11299         found.
11300
11301 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * converter.C (Formats::view): reverted! Incorrect fix.
11304
11305 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11306
11307         * converter.C (Formats::view): only output the -paper option
11308         if the dvi viewer is xdvi, thereby fixing bug #233429.
11309
11310 2001-08-23  Herbert Voss  <voss@perce>
11311
11312         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11313
11314 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * Spacing.h (Spacing): Set space to Default on in the default
11317         constructor.
11318
11319 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * vc-backend.h (RCS::versionString): add RCS to version
11322         (CVS::versionString): add CVS to version
11323
11324         * vc-backend.C (scanMaster): do not add CVS to version.
11325         (scanMaster): do not add RCS to version
11326
11327         * lyxvc.C (versionString): new method
11328
11329         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11330
11331 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * Spacing.C (set): initialize fval
11334
11335 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11336
11337         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11338         " or \.
11339
11340 2001-08-16  Juergen Vigna  <jug@sad.it>
11341
11342         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11343
11344 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * BufferView_pimpl.C:
11347         * figureForm.C:
11348         * lyxtext.h:
11349         * text2.C: setParagraph takes linespacing now
11350
11351 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * LyxAction.C: add internal LFUN_CITATION_INSERT
11354
11355         * LyXView.C: actually apply fix
11356
11357         * bufferlist.C: fix open non-existent file
11358
11359         * lyxfind.C: fix indentation
11360
11361         * lyxfunc.C: remove unneeded assert, fix typo
11362
11363 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * MenuBackend.C: use "Floatname List"
11366
11367 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11368
11369         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11370         when converting LaTeX layout to insetERT.
11371         Generate a non-collapsed float when reading old float
11372
11373 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11374
11375         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11376         ERT insets.
11377
11378 2001-08-13  Juergen Vigna  <jug@sad.it>
11379
11380         * text.C (fill): return 0 instead of 20 as this seems to be the more
11381         correct value.
11382
11383 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11386         lyxrc.font_norm.
11387
11388 2001-08-13  Juergen Vigna  <jug@sad.it>
11389
11390         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11391         casesensitive off.
11392         (SearchBackward): comment out the unlocking of the inset_owner this
11393         should not be needed!
11394
11395 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11396
11397         * Many files: Remove inherit_language, and add latex_language
11398
11399         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11400         collapsible insets.
11401
11402 2001-08-10  Juergen Vigna  <jug@sad.it>
11403
11404         * text.C (prepareToPrint): fixed hfill-width in draw!
11405
11406         * BufferView2.C (selectLastWord): save the selection cursor as this
11407         now is cleared in the function LyXText::clearSelection!
11408
11409 2001-08-08  Juergen Vigna  <jug@sad.it>
11410
11411         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11412         BACKSPACE type functions.
11413
11414         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11415         is only cutted from the document but not put in the cut-buffer, where
11416         still the old stuff should be.
11417
11418         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11419
11420         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11421
11422         * tabular.C (SetWidthOfCell): fixed special case where the width
11423         was not updated!
11424         (LeftLine): handle '|' in align_special.
11425         (RightLine): ditto
11426         (LeftAlreadyDrawed): ditto
11427         (SetWidthOfCell): ditto
11428
11429 2001-08-07  Juergen Vigna  <jug@sad.it>
11430
11431         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11432
11433 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11434
11435         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11436         * lyxlex.[hC]: ditto
11437
11438 2001-08-06  Juergen Vigna  <jug@sad.it>
11439
11440         * text.C (getVisibleRow): fix up row clearing a bit.
11441
11442 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * minibuffer.C: make sure the X server sees the changes in the input.
11445
11446 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447
11448         * paragraph.C (getFont): split into...
11449         (getLabelFont): this
11450         (getLayoutFont): and this
11451         * paragraph_pimpl.C (realizeFont): calling this
11452
11453         * text2.C (getFont): split into...
11454         (getLayoutFont): this
11455         (getLabelFont): and this
11456         (realizeFont): all three calling this
11457
11458         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11459         files where used.
11460
11461 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11464
11465 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11466
11467         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11468         layouts from the Quote inset insertion.
11469
11470 2001-08-03  Juergen Vigna  <jug@sad.it>
11471
11472         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11473
11474         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11475         only if status not is already CHANGED_IN_DRAW (second level).
11476
11477         * text.C (draw): don't set the need_break_row when inside an
11478         InsetText LyXText.
11479
11480 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * buffer.C (parseSingleLyXformat2Token): handle more latex
11483         conversion cases.
11484
11485         * bufferview_funcs.[hC]: change function names to
11486         begin with small char, adjust other files.
11487
11488 2001-08-02  André Pönitz <poenitz@gmx.net>
11489
11490         * lyxfunc.C:
11491         BufferView_pimpl.C: remove broken special code for math-greek
11492
11493 2001-08-02  Juergen Vigna  <jug@sad.it>
11494
11495         * BufferView_pimpl.C (update): redone this function so that we
11496         update the text again if there was a CHANGE_IN_DRAW.
11497
11498         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11499         (drawFromTo): added a new internal bool which is used by draw() and
11500         redraw() function.
11501         (general): some cursor drawing problems fixed.
11502
11503 2001-08-01  Juergen Vigna  <jug@sad.it>
11504
11505         * lyxfind.C (LyXFind): fixed
11506         (SearchForward): ditto
11507         (SearchBackward): ditto
11508
11509         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11510         spurius drawing of the cursor in the main area.
11511
11512         * text2.C (status): small fix which could lead to a segfault!
11513         (clearSelection): remove unneeded BufferView param.
11514
11515 2001-08-01  André Pönitz <poenitz@gmx.net>
11516
11517         * lyxfunc.C: small change due to changed mathed interface
11518
11519 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11520
11521         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11522
11523 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * lyxfunc.c: fail gracefully if file doesn't exist
11526
11527         * LyXSendto.C:
11528         * buffer.C:
11529         * lyxfunc.C:
11530         * BufferView_pimpl.C: IsDirWriteable() proto changed
11531
11532         * LyXView.C: fix updateWindowTitle() to store the last title
11533
11534 2001-07-31  Juergen Vigna  <jug@sad.it>
11535
11536         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11537         the font (wrong since using of Paragraph::highestFontInRange).
11538
11539         * paragraph.C (highestFontInRange): added a default_size parameter.
11540
11541         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11542         (setHeightOfRow): reformat
11543
11544 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * converter.[hC] + affected files: move to (inital-char)lowercase
11547         function names.
11548
11549         * ParagraphParameters.C (ParagraphParameters): remove commented code
11550
11551         * PainterBase.[Ch]: remove commented code
11552
11553         * LaTeXFeatures.h: add "bool floats" for float.sty
11554
11555         * LaTeXFeatures.C (LaTeXFeatures): init floats
11556         (require): handle float
11557         (getPackages): do it with floats
11558
11559 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11560
11561         * BufferView_pimpl.C (Dispatch): improve handling of
11562         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11563
11564         * commandtags.h: #include lyxfont.h here temporarily to avoid
11565         keybinding bug.
11566
11567         * bufferlist.h: include LString.h here.
11568
11569 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11570
11571         * text2.C (getStringToIndex): new method.
11572
11573 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11574
11575         * *: Reduced header file dependencies all over.
11576
11577 2001-07-30  Baruch Even  <baruch@lyx.org>
11578
11579         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11580
11581 2001-07-29  Baruch Even  <baruch@lyx.org>
11582
11583         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11584
11585 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11586
11587         * ParameterStruct.h (endif): add a default constructor to make
11588         sure that all variables is initialized.
11589
11590         * ParagraphParameters.C (ParagraphParameters): adjust
11591
11592 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11593
11594         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11595         index; also, check that there is something to index, and that it
11596         does not span over several paragraphs.
11597         (doubleClick): use WHOLE_WORD_STRICT for double click.
11598
11599         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11600
11601         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11602         scheme.
11603
11604 2001-07-26  Baruch Even  <baruch@lyx.org>
11605
11606         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11607         an InsetFig figure, backwards compatible reading of old figure code.
11608
11609 2001-07-27  Juergen Vigna  <jug@sad.it>
11610
11611         * text2.C: font.realize function adaption.
11612
11613         * text.C (draw): add a warnings lyxerr text if needed.
11614
11615         * layout.C: font.realize function adaption.
11616
11617         * language.C: add inherit_language and implement it's handlings
11618
11619         * bufferview_funcs.C (StyleReset): remove language parameter from
11620         font creation (should be language_inherit now).
11621
11622         * bufferparams.C (writeFile): handle ignore_language.
11623
11624         * paragraph.C (getFontSettings): the language has to be resolved
11625         otherwise we have problems in LyXFont!
11626
11627         * lyxfont.C (lyxWriteChanges): added document_language parameter
11628         (update): removed unneeded language parameter
11629
11630         * paragraph.C (validate): fixed wrong output of color-package when
11631         using interface colors for certain fonts in certain environments,
11632         which should not seen as that on the final output.
11633
11634 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * BufferView_pimpl.C:
11637         * Thesaurus.h:
11638         * Thesaurus.C:
11639         * Makefile.am:
11640         * commandtags.h:
11641         * LyXAction.C: add thesaurus support
11642
11643         * lyxfind.h:
11644         * lyxfind.C: add "once" parameter, for thesaurus, to not
11645           move to the next match
11646
11647 2001-07-26  Juergen Vigna  <jug@sad.it>
11648
11649         * lyxfont.C (realize): honor ignore_language too!
11650         (resolved): ditto.
11651
11652         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11653
11654         * text.C (draw): one place more for ignore_language to not draw
11655         itself!
11656
11657 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11658
11659         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11660
11661 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11664         the minipage conversion problem.
11665
11666 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11669         insert an inset.
11670
11671 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * BufferView.h: don't forward declare WorkArea
11674
11675         * BufferView.C: don't include WorkArea.h
11676
11677 2001-07-25  André Pönitz <poenitz@gmx.net>
11678
11679         * commandtags.h:
11680         * LyXAction.C:
11681         * lyxfunc.C:  new LFUN 'math-space'
11682
11683         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11684
11685 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * text2.C (toggleInset): call open/close
11688
11689 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11690
11691         * lyxfunc.C (dispatch): add debug for the disabled case
11692
11693         * font.C (buttonText): make similar to rectText
11694
11695         * buffer.C (readInset): comment out parsing of insetlist and
11696         insttheorem
11697
11698         * PainterBase.C (rectText): small correction
11699
11700         * BufferView_pimpl.C: comment out insettheorem and insetlist
11701         * LyXAction.C: ditto
11702         * commandtags.h: ditto
11703
11704 2001-07-24  Juergen Vigna  <jug@sad.it>
11705
11706         * text.C (draw): honor the ignore_language.
11707
11708         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11709
11710 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11711
11712         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11713         char inset.
11714
11715 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11716
11717         * lyxtext.h: remove unused (and unimplemented) methods
11718
11719 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11720
11721         * text.C (getVisibleRow): honor background color
11722
11723         * PainterBase.h:
11724         * Painter.h: remove default color argument for fillRectangle
11725
11726         * text.C (backgroundColor): new method
11727
11728 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11729
11730         * text.C (getVisibleRow): adjust
11731
11732         * font.[Ch] (rectText): new method, metrics
11733         (buttonText): new method, metrics
11734
11735         * PainterBase.[hC]: make rectText and buttonText always draw and take
11736         fewer paramteres.
11737
11738 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11739
11740         * ToolbarDefaults.C (read):
11741         * MenuBackend.C (read): allow escaping in all strings
11742
11743         * BufferView_pimpl.C (insertAndEditInset): new method.
11744         (Dispatch): use insertAndEditInset whenever appropriate.
11745
11746         * BufferView_pimpl.C (insertNote): removed
11747
11748         * BufferView_pimpl.C (smartQuote): new method, moved from
11749         BufferView; if an insetquote cannot be inserted, insert a '"'
11750         character instead.
11751
11752         * BufferView2.C: remove insertCorrectQuote();
11753
11754         * lyxfunc.C (getStatus): Add support for all remaingin
11755         inset-insert lfuns.
11756
11757         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11758
11759         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11760         command (necessary to pass " as parameter of self-insert.
11761
11762         * text.C (selectWordWhenUnderCursor):
11763         (selectWord): add word_location parameter
11764         (selectWordWhenUnderCursor): same + remove special code for word
11765         boundary.
11766         (selectNextWord): use kind() to guess type of insetspecialchar,
11767         not latex().
11768
11769         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11770         (insertErtContents): create ert insets as collapsed.
11771         (readInset): better compatibility code for Info inset.
11772
11773 2001-07-20  Juergen Vigna  <jug@sad.it>
11774
11775         * lyxfunc.C (dispatch): use always LyXFind now!
11776
11777         * text2.C (init): add a reinit flag so that the LyXText can be
11778         reinited instead of deleted and reallocated (used in InsetText).
11779
11780         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11781
11782         * text.C: ditto
11783
11784         * text2.C: ditto
11785
11786 2001-07-18  Juergen Vigna  <jug@sad.it>
11787
11788         * text.C (selectNextWord): handle insets inside inset by calling
11789         always the bv->text functions so that we can go up the_locking_inset!
11790
11791         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11792         in strange locations when inside an inset!
11793
11794         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11795         handling to include insets.
11796
11797         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11798
11799 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11800
11801         * LyXAction.C (init):
11802         * commandtags.h:
11803         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11804         LIGATURE_BREAK, since the name is so stupid.
11805
11806 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11807
11808         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11809         InsetInfos.
11810
11811         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11812
11813         * sp_form.[Ch]: remove.
11814
11815         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11816
11817         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11818         InsetInfo.
11819
11820         * src/buffer.C (readInset): ditto.
11821
11822 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11823
11824         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11825         menuSeparator(), endOfSentenceDot(), ldots() and
11826         hyphenationPoint(), which are therefore removed.
11827         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11828
11829         * LyXAction.C (init):
11830         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11831
11832         * paragraph.C (getWord): removed.
11833
11834         * BufferView_pimpl.C (Dispatch): use last word or selection for
11835         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11836
11837         * lyx_main.C (queryUserLyXDir): do not ask before creating
11838         user_dir, except if it has been named explicitely.
11839
11840 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11841
11842         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11843         a document of zero size.
11844
11845 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11848         approriately in the c-tor and in require().
11849         (getPackages): output the appropriate LaTeX for natbib support.
11850
11851         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11852         variables "use_natbib" and "use_numerical_citations" when reading the
11853         LyX file.
11854         (readInset): read the various natbib cite commands.
11855         (validate): white-space change.
11856
11857         * bufferparams.[Ch]: new variables "bool use_natbib" and
11858         "bool use_numerical_citations".
11859         (writeFile): output them in the LyX file.
11860
11861 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11862
11863         * lyxfunc.C (getStatus): add support for all the inset insertion
11864         commands.
11865
11866         * text2.C (insertInset):
11867         * paragraph.C (insetAllowed):
11868         * BufferView_pimpl.C (insertInset): update to take in account the
11869         renaming of insertInsetAllowed
11870
11871         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11872
11873         * text2.C (getInset): new method. returns inset at cursor position.
11874
11875         * BufferView_pimpl.C (Dispatch): changes because of this.
11876
11877         * LyXAction.C (init): rename open-stuff to inset-toggle.
11878
11879         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11880
11881         * text2.C (toggleInset): renamed from openStuff; use
11882         Inset::open().
11883
11884 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11885
11886         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11887
11888         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11889
11890 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11891
11892         * buffer.C (readLyXformat2): Add filename to the error dialog
11893
11894 2001-07-18  Juergen Vigna  <jug@sad.it>
11895
11896         * tabular.C (GetCellNumber): put an assert here instead of the check!
11897
11898 2001-07-17  Juergen Vigna  <jug@sad.it>
11899
11900         * BufferView_pimpl.C (toggleSelection): adapted too.
11901
11902         * text.C (selectNextWord): adapted for use with insets.
11903         (selectSelectedWord): ditto
11904
11905 2001-07-17  Juergen Vigna  <jug@sad.it>
11906
11907         * sp_spell.C (PSpell): fix initialitation order.
11908
11909 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11910
11911         * paragraph.C: spacing
11912
11913 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11914
11915         * sp_spell.C: repair language selection for pspell
11916
11917 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * lyxfunc.h: change more methods to begin with lower char.
11920
11921 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11922
11923         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11924         for unknown layouts.
11925
11926 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11927
11928         * buffer.C (readLyXformat2): Generate an error dialog if there are
11929         unknown layouts.
11930
11931 2001-07-16  Juergen Vigna  <jug@sad.it>
11932
11933         * sp_spell.C: always compile ISpell part.
11934
11935         * lyxrc.C: added use_pspell entry and it's handling.
11936
11937 2001-07-13  Juergen Vigna  <jug@sad.it>
11938
11939         * sp_spell.C: removed double includes.
11940
11941 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11942
11943         Consistent use of Lsstream.h:
11944         * Lsstream.h: added using std::stringstream for consistencies sake.
11945
11946         * buffer.C: removed using std::stringstream
11947
11948         * lyxfont.C (stateText):
11949         * paragraph.C (asString):
11950         * text.C (selectNextWord, selectSelectedWord):
11951         * text2.C (setCounter):
11952         * vspace.C (asString, asLatexString):
11953         std::ostringstream -> ostringstream.
11954
11955 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11956
11957         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11958         * commandtags.h: add LFUN_HELP_ABOUTLYX
11959         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11960
11961 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11962
11963         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11964         cursorToggle()
11965         * lyx_gui_misc.C: remove spellchecker
11966         * lyxfunc.C: showSpellchecker
11967         * sp_base.h: added
11968         * sp_ispell.h: added
11969         * sp_pspell.h: added
11970         * sp_spell.C: added
11971         * sp_form.[Ch]: removed
11972         * spellchecker.[Ch]: removed
11973
11974 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11975
11976         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11977         is set.
11978         (simpleTeXSpecialChars): Simply print the input character without
11979         any special translation if pass_thru is set.
11980
11981         * layout.h: Added bool pass_thru to layout class for being able to
11982         implement pass through of a paragraph for Literate Programming.
11983
11984         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11985         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11986         * layout.C (Read): add "passthru" to list of layout tags and add
11987         code to set the pass_thru boolean when it is read.
11988
11989 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11990
11991         * trans_decl.h: remove allowed from KmodInfo
11992
11993         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11994         remove allowed code
11995         (Load): adjust
11996
11997         * paragraph_pimpl.C (erase): use boost::prior
11998
11999         * Painter.C (text): use data() instead of c_str() when length is
12000         also provided.
12001         * WorkArea.C (putClipboard): ditto
12002         * font.h (width): ditto
12003
12004         * BufferView2.C: use it-> instead of (*it). for iterators
12005         * texrow.C: ditto
12006         * paragraph_pimpl.C: ditto
12007         * paragraph.C: ditto
12008         * minibuffer.C: ditto
12009         * language.C: ditto
12010         * kbmap.C: ditto
12011         * encoding.C: ditto
12012         * counters.C: ditto
12013         * converter.C: ditto
12014         * chset.C: ditto
12015         * Variables.C: ditto
12016         * TextCache.C: ditto
12017         * MenuBackend.C: ditto
12018         * LyXAction.C: ditto
12019         * LColor.C: ditto
12020         * FloatList.C: ditto
12021         * DepTable.C: ditto
12022         * ColorHandler.C (LyXColorHandler): ditto
12023
12024 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12025
12026         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12027
12028         * text2.C (openStuff): reintroduce this method (which had been
12029         nuked in NEW_INSETS frenzy).
12030
12031         * lyxfunc.C (Dispatch): when an action has not been handled, use
12032         its name in the error message, not its number.
12033
12034         * paragraph.C (inInset): change method name to begin with lowercase.
12035
12036         * undo_funcs.C:
12037         * text2.C: updates because of this.
12038
12039 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * ToolbarDefaults.C (add): add spaces in error message
12042
12043 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12046         (readLyXformat2): rename return_par to first_par, use lyxlex's
12047         pushToken and remove the manual push handling.
12048         (parseSingleLyXformat2Token): add another ert comp. variable:
12049         in_tabular, rename return_par to first_par. handle newlines better
12050
12051 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12054
12055 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * text2.C (getParFromID): removed
12058
12059         * buffer.C (getParFromID): new method moved form lyxtext.
12060         * BufferView2.C (insertErrors): adjust
12061         (setCursorFromRow): adjust
12062         * BufferView_pimpl.C (restorePosition): adjust
12063         * lyxfunc.C (Dispatch): adjust
12064         * undo_funcs.C (textUndo): adjust
12065         (textRedo): adjust
12066         (textHandleUndo): adjust
12067         (textHandleUndo): adjust
12068
12069 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * buffer.C: up' the LYX_FORMAT
12072
12073         * lyxfont.h: turn NO_LATEX on as default
12074
12075         * buffer.C (insertErtContents): new methods of tex style compability.
12076         (parseSingleLyXformat2Token): use it several places.
12077         * tabular.C (OldFormatRead): and here
12078
12079 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * text2.C: remove some commented code.
12082         reindent file.
12083
12084         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12085         * trans.C: changes because of the above.
12086
12087 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12088
12089         * text2.C (setCounter): Fix counters bug with bibliography layout.
12090
12091 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12094         own member functions
12095         (simpleTeXSpecialChars): ditto
12096
12097 2001-07-06  Juergen Vigna  <jug@sad.it>
12098
12099         * a lot of files: changed the access to LyXText::status and the
12100         call of undo-functions.
12101
12102         * undo.[Ch]: added a inset_id to the undo informations.
12103
12104         * undo_funcs.[Ch]: added and moved here all undo functions.
12105
12106         * lyxtext.h: give the status enum a weight, made status_ a private
12107         variable and made accessor functions for it, removed the whole bunch
12108         of undo-functions as they are now in their own file, make some
12109         functions publically available. Added function ownerParagraph with
12110         int parameter.
12111
12112         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12113         made InInset() a const function, added getParFromID() function.
12114
12115         * buffer.[Ch]: added const version for inset_iterator functions,
12116         added getInsetFromID() function.
12117
12118         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12119         changed undo functions for new version.
12120
12121 2001-07-05  Juergen Vigna  <jug@sad.it>
12122
12123         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12124         unknow mechanism does not call the proper constructor but only this
12125         one also if I request the other!?
12126
12127 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12130
12131         * text2.C (LyXText): use initialization lists.
12132
12133         * lyxtext.h (Selection): initialize set_ and mark_
12134         (init): remove method
12135
12136 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12139
12140 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * screen.[Ch]: change method names to begin with lowercase
12143
12144         * BufferView_pimpl.C (updateScrollbar): simplify further and
12145         hopefully make it a bit faster.
12146
12147 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12148
12149         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12150         calling directly xforms functions.
12151
12152         * Painter.C (Painter):
12153         * lyx_cb.C (MenuWrite):
12154         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12155         fl_display.
12156
12157         * lyx_gui.C: remove bogus guiruntime extern declaration.
12158
12159 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12160
12161         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12162         in NEW_INSETS
12163         (redoDrawingOfParagraph): ditto
12164         (redoParagraphs): ditto
12165         (cutSelection): don't create a object for CutAndPaste use the
12166         static method directly
12167         (pasteSelection): ditto
12168
12169         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12170         LyXview (+ rename)
12171
12172 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12173
12174         * modifications to some other files because of this.
12175
12176         * Makefile.am (lyx_SOURCES): add XFormsView
12177
12178         * XFormsView.[Ch]: new files
12179
12180         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12181         the main window. Move the gui dependent stuff to XFormsView
12182
12183 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12184
12185         * tabular.C (GetCellInset): update cur_cell also in the row/col
12186         version of this function.
12187
12188         * lyxfunc.C: no need to include figure_form.h here.
12189
12190         * FontLoader.h:
12191         * lyxfunc.h:
12192         * lyxscreen.h:
12193         * text2.C:
12194         * lyxvc.C: no need to include forms.h here.
12195
12196 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12199
12200         * lyxfunc.C (Dispatch):
12201         * Spacing.C (set):
12202         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12203         constructor argument.
12204
12205 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12206
12207         * paragraph.C (Paragraph): dont't clear, and just set layout.
12208         (makeSameLayout): use params's copy contructor.
12209
12210         * ParagraphParameters.[Ch] (makeSame): delete method
12211
12212 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * Variables.[Ch]: fix indentation, rename set to isSet
12215
12216 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * lyxfunc.C (Dispatch): fix typo
12219
12220 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12221
12222         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12223         upper_bound.
12224
12225         * bufferlist.C: include assert.h for emergencyWrite().
12226
12227 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12230           give up at last (bug #425202) !
12231
12232 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * lyx_gui_misc.C:
12235         * sp_form.h:
12236         * sp_form.C:
12237         * spellchecker.h:
12238         * spellchecker.C: strip spellchecker options and bring up
12239           preferences tab instead
12240
12241 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12242
12243         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12244         the istringstream constructor
12245
12246 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * paragraph.C (getLayout): fix return value
12249
12250         * paragraph.h: do not declare getLayout as inline.
12251
12252         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12253
12254 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12255
12256         * lyxcursor.h (operator<): new func
12257         (operator>): new func
12258         (operator>=): new func
12259         (operator<=): new func
12260
12261         * text.C (changeCase): use selection.start and selection.end
12262         (changeRegionCase): require from to be <= to. Require par to be a
12263         valid paragraph.
12264
12265         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12266
12267 2001-06-27  Juergen Vigna  <jug@sad.it>
12268
12269         * text.C (cursorLeftOneWord): changed to return the cursor and added
12270         overlay with BufferView * parameter which calls this one.
12271         (getWord): added
12272         (selectWord): use new getWord function.
12273         (changeCase): renamed from changeWordCase as and extended to work
12274         also on selections.
12275
12276         * lyxtext.h: added enum word_location
12277
12278         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12279         changeCase as this operates now also on selections.
12280
12281 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12282
12283         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12284
12285         * many files: send debug output to Debug::INFO instead of
12286         Debug::ANY.
12287
12288         * converter.C (View):
12289         (Convert):
12290         (Move): send debug output to Debug::FILES instead of console.
12291
12292 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12293
12294         * lyxfunc.C (getStatus): use func_status
12295
12296         * func_status.h: new header, describing the results of
12297         LyXFunc::getStatus;
12298
12299         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12300         LFUN_MATH_HALIGN.
12301
12302 2001-06-25  The LyX Project  <jug@sad.it>
12303
12304         * buffer.C (sgmlOpenTag):
12305         (sgmlCloseTag):
12306         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12307
12308 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12309
12310         * text2.C: remove some dead code
12311
12312         * tabular.C (GetCellInset): store the last cell checked (gotten)
12313
12314         * tabular.h: add the helper for the speedup
12315
12316         * lyxtext.h: remove some dead code
12317
12318 2001-06-26  The LyX Project  <Asger>
12319
12320         * paragraph.C: Change export to LaTeX of alignment to
12321         \begin{center} and family for better roundtrip work with reLyX.
12322
12323         * Tune the math drawing a bit.
12324
12325 2001-06-25  The LyX Project  <Asger>
12326
12327         * LColor.C (LColor): New color for math background. New color
12328         for buttons.
12329
12330 2001-06-25  The LyX Project  <jug@sad.it>
12331
12332         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12333
12334         * lyxfunc.C (Open):
12335         * bufferlist.C (newFile): do not restrict to files ending with
12336         .lyx
12337
12338         * BufferView_pimpl.C (MenuInsertLyXFile):
12339
12340 2001-06-24  The LyX Project  <jug@sad.it>
12341
12342         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12343         of compare_no_case
12344
12345 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * lyxtext.h: rename most methods to begin with a small char.
12348         Lots of changes because of this.
12349
12350         * paragraph.C (Paragraph): do not call fitToSize
12351         (erase): call Pimpl::erase
12352         (insertChar): call Pimpl::insertChar
12353         (insertInset): call Pipl::insertInset
12354         (breakParagraph): do not call fitToSize
12355         (breakParagraphConservative): do not call fitToSize
12356         (fitToSize): remove method
12357
12358         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12359
12360 2001-06-24  The LyX Project  <Asger>
12361
12362         * Fix Qt compilation^2
12363
12364 2001-06-24  The LyX Project  <jug@sad.it>
12365
12366         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12367         depthHook(getDepth()-1).
12368
12369         * paragraph.h:
12370         * ParagraphParameters.h:
12371         * ParameterStruct.h: change type of depth to unsigned int ==
12372         depth_type. Many adaptations to other files before of that.
12373
12374 2001-06-24  The LyX Project  <Asger>
12375
12376         * Fix Qt compilation.
12377
12378 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12379
12380         * paragraph.h: renamed several methods to begin with small letter.
12381         several changes to many parts of the code because of this.
12382
12383 2001-06-23  The LyX Project  <jug@sad.it>
12384
12385         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12386         rewritten to discard all double spaces when KeepEmpty is off
12387         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12388         to only handle newlines but not fiddle with spaces and friends.
12389
12390         * lyxfunc.C (MenuNew): when doing 'new from template', use
12391         template_path as default directory
12392
12393 2001-06-23  The LyX Project  <Asger>
12394
12395         * Clean-up of header file includes all over
12396         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12397
12398 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * paragraph.h: renamed from lyxparagraph.h
12401
12402 2001-06-23  Asger  <lyx@violet.home.sad.it>
12403
12404         * Buffer.h: Removed Buffer::resize
12405         * BufferList.h: Removed BufferList::resize
12406         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12407         the document lazily when we change the width, or the font settings.
12408
12409 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12412
12413 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * buffer.h: remove out of date comment
12416
12417 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12418
12419         * lyxscreen.h:
12420         * screen.C: fix "theoretical" GC leak
12421
12422 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12423
12424         * LaTeX.C (scanAuxFile):
12425         (deplog): remove trailing \r when reading stream (useful under
12426         win32)
12427
12428 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12431         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12432         and BufferView::theLockingInset(Inset*), so should use them and not
12433         access bv_->text->the_locking_inset directly.
12434
12435         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12436
12437 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * Makefile.am:
12440         * tex-defs.h: remove old unused file
12441
12442 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * BufferView_pimpl.C: fix typo, remove minibuffer message
12445           when buffer has loaded
12446
12447 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * lyxfunc.C (Dispatch): use stringstream
12450         (MenuNew): use stringstream
12451         (Open): use stringstream
12452
12453         * importer.C (Import): use stringstream
12454
12455         * bufferview_funcs.C (CurrentState): use stringstream
12456
12457         * LaTeX.C (run): use stringstream
12458
12459         * BufferView_pimpl.C (savePosition): use stringstream
12460         (restorePosition): use stringstream
12461         (MenuInsertLyXFile): use stringstream
12462
12463 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12464
12465         * BufferView.C:
12466         * Bullet.C:
12467         * ColorHandler.C:
12468         * FontInfo.C:
12469         * FontLoader.C:
12470         * LColor.C:
12471         * LaTeXFeatures.C:
12472         * Painter.C:
12473         * gettext.C:
12474         * lyx_gui_misc.C:
12475         * lyxserver.C:
12476         * vspace.C: removed // -*- C++ -*- as first line.
12477
12478         * lyxfind.h:
12479         * version.h: added // -*- C++ -*- as first line.
12480
12481 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12484
12485         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12486         of string
12487
12488 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12491         of floats.
12492
12493 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12494
12495         * gettext.C: include LString.h even when --disable-nls is on.
12496
12497 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12498
12499         * converter.h (Get): changed argument type from int to
12500         FormatList::size_type to avoid unnecessary conversion.
12501
12502         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12503         before using it.
12504
12505 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12506
12507         * gettext.h: include LString.h even when --disable-nls is on.
12508
12509 2001-06-07  Juergen Vigna  <jug@sad.it>
12510
12511         * text.C (BreakAgain): subst spaces with tabs.
12512
12513         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12514         (resizeInsetsLyXText): set force on resizeLyXText.
12515
12516 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12517
12518         * gettext.h (gettext_init):
12519         (locale_init): use a real definition instead of a macro
12520
12521 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * Bufferview_pimpl.C:
12524         * LColor.h:
12525         * LColor.C: further lcolor tidies
12526
12527 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12528
12529         * BufferView_pimpl.C (updateScrollbar): simplify.
12530
12531         * BufferView2.C: don't include insets/insetinfo.h, change
12532         prototype for insertInset and call the Pimpl version. let
12533         updateInset call Pimpl version.
12534
12535         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12536         gotoInset to BufferView::Pimpl
12537
12538 2001-06-01  Juergen Vigna  <jug@sad.it>
12539
12540         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12541         inside a LockingInset (is the update needed at all?).
12542
12543 2001-05-31  Juergen Vigna  <jug@sad.it>
12544
12545         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12546         here not the old one otherwise how should we compare it afterwards
12547         if it's the same!
12548
12549 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12550
12551         * lyxfont.C:
12552         * tabular.C:
12553         * tabular-old.C:
12554         * FontInfo.C: bring C functions into global namespace when
12555         necessary
12556
12557 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * LString.h: make sure config.h has been loaded before LString.h.
12560
12561         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12562         (one for each char read by EatLine!).
12563
12564         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12565         variables.
12566
12567 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12570         to the same as the par we break from
12571
12572 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12573
12574         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12575
12576         * MenuBackend.C (expand): also create menu entries for wide
12577         versions of the floats.
12578
12579         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12580
12581         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12582
12583         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12584         frontends/Makefile.am
12585
12586         * text2.C: adjust
12587         * text.C: adjust
12588
12589
12590         * tabular.C (getTokenValue): add std::
12591
12592         * tabular-old.C (getTokenValue): add std::
12593         (getTokenValue): ditto
12594         (getTokenValue): ditto
12595
12596         * screen.C (ToggleSelection): adjust
12597
12598         * lyxtext.h: put selection cursors inside a Selection struct.
12599
12600         * lyxfunc.C (moveCursorUpdate): adjust
12601
12602         * lyxfont.C (latexWriteStartChanges): add std::
12603
12604         * lyxfind.C: adjust
12605
12606         * font.h: delete with(char const *, LyXFont const &)
12607
12608         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12609
12610         * FontInfo.C (getFontname): add std::
12611
12612         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12613         (workAreaButtonPress): adjust
12614         (tripleClick): adjust
12615         (update): adjust
12616         (moveCursorUpdate): adjust
12617         (Dispatch): adjust
12618
12619         * BufferView2.C (gotoInset): adjust
12620
12621 2001-05-30  Juergen Vigna  <jug@sad.it>
12622
12623         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12624         to check pspell I add this as default as I now have new pspell
12625         libraries and they seem to use this.
12626
12627 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12628
12629         * text2.C (CutSelection): make the cursor valid before the call to
12630         ClearSelection.
12631
12632 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12633
12634         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12635         relied on 0 terminated strings and other horrors. Bug found due to
12636         the new assert in lyxstring!
12637
12638         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12639         KP_ keys.
12640
12641 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12644         to latinkeys.bind.
12645
12646         * lyxfunc.C (processKeySym): change method of getting to the
12647         self-insert char.
12648
12649         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12650         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12651         * BufferView_pimpl.[Ch]: here as private methods.
12652
12653 2001-05-28  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (SetHeightOfRow): added the update() call again as it is
12656         needed to initialize inset dimensions!
12657
12658 2001-05-16  Juergen Vigna  <jug@sad.it>
12659
12660         * text2.C (SetCharFont): Add new function with BufferView * and
12661         bool toggleall parameters for setting insets internal fonts.
12662         (SetFont): Freeze the undo as we may change fonts in Insets and
12663         all this change should be inside only one Undo!
12664
12665         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12666         setting font's in insets as for them we have the SetFont function!
12667
12668 2001-05-15  Juergen Vigna  <jug@sad.it>
12669
12670         * text2.C (ClearSelection): to be sure we REALLY don't have any
12671         selection anymore!
12672
12673         * tabular.C (TeXCellPreamble): fixed the left border problem for
12674         multicolumn cells.
12675
12676 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12677
12678         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12679         dependancy file
12680
12681 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12684         LFUN_BREAKPARAGRAPH.
12685
12686         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12687         help test to "internal only", similar for LFUN_INSERT_URL
12688
12689         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12690         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12691         auto_region_delete and deadkeys.
12692
12693 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * LColor.h:
12696         * LColor.C: remove some dead entries, tidy a little
12697
12698 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12701         commented code.
12702         (Dispatch): implement LFUN_ESCAPE
12703
12704         * commandtags.h: add LFUN_ESCAPE
12705
12706         * LyXAction.C (init): add entry for LFUN_ESCAPE
12707
12708         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12709         Remove commented code.
12710         (insertNote): moved here
12711         (open_new_inset): moved here
12712
12713         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12714         BufferView_pimpl
12715
12716 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * kbmap.C (findbinding): clean it up and make it work correctly.
12719
12720         * lyx_main.C (init): do not pass argc and argv as parameters
12721
12722 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12723
12724         * buffer.C: fix path for OS/2 & Win32
12725
12726         * lyx_gui.C:
12727         * lyx_main:
12728         * lyx_main.C: Added os:: class.
12729
12730         * os2_defines.h: update
12731
12732 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12735         better by trying again with reduced state.
12736
12737 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12738
12739         * lyxrc.C (read): print error about invalid key sequence only when
12740         debugging (because not all latinX keysyms are known to some X
12741         servers)
12742
12743         * kbsequence.C (getiso): add a few std:: qualifiers
12744         (getiso): comment out extra return statement.
12745
12746 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12749         handling.
12750         (Dispatch): enhance the accent inset a bit. (not perfect)
12751
12752 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12755
12756 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * bufferlist.C (emergencyWrite): fix assert() call
12759
12760 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12761
12762         * text.C (InsertChar): Added trivial patch to only send the "you
12763         can not do multiple spaces this way" message once during a
12764         session.
12765
12766 2001-05-08  Baruch Even  <baruch@lyx.org>
12767
12768         * Makefile.am: Changed order of libraries to get LyX to link properly
12769         with the gnome frontend.
12770
12771 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * LaTeXFeatures.h: add a std:: qualifier
12774
12775 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * paragraph.C (String): use stringstream
12778
12779 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * paragraph.C (writeFile): remove footflag arg
12782
12783         * buffer.C (makeLaTeXFile): use stringstream
12784         (latexParagraphs): remove footnot gurba
12785
12786         * LaTeXFeatures.C (getPackages): use stringstream
12787         (getMacros): likewise
12788         (getTClassPreamble): likewise
12789         (getFloatDefinitions): new method
12790
12791         * paragraph.C (writeFile): reindent
12792         (Erase): reindent
12793
12794         * WorkArea.h: revert the xpos + etc changes.
12795
12796         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12797
12798         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12799
12800         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12801         (pasteSelection): likewise
12802         * text2.C (CreateUndo): likewise
12803
12804 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * minibuffer.C (peek_event): temporarily reduce the functionality
12807         of the minibuffer (to allow args on lfuns)
12808
12809         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12810         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12811
12812         * buffer.C (readInset): add compability reading of old float
12813         lists, add reading of new style float list.
12814         (readInset): avoid reevaluation of inscmd.getCmdName()
12815         (getLists): reindent
12816
12817         * MenuBackend.C (MenuItem): implement parsing of
12818         md_floatlistinsert and md_floatinsert.
12819         (expand::LastFiles): move initalizaton of iterators out of loop,
12820         avoid reevaluation.
12821         (expand::Documents): introduce typdedef vector<string> Strings,
12822         and use it.
12823         (expand::ExportFormats): introduce typedef vector<Format const *>
12824         Formats, and use it.
12825         (expand): implement FloatListInsert and FloatInsert.
12826
12827         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12828         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12829         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12830
12831         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12832         handling.
12833         (Dispatch::LFUN_FLOAT_LIST): implement
12834
12835 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12836
12837         * LaTeX.C (run): Fix problem with --export code.
12838
12839 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12840
12841         * BufferView.[Ch] (workarea): removed.
12842         (getClipboard) new method; wrapper for workarea()->getClipboard()
12843
12844         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12845         bug.
12846
12847         * WorkArea.h (width, height, xpos, ypos): These methods all
12848         returned the dimensions of the work_area sub-area of WorkArea,
12849         resulting in a position error if the WorkArea were resized. Now
12850         return the dimensions of the entire WorkArea.
12851
12852         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12853
12854 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12855
12856         * LaTeX.C (deplog): correct the syntax of regex reg1
12857
12858 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * undo.C: remove !NEW_INSETS cruft
12861
12862 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * text2.C: remove !NEW_INSETS cruft
12865
12866         * text.C: remove !NEW_INSETS cruft
12867
12868         * tabular.C: remove !NEW_INSETS cruft
12869
12870         * spellchecker.C: remove !NEW_INSETS cruft
12871
12872         * lyxtext.h: remove !NEW_INSETS cruft
12873
12874         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12875
12876         * lyxfunc.C: remove !NEW_INSETS cruft
12877
12878         * lyxfind.C: remove !NEW_INSETS cruft
12879
12880         * lyx_cb.C: remove !NEW_INSETS cruft
12881
12882         * figureForm.C: remove  !NEW_INSETS cruft
12883
12884         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12885
12886         * buffer.[Ch]: remove !NEW_INSETS cruft
12887
12888         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12889
12890         * CutAndPaste.C: remove !NEW_INSETS cruft
12891
12892         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12893
12894         * BufferView2.C: remove !NEW_INSETS cruft
12895
12896         * BufferView.h: remove !NEW_INSETS cruft
12897
12898 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12899
12900         * Lsstream.h: include LString.h before the sstream headers to
12901         fix problem with gcc 2.95.3 and lyxstring
12902
12903 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12904
12905         * lyx_main.C: add using directives when needed for C functions
12906         declared in std:: namespace.
12907
12908 2001-04-27  Juergen Vigna  <jug@sad.it>
12909
12910         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12911         (SetHeightOfRow): comment out the update call should not be needed!
12912
12913 2001-04-13  Juergen Vigna  <jug@sad.it>
12914
12915         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12916         (LyXTabular): tried to minimize operator= operations (and realized
12917         hopfully Lars wish).
12918
12919 2001-04-27  Juergen Vigna  <jug@sad.it>
12920
12921         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12922
12923 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12926
12927         * buffer.C (readInset): hack to make listof algorithm work
12928
12929         * BufferView_pimpl.C: hack to make listof algorithm work
12930
12931 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * LyXAction.C: removed all !NEW_INSETS cruft
12934         (init): moved lfun_item in method
12935
12936         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12937
12938 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12939
12940         * BufferView2.C (theLockingInset): white space.
12941
12942 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * minibuffer.C: include <iostream>
12945
12946         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12947
12948         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12949
12950         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12951
12952         * text.[Ch] (TransposeChars): new method
12953
12954 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * call message directly through LyXView instead of through LyXFunc
12957         * BufferView2.C: adjust
12958         * BufferView_pimpl.C: adjust
12959         * FontLoader.C: adjust
12960         * buffer.C: adjust
12961         * bufferview_funcs.C: adjust
12962         * converter.C: adjust
12963         * figureForm.C: adjust
12964         * importer.C: adjust
12965         * lyx_cb.C: adjust
12966         * lyx_gui_misc.C: adjust
12967         * lyxfunc.C: adjust
12968         * lyxvc.C: adjust
12969         * text2.C: adjust
12970         + more files in subdirs
12971
12972         * lyxparagraph.h (size): move up int file
12973         (GetLayout): ditto
12974
12975         * adjust all uses of Assert to lyx::Assert.
12976
12977         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12978         lyxfunctional in namespace lyx
12979         * layout.C (hasLayout): ditto
12980         (GetLayout): ditto
12981         (GetLayout): ditto
12982         (delete_layout): ditto
12983         (NumberOfClass): ditto
12984         * converter.C (GetFormat): ditto
12985         (GetNumber): ditto
12986         (Add): ditto
12987         (Delete): ditto
12988         (SetViewer): ditto
12989         * bufferlist.C (getFileNames): ditto
12990         (emergencyWriteAll): ditto
12991         (exists): ditto
12992         (getBuffer): ditto
12993         * MenuBackend.C (hasSubmenu): ditto
12994         (hasMenu): ditto
12995         (getMenu): ditto
12996         * BufferView_pimpl.C (getInsetByCode): ditto
12997
12998 2001-04-18  Juergen Vigna  <jug@sad.it>
12999
13000         * vspace.C (asLatexString): fixed the 100% problem.
13001
13002 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * lyxfunc.C (Dispatch):
13005         * minibuffer.C:
13006         * minibuffer.h: add a few std:: qualifiers
13007
13008 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * minibuffer.[Ch]: reimplement so that commands is initiated and
13011         run from lyxfunc, simplified som handling, and made the completion
13012         and history code for complete. wip.
13013
13014         * lyxfunc.C (processKeySym): call message
13015         (miniDispatch): new temporary method
13016         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13017         (LFUN_MESSAGE): implement
13018         (LFUN_MESSAGE_PUSH): implement
13019         (LFUN_MESSAGE_POP): implement
13020         (initMiniBuffer): the initial/defualt minibuffer message.
13021
13022         * lyxfont.[Ch]: inline some more getters
13023
13024         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13025
13026         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13027
13028         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13029         (AutoSave): use LFUN_MESSAGE
13030         (Reconfigure): ditto
13031
13032         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13033
13034         * figureForm.C: use LFUN_MESSAGE
13035
13036         * converter.C (runLaTeX): use LFUN_MESSAGE
13037
13038         * bufferview_funcs.C: use LFUN_MESSAGE
13039         (Melt): ditto
13040         (changeDepth): ditto
13041
13042         * bufferparams.h: use boost::
13043
13044         * bufferlist.h: inherit privately from noncopyable
13045
13046         * bufferlist.C (loadLyXFile): remove some commented code.
13047
13048         * buffer.C (runChktex): use LFUN_MESSAGE
13049
13050         * ShareContainer.h: inherit privately from noncopyable
13051
13052         * ParagraphParameters.[hC] (depth): inline it.
13053
13054         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13055         methods.
13056         (message): new method
13057         (messagePush): ditto
13058         (messagePop): ditto
13059         (show): init minibuffer
13060         (showState): direct call
13061
13062         * LaTeX.[Ch]: inherit privately from noncopyable
13063         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13064         instead of WriteStatus.
13065
13066         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13067
13068         * BufferView_pimpl.C (buffer): don't init minibuffer
13069         (workAreaButtonPress): use LFUN_MESSAGE
13070         (workAreaButtonRelease): ditto
13071         (savePosition): ditto
13072         (restorePosition): ditto
13073         (MenuInsertLyXFile): ditto
13074         (workAreaExpose): don't init minibuffer
13075         (update): remove commented code, simplify
13076
13077         * BufferView2.C (openStuff): use LFUN_MESSAGE
13078         (toggleFloat): ditto
13079         (menuUndo): ditto
13080         (menuRedo): ditto
13081         (copyEnvironment): ditto
13082         (pasteEnvironment): ditto
13083         (copy): ditto
13084         (cut): ditto
13085         (paste): ditto
13086         (gotoInset): ditto
13087         (updateInset): remove some commented code
13088
13089         * lastfiles.h: inherit privately from noncopyable
13090         * layout.h: ditto
13091         * lyx_gui.h: ditto
13092         * lyx_main.h: ditto
13093         * lyxlex.h: ditto
13094         * lyxlex_pimpl.h: ditto
13095
13096         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13097         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13098         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13099
13100         * LyXAction.h: inherit privately from noncopyable, add methods
13101         func_begin, func_end, returning iterators to the func map.
13102
13103         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13104         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13105         (func_begin): new method
13106         (func_end): new method
13107
13108         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13109         and not)
13110         (copySelection): ditto
13111         (pasteSelection): ditto
13112
13113         * BufferView.C: whitespace change
13114         * BufferView.h: inherit privately from noncopyable
13115
13116 2001-04-16  Allan Rae  <rae@lyx.org>
13117
13118         * tabular-old.C (l_getline):
13119         * spellchecker.C (sc_check_word):
13120         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13121         an unrecognised preprocessor directive.  So ensure they're wrapped.
13122
13123 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13124
13125         * src/exporter.C (Export): Give an error message when path to file
13126         contains spaces.
13127
13128 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13129
13130         * LaTeX.C (deplog): Always check that foundfile exists.
13131
13132 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * lyx_main.h:
13135         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13136
13137 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * tabular.[Ch] (getLabelList): implement new method
13140
13141         * minibuffer.h: comment ouf setTiimer
13142
13143         * minibuffer.C (ExecutingCB): constify res
13144         (peek_event): constify s
13145         (Set): constify ntext
13146         (Init): constify nicename
13147
13148         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13149
13150         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13151         (savePosition): use two params to Minibuffer::Set
13152         (restorePosition): ditto
13153
13154 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * lyx_main.C: include language.h
13157
13158         * Makefile.am (lyx_main.o): add language.h
13159
13160 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * exporter.C:
13163         * paragraph.C:
13164         * screen.C:
13165         * tabular.C:
13166         * CutAndPaste.C: include gettext.h
13167
13168         * lyxfont.h: remove old hack with ON and OFF.
13169
13170         * lyxparagraph.h:
13171         * lyxfont.h: do not include language.h...
13172
13173         * BufferView2.C:
13174         * LaTeXFeatures.C:
13175         * Painter.C:
13176         * bufferview_funcs.C:
13177         * font.C:
13178         * lyxfont.C:
13179         * text.C:
13180         * text2.C:
13181         * trans_mgr.C:
13182         * paragraph.C: ... but do it here instead
13183
13184 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13187
13188         * tabular.C: small reformat
13189
13190         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13191         NEW_INSETS version
13192         (GetChar): ditto
13193         (BreakParagraph): ditto
13194         (SetOnlyLayout): ditto
13195         (SetLayout): ditto
13196
13197         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13198         with one arg less.
13199
13200         * lastfiles.C: removed most using decl, add std:: where needed
13201
13202         * buffer.C: ws changes
13203
13204         * MenuBackend.C (class compare_format): put into anon namespace
13205         (expand): constify label, names, action, action2
13206         (expand):
13207
13208         * text.C (SingleWidth): constify font
13209         (IsBoundary): constify rtl2
13210         (GetVisibleRow): constify ww
13211
13212         * LaTeX.C (deplog): constify logfile
13213
13214         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13215         start_x, end_x
13216         (workAreaExpose): constify widthChange, heightChange
13217
13218         * lyxrow.C (par): moved
13219         (height): moved
13220         (next): moved
13221         * lyxrow.h: as inlines here
13222
13223         * lyxfont.h (shape): moved from lyxfont.C
13224         (emph): moved from lyxfont.C
13225
13226         * lyxfont.C (LyXFont): use initialization list for all
13227         constructors
13228         (shape): move to lyxfont.h as inline
13229         (emph): move to lyxfont.h as inline
13230
13231
13232 2001-04-04  Juergen Vigna  <jug@sad.it>
13233
13234         * vspace.C: had to include stdio.h for use of sscanf
13235
13236 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13237
13238         * BufferView.h:
13239         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13240         independent of xforms.
13241
13242 2001-04-02  Juergen Vigna  <jug@sad.it>
13243
13244         * spellchecker.C: fixed namespace placing!
13245
13246 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13249         the LyXParagraph * is 0.
13250
13251 2001-03-29  Juergen Vigna  <jug@sad.it>
13252
13253         * vspace.C: added support for %, c%, p%, l%.
13254         (stringFromUnit): added helper function.
13255         (asLatexString): changed to give right results for the %-values.
13256
13257         * buffer.C: convert the widthp in a width%.
13258
13259 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13262         figureForm.[Ch].
13263
13264         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13265         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13266
13267         * lyx_cb.[Ch]: see above.
13268
13269         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13270         form1.[Ch].
13271
13272         * form1.[Ch]:
13273         * lyx.[Ch]: replaced by figure_form.[Ch].
13274
13275         * lyx_gui.C:
13276         * lyx_gui_misc.C:
13277         * lyxfunc.C: changed headers associated with above changes.
13278
13279 2001-03-27  Juergen Vigna  <jug@sad.it>
13280
13281         * BufferView_pimpl.C: set the temporary cursor right!
13282
13283 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13284
13285         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13286
13287 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * LString.h: removed "using std::getline"!
13290
13291         * BufferView_pimpl.C (Dispatch): changes due to changes in
13292         InsetInclude::Params.
13293
13294         * buffer.C (tag_name): removed redundant break statements as they were
13295         producing lots of warnings with my compiler.
13296
13297 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * LString.h: add "using std::getline" when using the real <string>.
13300
13301 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13302
13303         * buffer.C: removed bitset usage.
13304         PAR_TAG moved to an anonymous name space.
13305         (tag_name): new funtion, also in the anonymous namespace.
13306         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13307         (makeDocBookFile): clean code. Completed transition from string arrays
13308         to string vectors.
13309         (SimpleDocBookOnePar): code clean.
13310
13311 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13312
13313         * tabular.C: add some comments.
13314
13315 2001-03-22  Juergen Vigna  <jug@sad.it>
13316
13317         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13318         compatibility read a bit and fixed bug with minipage in different
13319         depth.
13320
13321 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13322
13323         * buffer.C (pop_tag): removed.
13324         (push_tag): removed.
13325         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13326         array replaced with vector. Added support for CDATA sections.
13327         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13328         at any nest level.
13329         (makeDocBookFile): XML conformant declaration of CDATA section,
13330         fixed bug related to <emphasis> in the first paragraph char.
13331         (sgmlOpenTag): exclude empty tags.
13332         (sgmlCloseTag): ditto.
13333
13334         * buffer.h (pop_tag): removed.
13335         (push_tag): removed.
13336
13337 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * language.h (Languages): added size_type and size().
13340
13341 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13342
13343         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13344         response on compability reading of minipages. One probliem is that
13345         the old usage of minipages was «flertydig»
13346
13347         * several files here and in subdirs: don't use static at file
13348         scope use anon namespaces instead.
13349
13350 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13351
13352         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13353         LaTeX output. This is necessary for Literate document
13354         processing.
13355
13356 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13357
13358         * buffer.C: insert hfill when needed.
13359
13360         * tabular.C (l_getline): use string::erase, small whitespace change.
13361
13362         * BufferView_pimpl.C: try the anon namespace.
13363         * WorkArea.C: ditto
13364
13365 2001-03-16  Juergen Vigna  <jug@sad.it>
13366
13367         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13368         otherwise it won't open options-dialogs.
13369
13370         * buffer.C: honor pextraWidth(p) on converting minipages.
13371
13372         * tabular.C (l_getline): changed the functions to strip trailing \r.
13373
13374 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * BufferView_pimpl.C:
13377         * minibuffer..C: added "using SigC::slot" declaration.
13378
13379 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13380
13381         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13382
13383         * text2.C: ditto
13384
13385         * text.C: ditto
13386
13387         * paragraph.C: ditto
13388
13389         * lyxtext.h: NO_PEXTRA
13390
13391         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13392
13393         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13394         * ParameterStruct.h: ditto
13395         * ParagraphParameters.h: ditto
13396         * lyxparagraph.h: ditto
13397
13398 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13399
13400         * buffer.C: add compability for minipage alignment.
13401         (latexParagraphs): remove unwanted pextra check.
13402
13403         * several files: remove CXX_WORKING_NAMESPACES
13404
13405         * buffer.C (pop_tag): tie is in namespace boost
13406
13407         * BufferView.h: noncopyable is in namespace boost
13408         * lyxlex.h: ditto
13409         * lyx_main.h: ditto
13410         * lyx_gui.h: ditto
13411         * layout.h: ditto
13412         * lastfiles.h: ditto
13413         * bufferlist.h: ditto
13414         * ShareContainer.h: ditto
13415         * LyXView.h: ditto
13416         * LyXAction.h: ditto
13417         * LaTeX.h: ditto
13418
13419 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13420
13421         * Merging changes from BRANCH_MVC back into HEAD.
13422
13423         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13424
13425 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * BufferView_pimpl.C: change from intl.C
13428
13429         * combox.h:
13430         * combox.C:
13431         * Makefile.am: move combox.*
13432
13433         * form1.h:
13434         * form1.C:
13435         * lyx_gui.C:
13436         * intl.h:
13437         * intl.C: remove dialog (covered by prefs)
13438
13439 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * lyxfunc.C (Dispatch): removed redundant break statement.
13442
13443 2001-03-14  Juergen Vigna  <jug@sad.it>
13444
13445         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13446
13447 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13448
13449         * buffer.C: add hack to fix compability reading of minipages.
13450
13451 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13452
13453         * buffer.C (getLists): Cleanup.
13454
13455 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * lyxfont.C (update): don't honor toggleall on font size.
13458
13459 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * bmtable.c:
13462         * bmtable.h:
13463         * Makefile.am: moved to frontends/xforms/
13464
13465         * lyx_gui_misc.C:
13466         * lyxfunc.C:
13467         * BufferView_pimpl.C: changes for moved mathpanel
13468
13469 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * gettext.h: fix gettext_init() in --disable-nls
13472
13473 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13476
13477 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13478
13479         * lyx.C:
13480         * lyx.h: strip external form
13481
13482 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13483
13484         * BufferView_pimpl.C: add comment, destroySplash()
13485
13486 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13487
13488         * BufferView_pimpl.C:
13489         * LyXAction.C:
13490         * buffer.C:
13491         * commandtags.h:
13492         * lyxfunc.C: use re-worked insetinclude
13493
13494 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13495
13496         * buffer.C: add using std::stringstream.
13497
13498         * lyx_cb.C: readd using std::ios.
13499
13500         * buffer.C: add using std::map.
13501
13502         * BufferView_pimpl.C: add using std::vector.
13503
13504         * ShareContainer.h: add std:: to swap.
13505
13506         * buffer.h: add some typedefs
13507         * buffer.C (getLists): use them
13508         (getLists): renamed from getTocList.
13509         add a counter for the different float types and use it in the
13510         generated string.
13511         (getLists): use the same counter for the NEW_INSETS and the "non"
13512         NEW_INSETS
13513
13514         * lyx_cb.h: remove unused items, includes, using etc.
13515
13516         * ShareContainer.h: remove some commented code, add more comments
13517         and "documentation".
13518
13519 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13520
13521         * buffer.C (getTocList): make the list also when NEW_INSETS is
13522         defined.
13523
13524         * buffer.h: remove TocType
13525
13526         * buffer.C (getTocList): change to return a map<string,
13527         vector<TocItem> >, implement for dynamic number of list.
13528
13529         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13530         * text2.C (PasteSelection): adjust
13531         * CutAndPaste.C (pasteSelection): adjust
13532
13533         * FloatList.C (FloatList): update from the new_insets branch.
13534         * Floating.[Ch]: ditto
13535         * LaTeXFeatures.C: ditto
13536         * buffer.C: ditto
13537         * lyxlex_pimpl.C: ditto
13538
13539         * paragraph.C (Last): remove when NEW_INSETS is defined.
13540
13541         * other file: changes because of the above.
13542
13543 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13544
13545         * lyxparagraph.h: rename next to next_, previous to previous_,
13546         make them private for NEW_INSETS. Rename Next() to next(),
13547         Previous() to previous().
13548
13549         * other files: changes because of the above.
13550
13551 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13552
13553         * BufferView.h:
13554         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13555         problem.
13556
13557 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13558
13559         * main.C (main): pass lyx_localedir to gettext_init().
13560
13561         * gettext.h: remove locale_init and gettext_init macros
13562
13563         * gettext.C (locale_init): new function
13564         (gettext_init): new function
13565
13566         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13567         setlocale().
13568
13569 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13570
13571         * Moved credits to frontends:
13572         * credits.[Ch]: removed
13573         * credits_form.[Ch]: removed
13574         * lyx_gui_misc.C: remove credits stuff
13575         * Makefile.am:
13576
13577 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13578
13579         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13580
13581         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13582         unneeded destructor.
13583
13584         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13585         a standalone pointer again.
13586
13587         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13588
13589 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * Makefile.am:
13592         * filedlg.h:
13593         * filedlg.C:
13594         * LyXAction.C:
13595         * ToolbarDefaults.C:
13596         * bufferlist.C:
13597         * commandtags.h:
13598         * form1.C:
13599         * form1.h:
13600         * lyx_cb.C:
13601         * lyx_cb.h:
13602         * lyxfunc.h:
13603         * lyxfunc.C:
13604         * BufferView_pimpl.C: use new file dialog in GUII
13605
13606         * lyx_cb.h:
13607         * lyx_cb.C: remove LayoutsCB to Toolbar
13608
13609 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * ShareContainer.h (get): add std:: qualifier
13612
13613 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13614
13615         * ShareContainer.h: define a proper ShareContainer::value_type
13616         type (and use typename to please compaq cxx)
13617
13618 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13619
13620         * lyxparagraph.h: move serveral local vars to
13621         ParameterStruct/ParagraphParameters., use ShareContainer in
13622         FontTable., make vars in FontTable private and add getter and
13623         setter.
13624
13625         * paragraph.C: changes because of the above.
13626
13627         * lyxfont.h: remove copy constructor and copy assignment. (the
13628         default ones is ok), move number inside FontBits. move inlines to
13629         lyxfont.C
13630
13631         * lyxfont.C: add number to initializaton of statics, move several
13632         inlines here. constify several local vars. some whitespace
13633         cleanup. Dont hide outerscope variables.
13634
13635         * Spacing.h: add two new constructors to match the set methods.
13636
13637         * ShareContainer.h: new file, will perhaps be moved to support
13638
13639         * ParameterStruct.h: new file
13640
13641         * ParagraphParameters.h: new file
13642
13643         * ParagraphParameters.C: new file
13644
13645         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13646         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13647
13648         * BufferView_pimpl.C: ParagraphParameter changes.
13649         * buffer.C: Likewise.
13650         * bufferview_funcs.C: Likewise.
13651         * text.C: Likewise.
13652         * text2.C: Likewise.
13653
13654 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * lyxfind.C (LyXReplace): do not redefine default argument in
13657         implementation.
13658         (IsStringInText): ditto
13659         (SearchForward): ditto
13660         (SearchBackward): ditto
13661
13662 2001-03-06  Juergen Vigna  <jug@sad.it>
13663
13664         * lyxfind.C (IsStringInText): put parentes around expressions.
13665
13666 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13667
13668         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13669
13670 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13673
13674         * stl_string_fwd.h: add comment
13675
13676         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13677
13678         * tabular.h:
13679         * tabular.C: remove unused DocBook methods
13680
13681         * intl.C:
13682         * language.C:
13683         * paragraph.C:
13684         * buffer.C:
13685         killed DO_USE_DEFAULT_LANGUAGE
13686
13687 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * lyx_gui.C: do not include language.h.
13690
13691         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13692         arguments in function implementation.
13693
13694 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13695
13696         * BufferView_pimpl.C: add <ctime>
13697
13698 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13699
13700         * BufferView_pimpl.C: add using std::find_if
13701
13702 2001-02-27  José Matos  <jamatos@fep.up.pt>
13703
13704         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13705         by OnlyPath.
13706
13707 2001-02-11  José Matos  <jamatos@fep.up.pt>
13708
13709         * buffer.C (makeDocBookFile): command styles now have a parameter as
13710         "title" by default.
13711
13712 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13713
13714         * layout_forms.[Ch]: removed
13715         * lyx_cb.[Ch]: out character
13716         * lyx_gui.C: out character
13717         * lyx_gui_misc.C: out character
13718         * bufferview_funcs.C: : out character,
13719         added toggleall as parameter in ToggleAndShow
13720
13721 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13722
13723         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13724
13725         * text2.C (SetCurrentFont): Disable number property at boundary.
13726
13727 2001-02-26  Juergen Vigna  <jug@sad.it>
13728
13729         * lyxfunc.C (getStatus): added a string argument override function so
13730         that this is correctly called from LyXFunc::Dispatch if it contains a
13731         do_not_use_argument which is used!
13732         (Dispatch): added check for "custom" export and call appropriate func.
13733
13734 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13735
13736         * lyxrc.C: Add language_command_local, language_use_babel and
13737         language_global_options.
13738
13739         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13740
13741         * buffer.C (makeLaTeXFile): Use language_use_babel and
13742         language_global_options.
13743
13744 2001-02-23  Juergen Vigna  <jug@sad.it>
13745
13746         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13747         which works with LyXText and putted it inside BufferView. Here now we
13748         only call for that part the BufferView::Dispatch() function.
13749
13750         * BufferView.C (Dispatch): added.
13751
13752         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13753         functions which needs to use a LyXText over from LyXFunc.
13754         (MenuInsertLyXFile): added
13755         (getInsetByCode): added
13756         (moveCursorUpdate): added
13757         (static TEXT): added
13758
13759 2001-02-22  Juergen Vigna  <jug@sad.it>
13760
13761         * BufferView_pimpl.C (update): call a status update to see if LyXText
13762         needs it.
13763
13764 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13765
13766         * vc-backend.C (revert): implement for CVS
13767         (getLog): implement for CVS
13768
13769 2001-02-20  Juergen Vigna  <jug@sad.it>
13770
13771         * text2.C (ClearSelection): added BufferView param for inset_owner call
13772
13773         * lyxfunc.C (TEXT): added this function and use it instead of
13774         directly owner->view()-text of getLyXText().
13775
13776 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13777
13778         * src/layout_forms.C: out preamble
13779         * src/layout_forms.h: out preamble
13780         * src/lyx_cb.C: out preamble
13781         * src/lyx_cb.h: out preamble
13782         * src/lyx_gui.C: out preamble
13783         * src/lyx_gui_misc.C: out preamble
13784         * src/lyxfunc.C: connect with guii preamble
13785
13786 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13789
13790 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13793         whether to run bibtex.
13794
13795 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13798
13799 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13800
13801         * Makefile.am (lyx_SOURCES): removed bibforms.h
13802
13803         * vspace.h: doxygen
13804
13805         * text.C (GetVisibleRow): make several local vars const
13806
13807         * tabular.C: small cleanup.
13808
13809         * lyxserver.C (callback): use compare instead of strncmp
13810
13811         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13812         inlines to after class or to paragraph.C
13813
13814         * lyxfont.h: remove friend operator!=
13815
13816         * converter.h: move friend bool operator< to non friend and after
13817         class def.
13818
13819         * combox.h: small cleanup
13820
13821         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13822         to inlines after class def.
13823
13824         * buffer.C (pop_tag): use string operations instead of strcmp
13825
13826         * bmtable.c: doxygen, small cleanup
13827
13828         * LaTeX.h: remove friend operator==
13829
13830 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13831
13832         * screen.C:
13833         * lyxrc.[Ch]:
13834         * lyxfunc.C:
13835         * lyxfont.[Ch]:
13836         * lyx_cb.C:
13837         * intl.[Ch]:
13838         * commandtags.h:
13839         * buffer.C:
13840         * WorkArea.[Ch]:
13841         * LyXAction.C:
13842         * BufferView_pimpl.C:
13843         * BufferView.[Ch]: remove cruft
13844
13845 2001-02-14  Juergen Vigna  <jug@sad.it>
13846
13847         * lyxfunc.C: removed #if 0 unused code
13848
13849         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13850
13851         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13852
13853         * text2.C (SetSelection): added a BufferView * parameter
13854
13855 2001-02-13  Juergen Vigna  <jug@sad.it>
13856
13857         * lyxfunc.C (Dispatch): fixed protected blank problem.
13858         * BufferView2.C (protectedBlank): added LyxText * parameter.
13859
13860         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13861         (AppendColumn): same as above for column_info.
13862
13863         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13864         (moveCursorUpdate): use a LyXText param for support of InsetText.
13865
13866         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13867         (tripleClick): ditto
13868
13869         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13870
13871         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13872
13873         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13874
13875         * text2.C (SetSelection): set correct update status if inset_owner
13876         (ToggleFree): ditto
13877
13878 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13879
13880         * tabular.C: remove some commented code.
13881
13882 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * BufferView_pimpl.C: call hideSplash()
13885
13886         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13887
13888         * include_form.h:
13889         * bibforms.h: remove
13890
13891         * lyxfunc.C:
13892         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13893           add LFUN_CHILD_CREATE
13894
13895         * counters.h: fix tiny typo
13896
13897         * lyx_cb.C:
13898         * lyx.h:
13899         * lyx_gui.C:
13900         * lyx.C: move splash to frontends/xforms/
13901
13902         * lyx_gui_misc.C: move Include and Bibform to frontends
13903
13904         * lyxvc.h: clarify comment
13905
13906         * vspace.C: tiny housekeeping
13907
13908 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13909
13910         * text.C (PrepareToPrint): RTL Fix.
13911
13912         * paragraph.C (GetUChar): New method.
13913         (String):  Use GetUChar.
13914
13915         * buffer.C (asciiParagraph): Use GetUChar.
13916
13917 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13918
13919         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13920
13921 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * buffer.h:
13924         * buffer.C: rename to getLogName(), handle
13925           build log / latex log nicely
13926
13927 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * MenuBackend.C:
13930         * MenuBackend.h: remove support for reference menuitem type.
13931
13932 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * BufferView_pimpl.C: housekeeping
13935         * BufferView_pimpl.h:
13936         * LyXView.h:
13937         * Makefile.am:
13938         * Timeout.C:
13939         * Timeout.h:
13940         * minibuffer.h: move Timeout GUI-I
13941
13942 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13943
13944         * lyxrc.C (read): Update converters data-structures.
13945
13946 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13947
13948         * LaTeX.h (operator!=): add operator != for Aux_Info
13949
13950 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13953
13954         * LaTeXLog.C: deleted, useful code moved to Buffer
13955
13956         * buffer.h:
13957         * buffer.C: new function getLatexLogName()
13958
13959         * lyx_gui_misc.C:
13960         * lyx_gui.C:
13961         * lyxvc.C:
13962         * lyxvc.h:
13963         * lyxfunc.C: use frontends for LaTeX and VC logs
13964
13965 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * LaTeX.h: yet another std:: that Allan forgot.
13968
13969         * Variables.C (set): renamed from isset(), because this clashes
13970         with some HP-UX macros (grr).
13971
13972 2001-02-06  Allan Rae  <rae@lyx.org>
13973
13974         * LaTeX.h: Another bug fix.  Missing std:: this time.
13975
13976 2001-02-04  Allan Rae  <rae@lyx.org>
13977
13978         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13979         floats problem. I've left it commented out because it's not quite
13980         correct.  It should also test that the current object is a table or
13981         figure inset.  But I haven't gotten around to figuring out how to do
13982         that.  I *think* it'll be something like: "table" == inset.type()
13983
13984         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13985         bool.
13986
13987 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13990         all the citation/databases/styles in the auxilary file.
13991         (run): Rerun latex if there was a babel language error.
13992
13993 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13994
13995         * text.C (Backspace): Preserve the font when changing newline char
13996         with a space.
13997         (BreakParagraph): If the cursor is before a space, delete the space.
13998
13999         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14000
14001 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14002
14003         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14004         new argument (code).
14005         (ChangeCitationsIfUnique): New method.
14006
14007         * paragraph.C (GetPositionOfInset): Handle bibkey.
14008
14009 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * BufferView_pimpl.h: change type of Position::par_pos to
14012         LyXParagraph::size_type.
14013
14014 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14015
14016         * BufferView_pimpl.C (savePosition, restorePosition): Write
14017         messages to minibuffer.
14018
14019 2001-01-28  José Matos  <jamatos@fep.up.pt>
14020
14021         * buffer.C (makeDocBookFile): adds support for document language.
14022         A silly restriction on the name of LatexCommand types where removed.
14023         Added support for CDATA sections, allows to chars unescaped, used
14024         among others in code, to avoid escape < and >.
14025
14026 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14029         saved positions instrad of a stack. Furthermore, a position is
14030         stored using paragraph id/paragraph position.
14031
14032         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14033         Remove LFUN_REF_BACK.
14034
14035 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * converter.C (dvipdfm_options): New method.
14038
14039 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * vspace.C (isValidLength): Fix for empty input string.
14042
14043 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * LyXAction.C (init): change description of LFUN_FIGURE to
14046         "Insert Graphics"
14047
14048 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14049
14050         * LaTeX.C: add using directive
14051
14052 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14053
14054         * MenuBackend.C (expand): Fix the sorting of the formats.
14055
14056 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14057
14058         * lyx_main.C: tiny error message fix
14059
14060 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14063         calling fl_initialize(). This fixes the problem with ',' as
14064         decimal separator in text files.
14065
14066 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * trans.C (process): Fix the keymap bug.
14069
14070 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14071
14072         * LaTeX.C (scanAuxFiles): New method. Provides support for
14073         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14074         (scanLogFile) Scan for "run BibTeX" messages.
14075
14076         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14077         OT1 font encoding. Also, load the aecompl package if the ae
14078         package is loaded.
14079
14080         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14081
14082 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * texrow.C (increasePos): turn two error messages into debug
14085         messages.
14086
14087 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * LaTeX.C (scanAux): Handle the \@input macro.
14090         (runBibTeX): Use scanAux().
14091
14092         * language.C (latex_options_): New field.
14093
14094         * LaTeXFeatures.C (getMacros): Add language macros.
14095
14096         * buffer.C (makeLaTeXFile): Small fix.
14097
14098 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14101
14102         * text2.C: add a using directive.
14103
14104 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14105
14106         * BufferView2.C:
14107         * lyx_gui_misc.h:
14108         * lyxfr1.C:
14109         * lyxfunc.C: kill LyXBell.
14110
14111 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14112
14113         * text.C (IsBoundary): Remove the error message
14114
14115         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14116
14117         * lyxrc.C (setDefaults): Correct initialization value for
14118         font_norm_type.
14119
14120 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14121
14122         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14123         gotoError().
14124
14125         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14126         and GotoNextNote().
14127
14128         * src/LyXAction.C: Added reference-next.
14129
14130         * text.C (InsertChar): Use contains instead of strchr.
14131
14132         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14133
14134 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14137         alignment commands (when needed).
14138
14139         * text.C (InsertChar): Add ':' to number separator chars.